@fileverse-dev/dsheet 4.1.23-stabilise-package-6 → 4.1.23-stabilise-package-7
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-7PJajNOY.js → executeStringFunction-B27MIrxE.js} +7069 -7060
- package/dist/formula.js +1 -1
- package/dist/{index-CYTfmipC.js → index-BvLQlh3C.js} +3971 -3948
- package/dist/index.es.js +2 -2
- package/dist/sheet-engine/core/modules/formula-tab-load.test.d.ts +1 -0
- package/dist/sheet-engine/core/modules/formula.d.ts +8 -0
- package/dist/sheet-engine/core/modules/structural-edit-prep.d.ts +18 -0
- package/dist/sheet-engine/core/modules/structural-edit-prep.test.d.ts +1 -0
- package/dist/{use-xlsx-import-impl-C1HeHhb9.js → use-xlsx-import-impl-DeSRTbbq.js} +4 -4
- package/dist/{xlsx-defined-names-k0uTgLHs.js → xlsx-defined-names-TZ-vTErq.js} +2 -2
- package/dist/{xlsx-export-impl-93M1pRiV.js → xlsx-export-impl-CNlXZdep.js} +4 -4
- package/dist/{xlsx-hyperlink-inline-C88tUQTK.js → xlsx-hyperlink-inline-CYEnkzt-.js} +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as s, f as o, g as t, S as r, h as l, j as n, k as d, T as S, l as c, n as i, o as h, p as m, q as p, t as C, u, v as F, w as E, x, z as g, A as R, B as f, D as A, E as I, F as L, G as w, H as y, I as T, J as v, K as D, L as M, M as b, N as k, O as K, P as O, Q as P } from "./index-
|
|
2
|
-
import { cI as z, cJ as J, cK as U, cQ as X, by as _, e as B, f as G, l as H, a as j, dv as q, dw as N, bh as Q, dx as Y, dy as Z, dC as W, dD as $, dF as ee, J as ae, dS as se, eq as oe, ba as te } from "./executeStringFunction-
|
|
1
|
+
import { C as s, f as o, g as t, S as r, h as l, j as n, k as d, T as S, l as c, n as i, o as h, p as m, q as p, t as C, u, v as F, w as E, x, z as g, A as R, B as f, D as A, E as I, F as L, G as w, H as y, I as T, J as v, K as D, L as M, M as b, N as k, O as K, P as O, Q as P } from "./index-BvLQlh3C.js";
|
|
2
|
+
import { cI as z, cJ as J, cK as U, cQ as X, by as _, e as B, f as G, l as H, a as j, dv as q, dw as N, bh as Q, dx as Y, dy as Z, dC as W, dD as $, dF as ee, J as ae, dS as se, eq as oe, ba as te } from "./executeStringFunction-B27MIrxE.js";
|
|
3
3
|
import { FLVURL as le } from "@fileverse-dev/formulajs";
|
|
4
4
|
import { E as de, S as Se } from "./constants-8Ij49Lxv.js";
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -146,6 +146,14 @@ export declare function resetFormulaDependencyIndexes(ctx: Context): void;
|
|
|
146
146
|
* has recorded its dependencies, unless the graph was invalidated meanwhile.
|
|
147
147
|
*/
|
|
148
148
|
export declare function finishFullFormulaPass(ctx: Context, epoch: number | null | undefined): void;
|
|
149
|
+
/**
|
|
150
|
+
* A tab that is loaded after the graph was completed keeps the flag on (K60,
|
|
151
|
+
* PR 466): loading builds the grid from `celldata` and does not change the
|
|
152
|
+
* tab's structure, and the text index already treated a whole-row or column
|
|
153
|
+
* reference to a tab with no grid as wide. Without a recorded size the first
|
|
154
|
+
* commit on the tab would take the full pass and clear the flag.
|
|
155
|
+
*/
|
|
156
|
+
export declare function recordLoadedSheetSize(ctx: Context, sheetId: string | undefined, data: CellMatrix | null | undefined): void;
|
|
149
157
|
/**
|
|
150
158
|
* INDIRECT and OFFSET would resolve references at run time, which the graph
|
|
151
159
|
* cannot see. Today both evaluate to an error (formulajs implements neither),
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Context } from '../context';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Indexes of the tabs that are not loaded (no dense `data`) and hold a formula
|
|
5
|
+
* naming the edited tab. A structural edit rewrites those formulas (K6).
|
|
6
|
+
*/
|
|
7
|
+
export declare function unloadedTabsReadingSheet(ctx: Context, editedSheetId: string): number[];
|
|
8
|
+
/**
|
|
9
|
+
* Load the tabs a structural edit will rewrite, before the edit and outside
|
|
10
|
+
* the change that history records (PR 466 N1, second review). The rewrite is
|
|
11
|
+
* then recorded as cell patches on `data`, which undo and redo replay for just
|
|
12
|
+
* the cells it touched: a peer's edits to the same tab are left alone, and the
|
|
13
|
+
* tab can be loaded or unloaded again at undo time (`handleUndo` loads it for
|
|
14
|
+
* `data` patches).
|
|
15
|
+
*
|
|
16
|
+
* Returns the same state object when nothing needs loading.
|
|
17
|
+
*/
|
|
18
|
+
export declare function loadTabsReadingSheet(ctx: Context, editedSheetId: string | undefined): Context;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as BZ from "yjs";
|
|
2
|
-
import { i as Yl, a as hl, b as ul, s as eZ, r as Il, y as pl, d as Rl, m as sl } from "./index-
|
|
3
|
-
import { g as al } from "./executeStringFunction-
|
|
2
|
+
import { i as Yl, a as hl, b as ul, s as eZ, r as Il, y as pl, d as Rl, m as sl } from "./index-BvLQlh3C.js";
|
|
3
|
+
import { g as al } from "./executeStringFunction-B27MIrxE.js";
|
|
4
4
|
import { Workbook as Kl } from "exceljs";
|
|
5
5
|
import Jl from "luckyexcel";
|
|
6
|
-
import { e as xl, b as Ml, n as Sl } from "./xlsx-hyperlink-inline-
|
|
7
|
-
import { parseDefinedNamesFromXlsxBuffer as Nl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-
|
|
6
|
+
import { e as xl, b as Ml, n as Sl } from "./xlsx-hyperlink-inline-CYEnkzt-.js";
|
|
7
|
+
import { parseDefinedNamesFromXlsxBuffer as Nl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-TZ-vTErq.js";
|
|
8
8
|
import { toast as fZ } from "@fileverse/ui";
|
|
9
9
|
var Zl = { exports: {} };
|
|
10
10
|
(function(m) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as w } from "./executeStringFunction-
|
|
2
|
-
import { J as x } from "./xlsx-hyperlink-inline-
|
|
1
|
+
import { i as w } from "./executeStringFunction-B27MIrxE.js";
|
|
2
|
+
import { J as x } from "./xlsx-hyperlink-inline-CYEnkzt-.js";
|
|
3
3
|
function g(o) {
|
|
4
4
|
return o.startsWith("_xlnm.");
|
|
5
5
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { utils as S, write as nt } from "xlsx-js-style";
|
|
2
2
|
import { Workbook as pt } from "exceljs";
|
|
3
3
|
import { toast as rt } from "@fileverse/ui";
|
|
4
|
-
import { J as dt, c as X, g as ht, a as mt } from "./xlsx-hyperlink-inline-
|
|
5
|
-
import { b as gt } from "./executeStringFunction-
|
|
6
|
-
import { e as bt } from "./index-
|
|
4
|
+
import { J as dt, c as X, g as ht, a as mt } from "./xlsx-hyperlink-inline-CYEnkzt-.js";
|
|
5
|
+
import { b as gt } from "./executeStringFunction-B27MIrxE.js";
|
|
6
|
+
import { e as bt } from "./index-BvLQlh3C.js";
|
|
7
7
|
const xt = {
|
|
8
8
|
1: "thin",
|
|
9
9
|
2: "hair",
|
|
@@ -854,7 +854,7 @@ const Z = (t) => {
|
|
|
854
854
|
O
|
|
855
855
|
);
|
|
856
856
|
});
|
|
857
|
-
const { applyDefinedNamesToExcelWorkbook: ct } = await import("./xlsx-defined-names-
|
|
857
|
+
const { applyDefinedNamesToExcelWorkbook: ct } = await import("./xlsx-defined-names-TZ-vTErq.js");
|
|
858
858
|
ct(
|
|
859
859
|
B,
|
|
860
860
|
(k = (C = (s = t.current).getWorkbookContext) == null ? void 0 : C.call(s)) == null ? void 0 : k.definedNames,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Rt, c as yt } from "./executeStringFunction-
|
|
2
|
-
import { c as wt } from "./index-
|
|
1
|
+
import { g as Rt, c as yt } from "./executeStringFunction-B27MIrxE.js";
|
|
2
|
+
import { c as wt } from "./index-BvLQlh3C.js";
|
|
3
3
|
function jt(J, nt) {
|
|
4
4
|
const g = J.getImages();
|
|
5
5
|
if (!g.length) return [];
|
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.1.23-stabilise-package-
|
|
5
|
+
"version": "4.1.23-stabilise-package-7",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/fileverse/fileverse-dsheets.git"
|