@fileverse-dev/dsheet 2.1.3-package-cleanup-2 → 2.1.3-rtc-debug-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.
Files changed (74) hide show
  1. package/dist/editor/components/editor-workbook.d.ts +14 -11
  2. package/dist/editor/contexts/editor-context.d.ts +4 -16
  3. package/dist/editor/dsheet-editor.d.ts +1 -1
  4. package/dist/editor/hooks/live-query/use-live-query.d.ts +2 -4
  5. package/dist/editor/hooks/use-editor-data.d.ts +2 -4
  6. package/dist/editor/types.d.ts +29 -36
  7. package/dist/editor/utils/after-update-cell.d.ts +8 -13
  8. package/dist/{executeStringFunction-CIx20yEd.js → executeStringFunction-BkmJj04p.js} +4364 -4742
  9. package/dist/formula.js +1 -1
  10. package/dist/index-DbuVGe3U.js +52666 -0
  11. package/dist/index.d.ts +1 -8
  12. package/dist/index.es.js +50 -54
  13. package/dist/sheet-engine/core/context.d.ts +0 -5
  14. package/dist/sheet-engine/core/index.d.ts +1 -1
  15. package/dist/sheet-engine/core/modules/formula.d.ts +1 -26
  16. package/dist/sheet-engine/core/modules/index.d.ts +1 -3
  17. package/dist/sheet-engine/react/components/SheetOverlay/Icon.d.ts +4 -5
  18. package/dist/sheet-engine/react/components/SheetOverlay/LucideIcon.d.ts +4 -4
  19. package/dist/sheet-engine/react/components/Toolbar/conditionalFormatPortal.d.ts +7 -0
  20. package/dist/sheet-engine/react/components/Toolbar/dataVerificationPortal.d.ts +6 -0
  21. package/dist/sheet-engine/react/components/Workbook/index.d.ts +0 -6
  22. package/dist/sheet-engine/react/components/index.d.ts +0 -1
  23. package/dist/sheet-engine/react/utils/datepickerStyles.d.ts +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{use-xlsx-import-impl-Ce2uNFrO.js → use-xlsx-import-impl-BYpFEhWN.js} +2 -2
  26. package/dist/{xlsx-export-impl-DxzFr-zj.js → xlsx-export-impl-DWDG-U2Y.js} +2 -2
  27. package/package.json +2 -3
  28. package/dist/editor/components/api-key-modal/api-key-input.d.ts +0 -5
  29. package/dist/editor/components/api-key-modal/api-key-modal.d.ts +0 -7
  30. package/dist/editor/components/api-key-modal/rate-limit-info.d.ts +0 -4
  31. package/dist/editor/components/comments/comment-actions-dropdown.d.ts +0 -19
  32. package/dist/editor/components/comments/comment-cell-popup.d.ts +0 -4
  33. package/dist/editor/components/comments/comment-input.d.ts +0 -4
  34. package/dist/editor/components/comments/comment-item.d.ts +0 -4
  35. package/dist/editor/components/comments/comment-sidebar-empty.d.ts +0 -4
  36. package/dist/editor/components/comments/comment-sidebar.d.ts +0 -4
  37. package/dist/editor/components/comments/ens/ens-cache.d.ts +0 -10
  38. package/dist/editor/components/comments/ens/use-ens-status.d.ts +0 -10
  39. package/dist/editor/components/comments/use-comment-cell-popup.d.ts +0 -12
  40. package/dist/editor/components/comments/use-comment-permissions.d.ts +0 -15
  41. package/dist/editor/components/sidebar/editor-right-sidebar.d.ts +0 -20
  42. package/dist/editor/components/sidebar/right-sidebar.d.ts +0 -14
  43. package/dist/editor/components/sidebar/sidebar-context.d.ts +0 -17
  44. package/dist/editor/components/sidebar/sidebar-portal-registry.d.ts +0 -20
  45. package/dist/editor/components/sidebar/use-right-panels.d.ts +0 -12
  46. package/dist/editor/components/sidebars/conditional-format.d.ts +0 -2
  47. package/dist/editor/components/sidebars/data-verification.d.ts +0 -2
  48. package/dist/editor/components/sidebars/function/function-categories-logic.d.ts +0 -11
  49. package/dist/editor/components/sidebars/function/function-categories.d.ts +0 -6
  50. package/dist/editor/components/sidebars/function/function-metadata.d.ts +0 -7
  51. package/dist/editor/components/sidebars/function/functionList.d.ts +0 -8
  52. package/dist/editor/components/sidebars/function/types.d.ts +0 -24
  53. package/dist/editor/components/sidebars/function/use-functions.d.ts +0 -20
  54. package/dist/editor/components/sidebars/function-content.d.ts +0 -8
  55. package/dist/editor/components/sidebars/template-ui.d.ts +0 -22
  56. package/dist/editor/components/sidebars/templates.d.ts +0 -9
  57. package/dist/editor/types/comments.d.ts +0 -133
  58. package/dist/editor/utils/api-key-storage.d.ts +0 -6
  59. package/dist/editor/utils/api-keys-local-storage.d.ts +0 -19
  60. package/dist/editor/utils/cell-comment-marker.d.ts +0 -29
  61. package/dist/editor/utils/comment-key-utils.d.ts +0 -7
  62. package/dist/editor/utils/data-block-error-handler.d.ts +0 -21
  63. package/dist/editor/utils/datablock-error-utils.d.ts +0 -1
  64. package/dist/editor/utils/sheet-editor-safe.d.ts +0 -26
  65. package/dist/index-B1GgIaLD.js +0 -55500
  66. package/dist/sheet-engine/core/modules/formula-async-eval.d.ts +0 -53
  67. package/dist/sheet-engine/core/modules/formula-eval.worker.d.ts +0 -1
  68. package/dist/sheet-engine/core/modules/formula-range-cache.d.ts +0 -20
  69. package/dist/sheet-engine/core/modules/formula-snapshot-eval.d.ts +0 -40
  70. package/dist/sheet-engine/core/modules/formula-transitive-deps.d.ts +0 -7
  71. package/dist/sheet-engine/core/modules/formula-worker-bridge.d.ts +0 -16
  72. package/dist/sheet-engine/core/modules/formula-worker-types.d.ts +0 -24
  73. package/dist/sheet-engine/core/theme.d.ts +0 -67
  74. package/dist/sheet-engine/react/components/SidebarPanelPortals/index.d.ts +0 -17
