@sheetxl/studio-mui 0.8.0-beta.15 → 0.8.0-beta.17

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 (120) hide show
  1. package/LICENSE.md +17 -7
  2. package/browser/esm/{DJVpra0HoPH-4P7P.mjs → 0FLmtunmoRFjO-dk.mjs} +3 -3
  3. package/browser/esm/{6SL2j-85OXrKJNZ5.mjs → B2LvYLt27hzoarA9.mjs} +1807 -1200
  4. package/browser/esm/{D90Bb0GPEwqYkf6R.mjs → BBGsto_-YGhTouc9.mjs} +804 -713
  5. package/browser/esm/{BR51amBhaaHPBhpd.mjs → BEIcp6BzAg3H6JBB.mjs} +3 -3
  6. package/browser/esm/{EFtp_C3sBnP3Nrns.mjs → BFN88LECqMerqLYN.mjs} +7 -7
  7. package/browser/esm/{ghfcAaGu2CuZGdhi.mjs → BGNhe08mdWf8dIuk.mjs} +34 -33
  8. package/browser/esm/BNfIFd07bhGqs-U9.mjs +235 -0
  9. package/browser/esm/{CcJHwg-rLMcCymSD.mjs → BTb_Djaoxz3G27t-.mjs} +6 -6
  10. package/browser/esm/{Cl_OUigCV04_zrRy.mjs → BXhWCOPioL48V_9k.mjs} +2 -2
  11. package/browser/esm/{DsM-NpB32hloRRR8.mjs → Bh1YkrKuSZs-xdlw.mjs} +3 -3
  12. package/browser/esm/{CV-q-xCHVuNFhqEF.mjs → BkABsPS9qbyYS2i7.mjs} +2 -2
  13. package/browser/esm/{Buzx8_zQYPX4DR7v.mjs → BnLdmQ91UIGs0zyR.mjs} +2 -2
  14. package/browser/esm/BnMZSJdWZzdK-AXs.mjs +119 -0
  15. package/browser/esm/BoXCzcrUFER3B585.mjs +225 -0
  16. package/browser/esm/{BNas8wZuvrN45dRi.mjs → BxHaU8-LCw4IHrDn.mjs} +2 -2
  17. package/browser/esm/C2ZbV5cXpGPYeqM1.mjs +106 -0
  18. package/browser/esm/C8kveDS4xm6D2Aaq.mjs +294 -0
  19. package/browser/esm/{OHvsc940xI-m_8cc.mjs → CHm8-sLarqD1--If.mjs} +2 -2
  20. package/browser/esm/{DOWfcHx0MO0J50de.mjs → CMIM0wPs_KvfwLEl.mjs} +92 -87
  21. package/browser/esm/{DY_EGsyx-zNiJS_0.mjs → CP-c6sUINCv0Nf4P.mjs} +5 -5
  22. package/browser/esm/{BCDAnHFMvOd9XS8K.mjs → CaI0Mfu6ECDIzCpr.mjs} +3 -3
  23. package/browser/esm/{Bvq5aZyp5E79JB-s.mjs → Cb3HSSD7snyRPNh8.mjs} +2 -2
  24. package/browser/esm/{BsAoK_t2sn8IHtAO.mjs → Cf855AHLcB7WuFr3.mjs} +3 -3
  25. package/browser/esm/{Bqba-3J9i8HsmusR.mjs → ChORBNItvZW0e8Nb.mjs} +2 -2
  26. package/browser/esm/{DfI4-5XM6AbILSti.mjs → CmMD76_yBG4xmsEr.mjs} +4 -4
  27. package/browser/esm/{idh3Y0jksygPSI3A.mjs → CuysyoZ-rmDHwaJJ.mjs} +2 -2
  28. package/browser/esm/{DMDi2lOps0veJKsM.mjs → Cvbms6f8QMP1ubyI.mjs} +3 -3
  29. package/browser/esm/{DKkKac2vbeui2lDy.mjs → CvzzESAZRMWQ4cGq.mjs} +6 -6
  30. package/browser/esm/{DFAphWcDUw-gVtAl.mjs → D078ssKRI39FdHNq.mjs} +3 -3
  31. package/browser/esm/{BvpzsprI7cmVLuQn.mjs → D1_8p15KJ7DSZEis.mjs} +3 -3
  32. package/browser/esm/{Dz20q7S5vmDWlO0p.mjs → D2Kz08pq5zPz2n3y.mjs} +2 -2
  33. package/browser/esm/{BojGnpAWoIm5yCd8.mjs → D4FRExfK7RsdS08S.mjs} +2 -2
  34. package/browser/esm/{CJWnWqGPw17cp9P3.mjs → D9ija-5d57x-qUQv.mjs} +2 -2
  35. package/browser/esm/{DAYPqhHN3aQ2StjU.mjs → DGkQsCJP29nZteu8.mjs} +14 -14
  36. package/browser/esm/{DR9y7k4jB7stGPaZ.mjs → DK39s_Fn9M22RfJm.mjs} +3 -3
  37. package/browser/esm/{CutWdrVA-c3x8IkL.mjs → DL0r5MrPx8CkL_r_.mjs} +5 -4
  38. package/browser/esm/{IlX2PgLxvyTQu4Fh.mjs → DQjJFUPHg_aU2BDi.mjs} +5 -5
  39. package/browser/esm/{OmA1ClZ36ZMFrZe7.mjs → DcUtMgA17fh_UJlQ.mjs} +2 -2
  40. package/browser/esm/{BfPTOOKhwUojRTef.mjs → Dd6iR6EeV81idc-J.mjs} +13 -9
  41. package/browser/esm/{DLe9DT0DSurLSgiQ.mjs → Dd8j9U2Vlvrue2LA.mjs} +2 -2
  42. package/browser/esm/{BkxJY_YjMAEvhmuy.mjs → DmBu6kgMNT26tmsZ.mjs} +4 -4
  43. package/browser/esm/{DpAlQza0e5h3GGHC.mjs → DrtEkQTJM7oPvC9v.mjs} +3 -3
  44. package/browser/esm/DwiKIdqmaBk2pTBp.mjs +973 -0
  45. package/browser/esm/{C67SLDHwhVlVIMo0.mjs → Dx0ymWD1uI_Q63eZ.mjs} +3 -3
  46. package/browser/esm/{Ci74yk0whfoAP1TL.mjs → DxFw-07oIjr7GRb3.mjs} +2 -2
  47. package/browser/esm/{BH4eDAxZdwheO7d_.mjs → GqSAEzE_2tOJlvNG.mjs} +3 -3
  48. package/browser/esm/{By1IJOkvZJSlXs5f.mjs → JqMZ95e5lhq09vm6.mjs} +3 -3
  49. package/browser/esm/{DzATG8XMcG6mmYbx.mjs → LaC0D0C9yJ8y_l6X.mjs} +9 -9
  50. package/browser/esm/{BYnzaHXySiV-sc6w.mjs → NQzIcNkm0QxNuzx9.mjs} +2 -2
  51. package/browser/esm/{DYDnkmllpYTwfWir.mjs → W5Rvml-3G4XekwoR.mjs} +4 -4
  52. package/browser/esm/_PlChb18jQMPAKJX.mjs +360 -0
  53. package/browser/esm/{BWdpv2xf6GCyd4Te.mjs → cNsbq0TIia7SdBHP.mjs} +5 -5
  54. package/browser/esm/{Cbkg5y4fYjLylYHF.mjs → fSCwNKAcSc0mr2Ec.mjs} +2 -2
  55. package/browser/esm/g_bvg4HpyaF6f_JY.mjs +424 -0
  56. package/browser/esm/index.mjs +278 -277
  57. package/browser/esm/{C8tci3dfo5lzeoK-.mjs → mP32LfcEodsaGDPi.mjs} +6 -6
  58. package/browser/esm/{BvbN9V67wFhTfq1-.mjs → sjJ2Yb_cf_KL--Cl.mjs} +3 -3
  59. package/licenses/dependencies.txt +33 -33
  60. package/node/esm/{DybPyX8U-EqXKarV.mjs → 5Kkr-d9gc7GsfmI5.mjs} +2 -2
  61. package/node/esm/B6YmbuWU-fHrjOnB.mjs +106 -0
  62. package/node/esm/{DwA7rfXJgzoNvjax.mjs → BGWb71anMM4S4UTg.mjs} +8 -8
  63. package/node/esm/{C4eVfVm_Omyt6NbE.mjs → BINV_bzMi8YLqzor.mjs} +12 -12
  64. package/node/esm/{DGtbmp72kfRXLtDu.mjs → BWl0RjNZfoJvRX_2.mjs} +81 -80
  65. package/node/esm/{-Adgw5-ltK-rfp33.mjs → BiVdQ27eA1Rs9liu.mjs} +2 -2
  66. package/node/esm/{CkW8xNdW45Xg7jy7.mjs → Bp6WSG8tmXefxSlk.mjs} +3 -3
  67. package/node/esm/BrHbeFtSmaPq19cu.mjs +224 -0
  68. package/node/esm/BySbwlaepgugcINA.mjs +972 -0
  69. package/node/esm/{q2Byx8RdDnHk8YyG.mjs → BzLnWJ1JhLnookTH.mjs} +2 -2
  70. package/node/esm/{Bg3Yu66oJr6mNvAR.mjs → C-Y0ELSBNT5h6V0l.mjs} +3 -3
  71. package/node/esm/{TgwnKYh-WPxEgmyr.mjs → CA2iwgwOkAwRJU9j.mjs} +2 -2
  72. package/node/esm/{CzKFdVrPSDYOUdWI.mjs → CCy_wcDWd9xbQnyM.mjs} +2 -2
  73. package/node/esm/{D9Ga7FFJDOO3Dpfu.mjs → CD-S0_rfDY5u82_A.mjs} +2 -2
  74. package/node/esm/{Cx4tBEsm3SjAafcw.mjs → CQd5k9d0BWpU8yCQ.mjs} +2 -2
  75. package/node/esm/{BZK6UksX7r-GgRms.mjs → Cb0TicO5Utg9e5Qy.mjs} +2 -2
  76. package/node/esm/{DOuASwH2Lf83hMLe.mjs → ClwmPxZc7Uh4nRcr.mjs} +2 -2
  77. package/node/esm/{dUUbrmGMCILl8EOr.mjs → CyxhIZwqwx_Kt70P.mjs} +2 -2
  78. package/node/esm/D1XvISMVj1HimOTS.mjs +425 -0
  79. package/node/esm/{B26ot2vO6Hd47uH0.mjs → D2ZUCui3Xosjj66H.mjs} +2 -2
  80. package/node/esm/{BaFRVcYZjcLoMQtk.mjs → D71TbUFABfTixyiQ.mjs} +7 -7
  81. package/node/esm/{ISBEql8s7AnELTpd.mjs → D7__y1LhVOR38yxz.mjs} +2 -2
  82. package/node/esm/{Ca31PUiJBGowHeob.mjs → D9jTg0iWTubkisDB.mjs} +3 -3
  83. package/node/esm/{5etzEfk-28CCELyT.mjs → DHiJ5D_q7YVsClMf.mjs} +3 -3
  84. package/node/esm/{BxIyViNSP0STSrfA.mjs → DJuEU0TbZXyTnThP.mjs} +3 -3
  85. package/node/esm/{D_JpopAVQopM26cb.mjs → DMfK0wa8UHeJyxii.mjs} +603 -514
  86. package/node/esm/{CFi_Yls-gurU_CX3.mjs → DN2KKVrC1ye0mldi.mjs} +2 -2
  87. package/node/esm/{HlNuwtpYoOARa894.mjs → DYRV7b1ZSbxrjcuA.mjs} +2 -2
  88. package/node/esm/Dm-skjfQUaumyQPp.mjs +118 -0
  89. package/node/esm/{jGsHbOHP90nnx_hJ.mjs → DvN4Z2Hx4Es0sdaK.mjs} +16 -15
  90. package/node/esm/{CORxK68HpwPUYA6O.mjs → Jp--thwzf0FSnHTH.mjs} +2 -2
  91. package/node/esm/{BKCNFVrdc_gTnOoS.mjs → a69xG_vSg2OC9_22.mjs} +2 -2
  92. package/node/esm/{CX13ASkhdJ0ZSAY4.mjs → akKdwInE4KLNjHQu.mjs} +3 -3
  93. package/node/esm/axzlGUKK8euccdja.mjs +294 -0
  94. package/node/esm/index.mjs +3391 -2778
  95. package/node/esm/{B7vbn_dO_cZnGyGM.mjs → lhMHEjzlz63h_qU0.mjs} +3 -3
  96. package/node/esm/{CexPhV2NPh5ZGHus.mjs → r8bpi-MSpulvmozZ.mjs} +2 -2
  97. package/node/esm/{BFv2GzY6NjmJggAg.mjs → sHdUrEwlYxyLkkL6.mjs} +3 -3
  98. package/package.json +10 -10
  99. package/resources/locales/de/groups.cmd.json +3 -0
  100. package/resources/locales/de/ui.msg.json +41 -0
  101. package/resources/locales/en/groups.cmd.json +3 -0
  102. package/resources/locales/en/ui.msg.json +41 -0
  103. package/types/src/command/PresetPivotStylesCommandButton.d.ts +17 -0
  104. package/types/src/command/index.d.ts +1 -0
  105. package/types/src/dialog/PivotTableNewDialog.d.ts +11 -0
  106. package/types/src/filter/PivotMenu.d.ts +31 -0
  107. package/types/src/filter/index.d.ts +1 -0
  108. package/types/src/pivot/PivotChipMenu.d.ts +10 -0
  109. package/types/src/pivot/PivotPlugin.d.ts +3 -0
  110. package/types/src/pivot/PivotStyleCanvasPreview.d.ts +23 -0
  111. package/types/src/pivot/PivotTableHeader.d.ts +12 -0
  112. package/types/src/pivot/PivotValueSettingsDialog.d.ts +15 -0
  113. package/types/src/pivot/_pivotSource.d.ts +7 -0
  114. package/types/src/table/_drawStyleSwatch.d.ts +25 -0
  115. package/types/src/workbook/DefaultRenderers.d.ts +10 -4
  116. package/browser/esm/C4ir9dn7q0RUoOm_.mjs +0 -319
  117. package/browser/esm/DEUzUShfyJLvgd6_.mjs +0 -1379
  118. package/browser/esm/xe1B8ohea8qfZlFg.mjs +0 -582
  119. package/node/esm/CKtnUYKjsTf7dYKS.mjs +0 -318
  120. package/node/esm/vf5X26EJO7Q1b8Ln.mjs +0 -1379
