@sheetxl/studio-mui 0.1.98

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 (178) hide show
  1. package/LICENSE.md +11 -0
  2. package/README.md +24 -0
  3. package/build/browser/cjs/4XrhSt2xtUIXkiCt.cjs +1516 -0
  4. package/build/browser/cjs/B3EvhaQf456RMc1Q.cjs +6 -0
  5. package/build/browser/cjs/B3kl467PN2cpvrfz.cjs +12 -0
  6. package/build/browser/cjs/B5LCoenQbQmzic16.cjs +314 -0
  7. package/build/browser/cjs/BBuyHZwFlDRvHzBH.cjs +7 -0
  8. package/build/browser/cjs/BGoG_ROASNB2owBR.cjs +28 -0
  9. package/build/browser/cjs/BJ6Da8vZLjAl44pz.cjs +6 -0
  10. package/build/browser/cjs/BL_UVvG75SFsFaT3.cjs +6 -0
  11. package/build/browser/cjs/BNDoTytIOGtVh5l9.cjs +6 -0
  12. package/build/browser/cjs/BQOyVCuOdwDja_VV.cjs +42 -0
  13. package/build/browser/cjs/BRiPktKUmeJipjaa.cjs +6 -0
  14. package/build/browser/cjs/BabbNVs5iKg49rfk.cjs +6 -0
  15. package/build/browser/cjs/BcOX5vODdThWbKrR.cjs +6 -0
  16. package/build/browser/cjs/BchlMljYmXDs0Ol2.cjs +6 -0
  17. package/build/browser/cjs/BmYZvm13acvbFhOu.cjs +6 -0
  18. package/build/browser/cjs/BmbsW1n0-CkF3ITF.cjs +6 -0
  19. package/build/browser/cjs/BnCUyGP_ERKmL3ZR.cjs +6 -0
  20. package/build/browser/cjs/BtP4E1_yhMjpfbr5.cjs +6 -0
  21. package/build/browser/cjs/C3E9wmSfmgYmXfJN.cjs +205 -0
  22. package/build/browser/cjs/C3Hl78e9qfEHxJYc.cjs +6 -0
  23. package/build/browser/cjs/CEvRH8aOx3etutK_.cjs +17 -0
  24. package/build/browser/cjs/CLZSdaBnKDfb142R.cjs +6 -0
  25. package/build/browser/cjs/CN1cS39WcNrcPVqS.cjs +129 -0
  26. package/build/browser/cjs/CSH1hUnHovjo8Lb8.cjs +6 -0
  27. package/build/browser/cjs/CTNt3asYQRA-MROc.cjs +47 -0
  28. package/build/browser/cjs/C_JZEtvgcli6T7Wg.cjs +11 -0
  29. package/build/browser/cjs/CbaYZmvS8u-p_Z8Z.cjs +6 -0
  30. package/build/browser/cjs/Cc-4c3DRm96wq5rj.cjs +12 -0
  31. package/build/browser/cjs/CnY6DbatGmPyylfU.cjs +20 -0
  32. package/build/browser/cjs/CqkQGfzNax6GmZFo.cjs +6 -0
  33. package/build/browser/cjs/D2AF0a4vbNKzFxzA.cjs +21 -0
  34. package/build/browser/cjs/D4y1iYdx8sdwQ50T.cjs +6 -0
  35. package/build/browser/cjs/D5cF1EnyvnPY2IxS.cjs +150 -0
  36. package/build/browser/cjs/DA1-OPTYQTepGKEg.cjs +11 -0
  37. package/build/browser/cjs/DJDMVDpUqlEKYLjt.cjs +6 -0
  38. package/build/browser/cjs/DLXLJ8SNNjwM5C-P.cjs +6 -0
  39. package/build/browser/cjs/DV8lOsZBgyx7MTBW.cjs +6 -0
  40. package/build/browser/cjs/DZAPn_d9mpvfRzsb.cjs +6 -0
  41. package/build/browser/cjs/DaicqO_9d1hYzyB_.cjs +11 -0
  42. package/build/browser/cjs/Dfh6eMCbAjW14fdh.cjs +6 -0
  43. package/build/browser/cjs/DhI2lgDZL8GqBejN.cjs +6 -0
  44. package/build/browser/cjs/Ds6s8fpzOZsd2m1r.cjs +6 -0
  45. package/build/browser/cjs/DvIWGmDT5uBVQ5zH.cjs +16 -0
  46. package/build/browser/cjs/DvLgu20RiaayrJcW.cjs +7 -0
  47. package/build/browser/cjs/Dvhwt25gyHzxQLrp.cjs +6 -0
  48. package/build/browser/cjs/DvwApJM_CVrlpLxn.cjs +6 -0
  49. package/build/browser/cjs/DwVYzo4a05DMfta_.cjs +28 -0
  50. package/build/browser/cjs/NYdqUauA5i2q33UZ.cjs +6 -0
  51. package/build/browser/cjs/S2Xfq-KDgoT7ipPC.cjs +25 -0
  52. package/build/browser/cjs/TOZQZr9ZZ_Q-jdQZ.cjs +6 -0
  53. package/build/browser/cjs/bJuLOalXTwrshZL3.cjs +16 -0
  54. package/build/browser/cjs/eh9refYW4Gm25cmW.cjs +6 -0
  55. package/build/browser/cjs/hKqcVeb_8_4M79xj.cjs +6 -0
  56. package/build/browser/cjs/index.cjs +7 -0
  57. package/build/browser/cjs/is17hbP-kpOIBRP3.cjs +6 -0
  58. package/build/browser/cjs/pNY789kHWwRQXqse.cjs +17 -0
  59. package/build/browser/cjs/qJcc3ALtLWml32LU.cjs +18 -0
  60. package/build/browser/cjs/vWgVoELLfZ2ff1xL.cjs +6 -0
  61. package/build/browser/esm/2kwF7RVUWBY1zsgG.mjs +16 -0
  62. package/build/browser/esm/7Imk0owJj7oNHR7v.mjs +48 -0
  63. package/build/browser/esm/AuNwPf0DXe0twn35.mjs +1592 -0
  64. package/build/browser/esm/B1Kw9U_AxCk0Aq9f.mjs +59 -0
  65. package/build/browser/esm/B9l1_Tfw_tMhKCNB.mjs +437 -0
  66. package/build/browser/esm/B9winT3ff8rc4sbn.mjs +490 -0
  67. package/build/browser/esm/BEo9XX1sHmVjScSm.mjs +16 -0
  68. package/build/browser/esm/BGTcOBCyrTTlov_i.mjs +13399 -0
  69. package/build/browser/esm/BMGddfMXtKQ9AXQS.mjs +16 -0
  70. package/build/browser/esm/BQSa7N7QMGysdZdU.mjs +3932 -0
  71. package/build/browser/esm/BVEuc_3fLG2GN34k.mjs +16 -0
  72. package/build/browser/esm/BVh9YUwiSov8wcyY.mjs +1708 -0
  73. package/build/browser/esm/BZt5yM_TvoPXqdeA.mjs +3867 -0
  74. package/build/browser/esm/BfU8KdaB9wrEPWM-.mjs +16 -0
  75. package/build/browser/esm/BjUaiSvRZnas-HJW.mjs +16 -0
  76. package/build/browser/esm/BqiVaoAYJJqPrCUZ.mjs +16 -0
  77. package/build/browser/esm/BtMqJ5CRpKuAC4UQ.mjs +1486 -0
  78. package/build/browser/esm/BwvMR2cgGwFn8hAL.mjs +36 -0
  79. package/build/browser/esm/BxU3eVA-Adrnq7ZJ.mjs +1372 -0
  80. package/build/browser/esm/C00coampLNiXjWJJ.mjs +436 -0
  81. package/build/browser/esm/C6nh1rvYnAg2w2V2.mjs +838 -0
  82. package/build/browser/esm/C8gc149K34Zi2lP2.mjs +16 -0
  83. package/build/browser/esm/CGSkuCZY1EmTUNlQ.mjs +52 -0
  84. package/build/browser/esm/CKXzosgZX8Xe3l59.mjs +16 -0
  85. package/build/browser/esm/CNYANG0Z7mhGYo00.mjs +859 -0
  86. package/build/browser/esm/CV_FNw2i_aEc5nwA.mjs +16 -0
  87. package/build/browser/esm/CYSj0-zys2FKWgnb.mjs +18 -0
  88. package/build/browser/esm/CbTs5cvVaP1vPCYD.mjs +2248 -0
  89. package/build/browser/esm/CfAob8gGydmX1xQu.mjs +16 -0
  90. package/build/browser/esm/ChGigf2OPu7d44Km.mjs +16 -0
  91. package/build/browser/esm/CnzGN0S6zOfL_3SS.mjs +1358 -0
  92. package/build/browser/esm/CpyeUtXgDmrcMESB.mjs +52 -0
  93. package/build/browser/esm/CrEGjvQKhAcdw5sY.mjs +16 -0
  94. package/build/browser/esm/CtrrmHx9YbrOithw.mjs +152 -0
  95. package/build/browser/esm/CzAM0pDdZ7sjGgn9.mjs +86 -0
  96. package/build/browser/esm/D0oVDcgRUMZ9MHzu.mjs +41 -0
  97. package/build/browser/esm/D54Fpmnd9MzCzp-Z.mjs +16 -0
  98. package/build/browser/esm/D78-3ghInxscHLVq.mjs +23 -0
  99. package/build/browser/esm/DEpR6b4DMs-va6RS.mjs +43734 -0
  100. package/build/browser/esm/DEsqE49cIQZ8AqCe.mjs +398 -0
  101. package/build/browser/esm/DGe70xvBhc62ZVZz.mjs +2410 -0
  102. package/build/browser/esm/DXapJ5_yR4E8vDaK.mjs +1685 -0
  103. package/build/browser/esm/DjAZeDxBIBZsRTm3.mjs +24 -0
  104. package/build/browser/esm/DttdPwwDTcRX4uwL.mjs +44 -0
  105. package/build/browser/esm/FXcO0MVElhw9cc3v.mjs +49 -0
  106. package/build/browser/esm/GpycqJcrwTRtjEqA.mjs +16 -0
  107. package/build/browser/esm/HCE-tMxyVd0m-PgN.mjs +16 -0
  108. package/build/browser/esm/OCdyQRicV8KxUwMt.mjs +16 -0
  109. package/build/browser/esm/UukTgmLv7or2mhlB.mjs +16 -0
  110. package/build/browser/esm/_cuE13TWr3oEoKGP.mjs +34 -0
  111. package/build/browser/esm/aIlK3Ybu-1T4WHPv.mjs +640 -0
  112. package/build/browser/esm/bFSkTthAEOn7gv5x.mjs +16 -0
  113. package/build/browser/esm/bOhN6up-rdLRp82s.mjs +5588 -0
  114. package/build/browser/esm/index.mjs +85 -0
  115. package/build/browser/esm/ng3JdG4_hi9SgtHk.mjs +16 -0
  116. package/build/browser/esm/o6U2z4gZ7GE4QKZD.mjs +16 -0
  117. package/build/browser/esm/psav3cvsBQQczhPL.mjs +16 -0
  118. package/build/browser/esm/vn0iS301yg2hAbYd.mjs +51 -0
  119. package/build/licenses/dependencies.txt +1341 -0
  120. package/build/node/assets/style.css +1 -0
  121. package/build/node/esm/2kwF7RVUWBY1zsgG.mjs +16 -0
  122. package/build/node/esm/B-Xlyl81h27-bnvO.mjs +16 -0
  123. package/build/node/esm/B1_NYsn5D8x9QedP.mjs +307 -0
  124. package/build/node/esm/BCA5bxOeDA8k1Bm1.mjs +16 -0
  125. package/build/node/esm/BEo9XX1sHmVjScSm.mjs +16 -0
  126. package/build/node/esm/BIfdVpnJR1TZwCPR.mjs +1378 -0
  127. package/build/node/esm/BIqDzNJtkm-dyH0v.mjs +154 -0
  128. package/build/node/esm/BMGddfMXtKQ9AXQS.mjs +16 -0
  129. package/build/node/esm/BUOdfqhtCh8lhOhm.mjs +4000 -0
  130. package/build/node/esm/BYbE15S73xgn7S5E.mjs +88 -0
  131. package/build/node/esm/BfU8KdaB9wrEPWM-.mjs +16 -0
  132. package/build/node/esm/BkyivirgeiDKFSjk.mjs +16 -0
  133. package/build/node/esm/Bm1RqNJ-XvHpJW9z.mjs +831 -0
  134. package/build/node/esm/BqiVaoAYJJqPrCUZ.mjs +16 -0
  135. package/build/node/esm/Bx-30HInllXS7M_J.mjs +41 -0
  136. package/build/node/esm/Bx3lQBEvcqhxffT-.mjs +1726 -0
  137. package/build/node/esm/BxsKlaBFnb5wNq6R.mjs +53 -0
  138. package/build/node/esm/C4PMhNAV0KpPsKFj.mjs +24 -0
  139. package/build/node/esm/C7x3L6HtPhZjSrrZ.mjs +471 -0
  140. package/build/node/esm/C8gc149K34Zi2lP2.mjs +16 -0
  141. package/build/node/esm/CK-kn1p9NGRVM_h7.mjs +16 -0
  142. package/build/node/esm/CKR6snAwSONs7kfL.mjs +19 -0
  143. package/build/node/esm/CKXzosgZX8Xe3l59.mjs +16 -0
  144. package/build/node/esm/CLE_RHHvsDeoZ9Zd.mjs +561 -0
  145. package/build/node/esm/CMKci_5THkcJ-w9a.mjs +80 -0
  146. package/build/node/esm/CVU9bu6AnxcgkEwq.mjs +13466 -0
  147. package/build/node/esm/CfAob8gGydmX1xQu.mjs +16 -0
  148. package/build/node/esm/ChGigf2OPu7d44Km.mjs +16 -0
  149. package/build/node/esm/CkvkuPSf4R_DqArg.mjs +5648 -0
  150. package/build/node/esm/CnBMj0oJAyr9ZbjP.mjs +23 -0
  151. package/build/node/esm/CrEGjvQKhAcdw5sY.mjs +16 -0
  152. package/build/node/esm/Crx9i_8dm3OQsk_T.mjs +28 -0
  153. package/build/node/esm/CwUulbiMQH11aF4x.mjs +16 -0
  154. package/build/node/esm/D0Lh0V1tkdJPxZnI.mjs +392 -0
  155. package/build/node/esm/D54Fpmnd9MzCzp-Z.mjs +16 -0
  156. package/build/node/esm/D5bg3v_W8K9MVp0j.mjs +1711 -0
  157. package/build/node/esm/D8F08tiG98tM_voL.mjs +16 -0
  158. package/build/node/esm/DR7o1DOIK9zdiBgS.mjs +50 -0
  159. package/build/node/esm/DYEgm2kd3haV-Ml8.mjs +1246 -0
  160. package/build/node/esm/DfzhmhZ4I0Zurcqn.mjs +44 -0
  161. package/build/node/esm/Dg_ERnlsy5hwbzMA.mjs +1498 -0
  162. package/build/node/esm/Dt4cj_0sWgvt4FGj.mjs +92 -0
  163. package/build/node/esm/GpycqJcrwTRtjEqA.mjs +16 -0
  164. package/build/node/esm/LlkIFFfAjLiQ5Or6.mjs +3840 -0
  165. package/build/node/esm/OCdyQRicV8KxUwMt.mjs +16 -0
  166. package/build/node/esm/QATDL2FGAYcVnd33.mjs +49 -0
  167. package/build/node/esm/SvgA2TyqJYOzheuf.mjs +26 -0
  168. package/build/node/esm/VZ150KIUh5JVRqpk.mjs +52 -0
  169. package/build/node/esm/XRLHatWlgABiuBDS.mjs +52 -0
  170. package/build/node/esm/bFSkTthAEOn7gv5x.mjs +16 -0
  171. package/build/node/esm/index.mjs +44754 -0
  172. package/build/node/esm/lgtVRbg712G5Ba-x.mjs +60 -0
  173. package/build/node/esm/ng3JdG4_hi9SgtHk.mjs +16 -0
  174. package/build/node/esm/psav3cvsBQQczhPL.mjs +16 -0
  175. package/build/node/esm/zWnN2OzbhzCc6T7u.mjs +86 -0
  176. package/build/package.json +84 -0
  177. package/build/types/index.d.ts +1848 -0
  178. package/package.json +100 -0
