@sheetxl/studio-mui 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/browser/esm/{ePpKy03kKJVlSVTe.mjs → 6wAcMpoIZS1ffzqR.mjs} +3 -3
  2. package/browser/esm/{BPvVycga6_ukFjmo.mjs → AVMBYVWPe170RO8d.mjs} +20 -20
  3. package/browser/esm/{DThDfv3f2iMSjT53.mjs → B2k09pbNHOie-ZPU.mjs} +5 -5
  4. package/browser/esm/B5hj7BR72rs3Xx2-.mjs +40 -0
  5. package/browser/esm/{CPaacOpodhMft_HZ.mjs → BK0H9A2QjD4YqPxq.mjs} +2 -2
  6. package/browser/esm/{zvoxJTExywdfgNRc.mjs → BMtR4PaoNnEhVh2U.mjs} +243 -245
  7. package/browser/esm/{DOKtLrUbVlvQxv4H.mjs → BVQX7HEZNPIvf0Bg.mjs} +1 -1
  8. package/browser/esm/BZWyHJnsP5yHfByl.mjs +461 -0
  9. package/browser/esm/{B6-hMCdKZvyVLr0H.mjs → BaYDGaXi_5fNEPo1.mjs} +1 -1
  10. package/browser/esm/{7yj4dvdTrP3TJcG2.mjs → BgOevzKxdIm3FqSz.mjs} +4 -4
  11. package/browser/esm/{B-BP7YC6OqOv5MV4.mjs → BgvcXlX-fe99mlfa.mjs} +1 -1
  12. package/browser/esm/{DKVZo-UN8IISuX4Y.mjs → BmJRmCarQ2Y_DhcS.mjs} +6 -6
  13. package/browser/esm/{bBvScRhjFIhLO-BQ.mjs → BnIfAdE8Qnu8RF3t.mjs} +1 -1
  14. package/browser/esm/{BRtyp4rO-zBQUZou.mjs → Bu4IunF89gqzLc6A.mjs} +2 -2
  15. package/browser/esm/{BTvmDvFq0AmcpyAD.mjs → BvvD5BVF5uSL-2Ow.mjs} +2 -2
  16. package/browser/esm/{VtQjtk60kuTE6s0Z.mjs → Bzr0CzpORAOD9X-l.mjs} +1 -1
  17. package/browser/esm/{Bqz9mx_1Lg0aSHGm.mjs → C-lKdgOAbn4Ycu7e.mjs} +2 -2
  18. package/browser/esm/{DryZ4M6NKZEfr7g_.mjs → C211u9yUXa4149g9.mjs} +1 -1
  19. package/browser/esm/{C8Lqnn-28XkX0Nka.mjs → C7RPgX_8hKN1Umxm.mjs} +2 -2
  20. package/browser/esm/{BncHnyZbePCwr9Eo.mjs → C9cBnewCaYFf2JV6.mjs} +21 -22
  21. package/browser/esm/{R0acIC-n-z00Zc8M.mjs → CA42_0vpQwF292tA.mjs} +1 -1
  22. package/browser/esm/{hSCeagPj7N_7GznP.mjs → CAbY1N8X3Iryy2XC.mjs} +4 -4
  23. package/browser/esm/{C7HaLVp6sci5ODXI.mjs → CD6iCHysAki3ui3u.mjs} +4 -4
  24. package/browser/esm/{CvbBPZFXJWgWy-WO.mjs → CFUur1yDoVOJMuo5.mjs} +1 -1
  25. package/browser/esm/{BK1rW101-KwC1O3y.mjs → CHb2gapathcPfhdM.mjs} +5 -5
  26. package/browser/esm/{C_-UmBzcMFoDo0fX.mjs → CIZh3NmE8QG5ZkiA.mjs} +2 -2
  27. package/browser/esm/{iK7GQTGlybnAwDFn.mjs → CImvd-NxbJGZOozE.mjs} +1 -1
  28. package/browser/esm/{Dbg4a76nvHk2YiQX.mjs → CO-AxUDR6qjjgpyK.mjs} +2 -2
  29. package/browser/esm/CQ1ArTuEvBmc7W5I.mjs +695 -0
  30. package/browser/esm/{BztoCStIl9cOlMP2.mjs → CVNzlTdizLlhU05M.mjs} +2 -2
  31. package/browser/esm/{DBsWN0XGhfhzjKYP.mjs → CXwkm9x8MkCxPz74.mjs} +1 -1
  32. package/browser/esm/{CfVmUxioa6e4pJgE.mjs → CZIV7UuyM5VGNrJT.mjs} +4 -4
  33. package/browser/esm/{C0EVQMZCECx8ZtfT.mjs → CdK1lF_PdSw6YfAo.mjs} +1 -1
  34. package/browser/esm/{Cg0gGXUOW_fkgnny.mjs → CpgoYQ3P-S7njA7p.mjs} +2 -2
  35. package/browser/esm/{CUVpARqLbIk1YJpR.mjs → CqEyDFDlQ75w1c41.mjs} +2 -2
  36. package/browser/esm/{D6uC2TMlHyJaRxfz.mjs → CqIX3rp_vI2S2KbN.mjs} +2 -2
  37. package/browser/esm/{CeVY5B3Jxs6uNbw_.mjs → Csmz2j1S5pk-J0B3.mjs} +2 -2
  38. package/browser/esm/{BPyB91W7jUDKOF7m.mjs → CsuFocZfRucugR3q.mjs} +1153 -922
  39. package/browser/esm/{C-J4c4cA_UafY5j-.mjs → Cw6wZyiZkwn9DPZn.mjs} +193 -105
  40. package/browser/esm/{CD1F2JZ9VNb4fMFB.mjs → D91G6sYfKgwC24dQ.mjs} +1 -1
  41. package/browser/esm/{D834tBZr2uiui3Yl.mjs → DF_ssRdRHuBueJgX.mjs} +89 -102
  42. package/browser/esm/{BwcKRrn0FbEQXA_w.mjs → DJaMl_5NGyq62zwW.mjs} +1 -1
  43. package/browser/esm/DLixDE7fzzurotzQ.mjs +826 -0
  44. package/browser/esm/{GfW7QFtTUyK1yS0P.mjs → DM86XhEF4qmUnjuK.mjs} +4 -4
  45. package/browser/esm/{RRwtR6zhJEHrCP8n.mjs → DNXDqUO4_S_N8sSC.mjs} +2 -2
  46. package/browser/esm/{CIdbrUCRQ3XRp27_.mjs → DfrMUwmPoZFEFJFk.mjs} +1 -1
  47. package/browser/esm/{Rx8jKs1hNt5rF1o6.mjs → Dn3ur1I_S9SlR8vu.mjs} +1 -1
  48. package/browser/esm/{BZJa6r9ArcmluwF7.mjs → IUt6EgxYCpZe9iCH.mjs} +2 -2
  49. package/browser/esm/{BxdEhMqG0AJfgYo_.mjs → JNoXh3IYri5h1W3Y.mjs} +1 -1
  50. package/browser/esm/{CdWTSkoOn2S7LbgA.mjs → LZ2X5C1kjiwUCDGz.mjs} +2 -2
  51. package/browser/esm/{CzKOC7ykGeweE8YO.mjs → MSkt-6o2ZLEiAbDl.mjs} +1 -1
  52. package/browser/esm/{BJdjpkMLIVz2dfey.mjs → bQOt-2VGBciMnvp_.mjs} +3 -3
  53. package/browser/esm/{Dl3HN6jGh1DIosIz.mjs → drMcpHj_xCQ0KxuA.mjs} +4 -4
  54. package/browser/esm/{CKN_49irWz3yBOic.mjs → g-ScvvLFu66BzoGI.mjs} +2 -2
  55. package/browser/esm/index.mjs +299 -299
  56. package/browser/esm/{BablQ60b_Sr7yt0c.mjs → j6NYTR7qK3Ra-ctk.mjs} +2 -2
  57. package/browser/esm/qSdXw8S3Pv-_PPNl.mjs +210 -0
  58. package/browser/esm/{-JkustapYpJLIlTC.mjs → r8gxfS-mY5qhTMtJ.mjs} +2 -2
  59. package/browser/esm/{L2h5hAhioUPka05m.mjs → ro5VSIHWH1Nehr75.mjs} +1 -1
  60. package/browser/esm/tfUleloRF2hBRjjZ.mjs +996 -0
  61. package/browser/esm/vTlYAw0bvWP8B4jg.mjs +103 -0
  62. package/browser/esm/{AXga1X4C6fqsi-pa.mjs → vzJavAz2onbnB0zm.mjs} +1183 -1204
  63. package/browser/esm/{vTrvnXbLCCRg1M_Z.mjs → xaG6CESboBdgd5SL.mjs} +3 -3
  64. package/browser/esm/{CVI6kZdcPa6NJ2QN.mjs → ze358yTiZmVH9_vX.mjs} +6 -4
  65. package/node/esm/5WNL9ztJdLI0VLJ7.mjs +997 -0
  66. package/node/esm/{BE8tFJNzJd21ET8u.mjs → 8aFKkKyEL5n7sJAn.mjs} +12 -12
  67. package/node/esm/{D9h-5-KAL05_Ky2c.mjs → 9Yzu2QTWzvPBNvc4.mjs} +1 -1
  68. package/node/esm/{BKNq-LKfmWLM8xN8.mjs → BDGax8JuzpXDLe1U.mjs} +1 -1
  69. package/node/esm/{Dfq_WQN4R9_EI6mT.mjs → BMuPM5U4Q2kQVYTt.mjs} +251 -253
  70. package/node/esm/B_XE-SYyFRwWgVyQ.mjs +2070 -0
  71. package/node/esm/{Dn886fw8cN-Js_4o.mjs → Bap-XMVZ0X80-MNV.mjs} +2 -2
  72. package/node/esm/{BxiLu3gZqvEwm0MC.mjs → BghhH54dXAqciBpw.mjs} +2 -2
  73. package/node/esm/{5w-_-2HcuZN2IilY.mjs → Bgsi1G5RDBa4Rnmh.mjs} +1 -1
  74. package/node/esm/{CZZkkEXKtF-XmMg_.mjs → Bj6wKB1N--BJ0A7u.mjs} +1 -1
  75. package/node/esm/{4333CfN0xFlZJlzT.mjs → Bp6DyaGr7Ah4mCbj.mjs} +2 -2
  76. package/node/esm/BxIw0JqQD7Ibk44S.mjs +103 -0
  77. package/node/esm/{DiZJjw3IrOJhpe5p.mjs → C6J3DXYnvgXi5m4u.mjs} +1 -1
  78. package/node/esm/{D8Nhs3gz4-jRbvJR.mjs → CAXzH3lCFKI5mhsY.mjs} +2 -2
  79. package/node/esm/CBpG1x4pS6pNfRR1.mjs +461 -0
  80. package/node/esm/{C7-xjC8Lj2O146i0.mjs → CDx7cgKCqLflEubV.mjs} +1 -1
  81. package/node/esm/{wMu6qavkExEvCP9w.mjs → CFL1BiUsTE9X1-c8.mjs} +24 -24
  82. package/node/esm/{BFSKvA0b7rgbSW6P.mjs → CHBfOuyPAMiTojvS.mjs} +97 -110
  83. package/node/esm/{DzDcGqDCrlXyZGFT.mjs → CJIgRvLMiUJG79DB.mjs} +1 -1
  84. package/node/esm/{OIr4GV8spsS0lHX8.mjs → CcbjmWOlODDY8gGF.mjs} +1 -1
  85. package/node/esm/CdrSmZ9WDzkEGAXL.mjs +695 -0
  86. package/node/esm/{DxONr2LD1x7bwMGg.mjs → Ck0jN6hnefC5Hbsk.mjs} +22 -22
  87. package/node/esm/{B8w-DV7qSRfQye14.mjs → CkGQNbOwGQPWEcUf.mjs} +2 -2
  88. package/node/esm/{CUDMxAfvU8oooK2c.mjs → D283LXrMqi3exI_l.mjs} +1 -1
  89. package/node/esm/DH0tw27cVxmy7-AI.mjs +40 -0
  90. package/node/esm/{Calh2yf8E7k7eyxM.mjs → DJ4lhPXDGigmgQ-y.mjs} +2 -2
  91. package/node/esm/{Rl3tQd58HLEsY11C.mjs → DUZYSELfaHMSnDU2.mjs} +1 -1
  92. package/node/esm/{CsCU9lo125xnF_Ca.mjs → DZYzjxDF58TKD0xV.mjs} +2 -2
  93. package/node/esm/{Bz5j26qH_sdjuoGi.mjs → Debl1EJrMSlRwGcN.mjs} +2 -2
  94. package/node/esm/{DlFptlPZHQuBgG50.mjs → Dga-nEOi0B5TjgH6.mjs} +148 -148
  95. package/node/esm/{DLvtpSUsavFrtiw5.mjs → Diszdr1X5yDuuIzT.mjs} +1 -1
  96. package/node/esm/{D6KPG_DnQJRP4iGb.mjs → Dms4poPA6WOC4jyK.mjs} +1 -1
  97. package/node/esm/{B-CirwhCWSk3r-uN.mjs → DnjxhVMqfBhfsNHj.mjs} +14 -14
  98. package/node/esm/{Bj1JsBoPHXCz4fFP.mjs → DsoWGkhZNfvhmpK-.mjs} +2 -2
  99. package/node/esm/DyKgKDqbquskgXEA.mjs +828 -0
  100. package/node/esm/{XEQfvW0ujUY6vUoF.mjs → DzZb-LzjScchWCpk.mjs} +66 -67
  101. package/node/esm/{CEblCNurnWlc2SK0.mjs → MvXs13X1leYt7rBb.mjs} +2 -2
  102. package/node/esm/{D0ouF5sfJzhQUuQg.mjs → SBp59gHxCkFpvNwi.mjs} +1 -1
  103. package/node/esm/{B2ba9oxCLDj7q9Fz.mjs → iJrkLXWLGxVhCmtE.mjs} +1 -1
  104. package/node/esm/index.mjs +3294 -3031
  105. package/node/esm/{5cll_oe5x8KteiZX.mjs → l0liY9jxGCFXsxNX.mjs} +1 -1
  106. package/node/esm/{BzEIi_Iy_4PrcaE_.mjs → mhPcr4NaFejGRG5p.mjs} +1 -1
  107. package/node/esm/{CwfKrba55FGBz2Jb.mjs → vfgV7wwOvzh9iYjc.mjs} +1 -1
  108. package/package.json +9 -9
  109. package/resources/locales/de/groups.cmd.json +4 -6
  110. package/resources/locales/de/ui.msg.json +164 -3
  111. package/resources/locales/en/groups.cmd.json +4 -6
  112. package/resources/locales/en/ui.msg.json +164 -3
  113. package/types/src/anomalies/AnomaliesCommands.d.ts +1 -1
  114. package/types/src/chart/ChartDetailsPanel.d.ts +34 -0
  115. package/types/src/chart/ChartDetailsTaskPane.d.ts +9 -0
  116. package/types/src/chart/ChartFormatPanel.d.ts +12 -14
  117. package/types/src/chart/command/ChartColorsCommandButton.d.ts +54 -0
  118. package/types/src/chart/command/ChartStyleCommandButton.d.ts +64 -0
  119. package/types/src/chart/command/InsertChartCommandButton.d.ts +15 -0
  120. package/types/src/chart/command/index.d.ts +2 -0
  121. package/types/src/chart/format/ChartElementFormat.d.ts +54 -0
  122. package/types/src/chart/pane/ChartPaneModel.d.ts +134 -0
  123. package/types/src/chart/pane/ChartPaneRow.d.ts +77 -0
  124. package/types/src/color/ColorSetSwatch.d.ts +34 -0
  125. package/types/src/color/index.d.ts +1 -0
  126. package/types/src/command/NumberFormatQuickButtons.d.ts +1 -1
  127. package/types/src/format/FillPanel.d.ts +1 -3
  128. package/types/src/format/FormatPanelParts.d.ts +2 -2
  129. package/types/src/format/FormatPlugin.d.ts +2 -2
  130. package/types/src/format/FormatTaskPane.d.ts +4 -10
  131. package/types/src/format/LinePanel.d.ts +0 -2
  132. package/types/src/format/editor/FormatEditor.d.ts +36 -0
  133. package/types/src/format/editor/FormatField.d.ts +97 -0
  134. package/types/src/format/editor/FormatFields.d.ts +20 -0
  135. package/types/src/format/editor/index.d.ts +4 -0
  136. package/types/src/format/index.d.ts +1 -0
  137. package/types/src/format/useFormatSelection.d.ts +0 -2
  138. package/types/src/index.d.ts +1 -1
  139. package/types/src/shape/ShapeFormatPanel.d.ts +3 -7
  140. package/types/src/workbook/DefaultRenderers.d.ts +7 -1
  141. package/browser/esm/7afcXNPsXUui-iRB.mjs +0 -517
  142. package/browser/esm/CeElTSJMZukT5ODA.mjs +0 -516
  143. package/browser/esm/DJ0FThW4hRGIvy2O.mjs +0 -72
  144. package/node/esm/BGlQ9Ae_1Kf9chO-.mjs +0 -1831
  145. package/node/esm/CTibYRwgtHRsGojh.mjs +0 -519
  146. package/node/esm/D2GNY72eMSKe5Gt7.mjs +0 -516
  147. package/node/esm/DrpnqRfDHbua0oN6.mjs +0 -73
  148. package/types/src/studio/StudioSplitPane.d.ts +0 -60
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
@@ -0,0 +1,461 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: MIT
6
+ */
7
+ import { IFill as e } from "@sheetxl/sdk";
8
+ import { PresetChartType as t, presetChartTypeDescriptor as n } from "@sheetxl/react";
9
+ var r = (e) => !0 === e.isList, i = (e) => /^(xyscatter|bubble)/.test(e.getChartType()), a = (e, t) => {
10
+ let n = t.getChart(), r = t.getPath(), o = t.getParent(), s = () => o ? a(e, o) : "", c = Number(r.split("/").pop());
11
+ switch (t.getElementType()) {
12
+ case "chartArea": return e("chart.pane.element.chartArea");
13
+ case "title": return e("chart.pane.element.title");
14
+ case "legend": return e("chart.pane.element.legend");
15
+ case "legendEntry": return e("chart.pane.element.legendEntry", { index: c + 1 });
16
+ case "plotArea": return e("chart.pane.element.plotArea");
17
+ case "dataTable": return e("chart.pane.element.dataTable");
18
+ case "axis": return ((e, t, n) => {
19
+ let [, r, a] = n.split("/"), o = ((e) => /^(bar|3DBar)/.test(e.getChartType()))(t), s = a === "category" ? !o : a !== "value" || o, c = a === "series" ? e("chart.pane.axisKind.series") : i(t) || a === "value" ? e("chart.pane.axisKind.value") : e("chart.pane.axisKind.category"), l = e("chart.pane.axis", {
20
+ side: e(s ? "chart.pane.axisSide.horizontal" : "chart.pane.axisSide.vertical"),
21
+ kind: c
22
+ });
23
+ return r === "secondary" ? e("chart.pane.secondary", { label: l }) : l;
24
+ })(e, n, r);
25
+ case "axisTitle": return e("chart.pane.element.axisTitle", { axis: s() });
26
+ case "gridlines": return r.endsWith("minorGridlines") ? e("chart.pane.element.minorGridlines", { axis: s() }) : e("chart.pane.element.majorGridlines", { axis: s() });
27
+ case "series": return e("chart.pane.element.series", { name: t.getName() ?? e("chart.pane.seriesDefault", { index: n.getSeries().indexOf(t) + 1 }) });
28
+ case "point": return e("chart.pane.element.point", {
29
+ series: s(),
30
+ index: c + 1
31
+ });
32
+ case "marker": return e("chart.pane.element.marker", { owner: s() });
33
+ case "dataLabels": return o?.getElementType() === "series" ? e("chart.pane.element.dataLabels", { series: s() }) : e("chart.pane.element.allDataLabels");
34
+ case "dataLabel": return e("chart.pane.element.dataLabel", { point: s() });
35
+ case "trendline": return e("chart.pane.element.trendline", {
36
+ series: s(),
37
+ index: c + 1
38
+ });
39
+ case "trendlineLabel": return e("chart.pane.element.trendlineLabel", { trendline: s() });
40
+ case "errorBars": return r.endsWith("/x") ? e("chart.pane.element.xErrorBars", { series: s() }) : e("chart.pane.element.yErrorBars", { series: s() });
41
+ case "chartGroup": return e("chart.pane.element.group", { index: c + 1 });
42
+ case "upDownBars": return e("chart.pane.element.upDownBars");
43
+ case "hiLoLines": return e("chart.pane.element.hiLoLines");
44
+ case "dropLines": return e("chart.pane.element.dropLines");
45
+ case "seriesLines": return e("chart.pane.element.seriesLines");
46
+ default: return r;
47
+ }
48
+ }, o = [
49
+ ["category", "primary"],
50
+ ["value", "primary"],
51
+ ["series", "primary"],
52
+ ["category", "secondary"],
53
+ ["value", "secondary"]
54
+ ], s = [
55
+ t.Column,
56
+ t.ColumnStacked,
57
+ t.ColumnStackedPercent,
58
+ t.Line,
59
+ t.LineStacked,
60
+ t.LineStackedPercent,
61
+ t.LineMarkers,
62
+ t.LineStackedMarkers,
63
+ t.LineStackedPercentMarkers,
64
+ t.Pie,
65
+ t.PieDoughnut,
66
+ t.Bar,
67
+ t.BarStacked,
68
+ t.BarStackedPercent,
69
+ t.Area,
70
+ t.AreaStacked,
71
+ t.AreaStackedPercent,
72
+ t.ScatterMarkers,
73
+ t.ScatterLinesMarkersSmooth,
74
+ t.ScatterLinesMarkers,
75
+ t.ScatterLinesSmooth,
76
+ t.ScatterLines
77
+ ].map(n), c = (t) => t.getType() === e.Type.Solid ? t.getColor().toCSS() : null, l = (e) => e.trim().replace(/^=/, ""), u = /^(column|bar|line|area|xyscatter|bubble)/, d = (e, t, n) => {
78
+ let r = (e, t, n, r, i) => ({
79
+ type: "flag",
80
+ key: e,
81
+ label: t,
82
+ get: n,
83
+ set: r,
84
+ ...i
85
+ }), d = (e, n, r, i) => ({
86
+ id: e.getPath(),
87
+ kind: n,
88
+ label: r,
89
+ name: a(t, e),
90
+ element: e,
91
+ leaf: !0,
92
+ fields: () => [],
93
+ children: () => [],
94
+ ...i
95
+ }), f = (e, t, n) => d(e, "toggle", t, {
96
+ toggle: {
97
+ get: () => e.getVisible(),
98
+ set: (t) => {
99
+ e.setVisible(t);
100
+ }
101
+ },
102
+ ...n
103
+ }), p = (e, n) => ({
104
+ id: e.getPath(),
105
+ kind: "toggle",
106
+ label: n,
107
+ name: a(t, e),
108
+ element: e,
109
+ toggle: {
110
+ get: () => e.getVisible(),
111
+ set: (t) => {
112
+ e.setVisible(t);
113
+ }
114
+ },
115
+ fields: () => [{
116
+ type: "text",
117
+ key: "text",
118
+ label: t("chart.pane.titleText"),
119
+ get: () => e.getText() ?? "",
120
+ set: (t) => {
121
+ e.setText(t || null);
122
+ }
123
+ }],
124
+ children: () => []
125
+ }), m = (n) => ({
126
+ id: n.getPath(),
127
+ kind: n.getAxisGroup() === "secondary" ? "derived" : "toggle",
128
+ label: a(t, n),
129
+ name: a(t, n),
130
+ element: n,
131
+ toggle: {
132
+ get: () => n.getVisible(),
133
+ set: (e) => {
134
+ n.setVisible(e);
135
+ }
136
+ },
137
+ fields: () => {
138
+ if (n.getKind() === "value" || n.getKind() === "series" || i(e)) return [];
139
+ let r = n.getAxisGroup();
140
+ return [{
141
+ type: "formula",
142
+ key: "categories",
143
+ label: t("chart.pane.categories"),
144
+ get: () => e.getSeries().find((e) => e.getAxisGroup() === r)?.getCategoriesFormula() ?? "",
145
+ set: (e) => {
146
+ n.setCategoryNames(l(e));
147
+ }
148
+ }];
149
+ },
150
+ children: () => [
151
+ d(n, "toggle", t("chart.pane.row.labels"), {
152
+ id: `${n.getPath()}:labels`,
153
+ tab: "labels",
154
+ toggle: {
155
+ get: () => n.getTickLabelPosition() !== "none",
156
+ set: (e) => {
157
+ n.setTickLabelPosition(e ? "nextToAxis" : "none");
158
+ }
159
+ }
160
+ }),
161
+ p(n.getTitle(), t("chart.pane.row.title")),
162
+ f(n.getMajorGridlines(), t("chart.pane.row.majorGridlines")),
163
+ f(n.getMinorGridlines(), t("chart.pane.row.minorGridlines"))
164
+ ]
165
+ }), h = (n) => n.getName() ?? t("chart.pane.seriesDefault", { index: e.getSeries().indexOf(n) + 1 }), g = (e) => /^(line|xyscatter|radar)/.test(e) && e !== "radarFilled", _ = (e) => d(e, "toggle", t("chart.pane.row.marker"), { toggle: {
166
+ get: () => e.getSymbol() !== "none",
167
+ set: (t) => {
168
+ e.setSymbol(t ? "automatic" : "none");
169
+ }
170
+ } }), v = /^(column|bar|line|pie|doughnut|xyscatter|bubble|radar|waterfall)|OfPie$/, y = (e) => {
171
+ let r = e.getPoints(), i = () => {
172
+ let n = [];
173
+ return r.forEach((r, i) => {
174
+ n.push(((e, n, r) => {
175
+ let i = n.getIndex(), o = e.getChartType();
176
+ return {
177
+ id: n.getPath(),
178
+ kind: "item",
179
+ label: r === null ? t("chart.pane.row.point", { index: i + 1 }) : t("chart.pane.row.pointValue", {
180
+ index: i + 1,
181
+ value: r
182
+ }),
183
+ name: a(t, n),
184
+ element: n,
185
+ remove: () => {
186
+ n.clear();
187
+ },
188
+ fields: () => [],
189
+ children: () => {
190
+ if (/^waterfall/.test(o)) return [];
191
+ let e = [];
192
+ g(o) && e.push(_(n.getMarker()));
193
+ let r = n.getDataLabel();
194
+ return e.push(d(r, "toggle", t("chart.pane.row.dataLabel"), { toggle: {
195
+ get: () => n.getHasDataLabel(),
196
+ set: (e) => {
197
+ n.setHasDataLabel(e);
198
+ }
199
+ } })), e;
200
+ },
201
+ leaf: /^waterfall/.test(o)
202
+ };
203
+ })(e, i.getPoint(), r));
204
+ }, {
205
+ overridesOnly: !0,
206
+ reuseContext: !0
207
+ }), n;
208
+ };
209
+ return v.test(e.getChartType()) || i().length !== 0 ? {
210
+ id: `${e.getPath()}/points`,
211
+ label: t("chart.pane.row.points"),
212
+ add: r.getCount() > 0 ? () => {
213
+ let e = r.add();
214
+ return n?.select(e), e.getPath();
215
+ } : void 0,
216
+ addLabel: t("chart.pane.addCustomPoint"),
217
+ items: i,
218
+ isList: !0
219
+ } : null;
220
+ }, b = (e) => {
221
+ let n = e.getPath();
222
+ return {
223
+ id: n,
224
+ kind: "item",
225
+ label: h(e),
226
+ name: a(t, e),
227
+ element: e,
228
+ remove: () => {
229
+ e.delete();
230
+ },
231
+ order: {
232
+ get: () => e.getPlotOrder(),
233
+ set: (t) => {
234
+ e.setPlotOrder(t);
235
+ }
236
+ },
237
+ swatch: () => ((e) => {
238
+ let t = e.getStyle(), n = c(t.getStroke().getFill()), r = c(t.getFill());
239
+ return /^(line|xyscatter|radar)/.test(e.getChartType()) ? n ?? r : r ?? n;
240
+ })(e),
241
+ type: {
242
+ get: () => e.getChartType(),
243
+ set: (t) => {
244
+ e.setChartType(t);
245
+ },
246
+ options: () => ((e) => {
247
+ let n = s.map((e) => ({
248
+ type: e.type,
249
+ label: t(e.description)
250
+ })), r = e.getChartType();
251
+ return n.some((e) => e.type === r) || n.unshift({
252
+ type: r,
253
+ label: r
254
+ }), n;
255
+ })(e)
256
+ },
257
+ fields: () => {
258
+ let n = e.getChartType(), i = /^(xyscatter|bubble)/.test(n), a = [{
259
+ type: "formula",
260
+ key: "name",
261
+ label: t("chart.pane.seriesName"),
262
+ literal: !0,
263
+ get: () => {
264
+ let t = e.getNameFormula();
265
+ return t ? `=${t}` : e.getName() ?? "";
266
+ },
267
+ set: (t) => {
268
+ e.setName(t.trim() || null);
269
+ }
270
+ }, {
271
+ type: "formula",
272
+ key: "values",
273
+ label: t(i ? "chart.pane.seriesYValues" : "chart.pane.seriesValues"),
274
+ get: () => e.getValuesFormula() ?? "",
275
+ set: (t) => {
276
+ e.setValues(l(t));
277
+ }
278
+ }];
279
+ return i && a.push({
280
+ type: "formula",
281
+ key: "xValues",
282
+ label: t("chart.pane.seriesXValues"),
283
+ get: () => e.getCategoriesFormula() ?? "",
284
+ set: (t) => {
285
+ e.setXAxisValues(l(t) || null);
286
+ }
287
+ }), /^bubble/.test(n) && a.push({
288
+ type: "formula",
289
+ key: "sizes",
290
+ label: t("chart.pane.seriesSizes"),
291
+ get: () => e.getBubbleSizesFormula() ?? "",
292
+ set: (t) => {
293
+ e.setBubbleSizes(l(t));
294
+ }
295
+ }), a.push(r("secondaryAxis", t("chart.pane.secondaryAxis"), () => e.getAxisGroup() === "secondary", (t) => {
296
+ e.setAxisGroup(t ? "secondary" : "primary");
297
+ })), a;
298
+ },
299
+ children: () => {
300
+ let r = e.getChartType(), i = [];
301
+ g(r) && i.push(_(e.getMarker())), i.push(f(e.getDataLabels(), t("chart.pane.row.dataLabels")));
302
+ let o = u.test(r), s = e.getXErrorBars();
303
+ (/^(xyscatter|bubble)/.test(r) || s.getVisible()) && i.push(f(s, t("chart.pane.row.xErrorBars")));
304
+ let c = e.getYErrorBars();
305
+ (o || c.getVisible()) && i.push(f(c, t("chart.pane.row.yErrorBars")));
306
+ let l = /^(line|stock)/.test(r), p = (n, r) => {
307
+ (r || n.getVisible()) && i.push(((e, n) => f(n, a(t, n), {
308
+ id: `${e.getPath()}:${n.getPath()}`,
309
+ kind: "derived"
310
+ }))(e, n));
311
+ };
312
+ p(e.getUpDownBars(), l), p(e.getHiLoLines(), l), p(e.getDropLines(), l || /^area/.test(r)), p(e.getSeriesLines(), /^(column|bar)Stacked/.test(r) || /OfPie$/.test(r));
313
+ let m = y(e);
314
+ m && i.push(m);
315
+ let h = e.getTrendlines();
316
+ return (o && !/Stacked/.test(r) || h.length > 0) && i.push({
317
+ id: `${n}/trendlines`,
318
+ label: t("chart.pane.row.trendlines"),
319
+ add: () => {
320
+ e.addChartTrendline();
321
+ },
322
+ addLabel: t("chart.pane.addTrendline"),
323
+ items: () => e.getTrendlines().map((e, n) => d(e, "item", t("chart.pane.row.trendline", { index: n + 1 }), { remove: () => {
324
+ e.delete();
325
+ } })),
326
+ isList: !0
327
+ }), i;
328
+ }
329
+ };
330
+ }, x = e.getTitle(), S = e.getLegend(), C = e.getDataTable(), w = e.getPlotArea(), T = () => ({
331
+ id: "data/cells",
332
+ kind: "always",
333
+ label: t("chart.pane.row.hiddenAndEmpty"),
334
+ name: t("chart.pane.row.hiddenAndEmpty"),
335
+ element: null,
336
+ fields: () => {
337
+ let n = e.getDisplayBlanksAs(), i = ["notPlotted", "zero"];
338
+ return (e.getSeries().some((e) => /^(line|xyscatter|radar)/.test(e.getChartType())) || n === "interplotted") && i.push("interplotted"), [
339
+ {
340
+ type: "choice",
341
+ key: "emptyCells",
342
+ label: t("chart.pane.emptyCells"),
343
+ options: i,
344
+ labels: {
345
+ notPlotted: t("chart.pane.emptyCellsAs.gaps"),
346
+ zero: t("chart.pane.emptyCellsAs.zero"),
347
+ interplotted: t("chart.pane.emptyCellsAs.connect")
348
+ },
349
+ get: () => n,
350
+ set: (t) => {
351
+ e.setDisplayBlanksAs(t);
352
+ }
353
+ },
354
+ r("naAsEmpty", t("chart.pane.naAsEmpty"), () => e.getDisplayNaAsBlank(), (t) => {
355
+ e.setDisplayNaAsBlank(t);
356
+ }),
357
+ r("hiddenCells", t("chart.pane.hiddenCells"), () => !e.getPlotVisibleOnly(), (t) => {
358
+ e.setPlotVisibleOnly(!t);
359
+ })
360
+ ];
361
+ },
362
+ children: () => []
363
+ }), E = e.getAxes();
364
+ return [
365
+ {
366
+ id: "section/data",
367
+ label: t("chart.pane.section.data"),
368
+ items: () => [T()],
369
+ isList: !0
370
+ },
371
+ {
372
+ id: "section/series",
373
+ label: t("chart.pane.section.series"),
374
+ add: () => e.addSeries().getPath(),
375
+ addLabel: t("chart.pane.addSeries"),
376
+ items: () => e.getSeries().map(b),
377
+ isList: !0
378
+ },
379
+ {
380
+ id: "section/axes",
381
+ label: t("chart.pane.section.axes"),
382
+ empty: t("chart.pane.noAxes"),
383
+ items: () => o.map(([e, t]) => E.getChartAxis(e, t)).filter((e) => e !== null).map(m),
384
+ isList: !0
385
+ },
386
+ {
387
+ id: "section/elements",
388
+ label: t("chart.pane.section.elements"),
389
+ items: () => [
390
+ p(x, t("chart.pane.row.title")),
391
+ f(S, a(t, S)),
392
+ f(C, a(t, C)),
393
+ d(w, "always", a(t, w))
394
+ ],
395
+ isList: !0
396
+ }
397
+ ];
398
+ }, f = Object.values(t).map(n), p = (e, t) => {
399
+ let n = e.getDataRange(), r = e.getChartType(), i = f.find((e) => e.type === r);
400
+ return {
401
+ fields: [{
402
+ type: "text",
403
+ key: "name",
404
+ label: t("chart.pane.chartName"),
405
+ get: () => e.getName?.() ?? "",
406
+ set: (t) => {
407
+ t.trim() && e.setName?.(t.trim());
408
+ }
409
+ }, {
410
+ type: "formula",
411
+ key: "range",
412
+ label: t("chart.pane.dataRange"),
413
+ placeholder: n ? void 0 : t("chart.pane.dataRangeBySeries"),
414
+ get: () => n ? `=${((e, t) => {
415
+ let n = e.getFixed(!0).getAddress(!1);
416
+ return n.includes("!") || !t ? n : `${t.slice(0, t.lastIndexOf("!") + 1)}${n}`;
417
+ })(n, e.getSeries()[0]?.getValuesFormula() ?? null)}` : "",
418
+ set: (t) => {
419
+ e.setData(l(t));
420
+ }
421
+ }],
422
+ seriesBy: {
423
+ get: () => e.getSeriesBy(),
424
+ switchLabel: t("chart.pane.switchRowColumn"),
425
+ disabled: !n,
426
+ switch: () => {
427
+ e.setSeriesBy(e.getSeriesBy() === "rows" ? "columns" : "rows");
428
+ }
429
+ },
430
+ area: e.getChartArea(),
431
+ type: {
432
+ get: () => r,
433
+ label: r === "combo" ? t("chart.pane.chartTypeCombo") : i ? t(i.description) : r,
434
+ set: (t) => {
435
+ t !== r && e.setChartType(t);
436
+ }
437
+ }
438
+ };
439
+ }, m = (e, t) => {
440
+ let n = (e, t) => {
441
+ for (let n of e.items()) {
442
+ let e = i(n, t);
443
+ if (e) return e;
444
+ }
445
+ return null;
446
+ }, i = (e, a) => {
447
+ let o = [...a, e.id];
448
+ if (e.element === t) return o;
449
+ for (let t of e.children()) {
450
+ let e = r(t) ? n(t, o) : i(t, o);
451
+ if (e) return e;
452
+ }
453
+ return null;
454
+ };
455
+ for (let t of e) {
456
+ let e = n(t, []);
457
+ if (e) return e;
458
+ }
459
+ return null;
460
+ };
461
+ export { r as a, m as i, p as n, a as r, d as t };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
6
6
  */
