@fileverse-dev/dsheet 4.0.5-edit-mode-12 → 4.0.6

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 (88) hide show
  1. package/dist/editor/components/api-key-modal/api-key-input.d.ts +1 -1
  2. package/dist/editor/components/api-key-modal/api-key-modal.d.ts +1 -3
  3. package/dist/editor/components/api-key-modal/rate-limit-info.d.ts +1 -1
  4. package/dist/editor/components/comments/comment-sidebar-empty.d.ts +1 -1
  5. package/dist/editor/components/editor-workbook.d.ts +1 -5
  6. package/dist/editor/components/export-menu-section.d.ts +1 -1
  7. package/dist/editor/components/import-button-ui.d.ts +1 -1
  8. package/dist/editor/components/permission-chip.d.ts +1 -5
  9. package/dist/editor/components/read-only-export-button.d.ts +1 -1
  10. package/dist/editor/components/sidebar/editor-right-sidebar.d.ts +1 -1
  11. package/dist/editor/components/sidebar/right-sidebar.d.ts +2 -2
  12. package/dist/editor/components/sidebar/sidebar-context.d.ts +1 -1
  13. package/dist/editor/components/sidebar/sidebar-portal-registry.d.ts +2 -2
  14. package/dist/editor/components/sidebars/conditional-format.d.ts +1 -1
  15. package/dist/editor/components/sidebars/data-verification.d.ts +1 -1
  16. package/dist/editor/components/sidebars/function/function-categories.d.ts +1 -3
  17. package/dist/editor/components/sidebars/function/function-metadata.d.ts +1 -1
  18. package/dist/editor/components/sidebars/function/functionList.d.ts +1 -2
  19. package/dist/editor/components/sidebars/function-content.d.ts +1 -1
  20. package/dist/editor/components/sidebars/named-ranges.d.ts +1 -1
  21. package/dist/editor/components/sidebars/template-ui.d.ts +2 -4
  22. package/dist/editor/components/sidebars/templates.d.ts +1 -1
  23. package/dist/editor/components/skeleton-loader.d.ts +4 -4
  24. package/dist/editor/components/smart-contract/error-toast.d.ts +1 -1
  25. package/dist/editor/components/smart-contract/smart-contract-list-item.d.ts +1 -2
  26. package/dist/editor/components/smart-contract/smart-contract-reading-intro.d.ts +1 -1
  27. package/dist/editor/components/smart-contract.d.ts +1 -1
  28. package/dist/editor/components/transition-wrapper.d.ts +1 -1
  29. package/dist/editor/contexts/editor-context.d.ts +2 -11
  30. package/dist/editor/dsheet-editor.d.ts +2 -3
  31. package/dist/editor/hooks/use-collab-awareness.d.ts +6 -3
  32. package/dist/editor/hooks/use-editor-data.d.ts +2 -2
  33. package/dist/editor/hooks/use-editor-sync.d.ts +2 -6
  34. package/dist/editor/types.d.ts +3 -29
  35. package/dist/editor/utils/custom-toolbar-item.d.ts +3 -3
  36. package/dist/editor/utils/smart-contract/constants.d.ts +1 -7
  37. package/dist/{executeStringFunction-B6fhDKyN.js → executeStringFunction-CxsiamWG.js} +6421 -6339
  38. package/dist/formula.js +1 -1
  39. package/dist/{index-D7psIU8B.js → index-CQUhZB3J.js} +19505 -20459
  40. package/dist/index.d.ts +1 -3
  41. package/dist/index.es.js +48 -52
  42. package/dist/persistence-utils-DsM_MOB1.js +89 -0
  43. package/dist/persistence-utils.d.ts +0 -6
  44. package/dist/persistence.js +1 -1
  45. package/dist/sheet-engine/core/modules/format.d.ts +5 -1
  46. package/dist/sheet-engine/react/components/DataVerification/ColorPicker.d.ts +1 -3
  47. package/dist/sheet-engine/react/components/DataVerification/DropdownOption.d.ts +1 -1
  48. package/dist/sheet-engine/react/components/DuneChartsInputModal/DuneChartsInputModal.d.ts +1 -2
  49. package/dist/sheet-engine/react/components/SheetOverlay/FormulaHint/dragable-div.d.ts +1 -1
  50. package/dist/sheet-engine/react/components/SheetOverlay/FormulaHint/index.d.ts +1 -2
  51. package/dist/sheet-engine/react/components/SheetOverlay/Icon.d.ts +19 -19
  52. package/dist/sheet-engine/react/components/SheetOverlay/LucideIcon.d.ts +19 -19
  53. package/dist/sheet-engine/react/components/Toolbar/FunctionList/FunctionListButton.d.ts +1 -1
  54. package/dist/sheet-engine/react/components/Toolbar/FunctionList/HoverMenuItem.d.ts +1 -1
  55. package/dist/sheet-engine/react/components/Toolbar/index.d.ts +1 -2
  56. package/dist/sheet-engine/react/components/Workbook/index.d.ts +0 -1
  57. package/dist/style.css +1 -1
  58. package/dist/sync-local/SyncManager.d.ts +9 -54
  59. package/dist/sync-local/index.d.ts +1 -1
  60. package/dist/sync-local/socketClient.d.ts +8 -74
  61. package/dist/sync-local/types/index.d.ts +15 -111
  62. package/dist/sync-local/useSyncManager.d.ts +0 -4
  63. package/dist/sync-local/utils/objectToFile.d.ts +1 -0
  64. package/dist/{use-xlsx-import-impl-B73ILpg3.js → use-xlsx-import-impl-DNTnmzDN.js} +53 -53
  65. package/dist/{xlsx-defined-names-Bl8Y-KEV.js → xlsx-defined-names-BHxDk83p.js} +2 -2
  66. package/dist/{xlsx-export-impl-FuZcrQ2a.js → xlsx-export-impl-r3bDoVjv.js} +4 -4
  67. package/dist/{xlsx-hyperlink-inline-Cdizm_s4.js → xlsx-hyperlink-inline-B5IR_SOR.js} +2 -2
  68. package/package.json +2 -2
  69. package/dist/editor/components/editor-workbook-controls.d.ts +0 -11
  70. package/dist/editor/components/editor-workbook-controls.test.d.ts +0 -1
  71. package/dist/editor/components/permission-chip-model.d.ts +0 -34
  72. package/dist/editor/components/permission-chip.test.d.ts +0 -1
  73. package/dist/editor/hooks/collaboration-lifecycle.d.ts +0 -35
  74. package/dist/editor/hooks/collaboration-lifecycle.test.d.ts +0 -1
  75. package/dist/editor/utils/detach-workbook-data.d.ts +0 -8
  76. package/dist/editor/utils/detach-workbook-data.test.d.ts +0 -1
  77. package/dist/editor/utils/editor-handle.d.ts +0 -11
  78. package/dist/editor/utils/editor-handle.test.d.ts +0 -1
  79. package/dist/persistence-utils-BBTuIssZ.js +0 -97
  80. package/dist/persistence-utils.test.d.ts +0 -1
  81. package/dist/sync-local/crypto/room-key.d.ts +0 -2
  82. package/dist/sync-local/crypto/room-key.test.d.ts +0 -1
  83. package/dist/sync-local/floor.d.ts +0 -8
  84. package/dist/sync-local/floor.test.d.ts +0 -1
  85. package/dist/sync-local/presence.d.ts +0 -11
  86. package/dist/sync-local/presence.test.d.ts +0 -1
  87. package/dist/sync-local/session-tools.d.ts +0 -31
  88. package/dist/sync-local/session-tools.test.d.ts +0 -1
