@sheetxl/studio-mui 0.4.13 → 0.4.15

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 (123) hide show
  1. package/browser/cjs/BNHQPLsVdLmkPgyG.cjs +6 -0
  2. package/browser/cjs/BUU_z9x81l1Qnv1t.cjs +6 -0
  3. package/browser/cjs/BX8hkPMsPd9PSv0Z.cjs +161 -0
  4. package/browser/cjs/BknKSPzyXctJohHb.cjs +6 -0
  5. package/browser/cjs/Blfxp7Ec3Yjx3gNU.cjs +6 -0
  6. package/browser/cjs/BqFEcpPZjpwULlZk.cjs +6 -0
  7. package/browser/cjs/C-pPuqiWtgMU4NgZ.cjs +15 -0
  8. package/browser/cjs/C9eqE9OnPkiI-5Zd.cjs +7 -0
  9. package/browser/cjs/CB6DGRkCA3BLDEFr.cjs +6 -0
  10. package/browser/cjs/CO4rZgb0ObTZh6NO.cjs +6 -0
  11. package/browser/cjs/CU900NraHPDHMGJt.cjs +18 -0
  12. package/browser/cjs/Cpo-h2pMpScosT7r.cjs +6 -0
  13. package/browser/cjs/Cq2L49XjSKiIAsND.cjs +11 -0
  14. package/browser/cjs/D9X3UXVH6b_NJFeo.cjs +12 -0
  15. package/browser/cjs/DZJO-_8PnMFRZMpg.cjs +6 -0
  16. package/browser/cjs/DmCCEKhedSOg163M.cjs +6 -0
  17. package/browser/cjs/DpZ5HlIMG95q2uIe.cjs +96 -0
  18. package/browser/cjs/DwLcsRl4-LumKl6l.cjs +42 -0
  19. package/browser/cjs/Dy2vYVhrEqTHdzfD.cjs +11 -0
  20. package/browser/cjs/Gj8MlEhOCg_o7idM.cjs +6 -0
  21. package/browser/cjs/IllnWqWVClWDW1ot.cjs +6 -0
  22. package/browser/cjs/J3xq71qTV9LqCUzu.cjs +145 -0
  23. package/browser/cjs/X9sJMKafafBPpNpK.cjs +16 -0
  24. package/browser/cjs/index.cjs +4 -10
  25. package/browser/cjs/klnhoS0cqBpCC5fo.cjs +7 -0
  26. package/browser/esm/BQNKKCtIvfOMph3T.mjs +2250 -0
  27. package/browser/esm/BiQfhG8JMHeWuT63.mjs +1672 -0
  28. package/browser/esm/Btyp6us1Vzz3ZfHk.mjs +13391 -0
  29. package/browser/esm/Bvr3QlWdnOSnskWL.mjs +392 -0
  30. package/browser/esm/CYpvNksOw1PyhLpA.mjs +52 -0
  31. package/browser/esm/CcZUaOkODU7h0onP.mjs +25 -0
  32. package/browser/esm/CnXUhdLB8blNUvSr.mjs +84 -0
  33. package/browser/esm/CwjVlrJJqEGZX6q2.mjs +52 -0
  34. package/browser/esm/D0v3VaJtA3LjHpWR.mjs +20816 -0
  35. package/browser/esm/D4DvAg7aaaWl0TPV.mjs +1467 -0
  36. package/browser/esm/DAZNeiMI9sOM-xd8.mjs +1366 -0
  37. package/browser/esm/DGUm6rEOgO8WrVtT.mjs +23 -0
  38. package/browser/esm/DGoy2q9hDB7kive6.mjs +44 -0
  39. package/browser/esm/DSCE3cCea5d5Ip-N.mjs +1703 -0
  40. package/browser/esm/DrTLuc1VQWQfDAej.mjs +59 -0
  41. package/browser/esm/DuzycndVID_eag8V.mjs +1352 -0
  42. package/browser/esm/FZoe4QJ2ecSD1pjB.mjs +43 -0
  43. package/browser/esm/HI5oLhcn8kfiky1k.mjs +3803 -0
  44. package/browser/esm/T2YlNqs-LGJBm08C.mjs +46 -0
  45. package/browser/esm/UCJVaz3qX1u53mgI.mjs +640 -0
  46. package/browser/esm/UWejV3W_nMwWqnxY.mjs +48 -0
  47. package/browser/esm/VpP_qw0lmgCaHdHR.mjs +153 -0
  48. package/browser/esm/YS19x3zzRUKQqXu_.mjs +2410 -0
  49. package/browser/esm/index.mjs +84 -8
  50. package/browser/esm/jqoS02EUPE2WEY1t.mjs +424 -0
  51. package/licenses/dependencies.txt +6 -6
  52. package/node/esm/{BO6cKQ_efCO2YTyW.mjs → 3htalFC0z5xbRnmH.mjs} +1 -1
  53. package/node/esm/{DKho7vhsoPr3NuMl.mjs → B-pzKiKMkbB9Es-9.mjs} +1 -1
  54. package/node/esm/{BZ8BYhQCAcmtqV_l.mjs → BFxzGj5sPFwrklFi.mjs} +3 -3
  55. package/node/esm/{DvKUmpzXvELOJbAq.mjs → BGYSS0lvjSMTtreq.mjs} +1 -1
  56. package/node/esm/{BxJ8RdpZW49RjtqB.mjs → BGZpuIQG7RsGY_HH.mjs} +1 -1
  57. package/node/esm/{BEWR_Oinb-P8gswu.mjs → BTnlaEz7yZqa7QHP.mjs} +1 -1
  58. package/node/esm/{DW7i1Qv4kcmwOTvD.mjs → BfUEFSGuAZXw2fvO.mjs} +1 -1
  59. package/node/esm/{BqcpB9wQAjq0QKR1.mjs → BiJ5CZBAxg4-QDHh.mjs} +1 -1
  60. package/node/esm/{nmVSg6Qpwj9V1oA0.mjs → Bnkt1wiWaLEq8xla.mjs} +1 -1
  61. package/node/esm/{-mcJjjdCwl8lh-eg.mjs → BwbOSLs2gcxOaV0i.mjs} +1 -1
  62. package/node/esm/{RpUFmc_WL9-PMYhx.mjs → CAWLE2N0nA-FjUkH.mjs} +1 -1
  63. package/node/esm/{uAAAbPd_k3kmgO5f.mjs → CSnI8PJEgxEQEj1B.mjs} +1 -1
  64. package/node/esm/{VnhwCsWDUmo5-K5N.mjs → CvYpf-Km1Rvg15q4.mjs} +1 -1
  65. package/node/esm/{BqsJ9biuGwjU2xgY.mjs → CxhzSvAqksnasp3g.mjs} +1 -1
  66. package/node/esm/{CdLN7JEivNllaQ6w.mjs → DCrdGvQ_vOB2o-ca.mjs} +1 -1
  67. package/node/esm/{CfO2Xok0ch8kylzr.mjs → DhGXQOOW9FBpgCqI.mjs} +1 -1
  68. package/node/esm/{CsPaYpANdd8Rpel-.mjs → DkhnVkboeZsdMJxH.mjs} +1 -1
  69. package/node/esm/{4WfRn0Og_yApP_Q8.mjs → DnMRqYWKDGXlNm42.mjs} +1 -1
  70. package/node/esm/{CQ1mTChRFSKFU2O1.mjs → DsS5U5rJ5tNVEGXs.mjs} +1 -1
  71. package/node/esm/{CcOchU9ZOmdG4JFr.mjs → DuyHq4Fs-_RQkwF_.mjs} +1 -1
  72. package/node/esm/{o-JVx3HFrRjVjKmi.mjs → FzVegyt0upYkLobF.mjs} +2 -2
  73. package/node/esm/{BPG7zfcXK20urqr_.mjs → imk332niB0MxWuGl.mjs} +5 -5
  74. package/node/esm/index.mjs +11 -11
  75. package/package.json +8 -8
  76. package/browser/cjs/34mwIxXhbXYv5xsc.cjs +0 -7
  77. package/browser/cjs/3OIgTi54FC0IBzyK.cjs +0 -7
  78. package/browser/cjs/B-Aq2h8aSDrc_0iZ.cjs +0 -7
  79. package/browser/cjs/BDhT8qcsUqUILki7.cjs +0 -7
  80. package/browser/cjs/BKJsMQHem8u-jMiR.cjs +0 -7
  81. package/browser/cjs/BO7LEbRChpLg-xKv.cjs +0 -7
  82. package/browser/cjs/BZR-qDCIYdiDtD-U.cjs +0 -7
  83. package/browser/cjs/BfE1_C2EpBrmB7bt.cjs +0 -7
  84. package/browser/cjs/Brij8vl9GntSQBer.cjs +0 -7
  85. package/browser/cjs/C61z_849Y2mg6eYL.cjs +0 -7
  86. package/browser/cjs/CaKjImRkCm3-QSAI.cjs +0 -7
  87. package/browser/cjs/Cw7iXqLfwZMRGb3J.cjs +0 -7
  88. package/browser/cjs/CwwItA5xvSx0QgDn.cjs +0 -7
  89. package/browser/cjs/DPTcPoZ3PiOOW7lp.cjs +0 -7
  90. package/browser/cjs/DhmN913n5MBAZsij.cjs +0 -7
  91. package/browser/cjs/DhoDW4ohnPkwiE_o.cjs +0 -7
  92. package/browser/cjs/Dj_PjsvImW3tjX0i.cjs +0 -7
  93. package/browser/cjs/Dl4WPIJFTvpCXOs3.cjs +0 -7
  94. package/browser/cjs/QCtfu4qn-ovJa_wL.cjs +0 -7
  95. package/browser/cjs/VQ4Cuzvkmtel1iE_.cjs +0 -7
  96. package/browser/cjs/VTMW1yjPzEJGyBmh.cjs +0 -7
  97. package/browser/cjs/hY59MepmKCIoN0hM.cjs +0 -7
  98. package/browser/cjs/pKp_fof7vGupYAM2.cjs +0 -7
  99. package/browser/cjs/t-9gaLqrOnGiw-3T.cjs +0 -7
  100. package/browser/esm/5U4XS5qxb3oJ33qK.mjs +0 -7
  101. package/browser/esm/BPMMuKIe5xb3-D8V.mjs +0 -7
  102. package/browser/esm/BXartMrqQuAXu0Qz.mjs +0 -7
  103. package/browser/esm/Bc8N72T3wtTApPEG.mjs +0 -7
  104. package/browser/esm/BjoQXBQuDry5Fgc_.mjs +0 -7
  105. package/browser/esm/BlUq84tk9v01SQgx.mjs +0 -7
  106. package/browser/esm/C5iuJTeAtknnUEIE.mjs +0 -7
  107. package/browser/esm/CN67iG3xuQhXAPad.mjs +0 -7
  108. package/browser/esm/CQgUOqCEwTc61uuT.mjs +0 -7
  109. package/browser/esm/Cq1DtQcbtmTtKOc4.mjs +0 -7
  110. package/browser/esm/Cqz35dsi-gZArS0S.mjs +0 -7
  111. package/browser/esm/D9wzPAaUYfW5yKFN.mjs +0 -7
  112. package/browser/esm/DRRzJ8Ep6_Tyd6ne.mjs +0 -7
  113. package/browser/esm/DSGJzNzS8OeMxUW1.mjs +0 -7
  114. package/browser/esm/DSIpyed_o2mrjd0r.mjs +0 -7
  115. package/browser/esm/DWgrVUwlK4kwFJn-.mjs +0 -7
  116. package/browser/esm/Dr6QLJSwckbF9K_u.mjs +0 -7
  117. package/browser/esm/DuSF-rjIFFvyCoo8.mjs +0 -7
  118. package/browser/esm/EiBc8VBUeU8VXEhw.mjs +0 -7
  119. package/browser/esm/R3CPiIXdp_rdc-Bw.mjs +0 -7
  120. package/browser/esm/eXqnYk6V-QI6pGI5.mjs +0 -7
  121. package/browser/esm/hdx26DrfopUuM4j1.mjs +0 -7
  122. package/browser/esm/oXfsh9SiDjQuu2ZE.mjs +0 -7
  123. package/browser/esm/zBIGDTI8z3bRbFxO.mjs +0 -7
