@fileverse-dev/dsheet 2.1.5 → 3.0.1-formula-1
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/{constants-yStXQJiK.js → constants-Cdz6oSCq.js} +5 -7
- package/dist/constants.js +1 -1
- package/dist/editor/components/api-key-modal/api-key-input.d.ts +5 -0
- package/dist/editor/components/api-key-modal/api-key-modal.d.ts +7 -0
- package/dist/editor/components/api-key-modal/rate-limit-info.d.ts +4 -0
- package/dist/editor/components/comments/comment-actions-dropdown.d.ts +19 -0
- package/dist/editor/components/comments/comment-cell-popup.d.ts +4 -0
- package/dist/editor/components/comments/comment-input.d.ts +4 -0
- package/dist/editor/components/comments/comment-item.d.ts +4 -0
- package/dist/editor/components/comments/comment-sidebar-empty.d.ts +4 -0
- package/dist/editor/components/comments/comment-sidebar.d.ts +4 -0
- package/dist/editor/components/comments/ens/ens-cache.d.ts +10 -0
- package/dist/editor/components/comments/ens/use-ens-status.d.ts +10 -0
- package/dist/editor/components/comments/use-comment-cell-popup.d.ts +12 -0
- package/dist/editor/components/comments/use-comment-permissions.d.ts +15 -0
- package/dist/editor/components/editor-workbook-sync.d.ts +1 -1
- package/dist/editor/components/editor-workbook.d.ts +11 -17
- package/dist/editor/components/sidebar/editor-right-sidebar.d.ts +20 -0
- package/dist/editor/components/sidebar/right-sidebar.d.ts +14 -0
- package/dist/editor/components/sidebar/sidebar-context.d.ts +17 -0
- package/dist/editor/components/sidebar/sidebar-portal-registry.d.ts +20 -0
- package/dist/editor/components/sidebar/use-right-panels.d.ts +12 -0
- package/dist/editor/components/sidebars/conditional-format.d.ts +2 -0
- package/dist/editor/components/sidebars/data-verification.d.ts +2 -0
- package/dist/editor/components/sidebars/function/function-categories-logic.d.ts +11 -0
- package/dist/editor/components/sidebars/function/function-categories.d.ts +6 -0
- package/dist/editor/components/sidebars/function/function-metadata.d.ts +7 -0
- package/dist/editor/components/sidebars/function/functionList.d.ts +8 -0
- package/dist/editor/components/sidebars/function/types.d.ts +24 -0
- package/dist/editor/components/sidebars/function/use-functions.d.ts +20 -0
- package/dist/editor/components/sidebars/function-content.d.ts +8 -0
- package/dist/editor/components/sidebars/named-ranges.d.ts +2 -0
- package/dist/editor/components/sidebars/template-ui.d.ts +22 -0
- package/dist/editor/components/sidebars/templates.d.ts +9 -0
- package/dist/editor/components/smart-contract/error-toast.d.ts +11 -0
- package/dist/editor/components/smart-contract/modal/abi-input-section.d.ts +11 -0
- package/dist/editor/components/smart-contract/modal/contract-name-section.d.ts +13 -0
- package/dist/editor/components/smart-contract/modal/file-upload-section.d.ts +12 -0
- package/dist/editor/components/smart-contract/modal/import-section.d.ts +8 -0
- package/dist/editor/components/smart-contract/modal/modal-header.d.ts +17 -0
- package/dist/editor/components/smart-contract/smart-contract-list-item.d.ts +8 -0
- package/dist/editor/components/smart-contract/smart-contract-modal-ui.d.ts +33 -0
- package/dist/editor/components/smart-contract/smart-contract-modal.d.ts +12 -0
- package/dist/editor/components/smart-contract/smart-contract-reading-intro.d.ts +4 -0
- package/dist/editor/components/smart-contract/smart-contract-view-list.d.ts +6 -0
- package/dist/editor/components/smart-contract/use-address-validation.d.ts +5 -0
- package/dist/editor/components/smart-contract/use-modal-outside-click.d.ts +18 -0
- package/dist/editor/components/smart-contract/use-smart-contract-modal.d.ts +38 -0
- package/dist/editor/constants/shared-constants.d.ts +0 -2
- package/dist/editor/contexts/editor-context.d.ts +20 -5
- package/dist/editor/dsheet-editor.d.ts +1 -1
- package/dist/editor/hooks/live-query/use-live-query.d.ts +4 -2
- package/dist/editor/hooks/use-celldata-compaction.d.ts +23 -0
- package/dist/editor/hooks/use-editor-data.d.ts +4 -2
- package/dist/editor/hooks/use-smart-contract.d.ts +26 -0
- package/dist/editor/hooks/use-xlsx-import-impl.d.ts +8 -1
- package/dist/editor/hooks/use-xlsx-import.d.ts +2 -1
- package/dist/editor/types/comments.d.ts +134 -0
- package/dist/editor/types/smart-contract.d.ts +88 -0
- package/dist/editor/types.d.ts +39 -32
- package/dist/editor/utils/after-update-cell.d.ts +13 -8
- package/dist/editor/utils/api-key-storage.d.ts +6 -0
- package/dist/editor/utils/api-keys-local-storage.d.ts +19 -0
- package/dist/editor/utils/cell-comment-marker.d.ts +30 -0
- package/dist/editor/utils/comment-key-utils.d.ts +7 -0
- package/dist/editor/utils/compact-committed-celldata.d.ts +28 -0
- package/dist/editor/utils/config-ydoc-update.d.ts +20 -0
- package/dist/editor/utils/csv-import.d.ts +3 -1
- package/dist/editor/utils/data-block-error-handler.d.ts +21 -0
- package/dist/editor/utils/datablock-error-utils.d.ts +1 -0
- package/dist/editor/utils/defined-names-ydoc.d.ts +31 -0
- package/dist/editor/utils/sheet-editor-safe.d.ts +26 -0
- package/dist/editor/utils/smart-contract/constants.d.ts +488 -0
- package/dist/editor/utils/smart-contract/error-helper.d.ts +20 -0
- package/dist/editor/utils/smart-contract/helpers.d.ts +4 -0
- package/dist/editor/utils/smart-contract/reading-utils.d.ts +34 -0
- package/dist/editor/utils/smart-contract/signature-utils.d.ts +9 -0
- package/dist/editor/utils/spreadsheet-import.d.ts +12 -0
- package/dist/editor/utils/update-ydoc.d.ts +2 -2
- package/dist/editor/utils/xlsx-defined-names.d.ts +41 -0
- package/dist/executeStringFunction-DMPoSj5F.js +32826 -0
- package/dist/formula.js +1 -1
- package/dist/index-DAVuAF9T.js +55303 -0
- package/dist/index.d.ts +11 -1
- package/dist/index.es.js +55 -49
- package/dist/jszip.min-CEyB-71x.js +2319 -0
- package/dist/sheet-engine/core/api/cell.d.ts +0 -20
- package/dist/sheet-engine/core/api/common.d.ts +2 -1
- package/dist/sheet-engine/core/api/index.d.ts +1 -0
- package/dist/sheet-engine/core/api/sheet-flowdata-lifecycle.d.ts +17 -0
- package/dist/sheet-engine/core/api/sheet.d.ts +5 -0
- package/dist/sheet-engine/core/context.d.ts +8 -1
- package/dist/sheet-engine/core/index.d.ts +2 -2
- package/dist/sheet-engine/core/modules/formula-async-eval.d.ts +53 -0
- package/dist/sheet-engine/core/modules/formula-eval.worker.d.ts +1 -0
- package/dist/sheet-engine/core/modules/formula-range-cache.d.ts +20 -0
- package/dist/sheet-engine/core/modules/formula-snapshot-eval.d.ts +51 -0
- package/dist/sheet-engine/core/modules/formula-transitive-deps.d.ts +7 -0
- package/dist/sheet-engine/core/modules/formula-worker-bridge.d.ts +17 -0
- package/dist/sheet-engine/core/modules/formula-worker-types.d.ts +24 -0
- package/dist/sheet-engine/core/modules/formula.d.ts +53 -1
- package/dist/sheet-engine/core/modules/index.d.ts +5 -2
- package/dist/sheet-engine/core/modules/namedRanges.d.ts +53 -0
- package/dist/sheet-engine/core/modules/sheet-metadata-hooks.d.ts +4 -0
- package/dist/sheet-engine/core/modules/sheet.d.ts +17 -1
- package/dist/sheet-engine/core/paste/paste-border-utils.d.ts +23 -0
- package/dist/sheet-engine/core/settings.d.ts +3 -1
- package/dist/sheet-engine/core/theme.d.ts +67 -0
- package/dist/sheet-engine/core/types.d.ts +20 -0
- package/dist/sheet-engine/core/utils/border-config-utils.d.ts +16 -0
- package/dist/sheet-engine/core/utils/cell-persist-utils.d.ts +10 -0
- package/dist/sheet-engine/core/utils/range-format.d.ts +71 -0
- package/dist/sheet-engine/core/utils/ydoc-celldata-changes.d.ts +40 -0
- package/dist/sheet-engine/react/components/NamedRanges/index.d.ts +4 -0
- package/dist/sheet-engine/react/components/SheetOverlay/Icon.d.ts +5 -4
- package/dist/sheet-engine/react/components/SheetOverlay/LucideIcon.d.ts +4 -4
- package/dist/sheet-engine/react/components/SidebarPanelPortals/index.d.ts +17 -0
- package/dist/sheet-engine/react/components/Workbook/api.d.ts +8 -1
- package/dist/sheet-engine/react/components/Workbook/index.d.ts +11 -1
- package/dist/sheet-engine/react/components/index.d.ts +1 -0
- package/dist/sheet-engine/react/utils/datepickerStyles.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/use-xlsx-import-impl-DzthrhwA.js +1595 -0
- package/dist/xlsx-defined-names-D2KoICbm.js +117 -0
- package/dist/xlsx-export-impl-b2z4De4f.js +818 -0
- package/package.json +6 -4
- package/dist/executeStringFunction-BkmJj04p.js +0 -27295
- package/dist/index-Drl8OuI3.js +0 -52659
- package/dist/sheet-engine/react/components/Toolbar/conditionalFormatPortal.d.ts +0 -7
- package/dist/sheet-engine/react/components/Toolbar/dataVerificationPortal.d.ts +0 -6
- package/dist/use-xlsx-import-impl-DC_BfAcT.js +0 -1527
- package/dist/xlsx-export-impl-DP_eK3zS.js +0 -3126
package/dist/index.d.ts
CHANGED
|
@@ -4,12 +4,22 @@ 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 } from './editor/types';
|
|
7
|
+
export type { ErrorMessageHandlerReturnType, DataBlockEvent, DataBlockEventType, ApiKeyStorage } from './editor/types';
|
|
8
|
+
export type { PanelConfig, PanelId, BuiltInPanelType } from './editor/types';
|
|
9
|
+
export type { CommentThread, CommentReply, CommentActionParams, CommentsConfig, } from './editor/types/comments';
|
|
10
|
+
export { CommentAction } from './editor/types/comments';
|
|
11
|
+
export { CommentsContent } from './editor/components/comments/comment-sidebar';
|
|
12
|
+
export { CommentCellUI } from './editor/components/comments/comment-cell-popup';
|
|
13
|
+
export { useEnsStatus } from './editor/components/comments/ens/use-ens-status';
|
|
14
|
+
export type { EnsStatus } from './editor/components/comments/ens/ens-cache';
|
|
15
|
+
export type { SmartContractConfig, SmartContractEvent, SmartContractEventType, ContractConfig, ContractRegistry, NewContractInput, } from './editor/types/smart-contract';
|
|
16
|
+
export { SupportedChain } from './editor/types/smart-contract';
|
|
8
17
|
export type { WorkbookInstance } from './sheet-engine/react';
|
|
9
18
|
export type { CollaborationProps, CollabConnectionConfig, CollabSessionMeta, CollabServices, CollabCallbacks, CollabState, CollabStatus, CollabError, CollabErrorCode, CollabUser, } from './sync-local/types';
|
|
10
19
|
export { ERROR_MESSAGES_FLAG, SERVICES_API_KEY, } from './editor/constants/shared-constants';
|
|
11
20
|
export { TEMPLATES } from '@fileverse-dev/dsheets-templates/template-metadata-list';
|
|
12
21
|
export { handleCSVUpload } from './editor/utils/csv-import';
|
|
22
|
+
export { importSpreadsheetFile, type ImportSpreadsheetFileOptions, type ImportSpreadsheetFileResult, type SpreadsheetImportFileType, } from './editor/utils/spreadsheet-import';
|
|
13
23
|
export { handleExportToXLSX } from './editor/utils/xlsx-export';
|
|
14
24
|
export { handleExportToCSV } from './editor/utils/csv-export';
|
|
15
25
|
export { handleExportToJSON } from './editor/utils/json-export';
|
package/dist/index.es.js
CHANGED
|
@@ -1,53 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { FLVURL as
|
|
4
|
-
import { E as
|
|
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 S, g as c, 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 v, z as w, A as I, B as T, D, E as M } from "./index-DAVuAF9T.js";
|
|
2
|
+
import { cn as k, co as V, cp as z, cv as P, bi as U, e as X, f as _, l as y, a as B, d7 as O, d8 as j, b1 as G, d9 as H, da as q, de as J, df as K, dh as N, D as W, dx as Y, e4 as Z, aW as Q } from "./executeStringFunction-DMPoSj5F.js";
|
|
3
|
+
import { FLVURL as ee } from "@fileverse-dev/formulajs";
|
|
4
|
+
import { E as se, S as te } from "./constants-Cdz6oSCq.js";
|
|
5
5
|
export {
|
|
6
|
-
s as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
n as
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
U as
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
E as
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
x as
|
|
6
|
+
s as CommentAction,
|
|
7
|
+
t as CommentCellUI,
|
|
8
|
+
o as CommentsContent,
|
|
9
|
+
l as DSheetEditor,
|
|
10
|
+
r as DSheetSkeleton,
|
|
11
|
+
se as ERROR_MESSAGES_FLAG,
|
|
12
|
+
ee as FLVURL,
|
|
13
|
+
d as FortuneCore,
|
|
14
|
+
te as SERVICES_API_KEY,
|
|
15
|
+
n as SupportedChain,
|
|
16
|
+
i as TEMPLATES,
|
|
17
|
+
S as api,
|
|
18
|
+
k as clearColumnsCellsFormat,
|
|
19
|
+
c as clearFilter,
|
|
20
|
+
V as clearRowsCellsFormat,
|
|
21
|
+
z as clearSelectedCellFormat,
|
|
22
|
+
h as createFilter,
|
|
23
|
+
P as deleteRowCol,
|
|
24
|
+
U as deleteSelectedCellText,
|
|
25
|
+
m as describeMatchedShortcut,
|
|
26
|
+
X as executeStringFunction,
|
|
27
|
+
_ as formulaResponseUiSync,
|
|
28
|
+
y as getFlowdata,
|
|
29
|
+
p as getRemoveDuplicatesErrorMessage,
|
|
30
|
+
C as getRemoveDuplicatesPreview,
|
|
31
|
+
B as getSheetIndex,
|
|
32
|
+
u as handleCSVUpload,
|
|
33
|
+
E as handleCopy,
|
|
34
|
+
F as handleExportToCSV,
|
|
35
|
+
g as handleExportToJSON,
|
|
36
|
+
x as handleExportToXLSX,
|
|
37
|
+
O as handleFreeze,
|
|
38
|
+
j as handleHorizontalAlign,
|
|
39
|
+
G as handleLink,
|
|
40
|
+
H as handleMerge,
|
|
37
41
|
R as handlePasteByClick,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
A as
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
q as handleSort,
|
|
43
|
+
J as handleTextSize,
|
|
44
|
+
K as handleVerticalAlign,
|
|
45
|
+
f as importSpreadsheetFile,
|
|
46
|
+
N as insertRowCol,
|
|
47
|
+
A as isBrowserZoomShortcut,
|
|
48
|
+
L as isFormulaListShortcut,
|
|
49
|
+
v as isOpenShortcutsModalShortcut,
|
|
50
|
+
W as jfrefreshgrid,
|
|
51
|
+
Y as loadLocale,
|
|
52
|
+
w as removeActiveImage,
|
|
48
53
|
I as removeDuplicates,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
T as showImgChooser,
|
|
55
|
+
Z as toolbarItemClickHandler,
|
|
56
|
+
Q as updateFormat,
|
|
57
|
+
D as useEnsStatus,
|
|
58
|
+
M as useXLSXImport
|
|
53
59
|
};
|