@sheetxl/react 0.8.0-beta.20 → 0.8.0-beta.21
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/{C1Qp40Kq88D9nzcX.mjs → 6lfBozPNyWlFBEDn.mjs} +1 -1
- package/browser/esm/{BzZ2vOT8CNsqcL8P.mjs → B7TCFLHs7nnOgLMi.mjs} +2 -2
- package/browser/esm/{DeOhqQroIiAic6-j.mjs → BQur1iFrng9Y4kh4.mjs} +1 -1
- package/browser/esm/{BFjx8_H3wUxrWDq9.mjs → BjnWnPjhT1QFkbUC.mjs} +4 -4
- package/browser/esm/{CtbJ8PCap2NGxlu0.mjs → BwMC6jAg2neI4LTH.mjs} +1 -1
- package/browser/esm/{QJPDAP6UIHTbY1fM.mjs → BzCq_Z7J2qQlY4Dp.mjs} +3 -3
- package/browser/esm/{Ch5X-uGft55TOqxa.mjs → BzFKdDmdCdg3cXdh.mjs} +6 -6
- package/browser/esm/{B06WJCAWTIB7QYlK.mjs → C2HjD-DbaqXq93R7.mjs} +1 -1
- package/browser/esm/{SESUB_fypyWmhCWm.mjs → C46qV9hBGqlz6_Kt.mjs} +12 -12
- package/browser/esm/{B8_6V0LUnuA1dLW6.mjs → C9dHNoiKtX9PLY1g.mjs} +1 -1
- package/browser/esm/{BkBxhk45Iln3h-sG.mjs → CA6w64diOtRCgr4n.mjs} +1 -1
- package/browser/esm/{BcC6S9k7zkHfCNRX.mjs → CCL3pFmdsuwahoCR.mjs} +1 -1
- package/browser/esm/{COn0z_IT5hyEPNfV.mjs → CHgyrBEiFmspcFXV.mjs} +1 -1
- package/browser/esm/{Dkw3FFdQKXZQrkFv.mjs → CPwcEeQtvkrESNEy.mjs} +10 -10
- package/browser/esm/{CUPlUCBX7owYqDq5.mjs → CdE8JeJkTtdh5qqp.mjs} +2 -2
- package/browser/esm/{BGcs5WWx5PpaiJo4.mjs → CkYId3pjG9v3XZM2.mjs} +1 -1
- package/browser/esm/{CM9e6dbkYbw56iFf.mjs → Co65nK3fyBcyVzrS.mjs} +2 -2
- package/browser/esm/{Ca_Ki0Si5ozlm1sl.mjs → DG1f60gvSkz8Y3qb.mjs} +10 -10
- package/browser/esm/{Cwye4MAU1-EF7Xlv.mjs → DL2WZkJdK1lZfpJo.mjs} +13 -13
- package/browser/esm/{CPjk4grd05Rp-e3V.mjs → Dl0ye0MfTml4mjhA.mjs} +3 -3
- package/browser/esm/{CU67T36gmVTq9ZwH.mjs → _T8e_9xhVAagwkPD.mjs} +1 -1
- package/browser/esm/chart.mjs +3 -3
- package/browser/esm/control.mjs +3 -3
- package/browser/esm/{qeb-_mAjUAWD7bo4.mjs → fHDciYUZvXpLzoID.mjs} +2 -2
- package/browser/esm/group.mjs +7 -7
- package/browser/esm/index.mjs +173 -173
- package/browser/esm/{C5RaHvks1HTBfWcr.mjs → k1IvXgw5-153QQUo.mjs} +2 -2
- package/browser/esm/{CckrsFaUWle82oNL.mjs → mOYnwl3MMod-yX7a.mjs} +1 -1
- package/browser/esm/note.mjs +5 -5
- package/browser/esm/picture.mjs +2 -2
- package/browser/esm/shape.mjs +2 -2
- package/browser/esm/slicer.mjs +10 -10
- package/browser/esm/{DcEGutcM_5gl0fZm.mjs → zTaXN_1rvsoWg94m.mjs} +3 -3
- package/node/esm/{C9Yq98-vMDznppO2.mjs → 8PerdW56-NyRf0pg.mjs} +3 -3
- package/node/esm/{DytW9LaLlJGM-6m6.mjs → B2a1mRx9B8XMRd8H.mjs} +1 -1
- package/node/esm/{Ef8HHL90yLZgk3Gf.mjs → B4qJFO-8Vml8JbaC.mjs} +2 -2
- package/node/esm/{DmPmSA-2Aha-_6qu.mjs → BBBfGP0lLhBFoR9F.mjs} +9 -9
- package/node/esm/{77PQMLXXAN7fjBHS.mjs → BQpm93aEyzN5TiU6.mjs} +1 -1
- package/node/esm/{c1FOnFN_eCD6KR4l.mjs → BadjRr_jKKGvmEW-.mjs} +1 -1
- package/node/esm/{gfwmGAXGhq9IIu1U.mjs → Bzuh8HcJcFD2dYTY.mjs} +2 -2
- package/node/esm/{C7wmHIY8RLeNSX3T.mjs → CD1OBtF4vEthYy6e.mjs} +1 -1
- package/node/esm/{DrFBSp6XMEAjkdoG.mjs → CGEbcsNJ40cYQEWX.mjs} +2 -2
- package/node/esm/{BOAB33GIG2M2CWMr.mjs → CNYzecnb2TInTI8p.mjs} +1 -1
- package/node/esm/{Jy5x43_CAF31L14-.mjs → COg8aOu0d67g_Pg5.mjs} +1 -1
- package/node/esm/{UBas29HOMjk4p5jo.mjs → CdKkuM4Yy04LbhRL.mjs} +1 -1
- package/node/esm/{CWOKAmLpdinc-0TK.mjs → Df-nWyFJwXaVd79x.mjs} +22 -22
- package/node/esm/{D63HF8XToGXrf7ds.mjs → DtrPF3bSD4CZC5VG.mjs} +1 -1
- package/node/esm/{CER7_OJffhze14wR.mjs → EXPN4LM0alUK5Zw7.mjs} +1 -1
- package/node/esm/{7_AWLfp_6MpYBpiV.mjs → JrDkDzP0l4TgHusH.mjs} +1 -1
- package/node/esm/{Nn0yfoegNHIym4QM.mjs → Mq8a4csdTfwY5CnZ.mjs} +1 -1
- package/node/esm/{CqnJ_hGK1txHO0j9.mjs → cgqViNUwnlIX8-UW.mjs} +18 -18
- package/node/esm/chart.mjs +2 -2
- package/node/esm/control.mjs +3 -3
- package/node/esm/{G9tXP39ldfioRVhL.mjs → fM9xnrz0LJWdndYE.mjs} +1 -1
- package/node/esm/group.mjs +9 -9
- package/node/esm/index.mjs +171 -171
- package/node/esm/note.mjs +5 -5
- package/node/esm/picture.mjs +31 -31
- package/node/esm/shape.mjs +13 -13
- package/node/esm/slicer.mjs +17 -17
- package/node/esm/{CBHY_xaB7ke3yH-f.mjs → tRhXTPxocmY7ZY3z.mjs} +2 -2
- package/node/esm/{BbnUYxeK64Fq92Lo.mjs → uzlKB6H0b-ol8pDK.mjs} +2 -2
- package/package.json +7 -7
|
@@ -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.21
|
|
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.21
|
|
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 "./_T8e_9xhVAagwkPD.mjs";
|
|
8
8
|
import { forwardRef as t, memo as n, useMemo as r, useRef as i } from "react";
|
|
9
9
|
import { jsx as a } from "react/jsx-runtime";
|
|
10
10
|
var o = "data-run", s = (e) => typeof e == "string" ? e ? [{ text: e }] : [] : e.runs ?? [], c = (e) => {
|
|
@@ -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.21
|
|
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.21
|
|
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 "./CCL3pFmdsuwahoCR.mjs";
|
|
8
|
+
import { t } from "./_T8e_9xhVAagwkPD.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";
|
|
@@ -14,7 +14,7 @@ var l = r(n((e, n) => {
|
|
|
14
14
|
i(() => {}, [f]);
|
|
15
15
|
let x = o(n, () => ({ isEmptyFrame: () => !0 }), []), [S, { height: C, width: w }] = s(), T = t([x, S]);
|
|
16
16
|
return a("div", {
|
|
17
|
-
className: "unknown-editor",
|
|
17
|
+
className: "sxl-unknown-editor",
|
|
18
18
|
...b,
|
|
19
19
|
ref: T,
|
|
20
20
|
style: {
|
|
@@ -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.21
|
|
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.21
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -88,7 +88,7 @@ var l = (n, r) => {
|
|
|
88
88
|
n
|
|
89
89
|
]);
|
|
90
90
|
return s("div", {
|
|
91
|
-
className: "shape-text",
|
|
91
|
+
className: "sxl-shape-text",
|
|
92
92
|
style: g,
|
|
93
93
|
children: e.paragraphs.map((r, i) => {
|
|
94
94
|
let a = r.level ? e.listStyle?.levels?.[r.level] : h, o = {
|
|
@@ -110,7 +110,7 @@ var l = (n, r) => {
|
|
|
110
110
|
...r.endRun
|
|
111
111
|
}] : [];
|
|
112
112
|
return c("div", {
|
|
113
|
-
className: "shape-paragraph",
|
|
113
|
+
className: "sxl-shape-paragraph",
|
|
114
114
|
style: u,
|
|
115
115
|
children: [l?.type === "char" && l.char ? s("span", {
|
|
116
116
|
style: { marginRight: "0.4em" },
|
|
@@ -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.21
|
|
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 "./_T8e_9xhVAagwkPD.mjs";
|
|
8
8
|
import { forwardRef as t, memo as n, useCallback as r, useEffect as i, useLayoutEffect as a, useRef as o, useState as s } from "react";
|
|
9
9
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
10
10
|
import { CommonUtils as u, defineLazyModule as ee } from "@sheetxl/utils";
|
|
@@ -23,7 +23,7 @@ var p = {
|
|
|
23
23
|
}, g = () => {
|
|
24
24
|
let [e] = d(p.Mode, m[p.Mode]), { themeMode: t } = f({ mode: e ?? void 0 });
|
|
25
25
|
return t;
|
|
26
|
-
}, _ = ee("chart:paint", () => import("./
|
|
26
|
+
}, _ = ee("chart:paint", () => import("./Dl0ye0MfTml4mjhA.mjs")), v = (e, t) => {
|
|
27
27
|
let n = e.getElementType();
|
|
28
28
|
if (n === "point") {
|
|
29
29
|
let n = e.getParent();
|
|
@@ -207,7 +207,7 @@ var p = {
|
|
|
207
207
|
ref: G,
|
|
208
208
|
children: [
|
|
209
209
|
$ ? c("div", {
|
|
210
|
-
className: "chart-element-error",
|
|
210
|
+
className: "sxl-chart-element-error",
|
|
211
211
|
style: {
|
|
212
212
|
padding: "8px",
|
|
213
213
|
fontSize: "12px",
|
|
@@ -216,7 +216,7 @@ var p = {
|
|
|
216
216
|
children: $.message
|
|
217
217
|
}) : null,
|
|
218
218
|
c("div", {
|
|
219
|
-
className: "chart-element",
|
|
219
|
+
className: "sxl-chart-element",
|
|
220
220
|
ref: K,
|
|
221
221
|
style: {
|
|
222
222
|
width: N || "100%",
|
|
@@ -226,7 +226,7 @@ var p = {
|
|
|
226
226
|
}
|
|
227
227
|
}),
|
|
228
228
|
Z.boxes.length > 0 ? l("div", {
|
|
229
|
-
className: "chart-element-selection",
|
|
229
|
+
className: "sxl-chart-element-selection",
|
|
230
230
|
style: {
|
|
231
231
|
position: "absolute",
|
|
232
232
|
left: 0,
|
|
@@ -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.21
|
|
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.21
|
|
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 "./C2HjD-DbaqXq93R7.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";
|
|
@@ -60,7 +60,7 @@ var g = Object.freeze({
|
|
|
60
60
|
i(t, e);
|
|
61
61
|
}, [t, i]), d = _(t, s, n);
|
|
62
62
|
return l("div", {
|
|
63
|
-
className: "movable-adornment",
|
|
63
|
+
className: "sxl-movable-adornment",
|
|
64
64
|
ref: u,
|
|
65
65
|
style: {
|
|
66
66
|
position: "absolute",
|
|
@@ -121,17 +121,17 @@ var w = {
|
|
|
121
121
|
}, [p]);
|
|
122
122
|
return u("div", {
|
|
123
123
|
className: [
|
|
124
|
-
"movable-control",
|
|
125
|
-
i ? "dragging" : null,
|
|
126
|
-
f ? "context" : null
|
|
124
|
+
"sxl-movable-control",
|
|
125
|
+
i ? "sxl-dragging" : null,
|
|
126
|
+
f ? "sxl-context" : null
|
|
127
127
|
].filter(Boolean).join(" "),
|
|
128
128
|
children: [
|
|
129
129
|
m,
|
|
130
|
-
l("div", { className: "movable-control-outline" }),
|
|
130
|
+
l("div", { className: "sxl-movable-control-outline" }),
|
|
131
131
|
t.map((e) => {
|
|
132
132
|
let t = w[e];
|
|
133
133
|
return t ? l("div", {
|
|
134
|
-
className: "movable-control-handle",
|
|
134
|
+
className: "sxl-movable-control-handle",
|
|
135
135
|
"data-direction": e,
|
|
136
136
|
style: {
|
|
137
137
|
left: 50 * (t[0] + 1) + "%",
|
|
@@ -145,7 +145,7 @@ var w = {
|
|
|
145
145
|
}, e) : null;
|
|
146
146
|
}),
|
|
147
147
|
p ? l("div", {
|
|
148
|
-
className: "movable-move-handle",
|
|
148
|
+
className: "sxl-movable-move-handle",
|
|
149
149
|
onPointerDown: b,
|
|
150
150
|
children: l("svg", {
|
|
151
151
|
viewBox: "0 0 24 24",
|
|
@@ -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("./zTaXN_1rvsoWg94m.mjs"), { select: (e) => e.PictureKind }), e("chart", () => import("./fHDciYUZvXpLzoID.mjs"), { select: (e) => e.ChartKind }), e("slicer", () => import("./BwMC6jAg2neI4LTH.mjs"), { select: (e) => e.SlicerKind }), e("shape", () => import("./DG1f60gvSkz8Y3qb.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("./BjnWnPjhT1QFkbUC.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
|
};
|
|
@@ -232,7 +232,7 @@ var O = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), A = /* @__PURE
|
|
|
232
232
|
})
|
|
233
233
|
}), c = {
|
|
234
234
|
Renderer: n?.hitArea === "content" ? s : (e) => l("div", {
|
|
235
|
-
className: "movable-content",
|
|
235
|
+
className: "sxl-movable-content",
|
|
236
236
|
style: e.style,
|
|
237
237
|
children: s(e)
|
|
238
238
|
}),
|
|
@@ -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.21
|
|
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.21
|
|
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.21
|
|
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.21
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,13 +1,13 @@
|
|
|
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.21
|
|
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 "./C2HjD-DbaqXq93R7.mjs";
|
|
8
|
+
import { n as t } from "./C9dHNoiKtX9PLY1g.mjs";
|
|
9
|
+
import { t as n } from "./6lfBozPNyWlFBEDn.mjs";
|
|
10
|
+
import { i as r, r as i, t as a } from "./Co65nK3fyBcyVzrS.mjs";
|
|
11
11
|
import { forwardRef as o, memo as s, useEffect as c, useId as l, useMemo as u, useReducer as ee, useRef as te, useState as d } from "react";
|
|
12
12
|
import { jsx as f, jsxs as ne } from "react/jsx-runtime";
|
|
13
13
|
import { useSurfaceStateSetter as re } from "@sheetxl/grid-react";
|
|
@@ -180,7 +180,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
180
180
|
if (g.isDeleted()) return;
|
|
181
181
|
let Ae = T && (T.horizontal || T.vertical) ? `scale(${T.horizontal ? -1 : 1}, ${T.vertical ? -1 : 1})` : void 0, je = h?.pointerEvents === "none" ? "none" : "visiblePainted", { left: Me = 0, top: Ne = 0, right: Pe = 0, bottom: Fe = 0 } = P.image?.stretch ?? {};
|
|
182
182
|
return ne("div", {
|
|
183
|
-
className: "picture-editor",
|
|
183
|
+
className: "sxl-picture-editor",
|
|
184
184
|
style: {
|
|
185
185
|
position: "relative",
|
|
186
186
|
display: "flex",
|
|
@@ -223,7 +223,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
223
223
|
ref: Ee,
|
|
224
224
|
children: [
|
|
225
225
|
U && G ? f("svg", {
|
|
226
|
-
className: "picture-fill",
|
|
226
|
+
className: "sxl-picture-fill",
|
|
227
227
|
viewBox: `0 0 ${F} ${I}`,
|
|
228
228
|
preserveAspectRatio: "none",
|
|
229
229
|
overflow: "visible",
|
|
@@ -256,7 +256,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
256
256
|
}) })
|
|
257
257
|
}) : null,
|
|
258
258
|
f("div", {
|
|
259
|
-
className: "picture-clip",
|
|
259
|
+
className: "sxl-picture-clip",
|
|
260
260
|
style: {
|
|
261
261
|
position: "absolute",
|
|
262
262
|
...y,
|
|
@@ -265,7 +265,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
265
265
|
cursor: Z && !_?.isSelected() ? "pointer" : void 0
|
|
266
266
|
},
|
|
267
267
|
children: ne("div", {
|
|
268
|
-
className: "picture-image",
|
|
268
|
+
className: "sxl-picture-image",
|
|
269
269
|
style: {
|
|
270
270
|
position: "absolute",
|
|
271
271
|
left: `${Me}%`,
|
|
@@ -278,7 +278,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
278
278
|
})
|
|
279
279
|
}),
|
|
280
280
|
U && G && G.strokeWidth > 0 ? f("svg", {
|
|
281
|
-
className: "picture-border",
|
|
281
|
+
className: "sxl-picture-border",
|
|
282
282
|
viewBox: `0 0 ${F} ${I}`,
|
|
283
283
|
preserveAspectRatio: "none",
|
|
284
284
|
overflow: "visible",
|
|
@@ -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.21
|
|
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 { i as e, n as t, r as n, t as r } from "./
|
|
7
|
+
import { i as e, n as t, r as n, t as r } from "./k1IvXgw5-153QQUo.mjs";
|
|
8
8
|
var i = !1;
|
|
9
9
|
function a(e) {
|
|
10
10
|
let 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.21
|
|
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.21
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -305,7 +305,7 @@ var _ = (e) => {
|
|
|
305
305
|
if (!S) break;
|
|
306
306
|
let n = 8 / (a > 0 ? a : 1);
|
|
307
307
|
s !== "none" && n > h && E.push(f("path", {
|
|
308
|
-
className: "shape-hit",
|
|
308
|
+
className: "sxl-shape-hit",
|
|
309
309
|
d: i,
|
|
310
310
|
fill: "none",
|
|
311
311
|
stroke: "transparent",
|
|
@@ -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.21
|
|
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 { d as t } from "./
|
|
9
|
-
import { t as n } from "./
|
|
10
|
-
import { n as r } from "./
|
|
11
|
-
import { t as i } from "./
|
|
7
|
+
import { t as e } from "./C2HjD-DbaqXq93R7.mjs";
|
|
8
|
+
import { d as t } from "./C46qV9hBGqlz6_Kt.mjs";
|
|
9
|
+
import { t as n } from "./CHgyrBEiFmspcFXV.mjs";
|
|
10
|
+
import { n as r } from "./CkYId3pjG9v3XZM2.mjs";
|
|
11
|
+
import { t as i } from "./DL2WZkJdK1lZfpJo.mjs";
|
|
12
12
|
import { memo as a, useCallback as o, useReducer as s, useRef as c } from "react";
|
|
13
13
|
import { jsx as l } from "react/jsx-runtime";
|
|
14
14
|
import { messageKey as u } from "@sheetxl/utils";
|
|
@@ -150,14 +150,14 @@ var p = (e, t) => {
|
|
|
150
150
|
}, [g, v]);
|
|
151
151
|
return l("div", {
|
|
152
152
|
className: [
|
|
153
|
-
"movable-control",
|
|
154
|
-
"connector",
|
|
155
|
-
a ? "dragging" : null
|
|
153
|
+
"sxl-movable-control",
|
|
154
|
+
"sxl-connector",
|
|
155
|
+
a ? "sxl-dragging" : null
|
|
156
156
|
].filter(Boolean).join(" "),
|
|
157
157
|
children: ["start", "end"].map((e) => {
|
|
158
158
|
let t = p(e, i), n = e === "start" ? !!x?.isStartConnected() : !!x?.isEndConnected();
|
|
159
159
|
return l("div", {
|
|
160
|
-
className: n ? "movable-control-handle connector-end glued" : "movable-control-handle connector-end",
|
|
160
|
+
className: n ? "sxl-movable-control-handle sxl-connector-end sxl-glued" : "sxl-movable-control-handle sxl-connector-end",
|
|
161
161
|
"data-end": e,
|
|
162
162
|
style: {
|
|
163
163
|
left: 50 * (t[0] + 1) + "%",
|
|
@@ -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.21
|
|
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 "./C2HjD-DbaqXq93R7.mjs";
|
|
8
|
+
import { n as t } from "./C9dHNoiKtX9PLY1g.mjs";
|
|
9
|
+
import { t as n } from "./mOYnwl3MMod-yX7a.mjs";
|
|
10
|
+
import { t as r } from "./BzCq_Z7J2qQlY4Dp.mjs";
|
|
11
|
+
import { i, n as a, r as o, t as ee } from "./Co65nK3fyBcyVzrS.mjs";
|
|
12
12
|
import { forwardRef as s, memo as c, useCallback as l, useEffect as u, useMemo as d, useReducer as f, useRef as p, useState as m } from "react";
|
|
13
13
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
14
14
|
import { messageKey as te } from "@sheetxl/utils";
|
|
@@ -48,7 +48,7 @@ var re = c(({ handles: e, width: t, height: n, zoom: r, onDrag: i }) => {
|
|
|
48
48
|
let _ = r > 0 ? r : 1, v = 4.5 / _;
|
|
49
49
|
return h("svg", {
|
|
50
50
|
ref: a,
|
|
51
|
-
className: ee ? "shape-handles movable-gesture" : "shape-handles",
|
|
51
|
+
className: ee ? "sxl-shape-handles sxl-movable-gesture" : "sxl-shape-handles",
|
|
52
52
|
viewBox: `0 0 ${t} ${n}`,
|
|
53
53
|
width: "100%",
|
|
54
54
|
height: "100%",
|
|
@@ -63,7 +63,7 @@ var re = c(({ handles: e, width: t, height: n, zoom: r, onDrag: i }) => {
|
|
|
63
63
|
touchAction: "none"
|
|
64
64
|
},
|
|
65
65
|
children: e.map((e) => g("g", {
|
|
66
|
-
className: "shape-handle",
|
|
66
|
+
className: "sxl-shape-handle",
|
|
67
67
|
style: { "--shape-scale": _ },
|
|
68
68
|
children: [h("circle", {
|
|
69
69
|
cx: e.x,
|
|
@@ -74,7 +74,7 @@ var re = c(({ handles: e, width: t, height: n, zoom: r, onDrag: i }) => {
|
|
|
74
74
|
strokeWidth: 1 / _,
|
|
75
75
|
style: { pointerEvents: "none" }
|
|
76
76
|
}), h("circle", {
|
|
77
|
-
className: "shape-handle-hit",
|
|
77
|
+
className: "sxl-shape-handle-hit",
|
|
78
78
|
cx: e.x,
|
|
79
79
|
cy: e.y,
|
|
80
80
|
r: v,
|
|
@@ -230,7 +230,7 @@ var y = (e, t) => e > 0 || t > 0, b = (e, t, n) => !e || e.getWidth() === t && e
|
|
|
230
230
|
zoom: T,
|
|
231
231
|
onDrag: xe
|
|
232
232
|
}), ue && (Z = ne(h("div", {
|
|
233
|
-
className: "shape-adornment",
|
|
233
|
+
className: "sxl-shape-adornment",
|
|
234
234
|
style: {
|
|
235
235
|
position: "absolute",
|
|
236
236
|
left: 0,
|
|
@@ -244,7 +244,7 @@ var y = (e, t) => e > 0 || t > 0, b = (e, t, n) => !e || e.getWidth() === t && e
|
|
|
244
244
|
}), ue)));
|
|
245
245
|
let Ae = J === Y ? void 0 : "scaleX(-1)", Q = G?.getTextRect(), $ = k.text, je = !!$ && $.paragraphs.some((e) => e.runs.some((e) => e.text !== ""));
|
|
246
246
|
return g("div", {
|
|
247
|
-
className: "shape-editor",
|
|
247
|
+
className: "sxl-shape-editor",
|
|
248
248
|
...pe,
|
|
249
249
|
ref: Ce,
|
|
250
250
|
style: {
|
|
@@ -259,7 +259,7 @@ var y = (e, t) => e > 0 || t > 0, b = (e, t, n) => !e || e.getWidth() === t && e
|
|
|
259
259
|
},
|
|
260
260
|
children: [
|
|
261
261
|
y(A, j) ? g("svg", {
|
|
262
|
-
className: "shape-geometry",
|
|
262
|
+
className: "sxl-shape-geometry",
|
|
263
263
|
viewBox: `0 0 ${A > 0 ? A : 1 / T} ${j > 0 ? j : 1 / T}`,
|
|
264
264
|
width: A > 0 ? "100%" : "1px",
|
|
265
265
|
height: j > 0 ? "100%" : "1px",
|
|
@@ -300,7 +300,7 @@ var y = (e, t) => e > 0 || t > 0, b = (e, t, n) => !e || e.getWidth() === t && e
|
|
|
300
300
|
}) : null]
|
|
301
301
|
}) : null,
|
|
302
302
|
je && Q ? h("div", {
|
|
303
|
-
className: "shape-text-frame",
|
|
303
|
+
className: "sxl-shape-text-frame",
|
|
304
304
|
style: {
|
|
305
305
|
position: "absolute",
|
|
306
306
|
left: Q.l,
|
|
@@ -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.21
|
|
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 { $ as t, $n as n, $r as r, $t as i, A as a, Ai as o, An as s, Ar as c, At as l, B as u, Bn as d, Br as f, Bt as p, C as m, Ci as h, Cr as g, Ct as _, D as v, Di as y, Dn as b, Dr as x, Dt as S, E as C, Ei as w, En as T, Er as E, Et as D, F as O, Fi as k, Fn as A, Fr as j, Ft as M, G as N, Gn as P, Gr as F, Gt as I, H as ee, Hn as L, Hr as R, Ht as te, I as ne, Ii as re, In as ie, Ir as ae, It as oe, J as se, Jn as ce, Jr as le, Jt as ue, K as de, Kn as fe, Kr as pe, Kt as me, L as he, Li as ge, Ln as _e, Lr as ve, Lt as ye, M as be, Mi as xe, Mn as Se, Mr as Ce, Mt as we, N as Te, Ni as z, Nn as Ee, Nr as De, Nt as Oe, O as ke, Oi as B, On as Ae, Or as je, Ot as Me, P as Ne, Pi as Pe, Pn as Fe, Pr as Ie, Pt as Le, Q as Re, Qn as ze, Qr as Be, Qt as Ve, R as V, Ri as H, Rn as He, Rr as Ue, Rt as We, S as Ge, Si as Ke, Sn as qe, Sr as Je, St as Ye, T as Xe, Ti as Ze, Tn as Qe, Tr as $e, Tt as et, U as tt, Un as nt, Ur as rt, Ut as it, V as at, Vn as ot, Vr as st, Vt as ct, W as lt, Wn as ut, Wr as dt, Wt as ft, X as pt, Xn as mt, Xr as ht, Xt as gt, Y as _t, Yn as vt, Yr as yt, Yt as bt, Z as xt, Zn as St, Zr as Ct, Zt as wt, _ as Tt, _i as Et, _n as Dt, _r as Ot, _t as kt, a as At, ai as jt, an as Mt, ar as Nt, at as Pt, b as Ft, bi as U, bn as It, br as Lt, bt as Rt, c as zt, ci as W, cn as Bt, cr as Vt, ct as Ht, d as Ut, di as G, dn as Wt, dr as Gt, dt as Kt, ei as qt, en as Jt, er as Yt, et as Xt, f as Zt, fi as Qt, fn as $t, fr as en, ft as tn, g as nn, gi as rn, gn as an, gr as on, gt as sn, h as cn, hi as K, hn as ln, hr as un, ht as dn, i as fn, ii as pn, in as mn, ir as hn, it as gn, j as _n, ji as vn, jn as yn, jr as bn, jt as xn, k as Sn, ki as Cn, kn as wn, kr as Tn, kt as En, l as Dn, li as On, ln as kn, lr as An, lt as jn, m as Mn, mi as Nn, mn as Pn, mr as Fn, mt as In, n as Ln, ni as Rn, nn as zn, nr as Bn, nt as Vn, o as Hn, oi as Un, on as Wn, or as Gn, ot as Kn, p as qn, pi as q, pn as Jn, pr as Yn, pt as Xn, q as Zn, qn as Qn, qr as J, qt as $n, r as er, ri as tr, rn as nr, rr, rt as ir, s as ar, si as or, sn as sr, sr as cr, st as lr, t as ur, ti as dr, tn as fr, tr as pr, tt as mr, u as hr, ui as Y, un as gr, ur as _r, ut as vr, v as yr, vi as br, vn as xr, vr as Sr, vt as Cr, w as wr, wi as Tr, wr as X, wt as Er, x as Dr, xi as Or, xn as kr, xr as Ar, xt as jr, y as Mr, yi as Nr, yn as Pr, yr as Fr, yt as Ir, z as Lr, zn as Rr, zr, zt as Br } from "./
|
|
7
|
+
import { t as e } from "./CCL3pFmdsuwahoCR.mjs";
|
|
8
|
+
import { $ as t, $n as n, $r as r, $t as i, A as a, Ai as o, An as s, Ar as c, At as l, B as u, Bn as d, Br as f, Bt as p, C as m, Ci as h, Cr as g, Ct as _, D as v, Di as y, Dn as b, Dr as x, Dt as S, E as C, Ei as w, En as T, Er as E, Et as D, F as O, Fi as k, Fn as A, Fr as j, Ft as M, G as N, Gn as P, Gr as F, Gt as I, H as ee, Hn as L, Hr as R, Ht as te, I as ne, Ii as re, In as ie, Ir as ae, It as oe, J as se, Jn as ce, Jr as le, Jt as ue, K as de, Kn as fe, Kr as pe, Kt as me, L as he, Li as ge, Ln as _e, Lr as ve, Lt as ye, M as be, Mi as xe, Mn as Se, Mr as Ce, Mt as we, N as Te, Ni as z, Nn as Ee, Nr as De, Nt as Oe, O as ke, Oi as B, On as Ae, Or as je, Ot as Me, P as Ne, Pi as Pe, Pn as Fe, Pr as Ie, Pt as Le, Q as Re, Qn as ze, Qr as Be, Qt as Ve, R as V, Ri as H, Rn as He, Rr as Ue, Rt as We, S as Ge, Si as Ke, Sn as qe, Sr as Je, St as Ye, T as Xe, Ti as Ze, Tn as Qe, Tr as $e, Tt as et, U as tt, Un as nt, Ur as rt, Ut as it, V as at, Vn as ot, Vr as st, Vt as ct, W as lt, Wn as ut, Wr as dt, Wt as ft, X as pt, Xn as mt, Xr as ht, Xt as gt, Y as _t, Yn as vt, Yr as yt, Yt as bt, Z as xt, Zn as St, Zr as Ct, Zt as wt, _ as Tt, _i as Et, _n as Dt, _r as Ot, _t as kt, a as At, ai as jt, an as Mt, ar as Nt, at as Pt, b as Ft, bi as U, bn as It, br as Lt, bt as Rt, c as zt, ci as W, cn as Bt, cr as Vt, ct as Ht, d as Ut, di as G, dn as Wt, dr as Gt, dt as Kt, ei as qt, en as Jt, er as Yt, et as Xt, f as Zt, fi as Qt, fn as $t, fr as en, ft as tn, g as nn, gi as rn, gn as an, gr as on, gt as sn, h as cn, hi as K, hn as ln, hr as un, ht as dn, i as fn, ii as pn, in as mn, ir as hn, it as gn, j as _n, ji as vn, jn as yn, jr as bn, jt as xn, k as Sn, ki as Cn, kn as wn, kr as Tn, kt as En, l as Dn, li as On, ln as kn, lr as An, lt as jn, m as Mn, mi as Nn, mn as Pn, mr as Fn, mt as In, n as Ln, ni as Rn, nn as zn, nr as Bn, nt as Vn, o as Hn, oi as Un, on as Wn, or as Gn, ot as Kn, p as qn, pi as q, pn as Jn, pr as Yn, pt as Xn, q as Zn, qn as Qn, qr as J, qt as $n, r as er, ri as tr, rn as nr, rr, rt as ir, s as ar, si as or, sn as sr, sr as cr, st as lr, t as ur, ti as dr, tn as fr, tr as pr, tt as mr, u as hr, ui as Y, un as gr, ur as _r, ut as vr, v as yr, vi as br, vn as xr, vr as Sr, vt as Cr, w as wr, wi as Tr, wr as X, wt as Er, x as Dr, xi as Or, xn as kr, xr as Ar, xt as jr, y as Mr, yi as Nr, yn as Pr, yr as Fr, yt as Ir, z as Lr, zn as Rr, zr, zt as Br } from "./k1IvXgw5-153QQUo.mjs";
|
|
9
9
|
import { Color as Vr, IFill as Hr, IStroke as Ur, PaintUtils as Wr } from "@sheetxl/sdk";
|
|
10
10
|
var Gr = {
|
|
11
11
|
pct5: "0040000000040000",
|
|
@@ -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.21
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
package/browser/esm/chart.mjs
CHANGED
|
@@ -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.21
|
|
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 { i as e, n as t, t as n } from "./
|
|
8
|
-
import { t as r } from "./
|
|
7
|
+
import { i as e, n as t, t as n } from "./BzFKdDmdCdg3cXdh.mjs";
|
|
8
|
+
import { t as r } from "./_T8e_9xhVAagwkPD.mjs";
|
|
9
9
|
import { forwardRef as i, memo as a, useCallback as o, useLayoutEffect as s, useRef as c } from "react";
|
|
10
10
|
import { jsx as l } from "react/jsx-runtime";
|
|
11
11
|
import { useImperativeElement as u } from "@sheetxl/utils-react";
|
package/browser/esm/control.mjs
CHANGED
|
@@ -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.21
|
|
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 "./C2HjD-DbaqXq93R7.mjs";
|
|
8
8
|
import { IFont as t } from "@sheetxl/sdk";
|
|
9
9
|
import { memo as n, useEffect as r, useReducer as i, useRef as a } from "react";
|
|
10
10
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
@@ -43,7 +43,7 @@ var c = (e) => {
|
|
|
43
43
|
}, [y, w]), y.isDeleted()) return null;
|
|
44
44
|
let T = u.getBounds();
|
|
45
45
|
return o("div", {
|
|
46
|
-
className: "form-control-renderer",
|
|
46
|
+
className: "sxl-form-control-renderer",
|
|
47
47
|
...v,
|
|
48
48
|
style: {
|
|
49
49
|
width: "100%",
|
|
@@ -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.21
|
|
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 "./CkYId3pjG9v3XZM2.mjs";
|
|
8
8
|
import { ChartEditor as t } from "./chart.mjs";
|
|
9
9
|
import { jsx as n } from "react/jsx-runtime";
|
|
10
10
|
import { messageKey as r, t as i } from "@sheetxl/utils";
|
package/browser/esm/group.mjs
CHANGED
|
@@ -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.21
|
|
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 { h as t, i as n, p as r } from "./
|
|
7
|
+
import { t as e } from "./C2HjD-DbaqXq93R7.mjs";
|
|
8
|
+
import { h as t, i as n, p as r } from "./C46qV9hBGqlz6_Kt.mjs";
|
|
9
9
|
import { forwardRef as i, memo as a, useContext as o, useEffect as s, useReducer as c } from "react";
|
|
10
10
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
11
11
|
import { useSurfaceState as d } from "@sheetxl/grid-react";
|
|
@@ -38,7 +38,7 @@ var f = a(i((i, a) => {
|
|
|
38
38
|
`translate(${-(j.x + j.width / 2) * _}px, ${-(j.y + j.height / 2) * _}px)`
|
|
39
39
|
].filter(Boolean).join(" ");
|
|
40
40
|
return u("div", {
|
|
41
|
-
className: "group-editor",
|
|
41
|
+
className: "sxl-group-editor",
|
|
42
42
|
...T,
|
|
43
43
|
ref: a,
|
|
44
44
|
style: {
|
|
@@ -50,7 +50,7 @@ var f = a(i((i, a) => {
|
|
|
50
50
|
pointerEvents: "none"
|
|
51
51
|
},
|
|
52
52
|
children: [l("div", {
|
|
53
|
-
className: "group-canvas",
|
|
53
|
+
className: "sxl-group-canvas",
|
|
54
54
|
style: {
|
|
55
55
|
position: "absolute",
|
|
56
56
|
left: 0,
|
|
@@ -64,7 +64,7 @@ var f = a(i((i, a) => {
|
|
|
64
64
|
if (!a || !r) return null;
|
|
65
65
|
let o = i?.rotation ?? (e.getRotation() || 0);
|
|
66
66
|
return l("div", {
|
|
67
|
-
className: "group-member",
|
|
67
|
+
className: "sxl-group-member",
|
|
68
68
|
[t]: e.getId(),
|
|
69
69
|
style: {
|
|
70
70
|
position: "absolute",
|
|
@@ -96,7 +96,7 @@ var f = a(i((i, a) => {
|
|
|
96
96
|
}, e.getId());
|
|
97
97
|
})
|
|
98
98
|
}), N ? l("svg", {
|
|
99
|
-
className: "group-edge",
|
|
99
|
+
className: "sxl-group-edge",
|
|
100
100
|
width: "100%",
|
|
101
101
|
height: "100%",
|
|
102
102
|
style: {
|