@sheetxl/studio-vanilla 0.3.19 → 0.3.20

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 (91) hide show
  1. package/browser/cjs/{DJC4cn9wXv_q5aHy.cjs → B-9AKoIXEd-ulFuY.cjs} +2 -2
  2. package/browser/cjs/{DPk0an7l4dAKSvt4.cjs → BPdcMei67VVXsIlT.cjs} +6 -6
  3. package/browser/cjs/{USAsNV7756AJ-v-3.cjs → BRJqic9ew--MKBtM.cjs} +1 -1
  4. package/browser/cjs/{DQu9kotW1g223yHH.cjs → BVX0aBbb7I-Kr9jc.cjs} +31 -31
  5. package/browser/cjs/BWmDn9V2sxtBmc6p.cjs +6 -0
  6. package/browser/cjs/{BKPCa_z6dnIQn-0l.cjs → BpecyHhrGjCZE4te.cjs} +1 -1
  7. package/browser/cjs/{BA4eX47IpP00-8so.cjs → BwGmOm-0YbK8wfol.cjs} +2 -2
  8. package/browser/cjs/{Cjh4Y6CzIKElfhND.cjs → BzXx3M5W6subztPb.cjs} +2 -2
  9. package/browser/cjs/{D0TmTI_7aDwkiyE4.cjs → C0LJ0bF3u-3P9xS-.cjs} +2 -2
  10. package/browser/cjs/{CDKv578p0EwvHjZp.cjs → C6t8cCjO4T_Spvjd.cjs} +1 -1
  11. package/browser/cjs/{2FwFu5228wr-ARkA.cjs → C9RhDco7MuSv11tm.cjs} +2 -2
  12. package/browser/cjs/{BWs24EHW-tVFgT-x.cjs → CIERBNfPNBXwwSjF.cjs} +2 -2
  13. package/browser/cjs/{MSGlzfMbdkBj2ODr.cjs → CLkZVJrhqrGRT7EY.cjs} +1 -1
  14. package/browser/cjs/{lObc2MW6JiaOpm-q.cjs → CXwshmt0OewyJfbd.cjs} +2 -2
  15. package/browser/cjs/CcLVF4EIHey434Rb.cjs +6 -0
  16. package/browser/cjs/{Cfdd6ktavWDYX9ND.cjs → CgnC4fGFEo3MyV2x.cjs} +1 -1
  17. package/browser/cjs/{Ce6oHmr7gMYWd8Yd.cjs → Cl0cEDzKsPIVTFUl.cjs} +3 -3
  18. package/browser/cjs/{vWIDSfediysRj8eo.cjs → DIonFfSsVgz-APZ5.cjs} +3 -3
  19. package/browser/cjs/{bLAfby6zV0qLxdQi.cjs → DV7nfhw95uXOc3j5.cjs} +2 -2
  20. package/browser/cjs/{CY7-VXmdgBslTVMX.cjs → D_m11V6SqD8ZwpMI.cjs} +2 -2
  21. package/browser/cjs/{gPTujfwB4RqxIcij.cjs → DrepEMxM-QaJ8YDx.cjs} +1 -1
  22. package/browser/cjs/{CIo606dkZ8lkuDJ3.cjs → DtOzJ-WMg99faUjm.cjs} +1 -1
  23. package/browser/cjs/DttPtqkuFAJyEAN3.cjs +12 -0
  24. package/browser/cjs/{Do4JoiMPrmr8e_3I.cjs → Ggiiir_7aP_cXY_b.cjs} +2 -2
  25. package/browser/cjs/{Cnk7ISRHexlfGYia.cjs → Vz5CvuEA-X08grjB.cjs} +1 -1
  26. package/browser/cjs/index.cjs +2 -2
  27. package/browser/cjs/{DtwZ1dCv4IJK54Md.cjs → qZ6Vl_sLywkC5RaU.cjs} +2 -2
  28. package/browser/esm/{BorGhlvsrSc8KIw4.mjs → 2zQv7N1BLM5b5SIm.mjs} +2 -2
  29. package/browser/esm/{DNEd6u6uOJT1ngWx.mjs → 3KBcYITgi01N4TNv.mjs} +2 -2
  30. package/{cdn/assets/Brg-pw5qowVCqKUF.js → browser/esm/8_OfjXQ6fzbtH-9u.mjs} +1 -1
  31. package/browser/esm/{FNXLcvV7DgUq6zwL.mjs → B6bM984q736FqYsz.mjs} +1 -1
  32. package/browser/esm/B7jQrPqkaYVNv-as.mjs +84 -0
  33. package/browser/esm/{vYT-yKp90JOPBqDa.mjs → B8-YcyfsXmJeuMiP.mjs} +2 -2
  34. package/browser/esm/{BjXzbYB0kCMhwN3Y.mjs → BHNhgRX5eU1xhun6.mjs} +1794 -1789
  35. package/browser/esm/{CxJ9wqppH10FCE7E.mjs → BJ7YCFsebpVSTx7u.mjs} +2 -2
  36. package/browser/esm/{SWAv_VgEKg95ORt5.mjs → BJQKOvL-x79vdFAs.mjs} +1 -1
  37. package/{cdn/assets/Bm440-d54x4naZeO.js → browser/esm/Bah4Gz0wMfZQ-d68.mjs} +1 -1
  38. package/browser/esm/Bas7osg_0v4Pzo34.mjs +41 -0
  39. package/browser/esm/{CDha50D0Zqdh75RO.mjs → Bh-yYlNifjJSLSUP.mjs} +7 -7
  40. package/browser/esm/{CHNBfqp5n8JaC7UU.mjs → Bi5JEwcdCUy1Scr4.mjs} +3 -3
  41. package/browser/esm/{DTW0B_xW-HuS3NuK.mjs → BoWW29GsMFycnCgj.mjs} +2 -2
  42. package/browser/esm/{DGbBeyHSDhhZ67G7.mjs → CABW-eWs3Z1wU1vK.mjs} +6 -6
  43. package/browser/esm/{C2UMejLEXH1i7UT_.mjs → Cla5lXoGQSxvUMVw.mjs} +4 -4
  44. package/browser/esm/{D8V8o3E9AIpGCaJ0.mjs → D0qgtKFnSobrHC2F.mjs} +2 -2
  45. package/browser/esm/{DzowkvQRyggO7Ijl.mjs → D8bW70p6OB7P1DpI.mjs} +1 -1
  46. package/browser/esm/{CkOpEOqipQhoCXbp.mjs → DB1WsS0LRj2NPsFd.mjs} +2 -2
  47. package/{cdn/assets/zovGkWpLePhgQd_n.js → browser/esm/DgDZxwvfJyTly9Uu.mjs} +1 -1
  48. package/{cdn/assets/C6ty7TIqMKf0jms4.js → browser/esm/DmE1sCvAX5Z9Ia15.mjs} +1 -1
  49. package/browser/esm/{BGvOrkSiilN4Dt_5.mjs → HGUzGKrEwqYcdKbM.mjs} +2 -2
  50. package/browser/esm/{BnmsWZ7pB-RvN8Ce.mjs → UPoO_Vlq41Hmj-Ku.mjs} +2 -2
  51. package/{cdn/assets/vsx7PlJlMQvNPm_L.js → browser/esm/dQ66kiennyNr0dND.mjs} +1 -1
  52. package/browser/esm/index.mjs +2 -2
  53. package/browser/esm/{B8OZHivNmO5OFLTi.mjs → pptIDlmrkAbz6i1c.mjs} +3 -3
  54. package/browser/esm/{DHtJbuH4VrIp2owl.mjs → x6PmuzLfP5nqS_eQ.mjs} +4 -4
  55. package/cdn/assets/{DoNQnutyjVRliOV0.js → 0vZqExkLfT4asC9K.js} +2 -2
  56. package/cdn/assets/{aAVhloO6mFh8WJzi.js → 1ASZw9IfvnArDaCZ.js} +4 -4
  57. package/{browser/esm/Brg-pw5qowVCqKUF.mjs → cdn/assets/8_OfjXQ6fzbtH-9u.js} +1 -1
  58. package/cdn/assets/{BJlG0NMA-JM_rPkc.js → B5zelATPrbDla2Iy.js} +6 -6
  59. package/cdn/assets/{FNXLcvV7DgUq6zwL.js → B6bM984q736FqYsz.js} +1 -1
  60. package/cdn/assets/B7jQrPqkaYVNv-as.js +84 -0
  61. package/cdn/assets/{SWAv_VgEKg95ORt5.js → BJQKOvL-x79vdFAs.js} +1 -1
  62. package/cdn/assets/{8QCrFIzHmtIoeBJm.js → BSsHFJzgfxmp5r7_.js} +4 -4
  63. package/{browser/esm/Bm440-d54x4naZeO.mjs → cdn/assets/Bah4Gz0wMfZQ-d68.js} +1 -1
  64. package/cdn/assets/{DkRkxpsLaXOm1dGc.js → BziPRQRGrFtCnyRv.js} +2 -2
  65. package/cdn/assets/{yLoKmwpXykv9-Elu.js → C6y3ZvDtBqiKjmQR.js} +2 -2
  66. package/cdn/assets/CP2hI6uxS16oQXqQ.js +41 -0
  67. package/cdn/assets/{BrkvsmfqGj5-gULd.js → CYXS2N-s5O4VNSpQ.js} +2 -2
  68. package/cdn/assets/{BNcPMWtsY8_g-EN4.js → CbXEnmr2CeR0TImv.js} +2 -2
  69. package/cdn/assets/{DVoDFCX7Bv_zFVVi.js → CyUSCTdWkG7ZxVra.js} +3916 -3911
  70. package/cdn/assets/{CD48E90J73F2rFJF.js → D0NB6zWEw5Rdh0kS.js} +3 -3
  71. package/cdn/assets/{DzowkvQRyggO7Ijl.js → D8bW70p6OB7P1DpI.js} +1 -1
  72. package/cdn/assets/{BtcEbQwXXgpwi-Wc.js → DYYGpOI8W9jNCrTX.js} +3 -3
  73. package/{browser/esm/zovGkWpLePhgQd_n.mjs → cdn/assets/DgDZxwvfJyTly9Uu.js} +1 -1
  74. package/cdn/assets/{TXu1jpI8ASN4INNu.js → Dj4FGU0a8x6XVJsN.js} +7 -7
  75. package/{browser/esm/C6ty7TIqMKf0jms4.mjs → cdn/assets/DmE1sCvAX5Z9Ia15.js} +1 -1
  76. package/cdn/assets/{BhwpQU1T51VKYXPZ.js → DresaRXt2fvt83HL.js} +2 -2
  77. package/cdn/assets/{8xNW6edqjY-klal3.js → TLsARwdDVPeqjguR.js} +2 -2
  78. package/{browser/esm/vsx7PlJlMQvNPm_L.mjs → cdn/assets/dQ66kiennyNr0dND.js} +1 -1
  79. package/cdn/assets/{C4-fZEqFmgf4Ryrf.js → pgLOdNAK0tTv9jW5.js} +2 -2
  80. package/cdn/assets/{D3-MLKMldcoobrMe.js → zMYtuFnY5e4kuvlC.js} +2 -2
  81. package/cdn/index.js +2 -2
  82. package/cdn/loader.js +1 -1
  83. package/package.json +3 -3
  84. package/types/index.d.ts +1 -1
  85. package/browser/cjs/B32tWc1qRv4tY12p.cjs +0 -6
  86. package/browser/cjs/BdvCvAgiry0f4S23.cjs +0 -12
  87. package/browser/cjs/mSxg83umiyMZNf9-.cjs +0 -6
  88. package/browser/esm/4b-cAFWAwXYZkw0D.mjs +0 -80
  89. package/browser/esm/BlxEnptsgkGA0_21.mjs +0 -41
  90. package/cdn/assets/4b-cAFWAwXYZkw0D.js +0 -80
  91. package/cdn/assets/DzXbXyuxyjtFLOXt.js +0 -41
