@fileverse-dev/dsheet 4.1.23-stabilise-package-4 → 4.1.23-stabilise-package-6
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/editor/hooks/use-celldata-compaction.d.ts +21 -0
- package/dist/editor/utils/remote-apply-guard.d.ts +10 -13
- package/dist/{executeStringFunction-BsVLVYUB.js → executeStringFunction-7PJajNOY.js} +4719 -4459
- package/dist/formula.js +1 -1
- package/dist/{index-YKT7Lz7Z.js → index-CYTfmipC.js} +5938 -5864
- package/dist/index.es.js +20 -20
- package/dist/sheet-engine/core/api/cell.d.ts +8 -3
- package/dist/sheet-engine/core/modules/formula-dep-text.d.ts +23 -0
- package/dist/sheet-engine/core/modules/formula-dep-text.test.d.ts +1 -0
- package/dist/sheet-engine/core/modules/formula-edge-update.d.ts +13 -0
- package/dist/sheet-engine/core/modules/formula-transitive-deps.d.ts +24 -3
- package/dist/sheet-engine/core/modules/formula-warmup.d.ts +4 -8
- package/dist/sheet-engine/core/modules/formula.d.ts +22 -0
- package/dist/sheet-engine/core/modules/history-celldata.d.ts +25 -0
- package/dist/sheet-engine/core/modules/rowcol-refused-edit.test.d.ts +1 -0
- package/dist/sheet-engine/core/modules/rowcol-unloaded-history.test.d.ts +1 -0
- package/dist/sheet-engine/react/components/NotationBoxes/shown-comments.d.ts +5 -1
- package/dist/sheet-engine/react/components/SheetOverlay/hover-tracker.d.ts +5 -1
- package/dist/{use-xlsx-import-impl-8Lojcck9.js → use-xlsx-import-impl-C1HeHhb9.js} +4 -4
- package/dist/{xlsx-defined-names-D3F23p2Z.js → xlsx-defined-names-k0uTgLHs.js} +2 -2
- package/dist/{xlsx-export-impl-DXWvjnk5.js → xlsx-export-impl-93M1pRiV.js} +4 -4
- package/dist/{xlsx-hyperlink-inline-07QbQDEt.js → xlsx-hyperlink-inline-C88tUQTK.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
|
|
2
|
-
import {
|
|
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-CYTfmipC.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-7PJajNOY.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 {
|
|
@@ -15,22 +15,22 @@ export {
|
|
|
15
15
|
d as SupportedChain,
|
|
16
16
|
S as TEMPLATES,
|
|
17
17
|
c as api,
|
|
18
|
-
|
|
18
|
+
z as clearColumnsCellsFormat,
|
|
19
19
|
i as clearFilter,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
J as clearRowsCellsFormat,
|
|
21
|
+
U as clearSelectedCellFormat,
|
|
22
22
|
h as createFilter,
|
|
23
23
|
m as decryptForRoomKey,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
X as deleteRowCol,
|
|
25
|
+
_ as deleteSelectedCellText,
|
|
26
26
|
p as describeMatchedShortcut,
|
|
27
27
|
C as encryptForRoomKey,
|
|
28
|
-
|
|
28
|
+
B as executeStringFunction,
|
|
29
29
|
u as fetchSessionState,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
G as formulaResponseUiSync,
|
|
31
|
+
H as getFlowdata,
|
|
32
|
+
F as getRemoveDuplicatesErrorMessage,
|
|
33
|
+
E as getRemoveDuplicatesPreview,
|
|
34
34
|
j as getSheetIndex,
|
|
35
35
|
x as handleCSVUpload,
|
|
36
36
|
g as handleCopy,
|
|
@@ -48,18 +48,18 @@ export {
|
|
|
48
48
|
$ as handleVerticalAlign,
|
|
49
49
|
w as importSpreadsheetFile,
|
|
50
50
|
ee as insertRowCol,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
y as isBrowserZoomShortcut,
|
|
52
|
+
T as isFormulaListShortcut,
|
|
53
|
+
v as isOpenShortcutsModalShortcut,
|
|
54
54
|
ae as jfrefreshgrid,
|
|
55
55
|
se as loadLocale,
|
|
56
56
|
D as remapCommentAnchors,
|
|
57
57
|
M as removeActiveImage,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
b as removeDuplicates,
|
|
59
|
+
k as seedSession,
|
|
60
|
+
K as showImgChooser,
|
|
61
61
|
oe as toolbarItemClickHandler,
|
|
62
62
|
te as updateFormat,
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
O as useEnsStatus,
|
|
64
|
+
P as useXLSXImport
|
|
65
65
|
};
|
|
@@ -8,10 +8,15 @@ export declare function getCellValue(ctx: Context, row: number, column: number,
|
|
|
8
8
|
export declare function setCellValue(ctx: Context, row: number, column: number, value: any, cellInput: HTMLDivElement | null, options?: CommonOptions, callAfterUpdate?: boolean): void;
|
|
9
9
|
export declare function applyRemoteCellValue(ctx: Context, row: number, column: number, value: any, options?: CommonOptions): void;
|
|
10
10
|
/**
|
|
11
|
-
* Replace a sheet's formula list with the collaborator's value from Yjs
|
|
12
|
-
*
|
|
13
|
-
* is what the grid rebuild it replaces produced, without the rebuild. The
|
|
11
|
+
* Replace a sheet's formula list with the collaborator's value from Yjs (A4).
|
|
12
|
+
* This is what the grid rebuild it replaces produced, without the rebuild. The
|
|
14
13
|
* caller runs it with noHistory.
|
|
14
|
+
*
|
|
15
|
+
* The dependency edges follow the change (C8): an entry that left the chain
|
|
16
|
+
* loses its edges, one that joined gets the edges its cell's text names (or
|
|
17
|
+
* runs on every commit until its cell arrives), and the rest are left alone, so
|
|
18
|
+
* `depGraphComplete` stays on. When the two chains can't be compared the
|
|
19
|
+
* indexes reset to a fresh mount's state.
|
|
15
20
|
*/
|
|
16
21
|
export declare function setSheetCalcChain(ctx: Context, calcChain: Sheet['calcChain'], options?: CommonOptions): void;
|
|
17
22
|
export type RemoteCellChange = {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Context } from '../context';
|
|
2
|
+
import { WideRange } from './formula-transitive-deps';
|
|
3
|
+
|
|
4
|
+
/** Same cap as `execfunction` (MAX_RANGE_DEPS in formula.ts). */
|
|
5
|
+
export declare const MAX_TEXT_RANGE_DEPS = 10000;
|
|
6
|
+
export type FormulaTextDeps = {
|
|
7
|
+
/** `${sheetId}:${r}:${c}` of every cell the formula reads. */
|
|
8
|
+
deps: Set<string>;
|
|
9
|
+
/** Too wide or unresolvable to list. */
|
|
10
|
+
wide: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The ranges that made it wide, as `execfunction` records them. `null` when
|
|
13
|
+
* the formula is wide but its ranges can't be read from its text (an
|
|
14
|
+
* unresolved tab, INDIRECT, OFFSET, a whole row or column of a tab with no
|
|
15
|
+
* grid): it joins every commit's walk. `[]` when it is not wide.
|
|
16
|
+
*/
|
|
17
|
+
wideRanges: WideRange[] | null;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Collect the references of formula text `f` (with its leading `=`) written
|
|
21
|
+
* in cell (`r`, `c`) of tab `sheetId`.
|
|
22
|
+
*/
|
|
23
|
+
export declare function collectFormulaTextDeps(ctx: Context, f: string, sheetId: string, r: number, c: number): FormulaTextDeps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Context } from '../context';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Set the edges of the formula `f` written in (`r`, `c`) of tab `sheetId`, or
|
|
5
|
+
* drop them when `f` is null (the value is no longer a formula).
|
|
6
|
+
*/
|
|
7
|
+
export declare function setFormulaEdgesFromText(ctx: Context, r: number, c: number, sheetId: string, f: string | null): void;
|
|
8
|
+
/**
|
|
9
|
+
* A chain entry whose cell isn't here yet (a peer's chain can arrive before
|
|
10
|
+
* its cells): it can't be read, so it runs on every commit until the cell
|
|
11
|
+
* arrives and replaces this.
|
|
12
|
+
*/
|
|
13
|
+
export declare function markFormulaEdgesUnknown(ctx: Context, r: number, c: number, sheetId: string): void;
|
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
/** Cell / formula key format used in depsByCell and revDepsByCell. */
|
|
2
2
|
export declare function toFormulaDepCellKey(sheetId: string, r: number, c: number): string;
|
|
3
|
+
/** A range a wide formula reads (more cells than get individual edges). */
|
|
4
|
+
export type WideRange = {
|
|
5
|
+
sheetId: string;
|
|
6
|
+
startRow: number;
|
|
7
|
+
endRow: number;
|
|
8
|
+
startCol: number;
|
|
9
|
+
endCol: number;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Wide formulas (ranges over MAX_RANGE_DEPS cells record no cell edges).
|
|
13
|
+
* `ranges` holds the ranges of those whose ranges could be read; a key in
|
|
14
|
+
* `keys` without an entry in `ranges` can't be bounded, so it joins every walk.
|
|
15
|
+
*/
|
|
16
|
+
export type WideFormulaIndex = {
|
|
17
|
+
keys: Iterable<string>;
|
|
18
|
+
ranges: Map<string, WideRange[]>;
|
|
19
|
+
};
|
|
3
20
|
/**
|
|
4
21
|
* Walk revDepsByCell from a changed cell to collect every formula cell that
|
|
5
22
|
* must recalculate (direct + transitive dependents).
|
|
6
23
|
*
|
|
7
24
|
* `extraFormulaSeeds` are formulas that run on every commit whatever the
|
|
8
|
-
* graph says (
|
|
9
|
-
*
|
|
25
|
+
* graph says (named ranges covering the edited cell). They join the same
|
|
26
|
+
* walk, so formulas that read their results are reached too.
|
|
27
|
+
*
|
|
28
|
+
* A wide formula joins the walk only when one of its ranges holds the edited
|
|
29
|
+
* cell or a formula cell the walk reaches; one whose ranges can't be read
|
|
30
|
+
* joins every walk. It then seeds the walk like any other formula.
|
|
10
31
|
*/
|
|
11
|
-
export declare function collectTransitiveFormulaDependents(originCellKey: string, revDepsByCell: Map<string, Set<string>>, extraFormulaSeeds?: Iterable<string
|
|
32
|
+
export declare function collectTransitiveFormulaDependents(originCellKey: string, revDepsByCell: Map<string, Set<string>>, extraFormulaSeeds?: Iterable<string>, wide?: WideFormulaIndex): Set<string>;
|
|
@@ -5,21 +5,17 @@ export declare const FORMULA_WARMUP_DEBOUNCE_MS = 2000;
|
|
|
5
5
|
export declare const FORMULA_WARMUP_IDLE_TIMEOUT_MS = 1000;
|
|
6
6
|
export type FormulaWarmupResult = 'complete' | 'aborted';
|
|
7
7
|
export type FormulaWarmupOptions = {
|
|
8
|
-
/** Longest a slice keeps
|
|
8
|
+
/** Longest a slice keeps reading formulas before it yields (default 8). */
|
|
9
9
|
budgetMs: number;
|
|
10
10
|
/** Runs the next slice later (idle callback in the app). */
|
|
11
11
|
schedule: (cb: () => void) => void;
|
|
12
12
|
isCancelled?: () => boolean;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
* ETHERSCAN, EOA). The warm-up records their arguments but never calls them.
|
|
17
|
-
*/
|
|
18
|
-
export declare function isAsyncFormulaFunction(name: string): boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Walk the calc chain in slices and record every formula's dependencies, then
|
|
15
|
+
* Walk the calc chain in slices and read every formula's references, then
|
|
21
16
|
* mark the graph complete (C8). Resolves 'aborted' if the graph is cleared
|
|
22
|
-
* while it runs
|
|
17
|
+
* while it runs or `isCancelled` says so. A tab with no grid is read from its
|
|
18
|
+
* `celldata`.
|
|
23
19
|
*
|
|
24
20
|
* Pass a getter to read the latest context in each slice (the Workbook does);
|
|
25
21
|
* a plain context is used as is.
|
|
@@ -2,6 +2,7 @@ import { Cell, CellMatrix, Rect, Selection } from '../types';
|
|
|
2
2
|
import { Context } from '../context';
|
|
3
3
|
import { FormulaAsyncEvalJob } from './formula-async-eval';
|
|
4
4
|
import { RangePassCacheEntry } from './formula-range-cache';
|
|
5
|
+
import { WideRange } from './formula-transitive-deps';
|
|
5
6
|
import { SnapshotEvalOutput } from './formula-snapshot-eval';
|
|
6
7
|
|
|
7
8
|
/** True when the formula is only numeric ops on TODAY()/NOW() (incl. unary +/−); used to display serials as dates. */
|
|
@@ -51,6 +52,14 @@ export declare class FormulaCache {
|
|
|
51
52
|
* affect them even when no precise reverse edge exists.
|
|
52
53
|
*/
|
|
53
54
|
formulasWithWideRangeDeps: Set<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The ranges of the wide formulas whose ranges could be read, by formula
|
|
57
|
+
* key. A wide formula joins a commit's walk only when one of these holds the
|
|
58
|
+
* edited cell or a formula cell the walk reaches. A key in
|
|
59
|
+
* `formulasWithWideRangeDeps` with no entry here (an unresolved tab, an
|
|
60
|
+
* unreadable range) joins every walk.
|
|
61
|
+
*/
|
|
62
|
+
wideRangesByFormula: Map<string, WideRange[]>;
|
|
54
63
|
/**
|
|
55
64
|
* True once a full pass has evaluated every formula in the chain since the
|
|
56
65
|
* indexes were last reset, so `revDepsByCell` lists every dependent of every
|
|
@@ -77,6 +86,10 @@ export declare class FormulaCache {
|
|
|
77
86
|
originKey: string;
|
|
78
87
|
deps: Set<string>;
|
|
79
88
|
hasWideRangeDep: boolean;
|
|
89
|
+
/** Ranges over the cap, in the order they were read. */
|
|
90
|
+
wideRanges: WideRange[];
|
|
91
|
+
/** A wide dependency whose range can't be bounded (unresolved tab). */
|
|
92
|
+
wideUnreadable: boolean;
|
|
80
93
|
};
|
|
81
94
|
/** Step 2: per execFunctionGroup pass cache for materialized range reads. */
|
|
82
95
|
rangeValuePassCache?: Map<string, RangePassCacheEntry>;
|
|
@@ -110,6 +123,8 @@ export declare class FormulaCache {
|
|
|
110
123
|
export declare function iscelldata(txt: string): boolean;
|
|
111
124
|
export declare function getcellrange(ctx: Context, txt: string, formulaId?: string): any;
|
|
112
125
|
export declare function getAllFunctionGroup(ctx: Context): any[];
|
|
126
|
+
/** Remove the dependency edges recorded for a cell that is no longer a formula. */
|
|
127
|
+
export declare function dropDependencyEdges(ctx: Context, r: number, c: number, id: string): void;
|
|
113
128
|
/**
|
|
114
129
|
* delFunctionGroup for many cells of one sheet: the chain and the dynamic
|
|
115
130
|
* array list are filtered once, not scanned and copied per cell. Same result
|
|
@@ -131,8 +146,15 @@ export declare function resetFormulaDependencyIndexes(ctx: Context): void;
|
|
|
131
146
|
* has recorded its dependencies, unless the graph was invalidated meanwhile.
|
|
132
147
|
*/
|
|
133
148
|
export declare function finishFullFormulaPass(ctx: Context, epoch: number | null | undefined): void;
|
|
149
|
+
/**
|
|
150
|
+
* INDIRECT and OFFSET would resolve references at run time, which the graph
|
|
151
|
+
* cannot see. Today both evaluate to an error (formulajs implements neither),
|
|
152
|
+
* but formulas using them are kept on every commit's run list regardless.
|
|
153
|
+
*/
|
|
154
|
+
export declare const RUNTIME_REFERENCE_RE: RegExp;
|
|
134
155
|
export declare function execfunction(ctx: Context, txt: string, r: number, c: number, id?: string, calcChainSet?: Set<string>, isrefresh?: boolean, notInsertFunc?: boolean): any[];
|
|
135
156
|
export declare function groupValuesRefresh(ctx: Context): void;
|
|
157
|
+
export declare function mergeFormulaDeps(ctx: Context, originKey: string, deps: Iterable<string>): void;
|
|
136
158
|
/** Apply worker chunk output onto the live context (main thread only). */
|
|
137
159
|
export declare function applyWorkerFormulaChunkResults(ctx: Context, output: SnapshotEvalOutput, impactedByCircular: Set<string>, cycleNodes: Set<string>, calcChainKeys?: string[], data?: CellMatrix | null): void;
|
|
138
160
|
/** Run up to `chunkSize` formulas from an async job. Returns true when job is complete. */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A structural edit rewrites the cross-tab formulas of a tab that is not
|
|
3
|
+
* loaded in its `celldata`, as one replacement of the whole array (PR 466 N1).
|
|
4
|
+
* Undo and redo replay that replacement, so the engine is right; the Yjs write
|
|
5
|
+
* for it compares the two arrays here.
|
|
6
|
+
*
|
|
7
|
+
* Only formulas that name another tab (they contain `!`) are compared. Those
|
|
8
|
+
* are the cells a structural edit on another tab can rewrite; a cell a
|
|
9
|
+
* collaborator changed in between is not written back.
|
|
10
|
+
*/
|
|
11
|
+
type CelldataEntry = {
|
|
12
|
+
r: number;
|
|
13
|
+
c: number;
|
|
14
|
+
v?: any;
|
|
15
|
+
};
|
|
16
|
+
export type CelldataArrayChange = {
|
|
17
|
+
sheetId: string;
|
|
18
|
+
path: ['celldata'];
|
|
19
|
+
key: string;
|
|
20
|
+
value: CelldataEntry | null;
|
|
21
|
+
type: 'update' | 'delete';
|
|
22
|
+
};
|
|
23
|
+
/** The Yjs changes that turn `before` into `after` for the cross-tab formulas. */
|
|
24
|
+
export declare function celldataArrayChanges(sheetId: string, before: CelldataEntry[] | undefined, after: CelldataEntry[] | undefined): CelldataArrayChange[];
|
|
25
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,6 +3,8 @@ import { Cell } from '../../../core/types';
|
|
|
3
3
|
export type ShownCommentCell = {
|
|
4
4
|
r: number;
|
|
5
5
|
c: number;
|
|
6
|
+
/** Position, size and text of the pinned box (see `shownCommentsKey`). */
|
|
7
|
+
sig: string;
|
|
6
8
|
};
|
|
7
9
|
/** Cells whose comment popup is pinned open (`ps.isShow`), in row-major order. */
|
|
8
10
|
export declare function collectShownCommentCells(data: (Cell | null)[][]): ShownCommentCell[];
|
|
@@ -11,6 +13,8 @@ export declare function collectShownCommentCells(data: (Cell | null)[][]): Shown
|
|
|
11
13
|
* when this changes, so an edit that leaves the set alone costs no second
|
|
12
14
|
* context update. The sheet id is part of the key so that switching to a sheet
|
|
13
15
|
* with an equal (for example empty) set still replaces the previous sheet's
|
|
14
|
-
* boxes.
|
|
16
|
+
* boxes. Moving or resizing a pinned box, or a peer editing its text, writes
|
|
17
|
+
* `ps` but not `commentBoxes`, so each shown cell's `ps` position, size and
|
|
18
|
+
* text are part of the key too.
|
|
15
19
|
*/
|
|
16
20
|
export declare function shownCommentsKey(sheetId: string | undefined, cells: ShownCommentCell[]): string;
|
|
@@ -34,7 +34,11 @@ export declare function createHoverTracker({ getRect, locate, isInteracting, req
|
|
|
34
34
|
/**
|
|
35
35
|
* True when `handleOverlayMouseMove` or `overShowLinkCard` do something that
|
|
36
36
|
* depends on more than the hovered cell: a comment box, image, cell or dialog
|
|
37
|
-
* drag,
|
|
37
|
+
* drag, a popup that must see the pointer leave it, or one of the drag states
|
|
38
|
+
* after which `handleOverlayMouseMove` runs `mouseRender` on every move
|
|
39
|
+
* (`luckysheet_scroll_status` is set by every drag start). Outside the grid
|
|
40
|
+
* every position maps to "no cell", so auto-scroll and the resize guide need
|
|
41
|
+
* each move.
|
|
38
42
|
*/
|
|
39
43
|
export declare function isHoverInteractionActive(ctx: Context, globalCache: GlobalCache): boolean;
|
|
40
44
|
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-CYTfmipC.js";
|
|
3
|
+
import { g as al } from "./executeStringFunction-7PJajNOY.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-C88tUQTK.js";
|
|
7
|
+
import { parseDefinedNamesFromXlsxBuffer as Nl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-k0uTgLHs.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-7PJajNOY.js";
|
|
2
|
+
import { J as x } from "./xlsx-hyperlink-inline-C88tUQTK.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-C88tUQTK.js";
|
|
5
|
+
import { b as gt } from "./executeStringFunction-7PJajNOY.js";
|
|
6
|
+
import { e as bt } from "./index-CYTfmipC.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-k0uTgLHs.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-7PJajNOY.js";
|
|
2
|
+
import { c as wt } from "./index-CYTfmipC.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-6",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/fileverse/fileverse-dsheets.git"
|