@fileverse-dev/dsheet 3.0.1-yjs-11 → 3.0.1-yjs-12
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/{executeStringFunction-DYUlgBIU.js → executeStringFunction-CVSty5Xh.js} +484 -414
- package/dist/formula.js +1 -1
- package/dist/{index-BjEFykOm.js → index-DK-aTG1C.js} +7759 -7736
- package/dist/index.es.js +2 -2
- package/dist/sheet-engine/core/modules/sheet.d.ts +3 -0
- package/dist/sheet-engine/core/utils/border-config-utils.d.ts +6 -0
- package/dist/{use-xlsx-import-impl-NvNhh07m.js → use-xlsx-import-impl-DEKNot3A.js} +2 -2
- package/dist/{xlsx-export-impl-Byy0qAZA.js → xlsx-export-impl-Bwx-XHJ0.js} +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as s, a as t, b as o, S as l, d as r, i as d, e as n, T as i, f as c, g as S, h, j as m, k as p, l as C, n as u, o as E, p as g, q as F, s as x, t as R, u as f, v as A, w as L, x as w, z as I, A as T, B as v, D, E as k } from "./index-
|
|
2
|
-
import { ci as U, cj as V, ck as _, cp as b, bg as z, e as P, f as X, l as j, a as y, c_ as B, c$ as O, a$ as G, d0 as H, d1 as N, d5 as $, d6 as q, d8 as J, D as K, dm as Y, dN as Z, aU as Q } from "./executeStringFunction-
|
|
1
|
+
import { C as s, a as t, b as o, S as l, d as r, i as d, e as n, T as i, f as c, g as S, h, j as m, k as p, l as C, n as u, o as E, p as g, q as F, s as x, t as R, u as f, v as A, w as L, x as w, z as I, A as T, B as v, D, E as k } from "./index-DK-aTG1C.js";
|
|
2
|
+
import { ci as U, cj as V, ck as _, cp as b, bg as z, e as P, f as X, l as j, a as y, c_ as B, c$ as O, a$ as G, d0 as H, d1 as N, d5 as $, d6 as q, d8 as J, D as K, dm as Y, dN as Z, aU as Q } from "./executeStringFunction-CVSty5Xh.js";
|
|
3
3
|
import { FLVURL as ee } from "@fileverse-dev/formulajs";
|
|
4
4
|
import { E as se, S as te } from "./constants-Cdz6oSCq.js";
|
|
5
5
|
export {
|
|
@@ -13,6 +13,9 @@ export declare function assignActiveConfigToSheetFile(file: Sheet, activeConfig:
|
|
|
13
13
|
/**
|
|
14
14
|
* Promote format-only cells in a rectangle into cellFormatRanges.
|
|
15
15
|
* Scans only [r1..r2]×[c1..c2]. Returns new ranges if anything changed.
|
|
16
|
+
*
|
|
17
|
+
* Writes through luckysheetfile[i].config (same as toolbar) so Immer undo
|
|
18
|
+
* history tracks the change and peers get the reverse via afterConfigChanges.
|
|
16
19
|
*/
|
|
17
20
|
export declare function syncFormatOnlyRectIntoRanges(ctx: Context, cfg: SheetConfig | undefined, data: CellMatrix | null | undefined, r1: number, r2: number, c1: number, c2: number): CellFormatRange[] | null;
|
|
18
21
|
export declare function storeSheetParamALL(ctx: Context): void;
|
|
@@ -4,6 +4,12 @@ export type BorderSelection = {
|
|
|
4
4
|
row: [number, number];
|
|
5
5
|
column: [number, number];
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* Remap borderInfo after a row/column reorder (header drag).
|
|
9
|
+
* Uses the same old→new index map as remapCellFormatRanges.
|
|
10
|
+
* O(border entries × span) — only runs on drag drop, not per-frame.
|
|
11
|
+
*/
|
|
12
|
+
export declare function remapBorderInfo(borderInfo: any[] | undefined, axis: 'row' | 'column', indexMap: Record<number, number>): any[];
|
|
7
13
|
/** Remove border entries overlapping a single selection (cell + range types). */
|
|
8
14
|
export declare function removeBorderInfoForSelection(borderInfo: any[], rowSt: number, rowEd: number, colSt: number, colEd: number): any[];
|
|
9
15
|
export declare function removeBorderInfoInSelections(borderInfo: any[] | undefined, selections: BorderSelection[]): any[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as Ke } from "./executeStringFunction-
|
|
1
|
+
import { g as Ke } from "./executeStringFunction-CVSty5Xh.js";
|
|
2
2
|
import * as et from "yjs";
|
|
3
|
-
import { m as tt, y as rt, r as nt } from "./index-
|
|
3
|
+
import { m as tt, y as rt, r as nt } from "./index-DK-aTG1C.js";
|
|
4
4
|
import { n as at } from "./xlsx-hyperlink-inline-DzewAypN.js";
|
|
5
5
|
import { toast as Ge } from "@fileverse/ui";
|
|
6
6
|
var Ze = { exports: {} };
|
|
@@ -2,8 +2,8 @@ import { utils as ht, write as Nt } from "xlsx-js-style";
|
|
|
2
2
|
import { Workbook as Pt } from "exceljs";
|
|
3
3
|
import { toast as Ut } from "@fileverse/ui";
|
|
4
4
|
import { addFortuneImagesToWorksheet as Lt } from "./xlsx-image-utils-Cvg0qxRA.js";
|
|
5
|
-
import { g as jt, c as xt, b as Wt } from "./executeStringFunction-
|
|
6
|
-
import { c as Ct } from "./index-
|
|
5
|
+
import { g as jt, c as xt, b as Wt } from "./executeStringFunction-CVSty5Xh.js";
|
|
6
|
+
import { c as Ct } from "./index-DK-aTG1C.js";
|
|
7
7
|
import { c as zt, g as Mt } from "./xlsx-hyperlink-inline-DzewAypN.js";
|
|
8
8
|
const Zt = {
|
|
9
9
|
1: "thin",
|