@sheetxl/react 0.8.0-beta.20 → 0.8.0-beta.22
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/{BzZ2vOT8CNsqcL8P.mjs → B9rbGikcuRq1OnhM.mjs} +2 -2
- package/browser/esm/{CM9e6dbkYbw56iFf.mjs → B9wkino8VMasq6E3.mjs} +2 -2
- package/browser/esm/{B06WJCAWTIB7QYlK.mjs → BPS1PDZKyF6ivJwa.mjs} +1 -1
- package/browser/esm/{BkBxhk45Iln3h-sG.mjs → Biz8qA4-1wRN8de2.mjs} +1 -1
- package/browser/esm/{C5RaHvks1HTBfWcr.mjs → Bjzo7g25tw9kTCYC.mjs} +2 -2
- package/browser/esm/{qeb-_mAjUAWD7bo4.mjs → BqIbT28MM3SBdvh_.mjs} +2 -2
- package/browser/esm/C7rc3CMd_XOITW1V.mjs +264 -0
- package/browser/esm/{CUPlUCBX7owYqDq5.mjs → CJVcfqrty5b-eowN.mjs} +2 -2
- package/browser/esm/{BGcs5WWx5PpaiJo4.mjs → CgOhJ3utK7aSQm26.mjs} +1 -1
- package/browser/esm/{CU67T36gmVTq9ZwH.mjs → CrTfqdSwWScJN566.mjs} +1 -1
- package/browser/esm/{Cwye4MAU1-EF7Xlv.mjs → D01C312OntVURMN9.mjs} +14 -14
- package/browser/esm/{CPjk4grd05Rp-e3V.mjs → D0g7sllamMog1m-Z.mjs} +3 -3
- package/browser/esm/{DcEGutcM_5gl0fZm.mjs → D7P7zWW2gdWclI2p.mjs} +3 -3
- package/browser/esm/{BFjx8_H3wUxrWDq9.mjs → D8NUgUzdI7YFxyyA.mjs} +4 -4
- package/browser/esm/{Ca_Ki0Si5ozlm1sl.mjs → DH8xeknZXWn7AV5q.mjs} +10 -10
- package/browser/esm/{DeOhqQroIiAic6-j.mjs → DgmkBz2cYtVZ8tXv.mjs} +1 -1
- package/browser/esm/{SESUB_fypyWmhCWm.mjs → DhGJU1camaOf7KOq.mjs} +12 -12
- package/browser/esm/{BcC6S9k7zkHfCNRX.mjs → DxsGY5rYjITV3SLK.mjs} +1 -1
- package/browser/esm/{Dkw3FFdQKXZQrkFv.mjs → DyFeCww9e_4G9c-1.mjs} +10 -10
- package/browser/esm/{COn0z_IT5hyEPNfV.mjs → HQkKZC6SPUdQwgxi.mjs} +1 -1
- package/browser/esm/{CtbJ8PCap2NGxlu0.mjs → QKnTzTdIYAMcBU8r.mjs} +1 -1
- package/browser/esm/chart.mjs +3 -3
- package/browser/esm/control.mjs +3 -3
- package/browser/esm/group.mjs +7 -7
- package/browser/esm/{CckrsFaUWle82oNL.mjs → hTeTTb8oYTssk6EY.mjs} +1 -1
- package/browser/esm/index.mjs +6538 -6531
- package/browser/esm/{QJPDAP6UIHTbY1fM.mjs → mJyEnJIX0iGfGtvE.mjs} +3 -3
- package/browser/esm/{B8_6V0LUnuA1dLW6.mjs → mUKvsPCmRWzQke-M.mjs} +1 -1
- package/browser/esm/note.mjs +5 -5
- package/browser/esm/{C1Qp40Kq88D9nzcX.mjs → np1ChcItFltS6AC5.mjs} +1 -1
- package/browser/esm/picture.mjs +2 -2
- package/browser/esm/shape.mjs +2 -2
- package/browser/esm/slicer.mjs +10 -10
- package/node/esm/{gfwmGAXGhq9IIu1U.mjs → -6T2zqPkDm0WgUKI.mjs} +2 -2
- package/node/esm/{Jy5x43_CAF31L14-.mjs → BPMjPMRyVTEZq_6j.mjs} +1 -1
- package/node/esm/{C9Yq98-vMDznppO2.mjs → BcASbEBHzMKiXn5i.mjs} +3 -3
- package/node/esm/{c1FOnFN_eCD6KR4l.mjs → BpcTu_chuDjr_XFv.mjs} +1 -1
- package/node/esm/{Nn0yfoegNHIym4QM.mjs → C3XXdc_UXH2g2W5E.mjs} +1 -1
- package/node/esm/{DrFBSp6XMEAjkdoG.mjs → C91YeRrspETjFcRc.mjs} +2 -2
- package/node/esm/{DytW9LaLlJGM-6m6.mjs → CE5fMGMmykts2yJP.mjs} +1 -1
- package/node/esm/{CqnJ_hGK1txHO0j9.mjs → COlzVELrEvgm2STX.mjs} +18 -18
- package/node/esm/{G9tXP39ldfioRVhL.mjs → CZc2QH8i-TgW9nGI.mjs} +1 -1
- package/node/esm/{7_AWLfp_6MpYBpiV.mjs → CcLUKcJROXrbSXjb.mjs} +1 -1
- package/node/esm/{DmPmSA-2Aha-_6qu.mjs → CfpNgRvWmu36cTfV.mjs} +9 -9
- package/node/esm/{CER7_OJffhze14wR.mjs → CzQMRmArhJ6blZJp.mjs} +1 -1
- package/node/esm/{BOAB33GIG2M2CWMr.mjs → DHTbAHbCiEWhilV_.mjs} +1 -1
- package/node/esm/{D63HF8XToGXrf7ds.mjs → DX7ysYSfnigj0ak8.mjs} +1 -1
- package/node/esm/{C7wmHIY8RLeNSX3T.mjs → DxKxx-yEkSydHyWQ.mjs} +1 -1
- package/node/esm/{77PQMLXXAN7fjBHS.mjs → FUQMKIiQQ5m3xzeO.mjs} +1 -1
- package/node/esm/{CBHY_xaB7ke3yH-f.mjs → GG78Gq3CY8SDS-48.mjs} +2 -2
- package/node/esm/{UBas29HOMjk4p5jo.mjs → aLt3NYdUcYQu4Ur4.mjs} +1 -1
- package/node/esm/chart.mjs +2 -2
- package/node/esm/{Ef8HHL90yLZgk3Gf.mjs → cju5Gx-t_74o116W.mjs} +2 -2
- package/node/esm/control.mjs +3 -3
- package/node/esm/group.mjs +9 -9
- package/node/esm/{CWOKAmLpdinc-0TK.mjs → i4aPmKocZebCBeSd.mjs} +83 -81
- package/node/esm/index.mjs +5627 -5620
- package/node/esm/{BbnUYxeK64Fq92Lo.mjs → l0GtU6LYlBywzc9T.mjs} +2 -2
- package/node/esm/note.mjs +5 -5
- package/node/esm/picture.mjs +31 -31
- package/node/esm/shape.mjs +25 -25
- package/node/esm/slicer.mjs +17 -17
- package/package.json +7 -7
- package/types/src/movable/MovableLayer.d.ts +1 -1
- package/types/src/theme/GridColorSchemeContext.d.ts +8 -0
- package/types/src/theme/useGridColorScheme.d.ts +5 -1
- package/browser/esm/Ch5X-uGft55TOqxa.mjs +0 -262
|
@@ -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.22
|
|
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,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.22
|
|
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/note.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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.22
|
|
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 { t } from "./
|
|
9
|
-
import { t as n } from "./
|
|
7
|
+
import { t as e } from "./BPS1PDZKyF6ivJwa.mjs";
|
|
8
|
+
import { t } from "./hTeTTb8oYTssk6EY.mjs";
|
|
9
|
+
import { t as n } from "./B9rbGikcuRq1OnhM.mjs";
|
|
10
10
|
import { Color as r, IColor as i, IFont as a, IFontStyle as o, IStroke as s } from "@sheetxl/sdk";
|
|
11
11
|
import { forwardRef as c, memo as l, useReducer as u } from "react";
|
|
12
12
|
import { jsx as d } from "react/jsx-runtime";
|
|
@@ -63,7 +63,7 @@ var p = new r(i.Named.InfoBk).toCSS("adaptive"), m = new r(i.Named.InfoText).toC
|
|
|
63
63
|
});
|
|
64
64
|
let O = f(i, () => ({ isNoteEditor: () => !0 }), []);
|
|
65
65
|
if (!c.isDeleted() && c.isNote()) return d(t, {
|
|
66
|
-
className: "note-editor",
|
|
66
|
+
className: "sxl-note-editor",
|
|
67
67
|
...E,
|
|
68
68
|
ref: O,
|
|
69
69
|
movable: l,
|
|
@@ -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.22
|
|
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/picture.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.22
|
|
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
|
-
export { t as PictureEditor } from "./
|
|
7
|
+
export { t as PictureEditor } from "./DyFeCww9e_4G9c-1.mjs";
|
package/browser/esm/shape.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.22
|
|
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
|
-
export { t as ShapeEditor } from "./
|
|
7
|
+
export { t as ShapeEditor } from "./D01C312OntVURMN9.mjs";
|
package/browser/esm/slicer.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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.22
|
|
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 { i as n, r, t as i } from "./
|
|
7
|
+
import { t as e } from "./BPS1PDZKyF6ivJwa.mjs";
|
|
8
|
+
import { n as t } from "./mUKvsPCmRWzQke-M.mjs";
|
|
9
|
+
import { i as n, r, t as i } from "./Biz8qA4-1wRN8de2.mjs";
|
|
10
10
|
import { IFont as a } from "@sheetxl/sdk";
|
|
11
11
|
import { forwardRef as o, memo as s, useCallback as c, useEffect as l, useLayoutEffect as u, useMemo as d, useReducer as f, useRef as p, useState as m } from "react";
|
|
12
12
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
@@ -135,7 +135,7 @@ var ee = () => g("svg", {
|
|
|
135
135
|
cursor: "pointer"
|
|
136
136
|
};
|
|
137
137
|
return g("div", {
|
|
138
|
-
className: "slicer-editor",
|
|
138
|
+
className: "sxl-slicer-editor",
|
|
139
139
|
...O,
|
|
140
140
|
ref: se,
|
|
141
141
|
style: {
|
|
@@ -157,7 +157,7 @@ var ee = () => g("svg", {
|
|
|
157
157
|
},
|
|
158
158
|
children: [Q ? g("div", {
|
|
159
159
|
ref: V,
|
|
160
|
-
className: "slicer-caption",
|
|
160
|
+
className: "sxl-slicer-caption",
|
|
161
161
|
style: {
|
|
162
162
|
display: "flex",
|
|
163
163
|
alignItems: "center",
|
|
@@ -179,7 +179,7 @@ var ee = () => g("svg", {
|
|
|
179
179
|
}),
|
|
180
180
|
h("button", {
|
|
181
181
|
type: "button",
|
|
182
|
-
className: "slicer-multi-select",
|
|
182
|
+
className: "sxl-slicer-multi-select",
|
|
183
183
|
tabIndex: -1,
|
|
184
184
|
title: k("slicer.multiSelect"),
|
|
185
185
|
"aria-label": k("slicer.multiSelect"),
|
|
@@ -194,7 +194,7 @@ var ee = () => g("svg", {
|
|
|
194
194
|
}),
|
|
195
195
|
h("button", {
|
|
196
196
|
type: "button",
|
|
197
|
-
className: "slicer-clear",
|
|
197
|
+
className: "sxl-slicer-clear",
|
|
198
198
|
tabIndex: -1,
|
|
199
199
|
title: k("slicer.clearFilter"),
|
|
200
200
|
"aria-label": k("slicer.clearFilter"),
|
|
@@ -212,7 +212,7 @@ var ee = () => g("svg", {
|
|
|
212
212
|
]
|
|
213
213
|
}) : null, h("div", {
|
|
214
214
|
ref: H,
|
|
215
|
-
className: "slicer-items",
|
|
215
|
+
className: "sxl-slicer-items",
|
|
216
216
|
role: "listbox",
|
|
217
217
|
"aria-multiselectable": !0,
|
|
218
218
|
"aria-label": w.getCaption(),
|
|
@@ -236,7 +236,7 @@ var ee = () => g("svg", {
|
|
|
236
236
|
children: P.map((e) => {
|
|
237
237
|
let t = n(e.isSelected, e.hasData, R === e.key);
|
|
238
238
|
return h("div", {
|
|
239
|
-
className: "slicer-item",
|
|
239
|
+
className: "sxl-slicer-item",
|
|
240
240
|
role: "option",
|
|
241
241
|
"aria-selected": e.isSelected,
|
|
242
242
|
"data-key": e.key,
|
|
@@ -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.22
|
|
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 "./BPMjPMRyVTEZq_6j.mjs";
|
|
8
8
|
import { ChartEditor as t } from "./chart.mjs";
|
|
9
9
|
import { jsx as a } from "react/jsx-runtime";
|
|
10
10
|
import { messageKey as s, t as o } 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.22
|
|
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.22
|
|
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 p = (i, r) => {
|
|
|
88
88
|
i
|
|
89
89
|
]);
|
|
90
90
|
return a("div", {
|
|
91
|
-
className: "shape-text",
|
|
91
|
+
className: "sxl-shape-text",
|
|
92
92
|
style: v,
|
|
93
93
|
children: e.paragraphs.map((r, n) => {
|
|
94
94
|
const l = r.level ? e.listStyle?.levels?.[r.level] : u, o = {
|
|
@@ -110,7 +110,7 @@ var p = (i, r) => {
|
|
|
110
110
|
...r.endRun
|
|
111
111
|
}] : [];
|
|
112
112
|
return s("div", {
|
|
113
|
-
className: "shape-paragraph",
|
|
113
|
+
className: "sxl-shape-paragraph",
|
|
114
114
|
style: c,
|
|
115
115
|
children: ["char" === p?.type && p.char ? a("span", {
|
|
116
116
|
style: { marginRight: "0.4em" },
|
|
@@ -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.22
|
|
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.22
|
|
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.22
|
|
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 "./DxKxx-yEkSydHyWQ.mjs";
|
|
8
8
|
import { Color as t, IFill as i, IStroke as r, PaintUtils as s } from "@sheetxl/sdk";
|
|
9
9
|
import * as n from "echarts/core";
|
|
10
10
|
import { BarChart as o, LineChart as l, PieChart as a } from "echarts/charts";
|
|
@@ -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.22
|
|
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.22
|
|
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 "./DX7ysYSfnigj0ak8.mjs";
|
|
8
8
|
import { createContext as t, memo as n, useCallback as o, useEffect as r, useReducer as l, useRef as a, useState as i } from "react";
|
|
9
9
|
import { Fragment as s, jsx as c, jsxs as d } from "react/jsx-runtime";
|
|
10
10
|
import { LazyModules as u, defineLazyModule as p } from "@sheetxl/utils";
|
|
@@ -29,7 +29,7 @@ var g = Object.freeze({
|
|
|
29
29
|
let t = e;
|
|
30
30
|
for (let e = t.getParent(); e; e = t.getParent()) t = e;
|
|
31
31
|
return t;
|
|
32
|
-
},
|
|
32
|
+
}, x = (e, t, n) => {
|
|
33
33
|
const o = [];
|
|
34
34
|
let r = t;
|
|
35
35
|
for (; r && r !== n;) {
|
|
@@ -46,8 +46,8 @@ var g = Object.freeze({
|
|
|
46
46
|
const a = l.length - 1;
|
|
47
47
|
for (let e = a; e >= 0; e--) if (l[e].isSelected()) return l[Math.min(e + 1, a)];
|
|
48
48
|
const i = e.getRange().getWorksheet().getView().getMovableSelection().getContainer();
|
|
49
|
-
return i && w(i) === e ? l[Math.min(
|
|
50
|
-
},
|
|
49
|
+
return i && w(i) === e ? l[Math.min(M(i) + 1, a)] : e;
|
|
50
|
+
}, M = (e) => {
|
|
51
51
|
let t = 0;
|
|
52
52
|
for (let n = e.getParent(); n; n = n.getParent()) t++;
|
|
53
53
|
return t;
|
|
@@ -61,7 +61,7 @@ var g = Object.freeze({
|
|
|
61
61
|
r(t, e);
|
|
62
62
|
}, [t, r]), u = v(t, i, n);
|
|
63
63
|
return c("div", {
|
|
64
|
-
className: "movable-adornment",
|
|
64
|
+
className: "sxl-movable-adornment",
|
|
65
65
|
ref: d,
|
|
66
66
|
style: {
|
|
67
67
|
position: "absolute",
|
|
@@ -117,22 +117,22 @@ var R = {
|
|
|
117
117
|
}, [s]), w = o((e) => {
|
|
118
118
|
const t = f.current;
|
|
119
119
|
t && t.pointerId === e.pointerId && (f.current = null, u());
|
|
120
|
-
}, [u]),
|
|
120
|
+
}, [u]), x = o((e) => {
|
|
121
121
|
0 === e.button && (e.stopPropagation(), e.preventDefault(), h?.(e.nativeEvent));
|
|
122
122
|
}, [h]);
|
|
123
123
|
return d("div", {
|
|
124
124
|
className: [
|
|
125
|
-
"movable-control",
|
|
126
|
-
r ? "dragging" : null,
|
|
127
|
-
p ? "context" : null
|
|
125
|
+
"sxl-movable-control",
|
|
126
|
+
r ? "sxl-dragging" : null,
|
|
127
|
+
p ? "sxl-context" : null
|
|
128
128
|
].filter(Boolean).join(" "),
|
|
129
129
|
children: [
|
|
130
130
|
m,
|
|
131
|
-
c("div", { className: "movable-control-outline" }),
|
|
131
|
+
c("div", { className: "sxl-movable-control-outline" }),
|
|
132
132
|
t.map((e) => {
|
|
133
133
|
const t = R[e];
|
|
134
134
|
return t ? c("div", {
|
|
135
|
-
className: "movable-control-handle",
|
|
135
|
+
className: "sxl-movable-control-handle",
|
|
136
136
|
"data-direction": e,
|
|
137
137
|
style: {
|
|
138
138
|
left: 50 * (t[0] + 1) + "%",
|
|
@@ -146,8 +146,8 @@ var R = {
|
|
|
146
146
|
}, e) : null;
|
|
147
147
|
}),
|
|
148
148
|
h ? c("div", {
|
|
149
|
-
className: "movable-move-handle",
|
|
150
|
-
onPointerDown:
|
|
149
|
+
className: "sxl-movable-move-handle",
|
|
150
|
+
onPointerDown: x,
|
|
151
151
|
children: c("svg", {
|
|
152
152
|
viewBox: "0 0 24 24",
|
|
153
153
|
"aria-hidden": "true",
|
|
@@ -162,7 +162,7 @@ var k = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), S = /* @__PURE
|
|
|
162
162
|
for (const e of [...I]) e();
|
|
163
163
|
}, E = !1, N = () => {
|
|
164
164
|
E || (E = !0, function(e) {
|
|
165
|
-
e("picture", () => import("./
|
|
165
|
+
e("picture", () => import("./cju5Gx-t_74o116W.mjs"), { select: (e) => e.PictureKind }), e("chart", () => import("./-6T2zqPkDm0WgUKI.mjs"), { select: (e) => e.ChartKind }), e("slicer", () => import("./CcLUKcJROXrbSXjb.mjs"), { select: (e) => e.SlicerKind }), e("shape", () => import("./CfpNgRvWmu36cTfV.mjs"), {
|
|
166
166
|
select: (e) => e.ShapeKind,
|
|
167
167
|
selectionShadow: !1
|
|
168
168
|
}), e("group", () => import("./group.mjs"), { select: ({ GroupEditor: e }) => (t) => c(e, {
|
|
@@ -174,7 +174,7 @@ var k = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), S = /* @__PURE
|
|
|
174
174
|
...o,
|
|
175
175
|
note: t.movable.getContent()
|
|
176
176
|
});
|
|
177
|
-
} }), e("error", () => import("./
|
|
177
|
+
} }), e("error", () => import("./GG78Gq3CY8SDS-48.mjs").then((e) => e.t), { select: ({ ErrorContentFrame: e }) => (t) => c(e, { ...t }) });
|
|
178
178
|
const t = (t, n) => {
|
|
179
179
|
e(t, () => import("./control.mjs"), { select: n });
|
|
180
180
|
};
|
|
@@ -236,7 +236,7 @@ var k = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), S = /* @__PURE
|
|
|
236
236
|
})
|
|
237
237
|
}), s = {
|
|
238
238
|
Renderer: "content" === n?.hitArea ? i : (e) => c("div", {
|
|
239
|
-
className: "movable-content",
|
|
239
|
+
className: "sxl-movable-content",
|
|
240
240
|
style: e.style,
|
|
241
241
|
children: i(e)
|
|
242
242
|
}),
|
|
@@ -325,4 +325,4 @@ function _(e, t, n) {
|
|
|
325
325
|
...n
|
|
326
326
|
}, () => !j.has(e)));
|
|
327
327
|
}
|
|
328
|
-
export { w as _, W as a, H as c, B as d, P as f,
|
|
328
|
+
export { w as _, W as a, H as c, B as d, P as f, x as g, b as h, Y as i, F as l, C as m, X as n, G as o, y as p, O as r, _ as s, V as t, T as u, v };
|
|
@@ -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.22
|
|
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.22
|
|
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.22
|
|
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 } from "./
|
|
8
|
-
import { d as n } from "./
|
|
9
|
-
import { t as e } from "./
|
|
10
|
-
import { n as o } from "./
|
|
7
|
+
import { t } from "./DX7ysYSfnigj0ak8.mjs";
|
|
8
|
+
import { d as n } from "./COlzVELrEvgm2STX.mjs";
|
|
9
|
+
import { t as e } from "./FUQMKIiQQ5m3xzeO.mjs";
|
|
10
|
+
import { n as o } from "./BPMjPMRyVTEZq_6j.mjs";
|
|
11
11
|
import { ShapeEditor as r } from "./shape.mjs";
|
|
12
12
|
import { memo as a, useCallback as s, useReducer as i, useRef as c } from "react";
|
|
13
13
|
import { jsx as l } from "react/jsx-runtime";
|
|
@@ -151,14 +151,14 @@ var p = (t, n) => {
|
|
|
151
151
|
}, [f, C]);
|
|
152
152
|
return l("div", {
|
|
153
153
|
className: [
|
|
154
|
-
"movable-control",
|
|
155
|
-
"connector",
|
|
156
|
-
a ? "dragging" : null
|
|
154
|
+
"sxl-movable-control",
|
|
155
|
+
"sxl-connector",
|
|
156
|
+
a ? "sxl-dragging" : null
|
|
157
157
|
].filter(Boolean).join(" "),
|
|
158
158
|
children: ["start", "end"].map((t) => {
|
|
159
159
|
const n = p(t, r), e = "start" === t ? !!v?.isStartConnected() : !!v?.isEndConnected();
|
|
160
160
|
return l("div", {
|
|
161
|
-
className: e ? "movable-control-handle connector-end glued" : "movable-control-handle connector-end",
|
|
161
|
+
className: e ? "sxl-movable-control-handle sxl-connector-end sxl-glued" : "sxl-movable-control-handle sxl-connector-end",
|
|
162
162
|
"data-end": t,
|
|
163
163
|
style: {
|
|
164
164
|
left: 50 * (n[0] + 1) + "%",
|
|
@@ -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.22
|
|
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.22
|
|
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.22
|
|
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.22
|
|
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.22
|
|
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.22
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -20,7 +20,7 @@ var l = Object.defineProperty, d = (e, r) => {
|
|
|
20
20
|
o(() => {}, [p]);
|
|
21
21
|
const w = n(r, () => ({ isEmptyFrame: () => !0 }), []), [k, { height: C, width: S }] = a(), j = s([w, k]);
|
|
22
22
|
return t("div", {
|
|
23
|
-
className: "unknown-editor",
|
|
23
|
+
className: "sxl-unknown-editor",
|
|
24
24
|
...h,
|
|
25
25
|
ref: j,
|
|
26
26
|
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.22
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
package/node/esm/chart.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.22
|
|
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 r } from "./
|
|
7
|
+
import { i as e, n as t, t as r } from "./i4aPmKocZebCBeSd.mjs";
|
|
8
8
|
import { forwardRef as o, memo as n, useCallback as l, useLayoutEffect as i, useRef as s } from "react";
|
|
9
9
|
import { jsx as a } from "react/jsx-runtime";
|
|
10
10
|
import { useImperativeElement as m } from "@sheetxl/utils-react";
|
|
@@ -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.22
|
|
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 "./aLt3NYdUcYQu4Ur4.mjs";
|
|
8
8
|
import { PictureEditor as t, n as a, r as o, t as n } from "./picture.mjs";
|
|
9
9
|
import { jsx as s } from "react/jsx-runtime";
|
|
10
10
|
import { DOMUtils as r, messageKey as c, t as i } from "@sheetxl/utils";
|
package/node/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.22
|
|
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 "./DX7ysYSfnigj0ak8.mjs";
|
|
8
8
|
import { IFont as t } from "@sheetxl/sdk";
|
|
9
9
|
import { memo as n, useEffect as r, useReducer as o, useRef as i } from "react";
|
|
10
10
|
import { jsx as l, jsxs as d } from "react/jsx-runtime";
|
|
@@ -43,7 +43,7 @@ var a = (e) => {
|
|
|
43
43
|
}, [b, S]), b.isDeleted()) return null;
|
|
44
44
|
const R = c.getBounds();
|
|
45
45
|
return l("div", {
|
|
46
|
-
className: "form-control-renderer",
|
|
46
|
+
className: "sxl-form-control-renderer",
|
|
47
47
|
...f,
|
|
48
48
|
style: {
|
|
49
49
|
width: "100%",
|
package/node/esm/group.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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.22
|
|
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 o, p as n } from "./
|
|
7
|
+
import { t as e } from "./DX7ysYSfnigj0ak8.mjs";
|
|
8
|
+
import { h as t, i as o, p as n } from "./COlzVELrEvgm2STX.mjs";
|
|
9
9
|
import { forwardRef as i, memo as r, useContext as s, useEffect as l, useReducer as a } from "react";
|
|
10
10
|
import { jsx as d, jsxs as g } from "react/jsx-runtime";
|
|
11
11
|
import { useSurfaceState as h } from "@sheetxl/grid-react";
|
|
12
12
|
var p = r(i((i, r) => {
|
|
13
|
-
const { children: p, disabled: m, style: c, container: u, movable: v, zoom: f = 1, isDragging:
|
|
13
|
+
const { children: p, disabled: m, style: c, container: u, movable: v, zoom: f = 1, isDragging: x, onHide: y, onShow: b, onDragZone: w, adornmentHost: C, flip: E, gesture: $, ...I } = i, [, j] = a((e) => e + 1, 0);
|
|
14
14
|
e(v ?? null, {
|
|
15
15
|
onBoundsChange: j,
|
|
16
16
|
onSelectionChange: j,
|
|
@@ -38,7 +38,7 @@ var p = r(i((i, r) => {
|
|
|
38
38
|
`translate(${-(H.x + H.width / 2) * f}px, ${-(H.y + H.height / 2) * f}px)`
|
|
39
39
|
].filter(Boolean).join(" ");
|
|
40
40
|
return g("div", {
|
|
41
|
-
className: "group-editor",
|
|
41
|
+
className: "sxl-group-editor",
|
|
42
42
|
...I,
|
|
43
43
|
ref: r,
|
|
44
44
|
style: {
|
|
@@ -50,7 +50,7 @@ var p = r(i((i, r) => {
|
|
|
50
50
|
pointerEvents: "none"
|
|
51
51
|
},
|
|
52
52
|
children: [d("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 p = r(i((i, r) => {
|
|
|
64
64
|
if (!r || !n) return null;
|
|
65
65
|
const s = i?.rotation ?? (e.getRotation() || 0);
|
|
66
66
|
return d("div", {
|
|
67
|
-
className: "group-member",
|
|
67
|
+
className: "sxl-group-member",
|
|
68
68
|
[t]: e.getId(),
|
|
69
69
|
style: {
|
|
70
70
|
position: "absolute",
|
|
@@ -82,7 +82,7 @@ var p = r(i((i, r) => {
|
|
|
82
82
|
zoom: f,
|
|
83
83
|
flip: i?.flip ?? e.getFlip(),
|
|
84
84
|
disabled: m,
|
|
85
|
-
isDragging:
|
|
85
|
+
isDragging: x || !!i,
|
|
86
86
|
adornmentHost: z.get(e) ?? null,
|
|
87
87
|
style: {
|
|
88
88
|
position: "relative",
|
|
@@ -96,7 +96,7 @@ var p = r(i((i, r) => {
|
|
|
96
96
|
}, e.getId());
|
|
97
97
|
})
|
|
98
98
|
}), k ? d("svg", {
|
|
99
|
-
className: "group-edge",
|
|
99
|
+
className: "sxl-group-edge",
|
|
100
100
|
width: "100%",
|
|
101
101
|
height: "100%",
|
|
102
102
|
style: {
|