@sheetxl/studio-mui 0.4.14 → 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.
- package/browser/cjs/{-zKDSjn55SCvCwk8.cjs → BNHQPLsVdLmkPgyG.cjs} +1 -1
- package/browser/cjs/{d2jsgbPdf35xArnn.cjs → BUU_z9x81l1Qnv1t.cjs} +2 -2
- package/browser/cjs/{C6Fk0jGWAOED60yf.cjs → BX8hkPMsPd9PSv0Z.cjs} +1 -1
- package/browser/cjs/{B1Eaz6PFZAmrWiyY.cjs → BknKSPzyXctJohHb.cjs} +2 -2
- package/browser/cjs/{CRvxop0QcZL23Akb.cjs → Blfxp7Ec3Yjx3gNU.cjs} +2 -2
- package/browser/cjs/{W7LR70ajtjR9Lmvl.cjs → BqFEcpPZjpwULlZk.cjs} +2 -2
- package/browser/cjs/{Bmifo5y7ZMJolUTY.cjs → C-pPuqiWtgMU4NgZ.cjs} +1 -1
- package/browser/cjs/{CS5USjyVh8DwPSri.cjs → C9eqE9OnPkiI-5Zd.cjs} +1 -1
- package/browser/cjs/{BpLu9-spCLcAFdwd.cjs → CB6DGRkCA3BLDEFr.cjs} +2 -2
- package/browser/cjs/{AoLA7tfyPshG_mKt.cjs → CO4rZgb0ObTZh6NO.cjs} +2 -2
- package/browser/cjs/CU900NraHPDHMGJt.cjs +18 -0
- package/browser/cjs/{BkVtS9FZxWYNmrbU.cjs → Cpo-h2pMpScosT7r.cjs} +1 -1
- package/browser/cjs/{DD8-ZSDUkRqk7l6y.cjs → Cq2L49XjSKiIAsND.cjs} +1 -1
- package/browser/cjs/{BiBEmbWoJHdOB1li.cjs → D9X3UXVH6b_NJFeo.cjs} +1 -1
- package/browser/cjs/{DNL88d5PGwk92LeD.cjs → DZJO-_8PnMFRZMpg.cjs} +2 -2
- package/browser/cjs/{DZ8WTAzF6V2Tw1tW.cjs → DmCCEKhedSOg163M.cjs} +2 -2
- package/browser/cjs/DpZ5HlIMG95q2uIe.cjs +96 -0
- package/browser/cjs/{B8ZfZXhvW4sSKKZs.cjs → DwLcsRl4-LumKl6l.cjs} +2 -2
- package/browser/cjs/{BAfNSJo7fktzFVJd.cjs → Dy2vYVhrEqTHdzfD.cjs} +3 -3
- package/browser/cjs/{BqOg0z4HGrbNaL1k.cjs → Gj8MlEhOCg_o7idM.cjs} +2 -2
- package/browser/cjs/{BH0v7IIykugrFxaT.cjs → IllnWqWVClWDW1ot.cjs} +2 -2
- package/browser/cjs/{BUwmvmcdC0xBQ97L.cjs → J3xq71qTV9LqCUzu.cjs} +1 -1
- package/browser/cjs/{XGmQ2kUHM2qQkG1r.cjs → X9sJMKafafBPpNpK.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{D2gy3JDrJyGAMqsl.cjs → klnhoS0cqBpCC5fo.cjs} +2 -2
- package/browser/esm/{CBQZHZlKIiEz186r.mjs → BQNKKCtIvfOMph3T.mjs} +89 -90
- package/browser/esm/{C4ORm_Up6Zxt92F_.mjs → BiQfhG8JMHeWuT63.mjs} +1 -1
- package/browser/esm/{C5OCdRxcYIZViFzN.mjs → Btyp6us1Vzz3ZfHk.mjs} +1 -1
- package/browser/esm/{CHovQU_R4AuKULmT.mjs → Bvr3QlWdnOSnskWL.mjs} +1 -1
- package/browser/esm/{Ks946bL2vmd4m743.mjs → CYpvNksOw1PyhLpA.mjs} +6 -6
- package/browser/esm/{CQiALmsycGGLFj1o.mjs → CcZUaOkODU7h0onP.mjs} +5 -5
- package/browser/esm/{B-rZWEIXFvB2W_mP.mjs → CnXUhdLB8blNUvSr.mjs} +1 -1
- package/browser/esm/{ClmlhDf-0RC5GFV3.mjs → CwjVlrJJqEGZX6q2.mjs} +6 -6
- package/browser/esm/{CSKgHJSTMvOEe2RH.mjs → D0v3VaJtA3LjHpWR.mjs} +11803 -10968
- package/browser/esm/{CS6uJp7phBvUmos6.mjs → D4DvAg7aaaWl0TPV.mjs} +6 -6
- package/browser/esm/{CYG1vk4AMMwqsul7.mjs → DAZNeiMI9sOM-xd8.mjs} +1 -1
- package/browser/esm/DGUm6rEOgO8WrVtT.mjs +23 -0
- package/browser/esm/{C8po4rRYJ8127Rgb.mjs → DGoy2q9hDB7kive6.mjs} +10 -10
- package/browser/esm/{CmAnpd_SOxQuTQRL.mjs → DSCE3cCea5d5Ip-N.mjs} +3 -3
- package/browser/esm/{DgKsUQMTThBdEQds.mjs → DrTLuc1VQWQfDAej.mjs} +12 -12
- package/browser/esm/{_FvE2-K7MOW_qWVS.mjs → DuzycndVID_eag8V.mjs} +1 -1
- package/browser/esm/FZoe4QJ2ecSD1pjB.mjs +43 -0
- package/browser/esm/{CB7vnn7AtsGma4R6.mjs → HI5oLhcn8kfiky1k.mjs} +1 -1
- package/browser/esm/{TlZOl3Gt-d0Nc2a8.mjs → T2YlNqs-LGJBm08C.mjs} +3 -3
- package/browser/esm/{vgS9ixFRuZrPx6vq.mjs → UCJVaz3qX1u53mgI.mjs} +1 -1
- package/browser/esm/{Dc1PmtvbeqsIQHq6.mjs → UWejV3W_nMwWqnxY.mjs} +20 -20
- package/browser/esm/{DWy4L2usallW0WdU.mjs → VpP_qw0lmgCaHdHR.mjs} +69 -69
- package/browser/esm/{4fzdzYhVH9eIXv-E.mjs → YS19x3zzRUKQqXu_.mjs} +2 -2
- package/browser/esm/index.mjs +66 -65
- package/browser/esm/{CCwOCTrf9Bira1-Y.mjs → jqoS02EUPE2WEY1t.mjs} +1 -1
- package/licenses/dependencies.txt +134 -134
- package/node/esm/{DC2dPUCWVgxEKzaS.mjs → 3htalFC0z5xbRnmH.mjs} +13 -13
- package/node/esm/{DOUP6ynjlQE-UEJs.mjs → B-pzKiKMkbB9Es-9.mjs} +6 -6
- package/node/esm/{Bgtg4I8EL4M776SY.mjs → BFxzGj5sPFwrklFi.mjs} +8 -8
- package/node/esm/{BTNBRzW8ZZbJY4GL.mjs → BGYSS0lvjSMTtreq.mjs} +1 -1
- package/node/esm/{762kbapO408ejsVC.mjs → BGZpuIQG7RsGY_HH.mjs} +2 -2
- package/node/esm/{yP0whgIwVZApluLw.mjs → BTnlaEz7yZqa7QHP.mjs} +2 -2
- package/node/esm/{yB8OTWhDomxUy_SX.mjs → BfUEFSGuAZXw2fvO.mjs} +2 -2
- package/node/esm/{DUqIYzvmrCd67Dpx.mjs → BiJ5CZBAxg4-QDHh.mjs} +2 -2
- package/node/esm/{BR9YJuwMP9nTMBE-.mjs → Bnkt1wiWaLEq8xla.mjs} +1 -1
- package/node/esm/{DrujinnhlNDCosqb.mjs → BwbOSLs2gcxOaV0i.mjs} +1 -1
- package/node/esm/{CzWLA_IQgFbENkMq.mjs → CAWLE2N0nA-FjUkH.mjs} +1 -1
- package/node/esm/{CTpkd2r1aBS5d0yl.mjs → CSnI8PJEgxEQEj1B.mjs} +1 -1
- package/node/esm/{DWCxF-chq5dVi363.mjs → CvYpf-Km1Rvg15q4.mjs} +38 -38
- package/node/esm/{Bi5br6yrYZqhLEiY.mjs → CxhzSvAqksnasp3g.mjs} +4 -4
- package/node/esm/{CZoMFCKJudiTl_Tf.mjs → DCrdGvQ_vOB2o-ca.mjs} +2 -2
- package/node/esm/{D1GfRQ1jyFg-wmLD.mjs → DhGXQOOW9FBpgCqI.mjs} +1 -1
- package/node/esm/{DghPySv_2Ts78czJ.mjs → DkhnVkboeZsdMJxH.mjs} +1 -1
- package/node/esm/{VHY56h6xqQcPba6u.mjs → DnMRqYWKDGXlNm42.mjs} +1 -1
- package/node/esm/{dlEq3vDkIERtTn7Y.mjs → DsS5U5rJ5tNVEGXs.mjs} +25 -25
- package/node/esm/{CCygt4zw40-jO57G.mjs → DuyHq4Fs-_RQkwF_.mjs} +2 -2
- package/node/esm/{CY1qC_sXGD6av4yO.mjs → FzVegyt0upYkLobF.mjs} +2 -2
- package/node/esm/{B0gJGF9-J3L5yBEW.mjs → imk332niB0MxWuGl.mjs} +5 -5
- package/node/esm/index.mjs +5264 -4999
- package/package.json +8 -8
- package/types/index.d.ts +11 -0
- package/browser/cjs/As7uhSEgY8VJ3I6f.cjs +0 -90
- package/browser/cjs/Chz3K3Qt8M2FNJwI.cjs +0 -12
- package/browser/cjs/DTHMIHonHaHeJ0o1.cjs +0 -18
- package/browser/esm/CIH3ADFJJmUiyA8p.mjs +0 -864
- package/browser/esm/Dk00kGaRJxiitO5-.mjs +0 -23
- package/browser/esm/FdSIHwC_mNRZpcgJ.mjs +0 -43
- package/node/esm/DsD7O5j2cXyaECkB.mjs +0 -313
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as ie, jsx as U } from "react/jsx-runtime";
|
|
2
2
|
import O, { isValidElement as qu, PureComponent as pe, Component as de, memo as Ku, useState as ft, useCallback as ct, useLayoutEffect as Gu } from "react";
|
|
3
3
|
import { Box as Ju } from "@mui/material";
|
|
4
|
-
import { g as mu, r as Qu, c as ve, i as Zu, u as es, C as ts } from "./
|
|
4
|
+
import { g as mu, r as Qu, c as ve, i as Zu, u as es, C as ts } from "./D0v3VaJtA3LjHpWR.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
|
|
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.
|
package/browser/esm/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._sheetxl-reset_ods65_1{display:block;margin:0;padding:0;line-height:normal}._sheetxl-reset_ods65_1 table,._sheetxl-reset_ods65_1 thead,._sheetxl-reset_ods65_1 tbody,._sheetxl-reset_ods65_1 tfoot,._sheetxl-reset_ods65_1 tr,._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:block;width:auto;height:auto;margin:0;padding:0;border:none;border-collapse:inherit;border-spacing:0;border-color:inherit;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:inline}html{color:initial}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4{fill:currentColor}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .activeColor{fill:var(--sxl-color-active)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .background{fill:var(--sxl-app-color-background)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .grey{fill:var(--sxl-app-color-grey)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .highContrast{fill:var(--sxl-app-color-high)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info{fill:var(--sxl-app-color-info)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.light{fill:var(--sxl-app-color-info-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.dark{fill:var(--sxl-app-color-info-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary{fill:var(--sxl-app-color-secondary)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.light{fill:var(--sxl-app-color-secondary-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.dark{fill:var(--sxl-app-color-secondary-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success{fill:var(--sxl-app-color-success)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.light{fill:var(--sxl-app-color-success-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.dark{fill:var(--sxl-app-color-success-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning{fill:var(--sxl-app-color-warning)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .light{fill:var(--sxl-app-color-warning-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .dark{fill:var(--sxl-app-color-warning-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error{fill:var(--sxl-app-color-error)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .light{fill:var(--sxl-app-color-error-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .dark{fill:var(--sxl-app-color-error-dark)}._sheetxl-workbook_1j3lu_5{display:flex;position:relative;overflow:hidden;flex-direction:column;width:100%;height:100%;outline:none}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer{background-color:var(--sxl-app-color-grey, grey)}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer:hover,._sheetxl-workbook_1j3lu_5 .splitPane.dragging .styled-resizer{background-color:var(--sxl-app-color-primary, blue)}._card_1a398_7{width:100%}._actionRoot_1a398_11{padding:8px 8px 8px 16px;justify-content:space-between}._icons_1a398_16{margin-left:auto;display:flex;align-items:center}._expand_1a398_22{padding:8px;transform:rotate(0);color:#d32f2f;transition:all .2s ease-in-out}._expandOpen_1a398_29{transform:rotate(180deg)}._stackTraceContainer_1a398_33{padding:16px}._paper_1a398_37{background-color:#fff;padding:16px}._checkIcon_1a398_42{font-size:20px;padding-right:4px}._button_1a398_47{padding:0;text-transform:none}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
2
|
import { LicenseManager as t } from "@sheetxl/sdk";
|
|
3
|
-
import {
|
|
3
|
+
import { an as n, aw as s, X as m, as as r, au as u, a5 as l, ay as d, ad as C, ax as B, av as i, az as S, a8 as p, am as k, aZ as b, a6 as T, aH as c, ab as P, aI as F, a2 as W, ae as h, a3 as y, aF as g, a1 as I, ao as M, Q as w, a7 as x, ap as f, b2 as E, a0 as v, aG as A, N, a4 as O, ah as R, ak as V, al as L, ar as U, o as z, b1 as H, b3 as D, b0 as G, aK as Q, aL as q, aE as X, aM as Z, aa as _, aD as j, aY as J, at as K, aJ as Y, p as $, q as aa, af as oa, S as ta, U as ea, aV as na, aA as sa, aB as ma, aC as ra, ag as ua, ac as la, V as da, a9 as Ca, ai as Ba, aq as ia, aR as Sa, aP as pa, a$ as ka, aS as ba, aQ as Ta, aj as ca, a_ as Pa, aW as Fa, aU as Wa, aO as ha, aN as ya, aX as ga, aT as Ia } from "./D0v3VaJtA3LjHpWR.mjs";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
5
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
|
|
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.
|
|
@@ -12,77 +12,78 @@ export {
|
|
|
12
12
|
s as AutoColorPosition,
|
|
13
13
|
m as BorderCommandButton,
|
|
14
14
|
r as BorderPopupButton,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
u as BorderStyleButton,
|
|
16
|
+
l as ClearCommandButton,
|
|
17
17
|
d as ColorButton,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
T as
|
|
26
|
-
c as
|
|
27
|
-
P as
|
|
28
|
-
F as
|
|
29
|
-
W as
|
|
30
|
-
h as
|
|
31
|
-
y as
|
|
18
|
+
C as ColorCommandButton,
|
|
19
|
+
B as ColorPanel,
|
|
20
|
+
i as ColorPanelType,
|
|
21
|
+
S as ColorPopupButton,
|
|
22
|
+
p as DeleteCellsCommandButton,
|
|
23
|
+
k as DocThemeCommandButton,
|
|
24
|
+
b as EagerStudio,
|
|
25
|
+
T as FillCommandButton,
|
|
26
|
+
c as FilterColumnMenu,
|
|
27
|
+
P as FilterCommandButton,
|
|
28
|
+
F as Filters,
|
|
29
|
+
W as FindCommandButton,
|
|
30
|
+
h as FontFamilyCommandButton,
|
|
31
|
+
y as FontSizeCommandButton,
|
|
32
|
+
g as FormulaBar,
|
|
32
33
|
I as FreezeCommandButton,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
M as HelpCommandButton,
|
|
35
|
+
w as HorizontalAlignCommandButton,
|
|
36
|
+
x as InsertCellsCommandButton,
|
|
37
|
+
f as InsertImageCommandButton,
|
|
38
|
+
E as InsertScriptCommandButton,
|
|
38
39
|
t as LicenseManager,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
v as MergeCommandButton,
|
|
41
|
+
A as NamedCollectionEditor,
|
|
42
|
+
N as NamedInput,
|
|
42
43
|
O as NumberFormatCommandButton,
|
|
43
44
|
R as PasteCommandButton,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
V as PresetCellStylesCommandButton,
|
|
46
|
+
L as PresetTableStylesCommandButton,
|
|
47
|
+
U as QuickFormulaSumCommandPopupButton,
|
|
47
48
|
z as RangeInput,
|
|
48
49
|
H as RunScriptCommandButton,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
50
|
+
D as ScriptEditorToolbar,
|
|
51
|
+
G as ScriptWorkspace,
|
|
52
|
+
Q as SheetTab,
|
|
53
|
+
q as SheetTabMenu,
|
|
54
|
+
X as SheetZoomScale,
|
|
55
|
+
Z as SheetsAllMenu,
|
|
56
|
+
_ as SortFilterCommandButton,
|
|
57
|
+
j as StatusBar,
|
|
58
|
+
J as Studio,
|
|
58
59
|
K as StyledStrokeIcon,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
60
|
+
Y as TableStyleCanvasPreview,
|
|
61
|
+
$ as TableStyleOptionsPanel,
|
|
62
|
+
aa as TableStylePreview,
|
|
63
|
+
oa as TextEffectsCommandButton,
|
|
64
|
+
ta as TextOverflowCommandButton,
|
|
65
|
+
ea as TextRotateCommandButton,
|
|
66
|
+
na as ThemeMode,
|
|
67
|
+
sa as ThemeSelectButton,
|
|
68
|
+
ma as ThemeSelectPanel,
|
|
69
|
+
ra as ThemeSelectPopupButton,
|
|
70
|
+
ua as UnderlineCommandButton,
|
|
70
71
|
la as UndoRedoCommandButton,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
72
|
+
da as VerticalAlignCommandButton,
|
|
73
|
+
Ca as ViewGridLinesCommandButton,
|
|
74
|
+
Ba as ViewHeadingsCommandButton,
|
|
75
|
+
ia as WalkingCopyCommandButton,
|
|
76
|
+
Sa as WorkbookContextMenu,
|
|
77
|
+
pa as WorkbookElement,
|
|
78
|
+
ka as WorkbookIO,
|
|
79
|
+
ba as WorkbookStrip,
|
|
80
|
+
Ta as WorkbookTitle,
|
|
81
|
+
ca as WorkbookViewCommandButton,
|
|
82
|
+
Pa as _WorkbookIO,
|
|
83
|
+
Fa as createGridStyleFromMUITheme,
|
|
84
|
+
Wa as defaultNewWorkbook,
|
|
85
|
+
ha as renderWorkbookLoadingPanel,
|
|
86
|
+
ya as setPrintExamplesOnLoad,
|
|
87
|
+
ga as useResolvedThemeMode,
|
|
87
88
|
Ia as useWorkbookCommands
|
|
88
89
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
|
|
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,5 +1,5 @@
|
|
|
1
1
|
Name: @sheetxl/utils-mui
|
|
2
|
-
Version: 0.4.
|
|
2
|
+
Version: 0.4.15
|
|
3
3
|
License: SEE LICENSE IN <LICENSE>
|
|
4
4
|
Private: false
|
|
5
5
|
Description: Utilities MUI - Utilities for MUI Components needed for all SheetXL components.
|
|
@@ -20,135 +20,8 @@ https://www.sheetxl.com/licensing-pricing
|
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
-
Name: react-error-boundary
|
|
24
|
-
Version: 6.0.0
|
|
25
|
-
License: MIT
|
|
26
|
-
Private: false
|
|
27
|
-
Description: Simple reusable React error boundary component
|
|
28
|
-
Repository: https://github.com/bvaughn/react-error-boundary
|
|
29
|
-
Author: Brian Vaughn <brian.david.vaughn@gmail.com>
|
|
30
|
-
License Copyright:
|
|
31
|
-
===
|
|
32
|
-
|
|
33
|
-
The MIT License (MIT)
|
|
34
|
-
Copyright (c) 2020 Brian Vaughn
|
|
35
|
-
|
|
36
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
37
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
38
|
-
in the Software without restriction, including without limitation the rights
|
|
39
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
40
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
41
|
-
furnished to do so, subject to the following conditions:
|
|
42
|
-
|
|
43
|
-
The above copyright notice and this permission notice shall be included in all
|
|
44
|
-
copies or substantial portions of the Software.
|
|
45
|
-
|
|
46
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
47
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
48
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
49
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
50
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
51
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
52
|
-
SOFTWARE.
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
Name: clsx
|
|
57
|
-
Version: 1.2.1
|
|
58
|
-
License: MIT
|
|
59
|
-
Private: false
|
|
60
|
-
Description: A tiny (228B) utility for constructing className strings conditionally.
|
|
61
|
-
Repository: undefined
|
|
62
|
-
Author: Luke Edwards <luke.edwards05@gmail.com> (https://lukeed.com)
|
|
63
|
-
License Copyright:
|
|
64
|
-
===
|
|
65
|
-
|
|
66
|
-
MIT License
|
|
67
|
-
|
|
68
|
-
Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
69
|
-
|
|
70
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
71
|
-
|
|
72
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
73
|
-
|
|
74
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
Name: goober
|
|
79
|
-
Version: 2.1.16
|
|
80
|
-
License: MIT
|
|
81
|
-
Private: false
|
|
82
|
-
Description: A less than 1KB css-in-js solution
|
|
83
|
-
Repository: https://github.com/cristianbote/goober
|
|
84
|
-
Author: Cristian <botecristian@yahoo.com>
|
|
85
|
-
License Copyright:
|
|
86
|
-
===
|
|
87
|
-
|
|
88
|
-
MIT License
|
|
89
|
-
|
|
90
|
-
Copyright (c) 2019 Cristian Bote
|
|
91
|
-
|
|
92
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
93
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
94
|
-
in the Software without restriction, including without limitation the rights
|
|
95
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
96
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
97
|
-
furnished to do so, subject to the following conditions:
|
|
98
|
-
|
|
99
|
-
The above copyright notice and this permission notice shall be included in all
|
|
100
|
-
copies or substantial portions of the Software.
|
|
101
|
-
|
|
102
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
103
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
104
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
105
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
106
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
107
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
108
|
-
SOFTWARE.
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
Name: notistack
|
|
113
|
-
Version: 3.0.2
|
|
114
|
-
License: MIT
|
|
115
|
-
Private: false
|
|
116
|
-
Description: Highly customizable notification snackbars (toasts) that can be stacked on top of each other
|
|
117
|
-
Repository: git+https://github.com/iamhosseindhv/notistack.git
|
|
118
|
-
Homepage: https://www.notistack.com
|
|
119
|
-
Author: Hossein Dehnokhalaji <hossein.dehnavi98@yahoo.com> (https://iamhosseindhv.com)
|
|
120
|
-
Contributors:
|
|
121
|
-
Hossein Dehnokhalaji (https://www.iamhosseindhv.com/)
|
|
122
|
-
License Copyright:
|
|
123
|
-
===
|
|
124
|
-
|
|
125
|
-
Licensed under the **MIT** license
|
|
126
|
-
|
|
127
|
-
> Copyright (c) © 2018-2020 Hossein Dehnokhalaji
|
|
128
|
-
>
|
|
129
|
-
> Permission is hereby granted, free of charge, to any person obtaining
|
|
130
|
-
> a copy of this software and associated documentation files (the
|
|
131
|
-
> "Software"), to deal in the Software without restriction, including
|
|
132
|
-
> without limitation the rights to use, copy, modify, merge, publish,
|
|
133
|
-
> distribute, sublicense, and/or sell copies of the Software, and to
|
|
134
|
-
> permit persons to whom the Software is furnished to do so, subject to
|
|
135
|
-
> the following conditions:
|
|
136
|
-
>
|
|
137
|
-
> The above copyright notice and this permission notice shall be
|
|
138
|
-
> included in all copies or substantial portions of the Software.
|
|
139
|
-
>
|
|
140
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
141
|
-
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
142
|
-
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
143
|
-
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
144
|
-
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
145
|
-
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
146
|
-
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
147
|
-
|
|
148
|
-
---
|
|
149
|
-
|
|
150
23
|
Name: @sheetxl/react
|
|
151
|
-
Version: 0.4.
|
|
24
|
+
Version: 0.4.15
|
|
152
25
|
License: SEE LICENSE IN <LICENSE>
|
|
153
26
|
Private: false
|
|
154
27
|
Description: React - React components needed to build advanced grid and spreadsheet UIs.
|
|
@@ -170,7 +43,7 @@ https://www.sheetxl.com/licensing-pricing
|
|
|
170
43
|
---
|
|
171
44
|
|
|
172
45
|
Name: @sheetxl/io
|
|
173
|
-
Version: 0.4.
|
|
46
|
+
Version: 0.4.15
|
|
174
47
|
License: SEE LICENSE IN <LICENSE>
|
|
175
48
|
Private: false
|
|
176
49
|
Description: IO - Import/Export Libraries for SheetXL.
|
|
@@ -879,8 +752,30 @@ License Copyright:
|
|
|
879
752
|
|
|
880
753
|
---
|
|
881
754
|
|
|
755
|
+
Name: clsx
|
|
756
|
+
Version: 2.1.1
|
|
757
|
+
License: MIT
|
|
758
|
+
Private: false
|
|
759
|
+
Description: A tiny (239B) utility for constructing className strings conditionally.
|
|
760
|
+
Repository: undefined
|
|
761
|
+
Author: Luke Edwards <luke.edwards05@gmail.com> (https://lukeed.com)
|
|
762
|
+
License Copyright:
|
|
763
|
+
===
|
|
764
|
+
|
|
765
|
+
MIT License
|
|
766
|
+
|
|
767
|
+
Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
768
|
+
|
|
769
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
770
|
+
|
|
771
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
772
|
+
|
|
773
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
774
|
+
|
|
775
|
+
---
|
|
776
|
+
|
|
882
777
|
Name: @sheetxl/utils
|
|
883
|
-
Version: 0.4.
|
|
778
|
+
Version: 0.4.15
|
|
884
779
|
License: SEE LICENSE IN <LICENSE>
|
|
885
780
|
Private: false
|
|
886
781
|
Description: Utils - Utilities used by most SheetXL components.
|
|
@@ -902,7 +797,7 @@ https://www.sheetxl.com/licensing-pricing
|
|
|
902
797
|
---
|
|
903
798
|
|
|
904
799
|
Name: @sheetxl/utils-react
|
|
905
|
-
Version: 0.4.
|
|
800
|
+
Version: 0.4.15
|
|
906
801
|
License: SEE LICENSE IN <LICENSE>
|
|
907
802
|
Private: false
|
|
908
803
|
Description: Utils React - Utilities for React capabilities needed for all SheetXL components.
|
|
@@ -993,7 +888,7 @@ SOFTWARE.
|
|
|
993
888
|
---
|
|
994
889
|
|
|
995
890
|
Name: @sheetxl/grid-react
|
|
996
|
-
Version: 0.4.
|
|
891
|
+
Version: 0.4.15
|
|
997
892
|
License: SEE LICENSE IN <LICENSE>
|
|
998
893
|
Private: false
|
|
999
894
|
Description: Grid React - Advanced grid component for React
|
|
@@ -1407,4 +1302,109 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
1407
1302
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1408
1303
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1409
1304
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1410
|
-
SOFTWARE.
|
|
1305
|
+
SOFTWARE.
|
|
1306
|
+
|
|
1307
|
+
---
|
|
1308
|
+
|
|
1309
|
+
Name: react-error-boundary
|
|
1310
|
+
Version: 6.0.0
|
|
1311
|
+
License: MIT
|
|
1312
|
+
Private: false
|
|
1313
|
+
Description: Simple reusable React error boundary component
|
|
1314
|
+
Repository: https://github.com/bvaughn/react-error-boundary
|
|
1315
|
+
Author: Brian Vaughn <brian.david.vaughn@gmail.com>
|
|
1316
|
+
License Copyright:
|
|
1317
|
+
===
|
|
1318
|
+
|
|
1319
|
+
The MIT License (MIT)
|
|
1320
|
+
Copyright (c) 2020 Brian Vaughn
|
|
1321
|
+
|
|
1322
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1323
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1324
|
+
in the Software without restriction, including without limitation the rights
|
|
1325
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1326
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1327
|
+
furnished to do so, subject to the following conditions:
|
|
1328
|
+
|
|
1329
|
+
The above copyright notice and this permission notice shall be included in all
|
|
1330
|
+
copies or substantial portions of the Software.
|
|
1331
|
+
|
|
1332
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1333
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1334
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1335
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1336
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1337
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1338
|
+
SOFTWARE.
|
|
1339
|
+
|
|
1340
|
+
---
|
|
1341
|
+
|
|
1342
|
+
Name: goober
|
|
1343
|
+
Version: 2.1.16
|
|
1344
|
+
License: MIT
|
|
1345
|
+
Private: false
|
|
1346
|
+
Description: A less than 1KB css-in-js solution
|
|
1347
|
+
Repository: https://github.com/cristianbote/goober
|
|
1348
|
+
Author: Cristian <botecristian@yahoo.com>
|
|
1349
|
+
License Copyright:
|
|
1350
|
+
===
|
|
1351
|
+
|
|
1352
|
+
MIT License
|
|
1353
|
+
|
|
1354
|
+
Copyright (c) 2019 Cristian Bote
|
|
1355
|
+
|
|
1356
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1357
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1358
|
+
in the Software without restriction, including without limitation the rights
|
|
1359
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1360
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1361
|
+
furnished to do so, subject to the following conditions:
|
|
1362
|
+
|
|
1363
|
+
The above copyright notice and this permission notice shall be included in all
|
|
1364
|
+
copies or substantial portions of the Software.
|
|
1365
|
+
|
|
1366
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1367
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1368
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1369
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1370
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1371
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1372
|
+
SOFTWARE.
|
|
1373
|
+
|
|
1374
|
+
---
|
|
1375
|
+
|
|
1376
|
+
Name: notistack
|
|
1377
|
+
Version: 3.0.2
|
|
1378
|
+
License: MIT
|
|
1379
|
+
Private: false
|
|
1380
|
+
Description: Highly customizable notification snackbars (toasts) that can be stacked on top of each other
|
|
1381
|
+
Repository: git+https://github.com/iamhosseindhv/notistack.git
|
|
1382
|
+
Homepage: https://www.notistack.com
|
|
1383
|
+
Author: Hossein Dehnokhalaji <hossein.dehnavi98@yahoo.com> (https://iamhosseindhv.com)
|
|
1384
|
+
Contributors:
|
|
1385
|
+
Hossein Dehnokhalaji (https://www.iamhosseindhv.com/)
|
|
1386
|
+
License Copyright:
|
|
1387
|
+
===
|
|
1388
|
+
|
|
1389
|
+
Licensed under the **MIT** license
|
|
1390
|
+
|
|
1391
|
+
> Copyright (c) © 2018-2020 Hossein Dehnokhalaji
|
|
1392
|
+
>
|
|
1393
|
+
> Permission is hereby granted, free of charge, to any person obtaining
|
|
1394
|
+
> a copy of this software and associated documentation files (the
|
|
1395
|
+
> "Software"), to deal in the Software without restriction, including
|
|
1396
|
+
> without limitation the rights to use, copy, modify, merge, publish,
|
|
1397
|
+
> distribute, sublicense, and/or sell copies of the Software, and to
|
|
1398
|
+
> permit persons to whom the Software is furnished to do so, subject to
|
|
1399
|
+
> the following conditions:
|
|
1400
|
+
>
|
|
1401
|
+
> The above copyright notice and this permission notice shall be
|
|
1402
|
+
> included in all copies or substantial portions of the Software.
|
|
1403
|
+
>
|
|
1404
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
1405
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1406
|
+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1407
|
+
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
1408
|
+
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
1409
|
+
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1410
|
+
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
|
|
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.
|
|
@@ -9,33 +9,33 @@ import { memo as o, forwardRef as n, useState as a } from "react";
|
|
|
9
9
|
import e from "clsx";
|
|
10
10
|
import { alpha as i, getOverlayAlpha as p } from "@mui/material/styles/index.js";
|
|
11
11
|
import { Box as r, FormControl as s, TextField as l } from "@mui/material";
|
|
12
|
-
import {
|
|
12
|
+
import { V as c, M as u, a as d } from "./index.mjs";
|
|
13
13
|
const m = ["Input"], g = o(n((o2, n2) => {
|
|
14
|
-
const { initialValue: g2 = "", onOption: f, onValidateOption:
|
|
14
|
+
const { initialValue: g2 = "", onOption: f, onValidateOption: h, onInputOption: x, onValidateInputOption: y, onDone: O, inputProps: w, inputLabel: T, inputType: F, inputPlaceHolder: I, options: P = m, autoFocusSel: v = ".autoFocus", cancelOption: C, defaultOption: V = P?.[0], ...b } = o2, [k, j] = a(false), [D, M] = a(g2), [B, H] = a(""), [L, N] = a(true), S = c(async (t2, o3) => {
|
|
15
15
|
if (!y) return true;
|
|
16
16
|
const n3 = await y?.(t2, o3);
|
|
17
|
-
|
|
17
|
+
H(n3?.message ?? "");
|
|
18
18
|
const a2 = n3?.valid ?? true;
|
|
19
19
|
return N(a2), a2;
|
|
20
20
|
}, [y]), $ = c(async (t2) => {
|
|
21
|
-
|
|
22
|
-
}, [D,
|
|
21
|
+
x?.(D, t2);
|
|
22
|
+
}, [D, x, O, f, C, V]), z = c(async (t2) => {
|
|
23
23
|
t2.keyCode === u.Enter && await S?.(D, null);
|
|
24
24
|
}, [D, $]), E = c((t2) => {
|
|
25
|
-
|
|
26
|
-
}, [
|
|
25
|
+
M(t2.target.value), S?.(t2.target.value, null);
|
|
26
|
+
}, [h]), K = c(async (t2) => {
|
|
27
27
|
let o3 = await S(D, t2);
|
|
28
28
|
try {
|
|
29
29
|
false !== o3 && (o3 = await S(D, t2));
|
|
30
30
|
} catch (t3) {
|
|
31
31
|
}
|
|
32
32
|
return o3 ?? true;
|
|
33
|
-
}, [D,
|
|
34
|
-
return t(d, { options:
|
|
33
|
+
}, [D, h]);
|
|
34
|
+
return t(d, { options: P, onDone: O, onOption: (t2, o3) => {
|
|
35
35
|
o3 || $(t2);
|
|
36
|
-
}, onValidateOption: K, cancelOption: C, defaultOption:
|
|
37
|
-
|
|
38
|
-
}, type:
|
|
36
|
+
}, onValidateOption: K, cancelOption: C, defaultOption: V, autoFocusSel: v, ref: n2, ...b, children: t(r, { sx: { paddingTop: (t2) => t2.spacing(1), paddingBottom: (t2) => t2.spacing(0) }, children: t(s, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(l, { onFocus: (t2) => {
|
|
37
|
+
k || t2.target?.select(), j(true);
|
|
38
|
+
}, type: F, label: T, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5), color: L ? void 0 : "error.main" } }, InputLabelProps: { shrink: true }, InputProps: { inputProps: { placeholder: I, spellCheck: false, autoComplete: "off", ...w, className: e("autoFocus", w?.className), sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${i("#fff", p(5))}, ${i("#fff", p(5))})` } } }, value: D, onChange: E, onKeyDown: z, onContextMenu: (t2) => {
|
|
39
39
|
t2.stopPropagation();
|
|
40
40
|
} }) }) }) });
|
|
41
41
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
|
|
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.
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
8
8
|
import { memo as t, useState as a, useCallback as o } from "react";
|
|
9
9
|
import { Box as i, FormControlLabel as l, Checkbox as s } from "@mui/material";
|
|
10
|
-
import { P as r,
|
|
10
|
+
import { P as r, a as p, RangeInput as c } from "./index.mjs";
|
|
11
11
|
const d = ["Ok", "Cancel"], m = t((t2) => {
|
|
12
|
-
const { tableOptions: m2, context: g, onOption: u, onValidateOption:
|
|
12
|
+
const { tableOptions: m2, context: g, onOption: u, onValidateOption: f, onDone: h, options: x = d, defaultOption: O = x?.[0], cancelOption: b = "Cancel", sx: C, ...D } = t2, [N, T] = a(false), [j, k] = a(() => m2?.hasHeader ?? false), [v, w] = a(() => m2?.ranges ?? null), y = r((e2) => {
|
|
13
13
|
const n2 = { ...m2, hasHeader: j, ranges: v };
|
|
14
|
-
u?.(e2, e2 === b, e2 === O),
|
|
15
|
-
}, [
|
|
16
|
-
return e(p, { title: "Insert Table", options:
|
|
14
|
+
u?.(e2, e2 === b, e2 === O), h?.({ option: e2, tableOptions: n2 });
|
|
15
|
+
}, [h, u, O, b, j, v, m2]), F = o(async (e2, n2) => null, []);
|
|
16
|
+
return e(p, { title: "Insert Table", options: x, onDone: y, onValidateOption: F, defaultOption: O, cancelOption: b, autoFocusSel: ".range-input input", sx: { width: "360px", ...C }, ...D, children: n(i, { sx: { paddingTop: (e2) => e2.spacing(1), paddingBottom: (e2) => e2.spacing(0), rowGap: (e2) => e2.spacing(1), display: "flex", flexDirection: "column" }, children: [e(c, { formName: "range", value: v, onChangeInput: (e2) => w(e2), resolvedAddress: g.getNames().getRanges.bind(g.getNames()), onFocus: (e2) => {
|
|
17
17
|
N || e2.target?.select(), T(true);
|
|
18
18
|
} }), e(l, { control: e(s, { checked: j, onChange: () => k(!j) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
19
19
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
|
|
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.
|
|
6
6
|
*/
|
|
7
7
|
import { Workbook as e, IRange as t } from "@sheetxl/sdk";
|
|
8
8
|
const n = async (e2, t2) => {
|
|
9
|
-
const { trimLeadingBlankRow: n2 = true, trimLeadingBlankColumn: r2 = true, excludeHidden: o = false, sheetKey: s = null, papaParseConfig: a = {} } = t2 || {},
|
|
9
|
+
const { trimLeadingBlankRow: n2 = true, trimLeadingBlankColumn: r2 = true, excludeHidden: o = false, sheetKey: s = null, papaParseConfig: a = {} } = t2 || {}, i = await import("./DhGXQOOW9FBpgCqI.mjs").then((e3) => e3.p);
|
|
10
10
|
if (!e2) throw new Error("workbook must be specified");
|
|
11
|
-
let
|
|
12
|
-
if (null === s ?
|
|
11
|
+
let l = null;
|
|
12
|
+
if (null === s ? l = e2.getSelectedSheet() : "number" == typeof s ? l = e2.getSheets().search()[s] : "string" == typeof s && (l = e2.getSheets().getByName(s)), !l) throw new Error("invalid sheetKey specified");
|
|
13
13
|
let d = null;
|
|
14
14
|
const c = [];
|
|
15
|
-
let p = null, f =
|
|
15
|
+
let p = null, f = l.getUsedRange({ excludeHidden: o });
|
|
16
16
|
if (!f) throw new Error("Nothing to export");
|
|
17
17
|
if (!n2 || !r2) {
|
|
18
18
|
const e3 = n2 ? f.getRowStart() : 0, t3 = r2 ? f.getColumnStart() : 0;
|
|
@@ -24,10 +24,10 @@ const n = async (e2, t2) => {
|
|
|
24
24
|
const o2 = r3.toTextUnformatted() ?? "";
|
|
25
25
|
p.push(o2);
|
|
26
26
|
}, { includeEmpty: true, address: null }), p && c.push(p);
|
|
27
|
-
const u = { ...a }, g =
|
|
27
|
+
const u = { ...a }, g = i.unparse(c, u);
|
|
28
28
|
return new TextEncoder().encode(g).buffer;
|
|
29
29
|
}, r = async (n2, r2) => {
|
|
30
|
-
const { papaParseConfig: o, setValuesOptions: s, createWorkbookOptions: a } = r2 ?? {},
|
|
30
|
+
const { papaParseConfig: o, setValuesOptions: s, createWorkbookOptions: a } = r2 ?? {}, i = await import("./DhGXQOOW9FBpgCqI.mjs").then((e2) => e2.p), l = new TextDecoder().decode(n2);
|
|
31
31
|
let d = -1;
|
|
32
32
|
const c = new e(a), p = c.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: t.Orientation.Row }), f = r2?.onProgress;
|
|
33
33
|
let u = 0;
|
|
@@ -38,7 +38,7 @@ const n = async (e2, t2) => {
|
|
|
38
38
|
let r3 = e2 ?? "";
|
|
39
39
|
return p.pushAt(d, n3, r3), u++, u % 1e5 == 0 && f?.(u), e2;
|
|
40
40
|
} };
|
|
41
|
-
return
|
|
41
|
+
return i.parse(l, g).data, p.apply({ textParser: true, ...s }), c;
|
|
42
42
|
};
|
|
43
43
|
export {
|
|
44
44
|
r as fromBufferCSV,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
|
|
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
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.15
|
|
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.
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
7
|
+
import { p as e } from "./index.mjs";
|
|
8
8
|
function r(e2, r2) {
|
|
9
9
|
for (var t2 = 0; t2 < r2.length; t2++) {
|
|
10
10
|
const n2 = r2[t2];
|