@fileverse-dev/dsheet 4.1.2 → 4.1.4

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.
Files changed (58) hide show
  1. package/README.md +1 -1
  2. package/dist/{constants-CRFfbkoQ.js → constants-8Ij49Lxv.js} +79 -22
  3. package/dist/constants.d.ts +2 -2
  4. package/dist/constants.js +3 -3
  5. package/dist/crypto-constants-CY-Whjwy.js +333 -0
  6. package/dist/editor/components/editor-workbook-controls.d.ts +11 -0
  7. package/dist/editor/components/editor-workbook-controls.test.d.ts +1 -0
  8. package/dist/editor/components/editor-workbook.d.ts +5 -1
  9. package/dist/editor/components/permission-chip-model.d.ts +34 -0
  10. package/dist/editor/components/permission-chip.d.ts +5 -1
  11. package/dist/editor/components/permission-chip.test.d.ts +1 -0
  12. package/dist/editor/contexts/editor-context.d.ts +11 -2
  13. package/dist/editor/dsheet-editor.d.ts +3 -2
  14. package/dist/editor/hooks/collaboration-lifecycle.d.ts +35 -0
  15. package/dist/editor/hooks/collaboration-lifecycle.test.d.ts +1 -0
  16. package/dist/editor/hooks/use-collab-awareness.d.ts +3 -6
  17. package/dist/editor/hooks/use-editor-data.d.ts +2 -2
  18. package/dist/editor/hooks/use-editor-sync.d.ts +6 -2
  19. package/dist/editor/types.d.ts +29 -3
  20. package/dist/editor/utils/detach-workbook-data.d.ts +8 -0
  21. package/dist/editor/utils/detach-workbook-data.test.d.ts +1 -0
  22. package/dist/editor/utils/editor-handle.d.ts +11 -0
  23. package/dist/editor/utils/editor-handle.test.d.ts +1 -0
  24. package/dist/{executeStringFunction-BhS7NspU.js → executeStringFunction-adhsb5GH.js} +1 -1
  25. package/dist/formula.js +1 -1
  26. package/dist/{index-CufCBExa.js → index-CRzwkPJq.js} +28208 -28025
  27. package/dist/index.d.ts +3 -1
  28. package/dist/index.es.js +55 -51
  29. package/dist/persistence-utils-BXFajzvq.js +98 -0
  30. package/dist/persistence-utils.d.ts +6 -0
  31. package/dist/persistence-utils.test.d.ts +1 -0
  32. package/dist/persistence.js +1 -1
  33. package/dist/sheet-engine/react/components/Toolbar/index.d.ts +1 -0
  34. package/dist/sheet-engine/react/components/Workbook/index.d.ts +1 -0
  35. package/dist/style.css +1 -1
  36. package/dist/sync-local/SyncManager.d.ts +54 -9
  37. package/dist/sync-local/crypto/room-key.d.ts +2 -0
  38. package/dist/sync-local/crypto/room-key.test.d.ts +1 -0
  39. package/dist/sync-local/floor.d.ts +8 -0
  40. package/dist/sync-local/floor.test.d.ts +1 -0
  41. package/dist/sync-local/index.d.ts +1 -1
  42. package/dist/sync-local/presence.d.ts +13 -0
  43. package/dist/sync-local/presence.test.d.ts +1 -0
  44. package/dist/sync-local/session-tools.d.ts +31 -0
  45. package/dist/sync-local/session-tools.test.d.ts +1 -0
  46. package/dist/sync-local/socketClient.d.ts +75 -8
  47. package/dist/sync-local/types/index.d.ts +111 -15
  48. package/dist/sync-local/useSyncManager.d.ts +4 -0
  49. package/dist/template-data-list-ahkAKadB.js +117921 -0
  50. package/dist/{use-xlsx-import-impl-BrpzMELW.js → use-xlsx-import-impl-tzKWGisi.js} +4 -4
  51. package/dist/{xlsx-defined-names-DR03Ea-E.js → xlsx-defined-names-CflXuPTO.js} +2 -2
  52. package/dist/{xlsx-export-impl-wJaTTBGt.js → xlsx-export-impl-CkJLfQwm.js} +4 -4
  53. package/dist/{xlsx-hyperlink-inline-53h_A_BI.js → xlsx-hyperlink-inline-DWLdqDYy.js} +2 -2
  54. package/package.json +3 -3
  55. package/dist/crypto-constants-ZTlAYRUf.js +0 -1165
  56. package/dist/persistence-utils-DsM_MOB1.js +0 -89
  57. package/dist/sync-local/utils/objectToFile.d.ts +0 -1
  58. package/dist/template-data-list-RKnVLsuf.js +0 -502876
