@sheetxl/react 0.8.0-beta.11 → 0.8.0-beta.13
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/{B93LSmhnvkxNXTq-.mjs → -wQNyCnoJdQUTTfP.mjs} +1 -1
- package/browser/esm/{Bl2BFCQ00fotauKB.mjs → AL94cpxFjPurAMQG.mjs} +1 -1
- package/browser/esm/{BQYS2Yf-EAV_tBLr.mjs → B4K8rf7TAv0SBkbG.mjs} +1 -1
- package/browser/esm/{ClAtIfYbsUPA073B.mjs → BrwfFgqKdMG_-iar.mjs} +1 -1
- package/browser/esm/ByBGwdqhc_l75i5G.mjs +145 -0
- package/browser/esm/{DgL7Dy-Lqcr1TvW6.mjs → C1zqAqKQ6oa4FiTH.mjs} +4851 -4818
- package/browser/esm/C9lQPmVMIlUwXkKr.mjs +303 -0
- package/browser/esm/{Dnh1kpz3v1JKtRD_.mjs → CIrcPI7uOT93ydNn.mjs} +2 -2
- package/browser/esm/{DS66lAIM-9M-YoZQ.mjs → CZsNidKZjsn0lNnA.mjs} +112 -104
- package/browser/esm/{Bos4Rkp8UTF7QXUB.mjs → CcewpxckpDrXSiZ-.mjs} +1 -1
- package/browser/esm/{BegvsXeRs7e-9t8k.mjs → CdDvFP8Fqm8uU7Rw.mjs} +1 -1
- package/browser/esm/{D2u6THGErqw64KQI.mjs → CfewUx0gINn-wXt3.mjs} +1 -1
- package/browser/esm/{C1pc9F4Rt2C5FKUo.mjs → CfvYfq6ALVqkCsdg.mjs} +1 -1
- package/browser/esm/CulxiChz6lj3G9lw.mjs +341 -0
- package/browser/esm/D5Uy22WeT7vUS36Z.mjs +19 -0
- package/browser/esm/{1-LEUre9ZLG0OYYB.mjs → Dd8deQ2CDMdrhzF1.mjs} +6 -6
- package/browser/esm/Dit7p67J_fDF5RDj.mjs +262 -0
- package/browser/esm/{CPnnESfZz2jjJd82.mjs → DzWFl-_dCN-EOkio.mjs} +3 -3
- package/browser/esm/{94dxo1A-z8lgiiGw.mjs → MIDbAwdzknMaoTU5.mjs} +2 -2
- package/browser/esm/{B26QVfjer2oY2ewK.mjs → ao9zR4H88b7AmZEV.mjs} +1 -1
- package/browser/esm/chart.mjs +28 -27
- package/browser/esm/control.mjs +74 -73
- package/browser/esm/group.mjs +3 -3
- package/browser/esm/index.mjs +6195 -5307
- package/browser/esm/note.mjs +5 -5
- package/browser/esm/picture.mjs +2 -81
- package/browser/esm/sXn9faQLuh4P0TZ9.mjs +401 -0
- package/browser/esm/shape.mjs +2 -2
- package/browser/esm/slicer.mjs +112 -111
- package/browser/esm/{CzRIbc-Lk__VMLKM.mjs → u3A8I4A7GKIOLOOb.mjs} +3 -3
- package/browser/esm/{DMdsMPT0fWBbTkNn.mjs → x6A47UA3fzV361tO.mjs} +1 -1
- package/node/esm/{BiaDWnN3tT7neoRL.mjs → A_4Y7EtzCWp1AG3Y.mjs} +1 -1
- package/node/esm/BNwVylzKMErhrx4i.mjs +406 -0
- package/node/esm/BPBUSXc5TVnD15By.mjs +146 -0
- package/node/esm/{DxQZmb-j4NLUO9Af.mjs → BTT6UB5lGvPxcq3F.mjs} +1 -1
- package/node/esm/{JiQGhLkoL8CJpVvA.mjs → BYiAmyF-aOOuMkD1.mjs} +1 -1
- package/node/esm/BqS8o-CmPoCjHDHp.mjs +263 -0
- package/node/esm/{b-XRVRI1fYQQMkTC.mjs → CC_XgLOFPvqmFyZ_.mjs} +525 -492
- package/node/esm/{BaRfst1euuhquupX.mjs → CMGUrHMaBDeCezK5.mjs} +1 -1
- package/node/esm/{umljAT66yb3_rURh.mjs → CP07qkepi21zlB0n.mjs} +118 -110
- package/node/esm/{BlxXufqBBg1PtsXd.mjs → CQJJMfuXl6mbgHdT.mjs} +1 -1
- package/node/esm/{C_SNx7TlFEcwbYjx.mjs → CVDVFhM7OIpaOlyN.mjs} +1 -1
- package/node/esm/{gpD-9LDW92phhoma.mjs → CVMuO9bpR5YK0pPb.mjs} +1 -1
- package/node/esm/{BMVK5plvmBOAIlxP.mjs → CaZG4HD3SmHvD-Tu.mjs} +1 -1
- package/node/esm/{6zApGj9DozhFy-bx.mjs → CuRPfxQCj2jookWL.mjs} +1 -1
- package/node/esm/D8mYmUPUA6i8oFgR.mjs +19 -0
- package/node/esm/{Dj5FM7_-YWhCtCCt.mjs → DAUtyjkW5uSdnTli.mjs} +1 -1
- package/node/esm/{D_pCpfdQowV_4Aje.mjs → DfvJ0Dpn-AP2mGtz.mjs} +5 -5
- package/node/esm/{DTMTIrYIK1eZswsM.mjs → DipZYwHed-W6QMtQ.mjs} +1 -1
- package/node/esm/{Be9c1GwQkPo8Piuh.mjs → NvP_j9pSsDiJ_PyY.mjs} +3 -3
- package/node/esm/chart.mjs +26 -25
- package/node/esm/control.mjs +79 -78
- package/node/esm/{sigD1UFqvPlWUw_9.mjs → eecr5gnC2KqVhOzX.mjs} +2 -2
- package/node/esm/group.mjs +3 -3
- package/node/esm/index.mjs +6594 -5705
- package/node/esm/note.mjs +18 -18
- package/node/esm/picture.mjs +269 -50
- package/node/esm/shape.mjs +185 -578
- package/node/esm/slicer.mjs +51 -50
- package/package.json +7 -7
- package/resources/locales/de/picture.cmd.json +157 -0
- package/resources/locales/de/sheet.cmd.json +45 -2
- package/resources/locales/de/ui.msg.json +3 -0
- package/resources/locales/de/workbook.cmd.json +6 -0
- package/resources/locales/en/picture.cmd.json +157 -0
- package/resources/locales/en/sheet.cmd.json +45 -2
- package/resources/locales/en/ui.msg.json +5 -0
- package/resources/locales/en/workbook.cmd.json +6 -0
- package/types/src/border/useBorders.d.ts +2 -2
- package/types/src/cell/CellCheckboxRenderer.d.ts +20 -0
- package/types/src/cell/CellContent.d.ts +68 -0
- package/types/src/cell/CellControlContext.d.ts +37 -0
- package/types/src/cell/{FormulaCellRenderer.d.ts → CellFormulaRenderer.d.ts} +5 -5
- package/types/src/cell/CellImageRenderer.d.ts +11 -0
- package/types/src/cell/CellRenderers.d.ts +190 -0
- package/types/src/cell/{SheetCellRenderer.d.ts → CellTextRenderer.d.ts} +9 -6
- package/types/src/cell/ColumnButton.d.ts +3 -3
- package/types/src/cell/OutlineButton.d.ts +4 -4
- package/types/src/cell/SheetHeaderRenderer.d.ts +1 -1
- package/types/src/cell/index.d.ts +8 -2
- package/types/src/cell/useFormulaViewAnchor.d.ts +1 -1
- package/types/src/cell/useInsertableCellControls.d.ts +25 -0
- package/types/src/chart/ChartCommands.d.ts +1 -1
- package/types/src/chart/ChartEditor.d.ts +2 -0
- package/types/src/chart/ChartElement.d.ts +14 -3
- package/types/src/chart/paint/_graphics.d.ts +0 -8
- package/types/src/chart/paint/_mode.d.ts +6 -0
- package/types/src/chart/paint/echarts.d.ts +6 -3
- package/types/src/chart/paint/index.d.ts +1 -1
- package/types/src/chart/paint/kinds/ChartPaintKind.d.ts +9 -1
- package/types/src/chart/paint/kinds/_builtIns.d.ts +0 -9
- package/types/src/chart/paint/toEChartsOption.d.ts +12 -1
- package/types/src/editableLabel/EditableLabel.d.ts +3 -1
- package/types/src/editor/SheetReferenceHeaderLayer.d.ts +1 -1
- package/types/src/editor/useFormulaHints.d.ts +1 -1
- package/types/src/layer/CellErrorLayer.d.ts +3 -2
- package/types/src/layer/CellIndicatorLayer.d.ts +31 -0
- package/types/src/layer/CircularIndicatorLayer.d.ts +1 -1
- package/types/src/layer/HeaderSelectionLayer.d.ts +4 -4
- package/types/src/layer/HyperlinkLayer.d.ts +12 -5
- package/types/src/layer/ProtectionLayer.d.ts +1 -2
- package/types/src/layer/SheetCellLayer.d.ts +11 -4
- package/types/src/layer/SheetMovableLayer.d.ts +2 -1
- package/types/src/layer/SheetOutlineLayer.d.ts +1 -1
- package/types/src/layer/TableLayer.d.ts +1 -1
- package/types/src/layer/TableToolbar.d.ts +1 -1
- package/types/src/layer/ValidationPromptLayer.d.ts +16 -4
- package/types/src/layer/_visibleCellFeatures.d.ts +11 -0
- package/types/src/layer/index.d.ts +1 -0
- package/types/src/layer/useValidationPicker.d.ts +1 -1
- package/types/src/listener/useRangeListener.d.ts +13 -7
- package/types/src/movable/DefaultMovable.d.ts +1 -1
- package/types/src/movable/MovableControl.d.ts +3 -1
- package/types/src/movable/MovableFrame.d.ts +2 -1
- package/types/src/movable/MovableLayer.d.ts +6 -3
- package/types/src/movable/useFramePreview.d.ts +17 -0
- package/types/src/picture/PictureCommands.d.ts +8 -0
- package/types/src/picture/_pictureHyperlink.d.ts +13 -0
- package/types/src/picture/pictureCrop.d.ts +32 -0
- package/types/src/sheet/ISheetHeaderElement.d.ts +2 -2
- package/types/src/sheet/IWorksheetElement.d.ts +21 -22
- package/types/src/sheet/SheetCommandProvider.d.ts +3 -0
- package/types/src/sheet/SheetOutlineElement.d.ts +2 -2
- package/types/src/sheet/SheetPanels.d.ts +2 -2
- package/types/src/sheet/_hyperlinkEdit.d.ts +7 -0
- package/types/src/sheet/circularReferences.d.ts +1 -1
- package/types/src/tabStrip/Sortable.d.ts +5 -5
- package/types/src/tabStrip/TabStrip.d.ts +6 -6
- package/types/src/tabStrip/TabStripItem.d.ts +15 -13
- package/types/src/taskPane/CellControlPane.d.ts +17 -0
- package/types/src/taskPane/index.d.ts +1 -0
- package/types/src/taskPane/useTaskPane.d.ts +6 -3
- package/types/src/theme/buildDocThemeCSS.d.ts +4 -1
- package/types/src/workbook/DefaultRenderers.d.ts +4 -4
- package/types/src/workbook/IWorkbookElement.d.ts +52 -20
- package/types/src/workbook/WorkbookStrip.d.ts +5 -5
- package/browser/esm/CRi6DQ3UXmPEv-w_.mjs +0 -729
- package/browser/esm/cQ6xdPFkEcuDlNTN.mjs +0 -75
- package/browser/esm/ugfE7YeZALQURDKF.mjs +0 -241
- package/node/esm/DJPgbB1X22YmhbaR.mjs +0 -242
- package/node/esm/DgGEHydEjD7nfsDB.mjs +0 -76
package/node/esm/control.mjs
CHANGED
|
@@ -1,47 +1,48 @@
|
|
|
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.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
7
|
+
import { t as e } from "./DAUtyjkW5uSdnTli.mjs";
|
|
8
|
+
import { IFont as t } from "@sheetxl/sdk";
|
|
9
|
+
import { memo as n, useEffect as r, useReducer as o, useRef as i } from "react";
|
|
10
|
+
import { jsx as l, jsxs as d } from "react/jsx-runtime";
|
|
11
|
+
var a = (e) => {
|
|
12
|
+
const n = e.getFont();
|
|
13
|
+
if (!n) return {};
|
|
14
|
+
const r = {};
|
|
15
|
+
return n.name && (r.fontFamily = t.toCSSFontFamily(n.name)), void 0 !== n.size && (r.fontSize = `${n.size}pt`), n.bold && (r.fontWeight = "bold"), n.italic && (r.fontStyle = "italic"), n.color && (r.color = n.color), r;
|
|
16
|
+
}, s = {
|
|
16
17
|
pointerEvents: "none",
|
|
17
18
|
width: "100%",
|
|
18
19
|
height: "100%",
|
|
19
20
|
boxSizing: "border-box",
|
|
20
21
|
margin: 0
|
|
21
|
-
},
|
|
22
|
-
...
|
|
22
|
+
}, c = {
|
|
23
|
+
...s,
|
|
23
24
|
display: "flex",
|
|
24
25
|
alignItems: "center",
|
|
25
26
|
gap: "0.35em",
|
|
26
27
|
padding: "0 2px",
|
|
27
28
|
overflow: "hidden",
|
|
28
29
|
whiteSpace: "nowrap"
|
|
29
|
-
},
|
|
30
|
-
const d =
|
|
31
|
-
const { children:
|
|
30
|
+
}, g = (t, i) => {
|
|
31
|
+
const d = n((n) => {
|
|
32
|
+
const { children: i, disabled: d, style: a, movable: c, zoom: g = 1, isDragging: h, onHide: p, onShow: u, onDragZone: m, adornmentHost: x, flip: y, ...f } = n, b = c.getContent(), [, v] = o((e) => e + 1, 0);
|
|
32
33
|
e(b, { onAnyChange() {
|
|
33
34
|
v();
|
|
34
35
|
} });
|
|
35
36
|
const w = b, C = b, I = w.getLinkedCell?.() ?? null;
|
|
36
|
-
|
|
37
|
+
r(() => {
|
|
37
38
|
if (I) return w.getLinkedRange?.()?.addListener(() => v(), { ignoreAddressChanges: !0 });
|
|
38
39
|
}, [b, I]);
|
|
39
|
-
const
|
|
40
|
-
if (
|
|
41
|
-
if (
|
|
42
|
-
}, [b,
|
|
43
|
-
const
|
|
44
|
-
return
|
|
40
|
+
const S = C.getListFillRange?.() ?? null;
|
|
41
|
+
if (r(() => {
|
|
42
|
+
if (S) return C.getListSourceRange?.()?.addListener(() => v(), { ignoreAddressChanges: !0 });
|
|
43
|
+
}, [b, S]), b.isDeleted()) return null;
|
|
44
|
+
const R = c.getBounds();
|
|
45
|
+
return l("div", {
|
|
45
46
|
className: "form-control-renderer",
|
|
46
47
|
...f,
|
|
47
48
|
style: {
|
|
@@ -51,57 +52,57 @@ var d = (e) => {
|
|
|
51
52
|
position: "relative",
|
|
52
53
|
boxShadow: h ? "1px 1px 2px var(--sxl-color-shadow, rgba(0,0,0,.15))" : void 0,
|
|
53
54
|
overflow: "hidden",
|
|
54
|
-
...
|
|
55
|
+
...a
|
|
55
56
|
},
|
|
56
|
-
children:
|
|
57
|
+
children: l("div", {
|
|
57
58
|
inert: !0,
|
|
58
|
-
style:
|
|
59
|
-
children:
|
|
59
|
+
style: s,
|
|
60
|
+
children: l(t, {
|
|
60
61
|
control: b,
|
|
61
|
-
width:
|
|
62
|
-
height:
|
|
62
|
+
width: R?.width ?? 0,
|
|
63
|
+
height: R?.height ?? 0
|
|
63
64
|
})
|
|
64
65
|
})
|
|
65
66
|
});
|
|
66
67
|
});
|
|
67
|
-
return d.displayName =
|
|
68
|
-
},
|
|
68
|
+
return d.displayName = i, d;
|
|
69
|
+
}, h = g(({ control: e }) => l("button", {
|
|
69
70
|
type: "button",
|
|
70
71
|
tabIndex: -1,
|
|
71
72
|
style: {
|
|
72
|
-
...
|
|
73
|
-
...
|
|
73
|
+
...s,
|
|
74
|
+
...a(e)
|
|
74
75
|
},
|
|
75
76
|
children: e.getCaption() ?? ""
|
|
76
|
-
}), "ButtonRenderer"),
|
|
77
|
-
const t =
|
|
78
|
-
return
|
|
79
|
-
t.current && (t.current.indeterminate =
|
|
80
|
-
}, [
|
|
77
|
+
}), "ButtonRenderer"), p = g(({ control: e }) => {
|
|
78
|
+
const t = i(null), n = e.isMixed();
|
|
79
|
+
return r(() => {
|
|
80
|
+
t.current && (t.current.indeterminate = n);
|
|
81
|
+
}, [n]), d("label", {
|
|
81
82
|
style: {
|
|
82
|
-
...
|
|
83
|
-
...
|
|
83
|
+
...c,
|
|
84
|
+
...a(e)
|
|
84
85
|
},
|
|
85
|
-
children: [
|
|
86
|
+
children: [l("input", {
|
|
86
87
|
ref: t,
|
|
87
88
|
type: "checkbox",
|
|
88
89
|
checked: e.isChecked(),
|
|
89
90
|
readOnly: !0
|
|
90
|
-
}),
|
|
91
|
+
}), l("span", { children: e.getCaption() ?? "" })]
|
|
91
92
|
});
|
|
92
|
-
}, "CheckBoxRenderer"),
|
|
93
|
+
}, "CheckBoxRenderer"), u = g(({ control: e }) => d("label", {
|
|
93
94
|
style: {
|
|
94
|
-
...
|
|
95
|
-
...
|
|
95
|
+
...c,
|
|
96
|
+
...a(e)
|
|
96
97
|
},
|
|
97
|
-
children: [
|
|
98
|
+
children: [l("input", {
|
|
98
99
|
type: "radio",
|
|
99
100
|
checked: e.isChecked(),
|
|
100
101
|
readOnly: !0
|
|
101
|
-
}),
|
|
102
|
-
}), "OptionButtonRenderer"),
|
|
102
|
+
}), l("span", { children: e.getCaption() ?? "" })]
|
|
103
|
+
}), "OptionButtonRenderer"), m = g(({ control: e }) => {
|
|
103
104
|
const t = e.isHorizontal();
|
|
104
|
-
return
|
|
105
|
+
return l("input", {
|
|
105
106
|
type: "range",
|
|
106
107
|
tabIndex: -1,
|
|
107
108
|
readOnly: !0,
|
|
@@ -110,7 +111,7 @@ var d = (e) => {
|
|
|
110
111
|
step: e.getIncrement() ?? 1,
|
|
111
112
|
value: e.getValue() ?? e.getMin() ?? 0,
|
|
112
113
|
style: {
|
|
113
|
-
...
|
|
114
|
+
...s,
|
|
114
115
|
writingMode: t ? void 0 : "vertical-lr"
|
|
115
116
|
}
|
|
116
117
|
});
|
|
@@ -121,7 +122,7 @@ var d = (e) => {
|
|
|
121
122
|
left: "7,2 4,5 7,8",
|
|
122
123
|
right: "3,2 6,5 3,8"
|
|
123
124
|
}[e.direction];
|
|
124
|
-
return
|
|
125
|
+
return l("svg", {
|
|
125
126
|
viewBox: "0 0 10 10",
|
|
126
127
|
style: {
|
|
127
128
|
width: "100%",
|
|
@@ -129,14 +130,14 @@ var d = (e) => {
|
|
|
129
130
|
maxWidth: 10,
|
|
130
131
|
maxHeight: 10
|
|
131
132
|
},
|
|
132
|
-
children:
|
|
133
|
+
children: l("polyline", {
|
|
133
134
|
points: t,
|
|
134
135
|
fill: "none",
|
|
135
136
|
stroke: "currentColor",
|
|
136
137
|
strokeWidth: 1.5
|
|
137
138
|
})
|
|
138
139
|
});
|
|
139
|
-
},
|
|
140
|
+
}, y = {
|
|
140
141
|
flex: "1 1 0",
|
|
141
142
|
minWidth: 0,
|
|
142
143
|
minHeight: 0,
|
|
@@ -145,64 +146,64 @@ var d = (e) => {
|
|
|
145
146
|
display: "flex",
|
|
146
147
|
alignItems: "center",
|
|
147
148
|
justifyContent: "center"
|
|
148
|
-
},
|
|
149
|
+
}, f = g(({ width: e, height: t }) => {
|
|
149
150
|
const n = ((e, t, n) => e > 0 && t > 0 ? e > t : n)(e, t, !1);
|
|
150
|
-
return
|
|
151
|
+
return d("div", {
|
|
151
152
|
style: {
|
|
152
|
-
...
|
|
153
|
+
...s,
|
|
153
154
|
display: "flex",
|
|
154
155
|
flexDirection: n ? "row" : "column"
|
|
155
156
|
},
|
|
156
|
-
children: [
|
|
157
|
+
children: [l("button", {
|
|
157
158
|
type: "button",
|
|
158
159
|
tabIndex: -1,
|
|
159
|
-
style:
|
|
160
|
-
children:
|
|
161
|
-
}),
|
|
160
|
+
style: y,
|
|
161
|
+
children: l(x, { direction: n ? "left" : "up" })
|
|
162
|
+
}), l("button", {
|
|
162
163
|
type: "button",
|
|
163
164
|
tabIndex: -1,
|
|
164
|
-
style:
|
|
165
|
-
children:
|
|
165
|
+
style: y,
|
|
166
|
+
children: l(x, { direction: n ? "right" : "down" })
|
|
166
167
|
})]
|
|
167
168
|
});
|
|
168
|
-
}, "SpinnerRenderer"),
|
|
169
|
+
}, "SpinnerRenderer"), b = (e) => e.getListItems().map((e, t) => l("option", {
|
|
169
170
|
value: t,
|
|
170
171
|
children: e
|
|
171
|
-
}, t)),
|
|
172
|
+
}, t)), v = g(({ control: e }) => d("select", {
|
|
172
173
|
tabIndex: -1,
|
|
173
174
|
value: e.getSelectedIndex() ?? -1,
|
|
174
|
-
style:
|
|
175
|
+
style: s,
|
|
175
176
|
onChange: () => {},
|
|
176
|
-
children: [null === e.getSelectedIndex() ?
|
|
177
|
-
}), "DropDownRenderer"),
|
|
177
|
+
children: [null === e.getSelectedIndex() ? l("option", { value: -1 }) : null, b(e)]
|
|
178
|
+
}), "DropDownRenderer"), w = g(({ control: e }) => l("select", {
|
|
178
179
|
tabIndex: -1,
|
|
179
180
|
size: Math.max(2, e.getListItems().length),
|
|
180
181
|
value: e.getSelectedIndex() ?? void 0,
|
|
181
|
-
style:
|
|
182
|
+
style: s,
|
|
182
183
|
onChange: () => {},
|
|
183
|
-
children:
|
|
184
|
-
}), "ListBoxRenderer"),
|
|
184
|
+
children: b(e)
|
|
185
|
+
}), "ListBoxRenderer"), C = g(({ control: e }) => l("fieldset", {
|
|
185
186
|
style: {
|
|
186
|
-
...
|
|
187
|
+
...s,
|
|
187
188
|
padding: 0,
|
|
188
|
-
...
|
|
189
|
+
...a(e)
|
|
189
190
|
},
|
|
190
|
-
children:
|
|
191
|
+
children: l("legend", {
|
|
191
192
|
style: {
|
|
192
193
|
marginLeft: "6px",
|
|
193
194
|
padding: "0 2px"
|
|
194
195
|
},
|
|
195
196
|
children: e.getCaption() ?? ""
|
|
196
197
|
})
|
|
197
|
-
}), "GroupBoxRenderer"),
|
|
198
|
+
}), "GroupBoxRenderer"), I = g(({ control: e }) => l("span", {
|
|
198
199
|
style: {
|
|
199
|
-
...
|
|
200
|
-
...
|
|
200
|
+
...c,
|
|
201
|
+
...a(e)
|
|
201
202
|
},
|
|
202
203
|
children: e.getCaption() ?? ""
|
|
203
|
-
}), "LabelRenderer"),
|
|
204
|
+
}), "LabelRenderer"), S = g(({ control: e }) => l("div", {
|
|
204
205
|
style: {
|
|
205
|
-
...
|
|
206
|
+
...s,
|
|
206
207
|
border: "var(--sxl-color-neutral, grey) solid 1px",
|
|
207
208
|
backgroundColor: "var(--sxl-color-base-100, white)",
|
|
208
209
|
display: "flex",
|
|
@@ -213,4 +214,4 @@ var d = (e) => {
|
|
|
213
214
|
},
|
|
214
215
|
children: e.getName?.() ?? e.getTypeDescription()
|
|
215
216
|
}), "UnmodeledControlRenderer");
|
|
216
|
-
export {
|
|
217
|
+
export { h as ButtonRenderer, p as CheckBoxRenderer, v as DropDownRenderer, C as GroupBoxRenderer, I as LabelRenderer, w as ListBoxRenderer, u as OptionButtonRenderer, m as ScrollBarRenderer, f as SpinnerRenderer, S as UnmodeledControlRenderer };
|
|
@@ -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.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { n as e } from "./
|
|
7
|
+
import { n as e } from "./DipZYwHed-W6QMtQ.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";
|
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.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
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 "./DAUtyjkW5uSdnTli.mjs";
|
|
8
|
+
import { h as t, i as o, p as n } from "./CP07qkepi21zlB0n.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";
|