@fileverse-dev/dsheet 2.1.2-dropIn-5 → 2.1.3

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 (49) hide show
  1. package/dist/editor/components/editor-workbook.d.ts +9 -8
  2. package/dist/editor/contexts/editor-context.d.ts +2 -2
  3. package/dist/editor/dsheet-editor.d.ts +1 -1
  4. package/dist/editor/types.d.ts +5 -19
  5. package/dist/{executeStringFunction-CGbxAbbw.js → executeStringFunction-BkmJj04p.js} +96 -96
  6. package/dist/formula.js +1 -1
  7. package/dist/{index-BDaOOD6V.js → index-DMKCgPDx.js} +39101 -41307
  8. package/dist/index.d.ts +0 -7
  9. package/dist/index.es.js +51 -55
  10. package/dist/sheet-engine/react/components/Toolbar/conditionalFormatPortal.d.ts +7 -0
  11. package/dist/sheet-engine/react/components/Toolbar/dataVerificationPortal.d.ts +6 -0
  12. package/dist/sheet-engine/react/components/Workbook/index.d.ts +0 -4
  13. package/dist/sheet-engine/react/components/index.d.ts +0 -1
  14. package/dist/style.css +1 -1
  15. package/dist/{use-xlsx-import-impl-CLQyfm8_.js → use-xlsx-import-impl-hXBO_hh5.js} +2 -2
  16. package/dist/{xlsx-export-impl-DXIj7EEk.js → xlsx-export-impl-D12yGGTG.js} +2 -2
  17. package/package.json +2 -3
  18. package/dist/editor/components/comments/comment-actions-dropdown.d.ts +0 -19
  19. package/dist/editor/components/comments/comment-cell-popup.d.ts +0 -4
  20. package/dist/editor/components/comments/comment-input.d.ts +0 -4
  21. package/dist/editor/components/comments/comment-item.d.ts +0 -4
  22. package/dist/editor/components/comments/comment-sidebar-empty.d.ts +0 -4
  23. package/dist/editor/components/comments/comment-sidebar.d.ts +0 -4
  24. package/dist/editor/components/comments/ens/ens-cache.d.ts +0 -10
  25. package/dist/editor/components/comments/ens/use-ens-status.d.ts +0 -10
  26. package/dist/editor/components/comments/use-comment-cell-popup.d.ts +0 -12
  27. package/dist/editor/components/comments/use-comment-permissions.d.ts +0 -15
  28. package/dist/editor/components/sidebar/editor-right-sidebar.d.ts +0 -20
  29. package/dist/editor/components/sidebar/right-sidebar.d.ts +0 -14
  30. package/dist/editor/components/sidebar/sidebar-context.d.ts +0 -17
  31. package/dist/editor/components/sidebar/sidebar-portal-registry.d.ts +0 -20
  32. package/dist/editor/components/sidebar/use-right-panels.d.ts +0 -12
  33. package/dist/editor/components/sidebars/conditional-format.d.ts +0 -2
  34. package/dist/editor/components/sidebars/data-verification.d.ts +0 -2
  35. package/dist/editor/components/sidebars/function/function-categories-logic.d.ts +0 -11
  36. package/dist/editor/components/sidebars/function/function-categories.d.ts +0 -6
  37. package/dist/editor/components/sidebars/function/function-metadata.d.ts +0 -7
  38. package/dist/editor/components/sidebars/function/functionList.d.ts +0 -8
  39. package/dist/editor/components/sidebars/function/types.d.ts +0 -24
  40. package/dist/editor/components/sidebars/function/use-functions.d.ts +0 -20
  41. package/dist/editor/components/sidebars/function-content.d.ts +0 -8
  42. package/dist/editor/components/sidebars/template-ui.d.ts +0 -22
  43. package/dist/editor/components/sidebars/templates.d.ts +0 -9
  44. package/dist/editor/types/comments.d.ts +0 -133
  45. package/dist/editor/utils/api-keys-local-storage.d.ts +0 -17
  46. package/dist/editor/utils/cell-comment-marker.d.ts +0 -29
  47. package/dist/editor/utils/comment-key-utils.d.ts +0 -7
  48. package/dist/editor/utils/sheet-editor-safe.d.ts +0 -26
  49. package/dist/sheet-engine/react/components/SidebarPanelPortals/index.d.ts +0 -17
