@fileverse-dev/dsheet 3.0.1-yjs-13 → 3.0.1-yjs-15

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,13 +1,13 @@
1
- import { C as s, a as t, b as o, S as l, d as r, i as d, e as n, T as i, f as c, g as S, h, j as m, k as p, l as C, n as u, o as E, p as g, q as F, s as x, t as R, u as f, v as A, w as L, x as w, z as I, A as T, B as v, D, E as k } from "./index-reQ-PTM7.js";
2
- import { ci as U, cj as V, ck as _, cp as b, bg as z, e as P, f as X, l as j, a as y, c_ as B, c$ as O, a$ as G, d0 as H, d1 as N, d5 as $, d6 as q, d8 as J, D as K, dm as Y, dN as Z, aU as Q } from "./executeStringFunction-CSjaDQJY.js";
1
+ import { C as s, a as t, b as o, S as r, d as l, i as d, e as n, T as i, f as c, g as S, h, j as m, k as p, l as C, n as u, o as E, p as F, q as g, s as x, t as R, u as f, v as A, w as L, x as w, z as I, A as T, B as v, D, E as M } from "./index-OL2_pnvq.js";
2
+ import { cm as k, cn as V, co as X, ct as z, bj as P, e as U, f as _, l as j, a as y, d2 as B, d3 as O, b2 as G, d4 as H, d5 as q, d9 as J, da as K, dc as N, D as Y, dr as Z, dR as Q, aX as W } from "./executeStringFunction-BHy-_q3d.js";
3
3
  import { FLVURL as ee } from "@fileverse-dev/formulajs";
4
4
  import { E as se, S as te } from "./constants-Cdz6oSCq.js";
5
5
  export {
6
6
  s as CommentAction,
7
7
  t as CommentCellUI,
8
8
  o as CommentsContent,
9
- l as DSheetEditor,
10
- r as DSheetSkeleton,
9
+ r as DSheetEditor,
10
+ l as DSheetSkeleton,
11
11
  se as ERROR_MESSAGES_FLAG,
12
12
  ee as FLVURL,
13
13
  d as FortuneCore,
@@ -15,45 +15,45 @@ export {
15
15
  n as SupportedChain,
16
16
  i as TEMPLATES,
17
17
  c as api,
18
- U as clearColumnsCellsFormat,
18
+ k as clearColumnsCellsFormat,
19
19
  S as clearFilter,
20
20
  V as clearRowsCellsFormat,
21
- _ as clearSelectedCellFormat,
21
+ X as clearSelectedCellFormat,
22
22
  h as createFilter,
23
- b as deleteRowCol,
24
- z as deleteSelectedCellText,
23
+ z as deleteRowCol,
24
+ P as deleteSelectedCellText,
25
25
  m as describeMatchedShortcut,
26
- P as executeStringFunction,
27
- X as formulaResponseUiSync,
26
+ U as executeStringFunction,
27
+ _ as formulaResponseUiSync,
28
28
  j as getFlowdata,
29
29
  p as getRemoveDuplicatesErrorMessage,
30
30
  C as getRemoveDuplicatesPreview,
31
31
  y as getSheetIndex,
32
32
  u as handleCSVUpload,
33
33
  E as handleCopy,
34
- g as handleExportToCSV,
35
- F as handleExportToJSON,
34
+ F as handleExportToCSV,
35
+ g as handleExportToJSON,
36
36
  x as handleExportToXLSX,
37
37
  B as handleFreeze,
38
38
  O as handleHorizontalAlign,
39
39
  G as handleLink,
40
40
  H as handleMerge,
41
41
  R as handlePasteByClick,
42
- N as handleSort,
43
- $ as handleTextSize,
44
- q as handleVerticalAlign,
42
+ q as handleSort,
43
+ J as handleTextSize,
44
+ K as handleVerticalAlign,
45
45
  f as importSpreadsheetFile,
46
- J as insertRowCol,
46
+ N as insertRowCol,
47
47
  A as isBrowserZoomShortcut,
48
48
  L as isFormulaListShortcut,
49
49
  w as isOpenShortcutsModalShortcut,
50
- K as jfrefreshgrid,
51
- Y as loadLocale,
50
+ Y as jfrefreshgrid,
51
+ Z as loadLocale,
52
52
  I as removeActiveImage,
53
53
  T as removeDuplicates,
54
54
  v as showImgChooser,
55
- Z as toolbarItemClickHandler,
56
- Q as updateFormat,
55
+ Q as toolbarItemClickHandler,
56
+ W as updateFormat,
57
57
  D as useEnsStatus,
58
- k as useXLSXImport
58
+ M as useXLSXImport
59
59
  };
@@ -3,5 +3,9 @@ import { Context } from '../context';
3
3
  /**
4
4
  * Defer sheet-level metadata hooks until after React applies Immer updates, so
5
5
  * getSheet() / Yjs diff see dataVerification, CF rules, and hyperlinks from paste/cut.
6
+ *
7
+ * Capture the hook fns themselves (not `ctx.hooks`): paste runs inside produce,
8
+ * and reading a draft `hooks` proxy after it is revoked throws
9
+ * "Cannot perform 'get' on a proxy that has been revoked".
6
10
  */
7
11
  export declare function scheduleSheetMetadataSyncHooks(ctx: Context): void;
@@ -1,6 +1,6 @@
1
- import { g as Ke } from "./executeStringFunction-CSjaDQJY.js";
1
+ import { g as Ke } from "./executeStringFunction-BHy-_q3d.js";
2
2
  import * as et from "yjs";
3
- import { m as tt, y as rt, r as nt } from "./index-reQ-PTM7.js";
3
+ import { m as tt, y as rt, r as nt } from "./index-OL2_pnvq.js";
4
4
  import { n as at } from "./xlsx-hyperlink-inline-DzewAypN.js";
5
5
  import { toast as Ge } from "@fileverse/ui";
6
6
  var Ze = { exports: {} };
@@ -2,8 +2,8 @@ import { utils as ht, write as Nt } from "xlsx-js-style";
2
2
  import { Workbook as Pt } from "exceljs";
3
3
  import { toast as Ut } from "@fileverse/ui";
4
4
  import { addFortuneImagesToWorksheet as Lt } from "./xlsx-image-utils-Cvg0qxRA.js";
5
- import { g as jt, c as xt, b as Wt } from "./executeStringFunction-CSjaDQJY.js";
6
- import { c as Ct } from "./index-reQ-PTM7.js";
5
+ import { g as jt, c as xt, b as Wt } from "./executeStringFunction-BHy-_q3d.js";
6
+ import { c as Ct } from "./index-OL2_pnvq.js";
7
7
  import { c as zt, g as Mt } from "./xlsx-hyperlink-inline-DzewAypN.js";
8
8
  const Zt = {
9
9
  1: "thin",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "3.0.1-yjs-13",
5
+ "version": "3.0.1-yjs-15",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {