@fileverse-dev/dsheet 2.0.33-rtc-f → 2.0.33-rtc-h

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/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { S as s, a as l, i as o, T as t, b as r, d as n, e as d, h as S, f as h, g as i, j as c, k as m, l as p, n as C, o as E, p as x, q as F, r as g, s as f, t as L, u as R, v as u, w as T, x as b, z as A } from "./index-CNv2uuC9.js";
2
- import { bJ as w, bK as k, bL as V, bP as z, ba as P, e as X, f as _, h as v, a as y, ca as M, ap as U, ch as j } from "./executeStringFunction-9cGLblM5.js";
1
+ import { S as s, a as l, i as o, T as t, b as r, d as n, e as d, h as S, f as h, g as i, j as c, k as m, l as p, n as C, o as E, p as x, q as F, r as g, s as f, t as L, u as R, v as u, w as T, x as b, z as A } from "./index-CSXGQQEX.js";
2
+ import { bJ as w, bK as k, bL as V, bP as z, ba as P, e as X, f as _, h as v, a as y, ca as M, ap as U, ch as j } from "./executeStringFunction-DpMqIVms.js";
3
3
  import { FLVURL as G } from "@fileverse-dev/formulajs";
4
4
  import { E as J, S as K } from "./constants-yStXQJiK.js";
5
5
  export {
@@ -25,6 +25,8 @@ export type Hooks = {
25
25
  updateCellYdoc?: (changes: SheetChangePath[]) => void;
26
26
  updateAllCell?: (sheetId: string) => void;
27
27
  beforeUpdateCell?: (r: number, c: number, value: any) => boolean;
28
+ /** Clears RTC remote-apply lock so local edits can run data-block formulas. */
29
+ onLocalCellEdit?: () => void;
28
30
  afterUpdateCell?: (row: number, column: number, oldValue: any, newValue: any) => void;
29
31
  afterSelectionChange?: (sheetId: string, selection: Selection) => void;
30
32
  beforeRenderRowHeaderCell?: (rowNumber: string, rowIndex: number, top: number, width: number, height: number, ctx: CanvasRenderingContext2D) => boolean;
@@ -131,6 +133,7 @@ export type Settings = {
131
133
  onSheetCountChange?: (count: number) => void;
132
134
  isAuthorized?: boolean;
133
135
  isFlvReadOnly?: boolean;
136
+ isRTCActive?: boolean;
134
137
  dateBaseLocale?: DateBaseLocale;
135
138
  /** When true, do not auto-select A1 on load (e.g. onboarding modal runs first). */
136
139
  suppressInitialCellSelection?: boolean;