js.documents 1.97.10 → 1.98.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/dist/capability-DX0lCSiI.d.ts +16 -0
- package/dist/capability-an5gSNsu.d.cts +16 -0
- package/dist/convert/capability.cjs +0 -207
- package/dist/convert/capability.d.cts +2 -38
- package/dist/convert/capability.d.ts +2 -38
- package/dist/convert/capability.js +1 -206
- package/dist/convert/composition.cjs +415 -0
- package/dist/convert/composition.d.cts +60 -0
- package/dist/convert/composition.d.ts +60 -0
- package/dist/convert/composition.js +412 -0
- package/dist/convert/convert.cjs +33 -480
- package/dist/convert/convert.d.cts +3 -3
- package/dist/convert/convert.d.ts +2 -2
- package/dist/convert/convert.js +36 -483
- package/dist/convert/local.cjs +33 -33
- package/dist/convert/local.js +34 -34
- package/dist/fonts/registry.d.cts +19 -1
- package/dist/fonts/registry.d.ts +19 -1
- package/dist/hsqldb/binary-script.d.cts +1 -1
- package/dist/hsqldb/binary-script.d.ts +1 -1
- package/dist/hsqldb/cache.d.cts +1 -1
- package/dist/hsqldb/cache.d.ts +1 -1
- package/dist/hsqldb/rowformat.d.cts +24 -1
- package/dist/hsqldb/rowformat.d.ts +24 -1
- package/dist/index.cjs +4 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +5 -4
- package/dist/index.js +3 -2
- package/dist/odb/read.d.cts +1 -1
- package/dist/odb/read.d.ts +1 -1
- package/dist/odb/report/content.d.cts +1 -1
- package/dist/odb/report/content.d.ts +1 -1
- package/dist/odb/report/source.d.cts +1 -1
- package/dist/odb/report/source.d.ts +1 -1
- package/package.json +1 -1
- package/dist/registry-DpF4A9EM.d.ts +0 -20
- package/dist/registry-ZAWlWHqJ.d.cts +0 -20
- package/dist/rowformat-Cl2exlEh.d.cts +0 -25
- package/dist/rowformat-Cl2exlEh.d.ts +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HsqldbDecodeOptions } from "../../hsqldb/rowformat.cjs";
|
|
2
2
|
import { t as SqlResultSet } from "../../evaluate-BhMXY6DM.cjs";
|
|
3
3
|
import { OdbQueryInfo, OdbReport, Package } from "odf.js";
|
|
4
4
|
//#region src/odb/report/source.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HsqldbDecodeOptions } from "../../hsqldb/rowformat.js";
|
|
2
2
|
import { t as SqlResultSet } from "../../evaluate-BU5N1Jk1.js";
|
|
3
3
|
import { OdbQueryInfo, OdbReport, Package } from "odf.js";
|
|
4
4
|
//#region src/odb/report/source.d.ts
|
package/package.json
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Package } from "ooxml.js";
|
|
2
|
-
import { FontSubstitution, ProvidedFont } from "document-schema.js";
|
|
3
|
-
import { Package as Package$1 } from "odf.js";
|
|
4
|
-
import { FontRegistry } from "pdf-codec";
|
|
5
|
-
//#region src/fonts/registry.d.ts
|
|
6
|
-
type FontSourcePackage = {
|
|
7
|
-
readonly kind: 'docx' | 'pptx';
|
|
8
|
-
readonly package: Package;
|
|
9
|
-
} | {
|
|
10
|
-
readonly kind: 'odf';
|
|
11
|
-
readonly package: Package$1;
|
|
12
|
-
};
|
|
13
|
-
interface DocumentFontRegistryOptions {
|
|
14
|
-
readonly fonts?: readonly ProvidedFont[];
|
|
15
|
-
readonly onFontSubstitution?: (substitution: FontSubstitution) => void;
|
|
16
|
-
}
|
|
17
|
-
declare function extractSourceFonts(source: FontSourcePackage): ProvidedFont[];
|
|
18
|
-
declare function createDocumentFontRegistry(source: FontSourcePackage, options?: DocumentFontRegistryOptions): FontRegistry;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { extractSourceFonts as i, FontSourcePackage as n, createDocumentFontRegistry as r, DocumentFontRegistryOptions as t };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FontSubstitution, ProvidedFont } from "document-schema.js";
|
|
2
|
-
import { Package } from "odf.js";
|
|
3
|
-
import { FontRegistry } from "pdf-codec";
|
|
4
|
-
import { Package as Package$1 } from "ooxml.js";
|
|
5
|
-
//#region src/fonts/registry.d.ts
|
|
6
|
-
type FontSourcePackage = {
|
|
7
|
-
readonly kind: 'docx' | 'pptx';
|
|
8
|
-
readonly package: Package$1;
|
|
9
|
-
} | {
|
|
10
|
-
readonly kind: 'odf';
|
|
11
|
-
readonly package: Package;
|
|
12
|
-
};
|
|
13
|
-
interface DocumentFontRegistryOptions {
|
|
14
|
-
readonly fonts?: readonly ProvidedFont[];
|
|
15
|
-
readonly onFontSubstitution?: (substitution: FontSubstitution) => void;
|
|
16
|
-
}
|
|
17
|
-
declare function extractSourceFonts(source: FontSourcePackage): ProvidedFont[];
|
|
18
|
-
declare function createDocumentFontRegistry(source: FontSourcePackage, options?: DocumentFontRegistryOptions): FontRegistry;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { extractSourceFonts as i, FontSourcePackage as n, createDocumentFontRegistry as r, DocumentFontRegistryOptions as t };
|
|
@@ -1,25 +0,0 @@
|
|
|
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 readModifiedUtf8(bytes: Uint8Array<ArrayBuffer>): string;
|
|
20
|
-
interface HsqldbDecodeOptions {
|
|
21
|
-
readonly timeZone?: string;
|
|
22
|
-
}
|
|
23
|
-
declare function readHsqldbColumnValue(cursor: HsqldbDataCursor, typeCode: number, options?: HsqldbDecodeOptions): ContentCellValue;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { readModifiedUtf8 as a, readHsqldbColumnValue as i, HsqldbDecodeOptions as n, resolveHsqldbTypeCode as o, HsqldbRowFormatError as r, HsqldbDataCursor as t };
|
|
@@ -1,25 +0,0 @@
|
|
|
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 readModifiedUtf8(bytes: Uint8Array<ArrayBuffer>): string;
|
|
20
|
-
interface HsqldbDecodeOptions {
|
|
21
|
-
readonly timeZone?: string;
|
|
22
|
-
}
|
|
23
|
-
declare function readHsqldbColumnValue(cursor: HsqldbDataCursor, typeCode: number, options?: HsqldbDecodeOptions): ContentCellValue;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { readModifiedUtf8 as a, readHsqldbColumnValue as i, HsqldbDecodeOptions as n, resolveHsqldbTypeCode as o, HsqldbRowFormatError as r, HsqldbDataCursor as t };
|