@@ -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, am as z, aA as C } from "./DEpR6b4DMs-va6RS.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.0.0
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 A = ["Ok", "Cancel"], W = E((F) => {
13
+ const { initialComments: T = null, onUpdateComments: u, context: k, onOption: d, onValidateOption: p, onDone: r, options: g = A, 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, P] = h(f), [b, v] = h(!1), x = j(async (t, n) => null, []), D = 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
+ P(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) => D(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
+ b || t.target?.select(), v(!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
+ W as CommentsDialog,
51
+ W as default
52
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.0.0
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ /**
8
+ * @license @sheetxl/sdk - A high-performance, embeddable spreadsheet engine. - v0.0.0
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 e = { AND: { s: "Checks whether all arguments are TRUE, and returns TRUE if all arguments are TRUE", p: { logical: { d: "logical1,logical2,... are 1 to 255 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references" } } }, BYCOL: { s: "Applies a LAMBDA function to each column and returns an array of the results.", p: { array: { d: "is an array to be separated by column" }, fn: { d: "is a LAMBDA that is called to scan the array. The LAMBDA takes two parameters, accumulator and value." } }, h: "Unimplemented" }, BYROW: { s: "Applies a LAMBDA function to each row and returns an array of the results.", p: { array: { d: "is an array to be separated by column" }, fn: { d: "is a LAMBDA that is called to scan the array. The LAMBDA takes two parameters, accumulator and value." } }, h: "Unimplemented" }, FALSE: { s: "Returns the logical value FALSE", p: {} }, IF: { s: "Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE", p: { logicalTest: { d: "is any value or expression that can be evaluated to TRUE or FALSE" }, valueIfTrue: { d: "is the value that is returned if Logical_test is TRUE. If omitted, TRUE is returned. You can nest up to seven IF functions" }, valueIfFalse: { d: "is the value that is returned if Logical_test is FALSE. If omitted, FALSE is returned" } } }, IFERROR: { s: "Returns value_if_error if expression is an error and the value of the expression itself otherwise", p: { value: { d: "is any value or expression or reference" }, valueIfError: { d: "is any value or expression or reference" } } }, IFNA: { s: "Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression", p: { value: { d: "is any value or expression or reference" }, valueIfError: { d: "is any value or expression or reference" } } }, IFS: { s: "Checks whether one or more conditions are met and returns a value corresponding to the first TRUE condition", p: { logicalTest: { d: "logical_test1,logical_test2,... is any value or expression that can be evaluated to TRUE or FALSE" }, logicalTrue: { d: "value_if_true1,value_if_true2,... is the value returned if Logical_test is TRUE" }, rest: {} } }, LAMDA: { s: "Creates a function value with can be called within formulas.", p: { parameterOrCalculation: { d: "a parameter or a calculation that returns a value. If a parameter, it must be the last argument." } }, h: "Unimplemented" }, LET: { s: "Assigns calculation results to names. Useful for storing intermediate calculations and values by defining names inside a formula. These names only apply within the scope of the LET function.", p: { name: { d: "name1,name2,... the name, or a calculation which can make use of all names within the LET. Names must start with a letter, cannot be the output of a formula, or conflict with range syntax." }, nameOrValue: { d: "name_value1,name_value2,... the value associated with the name." }, calculationOrName: {}, rest: {} }, h: "Unimplemented" }, MAKEARRAY: { s: "Returns a calculated array of a specified row and column size, by applying a LAMBDA function.", p: { rows: { d: "is the number of rows in the array. Must be greater than zero." }, columns: { d: "is the number of columns in the array. Must be greater than zero." }, fn: { d: "is a LAMBDA that is called to create the array. The LAMBDA takes two parameters, row index and column index." } }, h: "Unimplemented" }, MAP: { s: "Returns an array formed by 'mapping' each value in the array(s) to a new value by applying a lambda to create a new value.", p: { array: { d: "is an array to be mapped" }, lamdaOrArray: { d: "lambda_or_array1,lambda_or_array2,... is a LAMBDA which must be the last argument and must have a parameter for each array passed, or another array to be mapped" } }, h: "Unimplemented" }, NOT: { s: "Changes FALSE to TRUE, or TRUE to FALSE", p: { logical: { d: "is a value or expression that can be evaluated to TRUE or FALSE" } } }, OR: { s: "Checks whether any of the arguments are TRUE, and returns TRUE or FALSE. Returns FALSE only if all arguments are FALSE", p: { logical: { d: "logical1,logical2,... are 1 to 255 conditions that you want to test that can be either TRUE or FALSE" } } }, REDUCE: { s: "Reduces an array to an accumulated value by applying a LAMBDA function to each value and returning the total value in the accumulator.", p: { initialValue: { d: "is the starting value for the accumulator" }, array: { d: "is an array to be reduced" }, fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." } }, h: "Unimplemented" }, SCAN: { s: "Scans an array by applying a LAMBDA function to each value and returns an array that has each intermediate value", p: { initialValue: { d: "is the starting value for the accumulator" }, array: { d: "is an array to be reduced" }, fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." } }, h: "Unimplemented" }, SWITCH: { s: "Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value is returned", p: { expression: {}, value: { d: "is an expression to be evaluated" }, results: { d: "result1,result2,... is a result to be returned if the corresponding value matches expression" } }, h: "Unimplemented" }, TRUE: { s: "Returns the logical value TRUE", p: {} }, XOR: { s: "Returns a logical 'Exclusive Or' of all arguments", p: { logical: { d: "logical1,logical2,... are 1 to 254 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references" } } } };
14
+ export {
15
+ e as default
16
+ };
@@ -0,0 +1,152 @@
1
+ import { jsx as i, jsxs as p } from "react/jsx-runtime";
2
+ import { memo as ie, useRef as C, useState as b, useEffect as D, useLayoutEffect as ce, useMemo as pe } from "react";
3
+ import { DialogContent as de, Box as O, TextField as Y, InputAdornment as ue, Collapse as _, MenuItem as fe, FormControl as ge, InputLabel as me, Select as xe } from "@mui/material";
4
+ import { ArrowBack as he, ArrowUpward as Oe, ArrowForward as Ce, ArrowDownward as ye } from "@mui/icons-material";
5
+ import { aB as c, k as R, T as W, az as be, E as Te, aC as ve, aD as m, y as x, aE as Re, Z as y, aF as ke, aG as we, aH as Ee, aI as Fe, aA as k, aJ as Se, aK as Ie, A as De } from "./DEpR6b4DMs-va6RS.mjs";
6
+ import { alpha as w } from "@mui/system";
7
+ /**
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.0.0
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 $ = ie((E) => {
14
+ const { label: h, value: r, options: s, onSelect: d, tabIndex: T = 0, ...A } = E, [K, v] = b(() => ne(r, s));
15
+ D(() => {
16
+ v(ne(r, s));
17
+ }, [r, s]);
18
+ const P = W((u) => {
19
+ v(u.target.value), d?.(s[u.target.value]);
20
+ }, [d, s]), a = pe(() => Object.keys(s).map((u) => i(fe, { value: u, children: u }, u)), [s]);
21
+ return p(ge, { sx: { minWidth: 135 }, size: "small", children: [i(me, { children: h }), i(xe, { inputProps: { tabIndex: T }, value: K, label: h, onChange: P, sx: { backgroundImage: `linear-gradient(${w("#fff", k(5))}, ${w("#fff", k(5))})` }, ...A, children: a })] });
22
+ }), ee = { Workbook: "workbook", Sheet: "sheet" }, te = { enter: 140, exit: 140 }, oe = { Formulas: c.Content.Formulas, Values: c.Content.Values, Notes: c.Content.Notes, Comments: c.Content.Comments }, se = { ...oe };
23
+ delete se.Values;
24
+ const Ae = { "By Rows": !0, "By Columns": !1 }, ne = (E, h) => {
25
+ const r = Object.keys(h);
26
+ for (let s = 0; s < r.length; s++) {
27
+ const d = r[s];
28
+ if (h[d] === E) return d;
29
+ }
30
+ }, We = ie((E) => {
31
+ const { replace: h = !1, findText: r, replaceText: s, findOptions: d, replaceOptions: T, title: A, onHide: K, onFindOrReplace: v, ...P } = E, a = C(null), u = C(null), V = C(null), j = C(null), H = C(null), N = C(null), z = (e, t) => {
32
+ t && (t.start(e, { center: !1 }), setTimeout(() => t.stop(e), 180));
33
+ }, [U, I] = b(!1), [B, ae] = b(!1), [f, M] = b(h), [G, L] = b(!1), [J, X] = b(!1), [o, l] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: ee.Sheet }), F = W(async (e, t, n, S) => {
34
+ if (!v) return;
35
+ const g = { ...o };
36
+ g.replaceOptions = { ...g.replaceOptions }, g.findOptions = { ...g.findOptions }, g.replaceOptions.maxCount = n ? void 0 : 1, g.replace = t, t && o.findOptions.fields?.[0] === c.Content.Values && (g.findOptions.fields = [c.Content.Formulas]), g.findOptions.reverse = !e;
37
+ const re = await v({ autoFocus: S, ...g });
38
+ L(re === 0);
39
+ }, [o, v]);
40
+ D(() => {
41
+ L(!1);
42
+ }, [o, B, f]);
43
+ const Z = W((e, t) => {
44
+ if (e.keyCode === be.Enter) {
45
+ if (!o.findText) return;
46
+ let n = !0, S = !1;
47
+ e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (S = !0), z(e, S ? N.current : H.current)) : z(e, n ? j.current : V.current), F(n, t, S, !1);
48
+ }
49
+ }, [o]), q = C(null);
50
+ ce(() => {
51
+ l((e) => {
52
+ const t = { ...e };
53
+ t.findText = r && r.length > 0 ? r : e.findText ?? "", I(!0), s !== void 0 && (t.replaceText = s), d && (t.findOptions = { ...t.findOptions, ...d }), t.replaceText || (t.replaceText = ""), t.replaceOptions && (t.replaceOptions = { ...t.replaceOptions }), T && (t.replaceOptions = { ...t.replaceOptions, ...T }), o.findOptions.fields?.[0] || (o.findOptions.fields = [c.Content.Formulas]);
54
+ const n = !(!T && s === void 0);
55
+ return n && M(n), t;
56
+ }), J || q.current?.focus();
57
+ }, [r, s, d, T]), D(() => {
58
+ f ? (o.findOptions.fields[0], c.Content.Values) : I(!0);
59
+ }, [f]), D(() => {
60
+ if (U && a.current && o.findText === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void I(!1)) : void a.current.addEventListener("focus", () => {
61
+ a.current?.select(), I(!1);
62
+ }, { once: !0 });
63
+ }, [U, o]);
64
+ const [le, { width: Q }] = Te();
65
+ return i(ve, { title: A ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", refWindow: q, onHide: K, onFocus: () => X(!0), onBlur: () => {
66
+ X(!1), L(!1);
67
+ }, PaperProps: { elevation: J ? 3 : 1 }, ...P, children: p(de, { dividers: !0, ref: le, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
68
+ if (e.key === "h" && e.ctrlKey) M(!0), a.current?.contains(document.activeElement) && u.current?.focus();
69
+ else if (e.key === "f" && e.ctrlKey) a.current?.focus();
70
+ else if (e.key === "c" && e.altKey) l((t) => {
71
+ const n = { ...t };
72
+ return n.findOptions.matchCase = !t.findOptions.matchCase, n;
73
+ });
74
+ else if (e.key === "e" && e.altKey) l((t) => {
75
+ const n = { ...t };
76
+ return n.findOptions.matchEntireCell = !t.findOptions.matchEntireCell, n;
77
+ });
78
+ else {
79
+ if (e.key !== "r" || !e.altKey) return;
80
+ l((t) => {
81
+ const n = { ...t };
82
+ return n.findOptions.useRegex = !t.findOptions.useRegex, n;
83
+ });
84
+ }
85
+ e.preventDefault();
86
+ }, children: [p(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i(m, { selected: B, onSelectToggle: (e) => {
87
+ ae(e);
88
+ }, preventFocus: !0, label: "Toggle Additional Options", icon: x(i(Re, {})) }), i(m, { selected: f, onSelectToggle: (e) => {
89
+ M(e);
90
+ }, preventFocus: !0, label: "Toggle Replace", icon: x(i(ke, {})), shortcut: { key: f ? "F" : "H", modifiers: [y.Ctrl] } })] }), p(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i(Y, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: Q > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${w("#fff", k(5))}, ${w("#fff", k(5))})` }, inputProps: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: i(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: p(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [i(m, { selected: o.findOptions.matchCase, onSelectToggle: (e) => {
91
+ l((t) => {
92
+ const n = { ...t };
93
+ return n.findOptions.matchCase = e, n;
94
+ });
95
+ }, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: x(i(we, {})) }), i(m, { selected: o.findOptions.matchEntireCell, onSelectToggle: (e) => {
96
+ l((t) => {
97
+ const n = { ...t };
98
+ return n.findOptions.matchEntireCell = e, n;
99
+ });
100
+ }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: x(i(Ee, {})) }), i(m, { selected: o.findOptions.useRegex, onSelectToggle: (e) => {
101
+ l((t) => {
102
+ const n = { ...t };
103
+ return n.findOptions.useRegex = e, n;
104
+ });
105
+ }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [y.Alt] }, icon: x(i(Fe, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => G ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => G ? `${e.palette.error.main} !important` : void 0 } }, value: o.findText ?? "", onChange: (e) => {
106
+ l((t) => {
107
+ const n = { ...t };
108
+ return n.findText = e.target.value, n;
109
+ });
110
+ }, onKeyDown: (e) => Z(e, !1), onContextMenu: (e) => {
111
+ e.stopPropagation();
112
+ } }), i(m, { selected: o.findOptions.reverse, onSelectToggle: (e) => {
113
+ F(!1, !1);
114
+ }, touchRippleRef: V, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(he, {}) : i(Oe, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
115
+ F(!0, !1);
116
+ }, touchRippleRef: j, label: "Next Match", shortcut: { key: "Enter" }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Ce, {}) : i(ye, {})), disabled: !o.findText })] }), i(_, { in: f, timeout: te, onExit: () => {
117
+ a.current?.focus();
118
+ }, children: p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i(Y, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${w("#fff", k(5))}, ${w("#fff", k(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: o.replaceText ?? "", onChange: (e) => {
119
+ l((t) => {
120
+ const n = { ...t };
121
+ return n.replaceText = e.target.value, n;
122
+ });
123
+ }, onKeyDown: (e) => Z(e, !0), onContextMenu: (e) => {
124
+ e.stopPropagation();
125
+ } }), i(m, { onSelectToggle: (e) => {
126
+ F(!0, !0);
127
+ }, touchRippleRef: H, label: "Replace", shortcut: { key: "Enter" }, icon: x(i(Se, {})), disabled: !o.findText }), i(m, { onSelectToggle: (e) => {
128
+ F(!0, !0, !0);
129
+ }, touchRippleRef: N, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: x(i(Ie, {})), disabled: !o.findText })] }) })] })] }), i(_, { in: B, timeout: te, onExit: () => {
130
+ a.current?.focus();
131
+ }, children: p(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [i(De, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), p(O, { sx: { display: "flex", flexDirection: Q >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i($, { label: "Within", value: o.scope, options: ee, onSelect: (e) => {
132
+ l((t) => {
133
+ const n = { ...t };
134
+ return n.scope = e, n;
135
+ });
136
+ } }), i($, { label: "Search", value: o.findOptions.orientation !== R.Orientation.Column, options: Ae, onSelect: (e) => {
137
+ l((t) => {
138
+ const n = { ...t };
139
+ return n.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, n;
140
+ });
141
+ } }), i($, { label: "Look in", value: f && o.findOptions.fields?.[0] === c.Content.Values ? c.Content.Formulas : o.findOptions.fields?.[0], options: f ? se : oe, onSelect: (e) => {
142
+ l((t) => {
143
+ const n = { ...t };
144
+ return n.findOptions.fields = [e], n;
145
+ });
146
+ } })] })] }) })] }) });
147
+ });
148
+ export {
149
+ We as FindReplaceWindow,
150
+ ee as ScopeOptions,
151
+ We as default
152
+ };
@@ -0,0 +1,86 @@
1
+ import { ae as z } from "./DEpR6b4DMs-va6RS.mjs";
2
+ /**
3
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.0.0
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
+ /**
9
+ * @license @sheetxl/io - IO - Import/Export Libraries for SheetXL. - v0.0.0
10
+ *
11
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
12
+ * License: The license can be found at https://www.sheetxl.com/license.
13
+ */
14
+ const j = async (g, p) => {
15
+ const i = await g.toJSON(), w = p?.whiteSpace ?? 0;
16
+ let b;
17
+ p?.beforeWrite?.(g, i), b = w === 0 ? JSON.stringify(i) : function(a, c = 2) {
18
+ const r = [];
19
+ function n(o) {
20
+ const e = c * o;
21
+ return r[e] === void 0 && (r[e] = " ".repeat(e)), r[e];
22
+ }
23
+ return function o(e, u, t, d) {
24
+ if (e == null || typeof e != "object") return JSON.stringify(e);
25
+ const m = n(u), J = n(u + 1);
26
+ if (Array.isArray(e)) {
27
+ const f = e.length;
28
+ if (f === 0) return "[]";
29
+ if (t !== 0) return JSON.stringify(e);
30
+ let l = `[
31
+ `;
32
+ for (let O = 0; O < f; O++) l += J + o(e[O], u + 1, t + 1, !0), O < f - 1 && (l += `,
33
+ `);
34
+ return l += `
35
+ ` + m + "]", l;
36
+ }
37
+ const N = Object.keys(e), h = N.length;
38
+ if (h === 0) return "{}";
39
+ if (!(t < 2)) return JSON.stringify(e);
40
+ let S = `{
41
+ `;
42
+ d || (t = 0);
43
+ for (let f = 0; f < h; f++) {
44
+ const l = N[f];
45
+ S += J + JSON.stringify(l) + ": " + o(e[l], u + 1, t, !1), f < h - 1 && (S += `,
46
+ `);
47
+ }
48
+ return S += `
49
+ ` + m + "}", S;
50
+ }(a, 0, 0, !1);
51
+ }(i, w);
52
+ let y = new TextEncoder().encode(b);
53
+ const s = p?.compress ?? !0;
54
+ return s && (y = await async function(a, c = "gzip") {
55
+ const r = new ReadableStream({ start(e) {
56
+ e.enqueue(a), e.close();
57
+ } }), n = new CompressionStream(c), o = r.pipeThrough(n);
58
+ return (await new Response(o).blob()).arrayBuffer();
59
+ }(y, typeof s == "string" ? s : void 0)), y;
60
+ }, T = async (g, p) => {
61
+ let i = g;
62
+ (function(s) {
63
+ if (s.byteLength < 4) return !1;
64
+ const a = new Uint8Array(s), c = { gzip: [31, 139], zip: [80, 75, 3, 4], bz2: [66, 90, 104], br: [206, 178, 207, 129] }, r = Object.keys(c);
65
+ for (let n = 0; n < r.length; n++) {
66
+ const o = r[n], e = c[o];
67
+ let u = !0;
68
+ for (let t = 0; t < e.length; t++) if (a[t] !== e[t]) {
69
+ u = !1;
70
+ break;
71
+ }
72
+ if (u) return o;
73
+ }
74
+ return !1;
75
+ })(i) && (i = await async function(s, a = "gzip") {
76
+ const c = new Blob([s]).stream(), r = new DecompressionStream(a), n = c.pipeThrough(r);
77
+ return (await new Response(n).blob()).arrayBuffer();
78
+ }(i));
79
+ let w = new TextDecoder().decode(i);
80
+ const b = JSON.parse(w), y = { ...p?.constructorOptions ?? {}, json: b };
81
+ return new z(y);
82
+ };
83
+ export {
84
+ T as fromBufferJSON,
85
+ j as toBufferJSON
86
+ };
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.0.0
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ /**
8
+ * @license @sheetxl/sdk - A high-performance, embeddable spreadsheet engine. - v0.0.0
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
+ /**
14
+ * @license @sheetxl/scripting - SheetXL scripting utilities including TypeScript compilation. - v0.0.0
15
+ *
16
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
17
+ * License: The license can be found at https://www.sheetxl.com/license.
18
+ */
19
+ class o {
20
+ constructor(r = {}) {
21
+ this.workerWrapper = null;
22
+ }
23
+ async getWorkerWrapper() {
24
+ if (this.workerWrapper) return this.workerWrapper;
25
+ const { createCompilerWorker: r } = await import("./AuNwPf0DXe0twn35.mjs");
26
+ return this.workerWrapper = await r(), this.workerWrapper;
27
+ }
28
+ async compileModule(r) {
29
+ try {
30
+ return (await this.getWorkerWrapper()).execute(r);
31
+ } catch (e) {
32
+ throw console.error("Failed to compile using worker:", e), e;
33
+ }
34
+ }
35
+ terminate() {
36
+ this.workerWrapper?.terminate(), this.workerWrapper = null;
37
+ }
38
+ }
39
+ export {
40
+ o as TypeScriptCompiler
41
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.0.0
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ /**
8
+ * @license @sheetxl/sdk - A high-performance, embeddable spreadsheet engine. - v0.0.0
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 r = { ERF: { s: "Returns the error function", p: { lowerLimit: { d: "is the lower bound for integrating ERF" }, upperLimit: { d: "is the upper bound for integrating ERF", v: 0 } } }, "ERF.PRECISE": { s: "Returns the error function", p: { x: { d: "is the lower bound for integrating ERF.PRECISE" } } }, ERFC: { s: "Returns the complementary error function", p: { x: { d: "is the lower bound for integrating ERF" } } } };
14
+ export {
15
+ r as default
16
+ };
@@ -0,0 +1,23 @@
1
+ import { jsx as o, jsxs as k } from "react/jsx-runtime";
2
+ import { memo as D, useState as i, useCallback as N } from "react";
3
+ import { Box as w, FormControlLabel as F, Checkbox as j } from "@mui/material";
4
+ import { T as v, am as y, aP as B } from "./DEpR6b4DMs-va6RS.mjs";
5
+ /**
6
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.0.0
7
+ *
8
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
9
+ * License: The license can be found at https://www.sheetxl.com/license.
10
+ */
11
+ const H = ["Ok", "Cancel"], G = D((g) => {
12
+ const { tableOptions: e, context: r, onOption: p, onValidateOption: I, onDone: c, options: d = H, defaultOption: t = d?.[0], cancelOption: s = "Cancel", sx: u, ...x } = g, [b, h] = i(!1), [n, f] = i(() => e?.hasHeader ?? !1), [l, O] = i(() => e?.ranges ?? null), C = v((a) => {
13
+ const m = { ...e, hasHeader: n, ranges: l };
14
+ p?.(a, a === s, a === t), c?.({ option: a, tableOptions: m });
15
+ }, [c, p, t, s, n, l, e]), T = N(async (a, m) => null, []);
16
+ return o(y, { title: "Insert Table", options: d, onDone: C, onValidateOption: T, defaultOption: t, cancelOption: s, autoFocusSel: ".range-input input", sx: { width: "360px", ...u }, ...x, children: k(w, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [o(B, { formName: "range", value: l, onChangeInput: (a) => O(a), resolvedAddress: r.getNames().getRanges.bind(r.getNames()), onFocus: (a) => {
17
+ b || a.target?.select(), h(!0);
18
+ } }), o(F, { control: o(j, { checked: n, onChange: () => f(!n) }), label: "Table has headers", labelPlacement: "end" })] }) });
19
+ });
20
+ export {
21
+ G as TableNewDialog,
22
+ G as default
23
+ };