@fileverse-dev/dsheet 3.0.2 → 3.0.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.
- package/README.md +1 -0
- package/dist/{constants-Q8nzbvQO.js → constants-Cdz6oSCq.js} +3 -5
- package/dist/constants.js +1 -1
- package/dist/editor/components/editor-workbook-sync.d.ts +1 -1
- package/dist/editor/constants/shared-constants.d.ts +0 -2
- package/dist/editor/contexts/editor-context.d.ts +4 -0
- package/dist/editor/dsheet-editor.d.ts +1 -1
- package/dist/editor/hooks/use-celldata-compaction.d.ts +23 -0
- package/dist/editor/hooks/use-editor-sync.d.ts +2 -0
- package/dist/editor/hooks/use-xlsx-import-impl.d.ts +2 -1
- package/dist/editor/hooks/use-xlsx-import.d.ts +2 -1
- package/dist/editor/types.d.ts +8 -0
- package/dist/editor/utils/apply-comment-markers.d.ts +22 -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/update-ydoc.d.ts +13 -3
- package/dist/executeStringFunction-DVN2p-9G.js +32625 -0
- package/dist/formula.js +1 -1
- package/dist/{index-Dql-IRPC.js → index-T7U1EYEU.js} +21792 -24680
- package/dist/index.es.js +39 -39
- package/dist/persistence-utils-DsM_MOB1.js +89 -0
- package/dist/persistence-utils.d.ts +17 -0
- package/dist/persistence.d.ts +12 -0
- package/dist/persistence.js +118 -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/modules/formula-worker-bridge.d.ts +1 -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 +1 -1
- package/dist/sheet-engine/core/types.d.ts +3 -0
- package/dist/sheet-engine/core/utils/active-draft-context.d.ts +4 -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/merge-hydrate.d.ts +15 -0
- package/dist/sheet-engine/core/utils/mirror-cell-format-ranges.d.ts +17 -0
- package/dist/sheet-engine/core/utils/range-format.d.ts +76 -0
- package/dist/sheet-engine/core/utils/ydoc-celldata-changes.d.ts +46 -0
- package/dist/sheet-engine/react/components/Workbook/api.d.ts +8 -1
- package/dist/sheet-engine/react/components/Workbook/index.d.ts +5 -1
- package/dist/use-xlsx-import-impl-B9Uq_cFK.js +1572 -0
- package/dist/{xlsx-export-impl-DfQuhamE.js → xlsx-export-impl-0bnKq9JC.js} +1210 -1198
- package/package.json +16 -6
- package/dist/executeStringFunction-C5hEkx9z.js +0 -27694
- package/dist/use-xlsx-import-impl-BsL90Hs0.js +0 -1537
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fileverse-dev/dsheet",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "DSheet",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.3",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
8
8
|
"exports": {
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"types": "./dist/formula.d.ts",
|
|
22
22
|
"default": "./dist/formula.js"
|
|
23
23
|
},
|
|
24
|
+
"./persistence": {
|
|
25
|
+
"import": "./dist/persistence.js",
|
|
26
|
+
"types": "./dist/persistence.d.ts",
|
|
27
|
+
"default": "./dist/persistence.js"
|
|
28
|
+
},
|
|
24
29
|
"./styles": "./dist/style.css",
|
|
25
30
|
"./types": "./dist/editor/types.d.ts"
|
|
26
31
|
},
|
|
@@ -37,7 +42,8 @@
|
|
|
37
42
|
"build:dist": "vite build",
|
|
38
43
|
"dev:link": "npm run build:dist && cp -r dist/* ../dsheets.new/node_modules/@fileverse-dev/dsheet/dist/ && echo '✓ Copied to dsheets.new'",
|
|
39
44
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
|
40
|
-
"preview": "vite preview"
|
|
45
|
+
"preview": "vite preview",
|
|
46
|
+
"test:unit": "vitest run"
|
|
41
47
|
},
|
|
42
48
|
"lint-staged": {
|
|
43
49
|
"**/*.{js,jsx,ts,tsx}": [
|
|
@@ -76,13 +82,15 @@
|
|
|
76
82
|
"tailwindcss-animate": "^1.0.7",
|
|
77
83
|
"tiny-emitter": "^2.1.0",
|
|
78
84
|
"uuid": "^8.3.2",
|
|
85
|
+
"viem": "^2.35.0",
|
|
79
86
|
"vite-plugin-dts": "^3.6.3",
|
|
80
87
|
"xlsx": "^0.18.5",
|
|
81
88
|
"xlsx-js-style": "^1.2.0",
|
|
82
89
|
"y-indexeddb": "^9.0.12",
|
|
83
|
-
"y-protocols": "^1.0.6"
|
|
84
|
-
|
|
85
|
-
|
|
90
|
+
"y-protocols": "^1.0.6"
|
|
91
|
+
},
|
|
92
|
+
"peerDependencies": {
|
|
93
|
+
"yjs": ">=13.6.30 <14"
|
|
86
94
|
},
|
|
87
95
|
"devDependencies": {
|
|
88
96
|
"@types/lodash": "^4.17.23",
|
|
@@ -110,6 +118,8 @@
|
|
|
110
118
|
"sass": "^1.77.2",
|
|
111
119
|
"tailwindcss": "^3.4.3",
|
|
112
120
|
"typescript": "^5.2.2",
|
|
113
|
-
"vite": "^5.0.0"
|
|
121
|
+
"vite": "^5.0.0",
|
|
122
|
+
"vitest": "^3.2.4",
|
|
123
|
+
"yjs": "13.6.30"
|
|
114
124
|
}
|
|
115
125
|
}
|