@sheetxl/react 1.0.5 → 1.0.6
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/{CdLMc8_FiTxEsxwZ.mjs → 4M1ime0lSMPwFdwq.mjs} +1 -1
- package/browser/esm/{DwNflr1J0woLdEr3.mjs → 56NlLn16iTCMXWTn.mjs} +6 -6
- package/browser/esm/BBpLlCS6trF9IqY7.mjs +325 -0
- package/browser/esm/{DGAS1Bt4tv72VwsG.mjs → BCGOU0KEA92-tHXw.mjs} +5 -5
- package/browser/esm/{Bpm5mA-WhhskQ7O_.mjs → BPyvBK7c6TKRxVZb.mjs} +1 -1
- package/browser/esm/{CLpO-44ZQYtUuHJ_.mjs → BkkfkHsyalXv3k4Q.mjs} +1 -1
- package/browser/esm/{DFZDRvUoKsQrTNFt.mjs → Bks84B7NgyzaBVv0.mjs} +1 -1
- package/browser/esm/{CyE8HNEdNOeXsRj7.mjs → Bl0-xYLr5UA_pMTT.mjs} +6 -6
- package/browser/esm/{BSszu1CZPC63X-0W.mjs → Bp-3XmIZb2fkqunF.mjs} +2 -2
- package/browser/esm/{Dbyt1u9b-bkpxFZg.mjs → C1luDkna9W7PNKrz.mjs} +1 -1
- package/browser/esm/{DaYS3AaeatKiMKI0.mjs → CKYZvqAf2y2oAkB7.mjs} +1 -1
- package/browser/esm/{Bgi1ceZnvTvhowQZ.mjs → CsGmLR7d80u8xidY.mjs} +1 -1
- package/browser/esm/D20ReZZxs2JHIqXW.mjs +1681 -0
- package/browser/esm/{cMzhFYhRaujQDn1e.mjs → D4OKTHNu7UroAOVB.mjs} +1 -1
- package/browser/esm/{CdURrZNtQtHiyEq0.mjs → D9kzGjqEClI2OQO8.mjs} +1 -1
- package/browser/esm/{CcJ2ckwm0AJLIkJ7.mjs → DAGQOiFH2fGWDOqj.mjs} +2 -2
- package/browser/esm/{HVbo12BbnUEOXJxl.mjs → DBCT8TZn5tx3RRgu.mjs} +1 -1
- package/browser/esm/{DRCPWIFyD3G_s4iR.mjs → DIXBmbnM-qkL9ot2.mjs} +8 -6
- package/browser/esm/{D3zD1F3zK9CjIbaI.mjs → DpQkiVYU6nJmsEXE.mjs} +3 -3
- package/browser/esm/{DzHsdPz_a3UaTaW0.mjs → Dq9OEmhDbQi90JyF.mjs} +3 -3
- package/browser/esm/{CSXyl6ZhfB9ZcjfG.mjs → Du_yTZVTH9ZhIwVz.mjs} +1 -1
- package/browser/esm/DzcsaJD62P_RrIgp.mjs +127 -0
- package/browser/esm/{BUAQF-RIane5evWy.mjs → OYfZSA6eTFsqp5MC.mjs} +1308 -1281
- package/browser/esm/{D9nqzJMnC7S3IWTw.mjs → X9EpvcUhpbtf95sq.mjs} +1 -1
- package/browser/esm/{DPYZc-PX9UPpwgYO.mjs → XkePaxnbmJijuUST.mjs} +1 -1
- package/browser/esm/chart.mjs +3 -3
- package/browser/esm/control.mjs +2 -2
- package/browser/esm/{CAYrch6ikCVjpWpz.mjs → dE1dGLDL9PIqTCiM.mjs} +73 -35
- package/browser/esm/group.mjs +3 -3
- package/browser/esm/index.mjs +8930 -9026
- package/browser/esm/note.mjs +4 -4
- package/browser/esm/{D1KeJvm_q_Zi-53a.mjs → pAnBA5Hy2mjpkAWB.mjs} +2 -2
- package/browser/esm/picture.mjs +2 -2
- package/browser/esm/shape.mjs +2 -2
- package/browser/esm/slicer.mjs +4 -4
- package/node/esm/{Ch9ynF_jZSrlpZDS.mjs → BCTgV60zEAPoPG-u.mjs} +1 -1
- package/node/esm/{NeaxzrPfaXj62lfB.mjs → BRsrSOeAgAbh8LCL.mjs} +30 -28
- package/node/esm/BSYkbwvzEjg5tnyi.mjs +327 -0
- package/node/esm/BXCAuiepvo2pCMA6.mjs +177 -0
- package/node/esm/{H0KeMIq51yNI7XAn.mjs → Bf1ybiY9HNcds5_H.mjs} +1 -1
- package/node/esm/{BzT_rMN7K8KBVLqx.mjs → BkT-mLvzP5h10mLU.mjs} +1 -1
- package/node/esm/{9AXvpka4egnBDM3A.mjs → C-l3nPRIH0q_ucYX.mjs} +1 -1
- package/node/esm/{-mV1DEJz3g_r9ZVt.mjs → C0syazJAmS6_LFTY.mjs} +5 -5
- package/node/esm/{Dd56hZZkvQyCC3Pa.mjs → C3frF4D3I2rcLHK1.mjs} +1 -1
- package/node/esm/{KeTXNAWP4ZhLJ0zG.mjs → CIPjf-XhEAQufN0V.mjs} +1 -1
- package/node/esm/{CTwwxwXFVbjbYYV_.mjs → CJKhZu3BbJY3VsWH.mjs} +1 -1
- package/node/esm/CWoaMwpLSM7gBaVh.mjs +1681 -0
- package/node/esm/{Dbj9JZP9wWrDb6Q-.mjs → CcblOBJaE8U6tCWg.mjs} +1 -1
- package/node/esm/{BvJUJ2iYjuNxDnjg.mjs → D5UV0AjhZIYGotrV.mjs} +1 -1
- package/node/esm/{DmVgKO2JYltH2hmt.mjs → D5rzzywf1R4MvJU0.mjs} +1 -1
- package/node/esm/{BgXCGRb7kgCTG-YG.mjs → DEH7X3vDYP518pp4.mjs} +1 -1
- package/node/esm/{DvysKgejoU1ToqEJ.mjs → DO7K3oDOoCZ4fpv-.mjs} +2 -2
- package/node/esm/{DKz-pmZGTrJglwuX.mjs → DnZ2zYP0QCJWioMW.mjs} +1 -1
- package/node/esm/{Dn4jtkqnECzc_xp2.mjs → DrQEt2TfEEgKvYKL.mjs} +1 -1
- package/node/esm/{CYJHipsfG6d4VZaU.mjs → Dxv-9TQ2qdooz9VX.mjs} +347 -320
- package/node/esm/EvhDIPxbJ1B3lfrj.mjs +166 -0
- package/node/esm/{Dd5QCp7bMWDf3GlP.mjs → KC9JU5CVeDBJ2aHR.mjs} +1 -1
- package/node/esm/{Bi20m4omZHHDwJ3B.mjs → WFBPS4qHr0sTxFmI.mjs} +1 -1
- package/node/esm/chart.mjs +2 -2
- package/node/esm/control.mjs +2 -2
- package/node/esm/group.mjs +3 -3
- package/node/esm/index.mjs +11035 -11128
- package/node/esm/note.mjs +4 -4
- package/node/esm/picture.mjs +5 -5
- package/node/esm/shape.mjs +6 -6
- package/node/esm/slicer.mjs +4 -4
- package/package.json +7 -7
- package/resources/contents.json +6 -0
- package/resources/locales/contents.json +14 -0
- package/resources/locales/de/cells.cmd.json +1589 -0
- package/resources/locales/de/chart.cmd.json +15 -0
- package/resources/locales/de/editor.cmd.json +8 -8
- package/resources/locales/de/movable.cmd.json +0 -8
- package/resources/locales/de/sheet.cmd.json +190 -1713
- package/resources/locales/de/ui.msg.json +67 -0
- package/resources/locales/en/cells.cmd.json +1602 -0
- package/resources/locales/en/chart.cmd.json +15 -0
- package/resources/locales/en/editor.cmd.json +8 -8
- package/resources/locales/en/movable.cmd.json +0 -8
- package/resources/locales/en/sheet.cmd.json +193 -1729
- package/resources/locales/en/ui.msg.json +67 -0
- package/types/src/chart/ChartCommands.d.ts +5 -3
- package/types/src/chart/ChartElement.d.ts +1 -1
- package/types/src/chart/PresetChartTypeDescriptors.d.ts +23 -2
- package/types/src/chart/_outlinePath.d.ts +17 -0
- package/types/src/chart/paint/_fills.d.ts +4 -1
- package/types/src/chart/paint/_graphics.d.ts +5 -2
- package/types/src/chart/paint/kinds/ChartPaintKind.d.ts +19 -5
- package/types/src/clipboard/ClipboardCommands.d.ts +16 -4
- package/types/src/commands/PaneScopeProvider.d.ts +2 -2
- package/types/src/editor/EditorCommands.d.ts +3 -3
- package/types/src/icons/chart/ChartIcons.d.ts +20 -0
- package/types/src/icons/chart/_ChartIconPack.d.ts +4 -0
- package/types/src/icons/chart/_chartIconKeys.d.ts +4 -0
- package/types/src/icons/chart/index.d.ts +1 -49
- package/types/src/index.d.ts +1 -0
- package/types/src/layer/MovableKindScope.d.ts +3 -2
- package/types/src/layer/MovableToolbar.d.ts +27 -0
- package/types/src/layer/RangeToolbar.d.ts +17 -4
- package/types/src/layer/SheetMovableLayer.d.ts +6 -0
- package/types/src/layer/ValidationDropdownLayer.d.ts +1 -1
- package/types/src/layer/index.d.ts +1 -0
- package/types/src/movable/MovableCommands.d.ts +8 -2
- package/types/src/movable/MovableLayer.d.ts +2 -0
- package/types/src/movable/MovableRenderers.d.ts +43 -1
- package/types/src/movable/_drawingFormat.d.ts +15 -0
- package/types/src/presence/PresenceCommands.d.ts +1 -1
- package/types/src/sheet/IWorksheetElement.d.ts +9 -0
- package/types/src/sheet/SheetCommandProvider.d.ts +17 -10
- package/types/src/sheet/SheetCommands.d.ts +17 -4
- package/types/src/taskPane/FormatPane.d.ts +46 -0
- package/types/src/taskPane/MovablePane.d.ts +8 -10
- package/types/src/taskPane/TaskPaneArea.d.ts +57 -2
- package/types/src/taskPane/TaskPaneEmpty.d.ts +14 -0
- package/types/src/taskPane/TaskPaneKeys.d.ts +8 -4
- package/types/src/taskPane/TaskPaneRegistry.d.ts +2 -1
- package/types/src/taskPane/TaskPaneStrip.d.ts +13 -2
- package/types/src/taskPane/_taskPaneHost.d.ts +9 -0
- package/types/src/taskPane/index.d.ts +2 -0
- package/types/src/taskPane/useTaskPane.d.ts +14 -18
- package/browser/esm/ZPOCHFycZqmFav3f.mjs +0 -264
- package/node/esm/BuQt6aujDbFNe4im.mjs +0 -128
- package/node/esm/CjUIWph6hGIsBoRP.mjs +0 -265
- package/types/src/icons/chart/ChartAreaIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartAreaStackedIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartAreaStackedPercentIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartBarIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartBarStackedIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartBarStackedPercentIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartBubble3DIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartBubbleIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartColumnIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartColumnStackedIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartColumnStackedPercentIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartLineIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartLineMarkersIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartLineStackedIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartLineStackedMarkersIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartLineStackedPercentIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartLineStackedPercentMarkersIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartPieDoughnutIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartPieIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartScatterLinesIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartScatterLinesMarkersIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartScatterLinesMarkersSmoothIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartScatterLinesSmoothIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartScatterMarkersIcon.d.ts +0 -5
- package/types/src/icons/chart/ChartWaterfallIcon.d.ts +0 -5
- package/types/src/icons/chart/ThemedChartIcon.d.ts +0 -20
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
|
|
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. - v1.0.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
|
|
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. - v1.0.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
|
|
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 "./BBpLlCS6trF9IqY7.mjs";
|
|
8
|
+
import { t as r } from "./C1luDkna9W7PNKrz.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. - v1.0.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
|
|
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 "./4M1ime0lSMPwFdwq.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";
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
|
|
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 {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
7
|
+
import { i as e, n as t, r as n } from "./DzcsaJD62P_RrIgp.mjs";
|
|
8
|
+
import { n as r } from "./CKYZvqAf2y2oAkB7.mjs";
|
|
9
|
+
import { ChartEditor as i } from "./chart.mjs";
|
|
10
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
11
|
+
import { messageKey as o, t as s } from "@sheetxl/utils";
|
|
12
|
+
var c = /* @__PURE__ */ new Set([
|
|
12
13
|
"waterfall",
|
|
13
14
|
"histogram",
|
|
14
15
|
"pareto",
|
|
@@ -17,7 +18,7 @@ var a = /* @__PURE__ */ new Set([
|
|
|
17
18
|
"sunburst",
|
|
18
19
|
"funnel",
|
|
19
20
|
"regionMap"
|
|
20
|
-
]),
|
|
21
|
+
]), l = [
|
|
21
22
|
{
|
|
22
23
|
key: "chartTitleToggle",
|
|
23
24
|
state: (e) => e.getTitle().getVisible(),
|
|
@@ -54,46 +55,60 @@ var a = /* @__PURE__ */ new Set([
|
|
|
54
55
|
show: ["primaryCategoryAxisTitleAdjacentToAxis", "primaryValueAxisTitleRotated"],
|
|
55
56
|
hide: ["primaryCategoryAxisTitleNone", "primaryValueAxisTitleNone"]
|
|
56
57
|
}
|
|
57
|
-
],
|
|
58
|
-
renderer: (e) =>
|
|
58
|
+
], u = {
|
|
59
|
+
renderer: (e) => a(i, {
|
|
59
60
|
...e,
|
|
60
61
|
chart: e.movable.getContent()
|
|
61
62
|
}),
|
|
62
|
-
commands: (
|
|
63
|
-
let { sheet:
|
|
64
|
-
|
|
65
|
-
transaction:
|
|
66
|
-
notifier:
|
|
63
|
+
commands: (e, t) => {
|
|
64
|
+
let { sheet: n, movable: i, notifier: a } = t, u = i.getContent();
|
|
65
|
+
e.use(r({
|
|
66
|
+
transaction: n,
|
|
67
|
+
notifier: a
|
|
67
68
|
}));
|
|
68
|
-
let d = () => ({ chart: () => u }), f = () => u.isReadOnly() ? [
|
|
69
|
-
let
|
|
70
|
-
|
|
69
|
+
let d = () => ({ chart: () => u }), f = () => u.isReadOnly() ? [o("reason.sheetProtected")] : [], p = () => {
|
|
70
|
+
let t = u.isReadOnly() ? [o("reason.sheetProtected")] : c.has(u.getChartType()) ? [o("reason.chartTypeNotEditable")] : [];
|
|
71
|
+
e.updateCommand("chartChangeType", {
|
|
71
72
|
callback: (e) => {
|
|
72
73
|
let t = typeof e == "string" ? e : e?.type;
|
|
73
74
|
t && u.setChartType(t);
|
|
74
75
|
},
|
|
75
76
|
state: u.getChartType(),
|
|
76
77
|
context: d,
|
|
77
|
-
disabledReasons:
|
|
78
|
-
}),
|
|
78
|
+
disabledReasons: t
|
|
79
|
+
}), e.updateCommand("chartStyle", {
|
|
80
|
+
callback: (e) => {
|
|
81
|
+
e !== void 0 && u.setChartStyle(e);
|
|
82
|
+
},
|
|
83
|
+
state: u.getChartStyle(),
|
|
84
|
+
context: d,
|
|
85
|
+
disabledReasons: t
|
|
86
|
+
}), e.updateCommand("chartColors", {
|
|
87
|
+
callback: (e) => {
|
|
88
|
+
e !== void 0 && u.setColorScheme(e);
|
|
89
|
+
},
|
|
90
|
+
state: u.getColorScheme(),
|
|
91
|
+
context: d,
|
|
92
|
+
disabledReasons: t
|
|
93
|
+
}), e.updateCommand("chartSwitchRowColumn", {
|
|
79
94
|
callback: () => {
|
|
80
95
|
u.setSeriesBy(u.getSeriesBy() === "rows" ? "columns" : "rows");
|
|
81
96
|
},
|
|
82
97
|
state: u.getSeriesBy(),
|
|
83
98
|
context: d,
|
|
84
|
-
disabledReasons:
|
|
85
|
-
}),
|
|
99
|
+
disabledReasons: t
|
|
100
|
+
}), e.updateCommand("chartSelectData", {
|
|
86
101
|
tags: ["noTransaction", "noRepeat"],
|
|
87
102
|
callback: async (e) => {
|
|
88
103
|
if (!e) {
|
|
89
|
-
let t = await
|
|
90
|
-
title:
|
|
91
|
-
description:
|
|
92
|
-
inputLabel:
|
|
104
|
+
let t = await a?.showInput?.({
|
|
105
|
+
title: s("dialog.chartSelectData.title"),
|
|
106
|
+
description: s("dialog.chartSelectData.description"),
|
|
107
|
+
inputLabel: s("dialog.chartSelectData.inputLabel"),
|
|
93
108
|
initialValue: u.getSeries()[0]?.getValuesRange()?.getAddress() ?? "",
|
|
94
109
|
options: [{
|
|
95
110
|
id: "Select",
|
|
96
|
-
label: () =>
|
|
111
|
+
label: () => s("dialog.select")
|
|
97
112
|
}]
|
|
98
113
|
});
|
|
99
114
|
if (!t || t.option !== "Select" || !t.input) return;
|
|
@@ -102,27 +117,50 @@ var a = /* @__PURE__ */ new Set([
|
|
|
102
117
|
u.setData(e);
|
|
103
118
|
},
|
|
104
119
|
context: d,
|
|
105
|
-
disabledReasons:
|
|
106
|
-
}),
|
|
120
|
+
disabledReasons: t
|
|
121
|
+
}), e.updateCommand("chartAddElement", {
|
|
107
122
|
callback: (e) => {
|
|
108
123
|
e && u.setElement(e);
|
|
109
124
|
},
|
|
110
125
|
context: d,
|
|
111
|
-
disabledReasons:
|
|
126
|
+
disabledReasons: t
|
|
112
127
|
});
|
|
113
|
-
for (let n of
|
|
128
|
+
for (let n of l) {
|
|
114
129
|
let r = n.state(u);
|
|
115
|
-
|
|
130
|
+
e.updateCommand(n.key, {
|
|
116
131
|
callback: () => {
|
|
117
132
|
for (let e of r ? n.hide : n.show) u.setElement(e);
|
|
118
133
|
},
|
|
119
134
|
state: r,
|
|
120
135
|
context: d,
|
|
121
|
-
disabledReasons: n.key === "chartTitleToggle" || n.key === "chartLegendToggle" ? f() :
|
|
136
|
+
disabledReasons: n.key === "chartTitleToggle" || n.key === "chartLegendToggle" ? f() : t
|
|
122
137
|
});
|
|
123
138
|
}
|
|
124
139
|
};
|
|
125
|
-
|
|
126
|
-
|
|
140
|
+
p();
|
|
141
|
+
let m = u.addListeners({ onAnyChange: p });
|
|
142
|
+
return () => {
|
|
143
|
+
m();
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
toolbar: (() => {
|
|
147
|
+
let t = e("chart", "Chart");
|
|
148
|
+
return {
|
|
149
|
+
...t,
|
|
150
|
+
members: [...t.members ?? [], n.ChartDetails]
|
|
151
|
+
};
|
|
152
|
+
})(),
|
|
153
|
+
floatingToolbar: {
|
|
154
|
+
quickKey: n.ChartDetails,
|
|
155
|
+
commandKeys: [n.ChartDetails, n.Format],
|
|
156
|
+
iconKey: t("columnClustered")
|
|
157
|
+
},
|
|
158
|
+
buttons: [{
|
|
159
|
+
key: n.ChartDetails,
|
|
160
|
+
contributions: { movableContextMenu: {
|
|
161
|
+
anchor: n.Format,
|
|
162
|
+
order: -1
|
|
163
|
+
} }
|
|
164
|
+
}]
|
|
127
165
|
};
|
|
128
|
-
export {
|
|
166
|
+
export { u as ChartKind };
|
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. - v1.0.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
|
|
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 "./4M1ime0lSMPwFdwq.mjs";
|
|
8
|
+
import { h as t, i as n, p as r } from "./DIXBmbnM-qkL9ot2.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";
|