@fileverse-dev/dsheet 4.1.22 → 4.1.23
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/components/editor-workbook.d.ts +6 -0
- package/dist/editor/components/sidebar/editor-right-sidebar.d.ts +3 -1
- package/dist/editor/components/sidebar/sidebar-offsets.d.ts +12 -0
- package/dist/editor/components/sidebar/sidebar-offsets.test.d.ts +1 -0
- package/dist/editor/types.d.ts +13 -0
- package/dist/editor/utils/activate-sheet-for-link.d.ts +3 -0
- package/dist/editor/utils/active-sheet-keeper.d.ts +21 -0
- package/dist/editor/utils/editor-handle.d.ts +1 -1
- package/dist/editor/utils/navigate-to-sheet.d.ts +22 -0
- package/dist/{es-S4GKlN-t.js → es-BlDQ6jCL.js} +1 -0
- package/dist/{executeStringFunction-CQ922vEp.js → executeStringFunction-ZHYCWIpK.js} +5 -4
- package/dist/formula.js +1 -1
- package/dist/{hi-DMMTDTxZ.js → hi-CP0ta0Yk.js} +1 -0
- package/dist/{index-DhQTrCQd.js → index-8_qnUyMl.js} +14853 -14693
- package/dist/index.es.js +2 -2
- package/dist/sheet-engine/core/locale/en.d.ts +1 -0
- package/dist/sheet-engine/core/locale/es.d.ts +1 -0
- package/dist/sheet-engine/core/locale/hi.d.ts +1 -0
- package/dist/sheet-engine/core/locale/zh.d.ts +1 -0
- package/dist/sheet-engine/core/locale/zh_tw.d.ts +1 -0
- package/dist/sheet-engine/core/settings.d.ts +4 -0
- package/dist/sheet-engine/react/components/ContextMenu/sheet-tab-menu-items.d.ts +15 -0
- package/dist/style.css +1 -1
- package/dist/{template-data-list-BYOIK_Nd.js → template-data-list-apgmwRAT.js} +18 -10
- package/dist/{use-xlsx-import-impl-xphBNZu3.js → use-xlsx-import-impl-cgDH14_y.js} +4 -4
- package/dist/{xlsx-defined-names-3g5n40BA.js → xlsx-defined-names-DCK7aKIO.js} +2 -2
- package/dist/{xlsx-export-impl-DXyQpmMi.js → xlsx-export-impl-BHDWz0aW.js} +4 -4
- package/dist/{xlsx-hyperlink-inline-Cl9CbP5N.js → xlsx-hyperlink-inline-T4GsXFm7.js} +2 -2
- package/dist/{zh-Bv4KIDiJ.js → zh-CmOCFd5t.js} +1 -0
- package/dist/{zh_tw-BdpsK45h.js → zh_tw-BqyRw1gX.js} +1 -0
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as s, d as o, f as t, S as r, g as l, h as n, j as d, T as S, k as c, l as i, n as m, o as h, p, q as C, t as u, u as E, v as F, w as g, x, z as R, A, B as f, D as I, E as L, F as T, G as w, H as y, I as v, J as D, K as M, L as b, M as k, N as z, O, P } from "./index-
|
|
2
|
-
import { cy as G, cz as K, cA as U, cG as X, bs as _, e as j, f as B, l as H, a as J, dj as N, dk as q, bb as Y, dl as Z, dm as Q, dr as W, ds as $, du as ee, I as ae, dJ as se, eg as oe, b4 as te } from "./executeStringFunction-
|
|
1
|
+
import { C as s, d as o, f as t, S as r, g as l, h as n, j as d, T as S, k as c, l as i, n as m, o as h, p, q as C, t as u, u as E, v as F, w as g, x, z as R, A, B as f, D as I, E as L, F as T, G as w, H as y, I as v, J as D, K as M, L as b, M as k, N as z, O, P } from "./index-8_qnUyMl.js";
|
|
2
|
+
import { cy as G, cz as K, cA as U, cG as X, bs as _, e as j, f as B, l as H, a as J, dj as N, dk as q, bb as Y, dl as Z, dm as Q, dr as W, ds as $, du as ee, I as ae, dJ as se, eg as oe, b4 as te } from "./executeStringFunction-ZHYCWIpK.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 {
|
|
@@ -83,6 +83,10 @@ export type Hooks = {
|
|
|
83
83
|
afterDeleteSheet?: (id: string) => void;
|
|
84
84
|
beforeUpdateSheetName?: (id: string, oldName: string, newName: string) => boolean;
|
|
85
85
|
afterUpdateSheetName?: (id: string, oldName: string, newName: string) => void;
|
|
86
|
+
onCopySheetLink?: (args: {
|
|
87
|
+
sheetId: string;
|
|
88
|
+
sheetName: string;
|
|
89
|
+
}) => void;
|
|
86
90
|
afterImagesChange?: () => void;
|
|
87
91
|
afterIframesChange?: () => void;
|
|
88
92
|
afterFrozenChange?: () => void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const COPY_SHEET_LINK_ITEM = "copy-link";
|
|
2
|
+
type ReadOnlyFlags = {
|
|
3
|
+
isFlvReadOnly?: boolean;
|
|
4
|
+
allowEdit?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type CopyLinkHooks = {
|
|
7
|
+
onCopySheetLink?: unknown;
|
|
8
|
+
};
|
|
9
|
+
export declare function isSheetTabReadOnly(ctx: ReadOnlyFlags): boolean;
|
|
10
|
+
export declare function canOpenSheetTabMenu(ctx: ReadOnlyFlags, hooks: CopyLinkHooks): boolean;
|
|
11
|
+
export declare function getVisibleSheetTabMenuItems(items: string[], opts: {
|
|
12
|
+
readOnly: boolean;
|
|
13
|
+
hasCopyLink: boolean;
|
|
14
|
+
}): string[];
|
|
15
|
+
export {};
|