@sheetxl/react 0.8.0-beta.23 → 0.8.0-beta.25
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/browser/esm/{OPWkc7t367MwVsVU.mjs → 1D6OzzpwblKRdWpp.mjs} +1 -1
- package/browser/esm/{BHukFXtx1rpfvfIy.mjs → B1Mh7jnLdDLJ8Sbu.mjs} +1 -1
- package/browser/esm/{BN7pckCvCRZMPCmK.mjs → B5xlS-NH-I0ojDUL.mjs} +3 -3
- package/browser/esm/{DQ5DeFNj_0mj6QMd.mjs → BEK4faMDytVTvUDQ.mjs} +1 -1
- package/browser/esm/{BklsD3lkZGRSwAFi.mjs → BebYKs4pZjoR0c-G.mjs} +1 -1
- package/browser/esm/{CEtZlL4v4JU0TDVR.mjs → Bgh_5UVfWBlRnyMJ.mjs} +6 -6
- package/browser/esm/{Cw3PQMs1RDxzIo35.mjs → BiRwSIwKgCyzpPKl.mjs} +1 -1
- package/browser/esm/{DSvlk_YzOev20rgN.mjs → BxvLQ7TseovEAEQ2.mjs} +121 -114
- package/browser/esm/{CmYMKPG-TaW2dJPu.mjs → CFL62hRUU3c3h19g.mjs} +1 -1
- package/browser/esm/{D5r5ejlRpFFXN6TK.mjs → CU5kNtBMkYQTB6Ou.mjs} +4 -4
- package/browser/esm/{CGEyv-QdxMuQmLqk.mjs → CVZ1DhJlSINqiTms.mjs} +1 -1
- package/browser/esm/{B7RYx03rC74aIduo.mjs → CaWOoS_fS1h9ncuL.mjs} +3 -3
- package/browser/esm/{D952mmmww4cYPatc.mjs → CmZBuNNcJfNXvtWt.mjs} +1 -1
- package/browser/esm/{CruGvs0fdtWWO_Di.mjs → D0yuUz06KAg8hj5n.mjs} +1 -1
- package/browser/esm/{DedLmnV_HajYHYSM.mjs → DGqaTM3cm7sgOKxo.mjs} +2 -2
- package/browser/esm/{BG96UT5-ooOuigD0.mjs → D_Nyujo5EexX7Ik6.mjs} +1 -1
- package/browser/esm/{G6Ek0k1QC1pUHvPd.mjs → DmA3zHUkMLqVc53n.mjs} +1 -1
- package/browser/esm/{C-eTPeTwXQoqn3Lb.mjs → DpxsvmUc72eJhaeA.mjs} +2 -2
- package/browser/esm/{CD5gjg2DVLsy6h33.mjs → DwBSdG92z7qNJoDF.mjs} +6 -6
- package/browser/esm/{B1qMCa-WDnmPYR_C.mjs → OUpgfp6QUbCw2JjX.mjs} +2 -2
- package/browser/esm/{2-8Z3hKcjFc9IUm_.mjs → QhqaS5eOwg1YW-ax.mjs} +3 -3
- package/browser/esm/{CXJmpmqTkVe25Ita.mjs → Qu6b2fE5EuV8rFuH.mjs} +2 -2
- package/browser/esm/{C9wgyCKVT4rwQMSD.mjs → X8pCrVH9mOwzmhAT.mjs} +1 -1
- package/browser/esm/chart.mjs +3 -3
- package/browser/esm/control.mjs +2 -2
- package/browser/esm/{B1rKvYmr4ynvDkqM.mjs → eCXp5pevrfZeVNuS.mjs} +3 -3
- package/browser/esm/group.mjs +3 -3
- package/browser/esm/index.mjs +6285 -6253
- package/browser/esm/{CLD7Vob5oUran-l0.mjs → kElc5xgYrONCnc3w.mjs} +1 -1
- package/browser/esm/note.mjs +4 -4
- package/browser/esm/picture.mjs +2 -2
- package/browser/esm/shape.mjs +2 -2
- package/browser/esm/slicer.mjs +4 -4
- package/node/esm/{CF5ztfx05vyEMEub.mjs → 8dX5vLA0dfRWFigY.mjs} +1 -1
- package/node/esm/{CeSZX96RPPjn29Hw.mjs → BGfMqduMj7kHNqFg.mjs} +2 -2
- package/node/esm/{DL2RKBB2PXzdJyx_.mjs → BTUPUAeTO_slGsmB.mjs} +4 -4
- package/node/esm/{VFXZqkIvB9MDE2Ea.mjs → BU-41nrf91sbcnf0.mjs} +1 -1
- package/node/esm/{B5ae_WW6vAz2jOsn.mjs → BpVN99Qgh2H9lbdr.mjs} +1 -1
- package/node/esm/{Bv0fGxNecKUr_qYS.mjs → BwwXJwaw7XTRLtn9.mjs} +1 -1
- package/node/esm/{D8mwVRSclIFn5SVM.mjs → CG3mES3E-4oVlGPQ.mjs} +2 -2
- package/node/esm/{Cx16BErZDzlQEXH_.mjs → CWaUtnvh3coqJWu6.mjs} +2 -2
- package/node/esm/{iMUcM8KW4HIW2Ksm.mjs → CYhOtY_qteB8hW0d.mjs} +1 -1
- package/node/esm/{CeuVkQpY8O4nZG-k.mjs → C_HKnyZzG6TtasBb.mjs} +2 -2
- package/node/esm/{BKrvkWuGTMdkvdy6.mjs → C_y09rwADHr5kN9t.mjs} +1 -1
- package/node/esm/{BD04OJgRWKiE2W1H.mjs → CqM5N55n5QSWlEnM.mjs} +1 -1
- package/node/esm/{BhgjRcXOyNKBdqUW.mjs → CwaFZna7L5Zw83V-.mjs} +5 -5
- package/node/esm/{BGLOvRRJr4nt8QdO.mjs → D-2zoB5MPYwtIAlQ.mjs} +1 -1
- package/node/esm/{k3c-0DQ1fifSFOnO.mjs → DJFeOYnJtTPSGy6E.mjs} +1 -1
- package/node/esm/{DmHHRlyfyFWj6wvW.mjs → DJkObRi01LRJravR.mjs} +1 -1
- package/node/esm/{DJyNfqgeIlJ6lOHS.mjs → D_pCpZrBTiKFUsLL.mjs} +1 -1
- package/node/esm/{YC2O0ix33xKY0ShQ.mjs → Dp4XRrrKNFPxPGPF.mjs} +1 -1
- package/node/esm/{BMWwIbesFn8e6-Ov.mjs → LRacHWC09830qZfm.mjs} +1 -1
- package/node/esm/{vYeFE_eUMRqsgnkd.mjs → SaZiz4Ixqhc-dM-f.mjs} +1 -1
- package/node/esm/chart.mjs +2 -2
- package/node/esm/control.mjs +2 -2
- package/node/esm/group.mjs +3 -3
- package/node/esm/index.mjs +2997 -2965
- package/node/esm/note.mjs +4 -4
- package/node/esm/picture.mjs +78 -70
- package/node/esm/shape.mjs +6 -6
- package/node/esm/slicer.mjs +4 -4
- package/node/esm/{Csl959_HnUC4Y06N.mjs → uwZ4cOz3l7NtSjzd.mjs} +1 -1
- package/package.json +7 -7
- package/types/src/workbook/IWorkbookElement.d.ts +35 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { n as e } from "./
|
|
8
|
-
import { t } from "./
|
|
7
|
+
import { n as e } from "./DmA3zHUkMLqVc53n.mjs";
|
|
8
|
+
import { t } from "./D0yuUz06KAg8hj5n.mjs";
|
|
9
9
|
import { forwardRef as n, memo as r, useEffect as i } from "react";
|
|
10
10
|
import { jsx as a } from "react/jsx-runtime";
|
|
11
11
|
import { useImperativeElement as o, useMeasure as s, useTranslator as c } from "@sheetxl/utils-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
8
|
-
import { n as t } from "./
|
|
9
|
-
import { t as n } from "./
|
|
10
|
-
import { t as r } from "./
|
|
11
|
-
import { i, n as a, r as o, t as ee } from "./
|
|
7
|
+
import { t as e } from "./D_Nyujo5EexX7Ik6.mjs";
|
|
8
|
+
import { n as t } from "./CmZBuNNcJfNXvtWt.mjs";
|
|
9
|
+
import { t as n } from "./CFL62hRUU3c3h19g.mjs";
|
|
10
|
+
import { t as r } from "./BebYKs4pZjoR0c-G.mjs";
|
|
11
|
+
import { i, n as a, r as o, t as ee } from "./BiRwSIwKgCyzpPKl.mjs";
|
|
12
12
|
import { forwardRef as s, memo as c, useCallback as l, useEffect as u, useMemo as d, useReducer as te, useRef as f, useState as p } from "react";
|
|
13
13
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
14
14
|
import { messageKey as ne } from "@sheetxl/utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
8
|
-
import { n as t } from "./
|
|
9
|
-
import { t as n } from "./
|
|
10
|
-
import { i as r, r as i, t as a } from "./
|
|
7
|
+
import { t as e } from "./D_Nyujo5EexX7Ik6.mjs";
|
|
8
|
+
import { n as t } from "./CmZBuNNcJfNXvtWt.mjs";
|
|
9
|
+
import { t as n } from "./CVZ1DhJlSINqiTms.mjs";
|
|
10
|
+
import { i as r, r as i, t as a } from "./BiRwSIwKgCyzpPKl.mjs";
|
|
11
11
|
import { forwardRef as o, memo as s, useCallback as c, useEffect as l, useId as u, useMemo as d, useReducer as ee, useRef as te, useState as f } from "react";
|
|
12
|
-
import { jsx as p, jsxs as
|
|
13
|
-
import { useSurfaceStateSetter as
|
|
14
|
-
import { ReactUtils as
|
|
15
|
-
var
|
|
16
|
-
let r =
|
|
12
|
+
import { jsx as p, jsxs as ne } from "react/jsx-runtime";
|
|
13
|
+
import { useSurfaceStateSetter as re } from "@sheetxl/grid-react";
|
|
14
|
+
import { ReactUtils as ie, useImperativeElement as ae, useNotifier as oe, usePendingRender as se } from "@sheetxl/utils-react";
|
|
15
|
+
var m = (e) => Math.round(1e3 * e) / 1e3, h = (e, t, n) => {
|
|
16
|
+
let r = m(50 * (1 - e.width / (n * t.width))), i = m(50 * (1 - e.height / (n * t.height)));
|
|
17
17
|
return {
|
|
18
18
|
left: r,
|
|
19
19
|
right: r,
|
|
20
20
|
top: i,
|
|
21
21
|
bottom: i
|
|
22
22
|
};
|
|
23
|
-
},
|
|
23
|
+
}, g = (e, t) => h(e, t, Math.max(e.width / t.width, e.height / t.height)), _ = (e, t) => h(e, t, Math.min(e.width / t.width, e.height / t.height)), v = (e, t, n) => {
|
|
24
24
|
let r = Math.min(e.width, e.height * n), i = r / n, { left: a = 0, top: o = 0, right: s = 0, bottom: c = 0 } = t, l = (e.width - r) / 2 / e.width * (100 - a - s), u = (e.height - i) / 2 / e.height * (100 - o - c);
|
|
25
25
|
return {
|
|
26
26
|
bounds: {
|
|
@@ -30,18 +30,18 @@ var h = (e) => Math.round(1e3 * e) / 1e3, g = (e, t, n) => {
|
|
|
30
30
|
height: i
|
|
31
31
|
},
|
|
32
32
|
crop: {
|
|
33
|
-
left:
|
|
34
|
-
right:
|
|
35
|
-
top:
|
|
36
|
-
bottom:
|
|
33
|
+
left: m(a + l),
|
|
34
|
+
right: m(s + l),
|
|
35
|
+
top: m(o + u),
|
|
36
|
+
bottom: m(c + u)
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
-
},
|
|
39
|
+
}, y = "data:image/webp;base64,UklGRhIPAABXRUJQVlA4TAYPAAAv/8F/EM8HIZJtWU0fdlTh3wRCIMlkE+EqkiTFyt57/KQ8/zKeEf5iaseNJClS1DGDxWcwvhfuCo5tW88SHw8Xh5ypbC3tnf8QHEfOB/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32ptQPkd3xZx24NkYX1EbIsVczQUotivppivhSW1J2undDHDzGhqQfno+HZmHCkhDtYzG5fZzpKOOTUblxmrSUic2gjrv9KSoym8GJH0l6SozC40J9UlbHUnB4vETpK9OPorkZURWkcY6H4VjEbPupLWe9WKwriHpreZfIniyqPOkuSLmuaU3rRtpr4N7hf9/4yfSX+d2Sj6tqZdBKsx5j9Tu6EBa7IRLZLt6OUiRHZoqr62NSJddiHTLKsVJ+uzAWElXLBheRhrN4ZwmpcdakFarNS9bxDnMToMUW9148cTMKyfldvpu0WTecJz0mxEn1x2e+DzScQ6fTAsmZ2xtTz+n5juS5bGlM+m66meSZPl7Y2dnUnjLtmaIsSpxVEdSerkuvwiTmOedIMV38uKUcHfXqwFSflVL4zPDeJxhV3uyBB2/cnx4+sK8QJahqm47Y8PNg9c0JItRedyM2PAxMWqZQVakyrgZMeFg7y8PsS7VeuO70P4bxP3ZRaUGWZ6OmVv9oSk63llBVqkLh4Zt9IaW1Tt6tjfIYhWRY86YGCKH/WWGmUOWraaHxzw1yV2DMxQ2zHq51Tmyfl2o99bI25Jig2vP54ljDp9ykLWsdj3fkO9vvWPKtL8wndo7YeztOy8bcKh5OVncyhq2XNrd96ZpLrjy5/qYb/l8S7q2r1NJlj/bf7b/bP/Z/rP9Z/vP9p/tP9t/tv9s//3djwA=", b = {
|
|
40
40
|
left: "0%",
|
|
41
41
|
top: "0%",
|
|
42
42
|
width: "100%",
|
|
43
43
|
height: "100%"
|
|
44
|
-
},
|
|
44
|
+
}, x = {
|
|
45
45
|
position: "absolute",
|
|
46
46
|
left: 0,
|
|
47
47
|
top: 0,
|
|
@@ -49,17 +49,17 @@ var h = (e) => Math.round(1e3 * e) / 1e3, g = (e, t, n) => {
|
|
|
49
49
|
height: "100%",
|
|
50
50
|
display: "block",
|
|
51
51
|
pointerEvents: "none"
|
|
52
|
-
},
|
|
53
|
-
let { children:
|
|
54
|
-
e(
|
|
52
|
+
}, S = s(o((o, s) => {
|
|
53
|
+
let { children: m, disabled: h, style: g, picture: _, movable: v, zoom: S = 1, gesture: ce, description: le, tile: C, offsetX: ue = 0, offsetY: w = 0, isDragging: de, onHide: fe, onShow: pe, onDragZone: me, onTap: T, adornmentHost: he, flip: E, onKeyDownCapture: ge, onFocus: _e, onBlur: ve, loadingPanel: ye, ...be } = o, [D, O] = f(!1), [k, xe] = f(null), [A, j] = f(null), [M, N] = f(null), [Se, P] = ee((e) => e + 1, 0);
|
|
54
|
+
e(_, { onAnyChange: P }), e(v ?? null, {
|
|
55
55
|
onBoundsChange: P,
|
|
56
56
|
onSelectionChange: P
|
|
57
57
|
});
|
|
58
|
-
let Ce = t(), F =
|
|
58
|
+
let Ce = t(), F = oe(), I = _.toJSON(), { width: L, height: R, rotation: z } = r(v), B = L > 0 && R > 0, V = !!I.fill || !!I.stroke || I.geometry !== void 0 && I.geometry !== "rect", we = I.adjustments ? JSON.stringify(I.adjustments) : "", [H, U] = f(null), [Te, W] = f(!1);
|
|
59
59
|
l(() => {
|
|
60
60
|
if (!V || !B) return U(null), void W(!1);
|
|
61
61
|
let e = !0;
|
|
62
|
-
return
|
|
62
|
+
return _.getGeometry(L, R).then((t) => {
|
|
63
63
|
e && (U(t), W(!0));
|
|
64
64
|
}, () => {
|
|
65
65
|
e && (U(null), W(!0));
|
|
@@ -67,7 +67,7 @@ var h = (e) => Math.round(1e3 * e) / 1e3, g = (e, t, n) => {
|
|
|
67
67
|
e = !1;
|
|
68
68
|
};
|
|
69
69
|
}, [
|
|
70
|
-
|
|
70
|
+
_,
|
|
71
71
|
V,
|
|
72
72
|
B,
|
|
73
73
|
I.geometry,
|
|
@@ -78,70 +78,78 @@ var h = (e) => Math.round(1e3 * e) / 1e3, g = (e, t, n) => {
|
|
|
78
78
|
B,
|
|
79
79
|
L,
|
|
80
80
|
R
|
|
81
|
-
]);
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
]), [Ee, De] = f(null);
|
|
82
|
+
l(() => {
|
|
83
|
+
if (!C || !A) return;
|
|
84
|
+
let e = !0, t = new Image();
|
|
85
|
+
return t.src = A, (typeof t.decode == "function" ? t.decode() : Promise.resolve()).catch(() => {}).then(() => {
|
|
86
|
+
e && De(A);
|
|
87
|
+
}), () => {
|
|
88
|
+
e = !1;
|
|
89
|
+
};
|
|
90
|
+
}, [C, A]), se(!D && (C ? Ee !== A || !A : !k) || V && B && !Te);
|
|
91
|
+
let K = Ce?.getStyles() ?? null, q = d(() => V ? i({
|
|
84
92
|
fill: I.fill,
|
|
85
93
|
stroke: I.stroke,
|
|
86
94
|
style: null
|
|
87
|
-
},
|
|
95
|
+
}, K) : null, [
|
|
88
96
|
V,
|
|
89
97
|
I.fill,
|
|
90
98
|
I.stroke,
|
|
91
|
-
|
|
92
|
-
]),
|
|
99
|
+
K
|
|
100
|
+
]), Oe = `${u().replace(/[^A-Za-z0-9_-]/g, "")}-clip`, J = d(() => {
|
|
93
101
|
if (!G || I.geometry === void 0 || I.geometry === "rect") return null;
|
|
94
102
|
let e = [];
|
|
95
103
|
return G.forEachPath((t) => {
|
|
96
104
|
t.layer === "fill" && e.push(t.d);
|
|
97
105
|
}), e.length > 0 ? e.join(" ") : null;
|
|
98
|
-
}, [G, I.geometry]),
|
|
99
|
-
dpr:
|
|
100
|
-
zoom:
|
|
106
|
+
}, [G, I.geometry]), ke = E?.horizontal ?? !1, Ae = E?.vertical ?? !1, je = d(() => z % 360 == 0 && B ? {
|
|
107
|
+
dpr: ie.getDevicePixelRatio(),
|
|
108
|
+
zoom: S,
|
|
101
109
|
width: L,
|
|
102
110
|
height: R,
|
|
103
|
-
flipH:
|
|
104
|
-
flipV:
|
|
111
|
+
flipH: ke,
|
|
112
|
+
flipV: Ae
|
|
105
113
|
} : null, [
|
|
106
114
|
z,
|
|
107
115
|
B,
|
|
108
|
-
|
|
116
|
+
S,
|
|
109
117
|
L,
|
|
110
118
|
R,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
]),
|
|
119
|
+
ke,
|
|
120
|
+
Ae
|
|
121
|
+
]), Y = _.getHyperlink?.() ?? null, X = re(n, null), Z = te(null);
|
|
114
122
|
l(() => () => {
|
|
115
|
-
|
|
116
|
-
}, [
|
|
117
|
-
|
|
123
|
+
Z.current?.(), X((e) => e === _ ? null : e);
|
|
124
|
+
}, [_, X]), l(() => {
|
|
125
|
+
Y || X((e) => e === _ ? null : e);
|
|
118
126
|
}, [
|
|
119
|
-
!
|
|
120
|
-
|
|
121
|
-
|
|
127
|
+
!Y,
|
|
128
|
+
_,
|
|
129
|
+
X
|
|
122
130
|
]);
|
|
123
|
-
let
|
|
124
|
-
|
|
131
|
+
let Q = c((e) => {
|
|
132
|
+
v?.unselect(), e.open().catch((e) => {
|
|
125
133
|
F.showError?.(e instanceof Error ? e : String(e));
|
|
126
134
|
});
|
|
127
|
-
}, [
|
|
135
|
+
}, [v, F]);
|
|
128
136
|
l(() => {
|
|
129
|
-
|
|
130
|
-
let e =
|
|
131
|
-
return !!e && (
|
|
137
|
+
T?.(() => {
|
|
138
|
+
let e = _.getHyperlink?.();
|
|
139
|
+
return !!e && (Q(e), !0);
|
|
132
140
|
});
|
|
133
141
|
}, [
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
142
|
+
T,
|
|
143
|
+
_,
|
|
144
|
+
Q
|
|
137
145
|
]), l(() => {
|
|
138
|
-
j(null),
|
|
146
|
+
j(null), _.getDetails().then((e) => {
|
|
139
147
|
O(!1), j(e.asUrl()), N(e.asSVGText?.() || null);
|
|
140
148
|
}).catch((e) => {
|
|
141
|
-
console.warn(e), O(!0), j(
|
|
149
|
+
console.warn(e), O(!0), j(y), N(null);
|
|
142
150
|
});
|
|
143
|
-
}, [
|
|
144
|
-
let
|
|
151
|
+
}, [_, Se]);
|
|
152
|
+
let Me = ae(s, () => ({ isPictureEditor: () => !0 }), []), Ne = I.image?.sourceRect, Pe = d(() => ((e) => {
|
|
145
153
|
let { left: t = 0, top: n = 0, right: r = 0, bottom: i = 0 } = e ?? {}, a = (100 - t - r) / 100, o = (100 - n - i) / 100;
|
|
146
154
|
return {
|
|
147
155
|
left: -t / a + "%",
|
|
@@ -149,9 +157,9 @@ var h = (e) => Math.round(1e3 * e) / 1e3, g = (e, t, n) => {
|
|
|
149
157
|
width: 100 / a + "%",
|
|
150
158
|
height: 100 / o + "%"
|
|
151
159
|
};
|
|
152
|
-
})(
|
|
153
|
-
if (A || M) return
|
|
154
|
-
backgroundPosition: `${
|
|
160
|
+
})(Ne), [Ne]), Fe = d(() => {
|
|
161
|
+
if (A || M) return C ? p("div", { style: {
|
|
162
|
+
backgroundPosition: `${ue}px ${w}px`,
|
|
155
163
|
backgroundImage: `url(${A})`,
|
|
156
164
|
backgroundRepeat: "repeat",
|
|
157
165
|
backgroundSize: "auto",
|
|
@@ -161,7 +169,7 @@ var h = (e) => Math.round(1e3 * e) / 1e3, g = (e, t, n) => {
|
|
|
161
169
|
} }) : p("img", {
|
|
162
170
|
style: {
|
|
163
171
|
position: "absolute",
|
|
164
|
-
...D ?
|
|
172
|
+
...D ? b : Pe,
|
|
165
173
|
border: D ? "var(--sxl-color-neutral, grey) solid 1px" : void 0,
|
|
166
174
|
backgroundColor: D ? "var(--sxl-color-base-100, white)" : void 0,
|
|
167
175
|
boxShadow: D ? "0px 0px 3px var(--sxl-color-error, red)" : void 0,
|
|
@@ -175,95 +183,94 @@ var h = (e) => Math.round(1e3 * e) / 1e3, g = (e, t, n) => {
|
|
|
175
183
|
xe(!0);
|
|
176
184
|
},
|
|
177
185
|
onError: ({ currentTarget: e }) => {
|
|
178
|
-
console.log("error"), e.onerror = null, j(
|
|
186
|
+
console.log("error"), e.onerror = null, j(y), O(!0);
|
|
179
187
|
},
|
|
180
|
-
alt:
|
|
188
|
+
alt: le ?? `${_.getType()}`
|
|
181
189
|
});
|
|
182
190
|
}, [
|
|
183
191
|
k,
|
|
184
|
-
|
|
192
|
+
_,
|
|
185
193
|
A,
|
|
186
194
|
M,
|
|
195
|
+
de,
|
|
196
|
+
C,
|
|
187
197
|
ue,
|
|
188
198
|
w,
|
|
189
|
-
|
|
190
|
-
le,
|
|
191
|
-
Me,
|
|
199
|
+
Pe,
|
|
192
200
|
D,
|
|
193
|
-
|
|
201
|
+
le
|
|
194
202
|
]);
|
|
195
|
-
if (
|
|
196
|
-
let
|
|
197
|
-
return
|
|
203
|
+
if (_.isDeleted()) return;
|
|
204
|
+
let Ie = E && (E.horizontal || E.vertical) ? `scale(${E.horizontal ? -1 : 1}, ${E.vertical ? -1 : 1})` : void 0, $ = g?.pointerEvents === "none" ? "none" : "visiblePainted", { left: Le = 0, top: Re = 0, right: ze = 0, bottom: Be = 0 } = I.image?.stretch ?? {};
|
|
205
|
+
return ne("div", {
|
|
198
206
|
className: "sxl-picture-editor",
|
|
199
207
|
style: {
|
|
200
208
|
position: "relative",
|
|
201
209
|
display: "flex",
|
|
202
210
|
flex: "1 1 100%",
|
|
203
|
-
filter:
|
|
204
|
-
transform:
|
|
211
|
+
filter: de ? "drop-shadow(1px 1px 1.5px var(--sxl-color-shadow, rgba(0, 0, 0, .25)))" : void 0,
|
|
212
|
+
transform: Ie,
|
|
205
213
|
transformOrigin: "center",
|
|
206
|
-
...
|
|
214
|
+
...g,
|
|
207
215
|
pointerEvents: "none",
|
|
208
216
|
width: "100%",
|
|
209
217
|
height: "100%"
|
|
210
218
|
},
|
|
211
|
-
tabIndex: 0,
|
|
212
219
|
...be,
|
|
213
|
-
onPointerDownCapture:
|
|
214
|
-
if (e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || !
|
|
215
|
-
|
|
220
|
+
onPointerDownCapture: Y ? (e) => {
|
|
221
|
+
if (e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || !v || v.isSelected()) return;
|
|
222
|
+
Z.current?.();
|
|
216
223
|
let t = e.currentTarget.ownerDocument, { pointerId: n, clientX: r, clientY: i, timeStamp: a } = e.nativeEvent, o = (e) => {
|
|
217
|
-
if (e.pointerId !== n || (
|
|
218
|
-
let t =
|
|
219
|
-
t &&
|
|
224
|
+
if (e.pointerId !== n || (Z.current?.(), !(Math.abs(e.clientX - r) <= 4 && Math.abs(e.clientY - i) <= 4 && e.timeStamp - a <= 500))) return;
|
|
225
|
+
let t = _.getHyperlink();
|
|
226
|
+
t && Q(t);
|
|
220
227
|
}, s = (e) => {
|
|
221
|
-
e.pointerId === n &&
|
|
228
|
+
e.pointerId === n && Z.current?.();
|
|
222
229
|
};
|
|
223
|
-
t.addEventListener("pointerup", o), t.addEventListener("pointercancel", s),
|
|
224
|
-
|
|
230
|
+
t.addEventListener("pointerup", o), t.addEventListener("pointercancel", s), Z.current = () => {
|
|
231
|
+
Z.current = null, t.removeEventListener("pointerup", o), t.removeEventListener("pointercancel", s);
|
|
225
232
|
};
|
|
226
233
|
} : void 0,
|
|
227
|
-
onPointerEnter:
|
|
228
|
-
|
|
234
|
+
onPointerEnter: Y ? () => {
|
|
235
|
+
X(_);
|
|
229
236
|
} : void 0,
|
|
230
|
-
onPointerLeave:
|
|
231
|
-
|
|
237
|
+
onPointerLeave: Y ? () => {
|
|
238
|
+
X((e) => e === _ ? null : e);
|
|
232
239
|
} : void 0,
|
|
233
240
|
onKeyDownCapture: (e) => {
|
|
234
241
|
ge?.(e);
|
|
235
242
|
},
|
|
236
|
-
ref:
|
|
243
|
+
ref: Me,
|
|
237
244
|
children: [
|
|
238
|
-
G &&
|
|
245
|
+
G && q ? p("svg", {
|
|
239
246
|
className: "sxl-picture-fill",
|
|
240
247
|
viewBox: `0 0 ${L} ${R}`,
|
|
241
248
|
preserveAspectRatio: "none",
|
|
242
249
|
overflow: "visible",
|
|
243
|
-
style:
|
|
250
|
+
style: x,
|
|
244
251
|
children: p(a, {
|
|
245
252
|
geometry: G,
|
|
246
253
|
style: {
|
|
247
|
-
...
|
|
254
|
+
...q,
|
|
248
255
|
stroke: null,
|
|
249
256
|
strokeGradient: void 0,
|
|
250
257
|
strokeWidth: 0
|
|
251
258
|
},
|
|
252
|
-
zoom:
|
|
253
|
-
grid:
|
|
259
|
+
zoom: S,
|
|
260
|
+
grid: je,
|
|
254
261
|
hit: $
|
|
255
262
|
})
|
|
256
263
|
}) : null,
|
|
257
|
-
|
|
264
|
+
J ? p("svg", {
|
|
258
265
|
width: 0,
|
|
259
266
|
height: 0,
|
|
260
267
|
style: { position: "absolute" },
|
|
261
268
|
"aria-hidden": !0,
|
|
262
269
|
children: p("defs", { children: p("clipPath", {
|
|
263
|
-
id:
|
|
270
|
+
id: Oe,
|
|
264
271
|
clipPathUnits: "objectBoundingBox",
|
|
265
272
|
children: p("path", {
|
|
266
|
-
d:
|
|
273
|
+
d: J,
|
|
267
274
|
transform: `scale(${1 / L} ${1 / R})`
|
|
268
275
|
})
|
|
269
276
|
}) })
|
|
@@ -272,45 +279,45 @@ var h = (e) => Math.round(1e3 * e) / 1e3, g = (e, t, n) => {
|
|
|
272
279
|
className: "sxl-picture-clip",
|
|
273
280
|
style: {
|
|
274
281
|
position: "absolute",
|
|
275
|
-
...
|
|
276
|
-
clipPath:
|
|
277
|
-
pointerEvents:
|
|
278
|
-
cursor:
|
|
282
|
+
...b,
|
|
283
|
+
clipPath: J ? `url(#${Oe})` : void 0,
|
|
284
|
+
pointerEvents: g?.pointerEvents ?? "auto",
|
|
285
|
+
cursor: Y && !v?.isSelected() ? "pointer" : void 0
|
|
279
286
|
},
|
|
280
|
-
children:
|
|
287
|
+
children: ne("div", {
|
|
281
288
|
className: "sxl-picture-image",
|
|
282
289
|
style: {
|
|
283
290
|
position: "absolute",
|
|
284
|
-
left: `${
|
|
285
|
-
top: `${
|
|
286
|
-
right: `${
|
|
287
|
-
bottom: `${
|
|
291
|
+
left: `${Le}%`,
|
|
292
|
+
top: `${Re}%`,
|
|
293
|
+
right: `${ze}%`,
|
|
294
|
+
bottom: `${Be}%`,
|
|
288
295
|
overflow: "hidden"
|
|
289
296
|
},
|
|
290
|
-
children: [k || D ? void 0 : ye,
|
|
297
|
+
children: [k || D ? void 0 : ye, Fe]
|
|
291
298
|
})
|
|
292
299
|
}),
|
|
293
|
-
G &&
|
|
300
|
+
G && q && q.strokeWidth > 0 ? p("svg", {
|
|
294
301
|
className: "sxl-picture-border",
|
|
295
302
|
viewBox: `0 0 ${L} ${R}`,
|
|
296
303
|
preserveAspectRatio: "none",
|
|
297
304
|
overflow: "visible",
|
|
298
|
-
style:
|
|
305
|
+
style: x,
|
|
299
306
|
children: p(a, {
|
|
300
307
|
geometry: G,
|
|
301
308
|
style: {
|
|
302
|
-
...
|
|
309
|
+
...q,
|
|
303
310
|
fill: null,
|
|
304
311
|
gradient: void 0,
|
|
305
312
|
image: void 0
|
|
306
313
|
},
|
|
307
|
-
zoom:
|
|
308
|
-
grid:
|
|
314
|
+
zoom: S,
|
|
315
|
+
grid: je,
|
|
309
316
|
hit: $
|
|
310
317
|
})
|
|
311
318
|
}) : null
|
|
312
319
|
]
|
|
313
320
|
});
|
|
314
321
|
}));
|
|
315
|
-
|
|
316
|
-
export {
|
|
322
|
+
S.displayName = "PictureEditor";
|
|
323
|
+
export { _ as i, v as n, g as r, S as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./D_Nyujo5EexX7Ik6.mjs";
|
|
8
8
|
import { createContext as t, memo as n, useCallback as r, useEffect as i, useReducer as a, useRef as o, useState as s } from "react";
|
|
9
9
|
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
10
10
|
import { LazyModules as d, defineLazyModule as f } from "@sheetxl/utils";
|
|
@@ -161,7 +161,7 @@ var O = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), A = /* @__PURE
|
|
|
161
161
|
for (let e of [...j]) e();
|
|
162
162
|
}, N = !1, P = () => {
|
|
163
163
|
N || (N = !0, function(e) {
|
|
164
|
-
e("picture", () => import("./
|
|
164
|
+
e("picture", () => import("./eCXp5pevrfZeVNuS.mjs"), { select: (e) => e.PictureKind }), e("chart", () => import("./OUpgfp6QUbCw2JjX.mjs"), { select: (e) => e.ChartKind }), e("slicer", () => import("./BEK4faMDytVTvUDQ.mjs"), { select: (e) => e.SlicerKind }), e("shape", () => import("./DwBSdG92z7qNJoDF.mjs"), {
|
|
165
165
|
select: (e) => e.ShapeKind,
|
|
166
166
|
selectionShadow: !1
|
|
167
167
|
}), e("group", () => import("./group.mjs"), { select: ({ GroupEditor: e }) => (t) => l(e, {
|
|
@@ -173,7 +173,7 @@ var O = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), A = /* @__PURE
|
|
|
173
173
|
...r,
|
|
174
174
|
note: t.movable.getContent()
|
|
175
175
|
});
|
|
176
|
-
} }), e("error", () => import("./
|
|
176
|
+
} }), e("error", () => import("./B5xlS-NH-I0ojDUL.mjs").then((e) => e.t), { select: ({ ErrorContentFrame: e }) => (t) => l(e, { ...t }) });
|
|
177
177
|
let t = (t, n) => {
|
|
178
178
|
e(t, () => import("./control.mjs"), { select: n });
|
|
179
179
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./D0yuUz06KAg8hj5n.mjs";
|
|
8
8
|
import { createContext as t, forwardRef as n, memo as r, useCallback as i, useContext as a, useEffect as o, useLayoutEffect as s, useRef as c, useState as l } from "react";
|
|
9
9
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
10
10
|
import { CommonUtils as f, defineLazyModule as p } from "@sheetxl/utils";
|
|
@@ -25,7 +25,7 @@ var b = (e) => {
|
|
|
25
25
|
}, x = (e) => {
|
|
26
26
|
let [t] = h(_.Mode, v[_.Mode]), { themeMode: n } = g({ mode: e ?? t ?? void 0 });
|
|
27
27
|
return n;
|
|
28
|
-
}, S = p("chart:paint", () => import("./
|
|
28
|
+
}, S = p("chart:paint", () => import("./QhqaS5eOwg1YW-ax.mjs")), C = (e, t) => {
|
|
29
29
|
let n = e.getElementType();
|
|
30
30
|
if (n === "point") {
|
|
31
31
|
let n = e.getParent();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { n as e } from "./
|
|
7
|
+
import { n as e } from "./DmA3zHUkMLqVc53n.mjs";
|
|
8
8
|
var t = function(e, n) {
|
|
9
9
|
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
10
10
|
e.__proto__ = t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|