package/dist/index.d.ts CHANGED
@@ -5,13 +5,6 @@ export { executeStringFunction } from './editor/utils/executeStringFunction';
5
5
  export { FLVURL } from '@fileverse-dev/formulajs';
6
6
  export { loadLocale } from './sheet-engine/core';
7
7
  export type { ErrorMessageHandlerReturnType } 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
8
  export type { WorkbookInstance } from './sheet-engine/react';
16
9
  export type { CollaborationProps, CollabConnectionConfig, CollabSessionMeta, CollabServices, CollabCallbacks, CollabState, CollabStatus, CollabError, CollabErrorCode, CollabUser, } from './sync-local/types';
17
10
  export { ERROR_MESSAGES_FLAG, SERVICES_API_KEY, } from './editor/constants/shared-constants';
package/dist/index.es.js CHANGED
@@ -1,57 +1,53 @@
1
- import { C as s, a as t, b as o, S as r, d as l, i as n, T as S, e as d, f as i, g as c, h, j as m, k as C, l as u, n as p, o as E, p as F, q as g, r as x, s as R, t as f, u as A, v as I, w as L, x as w, z as T, A as b, B as v, D, E as M, F as k, G as V, H as z, I as P, J as U, K as X } from "./index-BDaOOD6V.js";
2
- import { bQ as y, bR as B, bS as G, ar as H, bh as O, e as j, f as q, h as J, a as K, cf as N, aq as Q, cm as Y } from "./executeStringFunction-CGbxAbbw.js";
3
- import { FLVURL as W } from "@fileverse-dev/formulajs";
4
- import { E as ee, S as ae } from "./constants-yStXQJiK.js";
1
+ import { S as s, a as o, i as t, T as r, b as l, d as n, e as d, f as i, g as S, h as c, j as h, k as m, l as p, n as u, o as C, p as E, q as g, r as F, s as x, t as R, u as f, v as L, w as b, x as w, z as A, A as T, B as v, C as I, D, E as M, F as V, G as k } from "./index-DMKCgPDx.js";
2
+ import { bP as z, bQ as X, bR as _, bV as y, bg as B, e as G, f as O, h as U, a as j, cf as q, aq as H, cm as J } from "./executeStringFunction-BkmJj04p.js";
3
+ import { FLVURL as N } from "@fileverse-dev/formulajs";
4
+ import { E as Y, S as Z } from "./constants-yStXQJiK.js";
5
5
  export {
6
- s as CommentAction,
7
- t as CommentCellUI,
8
- o as CommentsContent,
9
- r as DSheetEditor,
10
- l as DSheetSkeleton,
11
- ee as ERROR_MESSAGES_FLAG,
12
- W as FLVURL,
13
- n as FortuneCore,
14
- ae as SERVICES_API_KEY,
15
- S as TEMPLATES,
16
- d as api,
17
- y as clearColumnsCellsFormat,
18
- i as clearFilter,
19
- B as clearRowsCellsFormat,
20
- G as clearSelectedCellFormat,
21
- c as createFilter,
22
- H as deleteRowCol,
23
- O as deleteSelectedCellText,
24
- h as describeMatchedShortcut,
25
- j as executeStringFunction,
26
- q as formulaResponseUiSync,
27
- J as getFlowdata,
28
- m as getRemoveDuplicatesErrorMessage,
29
- C as getRemoveDuplicatesPreview,
30
- K as getSheetIndex,
31
- u as handleCSVUpload,
32
- p as handleCopy,
33
- E as handleExportToCSV,
34
- F as handleExportToJSON,
35
- g as handleExportToXLSX,
36
- x as handleFreeze,
37
- R as handleHorizontalAlign,
38
- f as handleLink,
39
- A as handleMerge,
40
- I as handlePasteByClick,
41
- L as handleSort,
42
- w as handleTextSize,
43
- T as handleVerticalAlign,
44
- N as insertRowCol,
45
- b as isBrowserZoomShortcut,
46
- v as isFormulaListShortcut,
47
- D as isOpenShortcutsModalShortcut,
48
- Q as jfrefreshgrid,
49
- Y as loadLocale,
50
- M as removeActiveImage,
51
- k as removeDuplicates,
52
- V as showImgChooser,
53
- z as toolbarItemClickHandler,
54
- P as updateFormat,
55
- U as useEnsStatus,
56
- X as useXLSXImport
6
+ s as DSheetEditor,
7
+ o as DSheetSkeleton,
8
+ Y as ERROR_MESSAGES_FLAG,
9
+ N as FLVURL,
10
+ t as FortuneCore,
11
+ Z as SERVICES_API_KEY,
12
+ r as TEMPLATES,
13
+ l as api,
14
+ z as clearColumnsCellsFormat,
15
+ n as clearFilter,
16
+ X as clearRowsCellsFormat,
17
+ _ as clearSelectedCellFormat,
18
+ d as createFilter,
19
+ y as deleteRowCol,
20
+ B as deleteSelectedCellText,
21
+ i as describeMatchedShortcut,
22
+ G as executeStringFunction,
23
+ O as formulaResponseUiSync,
24
+ U as getFlowdata,
25
+ S as getRemoveDuplicatesErrorMessage,
26
+ c as getRemoveDuplicatesPreview,
27
+ j as getSheetIndex,
28
+ h as handleCSVUpload,
29
+ m as handleCopy,
30
+ p as handleExportToCSV,
31
+ u as handleExportToJSON,
32
+ C as handleExportToXLSX,
33
+ E as handleFreeze,
34
+ g as handleHorizontalAlign,
35
+ F as handleLink,
36
+ x as handleMerge,
37
+ R as handlePasteByClick,
38
+ f as handleSort,
39
+ L as handleTextSize,
40
+ b as handleVerticalAlign,
41
+ q as insertRowCol,
42
+ w as isBrowserZoomShortcut,
43
+ A as isFormulaListShortcut,
44
+ T as isOpenShortcutsModalShortcut,
45
+ H as jfrefreshgrid,
46
+ J as loadLocale,
47
+ v as removeActiveImage,
48
+ I as removeDuplicates,
49
+ D as showImgChooser,
50
+ M as toolbarItemClickHandler,
51
+ V as updateFormat,
52
+ k as useXLSXImport
57
53
  };
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const ConditionalFormatPortal: ({ visible, context, }: {
4
+ visible: boolean;
5
+ context: any;
6
+ }) => React.ReactPortal | null;
7
+ export default ConditionalFormatPortal;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const DataVerificationPortal: ({ visible }: {
4
+ visible: boolean;
5
+ }) => React.ReactPortal | null;
6
+ export default DataVerificationPortal;
@@ -3,14 +3,10 @@ import { default as React } from 'react';
3
3
  import { getCryptoPrice } from '../../utils/cryptoApi';
