@docmentis/udoc-wasm 0.8.2 → 0.8.3

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.
@@ -1045,7 +1045,7 @@ export interface TableCell3D {
1045
1045
  /**
1046
1046
  * A cell's address in a worksheet grid — its row's and its column's ids, the
1047
1047
  * pair [`SpreadsheetHit`](crate::layout::SpreadsheetHit) reports and
1048
- * [`GridCellRange`] corners are named by.
1048
+ * [`GridCellRange`](super::GridCellRange) corners are named by.
1049
1049
  *
1050
1050
  * A cell has no id of its own: the **pair** is its identity, and it is ids
1051
1051
  * rather than positions because both survive a concurrent insert, so a peer's
@@ -5211,6 +5211,14 @@ export interface ShapeProperties {
5211
5211
  shape3d: PaintShape3d | null;
5212
5212
  }
5213
5213
 
5214
+ /**
5215
+ * A sheet's visibility — the `state` attribute of a `<sheet>` entry. Maps to
5216
+ * `ST_SheetState` in the XLSX schema. A `Hidden` sheet is hidden from the tab
5217
+ * bar but the user can unhide it; a `VeryHidden` sheet is hidden from the UI
5218
+ * entirely (unhideable only through VBA).
5219
+ */
5220
+ export type SheetState = "visible" | "hidden" | "veryHidden";
5221
+
5214
5222
  /**
5215
5223
  * A signature field (§12.7.4.5) — held unsigned: its `/V`, `/Lock` and
5216
5224
  * `/SV` aren't.
@@ -11689,6 +11697,24 @@ export interface PageList {
11689
11697
  pages: PageId[];
11690
11698
  }
11691
11699
 
11700
+ /**
11701
+ * The part of a plane a caller needs current — the request an
11702
+ * [`update_layout`](crate::engine::Engine::update_layout) carries down to
11703
+ * [`LayoutPlane::update`](crate::layout::LayoutPlane::update).
11704
+ *
11705
+ * A plane is either a run of pages, each composed whole, or a single grid page
11706
+ * composed by its rows (a worksheet in Normal view), so a request names one or
11707
+ * the other, never both. Both bounds are inclusive, and the scope is what the
11708
+ * caller needs, not a promise about what gets touched: how it maps to work is
11709
+ * the doc type's decision.
11710
+ *
11711
+ * - A paged plane composes the pages of a [`Pages`](Self::Pages) scope, and
11712
+ * nothing for a [`Rows`](Self::Rows) one, which names nothing it holds.
11713
+ * - A grid page composes the rows of a [`Rows`](Self::Rows) scope, and all of
11714
+ * them for a [`Pages`](Self::Pages) one that covers it — an export's.
11715
+ */
11716
+ export type LayoutScope = { pages: { start: number; limit: number } } | { rows: { start: number; limit: number } };
11717
+
11692
11718
  /**
11693
11719
  * The part of a word-processing document a search covers — the
11694
11720
  * wordprocessing
@@ -14136,7 +14162,7 @@ export type ShapeOleBinding = { embed: { followColorScheme?: ShapeOleColorScheme
14136
14162
  * Where a [`TextHyperlinkAction::ShowJump`] moves — `jump=` of
14137
14163
  * `ppaction://hlinkshowjump`.
14138
14164
  */
14139
- export type TextHyperlinkShowJump = "endShow" | "firstSlide" | "lastSlide" | "lastSlideViewed" | "nextSlide" | "previousSlide" | { slide: { number: number } };
14165
+ export type TextHyperlinkShowJump = "endShow" | "firstSlide" | "lastSlide" | "lastSlideViewed" | "nextSlide" | "previousSlide" | { slide: { slideIndex: number } };
14140
14166
 
14141
14167
  /**
14142
14168
  * Where a blip's image comes from — the `a:blip` relationship attributes.
@@ -18683,7 +18709,8 @@ export class WasmSession {
18683
18709
  *
18684
18710
  * A 404, a css2 response with no covering block, and giving up after three
18685
18711
  * retries are the same event: those characters are recorded as unavailable
18686
- * from that vendor and the next layout tries the next one down the chain. To
18712
+ * from that vendor, and the next vendor down the chain is on order at once —
18713
+ * the next [`takeFontRequests`](Self::take_font_requests) hands it out. To
18687
18714
  * retry instead, simply don't call this until you have stopped trying — the
18688
18715
  * order stays open and the document renders in the stand-in meanwhile.
18689
18716
  *
@@ -18702,6 +18729,16 @@ export class WasmSession {
18702
18729
  * [`viewState`](Self::view_state) (indices 3–4).
18703
18730
  */
18704
18731
  composedPageCount(): number;
18732
+ /**
18733
+ * How many rows the current sheet's grid has composed. Grows as an
18734
+ * [`updateLayout`](Self::update_layout) over `{ rows: { start, limit } }`
18735
+ * composes, a worksheet's grid being one page however many of its rows
18736
+ * are composed — the progress a host composing a sheet ahead guards its
18737
+ * pump with, as [`composedPageCount`](Self::composed_page_count) for
18738
+ * pages. `0` when no document is open, for a chartsheet, and for every
18739
+ * other doc type.
18740
+ */
18741
+ composedRowCount(): number;
18705
18742
  /**
18706
18743
  * The camera as `[a, b, c, d, e, f]` (PDF/SVG order): content space
18707
18744
  * (document points) → **CSS px** under the current scroll/zoom.
@@ -19243,12 +19280,6 @@ export class WasmSession {
19243
19280
  * type with no sheets, or when nothing is open.
19244
19281
  */
19245
19282
  planeIsChartsheet(plane: number): boolean;
19246
- /**
19247
- * Whether plane `plane` is a spreadsheet's very hidden sheet —
19248
- * `state="veryHidden"`, which shows no tab. `false` for any other sheet, a
19249
- * plane out of range, a doc type with no sheets, or when nothing is open.
19250
- */
19251
- planeIsVeryHidden(plane: number): boolean;
19252
19283
  /**
19253
19284
  * The display name of plane `plane` — a spreadsheet's sheet-tab label
19254
19285
  * (the `<sheet name>` from `workbook.xml`), or `undefined` for a plane out
@@ -19257,6 +19288,13 @@ export class WasmSession {
19257
19288
  * for the bound.
19258
19289
  */
19259
19290
  planeName(plane: number): string | undefined;
19291
+ /**
19292
+ * The visibility of a spreadsheet's sheet on plane `plane` — its
19293
+ * `state`: `"visible"`, `"hidden"` (no tab until the user unhides it) or
19294
+ * `"veryHidden"` (no tab, and no way to unhide it). `undefined` for a
19295
+ * plane out of range, a doc type with no sheets, or when nothing is open.
19296
+ */
19297
+ planeSheetState(plane: number): SheetState | undefined;
19260
19298
  /**
19261
19299
  * The colour of plane `plane`'s tab — a spreadsheet's sheet-tab colour
19262
19300
  * (`<sheetPr><tabColor>`) as Excel draws it — or `undefined` for a tab in
@@ -19942,7 +19980,9 @@ export class WasmSession {
19942
19980
  * `{ url: { url } }`. Fetch them however you like — in parallel, with
19943
19981
  * whatever retry policy — then settle each with
19944
19982
  * [`completeFontRequest`](Self::complete_font_request) and call
19945
- * [`refreshFonts`](Self::refresh_fonts) once for the batch.
19983
+ * [`refreshFonts`](Self::refresh_fonts) once for a batch that brought a
19984
+ * font. A batch of refusals needs none: it installed nothing, and the next
19985
+ * vendors' orders are already waiting here.
19946
19986
  *
19947
19987
  * Nothing here blocks or waits: an order is out until it is settled, and the
19948
19988
  * document keeps rendering in a stand-in throughout.
@@ -19972,11 +20012,13 @@ export class WasmSession {
19972
20012
  */
19973
20013
  undo(): void;
19974
20014
  /**
19975
- * Compose ahead through page index `page_limit`, growing the composed
19976
- * prefix, and return whether the document is now **fully composed**. The
19977
- * idle compose-ahead seam: the host calls it from `requestIdleCallback`
19978
- * with a rising limit (e.g. `composedPageCount + 1` to advance one page)
19979
- * until it returns `true` — at which point
20015
+ * Compose `scope` on the current plane — `{ pages: { start, limit } }`
20016
+ * for a paged plane, growing the composed prefix through page index
20017
+ * `limit`, or `{ rows: { start, limit } }` for a worksheet's grid — and
20018
+ * return whether the plane is now **fully composed**. The idle
20019
+ * compose-ahead seam: the host calls it from `requestIdleCallback` with a
20020
+ * rising limit (e.g. `composedPageCount + 1` to advance one page) until it
20021
+ * returns `true` — at which point
19980
20022
  * [`composedPageCount`](Self::composed_page_count) is the document's page
19981
20023
  * count. There is no total to ask for up front: a page is known only once
19982
20024
  * composed.
@@ -19990,9 +20032,10 @@ export class WasmSession {
19990
20032
  * `composedPageCount`.
19991
20033
  *
19992
20034
  * # Errors
19993
- * Returns a JS error if no document is open.
20035
+ * Returns a JS error if no document is open, or if `scope` isn't a
20036
+ * [`LayoutScope`].
19994
20037
  */
19995
- updateLayout(page_limit: number): boolean;
20038
+ updateLayout(scope: LayoutScope): boolean;
19996
20039
  /**
19997
20040
  * The session's version vector — the opaque handshake token to hand another
19998
20041
  * session's [`patchSince`](Self::patch_since) so it can send back only the
@@ -20125,6 +20168,7 @@ export interface InitOutput {
20125
20168
  readonly wasmsession_close: (a: number) => void;
20126
20169
  readonly wasmsession_completeFontRequest: (a: number, b: bigint, c: number, d: number) => number;
20127
20170
  readonly wasmsession_composedPageCount: (a: number) => number;
20171
+ readonly wasmsession_composedRowCount: (a: number) => number;
20128
20172
  readonly wasmsession_contentToViewport: (a: number, b: number) => void;
20129
20173
  readonly wasmsession_copy: (a: number) => number;
20130
20174
  readonly wasmsession_currentPlane: (a: number) => number;
@@ -20169,8 +20213,8 @@ export interface InitOutput {
20169
20213
  readonly wasmsession_plainText: (a: number, b: number, c: number) => void;
20170
20214
  readonly wasmsession_planeCount: (a: number) => number;
20171
20215
  readonly wasmsession_planeIsChartsheet: (a: number, b: number) => number;
20172
- readonly wasmsession_planeIsVeryHidden: (a: number, b: number) => number;
20173
20216
  readonly wasmsession_planeName: (a: number, b: number, c: number) => void;
20217
+ readonly wasmsession_planeSheetState: (a: number, b: number) => number;
20174
20218
  readonly wasmsession_planeTabColor: (a: number, b: number) => number;
20175
20219
  readonly wasmsession_presence: (a: number, b: number) => void;
20176
20220
  readonly wasmsession_redo: (a: number, b: number) => void;
@@ -20237,8 +20281,8 @@ export interface InitOutput {
20237
20281
  readonly fontpreviewimage_width: (a: number) => number;
20238
20282
  readonly fontpreviewimage_bleed: (a: number) => number;
20239
20283
  readonly fontpreviewimage_height: (a: number) => number;
20240
- readonly __wasm_bindgen_func_elem_68517: (a: number, b: number, c: number, d: number) => void;
20241
- readonly __wasm_bindgen_func_elem_68519: (a: number, b: number, c: number, d: number) => void;
20284
+ readonly __wasm_bindgen_func_elem_74162: (a: number, b: number, c: number, d: number) => void;
20285
+ readonly __wasm_bindgen_func_elem_74164: (a: number, b: number, c: number, d: number) => void;
20242
20286
  readonly __wbindgen_export: (a: number, b: number) => number;
20243
20287
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
20244
20288
  readonly __wbindgen_export3: (a: number) => void;
package/dist/wasm/udoc.js CHANGED
@@ -1047,7 +1047,8 @@ export class WasmSession {
1047
1047
  *
1048
1048
  * A 404, a css2 response with no covering block, and giving up after three
1049
1049
  * retries are the same event: those characters are recorded as unavailable
1050
- * from that vendor and the next layout tries the next one down the chain. To
1050
+ * from that vendor, and the next vendor down the chain is on order at once —
1051
+ * the next [`takeFontRequests`](Self::take_font_requests) hands it out. To
1051
1052
  * retry instead, simply don't call this until you have stopped trying — the
1052
1053
  * order stays open and the document renders in the stand-in meanwhile.
1053
1054
  *
@@ -1078,6 +1079,20 @@ export class WasmSession {
1078
1079
  const ret = wasm.wasmsession_composedPageCount(this.__wbg_ptr);
1079
1080
  return ret >>> 0;
1080
1081
  }
1082
+ /**
1083
+ * How many rows the current sheet's grid has composed. Grows as an
1084
+ * [`updateLayout`](Self::update_layout) over `{ rows: { start, limit } }`
1085
+ * composes, a worksheet's grid being one page however many of its rows
1086
+ * are composed — the progress a host composing a sheet ahead guards its
1087
+ * pump with, as [`composedPageCount`](Self::composed_page_count) for
1088
+ * pages. `0` when no document is open, for a chartsheet, and for every
1089
+ * other doc type.
1090
+ * @returns {number}
1091
+ */
1092
+ composedRowCount() {
1093
+ const ret = wasm.wasmsession_composedRowCount(this.__wbg_ptr);
1094
+ return ret >>> 0;
1095
+ }
1081
1096
  /**
1082
1097
  * The camera as `[a, b, c, d, e, f]` (PDF/SVG order): content space
1083
1098
  * (document points) → **CSS px** under the current scroll/zoom.
@@ -2196,17 +2211,6 @@ export class WasmSession {
2196
2211
  const ret = wasm.wasmsession_planeIsChartsheet(this.__wbg_ptr, plane);
2197
2212
  return ret !== 0;
2198
2213
  }
2199
- /**
2200
- * Whether plane `plane` is a spreadsheet's very hidden sheet —
2201
- * `state="veryHidden"`, which shows no tab. `false` for any other sheet, a
2202
- * plane out of range, a doc type with no sheets, or when nothing is open.
2203
- * @param {number} plane
2204
- * @returns {boolean}
2205
- */
2206
- planeIsVeryHidden(plane) {
2207
- const ret = wasm.wasmsession_planeIsVeryHidden(this.__wbg_ptr, plane);
2208
- return ret !== 0;
2209
- }
2210
2214
  /**
2211
2215
  * The display name of plane `plane` — a spreadsheet's sheet-tab label
2212
2216
  * (the `<sheet name>` from `workbook.xml`), or `undefined` for a plane out
@@ -2232,6 +2236,18 @@ export class WasmSession {
2232
2236
  wasm.__wbindgen_add_to_stack_pointer(16);
2233
2237
  }
2234
2238
  }
2239
+ /**
2240
+ * The visibility of a spreadsheet's sheet on plane `plane` — its
2241
+ * `state`: `"visible"`, `"hidden"` (no tab until the user unhides it) or
2242
+ * `"veryHidden"` (no tab, and no way to unhide it). `undefined` for a
2243
+ * plane out of range, a doc type with no sheets, or when nothing is open.
2244
+ * @param {number} plane
2245
+ * @returns {SheetState | undefined}
2246
+ */
2247
+ planeSheetState(plane) {
2248
+ const ret = wasm.wasmsession_planeSheetState(this.__wbg_ptr, plane);
2249
+ return takeObject(ret);
2250
+ }
2235
2251
  /**
2236
2252
  * The colour of plane `plane`'s tab — a spreadsheet's sheet-tab colour
2237
2253
  * (`<sheetPr><tabColor>`) as Excel draws it — or `undefined` for a tab in
@@ -3593,7 +3609,9 @@ export class WasmSession {
3593
3609
  * `{ url: { url } }`. Fetch them however you like — in parallel, with
3594
3610
  * whatever retry policy — then settle each with
3595
3611
  * [`completeFontRequest`](Self::complete_font_request) and call
3596
- * [`refreshFonts`](Self::refresh_fonts) once for the batch.
3612
+ * [`refreshFonts`](Self::refresh_fonts) once for a batch that brought a
3613
+ * font. A batch of refusals needs none: it installed nothing, and the next
3614
+ * vendors' orders are already waiting here.
3597
3615
  *
3598
3616
  * Nothing here blocks or waits: an order is out until it is settled, and the
3599
3617
  * document keeps rendering in a stand-in throughout.
@@ -3669,11 +3687,13 @@ export class WasmSession {
3669
3687
  }
3670
3688
  }
3671
3689
  /**
3672
- * Compose ahead through page index `page_limit`, growing the composed
3673
- * prefix, and return whether the document is now **fully composed**. The
3674
- * idle compose-ahead seam: the host calls it from `requestIdleCallback`
3675
- * with a rising limit (e.g. `composedPageCount + 1` to advance one page)
3676
- * until it returns `true` — at which point
3690
+ * Compose `scope` on the current plane — `{ pages: { start, limit } }`
3691
+ * for a paged plane, growing the composed prefix through page index
3692
+ * `limit`, or `{ rows: { start, limit } }` for a worksheet's grid — and
3693
+ * return whether the plane is now **fully composed**. The idle
3694
+ * compose-ahead seam: the host calls it from `requestIdleCallback` with a
3695
+ * rising limit (e.g. `composedPageCount + 1` to advance one page) until it
3696
+ * returns `true` — at which point
3677
3697
  * [`composedPageCount`](Self::composed_page_count) is the document's page
3678
3698
  * count. There is no total to ask for up front: a page is known only once
3679
3699
  * composed.
@@ -3687,14 +3707,15 @@ export class WasmSession {
3687
3707
  * `composedPageCount`.
3688
3708
  *
3689
3709
  * # Errors
3690
- * Returns a JS error if no document is open.
3691
- * @param {number} page_limit
3710
+ * Returns a JS error if no document is open, or if `scope` isn't a
3711
+ * [`LayoutScope`].
3712
+ * @param {LayoutScope} scope
3692
3713
  * @returns {boolean}
3693
3714
  */
3694
- updateLayout(page_limit) {
3715
+ updateLayout(scope) {
3695
3716
  try {
3696
3717
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3697
- wasm.wasmsession_updateLayout(retptr, this.__wbg_ptr, page_limit);
3718
+ wasm.wasmsession_updateLayout(retptr, this.__wbg_ptr, addBorrowedObject(scope));
3698
3719
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3699
3720
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3700
3721
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -3704,6 +3725,7 @@ export class WasmSession {
3704
3725
  return r0 !== 0;
3705
3726
  } finally {
3706
3727
  wasm.__wbindgen_add_to_stack_pointer(16);
3728
+ heap[stack_pointer++] = undefined;
3707
3729
  }
3708
3730
  }
3709
3731
  /**
@@ -3914,7 +3936,7 @@ function __wbg_get_imports() {
3914
3936
  __wbg_clip_5f059eebddcbe6ae: function(arg0) {
3915
3937
  getObject(arg0).clip();
3916
3938
  },
3917
- __wbg_covers_70a032ceb753624b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3939
+ __wbg_covers_f7b1296b43fc610f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3918
3940
  const ret = getObject(arg0).covers(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3919
3941
  return ret;
3920
3942
  }, arguments); },
@@ -3939,7 +3961,7 @@ function __wbg_get_imports() {
3939
3961
  wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
3940
3962
  }
3941
3963
  },
3942
- __wbg_fetch_905ef070afbf9d64: function() { return handleError(function (arg0) {
3964
+ __wbg_fetch_b468ac3d8d7d6b29: function() { return handleError(function (arg0) {
3943
3965
  const ret = fetch(getObject(arg0));
3944
3966
  return addHeapObject(ret);
3945
3967
  }, arguments); },
@@ -4021,11 +4043,11 @@ function __wbg_get_imports() {
4021
4043
  const ret = getObject(arg0).length;
4022
4044
  return ret;
4023
4045
  },
4024
- __wbg_measure_52806bd0c0248e79: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4046
+ __wbg_measure_4a7db9e7c5b085b5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4025
4047
  const ret = getObject(arg0).measure(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
4026
4048
  return ret;
4027
4049
  }, arguments); },
4028
- __wbg_metrics_61e641fe3ecc3aa9: function() { return handleError(function (arg0, arg1, arg2) {
4050
+ __wbg_metrics_b1c7aa43e31c7d63: function() { return handleError(function (arg0, arg1, arg2) {
4029
4051
  const ret = getObject(arg0).metrics(getStringFromWasm0(arg1, arg2));
4030
4052
  return addHeapObject(ret);
4031
4053
  }, arguments); },
@@ -4072,7 +4094,7 @@ function __wbg_get_imports() {
4072
4094
  const a = state0.a;
4073
4095
  state0.a = 0;
4074
4096
  try {
4075
- return __wasm_bindgen_func_elem_68519(a, state0.b, arg0, arg1);
4097
+ return __wasm_bindgen_func_elem_74164(a, state0.b, arg0, arg1);
4076
4098
  } finally {
4077
4099
  state0.a = a;
4078
4100
  }
@@ -4143,7 +4165,7 @@ function __wbg_get_imports() {
4143
4165
  __wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
4144
4166
  getObject(arg0).randomFillSync(takeObject(arg1));
4145
4167
  }, arguments); },
4146
- __wbg_rasterize_802d05dbeea6e8ac: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
4168
+ __wbg_rasterize_6d92bc147edd07ee: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
4147
4169
  const ret = getObject(arg0).rasterize(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getArrayF64FromWasm0(arg5, arg6), arg7 === 0 ? undefined : arg8);
4148
4170
  return addHeapObject(ret);
4149
4171
  }, arguments); },
@@ -4246,8 +4268,8 @@ function __wbg_get_imports() {
4246
4268
  return ret;
4247
4269
  },
4248
4270
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
4249
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 15189, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4250
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_68517);
4271
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 15553, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4272
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_74162);
4251
4273
  return addHeapObject(ret);
4252
4274
  },
4253
4275
  __wbindgen_cast_0000000000000002: function(arg0) {
@@ -4279,10 +4301,10 @@ function __wbg_get_imports() {
4279
4301
  };
4280
4302
  }
4281
4303
 
4282
- function __wasm_bindgen_func_elem_68517(arg0, arg1, arg2) {
4304
+ function __wasm_bindgen_func_elem_74162(arg0, arg1, arg2) {
4283
4305
  try {
4284
4306
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4285
- wasm.__wasm_bindgen_func_elem_68517(retptr, arg0, arg1, addHeapObject(arg2));
4307
+ wasm.__wasm_bindgen_func_elem_74162(retptr, arg0, arg1, addHeapObject(arg2));
4286
4308
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4287
4309
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4288
4310
  if (r1) {
@@ -4293,8 +4315,8 @@ function __wasm_bindgen_func_elem_68517(arg0, arg1, arg2) {
4293
4315
  }
4294
4316
  }
4295
4317
 
4296
- function __wasm_bindgen_func_elem_68519(arg0, arg1, arg2, arg3) {
4297
- wasm.__wasm_bindgen_func_elem_68519(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
4318
+ function __wasm_bindgen_func_elem_74164(arg0, arg1, arg2, arg3) {
4319
+ wasm.__wasm_bindgen_func_elem_74164(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
4298
4320
  }
4299
4321
 
4300
4322
  const FontPreviewImageFinalization = (typeof FinalizationRegistry === 'undefined')
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@docmentis/udoc-wasm",
3
- "version": "0.8.2",
4
- "description": "Generated udoc engine artifacts: the WASM binary + wasm-bindgen glue and its TypeScript ABI, which declares the command/model types.",
3
+ "version": "0.8.3",
4
+ "description": "WebAssembly document engine powering docMentis viewing, editing, and processing.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
7
7
  "sideEffects": [