@@ -1,8 +1,8 @@
1
- import { J as Y } from "./DVoDFCX7Bv_zFVVi.js";
2
- import { c as x, b as f, r as I, t as Z, a as A, p as D, d as tt } from "./TXu1jpI8ASN4INNu.js";
1
+ import { J as Y } from "./CyUSCTdWkG7ZxVra.js";
2
+ import { c as x, b as f, r as I, t as Z, a as A, p as D, d as tt } from "./Dj4FGU0a8x6XVJsN.js";
3
3
  import { IFont as k, IAutoFilter as T, Sort as G, IRange as et, AddressUtils as W, IFill as C, IStyle as rt, ITextFrame as P, FormulaError as st, IBorder as V } from "@sheetxl/sdk";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
6
6
  *
7
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
8
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,10 +1,10 @@
1
1
  import { jsx as i, jsxs as p } from "react/jsx-runtime";
2
2
  import { memo as oe, useRef as C, useState as b, useEffect as L, useLayoutEffect as pe, useMemo as de } from "react";
3
3
  import { ICell as c, IRange as R } from "@sheetxl/sdk";
4
- import { t as D, v as H, av as ue, V as fe, aA as ge, aB as me, B as O, aC as m, ah as x, aD as xe, a8 as y, aE as he, T as _, a as k, aF as Oe, aG as Ce, aH as ye, aI as be, ay as w, aJ as ve, aK as Te, ak as Re, az as ke, F as we, aw as Ee, ax as Fe } from "./DVoDFCX7Bv_zFVVi.js";
5
- import { C as ee } from "./BJlG0NMA-JM_rPkc.js";
4
+ import { t as D, v as H, av as ue, V as fe, aA as ge, aB as me, B as O, aC as m, ah as x, aD as xe, a8 as y, aE as he, T as _, a as k, aF as Oe, aG as Ce, aH as ye, aI as be, ay as w, aJ as ve, aK as Te, ak as Re, az as ke, F as we, aw as Ee, ax as Fe } from "./CyUSCTdWkG7ZxVra.js";
5
+ import { C as ee } from "./B5zelATPrbDla2Iy.js";
6
6
  /**
7
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
7
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
8
8
  *
9
9
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
10
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,7 +1,7 @@
1
1
  import { NumberFormat as Ht, ScalarType as Ft, ResourceCollection as vs, Tuple as Ss, IAutoFilter as Jt, AddressUtils as at, CoordUtils as De, FormulaError as Cs, IRange as ks, CommonUtils as es, Theme as As, JSONStableStringify as Es, Workbook as Ds, IColor as Ps, OutOfBoundsError as Os } from "@sheetxl/sdk";
2
- import { J as cs } from "./DVoDFCX7Bv_zFVVi.js";
2
+ import { J as cs } from "./CyUSCTdWkG7ZxVra.js";
3
3
  /**
4
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
4
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
5
5
  *
6
6
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
7
7
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -897,14 +897,14 @@ class Bt {
897
897
  const Ks = (i, t, s) => {
898
898
  if (i[0].value[0] === i[1].value[0]) return t;
899
899
  }, ls = { colStart: 0, colEnd: 0, rowStart: 0, rowEnd: 0 }, ri = Object.freeze(Object.defineProperty({ __proto__: null, fromBufferXLSX: async (i, t) => {
900
- const { password: s, onWarning: o, constructorOptions: n = {}, ...a } = t ?? {}, c = import("./DzowkvQRyggO7Ijl.js"), m = import("./CD48E90J73F2rFJF.js");
900
+ const { password: s, onWarning: o, constructorOptions: n = {}, ...a } = t ?? {}, c = import("./D8bW70p6OB7P1DpI.js"), m = import("./D0NB6zWEw5Rdh0kS.js");
901
901
  let v = null;
902
902
  try {
903
903
  v = new DOMParser();
904
904
  } catch {
905
905
  }
906
906
  let b = null;
907
- v || (b = import("./vsx7PlJlMQvNPm_L.js").then((u) => u.i));
907
+ v || (b = import("./dQ66kiennyNr0dND.js").then((u) => u.i));
908
908
  let x = null, E = null, y = null;
909
909
  try {
910
910
  const u = await Promise.all([c, m, b]);
@@ -1311,8 +1311,8 @@ const Ks = (i, t, s) => {
1311
1311
  }, W), _t = ns(R, ce), xt = await (async (V, U = 8388608) => {
1312
1312
  await (async () => {
1313
1313
  if (typeof ReadableStream > "u") if (typeof window > "u") {
1314
- const { ReadableStream: J } = await import("./SWAv_VgEKg95ORt5.js");
1315
- global.ReadableStream = J;
1314
+ const { ReadableStream: J } = await import("./BJQKOvL-x79vdFAs.js");
1315
+ globalThis.ReadableStream = J;
1316
1316
  } else console.warn("Browser does not support ReadableStream; consider loading a polyfill.");
1317
1317
  })();
1318
1318
  const te = new TextDecoder("utf-8");
@@ -1409,7 +1409,7 @@ const Ks = (i, t, s) => {
1409
1409
  throw u instanceof Os && (D = "Unable to open XLSX. There are too many rows or columns."), new Error(D, { cause: u });
1410
1410
  }
1411
1411
  }, toBufferXLSX: async (i, t) => {
1412
- const s = await import("./DzowkvQRyggO7Ijl.js"), o = await i.toJSON(!0), n = s.utils.book_new();
1412
+ const s = await import("./D8bW70p6OB7P1DpI.js"), o = await i.toJSON(!0), n = s.utils.book_new();
1413
1413
  for (let a = 0; a < o.sheets.length; a++) {
1414
1414
  const c = o.sheets[a], m = s.utils.json_to_sheet([{}]);
1415
1415
  s.utils.book_append_sheet(n, m, c.name);
@@ -1,7 +1,7 @@
1
1
  import * as Je from "react";
2
2
  import { createElement as $r, forwardRef as Ya, useRef as Xa, useImperativeHandle as Wa, useEffect as Ha } from "react";
3
3
  /**
4
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
4
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
5
5
  *
6
6
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
7
7
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,8 +1,8 @@
1
1
  import { jsx as o, jsxs as A } from "react/jsx-runtime";
2
2
  import { memo as E, useMemo as b, useState as g, useCallback as O } from "react";
3
- import { v as f, b as S, B as U, F as P, T as D, a as l, ay as p } from "./DVoDFCX7Bv_zFVVi.js";
3
+ import { v as f, b as S, B as U, F as P, T as D, a as l, ay as p } from "./CyUSCTdWkG7ZxVra.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
6
6
  *
7
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
8
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,8 +1,8 @@
1
1
  import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
2
  import { memo as O, useState as r, useRef as M, useReducer as A, useMemo as E } from "react";
3
- import { aL as W, V, aM as k, aN as Q, v as x, aA as q, aB as G, B as n, aO as J, aP as K, ak as f, aQ as U, aR as X, ag as y, ah as b, ai as w, aS as S } from "./DVoDFCX7Bv_zFVVi.js";
3
+ import { aL as W, V, aM as k, aN as Q, v as x, aA as q, aB as G, B as n, aO as J, aP as K, ak as f, aQ as U, aR as X, ag as y, ah as b, ai as w, aS as S } from "./CyUSCTdWkG7ZxVra.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
6
6
  *
7
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
8
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,9 +1,9 @@
1
1
  import { jsx as n, jsxs as m } from "react/jsx-runtime";
2
2
  import { useState as C } from "react";
3
3
  import { Sort as a, IRange as r } from "@sheetxl/sdk";
4
- import { v as O, b as S, B as b, at as s, au as l } from "./DVoDFCX7Bv_zFVVi.js";
4
+ import { v as O, b as S, B as b, at as s, au as l } from "./CyUSCTdWkG7ZxVra.js";
5
5
  /**
6
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
6
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
7
7
  *
8
8
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
9
9
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,8 +1,8 @@
1
1
  import { jsx as o, jsxs as N } from "react/jsx-runtime";
2
2
  import { memo as T, useState as i, useCallback as k } from "react";
3
- import { v, b as w, B as j, aP as y, at as B, au as F } from "./DVoDFCX7Bv_zFVVi.js";
3
+ import { v, b as w, B as j, aP as y, at as B, au as F } from "./CyUSCTdWkG7ZxVra.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
6
6
  *
7
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
8
  * License: The license can be found at https://www.sheetxl.com/license.
package/cdn/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -115,7 +115,7 @@ let c;
115
115
  const b = async (e) => c || (c = await (async (n, t) => {
116
116
  try {
117
117
  if (t?.selector && C(t?.selector, t?.loading), !n) {
118
- const { resolveDependencies: r } = await import("./assets/DoNQnutyjVRliOV0.js");
118
+ const { resolveDependencies: r } = await import("./assets/0vZqExkLfT4asC9K.js");
119
119
  n = await r(t?.dependencies);
120
120
  }
121
121
  t?.licenseKey && await n.StudioMUI.LicenseManager.setLicenseKey(t.licenseKey), t?.selector && h(t?.selector);
package/cdn/loader.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(e){typeof define=="function"&&define.amd?define(e):e()})(function(){"use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/studio-vanilla",
3
3
  "description": "SheetXL Studio - Vanilla entry point for integrating SheetXL UI.",
4
- "version": "0.3.19",
4
+ "version": "0.3.20",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "main": "./browser/esm/index.mjs",
@@ -41,12 +41,12 @@
41
41
  "@mui/styled-engine": "^6.5.0",
42
42
  "@mui/system": "^6.5.0",
43
43
  "@mui/utils": "^6.4.9",
44
- "@sheetxl/studio-mui": "^0.3.19",
44
+ "@sheetxl/studio-mui": "^0.3.20",
45
45
  "csstype": "^3.1.3",
46
46
  "http-server": "^14.1.1"
47
47
  },
48
48
  "peerDependencies": {
49
- "@sheetxl/sdk": "^0.3.19",
49
+ "@sheetxl/sdk": "^0.3.20",
50
50
  "react": "^19.1.0",
51
51
  "react-dom": "^19.1.0"
52
52
  }
package/types/index.d.ts CHANGED
@@ -138,7 +138,7 @@ export declare type StandaloneWorkbookProps = StandaloneWorkbookProps_2;
138
138
  /**
139
139
  * Reference to StudioMUI module.
140
140
  *
141
- * @link [@sheetxl/studio-mui](../modules/_sheetxl_studio-mui.html)
141
+ * [@sheetxl/studio-mui](../modules/_sheetxl_studio-mui.html)
142
142
  */
