@sheetxl/react 1.0.4 → 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.
Files changed (149) hide show
  1. package/browser/esm/{B5I4vV_DP3EjMFOh.mjs → 4M1ime0lSMPwFdwq.mjs} +1 -1
  2. package/browser/esm/{B41IwWSVZSFBKWbl.mjs → 56NlLn16iTCMXWTn.mjs} +6 -6
  3. package/browser/esm/BBpLlCS6trF9IqY7.mjs +325 -0
  4. package/browser/esm/{DfPC75_EpLobRWyU.mjs → BCGOU0KEA92-tHXw.mjs} +5 -5
  5. package/browser/esm/{D9LWDuiSBP9TanuP.mjs → BPyvBK7c6TKRxVZb.mjs} +1 -1
  6. package/browser/esm/{Cy91S4xWoxd66-_0.mjs → BkkfkHsyalXv3k4Q.mjs} +1 -1
  7. package/browser/esm/{BCViSL9zpUH8tVsE.mjs → Bks84B7NgyzaBVv0.mjs} +1 -1
  8. package/browser/esm/{Vh1oaya1vexsM57z.mjs → Bl0-xYLr5UA_pMTT.mjs} +6 -6
  9. package/browser/esm/{Yzp80cMm3GyMSyGB.mjs → Bp-3XmIZb2fkqunF.mjs} +2 -2
  10. package/browser/esm/{sFi_HFLodIR0bKfI.mjs → C1luDkna9W7PNKrz.mjs} +1 -1
  11. package/browser/esm/{DrVUyngAZ439vUOV.mjs → CKYZvqAf2y2oAkB7.mjs} +1 -1
  12. package/browser/esm/{CclhdAtAI6HRaWjs.mjs → CsGmLR7d80u8xidY.mjs} +1 -1
  13. package/browser/esm/D20ReZZxs2JHIqXW.mjs +1681 -0
  14. package/browser/esm/{BhlDgb8_WVpUrXCE.mjs → D4OKTHNu7UroAOVB.mjs} +1 -1
  15. package/browser/esm/{2d3KRM4JSpo_wPqH.mjs → D9kzGjqEClI2OQO8.mjs} +1 -1
  16. package/browser/esm/{C257AeDQl6k6J19h.mjs → DAGQOiFH2fGWDOqj.mjs} +2 -2
  17. package/browser/esm/{BFUcvh3uC4U54r93.mjs → DBCT8TZn5tx3RRgu.mjs} +1 -1
  18. package/browser/esm/{CBACZ2nUHuOoDHLf.mjs → DIXBmbnM-qkL9ot2.mjs} +8 -6
  19. package/browser/esm/{DMVzoJFREEuE236r.mjs → DpQkiVYU6nJmsEXE.mjs} +3 -3
  20. package/browser/esm/{D2iNsoem4M78aLXn.mjs → Dq9OEmhDbQi90JyF.mjs} +3 -3
  21. package/browser/esm/{BDOdvxrpOY4gcCIl.mjs → Du_yTZVTH9ZhIwVz.mjs} +1 -1
  22. package/browser/esm/DzcsaJD62P_RrIgp.mjs +127 -0
  23. package/browser/esm/{Bs3j5q_SFWPRYcAj.mjs → OYfZSA6eTFsqp5MC.mjs} +1308 -1281
  24. package/browser/esm/{BIunYBnpZF-P8JFl.mjs → X9EpvcUhpbtf95sq.mjs} +1 -1
  25. package/browser/esm/{DO0HWpJD0WrboRDe.mjs → XkePaxnbmJijuUST.mjs} +1 -1
  26. package/browser/esm/chart.mjs +3 -3
  27. package/browser/esm/control.mjs +2 -2
  28. package/browser/esm/{lt-QhChnw2xCbjtV.mjs → dE1dGLDL9PIqTCiM.mjs} +73 -35
  29. package/browser/esm/group.mjs +3 -3
  30. package/browser/esm/index.mjs +8930 -9026
  31. package/browser/esm/note.mjs +4 -4
  32. package/browser/esm/{EJWEWelOH8yX7oez.mjs → pAnBA5Hy2mjpkAWB.mjs} +2 -2
  33. package/browser/esm/picture.mjs +2 -2
  34. package/browser/esm/shape.mjs +2 -2
  35. package/browser/esm/slicer.mjs +4 -4
  36. package/node/esm/{BZK8xNBGYCcvGYr-.mjs → BCTgV60zEAPoPG-u.mjs} +1 -1
  37. package/node/esm/{lAMyxp6V7Yamdtue.mjs → BRsrSOeAgAbh8LCL.mjs} +30 -28
  38. package/node/esm/BSYkbwvzEjg5tnyi.mjs +327 -0
  39. package/node/esm/BXCAuiepvo2pCMA6.mjs +177 -0
  40. package/node/esm/{DYAI1q7pZQijIEuk.mjs → Bf1ybiY9HNcds5_H.mjs} +1 -1
  41. package/node/esm/{BKe0zQV-NngKQLC6.mjs → BkT-mLvzP5h10mLU.mjs} +1 -1
  42. package/node/esm/{gXZTHKanG6sR8nJB.mjs → C-l3nPRIH0q_ucYX.mjs} +1 -1
  43. package/node/esm/{DMccpcT9DZhrCesw.mjs → C0syazJAmS6_LFTY.mjs} +5 -5
  44. package/node/esm/{0XJbNeNNSyYBMnWw.mjs → C3frF4D3I2rcLHK1.mjs} +1 -1
  45. package/node/esm/{Bvq6hR9TahHJQDSE.mjs → CIPjf-XhEAQufN0V.mjs} +1 -1
  46. package/node/esm/{wamMRABbIHPbB6TV.mjs → CJKhZu3BbJY3VsWH.mjs} +1 -1
  47. package/node/esm/CWoaMwpLSM7gBaVh.mjs +1681 -0
  48. package/node/esm/{xaiZuv1DcjoKGxuV.mjs → CcblOBJaE8U6tCWg.mjs} +1 -1
  49. package/node/esm/{EFIovoxkRAaNFoV2.mjs → D5UV0AjhZIYGotrV.mjs} +1 -1
  50. package/node/esm/{eRa_lhdJaHzyCbSo.mjs → D5rzzywf1R4MvJU0.mjs} +1 -1
  51. package/node/esm/{ChvRYQa8Z3QcAih_.mjs → DEH7X3vDYP518pp4.mjs} +1 -1
  52. package/node/esm/{BmwLJCwadUcJzm7_.mjs → DO7K3oDOoCZ4fpv-.mjs} +2 -2
  53. package/node/esm/{BMZIDcAXGazWv925.mjs → DnZ2zYP0QCJWioMW.mjs} +1 -1
  54. package/node/esm/{Bx4zBoy7r3wKhSfW.mjs → DrQEt2TfEEgKvYKL.mjs} +1 -1
  55. package/node/esm/{Drew11dteKH8ST2G.mjs → Dxv-9TQ2qdooz9VX.mjs} +347 -320
  56. package/node/esm/EvhDIPxbJ1B3lfrj.mjs +166 -0
  57. package/node/esm/{CHEbVdYUW8SqO1s1.mjs → KC9JU5CVeDBJ2aHR.mjs} +1 -1
  58. package/node/esm/{DS_Y37x1b6oFkuSX.mjs → WFBPS4qHr0sTxFmI.mjs} +1 -1
  59. package/node/esm/chart.mjs +2 -2
  60. package/node/esm/control.mjs +2 -2
  61. package/node/esm/group.mjs +3 -3
  62. package/node/esm/index.mjs +11035 -11128
  63. package/node/esm/note.mjs +4 -4
  64. package/node/esm/picture.mjs +5 -5
  65. package/node/esm/shape.mjs +6 -6
  66. package/node/esm/slicer.mjs +4 -4
  67. package/package.json +7 -7
  68. package/resources/contents.json +6 -0
  69. package/resources/locales/contents.json +14 -0
  70. package/resources/locales/de/cells.cmd.json +1589 -0
  71. package/resources/locales/de/chart.cmd.json +15 -0
  72. package/resources/locales/de/editor.cmd.json +8 -8
  73. package/resources/locales/de/movable.cmd.json +0 -8
  74. package/resources/locales/de/sheet.cmd.json +190 -1713
  75. package/resources/locales/de/ui.msg.json +67 -0
  76. package/resources/locales/en/cells.cmd.json +1602 -0
  77. package/resources/locales/en/chart.cmd.json +15 -0
  78. package/resources/locales/en/editor.cmd.json +8 -8
  79. package/resources/locales/en/movable.cmd.json +0 -8
  80. package/resources/locales/en/sheet.cmd.json +193 -1729
  81. package/resources/locales/en/ui.msg.json +67 -0
  82. package/types/src/chart/ChartCommands.d.ts +5 -3
  83. package/types/src/chart/ChartElement.d.ts +1 -1
  84. package/types/src/chart/PresetChartTypeDescriptors.d.ts +23 -2
  85. package/types/src/chart/_outlinePath.d.ts +17 -0
  86. package/types/src/chart/paint/_fills.d.ts +4 -1
  87. package/types/src/chart/paint/_graphics.d.ts +5 -2
  88. package/types/src/chart/paint/kinds/ChartPaintKind.d.ts +19 -5
  89. package/types/src/clipboard/ClipboardCommands.d.ts +16 -4
  90. package/types/src/commands/PaneScopeProvider.d.ts +2 -2
  91. package/types/src/editor/EditorCommands.d.ts +3 -3
  92. package/types/src/icons/chart/ChartIcons.d.ts +20 -0
  93. package/types/src/icons/chart/_ChartIconPack.d.ts +4 -0
  94. package/types/src/icons/chart/_chartIconKeys.d.ts +4 -0
  95. package/types/src/icons/chart/index.d.ts +1 -49
  96. package/types/src/index.d.ts +1 -0
  97. package/types/src/layer/MovableKindScope.d.ts +3 -2
  98. package/types/src/layer/MovableToolbar.d.ts +27 -0
  99. package/types/src/layer/RangeToolbar.d.ts +17 -4
  100. package/types/src/layer/SheetMovableLayer.d.ts +6 -0
  101. package/types/src/layer/ValidationDropdownLayer.d.ts +1 -1
  102. package/types/src/layer/index.d.ts +1 -0
  103. package/types/src/movable/MovableCommands.d.ts +8 -2
  104. package/types/src/movable/MovableLayer.d.ts +2 -0
  105. package/types/src/movable/MovableRenderers.d.ts +43 -1
  106. package/types/src/movable/_drawingFormat.d.ts +15 -0
  107. package/types/src/presence/PresenceCommands.d.ts +1 -1
  108. package/types/src/sheet/IWorksheetElement.d.ts +9 -0
  109. package/types/src/sheet/SheetCommandProvider.d.ts +17 -10
  110. package/types/src/sheet/SheetCommands.d.ts +17 -4
  111. package/types/src/taskPane/FormatPane.d.ts +46 -0
  112. package/types/src/taskPane/MovablePane.d.ts +8 -10
  113. package/types/src/taskPane/TaskPaneArea.d.ts +57 -2
  114. package/types/src/taskPane/TaskPaneEmpty.d.ts +14 -0
  115. package/types/src/taskPane/TaskPaneKeys.d.ts +8 -4
  116. package/types/src/taskPane/TaskPaneRegistry.d.ts +2 -1
  117. package/types/src/taskPane/TaskPaneStrip.d.ts +13 -2
  118. package/types/src/taskPane/_taskPaneHost.d.ts +9 -0
  119. package/types/src/taskPane/index.d.ts +2 -0
  120. package/types/src/taskPane/useTaskPane.d.ts +14 -18
  121. package/browser/esm/CNWfLXcWFeRPAr_J.mjs +0 -264
  122. package/node/esm/8ar-ImM_B3-FjI_A.mjs +0 -128
  123. package/node/esm/BwlokhQZotu1DmAO.mjs +0 -265
  124. package/types/src/icons/chart/ChartAreaIcon.d.ts +0 -5
  125. package/types/src/icons/chart/ChartAreaStackedIcon.d.ts +0 -5
  126. package/types/src/icons/chart/ChartAreaStackedPercentIcon.d.ts +0 -5
  127. package/types/src/icons/chart/ChartBarIcon.d.ts +0 -5
  128. package/types/src/icons/chart/ChartBarStackedIcon.d.ts +0 -5
  129. package/types/src/icons/chart/ChartBarStackedPercentIcon.d.ts +0 -5
  130. package/types/src/icons/chart/ChartBubble3DIcon.d.ts +0 -5
  131. package/types/src/icons/chart/ChartBubbleIcon.d.ts +0 -5
  132. package/types/src/icons/chart/ChartColumnIcon.d.ts +0 -5
  133. package/types/src/icons/chart/ChartColumnStackedIcon.d.ts +0 -5
  134. package/types/src/icons/chart/ChartColumnStackedPercentIcon.d.ts +0 -5
  135. package/types/src/icons/chart/ChartLineIcon.d.ts +0 -5
  136. package/types/src/icons/chart/ChartLineMarkersIcon.d.ts +0 -5
  137. package/types/src/icons/chart/ChartLineStackedIcon.d.ts +0 -5
  138. package/types/src/icons/chart/ChartLineStackedMarkersIcon.d.ts +0 -5
  139. package/types/src/icons/chart/ChartLineStackedPercentIcon.d.ts +0 -5
  140. package/types/src/icons/chart/ChartLineStackedPercentMarkersIcon.d.ts +0 -5
  141. package/types/src/icons/chart/ChartPieDoughnutIcon.d.ts +0 -5
  142. package/types/src/icons/chart/ChartPieIcon.d.ts +0 -5
  143. package/types/src/icons/chart/ChartScatterLinesIcon.d.ts +0 -5
  144. package/types/src/icons/chart/ChartScatterLinesMarkersIcon.d.ts +0 -5
  145. package/types/src/icons/chart/ChartScatterLinesMarkersSmoothIcon.d.ts +0 -5
  146. package/types/src/icons/chart/ChartScatterLinesSmoothIcon.d.ts +0 -5
  147. package/types/src/icons/chart/ChartScatterMarkersIcon.d.ts +0 -5
  148. package/types/src/icons/chart/ChartWaterfallIcon.d.ts +0 -5
  149. package/types/src/icons/chart/ThemedChartIcon.d.ts +0 -20
