@fileverse-dev/dsheet 4.1.27-stabilise-package-1 → 4.1.27-stabilise-package-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.d.ts CHANGED
@@ -4,6 +4,7 @@ export { formulaResponseUiSync } from './editor/utils/formula-ui-sync';
4
4
  export { executeStringFunction } from './editor/utils/executeStringFunction';
5
5
  export { FLVURL } from '@fileverse-dev/formulajs';
6
6
  export { loadLocale } from './sheet-engine/core';
7
+ export { PersistenceSyncTimeoutError, isPersistenceSyncTimeoutError, } from './editor/utils/wait-for-sync';
7
8
  export type { ErrorMessageHandlerReturnType, DataBlockEvent, DataBlockEventType, ApiKeyStorage, DSheetEditorHandle, DSheetPermissionMode, } from './editor/types';
8
9
  export type { PanelConfig, PanelId, BuiltInPanelType, DSheetContentChange, } from './editor/types';
9
10
  export type { CommentThread, CommentReply, CommentActionParams, CommentsConfig, CommentAnchorMove, } from './editor/types/comments';
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { C as s, f as o, g as t, S as r, h as l, j as n, k as d, T as S, l as c, n as i, o as h, p as m, q as p, t as C, u, v as E, w as F, x, z as R, A as g, B as L, D as A, E as T, F as f, G as I, H as v, I as w, J as y, K as D, L as M, M as X, N as b, O as k, P as z, Q as B, R as O } from "./index-Dp7tGJO0.js";
2
- import { cL as V, cM as G, cN as H, cT as J, bD as K, e as U, f as _, l as N, a as j, dz as q, dA as Q, bh as Y, dB as Z, dC as W, dG as $, dH as ee, dJ as ae, J as se, dX as oe, ev as te, ba as re } from "./executeStringFunction-D1SB3Bwm.js";
3
- import { FLVURL as ne } from "@fileverse-dev/formulajs";
4
- import { E as Se, S as ce } from "./constants-8Ij49Lxv.js";
1
+ import { C as s, f as o, g as t, S as r, h as l, j as n, P as d, k as c, T as i, l as S, n as m, o as h, p, q as C, t as u, u as E, v as F, w as x, x as R, z as g, A as T, B as L, D as A, E as f, F as y, G as I, H as v, I as w, J as D, K as M, L as P, M as X, N as V, O as b, Q as k, R as z, U as B, V as O } from "./index-DuRBkNo8.js";
2
+ import { cL as G, cM as H, cN as J, cT as K, bD as _, e as N, f as j, l as q, a as Q, dz as Y, dA as Z, bh as W, dB as $, dC as ee, dG as ae, dH as se, dJ as oe, J as te, dX as re, ev as le, ba as ne } from "./executeStringFunction-D1SB3Bwm.js";
3
+ import { FLVURL as ce } from "@fileverse-dev/formulajs";
4
+ import { E as Se, S as me } from "./constants-8Ij49Lxv.js";
5
5
  export {
6
6
  s as CommentAction,
7
7
  o as CommentCellUI,
@@ -9,58 +9,60 @@ export {
9
9
  r as DSheetEditor,
10
10
  l as DSheetSkeleton,
11
11
  Se as ERROR_MESSAGES_FLAG,
12
- ne as FLVURL,
12
+ ce as FLVURL,
13
13
  n as FortuneCore,
14
- ce as SERVICES_API_KEY,
15
- d as SupportedChain,
16
- S as TEMPLATES,
17
- c as api,
18
- V as clearColumnsCellsFormat,
19
- i as clearFilter,
20
- G as clearRowsCellsFormat,
21
- H as clearSelectedCellFormat,
14
+ d as PersistenceSyncTimeoutError,
15
+ me as SERVICES_API_KEY,
16
+ c as SupportedChain,
17
+ i as TEMPLATES,
18
+ S as api,
19
+ G as clearColumnsCellsFormat,
20
+ m as clearFilter,
21
+ H as clearRowsCellsFormat,
22
+ J as clearSelectedCellFormat,
22
23
  h as createFilter,
23
- m as decryptForRoomKey,
24
- J as deleteRowCol,
25
- K as deleteSelectedCellText,
26
- p as describeMatchedShortcut,
27
- C as encryptForRoomKey,
28
- U as executeStringFunction,
29
- u as exportToXLSXBytes,
30
- E as fetchSessionState,
31
- _ as formulaResponseUiSync,
32
- N as getFlowdata,
33
- F as getRemoveDuplicatesErrorMessage,
34
- x as getRemoveDuplicatesPreview,
35
- j as getSheetIndex,
36
- R as handleCSVUpload,
37
- g as handleCopy,
24
+ p as decryptForRoomKey,
25
+ K as deleteRowCol,
26
+ _ as deleteSelectedCellText,
27
+ C as describeMatchedShortcut,
28
+ u as encryptForRoomKey,
29
+ N as executeStringFunction,
30
+ E as exportToXLSXBytes,
31
+ F as fetchSessionState,
32
+ j as formulaResponseUiSync,
33
+ q as getFlowdata,
34
+ x as getRemoveDuplicatesErrorMessage,
35
+ R as getRemoveDuplicatesPreview,
36
+ Q as getSheetIndex,
37
+ g as handleCSVUpload,
38
+ T as handleCopy,
38
39
  L as handleExportToCSV,
39
40
  A as handleExportToJSON,
40
- T as handleExportToODS,
41
- f as handleExportToXLSX,
42
- q as handleFreeze,
43
- Q as handleHorizontalAlign,
44
- Y as handleLink,
45
- Z as handleMerge,
41
+ f as handleExportToODS,
42
+ y as handleExportToXLSX,
43
+ Y as handleFreeze,
44
+ Z as handleHorizontalAlign,
45
+ W as handleLink,
46
+ $ as handleMerge,
46
47
  I as handlePasteByClick,
47
- W as handleSort,
48
- $ as handleTextSize,
49
- ee as handleVerticalAlign,
48
+ ee as handleSort,
49
+ ae as handleTextSize,
50
+ se as handleVerticalAlign,
50
51
  v as importSpreadsheetFile,
51
- ae as insertRowCol,
52
+ oe as insertRowCol,
52
53
  w as isBrowserZoomShortcut,
53
- y as isFormulaListShortcut,
54
- D as isOpenShortcutsModalShortcut,
55
- se as jfrefreshgrid,
56
- oe as loadLocale,
57
- M as remapCommentAnchors,
58
- X as removeActiveImage,
54
+ D as isFormulaListShortcut,
55
+ M as isOpenShortcutsModalShortcut,
56
+ P as isPersistenceSyncTimeoutError,
57
+ te as jfrefreshgrid,
58
+ re as loadLocale,
59
+ X as remapCommentAnchors,
60
+ V as removeActiveImage,
59
61
  b as removeDuplicates,
60
62
  k as seedSession,
61
63
  z as showImgChooser,
62
- te as toolbarItemClickHandler,
63
- re as updateFormat,
64
+ le as toolbarItemClickHandler,
65
+ ne as updateFormat,
64
66
  B as useEnsStatus,
65
67
  O as useXLSXImport
66
68
  };
@@ -1,10 +1,10 @@
1
1
  import * as BZ from "yjs";
2
- import { i as Yl, a as hl, b as ul, s as eZ, r as Il, y as pl, d as Rl, m as sl } from "./index-Dp7tGJO0.js";
2
+ import { i as Yl, a as hl, b as ul, s as eZ, r as Il, y as pl, d as Rl, m as sl } from "./index-DuRBkNo8.js";
3
3
  import { g as al } from "./executeStringFunction-D1SB3Bwm.js";
4
4
  import { Workbook as Kl } from "exceljs";
5
5
  import Jl from "luckyexcel";
6
- import { e as xl, b as Ml, n as Sl } from "./xlsx-hyperlink-inline-C3KG35Vc.js";
7
- import { parseDefinedNamesFromXlsxBuffer as Nl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-BbP8Yh6X.js";
6
+ import { e as xl, b as Ml, n as Sl } from "./xlsx-hyperlink-inline-DPSsT1W8.js";
7
+ import { parseDefinedNamesFromXlsxBuffer as Nl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-Bz4lZarM.js";
8
8
  import { toast as fZ } from "@fileverse/ui";
9
9
  var Zl = { exports: {} };
10
10
  (function(m) {
@@ -1,5 +1,5 @@
1
1
  import { i as w } from "./executeStringFunction-D1SB3Bwm.js";
2
- import { J as x } from "./xlsx-hyperlink-inline-C3KG35Vc.js";
2
+ import { J as x } from "./xlsx-hyperlink-inline-DPSsT1W8.js";
3
3
  function g(o) {
4
4
  return o.startsWith("_xlnm.");
5
5
  }
@@ -1,9 +1,9 @@
1
1
  import { utils as S, write as tt } from "xlsx-js-style";
2
2
  import { Workbook as it } from "exceljs";
3
3
  import { toast as rt } from "@fileverse/ui";
4
- import { J as ct, c as X, g as lt, a as ft } from "./xlsx-hyperlink-inline-C3KG35Vc.js";
4
+ import { J as ct, c as X, g as lt, a as ft } from "./xlsx-hyperlink-inline-DPSsT1W8.js";
5
5
  import { b as ut } from "./executeStringFunction-D1SB3Bwm.js";
6
- import { e as pt, r as dt } from "./index-Dp7tGJO0.js";
6
+ import { e as pt, r as dt } from "./index-DuRBkNo8.js";
7
7
  const mt = {
8
8
  1: "thin",
9
9
  2: "hair",
@@ -853,7 +853,7 @@ const q = (t) => {
853
853
  O
854
854
  );
855
855
  });
856
- const { applyDefinedNamesToExcelWorkbook: j } = await import("./xlsx-defined-names-BbP8Yh6X.js");
856
+ const { applyDefinedNamesToExcelWorkbook: j } = await import("./xlsx-defined-names-Bz4lZarM.js");
857
857
  j(
858
858
  E,
859
859
  ((Q = (K = t.getWorkbookContext) == null ? void 0 : K.call(t)) == null ? void 0 : Q.definedNames) ?? dt(r, e),
@@ -1,5 +1,5 @@
1
1
  import { g as Rt, c as yt } from "./executeStringFunction-D1SB3Bwm.js";
2
- import { c as wt } from "./index-Dp7tGJO0.js";
2
+ import { c as wt } from "./index-DuRBkNo8.js";
3
3
  function jt(J, nt) {
4
4
  const g = J.getImages();
5
5
  if (!g.length) return [];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "4.1.27-stabilise-package-1",
5
+ "version": "4.1.27-stabilise-package-2",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/fileverse/fileverse-dsheets.git"