@@ -1,11 +1,10 @@
1
- import { default as React } from 'react';
2
- import { SidebarPortalRegistryHandle, SidebarPortalRenderer } from '../../sheet-engine/react';
3
- import { ThemeKey } from '../../sheet-engine/core/theme';
1
+ import { default as React, ComponentProps } from 'react';
2
+ import { Workbook } from '../../sheet-engine/react';
4
3
  import { SmartContractQueryHandler } from '../utils/after-update-cell';
5
- import { OnboardingHandlerType } from '../types';
6
- import { CommentsConfig } from '../types/comments';
4
+ import { OnboardingHandlerType, DataBlockApiKeyHandlerType } from '../types';
7
5
 
8
6
  type OnboardingHandler = OnboardingHandlerType;
7
+ type DataBlockApiKeyHandler = DataBlockApiKeyHandlerType;
9
8
  interface EditorWorkbookProps {
10
9
  setShowSmartContractModal?: React.Dispatch<React.SetStateAction<boolean>>;
11
10
  setShowFetchURLModal?: React.Dispatch<React.SetStateAction<boolean>>;
@@ -13,21 +12,25 @@ interface EditorWorkbookProps {
13
12
  setInputFetchURLDataBlock?: React.Dispatch<React.SetStateAction<string>>;
14
13
  isReadOnly?: boolean;
15
14
  allowSheetDownload?: boolean;
15
+ allowComments?: boolean;
16
16
  toggleTemplateSidebar?: () => void;
17
17
  onboardingComplete?: boolean;
18
18
  onboardingCompleteLocalStorageKey?: string;
19
19
  onboardingHandler?: OnboardingHandler;
20
+ dataBlockApiKeyHandler?: DataBlockApiKeyHandler;
20
21
  exportDropdownOpen?: boolean;
21
- commentsConfig?: CommentsConfig;
22
+ commentData?: Object;
23
+ getCommentCellUI?: ComponentProps<typeof Workbook>['getCommentCellUI'];
22
24
  setExportDropdownOpen?: React.Dispatch<React.SetStateAction<boolean>>;
23
25
  dsheetId: string;
26
+ storeApiKey?: (apiKeyName: string) => void;
27
+ onDataBlockApiResponse?: (dataBlockName: string) => void;
24
28
  onDuneChartEmbed?: () => void;
25
29
  onSheetCountChange?: (sheetCount: number) => void;
26
30
  handleSmartContractQuery?: SmartContractQueryHandler;
27
- sidebarActivePanel?: string | null;
28
- sidebarPortalRegistry?: SidebarPortalRegistryHandle | null;
29
- sidebarPortalRenderers?: Record<string, SidebarPortalRenderer>;
30
- theme?: ThemeKey;
31
31
  }
32
- export declare const EditorWorkbook: React.NamedExoticComponent<EditorWorkbookProps>;
32
+ /**
33
+ * EditorWorkbook component handles rendering the Fortune Workbook with proper configuration
34
+ */
35
+ export declare const EditorWorkbook: React.FC<EditorWorkbookProps>;
33
36
  export {};
@@ -1,10 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { LiveQueryData, Sheet, WorkbookInstance } from '../../sheet-engine/react';
3
3
  import { IndexeddbPersistence } from 'y-indexeddb';
4
- import { SheetUpdateData, DataBlockEvent } from '../types';
5
- import { CommentsConfig } from '../types/comments';
6
- import { ApiKeyStorage } from '../utils/api-key-storage';
7
- import { OpenApiKeyModalFn } from '../utils/data-block-error-handler';
4
+ import { DataBlockApiKeyHandlerType, SheetUpdateData } from '../types';
8
5
  import { CollaborationProps, CollabState, CollabUser } from '../../sync-local/types';
9
6
  import { Awareness } from 'y-protocols/awareness';
10
7
 
@@ -51,17 +48,9 @@ export interface EditorContextType {
51
48
  terminateSession?: () => void;
52
49
  onCollaboratorsChange?: (collaborators: CollabUser[]) => void;
53
50
  handleLiveQuery: (subsheetIndex: number, data: LiveQueryData) => void;
54
- apiKeyStorage: ApiKeyStorage;
55
- onDataBlockEvent?: (event: DataBlockEvent) => void;
56
- openApiKeyModal: OpenApiKeyModalFn;
57
- apiKeyModalState: {
58
- open: boolean;
59
- apiKeyName: string;
60
- onSave: (key: string) => void;
61
- onClose: () => void;
62
- } | null;
63
51
  }
64
52
  interface EditorProviderProps {
53
+ allowComments?: boolean;
65
54
  setSelectedTemplate?: React.Dispatch<React.SetStateAction<string>>;
66
55
  setShowSmartContractModal?: React.Dispatch<React.SetStateAction<boolean>>;
67
56
  getDocumentTitle?: (dsheetId: string) => Promise<string>;
@@ -76,7 +65,7 @@ interface EditorProviderProps {
76
65
  onChange?: (data: SheetUpdateData, encodedUpdate?: string) => void;
77
66
  collaboration?: CollaborationProps;
78
67
  externalEditorRef?: React.MutableRefObject<WorkbookInstance | null>;
79
- commentsConfig?: CommentsConfig;
68
+ commentData?: object;
80
69
  editorStateRef?: React.MutableRefObject<{
81
70
  refreshIndexedDB: () => Promise<void>;
82
71
  terminateSession?: () => void;
@@ -85,8 +74,7 @@ interface EditorProviderProps {
85
74
  } | null>;
86
75
  enableLiveQuery?: boolean;
87
76
  liveQueryRefreshRate?: number;
88
- apiKeyStorage?: ApiKeyStorage;
89
- onDataBlockEvent?: (event: DataBlockEvent) => void;
77
+ dataBlockApiKeyHandler?: DataBlockApiKeyHandlerType;
90
78
  }
91
79
  export declare const EditorProvider: React.FC<EditorProviderProps>;
92
80
  export declare const useEditor: () => EditorContextType;
@@ -7,5 +7,5 @@ import { DsheetProps } from './types';
7
7
  * @param props - Component properties
8
8
  * @returns The SpreadsheetEditor component
9
9
  */
10
- declare const SpreadsheetEditor: ({ isReadOnly, allowSheetDownload, renderNavbar, enableIndexeddbSync, dsheetId, portalContent, onChange, username, selectedTemplate, toggleTemplateSidebar, isTemplateOpen, onboardingComplete, onboardingCompleteLocalStorageKey, onboardingHandler, commentsConfig, setFetchingURLData, setShowFetchURLModal, setInputFetchURLDataBlock, sheetEditorRef: externalSheetEditorRef, onDuneChartEmbed, onSheetCountChange, isAuthorized, getDocumentTitle, updateDocumentTitle, setShowSmartContractModal, editorStateRef, handleSmartContractQuery, setSelectedTemplate, isNewSheet, liveQueryRefreshRate, enableLiveQuery, collaboration, customPanels, apiKeyStorage, onDataBlockEvent, theme, }: DsheetProps) => JSX.Element;
10
+ declare const SpreadsheetEditor: ({ isReadOnly, allowSheetDownload, allowComments, renderNavbar, enableIndexeddbSync, dsheetId, portalContent, onChange, username, selectedTemplate, toggleTemplateSidebar, isTemplateOpen, onboardingComplete, onboardingCompleteLocalStorageKey, onboardingHandler, commentData, getCommentCellUI, dataBlockApiKeyHandler, setFetchingURLData, setShowFetchURLModal, setInputFetchURLDataBlock, sheetEditorRef: externalSheetEditorRef, storeApiKey, onDuneChartEmbed, onSheetCountChange, onDataBlockApiResponse, isAuthorized, getDocumentTitle, updateDocumentTitle, setShowSmartContractModal, editorStateRef, handleSmartContractQuery, setSelectedTemplate, isNewSheet, liveQueryRefreshRate, enableLiveQuery, collaboration, }: DsheetProps) => JSX.Element;
11
11
  export default SpreadsheetEditor;
@@ -1,10 +1,8 @@
1
1
  import { LiveQueryData, Sheet, WorkbookInstance } from '../../../sheet-engine/react';
2
- import { ApiKeyStorage } from '../../utils/api-key-storage';
3
- import { OpenApiKeyModalFn } from '../../utils/data-block-error-handler';
4
- import { DataBlockEvent } from '../../types';
2
+ import { DataBlockApiKeyHandlerType } from '../../types';
5
3
 
6
4
  export declare const LIVE_QUERY_ERROR = "LIVE_QUERY_ERROR";
7
- export declare const useLiveQuery: (sheetEditorRef: React.MutableRefObject<WorkbookInstance | null>, apiKeyStorage?: ApiKeyStorage, openApiKeyModal?: OpenApiKeyModalFn, onDataBlockEvent?: (event: DataBlockEvent) => void, enableLiveQuery?: boolean, refreshRate?: number) => {
5
+ export declare const useLiveQuery: (sheetEditorRef: React.MutableRefObject<WorkbookInstance | null>, dataBlockApiKeyHandler?: DataBlockApiKeyHandlerType, enableLiveQuery?: boolean, refreshRate?: number) => {
8
6
  handleLiveQuery: (subsheetIndex: number, queryData: LiveQueryData) => void;
9
7
  initialiseLiveQueryData: (sheets: Sheet[]) => void;
10
8
  };
@@ -1,7 +1,5 @@
1
1
  import { Sheet, WorkbookInstance } from '../../sheet-engine/react';
2
- import { ApiKeyStorage } from '../utils/api-key-storage';
3
- import { OpenApiKeyModalFn } from '../utils/data-block-error-handler';
4
- import { DataBlockEvent } from '../types';
2
+ import { DataBlockApiKeyHandlerType } from '../types';
5
3
 
6
4
  import * as Y from 'yjs';
7
5
  /**
@@ -16,7 +14,7 @@ export declare const useEditorData: (ydocRef: React.MutableRefObject<Y.Doc | nul
16
14
  [key: string]: {
17
15
  [key: string]: any;
18
16
  };
19
- }>>, enableLiveQuery?: boolean, liveQueryRefreshRate?: number, apiKeyStorage?: ApiKeyStorage, openApiKeyModal?: OpenApiKeyModalFn, onDataBlockEvent?: (event: DataBlockEvent) => void, allowComments?: boolean, hasCollabContentInitialised?: boolean, collabEnabled?: boolean) => {
17
+ }>>, enableLiveQuery?: boolean, liveQueryRefreshRate?: number, dataBlockApiKeyHandler?: DataBlockApiKeyHandlerType, allowComments?: boolean, hasCollabContentInitialised?: boolean, collabEnabled?: boolean) => {
20
18
  sheetData: Sheet[];
21
19
  setSheetData: import('react').Dispatch<import('react').SetStateAction<Sheet[]>>;
22
20
  currentDataRef: import('react').MutableRefObject<Sheet[]>;
@@ -1,16 +1,10 @@
1
- import { Sheet, WorkbookInstance } from '../sheet-engine/react';
2
- import { RefObject } from 'react';
1
+ import { Sheet, Workbook, WorkbookInstance, Cell } from '../sheet-engine/react';
2
+ import { ComponentProps, RefObject } from 'react';
3
3
  import { ERROR_MESSAGES_FLAG } from './constants/shared-constants';
4
4
  import { SmartContractQueryHandler } from './utils/after-update-cell';
5
5
  import { CollaborationProps } from '../sync-local/types';
6
- import { CommentsConfig } from './types/comments';
7
- import { ApiKeyStorage } from './utils/api-key-storage';
8
- import { ThemeKey } from '../sheet-engine/core/theme';
9
6
 
10
7
  import * as Y from 'yjs';
11
- export type { ThemeKey } from '../sheet-engine/core/theme';
12
- export type { CommentThread, CommentReply, CommentActionParams, CommentsConfig, } from './types/comments';
13
- export { CommentAction } from './types/comments';
14
8
  export interface SheetUpdateData {
15
9
  data: Sheet[];
16
10
  }
@@ -18,19 +12,7 @@ export interface EditorValues {
18
12
  sheetEditorRef: RefObject<WorkbookInstance>;
19
13
  currentDataRef: React.MutableRefObject<Sheet[] | null>;
20
14
  ydocRef: React.RefObject<Y.Doc | null>;
21
- openPanel: (panelId: string) => void;
22
- closePanel: () => void;
23
15
  }
24
- export interface PanelConfig {
25
- id: string;
26
- header: {
27
- title: string;
28
- subtitle?: string;
29
- };
30
- width?: string;
31
- content: React.ReactNode;
32
- }
33
- export type { PanelId, BuiltInPanelType, } from './components/sidebar/use-right-panels';
34
16
  export type OnboardingHandlerType = (params: {
35
17
  row: number;
36
18
  column: number;
@@ -39,14 +21,27 @@ export type OnboardingHandlerType = (params: {
39
21
  row: number;
40
22
  column: number;
41
23
  };
42
- export type DataBlockEventType = 'success' | 'error' | 'api-key-required' | 'api-key-saved' | 'retry';
43
- export interface DataBlockEvent {
44
- type: DataBlockEventType;
45
- functionName?: string;
46
- errorType?: string;
47
- apiKeyName?: string;
48
- }
49
- export type { ApiKeyStorage } from './utils/api-key-storage';
24
+ export type DataBlockApiKeyHandlerType = (params: {
25
+ data: ErrorMessageHandlerReturnType;
26
+ sheetEditorRef: React.RefObject<WorkbookInstance | null>;
27
+ executeStringFunction: ({ functionCallString, sheetEditorRef, dataBlockRow, dataBlockColumn, handleSmartContractQuery, }: {
28
+ functionCallString: string;
29
+ sheetEditorRef: React.RefObject<WorkbookInstance | null>;
30
+ dataBlockRow: number;
31
+ dataBlockColumn: number;
32
+ handleSmartContractQuery: SmartContractQueryHandler;
33
+ }) => Promise<unknown>;
34
+ row: number;
35
+ column: number;
36
+ newValue: Cell;
37
+ formulaResponseUiSync: (params: {
38
+ row: number;
39
+ column: number;
40
+ newValue: Record<string, string>;
41
+ apiData: Array<Record<string, object>>;
42
+ sheetEditorRef: React.RefObject<WorkbookInstance | null>;
43
+ }) => void;
44
+ }) => void;
50
45
  export interface DsheetProps {
51
46
  isNewSheet: boolean;
52
47
  setSelectedTemplate?: React.Dispatch<React.SetStateAction<string>>;
@@ -72,16 +67,17 @@ export interface DsheetProps {
72
67
  /** When `onboardingComplete` is omitted, read `localStorage.getItem(key)==='true'` (default key `onboardingComplete`). */
73
68
  onboardingCompleteLocalStorageKey?: string;
74
69
  onboardingHandler?: OnboardingHandlerType;
70
+ dataBlockApiKeyHandler?: DataBlockApiKeyHandlerType;
75
71
  setForceSheetRender?: React.Dispatch<React.SetStateAction<number>>;
76
- commentsConfig?: CommentsConfig;
72
+ getCommentCellUI?: ComponentProps<typeof Workbook>['getCommentCellUI'];
73
+ commentData?: Object;
77
74
  toggleTemplateSidebar?: () => void;
78
75
  sheetEditorRef?: RefObject<WorkbookInstance & {
79
76
  refreshIndexedDB: () => Promise<void>;
80
77
  }>;
81
- /** Override where datablock API keys are stored (default: localStorage). */
82
- apiKeyStorage?: ApiKeyStorage;
83
- /** Optional lifecycle events for analytics / side-effects. */
84
- onDataBlockEvent?: (event: DataBlockEvent) => void;
78
+ storeApiKey?: (apiKeyName: string) => void;
79
+ allowComments?: boolean;
80
+ onDataBlockApiResponse?: (dataBlockName: string) => void;
85
81
  onDuneChartEmbed?: () => void;
86
82
  onSheetCountChange?: (sheetCount: number) => void;
87
83
  editorStateRef?: React.MutableRefObject<{
@@ -90,9 +86,6 @@ export interface DsheetProps {
90
86
  handleSmartContractQuery?: SmartContractQueryHandler;
91
87
  enableLiveQuery?: boolean;
92
88
  liveQueryRefreshRate?: number;
93
- customPanels?: PanelConfig[];
94
- /** Active theme; drives the canvas/grid palette (chrome themes via the <html> class). */
95
- theme?: ThemeKey;
96
89
  }
97
90
  export type BaseError = {
98
91
  message: string;
@@ -1,10 +1,7 @@
1
1
  import { Cell, WorkbookInstance } from '../../sheet-engine/react';
2
- import { OnboardingHandlerType, DataBlockEvent } from '../types';
2
+ import { OnboardingHandlerType, DataBlockApiKeyHandlerType } from '../types';
3
3
  import { LiveQueryData } from '../../sheet-engine/core';
4
- import { OpenApiKeyModalFn } from './data-block-error-handler';
5
- import { ApiKeyStorage } from './api-key-storage';
6
4
 
7
- import * as Y from 'yjs';
8
5
  export type SmartContractResponse = {
9
6
  callSignature: unknown[];
10
7
  };
@@ -25,18 +22,15 @@ interface AfterUpdateCellParams {
25
22
  oldValue?: Cell;
26
23
  newValue: Cell;
27
24
  sheetEditorRef: React.RefObject<WorkbookInstance | null>;
28
- handleContentPortal?: () => void;
29
- dsheetId?: string;
30
- ydocRef?: React.MutableRefObject<Y.Doc | null>;
31
25
  onboardingComplete: boolean | undefined;
32
- setFetchingURLData?: (fetching: boolean) => void;
26
+ setFetchingURLData: (fetching: boolean) => void;
33
27
  onboardingHandler: OnboardingHandlerType | undefined;
34
- apiKeyStorage: ApiKeyStorage;
35
- openApiKeyModal: OpenApiKeyModalFn;
36
- onDataBlockEvent?: (event: DataBlockEvent) => void;
28
+ dataBlockApiKeyHandler: DataBlockApiKeyHandlerType | undefined;
37
29
  handleSmartContractQuery?: SmartContractQueryHandler | undefined;
38
30
  handleLiveQueryData?: (subsheetIndex: number, queryData: LiveQueryData) => void;
39
- setInputFetchURLDataBlock?: React.Dispatch<React.SetStateAction<string>> | undefined;
31
+ setInputFetchURLDataBlock: React.Dispatch<React.SetStateAction<string>> | undefined;
32
+ storeApiKey?: (apiKeyName: string) => void;
33
+ onDataBlockApiResponse?: (dataBlockName: string) => void;
40
34
  setDataBlockCalcFunction?: React.Dispatch<React.SetStateAction<{
41
35
  [key: string]: {
42
36
  [key: string]: any;
@@ -60,7 +54,7 @@ export declare const shouldExecuteDataBlocks: (params: {
60
54
  localUserEditRef?: React.MutableRefObject<boolean>;
61
55
  sheetEditorRef: React.RefObject<WorkbookInstance | null>;
62
56
  }) => boolean;
63
- export { isDatablockError } from './datablock-error-utils';
57
+ export declare const isDatablockError: (value: any) => boolean;
64
58
  /**
65
59
  * Handles logic after a cell is updated, including processing formula results
66
60
  *
@@ -68,3 +62,4 @@ export { isDatablockError } from './datablock-error-utils';
68
62
  * @returns Promise that resolves when processing is complete
69
63
  */
70
64
  export declare const afterUpdateCell: (params: AfterUpdateCellParams) => Promise<void>;
65
+ export {};