@@ -0,0 +1,166 @@
1
+ /**
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
+ */
7
+ import { i as e, n as t, r as a } from "./BXCAuiepvo2pCMA6.mjs";
8
+ import { n as o } from "./BCTgV60zEAPoPG-u.mjs";
9
+ import { ChartEditor as s } from "./chart.mjs";
10
+ import { jsx as r } from "react/jsx-runtime";
11
+ import { messageKey as i, t as l } from "@sheetxl/utils";
12
+ var n = /* @__PURE__ */ new Set([
13
+ "waterfall",
14
+ "histogram",
15
+ "pareto",
16
+ "boxwhisker",
17
+ "treemap",
18
+ "sunburst",
19
+ "funnel",
20
+ "regionMap"
21
+ ]), c = [
22
+ {
23
+ key: "chartTitleToggle",
24
+ state: (e) => e.getTitle().getVisible(),
25
+ show: ["chartTitleAboveChart"],
26
+ hide: ["chartTitleNone"]
27
+ },
28
+ {
29
+ key: "chartLegendToggle",
30
+ state: (e) => e.getLegend().getVisible(),
31
+ show: ["legendRight"],
32
+ hide: ["legendNone"]
33
+ },
34
+ {
35
+ key: "chartDataLabelsToggle",
36
+ state: (e) => e.getDataLabels().getVisible(),
37
+ show: ["dataLabelShow"],
38
+ hide: ["dataLabelNone"]
39
+ },
40
+ {
41
+ key: "chartDataTableToggle",
42
+ state: (e) => e.getDataTable().getVisible(),
43
+ show: ["dataTableShow"],
44
+ hide: ["dataTableNone"]
45
+ },
46
+ {
47
+ key: "chartGridlinesToggle",
48
+ state: (e) => e.getAxes().getValueAxis()?.getMajorGridlines().getVisible() ?? !1,
49
+ show: ["primaryValueGridLinesMajor"],
50
+ hide: ["primaryValueGridLinesNone"]
51
+ },
52
+ {
53
+ key: "chartAxisTitlesToggle",
54
+ state: (e) => e.getAxes().getItems().some((e) => "primary" === e.getAxisGroup() && e.getTitle().getVisible()),
55
+ show: ["primaryCategoryAxisTitleAdjacentToAxis", "primaryValueAxisTitleRotated"],
56
+ hide: ["primaryCategoryAxisTitleNone", "primaryValueAxisTitleNone"]
57
+ }
58
+ ], d = {
59
+ renderer: (e) => r(s, {
60
+ ...e,
61
+ chart: e.movable.getContent()
62
+ }),
63
+ commands: (e, t) => {
64
+ const { sheet: a, movable: s, notifier: r } = t, d = s.getContent();
65
+ e.use(o({
66
+ transaction: a,
67
+ notifier: r
68
+ }));
69
+ const h = () => ({ chart: () => d }), g = () => d.isReadOnly() ? [i("reason.sheetProtected")] : [], m = () => {
70
+ const t = d.isReadOnly() ? [i("reason.sheetProtected")] : n.has(d.getChartType()) ? [i("reason.chartTypeNotEditable")] : [];
71
+ e.updateCommand("chartChangeType", {
72
+ callback: (e) => {
73
+ const t = "string" == typeof e ? e : e?.type;
74
+ t && d.setChartType(t);
75
+ },
76
+ state: d.getChartType(),
77
+ context: h,
78
+ disabledReasons: t
79
+ }), e.updateCommand("chartStyle", {
80
+ callback: (e) => {
81
+ void 0 !== e && d.setChartStyle(e);
82
+ },
83
+ state: d.getChartStyle(),
84
+ context: h,
85
+ disabledReasons: t
86
+ }), e.updateCommand("chartColors", {
87
+ callback: (e) => {
88
+ void 0 !== e && d.setColorScheme(e);
89
+ },
90
+ state: d.getColorScheme(),
91
+ context: h,
92
+ disabledReasons: t
93
+ }), e.updateCommand("chartSwitchRowColumn", {
94
+ callback: () => {
95
+ d.setSeriesBy("rows" === d.getSeriesBy() ? "columns" : "rows");
96
+ },
97
+ state: d.getSeriesBy(),
98
+ context: h,
99
+ disabledReasons: t
100
+ }), e.updateCommand("chartSelectData", {
101
+ tags: ["noTransaction", "noRepeat"],
102
+ callback: async (e) => {
103
+ if (!e) {
104
+ const t = await r?.showInput?.({
105
+ title: l("dialog.chartSelectData.title"),
106
+ description: l("dialog.chartSelectData.description"),
107
+ inputLabel: l("dialog.chartSelectData.inputLabel"),
108
+ initialValue: d.getSeries()[0]?.getValuesRange()?.getAddress() ?? "",
109
+ options: [{
110
+ id: "Select",
111
+ label: () => l("dialog.select")
112
+ }]
113
+ });
114
+ if (!t || "Select" !== t.option || !t.input) return;
115
+ e = t.input;
116
+ }
117
+ d.setData(e);
118
+ },
119
+ context: h,
120
+ disabledReasons: t
121
+ }), e.updateCommand("chartAddElement", {
122
+ callback: (e) => {
123
+ e && d.setElement(e);
124
+ },
125
+ context: h,
126
+ disabledReasons: t
127
+ });
128
+ for (const a of c) {
129
+ const o = a.state(d);
130
+ e.updateCommand(a.key, {
131
+ callback: () => {
132
+ for (const e of o ? a.hide : a.show) d.setElement(e);
133
+ },
134
+ state: o,
135
+ context: h,
136
+ disabledReasons: "chartTitleToggle" === a.key || "chartLegendToggle" === a.key ? g() : t
137
+ });
138
+ }
139
+ };
140
+ m();
141
+ const b = d.addListeners({ onAnyChange: m });
142
+ return () => {
143
+ b();
144
+ };
145
+ },
146
+ toolbar: (() => {
147
+ const t = e("chart", "Chart");
148
+ return {
149
+ ...t,
150
+ members: [...t.members ?? [], a.ChartDetails]
151
+ };
152
+ })(),
153
+ floatingToolbar: {
154
+ quickKey: a.ChartDetails,
155
+ commandKeys: [a.ChartDetails, a.Format],
156
+ iconKey: t("columnClustered")
157
+ },
158
+ buttons: [{
159
+ key: a.ChartDetails,
160
+ contributions: { movableContextMenu: {
161
+ anchor: a.Format,
162
+ order: -1
163
+ } }
164
+ }]
165
+ };
166
+ export { d as ChartKind };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.4
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.4
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,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.4
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 r } from "./BwlokhQZotu1DmAO.mjs";
7
+ import { i as e, n as t, t as r } from "./BSYkbwvzEjg5tnyi.mjs";
8
8
  import { forwardRef as o, memo as n, useCallback as l, useLayoutEffect as a, useRef as i } from "react";
9
9
  import { jsx as s } 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. - v1.0.4
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 "./xaiZuv1DcjoKGxuV.mjs";
7
+ import { t as e } from "./CcblOBJaE8U6tCWg.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";
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.4
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 "./xaiZuv1DcjoKGxuV.mjs";
8
- import { h as t, i as o, p as n } from "./lAMyxp6V7Yamdtue.mjs";
7
+ import { t as e } from "./CcblOBJaE8U6tCWg.mjs";
8
+ import { h as t, i as o, p as n } from "./BRsrSOeAgAbh8LCL.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";