@sheetxl/studio-mui 0.3.3 → 0.3.5
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/4qy63Boa4nvdxyjo.cjs +6 -0
- package/browser/cjs/{D69p4DRnZE5Oa52x.cjs → AQ9Vi-Cv6JK-IezR.cjs} +1 -1
- package/browser/cjs/{YpWYrg3Eysqtr9aZ.cjs → B13OXuZsTC4RULMo.cjs} +1 -1
- package/browser/cjs/BHJSCG4oU8pmuDwm.cjs +12 -0
- package/browser/cjs/{DSNu0kgR1_X-nK_Z.cjs → Bav0cmsoPAA3a5yu.cjs} +2 -2
- package/browser/cjs/{DAyHZyXZGsDWfbyd.cjs → Bkl3DGri3E5UGuvv.cjs} +1 -1
- package/browser/cjs/{BH160EggM2K8qaSr.cjs → BlxVofqfnSMNcuv8.cjs} +1 -1
- package/browser/cjs/{BL1st_QvuF5m8AaJ.cjs → ByVL-_c8JG4yCwyg.cjs} +2 -2
- package/browser/cjs/{BlBsVySC7wICKf3b.cjs → CGHGrJD1KaYGPUWt.cjs} +2 -2
- package/browser/cjs/{Bh785l7WNSK7G3hU.cjs → CQXkduebOzsWYR7I.cjs} +1 -1
- package/browser/cjs/{C9TJkm0tBPD04idM.cjs → CauYni4UlnUOg2KD.cjs} +2 -2
- package/browser/cjs/CetwWGtSVR7MPQmq.cjs +6 -0
- package/browser/cjs/{BQyDL6TxMqPmkugH.cjs → D76n8Obon9BUBaN9.cjs} +1 -1
- package/browser/cjs/{scolQa-PxnIvyiDb.cjs → DAIK3n9uEZA5B3jo.cjs} +1 -1
- package/browser/cjs/{CPKZW7FfYlmkNYbE.cjs → DKTmOXPHU474-EAe.cjs} +2 -2
- package/browser/cjs/DQxMsOz7p1VlzGGr.cjs +11 -0
- package/browser/cjs/DSumeKv5upBoatXJ.cjs +12 -0
- package/browser/cjs/{CEx5ZMI8c4HYrxzW.cjs → Dold2uHEN8H8QsT-.cjs} +1 -1
- package/browser/cjs/{B0-aLTQ0dAlPdRnQ.cjs → K7lHFQm8oaMP4Fc7.cjs} +3 -3
- package/browser/cjs/{D8qPzQKLyGrgGg08.cjs → LLqao183uS5MMxF5.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/kEe9PBONC8-oT9AU.cjs +6 -0
- package/browser/cjs/{CP_eU6V1jkcP4WtQ.cjs → p8j2cCUulAy7yD2q.cjs} +2 -2
- package/browser/cjs/q9JmnJDMYsSf7UfZ.cjs +6 -0
- package/browser/cjs/wwocjd0UfaRLBBMZ.cjs +6 -0
- package/browser/cjs/zAZ0LJZMPXeu6JSh.cjs +87 -0
- package/browser/esm/{BeMVD9uqSXo5o9U7.mjs → B5O5PCrKRZ4DUAH5.mjs} +13 -13
- package/browser/esm/B89QkSJt5Nra70ba.mjs +19838 -0
- package/browser/esm/{5uqs7KjiX3pi6cd5.mjs → BRJgzXA_m_2aKWbd.mjs} +10 -10
- package/browser/esm/{C8eXD0cT7ZPGYNCl.mjs → BYUh5NiLu-E5n_2A.mjs} +21 -20
- package/browser/esm/{B9IRFHtuYz6_J4Sj.mjs → Bx8dhDDGV4fnPcL4.mjs} +8 -8
- package/browser/esm/{DpJqkBHKECEClAah.mjs → C2gkPo-K972JVp5g.mjs} +6 -6
- package/browser/esm/{BVjzMl2EkoD1ceqn.mjs → CEvGwR40Y6Ef-WDe.mjs} +7 -7
- package/browser/esm/{BLiRvSBEJD-6dWH0.mjs → Cb9SB2mI9VqoMLgo.mjs} +1 -1
- package/browser/esm/{BIQXdDApQqsa7WWH.mjs → CsT1vXKI_o6hLmzM.mjs} +1 -1
- package/browser/esm/D0WM4vskQ31-MkSX.mjs +1467 -0
- package/browser/esm/{QNCUQO7a-oixacNG.mjs → D5FRlmQmwf6Y4j_G.mjs} +1 -1
- package/browser/esm/{0qppnWkLyeMGOizg.mjs → DEorp4Rd9a565r_h.mjs} +1 -1
- package/browser/esm/{q1cTyqrb2yKNSDq5.mjs → DHvI-gSNOpEkZS0_.mjs} +170 -169
- package/browser/esm/{Dy7xNyqd4jfUcj2t.mjs → DK4TrH-nckKO9Q9L.mjs} +1 -1
- package/browser/esm/DMOlhSnOh4hHXiw0.mjs +52 -0
- package/browser/esm/{B1fKMAH-vx3TJ0ii.mjs → DQwg0nFQOuoWa9vC.mjs} +1 -1
- package/browser/esm/{BXvDIYhOIHqmZQQo.mjs → DVEcYvO4EkDBk4FX.mjs} +1 -1
- package/browser/esm/{CE3LjR3RfccnMUQt.mjs → DdsrrZg_d16qXBaF.mjs} +13 -13
- package/browser/esm/{BCiGYy5wMbcNSF3g.mjs → DhJgaHDvhGW9Q-Jd.mjs} +1 -1
- package/browser/esm/{PbEXrCdkQc02gfVZ.mjs → Dr-hrT0HVZs3fkdF.mjs} +10 -10
- package/browser/esm/{DTW06ga7BIWfkpc3.mjs → Drjhq-zlZ3HTK_ZI.mjs} +11 -10
- package/browser/esm/{CTdZQdi5BoNPu7rZ.mjs → Dw7dYD6MrvZb3WPh.mjs} +65 -65
- package/browser/esm/{DJVGX60ly4BfiFse.mjs → DzW551wAkGdUKn1f.mjs} +44 -43
- package/browser/esm/{DrzfnYtbTkZ0Vztm.mjs → XSaSkbiadpjvNPF-.mjs} +2 -2
- package/browser/esm/index.mjs +74 -73
- package/browser/esm/{B0k5xuPgYO9B-vto.mjs → q-qojAI33CqmRx77.mjs} +16 -16
- package/licenses/dependencies.txt +156 -178
- package/node/esm/{cT4-HbwV7TBlRjja.mjs → 0VUK_26rxW-1p-no.mjs} +276 -275
- package/node/esm/{BiiNcUkTIcWxOabS.mjs → B4Eo0tFRg7GybYQq.mjs} +2 -2
- package/node/esm/B6na2FpIb2N8_BII.mjs +25 -0
- package/node/esm/{tk69oRoeZHf4vk1z.mjs → BCqh-sztmdgZm9pd.mjs} +13 -13
- package/node/esm/{fENiUIb3u1Oy7Amv.mjs → BNhJrLEKwde0o2dg.mjs} +8 -8
- package/node/esm/{Cd5wE06_wa41Z6Wt.mjs → BQWO9jQkGVXLYnCK.mjs} +12 -12
- package/node/esm/{BvOnjWMz5o3z-qWe.mjs → BUDeEhnsn9-yrQlE.mjs} +1 -1
- package/node/esm/{CZlpZhqzgcRkv_bX.mjs → BXZpU4qRYF5maAg0.mjs} +9 -9
- package/node/esm/{D4ydLNNfUH8D41A7.mjs → BexDrSYf11he63De.mjs} +1 -1
- package/node/esm/{BnbhKW27rQ185mOb.mjs → BiU1UyUrEkNS9WeH.mjs} +2 -2
- package/node/esm/{Br_lQeehvACsDkzu.mjs → C53eiTE5QbclOU-x.mjs} +13 -12
- package/node/esm/{CBlVCA0uvCwlok1v.mjs → C63AwhK2bi3nQ-qh.mjs} +1 -1
- package/node/esm/{DbzTWKX0Q8SGsGA4.mjs → CJzMybL2SEMDl1Nw.mjs} +29 -29
- package/node/esm/{zQ0ozpm04cC2OG19.mjs → CKS2ltb4Bv_q8qad.mjs} +22 -22
- package/node/esm/{C0eiYtK0Lkx4fQGc.mjs → CZtyxHtVSnQOWUIw.mjs} +86 -85
- package/node/esm/{6L7TnSLCvI3zabFK.mjs → CvxTDOd3lLLowV8Z.mjs} +24 -23
- package/node/esm/DQv4OOMysHEA_ih5.mjs +553 -0
- package/node/esm/{CI3U9rEYT3a_Biw5.mjs → D_wrbdHZwcqLBmob.mjs} +1 -1
- package/node/esm/{BY1cZ8MXawge5drQ.mjs → Dca0ee8jhGRibBhk.mjs} +2 -2
- package/node/esm/{Ro_fz9s3_2DHfiE-.mjs → DpB6jqJa5heTZlo1.mjs} +1 -1
- package/node/esm/{CZA-oIez6io5vwv1.mjs → DrgN5wWkYF1hgIK3.mjs} +1 -1
- package/node/esm/DuL4Zvdz5hbTWC1z.mjs +308 -0
- package/node/esm/index.mjs +12885 -41674
- package/node/esm/{D6wjzUXEh-Q71uoB.mjs → mEXgu7-CAzFc23RE.mjs} +2 -2
- package/package.json +8 -8
- package/browser/cjs/BAGEDalcFwfUrDOV.cjs +0 -6
- package/browser/cjs/BMcvveT3JniLuWWw.cjs +0 -6
- package/browser/cjs/B_JRx-UyLNBI8Jr9.cjs +0 -6
- package/browser/cjs/BbCINWmJNJ1UoABX.cjs +0 -6
- package/browser/cjs/BdPTNgv6BQFiJXiH.cjs +0 -238
- package/browser/cjs/BgqUvcQGSrZtIsnp.cjs +0 -6
- package/browser/cjs/Bub0lBbzpOagYy-6.cjs +0 -12
- package/browser/cjs/BvV0mrFKi8cdsSFF.cjs +0 -6
- package/browser/cjs/BxCxDRRwMVIA9T0Q.cjs +0 -6
- package/browser/cjs/BxbbUhKRSHRfeoNL.cjs +0 -32
- package/browser/cjs/C3RxbodVdJ0MR0eY.cjs +0 -11
- package/browser/cjs/C4zc2Ll270E135fR.cjs +0 -6
- package/browser/cjs/CEkRIfptK2yyy4PS.cjs +0 -6
- package/browser/cjs/CGp4fzG2ZIsJmB72.cjs +0 -6
- package/browser/cjs/CT5f8xMCNbOhih6R.cjs +0 -12
- package/browser/cjs/CV6WjeLkZrGoM4SB.cjs +0 -6
- package/browser/cjs/CZA_Av5pG0M1RgJK.cjs +0 -6
- package/browser/cjs/Ca6YJnV2DBQrqx0b.cjs +0 -124
- package/browser/cjs/Ci7CqdgErq0IGcl5.cjs +0 -6
- package/browser/cjs/CmROQEOLO7s-rzZW.cjs +0 -6
- package/browser/cjs/Cnc0-T-tLmqyX7Mq.cjs +0 -6
- package/browser/cjs/Ct6nh7ILtW_PHbB3.cjs +0 -6
- package/browser/cjs/CtmTxxgCijL1ZuPa.cjs +0 -6
- package/browser/cjs/CyUaP6X--CmuILoU.cjs +0 -6
- package/browser/cjs/D598Bk4npBA6UESy.cjs +0 -6
- package/browser/cjs/D7asEaPB97YVwe1v.cjs +0 -6
- package/browser/cjs/D9lDObZe3CkEPPGI.cjs +0 -6
- package/browser/cjs/DFrTuKkfDctye00L.cjs +0 -7
- package/browser/cjs/DNquPukGj-6iRmmP.cjs +0 -13
- package/browser/cjs/DOXD9gLvRI-UN_9l.cjs +0 -6
- package/browser/cjs/DRhcrHz-whpKmHXb.cjs +0 -6
- package/browser/cjs/DdBygPkI15syG3qE.cjs +0 -1501
- package/browser/cjs/DrgfA0AIigevE5fO.cjs +0 -15
- package/browser/cjs/DyjUI4ZuHoE2UtYP.cjs +0 -6
- package/browser/cjs/Ou0ysDOtKXD_MCyi.cjs +0 -6
- package/browser/cjs/Tkr7WOf1Km7F6jc1.cjs +0 -6
- package/browser/cjs/Ui6MyVXLy4hSZZln.cjs +0 -6
- package/browser/cjs/ZSSSnynZ-cYurCZ4.cjs +0 -6
- package/browser/cjs/hDl6HNkylTvv-qT3.cjs +0 -6
- package/browser/cjs/tLWq6abRGIT6oIrd.cjs +0 -6
- package/browser/cjs/xS50A4hbimnAA3g8.cjs +0 -6
- package/browser/esm/6qF6HMFmVJEMu5ze.mjs +0 -10
- package/browser/esm/91ZejdYNSNvEQyri.mjs +0 -43655
- package/browser/esm/B6KWiZxcJDzPKz7A.mjs +0 -10
- package/browser/esm/BGfz8kkDQwuckxnU.mjs +0 -10
- package/browser/esm/BNWWT7cxdCiMaWFC.mjs +0 -10
- package/browser/esm/BSB3k2C-vxhRI9pk.mjs +0 -5582
- package/browser/esm/Baiv07hkxLIkAcoq.mjs +0 -10
- package/browser/esm/Bc6K-JiRW1SodxIq.mjs +0 -10
- package/browser/esm/BpfyDNlbLX4dOPvj.mjs +0 -24
- package/browser/esm/Bs0RJigDhPR1WzFT.mjs +0 -21
- package/browser/esm/BtP3Wpc2YRk8W2KZ.mjs +0 -12
- package/browser/esm/BwWIlZYqfL7BAjSI.mjs +0 -10
- package/browser/esm/C7YTh7Sm32Nt_Kv5.mjs +0 -10
- package/browser/esm/CE1gssQmn8QAeBEI.mjs +0 -10
- package/browser/esm/CE3vBPdWXPf3M3h2.mjs +0 -51
- package/browser/esm/CJigh9OXZ04sdTLc.mjs +0 -1466
- package/browser/esm/CLHgqHwohIYlAAUF.mjs +0 -472
- package/browser/esm/CTuGnJMMNAi4EKiy.mjs +0 -10
- package/browser/esm/CUZmKq_NPR_OCibb.mjs +0 -10
- package/browser/esm/ChIE2YGkU9_cnmDj.mjs +0 -10
- package/browser/esm/Cv8VSqfWEaftgiTH.mjs +0 -10
- package/browser/esm/CvJUNcDyz497Gxl7.mjs +0 -10
- package/browser/esm/D2OQwThnobBdsQ1x.mjs +0 -3934
- package/browser/esm/D73ljnqYKCXMdyPd.mjs +0 -1575
- package/browser/esm/DAPWMPwVGQJsblPQ.mjs +0 -10
- package/browser/esm/Dsu3RRvUfCUWRZ6q.mjs +0 -10
- package/browser/esm/DxEtUnQEyEYWuqL7.mjs +0 -820
- package/browser/esm/Dxrje6uVvr2LGdV7.mjs +0 -10
- package/browser/esm/JMr0jtu67PC8clGf.mjs +0 -10
- package/browser/esm/QhTxW6tFl-So20AH.mjs +0 -425
- package/browser/esm/_tXPsCW6hHTdj45y.mjs +0 -10
- package/browser/esm/bJWg5_Jxjizyivdn.mjs +0 -29
- package/browser/esm/cVH-KYzKaUP4C3dh.mjs +0 -10
- package/browser/esm/cp8pKSzbJqh-zBtd.mjs +0 -10
- package/browser/esm/dmuee2Is7r5Q4B3M.mjs +0 -10
- package/node/esm/0CbEJyCpbWyFHdK1.mjs +0 -4002
- package/node/esm/6qF6HMFmVJEMu5ze.mjs +0 -10
- package/node/esm/A5WewF_ecyRMfEW9.mjs +0 -80
- package/node/esm/B0rQMzpUsBE47H-k.mjs +0 -10
- package/node/esm/B3TBImEZBAbKsEAq.mjs +0 -10
- package/node/esm/B6KWiZxcJDzPKz7A.mjs +0 -10
- package/node/esm/B8tFaB-W9JcM6xhy.mjs +0 -29
- package/node/esm/BGfz8kkDQwuckxnU.mjs +0 -10
- package/node/esm/BKb0zrP-OexxgIYb.mjs +0 -24
- package/node/esm/BNWWT7cxdCiMaWFC.mjs +0 -10
- package/node/esm/BQBHsnvwWPo5kQhy.mjs +0 -10
- package/node/esm/BZTLlsc-NvE1_mTb.mjs +0 -555
- package/node/esm/Baiv07hkxLIkAcoq.mjs +0 -10
- package/node/esm/Bc6K-JiRW1SodxIq.mjs +0 -10
- package/node/esm/BiVFM0O-4h4yY7oa.mjs +0 -10
- package/node/esm/Bq-gS5qqB1Jrllm2.mjs +0 -307
- package/node/esm/Bv7SpuMBfsaGEFxP.mjs +0 -16
- package/node/esm/BwWIlZYqfL7BAjSI.mjs +0 -10
- package/node/esm/C0qF-AAqNGDMeSVO.mjs +0 -813
- package/node/esm/CE1gssQmn8QAeBEI.mjs +0 -10
- package/node/esm/CUZmKq_NPR_OCibb.mjs +0 -10
- package/node/esm/ChIE2YGkU9_cnmDj.mjs +0 -10
- package/node/esm/CvJUNcDyz497Gxl7.mjs +0 -10
- package/node/esm/DAPWMPwVGQJsblPQ.mjs +0 -10
- package/node/esm/DJtTsiROzkkD2wRx.mjs +0 -5642
- package/node/esm/DLEDFraKFWvZtfvX.mjs +0 -10
- package/node/esm/DNYPU79SNlXuHN8j.mjs +0 -10
- package/node/esm/DjhMNAleaI3hhcHG.mjs +0 -13
- package/node/esm/DtUFCYSrTGcBjdBN.mjs +0 -453
- package/node/esm/Dxrje6uVvr2LGdV7.mjs +0 -10
- package/node/esm/EebvqIVFwWH3slRt.mjs +0 -14
- package/node/esm/cVH-KYzKaUP4C3dh.mjs +0 -10
- package/node/esm/cp8pKSzbJqh-zBtd.mjs +0 -10
- package/node/esm/dmuee2Is7r5Q4B3M.mjs +0 -10
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
1
|
+
import { jsx as o, jsxs as A } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as F, useState as m, useCallback as O } from "react";
|
|
3
3
|
import { Box as S, FormControl as P, TextField as b } from "@mui/material";
|
|
4
|
-
import { T as f,
|
|
4
|
+
import { T as f, a1 as U, a5 as l } from "./B89QkSJt5Nra70ba.mjs";
|
|
5
5
|
import { alpha as p } from "@mui/system";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
|
|
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.
|
|
@@ -18,13 +18,13 @@ const V = ["Ok", "Cancel"], Q = E((D) => {
|
|
|
18
18
|
}, [t, s]), [a, M] = m(T.address), [u, B] = m(() => {
|
|
19
19
|
const n = s?.().toTextUnformatted() ?? H;
|
|
20
20
|
return n === T.address ? "" : n;
|
|
21
|
-
}), [$, k] = m(!1),
|
|
21
|
+
}), [$, k] = m(!1), L = O((n) => {
|
|
22
22
|
B(n.target.value);
|
|
23
|
-
}, []), C = O(async (n, e) => null, []),
|
|
23
|
+
}, []), C = O(async (n, e) => null, []), W = f(async (n) => {
|
|
24
24
|
n !== i && x?.(a === "" ? null : { address: a }, u), h?.(n, n === i, n === c), d?.();
|
|
25
|
-
}, [a, u, x, d, h, c, i]),
|
|
25
|
+
}, [a, u, x, d, h, c, i]), j = f((n) => {
|
|
26
26
|
M(n.target.value), C(n.target.value, null);
|
|
27
|
-
}, [r]),
|
|
27
|
+
}, [r]), z = f(async (n) => {
|
|
28
28
|
let e = await Promise.resolve(r?.(n));
|
|
29
29
|
try {
|
|
30
30
|
e !== !1 && (e = await C(a, n));
|
|
@@ -32,13 +32,13 @@ const V = ["Ok", "Cancel"], Q = E((D) => {
|
|
|
32
32
|
}
|
|
33
33
|
return e ?? !0;
|
|
34
34
|
}, [r]);
|
|
35
|
-
return o(U, { title: (w ? "Edit" : "Insert") + " Link", options: y, onDone: d, onOption: (n) =>
|
|
35
|
+
return o(U, { title: (w ? "Edit" : "Insert") + " Link", options: y, onDone: d, onOption: (n) => W(n), onValidateOption: z, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...I }, ...v, children: A(S, { sx: { paddingTop: (n) => n.spacing(1), paddingBottom: (n) => n.spacing(0), rowGap: (n) => n.spacing(1), display: "flex", flexDirection: "column" }, children: [o(P, { sx: { paddingTop: (n) => n.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(b, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (n) => {
|
|
36
36
|
$ || n.target?.select(), k(!0);
|
|
37
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (n) => n.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (n) => n.spacing(1.25), paddingBottom: (n) => n.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", l(5))}, ${p("#fff", l(5))})` } } }, value: a, onChange:
|
|
37
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (n) => n.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (n) => n.spacing(1.25), paddingBottom: (n) => n.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", l(5))}, ${p("#fff", l(5))})` } } }, value: a, onChange: j, onContextMenu: (n) => {
|
|
38
38
|
n.stopPropagation();
|
|
39
39
|
} }) }), o(P, { sx: { paddingTop: (n) => n.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(b, { label: "Display Text", placeholder: a?.startsWith("#") ? a.substring(1) : a, onFocus: () => {
|
|
40
40
|
k(!0);
|
|
41
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (n) => n.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (n) => n.spacing(1.25), paddingBottom: (n) => n.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", l(5))}, ${p("#fff", l(5))})` } } }, value: u, onChange:
|
|
41
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (n) => n.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (n) => n.spacing(1.25), paddingBottom: (n) => n.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", l(5))}, ${p("#fff", l(5))})` } } }, value: u, onChange: L, onContextMenu: (n) => {
|
|
42
42
|
n.stopPropagation();
|
|
43
43
|
} }) })] }) });
|
|
44
44
|
});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as x, b as f, r as
|
|
1
|
+
import { Y } from "./B89QkSJt5Nra70ba.mjs";
|
|
2
|
+
import { c as x, b as f, r as I, t as Z, a as A, p as D, d as tt } from "./D0WM4vskQ31-MkSX.mjs";
|
|
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";
|
|
3
4
|
/**
|
|
4
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
5
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
|
|
5
6
|
*
|
|
6
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -211,7 +212,7 @@ class pt {
|
|
|
211
212
|
return s.plotArea = r, r;
|
|
212
213
|
}
|
|
213
214
|
}
|
|
214
|
-
class
|
|
215
|
+
class L {
|
|
215
216
|
EnumMappings() {
|
|
216
217
|
}
|
|
217
218
|
static fromOoxmlGradientType(t) {
|
|
@@ -236,7 +237,7 @@ class q {
|
|
|
236
237
|
processStroke(t, e, s) {
|
|
237
238
|
const r = {}, o = t.evaluate("ln", e);
|
|
238
239
|
if (o) {
|
|
239
|
-
o.hasAttribute("algn") && (r.align =
|
|
240
|
+
o.hasAttribute("algn") && (r.align = L.fromOoxmlAlignment(o.getAttribute("algn"))), o.hasAttribute("cap") && (r.lineCap = L.fromOoxmlLineCap(o.getAttribute("cap"))), o.hasAttribute("cmpd") && (r.compound = L.fromOoxmlCompound(o.getAttribute("cmpd"))), o.hasAttribute("w") && (r.width = Z(o.getAttribute("w")));
|
|
240
241
|
const i = t.evaluate("miter", o);
|
|
241
242
|
i && (r.lineJoin = "miter", i.hasAttribute("lim") && (r.miter = parseFloat(i.getAttribute("lim")))), t.evaluate("bevel", o) && (r.lineJoin = "bevel"), t.evaluate("round", o) && (r.lineJoin = "round");
|
|
242
243
|
const n = t.evaluate("custDash", o);
|
|
@@ -308,7 +309,7 @@ class q {
|
|
|
308
309
|
e.hasAttribute("flip") && (o.mirror = e.getAttribute("flip")), Object.keys(o).length > 0 && (s.tile = o);
|
|
309
310
|
const i = t.evaluate("path", e);
|
|
310
311
|
if (i) {
|
|
311
|
-
i.hasAttribute("path") && (s.type =
|
|
312
|
+
i.hasAttribute("path") && (s.type = L.fromOoxmlGradientType(i.getAttribute("path")));
|
|
312
313
|
const c = t.evaluate("fillToRect", i);
|
|
313
314
|
c && (s.fillTo = this.getRect(c));
|
|
314
315
|
}
|
|
@@ -885,7 +886,7 @@ class Ot {
|
|
|
885
886
|
r.collatorOptions = n ? G.CaseSensitiveOptions : G.CaseInsensitiveOptions;
|
|
886
887
|
}
|
|
887
888
|
const o = e.getAttribute("sortMethod");
|
|
888
|
-
o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation =
|
|
889
|
+
o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation = et.Orientation.Column);
|
|
889
890
|
const i = W.fastStringToRange(r.ref);
|
|
890
891
|
return this.processSortConditions(t, e, r, i), Object.keys(r).length > 0 && (s.sort = r), r;
|
|
891
892
|
}
|
|
@@ -919,7 +920,7 @@ class Q {
|
|
|
919
920
|
}
|
|
920
921
|
processDataBarColor(t, e, s, r, o = "dk1") {
|
|
921
922
|
if (!e) return;
|
|
922
|
-
const i =
|
|
923
|
+
const i = tt((n) => e.getAttribute(n), o);
|
|
923
924
|
return i && (s[r] = i), s;
|
|
924
925
|
}
|
|
925
926
|
processFonts(t, e, s) {
|
|
@@ -1128,7 +1129,7 @@ class Tt extends Q {
|
|
|
1128
1129
|
const n = e.getAttribute("xfId");
|
|
1129
1130
|
if (n && o) {
|
|
1130
1131
|
const c = o.get(parseInt(n));
|
|
1131
|
-
c && c !==
|
|
1132
|
+
c && c !== rt.BuiltInName.Normal && (s.named = c);
|
|
1132
1133
|
}
|
|
1133
1134
|
const l = (c) => !(!i && e.hasAttribute(c)) || f(e.getAttribute("applyFont"));
|
|
1134
1135
|
if (l("applyFont")) {
|
|
@@ -1362,7 +1363,7 @@ class St {
|
|
|
1362
1363
|
o.length > 0 && (s.columns = o);
|
|
1363
1364
|
}
|
|
1364
1365
|
}
|
|
1365
|
-
class
|
|
1366
|
+
class xt {
|
|
1366
1367
|
visit(t, e, s) {
|
|
1367
1368
|
return s;
|
|
1368
1369
|
}
|
|
@@ -1386,7 +1387,7 @@ class U {
|
|
|
1386
1387
|
return r && (t.copyFromAttribute(r, "name", s), t.copyFromAttribute(r, "desc", s), t.copyFromAttribute(r, "hidden", s, "hidden", t.BOOLEAN_COPY), t.copyFromAttribute(r, "id", s)), s;
|
|
1387
1388
|
}
|
|
1388
1389
|
}
|
|
1389
|
-
class
|
|
1390
|
+
class kt extends U {
|
|
1390
1391
|
visit(t, e, s) {
|
|
1391
1392
|
if (!e) return;
|
|
1392
1393
|
s = super.visit(t, e, s);
|
|
@@ -1433,7 +1434,7 @@ class z extends U {
|
|
|
1433
1434
|
return s.content = { type: "sp", json: o }, o;
|
|
1434
1435
|
}
|
|
1435
1436
|
}
|
|
1436
|
-
class
|
|
1437
|
+
class It extends U {
|
|
1437
1438
|
visit(t, e, s) {
|
|
1438
1439
|
if (!e) return;
|
|
1439
1440
|
const r = super.visit(t, e, s), o = t.evaluate("nvPicPr/cNvPicPr", e);
|
|
@@ -1457,7 +1458,7 @@ class Lt extends U {
|
|
|
1457
1458
|
return s.content = { type: "picture", json: l }, r;
|
|
1458
1459
|
}
|
|
1459
1460
|
}
|
|
1460
|
-
class
|
|
1461
|
+
class Lt extends z {
|
|
1461
1462
|
visit(t, e, s) {
|
|
1462
1463
|
if (!e) return;
|
|
1463
1464
|
s = super.visit(t, e, s);
|
|
@@ -1542,7 +1543,7 @@ class jt {
|
|
|
1542
1543
|
if (e.type === "_error") {
|
|
1543
1544
|
const s = e.errorType;
|
|
1544
1545
|
if (s) try {
|
|
1545
|
-
e =
|
|
1546
|
+
e = st.getBuiltInById(s + 1);
|
|
1546
1547
|
} catch {
|
|
1547
1548
|
}
|
|
1548
1549
|
}
|
|
@@ -1600,7 +1601,7 @@ class Dt {
|
|
|
1600
1601
|
visit(t, e, s) {
|
|
1601
1602
|
if (!e) return;
|
|
1602
1603
|
const r = {};
|
|
1603
|
-
return t.copyFromAttribute(e, "id", r, "id",
|
|
1604
|
+
return t.copyFromAttribute(e, "id", r, "id", I), t.copyFromAttribute(e, "personId", r, "personId", I), t.copyFromAttribute(e, "ref", r), t.copyFromAttribute(e, "parentId", r, "parentId", I), t.copyFromAttribute(e, "dT", r), e.hasAttribute("done") && (r.done = f(e.getAttribute("done"))), s.push(r), r;
|
|
1604
1605
|
}
|
|
1605
1606
|
}
|
|
1606
1607
|
class Mt {
|
|
@@ -1610,7 +1611,7 @@ class Mt {
|
|
|
1610
1611
|
const n = o.item(i);
|
|
1611
1612
|
if (n.nodeType === 1 && n.localName === "person") {
|
|
1612
1613
|
const l = {};
|
|
1613
|
-
t.copyFromAttribute(n, "id", l, "id",
|
|
1614
|
+
t.copyFromAttribute(n, "id", l, "id", I), t.copyFromAttribute(n, "displayName", l), t.copyFromAttribute(n, "userId", l, "userId", I), t.copyFromAttribute(n, "providerId", l), r.push(l);
|
|
1614
1615
|
}
|
|
1615
1616
|
}
|
|
1616
1617
|
return r.length > 0 && (s.persons = r), r;
|
|
@@ -1622,9 +1623,9 @@ class zt {
|
|
|
1622
1623
|
this.path = t, this.visitor = e;
|
|
1623
1624
|
}
|
|
1624
1625
|
}
|
|
1625
|
-
class
|
|
1626
|
+
class $t {
|
|
1626
1627
|
constructor() {
|
|
1627
|
-
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new R()), this.registerVisitor("c:valAx", new R()), this.registerVisitor("c:dateAx", new R()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new
|
|
1628
|
+
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new R()), this.registerVisitor("c:valAx", new R()), this.registerVisitor("c:dateAx", new R()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new xt()), this.registerVisitor("twoCellAnchor", new E()), this.registerVisitor("oneCellAnchor", new E()), this.registerVisitor("absoluteAnchor", new E()), this.registerVisitor("graphicFrame", new kt()), this.registerVisitor("sp", new z()), this.registerVisitor("grpSp", new Lt()), this.registerVisitor("cxnSp", new Bt()), this.registerVisitor("pic", new It()), this.registerVisitor("rvStructures", new _t()), this.registerVisitor("rvData", new jt()), this.registerVisitor("comments", new Rt()), this.registerVisitor("commentList", new Et(), "comment"), this.registerVisitor("comment", new F("content"), "text"), this.registerVisitor("ThreadedComments", new Yt()), this.registerVisitor("threadedComment", new Dt()), this.registerVisitor("threadedComment", new F("content"), "text"), this.registerVisitor("personList", new Mt());
|
|
1628
1629
|
}
|
|
1629
1630
|
registerVisitor(t, e, s = null) {
|
|
1630
1631
|
t.indexOf(":") === -1 && (t = "*:" + t);
|
|
@@ -1697,6 +1698,6 @@ class Xt {
|
|
|
1697
1698
|
}
|
|
1698
1699
|
}
|
|
1699
1700
|
export {
|
|
1700
|
-
|
|
1701
|
-
|
|
1701
|
+
$t as FromOOXMLConverter,
|
|
1702
|
+
$t as default
|
|
1702
1703
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as o, jsxs as k } from "react/jsx-runtime";
|
|
2
2
|
import { memo as D, useState as i, useCallback as N } from "react";
|
|
3
|
-
import { Box as
|
|
4
|
-
import { T as v,
|
|
3
|
+
import { Box as j, FormControlLabel as w, Checkbox as F } from "@mui/material";
|
|
4
|
+
import { T as v, a1 as y, aj as B } from "./B89QkSJt5Nra70ba.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
|
|
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.
|
|
10
10
|
*/
|
|
11
|
-
const H = ["Ok", "Cancel"],
|
|
11
|
+
const H = ["Ok", "Cancel"], L = D((g) => {
|
|
12
12
|
const { tableOptions: e, context: r, onOption: p, onValidateOption: I, onDone: c, options: d = H, defaultOption: t = d?.[0], cancelOption: s = "Cancel", sx: u, ...x } = g, [b, h] = i(!1), [n, f] = i(() => e?.hasHeader ?? !1), [l, O] = i(() => e?.ranges ?? null), C = v((a) => {
|
|
13
13
|
const m = { ...e, hasHeader: n, ranges: l };
|
|
14
14
|
p?.(a, a === s, a === t), c?.({ option: a, tableOptions: m });
|
|
15
15
|
}, [c, p, t, s, n, l, e]), T = N(async (a, m) => null, []);
|
|
16
|
-
return o(y, { title: "Insert Table", options: d, onDone: C, onValidateOption: T, defaultOption: t, cancelOption: s, autoFocusSel: ".range-input input", sx: { width: "360px", ...u }, ...x, children: k(
|
|
16
|
+
return o(y, { title: "Insert Table", options: d, onDone: C, onValidateOption: T, defaultOption: t, cancelOption: s, autoFocusSel: ".range-input input", sx: { width: "360px", ...u }, ...x, children: k(j, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [o(B, { formName: "range", value: l, onChangeInput: (a) => O(a), resolvedAddress: r.getNames().getRanges.bind(r.getNames()), onFocus: (a) => {
|
|
17
17
|
b || a.target?.select(), h(!0);
|
|
18
|
-
} }), o(
|
|
18
|
+
} }), o(w, { control: o(F, { checked: n, onChange: () => f(!n) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
19
19
|
});
|
|
20
20
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
L as TableNewDialog,
|
|
22
|
+
L as default
|
|
23
23
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as M, useState as h, useCallback as j } from "react";
|
|
3
3
|
import { Box as S, FormControl as V, TextField as $ } from "@mui/material";
|
|
4
|
-
import { T as m,
|
|
4
|
+
import { T as m, a1 as z, a5 as C } from "./B89QkSJt5Nra70ba.mjs";
|
|
5
5
|
import { alpha as O } from "@mui/system";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
|
|
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.
|
|
11
11
|
*/
|
|
12
|
-
const
|
|
13
|
-
const { initialComments: T = null, onUpdateComments: u, context: k, onOption: d, onValidateOption: p, onDone: r, options: g =
|
|
12
|
+
const G = ["Ok", "Cancel"], q = E((F) => {
|
|
13
|
+
const { initialComments: T = null, onUpdateComments: u, context: k, onOption: d, onValidateOption: p, onDone: r, options: g = G, defaultOption: c = g?.[0], cancelOption: s = "Cancel", sx: w, ...y } = F, f = M(() => {
|
|
14
14
|
const t = T ?? k?.()?.getComments();
|
|
15
15
|
let n = "";
|
|
16
16
|
if (t && t.content && t.content.runs) {
|
|
@@ -47,6 +47,6 @@ const A = ["Ok", "Cancel"], W = E((F) => {
|
|
|
47
47
|
} }) }) }) });
|
|
48
48
|
});
|
|
49
49
|
export {
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
q as CommentsDialog,
|
|
51
|
+
q as default
|
|
52
52
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Workbook as k } from "@sheetxl/sdk";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const B = async (g, p) => {
|
|
9
9
|
const i = await g.toJSON(), w = p?.whiteSpace ?? 0;
|
|
10
10
|
let b;
|
|
11
11
|
p?.beforeWrite?.(g, i), b = w === 0 ? JSON.stringify(i) : function(a, c = 2) {
|
|
@@ -51,7 +51,7 @@ const j = async (g, p) => {
|
|
|
51
51
|
} }), n = new CompressionStream(c), o = r.pipeThrough(n);
|
|
52
52
|
return (await new Response(o).blob()).arrayBuffer();
|
|
53
53
|
}(y, typeof s == "string" ? s : void 0)), y;
|
|
54
|
-
},
|
|
54
|
+
}, j = async (g, p) => {
|
|
55
55
|
let i = g;
|
|
56
56
|
(function(s) {
|
|
57
57
|
if (s.byteLength < 4) return !1;
|
|
@@ -72,9 +72,9 @@ const j = async (g, p) => {
|
|
|
72
72
|
}(i));
|
|
73
73
|
let w = new TextDecoder().decode(i);
|
|
74
74
|
const b = JSON.parse(w), y = { ...p?.constructorOptions ?? {}, json: b };
|
|
75
|
-
return new
|
|
75
|
+
return new k(y);
|
|
76
76
|
};
|
|
77
77
|
export {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
j as fromBufferJSON,
|
|
79
|
+
B as toBufferJSON
|
|
80
80
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
|
|
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
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
|
|
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.
|