4
4
  import { SetContextOptions } from '../../context';
5
5
  import { generateAPIs } from './api';
6
- import { SidebarPortalRegistryHandle, SidebarPortalRenderer } from '../SidebarPanelPortals';
7
6
 
8
7
  export type WorkbookInstance = ReturnType<typeof generateAPIs>;
9
8
  type AdditionalProps = {
10
9
  onOp?: (op: Op[]) => void;
11
- sidebarActivePanel?: string | null;
12
- sidebarPortalRegistry?: SidebarPortalRegistryHandle | null;
13
- sidebarPortalRenderers?: Record<string, SidebarPortalRenderer>;
14
10
  };
15
11
  declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalProps & React.RefAttributes<{
16
12
  applyOp: (ops: Op[]) => void;
@@ -3,6 +3,5 @@ import { default as Workbook } from './Workbook';
3
3
  export { ERROR_MESSAGES_FLAG, SERVICES_API_KEY, } from '@fileverse-dev/formulajs/crypto-constants';
4
4
  export { Workbook };
5
5
  export type { WorkbookInstance } from './Workbook';
6
- export type { SidebarPortalRenderer, SidebarPortalRegistryHandle, SidebarPortalTargets, } from './SidebarPanelPortals';
7
6
  export type { Cell, Sheet, LiveQueryData } from '../../core';
8
7
  export { markCellChanged as animateChangedCell } from '../../core';