package/dist/index.d.ts CHANGED
@@ -4,7 +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 type { ErrorMessageHandlerReturnType, DataBlockEvent, DataBlockEventType, ApiKeyStorage, DSheetEditorHandle, DSheetPermissionMode, } from './editor/types';
7
+ export type { ErrorMessageHandlerReturnType, DataBlockEvent, DataBlockEventType, ApiKeyStorage } from './editor/types';
8
8
  export type { PanelConfig, PanelId, BuiltInPanelType } from './editor/types';
9
9
  export type { CommentThread, CommentReply, CommentActionParams, CommentsConfig, } from './editor/types/comments';
10
10
  export { CommentAction } from './editor/types/comments';
@@ -16,8 +16,6 @@ export type { SmartContractConfig, SmartContractEvent, SmartContractEventType, C
16
16
  export { SupportedChain } from './editor/types/smart-contract';
17
17
  export type { WorkbookInstance } from './sheet-engine/react';
18
18
  export type { CollaborationProps, CollabConnectionConfig, CollabSessionMeta, CollabServices, CollabCallbacks, CollabState, CollabStatus, CollabError, CollabErrorCode, CollabUser, } from './sync-local/types';
19
- export { fetchSessionState, seedSession } from './sync-local/session-tools';
20
- export { encryptForRoomKey, decryptForRoomKey, } from './sync-local/crypto/room-key';
21
19
  export { ERROR_MESSAGES_FLAG, SERVICES_API_KEY, } from './editor/constants/shared-constants';
22
20
  export { TEMPLATES } from '@fileverse-dev/dsheets-templates/template-metadata-list';
23
21
  export { handleCSVUpload } from './editor/utils/csv-import';
package/dist/index.es.js CHANGED
@@ -1,63 +1,59 @@
1
- import { C as s, d as o, f as t, S as r, g as l, h as d, j as n, T as i, k as S, l as c, n as h, o as m, p, q as C, t as u, u as E, v as F, w as g, x, z as R, A as f, B as I, D as L, E as w, F as A, G as y, H as T, I as v, J as M, K as D, L as b, M as k, N as V } from "./index-D7psIU8B.js";
2
- import { cw as G, cx as K, cy as P, cE as U, bq as X, e as _, f as j, l as B, a as H, dg as O, dh as q, b9 as J, di as N, dj as Y, dn as Z, dp as Q, dr as W, I as $, dG as ee, ed as ae, b2 as se } from "./executeStringFunction-B6fhDKyN.js";
3
- import { FLVURL as te } from "@fileverse-dev/formulajs";
4
- import { E as le, S as de } from "./constants-CRFfbkoQ.js";
1
+ import { C as s, d as t, f as o, S as r, g as l, h as d, j as n, T as i, k as S, l as c, n as h, o as m, p, q as C, t as u, u as E, v as F, w as g, x, z as R, A as I, B as f, D as w, E as A, F as L, G as T, H as v, I as D, J as M } from "./index-CQUhZB3J.js";
2
+ import { cw as k, cx as V, cy as y, cE as z, bq as G, e as P, f as U, l as X, a as _, dg as j, dh as B, b9 as H, di as O, dj as q, dn as J, dp as K, dr as N, I as Y, dG as Z, ed as Q, b2 as W } from "./executeStringFunction-CxsiamWG.js";
3
+ import { FLVURL as ee } from "@fileverse-dev/formulajs";
4
+ import { E as se, S as te } from "./constants-CRFfbkoQ.js";
5
5
  export {
6
6
  s as CommentAction,
7
- o as CommentCellUI,
8
- t as CommentsContent,
7
+ t as CommentCellUI,
8
+ o as CommentsContent,
9
9
  r as DSheetEditor,
10
10
  l as DSheetSkeleton,
11
- le as ERROR_MESSAGES_FLAG,
12
- te as FLVURL,
11
+ se as ERROR_MESSAGES_FLAG,
12
+ ee as FLVURL,
13
13
  d as FortuneCore,
14
- de as SERVICES_API_KEY,
14
+ te as SERVICES_API_KEY,
15
15
  n as SupportedChain,
16
16
  i as TEMPLATES,
17
17
  S as api,
18
- G as clearColumnsCellsFormat,
18
+ k as clearColumnsCellsFormat,
19
19
  c as clearFilter,
20
- K as clearRowsCellsFormat,
21
- P as clearSelectedCellFormat,
20
+ V as clearRowsCellsFormat,
21
+ y as clearSelectedCellFormat,
22
22
  h as createFilter,
23
- m as decryptForRoomKey,
24
- U as deleteRowCol,
25
- X as deleteSelectedCellText,
26
- p as describeMatchedShortcut,
27
- C as encryptForRoomKey,
28
- _ as executeStringFunction,
29
- u as fetchSessionState,
30
- j as formulaResponseUiSync,
31
- B as getFlowdata,
32
- E as getRemoveDuplicatesErrorMessage,
33
- F as getRemoveDuplicatesPreview,
34
- H as getSheetIndex,
35
- g as handleCSVUpload,
36
- x as handleCopy,
37
- R as handleExportToCSV,
38
- f as handleExportToJSON,
39
- I as handleExportToXLSX,
40
- O as handleFreeze,
41
- q as handleHorizontalAlign,
42
- J as handleLink,
43
- N as handleMerge,
44
- L as handlePasteByClick,
45
- Y as handleSort,
46
- Z as handleTextSize,
47
- Q as handleVerticalAlign,
48
- w as importSpreadsheetFile,
49
- W as insertRowCol,
50
- A as isBrowserZoomShortcut,
51
- y as isFormulaListShortcut,
52
- T as isOpenShortcutsModalShortcut,
53
- $ as jfrefreshgrid,
54
- ee as loadLocale,
55
- v as removeActiveImage,
56
- M as removeDuplicates,
57
- D as seedSession,
58
- b as showImgChooser,
59
- ae as toolbarItemClickHandler,
60
- se as updateFormat,
61
- k as useEnsStatus,
62
- V as useXLSXImport
23
+ z as deleteRowCol,
24
+ G as deleteSelectedCellText,
25
+ m as describeMatchedShortcut,
26
+ P as executeStringFunction,
27
+ U as formulaResponseUiSync,
28
+ X as getFlowdata,
29
+ p as getRemoveDuplicatesErrorMessage,
30
+ C as getRemoveDuplicatesPreview,
31
+ _ as getSheetIndex,
32
+ u as handleCSVUpload,
33
+ E as handleCopy,
34
+ F as handleExportToCSV,
35
+ g as handleExportToJSON,
36
+ x as handleExportToXLSX,
37
+ j as handleFreeze,
38
+ B as handleHorizontalAlign,
39
+ H as handleLink,
40
+ O as handleMerge,
41
+ R as handlePasteByClick,
42
+ q as handleSort,
43
+ J as handleTextSize,
44
+ K as handleVerticalAlign,
45
+ I as importSpreadsheetFile,
46
+ N as insertRowCol,
47
+ f as isBrowserZoomShortcut,
48
+ w as isFormulaListShortcut,
49
+ A as isOpenShortcutsModalShortcut,
50
+ Y as jfrefreshgrid,
51
+ Z as loadLocale,
52
+ L as removeActiveImage,
53
+ T as removeDuplicates,
54
+ v as showImgChooser,
55
+ Q as toolbarItemClickHandler,
56
+ W as updateFormat,
57
+ D as useEnsStatus,
58
+ M as useXLSXImport
63
59
  };
@@ -0,0 +1,89 @@
1
+ import * as c from "yjs";
2
+ const u = typeof Buffer == "function";
3
+ typeof TextDecoder == "function" && new TextDecoder();
4
+ typeof TextEncoder == "function" && new TextEncoder();
5
+ const b = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", s = Array.prototype.slice.call(b), l = ((t) => {
6
+ let e = {};
7
+ return t.forEach((r, o) => e[r] = o), e;
8
+ })(s), g = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, f = String.fromCharCode.bind(String), h = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (t) => new Uint8Array(Array.prototype.slice.call(t, 0)), S = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" : "_"), A = (t) => t.replace(/[^A-Za-z0-9\+\/]/g, ""), E = (t) => {
9
+ let e, r, o, n, a = "";
10
+ const p = t.length % 3;
11
+ for (let i = 0; i < t.length; ) {
12
+ if ((r = t.charCodeAt(i++)) > 255 || (o = t.charCodeAt(i++)) > 255 || (n = t.charCodeAt(i++)) > 255)
13
+ throw new TypeError("invalid character found");
14
+ e = r << 16 | o << 8 | n, a += s[e >> 18 & 63] + s[e >> 12 & 63] + s[e >> 6 & 63] + s[e & 63];
15
+ }
16
+ return p ? a.slice(0, p - 3) + "===".substring(p) : a;
17
+ }, U = typeof btoa == "function" ? (t) => btoa(t) : u ? (t) => Buffer.from(t, "binary").toString("base64") : E, d = u ? (t) => Buffer.from(t).toString("base64") : (t) => {
18
+ let r = [];
19
+ for (let o = 0, n = t.length; o < n; o += 4096)
20
+ r.push(f.apply(null, t.subarray(o, o + 4096)));
21
+ return U(r.join(""));
22
+ }, m = (t, e = !1) => e ? S(d(t)) : d(t), _ = (t) => {
23
+ if (t = t.replace(/\s+/g, ""), !g.test(t))
24
+ throw new TypeError("malformed base64.");
25
+ t += "==".slice(2 - (t.length & 3));
26
+ let e, r, o, n = [];
27
+ for (let a = 0; a < t.length; )
28
+ e = l[t.charAt(a++)] << 18 | l[t.charAt(a++)] << 12 | (r = l[t.charAt(a++)]) << 6 | (o = l[t.charAt(a++)]), r === 64 ? n.push(f(e >> 16 & 255)) : o === 64 ? n.push(f(e >> 16 & 255, e >> 8 & 255)) : n.push(f(e >> 16 & 255, e >> 8 & 255, e & 255));
29
+ return n.join("");
30
+ }, w = typeof atob == "function" ? (t) => atob(A(t)) : u ? (t) => Buffer.from(t, "base64").toString("binary") : _, D = u ? (t) => h(Buffer.from(t, "base64")) : (t) => h(w(t).split("").map((e) => e.charCodeAt(0))), T = (t) => D(C(t)), C = (t) => A(t.replace(/[-_]/g, (e) => e == "-" ? "+" : "/")), P = 8e3, x = (t) => t instanceof Error ? t : new Error(String(t)), v = async (t, e) => {
31
+ let r;
32
+ try {
33
+ return await Promise.race([
34
+ t,
35
+ new Promise((o, n) => {
36
+ r = setTimeout(
37
+ () => n(new Error("dSheet IndexedDB operation timed out")),
38
+ e
39
+ );
40
+ })
41
+ ]);
42
+ } finally {
43
+ r && clearTimeout(r);
44
+ }
45
+ }, y = (t, e, r) => ({
46
+ dsheetId: t,
47
+ status: e,
48
+ encodedState: null,
49
+ stateVector: null,
50
+ ...r ? { error: x(r) } : {}
51
+ }), B = (t, e) => {
52
+ const r = c.encodeStateAsUpdate(e);
53
+ return {
54
+ dsheetId: t,
55
+ status: r.length <= 2 ? "empty" : "available",
56
+ encodedState: m(r),
57
+ stateVector: m(c.encodeStateVector(e))
58
+ };
59
+ }, z = (t, e, r) => {
60
+ if (!r)
61
+ return y(
62
+ t,
63
+ "unavailable",
64
+ new Error("dSheet document is not ready")
65
+ );
66
+ let o;
67
+ const n = new c.Doc();
68
+ try {
69
+ o = T(e), c.applyUpdate(n, o);
70
+ } catch (a) {
71
+ return y(t, "corrupt", a);
72
+ } finally {
73
+ n.destroy();
74
+ }
75
+ try {
76
+ return c.applyUpdate(r, o, "dsheet-package-ingress"), B(t, r);
77
+ } catch (a) {
78
+ return y(t, "corrupt", a);
79
+ }
80
+ };
81
+ export {
82
+ P as D,
83
+ m as f,
84
+ z as m,
85
+ B as s,
86
+ T as t,
87
+ y as u,
88
+ v as w
89
+ };
@@ -11,12 +11,6 @@ export type DSheetContentSnapshot = {
11
11
  export type DSheetContentReadOptions = {
12
12
  timeoutMs?: number;
13
13
  };
14
- /**
15
- * Apply a full dSheet artifact without rebuilding its shared types. Keeping the
16
- * original Yjs structs is required for independently bootstrapped peers to
17
- * converge instead of inserting duplicate workbook data.
18
- */
19
- export declare const mergeDsheetEncodedContent: (doc: Y.Doc, encodedState: string, origin?: unknown) => boolean;
20
14
  export declare const withDsheetPersistenceTimeout: <T>(promise: Promise<T>, timeoutMs: number) => Promise<T>;
21
15
  export declare const unavailableDsheetContentSnapshot: (dsheetId: string, status: Exclude<DSheetContentStatus, "available" | "empty">, error?: unknown) => DSheetContentSnapshot;
22
16
  export declare const snapshotDsheetDocument: (dsheetId: string, doc: Y.Doc) => DSheetContentSnapshot;
@@ -1,4 +1,4 @@
1
- import { t as D, f as h, D as b, u as p, w as S, s as w } from "./persistence-utils-BBTuIssZ.js";
1
+ import { t as D, f as h, D as b, u as p, w as S, s as w } from "./persistence-utils-DsM_MOB1.js";
2
2
  import * as u from "yjs";
3
3
  import { clearDocument as v, IndexeddbPersistence as E } from "y-indexeddb";
4
4
  const f = /* @__PURE__ */ new Map(), M = (e) => {
@@ -62,9 +62,13 @@ export declare function buildFiatCurrencyFormat(symbol: string, decimals?: numbe
62
62
  export declare function update(fmt: string, v: any): string;
63
63
  /** Max decimal places for toolbar +/- on General (Auto) without switching to a numeric `fa`. */
64
64
  export declare const MAX_GENERAL_AUTO_DP = 15;
65
+ /** Count decimal places currently shown for a General/Auto numeric cell. */
66
+ export declare function countGeneralDisplayDecimalPlaces(cell: Cell): number;
67
+ /** Effective decimal places for toolbar +/- (explicit `ct.dp` or inferred from display). */
68
+ export declare function getEffectiveGeneralDp(cell: Cell): number;
65
69
  /**
66
70
  * Recompute `m` for numeric cells with `fa === "General"`.
67
- * When `ct.dp` is set (1..MAX), uses fixed decimals like Sheets Auto + decimal buttons.
71
+ * When `ct.dp` is set (0..MAX), uses fixed decimals like Sheets Auto + decimal buttons.
68
72
  * Otherwise uses the usual `genarate` General display.
69
73
  */
70
74
  export declare function refreshGeneralNumericDisplay(cell: Cell): void;
@@ -1,5 +1,3 @@
1
- import { default as React } from 'react';
2
-
3
1
  export declare const TEXT_COLORS: {
4
2
  name: string;
5
3
  value: string;
@@ -7,4 +5,4 @@ export declare const TEXT_COLORS: {
7
5
  export declare const ColorSection: ({ onPick, trigerColor, }: {
8
6
  onPick: (color: string) => void;
9
7
  trigerColor: string;
10
- }) => React.JSX.Element;
8
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -8,5 +8,5 @@ type Item = {
8
8
  declare const DynamicInputList: ({ optionItems, setOptionItems, }: {
9
9
  optionItems: Item[];
10
10
  setOptionItems: React.Dispatch<React.SetStateAction<Item[]>>;
11
- }) => React.JSX.Element;
11
+ }) => import("react/jsx-runtime").JSX.Element;
12
12
  export default DynamicInputList;
@@ -1,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
 
3
2
  interface DuneChartsInputModalProps {
4
3
  isOpen: boolean;
@@ -7,5 +6,5 @@ interface DuneChartsInputModalProps {
7
6
  submitText?: string;
8
7
  placeholder?: string;
9
8
  }
10
- declare const DuneChartsInputModal: ({ isOpen, onClose, onSubmit, submitText, placeholder, }: DuneChartsInputModalProps) => React.JSX.Element | null;
9
+ declare const DuneChartsInputModal: ({ isOpen, onClose, onSubmit, submitText, placeholder, }: DuneChartsInputModalProps) => import("react/jsx-runtime").JSX.Element | null;
11
10
  export default DuneChartsInputModal;
@@ -6,5 +6,5 @@ interface DraggableDivProps {
6
6
  initialTop?: any;
7
7
  dragHasMoved?: any;
8
8
  }
9
- export declare const DraggableDiv: ({ children, className, initialTop, dragHasMoved, }: DraggableDivProps) => React.JSX.Element;
9
+ export declare const DraggableDiv: ({ children, className, initialTop, dragHasMoved, }: DraggableDivProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -1,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
 
3
- declare const FormulaHint: (props: any) => React.JSX.Element | null;
2
+ declare const FormulaHint: (props: any) => import("react/jsx-runtime").JSX.Element | null;
4
3
  export default FormulaHint;
@@ -2,23 +2,23 @@ import { default as React } from 'react';
2
2
  import { LucideIconProps } from './LucideIcon';
3
3
 
4
4
  export declare const LucideIcons: {
5
- File3d: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
6
- FileWord: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
7
- FilePdf: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
8
- FilePpt: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
9
- FileExcel: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
10
- Section: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
11
- XSocial: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
12
- Farcaster: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
13
- Warpcast: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
14
- DSheetTextDisabled: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
15
- AddColLeft: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
16
- AddColRight: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
17
- AddRowBelowLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
18
- AddRowAboveLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
19
- DSheetOnlyText: () => React.JSX.Element;
20
- Orb: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
21
- Lens: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
22
- Hey: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
23
- CloudSaved: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
5
+ File3d: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
6
+ FileWord: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
7
+ FilePdf: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
8
+ FilePpt: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
9
+ FileExcel: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
10
+ Section: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
11
+ XSocial: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
12
+ Farcaster: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
13
+ Warpcast: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
14
+ DSheetTextDisabled: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
15
+ AddColLeft: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
16
+ AddColRight: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
17
+ AddRowBelowLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
18
+ AddRowAboveLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
19
+ DSheetOnlyText: () => import("react/jsx-runtime").JSX.Element;
20
+ Orb: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
21
+ Lens: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
22
+ Hey: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
23
+ CloudSaved: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
24
24
  };
@@ -1,25 +1,25 @@
1
1
  import { default as React } from 'react';
2
2
 
3
3
  export declare const UltimateIcons: {
4
- File3d: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
5
- FileWord: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
6
- FilePdf: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
7
- FilePpt: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
8
- FileExcel: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
9
- Section: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
10
- XSocial: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
11
- Farcaster: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
12
- Warpcast: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
13
- DSheetTextDisabled: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
14
- AddColLeft: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
15
- AddColRight: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
16
- AddRowBelowLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
17
- AddRowAboveLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
18
- DSheetOnlyText: () => React.JSX.Element;
19
- Orb: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
20
- Lens: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
21
- Hey: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
22
- CloudSaved: ({ width, height, ...props }: LucideIconProps) => React.JSX.Element;
4
+ File3d: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
5
+ FileWord: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
6
+ FilePdf: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
7
+ FilePpt: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
8
+ FileExcel: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
9
+ Section: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
10
+ XSocial: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
11
+ Farcaster: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
12
+ Warpcast: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
13
+ DSheetTextDisabled: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
14
+ AddColLeft: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
15
+ AddColRight: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
16
+ AddRowBelowLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
17
+ AddRowAboveLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
18
+ DSheetOnlyText: () => import("react/jsx-runtime").JSX.Element;
19
+ Orb: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
20
+ Lens: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
21
+ Hey: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
22
+ CloudSaved: ({ width, height, ...props }: LucideIconProps) => import("react/jsx-runtime").JSX.Element;
23
23
  };
24
24
  export type ButtonSize = 'sm' | 'md' | 'lg';
25
25
  interface SvgProps extends React.SVGProps<SVGSVGElement> {
@@ -1 +1 @@
1
- export declare const FunctionList: () => import("react").JSX.Element;
1
+ export declare const FunctionList: () => import("react/jsx-runtime").JSX.Element;
@@ -23,5 +23,5 @@ type SubmenuProps = {
23
23
  export type HoverMenuItemProps = CommonProps & ({
24
24
  renderSubmenu?: undefined;
25
25
  } | SubmenuProps);
26
- export declare function HoverMenuItem(props: HoverMenuItemProps): import("react").JSX.Element;
26
+ export declare function HoverMenuItem(props: HoverMenuItemProps): import("react/jsx-runtime").JSX.Element;
27
27
  export {};
@@ -6,12 +6,11 @@ export declare const CurrencySelector: ({ cell, defaultTextFormat, toolTipText,
6
6
  cell: Cell | null | undefined;
7
7
  defaultTextFormat: string;
8
8
  toolTipText: string;
9
- }) => React.JSX.Element;
9
+ }) => import("react/jsx-runtime").JSX.Element;
10
10
  declare const Toolbar: React.FC<{
11
11
  setMoreItems: React.Dispatch<React.SetStateAction<React.ReactNode>>;
12
12
  moreItemsOpen: boolean;
13
13
  onMoreToolbarItemsClose?: () => void;
14
14
  moreToolbarItems?: React.ReactNode;
15
- trailingContent?: React.ReactNode;
16
15
  }>;
17
16
  export default Toolbar;
@@ -12,7 +12,6 @@ type AdditionalProps = {
12
12
  sidebarActivePanel?: string | null;
13
13
  sidebarPortalRegistry?: SidebarPortalRegistryHandle | null;
14
14
  sidebarPortalRenderers?: Record<string, SidebarPortalRenderer>;
15
- toolbarTrailingContent?: React.ReactNode;
16
15
  theme?: ThemeKey;
17
16
  };
18
17
  declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalProps & React.RefAttributes<{