@docmentis/udoc-viewer 0.6.29 → 0.6.30
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/package.json +1 -1
- package/dist/src/UDocClient.d.ts +16 -0
- package/dist/src/UDocClient.d.ts.map +1 -1
- package/dist/src/UDocClient.js +22 -1
- package/dist/src/UDocClient.js.map +1 -1
- package/dist/src/UDocViewer.d.ts.map +1 -1
- package/dist/src/UDocViewer.js +8 -1
- package/dist/src/UDocViewer.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/ui/viewer/actions.d.ts +5 -1
- package/dist/src/ui/viewer/actions.d.ts.map +1 -1
- package/dist/src/ui/viewer/components/SheetTabBar.d.ts +9 -0
- package/dist/src/ui/viewer/components/SheetTabBar.d.ts.map +1 -0
- package/dist/src/ui/viewer/components/SheetTabBar.js +56 -0
- package/dist/src/ui/viewer/components/SheetTabBar.js.map +1 -0
- package/dist/src/ui/viewer/components/Spread.d.ts.map +1 -1
- package/dist/src/ui/viewer/components/Spread.js +6 -4
- package/dist/src/ui/viewer/components/Spread.js.map +1 -1
- package/dist/src/ui/viewer/components/Viewport.d.ts.map +1 -1
- package/dist/src/ui/viewer/components/Viewport.js +38 -6
- package/dist/src/ui/viewer/components/Viewport.js.map +1 -1
- package/dist/src/ui/viewer/layout/pixelAlign.d.ts +1 -0
- package/dist/src/ui/viewer/layout/pixelAlign.d.ts.map +1 -1
- package/dist/src/ui/viewer/layout/pixelAlign.js +20 -0
- package/dist/src/ui/viewer/layout/pixelAlign.js.map +1 -1
- package/dist/src/ui/viewer/layout/spreadLayout.d.ts +8 -22
- package/dist/src/ui/viewer/layout/spreadLayout.d.ts.map +1 -1
- package/dist/src/ui/viewer/layout/spreadLayout.js +24 -36
- package/dist/src/ui/viewer/layout/spreadLayout.js.map +1 -1
- package/dist/src/ui/viewer/reducer.d.ts.map +1 -1
- package/dist/src/ui/viewer/reducer.js +12 -0
- package/dist/src/ui/viewer/reducer.js.map +1 -1
- package/dist/src/ui/viewer/shell.d.ts.map +1 -1
- package/dist/src/ui/viewer/shell.js +4 -0
- package/dist/src/ui/viewer/shell.js.map +1 -1
- package/dist/src/ui/viewer/state.d.ts +5 -1
- package/dist/src/ui/viewer/state.d.ts.map +1 -1
- package/dist/src/ui/viewer/state.js +2 -0
- package/dist/src/ui/viewer/state.js.map +1 -1
- package/dist/src/ui/viewer/styles-inline.d.ts +1 -1
- package/dist/src/ui/viewer/styles-inline.d.ts.map +1 -1
- package/dist/src/ui/viewer/styles-inline.js +47 -1
- package/dist/src/ui/viewer/styles-inline.js.map +1 -1
- package/dist/src/wasm/udoc.d.ts +130 -86
- package/dist/src/wasm/udoc.js +39 -6
- package/dist/src/wasm/udoc_bg.wasm +0 -0
- package/dist/src/wasm/udoc_bg.wasm.d.ts +4 -3
- package/dist/src/worker/WorkerClient.d.ts +40 -2
- package/dist/src/worker/WorkerClient.d.ts.map +1 -1
- package/dist/src/worker/WorkerClient.js +92 -0
- package/dist/src/worker/WorkerClient.js.map +1 -1
- package/dist/src/worker/index.d.ts +1 -1
- package/dist/src/worker/index.d.ts.map +1 -1
- package/dist/src/worker/worker-inline.js +1 -1
- package/dist/src/worker/worker.d.ts +23 -2
- package/dist/src/worker/worker.d.ts.map +1 -1
- package/dist/src/worker/worker.js +52 -7
- package/dist/src/worker/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/src/wasm/udoc.d.ts
CHANGED
|
@@ -117,6 +117,15 @@ export type JsViewerLayoutMode = "single-page" | "double-page-odd-right" | "doub
|
|
|
117
117
|
|
|
118
118
|
export type JsViewerScrollMode = "spread" | "continuous";
|
|
119
119
|
|
|
120
|
+
export type JsRippleDirection = "center" | "leftUp" | "rightUp" | "leftDown" | "rightDown";
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Font source for JavaScript serialization.
|
|
124
|
+
*/
|
|
125
|
+
export type JsFontSource = "embedded" | "standard" | "googleFonts" | "url" | "local" | { custom: string };
|
|
126
|
+
|
|
127
|
+
export type JsMorphOption = "byObject" | "byWord" | "byChar";
|
|
128
|
+
|
|
120
129
|
/**
|
|
121
130
|
* A pick specification from JavaScript.
|
|
122
131
|
*/
|
|
@@ -135,48 +144,48 @@ export interface JsPick {
|
|
|
135
144
|
rotation: number | undefined;
|
|
136
145
|
}
|
|
137
146
|
|
|
138
|
-
export type JsShredPattern = "strip" | "rectangle";
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Font spec for JavaScript serialization.
|
|
142
|
-
*/
|
|
143
|
-
export type JsFontSpec = { typeface: string; bold: boolean; italic: boolean } | { fontId: string };
|
|
144
|
-
|
|
145
147
|
/**
|
|
146
|
-
*
|
|
147
|
-
*/
|
|
148
|
-
export interface JsVisibilityGroup {
|
|
149
|
-
id: string;
|
|
150
|
-
name: string;
|
|
151
|
-
visible: boolean;
|
|
152
|
-
locked: boolean;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Result from pdf_split_by_outline.
|
|
148
|
+
* Font usage entry for JavaScript serialization.
|
|
157
149
|
*/
|
|
158
|
-
export interface
|
|
159
|
-
|
|
160
|
-
|
|
150
|
+
export interface JsFontUsageEntry {
|
|
151
|
+
spec: JsFontSpec;
|
|
152
|
+
resolved: JsResolvedFontInfo;
|
|
153
|
+
fallbacks: JsResolvedFontInfo[];
|
|
161
154
|
}
|
|
162
155
|
|
|
163
156
|
/**
|
|
164
|
-
*
|
|
157
|
+
* Nested `Vec<Vec<T>>` can\'t cross the WASM boundary directly, so we use a
|
|
158
|
+
* transparent Tsify wrapper.
|
|
165
159
|
*/
|
|
166
|
-
export type
|
|
167
|
-
|
|
168
|
-
export type JsEightDirection = "left" | "right" | "up" | "down" | "leftUp" | "rightUp" | "leftDown" | "rightDown";
|
|
160
|
+
export type JsCompositions = JsPick[][];
|
|
169
161
|
|
|
170
|
-
export type
|
|
162
|
+
export type JsSideDirection = "left" | "right" | "up" | "down";
|
|
171
163
|
|
|
172
164
|
export type JsOrientation = "horizontal" | "vertical";
|
|
173
165
|
|
|
174
166
|
/**
|
|
175
|
-
*
|
|
167
|
+
* Page transition info for serialization to JavaScript.
|
|
168
|
+
*
|
|
169
|
+
* The `effect` field is a discriminated union tagged by `type`, e.g.:
|
|
170
|
+
* `{ effect: { type: \"fade\", throughBlack: true }, durationMs: 500 }`
|
|
176
171
|
*/
|
|
177
|
-
export interface
|
|
178
|
-
|
|
179
|
-
|
|
172
|
+
export interface JsPageTransition {
|
|
173
|
+
/**
|
|
174
|
+
* The visual transition effect (discriminated union tagged by `type`).
|
|
175
|
+
*/
|
|
176
|
+
effect: JsTransitionEffect;
|
|
177
|
+
/**
|
|
178
|
+
* Duration of the transition animation in milliseconds.
|
|
179
|
+
*/
|
|
180
|
+
durationMs?: number;
|
|
181
|
+
/**
|
|
182
|
+
* Whether clicking advances to the next page.
|
|
183
|
+
*/
|
|
184
|
+
advanceOnClick?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Auto-advance after this many milliseconds.
|
|
187
|
+
*/
|
|
188
|
+
advanceAfterMs?: number;
|
|
180
189
|
}
|
|
181
190
|
|
|
182
191
|
/**
|
|
@@ -196,79 +205,83 @@ export interface JsParsedFontInfo {
|
|
|
196
205
|
italic: boolean;
|
|
197
206
|
}
|
|
198
207
|
|
|
199
|
-
|
|
208
|
+
/**
|
|
209
|
+
* Annotations grouped by page index (as string keys).
|
|
210
|
+
*/
|
|
211
|
+
export type JsAnnotationsByPage = Record<string, JsAnnotation[]>;
|
|
200
212
|
|
|
201
|
-
export type
|
|
213
|
+
export type JsCornerDirection = "leftUp" | "rightUp" | "leftDown" | "rightDown";
|
|
202
214
|
|
|
203
215
|
/**
|
|
204
|
-
*
|
|
216
|
+
* Transition effect as a discriminated union (tagged by `type`).
|
|
205
217
|
*/
|
|
206
|
-
export
|
|
207
|
-
familyName: string;
|
|
208
|
-
postscriptName?: string;
|
|
209
|
-
source: JsFontSource;
|
|
210
|
-
bold: boolean;
|
|
211
|
-
italic: boolean;
|
|
212
|
-
}
|
|
218
|
+
export type JsTransitionEffect = { type: "blinds"; orientation: JsOrientation } | { type: "checker"; orientation: JsOrientation } | { type: "circle" } | { type: "dissolve" } | { type: "comb"; orientation: JsOrientation } | { type: "cover"; direction: JsEightDirection } | { type: "cut"; throughBlack: boolean } | { type: "diamond" } | { type: "fade"; throughBlack: boolean } | { type: "newsflash" } | { type: "plus" } | { type: "pull"; direction: JsEightDirection } | { type: "push"; direction: JsSideDirection } | { type: "random" } | { type: "randomBar"; orientation: JsOrientation } | { type: "split"; orientation: JsOrientation; inOut: JsInOutDirection } | { type: "strips"; direction: JsCornerDirection } | { type: "wedge" } | { type: "wheel"; spokes: number } | { type: "wipe"; direction: JsSideDirection } | { type: "zoom"; inOut: JsInOutDirection } | { type: "box"; inOut: JsInOutDirection } | { type: "glitter"; direction: JsSideDirection; pattern: JsGlitterPattern } | { type: "fly"; direction: JsSideDirection } | { type: "uncover"; direction: JsEightDirection } | { type: "replace" } | { type: "vortex"; direction: JsSideDirection } | { type: "switch"; direction: JsSideDirection } | { type: "flip"; direction: JsSideDirection } | { type: "ripple"; direction: JsRippleDirection } | { type: "honeycomb" } | { type: "prism"; direction: JsSideDirection; isContent: boolean; isInverted: boolean } | { type: "doors"; orientation: JsOrientation } | { type: "window"; orientation: JsOrientation } | { type: "ferris"; direction: JsSideDirection } | { type: "gallery"; direction: JsSideDirection } | { type: "conveyor"; direction: JsSideDirection } | { type: "pan"; direction: JsSideDirection } | { type: "warp"; inOut: JsInOutDirection } | { type: "flythrough"; inOut: JsInOutDirection; hasBounce: boolean } | { type: "flash" } | { type: "shred"; pattern: JsShredPattern; inOut: JsInOutDirection } | { type: "reveal"; throughBlack: boolean; direction: JsSideDirection } | { type: "wheelReverse"; spokes: number } | { type: "morph"; option: JsMorphOption };
|
|
213
219
|
|
|
214
220
|
/**
|
|
215
|
-
*
|
|
221
|
+
* Extracted font info for JavaScript.
|
|
216
222
|
*/
|
|
217
|
-
export interface
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
223
|
+
export interface JsExtractedFont {
|
|
224
|
+
name: string;
|
|
225
|
+
fontType: string;
|
|
226
|
+
extension: string;
|
|
227
|
+
data: number[];
|
|
222
228
|
}
|
|
223
229
|
|
|
224
230
|
/**
|
|
225
|
-
*
|
|
231
|
+
* A contiguous group of pages sharing a stitching layout.
|
|
226
232
|
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
233
|
+
* Viewers build one stitched canvas per group (e.g., one panel per Excel
|
|
234
|
+
* sheet). Per-page `tilePos` values on `JsPageInfo` are local coordinates
|
|
235
|
+
* within the group.
|
|
229
236
|
*/
|
|
230
|
-
export interface
|
|
237
|
+
export interface JsPageGroup {
|
|
231
238
|
/**
|
|
232
|
-
*
|
|
239
|
+
* Display label (sheet name for XLSX). Absent for unnamed linear groups.
|
|
233
240
|
*/
|
|
234
|
-
|
|
241
|
+
name?: string;
|
|
235
242
|
/**
|
|
236
|
-
*
|
|
243
|
+
* Global index of the first page in the group.
|
|
237
244
|
*/
|
|
238
|
-
|
|
245
|
+
startPageIndex: number;
|
|
239
246
|
/**
|
|
240
|
-
*
|
|
247
|
+
* Number of pages in the group.
|
|
241
248
|
*/
|
|
242
|
-
|
|
249
|
+
pageCount: number;
|
|
243
250
|
/**
|
|
244
|
-
*
|
|
251
|
+
* Stitching layout (discriminated union tagged by `type`).
|
|
245
252
|
*/
|
|
246
|
-
|
|
253
|
+
layout: JsPageGroupLayout;
|
|
247
254
|
}
|
|
248
255
|
|
|
249
|
-
|
|
256
|
+
/**
|
|
257
|
+
* Stitching layout of a `JsPageGroup` (discriminated union tagged by `type`).
|
|
258
|
+
*/
|
|
259
|
+
export type JsPageGroupLayout = { type: "linear" } | { type: "tiled"; rows: number; cols: number };
|
|
260
|
+
|
|
261
|
+
export type JsGlitterPattern = "diamond" | "hexagon";
|
|
250
262
|
|
|
251
263
|
/**
|
|
252
|
-
*
|
|
264
|
+
* Visibility group info for serialization to JavaScript.
|
|
253
265
|
*/
|
|
254
|
-
export interface
|
|
266
|
+
export interface JsVisibilityGroup {
|
|
267
|
+
id: string;
|
|
255
268
|
name: string;
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
height: number | undefined;
|
|
259
|
-
data: number[];
|
|
269
|
+
visible: boolean;
|
|
270
|
+
locked: boolean;
|
|
260
271
|
}
|
|
261
272
|
|
|
262
273
|
/**
|
|
263
|
-
*
|
|
264
|
-
* transparent Tsify wrapper.
|
|
274
|
+
* Outline section info for split_by_outline results.
|
|
265
275
|
*/
|
|
266
|
-
export
|
|
276
|
+
export interface JsOutlineSection {
|
|
277
|
+
title: string;
|
|
278
|
+
index: number;
|
|
279
|
+
}
|
|
267
280
|
|
|
268
281
|
/**
|
|
269
|
-
* Font
|
|
282
|
+
* Font spec for JavaScript serialization.
|
|
270
283
|
*/
|
|
271
|
-
export type
|
|
284
|
+
export type JsFontSpec = { typeface: string; bold: boolean; italic: boolean } | { fontId: string };
|
|
272
285
|
|
|
273
286
|
/**
|
|
274
287
|
* Font registration entry from JavaScript.
|
|
@@ -281,16 +294,27 @@ export interface JsFontRegistration {
|
|
|
281
294
|
}
|
|
282
295
|
|
|
283
296
|
/**
|
|
284
|
-
* Extracted
|
|
297
|
+
* Extracted image info for JavaScript.
|
|
285
298
|
*/
|
|
286
|
-
export interface
|
|
299
|
+
export interface JsExtractedImage {
|
|
287
300
|
name: string;
|
|
288
|
-
|
|
289
|
-
|
|
301
|
+
format: string;
|
|
302
|
+
width: number | undefined;
|
|
303
|
+
height: number | undefined;
|
|
290
304
|
data: number[];
|
|
291
305
|
}
|
|
292
306
|
|
|
293
|
-
export type
|
|
307
|
+
export type JsShredPattern = "strip" | "rectangle";
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Result from pdf_split_by_outline.
|
|
311
|
+
*/
|
|
312
|
+
export interface JsSplitByOutlineResult {
|
|
313
|
+
documentIds: string[];
|
|
314
|
+
sections: JsOutlineSection[];
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export type JsInOutDirection = "in" | "out";
|
|
294
318
|
|
|
295
319
|
/**
|
|
296
320
|
* Page info for serialization to JavaScript.
|
|
@@ -319,20 +343,27 @@ export interface JsPageInfo {
|
|
|
319
343
|
}
|
|
320
344
|
|
|
321
345
|
/**
|
|
322
|
-
*
|
|
346
|
+
* Resolved font info for JavaScript serialization.
|
|
323
347
|
*/
|
|
324
|
-
export interface
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
348
|
+
export interface JsResolvedFontInfo {
|
|
349
|
+
familyName: string;
|
|
350
|
+
postscriptName?: string;
|
|
351
|
+
source: JsFontSource;
|
|
352
|
+
bold: boolean;
|
|
353
|
+
italic: boolean;
|
|
328
354
|
}
|
|
329
355
|
|
|
330
|
-
export type
|
|
356
|
+
export type JsEightDirection = "left" | "right" | "up" | "down" | "leftUp" | "rightUp" | "leftDown" | "rightDown";
|
|
331
357
|
|
|
332
358
|
/**
|
|
333
|
-
*
|
|
359
|
+
* A simple rectangle for serialization to JavaScript.
|
|
334
360
|
*/
|
|
335
|
-
export
|
|
361
|
+
export interface JsRect {
|
|
362
|
+
x: number;
|
|
363
|
+
y: number;
|
|
364
|
+
width: number;
|
|
365
|
+
height: number;
|
|
366
|
+
}
|
|
336
367
|
|
|
337
368
|
export interface JsLayoutGlyph {
|
|
338
369
|
x: number;
|
|
@@ -553,6 +584,18 @@ export class Wasm {
|
|
|
553
584
|
* Check if a feature is enabled by the current license.
|
|
554
585
|
*/
|
|
555
586
|
has_feature(feature: string): boolean;
|
|
587
|
+
/**
|
|
588
|
+
* Get the page groups for a document.
|
|
589
|
+
*
|
|
590
|
+
* Each group covers a contiguous range of global page indices with a
|
|
591
|
+
* shared stitching layout. Use this to build per-group canvases (e.g.,
|
|
592
|
+
* one panel per Excel sheet) and group-named sidebars.
|
|
593
|
+
*
|
|
594
|
+
* - PDF/DOCX: one `linear` group covering all pages, no name.
|
|
595
|
+
* - PPTX: one `linear` group (per-section groups once sections are modeled).
|
|
596
|
+
* - XLSX: one `tiled` group per sheet with the sheet name and page-grid dimensions.
|
|
597
|
+
*/
|
|
598
|
+
page_groups(id: string): JsPageGroup[];
|
|
556
599
|
/**
|
|
557
600
|
* Compose new PDF documents by cherry-picking pages from source documents.
|
|
558
601
|
*
|
|
@@ -1076,6 +1119,7 @@ export interface InitOutput {
|
|
|
1076
1119
|
readonly wasm_needs_password: (a: number, b: number, c: number, d: number) => void;
|
|
1077
1120
|
readonly wasm_new: (a: number, b: number, c: number, d: number) => number;
|
|
1078
1121
|
readonly wasm_page_count: (a: number, b: number, c: number, d: number) => void;
|
|
1122
|
+
readonly wasm_page_groups: (a: number, b: number, c: number, d: number) => void;
|
|
1079
1123
|
readonly wasm_page_info: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
1080
1124
|
readonly wasm_pdf_compose: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
1081
1125
|
readonly wasm_pdf_compress: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -1093,9 +1137,9 @@ export interface InitOutput {
|
|
|
1093
1137
|
readonly wasm_set_visibility_group_visible: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
1094
1138
|
readonly wasm_setup_telemetry: (a: number, b: number, c: number) => void;
|
|
1095
1139
|
readonly wasm_viewer_preferences: (a: number, b: number, c: number, d: number) => void;
|
|
1096
|
-
readonly
|
|
1097
|
-
readonly
|
|
1098
|
-
readonly
|
|
1140
|
+
readonly __wasm_bindgen_func_elem_4191: (a: number, b: number, c: number) => void;
|
|
1141
|
+
readonly __wasm_bindgen_func_elem_4175: (a: number, b: number) => void;
|
|
1142
|
+
readonly __wasm_bindgen_func_elem_22429: (a: number, b: number, c: number, d: number) => void;
|
|
1099
1143
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
1100
1144
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
1101
1145
|
readonly __wbindgen_export3: (a: number) => void;
|
package/dist/src/wasm/udoc.js
CHANGED
|
@@ -269,12 +269,12 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
269
269
|
|
|
270
270
|
let WASM_VECTOR_LEN = 0;
|
|
271
271
|
|
|
272
|
-
function
|
|
273
|
-
wasm.
|
|
272
|
+
function __wasm_bindgen_func_elem_4191(arg0, arg1, arg2) {
|
|
273
|
+
wasm.__wasm_bindgen_func_elem_4191(arg0, arg1, addHeapObject(arg2));
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
function
|
|
277
|
-
wasm.
|
|
276
|
+
function __wasm_bindgen_func_elem_22429(arg0, arg1, arg2, arg3) {
|
|
277
|
+
wasm.__wasm_bindgen_func_elem_22429(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
|
|
@@ -422,6 +422,39 @@ export class Wasm {
|
|
|
422
422
|
const ret = wasm.wasm_has_feature(this.__wbg_ptr, ptr0, len0);
|
|
423
423
|
return ret !== 0;
|
|
424
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
* Get the page groups for a document.
|
|
427
|
+
*
|
|
428
|
+
* Each group covers a contiguous range of global page indices with a
|
|
429
|
+
* shared stitching layout. Use this to build per-group canvases (e.g.,
|
|
430
|
+
* one panel per Excel sheet) and group-named sidebars.
|
|
431
|
+
*
|
|
432
|
+
* - PDF/DOCX: one `linear` group covering all pages, no name.
|
|
433
|
+
* - PPTX: one `linear` group (per-section groups once sections are modeled).
|
|
434
|
+
* - XLSX: one `tiled` group per sheet with the sheet name and page-grid dimensions.
|
|
435
|
+
* @param {string} id
|
|
436
|
+
* @returns {JsPageGroup[]}
|
|
437
|
+
*/
|
|
438
|
+
page_groups(id) {
|
|
439
|
+
try {
|
|
440
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
441
|
+
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
442
|
+
const len0 = WASM_VECTOR_LEN;
|
|
443
|
+
wasm.wasm_page_groups(retptr, this.__wbg_ptr, ptr0, len0);
|
|
444
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
445
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
446
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
447
|
+
var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
|
|
448
|
+
if (r3) {
|
|
449
|
+
throw takeObject(r2);
|
|
450
|
+
}
|
|
451
|
+
var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
452
|
+
wasm.__wbindgen_export4(r0, r1 * 4, 4);
|
|
453
|
+
return v2;
|
|
454
|
+
} finally {
|
|
455
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
425
458
|
/**
|
|
426
459
|
* Compose new PDF documents by cherry-picking pages from source documents.
|
|
427
460
|
*
|
|
@@ -2066,7 +2099,7 @@ function __wbg_get_imports() {
|
|
|
2066
2099
|
const a = state0.a;
|
|
2067
2100
|
state0.a = 0;
|
|
2068
2101
|
try {
|
|
2069
|
-
return
|
|
2102
|
+
return __wasm_bindgen_func_elem_22429(a, state0.b, arg0, arg1);
|
|
2070
2103
|
} finally {
|
|
2071
2104
|
state0.a = a;
|
|
2072
2105
|
}
|
|
@@ -2558,7 +2591,7 @@ function __wbg_get_imports() {
|
|
|
2558
2591
|
};
|
|
2559
2592
|
imports.wbg.__wbindgen_cast_e95d7a09ad75920b = function(arg0, arg1) {
|
|
2560
2593
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 259, function: Function { arguments: [Externref], shim_idx: 260, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2561
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
2594
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4175, __wasm_bindgen_func_elem_4191);
|
|
2562
2595
|
return addHeapObject(ret);
|
|
2563
2596
|
};
|
|
2564
2597
|
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
Binary file
|
|
@@ -32,6 +32,7 @@ export const wasm_load_xlsx: (a: number, b: number, c: number, d: number) => voi
|
|
|
32
32
|
export const wasm_needs_password: (a: number, b: number, c: number, d: number) => void;
|
|
33
33
|
export const wasm_new: (a: number, b: number, c: number, d: number) => number;
|
|
34
34
|
export const wasm_page_count: (a: number, b: number, c: number, d: number) => void;
|
|
35
|
+
export const wasm_page_groups: (a: number, b: number, c: number, d: number) => void;
|
|
35
36
|
export const wasm_page_info: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
36
37
|
export const wasm_pdf_compose: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
37
38
|
export const wasm_pdf_compress: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -49,9 +50,9 @@ export const wasm_set_license: (a: number, b: number, c: number) => number;
|
|
|
49
50
|
export const wasm_set_visibility_group_visible: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
50
51
|
export const wasm_setup_telemetry: (a: number, b: number, c: number) => void;
|
|
51
52
|
export const wasm_viewer_preferences: (a: number, b: number, c: number, d: number) => void;
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
53
|
+
export const __wasm_bindgen_func_elem_4191: (a: number, b: number, c: number) => void;
|
|
54
|
+
export const __wasm_bindgen_func_elem_4175: (a: number, b: number) => void;
|
|
55
|
+
export const __wasm_bindgen_func_elem_22429: (a: number, b: number, c: number, d: number) => void;
|
|
55
56
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
56
57
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
57
58
|
export const __wbindgen_export3: (a: number) => void;
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Also handles render queue, cache, and priority management.
|
|
6
6
|
* This is an internal API - use UDocClient for the public SDK.
|
|
7
7
|
*/
|
|
8
|
-
import type { Annotation, AnnotationsByPage, Composition, ComposePick, ExtractedFont, ExtractedImage, FontEntry, FontUsageEntry, LayoutPage, LicenseResult, OutlineItem, PageTransition, OutlineSection, SplitByOutlineResult, VisibilityGroup } from "./worker.js";
|
|
8
|
+
import type { Annotation, AnnotationsByPage, Composition, ComposePick, ExtractedFont, ExtractedImage, FontEntry, FontUsageEntry, LayoutPage, LicenseResult, OutlineItem, PageGroup, PageGroupLayout, PageTransition, OutlineSection, SplitByOutlineResult, VisibilityGroup } from "./worker.js";
|
|
9
9
|
import type { JsOrientation as Orientation, JsSideDirection as SideDirection, JsCornerDirection as CornerDirection, JsEightDirection as EightDirection, JsInOutDirection as InOutDirection, JsTransitionEffect as TransitionEffect, JsFontSource as FontSource, JsResolvedFontInfo as ResolvedFontInfo, JsLayoutFrame as LayoutFrame, JsLayoutParcel as LayoutParcel, JsLayoutLine as LayoutLine, JsLayoutRun as LayoutRun, JsLayoutRunList as LayoutRunList, JsLayoutRunContent as LayoutRunContent, JsLayoutLineContent as LayoutLineContent, JsLayoutTable as LayoutTable, JsLayoutTableRow as LayoutTableRow, JsLayoutTableCell as LayoutTableCell, JsLayoutTableColumn as LayoutTableColumn, JsLayoutGrid as LayoutGrid, JsLayoutGridRow as LayoutGridRow, JsLayoutGridCell as LayoutGridCell, JsLayoutGridColumn as LayoutGridColumn, JsLayoutGlyph as LayoutGlyph, JsTransform as Transform } from "../wasm/udoc.js";
|
|
10
|
-
export type { Annotation, AnnotationsByPage, Composition, ComposePick, ExtractedFont, ExtractedImage, FontEntry, OutlineItem, OutlineSection, SplitByOutlineResult, VisibilityGroup, };
|
|
10
|
+
export type { Annotation, AnnotationsByPage, Composition, ComposePick, ExtractedFont, ExtractedImage, FontEntry, OutlineItem, OutlineSection, PageGroup, PageGroupLayout, SplitByOutlineResult, VisibilityGroup, };
|
|
11
11
|
export type { LicenseResult };
|
|
12
12
|
export type { Orientation, SideDirection, CornerDirection, EightDirection, InOutDirection, TransitionEffect, PageTransition, };
|
|
13
13
|
export type { FontSource, ResolvedFontInfo, FontUsageEntry };
|
|
@@ -52,6 +52,16 @@ export interface RenderRequest {
|
|
|
52
52
|
type: RenderType;
|
|
53
53
|
scale: number;
|
|
54
54
|
}
|
|
55
|
+
export interface RenderCacheBucket {
|
|
56
|
+
count: number;
|
|
57
|
+
bytes: number;
|
|
58
|
+
}
|
|
59
|
+
export interface RenderCacheStats {
|
|
60
|
+
page: RenderCacheBucket;
|
|
61
|
+
thumbnail: RenderCacheBucket;
|
|
62
|
+
preview: RenderCacheBucket;
|
|
63
|
+
total: RenderCacheBucket;
|
|
64
|
+
}
|
|
55
65
|
export interface RenderResult {
|
|
56
66
|
bitmap: ImageBitmap;
|
|
57
67
|
width: number;
|
|
@@ -79,10 +89,13 @@ export declare class WorkerClient {
|
|
|
79
89
|
private pageFocus;
|
|
80
90
|
private thumbnailFocus;
|
|
81
91
|
private renderInvalidatedCallbacks;
|
|
92
|
+
private oomCallbacks;
|
|
93
|
+
private lastOOMClearAt;
|
|
82
94
|
private fontUsageChangedCallbacks;
|
|
83
95
|
private lastFontUsageLength;
|
|
84
96
|
private performanceCounters;
|
|
85
97
|
private pageInfoCache;
|
|
98
|
+
private pageGroupsCache;
|
|
86
99
|
private constructor();
|
|
87
100
|
/**
|
|
88
101
|
* Create a WorkerClient using the inline bundled worker.
|
|
@@ -187,6 +200,11 @@ export declare class WorkerClient {
|
|
|
187
200
|
* Results are cached for subsequent calls.
|
|
188
201
|
*/
|
|
189
202
|
getAllPageInfo(documentId: string): Promise<PageInfo[]>;
|
|
203
|
+
/**
|
|
204
|
+
* Get stitching groups for a document (one `linear` group for PDF/DOCX/PPTX,
|
|
205
|
+
* one `tiled` group per sheet for XLSX). Results are cached.
|
|
206
|
+
*/
|
|
207
|
+
getPageGroups(documentId: string): Promise<PageGroup[]>;
|
|
190
208
|
/**
|
|
191
209
|
* Get the document outline.
|
|
192
210
|
*/
|
|
@@ -365,6 +383,26 @@ export declare class WorkerClient {
|
|
|
365
383
|
* Returns an unsubscribe function.
|
|
366
384
|
*/
|
|
367
385
|
onRenderInvalidated(callback: () => void): () => void;
|
|
386
|
+
/**
|
|
387
|
+
* Subscribe to render OOM events. Fired after caches are cleared so UIs
|
|
388
|
+
* can surface a warning or trigger quality degradation.
|
|
389
|
+
*/
|
|
390
|
+
onOOM(callback: (error: Error) => void): () => void;
|
|
391
|
+
/**
|
|
392
|
+
* Current WASM linear-memory size in bytes (reflects every `memory.grow`).
|
|
393
|
+
* Returns 0 if the worker has not finished initializing yet.
|
|
394
|
+
*/
|
|
395
|
+
getWasmMemoryBytes(): Promise<number>;
|
|
396
|
+
/**
|
|
397
|
+
* Return a snapshot of cached bitmap counts and estimated memory (bytes).
|
|
398
|
+
* Estimated as width * height * 4 (RGBA) per ImageBitmap.
|
|
399
|
+
*/
|
|
400
|
+
getRenderCacheStats(): RenderCacheStats;
|
|
401
|
+
/**
|
|
402
|
+
* Drop every cached ImageBitmap to free memory, then notify OOM subscribers.
|
|
403
|
+
* Throttled so a burst of failures doesn't produce a cache-clear storm.
|
|
404
|
+
*/
|
|
405
|
+
private handleOOM;
|
|
368
406
|
/**
|
|
369
407
|
* Subscribe to font usage change events.
|
|
370
408
|
* Called when font usage changes after a page render.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkerClient.d.ts","sourceRoot":"","sources":["../../../src/worker/WorkerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACR,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,aAAa,EACb,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,EACV,aAAa,EACb,WAAW,EACX,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,eAAe,EAGlB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACR,aAAa,IAAI,WA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GAAG,MAAM,CAElG;
|
|
1
|
+
{"version":3,"file":"WorkerClient.d.ts","sourceRoot":"","sources":["../../../src/worker/WorkerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACR,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,aAAa,EACb,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,EACV,aAAa,EACb,WAAW,EACX,SAAS,EACT,eAAe,EACf,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,eAAe,EAGlB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACR,aAAa,IAAI,WAAW,EAC5B,eAAe,IAAI,aAAa,EAChC,iBAAiB,IAAI,eAAe,EACpC,gBAAgB,IAAI,cAAc,EAClC,gBAAgB,IAAI,cAAc,EAClC,kBAAkB,IAAI,gBAAgB,EACtC,YAAY,IAAI,UAAU,EAC1B,kBAAkB,IAAI,gBAAgB,EACtC,aAAa,IAAI,WAAW,EAC5B,cAAc,IAAI,YAAY,EAC9B,YAAY,IAAI,UAAU,EAC1B,WAAW,IAAI,SAAS,EACxB,eAAe,IAAI,aAAa,EAChC,kBAAkB,IAAI,gBAAgB,EACtC,mBAAmB,IAAI,iBAAiB,EACxC,aAAa,IAAI,WAAW,EAC5B,gBAAgB,IAAI,cAAc,EAClC,iBAAiB,IAAI,eAAe,EACpC,mBAAmB,IAAI,iBAAiB,EACxC,YAAY,IAAI,UAAU,EAC1B,eAAe,IAAI,aAAa,EAChC,gBAAgB,IAAI,cAAc,EAClC,kBAAkB,IAAI,gBAAgB,EACtC,aAAa,IAAI,WAAW,EAC5B,WAAW,IAAI,SAAS,EAC3B,MAAM,iBAAiB,CAAC;AAIzB,YAAY,EACR,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,aAAa,EACb,cAAc,EACd,SAAS,EACT,WAAW,EACX,cAAc,EACd,SAAS,EACT,eAAe,EACf,oBAAoB,EACpB,eAAe,GAClB,CAA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