@sheetxl/studio-mui 0.6.6 → 0.6.8

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 (45) hide show
  1. package/browser/cjs/{BnzLXJ_f-WnIEHA7.cjs → 2jMsSveHxIeW9vc-.cjs} +1 -1
  2. package/browser/cjs/{L3kTnaogdAjKmBcL.cjs → 3XmMvO6_kJ7FXT7X.cjs} +1 -1
  3. package/browser/cjs/{BN2uLx4xGjk-OlUv.cjs → 5otKot37H6vcYOUU.cjs} +2 -2
  4. package/browser/cjs/BbzapT5WI3CiGf1M.cjs +18 -0
  5. package/browser/cjs/{CUT6hk38cssRLfxe.cjs → BfFOZEWQLNDtV64Z.cjs} +2 -2
  6. package/browser/cjs/CCskuVvL-LAdq6gD.cjs +20 -0
  7. package/browser/cjs/{DBqla_PwQUaZTKah.cjs → CH1F9benjH9bHO_7.cjs} +1 -1
  8. package/browser/cjs/CWjovJuzONezFAQF.cjs +42 -0
  9. package/browser/cjs/{B6xMVH-gFKvv7HTm.cjs → Ch_6Tr0DuGgUaQZJ.cjs} +2 -2
  10. package/browser/cjs/{Ubpcm3GwuRfaaW1V.cjs → Ckb0CwUnJxeHWWDK.cjs} +1 -1
  11. package/browser/cjs/Dq_l1pds9lpMnj-J.cjs +6 -0
  12. package/browser/cjs/index.cjs +2 -2
  13. package/browser/cjs/{BjuWRjBUgXPf4mv5.cjs → nko0JKeI81_5dAMe.cjs} +2 -2
  14. package/browser/esm/B2PqCU6GPlE3eDD1.mjs +4484 -0
  15. package/browser/esm/{5Ukv5-SQmOLwdH1V.mjs → BD-fH8NEfIElOMgo.mjs} +2 -2
  16. package/browser/esm/{CrzQTch0GzxqX1Hh.mjs → BRR2vuFbSpVqdm9A.mjs} +2 -2
  17. package/browser/esm/{q95zwalhNRxfwm2I.mjs → BiQFT-WlOzD_j4Ru.mjs} +88 -88
  18. package/browser/esm/{BWwRv_4Vs3pIJHK-.mjs → Bo42D_sQtYgV9ScL.mjs} +1 -1
  19. package/browser/esm/{CyT1_wFdlQtHv48w.mjs → CKBBeWaxfaYSHsce.mjs} +2 -2
  20. package/browser/esm/{D1Jl9RDW29udjLaD.mjs → Cn3VjET_1xEAlu_q.mjs} +2 -2
  21. package/browser/esm/{BccWI_Pflx_rlXOP.mjs → DQD-g2K2jGKlZMPc.mjs} +18 -18
  22. package/browser/esm/{CTfL4NRMBZr5dUNM.mjs → DTev1OU-RstyyEF3.mjs} +1 -1
  23. package/browser/esm/{CGU0MsHi6xVOM3Wy.mjs → DXNqs-21xgljmyEf.mjs} +1 -1
  24. package/browser/esm/{Wo3zv3YCmz4f5NpR.mjs → DZqhrQSeTgeOq9dS.mjs} +1 -1
  25. package/browser/esm/{ChXhIK3n7tSPyfOU.mjs → _YOmXt1suyvp8BEA.mjs} +183 -183
  26. package/browser/esm/index.mjs +2 -2
  27. package/licenses/dependencies.txt +142 -142
  28. package/node/esm/{Nxk8BN00peWJT0Pd.mjs → B6HOgYadEWJcQld2.mjs} +1 -1
  29. package/node/esm/{oP0NpP9IIAnwgsOY.mjs → BQBgYidb7jJOnIIE.mjs} +1 -1
  30. package/node/esm/{D8uH0zqPI1d50qsx.mjs → BvlmWwsKbzFjTlz8.mjs} +1 -1
  31. package/node/esm/{BRsMzfYwnF3y7jL5.mjs → BxRPA2P896KAO75c.mjs} +1 -1
  32. package/node/esm/{C9HmzGWmGV2F1-iF.mjs → CPgVGR_Py37P6eec.mjs} +1 -1
  33. package/node/esm/{Dy5ZlGkkqU9eK4Mt.mjs → CvPNM5OTMpLK0B1B.mjs} +1 -1
  34. package/node/esm/{CADlYGKEEO7IDDe4.mjs → D9Twl23-5S9JqLPY.mjs} +1 -1
  35. package/node/esm/{DxhxmNkJB4A7DSHZ.mjs → DYmzWjYW7v2waD5l.mjs} +1 -1
  36. package/node/esm/{C4HcRU0pP7BegG2D.mjs → NKMueEYZmtL2qnXF.mjs} +3 -3
  37. package/node/esm/index.mjs +339 -294
  38. package/node/esm/{CFBxXNyH40J__9j7.mjs → swsNTAtlcfh2QiUq.mjs} +1 -1
  39. package/package.json +9 -9
  40. package/types/index.d.ts +3 -0
  41. package/browser/cjs/CtRt6b0Z9PqCHSYZ.cjs +0 -18
  42. package/browser/cjs/Dcrkgeqj3YntIuSp.cjs +0 -6
  43. package/browser/cjs/fFQ9XQWBeQc3axmM.cjs +0 -20
  44. package/browser/cjs/miraQ-Yi17yo4jmD.cjs +0 -42
  45. package/browser/esm/C1Z_BXflJEH0VdJS.mjs +0 -4439
