@sheetxl/studio-mui 0.8.0-beta.15 → 0.8.0-beta.16
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/LICENSE.md +17 -7
- package/browser/esm/{CJWnWqGPw17cp9P3.mjs → 2DGUEeY8au7Hbmze.mjs} +2 -2
- package/browser/esm/{OmA1ClZ36ZMFrZe7.mjs → 9V0gwYl3BcajPwBD.mjs} +2 -2
- package/browser/esm/B0mscuFChIInl6Mo.mjs +119 -0
- package/browser/esm/{EFtp_C3sBnP3Nrns.mjs → BGg5TSbhaUimavRf.mjs} +7 -7
- package/browser/esm/BL-h4RElQAdaeHPF.mjs +360 -0
- package/browser/esm/{DOWfcHx0MO0J50de.mjs → BSrubs5qLEinR8Ew.mjs} +92 -87
- package/browser/esm/BUCQPr09aodgC88P.mjs +225 -0
- package/browser/esm/{BvpzsprI7cmVLuQn.mjs → Bg6bcIJsute7rxDL.mjs} +3 -3
- package/browser/esm/{CV-q-xCHVuNFhqEF.mjs → BjR7L3X6je3fXyQi.mjs} +2 -2
- package/browser/esm/{DMDi2lOps0veJKsM.mjs → Bo_18UwXk7eK6QaM.mjs} +3 -3
- package/browser/esm/{BfPTOOKhwUojRTef.mjs → Bp4rtdIKIFzTeJvr.mjs} +13 -9
- package/browser/esm/BxneVAXjYuQbCUQo.mjs +424 -0
- package/browser/esm/{BojGnpAWoIm5yCd8.mjs → C2V3kv29foh8dScC.mjs} +2 -2
- package/browser/esm/{BkxJY_YjMAEvhmuy.mjs → C8M4U_SswTd6auZd.mjs} +4 -4
- package/browser/esm/{BR51amBhaaHPBhpd.mjs → C9XRjC0yoGvS9Cm9.mjs} +3 -3
- package/browser/esm/{ghfcAaGu2CuZGdhi.mjs → CDgoQhayiKyo-7Br.mjs} +34 -33
- package/browser/esm/{Buzx8_zQYPX4DR7v.mjs → CLgar8cakFC22X3w.mjs} +2 -2
- package/browser/esm/{6SL2j-85OXrKJNZ5.mjs → CUh56URLD9Vh5Ak9.mjs} +1807 -1200
- package/browser/esm/{DLe9DT0DSurLSgiQ.mjs → CXgBRmauwDvHb3fQ.mjs} +2 -2
- package/browser/esm/{Bqba-3J9i8HsmusR.mjs → CYOaHHiaC7Ip5VLn.mjs} +2 -2
- package/browser/esm/C_qDBCzb8IHBlPhJ.mjs +294 -0
- package/browser/esm/{Cbkg5y4fYjLylYHF.mjs → CfsYKmwU44jlvh2Y.mjs} +2 -2
- package/browser/esm/Ch1y4AkETfKCYDwf.mjs +106 -0
- package/browser/esm/{By1IJOkvZJSlXs5f.mjs → CnId_LC0EekuwaAF.mjs} +3 -3
- package/browser/esm/{BsAoK_t2sn8IHtAO.mjs → CtVSJjciTocAi-ph.mjs} +3 -3
- package/browser/esm/{C8tci3dfo5lzeoK-.mjs → CuQsEoKZJrSL989Q.mjs} +6 -6
- package/browser/esm/{Cl_OUigCV04_zrRy.mjs → Cv99zJfRtzJQmM9a.mjs} +2 -2
- package/browser/esm/{BCDAnHFMvOd9XS8K.mjs → Cxk-oWZzE2jq5ul6.mjs} +3 -3
- package/browser/esm/{CcJHwg-rLMcCymSD.mjs → D3XdTSymYMag6tor.mjs} +6 -6
- package/browser/esm/{BH4eDAxZdwheO7d_.mjs → D4jGaUxHOgVc4qN0.mjs} +3 -3
- package/browser/esm/{BvbN9V67wFhTfq1-.mjs → DAdhaGB933dfni3E.mjs} +3 -3
- package/browser/esm/{DpAlQza0e5h3GGHC.mjs → DBx1Y3oFzB6gv-LQ.mjs} +3 -3
- package/browser/esm/{DJVpra0HoPH-4P7P.mjs → DIAnBUXPTvYAp5fm.mjs} +3 -3
- package/browser/esm/{idh3Y0jksygPSI3A.mjs → DIJh9jY37iVFn-tE.mjs} +2 -2
- package/browser/esm/{Ci74yk0whfoAP1TL.mjs → DK1K-M9iJV-DK3lK.mjs} +2 -2
- package/browser/esm/{BNas8wZuvrN45dRi.mjs → DMhFcJsnKSKTDivl.mjs} +2 -2
- package/browser/esm/{BWdpv2xf6GCyd4Te.mjs → DMj9kkIWw9chI5_u.mjs} +5 -5
- package/browser/esm/DUpW8HMoEhD3C9l6.mjs +235 -0
- package/browser/esm/{DzATG8XMcG6mmYbx.mjs → DVJ5AK0zcqSACGov.mjs} +9 -9
- package/browser/esm/{DYDnkmllpYTwfWir.mjs → DVaykBKx4eEsP4MI.mjs} +4 -4
- package/browser/esm/{C67SLDHwhVlVIMo0.mjs → Dex65RXS_A5CnMg3.mjs} +3 -3
- package/browser/esm/{BYnzaHXySiV-sc6w.mjs → DfYtGsqDIMAG4Sp8.mjs} +2 -2
- package/browser/esm/{IlX2PgLxvyTQu4Fh.mjs → Dj0VEFe2ckEWgQjy.mjs} +5 -5
- package/browser/esm/{DKkKac2vbeui2lDy.mjs → DjCDJhBfVI9O_Sq1.mjs} +6 -6
- package/browser/esm/DjjmLQLxU_U4JB3n.mjs +973 -0
- package/browser/esm/{CutWdrVA-c3x8IkL.mjs → DmOrKFaiUUr5hlFl.mjs} +5 -4
- package/browser/esm/{Bvq5aZyp5E79JB-s.mjs → DoYSmj1LQHAAqt5b.mjs} +2 -2
- package/browser/esm/{Dz20q7S5vmDWlO0p.mjs → KhOxaZS8EeSaYFXZ.mjs} +2 -2
- package/browser/esm/{DAYPqhHN3aQ2StjU.mjs → PvNtCGveCLbLAP3e.mjs} +14 -14
- package/browser/esm/{DfI4-5XM6AbILSti.mjs → ROOxAZY7YyHDmPcQ.mjs} +4 -4
- package/browser/esm/{DFAphWcDUw-gVtAl.mjs → TfUaejwwWzu5qFVE.mjs} +3 -3
- package/browser/esm/{DsM-NpB32hloRRR8.mjs → ZhI7zxDSTWb1DfaE.mjs} +3 -3
- package/browser/esm/{DY_EGsyx-zNiJS_0.mjs → fqZt7Z0jR4illVKU.mjs} +5 -5
- package/browser/esm/index.mjs +278 -277
- package/browser/esm/{OHvsc940xI-m_8cc.mjs → r7bLyFzJfaGLKP_7.mjs} +2 -2
- package/browser/esm/{DR9y7k4jB7stGPaZ.mjs → tffjGixzP1Ze4DqB.mjs} +3 -3
- package/browser/esm/{D90Bb0GPEwqYkf6R.mjs → tiC8hseLz66gO5BS.mjs} +804 -713
- package/node/esm/{-Adgw5-ltK-rfp33.mjs → -Il_piuBrbndDROB.mjs} +2 -2
- package/node/esm/0cm_0VYweOBWmzi7.mjs +972 -0
- package/node/esm/{CexPhV2NPh5ZGHus.mjs → 1gdwmt5CrQy4cGTH.mjs} +2 -2
- package/node/esm/{dUUbrmGMCILl8EOr.mjs → 3Geel3fylTwbPuxf.mjs} +2 -2
- package/node/esm/{CFi_Yls-gurU_CX3.mjs → 4pRKBhUYhbbE6qVT.mjs} +2 -2
- package/node/esm/{jGsHbOHP90nnx_hJ.mjs → 9qIZWfzxSaxNk6Cm.mjs} +16 -15
- package/node/esm/B9uLfbf5gMGnoUjH.mjs +224 -0
- package/node/esm/{BxIyViNSP0STSrfA.mjs → BFO2WxwRNbu-UmKe.mjs} +3 -3
- package/node/esm/{q2Byx8RdDnHk8YyG.mjs → BIJXqUbAalnd-gXD.mjs} +2 -2
- package/node/esm/{C4eVfVm_Omyt6NbE.mjs → BIviFvkWx6eP4dMd.mjs} +12 -12
- package/node/esm/{Cx4tBEsm3SjAafcw.mjs → BTOCej61y3MazK6r.mjs} +2 -2
- package/node/esm/{5etzEfk-28CCELyT.mjs → BV9hUarSGd3mWC8o.mjs} +3 -3
- package/node/esm/{DGtbmp72kfRXLtDu.mjs → BX1cTEV3SpcqLcXx.mjs} +81 -80
- package/node/esm/{DOuASwH2Lf83hMLe.mjs → BZu-8gEXwIzW_YX9.mjs} +2 -2
- package/node/esm/{CX13ASkhdJ0ZSAY4.mjs → B_jOG6MlKoiboP3D.mjs} +3 -3
- package/node/esm/{DwA7rfXJgzoNvjax.mjs → BgObBW8ZUr50OufC.mjs} +8 -8
- package/node/esm/{BKCNFVrdc_gTnOoS.mjs → BhiuBl2z87xThV1b.mjs} +2 -2
- package/node/esm/{B26ot2vO6Hd47uH0.mjs → Bm054Lh36PSa5m1P.mjs} +2 -2
- package/node/esm/BtxNP8JWe16vSXAs.mjs +106 -0
- package/node/esm/BzT_zks-KORaryRo.mjs +118 -0
- package/node/esm/{Bg3Yu66oJr6mNvAR.mjs → C5dRM0ExMHpFgKd0.mjs} +3 -3
- package/node/esm/{BZK6UksX7r-GgRms.mjs → CQxu_KONf2yyKKnD.mjs} +2 -2
- package/node/esm/{BaFRVcYZjcLoMQtk.mjs → CdoFRzEug2L0LwNb.mjs} +7 -7
- package/node/esm/{DybPyX8U-EqXKarV.mjs → Ch7Ebxf0bFrlCJpW.mjs} +2 -2
- package/node/esm/{CzKFdVrPSDYOUdWI.mjs → CsQTJ4JQRxLcJDiZ.mjs} +2 -2
- package/node/esm/{BFv2GzY6NjmJggAg.mjs → CyKOmz26TaZSFxmi.mjs} +3 -3
- package/node/esm/D3TsBlOewIFj-VDW.mjs +294 -0
- package/node/esm/{Ca31PUiJBGowHeob.mjs → D4TlOO7hjvqTR2HX.mjs} +3 -3
- package/node/esm/{TgwnKYh-WPxEgmyr.mjs → DYNM5HfUK0JbGHsx.mjs} +2 -2
- package/node/esm/{B7vbn_dO_cZnGyGM.mjs → DhPNzztIuq9WJwCz.mjs} +3 -3
- package/node/esm/{ISBEql8s7AnELTpd.mjs → cl-bDkq8M4STBYJy.mjs} +2 -2
- package/node/esm/fazR-cWd-2-W82Nk.mjs +425 -0
- package/node/esm/index.mjs +3391 -2778
- package/node/esm/{D9Ga7FFJDOO3Dpfu.mjs → iyOc5Rm5x746Qd3R.mjs} +2 -2
- package/node/esm/{CORxK68HpwPUYA6O.mjs → klLaIOeBuqaYuz_q.mjs} +2 -2
- package/node/esm/{D_JpopAVQopM26cb.mjs → mmzQ-lse6yBavXnw.mjs} +603 -514
- package/node/esm/{CkW8xNdW45Xg7jy7.mjs → rpHmm4X81z1orjHr.mjs} +3 -3
- package/node/esm/{HlNuwtpYoOARa894.mjs → tRnEFhRlzQPziQif.mjs} +2 -2
- package/package.json +10 -10
- package/resources/locales/de/groups.cmd.json +3 -0
- package/resources/locales/de/ui.msg.json +41 -0
- package/resources/locales/en/groups.cmd.json +3 -0
- package/resources/locales/en/ui.msg.json +41 -0
- package/types/src/command/PresetPivotStylesCommandButton.d.ts +17 -0
- package/types/src/command/index.d.ts +1 -0
- package/types/src/dialog/PivotTableNewDialog.d.ts +11 -0
- package/types/src/filter/PivotMenu.d.ts +31 -0
- package/types/src/filter/index.d.ts +1 -0
- package/types/src/pivot/PivotChipMenu.d.ts +10 -0
- package/types/src/pivot/PivotPlugin.d.ts +3 -0
- package/types/src/pivot/PivotStyleCanvasPreview.d.ts +23 -0
- package/types/src/pivot/PivotTableHeader.d.ts +12 -0
- package/types/src/pivot/PivotValueSettingsDialog.d.ts +15 -0
- package/types/src/pivot/_pivotSource.d.ts +7 -0
- package/types/src/table/_drawStyleSwatch.d.ts +25 -0
- package/types/src/workbook/DefaultRenderers.d.ts +10 -4
- package/browser/esm/C4ir9dn7q0RUoOm_.mjs +0 -319
- package/browser/esm/DEUzUShfyJLvgd6_.mjs +0 -1379
- package/browser/esm/xe1B8ohea8qfZlFg.mjs +0 -582
- package/node/esm/CKtnUYKjsTf7dYKS.mjs +0 -318
- package/node/esm/vf5X26EJO7Q1b8Ln.mjs +0 -1379
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
import { InputField as e } from "./index.mjs";
|
|
8
|
+
import { memo as n, useRef as r } from "react";
|
|
9
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
10
|
+
import { Box as i, Typography as l } from "@mui/material";
|
|
11
|
+
var s = (e, n, r) => () => {
|
|
12
|
+
n === e && r();
|
|
13
|
+
}, o = n((n) => {
|
|
14
|
+
const { label: a, value: i, min: l, max: s, step: o = 1, decimals: m = !1, width: p, disabled: d, onChange: c } = n, u = r(null), x = (e) => Math.max(l, Math.min(s, e)), h = (e) => {
|
|
15
|
+
const n = m ? parseFloat(e) : parseInt(e, 10);
|
|
16
|
+
return Number.isNaN(n) ? null : x(n);
|
|
17
|
+
};
|
|
18
|
+
return t(e, {
|
|
19
|
+
label: a,
|
|
20
|
+
value: String(i),
|
|
21
|
+
disabled: d,
|
|
22
|
+
hideAdornment: !0,
|
|
23
|
+
helperText: null,
|
|
24
|
+
propsInput: {
|
|
25
|
+
type: "number",
|
|
26
|
+
min: l,
|
|
27
|
+
max: s,
|
|
28
|
+
step: o
|
|
29
|
+
},
|
|
30
|
+
sx: {
|
|
31
|
+
width: p,
|
|
32
|
+
minWidth: 0,
|
|
33
|
+
"& input": { textAlign: "right" }
|
|
34
|
+
},
|
|
35
|
+
onChangeInput: (e) => {
|
|
36
|
+
const n = h(e);
|
|
37
|
+
null !== n && (u.current = n, c(n));
|
|
38
|
+
},
|
|
39
|
+
onDone: (e) => {
|
|
40
|
+
const n = h(e) ?? x(0), r = u.current;
|
|
41
|
+
u.current = null, r !== n && c(n);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
o.displayName = "FormatNumberField";
|
|
46
|
+
var m = {
|
|
47
|
+
display: "flex",
|
|
48
|
+
flexDirection: "column",
|
|
49
|
+
gap: 1.5,
|
|
50
|
+
minWidth: 0
|
|
51
|
+
}, p = n((e) => {
|
|
52
|
+
const { label: n, children: r, sx: s, ...o } = e;
|
|
53
|
+
return a(i, {
|
|
54
|
+
sx: {
|
|
55
|
+
display: "flex",
|
|
56
|
+
flexDirection: "column",
|
|
57
|
+
gap: .75,
|
|
58
|
+
minWidth: 0,
|
|
59
|
+
...s
|
|
60
|
+
},
|
|
61
|
+
...o,
|
|
62
|
+
children: [n ? t(l, {
|
|
63
|
+
variant: "caption",
|
|
64
|
+
component: "div",
|
|
65
|
+
sx: {
|
|
66
|
+
color: "text.secondary",
|
|
67
|
+
lineHeight: 1.4
|
|
68
|
+
},
|
|
69
|
+
children: n
|
|
70
|
+
}) : null, r]
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
p.displayName = "FormatSection";
|
|
74
|
+
var d = n((e) => {
|
|
75
|
+
const { children: n, sx: r, ...a } = e;
|
|
76
|
+
return t(i, {
|
|
77
|
+
sx: {
|
|
78
|
+
display: "flex",
|
|
79
|
+
flexWrap: "wrap",
|
|
80
|
+
alignItems: "center",
|
|
81
|
+
gap: 1,
|
|
82
|
+
minWidth: 0,
|
|
83
|
+
...r
|
|
84
|
+
},
|
|
85
|
+
...a,
|
|
86
|
+
children: n
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
d.displayName = "FormatRow";
|
|
90
|
+
var c = n((e) => {
|
|
91
|
+
const { children: n, sx: r, ...a } = e;
|
|
92
|
+
return t(i, {
|
|
93
|
+
sx: {
|
|
94
|
+
display: "flex",
|
|
95
|
+
alignItems: "center",
|
|
96
|
+
gap: .25,
|
|
97
|
+
flexWrap: "wrap",
|
|
98
|
+
minWidth: 0,
|
|
99
|
+
...r
|
|
100
|
+
},
|
|
101
|
+
...a,
|
|
102
|
+
children: n
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
c.displayName = "FormatButtonGroup";
|
|
106
|
+
export { s as a, p as i, o as n, m as o, d as r, c as t };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
import { FormulaField as e, InputField as o } from "./index.mjs";
|
|
8
|
+
import { n as t } from "./mmzQ-lse6yBavXnw.mjs";
|
|
9
|
+
import { useReferenceMode as n, useWorkbook as a } from "@sheetxl/react";
|
|
10
|
+
import { useCallbackRef as l, useTranslator as i } from "@sheetxl/utils-react";
|
|
11
|
+
import { memo as r, useCallback as c, useMemo as u, useState as s } from "react";
|
|
12
|
+
import { OptionsDialog as m } from "@sheetxl/utils-mui";
|
|
13
|
+
import { jsx as p, jsxs as d } from "react/jsx-runtime";
|
|
14
|
+
import { Box as f } from "@mui/material";
|
|
15
|
+
var g = ["Ok", "Cancel"], h = r((r) => {
|
|
16
|
+
const { onInput: h, onOption: v, onValidateOption: x, onDone: N, options: O = g, defaultOption: w = O?.[0], cancelOption: b = "Cancel", sx: F, initialValue: k, context: C, ...I } = r, y = i(), [M, T] = s(!1), [V, j] = s(() => k?.name ?? ""), [D, S] = s(() => k?.source ?? null), [W, A] = s(() => k?.location ?? null), B = C?.(), E = u(() => {
|
|
17
|
+
const e = k?.source, o = e && "string" != typeof e ? e.getWorksheet?.()?.getName() : void 0;
|
|
18
|
+
return o ? { scope: o } : void 0;
|
|
19
|
+
}, [k]), G = a(), [L] = s(() => {
|
|
20
|
+
const e = G?.getSelectedWorksheet()?.getName();
|
|
21
|
+
return e ? { scope: e } : void 0;
|
|
22
|
+
}), R = "point" === n().getMode()?.mode, q = u(() => W ? B?.checkLocation(W) ?? null : null, [W, B]), z = l((e) => {
|
|
23
|
+
B?.validateName(e, W);
|
|
24
|
+
}, [B, W]), H = l((e) => {
|
|
25
|
+
const o = D && W ? {
|
|
26
|
+
...k,
|
|
27
|
+
name: V,
|
|
28
|
+
source: D,
|
|
29
|
+
location: W
|
|
30
|
+
} : null, t = e === b || !e;
|
|
31
|
+
h?.(!t && o ? o : void 0), v?.(e ?? b, t, e === w), N?.({
|
|
32
|
+
option: e,
|
|
33
|
+
value: o
|
|
34
|
+
});
|
|
35
|
+
}, [
|
|
36
|
+
N,
|
|
37
|
+
v,
|
|
38
|
+
w,
|
|
39
|
+
b,
|
|
40
|
+
V,
|
|
41
|
+
D,
|
|
42
|
+
W,
|
|
43
|
+
k
|
|
44
|
+
]), J = c(async (e, o) => {
|
|
45
|
+
if (!D || !W || q) return !1;
|
|
46
|
+
try {
|
|
47
|
+
z(V);
|
|
48
|
+
} catch {
|
|
49
|
+
return !1;
|
|
50
|
+
}
|
|
51
|
+
return !0;
|
|
52
|
+
}, [
|
|
53
|
+
z,
|
|
54
|
+
V,
|
|
55
|
+
D,
|
|
56
|
+
W,
|
|
57
|
+
q
|
|
58
|
+
]), K = (e) => {
|
|
59
|
+
M || e.target?.select(), T(!0);
|
|
60
|
+
};
|
|
61
|
+
return p(m, {
|
|
62
|
+
title: y("pivotTableNew.title"),
|
|
63
|
+
options: O,
|
|
64
|
+
onDone: H,
|
|
65
|
+
onValidateOption: J,
|
|
66
|
+
defaultOption: w,
|
|
67
|
+
cancelOption: b,
|
|
68
|
+
autoFocusSel: ".autoFocus",
|
|
69
|
+
suspendModal: R,
|
|
70
|
+
sx: {
|
|
71
|
+
width: "360px",
|
|
72
|
+
...F
|
|
73
|
+
},
|
|
74
|
+
...I,
|
|
75
|
+
children: d(f, {
|
|
76
|
+
sx: {
|
|
77
|
+
paddingTop: (e) => e.spacing(1),
|
|
78
|
+
paddingBottom: (e) => e.spacing(0),
|
|
79
|
+
rowGap: (e) => e.spacing(1),
|
|
80
|
+
display: "flex",
|
|
81
|
+
flexDirection: "column"
|
|
82
|
+
},
|
|
83
|
+
children: [
|
|
84
|
+
p(o, {
|
|
85
|
+
formName: "name",
|
|
86
|
+
value: V,
|
|
87
|
+
onChangeInput: j,
|
|
88
|
+
onValidate: z,
|
|
89
|
+
onFocus: K
|
|
90
|
+
}),
|
|
91
|
+
p(e, {
|
|
92
|
+
grammar: "reference",
|
|
93
|
+
classNameInput: "autoFocus",
|
|
94
|
+
formName: "source",
|
|
95
|
+
label: y("pivotTableNew.source"),
|
|
96
|
+
value: D,
|
|
97
|
+
allowMulti: !1,
|
|
98
|
+
home: E,
|
|
99
|
+
pickAs: "absolute",
|
|
100
|
+
onChangeInput: (e) => S(t(e)),
|
|
101
|
+
onFocus: K
|
|
102
|
+
}),
|
|
103
|
+
p(e, {
|
|
104
|
+
grammar: "reference",
|
|
105
|
+
formName: "location",
|
|
106
|
+
label: y("pivotTableNew.location"),
|
|
107
|
+
value: W,
|
|
108
|
+
allowMulti: !1,
|
|
109
|
+
home: L,
|
|
110
|
+
validationError: q,
|
|
111
|
+
onChangeInput: (e) => A(e?.getReferences() ?? null),
|
|
112
|
+
onFocus: K
|
|
113
|
+
})
|
|
114
|
+
]
|
|
115
|
+
})
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
export { h as PivotTableNewDialog, h as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./BFO2WxwRNbu-UmKe.mjs";
|
|
8
8
|
import { FormulaField as t, InputField as n, PresetChip as a, c as r } from "./index.mjs";
|
|
9
9
|
import { useModelSync as o, useWorkbook as i } from "@sheetxl/react";
|
|
10
10
|
import { DynamicIcon as d, NotifierType as l, useCallbackRef as s, useNotifier as m, useTranslator as c } from "@sheetxl/utils-react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { memo as t, useMemo as r, useRef as e } from "react";
|
|
8
8
|
import { jsx as n } from "react/jsx-runtime";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { a as t, i as e, n as a, r as i } from "./
|
|
7
|
+
import { a as t, i as e, n as a, r as i } from "./iyOc5Rm5x746Qd3R.mjs";
|
|
8
8
|
import { useTranslator as o } from "@sheetxl/utils-react";
|
|
9
9
|
import { useCallback as r, useState as s } from "react";
|
|
10
10
|
import { InternalWindow as n } from "@sheetxl/utils-mui";
|
|
11
11
|
import { jsx as m, jsxs as c } from "react/jsx-runtime";
|
|
12
12
|
import { Checkbox as p, DialogActions as d, DialogContent as h, FormControlLabel as u, Typography as x } from "@mui/material";
|
|
13
13
|
var g = (l) => {
|
|
14
|
-
const { title: g, templatePath: f, onSelectTemplate: v, showAtStartup: w, onShowAtStartupChange:
|
|
15
|
-
F(t),
|
|
16
|
-
}, [
|
|
14
|
+
const { title: g, templatePath: f, onSelectTemplate: v, showAtStartup: w, onShowAtStartupChange: y, sx: S, ...C } = l, b = o(), j = a({ path: f }), [A, k] = s(""), [I, M] = s([]), z = e(j.categories, A, I), [D, F] = s(w), H = r((t) => {
|
|
15
|
+
F(t), y?.(t);
|
|
16
|
+
}, [y]), L = r((t) => {
|
|
17
17
|
v?.(t);
|
|
18
18
|
}, [v]);
|
|
19
19
|
return c(n, {
|
|
20
20
|
isModal: !0,
|
|
21
21
|
sx: {
|
|
22
22
|
width: "860px",
|
|
23
|
-
...
|
|
23
|
+
...S
|
|
24
24
|
},
|
|
25
25
|
title: g ?? b("dialog.template.title"),
|
|
26
26
|
autoFocusSel: ".template-tile",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { CommentCard as e } from "./index.mjs";
|
|
8
8
|
import { getCommentCoords as t, useModelListener as l, useSheetComments as o } from "@sheetxl/react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { AutoFill as e, IRange as t } from "@sheetxl/sdk";
|
|
8
8
|
import { AUTO_FILL_PRESET_LABELS as i } from "@sheetxl/react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./BFO2WxwRNbu-UmKe.mjs";
|
|
8
8
|
import { FormulaField as t, s as r } from "./index.mjs";
|
|
9
9
|
import { useModelSync as a } from "@sheetxl/react";
|
|
10
10
|
import { NotifierType as n, useNotifier as o } from "@sheetxl/utils-react";
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
import { t as e } from "./fazR-cWd-2-W82Nk.mjs";
|
|
8
|
+
import { useCallbackRef as t, useTranslator as n } from "@sheetxl/utils-react";
|
|
9
|
+
import { memo as i, useMemo as a, useState as o } from "react";
|
|
10
|
+
import { OptionsDialog as l } from "@sheetxl/utils-mui";
|
|
11
|
+
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
12
|
+
import { Box as u, List as p, ListItemButton as c, ListItemText as m, MenuItem as d, Tab as v, Tabs as f, TextField as g, Typography as h } from "@mui/material";
|
|
13
|
+
import { messageKey as b } from "@sheetxl/utils";
|
|
14
|
+
var S = ["Ok", "Cancel"], O = [
|
|
15
|
+
"sum",
|
|
16
|
+
"count",
|
|
17
|
+
"average",
|
|
18
|
+
"max",
|
|
19
|
+
"min",
|
|
20
|
+
"product",
|
|
21
|
+
"countNums",
|
|
22
|
+
"stdDev",
|
|
23
|
+
"stdDevp",
|
|
24
|
+
"var",
|
|
25
|
+
"varp"
|
|
26
|
+
], V = {
|
|
27
|
+
sum: b("pivot.function.sum"),
|
|
28
|
+
count: b("pivot.function.count"),
|
|
29
|
+
average: b("pivot.function.average"),
|
|
30
|
+
max: b("pivot.function.max"),
|
|
31
|
+
min: b("pivot.function.min"),
|
|
32
|
+
product: b("pivot.function.product"),
|
|
33
|
+
countNums: b("pivot.function.countNums"),
|
|
34
|
+
stdDev: b("pivot.function.stdDev"),
|
|
35
|
+
stdDevp: b("pivot.function.stdDevp"),
|
|
36
|
+
var: b("pivot.function.var"),
|
|
37
|
+
varp: b("pivot.function.varp")
|
|
38
|
+
}, k = [
|
|
39
|
+
"normal",
|
|
40
|
+
"percentOfTotal",
|
|
41
|
+
"percentOfCol",
|
|
42
|
+
"percentOfRow",
|
|
43
|
+
"percent",
|
|
44
|
+
"percentOfParentRow",
|
|
45
|
+
"percentOfParentCol",
|
|
46
|
+
"percentOfParent",
|
|
47
|
+
"difference",
|
|
48
|
+
"percentDiff",
|
|
49
|
+
"runTotal",
|
|
50
|
+
"percentOfRunningTotal",
|
|
51
|
+
"rankAscending",
|
|
52
|
+
"rankDescending",
|
|
53
|
+
"index"
|
|
54
|
+
], x = {
|
|
55
|
+
normal: b("pivotValueSettings.kind.normal"),
|
|
56
|
+
percentOfTotal: b("pivotValueSettings.kind.percentOfTotal"),
|
|
57
|
+
percentOfCol: b("pivotValueSettings.kind.percentOfCol"),
|
|
58
|
+
percentOfRow: b("pivotValueSettings.kind.percentOfRow"),
|
|
59
|
+
percent: b("pivotValueSettings.kind.percent"),
|
|
60
|
+
percentOfParentRow: b("pivotValueSettings.kind.percentOfParentRow"),
|
|
61
|
+
percentOfParentCol: b("pivotValueSettings.kind.percentOfParentCol"),
|
|
62
|
+
percentOfParent: b("pivotValueSettings.kind.percentOfParent"),
|
|
63
|
+
difference: b("pivotValueSettings.kind.difference"),
|
|
64
|
+
percentDiff: b("pivotValueSettings.kind.percentDiff"),
|
|
65
|
+
runTotal: b("pivotValueSettings.kind.runTotal"),
|
|
66
|
+
percentOfRunningTotal: b("pivotValueSettings.kind.percentOfRunningTotal"),
|
|
67
|
+
rankAscending: b("pivotValueSettings.kind.rankAscending"),
|
|
68
|
+
rankDescending: b("pivotValueSettings.kind.rankDescending"),
|
|
69
|
+
index: b("pivotValueSettings.kind.index")
|
|
70
|
+
}, F = /* @__PURE__ */ new Set([
|
|
71
|
+
"percent",
|
|
72
|
+
"percentOfParent",
|
|
73
|
+
"difference",
|
|
74
|
+
"percentDiff",
|
|
75
|
+
"runTotal",
|
|
76
|
+
"percentOfRunningTotal",
|
|
77
|
+
"rankAscending",
|
|
78
|
+
"rankDescending"
|
|
79
|
+
]), w = /* @__PURE__ */ new Set([
|
|
80
|
+
"percent",
|
|
81
|
+
"difference",
|
|
82
|
+
"percentDiff"
|
|
83
|
+
]), N = "(previous)", D = i((i) => {
|
|
84
|
+
const { initialValue: b, onOption: D, onValidateOption: C, onInput: A, onDone: T, options: P = S, defaultOption: R = P?.[0], cancelOption: I = "Cancel", sx: y, ...z } = i, j = n(), H = b.value, B = a(() => ({
|
|
85
|
+
name: H.getName(),
|
|
86
|
+
fn: H.getFunction(),
|
|
87
|
+
showAs: H.getShowAs(),
|
|
88
|
+
numberFormat: H.getNumberFormat()
|
|
89
|
+
}), [H]), M = a(() => H.getPivotTable().getFields(), [H]), [W, q] = o("function"), [E, G] = o(B.name), [J, K] = o(!1), [L, Q] = o(B.fn), [U, X] = o(B.showAs?.kind ?? "normal"), [Y, Z] = o(B.showAs?.baseField ?? M[0]?.getName() ?? ""), [$, _] = o(B.showAs?.baseItem ?? N), [ee, te] = o(B.numberFormat), [ne, ie] = o(!1), ae = a(() => {
|
|
90
|
+
const e = M.find((e) => e.getName() === Y);
|
|
91
|
+
return e ? e.getItems().map((e) => e.getName()) : [];
|
|
92
|
+
}, [M, Y]), oe = (e) => {
|
|
93
|
+
Q(e), J || G(H.getCaptionFor(e));
|
|
94
|
+
}, le = () => {
|
|
95
|
+
const e = "normal" === U ? null : {
|
|
96
|
+
kind: U,
|
|
97
|
+
...F.has(U) ? { baseField: Y } : {},
|
|
98
|
+
...w.has(U) ? { baseItem: $ } : {}
|
|
99
|
+
}, t = E.trim();
|
|
100
|
+
return {
|
|
101
|
+
...L !== B.fn ? { function: L } : {},
|
|
102
|
+
...(n = e, i = B.showAs, (n?.kind ?? null) !== (i?.kind ?? null) || n?.baseField !== i?.baseField || n?.baseItem !== i?.baseItem ? { showAs: e } : {}),
|
|
103
|
+
...ne && ee !== B.numberFormat ? { numberFormat: ee } : {},
|
|
104
|
+
...J && t && t !== H.getCaptionFor(L) ? { name: t } : {}
|
|
105
|
+
};
|
|
106
|
+
var n, i;
|
|
107
|
+
}, re = t(async (e) => {
|
|
108
|
+
const t = e === I;
|
|
109
|
+
t || A?.({
|
|
110
|
+
value: H,
|
|
111
|
+
changes: le()
|
|
112
|
+
}, e), D?.(e, t, e === R), T?.();
|
|
113
|
+
}, [
|
|
114
|
+
A,
|
|
115
|
+
T,
|
|
116
|
+
D,
|
|
117
|
+
I,
|
|
118
|
+
R,
|
|
119
|
+
H,
|
|
120
|
+
L,
|
|
121
|
+
U,
|
|
122
|
+
Y,
|
|
123
|
+
$,
|
|
124
|
+
ee,
|
|
125
|
+
ne,
|
|
126
|
+
E,
|
|
127
|
+
J
|
|
128
|
+
]);
|
|
129
|
+
return r(l, {
|
|
130
|
+
title: j("pivotValueSettings.title"),
|
|
131
|
+
options: P,
|
|
132
|
+
onDone: T,
|
|
133
|
+
onOption: (e) => re(e),
|
|
134
|
+
onValidateOption: C,
|
|
135
|
+
defaultOption: R,
|
|
136
|
+
cancelOption: I,
|
|
137
|
+
autoFocusSel: ".autoFocus input",
|
|
138
|
+
sx: {
|
|
139
|
+
width: "440px",
|
|
140
|
+
...y
|
|
141
|
+
},
|
|
142
|
+
...z,
|
|
143
|
+
children: s(u, {
|
|
144
|
+
sx: {
|
|
145
|
+
display: "flex",
|
|
146
|
+
flexDirection: "column",
|
|
147
|
+
gap: (e) => e.spacing(1.5)
|
|
148
|
+
},
|
|
149
|
+
children: [
|
|
150
|
+
r(h, {
|
|
151
|
+
variant: "body2",
|
|
152
|
+
className: "pivot-source-name",
|
|
153
|
+
children: j("pivotValueSettings.sourceName", { name: H.getField().getName() })
|
|
154
|
+
}),
|
|
155
|
+
r(g, {
|
|
156
|
+
className: "autoFocus",
|
|
157
|
+
size: "small",
|
|
158
|
+
label: j("pivotValueSettings.customName"),
|
|
159
|
+
value: E,
|
|
160
|
+
onChange: (e) => {
|
|
161
|
+
G(e.target.value), K(!0);
|
|
162
|
+
}
|
|
163
|
+
}),
|
|
164
|
+
s(f, {
|
|
165
|
+
value: W,
|
|
166
|
+
onChange: (e, t) => q(t),
|
|
167
|
+
sx: {
|
|
168
|
+
minHeight: "36px",
|
|
169
|
+
borderBottom: 1,
|
|
170
|
+
borderColor: "divider",
|
|
171
|
+
"& .MuiTab-root": {
|
|
172
|
+
minHeight: "36px",
|
|
173
|
+
textTransform: "none",
|
|
174
|
+
pt: .5,
|
|
175
|
+
pb: .5,
|
|
176
|
+
px: 1.5,
|
|
177
|
+
minWidth: 0
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
children: [
|
|
181
|
+
r(v, {
|
|
182
|
+
value: "function",
|
|
183
|
+
label: j("pivotValueSettings.tabFunction")
|
|
184
|
+
}),
|
|
185
|
+
r(v, {
|
|
186
|
+
value: "showAs",
|
|
187
|
+
label: j("pivotValueSettings.tabShowAs")
|
|
188
|
+
}),
|
|
189
|
+
r(v, {
|
|
190
|
+
value: "numberFormat",
|
|
191
|
+
label: j("pivotValueSettings.tabNumberFormat")
|
|
192
|
+
})
|
|
193
|
+
]
|
|
194
|
+
}),
|
|
195
|
+
s(u, {
|
|
196
|
+
sx: {
|
|
197
|
+
height: "300px",
|
|
198
|
+
overflow: "auto"
|
|
199
|
+
},
|
|
200
|
+
children: [
|
|
201
|
+
"function" === W ? r(p, {
|
|
202
|
+
dense: !0,
|
|
203
|
+
disablePadding: !0,
|
|
204
|
+
role: "listbox",
|
|
205
|
+
"aria-label": j("pivotValueSettings.tabFunction"),
|
|
206
|
+
className: "pivot-functions",
|
|
207
|
+
children: O.map((e) => r(c, {
|
|
208
|
+
role: "option",
|
|
209
|
+
"aria-selected": e === L,
|
|
210
|
+
selected: e === L,
|
|
211
|
+
onClick: () => oe(e),
|
|
212
|
+
onDoubleClick: () => {
|
|
213
|
+
oe(e), re(R);
|
|
214
|
+
},
|
|
215
|
+
children: r(m, { primary: j(V[e]) })
|
|
216
|
+
}, e))
|
|
217
|
+
}) : null,
|
|
218
|
+
"showAs" === W ? s(u, {
|
|
219
|
+
sx: {
|
|
220
|
+
display: "flex",
|
|
221
|
+
flexDirection: "column",
|
|
222
|
+
gap: (e) => e.spacing(2),
|
|
223
|
+
pt: 1
|
|
224
|
+
},
|
|
225
|
+
children: [
|
|
226
|
+
r(g, {
|
|
227
|
+
select: !0,
|
|
228
|
+
size: "small",
|
|
229
|
+
className: "pivot-show-as",
|
|
230
|
+
label: j("pivotValueSettings.showAs"),
|
|
231
|
+
value: U,
|
|
232
|
+
onChange: (e) => X(e.target.value),
|
|
233
|
+
children: k.map((e) => r(d, {
|
|
234
|
+
value: e,
|
|
235
|
+
children: j(x[e])
|
|
236
|
+
}, e))
|
|
237
|
+
}),
|
|
238
|
+
r(g, {
|
|
239
|
+
select: !0,
|
|
240
|
+
size: "small",
|
|
241
|
+
className: "pivot-base-field",
|
|
242
|
+
label: j("pivotValueSettings.baseField"),
|
|
243
|
+
value: Y,
|
|
244
|
+
disabled: !F.has(U),
|
|
245
|
+
onChange: (e) => {
|
|
246
|
+
Z(e.target.value), _(N);
|
|
247
|
+
},
|
|
248
|
+
children: M.map((e) => r(d, {
|
|
249
|
+
value: e.getName(),
|
|
250
|
+
children: e.getName()
|
|
251
|
+
}, e.getName()))
|
|
252
|
+
}),
|
|
253
|
+
s(g, {
|
|
254
|
+
select: !0,
|
|
255
|
+
size: "small",
|
|
256
|
+
className: "pivot-base-item",
|
|
257
|
+
label: j("pivotValueSettings.baseItem"),
|
|
258
|
+
value: $,
|
|
259
|
+
disabled: !w.has(U),
|
|
260
|
+
onChange: (e) => _(e.target.value),
|
|
261
|
+
children: [
|
|
262
|
+
r(d, {
|
|
263
|
+
value: N,
|
|
264
|
+
children: j("pivotValueSettings.previous")
|
|
265
|
+
}),
|
|
266
|
+
r(d, {
|
|
267
|
+
value: "(next)",
|
|
268
|
+
children: j("pivotValueSettings.next")
|
|
269
|
+
}),
|
|
270
|
+
ae.map((e) => r(d, {
|
|
271
|
+
value: e,
|
|
272
|
+
children: e
|
|
273
|
+
}, e))
|
|
274
|
+
]
|
|
275
|
+
})
|
|
276
|
+
]
|
|
277
|
+
}) : null,
|
|
278
|
+
"numberFormat" === W ? r(e, {
|
|
279
|
+
value: ee,
|
|
280
|
+
onChange: (e) => {
|
|
281
|
+
te(e), ie(!0);
|
|
282
|
+
},
|
|
283
|
+
onCommit: () => {
|
|
284
|
+
re(R);
|
|
285
|
+
}
|
|
286
|
+
}) : null
|
|
287
|
+
]
|
|
288
|
+
})
|
|
289
|
+
]
|
|
290
|
+
})
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
D.displayName = "PivotValueSettingsDialog";
|
|
294
|
+
export { D as PivotValueSettingsDialog, D as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { PresetChip as a, c as e, i as t, n as i, r as l } from "./index.mjs";
|
|
8
|
-
import { n as o, t as n } from "./
|
|
8
|
+
import { n as o, t as n } from "./CyKOmz26TaZSFxmi.mjs";
|
|
9
9
|
import { ICondition as r, IDataValidation as d } from "@sheetxl/sdk";
|
|
10
10
|
import { useModelSync as s } from "@sheetxl/react";
|
|
11
11
|
import { DynamicIcon as p, useTranslator as m } from "@sheetxl/utils-react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { FormulaField as e, InputField as t } from "./index.mjs";
|
|
8
8
|
import { useReferenceMode as a } from "@sheetxl/react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { AutoColorPosition as e, BorderPopupButton as o, ColorPopupButton as l, FormulaField as t, PresetChip as n, _ as a, a as r, b as i, c as d, d as s, f as c, g as p, h as u, i as m, m as g, n as h, p as y, r as x, u as C, v as f, x as v, y as b } from "./index.mjs";
|
|
8
|
-
import { n as S, t as F } from "./
|
|
8
|
+
import { n as S, t as F } from "./CyKOmz26TaZSFxmi.mjs";
|
|
9
9
|
import { Color as T, CommonUtils as k, ICellStyle as w, ICondition as P, IConditionalFormat as I, IFill as N, IFont as M } from "@sheetxl/sdk";
|
|
10
10
|
import { COLOR_SCALE_PRESETS as B, DATA_BAR_PRESETS as O, ICON_CATALOG as z, IconSetGlyphs as A, NO_CELL_ICON as R, STYLE_PRESETS as D, defaultColorScale as j, defaultDataBar as W, defaultIconSet as $, defaultIconStops as K, getConditionalIconSet as E, iconSetSize as U, resolveIconSetIcons as L, useModelSync as _, withIconOverride as G } from "@sheetxl/react";
|
|
11
11
|
import { DynamicIcon as V, useTranslator as H } from "@sheetxl/utils-react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { IRange as e } from "@sheetxl/sdk";
|
|
8
8
|
import { KeyCodes as t, useCallbackRef as i, useTranslator as n } from "@sheetxl/utils-react";
|