@@ -1,15 +1,16 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.15
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: MIT
6
6
  */
7
7
  import { ColorPopupButton as e } from "./index.mjs";
8
- import { a, c as t, i as n, o as r, t as l } from "./CKtnUYKjsTf7dYKS.mjs";
9
- import { t as s } from "./C4eVfVm_Omyt6NbE.mjs";
8
+ import { i as a, n as t, o as r, r as n } from "./B6YmbuWU-fHrjOnB.mjs";
9
+ import { t as l } from "./BrHbeFtSmaPq19cu.mjs";
10
+ import { t as s } from "./BINV_bzMi8YLqzor.mjs";
10
11
  import { IFill as i } from "@sheetxl/sdk";
11
12
  import { useGridColorScheme as o } from "@sheetxl/react";
12
- import { useCallbackRef as c, useTranslator as h } from "@sheetxl/utils-react";
13
+ import { useCallbackRef as h, useTranslator as c } from "@sheetxl/utils-react";
13
14
  import { memo as d, useEffect as p, useReducer as u, useState as m } from "react";
14
15
  import { Fragment as g, jsx as b, jsxs as y } from "react/jsx-runtime";
15
16
  import { Box as v, Checkbox as x, FormControl as C, FormControlLabel as S, InputLabel as w, MenuItem as k, Select as B, TextField as f, Typography as L } from "@mui/material";
