@fileverse-dev/dsheet 1.2.85-ydoc-8 → 1.2.85-ydoc-9
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/index.es.js +15038 -14722
- package/dist/package/constants/shared-constants.d.ts +58 -3
- package/dist/package/utils/update-ydoc.d.ts +1 -2
- package/package.json +2 -2
|
@@ -4,11 +4,66 @@ export declare const ERROR_MESSAGES_FLAG: ErrorMessagesFlagType;
|
|
|
4
4
|
export declare const SERVICES_API_KEY: ServicesApiKeyType;
|
|
5
5
|
export declare const DEFAULT_SHEET_DATA: {
|
|
6
6
|
name: string;
|
|
7
|
-
celldata: never[];
|
|
8
7
|
config: {};
|
|
8
|
+
index: string;
|
|
9
|
+
status: string;
|
|
9
10
|
order: number;
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
zoomRatio: number;
|
|
12
|
+
showGridLines: string;
|
|
13
|
+
defaultColWidth: number;
|
|
14
|
+
defaultRowHeight: number;
|
|
15
|
+
celldata: ({
|
|
16
|
+
r: number;
|
|
17
|
+
c: number;
|
|
18
|
+
v: {
|
|
19
|
+
ct: {
|
|
20
|
+
fa: string;
|
|
21
|
+
t: string;
|
|
22
|
+
};
|
|
23
|
+
fc: string;
|
|
24
|
+
ff: string;
|
|
25
|
+
tb: number;
|
|
26
|
+
v: string;
|
|
27
|
+
qp: number;
|
|
28
|
+
f?: undefined;
|
|
29
|
+
};
|
|
30
|
+
} | {
|
|
31
|
+
r: number;
|
|
32
|
+
c: number;
|
|
33
|
+
v: {
|
|
34
|
+
ct: {
|
|
35
|
+
fa: string;
|
|
36
|
+
t?: undefined;
|
|
37
|
+
};
|
|
38
|
+
fc: string;
|
|
39
|
+
ff: string;
|
|
40
|
+
tb: number;
|
|
41
|
+
v: string;
|
|
42
|
+
qp?: undefined;
|
|
43
|
+
f?: undefined;
|
|
44
|
+
};
|
|
45
|
+
} | {
|
|
46
|
+
r: number;
|
|
47
|
+
c: number;
|
|
48
|
+
v: {
|
|
49
|
+
f: string;
|
|
50
|
+
ct: {
|
|
51
|
+
fa: string;
|
|
52
|
+
t?: undefined;
|
|
53
|
+
};
|
|
54
|
+
fc: string;
|
|
55
|
+
ff: string;
|
|
56
|
+
tb: number;
|
|
57
|
+
v: string;
|
|
58
|
+
qp?: undefined;
|
|
59
|
+
};
|
|
60
|
+
})[];
|
|
61
|
+
calcChain: {
|
|
62
|
+
r: number;
|
|
63
|
+
c: number;
|
|
64
|
+
id: string;
|
|
65
|
+
}[];
|
|
66
|
+
id: string;
|
|
12
67
|
}[];
|
|
13
68
|
export declare const TOOL_BAR_ITEMS: string[];
|
|
14
69
|
export declare const CELL_CONTEXT_MENU_ITEMS: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sheet, WorkbookInstance } from '@fileverse-dev/fortune-react';
|
|
2
2
|
import * as Y from 'yjs';
|
|
3
|
-
type SheetChangePath = {
|
|
3
|
+
export type SheetChangePath = {
|
|
4
4
|
sheetId: string;
|
|
5
5
|
path: string[];
|
|
6
6
|
key?: string;
|
|
@@ -9,4 +9,3 @@ type SheetChangePath = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const updateYdocSheetData: (ydoc: Y.Doc | null, dsheetId: string, sheetEditor: WorkbookInstance | null, changes: SheetChangePath[], handleContentPortal: any) => void;
|
|
11
11
|
export declare function ySheetArrayToPlain(sheetArray: Y.Array<Y.Map>): Sheet[];
|
|
12
|
-
export {};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fileverse-dev/dsheet",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "DSheet",
|
|
5
|
-
"version": "1.2.85-ydoc-
|
|
5
|
+
"version": "1.2.85-ydoc-9",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
8
8
|
"exports": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@fileverse-dev/dsheets-templates": "^0.0.29",
|
|
37
37
|
"@fileverse-dev/formulajs": "4.4.46",
|
|
38
|
-
"@fileverse-dev/fortune-react": "1.2.90-ydoc-
|
|
38
|
+
"@fileverse-dev/fortune-react": "1.2.90-ydoc-14",
|
|
39
39
|
"@fileverse/ui": "^4.1.7-patch-40",
|
|
40
40
|
"classnames": "^2.5.1",
|
|
41
41
|
"exceljs": "^4.4.0",
|