@@ -6,9 +6,9 @@ import { ArrowBack as he, ArrowUpward as Oe, ArrowForward as Ce, ArrowDownward a
6
6
  import { ICell as c, IRange as R } from "@sheetxl/sdk";
7
7
  import { useCallbackRef as $, KeyCodes as be, KeyModifiers as y } from "@sheetxl/utils-react";
8
8
  import { InternalWindow as Te, ExhibitOptionButton as m, themeIcon as x, FindOptionsIcon as ve, FindReplaceToggleIcon as Re, FindCaseSensitiveIcon as Ie, FindWholeWordIcon as ke, FindRegExIcon as Fe, FindReplaceIcon as we, FindReplaceAllIcon as Ee, ExhibitDivider as Se } from "@sheetxl/utils-mui";
9
- import { u as De } from "./C1Z_BXflJEH0VdJS.mjs";
9
+ import { u as De } from "./B2PqCU6GPlE3eDD1.mjs";
10
10
  /**
11
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.6
11
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.8
12
12
  *
13
13
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
14
14
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -3,9 +3,9 @@ import { memo as E, useMemo as R, useState as d, useCallback as V } from "react"
3
3
  import { Box as L } from "@mui/material";
4
4
  import { useCallbackRef as m } from "@sheetxl/utils-react";
5
5
  import { OptionsDialog as S } from "@sheetxl/utils-mui";
6
- import { N as A, R as G } from "./C1Z_BXflJEH0VdJS.mjs";
6
+ import { N as A, R as G } from "./B2PqCU6GPlE3eDD1.mjs";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.6
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.8
9
9
  *
10
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
11
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.8
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.
@@ -14,9 +14,9 @@ function te(t) {
14
14
  return typeof t == "number";
15
15
  }
16
16
  function ae(t) {
17
- return t === !0 || t === !1 || function(e) {
17
+ return t === !0 || t === !1 || (function(e) {
18
18
  return ne(e) && e !== null;
19
- }(t) && se(t) == "[object Boolean]";
19
+ })(t) && se(t) == "[object Boolean]";
20
20
  }
21
21
  function ne(t) {
22
22
  return typeof t == "object";
@@ -75,13 +75,13 @@ var l = { isCaseSensitive: !1, ignoreDiacritics: !1, includeScore: !1, keys: [],
75
75
  if (M(c)) if (u[o]) {
76
76
  const r = c[u[o]];
77
77
  if (!M(r)) return;
78
- if (o === u.length - 1 && (v(r) || te(r) || ae(r))) n.push(function(a) {
79
- return a == null ? "" : function(h) {
78
+ if (o === u.length - 1 && (v(r) || te(r) || ae(r))) n.push((function(a) {
79
+ return a == null ? "" : (function(h) {
80
80
  if (typeof h == "string") return h;
81
81
  let g = h + "";
82
82
  return g == "0" && 1 / h == -1 / 0 ? "-0" : g;
83
- }(a);
84
- }(r));
83
+ })(a);
84
+ })(r));
85
85
  else if (I(r)) {
86
86
  s = !0;
87
87
  for (let a = 0, h = r.length; a < h; a += 1) i(r[a], u, o + 1);
@@ -93,7 +93,7 @@ var l = { isCaseSensitive: !1, ignoreDiacritics: !1, includeScore: !1, keys: [],
93
93
  const de = /[^ ]+/g;
94
94
  class U {
95
95
  constructor({ getFn: e = l.getFn, fieldNormWeight: n = l.fieldNormWeight } = {}) {
96
- this.norm = function(s = 1, i = 3) {
96
+ this.norm = (function(s = 1, i = 3) {
97
97
  const c = /* @__PURE__ */ new Map(), u = Math.pow(10, i);
98
98
  return { get(o) {
99
99
  const r = o.match(de).length;
@@ -103,7 +103,7 @@ class U {
103
103
  }, clear() {
104
104
  c.clear();
105
105
  } };
106
- }(n, 3), this.getFn = e, this.isCreated = !1, this.setIndexRecords();
106
+ })(n, 3), this.getFn = e, this.isCreated = !1, this.setIndexRecords();
107
107
  }