@@ -18,7 +19,7 @@ var E = (e) => b(L, {
18
19
  component: "div",
19
20
  children: e.children
20
21
  }), T = (e, a) => {
21
- const t = a.getChart(), n = a.getPath(), r = a.getParent(), l = () => r ? T(e, r) : "", s = Number(n.split("/").pop());
22
+ const t = a.getChart(), r = a.getPath(), n = a.getParent(), l = () => n ? T(e, n) : "", s = Number(r.split("/").pop());
22
23
  switch (a.getElementType()) {
23
24
  case "chartArea": return e("chart.pane.element.chartArea");
24
25
  case "title": return e("chart.pane.element.title");
@@ -27,45 +28,45 @@ var E = (e) => b(L, {
27
28
  case "plotArea": return e("chart.pane.element.plotArea");
28
29
  case "dataTable": return e("chart.pane.element.dataTable");
29
30
  case "axis": return ((e, a, t) => {
30
- const [, n, r] = t.split("/"), l = ((e) => /^(bar|3DBar)/.test(e.getChartType()))(a), s = "category" === r ? !l : "value" !== r || l, i = "series" === r ? e("chart.pane.axisKind.series") : ((e) => /^(xyscatter|bubble)/.test(e.getChartType()))(a) || "value" === r ? e("chart.pane.axisKind.value") : e("chart.pane.axisKind.category"), o = e("chart.pane.axis", {
31
+ const [, r, n] = t.split("/"), l = ((e) => /^(bar|3DBar)/.test(e.getChartType()))(a), s = "category" === n ? !l : "value" !== n || l, i = "series" === n ? e("chart.pane.axisKind.series") : ((e) => /^(xyscatter|bubble)/.test(e.getChartType()))(a) || "value" === n ? e("chart.pane.axisKind.value") : e("chart.pane.axisKind.category"), o = e("chart.pane.axis", {
31
32
  side: e(s ? "chart.pane.axisSide.horizontal" : "chart.pane.axisSide.vertical"),
32
33
  kind: i
33
34
  });
34
- return "secondary" === n ? e("chart.pane.secondary", { label: o }) : o;
35
- })(e, t, n);
35
+ return "secondary" === r ? e("chart.pane.secondary", { label: o }) : o;
36
+ })(e, t, r);
36
37
  case "axisTitle": return e("chart.pane.element.axisTitle", { axis: l() });
37
- case "gridlines": return n.endsWith("minorGridlines") ? e("chart.pane.element.minorGridlines", { axis: l() }) : e("chart.pane.element.majorGridlines", { axis: l() });
38
+ case "gridlines": return r.endsWith("minorGridlines") ? e("chart.pane.element.minorGridlines", { axis: l() }) : e("chart.pane.element.majorGridlines", { axis: l() });
38
39
  case "series": return e("chart.pane.element.series", { name: a.getName() ?? "" });
39
40
  case "point": return e("chart.pane.element.point", {
40
41
  series: l(),
41
42
  index: s + 1
42
43
  });
43
44
  case "marker": return e("chart.pane.element.marker", { owner: l() });
44
- case "dataLabels": return "series" === r?.getElementType() ? e("chart.pane.element.dataLabels", { series: l() }) : e("chart.pane.element.allDataLabels");
45
+ case "dataLabels": return "series" === n?.getElementType() ? e("chart.pane.element.dataLabels", { series: l() }) : e("chart.pane.element.allDataLabels");
45
46
  case "dataLabel": return e("chart.pane.element.dataLabel", { point: l() });
46
47
  case "trendline": return e("chart.pane.element.trendline", {
47
48
  series: l(),
48
49
  index: s + 1
49
50
  });
50
51
  case "trendlineLabel": return e("chart.pane.element.trendlineLabel", { trendline: l() });
51
- case "errorBars": return n.endsWith("/x") ? e("chart.pane.element.xErrorBars", { series: l() }) : e("chart.pane.element.yErrorBars", { series: l() });
52
+ case "errorBars": return r.endsWith("/x") ? e("chart.pane.element.xErrorBars", { series: l() }) : e("chart.pane.element.yErrorBars", { series: l() });
52
53
  case "chartGroup": return e("chart.pane.element.group", { index: s + 1 });
53
54
  case "upDownBars": return e("chart.pane.element.upDownBars");
54
55
  case "hiLoLines": return e("chart.pane.element.hiLoLines");
55
56
  case "dropLines": return e("chart.pane.element.dropLines");
56
57
  case "seriesLines": return e("chart.pane.element.seriesLines");
57
- default: return n;
58
+ default: return r;
58
59
  }
59
60
  }, V = (e, a) => {
60
61
  const t = e.getStroke().getFill();
61
62
  return t.getType() === i.Type.Solid ? t.getColor() : a.getNormal().getFont().getColor();
62
63
  }, P = (e) => {
63
- const { style: a, sheet: t, disabled: n, label: r } = e, i = h(), c = t.getStyles(), d = "dark" === o(), p = {
64
+ const { style: a, sheet: t, disabled: r, label: n } = e, i = c(), h = t.getStyles(), d = "dark" === o(), p = {
64
65
  fill: a.getFill(),
65
- styles: c,
66
- schemeLookup: c.schemeLookup(),
66
+ styles: h,
67
+ schemeLookup: h.schemeLookup(),
67
68
  darkMode: d,
68
- disabled: n,
69
+ disabled: r,
69
70
  createCell: (e) => t.createCell(e),
70
71
  applyFill: (e, t) => {
71
72
  a.setFill(e, { description: t });
@@ -73,17 +74,17 @@ var E = (e) => b(L, {
73
74
  }, u = {
74
75
  stroke: a.getStroke(),
75
76
  stated: a.toJSON()?.stroke ?? null,
76
- autoColor: V(a, c),
77
- styles: c,
78
- schemeLookup: c.schemeLookup(),
77
+ autoColor: V(a, h),
78
+ styles: h,
79
+ schemeLookup: h.schemeLookup(),
79
80
  darkMode: d,
80
- disabled: n,
81
+ disabled: r,
81
82
  applyStroke: (e, t) => {
82
83
  a.setStroke(e, { description: t });
83
84
  }
84
85
  };
85
86
  return y(g, { children: [
86
- r ? b(E, { children: r }) : null,
87
+ n ? b(E, { children: n }) : null,
87
88
  b(E, { children: i("shape.pane.fill") }),
88
89
  b(l, { selection: p }),
89
90
  b(E, { children: i("shape.pane.line") }),
@@ -111,7 +112,7 @@ var E = (e) => b(L, {
111
112
  onChange: (a) => e.onChange(a.target.checked)
112
113
  })
113
114
  }), N = (e) => {
114
- const [a, t] = m(null), n = () => {
115
+ const [a, t] = m(null), r = () => {
115
116
  null !== a && a !== e.value && e.onCommit(a), t(null);
116
117
  };
117
118
  return b(f, {
@@ -121,9 +122,9 @@ var E = (e) => b(L, {
121
122
  disabled: e.disabled,
122
123
  value: a ?? e.value,
123
124
  onChange: (e) => t(e.target.value),
124
- onBlur: n,
125
+ onBlur: r,
125
126
  onKeyDown: (e) => {
126
- "Enter" === e.key && n();
127
+ "Enter" === e.key && r();
127
128
  }
128
129
  });
129
130
  }, D = [
@@ -134,21 +135,21 @@ var E = (e) => b(L, {
134
135
  "none",
135
136
  "single",
136
137
  "double"
137
- ], z = (t) => {
138
- const { font: l, styles: s, disabled: i, run: d } = t, p = h(), u = "dark" === o(), m = c(() => s.recentColors(), [s]), v = l.getColor(), x = {
138
+ ], z = (r) => {
139
+ const { font: l, styles: s, disabled: i, run: d } = r, p = c(), u = "dark" === o(), m = h(() => s.recentColors(), [s]), v = l.getColor(), x = {
139
140
  none: p("chart.pane.text.lineNone"),
140
141
  single: p("chart.pane.text.lineSingle"),
141
142
  double: p("chart.pane.text.lineDouble")
142
143
  };
143
144
  return y(g, { children: [
144
145
  b(E, { children: p("chart.pane.text") }),
145
- b(r, { children: b(N, {
146
+ b(a, { children: b(N, {
146
147
  label: p("format.fontFamily"),
147
148
  value: l.getFamily(),
148
149
  disabled: i,
149
150
  onCommit: (e) => d(() => l.setFamily(e || null))
150
151
  }) }),
151
- b(r, { children: y(a, { children: [b(n, {
152
+ b(a, { children: y(n, { children: [b(t, {
152
153
  label: p("format.fontSize"),
153
154
  value: l.getSize(),
154
155
  min: 1,
@@ -173,7 +174,7 @@ var E = (e) => b(L, {
173
174
  recentColors: m
174
175
  }
175
176
  })] }) }),
176
- b(r, { children: y(a, { children: [b(A, {
177
+ b(a, { children: y(n, { children: [b(A, {
177
178
  label: p("chart.pane.text.bold"),
178
179
  checked: l.getBold(),
179
180
  disabled: i,
@@ -184,7 +185,7 @@ var E = (e) => b(L, {
184
185
  disabled: i,
185
186
  onChange: (e) => d(() => l.setItalic(e))
186
187
  })] }) }),
187
- b(r, { children: y(a, { children: [b(F, {
188
+ b(a, { children: y(n, { children: [b(F, {
188
189
  label: p("chart.pane.text.underline"),
189
190
  value: D.includes(l.getUnderline()) ? l.getUnderline() : "single",
190
191
  options: D,
@@ -232,33 +233,33 @@ var E = (e) => b(L, {
232
233
  "both",
233
234
  "plusValues",
234
235
  "minusValues"
235
- ], q = (e) => {
236
- const { element: r, disabled: l, run: s } = e, i = h(), o = (e, a, t) => b(A, {
236
+ ], j = (e) => {
237
+ const { element: a, disabled: l, run: s } = e, i = c(), o = (e, a, t) => b(A, {
237
238
  label: e,
238
239
  checked: a,
239
240
  disabled: l,
240
241
  onChange: (e) => s(() => t(e))
241
- }), c = [], d = () => r;
242
- switch (r.getElementType()) {
242
+ }), h = [], d = () => a;
243
+ switch (a.getElementType()) {
243
244
  case "chartArea": {
244
245
  const e = d();
245
- c.push(o(i("chart.pane.roundedCorners"), e.getRoundedCorners(), (a) => e.setRoundedCorners(a)));
246
+ h.push(o(i("chart.pane.roundedCorners"), e.getRoundedCorners(), (a) => e.setRoundedCorners(a)));
246
247
  break;
247
248
  }
248
249
  case "title":
249
250
  case "axisTitle": {
250
251
  const e = d();
251
- c.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), c.push(b(N, {
252
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(b(N, {
252
253
  label: i("chart.pane.titleText"),
253
254
  value: e.getText() ?? "",
254
255
  disabled: l,
255
256
  onCommit: (a) => s(() => e.setText(a || null))
256
- }, "text")), c.push(o(i("chart.pane.overlay"), e.getOverlay(), (a) => e.setOverlay(a)));
257
+ }, "text")), h.push(o(i("chart.pane.overlay"), e.getOverlay(), (a) => e.setOverlay(a)));
257
258
  break;
258
259
  }
259
260
  case "legend": {
260
261
  const e = d();
261
- c.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), c.push(b(F, {
262
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(b(F, {
262
263
  label: i("chart.pane.position"),
263
264
  value: e.getPosition(),
264
265
  options: K,
@@ -271,13 +272,13 @@ var E = (e) => b(L, {
271
272
  corner: i("chart.pane.side.corner")
272
273
  },
273
274
  onChange: (a) => s(() => e.setPosition(a))
274
- }, "position")), c.push(o(i("chart.pane.overlay"), e.getOverlay(), (a) => e.setOverlay(a)));
275
+ }, "position")), h.push(o(i("chart.pane.overlay"), e.getOverlay(), (a) => e.setOverlay(a)));
275
276
  break;
276
277
  }
277
278
  case "axis": {
278
279
  const e = d();
279
- if (c.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), c.push(o(i("chart.pane.reverse"), e.getReversePlotOrder(), (a) => e.setReversePlotOrder(a))), "value" === e.getKind()) {
280
- const t = (e, a, t) => b(n, {
280
+ if (h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(o(i("chart.pane.reverse"), e.getReversePlotOrder(), (a) => e.setReversePlotOrder(a))), "value" === e.getKind()) {
281
+ const a = (e, a, r) => b(t, {
281
282
  label: e,
282
283
  value: a ?? 0,
283
284
  min: -0x38d7ea4c68000,
@@ -285,9 +286,9 @@ var E = (e) => b(L, {
285
286
  decimals: !0,
286
287
  width: 120,
287
288
  disabled: l,
288
- onChange: (e) => s(() => t(e))
289
+ onChange: (e) => s(() => r(e))
289
290
  }, e);
290
- c.push(y(a, { children: [t(i("chart.pane.minimum"), e.getMinimum(), (a) => e.setMinimum(a)), t(i("chart.pane.maximum"), e.getMaximum(), (a) => e.setMaximum(a))] }, "bounds")), c.push(b(N, {
291
+ h.push(y(n, { children: [a(i("chart.pane.minimum"), e.getMinimum(), (a) => e.setMinimum(a)), a(i("chart.pane.maximum"), e.getMaximum(), (a) => e.setMaximum(a))] }, "bounds")), h.push(b(N, {
291
292
  label: i("chart.pane.numberFormat"),
292
293
  value: e.getNumberFormat() ?? "",
293
294
  disabled: l,
@@ -302,14 +303,14 @@ var E = (e) => b(L, {
302
303
  case "dropLines":
303
304
  case "seriesLines": {
304
305
  const e = d();
305
- c.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a)));
306
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a)));
306
307
  break;
307
308
  }
308
309
  case "series": {
309
310
  const e = d();
310
- c.push(o(i("chart.pane.secondaryAxis"), "secondary" === e.getAxisGroup(), (a) => e.setAxisGroup(a ? "secondary" : "primary")));
311
- const t = e.getGapWidth(), r = e.getOverlap();
312
- null === t && null === r || c.push(y(a, { children: [null !== r ? b(n, {
311
+ h.push(o(i("chart.pane.secondaryAxis"), "secondary" === e.getAxisGroup(), (a) => e.setAxisGroup(a ? "secondary" : "primary")));
312
+ const a = e.getGapWidth(), r = e.getOverlap();
313
+ null === a && null === r || h.push(y(n, { children: [null !== r ? b(t, {
313
314
  label: i("chart.pane.overlap"),
314
315
  value: r,
315
316
  min: -100,
@@ -317,21 +318,21 @@ var E = (e) => b(L, {
317
318
  width: 96,
318
319
  disabled: l,
319
320
  onChange: (a) => s(() => e.setOverlap(a))
320
- }) : null, null !== t ? b(n, {
321
+ }) : null, null !== a ? b(t, {
321
322
  label: i("chart.pane.gapWidth"),
322
- value: t,
323
+ value: a,
323
324
  min: 0,
324
325
  max: 500,
325
326
  width: 96,
326
327
  disabled: l,
327
328
  onChange: (a) => s(() => e.setGapWidth(a))
328
- }) : null] }, "gap")), /^(line|xyscatter)/.test(e.getChartType()) && c.push(o(i("chart.pane.smooth"), e.getSmooth(), (a) => e.setSmooth(a)));
329
+ }) : null] }, "gap")), /^(line|xyscatter)/.test(e.getChartType()) && h.push(o(i("chart.pane.smooth"), e.getSmooth(), (a) => e.setSmooth(a)));
329
330
  break;
330
331
  }
331
332
  case "dataLabels":
332
333
  case "dataLabel": {
333
334
  const e = d();
334
- c.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), c.push(o(i("chart.pane.labels.value"), e.getShowValue(), (a) => e.setShowValue(a))), c.push(o(i("chart.pane.labels.category"), e.getShowCategoryName(), (a) => e.setShowCategoryName(a))), c.push(o(i("chart.pane.labels.series"), e.getShowSeriesName(), (a) => e.setShowSeriesName(a))), c.push(o(i("chart.pane.labels.percentage"), e.getShowPercentage(), (a) => e.setShowPercentage(a))), c.push(o(i("chart.pane.labels.legendKey"), e.getShowLegendKey(), (a) => e.setShowLegendKey(a))), c.push(b(F, {
335
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(o(i("chart.pane.labels.value"), e.getShowValue(), (a) => e.setShowValue(a))), h.push(o(i("chart.pane.labels.category"), e.getShowCategoryName(), (a) => e.setShowCategoryName(a))), h.push(o(i("chart.pane.labels.series"), e.getShowSeriesName(), (a) => e.setShowSeriesName(a))), h.push(o(i("chart.pane.labels.percentage"), e.getShowPercentage(), (a) => e.setShowPercentage(a))), h.push(o(i("chart.pane.labels.legendKey"), e.getShowLegendKey(), (a) => e.setShowLegendKey(a))), h.push(b(F, {
335
336
  label: i("chart.pane.position"),
336
337
  value: e.getPosition(),
337
338
  options: G,
@@ -353,7 +354,7 @@ var E = (e) => b(L, {
353
354
  }
354
355
  case "trendline": {
355
356
  const e = d();
356
- c.push(b(F, {
357
+ h.push(b(F, {
357
358
  label: i("chart.pane.trendline.type"),
358
359
  value: e.getType(),
359
360
  options: R,
@@ -367,7 +368,7 @@ var E = (e) => b(L, {
367
368
  movingAverage: i("chart.pane.trendline.movingAverage")
368
369
  },
369
370
  onChange: (a) => s(() => e.setType(a))
370
- }, "type")), c.push(o(i("chart.pane.trendline.equation"), e.getShowEquation(), (a) => e.setShowEquation(a))), c.push(o(i("chart.pane.trendline.rSquared"), e.getShowRSquared(), (a) => e.setShowRSquared(a))), c.push(y(a, { children: [b(n, {
371
+ }, "type")), h.push(o(i("chart.pane.trendline.equation"), e.getShowEquation(), (a) => e.setShowEquation(a))), h.push(o(i("chart.pane.trendline.rSquared"), e.getShowRSquared(), (a) => e.setShowRSquared(a))), h.push(y(n, { children: [b(t, {
371
372
  label: i("chart.pane.trendline.forward"),
372
373
  value: e.getForwardPeriod(),
373
374
  min: 0,
@@ -376,7 +377,7 @@ var E = (e) => b(L, {
376
377
  width: 96,
377
378
  disabled: l,
378
379
  onChange: (a) => s(() => e.setForwardPeriod(a))
379
- }), b(n, {
380
+ }), b(t, {
380
381
  label: i("chart.pane.trendline.backward"),
381
382
  value: e.getBackwardPeriod(),
382
383
  min: 0,
@@ -390,7 +391,7 @@ var E = (e) => b(L, {
390
391
  }
391
392
  case "errorBars": {
392
393
  const e = d();
393
- c.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), c.push(b(F, {
394
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(b(F, {
394
395
  label: i("chart.pane.errorBars.type"),
395
396
  value: "custom" === e.getType() ? "fixedValue" : e.getType(),
396
397
  options: W,
@@ -404,7 +405,7 @@ var E = (e) => b(L, {
404
405
  onChange: (a) => s(() => e.setType(a))
405
406
  }, "type"));
406
407
  const a = e.getAmount();
407
- null !== a && c.push(b(n, {
408
+ null !== a && h.push(b(t, {
408
409
  label: i("chart.pane.errorBars.amount"),
409
410
  value: a,
410
411
  min: 0,
@@ -413,7 +414,7 @@ var E = (e) => b(L, {
413
414
  width: 120,
414
415
  disabled: l,
415
416
  onChange: (a) => s(() => e.setAmount(a))
416
- }, "amount")), c.push(b(F, {
417
+ }, "amount")), h.push(b(F, {
417
418
  label: i("chart.pane.errorBars.direction"),
418
419
  value: e.getInclude(),
419
420
  options: M,
@@ -424,28 +425,28 @@ var E = (e) => b(L, {
424
425
  minusValues: i("chart.pane.errorBars.minus")
425
426
  },
426
427
  onChange: (a) => s(() => e.setInclude(a))
427
- }, "include")), c.push(o(i("chart.pane.errorBars.cap"), e.getEndStyleCap(), (a) => e.setEndStyleCap(a)));
428
+ }, "include")), h.push(o(i("chart.pane.errorBars.cap"), e.getEndStyleCap(), (a) => e.setEndStyleCap(a)));
428
429
  break;
429
430
  }
430
431
  case "dataTable": {
431
432
  const e = d();
432
- c.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), c.push(o(i("chart.pane.labels.legendKey"), e.getShowLegendKey(), (a) => e.setShowLegendKey(a))), c.push(o(i("chart.pane.table.horizontal"), e.getShowHorizontalBorder(), (a) => e.setShowHorizontalBorder(a))), c.push(o(i("chart.pane.table.vertical"), e.getShowVerticalBorder(), (a) => e.setShowVerticalBorder(a))), c.push(o(i("chart.pane.table.outline"), e.getShowOutlineBorder(), (a) => e.setShowOutlineBorder(a)));
433
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(o(i("chart.pane.labels.legendKey"), e.getShowLegendKey(), (a) => e.setShowLegendKey(a))), h.push(o(i("chart.pane.table.horizontal"), e.getShowHorizontalBorder(), (a) => e.setShowHorizontalBorder(a))), h.push(o(i("chart.pane.table.vertical"), e.getShowVerticalBorder(), (a) => e.setShowVerticalBorder(a))), h.push(o(i("chart.pane.table.outline"), e.getShowOutlineBorder(), (a) => e.setShowOutlineBorder(a)));
433
434
  break;
434
435
  }
435
436
  }
436
- return 0 === c.length ? null : y(g, { children: [b(E, { children: i("chart.pane.options") }), b(v, {
437
+ return 0 === h.length ? null : y(g, { children: [b(E, { children: i("chart.pane.options") }), b(v, {
437
438
  sx: {
438
- ...t,
439
+ ...r,
439
440
  gap: 1
440
441
  },
441
- children: c.map((e, a) => b(v, { children: e }, a))
442
+ children: h.map((e, a) => b(v, { children: e }, a))
442
443
  })] });
443
- }, j = d((e) => {
444
- const { movable: a, sheet: n } = e, r = h(), l = a.getContent(), [, s] = u((e) => e + 1, 0);
444
+ }, q = d((e) => {
445
+ const { movable: a, sheet: t } = e, n = c(), l = a.getContent(), [, s] = u((e) => e + 1, 0);
445
446
  p(() => l.addListeners({ onAnyChange: s }), [l]);
446
- const i = n.getView().getChartElementSelection();
447
+ const i = t.getView().getChartElementSelection();
447
448
  p(() => i.addListeners({ onChange: s }), [i]);
448
- const [o, d] = m("chartArea"), [x, S] = m(null), f = (i.getChart() === l ? i.getActive() : null) ?? l.getElement(o) ?? l.getChartArea(), E = l.getElements(), V = E.includes(f) ? E : [...E, f], F = l.isReadOnly(), A = c((e) => {
449
+ const [o, d] = m("chartArea"), [x, S] = m(null), f = (i.getChart() === l ? i.getActive() : null) ?? l.getElement(o) ?? l.getChartArea(), E = l.getElements(), V = E.includes(f) ? E : [...E, f], F = l.isReadOnly(), A = h((e) => {
449
450
  try {
450
451
  e(), S(null);
451
452
  } catch (e) {
@@ -454,7 +455,7 @@ var E = (e) => b(L, {
454
455
  }, []), N = f.getStyle?.(), D = N?.isITextBoxStyle ? N.getFont() : null, O = "legendEntry" === f.getElementType() ? null : N, K = "upDownBars" === f.getElementType() ? f : null;
455
456
  return y(v, {
456
457
  sx: {
457
- ...t,
458
+ ...r,
458
459
  gap: 2,
459
460
  paddingTop: (e) => e.spacing(1)
460
461
  },
@@ -462,8 +463,8 @@ var E = (e) => b(L, {
462
463
  y(C, {
463
464
  size: "small",
464
465
  fullWidth: !0,
465
- children: [b(w, { children: r("chart.pane.element") }), b(B, {
466
- label: r("chart.pane.element"),
466
+ children: [b(w, { children: n("chart.pane.element") }), b(B, {
467
+ label: n("chart.pane.element"),
467
468
  value: f.getPath(),
468
469
  onChange: (e) => ((e) => {
469
470
  d(e), S(null);
@@ -472,7 +473,7 @@ var E = (e) => b(L, {
472
473
  })(e.target.value),
473
474
  children: V.map((e) => b(k, {
474
475
  value: e.getPath(),
475
- children: T(r, e)
476
+ children: T(n, e)
476
477
  }, e.getPath()))
477
478
  })]
478
479
  }),
@@ -481,35 +482,35 @@ var E = (e) => b(L, {
481
482
  color: "error",
482
483
  children: x
483
484
  }) : null,
484
- b(q, {
485
+ b(j, {
485
486
  element: f,
486
487
  disabled: F,
487
488
  run: A
488
489
  }, `options:${f.getPath()}`),
489
490
  D ? b(z, {
490
491
  font: D,
491
- styles: n.getStyles(),
492
+ styles: t.getStyles(),
492
493
  disabled: F,
493
494
  run: A
494
495
  }, `text:${f.getPath()}`) : null,
495
496
  O ? b(P, {
496
497
  style: O,
497
- sheet: n,
498
+ sheet: t,
498
499
  disabled: F
499
500
  }, `style:${f.getPath()}`) : null,
500
501
  K ? y(g, { children: [b(P, {
501
502
  style: K.getUpBarsStyle(),
502
- sheet: n,
503
+ sheet: t,
503
504
  disabled: F,
504
- label: r("chart.pane.upBars")
505
+ label: n("chart.pane.upBars")
505
506
  }, "up"), b(P, {
506
507
  style: K.getDownBarsStyle(),
507
- sheet: n,
508
+ sheet: t,
508
509
  disabled: F,
509
- label: r("chart.pane.downBars")
510
+ label: n("chart.pane.downBars")
510
511
  }, "down")] }) : null
511
512
  ]
512
513
  });
513
514
  });
514
- j.displayName = "ChartFormatPanel";
515
- export { j as ChartFormatPanel };
515
+ q.displayName = "ChartFormatPanel";
516
+ export { q as ChartFormatPanel };
@@ -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.15
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: MIT
6
6
  */
7
7
  import { InsertFunctionOption as e, InsertFunctionWizard as t, optionsForPage as o } from "./index.mjs";
8
8
  import { useReferenceMode as i, useWorkbook as n } 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.15
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: MIT
6
6
  */
7
- import { n as e, r as t, t as r } from "./BZK6UksX7r-GgRms.mjs";
7
+ import { n as e, r as t, t as r } from "./Cb0TicO5Utg9e5Qy.mjs";
8
8
  import { IRange as o, ISort as n, Sort as i } from "@sheetxl/sdk";
9
9
  import { DynamicIcon as l, useCallbackRef as s, useTranslator as a } from "@sheetxl/utils-react";
10
10
  import { memo as d, useMemo as c, useRef as p, useState as h } from "react";