7
- import { i as e } from "./-JkustapYpJLIlTC.mjs";
8
- import { t } from "./DBsWN0XGhfhzjKYP.mjs";
9
- import { n, t as r } from "./Dl3HN6jGh1DIosIz.mjs";
7
+ import { i as e } from "./r8gxfS-mY5qhTMtJ.mjs";
8
+ import { t } from "./CXwkm9x8MkCxPz74.mjs";
9
+ import { n, t as r } from "./drMcpHj_xCQ0KxuA.mjs";
10
10
  import { ICellRange as i } from "@sheetxl/sdk";
11
11
  import { promptUnlockProtectedRanges as a, useModelListener as o, useModelSync as s } from "@sheetxl/react";
12
12
  import { DynamicIcon as c, NotifierType as l, useNotifier as u, useTranslator as d } from "@sheetxl/utils-react";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
6
6
  */
7
- import { t as e } from "./CvbBPZFXJWgWy-WO.mjs";
8
- import { n as t } from "./bBvScRhjFIhLO-BQ.mjs";
9
- import { i as n, n as r, t as i } from "./-JkustapYpJLIlTC.mjs";
10
- import { t as a } from "./CD1F2JZ9VNb4fMFB.mjs";
11
- import { n as o, r as s, t as c } from "./D6uC2TMlHyJaRxfz.mjs";
7
+ import { t as e } from "./CFUur1yDoVOJMuo5.mjs";
8
+ import { n as t } from "./BnIfAdE8Qnu8RF3t.mjs";
9
+ import { i as n, n as r, t as i } from "./r8gxfS-mY5qhTMtJ.mjs";
10
+ import { t as a } from "./D91G6sYfKgwC24dQ.mjs";
11
+ import { n as o, r as s, t as c } from "./CqIX3rp_vI2S2KbN.mjs";
12
12
  import { DynamicIcon as l, NotifierType as u, useNotifier as d, useTranslator as f } from "@sheetxl/utils-react";