@@ -0,0 +1,392 @@
1
+ import C, { memo as ne, useState as z, useRef as m, useCallback as re, useEffect as S } from "react";
2
+ /**
3
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
4
+ *
5
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
+ * License: The license can be found at https://www.sheetxl.com/license.
7
+ */
8
+ function we(e, t, r) {
9
+ return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
10
+ }
11
+ function ue(e, t) {
12
+ var r = Object.keys(e);
13
+ if (Object.getOwnPropertySymbols) {
14
+ var n = Object.getOwnPropertySymbols(e);
15
+ t && (n = n.filter(function(o) {
16
+ return Object.getOwnPropertyDescriptor(e, o).enumerable;
17
+ })), r.push.apply(r, n);
18
+ }
19
+ return r;
20
+ }
21
+ function ae(e) {
22
+ for (var t = 1; t < arguments.length; t++) {
23
+ var r = arguments[t] != null ? arguments[t] : {};
24
+ t % 2 ? ue(Object(r), !0).forEach(function(n) {
25
+ we(e, n, r[n]);
26
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ue(Object(r)).forEach(function(n) {
27
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
28
+ });
29
+ }
30
+ return e;
31
+ }
32
+ function le(e, t) {
33
+ (t == null || t > e.length) && (t = e.length);
34
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
35
+ return n;
36
+ }
37
+ function Oe(e, t, r) {
38
+ return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
39
+ }
40
+ function se(e, t) {
41
+ var r = Object.keys(e);
42
+ if (Object.getOwnPropertySymbols) {
43
+ var n = Object.getOwnPropertySymbols(e);
44
+ t && (n = n.filter(function(o) {
45
+ return Object.getOwnPropertyDescriptor(e, o).enumerable;
46
+ })), r.push.apply(r, n);
47
+ }
48
+ return r;
49
+ }
50
+ function de(e) {
51
+ for (var t = 1; t < arguments.length; t++) {
52
+ var r = arguments[t] != null ? arguments[t] : {};
53
+ t % 2 ? se(Object(r), !0).forEach(function(n) {
54
+ Oe(e, n, r[n]);
55
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : se(Object(r)).forEach(function(n) {
56
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
57
+ });
58
+ }
59
+ return e;
60
+ }
61
+ function R(e) {
62
+ return function t() {
63
+ for (var r = this, n = arguments.length, o = new Array(n), i = 0; i < n; i++) o[i] = arguments[i];
64
+ return o.length >= e.length ? e.apply(this, o) : function() {
65
+ for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++) u[f] = arguments[f];
66
+ return t.apply(r, [].concat(o, u));
67
+ };
68
+ };
69
+ }
70
+ function Y(e) {
71
+ return {}.toString.call(e).includes("Object");
72
+ }
73
+ function _(e) {
74
+ return typeof e == "function";
75
+ }
76
+ var k = R(function(e, t) {
77
+ throw new Error(e[t] || e.default);
78
+ })({ initialIsRequired: "initial state is required", initialType: "initial state should be an object", initialContent: "initial state shouldn't be an empty object", handlerType: "handler should be an object or a function", handlersType: "all handlers should be a functions", selectorType: "selector should be a function", changeType: "provided value of changes should be an object", changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state', default: "an unknown error accured in `state-local` package" }), je = function(e, t) {
79
+ return Y(t) || k("changeType"), Object.keys(t).some(function(r) {
80
+ return n = e, o = r, !Object.prototype.hasOwnProperty.call(n, o);
81
+ var n, o;
82
+ }) && k("changeField"), t;
83
+ }, Me = function(e) {
84
+ _(e) || k("selectorType");
85
+ }, Ee = function(e) {
86
+ _(e) || Y(e) || k("handlerType"), Y(e) && Object.values(e).some(function(t) {
87
+ return !_(t);
88
+ }) && k("handlersType");
89
+ }, Pe = function(e) {
90
+ var t;
91
+ e || k("initialIsRequired"), Y(e) || k("initialType"), t = e, Object.keys(t).length || k("initialContent");
92
+ };
93
+ function Se(e, t) {
94
+ return _(t) ? t(e.current) : t;
95
+ }
96
+ function ke(e, t) {
97
+ return e.current = de(de({}, e.current), t), t;
98
+ }
99
+ function xe(e, t, r) {
100
+ return _(t) ? t(e.current) : Object.keys(r).forEach(function(n) {
101
+ var o;
102
+ return (o = t[n]) === null || o === void 0 ? void 0 : o.call(t, e.current[n]);
103
+ }), r;
104
+ }
105
+ var X, Ie = function(e) {
106
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
107
+ Pe(e), Ee(t);
108
+ var r = { current: e }, n = R(xe)(r, t), o = R(ke)(r), i = R(je)(e), c = R(Se)(r);
109
+ return [function() {
110
+ var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(f) {
111
+ return f;
112
+ };
113
+ return Me(u), u(r.current);
114
+ }, function(u) {
115
+ (function() {
116
+ for (var f = arguments.length, g = new Array(f), O = 0; O < f; O++) g[O] = arguments[O];
117
+ return function(b) {
118
+ return g.reduceRight(function(E, P) {
119
+ return P(E);
120
+ }, b);
121
+ };
122
+ })(n, o, i, c)(u);
123
+ }];
124
+ }, pe = { configIsRequired: "the configuration object is required", configType: "the configuration object should be an object", default: "an unknown error accured in `@monaco-editor/loader` package", deprecation: `Deprecation warning!
125
+ You are using deprecated way of configuration.
126
+
127
+ Instead of using
128
+ monaco.config({ urls: { monacoBase: '...' } })
129
+ use
130
+ monaco.config({ paths: { vs: '...' } })
131
+
132
+ For more please check the link https://github.com/suren-atoyan/monaco-loader#config
133
+ ` }, fe = (X = function(e, t) {
134
+ throw new Error(e[t] || e.default);
135
+ }, function e() {
136
+ for (var t = this, r = arguments.length, n = new Array(r), o = 0; o < r; o++) n[o] = arguments[o];
137
+ return n.length >= X.length ? X.apply(this, n) : function() {
138
+ for (var i = arguments.length, c = new Array(i), u = 0; u < i; u++) c[u] = arguments[u];
139
+ return e.apply(t, [].concat(n, c));
140
+ };
141
+ })(pe), Te = function(e) {
142
+ var t;
143
+ return e || fe("configIsRequired"), t = e, {}.toString.call(t).includes("Object") || fe("configType"), e.urls ? (console.warn(pe.deprecation), { paths: { vs: e.urls.monacoBase } }) : e;
144
+ };
145
+ function he(e, t) {
146
+ return Object.keys(t).forEach(function(r) {
147
+ t[r] instanceof Object && e[r] && Object.assign(t[r], he(e[r], t[r]));
148
+ }), ae(ae({}, e), t);
149
+ }
150
+ var Ae = { type: "cancelation", msg: "operation is manually canceled" };
151
+ function Z(e) {
152
+ var t = !1, r = new Promise(function(n, o) {
153
+ e.then(function(i) {
154
+ return t ? o(Ae) : n(i);
155
+ }), e.catch(o);
156
+ });
157
+ return r.cancel = function() {
158
+ return t = !0;
159
+ }, r;
160
+ }
161
+ var ee, me = function(e) {
162
+ if (Array.isArray(e)) return e;
163
+ }(ee = Ie({ config: { paths: { vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs" } }, isInitialized: !1, resolve: null, reject: null, monaco: null })) || function(e) {
164
+ if (typeof Symbol < "u" && Symbol.iterator in Object(e)) {
165
+ var t = [], r = !0, n = !1, o = void 0;
166
+ try {
167
+ for (var i, c = e[Symbol.iterator](); !(r = (i = c.next()).done) && (t.push(i.value), t.length !== 2); r = !0) ;
168
+ } catch (u) {
169
+ n = !0, o = u;
170
+ } finally {
171
+ try {
172
+ r || c.return == null || c.return();
173
+ } finally {
174
+ if (n) throw o;
175
+ }
176
+ }
177
+ return t;
178
+ }
179
+ }(ee) || function(e) {
180
+ if (e) {
181
+ if (typeof e == "string") return le(e, 2);
182
+ var t = Object.prototype.toString.call(e).slice(8, -1);
183
+ return t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set" ? Array.from(e) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? le(e, 2) : void 0;
184
+ }
185
+ }(ee) || function() {
186
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
187
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
188
+ }(), N = me[0], $ = me[1];
189
+ function Ce(e) {
190
+ return document.body.appendChild(e);
191
+ }
192
+ function De(e) {
193
+ var t, r, n = N(function(i) {
194
+ return { config: i.config, reject: i.reject };
195
+ }), o = (t = "".concat(n.config.paths.vs, "/loader.js"), r = document.createElement("script"), t && (r.src = t), r);
196
+ return o.onload = function() {
197
+ return e();
198
+ }, o.onerror = n.reject, o;
199
+ }
200
+ function Ve() {
201
+ var e = N(function(r) {
202
+ return { config: r.config, resolve: r.resolve, reject: r.reject };
203
+ }), t = window.require;
204
+ t.config(e.config), t(["vs/editor/editor.main"], function(r) {
205
+ ye(r), e.resolve(r);
206
+ }, function(r) {
207
+ e.reject(r);
208
+ });
209
+ }
210
+ function ye(e) {
211
+ N().monaco || $({ monaco: e });
212
+ }
213
+ var te = new Promise(function(e, t) {
214
+ return $({ resolve: e, reject: t });
215
+ }), G = { config: function(e) {
216
+ var t = Te(e), r = t.monaco, n = function(o, i) {
217
+ if (o == null) return {};
218
+ var c, u, f = function(O, b) {
219
+ if (O == null) return {};
220
+ var E, P, x = {}, I = Object.keys(O);
221
+ for (P = 0; P < I.length; P++) E = I[P], b.indexOf(E) >= 0 || (x[E] = O[E]);
222
+ return x;
223
+ }(o, i);
224
+ if (Object.getOwnPropertySymbols) {
225
+ var g = Object.getOwnPropertySymbols(o);
226
+ for (u = 0; u < g.length; u++) c = g[u], i.indexOf(c) >= 0 || Object.prototype.propertyIsEnumerable.call(o, c) && (f[c] = o[c]);
227
+ }
228
+ return f;
229
+ }(t, ["monaco"]);
230
+ $(function(o) {
231
+ return { config: he(o.config, n), monaco: r };
232
+ });
233
+ }, init: function() {
234
+ var e = N(function(t) {
235
+ return { monaco: t.monaco, isInitialized: t.isInitialized, resolve: t.resolve };
236
+ });
237
+ if (!e.isInitialized) {
238
+ if ($({ isInitialized: !0 }), e.monaco) return e.resolve(e.monaco), Z(te);
239
+ if (window.monaco && window.monaco.editor) return ye(window.monaco), e.resolve(window.monaco), Z(te);
240
+ (function() {
241
+ for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n];
242
+ return function(o) {
243
+ return r.reduceRight(function(i, c) {
244
+ return c(i);
245
+ }, o);
246
+ };
247
+ })(Ce, De)(Ve);
248
+ }
249
+ return Z(te);
250
+ }, __getMonacoInstance: function() {
251
+ return N(function(e) {
252
+ return e.monaco;
253
+ });
254
+ } }, Le = { display: "flex", position: "relative", textAlign: "initial" }, Re = { width: "100%" }, qe = { display: "none" }, ze = { container: { display: "flex", height: "100%", width: "100%", justifyContent: "center", alignItems: "center" } }, _e = function({ children: e }) {
255
+ return C.createElement("div", { style: ze.container }, e);
256
+ }, ve = ne(function({ width: e, height: t, isEditorReady: r, loading: n, _ref: o, className: i, wrapperProps: c }) {
257
+ return C.createElement("section", { style: { ...Le, width: e, height: t }, ...c }, !r && C.createElement(_e, null, n), C.createElement("div", { ref: o, style: { ...Re, ...!r && qe }, className: i }));
258
+ }), oe = function(e) {
259
+ S(e, []);
260
+ }, j = function(e, t, r = !0) {
261
+ let n = m(!0);
262
+ S(n.current || !r ? () => {
263
+ n.current = !1;
264
+ } : e, t);
265
+ };
266
+ function q() {
267
+ }
268
+ function A(e, t, r, n) {
269
+ return i = n, (o = e).editor.getModel(ge(o, i)) || function(c, u, f, g) {
270
+ return c.editor.createModel(u, f, g ? ge(c, g) : void 0);
271
+ }(e, t, r, n);
272
+ var o, i;
273
+ }
274
+ function ge(e, t) {
275
+ return e.Uri.parse(t);
276
+ }
277
+ var Ue = ne(function({ original: e, modified: t, language: r, originalLanguage: n, modifiedLanguage: o, originalModelPath: i, modifiedModelPath: c, keepCurrentOriginalModel: u = !1, keepCurrentModifiedModel: f = !1, theme: g = "light", loading: O = "Loading...", options: b = {}, height: E = "100%", width: P = "100%", className: x, wrapperProps: I = {}, beforeMount: H = q, onMount: J = q }) {
278
+ let [w, D] = z(!1), [V, h] = z(!0), y = m(null), s = m(null), L = m(null), v = m(J), a = m(H), T = m(!1);
279
+ oe(() => {
280
+ let l = G.init();
281
+ return l.then((d) => (s.current = d) && h(!1)).catch((d) => d?.type !== "cancelation" && console.error("Monaco initialization: error:", d)), () => y.current ? function() {
282
+ let d = y.current?.getModel();
283
+ u || d?.original?.dispose(), f || d?.modified?.dispose(), y.current?.dispose();
284
+ }() : l.cancel();
285
+ }), j(() => {
286
+ if (y.current && s.current) {
287
+ let l = y.current.getOriginalEditor(), d = A(s.current, e || "", n || r || "text", i || "");
288
+ d !== l.getModel() && l.setModel(d);
289
+ }
290
+ }, [i], w), j(() => {
291
+ if (y.current && s.current) {
292
+ let l = y.current.getModifiedEditor(), d = A(s.current, t || "", o || r || "text", c || "");
293
+ d !== l.getModel() && l.setModel(d);
294
+ }
295
+ }, [c], w), j(() => {
296
+ let l = y.current.getModifiedEditor();
297
+ l.getOption(s.current.editor.EditorOption.readOnly) ? l.setValue(t || "") : t !== l.getValue() && (l.executeEdits("", [{ range: l.getModel().getFullModelRange(), text: t || "", forceMoveMarkers: !0 }]), l.pushUndoStop());
298
+ }, [t], w), j(() => {
299
+ y.current?.getModel()?.original.setValue(e || "");
300
+ }, [e], w), j(() => {
301
+ let { original: l, modified: d } = y.current.getModel();
302
+ s.current.editor.setModelLanguage(l, n || r || "text"), s.current.editor.setModelLanguage(d, o || r || "text");
303
+ }, [r, n, o], w), j(() => {
304
+ s.current?.editor.setTheme(g);
305
+ }, [g], w), j(() => {
306
+ y.current?.updateOptions(b);
307
+ }, [b], w);
308
+ let F = re(() => {
309
+ if (!s.current) return;
310
+ a.current(s.current);
311
+ let l = A(s.current, e || "", n || r || "text", i || ""), d = A(s.current, t || "", o || r || "text", c || "");
312
+ y.current?.setModel({ original: l, modified: d });
313
+ }, [r, t, o, e, n, i, c]), U = re(() => {
314
+ !T.current && L.current && (y.current = s.current.editor.createDiffEditor(L.current, { automaticLayout: !0, ...b }), F(), s.current?.editor.setTheme(g), D(!0), T.current = !0);
315
+ }, [b, g, F]);
316
+ return S(() => {
317
+ w && v.current(y.current, s.current);
318
+ }, [w]), S(() => {
319
+ !V && !w && U();
320
+ }, [V, w, U]), C.createElement(ve, { width: P, height: E, isEditorReady: w, loading: O, _ref: L, className: x, wrapperProps: I });
321
+ }), Be = function() {
322
+ let [e, t] = z(G.__getMonacoInstance());
323
+ return oe(() => {
324
+ let r;
325
+ return e || (r = G.init(), r.then((n) => {
326
+ t(n);
327
+ })), () => r?.cancel();
328
+ }), e;
329
+ }, B = /* @__PURE__ */ new Map(), Ne = ne(function({ defaultValue: e, defaultLanguage: t, defaultPath: r, value: n, language: o, path: i, theme: c = "light", line: u, loading: f = "Loading...", options: g = {}, overrideServices: O = {}, saveViewState: b = !0, keepCurrentModel: E = !1, width: P = "100%", height: x = "100%", className: I, wrapperProps: H = {}, beforeMount: J = q, onMount: w = q, onChange: D, onValidate: V = q }) {
330
+ let [h, y] = z(!1), [s, L] = z(!0), v = m(null), a = m(null), T = m(null), F = m(w), U = m(J), l = m(), d = m(n), be = function(p) {
331
+ let M = m();
332
+ return S(() => {
333
+ M.current = p;
334
+ }, [p]), M.current;
335
+ }(i), ie = m(!1), K = m(!1);
336
+ oe(() => {
337
+ let p = G.init();
338
+ return p.then((M) => (v.current = M) && L(!1)).catch((M) => M?.type !== "cancelation" && console.error("Monaco initialization: error:", M)), () => a.current ? (l.current?.dispose(), E ? b && B.set(i, a.current.saveViewState()) : a.current.getModel()?.dispose(), void a.current.dispose()) : p.cancel();
339
+ }), j(() => {
340
+ let p = A(v.current, e || n || "", t || o || "", i || r || "");
341
+ p !== a.current?.getModel() && (b && B.set(be, a.current?.saveViewState()), a.current?.setModel(p), b && a.current?.restoreViewState(B.get(i)));
342
+ }, [i], h), j(() => {
343
+ a.current?.updateOptions(g);
344
+ }, [g], h), j(() => {
345
+ !a.current || n === void 0 || (a.current.getOption(v.current.editor.EditorOption.readOnly) ? a.current.setValue(n) : n !== a.current.getValue() && (K.current = !0, a.current.executeEdits("", [{ range: a.current.getModel().getFullModelRange(), text: n, forceMoveMarkers: !0 }]), a.current.pushUndoStop(), K.current = !1));
346
+ }, [n], h), j(() => {
347
+ let p = a.current?.getModel();
348
+ p && o && v.current?.editor.setModelLanguage(p, o);
349
+ }, [o], h), j(() => {
350
+ u !== void 0 && a.current?.revealLine(u);
351
+ }, [u], h), j(() => {
352
+ v.current?.editor.setTheme(c);
353
+ }, [c], h);
354
+ let ce = re(() => {
355
+ if (T.current && v.current && !ie.current) {
356
+ U.current(v.current);
357
+ let p = i || r, M = A(v.current, n || e || "", t || o || "", p || "");
358
+ a.current = v.current?.editor.create(T.current, { model: M, automaticLayout: !0, ...g }, O), b && a.current.restoreViewState(B.get(p)), v.current.editor.setTheme(c), u !== void 0 && a.current.revealLine(u), y(!0), ie.current = !0;
359
+ }
360
+ }, [e, t, r, n, o, i, g, O, b, c, u]);
361
+ return S(() => {
362
+ h && F.current(a.current, v.current);
363
+ }, [h]), S(() => {
364
+ !s && !h && ce();
365
+ }, [s, h, ce]), d.current = n, S(() => {
366
+ h && D && (l.current?.dispose(), l.current = a.current?.onDidChangeModelContent((p) => {
367
+ K.current || D(a.current.getValue(), p);
368
+ }));
369
+ }, [h, D]), S(() => {
370
+ if (h) {
371
+ let p = v.current.editor.onDidChangeMarkers((M) => {
372
+ let Q = a.current.getModel()?.uri;
373
+ if (Q && M.find((W) => W.path === Q.path)) {
374
+ let W = v.current.editor.getModelMarkers({ resource: Q });
375
+ V?.(W);
376
+ }
377
+ });
378
+ return () => {
379
+ p?.dispose();
380
+ };
381
+ }
382
+ return () => {
383
+ };
384
+ }, [h, V]), C.createElement(ve, { width: P, height: x, isEditorReady: h, loading: f, _ref: T, className: I, wrapperProps: H });
385
+ }), Ye = Ne;
386
+ export {
387
+ Ue as DiffEditor,
388
+ Ne as Editor,
389
+ Ye as default,
390
+ G as loader,
391
+ Be as useMonaco
392
+ };
@@ -0,0 +1,52 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { memo as E, useMemo as M, useState as h, useCallback as j } from "react";
3
+ import { Box as S, FormControl as V, TextField as $ } from "@mui/material";
4
+ import { T as m, D as z, a as C } from "./D0v3VaJtA3LjHpWR.mjs";
5
+ import { alpha as O } from "@mui/system";
6
+ /**
7
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
8
+ *
9
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
+ * License: The license can be found at https://www.sheetxl.com/license.
11
+ */
12
+ const G = ["Ok", "Cancel"], q = E((F) => {
13
+ const { initialComments: T = null, onUpdateComments: u, context: k, onOption: d, onValidateOption: p, onDone: r, options: g = G, defaultOption: c = g?.[0], cancelOption: s = "Cancel", sx: w, ...y } = F, f = M(() => {
14
+ const t = T ?? k?.()?.getComments();
15
+ let n = "";
16
+ if (t && t.content && t.content.runs) {
17
+ const e = t.content.runs;
18
+ for (let i = 0; i < e.length; i++) {
19
+ const a = e[i];
20
+ n += a?.text;
21
+ }
22
+ }
23
+ return n;
24
+ }, []), [o, D] = h(f), [P, b] = h(!1), x = j(async (t, n) => null, []), v = m(async (t) => {
25
+ const n = o === "" ? [] : o.split(`
26
+ `);
27
+ if (t !== s) {
28
+ const e = [];
29
+ for (let a = 0; a < n.length; a++) e.push({ text: n[a] });
30
+ u?.({ content: { runs: e } });
31
+ }
32
+ d?.(t, t === s, t === c), r?.();
33
+ }, [o, u, r, d, c, s]), I = m((t) => {
34
+ D(t.target.value), x(t.target.value, null);
35
+ }, [p]), B = m(async (t) => {
36
+ let n = await Promise.resolve(p?.(t));
37
+ try {
38
+ n !== !1 && (n = await x(o, t));
39
+ } catch {
40
+ }
41
+ return n ?? !0;
42
+ }, [p, o]);
43
+ return l(z, { title: (f ? "Edit" : "Insert") + " Comments", options: g, onDone: r, onOption: (t) => v(t), onValidateOption: B, defaultOption: c, cancelOption: s, autoFocusSel: ".autoFocus", sx: { width: "480px", ...w }, ...y, children: l(S, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0), rowGap: (t) => t.spacing(1), display: "flex", flexDirection: "column" }, children: l(V, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: l($, { label: "Comments", placeholder: "Enter a comment.", onFocus: (t) => {
44
+ P || t.target?.select(), b(!0);
45
+ }, sx: { "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${O("#fff", C(5))}, ${O("#fff", C(5))})` } } }, value: o, onChange: I, onContextMenu: (t) => {
46
+ t.stopPropagation();
47
+ } }) }) }) });
48
+ });
49
+ export {
50
+ q as CommentsDialog,
51
+ q as default
52
+ };
@@ -0,0 +1,25 @@
1
+ import { jsx as n, jsxs as u } from "react/jsx-runtime";
2
+ import { useState as v } from "react";
3
+ import { Box as O, FormControlLabel as a, Checkbox as s } from "@mui/material";
4
+ import { Sort as l, IRange as r } from "@sheetxl/sdk";
5
+ import { T as b, D as S } from "./D0v3VaJtA3LjHpWR.mjs";
6
+ /**
7
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
8
+ *
9
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
+ * License: The license can be found at https://www.sheetxl.com/license.
11
+ */
12
+ const k = ({ range: p, options: c, cell: m, onDone: d, ...C }) => {
13
+ const [o, t] = v(c ?? l.DefaultRangeOptions), h = b((e) => {
14
+ let i = null;
15
+ e === "Sort" && (i = { ...c, options: o }), d?.(i);
16
+ }, [o, d, c]);
17
+ return n(S, { title: "Sort", options: ["Sort", "Cancel"], onDone: h, ...C, children: u(O, { sx: { display: "flex", flexDirection: "column" }, children: [n(a, { control: n(s, { checked: !o.reverse, onChange: () => t((e) => ({ ...e, reverse: !e.reverse })) }), label: "Is Ascending", labelPlacement: "end" }), n(a, { control: n(s, { checked: o.hasHeader, onChange: () => t((e) => ({ ...e, hasHeader: !e.hasHeader })) }), label: "Has Header", labelPlacement: "end" }), n(a, { control: n(s, { checked: o.collatorOptions?.sensitivity === l.CaseSensitiveOptions.sensitivity, onChange: () => t((e) => ({ ...e, collatorOptions: o.collatorOptions?.sensitivity === l.CaseSensitiveOptions.sensitivity ? l.CaseInsensitiveOptions : l.CaseSensitiveOptions })) }), label: "Case Sensitive", labelPlacement: "end" }), n(a, { control: n(s, { checked: o.orientation === r.Orientation.Row, onChange: () => t((e) => {
18
+ const i = e.orientation === r.Orientation.Row ? r.Orientation.Column : r.Orientation.Row;
19
+ return { ...p.getDefaultSortCriteria(i, m).options, includeHidden: e.includeHidden, reverse: e.reverse, orientation: i };
20
+ }) }), label: "Row Sort", labelPlacement: "end" }), n(a, { control: n(s, { checked: o.includeHidden, onChange: () => t((e) => ({ ...e, includeHidden: !e.includeHidden })) }), label: "Include Hidden", labelPlacement: "end" })] }) });
21
+ };
22
+ export {
23
+ k as SortDialog,
24
+ k as default
25
+ };
@@ -0,0 +1,84 @@
1
+ import { Workbook as J } from "@sheetxl/sdk";
2
+ /**
3
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
4
+ *
5
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
+ * License: The license can be found at https://www.sheetxl.com/license.
7
+ */
8
+ const k = async (w, l) => {
9
+ const u = await w.toJSON(), b = l?.whiteSpace ?? 0;
10
+ let g;
11
+ l?.beforeWrite?.(w, u), g = b === 0 ? JSON.stringify(u) : function(f, r = 2) {
12
+ const n = [];
13
+ function i(o) {
14
+ const e = r * o;
15
+ return n[e] === void 0 && (n[e] = " ".repeat(e)), n[e];
16
+ }
17
+ return function o(e, a, s, m) {
18
+ if (e == null || typeof e != "object") return JSON.stringify(e);
19
+ const d = i(a), O = i(a + 1);
20
+ if (Array.isArray(e)) {
21
+ const c = e.length;
22
+ if (c === 0) return "[]";
23
+ if (s !== 0) return JSON.stringify(e);
24
+ let y = `[
25
+ `;
26
+ for (let h = 0; h < c; h++) y += O + o(e[h], a + 1, s + 1, !0), h < c - 1 && (y += `,
27
+ `);
28
+ return y += `
29
+ ` + d + "]", y;
30
+ }
31
+ const B = Object.keys(e), A = B.length;
32
+ if (A === 0) return "{}";
33
+ if (!(s < 2)) return JSON.stringify(e);
34
+ let S = `{
35
+ `;
36
+ m || (s = 0);
37
+ for (let c = 0; c < A; c++) {
38
+ const y = B[c];
39
+ S += O + JSON.stringify(y) + ": " + o(e[y], a + 1, s, !1), c < A - 1 && (S += `,
40
+ `);
41
+ }
42
+ return S += `
43
+ ` + d + "}", S;
44
+ }(f, 0, 0, !1);
45
+ }(u, b);
46
+ let p = new TextEncoder().encode(g).buffer;
47
+ const t = l?.compress ?? !0;
48
+ return t && (p = await async function(f, r = "gzip") {
49
+ let n;
50
+ typeof SharedArrayBuffer < "u" && f instanceof SharedArrayBuffer ? (n = new ArrayBuffer(f.byteLength), new Uint8Array(n).set(new Uint8Array(f))) : n = f;
51
+ const i = new ReadableStream({ start(a) {
52
+ a.enqueue(n), a.close();
53
+ } }), o = new CompressionStream(r), e = i.pipeThrough(o);
54
+ return (await new Response(e).blob()).arrayBuffer();
55
+ }(p, typeof t == "string" ? t : void 0)), p;
56
+ }, z = async (w, l) => {
57
+ let u = w;
58
+ (function(t) {
59
+ if (t.byteLength < 4) return !1;
60
+ const f = new Uint8Array(t), r = { gzip: [31, 139], zip: [80, 75, 3, 4], bz2: [66, 90, 104], br: [206, 178, 207, 129] }, n = Object.keys(r);
61
+ for (let i = 0; i < n.length; i++) {
62
+ const o = n[i], e = r[o];
63
+ let a = !0;
64
+ for (let s = 0; s < e.length; s++) if (f[s] !== e[s]) {
65
+ a = !1;
66
+ break;
67
+ }
68
+ if (a) return o;
69
+ }
70
+ return !1;
71
+ })(u) && (u = await async function(t, f = "gzip") {
72
+ let r;
73
+ typeof SharedArrayBuffer < "u" && t instanceof SharedArrayBuffer ? (r = new ArrayBuffer(t.byteLength), new Uint8Array(r).set(new Uint8Array(t))) : r = t;
74
+ const n = new Blob([r]).stream(), i = new DecompressionStream(f), o = n.pipeThrough(i);
75
+ return (await new Response(o).blob()).arrayBuffer();
76
+ }(u));
77
+ let b = new TextDecoder().decode(u);
78
+ const g = JSON.parse(b), p = { ...l?.createWorkbookOptions ?? {}, json: g };
79
+ return new J(p);
80
+ };
81
+ export {
82
+ z as fromBufferJSON,
83
+ k as toBufferJSON
84
+ };
@@ -0,0 +1,52 @@
1
+ import { jsx as t, jsxs as y } from "react/jsx-runtime";
2
+ import { memo as G, useState as x, useCallback as O, useEffect as H, useMemo as S } from "react";
3
+ import { Box as w, FormControl as P, InputLabel as K, Select as q, TextField as A, Typography as D, MenuItem as J } from "@mui/material";
4
+ import { NumberFormat as n } from "@sheetxl/sdk";
5
+ import { T as l, e as Q, D as U, a as p } from "./D0v3VaJtA3LjHpWR.mjs";
6
+ import { alpha as c } from "@mui/system";
7
+ /**
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
9
+ *
10
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
+ * License: The license can be found at https://www.sheetxl.com/license.
12
+ */
13
+ const X = ["Ok", "Cancel"], te = G((I) => {
14
+ const { initialValue: $, context: h, onOption: b, onValidateOption: u, onInputOption: C, onDone: m, options: T = X, defaultOption: i = T?.[0], cancelOption: d = "Cancel", sx: N, ...M } = I, [a, v] = x($), [V, j] = x(!1), g = O(async (e, o) => !0, []), f = l(async (e) => {
15
+ C?.(a, e), b?.(e, e === d, e === i), m?.();
16
+ }, [a, C, m, b, d, i]), B = l(async (e) => {
17
+ e.keyCode === Q.Enter && await g?.(a, null) !== !1 && f(i);
18
+ }, [a, f]), L = l((e) => {
19
+ v(e.target.value), g?.(e.target.value, null);
20
+ }, [u]), z = l(async (e) => {
21
+ let o = await Promise.resolve(u?.(e));
22
+ try {
23
+ o !== !1 && (o = await Promise.resolve(g?.(a, e)) ?? !0);
24
+ } catch {
25
+ }
26
+ return o ?? !0;
27
+ }, [u]), [k, F] = x(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
28
+ H(() => {
29
+ F(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
30
+ }, [a]);
31
+ const E = S(() => {
32
+ const e = n.Styles.lookupPrimary(), o = (r) => t(J, { value: r, children: r }, r), s = Object.keys(e).map((r) => o(e[r].formatType));
33
+ return s.push(o(n.Type.Custom)), s;
34
+ }, []), R = O((e) => {
35
+ const o = e.target.value;
36
+ F(o);
37
+ const s = n.Styles.lookupDefault(o);
38
+ s && v(s);
39
+ }, []), W = S(() => {
40
+ const e = h();
41
+ return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
42
+ }, [k, a, h]);
43
+ return t(U, { title: "Number Format", options: T, onDone: m, onOption: (e) => f(e), onValidateOption: z, defaultOption: i, cancelOption: d, autoFocusSel: ".autoFocus", sx: { width: "580px", ...N }, ...M, children: y(w, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [y(P, { sx: { minWidth: 135 }, size: "small", children: [t(K, { children: "Category" }), t(q, { value: k, label: "Category", onChange: R, sx: { backgroundImage: `linear-gradient(${c("#fff", p(5))}, ${c("#fff", p(5))})` }, children: E })] }), t(P, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(A, { label: "Code", onFocus: (e) => {
44
+ V || e.target?.select(), j(!0);
45
+ }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", p(5))}, ${c("#fff", p(5))})` } } }, value: a, onChange: L, onKeyDown: B, onContextMenu: (e) => {
46
+ e.stopPropagation();
47
+ } }) }), y(w, { children: [t(D, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t(D, { variant: "body2", component: "div", sx: { borderRadius: (e) => `${e.shape.borderRadius}px`, padding: (e) => e.spacing(1), border: (e) => `1px solid ${e.palette.grey[400]}` }, children: W.getNumberFormat().displayText || "(empty)" })] })] }) });
48
+ });
49
+ export {
50
+ te as NumberFormatDialog,
51
+ te as default
52
+ };