@@ -1,10 +1,10 @@
1
1
  import * as BZ from "yjs";
2
- import { i as Yl, a as ul, s as eZ, r as hl, y as Il, b as pl, m as Rl } from "./index-CufCBExa.js";
3
- import { g as sl } from "./executeStringFunction-BhS7NspU.js";
2
+ import { i as Yl, a as ul, s as eZ, r as hl, y as Il, b as pl, m as Rl } from "./index-CRzwkPJq.js";
3
+ import { g as sl } from "./executeStringFunction-adhsb5GH.js";
4
4
  import { Workbook as al } from "exceljs";
5
5
  import Kl from "luckyexcel";
6
- import { e as Jl, b as xl, n as Ml } from "./xlsx-hyperlink-inline-53h_A_BI.js";
7
- import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-DR03Ea-E.js";
6
+ import { e as Jl, b as xl, n as Ml } from "./xlsx-hyperlink-inline-DWLdqDYy.js";
7
+ import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-CflXuPTO.js";
8
8
  import { toast as fZ } from "@fileverse/ui";
9
9
  var Zl = { exports: {} };
10
10
  (function(c) {
@@ -1,5 +1,5 @@
1
- import { i as w } from "./executeStringFunction-BhS7NspU.js";
2
- import { J as x } from "./xlsx-hyperlink-inline-53h_A_BI.js";
1
+ import { i as w } from "./executeStringFunction-adhsb5GH.js";
2
+ import { J as x } from "./xlsx-hyperlink-inline-DWLdqDYy.js";
3
3
  function g(o) {
4
4
  return o.startsWith("_xlnm.");
5
5
  }
@@ -1,9 +1,9 @@
1
1
  import { utils as F, write as it } from "xlsx-js-style";
2
2
  import { Workbook as ct } from "exceljs";
3
3
  import { toast as nt } from "@fileverse/ui";
4
- import { J as ft, c as X, g as ut, a as pt } from "./xlsx-hyperlink-inline-53h_A_BI.js";
5
- import { b as dt } from "./executeStringFunction-BhS7NspU.js";
6
- import { e as ht } from "./index-CufCBExa.js";
4
+ import { J as ft, c as X, g as ut, a as pt } from "./xlsx-hyperlink-inline-DWLdqDYy.js";
5
+ import { b as dt } from "./executeStringFunction-adhsb5GH.js";
6
+ import { e as ht } from "./index-CRzwkPJq.js";
7
7
  const mt = {
8
8
  1: "thin",
9
9
  2: "hair",
@@ -810,7 +810,7 @@ const Y = (e) => {
810
810
  D
811
811
  );
812
812
  });
813
- const { applyDefinedNamesToExcelWorkbook: ot } = await import("./xlsx-defined-names-DR03Ea-E.js");
813
+ const { applyDefinedNamesToExcelWorkbook: ot } = await import("./xlsx-defined-names-CflXuPTO.js");
814
814
  ot(
815
815
  j,
816
816
  (T = (a = (d = e.current).getWorkbookContext) == null ? void 0 : a.call(d)) == null ? void 0 : T.definedNames,
@@ -1,5 +1,5 @@
1
- import { g as Rt, c as yt } from "./executeStringFunction-BhS7NspU.js";
2
- import { c as wt } from "./index-CufCBExa.js";
1
+ import { g as Rt, c as yt } from "./executeStringFunction-adhsb5GH.js";
2
+ import { c as wt } from "./index-CRzwkPJq.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.2",
5
+ "version": "4.1.4",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -58,8 +58,8 @@
58
58
  ]
59
59
  },
60
60
  "dependencies": {
61
- "@fileverse-dev/dsheets-templates": "^0.0.31",
62
- "@fileverse-dev/formulajs": "4.4.54",
61
+ "@fileverse-dev/dsheets-templates": "^0.0.33",
62
+ "@fileverse-dev/formulajs": "4.4.55",
63
63
  "@fileverse/crypto": "^0.0.22",
64
64
  "@fileverse/ens": "^0.0.4",
65
65
  "@fileverse/ui": "^5.1.9",