@fileverse-dev/dsheet 3.0.1-yjs-7 → 3.0.1-yjs-8
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-BBLWRXOR.js → executeStringFunction-DiaE7AnQ.js} +1760 -1699
- package/dist/formula.js +1 -1
- package/dist/{index-78Xn_oml.js → index-sIdumZnm.js} +11806 -11770
- package/dist/index.es.js +19 -19
- package/dist/sheet-engine/core/utils/range-format.d.ts +12 -0
- package/dist/{use-xlsx-import-impl-CLZVt3Rc.js → use-xlsx-import-impl-BQVMliBT.js} +2 -2
- package/dist/{xlsx-export-impl-CxWMMLgv.js → xlsx-export-impl-DJKw-fe3.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 n, e as d, T as c, f as i, 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
|
|
2
|
-
import {
|
|
1
|
+
import { C as s, a as t, b as o, S as l, d as r, i as n, e as d, T as c, f as i, 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 L, w as A, x as T, z as w, A as I, B as v, D, E as k } from "./index-sIdumZnm.js";
|
|
2
|
+
import { cg as _, ch as V, ci as b, cn as z, bf as P, e as U, f as X, l as y, a as B, cY as O, cZ as j, a_ as G, c_ as H, c$ as Y, d3 as Z, d4 as q, d6 as J, D as K, dk as N, dL as $, aT as Q } from "./executeStringFunction-DiaE7AnQ.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 {
|
|
@@ -15,16 +15,16 @@ export {
|
|
|
15
15
|
d as SupportedChain,
|
|
16
16
|
c as TEMPLATES,
|
|
17
17
|
i as api,
|
|
18
|
-
|
|
18
|
+
_ as clearColumnsCellsFormat,
|
|
19
19
|
S as clearFilter,
|
|
20
|
-
|
|
20
|
+
V as clearRowsCellsFormat,
|
|
21
21
|
b as clearSelectedCellFormat,
|
|
22
22
|
h as createFilter,
|
|
23
23
|
z as deleteRowCol,
|
|
24
24
|
P as deleteSelectedCellText,
|
|
25
25
|
m as describeMatchedShortcut,
|
|
26
26
|
U as executeStringFunction,
|
|
27
|
-
|
|
27
|
+
X as formulaResponseUiSync,
|
|
28
28
|
y as getFlowdata,
|
|
29
29
|
p as getRemoveDuplicatesErrorMessage,
|
|
30
30
|
C as getRemoveDuplicatesPreview,
|
|
@@ -35,25 +35,25 @@ export {
|
|
|
35
35
|
F as handleExportToJSON,
|
|
36
36
|
x as handleExportToXLSX,
|
|
37
37
|
O as handleFreeze,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
j as handleHorizontalAlign,
|
|
39
|
+
G as handleLink,
|
|
40
|
+
H as handleMerge,
|
|
41
41
|
R as handlePasteByClick,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
Y as handleSort,
|
|
43
|
+
Z as handleTextSize,
|
|
44
|
+
q as handleVerticalAlign,
|
|
45
45
|
f as importSpreadsheetFile,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
J as insertRowCol,
|
|
47
|
+
L as isBrowserZoomShortcut,
|
|
48
|
+
A as isFormulaListShortcut,
|
|
49
|
+
T as isOpenShortcutsModalShortcut,
|
|
50
50
|
K as jfrefreshgrid,
|
|
51
51
|
N as loadLocale,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
w as removeActiveImage,
|
|
53
|
+
I as removeDuplicates,
|
|
54
54
|
v as showImgChooser,
|
|
55
|
-
|
|
55
|
+
$ as toolbarItemClickHandler,
|
|
56
56
|
Q as updateFormat,
|
|
57
57
|
D as useEnsStatus,
|
|
58
|
-
|
|
58
|
+
k as useXLSXImport
|
|
59
59
|
};
|
|
@@ -20,6 +20,18 @@ export type CellFormatRange = {
|
|
|
20
20
|
declare function rangesEqual(a: CellFormatRange[] | undefined, b: CellFormatRange[] | undefined): boolean;
|
|
21
21
|
/** Merge overlapping/adjacent ranges that carry identical format attrs. */
|
|
22
22
|
export declare function normalizeCellFormatRanges(ranges: CellFormatRange[] | undefined): CellFormatRange[];
|
|
23
|
+
/**
|
|
24
|
+
* Remap format ranges after a row or column permutation, such as header
|
|
25
|
+
* drag-and-drop. A contiguous source range can become multiple rectangles
|
|
26
|
+
* when the moved indices are no longer contiguous.
|
|
27
|
+
*/
|
|
28
|
+
export declare function remapCellFormatRanges(ranges: CellFormatRange[] | undefined, axis: 'row' | 'column', indexMap: Record<number, number>): CellFormatRange[];
|
|
29
|
+
/**
|
|
30
|
+
* Move format ranges with a cut-and-paste cell block move. Formatting in both
|
|
31
|
+
* the old source and the overwritten destination is cleared; only the source
|
|
32
|
+
* intersection is translated to the target rectangle.
|
|
33
|
+
*/
|
|
34
|
+
export declare function moveCellFormatRanges(ranges: CellFormatRange[] | undefined, source: Pick<CellFormatRange, 'row' | 'column'>, target: Pick<CellFormatRange, 'row' | 'column'>): CellFormatRange[];
|
|
23
35
|
export declare function getCellFormatRangeGridBounds(ranges: CellFormatRange[] | undefined): {
|
|
24
36
|
maxRow: number;
|
|
25
37
|
maxCol: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as Ke } from "./executeStringFunction-
|
|
1
|
+
import { g as Ke } from "./executeStringFunction-DiaE7AnQ.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-sIdumZnm.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-DiaE7AnQ.js";
|
|
6
|
+
import { c as Ct } from "./index-sIdumZnm.js";
|
|
7
7
|
import { c as zt, g as Mt } from "./xlsx-hyperlink-inline-DzewAypN.js";
|
|
8
8
|
const Zt = {
|
|
9
9
|
1: "thin",
|