143
143
  export declare type StudioMUIModule = sheetxlStudioMui;
144
144
 
@@ -1,6 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react/jsx-runtime"),a=require("react"),n=require("./DQu9kotW1g223yHH.cjs"),H=["Input"],L=a.memo(a.forwardRef((y,N)=>{const{initialValue:O="",onOption:b,onValidateOption:r,onInputOption:s,onValidateInputOption:l,onDone:u,inputProps:c,inputLabel:k,inputType:T,inputPlaceHolder:w,options:d=H,autoFocusSel:F=".autoFocus",cancelOption:g,defaultOption:m=d?.[0],...S}=y,[P,v]=a.useState(!1),[t,C]=a.useState(O),[I,j]=a.useState(""),[V,q]=a.useState(!0),i=n.kn(async(e,o)=>{if(!l)return!0;const h=await l?.(e,o);j(h?.message??"");const x=h?.valid??!0;return q(x),x},[l]),f=n.kn(async e=>{s?.(t,e)},[t,s,u,b,g,m]),B=n.kn(async e=>{e.keyCode===n.ir.Enter&&await i?.(t,null)},[t,f]),D=n.kn(e=>{C(e.target.value),i?.(e.target.value,null)},[r]),M=n.kn(async e=>{let o=await i(t,e);try{o!==!1&&(o=await i(t,e))}catch{}return o??!0},[t,r]);return p.jsx(n.b4,{options:d,onDone:u,onOption:(e,o)=>{o||f(e)},onValidateOption:M,cancelOption:g,defaultOption:m,autoFocusSel:F,...S,children:p.jsx(n.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0)},children:p.jsx(n.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:p.jsx(n.TextField,{onFocus:e=>{P||e.target?.select(),v(!0)},type:T,label:k,helperText:I||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5),color:V?void 0:"error.main"}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{placeholder:w,spellCheck:!1,autoComplete:"off",...c,className:n.Go("autoFocus",c?.className),sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${n.alpha("#fff",n.Yb(5))}, ${n.alpha("#fff",n.Yb(5))})`}}},value:t,onChange:D,onKeyDown:B,onContextMenu:e=>{e.stopPropagation()}})})})})}));exports.default=L;
@@ -1,12 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("@sheetxl/sdk");exports.fromBufferJSON=async(g,y)=>{let i=g;(function(s){if(s.byteLength<4)return!1;const u=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);for(let n=0;n<r.length;n++){const o=r[n],e=c[o];let a=!0;for(let t=0;t<e.length;t++)if(u[t]!==e[t]){a=!1;break}if(a)return o}return!1})(i)&&(i=await async function(s,u="gzip"){const c=new Blob([s]).stream(),r=new DecompressionStream(u),n=c.pipeThrough(r);return(await new Response(n).blob()).arrayBuffer()}(i));let b=new TextDecoder().decode(i);const w=JSON.parse(b),p={...y?.constructorOptions??{},json:w};return new j.Workbook(p)},exports.toBufferJSON=async(g,y)=>{const i=await g.toJSON(),b=y?.whiteSpace??0;let w;y?.beforeWrite?.(g,i),w=b===0?JSON.stringify(i):function(u,c=2){const r=[];function n(o){const e=c*o;return r[e]===void 0&&(r[e]=" ".repeat(e)),r[e]}return function o(e,a,t,N){if(e==null||typeof e!="object")return JSON.stringify(e);const h=n(a),m=n(a+1);if(Array.isArray(e)){const f=e.length;if(f===0)return"[]";if(t!==0)return JSON.stringify(e);let l=`[
7
- `;for(let O=0;O<f;O++)l+=m+o(e[O],a+1,t+1,!0),O<f-1&&(l+=`,
8
- `);return l+=`
9
- `+h+"]",l}const J=Object.keys(e),d=J.length;if(d===0)return"{}";if(!(t<2))return JSON.stringify(e);let S=`{
10
- `;N||(t=0);for(let f=0;f<d;f++){const l=J[f];S+=m+JSON.stringify(l)+": "+o(e[l],a+1,t,!1),f<d-1&&(S+=`,
11
- `)}return S+=`
12
- `+h+"}",S}(u,0,0,!1)}(i,b);let p=new TextEncoder().encode(w);const s=y?.compress??!0;return s&&(p=await async function(u,c="gzip"){const r=new ReadableStream({start(e){e.enqueue(u),e.close()}}),n=new CompressionStream(c),o=r.pipeThrough(n);return(await new Response(o).blob()).arrayBuffer()}(p,typeof s=="string"?s:void 0)),p};
@@ -1,6 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("@sheetxl/sdk");exports.fromBufferCSV=async(a,d)=>{const{papaParseConfig:i,setValuesOptions:g,constructorOptions:h}=d??{},o=await Promise.resolve().then(()=>require("./gPTujfwB4RqxIcij.cjs")).then(n=>n.p),m=new TextDecoder().decode(a);let p=-1;const t=new S.Workbook(h),c=t.getSelectedSheet().getEntireRange().startIncrementalUpdates({orientation:S.IRange.Orientation.Row}),u=d?.onProgress;let e=0;const r={...i,transform:(n,f)=>{i?.transform&&(n=i.transform(n,f));const s=f;s===0&&p++;let l=n??"";return c.pushAt(p,s,l),e++,e%1e5==0&&u?.(e),n}};return o.parse(m,r).data,c.apply({textParser:!0,...g}),t},exports.toBufferCSV=async(a,d)=>{const{trimLeadingBlankRow:i=!0,trimLeadingBlankColumn:g=!0,excludeHidden:h=!1,sheetKey:o=null,papaParseConfig:m={}}=d||{},p=await Promise.resolve().then(()=>require("./gPTujfwB4RqxIcij.cjs")).then(s=>s.p);if(!a)throw new Error("workbook must be specified");let t=null;if(o===null?t=a.getSelectedSheet():typeof o=="number"?t=a.getSheets().search()[o]:typeof o=="string"&&(t=a.getSheets().getByName(o)),!t)throw new Error("invalid sheetKey specified");let c=null;const u=[];let e=null,r=t.getUsedRange({excludeHidden:h});if(!r)throw new Error("Nothing to export");if(!i||!g){const s=i?r.getRowStart():0,l=g?r.getColumnStart():0;r=r.getOffsetTo(s,l)}r.forEach((s,l)=>{const w=l.getCoords(),y=l.getCell();c!==w.rowIndex&&(e&&u.push(e),e=[],c=w.rowIndex);const x=y.toTextUnformatted()??"";e.push(x)},{includeEmpty:!0,address:null}),e&&u.push(e);const n={...m},f=p.unparse(u,n);return new TextEncoder().encode(f)};
@@ -1,80 +0,0 @@
1
- import { Workbook as k } from "@sheetxl/sdk";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
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 B = async (g, p) => {
9
- const i = await g.toJSON(), w = p?.whiteSpace ?? 0;
10
- let b;
11
- p?.beforeWrite?.(g, i), b = w === 0 ? JSON.stringify(i) : function(a, c = 2) {
12
- const r = [];
13
- function n(o) {
14
- const e = c * o;
15
- return r[e] === void 0 && (r[e] = " ".repeat(e)), r[e];
16
- }
17
- return function o(e, u, t, d) {
18
- if (e == null || typeof e != "object") return JSON.stringify(e);
19
- const m = n(u), J = n(u + 1);
20
- if (Array.isArray(e)) {
21
- const f = e.length;
22
- if (f === 0) return "[]";
23
- if (t !== 0) return JSON.stringify(e);
24
- let l = `[
25
- `;
26
- for (let O = 0; O < f; O++) l += J + o(e[O], u + 1, t + 1, !0), O < f - 1 && (l += `,
27
- `);
28
- return l += `
29
- ` + m + "]", l;
30
- }
31
- const N = Object.keys(e), h = N.length;
32
- if (h === 0) return "{}";
33
- if (!(t < 2)) return JSON.stringify(e);
34
- let S = `{
35
- `;
36
- d || (t = 0);
37
- for (let f = 0; f < h; f++) {
38
- const l = N[f];
39
- S += J + JSON.stringify(l) + ": " + o(e[l], u + 1, t, !1), f < h - 1 && (S += `,
40
- `);
41
- }
42
- return S += `
43
- ` + m + "}", S;
44
- }(a, 0, 0, !1);
45
- }(i, w);
46
- let y = new TextEncoder().encode(b);
47
- const s = p?.compress ?? !0;
48
- return s && (y = await async function(a, c = "gzip") {
49
- const r = new ReadableStream({ start(e) {
50
- e.enqueue(a), e.close();
51
- } }), n = new CompressionStream(c), o = r.pipeThrough(n);
52
- return (await new Response(o).blob()).arrayBuffer();
53
- }(y, typeof s == "string" ? s : void 0)), y;
54
- }, j = async (g, p) => {
55
- let i = g;
56
- (function(s) {
57
- if (s.byteLength < 4) return !1;
58
- 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);
59
- for (let n = 0; n < r.length; n++) {
60
- const o = r[n], e = c[o];
61
- let u = !0;
62
- for (let t = 0; t < e.length; t++) if (a[t] !== e[t]) {
63
- u = !1;
64
- break;
65
- }
66
- if (u) return o;
67
- }
68
- return !1;
69
- })(i) && (i = await async function(s, a = "gzip") {
70
- const c = new Blob([s]).stream(), r = new DecompressionStream(a), n = c.pipeThrough(r);
71
- return (await new Response(n).blob()).arrayBuffer();
72
- }(i));
73
- let w = new TextDecoder().decode(i);
74
- const b = JSON.parse(w), y = { ...p?.constructorOptions ?? {}, json: b };
75
- return new k(y);
76
- };
77
- export {
78
- j as fromBufferJSON,
79
- B as toBufferJSON
80
- };
@@ -1,41 +0,0 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { memo as j, forwardRef as z, useState as s } from "react";
3
- import { k as n, i as E, b as G, B as K, F as R, T as W, a as x, G as Y, Y as y } from "./BjXzbYB0kCMhwN3Y.mjs";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
6
- *
7
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
- * License: The license can be found at https://www.sheetxl.com/license.
9
- */
10
- const q = ["Input"], X = j(z((w, A) => {
11
- const { initialValue: T = "", onOption: F, onValidateOption: r, onInputOption: l, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: I, inputType: P, inputPlaceHolder: b, options: d = q, autoFocusSel: k = ".autoFocus", cancelOption: g, defaultOption: m = d?.[0], ...v } = w, [C, V] = s(!1), [o, B] = s(T), [D, S] = s(""), [H, L] = s(!0), e = n(async (a, t) => {
12
- if (!p) return !0;
13
- const h = await p?.(a, t);
14
- S(h?.message ?? "");
15
- const O = h?.valid ?? !0;
16
- return L(O), O;
17
- }, [p]), f = n(async (a) => {
18
- l?.(o, a);
19
- }, [o, l, u, F, g, m]), M = n(async (a) => {
20
- a.keyCode === E.Enter && await e?.(o, null);
21
- }, [o, f]), N = n((a) => {
22
- B(a.target.value), e?.(a.target.value, null);
23
- }, [r]), $ = n(async (a) => {
24
- let t = await e(o, a);
25
- try {
26
- t !== !1 && (t = await e(o, a));
27
- } catch {
28
- }
29
- return t ?? !0;
30
- }, [o, r]);
31
- return i(G, { options: d, onDone: u, onOption: (a, t) => {
32
- t || f(a);
33
- }, onValidateOption: $, cancelOption: g, defaultOption: m, autoFocusSel: k, ...v, children: i(K, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0) }, children: i(R, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i(W, { onFocus: (a) => {
34
- C || a.target?.select(), V(!0);
35
- }, type: P, label: I, helperText: D || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: b, spellCheck: !1, autoComplete: "off", ...c, className: Y("autoFocus", c?.className), sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${x("#fff", y(5))}, ${x("#fff", y(5))})` } } }, value: o, onChange: N, onKeyDown: M, onContextMenu: (a) => {
36
- a.stopPropagation();
37
- } }) }) }) });
38
- }));
39
- export {
40
- X as default
41
- };
@@ -1,80 +0,0 @@
1
- import { Workbook as k } from "@sheetxl/sdk";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
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 B = async (g, p) => {
9
- const i = await g.toJSON(), w = p?.whiteSpace ?? 0;
10
- let b;
11
- p?.beforeWrite?.(g, i), b = w === 0 ? JSON.stringify(i) : function(a, c = 2) {
12
- const r = [];
13
- function n(o) {
14
- const e = c * o;
15
- return r[e] === void 0 && (r[e] = " ".repeat(e)), r[e];
16
- }
17
- return function o(e, u, t, d) {
18
- if (e == null || typeof e != "object") return JSON.stringify(e);
19
- const m = n(u), J = n(u + 1);
20
- if (Array.isArray(e)) {
21
- const f = e.length;
22
- if (f === 0) return "[]";
23
- if (t !== 0) return JSON.stringify(e);
24
- let l = `[
25
- `;
26
- for (let O = 0; O < f; O++) l += J + o(e[O], u + 1, t + 1, !0), O < f - 1 && (l += `,
27
- `);
28
- return l += `
29
- ` + m + "]", l;
30
- }
31
- const N = Object.keys(e), h = N.length;
32
- if (h === 0) return "{}";
33
- if (!(t < 2)) return JSON.stringify(e);
34
- let S = `{
35
- `;
36
- d || (t = 0);
37
- for (let f = 0; f < h; f++) {
38
- const l = N[f];
39
- S += J + JSON.stringify(l) + ": " + o(e[l], u + 1, t, !1), f < h - 1 && (S += `,
40
- `);
41
- }
42
- return S += `
43
- ` + m + "}", S;
44
- }(a, 0, 0, !1);
45
- }(i, w);
46
- let y = new TextEncoder().encode(b);
47
- const s = p?.compress ?? !0;
48
- return s && (y = await async function(a, c = "gzip") {
49
- const r = new ReadableStream({ start(e) {
50
- e.enqueue(a), e.close();
51
- } }), n = new CompressionStream(c), o = r.pipeThrough(n);
52
- return (await new Response(o).blob()).arrayBuffer();
53
- }(y, typeof s == "string" ? s : void 0)), y;
54
- }, j = async (g, p) => {
55
- let i = g;
56
- (function(s) {
57
- if (s.byteLength < 4) return !1;
58
- 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);
59
- for (let n = 0; n < r.length; n++) {
60
- const o = r[n], e = c[o];
61
- let u = !0;
62
- for (let t = 0; t < e.length; t++) if (a[t] !== e[t]) {
63
- u = !1;
64
- break;
65
- }
66
- if (u) return o;
67
- }
68
- return !1;
69
- })(i) && (i = await async function(s, a = "gzip") {
70
- const c = new Blob([s]).stream(), r = new DecompressionStream(a), n = c.pipeThrough(r);
71
- return (await new Response(n).blob()).arrayBuffer();
72
- }(i));
73
- let w = new TextDecoder().decode(i);
74
- const b = JSON.parse(w), y = { ...p?.constructorOptions ?? {}, json: b };
75
- return new k(y);
76
- };
77
- export {
78
- j as fromBufferJSON,
79
- B as toBufferJSON
80
- };
@@ -1,41 +0,0 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { memo as j, forwardRef as z, useState as s } from "react";
3
- import { k as n, i as E, b as G, B as K, F as R, T as W, a as x, G as Y, Y as y } from "./DVoDFCX7Bv_zFVVi.js";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.19
6
- *
7
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
- * License: The license can be found at https://www.sheetxl.com/license.
9
- */
10
- const q = ["Input"], X = j(z((w, A) => {
11
- const { initialValue: T = "", onOption: F, onValidateOption: r, onInputOption: l, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: I, inputType: P, inputPlaceHolder: b, options: d = q, autoFocusSel: k = ".autoFocus", cancelOption: g, defaultOption: m = d?.[0], ...v } = w, [C, V] = s(!1), [o, B] = s(T), [D, S] = s(""), [H, L] = s(!0), e = n(async (a, t) => {
12
- if (!p) return !0;
13
- const h = await p?.(a, t);
14
- S(h?.message ?? "");
15
- const O = h?.valid ?? !0;
16
- return L(O), O;
17
- }, [p]), f = n(async (a) => {
18
- l?.(o, a);
19
- }, [o, l, u, F, g, m]), M = n(async (a) => {
20
- a.keyCode === E.Enter && await e?.(o, null);
21
- }, [o, f]), N = n((a) => {
22
- B(a.target.value), e?.(a.target.value, null);
23
- }, [r]), $ = n(async (a) => {
24
- let t = await e(o, a);
25
- try {
26
- t !== !1 && (t = await e(o, a));
27
- } catch {
28
- }
29
- return t ?? !0;
30
- }, [o, r]);
31
- return i(G, { options: d, onDone: u, onOption: (a, t) => {
32
- t || f(a);
33
- }, onValidateOption: $, cancelOption: g, defaultOption: m, autoFocusSel: k, ...v, children: i(K, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0) }, children: i(R, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i(W, { onFocus: (a) => {
34
- C || a.target?.select(), V(!0);
35
- }, type: P, label: I, helperText: D || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: b, spellCheck: !1, autoComplete: "off", ...c, className: Y("autoFocus", c?.className), sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${x("#fff", y(5))}, ${x("#fff", y(5))})` } } }, value: o, onChange: N, onKeyDown: M, onContextMenu: (a) => {
36
- a.stopPropagation();
37
- } }) }) }) });
38
- }));
39
- export {
40
- X as default
41
- };