@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.
- package/dist/editor/components/api-key-modal/api-key-input.d.ts +1 -1
- package/dist/editor/components/api-key-modal/api-key-modal.d.ts +1 -3
- package/dist/editor/components/api-key-modal/rate-limit-info.d.ts +1 -1
- package/dist/editor/components/comments/comment-sidebar-empty.d.ts +1 -1
- package/dist/editor/components/editor-workbook.d.ts +1 -5
- package/dist/editor/components/export-menu-section.d.ts +1 -1
- package/dist/editor/components/import-button-ui.d.ts +1 -1
- package/dist/editor/components/permission-chip.d.ts +1 -5
- package/dist/editor/components/read-only-export-button.d.ts +1 -1
- package/dist/editor/components/sidebar/editor-right-sidebar.d.ts +1 -1
- package/dist/editor/components/sidebar/right-sidebar.d.ts +2 -2
- package/dist/editor/components/sidebar/sidebar-context.d.ts +1 -1
- package/dist/editor/components/sidebar/sidebar-portal-registry.d.ts +2 -2
- package/dist/editor/components/sidebars/conditional-format.d.ts +1 -1
- package/dist/editor/components/sidebars/data-verification.d.ts +1 -1
- package/dist/editor/components/sidebars/function/function-categories.d.ts +1 -3
- package/dist/editor/components/sidebars/function/function-metadata.d.ts +1 -1
- package/dist/editor/components/sidebars/function/functionList.d.ts +1 -2
- package/dist/editor/components/sidebars/function-content.d.ts +1 -1
- package/dist/editor/components/sidebars/named-ranges.d.ts +1 -1
- package/dist/editor/components/sidebars/template-ui.d.ts +2 -4
- package/dist/editor/components/sidebars/templates.d.ts +1 -1
- package/dist/editor/components/skeleton-loader.d.ts +4 -4
- package/dist/editor/components/smart-contract/error-toast.d.ts +1 -1
- package/dist/editor/components/smart-contract/smart-contract-list-item.d.ts +1 -2
- package/dist/editor/components/smart-contract/smart-contract-reading-intro.d.ts +1 -1
- package/dist/editor/components/smart-contract.d.ts +1 -1
- package/dist/editor/components/transition-wrapper.d.ts +1 -1
- package/dist/editor/contexts/editor-context.d.ts +2 -11
- package/dist/editor/dsheet-editor.d.ts +2 -3
- package/dist/editor/hooks/use-collab-awareness.d.ts +6 -3
- package/dist/editor/hooks/use-editor-data.d.ts +2 -2
- package/dist/editor/hooks/use-editor-sync.d.ts +2 -6
- package/dist/editor/types.d.ts +3 -29
- package/dist/editor/utils/custom-toolbar-item.d.ts +3 -3
- package/dist/editor/utils/smart-contract/constants.d.ts +1 -7
- package/dist/{executeStringFunction-B6fhDKyN.js → executeStringFunction-CxsiamWG.js} +6421 -6339
- package/dist/formula.js +1 -1
- package/dist/{index-D7psIU8B.js → index-CQUhZB3J.js} +19505 -20459
- package/dist/index.d.ts +1 -3
- package/dist/index.es.js +48 -52
- package/dist/persistence-utils-DsM_MOB1.js +89 -0
- package/dist/persistence-utils.d.ts +0 -6
- package/dist/persistence.js +1 -1
- package/dist/sheet-engine/core/modules/format.d.ts +5 -1
- package/dist/sheet-engine/react/components/DataVerification/ColorPicker.d.ts +1 -3
- package/dist/sheet-engine/react/components/DataVerification/DropdownOption.d.ts +1 -1
- package/dist/sheet-engine/react/components/DuneChartsInputModal/DuneChartsInputModal.d.ts +1 -2
- package/dist/sheet-engine/react/components/SheetOverlay/FormulaHint/dragable-div.d.ts +1 -1
- package/dist/sheet-engine/react/components/SheetOverlay/FormulaHint/index.d.ts +1 -2
- package/dist/sheet-engine/react/components/SheetOverlay/Icon.d.ts +19 -19
- package/dist/sheet-engine/react/components/SheetOverlay/LucideIcon.d.ts +19 -19
- package/dist/sheet-engine/react/components/Toolbar/FunctionList/FunctionListButton.d.ts +1 -1
- package/dist/sheet-engine/react/components/Toolbar/FunctionList/HoverMenuItem.d.ts +1 -1
- package/dist/sheet-engine/react/components/Toolbar/index.d.ts +1 -2
- package/dist/sheet-engine/react/components/Workbook/index.d.ts +0 -1
- package/dist/style.css +1 -1
- package/dist/sync-local/SyncManager.d.ts +9 -54
- package/dist/sync-local/index.d.ts +1 -1
- package/dist/sync-local/socketClient.d.ts +8 -74
- package/dist/sync-local/types/index.d.ts +15 -111
- package/dist/sync-local/useSyncManager.d.ts +0 -4
- package/dist/sync-local/utils/objectToFile.d.ts +1 -0
- package/dist/{use-xlsx-import-impl-B73ILpg3.js → use-xlsx-import-impl-DNTnmzDN.js} +53 -53
- package/dist/{xlsx-defined-names-Bl8Y-KEV.js → xlsx-defined-names-BHxDk83p.js} +2 -2
- package/dist/{xlsx-export-impl-FuZcrQ2a.js → xlsx-export-impl-r3bDoVjv.js} +4 -4
- package/dist/{xlsx-hyperlink-inline-Cdizm_s4.js → xlsx-hyperlink-inline-B5IR_SOR.js} +2 -2
- package/package.json +2 -2
- package/dist/editor/components/editor-workbook-controls.d.ts +0 -11
- package/dist/editor/components/editor-workbook-controls.test.d.ts +0 -1
- package/dist/editor/components/permission-chip-model.d.ts +0 -34
- package/dist/editor/components/permission-chip.test.d.ts +0 -1
- package/dist/editor/hooks/collaboration-lifecycle.d.ts +0 -35
- package/dist/editor/hooks/collaboration-lifecycle.test.d.ts +0 -1
- package/dist/editor/utils/detach-workbook-data.d.ts +0 -8
- package/dist/editor/utils/detach-workbook-data.test.d.ts +0 -1
- package/dist/editor/utils/editor-handle.d.ts +0 -11
- package/dist/editor/utils/editor-handle.test.d.ts +0 -1
- package/dist/persistence-utils-BBTuIssZ.js +0 -97
- package/dist/persistence-utils.test.d.ts +0 -1
- package/dist/sync-local/crypto/room-key.d.ts +0 -2
- package/dist/sync-local/crypto/room-key.test.d.ts +0 -1
- package/dist/sync-local/floor.d.ts +0 -8
- package/dist/sync-local/floor.test.d.ts +0 -1
- package/dist/sync-local/presence.d.ts +0 -11
- package/dist/sync-local/presence.test.d.ts +0 -1
- package/dist/sync-local/session-tools.d.ts +0 -31
- 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
|
|
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
|
|
2
|
-
import { cw as
|
|
3
|
-
import { FLVURL as
|
|
4
|
-
import { E as
|
|
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
|
-
|
|
8
|
-
|
|
7
|
+
t as CommentCellUI,
|
|
8
|
+
o as CommentsContent,
|
|
9
9
|
r as DSheetEditor,
|
|
10
10
|
l as DSheetSkeleton,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
se as ERROR_MESSAGES_FLAG,
|
|
12
|
+
ee as FLVURL,
|
|
13
13
|
d as FortuneCore,
|
|
14
|
-
|
|
14
|
+
te as SERVICES_API_KEY,
|
|
15
15
|
n as SupportedChain,
|
|
16
16
|
i as TEMPLATES,
|
|
17
17
|
S as api,
|
|
18
|
-
|
|
18
|
+
k as clearColumnsCellsFormat,
|
|
19
19
|
c as clearFilter,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
V as clearRowsCellsFormat,
|
|
21
|
+
y as clearSelectedCellFormat,
|
|
22
22
|
h as createFilter,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
g as
|
|
36
|
-
x as
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
O as
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
w as
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
D as
|
|
58
|
-
|
|
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;
|
package/dist/persistence.js
CHANGED
|
@@ -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-
|
|
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 (
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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) =>
|
|
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) =>
|
|
9
|
+
export declare const DraggableDiv: ({ children, className, initialTop, dragHasMoved, }: DraggableDivProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -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) =>
|
|
6
|
-
FileWord: ({ width, height, ...props }: LucideIconProps) =>
|
|
7
|
-
FilePdf: ({ width, height, ...props }: LucideIconProps) =>
|
|
8
|
-
FilePpt: ({ width, height, ...props }: LucideIconProps) =>
|
|
9
|
-
FileExcel: ({ width, height, ...props }: LucideIconProps) =>
|
|
10
|
-
Section: ({ width, height, ...props }: LucideIconProps) =>
|
|
11
|
-
XSocial: ({ width, height, ...props }: LucideIconProps) =>
|
|
12
|
-
Farcaster: ({ width, height, ...props }: LucideIconProps) =>
|
|
13
|
-
Warpcast: ({ width, height, ...props }: LucideIconProps) =>
|
|
14
|
-
DSheetTextDisabled: ({ width, height, ...props }: LucideIconProps) =>
|
|
15
|
-
AddColLeft: ({ className, ...props }: React.SVGProps<SVGSVGElement>) =>
|
|
16
|
-
AddColRight: ({ className, ...props }: React.SVGProps<SVGSVGElement>) =>
|
|
17
|
-
AddRowBelowLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) =>
|
|
18
|
-
AddRowAboveLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) =>
|
|
19
|
-
DSheetOnlyText: () =>
|
|
20
|
-
Orb: ({ width, height, ...props }: LucideIconProps) =>
|
|
21
|
-
Lens: ({ width, height, ...props }: LucideIconProps) =>
|
|
22
|
-
Hey: ({ width, height, ...props }: LucideIconProps) =>
|
|
23
|
-
CloudSaved: ({ width, height, ...props }: LucideIconProps) =>
|
|
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) =>
|
|
5
|
-
FileWord: ({ width, height, ...props }: LucideIconProps) =>
|
|
6
|
-
FilePdf: ({ width, height, ...props }: LucideIconProps) =>
|
|
7
|
-
FilePpt: ({ width, height, ...props }: LucideIconProps) =>
|
|
8
|
-
FileExcel: ({ width, height, ...props }: LucideIconProps) =>
|
|
9
|
-
Section: ({ width, height, ...props }: LucideIconProps) =>
|
|
10
|
-
XSocial: ({ width, height, ...props }: LucideIconProps) =>
|
|
11
|
-
Farcaster: ({ width, height, ...props }: LucideIconProps) =>
|
|
12
|
-
Warpcast: ({ width, height, ...props }: LucideIconProps) =>
|
|
13
|
-
DSheetTextDisabled: ({ width, height, ...props }: LucideIconProps) =>
|
|
14
|
-
AddColLeft: ({ className, ...props }: React.SVGProps<SVGSVGElement>) =>
|
|
15
|
-
AddColRight: ({ className, ...props }: React.SVGProps<SVGSVGElement>) =>
|
|
16
|
-
AddRowBelowLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) =>
|
|
17
|
-
AddRowAboveLocal: ({ className, ...props }: React.SVGProps<SVGSVGElement>) =>
|
|
18
|
-
DSheetOnlyText: () =>
|
|
19
|
-
Orb: ({ width, height, ...props }: LucideIconProps) =>
|
|
20
|
-
Lens: ({ width, height, ...props }: LucideIconProps) =>
|
|
21
|
-
Hey: ({ width, height, ...props }: LucideIconProps) =>
|
|
22
|
-
CloudSaved: ({ width, height, ...props }: LucideIconProps) =>
|
|
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
|
-
}) =>
|
|
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<{
|