@silurus/ooxml 0.89.8 → 0.89.10
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 +9 -3
- package/dist/assets/{render-worker-DJiGqgi0.js → render-worker-Coh33rbW.js} +11 -11
- package/dist/assets/{render-worker-hPLJ82d2.js → render-worker-jGsxSIGb.js} +23 -23
- package/dist/{comment-overlay-controller-B7AoyoDK.js → comment-overlay-controller-b3tKmzMa.js} +11 -7
- package/dist/{comment-ui-runtime-C5eWtZSW.js → comment-ui-runtime-BkpFlPT0.js} +3 -3
- package/dist/{comment-ui-runtime-CV0I9faV.js → comment-ui-runtime-Bp37ytDC.js} +2 -2
- package/dist/{document-model-source-90ext13g.js → document-model-source-Ca2fk_Fc.js} +4 -4
- package/dist/{document-pull-client-DSYpUET2.js → document-pull-client-CTGM4i1m.js} +2447 -2406
- package/dist/{docx-DCCDnwrG.js → docx-B-47Ff78.js} +5 -5
- package/dist/{docx-G7pt7ajR.js → docx-DwdB7I59.js} +3 -3
- package/dist/{docx-model-source-Beon3BD5.js → docx-model-source-CWuvf9jk.js} +2 -2
- package/dist/docx.mjs +1 -1
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{host-layout-measure-Z2fIsmDw.js → host-layout-measure-IFLllYwV.js} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/internal-companion.mjs +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{pptx-Ci1Y9SS_.js → pptx-DbjWegUB.js} +27 -12
- package/dist/pptx.mjs +1 -1
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{presentation-model-source-3N7xLtmI.js → presentation-model-source-DLNioq7T.js} +2 -2
- package/dist/{render-worker-host-BZoh-wqR.js → render-worker-host-80mSndWp.js} +1 -1
- package/dist/{render-worker-host-BmVeB_mR.js → render-worker-host-pKls3F_t.js} +1 -1
- package/dist/{renderer-CCA_bQB8.js → renderer-DuYC3xXi.js} +1029 -917
- package/dist/types/docx.d.ts +3 -3
- package/dist/types/index.d.ts +7 -5
- package/dist/types/node.d.ts +2 -2
- package/dist/types/pptx.d.ts +3 -1
- package/dist/types/xlsx.d.ts +1 -1
- package/dist/{workbook-model-source-BHR8shXr.js → workbook-model-source-D1dmkDMP.js} +3 -3
- package/dist/{xlsx-7aY3Pbvh.js → xlsx-DA0uR1B1.js} +1 -1
- package/dist/{xlsx-DTtDjzFq.js → xlsx-DBhYlJKp.js} +652 -640
- package/dist/{xlsx-model-source-DXKvb90T.js → xlsx-model-source-zemVDAfl.js} +2 -2
- package/dist/xlsx.mjs +1 -1
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
package/dist/types/docx.d.ts
CHANGED
|
@@ -1605,7 +1605,7 @@ interface ModelSourceModule<TArchive = unknown> {
|
|
|
1605
1605
|
openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
|
|
1606
1606
|
}
|
|
1607
1607
|
//#endregion
|
|
1608
|
-
//#region dist/.types-work/types-
|
|
1608
|
+
//#region dist/.types-work/types-GkA9Hjlt.d.ts
|
|
1609
1609
|
type DocxDiagnosticCode = 'FLOW_OVERLAP' | 'BOTTOM_MARGIN_INVASION' | 'FLOW_DOMAIN_INVASION' | 'INVALID_REFERENCE' | 'INVALID_GEOMETRY' | 'INVALID_VALUE' | 'MISSING_RESOURCE' | 'NON_CONVERGENCE' | 'UNSUPPORTED_FEATURE';
|
|
1610
1610
|
interface DocxDiagnostic {
|
|
1611
1611
|
readonly code: DocxDiagnosticCode;
|
|
@@ -2035,7 +2035,7 @@ interface ShapeRun {
|
|
|
2035
2035
|
}>;
|
|
2036
2036
|
presetGeometry?: string | null;
|
|
2037
2037
|
adjValues?: Array<number | null>;
|
|
2038
|
-
vmlPicture?: Pick<ImageRun, 'imagePath' | 'mimeType' | 'srcRect' | 'colorReplaceFrom' | 'duotone'>;
|
|
2038
|
+
vmlPicture?: Pick<ImageRun, 'imagePath' | 'mimeType' | 'srcRect' | 'colorReplaceFrom' | 'duotone' | 'blipEffects'>;
|
|
2039
2039
|
fill: ShapeFill | null;
|
|
2040
2040
|
stroke: string | null;
|
|
2041
2041
|
strokeWidth?: number;
|
|
@@ -2448,7 +2448,7 @@ interface RenderPageOptions {
|
|
|
2448
2448
|
showTrackedChanges?: boolean;
|
|
2449
2449
|
}
|
|
2450
2450
|
//#endregion
|
|
2451
|
-
//#region dist/.types-work/docx-
|
|
2451
|
+
//#region dist/.types-work/docx-DGqEiG1s.d.ts
|
|
2452
2452
|
interface CommentAnchorRange {
|
|
2453
2453
|
readonly commentId: string;
|
|
2454
2454
|
readonly source: Readonly<DocxStorySource>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1805,7 +1805,7 @@ interface ModelSourceModule<TArchive = unknown> {
|
|
|
1805
1805
|
openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
|
|
1806
1806
|
}
|
|
1807
1807
|
//#endregion
|
|
1808
|
-
//#region dist/.types-work/types-
|
|
1808
|
+
//#region dist/.types-work/types-GkA9Hjlt.d.ts
|
|
1809
1809
|
type DocxDiagnosticCode = 'FLOW_OVERLAP' | 'BOTTOM_MARGIN_INVASION' | 'FLOW_DOMAIN_INVASION' | 'INVALID_REFERENCE' | 'INVALID_GEOMETRY' | 'INVALID_VALUE' | 'MISSING_RESOURCE' | 'NON_CONVERGENCE' | 'UNSUPPORTED_FEATURE';
|
|
1810
1810
|
interface DocxDiagnostic {
|
|
1811
1811
|
readonly code: DocxDiagnosticCode;
|
|
@@ -2235,7 +2235,7 @@ interface ShapeRun {
|
|
|
2235
2235
|
}>;
|
|
2236
2236
|
presetGeometry?: string | null;
|
|
2237
2237
|
adjValues?: Array<number | null>;
|
|
2238
|
-
vmlPicture?: Pick<ImageRun, 'imagePath' | 'mimeType' | 'srcRect' | 'colorReplaceFrom' | 'duotone'>;
|
|
2238
|
+
vmlPicture?: Pick<ImageRun, 'imagePath' | 'mimeType' | 'srcRect' | 'colorReplaceFrom' | 'duotone' | 'blipEffects'>;
|
|
2239
2239
|
fill: ShapeFill$1 | null;
|
|
2240
2240
|
stroke: string | null;
|
|
2241
2241
|
strokeWidth?: number;
|
|
@@ -2648,7 +2648,7 @@ interface RenderPageOptions {
|
|
|
2648
2648
|
showTrackedChanges?: boolean;
|
|
2649
2649
|
}
|
|
2650
2650
|
//#endregion
|
|
2651
|
-
//#region dist/.types-work/docx-
|
|
2651
|
+
//#region dist/.types-work/docx-DGqEiG1s.d.ts
|
|
2652
2652
|
interface CommentAnchorRange {
|
|
2653
2653
|
readonly commentId: string;
|
|
2654
2654
|
readonly source: Readonly<DocxStorySource>;
|
|
@@ -3452,7 +3452,7 @@ interface PictureElement {
|
|
|
3452
3452
|
sp3d?: Sp3d;
|
|
3453
3453
|
}
|
|
3454
3454
|
//#endregion
|
|
3455
|
-
//#region dist/.types-work/pptx-
|
|
3455
|
+
//#region dist/.types-work/pptx-BJtZ6Zdl.d.ts
|
|
3456
3456
|
interface PptxTextRunInfo {
|
|
3457
3457
|
renderElementIndex?: number;
|
|
3458
3458
|
elementIndex?: number;
|
|
@@ -3763,6 +3763,8 @@ declare class PptxViewer implements ZoomableViewer {
|
|
|
3763
3763
|
nextSlide(): Promise<void>;
|
|
3764
3764
|
prevSlide(): Promise<void>;
|
|
3765
3765
|
private _step;
|
|
3766
|
+
private _scanShown;
|
|
3767
|
+
private _nearestShownSlide;
|
|
3766
3768
|
private _initialSlide;
|
|
3767
3769
|
private _dim;
|
|
3768
3770
|
setHiddenSlideMode(mode: HiddenSlideMode): Promise<void>;
|
|
@@ -4822,7 +4824,7 @@ interface XlsxRenderViewportOptions {
|
|
|
4822
4824
|
} | null;
|
|
4823
4825
|
}
|
|
4824
4826
|
//#endregion
|
|
4825
|
-
//#region dist/.types-work/xlsx-
|
|
4827
|
+
//#region dist/.types-work/xlsx-CKa7EVjE.d.ts
|
|
4826
4828
|
type ResolvedList = {
|
|
4827
4829
|
kind: 'values';
|
|
4828
4830
|
values: string[];
|
package/dist/types/node.d.ts
CHANGED
|
@@ -1652,7 +1652,7 @@ interface ModelSourceModule<TArchive = unknown> {
|
|
|
1652
1652
|
openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
|
|
1653
1653
|
}
|
|
1654
1654
|
//#endregion
|
|
1655
|
-
//#region dist/.types-work/types-
|
|
1655
|
+
//#region dist/.types-work/types-GkA9Hjlt.d.ts
|
|
1656
1656
|
interface DocxDocumentModel {
|
|
1657
1657
|
section: SectionProps;
|
|
1658
1658
|
body: BodyElement[];
|
|
@@ -2074,7 +2074,7 @@ interface ShapeRun {
|
|
|
2074
2074
|
}>;
|
|
2075
2075
|
presetGeometry?: string | null;
|
|
2076
2076
|
adjValues?: Array<number | null>;
|
|
2077
|
-
vmlPicture?: Pick<ImageRun, 'imagePath' | 'mimeType' | 'srcRect' | 'colorReplaceFrom' | 'duotone'>;
|
|
2077
|
+
vmlPicture?: Pick<ImageRun, 'imagePath' | 'mimeType' | 'srcRect' | 'colorReplaceFrom' | 'duotone' | 'blipEffects'>;
|
|
2078
2078
|
fill: ShapeFill$1 | null;
|
|
2079
2079
|
stroke: string | null;
|
|
2080
2080
|
strokeWidth?: number;
|
package/dist/types/pptx.d.ts
CHANGED
|
@@ -2097,7 +2097,7 @@ interface PictureElement {
|
|
|
2097
2097
|
sp3d?: Sp3d;
|
|
2098
2098
|
}
|
|
2099
2099
|
//#endregion
|
|
2100
|
-
//#region dist/.types-work/pptx-
|
|
2100
|
+
//#region dist/.types-work/pptx-BJtZ6Zdl.d.ts
|
|
2101
2101
|
interface PptxTextRunInfo {
|
|
2102
2102
|
renderElementIndex?: number;
|
|
2103
2103
|
elementIndex?: number;
|
|
@@ -2408,6 +2408,8 @@ declare class PptxViewer implements ZoomableViewer {
|
|
|
2408
2408
|
nextSlide(): Promise<void>;
|
|
2409
2409
|
prevSlide(): Promise<void>;
|
|
2410
2410
|
private _step;
|
|
2411
|
+
private _scanShown;
|
|
2412
|
+
private _nearestShownSlide;
|
|
2411
2413
|
private _initialSlide;
|
|
2412
2414
|
private _dim;
|
|
2413
2415
|
setHiddenSlideMode(mode: HiddenSlideMode): Promise<void>;
|
package/dist/types/xlsx.d.ts
CHANGED
|
@@ -2429,7 +2429,7 @@ interface XlsxRenderViewportOptions {
|
|
|
2429
2429
|
} | null;
|
|
2430
2430
|
}
|
|
2431
2431
|
//#endregion
|
|
2432
|
-
//#region dist/.types-work/xlsx-
|
|
2432
|
+
//#region dist/.types-work/xlsx-CKa7EVjE.d.ts
|
|
2433
2433
|
type ResolvedList = {
|
|
2434
2434
|
kind: 'values';
|
|
2435
2435
|
values: string[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { I as e, P as t, Xt as n } from "./bounded-raw-part-cache-B5a6cGKO.js";
|
|
2
2
|
import { T as r } from "./canvas-viewer-mechanics-BsqaoYgK.js";
|
|
3
|
-
import { a as i, g as a } from "./renderer-
|
|
3
|
+
import { a as i, g as a } from "./renderer-DuYC3xXi.js";
|
|
4
4
|
import { b as o } from "./worksheet-pull-client-BudfclVl.js";
|
|
5
|
-
import { c as s, l as c } from "./xlsx-
|
|
5
|
+
import { c as s, l as c } from "./xlsx-DBhYlJKp.js";
|
|
6
6
|
import { n as l, o as u, r as d } from "./model-source-COXegBNA.js";
|
|
7
7
|
import { t as f } from "./bundled-asset-url-BMJ8vNHP.js";
|
|
8
8
|
import { n as p } from "./host-layout-Cz_lCuTZ.js";
|
|
@@ -52,7 +52,7 @@ async function m(i, d, f) {
|
|
|
52
52
|
let p = l(t, "xlsx");
|
|
53
53
|
try {
|
|
54
54
|
_.setSourceBytes(e.byteLength), _.checkpoint("container ready");
|
|
55
|
-
let t = g === "worker" ? (await import("./render-worker-host-
|
|
55
|
+
let t = g === "worker" ? (await import("./render-worker-host-pKls3F_t.js")).createRenderWorker() : new (await (import("./worker-source-C29EQNUj.js"))).default(), n, i = h(t, p, d, (e) => {
|
|
56
56
|
n && (n.sourceMdw = e);
|
|
57
57
|
});
|
|
58
58
|
try {
|
|
@@ -319,7 +319,7 @@ async function J(e, t = {}) {
|
|
|
319
319
|
...t,
|
|
320
320
|
xlsxWorksheetLimits: n.worksheet
|
|
321
321
|
}, t.legacyXls !== void 0) {
|
|
322
|
-
let { openXlsxSource: n } = await import("./xlsx-model-source-
|
|
322
|
+
let { openXlsxSource: n } = await import("./xlsx-model-source-zemVDAfl.js");
|
|
323
323
|
return n(e, t, q);
|
|
324
324
|
}
|
|
325
325
|
let r = await K(_e(e), q(), t);
|