@sheetxl/studio-mui 0.7.28-beta.3 → 0.7.28-beta.4

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 (69) hide show
  1. package/browser/cjs/Bte6P3MhSjajJmmY.cjs +7 -0
  2. package/browser/cjs/CYxc8vnRi8dNpDPk.cjs +1 -0
  3. package/browser/cjs/{DBJLJGiCGXesx5n6.cjs → Cm1APq2MraYNNhyI.cjs} +1 -1
  4. package/browser/cjs/{ByIEqNsvj52sihT9.cjs → DO8V31Z1ewgMA1di.cjs} +1 -1
  5. package/browser/cjs/index.cjs +1 -1
  6. package/browser/cjs/z0rB4fK6X1M6PpVD.cjs +11 -0
  7. package/browser/esm/6GrWBX-cyxTRJerw.mjs +236 -0
  8. package/browser/esm/{DqyGltio8npJVndh.mjs → 6seXVm4fUaBp34tP.mjs} +2 -2
  9. package/browser/esm/{CmORsa6FH_sUlG09.mjs → BLjxQ1NUjmULb00s.mjs} +2 -2
  10. package/browser/esm/{DnXdm8bvu4pg43G2.mjs → BVC0iuc28yuEcyua.mjs} +1 -1
  11. package/browser/esm/{CKuKgvw5RwhXSGSf.mjs → C1PiodbCgkhztxU5.mjs} +2 -2
  12. package/browser/esm/{D_YPZjHwcGU0e_CU.mjs → C5XQW-A03GP8EZ3s.mjs} +1 -1
  13. package/browser/esm/{CTaMCLRdYJ1uFxE2.mjs → C7WFuxTBA8MWoOQj.mjs} +2 -2
  14. package/browser/esm/{_1Rr-Es6ahuX7Qhz.mjs → CDyYtk9WscSzj5I5.mjs} +2 -2
  15. package/browser/esm/{CTXaV5uwcruyrMp0.mjs → CVxEcB8lAnOQ-oPh.mjs} +2 -2
  16. package/browser/esm/{gpMEXsQ5UNiXgQmz.mjs → CZGRaL9mjYTo8fAd.mjs} +1 -1
  17. package/browser/esm/{DgBl7UkteQ4zL4kL.mjs → CccE_2DTbTMNIfQM.mjs} +1 -1
  18. package/browser/esm/{CA-Mxp0a5qYu-eQC.mjs → DTWkitCkayiinpgU.mjs} +1 -1
  19. package/browser/esm/{CEQHdobx2heqC_xT.mjs → DbHn3Fq4gYggsoXV.mjs} +1458 -1420
  20. package/browser/esm/{DuidI13hr0XjasSY.mjs → DdbgnOWM0tle1jeT.mjs} +2 -2
  21. package/browser/esm/{BkyDtDdvSl_AV9Gt.mjs → DhMl3LbgjdX8Nz7b.mjs} +2 -2
  22. package/browser/esm/{JyGi5nNsg4qKS5j4.mjs → DoOWIBDSfgrvMmNO.mjs} +9 -5
  23. package/browser/esm/{DEEXBFwk1sZkiUlr.mjs → Drbpg4A9TaJUZd5A.mjs} +1 -1
  24. package/browser/esm/{B5C5eyh4pBM5mSve.mjs → DxBsD4nDbg_OWhYG.mjs} +2 -2
  25. package/browser/esm/{BwGPqPTphFbyCgv1.mjs → GCJRjX28QYfxi-Lg.mjs} +1 -1
  26. package/browser/esm/{C6TVYNeH2nr88ReK.mjs → HZXAXZqrC43FBvGk.mjs} +2 -2
  27. package/browser/esm/{kwpr8OkbF3lZEN1T.mjs → RbGJTMzxMTlkFlTq.mjs} +2 -2
  28. package/browser/esm/{B7brtmmNB6T3RNY2.mjs → dgkVCh7lmm1Twqmo.mjs} +2057 -1677
  29. package/browser/esm/index.mjs +22 -22
  30. package/browser/esm/{FInOepzy3-iT5cjT.mjs → l5BsxVQszkPy_n34.mjs} +1 -1
  31. package/licenses/dependencies.txt +34 -34
  32. package/node/esm/{AndURfUyGlsYwOhZ.mjs → -9Hcp_VKJtR9fWlC.mjs} +1 -1
  33. package/node/esm/{CA8JibkMn3a6soxi.mjs → 6PuhMTJrzLciGI0Z.mjs} +2 -2
  34. package/node/esm/{TQrOnEDWuUSuD-8n.mjs → B-3Ypi8akR-GxIpw.mjs} +1 -1
  35. package/node/esm/{CljT532ykR37FgiC.mjs → BxTFDoMd-nowfxfb.mjs} +1 -1
  36. package/node/esm/{Dod4GwzFr8dcXjc0.mjs → C2HawKeialuFRR9r.mjs} +1 -1
  37. package/node/esm/{OXH7uXxF8tahBwbJ.mjs → CbhFnQCOA5TjhFB1.mjs} +1 -1
  38. package/node/esm/CgA8rdWVZEpIUpsM.mjs +236 -0
  39. package/node/esm/{0cz-6oYBrKiMBZM1.mjs → CxqL51jVpIL4ncWW.mjs} +1 -1
  40. package/node/esm/D-x3LVzppkKf5be_.mjs +4575 -0
  41. package/node/esm/{un1nvQ0PuZGhfCXp.mjs → DPhvWXmDun8bC0_v.mjs} +1 -1
  42. package/node/esm/{DvpO4eBfsgfawgqe.mjs → DYlYrd0A73WoQQgM.mjs} +1 -1
  43. package/node/esm/{BKcg--YNK_xm5fas.mjs → ELTc6e1FF88hBAev.mjs} +1 -1
  44. package/node/esm/index.mjs +2645 -2261
  45. package/node/esm/{dLsmdAQ-_LdY1aTA.mjs → uJOy7zjNtP0IqGoa.mjs} +45 -45
  46. package/package.json +9 -9
  47. package/resources/locales/de/groups.cmd.json +5 -0
  48. package/resources/locales/de/ui.msg.json +8 -2
  49. package/resources/locales/en/groups.cmd.json +5 -0
  50. package/resources/locales/en/ui.msg.json +56 -2
  51. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +1 -1
  52. package/types/src/command/CalculationOptionsCommandButton.d.ts +22 -0
  53. package/types/src/command/index.d.ts +1 -0
  54. package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +27 -0
  55. package/types/src/conditionalFormat/IconSetRulePanel.d.ts +10 -8
  56. package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts +30 -2
  57. package/types/src/conditionalFormat/RulePreview.d.ts +1 -1
  58. package/types/src/conditionalFormat/ScaleStopRow.d.ts +8 -2
  59. package/types/src/conditionalFormat/iconSetMessages.d.ts +9 -0
  60. package/types/src/formulaBar/IFormulaBar.d.ts +7 -0
  61. package/types/src/statusBar/CalculationRequiredStatus.d.ts +21 -0
  62. package/types/src/statusBar/CircularReferenceStatus.d.ts +23 -0
  63. package/types/src/statusBar/index.d.ts +2 -0
  64. package/browser/cjs/B1OGLm0sOXRWoOqW.cjs +0 -7
  65. package/browser/cjs/C3moehR3VOd0LnmM.cjs +0 -1
  66. package/browser/cjs/fNAtMntE00ehero6.cjs +0 -11
  67. package/browser/esm/CX2cBzzCg_tfihaC.mjs +0 -191
  68. package/node/esm/54CtbSkcZ9yo4h42.mjs +0 -190
  69. package/node/esm/DFkg2JcjAxeK_RNA.mjs +0 -4536
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.28-beta.3
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.28-beta.4
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { _ as e, v as t, y as r } from "./index.mjs";
7
+ import { S as e, b as t, x as r } from "./index.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 x } from "react";
@@ -50,7 +50,7 @@ var L = {
50
50
  const { initialValue: d, context: B, onInput: W, onDone: j, ...A } = n, E = a(), V = p(B?.()), K = V.current?.range, U = V.current?.cell, [G, Y] = x(() => ({
51
51
  ...i.DefaultRangeOptions,
52
52
  ...d
53
- })), [_, q] = x(() => {
53
+ })), [q, J] = x(() => {
54
54
  const e = d?.sorts ?? [], t = [];
55
55
  for (let r = 0; r < e.length; r++) t.push({
56
56
  key: M(),
@@ -62,18 +62,18 @@ var L = {
62
62
  index: 0,
63
63
  criteria: {}
64
64
  }), t;
65
- }), J = G.axis ?? o.Axis.Row, P = J === o.Axis.Row, Q = p(null), X = p(!1);
66
- r(Q, !0, X);
67
- const Z = c(() => {
68
- const e = [], t = [], r = K?.getDefaultSortCriteria(J, U);
65
+ }), P = G.axis ?? o.Axis.Row, Q = P === o.Axis.Row, X = p(null), Z = p(!1);
66
+ e(X, !0, Z);
67
+ const _ = c(() => {
68
+ const e = [], t = [], r = K?.getDefaultSortCriteria(P, U);
69
69
  if (!r) return {
70
70
  labels: e,
71
71
  offsets: t
72
72
  };
73
- const o = r.coords, n = P ? o.colEnd - o.colStart + 1 : o.rowEnd - o.rowStart + 1, i = Math.min(n, 500);
73
+ const o = r.coords, n = Q ? o.colEnd - o.colStart + 1 : o.rowEnd - o.rowStart + 1, i = Math.min(n, 500);
74
74
  for (let n = 0; n < i; n++) {
75
75
  const i = G.hasHeader ? r.headers?.get(n) : void 0;
76
- t.push(n), e.push(i || (P ? E("sort.columnLabel", { name: R(o.colStart + n) }) : E("sort.rowLabel", { name: `${o.rowStart + n + 1}` })));
76
+ t.push(n), e.push(i || (Q ? E("sort.columnLabel", { name: R(o.colStart + n) }) : E("sort.rowLabel", { name: `${o.rowStart + n + 1}` })));
77
77
  }
78
78
  return {
79
79
  labels: e,
@@ -82,38 +82,38 @@ var L = {
82
82
  }, [
83
83
  K,
84
84
  U,
85
- J,
86
85
  P,
86
+ Q,
87
87
  G.hasHeader,
88
88
  E
89
89
  ]), ee = s((e) => {
90
- const t = Z.offsets.indexOf(e);
91
- return -1 !== t ? Z.labels[t] : P ? E("sort.columnLabel", { name: R(e) }) : E("sort.rowLabel", { name: `${e + 1}` });
90
+ const t = _.offsets.indexOf(e);
91
+ return -1 !== t ? _.labels[t] : Q ? E("sort.columnLabel", { name: R(e) }) : E("sort.rowLabel", { name: `${e + 1}` });
92
92
  }, [
93
- Z,
94
- P,
93
+ _,
94
+ Q,
95
95
  E
96
96
  ]), te = c(() => {
97
- const e = Z.offsets.length;
98
- if (e > 0 && _.length > e) return E("sort.tooManyLevels", { count: `${e}` });
97
+ const e = _.offsets.length;
98
+ if (e > 0 && q.length > e) return E("sort.tooManyLevels", { count: `${e}` });
99
99
  const t = /* @__PURE__ */ new Set();
100
- for (let e = 0; e < _.length; e++) {
101
- if (t.has(_[e].index)) return E("sort.duplicateField", { name: ee(_[e].index) });
102
- t.add(_[e].index);
100
+ for (let e = 0; e < q.length; e++) {
101
+ if (t.has(q[e].index)) return E("sort.duplicateField", { name: ee(q[e].index) });
102
+ t.add(q[e].index);
103
103
  }
104
104
  return null;
105
105
  }, [
106
+ q,
106
107
  _,
107
- Z,
108
108
  ee,
109
109
  E
110
110
  ]), re = s((e, t) => {
111
- q((r) => r.map((r) => r.key === e ? {
111
+ J((r) => r.map((r) => r.key === e ? {
112
112
  ...r,
113
113
  ...t
114
114
  } : r));
115
115
  }, []), oe = s((e, t, r) => {
116
- r && (X.current = !0), q((r) => {
116
+ r && (Z.current = !0), J((r) => {
117
117
  if (t < 0 || t >= r.length) return r;
118
118
  const o = [...r];
119
119
  return o.splice(t, 0, ...o.splice(e, 1)), o;
@@ -121,7 +121,7 @@ var L = {
121
121
  }, []), ne = s((e) => {
122
122
  let t;
123
123
  if ("Sort" === e) {
124
- const e = _.map((e) => {
124
+ const e = q.map((e) => {
125
125
  const t = { ...e.criteria };
126
126
  return delete t.collatorOptions, {
127
127
  index: e.index,
@@ -131,18 +131,18 @@ var L = {
131
131
  t = {
132
132
  ...d,
133
133
  ...G,
134
- reverse: _[0]?.criteria.reverse ?? G.reverse,
134
+ reverse: q[0]?.criteria.reverse ?? G.reverse,
135
135
  sorts: e
136
136
  };
137
137
  }
138
138
  W?.(t), j?.(t);
139
139
  }, [
140
- _,
140
+ q,
141
141
  G,
142
142
  j,
143
143
  W,
144
144
  d
145
- ]), ie = c(() => _.map((e) => e.key), [_]);
145
+ ]), ie = c(() => q.map((e) => e.key), [q]);
146
146
  return m(h, {
147
147
  title: E("sort.title"),
148
148
  options: [{
@@ -182,7 +182,7 @@ var L = {
182
182
  ...D,
183
183
  ...N
184
184
  },
185
- children: E(P ? "sort.column" : "sort.row")
185
+ children: E(Q ? "sort.column" : "sort.row")
186
186
  }),
187
187
  m(k, {
188
188
  variant: "body2",
@@ -205,7 +205,7 @@ var L = {
205
205
  ]
206
206
  })
207
207
  }), f(v, {
208
- ref: Q,
208
+ ref: X,
209
209
  sx: {
210
210
  display: "flex",
211
211
  flexDirection: "column",
@@ -214,34 +214,34 @@ var L = {
214
214
  maxHeight: "320px",
215
215
  overflowY: "auto"
216
216
  },
217
- children: [m(t, {
217
+ children: [m(r, {
218
218
  ids: ie,
219
- scrollRef: Q,
219
+ scrollRef: X,
220
220
  onMove: (e, t) => oe(e, t, !0),
221
- children: _.map((t, r) => m(e, {
222
- id: t.key,
221
+ children: q.map((e, r) => m(t, {
222
+ id: e.key,
223
223
  children: m($, {
224
- level: t,
224
+ level: e,
225
225
  position: r,
226
- count: _.length,
227
- fields: Z,
226
+ count: q.length,
227
+ fields: _,
228
228
  labelForField: ee,
229
- isRowSort: P,
229
+ isRowSort: Q,
230
230
  onChange: re,
231
231
  onMoveBy: (e) => oe(r, r + e, !1),
232
232
  onDuplicate: () => {
233
- q((e) => {
234
- const o = [...e];
233
+ J((t) => {
234
+ const o = [...t];
235
235
  return o.splice(r + 1, 0, {
236
- ...t,
236
+ ...e,
237
237
  key: M(),
238
- criteria: { ...t.criteria }
238
+ criteria: { ...e.criteria }
239
239
  }), o;
240
240
  });
241
241
  },
242
- onDelete: () => q((e) => e.filter((e) => e.key !== t.key))
242
+ onDelete: () => J((t) => t.filter((t) => t.key !== e.key))
243
243
  })
244
- }, t.key))
244
+ }, e.key))
245
245
  }), f(v, {
246
246
  sx: {
247
247
  ...F,
@@ -265,8 +265,8 @@ var L = {
265
265
  className: "sxl-sort-addLevel",
266
266
  "aria-label": E("sort.addLevel"),
267
267
  onClick: () => {
268
- q((e) => {
269
- const t = new Set(e.map((e) => e.index)), r = Z.offsets.find((e) => !t.has(e));
268
+ J((e) => {
269
+ const t = new Set(e.map((e) => e.index)), r = _.offsets.find((e) => !t.has(e));
270
270
  return [...e, {
271
271
  key: M(),
272
272
  index: r ?? 0,
@@ -341,7 +341,7 @@ var L = {
341
341
  className: "sxl-sort-orientation",
342
342
  labelId: "sxl-sort-orientation-label",
343
343
  label: E("sort.orientation"),
344
- value: J,
344
+ value: P,
345
345
  onChange: (e) => {
346
346
  const t = e.target.value;
347
347
  Y((e) => ({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/studio-mui",
3
3
  "description": "Studio - Spreadsheet UI built with SheetXL SDK using React & MUI.",
4
- "version": "0.7.28-beta.3",
4
+ "version": "0.7.28-beta.4",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -52,14 +52,14 @@
52
52
  "@dnd-kit/modifiers": "^9.0.0",
53
53
  "@dnd-kit/sortable": "^10.0.0",
54
54
  "@dnd-kit/utilities": "^3.2.2",
55
- "@sheetxl/grid-react": "^0.7.28-beta.3",
56
- "@sheetxl/io": "^0.7.28-beta.3",
57
- "@sheetxl/react": "^0.7.28-beta.3",
58
- "@sheetxl/scripting-react": "^0.7.28-beta.3",
59
- "@sheetxl/sdk": "^0.7.28-beta.3",
60
- "@sheetxl/utils": "^0.7.28-beta.3",
61
- "@sheetxl/utils-mui": "^0.7.28-beta.3",
62
- "@sheetxl/utils-react": "^0.7.28-beta.3",
55
+ "@sheetxl/grid-react": "^0.7.28-beta.4",
56
+ "@sheetxl/io": "^0.7.28-beta.4",
57
+ "@sheetxl/react": "^0.7.28-beta.4",
58
+ "@sheetxl/scripting-react": "^0.7.28-beta.4",
59
+ "@sheetxl/sdk": "^0.7.28-beta.4",
60
+ "@sheetxl/utils": "^0.7.28-beta.4",
61
+ "@sheetxl/utils-mui": "^0.7.28-beta.4",
62
+ "@sheetxl/utils-react": "^0.7.28-beta.4",
63
63
  "clsx": "^2.1.1",
64
64
  "csstype": "^3.2.3",
65
65
  "file-saver": "^2.0.5",
@@ -13,6 +13,11 @@
13
13
  "label": "Rahmen",
14
14
  "description": "Rahmen auf die ausgewählten Zellen anwenden."
15
15
  },
16
+ "calculationOptions": {
17
+ "label": "Berechnungsoptionen",
18
+ "description": "Festlegen, wann Formeln neu berechnet werden und wie Zirkelbezüge aufgelöst werden.",
19
+ "icon": "Calculate"
20
+ },
16
21
  "cellsFormatOptions": {
17
22
  "label": "Zellen formatieren",
18
23
  "description": "Zeilen- und Spaltengrößen oder deren Sichtbarkeit ändern.",
@@ -25,6 +25,8 @@
25
25
  "border.style.thin": "Dünn",
26
26
  "border.styleTooltip": "Rahmenart: {style}",
27
27
  "border.top": "Obere Rahmenlinie",
28
+ "calcOptions.maxChange": "Maximale Änderung",
29
+ "calcOptions.maxIterations": "Maximale Iterationszahl",
28
30
  "cellStyle.category.custom": "Benutzerdefiniert",
29
31
  "cellStyle.category.dataModel": "Daten und Modell",
30
32
  "cellStyle.category.goodBadNeutral": "Gut, Schlecht und Neutral",
@@ -159,8 +161,6 @@
159
161
  "conditionalFormat.iconGroup.indicators": "Indikatoren",
160
162
  "conditionalFormat.iconGroup.ratings": "Bewertungen",
161
163
  "conditionalFormat.iconGroup.shapes": "Formen",
162
- "conditionalFormat.iconN": "Symbol {n}",
163
- "conditionalFormat.iconSet": "Symbolsatz",
164
164
  "conditionalFormat.insert": "Einfügen",
165
165
  "conditionalFormat.leftToRight": "Von links nach rechts",
166
166
  "conditionalFormat.moveDown": "Nach unten",
@@ -284,10 +284,14 @@
284
284
  "hyperlink.address": "Adresse",
285
285
  "hyperlink.addressPlaceholder": "Geben Sie eine URL ein.",
286
286
  "hyperlink.displayText": "Anzeigetext",
287
+ "hyperlink.emailAddress": "E-Mail-Adresse",
288
+ "hyperlink.emailPlaceholder": "Geben Sie eine E-Mail-Adresse ein.",
287
289
  "hyperlink.linkTo": "Link zu",
288
290
  "hyperlink.reference": "Zellbezug",
291
+ "hyperlink.subject": "Betreff",
289
292
  "hyperlink.titleEdit": "Link bearbeiten",
290
293
  "hyperlink.titleInsert": "Link einfügen",
294
+ "hyperlink.typeEmail": "E-Mail-Adresse",
291
295
  "hyperlink.typeInDocument": "Im Dokument",
292
296
  "hyperlink.typeWebPage": "Webseite",
293
297
  "insertFunction.back": "Zurück",
@@ -462,6 +466,8 @@
462
466
  "sort.thenBy": "Danach nach",
463
467
  "sort.title": "Sortieren",
464
468
  "sort.tooManyLevels": "Es gibt mehr Sortierebenen als sortierbare Felder ({count}).",
469
+ "statusBar.calculate": "Berechnen",
470
+ "statusBar.circularReferences": "Zirkelbezüge",
465
471
  "statusBar.point": "Zeigen",
466
472
  "statusBar.ready": "Bereit",
467
473
  "table.noneSelected": "Keine Tabelle ausgewählt",
@@ -13,6 +13,11 @@
13
13
  "label": "Borders",
14
14
  "description": "Apply borders to the selected cells."
15
15
  },
16
+ "calculationOptions": {
17
+ "label": "Calculation Options",
18
+ "description": "Choose when formulas are recalculated and how circular references are resolved.",
19
+ "icon": "Calculate"
20
+ },
16
21
  "cellsFormatOptions": {
17
22
  "description": "Change row and column sizes or visibility.",
18
23
  "label": "Format Cells",
@@ -25,6 +25,8 @@
25
25
  "border.style.thin": "Thin",
26
26
  "border.styleTooltip": "Border Style: {style}",
27
27
  "border.top": "Top Borders",
28
+ "calcOptions.maxChange": "Maximum Change",
29
+ "calcOptions.maxIterations": "Maximum Iterations",
28
30
  "cellStyle.category.custom": "Custom",
29
31
  "cellStyle.category.dataModel": "Data and Model",
30
32
  "cellStyle.category.goodBadNeutral": "Good, Bad and Neutral",
@@ -145,6 +147,7 @@
145
147
  "conditionalFormat.barColor": "Bar fill",
146
148
  "conditionalFormat.border": "Borders",
147
149
  "conditionalFormat.cancel": "Cancel",
150
+ "conditionalFormat.cellIcon": "Cell Icon",
148
151
  "conditionalFormat.clearStyle": "Clear Formatting",
149
152
  "conditionalFormat.delete": "Delete",
150
153
  "conditionalFormat.direction": "Direction",
@@ -160,8 +163,52 @@
160
163
  "conditionalFormat.iconGroup.indicators": "Indicators",
161
164
  "conditionalFormat.iconGroup.ratings": "Ratings",
162
165
  "conditionalFormat.iconGroup.shapes": "Shapes",
163
- "conditionalFormat.iconN": "Icon {n}",
164
- "conditionalFormat.iconSet": "Icon set",
166
+ "conditionalFormat.iconName": "{tone} {shape}",
167
+ "conditionalFormat.iconShape.arrowDown": "Down Arrow",
168
+ "conditionalFormat.iconShape.arrowDownRight": "Down Inclined Arrow",
169
+ "conditionalFormat.iconShape.arrowRight": "Side Arrow",
170
+ "conditionalFormat.iconShape.arrowUp": "Up Arrow",
171
+ "conditionalFormat.iconShape.arrowUpRight": "Up Inclined Arrow",
172
+ "conditionalFormat.iconShape.boxes0": "0 Filled Boxes",
173
+ "conditionalFormat.iconShape.boxes1": "1 Filled Box",
174
+ "conditionalFormat.iconShape.boxes2": "2 Filled Boxes",
175
+ "conditionalFormat.iconShape.boxes3": "3 Filled Boxes",
176
+ "conditionalFormat.iconShape.boxes4": "4 Filled Boxes",
177
+ "conditionalFormat.iconShape.check": "Check",
178
+ "conditionalFormat.iconShape.circle": "Circle",
179
+ "conditionalFormat.iconShape.circleCheck": "Check Symbol",
180
+ "conditionalFormat.iconShape.circleCross": "Cross Symbol",
181
+ "conditionalFormat.iconShape.circleExclamation": "Exclamation Symbol",
182
+ "conditionalFormat.iconShape.circleRimmed": "Circle With Border",
183
+ "conditionalFormat.iconShape.cross": "Cross",
184
+ "conditionalFormat.iconShape.dash": "Dash",
185
+ "conditionalFormat.iconShape.diamond": "Diamond",
186
+ "conditionalFormat.iconShape.exclamation": "Exclamation",
187
+ "conditionalFormat.iconShape.flag": "Flag",
188
+ "conditionalFormat.iconShape.quarters0": "Empty Circle",
189
+ "conditionalFormat.iconShape.quarters1": "Quarter Circle",
190
+ "conditionalFormat.iconShape.quarters2": "Half Circle",
191
+ "conditionalFormat.iconShape.quarters3": "Three Quarter Circle",
192
+ "conditionalFormat.iconShape.quarters4": "Full Circle",
193
+ "conditionalFormat.iconShape.rating0": "0 Filled Bars",
194
+ "conditionalFormat.iconShape.rating1": "1 Filled Bar",
195
+ "conditionalFormat.iconShape.rating2": "2 Filled Bars",
196
+ "conditionalFormat.iconShape.rating3": "3 Filled Bars",
197
+ "conditionalFormat.iconShape.rating4": "4 Filled Bars",
198
+ "conditionalFormat.iconShape.star0": "Silver Star",
199
+ "conditionalFormat.iconShape.star1": "Half Gold Star",
200
+ "conditionalFormat.iconShape.star2": "Gold Star",
201
+ "conditionalFormat.iconShape.triangleDownSharp": "Down Triangle",
202
+ "conditionalFormat.iconShape.triangleUp": "Triangle",
203
+ "conditionalFormat.iconShape.triangleUpSharp": "Up Triangle",
204
+ "conditionalFormat.iconTone.bad": "Red",
205
+ "conditionalFormat.iconTone.black": "Black",
206
+ "conditionalFormat.iconTone.gold": "Gold",
207
+ "conditionalFormat.iconTone.good": "Green",
208
+ "conditionalFormat.iconTone.gray": "Gray",
209
+ "conditionalFormat.iconTone.lightBad": "Orange",
210
+ "conditionalFormat.iconTone.neutral": "Yellow",
211
+ "conditionalFormat.iconTone.purple": "Purple",
165
212
  "conditionalFormat.insert": "Insert",
166
213
  "conditionalFormat.leftToRight": "Left to right",
167
214
  "conditionalFormat.moveDown": "Move Down",
@@ -170,6 +217,7 @@
170
217
  "conditionalFormat.negativeBorderColor": "Negative border",
171
218
  "conditionalFormat.negativeColor": "Negative fill",
172
219
  "conditionalFormat.new": "New Rule",
220
+ "conditionalFormat.noCellIcon": "No Cell Icon",
173
221
  "conditionalFormat.noCondition": "No condition",
174
222
  "conditionalFormat.none": "No Conditional Formatting rules.",
175
223
  "conditionalFormat.preset.greenFillDarkGreenText": "Green Fill with Dark Green Text",
@@ -285,10 +333,14 @@
285
333
  "hyperlink.address": "Address",
286
334
  "hyperlink.addressPlaceholder": "Enter a url.",
287
335
  "hyperlink.displayText": "Display Text",
336
+ "hyperlink.emailAddress": "Email address",
337
+ "hyperlink.emailPlaceholder": "Enter an email address.",
288
338
  "hyperlink.linkTo": "Link to",
289
339
  "hyperlink.reference": "Cell Reference",
340
+ "hyperlink.subject": "Subject",
290
341
  "hyperlink.titleEdit": "Edit Link",
291
342
  "hyperlink.titleInsert": "Insert Link",
343
+ "hyperlink.typeEmail": "Email Address",
292
344
  "hyperlink.typeInDocument": "In Document",
293
345
  "hyperlink.typeWebPage": "Web Page",
294
346
  "insertFunction.back": "Back",
@@ -463,6 +515,8 @@
463
515
  "sort.thenBy": "Then by",
464
516
  "sort.title": "Sort",
465
517
  "sort.tooManyLevels": "There are more sort levels than there are fields to sort ({count}).",
518
+ "statusBar.calculate": "Calculate",
519
+ "statusBar.circularReferences": "Circular References",
466
520
  "statusBar.point": "Point",
467
521
  "statusBar.ready": "Ready",
468
522
  "table.noneSelected": "No table selected",
@@ -29,7 +29,7 @@ export interface AnchorItem extends IAnchored {
29
29
  */
30
30
  export interface AnchorItemCollection<T extends AnchorItem> {
31
31
  getItems(): readonly T[];
32
- add(item: T): unknown;
32
+ add(item: T, options?: IAnchored.AddOptions): unknown;
33
33
  createItem(template?: T): T;
34
34
  }
35
35
  /**
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ import { IWorkbook } from '@sheetxl/sdk';
3
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
4
+ export interface CalculationOptionsCommandButtonProps extends CommandPopupButtonProps {
5
+ /**
6
+ * The workbook whose calculation is configured. Defaults to the ambient workbook context.
7
+ */
8
+ workbook?: IWorkbook | null;
9
+ }
10
+ /**
11
+ * Excel's Calculation Options as one popup: the calculation-mode radio (Automatic / Automatic
12
+ * Except for Data Tables / Manual), Enable Iterative Calculation with its Maximum Iterations and
13
+ * Maximum Change, and the two recalculations (Calculate Now, Calculate Full).
14
+ *
15
+ * @remarks
16
+ * The mode and the toggle are workbook commands (`calcMode*`, `calcIterativeToggle` in
17
+ * `WorkbookCommands`); the limits are not commands — they are number fields written straight to
18
+ * `ICalculation.setIterativeCalculation`. Registered as `calculationOptions` (the Formulas tab) and
19
+ * mounted again in the formula bar.
20
+ */
21
+ export declare const CalculationOptionsCommandButton: React.NamedExoticComponent<Omit<CalculationOptionsCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
22
+ //# sourceMappingURL=CalculationOptionsCommandButton.d.ts.map
@@ -14,6 +14,7 @@ export * from './PresetTableStylesCommandButton';
14
14
  export * from './DocThemeCommandButton';
15
15
  export * from './FileCommandButton';
16
16
  export * from './AppearanceCommandButton';
17
+ export * from './CalculationOptionsCommandButton';
17
18
  export * from './SheetCommandGroups';
18
19
  export * from './WorkbookCommandGroups';
19
20
  export * from './StudioCommandGroups';
@@ -0,0 +1,27 @@
1
+ import { default as React } from 'react';
2
+ import { IStyle } from '@sheetxl/sdk';
3
+ import { ConditionalIconSpec } from '@sheetxl/react';
4
+ import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
5
+ /** Where a band's icon comes from: a set and an index into it. */
6
+ export type IconAddress = {
7
+ set: IStyle.IconSet;
8
+ id: number;
9
+ };
10
+ export interface IconPickerPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'createPopupPanel'> {
11
+ /** What the band draws now, or `null` for nothing. */
12
+ icon: ConditionalIconSpec | null;
13
+ /**
14
+ * Called with the address of the picked icon — a set and an index into it, or
15
+ * {@link NO_CELL_ICON} for none.
16
+ */
17
+ onPick: (icon: IconAddress) => void;
18
+ }
19
+ /**
20
+ * One band's icon as a button that opens Excel's custom-icon list.
21
+ *
22
+ * @remarks
23
+ * The button shows what the band draws, so a column of them reads the same as the rule preview.
24
+ * Picking closes the list: the choice is the whole interaction, there is nothing to confirm.
25
+ */
26
+ export declare const IconPickerPopupButton: React.NamedExoticComponent<Omit<IconPickerPopupButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
27
+ //# sourceMappingURL=IconPickerPopupButton.d.ts.map
@@ -6,18 +6,20 @@ export interface IconSetRulePanelProps extends React.HTMLAttributes<HTMLDivEleme
6
6
  readOnly?: boolean;
7
7
  }
8
8
  /**
9
- * The Icon Sets tab: a set picker grouped the way Excel groups them, with show-icons-only and
10
- * reverse, over the per-band threshold rows.
9
+ * The Icon Sets tab: the set as a dropdown opening the menu's own gallery, show-icons-only and
10
+ * reverse, then one row per band — the band's icon (which may be borrowed from any set, or be
11
+ * none) and its threshold.
11
12
  *
12
13
  * @remarks
13
- * The picker offers exactly the sets `IStyle.IconSet` names, so a rule authored here always
14
+ * The gallery offers exactly the sets `IStyle.IconSet` names, so a rule authored here always
14
15
  * round-trips — including the three Excel 2010 sets that can only be written into the x14
15
- * extension. A set name adopted from a file that is none of them is rendered read-only rather than
16
- * silently rewritten.
16
+ * extension. A set name adopted from a file that is none of them is shown by name and left as it
17
+ * is; picking any preset replaces it.
17
18
  *
18
- * The picker labels each set with the glyphs it draws rather than its name — the name is what the
19
- * tooltip is for. A set is chosen by how it looks, and the OOXML names ("3TrafficLights1") are not
20
- * how anyone reads them.
19
+ * The dropdown's face is the set's own icons, so it repeats the rule preview above it — the
20
+ * price of a picker that fits the pane; a strip of all twenty did not. Picking a set
21
+ * clears per-band icons (they were chosen against the old set) and re-bands only when the size
22
+ * changes, so authored thresholds survive a same-size switch.
21
23
  */
22
24
  export declare const IconSetRulePanel: React.NamedExoticComponent<IconSetRulePanelProps>;
23
25
  //# sourceMappingURL=IconSetRulePanel.d.ts.map
@@ -1,7 +1,35 @@
1
1
  import { default as React } from 'react';
2
+ import { IConditionalFormat } from '@sheetxl/sdk';
2
3
  import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
3
4
  /** The galleries this button offers, keyed by the kind of scale its command writes. */
4
- export type PresetScaleType = 'dataBar' | 'colorScale';
5
+ export type PresetScaleType = 'dataBar' | 'colorScale' | 'iconSet';
6
+ /** One captioned block of swatches. */
7
+ export interface PresetGroup {
8
+ /** Message key of the block's heading. */
9
+ labelKey: string;
10
+ /** Row-major; a `null` is an empty seat, so a block can end a row early. */
11
+ presets: readonly (IConditionalFormat.Scale | null)[];
12
+ /**
13
+ * Swatches per row.
14
+ * @defaultValue 3
15
+ */
16
+ columns?: number;
17
+ }
18
+ /**
19
+ * The twenty icon sets, two abreast under Excel's four gallery headings — Excel Online's layout,
20
+ * a colored family beside its gray twin.
21
+ */
22
+ export declare const ICON_SET_PRESET_GROUPS: readonly PresetGroup[];
23
+ export interface ScalePresetGalleryProps {
24
+ groups: readonly PresetGroup[];
25
+ /** Called with the picked preset. */
26
+ onPick: (preset: IConditionalFormat.Scale) => void;
27
+ disabled?: boolean;
28
+ }
29
+ /**
30
+ * The swatch grid a preset gallery shows — the menu flyouts, and the icon-set tab's picker.
31
+ */
32
+ export declare const ScalePresetGallery: React.NamedExoticComponent<ScalePresetGalleryProps>;
5
33
  export interface PresetScalesCommandButtonProps extends CommandPopupButtonProps {
6
34
  /** The command the gallery executes, with the picked preset as its payload. */
7
35
  commandKey: string;
@@ -10,7 +38,7 @@ export interface PresetScalesCommandButtonProps extends CommandPopupButtonProps
10
38
  }
11
39
  /**
12
40
  * A preset scale command as a **gallery flyout** — Excel's Home ▸ Conditional Formatting ▸ Data Bars
13
- * / Color Scales.
41
+ * / Color Scales / Icon Sets.
14
42
  *
15
43
  * @remarks
16
44
  * The command still writes its default when executed bare (a keystroke, the command palette), so
@@ -13,7 +13,7 @@ export interface RulePreviewProps extends React.HTMLAttributes<HTMLElement> {
13
13
  }
14
14
  /**
15
15
  * The rendering preview of what a rule paints: an `Aa` chip for a dxf, a few cells of sheet for a
16
- * color scale or data bar, colored bands for an icon set (until the icon pack lands).
16
+ * color scale or data bar, the icons of an icon set.
17
17
  *
18
18
  * @remarks
19
19
  * With the grid not yet painting every rule type, this swatch — in the rule card and at the top of
@@ -2,9 +2,10 @@ import { default as React } from 'react';
2
2
  import { IConditionalFormat } from '@sheetxl/sdk';
3
3
  export interface ScaleStopRowProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  /**
5
- * A short leading label for the row — `Minimum`, `Midpoint`, `Icon 2`, …
5
+ * A short leading label for the row — `Minimum`, `Midpoint`, … A row whose `leading` control
6
+ * already says which band it is (an icon set's icon button) has none.
6
7
  */
7
- label: string;
8
+ label?: string;
8
9
  stop: IConditionalFormat.Stop | IConditionalFormat.ColorScaleStop;
9
10
  onStopChange: (stop: IConditionalFormat.Stop | IConditionalFormat.ColorScaleStop) => void;
10
11
  /**
@@ -15,6 +16,11 @@ export interface ScaleStopRowProps extends React.HTMLAttributes<HTMLDivElement>
15
16
  * Show the color well (color scales only).
16
17
  */
17
18
  showColor?: boolean;
19
+ /**
20
+ * A control drawn after the label, where the color well sits — an icon set puts the band's
21
+ * icon button here.
22
+ */
23
+ leading?: React.ReactNode;
18
24
  /**
19
25
  * Show the `>` / `>=` bound picker (icon sets; maps to {@link IConditionalFormat.Stop.exclusive}).
20
26
  */
@@ -0,0 +1,9 @@
1
+ import { TranslateFn } from '@sheetxl/utils-react';
2
+ import { ConditionalIconSpec, IconSetGalleryBlock } from '@sheetxl/react';
3
+ /** Heading catalog keys for the icon-set gallery blocks, by {@link IconSetGalleryBlock.key}. */
4
+ export declare const ICON_GROUP_MESSAGE_KEYS: Record<IconSetGalleryBlock['key'], string>;
5
+ /**
6
+ * The name of one icon — "Green Up Arrow", "Half Gold Star" — for a tooltip or a reader.
7
+ */
8
+ export declare const iconDisplayName: (t: TranslateFn, spec: ConditionalIconSpec) => string;
9
+ //# sourceMappingURL=iconSetMessages.d.ts.map
@@ -29,6 +29,13 @@ export interface FormulaBarProps extends React.HTMLAttributes<HTMLDivElement> {
29
29
  * Disabled the ui.
30
30
  */
31
31
  disabled?: boolean;
32
+ /**
33
+ * If a Calculate Now (F9) button is shown at the start of the bar while the workbook is in
34
+ * manual calculation mode. Never shown in automatic mode.
35
+ *
36
+ * @defaultValue true
37
+ */
38
+ showCalculateNow?: boolean;
32
39
  /**
33
40
  * Ref for the FormulaBar element.
34
41
  */
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ export interface CalculationRequiredStatusProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ /**
4
+ * Debounce (ms) between a change and the re-read.
5
+ *
6
+ * @defaultValue 40
7
+ */
8
+ debounceDelay?: number;
9
+ }
10
+ /**
11
+ * The status bar's `Calculate` readout — shown while the workbook is in manual calculation mode
12
+ * and a formula is out of date (Excel's own indicator). Pressing it is Calculate Now (F9).
13
+ *
14
+ * @remarks
15
+ * Renders nothing in automatic mode, and in manual mode once a recalculation has settled. Read
16
+ * on the calculation's `onStale` (an edit that left something out of date), `onOptionsChange`
17
+ * (the mode itself) and the selected sheet's data changes (a pass landing), debounced like the
18
+ * number stats.
19
+ */
20
+ export declare const CalculationRequiredStatus: React.MemoExoticComponent<(props: CalculationRequiredStatusProps) => React.JSX.Element | null>;
21
+ //# sourceMappingURL=CalculationRequiredStatus.d.ts.map