@sheetxl/react 0.8.0-beta.21 → 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/{B7TCFLHs7nnOgLMi.mjs → B9rbGikcuRq1OnhM.mjs} +2 -2
- package/browser/esm/{Co65nK3fyBcyVzrS.mjs → B9wkino8VMasq6E3.mjs} +1 -1
- package/browser/esm/{C2HjD-DbaqXq93R7.mjs → BPS1PDZKyF6ivJwa.mjs} +1 -1
- package/browser/esm/{CA6w64diOtRCgr4n.mjs → Biz8qA4-1wRN8de2.mjs} +1 -1
- package/browser/esm/{k1IvXgw5-153QQUo.mjs → Bjzo7g25tw9kTCYC.mjs} +2 -2
- package/browser/esm/{fHDciYUZvXpLzoID.mjs → BqIbT28MM3SBdvh_.mjs} +2 -2
- package/browser/esm/C7rc3CMd_XOITW1V.mjs +264 -0
- package/browser/esm/{CdE8JeJkTtdh5qqp.mjs → CJVcfqrty5b-eowN.mjs} +2 -2
- package/browser/esm/{CkYId3pjG9v3XZM2.mjs → CgOhJ3utK7aSQm26.mjs} +1 -1
- package/browser/esm/{_T8e_9xhVAagwkPD.mjs → CrTfqdSwWScJN566.mjs} +1 -1
- package/browser/esm/{DL2WZkJdK1lZfpJo.mjs → D01C312OntVURMN9.mjs} +7 -7
- package/browser/esm/{Dl0ye0MfTml4mjhA.mjs → D0g7sllamMog1m-Z.mjs} +3 -3
- package/browser/esm/{zTaXN_1rvsoWg94m.mjs → D7P7zWW2gdWclI2p.mjs} +3 -3
- package/browser/esm/{BjnWnPjhT1QFkbUC.mjs → D8NUgUzdI7YFxyyA.mjs} +3 -3
- package/browser/esm/{DG1f60gvSkz8Y3qb.mjs → DH8xeknZXWn7AV5q.mjs} +6 -6
- package/browser/esm/{BQur1iFrng9Y4kh4.mjs → DgmkBz2cYtVZ8tXv.mjs} +1 -1
- package/browser/esm/{C46qV9hBGqlz6_Kt.mjs → DhGJU1camaOf7KOq.mjs} +4 -4
- package/browser/esm/{CCL3pFmdsuwahoCR.mjs → DxsGY5rYjITV3SLK.mjs} +1 -1
- package/browser/esm/{CPwcEeQtvkrESNEy.mjs → DyFeCww9e_4G9c-1.mjs} +5 -5
- package/browser/esm/{CHgyrBEiFmspcFXV.mjs → HQkKZC6SPUdQwgxi.mjs} +1 -1
- package/browser/esm/{BwMC6jAg2neI4LTH.mjs → QKnTzTdIYAMcBU8r.mjs} +1 -1
- package/browser/esm/chart.mjs +3 -3
- package/browser/esm/control.mjs +2 -2
- package/browser/esm/group.mjs +3 -3
- package/browser/esm/{mOYnwl3MMod-yX7a.mjs → hTeTTb8oYTssk6EY.mjs} +1 -1
- package/browser/esm/index.mjs +6409 -6402
- package/browser/esm/{BzCq_Z7J2qQlY4Dp.mjs → mJyEnJIX0iGfGtvE.mjs} +1 -1
- package/browser/esm/{C9dHNoiKtX9PLY1g.mjs → mUKvsPCmRWzQke-M.mjs} +1 -1
- package/browser/esm/note.mjs +4 -4
- package/browser/esm/{6lfBozPNyWlFBEDn.mjs → np1ChcItFltS6AC5.mjs} +1 -1
- package/browser/esm/picture.mjs +2 -2
- package/browser/esm/shape.mjs +2 -2
- package/browser/esm/slicer.mjs +4 -4
- package/node/esm/{Bzuh8HcJcFD2dYTY.mjs → -6T2zqPkDm0WgUKI.mjs} +2 -2
- package/node/esm/{COg8aOu0d67g_Pg5.mjs → BPMjPMRyVTEZq_6j.mjs} +1 -1
- package/node/esm/{8PerdW56-NyRf0pg.mjs → BcASbEBHzMKiXn5i.mjs} +1 -1
- package/node/esm/{BadjRr_jKKGvmEW-.mjs → BpcTu_chuDjr_XFv.mjs} +1 -1
- package/node/esm/{Mq8a4csdTfwY5CnZ.mjs → C3XXdc_UXH2g2W5E.mjs} +1 -1
- package/node/esm/{CGEbcsNJ40cYQEWX.mjs → C91YeRrspETjFcRc.mjs} +2 -2
- package/node/esm/{B2a1mRx9B8XMRd8H.mjs → CE5fMGMmykts2yJP.mjs} +1 -1
- package/node/esm/{cgqViNUwnlIX8-UW.mjs → COlzVELrEvgm2STX.mjs} +4 -4
- package/node/esm/{fM9xnrz0LJWdndYE.mjs → CZc2QH8i-TgW9nGI.mjs} +1 -1
- package/node/esm/{JrDkDzP0l4TgHusH.mjs → CcLUKcJROXrbSXjb.mjs} +1 -1
- package/node/esm/{BBBfGP0lLhBFoR9F.mjs → CfpNgRvWmu36cTfV.mjs} +5 -5
- package/node/esm/{EXPN4LM0alUK5Zw7.mjs → CzQMRmArhJ6blZJp.mjs} +1 -1
- package/node/esm/{CNYzecnb2TInTI8p.mjs → DHTbAHbCiEWhilV_.mjs} +1 -1
- package/node/esm/{DtrPF3bSD4CZC5VG.mjs → DX7ysYSfnigj0ak8.mjs} +1 -1
- package/node/esm/{CD1OBtF4vEthYy6e.mjs → DxKxx-yEkSydHyWQ.mjs} +1 -1
- package/node/esm/{BQpm93aEyzN5TiU6.mjs → FUQMKIiQQ5m3xzeO.mjs} +1 -1
- package/node/esm/{tRhXTPxocmY7ZY3z.mjs → GG78Gq3CY8SDS-48.mjs} +1 -1
- package/node/esm/{CdKkuM4Yy04LbhRL.mjs → aLt3NYdUcYQu4Ur4.mjs} +1 -1
- package/node/esm/chart.mjs +2 -2
- package/node/esm/{B4qJFO-8Vml8JbaC.mjs → cju5Gx-t_74o116W.mjs} +2 -2
- package/node/esm/control.mjs +2 -2
- package/node/esm/group.mjs +3 -3
- package/node/esm/{Df-nWyFJwXaVd79x.mjs → i4aPmKocZebCBeSd.mjs} +79 -77
- package/node/esm/index.mjs +5542 -5535
- package/node/esm/{uzlKB6H0b-ol8pDK.mjs → l0GtU6LYlBywzc9T.mjs} +1 -1
- package/node/esm/note.mjs +4 -4
- package/node/esm/picture.mjs +5 -5
- package/node/esm/shape.mjs +18 -18
- package/node/esm/slicer.mjs +4 -4
- 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/BzFKdDmdCdg3cXdh.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
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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
|
|
@@ -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";
|
|
@@ -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
|
};
|
|
@@ -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";
|
|
@@ -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
|
|
@@ -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";
|
package/node/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.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";
|
|
@@ -1,29 +1,31 @@
|
|
|
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 {
|
|
8
|
-
import { jsx as
|
|
9
|
-
import { CommonUtils as
|
|
10
|
-
import { useImperativeElement as
|
|
11
|
-
import { useMergeRefs as
|
|
12
|
-
var
|
|
7
|
+
import { createContext as e, forwardRef as t, memo as r, useCallback as n, useContext as o, useEffect as l, useLayoutEffect as s, useRef as i, useState as a } from "react";
|
|
8
|
+
import { jsx as c, jsxs as d } from "react/jsx-runtime";
|
|
9
|
+
import { CommonUtils as u, defineLazyModule as h } from "@sheetxl/utils";
|
|
10
|
+
import { useImperativeElement as g, useMeasure as m, usePendingRender as p, usePersistentState as f, useResolvedThemeMode as x } from "@sheetxl/utils-react";
|
|
11
|
+
import { useMergeRefs as y } from "react-merge-refs";
|
|
12
|
+
var b = {
|
|
13
13
|
Mode: "themeMode",
|
|
14
14
|
DarkGrid: "enableDarkGrid",
|
|
15
15
|
DarkImages: "enableDarkImages"
|
|
16
|
-
},
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
}, v = {
|
|
17
|
+
[b.Mode]: null,
|
|
18
|
+
[b.DarkGrid]: !1,
|
|
19
|
+
[b.DarkImages]: !1
|
|
20
|
+
}, k = e(null);
|
|
21
|
+
k.displayName = "GridColorSchemeContext";
|
|
22
|
+
var w = (e) => {
|
|
23
|
+
const t = o(k), [r] = f(b.Mode, v[b.Mode]), [n] = f(b.DarkGrid, v[b.DarkGrid]), { themeMode: l } = x({ mode: e ?? r ?? void 0 });
|
|
24
|
+
return e || t || ("dark" === l && n ? "dark" : "light");
|
|
25
|
+
}, E = () => {
|
|
26
|
+
const [e] = f(b.Mode, v[b.Mode]), { themeMode: t } = x({ mode: e ?? void 0 });
|
|
25
27
|
return t;
|
|
26
|
-
},
|
|
28
|
+
}, M = h("chart:paint", () => import("./C91YeRrspETjFcRc.mjs")), C = (e, t) => {
|
|
27
29
|
const r = e.getElementType();
|
|
28
30
|
if ("point" === r) {
|
|
29
31
|
const r = e.getParent();
|
|
@@ -38,28 +40,28 @@ var x = {
|
|
|
38
40
|
return n ? t === n || "dataLabel" === t?.getElementType() && t.getParent()?.getParent() === r ? e : n : e;
|
|
39
41
|
}
|
|
40
42
|
return e;
|
|
41
|
-
},
|
|
43
|
+
}, P = {
|
|
42
44
|
boxes: [],
|
|
43
45
|
handles: []
|
|
44
|
-
},
|
|
45
|
-
const { children:
|
|
46
|
-
F.current =
|
|
47
|
-
const I =
|
|
48
|
-
|
|
46
|
+
}, D = r(t((e, t) => {
|
|
47
|
+
const { children: r, style: o, chart: h, onChartChange: f, zoom: x = 1, width: b, height: v, selection: k = null, colorScheme: w, onElementPress: D, onPointerDown: L, ...G } = e, [S, A] = a(() => u.isPromiseLike(h) ? null : h), [T, z] = a(null), F = i(f);
|
|
48
|
+
F.current = f;
|
|
49
|
+
const I = i(null);
|
|
50
|
+
l(() => {
|
|
49
51
|
let e = !0;
|
|
50
52
|
const t = (e, t) => {
|
|
51
|
-
z(t),
|
|
53
|
+
z(t), A(e), I.current !== e && (I.current = e, F.current?.(e));
|
|
52
54
|
};
|
|
53
|
-
if (
|
|
55
|
+
if (u.isPromiseLike(h)) return h.then((r) => {
|
|
54
56
|
e && t(r, null);
|
|
55
57
|
}, (r) => {
|
|
56
58
|
e && t(null, r);
|
|
57
59
|
}), () => {
|
|
58
60
|
e = !1;
|
|
59
61
|
};
|
|
60
|
-
t(
|
|
61
|
-
}, [
|
|
62
|
-
const [N, $] =
|
|
62
|
+
t(h, null);
|
|
63
|
+
}, [h]);
|
|
64
|
+
const [N, $] = m(), B = "number" == typeof b ? b : $.width, R = "number" == typeof v ? v : $.height, j = B ? Math.round(B / x) : 0, V = R ? Math.round(R / x) : 0, X = i({
|
|
63
65
|
width: j,
|
|
64
66
|
height: V
|
|
65
67
|
});
|
|
@@ -67,14 +69,14 @@ var x = {
|
|
|
67
69
|
width: j,
|
|
68
70
|
height: V
|
|
69
71
|
};
|
|
70
|
-
const Y =
|
|
72
|
+
const Y = E(), q = "dark" === (w ?? Y), H = n(async (e) => {
|
|
71
73
|
const t = X.current;
|
|
72
|
-
if (!
|
|
73
|
-
const r =
|
|
74
|
-
return r ? (await
|
|
75
|
-
}, [
|
|
76
|
-
O.current =
|
|
77
|
-
const Q =
|
|
74
|
+
if (!S || !t.width || !t.height) return null;
|
|
75
|
+
const r = S.getLayout(t);
|
|
76
|
+
return r ? (await M.load()).renderChartToSVG(r, { darkMode: e?.darkMode ?? !1 }) : null;
|
|
77
|
+
}, [S]), J = i(null), K = i(null), O = i(x);
|
|
78
|
+
O.current = x;
|
|
79
|
+
const Q = n((e, t) => {
|
|
78
80
|
const r = J.current;
|
|
79
81
|
if (!r) return null;
|
|
80
82
|
const n = r.getBoundingClientRect(), o = O.current || 1;
|
|
@@ -82,27 +84,27 @@ var x = {
|
|
|
82
84
|
x: (e - n.left) / o,
|
|
83
85
|
y: (t - n.top) / o
|
|
84
86
|
};
|
|
85
|
-
}, []), U =
|
|
87
|
+
}, []), U = n((e, t) => {
|
|
86
88
|
const r = K.current, n = Q(e, t);
|
|
87
|
-
return
|
|
88
|
-
}, [
|
|
89
|
+
return S && r && n ? S.getElementAt(n, r) : null;
|
|
90
|
+
}, [S, Q]), W = g(t, () => ({
|
|
89
91
|
isChartElement: () => !0,
|
|
90
|
-
getChart: () =>
|
|
92
|
+
getChart: () => S,
|
|
91
93
|
toSVG: H,
|
|
92
94
|
getElementAt: U
|
|
93
95
|
}), [
|
|
94
|
-
|
|
96
|
+
S,
|
|
95
97
|
H,
|
|
96
98
|
U
|
|
97
|
-
]), Z =
|
|
99
|
+
]), Z = y([
|
|
98
100
|
W,
|
|
99
101
|
N,
|
|
100
102
|
J
|
|
101
|
-
]), _ =
|
|
102
|
-
|
|
103
|
+
]), _ = i(null), ee = i(null), [te, re] = a(() => M.peek() ?? null), [ne, oe] = a(null), [le, se] = a(0), [ie, ae] = a(P);
|
|
104
|
+
l(() => S?.addListeners({ onLayoutChange: () => se((e) => e + 1) }), [S]), p(!(ne || T || te && S)), l(() => {
|
|
103
105
|
if (te) return;
|
|
104
106
|
let e = !0;
|
|
105
|
-
return
|
|
107
|
+
return M.load().then((t) => {
|
|
106
108
|
e && re(t);
|
|
107
109
|
}, (t) => {
|
|
108
110
|
e && oe(t);
|
|
@@ -110,9 +112,9 @@ var x = {
|
|
|
110
112
|
e = !1;
|
|
111
113
|
};
|
|
112
114
|
}, [te]);
|
|
113
|
-
const ce =
|
|
115
|
+
const ce = n(() => {
|
|
114
116
|
const e = K.current;
|
|
115
|
-
ae(
|
|
117
|
+
ae(S && e && k && !k.isEmpty() ? ((e, t, r) => {
|
|
116
118
|
const n = [], o = [];
|
|
117
119
|
for (const l of r.getItems()) {
|
|
118
120
|
if (l.getChart() !== e) continue;
|
|
@@ -146,12 +148,12 @@ var x = {
|
|
|
146
148
|
boxes: n,
|
|
147
149
|
handles: o
|
|
148
150
|
};
|
|
149
|
-
})(
|
|
150
|
-
}, [
|
|
151
|
-
|
|
151
|
+
})(S, e, k) : P);
|
|
152
|
+
}, [S, k]);
|
|
153
|
+
l(() => k?.addListeners({ onChange: ce }), [k, ce]), s(() => {
|
|
152
154
|
const e = _.current;
|
|
153
|
-
if (!(te && e &&
|
|
154
|
-
const t =
|
|
155
|
+
if (!(te && e && S && j && V)) return;
|
|
156
|
+
const t = S.getLayout({
|
|
155
157
|
width: j,
|
|
156
158
|
height: V
|
|
157
159
|
});
|
|
@@ -165,49 +167,49 @@ var x = {
|
|
|
165
167
|
ee.current ? ee.current.update(t, n) : ee.current = te.mountChart(e, t, n), ce();
|
|
166
168
|
}, [
|
|
167
169
|
te,
|
|
168
|
-
|
|
170
|
+
S,
|
|
169
171
|
j,
|
|
170
172
|
V,
|
|
171
173
|
le,
|
|
172
174
|
q,
|
|
173
175
|
ce
|
|
174
|
-
]),
|
|
176
|
+
]), l(() => () => {
|
|
175
177
|
ee.current?.dispose(), ee.current = null, K.current = null;
|
|
176
|
-
}, [
|
|
177
|
-
const de =
|
|
178
|
+
}, [S]);
|
|
179
|
+
const de = n((e) => {
|
|
178
180
|
if (L?.(e), 0 !== e.button && 2 !== e.button) return;
|
|
179
181
|
const t = K.current, r = Q(e.clientX, e.clientY);
|
|
180
|
-
if (!
|
|
181
|
-
const n =
|
|
182
|
+
if (!S || !t || !r) return;
|
|
183
|
+
const n = S.getElementAt(r, t);
|
|
182
184
|
if (D?.({
|
|
183
185
|
element: n,
|
|
184
186
|
point: r,
|
|
185
187
|
event: e
|
|
186
|
-
}), !
|
|
187
|
-
if (!n || "chartArea" === n.getElementType()) return void
|
|
188
|
-
const o =
|
|
189
|
-
|
|
188
|
+
}), !k) return;
|
|
189
|
+
if (!n || "chartArea" === n.getElementType()) return void k.clear();
|
|
190
|
+
const o = C(n, k.getActive());
|
|
191
|
+
k.isSelected(o) && 1 === k.getItems().length || k.select([o]);
|
|
190
192
|
}, [
|
|
191
|
-
|
|
192
|
-
|
|
193
|
+
S,
|
|
194
|
+
k,
|
|
193
195
|
D,
|
|
194
196
|
L,
|
|
195
197
|
Q
|
|
196
198
|
]);
|
|
197
|
-
if (
|
|
199
|
+
if (S?.isDeleted()) return;
|
|
198
200
|
const ue = ne ?? T;
|
|
199
|
-
return
|
|
200
|
-
...
|
|
201
|
+
return d("div", {
|
|
202
|
+
...G,
|
|
201
203
|
onPointerDown: de,
|
|
202
204
|
style: {
|
|
203
205
|
...void 0 !== b ? { width: b } : {},
|
|
204
|
-
...void 0 !==
|
|
205
|
-
...
|
|
206
|
+
...void 0 !== v ? { height: v } : {},
|
|
207
|
+
...o,
|
|
206
208
|
overflow: "hidden"
|
|
207
209
|
},
|
|
208
210
|
ref: Z,
|
|
209
211
|
children: [
|
|
210
|
-
ue ?
|
|
212
|
+
ue ? c("div", {
|
|
211
213
|
className: "sxl-chart-element-error",
|
|
212
214
|
style: {
|
|
213
215
|
padding: "8px",
|
|
@@ -216,17 +218,17 @@ var x = {
|
|
|
216
218
|
},
|
|
217
219
|
children: ue.message
|
|
218
220
|
}) : null,
|
|
219
|
-
|
|
221
|
+
c("div", {
|
|
220
222
|
className: "sxl-chart-element",
|
|
221
223
|
ref: _,
|
|
222
224
|
style: {
|
|
223
225
|
width: j || "100%",
|
|
224
226
|
height: V || "100%",
|
|
225
|
-
zoom:
|
|
227
|
+
zoom: x,
|
|
226
228
|
position: "relative"
|
|
227
229
|
}
|
|
228
230
|
}),
|
|
229
|
-
ie.boxes.length > 0 ?
|
|
231
|
+
ie.boxes.length > 0 ? d("div", {
|
|
230
232
|
className: "sxl-chart-element-selection",
|
|
231
233
|
style: {
|
|
232
234
|
position: "absolute",
|
|
@@ -234,10 +236,10 @@ var x = {
|
|
|
234
236
|
top: 0,
|
|
235
237
|
width: j,
|
|
236
238
|
height: V,
|
|
237
|
-
zoom:
|
|
239
|
+
zoom: x,
|
|
238
240
|
pointerEvents: "none"
|
|
239
241
|
},
|
|
240
|
-
children: [ie.boxes.map((e, t) =>
|
|
242
|
+
children: [ie.boxes.map((e, t) => c("div", { style: {
|
|
241
243
|
position: "absolute",
|
|
242
244
|
left: e.x - 1,
|
|
243
245
|
top: e.y - 1,
|
|
@@ -245,7 +247,7 @@ var x = {
|
|
|
245
247
|
height: Math.max(0, e.height),
|
|
246
248
|
border: "1px solid var(--sxl-color-primary, #1a73e8)",
|
|
247
249
|
boxSizing: "content-box"
|
|
248
|
-
} }, `box-${t}`)), ie.handles.map((e, t) =>
|
|
250
|
+
} }, `box-${t}`)), ie.handles.map((e, t) => c("div", { style: {
|
|
249
251
|
position: "absolute",
|
|
250
252
|
left: e.x - 3,
|
|
251
253
|
top: e.y - 3,
|
|
@@ -259,5 +261,5 @@ var x = {
|
|
|
259
261
|
]
|
|
260
262
|
});
|
|
261
263
|
}));
|
|
262
|
-
|
|
263
|
-
export {
|
|
264
|
+
D.displayName = "ChartElement";
|
|
265
|
+
export { k as a, w as i, C as n, v as o, E as r, b as s, D as t };
|