13
13
  import { forwardRef as p, memo as m, useCallback as h, useEffect as g, useMemo as _, useReducer as ee, useRef as v, useState as y } from "react";
14
14
  import { SimpleTooltip as te } from "@sheetxl/utils-mui";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
6
6
  */
7
- import { t as e } from "./CvbBPZFXJWgWy-WO.mjs";
7
+ import { t as e } from "./CFUur1yDoVOJMuo5.mjs";
8
8
  import { Color as t, VERSION as n } from "@sheetxl/sdk";
9
9
  import { useGridColorScheme as r } from "@sheetxl/react";
10
10
  import { DynamicIcon as i, ReactUtils as a, RenderSlot as o, useTranslator as s } from "@sheetxl/utils-react";
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
6
6
  */
7
- import { SparklineRangesDialog as e } from "./CKN_49irWz3yBOic.mjs";
7
+ import { SparklineRangesDialog as e } from "./g-ScvvLFu66BzoGI.mjs";
8
8
  import { memo as t } from "react";
9
9
  import { jsx as n } from "react/jsx-runtime";
10
10
  var r = t((t) => n(e, {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
6
6
  */
7
- import { n as e, r as t, t as n } from "./D6uC2TMlHyJaRxfz.mjs";
7
+ import { n as e, r as t, t as n } from "./CqIX3rp_vI2S2KbN.mjs";
8
8
  import { IRange as r, ISort as i, Sort as a } from "@sheetxl/sdk";
9
9
  import { DynamicIcon as o, useCallbackRef as s, useTranslator as c } from "@sheetxl/utils-react";
10
10
  import { memo as l, useMemo as u, useRef as d, useState as f } from "react";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: MIT
6
6
  */
7
- import { n as e } from "./DOKtLrUbVlvQxv4H.mjs";
7
+ import { n as e } from "./BVQX7HEZNPIvf0Bg.mjs";
8
8
  import { ICell as t, ICellRange as n } from "@sheetxl/sdk";
9
9
  import { addRangeAnnotations as r, clearRangeAnnotations as i, useModelListener as a } from "@sheetxl/react";
10
10
  import { DynamicIcon as o, useTranslator as s } from "@sheetxl/utils-react";