@sheetxl/studio-mui 0.8.0-beta.10 → 0.8.0-beta.12

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 (150) hide show
  1. package/browser/esm/{ByeL_BZuJ2kl8gtf.mjs → 0IBZhOJaVmzJxuTv.mjs} +1 -1
  2. package/browser/esm/2nRxqrNYbmEn8fS8.mjs +386 -0
  3. package/browser/esm/{fb126BNj3F8URR19.mjs → 7fVZXXuonYb6Z7FU.mjs} +3 -3
  4. package/browser/esm/BAzhmMX4Fk_qnUTp.mjs +414 -0
  5. package/browser/esm/BGL3x0W74D7qZXlf.mjs +318 -0
  6. package/browser/esm/BHGr2gsFofTdAFxq.mjs +515 -0
  7. package/browser/esm/{DU3J8Gcf-WpBxNYg.mjs → BKhcJI-G15D3kGap.mjs} +4 -4
  8. package/browser/esm/BNbub9weuqm3mcoF.mjs +335 -0
  9. package/browser/esm/BSv9MVJaz1DVEffm.mjs +975 -0
  10. package/browser/esm/BWfLpYmd3cSgJ0C6.mjs +141 -0
  11. package/browser/esm/BZqwbIE8qzjSOYcJ.mjs +582 -0
  12. package/browser/esm/BZy9xUrYpAtnKeji.mjs +1288 -0
  13. package/browser/esm/{CIu1bjPJe_x31Oww.mjs → BnkwC5rsg9LZyhoP.mjs} +3 -3
  14. package/browser/esm/BpJsBv413cNQpyg0.mjs +319 -0
  15. package/browser/esm/BpVrgbVISiTDyFR3.mjs +197 -0
  16. package/browser/esm/BsngRDhvVYGVBJeK.mjs +1546 -0
  17. package/browser/esm/{C1Rp2hZrApo5MUc8.mjs → C29TKq47CbXs652l.mjs} +2 -2
  18. package/browser/esm/{CEvZe2cZK-voZTif.mjs → C8p2iMad_NNCwGI_.mjs} +5 -5
  19. package/browser/esm/CBzXksWnb-1gGEWZ.mjs +212 -0
  20. package/browser/esm/{IQLeaAbtGTipUsOD.mjs → CFIAWgpU3UyepLBn.mjs} +25 -24
  21. package/browser/esm/CJD4jF4m9cBGHzr_.mjs +31 -0
  22. package/browser/esm/{CjznclrKqJRi7u9O.mjs → CMc7G7cevxzPGxr9.mjs} +2 -2
  23. package/browser/esm/{B1Yp_uy1vFHcJB3U.mjs → CYtULLhY9M2m3DeH.mjs} +1 -1
  24. package/browser/esm/CeF35ZeFP28Do5Zx.mjs +1379 -0
  25. package/browser/esm/{xKiLJKiLxto8SayF.mjs → CjYKDxU4EP2Kf_vo.mjs} +2 -2
  26. package/browser/esm/{D8al_cJ4U-NgzwoK.mjs → Cq82lvdjyBvlJ8xJ.mjs} +19 -17
  27. package/browser/esm/{X1Db3b_7b_7OuCk6.mjs → CuRxFAO42JkQvMEx.mjs} +1 -1
  28. package/browser/esm/Cvk2yY90hpgXWMAt.mjs +103 -0
  29. package/browser/esm/D0slJycx3nq53qmf.mjs +14 -0
  30. package/browser/esm/{9eKCkvqpMQwqcXiw.mjs → D2jzliMwAo2ENpfi.mjs} +1 -1
  31. package/browser/esm/D5Fn0Hqllwv5HY6i.mjs +7581 -0
  32. package/browser/esm/D5N4nGaZsXtrHAOh.mjs +831 -0
  33. package/browser/esm/D7AqPfyhMiuda5l5.mjs +412 -0
  34. package/browser/esm/DHZA48ZMCETvHmeP.mjs +161 -0
  35. package/browser/esm/DX2_vf7WX6uRLaOZ.mjs +94 -0
  36. package/browser/esm/DaxpbAF1ShkT7hNU.mjs +490 -0
  37. package/browser/esm/{D6S8kVTzOjCn0-SK.mjs → Db3oHfXiRtcH015t.mjs} +162 -156
  38. package/browser/esm/Dt47Huh1l3C4_5_w.mjs +87 -0
  39. package/browser/esm/{DmCQbW4zwkT_Rq88.mjs → DtPt0phL7m56YfHZ.mjs} +1 -1
  40. package/browser/esm/{CoSiOS-og0zFw4Ws.mjs → DtTDaXmnWUoG4VBO.mjs} +2 -2
  41. package/browser/esm/{DHY19rkSiiRZxShC.mjs → DuuyN4-7K6_io2Py.mjs} +3 -3
  42. package/browser/esm/{yZxC4qUENOlMhVUH.mjs → NeGeLF3gbGMZyV6E.mjs} +1 -1
  43. package/browser/esm/PY3Br5Bo_TxcCnCU.mjs +252 -0
  44. package/browser/esm/WIhvQtBkGiw-oFUs.mjs +2566 -0
  45. package/browser/esm/WgIvwAENeO8LANax.mjs +437 -0
  46. package/browser/esm/{DBtc4lku0uHVcqWn.mjs → Yjq3p_7eVGFw2Jod.mjs} +3 -3
  47. package/browser/esm/index.mjs +1053 -192
  48. package/browser/esm/jFRFCWlkD7Dsrhkh.mjs +236 -0
  49. package/browser/esm/lKXEDVt2ow1NlWJj.mjs +392 -0
  50. package/browser/esm/{Blaj2R5hYxtLAW__.mjs → oC0OwOddhOD0OoCJ.mjs} +6 -6
  51. package/browser/esm/{sFOAxZpxXo-qvDSp.mjs → tIKqpsA0vNXH9EgU.mjs} +1 -1
  52. package/browser/esm/{5cbK03T_Oh3tNdR7.mjs → u84rSnESjxqB6gay.mjs} +1 -1
  53. package/licenses/dependencies.txt +94 -94
  54. package/node/esm/{BcwMb6CyVfvEwbHn.mjs → B8Ls4Eh1k8-Yiry_.mjs} +1 -1
  55. package/node/esm/{CKu1AtRgyltyEdEN.mjs → B9X3n8MglL4OitAV.mjs} +1 -1
  56. package/node/esm/{ETK6T6G0SIcFXDe5.mjs → BBGoyqs2L_ccSH1e.mjs} +40 -40
  57. package/node/esm/BLv99aovW4R3C5PE.mjs +515 -0
  58. package/node/esm/BUGU_5lUtnCRlp3n.mjs +519 -0
  59. package/node/esm/BalROFG_oa9PFs9Q.mjs +141 -0
  60. package/node/esm/{ah3CUg4-VmNstGk_.mjs → BqVxnA1mo52ubjdf.mjs} +2 -2
  61. package/node/esm/C3FCh9xju2SccUIE.mjs +1283 -0
  62. package/node/esm/{Bb1sLMqXWKjdve23.mjs → C4F6WY8M4nkLyxdb.mjs} +2 -2
  63. package/node/esm/CKWeipCqqpLnLE5e.mjs +391 -0
  64. package/node/esm/CTnVNfz4eqFnM92M.mjs +212 -0
  65. package/node/esm/Cfi_ly8fBDZZdiZT.mjs +72 -0
  66. package/node/esm/CgKa6JuyJ1tTodev.mjs +1703 -0
  67. package/node/esm/{cqzp431iNSLWictb.mjs → Cq53M7bAUSXMNq1f.mjs} +22 -22
  68. package/node/esm/{BYsG3KYVmxSe_CIQ.mjs → Cr8AYWUoU-XVt0hu.mjs} +1 -1
  69. package/node/esm/CyuOE595I2e-U4cG.mjs +236 -0
  70. package/node/esm/D72CupF9mfy2D1Xa.mjs +94 -0
  71. package/node/esm/{DNSjK5DAH3M14Qbc.mjs → DGDHFK8okuVbRCe5.mjs} +1 -1
  72. package/node/esm/{B8SQfjKjzYHLxzZR.mjs → DJFkALt4XrwkMbnU.mjs} +163 -157
  73. package/node/esm/DJpwI8PlKBI2rk0r.mjs +319 -0
  74. package/node/esm/{DZzvTQxIKr9LbEsA.mjs → DQaGPUYbgL4Y5YZW.mjs} +32 -30
  75. package/node/esm/{D9rzScOA9pEYFrtz.mjs → DsNYnq4NtYBxPmeA.mjs} +20 -20
  76. package/node/esm/DygDgOpa9sJ6YFVS.mjs +385 -0
  77. package/node/esm/Dz0Hg87UcJ-awwiI.mjs +489 -0
  78. package/node/esm/M7YxvRPGCuxuk9aK.mjs +142 -0
  79. package/node/esm/QNjtpX8rIpqGGLEJ.mjs +1379 -0
  80. package/node/esm/{B_jRGdwGFkudwmL-.mjs → ZzvsynJTCSuChYS-.mjs} +1 -1
  81. package/node/esm/{ci8d-mF1H9wnYzix.mjs → di_8-pXh90j4BO4j.mjs} +1 -1
  82. package/node/esm/dm8dmEaTIqfmgyeL.mjs +412 -0
  83. package/node/esm/{D6oQL8knsPpgdXuk.mjs → fmya3XQnTGyQisvT.mjs} +2 -2
  84. package/node/esm/gPYAb_A0T5ZwcQ1E.mjs +318 -0
  85. package/node/esm/index.mjs +8915 -13417
  86. package/node/esm/wB8xMpyJ_NvE16yG.mjs +975 -0
  87. package/node/esm/zGAcd4Jr7wkvXDBS.mjs +197 -0
  88. package/package.json +9 -9
  89. package/resources/locales/de/groups.cmd.json +4 -0
  90. package/resources/locales/de/ui.msg.json +100 -1
  91. package/resources/locales/en/groups.cmd.json +4 -0
  92. package/resources/locales/en/ui.msg.json +100 -1
  93. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +4 -4
  94. package/types/src/anomalies/AnomaliesPlugin.d.ts +5 -0
  95. package/types/src/anomalies/AnomaliesTaskPane.d.ts +17 -0
  96. package/types/src/anomalies/index.d.ts +3 -0
  97. package/types/src/border/BorderPopupButton.d.ts +1 -1
  98. package/types/src/border/BorderTemplateIcon.d.ts +6 -1
  99. package/types/src/chart/ChartFormatPanel.d.ts +20 -0
  100. package/types/src/chart/ChartPlugin.d.ts +6 -0
  101. package/types/src/chart/index.d.ts +3 -0
  102. package/types/src/color/ColorPopupButton.d.ts +1 -1
  103. package/types/src/command/AccountingStyleCommandButton.d.ts +1 -1
  104. package/types/src/command/DocThemeCommandButton.d.ts +1 -1
  105. package/types/src/command/FontFamilyCommandButton.d.ts +1 -1
  106. package/types/src/command/FontSizeCommandButton.d.ts +1 -1
  107. package/types/src/command/InsertCellControlCommandButton.d.ts +17 -0
  108. package/types/src/command/LanguageCommandButton.d.ts +1 -1
  109. package/types/src/command/LocaleCommandButton.d.ts +1 -1
  110. package/types/src/command/index.d.ts +1 -0
  111. package/types/src/comments/CommentCard.d.ts +2 -2
  112. package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +1 -1
  113. package/types/src/conditions/ConditionEditor.d.ts +1 -1
  114. package/types/src/conditions/OperatorAndParamEditor.d.ts +1 -1
  115. package/types/src/conditions/OperatorSelectPopupButton.d.ts +1 -1
  116. package/types/src/conditions/useFormulaOption.d.ts +2 -2
  117. package/types/src/dialog/WorkbookStatisticsDialog.d.ts +1 -1
  118. package/types/src/fill/PatternPopupButton.d.ts +1 -1
  119. package/types/src/format/BorderPreview.d.ts +11 -4
  120. package/types/src/format/useFormatSelection.d.ts +4 -4
  121. package/types/src/formulaBar/IFormulaBar.d.ts +4 -2
  122. package/types/src/formulaBar/MobileFormulaBar.d.ts +18 -6
  123. package/types/src/formulaBar/MobileInputToolbar.d.ts +9 -3
  124. package/types/src/formulaBar/useFormulaBarSession.d.ts +6 -3
  125. package/types/src/index.d.ts +15 -6
  126. package/types/src/itemsPanel/ItemsPanel.d.ts +5 -0
  127. package/types/src/named/NamedDetailsPanel.d.ts +2 -2
  128. package/types/src/protection/ProtectedCellsPanel.d.ts +2 -2
  129. package/types/src/protection/{SheetProtectionPanel.d.ts → WorksheetProtectionPanel.d.ts} +6 -6
  130. package/types/src/protection/index.d.ts +1 -1
  131. package/types/src/slicer/PresetSlicerStylesCommandButton.d.ts +2 -2
  132. package/types/src/statusBar/PendingStatus.d.ts +19 -0
  133. package/types/src/statusBar/index.d.ts +1 -0
  134. package/types/src/studio/StudioProps.d.ts +10 -10
  135. package/types/src/template/TemplatePanel.d.ts +5 -1
  136. package/types/src/theme/ThemeSelectPopupButton.d.ts +1 -1
  137. package/types/src/toolbar/WorkbookToolbars.d.ts +1 -1
  138. package/types/src/workbook/DefaultRenderers.d.ts +31 -19
  139. package/types/src/workbook/WorkbookContextMenu.d.ts +4 -0
  140. package/types/src/workbook/WorkbookElement.d.ts +5 -4
  141. package/types/src/workbook/WorkbookStrip.d.ts +8 -7
  142. package/types/src/workbook/index.d.ts +1 -1
  143. package/browser/esm/Biy7bhzzzPb5sfRN.mjs +0 -152
  144. package/browser/esm/COv-m-c2byCgvU3M.mjs +0 -14861
  145. package/browser/esm/CtEFHbzYNvYjDYvi.mjs +0 -236
  146. package/browser/esm/Die9NXVFveHvcCT-.mjs +0 -4205
  147. package/browser/esm/sam1KGQZ59B_fADz.mjs +0 -1941
  148. package/node/esm/BYVLi0md4AYuDsB_.mjs +0 -236
  149. package/node/esm/BYwXhrEwkRAt9nJS.mjs +0 -71
  150. package/node/esm/Cmt8Wv806N7NmE4Y.mjs +0 -3344