108
108
  setSources(e = []) {
109
109
  this.docs = e;
@@ -217,14 +217,14 @@ function ge(t, e, n, { location: s = l.location, distance: i = l.distance, thres
217
217
  }
218
218
  const S = { isMatch: A >= 0, score: Math.max(1e-3, k) };
219
219
  if (C) {
220
- const y = function(B = [], L = l.minMatchCharLength) {
220
+ const y = (function(B = [], L = l.minMatchCharLength) {
221
221
  let N = [], x = -1, _ = -1, m = 0;
222
222
  for (let R = B.length; m < R; m += 1) {
223
223
  let O = B[m];
224
224
  O && x === -1 ? x = m : O || x === -1 || (_ = m - 1, _ - x + 1 >= L && N.push([x, _]), x = -1);
225
225
  }
226
226
  return B[m - 1] && m - x >= L && N.push([x, m - 1]), N;
227
- }(p, o);
227
+ })(p, o);
228
228
  y.length ? r && (S.indices = y) : S.isMatch = !1;
229
229
  }
230
230
  return S;
@@ -430,7 +430,7 @@ const J = [class extends w {
430
430
  }, ce], Y = J.length, Ae = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, pe = /* @__PURE__ */ new Set([ce.type, oe.type]);
431
431
  class Ce {
432
432
  constructor(e, { isCaseSensitive: n = l.isCaseSensitive, ignoreDiacritics: s = l.ignoreDiacritics, includeMatches: i = l.includeMatches, minMatchCharLength: c = l.minMatchCharLength, ignoreLocation: u = l.ignoreLocation, findAllMatches: o = l.findAllMatches, location: r = l.location, threshold: a = l.threshold, distance: h = l.distance } = {}) {
433
- this.query = null, this.options = { isCaseSensitive: n, ignoreDiacritics: s, includeMatches: i, minMatchCharLength: c, findAllMatches: o, ignoreLocation: u, location: r, threshold: a, distance: h }, e = n ? e : e.toLowerCase(), e = s ? z(e) : e, this.pattern = e, this.query = function(g, d = {}) {
433
+ this.query = null, this.options = { isCaseSensitive: n, ignoreDiacritics: s, includeMatches: i, minMatchCharLength: c, findAllMatches: o, ignoreLocation: u, location: r, threshold: a, distance: h }, e = n ? e : e.toLowerCase(), e = s ? z(e) : e, this.pattern = e, this.query = (function(g, d = {}) {
434
434
  return g.split("|").map((f) => {
435
435
  let A = f.trim().split(Ae).filter((p) => p && !!p.trim()), C = [];
436
436
  for (let p = 0, E = A.length; p < E; p += 1) {
@@ -452,7 +452,7 @@ class Ce {
452
452
  }
453
453
  return C;
454
454
  });
455
- }(this.pattern, this.options);
455
+ })(this.pattern, this.options);
456
456
  }
457
457
  static condition(e, n) {
458
458
  return n.useExtendedSearch;
@@ -555,7 +555,7 @@ class j {
555
555
  search(e, { limit: n = -1 } = {}) {
556
556
  const { includeMatches: s, includeScore: i, shouldSort: c, sortFn: u, ignoreFieldNorm: o } = this.options;
557
557
  let r = v(e) ? v(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e);
558
- return function(a, { ignoreFieldNorm: h = l.ignoreFieldNorm }) {
558
+ return (function(a, { ignoreFieldNorm: h = l.ignoreFieldNorm }) {
559
559
  a.forEach((g) => {
560
560
  let d = 1;
561
561
  g.matches.forEach(({ key: f, norm: A, score: C }) => {
@@ -563,7 +563,7 @@ class j {
563
563
  d *= Math.pow(C === 0 && p ? Number.EPSILON : C, (p || 1) * (h ? 1 : A));
564
564
  }), g.score = d;
565
565
  });
566
- }(r, { ignoreFieldNorm: o }), c && r.sort(u), te(n) && n > -1 && (r = r.slice(0, n)), function(a, h, { includeMatches: g = l.includeMatches, includeScore: d = l.includeScore } = {}) {
566
+ })(r, { ignoreFieldNorm: o }), c && r.sort(u), te(n) && n > -1 && (r = r.slice(0, n)), (function(a, h, { includeMatches: g = l.includeMatches, includeScore: d = l.includeScore } = {}) {
567
567
  const f = [];
568
568
  return g && f.push(Me), d && f.push(Ee), a.map((A) => {
569
569
  const { idx: C } = A, p = { item: h[C], refIndex: C };
@@ -571,7 +571,7 @@ class j {
571
571
  E(A, p);
572
572
  }), p;
573
573
  });
574
- }(r, this._docs, { includeMatches: s, includeScore: i });
574
+ })(r, this._docs, { includeMatches: s, includeScore: i });
575
575
  }
576
576
  _searchStringList(e) {
577
577
  const n = Q(e, this.options), { records: s } = this._myIndex, i = [];
@@ -632,9 +632,9 @@ class j {
632
632
  j.version = "7.1.0", j.createIndex = re, j.parseIndex = function(t, { getFn: e = l.getFn, fieldNormWeight: n = l.fieldNormWeight } = {}) {
633
633
  const { keys: s, records: i } = t, c = new U({ getFn: e, fieldNormWeight: n });
634
634
  return c.setKeys(s), c.setIndexRecords(i), c;
635
- }, j.config = l, j.parseQuery = he, function(...t) {
635
+ }, j.config = l, j.parseQuery = he, (function(...t) {
636
636
  V.push(...t);
637
- }(Ce);
637
+ })(Ce);
638
638
  export {
639
639
  j as default
640
640
  };
@@ -6,7 +6,7 @@ import { NumberFormat as n } from "@sheetxl/sdk";
6
6
  import { useCallbackRef as c, KeyCodes as Q } from "@sheetxl/utils-react";
7
7
  import { OptionsDialog as U } from "@sheetxl/utils-mui";
8
8
  /**
9
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.6
9
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.8
10
10
  *
11
11
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
12
12
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -5,7 +5,7 @@ import { Box as V, FormControl as $, TextField as j } from "@mui/material";
5
5
  import { useCallbackRef as m } from "@sheetxl/utils-react";
6
6
  import { OptionsDialog as z } from "@sheetxl/utils-mui";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.6
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.8
9
9
  *
10
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
11
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -5,7 +5,7 @@ import { Box as S, FormControl as D, TextField as F } from "@mui/material";
5
5
  import { useCallbackRef as f } from "@sheetxl/utils-react";
6
6
  import { OptionsDialog as U } from "@sheetxl/utils-mui";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.6
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.8
9
9
  *
10
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
11
  * License: The license can be found at https://www.sheetxl.com/license.