@fileverse-dev/dsheet 2.0.31 → 2.0.32-commentBox-ux-2

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,4 +1,4 @@
1
- import { S as s, i as l, T as o, a as r, c as t, b as n, h as d, d as h, e as S, f as i, g as c, j as m, k as p, l as C, n as E, o as F, p as x, q as g, r as f, s as L, t as R, u, v as T, w as b } from "./index-BopgE6hR.js";
1
+ import { S as s, i as l, T as o, a as r, c as t, b as n, h as d, d as h, e as S, f as i, g as c, j as m, k as p, l as C, n as E, o as F, p as x, q as g, r as f, s as L, t as R, u, v as T, w as b } from "./index-BK26UooG.js";
2
2
  import { bJ as I, bK as w, bL as V, bP as k, ba as P, e as X, f as _, h as v, a as y, ca as z, ap as M, ch as U } from "./executeStringFunction-BuxBjU-d.js";
3
3
  import { FLVURL as G } from "@fileverse-dev/formulajs";
4
4
  import { E as J, S as K } from "./constants-CnhOvijG.js";
@@ -97,10 +97,17 @@ export type Settings = {
97
97
  row?: number;
98
98
  addRows?: number;
99
99
  allowEdit?: boolean;
100
+ /** When true, comment indicators/UI are allowed even in read-only contexts. */
101
+ allowComments?: boolean;
100
102
  showToolbar?: boolean;
101
103
  showFormulaBar?: boolean;
102
104
  showSheetTabs?: boolean;
103
105
  data: Sheet[];
106
+ /**
107
+ * External comment-thread presence map (often loaded async).
108
+ * Keys: `${sheetId}_${row}_${col}` or `${sheetIndex}_${row}_${col}`.
109
+ */
110
+ commentData?: Record<string, unknown>;
104
111
  config?: any;
105
112
  devicePixelRatio?: number;
106
113
  lang?: string | null;
@@ -1,6 +1,6 @@
1
1
  import { g as Ue } from "./executeStringFunction-BuxBjU-d.js";
2
2
  import * as qe from "yjs";
3
- import { m as Xe, y as Ze } from "./index-BopgE6hR.js";
3
+ import { m as Xe, y as Ze } from "./index-BK26UooG.js";
4
4
  import { n as Je } from "./xlsx-hyperlink-inline-DzewAypN.js";
5
5
  import { toast as Be } from "@fileverse/ui";
6
6
  var We = { exports: {} };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "2.0.31",
5
+ "version": "2.0.32-commentBox-ux-2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {