@fileverse-dev/dsheet 4.0.3-import-compaction.0 → 4.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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "4.0.3-import-compaction.0",
5
+ "version": "4.0.3",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -125,4 +125,4 @@
125
125
  "vitest": "^3.2.4",
126
126
  "yjs": "13.6.30"
127
127
  }
128
- }
128
+ }
@@ -1,25 +0,0 @@
1
- import { Sheet } from '../../sheet-engine/react';
2
-
3
- /**
4
- * XLSX imports (Google Sheets exports especially) materialize every
5
- * styled-but-empty cell. Move those into config.cellFormatRanges — the same
6
- * sparse representation the editor uses — so they never inflate celldata/Yjs.
7
- * Cells with content, merges, hyperlinks, notes or masks are kept verbatim.
8
- */
9
- export declare function compactImportedSheetFormatting(sheet: Sheet): void;
10
- /**
11
- * Imported validations repeat the full option list + per-option color string
12
- * on every covered cell (whole-column dropdowns → thousands of copies). Store
13
- * each unique entry once in dataVerificationDefs and keep numeric refs in the
14
- * per-cell map; expandSheetDataVerification restores objects for the engine.
15
- */
16
- export declare function internImportedDataVerification(sheet: Sheet): void;
17
- /**
18
- * Resolve interned dataVerification refs back to shared entry objects before
19
- * the sheet reaches the engine or the XLSX exporter. No-op (and no mutation)
20
- * when the map already holds objects, so live workbook sheets pass through.
21
- */
22
- export declare function expandSheetDataVerification<T extends {
23
- dataVerification?: unknown;
24
- dataVerificationDefs?: unknown;
25
- }>(sheet: T): T;