@@ -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.10
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { t as e } from "./DmCQbW4zwkT_Rq88.mjs";
7
+ import { t as e } from "./DtPt0phL7m56YfHZ.mjs";
8
8
  import { ReactUtils as t } from "@sheetxl/utils-react";
9
9
  import { Component as n, PureComponent as r, memo as i, useCallback as a, useLayoutEffect as o, useState as s } from "react";
10
10
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.10
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { t as e } from "./Biy7bhzzzPb5sfRN.mjs";
8
- import { n as t } from "./fb126BNj3F8URR19.mjs";
7
+ import { n as e } from "./7fVZXXuonYb6Z7FU.mjs";
8
+ import { InputField as t } from "./index.mjs";
9
9
  import { useReferenceMode as n } from "@sheetxl/react";
10
10
  import { useCallbackRef as r, useTranslator as i } from "@sheetxl/utils-react";
11
11
  import { memo as a, useCallback as o, useMemo as s, useState as c } from "react";
@@ -86,7 +86,7 @@ var p = ["Ok", "Cancel"], m = a((a) => {
86
86
  range: "flex",
87
87
  flexDirection: "column"
88
88
  },
89
- children: [u(e, {
89
+ children: [u(t, {
90
90
  sx: { paddingTop: (e) => e.spacing(1.5) },
91
91
  formName: "name",
92
92
  defaultInput: E,
@@ -96,7 +96,7 @@ var p = ["Ok", "Cancel"], m = a((a) => {
96
96
  onFocus: (e) => {
97
97
  M || e.target?.select(), N(!0);
98
98
  }
99
- }), u(t, {
99
+ }), u(e, {
100
100
  grammar: "reference",
101
101
  formName: "range",
102
102
  value: A.displayValue,
@@ -0,0 +1,212 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { ICellRange as e } from "@sheetxl/sdk";
8
+ import { addRangeAnnotations as t, clearRangeAnnotations as n, useModelListener as r } from "@sheetxl/react";
9
+ import { DynamicIcon as i } from "@sheetxl/utils-react";
10
+ import { memo as a, useEffect as o, useState as s } from "react";
11
+ import { SimpleTooltip as c } from "@sheetxl/utils-mui";
12
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
13
+ import { Box as d, Button as f, Chip as p, IconButton as m, Typography as h } from "@mui/material";
14
+ var g = "anomalies", _ = {
15
+ formula: "Inconsistent formula",
16
+ formulaRange: "Omits adjacent cells",
17
+ numberStoredAsText: "Number stored as text",
18
+ emptyCellReference: "Refers to an empty cell",
19
+ unlockedFormula: "Unlocked formula",
20
+ hardcodeInRun: "Typed value in a run of formulas",
21
+ styleBreak: "Format break"
22
+ }, v = (e, t) => `'${e.getName().replace(/'/g, "''")}'!${t}`, y = (e) => {
23
+ let t = e.evidence, n = [];
24
+ return t.axis !== void 0 && n.push(t.axis === "row" ? "run left and right" : "run above and below"), t.expected !== void 0 && n.push(`run has ${t.expected}`), t.actual !== void 0 && n.push(`here ${t.actual}`), t.reference !== void 0 && n.push(`reads ${t.reference}`), t.omitted !== void 0 && n.push(`stops before ${t.omitted}`), Number(t.thickness) > 1 && n.push(`${t.thickness} thick`), Number(t.flanks) === 1 && n.push("one cell each side"), n.join(" · ");
25
+ }, b = a((a) => {
26
+ let { model: b, args: x, entryKey: S, frame: C, ref: w, ...T } = a, [E, D] = s(() => b?.getSelectedWorksheet() ?? null);
27
+ r(b, { onSheetsChange() {
28
+ D(b?.getSelectedWorksheet() ?? null);
29
+ } });
30
+ let [O, k] = s(null), [A, j] = s(() => /* @__PURE__ */ new Set()), [M, N] = s(0), [P, F] = s(E);
31
+ P !== E && (F(E), k(null), j(/* @__PURE__ */ new Set()));
32
+ let I = () => {
33
+ b && n(b, {
34
+ intent: "working",
35
+ source: g
36
+ });
37
+ };
38
+ if (o(() => I, [b]), !b || !E) return null;
39
+ let L = O?.filter((e) => !A.has(e.key)) ?? [], R = L.reduce((e, t) => e + t.rows * t.cols, 0);
40
+ return u(d, {
41
+ ref: w,
42
+ ...T,
43
+ className: "sxl-anomalies-pane",
44
+ sx: {
45
+ display: "flex",
46
+ flexDirection: "column",
47
+ width: "100%",
48
+ minWidth: 0,
49
+ flex: "1 1 auto",
50
+ height: "100%",
51
+ minHeight: 0,
52
+ overflowX: "hidden"
53
+ },
54
+ children: [u(d, {
55
+ sx: {
56
+ display: "flex",
57
+ alignItems: "center",
58
+ gap: 1,
59
+ flex: "0 0 auto",
60
+ px: 1.5,
61
+ py: 1,
62
+ borderBottom: 1,
63
+ borderColor: "divider"
64
+ },
65
+ children: [l(f, {
66
+ variant: "contained",
67
+ size: "small",
68
+ sx: { textTransform: "none" },
69
+ onClick: () => {
70
+ I();
71
+ let t = performance.now();
72
+ k(((t) => {
73
+ let n = t.getUsedRange();
74
+ return n ? [...n.getRegions(e.Feature.Anomalies)].map((e) => {
75
+ let t = e.getCoords();
76
+ return {
77
+ key: `${t.rowStart},${t.colStart},${t.rowEnd},${t.colEnd}`,
78
+ coords: t,
79
+ address: e.getAddress(),
80
+ rows: e.getRowCount(),
81
+ cols: e.getColumnCount(),
82
+ anomalies: e.getCell().getAnomalies()
83
+ };
84
+ }) : [];
85
+ })(E)), N(Math.round(performance.now() - t)), j(/* @__PURE__ */ new Set());
86
+ },
87
+ children: "Analyze"
88
+ }), l(h, {
89
+ variant: "body2",
90
+ sx: {
91
+ color: "text.secondary",
92
+ minWidth: 0,
93
+ overflow: "hidden",
94
+ textOverflow: "ellipsis",
95
+ whiteSpace: "nowrap"
96
+ },
97
+ children: O === null ? E.getName() : `${E.getName()} · ${L.length} regions · ${R} cells · ${M} ms`
98
+ })]
99
+ }), u(d, {
100
+ className: "sxl-anomalies-list",
101
+ sx: {
102
+ flex: "1 1 auto",
103
+ minHeight: 0,
104
+ overflowY: "auto",
105
+ display: "flex",
106
+ flexDirection: "column",
107
+ gap: 1,
108
+ p: 1.5
109
+ },
110
+ onMouseLeave: I,
111
+ children: [O === null ? l(h, {
112
+ variant: "body2",
113
+ sx: { color: "text.secondary" },
114
+ children: "Analyze lists where this sheet breaks its own patterns."
115
+ }) : L.length === 0 ? l(h, {
116
+ variant: "body2",
117
+ sx: { color: "text.secondary" },
118
+ children: "Nothing breaks a pattern here."
119
+ }) : null, L.map((e) => u(d, {
120
+ className: "sxl-anomalies-card",
121
+ onMouseEnter: () => ((e) => {
122
+ t(b, "working", [{ range: v(E, e.address) }], { source: g });
123
+ })(e),
124
+ onClick: () => {
125
+ E.getRange(e.coords).select();
126
+ },
127
+ sx: {
128
+ display: "flex",
129
+ flexDirection: "column",
130
+ gap: .5,
131
+ flex: "0 0 auto",
132
+ border: 1,
133
+ borderColor: "divider",
134
+ borderRadius: 1,
135
+ px: 1.25,
136
+ py: 1,
137
+ cursor: "pointer",
138
+ "&:hover": { borderColor: "primary.main" }
139
+ },
140
+ children: [u(d, {
141
+ sx: {
142
+ display: "flex",
143
+ alignItems: "center",
144
+ gap: 1
145
+ },
146
+ children: [
147
+ l(h, {
148
+ variant: "body2",
149
+ sx: { fontWeight: 600 },
150
+ children: e.address
151
+ }),
152
+ l(h, {
153
+ variant: "caption",
154
+ sx: { color: "text.secondary" },
155
+ children: `${e.rows}×${e.cols} · rank ${e.anomalies[0]?.rank ?? 0}`
156
+ }),
157
+ l(d, { sx: { flex: "1 1 auto" } }),
158
+ l(c, {
159
+ disableInteractive: !0,
160
+ title: "Dismiss",
161
+ children: l(m, {
162
+ size: "small",
163
+ "aria-label": "Dismiss",
164
+ onClick: (t) => {
165
+ t.stopPropagation(), I(), j((t) => new Set(t).add(e.key));
166
+ },
167
+ children: l(i, { iconKey: "Close" })
168
+ })
169
+ })
170
+ ]
171
+ }), e.anomalies.map((e, t) => {
172
+ let n = e.evidence.corroborated, r = e.evidence.layer;
173
+ return u(d, {
174
+ sx: {
175
+ display: "flex",
176
+ flexDirection: "column",
177
+ gap: .25
178
+ },
179
+ children: [
180
+ l(h, {
181
+ variant: "body2",
182
+ children: `${_[e.check] ?? e.check}${r ? ` · ${r}` : ""}`
183
+ }),
184
+ l(h, {
185
+ variant: "caption",
186
+ sx: {
187
+ color: "text.secondary",
188
+ overflowWrap: "anywhere"
189
+ },
190
+ children: y(e)
191
+ }),
192
+ Array.isArray(n) && n.length > 0 ? l(d, {
193
+ sx: {
194
+ display: "flex",
195
+ flexWrap: "wrap",
196
+ gap: .5
197
+ },
198
+ children: n.map((e) => l(p, {
199
+ size: "small",
200
+ variant: "outlined",
201
+ label: e
202
+ }, e))
203
+ }) : null
204
+ ]
205
+ }, t);
206
+ })]
207
+ }, e.key))]
208
+ })]
209
+ });
210
+ });
211
+ b.displayName = "AnomaliesTaskPane";
212
+ export { b as AnomaliesTaskPane, b as default };
@@ -1,11 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.10
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
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 { a as e, b as t, c as n, i as r, o as i, y as a } from "./sam1KGQZ59B_fADz.mjs";
8
- import { t as o } from "./5cbK03T_Oh3tNdR7.mjs";
7
+ import { n as e, r as t } from "./D5N4nGaZsXtrHAOh.mjs";
8
+ import { t as n } from "./u84rSnESjxqB6gay.mjs";
9
+ import { a as r, c as i, i as a, o } from "./BpJsBv413cNQpyg0.mjs";
9
10
  import { IFill as s, IStroke as c } from "@sheetxl/sdk";
10
11
  import { KeyCodes as l, useCallbackRef as u, useTranslator as d } from "@sheetxl/utils-react";
11
12
  import { memo as f, useCallback as p, useMemo as m } from "react";
@@ -54,14 +55,14 @@ var E = {
54
55
  1,
55
56
  1
56
57
  ]
57
- }, D = f((e) => {
58
- let { dash: t, color: n, darkMode: r } = e, i = Array.isArray(t) ? t : E[t] ?? null;
59
- return x(a, {
60
- styleColor: n,
58
+ }, D = f((t) => {
59
+ let { dash: n, color: r, darkMode: i } = t, a = Array.isArray(n) ? n : E[n] ?? null;
60
+ return x(e, {
61
+ styleColor: r,
61
62
  length: 60,
62
63
  width: 2,
63
- darkMode: r,
64
- dashArray: i ? i.map((e) => 2 * e) : void 0
64
+ darkMode: i,
65
+ dashArray: a ? a.map((e) => 2 * e) : void 0
65
66
  });
66
67
  });
67
68
  D.displayName = "DashIcon";
@@ -152,7 +153,7 @@ var j = (e) => {
152
153
  selected: _,
153
154
  disabled: m,
154
155
  parentFloat: p,
155
- createPopupPanel: (a) => x(C, {
156
+ renderPopupPanel: (a) => x(C, {
156
157
  sx: {
157
158
  display: "grid",
158
159
  gridTemplateColumns: `repeat(${o.length}, auto)`,
@@ -234,7 +235,7 @@ var j = (e) => {
234
235
  })
235
236
  }),
236
237
  tooltip: f ? `${f}: ${s[t.type]}` : s[t.type],
237
- createPopupPanel: b
238
+ renderPopupPanel: b
238
239
  });
239
240
  }, M = (e) => {
240
241
  let { value: t, options: n, onSelect: r, columns: i, tooltip: a, disabled: o, icon: s } = e, c = n.find((e) => e.value === t) ?? n[0], u = p((e) => {
@@ -305,7 +306,7 @@ var j = (e) => {
305
306
  children: s ?? c?.icon
306
307
  }),
307
308
  tooltip: a ? `${a}: ${c?.label ?? ""}` : c?.label,
308
- createPopupPanel: u
309
+ renderPopupPanel: u
309
310
  });
310
311
  }, N = "none", P = "solid", F = [
311
312
  c.DashStyle.Solid,
@@ -335,8 +336,8 @@ var j = (e) => {
335
336
  c.LineEndSize.Small,
336
337
  c.LineEndSize.Medium,
337
338
  c.LineEndSize.Large
338
- ], z = f((a) => {
339
- let { selection: l, disabled: f, className: p, ...h } = a, g = d(), { stroke: _, stated: v, autoColor: y, applyStroke: E, schemeLookup: O, styles: k, darkMode: A } = l, z = f || l.disabled, B = _.isVisible(), V = B ? P : N, H = v?.fill && v.fill.type !== s.Type.None ? _.getFill().getColor() : null, U = H ?? y, W = _.getDash(), G = typeof W == "string" && F.includes(W) ? W : I, K = _.getHead(), q = _.getTail(), J = u(() => k.recentColors(), [k]), Y = u((e) => {
339
+ ], z = f((e) => {
340
+ let { selection: l, disabled: f, className: p, ...h } = e, g = d(), { stroke: _, stated: v, autoColor: y, applyStroke: E, schemeLookup: O, styles: k, darkMode: A } = l, z = f || l.disabled, B = _.isVisible(), V = B ? P : N, H = v?.fill && v.fill.type !== s.Type.None ? _.getFill().getColor() : null, U = H ?? y, W = _.getDash(), G = typeof W == "string" && F.includes(W) ? W : I, K = _.getHead(), q = _.getTail(), J = u(() => k.recentColors(), [k]), Y = u((e) => {
340
341
  e !== V && E(e === N ? { fill: { type: s.Type.None } } : {
341
342
  fill: null,
342
343
  width: _.getWidth() > 0 ? void 0 : null
@@ -430,16 +431,16 @@ var j = (e) => {
430
431
  })]
431
432
  });
432
433
  return S(C, {
433
- className: o("sxl-format-line-panel", p),
434
- sx: n,
434
+ className: n("sxl-format-line-panel", p),
435
+ sx: i,
435
436
  ...h,
436
- children: [x(i, { children: $(g("line.type"), V, [N, P], {
437
+ children: [x(o, { children: $(g("line.type"), V, [N, P], {
437
438
  [N]: g("line.typeNone"),
438
439
  [P]: g("line.typeSolid")
439
440
  }, Y) }), B ? S(b, { children: [
440
- x(i, {
441
+ x(o, {
441
442
  label: g("line.color"),
442
- children: S(e, { children: [x(t, {
443
+ children: S(r, { children: [x(t, {
443
444
  icon: "stroke.colored",
444
445
  disabled: z,
445
446
  darkMode: A,
@@ -452,7 +453,7 @@ var j = (e) => {
452
453
  schemeLookup: O,
453
454
  recentColors: J
454
455
  }
455
- }), x(r, {
456
+ }), x(a, {
456
457
  label: g("line.width"),
457
458
  value: _.getWidth(),
458
459
  min: 0,
@@ -464,9 +465,9 @@ var j = (e) => {
464
465
  onChange: oe
465
466
  })] })
466
467
  }),
467
- x(i, {
468
+ x(o, {
468
469
  label: g("line.dashArrows"),
469
- children: S(e, { children: [
470
+ children: S(r, { children: [
470
471
  x(j, {
471
472
  end: K,
472
473
  atStart: !0,
@@ -505,9 +506,9 @@ var j = (e) => {
505
506
  })
506
507
  ] })
507
508
  }),
508
- x(i, {
509
+ x(o, {
509
510
  label: g("line.capJoin"),
510
- children: S(e, { children: [$(g("line.cap"), _.getLineCap(), re, Z.cap, ce, 128), $(g("line.join"), _.getLineJoin(), ie, Z.join, le, 128)] })
511
+ children: S(r, { children: [$(g("line.cap"), _.getLineCap(), re, Z.cap, ce, 128), $(g("line.join"), _.getLineJoin(), ie, Z.join, le, 128)] })
511
512
  })
512
513
  ] }) : null]
513
514
  });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { useMemo as e, version as t } from "react";
8
+ function n(e, t) {
9
+ if (typeof e == "function") return e(t);
10
+ e && (e.current = t);
11
+ }
12
+ var r = parseInt(t.split(".")[0], 10) >= 19 ? function(e) {
13
+ return (t) => {
14
+ let r = [];
15
+ for (let i of e) {
16
+ let e = n(i, t), a = typeof e == "function";
17
+ r.push(a ? e : () => n(i, null));
18
+ }
19
+ return () => {
20
+ for (let e of r) e();
21
+ };
22
+ };
23
+ } : function(e) {
24
+ return (t) => {
25
+ for (let r of e) n(r, t);
26
+ };
27
+ };
28
+ function i(t) {
29
+ return e(() => r(t), t);
30
+ }
31
+ export { i as n, r as t };
@@ -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.10
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
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 { a as e, i as t, n, r } from "./D6S8kVTzOjCn0-SK.mjs";
7
+ import { a as e, i as t, n, r } from "./Db3oHfXiRtcH015t.mjs";
8
8
  import { useTranslator as i } from "@sheetxl/utils-react";
9
9
  import { useCallback as a, useState as o } from "react";
10
10
  import { InternalWindow as s } 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. - v0.8.0-beta.10
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
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.