@sheetxl/studio-mui 0.8.0-beta.11 → 0.8.0-beta.13
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/esm/{DDc6rDuU9JAo1DH_.mjs → 6QDKC3DXaJjdTQvn.mjs} +3 -3
- package/browser/esm/{LZoYSQAYV2wksnDv.mjs → B8-aNCyDzXh-3BnN.mjs} +5 -5
- package/browser/esm/{Bujtz_Guj88d03vI.mjs → BEjT3zSht5iH93uB.mjs} +6 -6
- package/browser/esm/{Ds3XRkne7HxcXD8J.mjs → BKB6y-l1USxdLM8V.mjs} +2 -2
- package/browser/esm/{BED6h6YAwCf1HEQJ.mjs → BKE2ez65WLb02bOy.mjs} +1 -1
- package/browser/esm/{C9pIZVACtl9unFOp.mjs → BOKRcLS0QikMyoWf.mjs} +2 -2
- package/browser/esm/{DdcZrjMLWVukWcU5.mjs → BTH-nzAPniB6G4TG.mjs} +814 -685
- package/browser/esm/{BYE9gCDWKyx6mnVs.mjs → Bbvx7IiwR5jW-Hwu.mjs} +114 -103
- package/browser/esm/{zqilJefihVd7At2T.mjs → BgYy8t04q74BFK5_.mjs} +7 -7
- package/browser/esm/{CynTY0oNtyJnoaBq.mjs → BniGX5aeZXM9zMWH.mjs} +1 -1
- package/browser/esm/{D9ISy7VkaRRFJl46.mjs → BsxCXTfNJhFrldW9.mjs} +4 -4
- package/browser/esm/{D3rRUK4dIM5gUSmj.mjs → BwbheU7gonBpE9Bs.mjs} +2 -2
- package/browser/esm/{DDczwkXhz_MHub4z.mjs → BzLjlI67XDv3JcvA.mjs} +2 -2
- package/browser/esm/{DsoNMWDwHZP8UXQd.mjs → C3KoAU2WKPxC5-u7.mjs} +1 -1
- package/browser/esm/{DTpRkgsTm_zYnWfW.mjs → C9HzAN75sBq35kZg.mjs} +1 -1
- package/browser/esm/{BknfGJouygmnpFIU.mjs → CMbJhvtUGfi-wQ3o.mjs} +2 -2
- package/browser/esm/{DnGaP5F7mLwCGUYG.mjs → CQd6qQ6b5R96lYkQ.mjs} +206 -124
- package/browser/esm/{DV6i9RQZfJiKtEaJ.mjs → CYDqU_DnwM2dkv3O.mjs} +678 -623
- package/browser/esm/{ChSVxkPTIjgcC8PL.mjs → CYNVxcg3QJ1RHCwS.mjs} +2 -2
- package/browser/esm/{BjvD_4t2KGsZP5V8.mjs → CcyyIgMejaWOK8qw.mjs} +3 -3
- package/browser/esm/{ClBvNPeNCAhuVWrG.mjs → CkmieJ2_aHVESg8Q.mjs} +1 -1
- package/browser/esm/{Di3BUxA0SqFWWgeg.mjs → CtVEsNpA7LivARDl.mjs} +1 -1
- package/browser/esm/{w_JrR69vEpvoyeMy.mjs → CyRZCFT_uVfmLkoB.mjs} +1 -1
- package/browser/esm/{DpD4fg2WcyiKX_2K.mjs → D2KYXweAKTJVnLbt.mjs} +5 -5
- package/browser/esm/{G0Inqm6Eqw47dMpa.mjs → D9KI3TDs1Ed_en8o.mjs} +1 -1
- package/browser/esm/{CEtXsBzEjEKk9GOj.mjs → DAX7uqV05BahXHL1.mjs} +2 -2
- package/browser/esm/{COlZu93LRwuBvjE-.mjs → DFEz0RMRQrGo3tWC.mjs} +2 -2
- package/browser/esm/{DG21x7RKDpge6zAE.mjs → DLP2vkb2VDlGGA1A.mjs} +1 -1
- package/browser/esm/{BXhNFzyEGokTF-BL.mjs → DSIQFoVhlKSPzucu.mjs} +2 -2
- package/browser/esm/{Buqcl7J75MJrhpVE.mjs → DWUrXikL8TyDNRrI.mjs} +8 -8
- package/browser/esm/{0BWO0bLZ8Vm_dKd2.mjs → DYypTSo0adN5dUTS.mjs} +13 -13
- package/browser/esm/{CTjqDD-swFMZzI-Y.mjs → D_x6k92V4etahUtS.mjs} +2 -2
- package/browser/esm/{YThnrg3PadGs7B4j.mjs → DeSHnKGHmL3Lwl6t.mjs} +143 -137
- package/browser/esm/{BlE_8o8tO2AgAlaj.mjs → DkRUwiADZvoEL2xg.mjs} +1 -1
- package/browser/esm/{BAbq4-I5f5oUiNaF.mjs → DlGOcFqQzrYB9wiZ.mjs} +4 -4
- package/browser/esm/{C0wlMAIn9iREPK6w.mjs → DvDPtmuD-1bVFXhc.mjs} +1 -1
- package/browser/esm/{DKtJxrpN0axtuQ0l.mjs → DyKgCJS1jQMxcPFF.mjs} +1 -1
- package/browser/esm/{CWkOgdL7mOKiTR62.mjs → ERVyjcGWX4mUl1p_.mjs} +4 -4
- package/browser/esm/{HViD4Wfoi0mmqk9w.mjs → H8Dxocn689KdLYhD.mjs} +1 -1
- package/browser/esm/{Brsh5yscJ_4uKFXp.mjs → LF4eGB9EZ_W6kUXC.mjs} +2 -2
- package/browser/esm/{BokqKEpU6TFgfRs6.mjs → PSYAcayGMjkZauMz.mjs} +2 -2
- package/browser/esm/{DJOOed_OtB-XT7f3.mjs → TT3Q8r0Jww_zZmNv.mjs} +6 -6
- package/browser/esm/{C8JU4KsMasmLvojI.mjs → UMji8dlv0GKyfjRw.mjs} +1 -1
- package/browser/esm/UWvqHAyCVY3D-8Pk.mjs +242 -0
- package/browser/esm/{DRSCS6aLiYmPjUz1.mjs → aNYq27kJA5RA4L_0.mjs} +365 -362
- package/browser/esm/{CBD4RiRKbbZtSXV-.mjs → dn1AnYOyR4bZamV4.mjs} +3 -3
- package/browser/esm/{ttjcNHcFn8O6hfnd.mjs → eKakg1lFqn9dZkOO.mjs} +11 -11
- package/browser/esm/index.mjs +290 -287
- package/browser/esm/{CyLn6zOOp_biA3xU.mjs → jbPNLnRSS8Xt5_Zd.mjs} +8 -8
- package/browser/esm/{BvhYPwX3GrRaO9CM.mjs → oj398-Nn8Gb8Cmu7.mjs} +3 -3
- package/browser/esm/{DEv4pIEgYr5C7etm.mjs → qyIg2o8AfCcwCuVZ.mjs} +1 -1
- package/browser/esm/{xFqkfN8QMCxvsetB.mjs → w9rl3kS5ehDc2U18.mjs} +1 -1
- package/node/esm/{Do-zCKziWhoG5eAv.mjs → A-6VdAxUYuVCsS80.mjs} +2 -2
- package/node/esm/{Db3dbaYLKUO66T9s.mjs → BN5K-JWYdHJtnF5G.mjs} +473 -418
- package/node/esm/{CSAnTp5rwId0DUb8.mjs → BRSLQ_UNOJKAWRUq.mjs} +127 -116
- package/node/esm/{Bph-sR3l6AYWeuxK.mjs → BVCjSh6m3Z_Cd6DD.mjs} +2 -2
- package/node/esm/{4HmLH0bPVJCZLgik.mjs → BVyN4cLnT2ii1GMj.mjs} +1 -1
- package/node/esm/{zITjZ7R4raDqhP-n.mjs → BWG2FA3rbsOsBHQM.mjs} +3 -3
- package/node/esm/{DMXLxp3T0E0SRTQc.mjs → BZVe_afv1tfvExD6.mjs} +1 -1
- package/node/esm/{CYIoK22I6Yvv12_x.mjs → BiBMdXkWOUHZpWcb.mjs} +1 -1
- package/node/esm/{1bf4gn-2vld4BZ9u.mjs → Bj-UqmrrHdVSX4vS.mjs} +1 -1
- package/node/esm/{CuMePia6i_8yfJ6S.mjs → Blxb1C2eUbWoXcsl.mjs} +9 -9
- package/node/esm/{CZyA9uD4SkTvqp_G.mjs → BmySpSgR3H6eUK0L.mjs} +253 -253
- package/node/esm/{CPq-MIdEnc-53JpF.mjs → C86bIpa86VUEVY3_.mjs} +2 -2
- package/node/esm/CVeYUjvKIc1XuPC1.mjs +242 -0
- package/node/esm/{XEDcegsv5AGKBfu2.mjs → Cg1eqOYlWMCprF6j.mjs} +2 -2
- package/node/esm/{BlN7G0DVC24zauig.mjs → CksDVaPvtllTUe7F.mjs} +1 -1
- package/node/esm/{BPzcW4BejRqso338.mjs → D0HpdVWcePBpfQHX.mjs} +3 -3
- package/node/esm/{DfCuL8AUxMFoEG2s.mjs → DEK0D7wAs-O0YMBq.mjs} +36 -36
- package/node/esm/{DLqBHdFp6wvm6EGs.mjs → DFZctv5meqoQLuQF.mjs} +1 -1
- package/node/esm/{BIMkjQUwG4Ih-6Sh.mjs → DQ9BkHy3YgoLqyAw.mjs} +1 -1
- package/node/esm/{D-xqQ5qOSd6WrzwJ.mjs → DTtGcAuClHgv-5s6.mjs} +1 -1
- package/node/esm/{CvRbu8JPxFarsSR-.mjs → DcUXYRkJLeQFybOy.mjs} +5 -5
- package/node/esm/{CjC6s3RUJQNCF7mP.mjs → DjB5CHk5N8mYRiAW.mjs} +1 -1
- package/node/esm/{DeZJlLk8WJ3BLtLs.mjs → DopRYDglwpRFuZ9y.mjs} +3 -3
- package/node/esm/E3iNwBp5FzwRWhBH.mjs +489 -0
- package/node/esm/{DWqvf4H5F2wMnZ0L.mjs → Mm5HFZHyaIJ5EfYO.mjs} +1 -1
- package/node/esm/{CWcv7UVXF8IUB0PC.mjs → VLp3LfRG5Njlf4Mp.mjs} +15 -15
- package/node/esm/{CyafafEgfmjLqE5O.mjs → YTiLYQEQ-ST2j-Yd.mjs} +1 -1
- package/node/esm/{DdEzhVqYTrGODXrz.mjs → h5Tt_pl2Dpa9vaR-.mjs} +1 -1
- package/node/esm/index.mjs +2936 -2800
- package/node/esm/{BR45ogAR-hY2bE60.mjs → nVZW0-P7DISm9GFM.mjs} +1 -1
- package/node/esm/{yCUxQuqVuC4DHKPx.mjs → sKA_898BrWm-kfiS.mjs} +1 -1
- package/node/esm/{3WghtBXAvCDwcVrq.mjs → uySjOpgLC6iCqgC-.mjs} +1 -1
- package/node/esm/{BNg4QQY0WAPLE0q7.mjs → xw7vek0VNw7ofbq1.mjs} +3 -3
- package/node/esm/{DpJ2gmZJioCyq8La.mjs → zZTOpRFxWBgeZTpk.mjs} +166 -160
- package/package.json +9 -9
- package/resources/locales/de/groups.cmd.json +16 -1
- package/resources/locales/de/ui.msg.json +3 -1
- package/resources/locales/en/groups.cmd.json +16 -1
- package/resources/locales/en/ui.msg.json +3 -1
- package/types/src/border/BorderPopupButton.d.ts +1 -1
- package/types/src/color/ColorPopupButton.d.ts +1 -1
- package/types/src/command/AccountingStyleCommandButton.d.ts +1 -1
- package/types/src/command/DocThemeCommandButton.d.ts +1 -1
- package/types/src/command/FontFamilyCommandButton.d.ts +1 -1
- package/types/src/command/FontSizeCommandButton.d.ts +1 -1
- package/types/src/command/InsertCellControlCommandButton.d.ts +17 -0
- package/types/src/command/LanguageCommandButton.d.ts +1 -1
- package/types/src/command/LocaleCommandButton.d.ts +1 -1
- package/types/src/command/index.d.ts +1 -0
- package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +1 -1
- package/types/src/conditions/ConditionEditor.d.ts +1 -1
- package/types/src/conditions/MembershipOption.d.ts +1 -1
- package/types/src/conditions/OperatorAndParamEditor.d.ts +1 -1
- package/types/src/conditions/OperatorSelectPopupButton.d.ts +1 -1
- package/types/src/conditions/SelectorSelect.d.ts +1 -1
- package/types/src/dataValidation/DataValidationEditorPanel.d.ts +1 -1
- package/types/src/dialog/HyperlinkDialog.d.ts +15 -0
- package/types/src/externalLink/ExternalLinkSettingsTab.d.ts +1 -1
- package/types/src/fill/PatternPopupButton.d.ts +1 -1
- package/types/src/filter/ColumnMenu.d.ts +1 -1
- package/types/src/formulaBar/IFormulaBar.d.ts +4 -2
- package/types/src/itemsPanel/ItemsPanel.d.ts +5 -0
- package/types/src/named/NamedDetailsPanel.d.ts +2 -2
- package/types/src/shape/ShapeGalleryCommandButton.d.ts +18 -0
- package/types/src/shape/ShapePlugin.d.ts +2 -0
- package/types/src/shape/index.d.ts +1 -1
- package/types/src/statusBar/PendingStatus.d.ts +19 -0
- package/types/src/statusBar/index.d.ts +1 -0
- package/types/src/studio/StudioProps.d.ts +10 -10
- package/types/src/template/TemplatePanel.d.ts +5 -1
- package/types/src/theme/ThemeSelectPopupButton.d.ts +1 -1
- package/types/src/toolbar/WorkbookToolbars.d.ts +1 -1
- package/types/src/workbook/DefaultRenderers.d.ts +30 -18
- package/types/src/workbook/WorkbookElement.d.ts +5 -4
- package/types/src/workbook/WorkbookStrip.d.ts +8 -7
- package/types/src/workbook/index.d.ts +1 -1
- package/browser/esm/QgaAIDUMmBQBsXP9.mjs +0 -236
- package/node/esm/B0bdb_6p7fQI_ivo.mjs +0 -236
- package/node/esm/DatM6eEYPpAtIMy-.mjs +0 -405
- package/types/src/shape/InsertShapeCommandButton.d.ts +0 -20
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./BRSLQ_UNOJKAWRUq.mjs";
|
|
8
8
|
import { PresetChip as t } from "./index.mjs";
|
|
9
9
|
import { externalBookFileName as n, externalBookLocation as r } from "@sheetxl/sdk";
|
|
10
10
|
import { DynamicIcon as a, NotifierType as i, useNotifier as l, useTranslator as s } from "@sheetxl/utils-react";
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { FormulaField as e, InputField as t } from "./index.mjs";
|
|
8
|
+
import { useReferenceMode as n } from "@sheetxl/react";
|
|
9
|
+
import { useCallbackRef as l, useTranslator as s } from "@sheetxl/utils-react";
|
|
10
|
+
import { memo as r, useEffect as a, useId as i, useMemo as o, useRef as u, useState as d } from "react";
|
|
11
|
+
import { OptionsDialog as p } from "@sheetxl/utils-mui";
|
|
12
|
+
import { Fragment as c, jsx as m, jsxs as g } from "react/jsx-runtime";
|
|
13
|
+
import { Box as h, FormControl as y, InputLabel as f, MenuItem as x, Select as b, TextField as k } from "@mui/material";
|
|
14
|
+
var T = ["Ok", "Cancel"], C = ["Cancel"], v = { paddingTop: (e) => e.spacing(1.5) }, I = (e) => e?.isReadOnly() ? null : e, F = "mailto:", O = (e) => e.length >= 7 && e.substring(0, 7).toLowerCase() === F, D = (e) => {
|
|
15
|
+
if (!O(e)) return null;
|
|
16
|
+
const t = e.substring(7), n = t.indexOf("?");
|
|
17
|
+
if (-1 === n) return {
|
|
18
|
+
address: t,
|
|
19
|
+
subject: ""
|
|
20
|
+
};
|
|
21
|
+
let l = "";
|
|
22
|
+
try {
|
|
23
|
+
l = new URLSearchParams(t.substring(n + 1)).get("subject") ?? "";
|
|
24
|
+
} catch {}
|
|
25
|
+
return {
|
|
26
|
+
address: t.substring(0, n),
|
|
27
|
+
subject: l
|
|
28
|
+
};
|
|
29
|
+
}, P = r((r) => {
|
|
30
|
+
const { initialValue: P = null, context: j, onInput: w, onOption: M, onValidateOption: R, onDone: W, disabled: $ = !1, hideDisplayText: E = !1, sheetName: A, options: H = $ ? C : T, defaultOption: L = H?.[0], cancelOption: N = "Cancel", sx: S, ...V } = r, z = s(), B = o(() => null !== (P ?? I(j?.()?.getHyperlink()) ?? null), []), U = o(() => {
|
|
31
|
+
let e = null, t = null;
|
|
32
|
+
P && ("string" == typeof P ? t = P : e = P);
|
|
33
|
+
const n = e ? null : I(j?.()?.getHyperlink());
|
|
34
|
+
return {
|
|
35
|
+
address: t ?? e?.address ?? n?.getAddress() ?? "",
|
|
36
|
+
textToDisplay: e?.textToDisplay ?? n?.getTextToDisplay() ?? ""
|
|
37
|
+
};
|
|
38
|
+
}, [P, j]), q = U.address.startsWith("#"), G = o(() => D(U.address), [U.address]), [J, K] = d(q ? "document" : G ? "email" : "url"), [Q, X] = d(q || G ? "" : U.address), [Y, Z] = d(G?.address ?? ""), [_, ee] = d(G?.subject ?? ""), [te, ne] = d(() => q && U.address.substring(1) || null), [le, se] = d(q ? U.address.substring(1) : ""), [re, ae] = d(null), [ie, oe] = d(() => {
|
|
39
|
+
const e = j?.().getText({ useFormattingCategory: !0 }) ?? U.textToDisplay;
|
|
40
|
+
return e === U.address || G && e === G.address ? "" : e;
|
|
41
|
+
}), [ue, de] = d(!1), pe = i(), ce = u(null), me = u(null), ge = l(() => {
|
|
42
|
+
ce.current?.querySelector("input.autoFocus")?.focus(), me.current?.engage();
|
|
43
|
+
}, []), he = u(J);
|
|
44
|
+
a(() => {
|
|
45
|
+
he.current !== J && (he.current = J, ge());
|
|
46
|
+
}, [J]);
|
|
47
|
+
const ye = o(() => {
|
|
48
|
+
const e = A ?? j?.()?.getWorksheet()?.getName();
|
|
49
|
+
return e ? { scope: e } : void 0;
|
|
50
|
+
}, [j, A]), fe = "point" === n().getMode()?.mode, xe = l((e) => {
|
|
51
|
+
oe(e.target.value);
|
|
52
|
+
}, []), be = l(() => {
|
|
53
|
+
if ("document" === J) {
|
|
54
|
+
if ("string" == typeof te) {
|
|
55
|
+
const e = te.trim();
|
|
56
|
+
return e ? `#${e}` : null;
|
|
57
|
+
}
|
|
58
|
+
const e = te?.getReferences()?.getAddress();
|
|
59
|
+
return e ? `#${e}` : null;
|
|
60
|
+
}
|
|
61
|
+
return "email" === J ? ((e, t) => {
|
|
62
|
+
let n = e.trim();
|
|
63
|
+
if (O(n) && (n = n.substring(7)), !n) return null;
|
|
64
|
+
const l = t.trim();
|
|
65
|
+
return `${F}${n}${l ? `?subject=${encodeURIComponent(l)}` : ""}`;
|
|
66
|
+
})(Y, _) : "" === Q ? null : Q;
|
|
67
|
+
}, [
|
|
68
|
+
J,
|
|
69
|
+
te,
|
|
70
|
+
Q,
|
|
71
|
+
Y,
|
|
72
|
+
_
|
|
73
|
+
]), ke = l(async (e) => {
|
|
74
|
+
const t = e === N;
|
|
75
|
+
if (!t) {
|
|
76
|
+
const e = be();
|
|
77
|
+
let t = e;
|
|
78
|
+
e?.startsWith("#") ? t = e.substring(1) : "email" === J && e && (t = D(e)?.address ?? e), w?.({
|
|
79
|
+
address: e,
|
|
80
|
+
textToDisplay: ("" === ie ? t : ie) ?? null
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
M?.(e, t, e === L), W?.();
|
|
84
|
+
}, [
|
|
85
|
+
be,
|
|
86
|
+
J,
|
|
87
|
+
ie,
|
|
88
|
+
w,
|
|
89
|
+
W,
|
|
90
|
+
M,
|
|
91
|
+
L,
|
|
92
|
+
N
|
|
93
|
+
]), Te = l(async (e) => !1 !== await Promise.resolve(R?.(e)) && ("document" !== J || !re), [
|
|
94
|
+
R,
|
|
95
|
+
J,
|
|
96
|
+
re
|
|
97
|
+
]), Ce = "document" === J ? le : "email" === J ? Y : Q;
|
|
98
|
+
return m(p, {
|
|
99
|
+
title: z(B ? "hyperlink.titleEdit" : "hyperlink.titleInsert"),
|
|
100
|
+
options: H,
|
|
101
|
+
onDone: W,
|
|
102
|
+
onOption: (e) => ke(e),
|
|
103
|
+
onValidateOption: Te,
|
|
104
|
+
defaultOption: L,
|
|
105
|
+
cancelOption: N,
|
|
106
|
+
autoFocusSel: $ ? ".defaultOption" : ".autoFocus",
|
|
107
|
+
suspendModal: fe,
|
|
108
|
+
sx: {
|
|
109
|
+
width: "480px",
|
|
110
|
+
...S
|
|
111
|
+
},
|
|
112
|
+
...V,
|
|
113
|
+
children: g(h, {
|
|
114
|
+
ref: ce,
|
|
115
|
+
sx: {
|
|
116
|
+
paddingTop: (e) => e.spacing(1),
|
|
117
|
+
paddingBottom: (e) => e.spacing(0),
|
|
118
|
+
rowGap: (e) => e.spacing(1),
|
|
119
|
+
display: "flex",
|
|
120
|
+
flexDirection: "column"
|
|
121
|
+
},
|
|
122
|
+
children: [
|
|
123
|
+
g(y, {
|
|
124
|
+
sx: {
|
|
125
|
+
minWidth: 135,
|
|
126
|
+
width: "100%"
|
|
127
|
+
},
|
|
128
|
+
size: "small",
|
|
129
|
+
children: [m(f, {
|
|
130
|
+
id: pe,
|
|
131
|
+
children: z("hyperlink.linkTo")
|
|
132
|
+
}), g(b, {
|
|
133
|
+
labelId: pe,
|
|
134
|
+
value: J,
|
|
135
|
+
disabled: $,
|
|
136
|
+
label: z("hyperlink.linkTo"),
|
|
137
|
+
MenuProps: {
|
|
138
|
+
disableRestoreFocus: !0,
|
|
139
|
+
slotProps: { transition: { onExited: ge } },
|
|
140
|
+
container: () => document.fullscreenElement
|
|
141
|
+
},
|
|
142
|
+
onChange: (e) => {
|
|
143
|
+
K(e.target.value);
|
|
144
|
+
},
|
|
145
|
+
children: [
|
|
146
|
+
m(x, {
|
|
147
|
+
value: "url",
|
|
148
|
+
children: z("hyperlink.typeWebPage")
|
|
149
|
+
}),
|
|
150
|
+
m(x, {
|
|
151
|
+
value: "document",
|
|
152
|
+
children: z("hyperlink.typeInDocument")
|
|
153
|
+
}),
|
|
154
|
+
m(x, {
|
|
155
|
+
value: "email",
|
|
156
|
+
children: z("hyperlink.typeEmail")
|
|
157
|
+
})
|
|
158
|
+
]
|
|
159
|
+
})]
|
|
160
|
+
}),
|
|
161
|
+
"email" === J ? g(c, { children: [m(t, {
|
|
162
|
+
sx: v,
|
|
163
|
+
label: z("hyperlink.emailAddress"),
|
|
164
|
+
defaultInput: z("hyperlink.emailPlaceholder"),
|
|
165
|
+
value: Y,
|
|
166
|
+
disabled: $,
|
|
167
|
+
onChangeInput: (e) => Z(e),
|
|
168
|
+
onFocus: (e) => {
|
|
169
|
+
ue || e.target?.select?.(), de(!0);
|
|
170
|
+
}
|
|
171
|
+
}), m(t, {
|
|
172
|
+
label: z("hyperlink.subject"),
|
|
173
|
+
defaultInput: "",
|
|
174
|
+
value: _,
|
|
175
|
+
disabled: $,
|
|
176
|
+
onChangeInput: (e) => ee(e),
|
|
177
|
+
onFocus: () => de(!0)
|
|
178
|
+
})] }) : "document" === J ? m(e, {
|
|
179
|
+
sx: v,
|
|
180
|
+
grammar: "reference",
|
|
181
|
+
apiRef: me,
|
|
182
|
+
classNameInput: "autoFocus",
|
|
183
|
+
label: z("hyperlink.reference"),
|
|
184
|
+
value: te,
|
|
185
|
+
disabled: $,
|
|
186
|
+
allowMulti: !1,
|
|
187
|
+
home: ye,
|
|
188
|
+
onChangeInput: (e) => ne(e),
|
|
189
|
+
onChangeText: (e) => se(e),
|
|
190
|
+
onChangeError: (e) => ae(e),
|
|
191
|
+
onFocus: (e) => {
|
|
192
|
+
ue || e.target?.select?.(), de(!0);
|
|
193
|
+
}
|
|
194
|
+
}) : m(t, {
|
|
195
|
+
sx: v,
|
|
196
|
+
label: z("hyperlink.address"),
|
|
197
|
+
defaultInput: z("hyperlink.addressPlaceholder"),
|
|
198
|
+
value: Q,
|
|
199
|
+
disabled: $,
|
|
200
|
+
onChangeInput: (e) => X(e),
|
|
201
|
+
onFocus: (e) => {
|
|
202
|
+
ue || e.target?.select?.(), de(!0);
|
|
203
|
+
}
|
|
204
|
+
}),
|
|
205
|
+
E ? null : m(y, {
|
|
206
|
+
sx: {
|
|
207
|
+
paddingTop: (e) => e.spacing(1.5),
|
|
208
|
+
minWidth: 135,
|
|
209
|
+
width: "100%"
|
|
210
|
+
},
|
|
211
|
+
size: "small",
|
|
212
|
+
children: m(k, {
|
|
213
|
+
label: z("hyperlink.displayText"),
|
|
214
|
+
placeholder: Ce,
|
|
215
|
+
onFocus: () => {
|
|
216
|
+
de(!0);
|
|
217
|
+
},
|
|
218
|
+
sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(.5) } },
|
|
219
|
+
slotProps: {
|
|
220
|
+
inputLabel: { shrink: !0 },
|
|
221
|
+
htmlInput: {
|
|
222
|
+
spellCheck: !1,
|
|
223
|
+
autoComplete: "off",
|
|
224
|
+
sx: {
|
|
225
|
+
paddingTop: (e) => e.spacing(1.25),
|
|
226
|
+
paddingBottom: (e) => e.spacing(.75)
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
value: ie,
|
|
231
|
+
disabled: $,
|
|
232
|
+
onChange: xe,
|
|
233
|
+
onContextMenu: (e) => {
|
|
234
|
+
e.stopPropagation();
|
|
235
|
+
}
|
|
236
|
+
})
|
|
237
|
+
})
|
|
238
|
+
]
|
|
239
|
+
})
|
|
240
|
+
});
|
|
241
|
+
});
|
|
242
|
+
export { P as HyperlinkDialog, P as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { n as e, r as t, t as r } from "./
|
|
7
|
+
import { n as e, r as t, t as r } from "./DQ9BkHy3YgoLqyAw.mjs";
|
|
8
8
|
import { IRange as o, ISort as n, Sort as i } from "@sheetxl/sdk";
|
|
9
9
|
import { DynamicIcon as l, useCallbackRef as s, useTranslator as a } from "@sheetxl/utils-react";
|
|
10
10
|
import { memo as d, useMemo as c, useRef as p, useState as h } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { c as e, t } from "./
|
|
8
|
-
import { t as o } from "./
|
|
7
|
+
import { c as e, t } from "./nVZW0-P7DISm9GFM.mjs";
|
|
8
|
+
import { t as o } from "./DEK0D7wAs-O0YMBq.mjs";
|
|
9
9
|
import { IFill as l, ShapeStyleUtils as r } from "@sheetxl/sdk";
|
|
10
10
|
import { useGridColorScheme as s } from "@sheetxl/react";
|
|
11
11
|
import { useTranslator as i } from "@sheetxl/utils-react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-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 { ColorPopupButton as e, StyledStrokeIcon as l } from "./index.mjs";
|
|
8
|
-
import { a as
|
|
8
|
+
import { a as n, c as i, i as o, o as t } from "./nVZW0-P7DISm9GFM.mjs";
|
|
9
9
|
import { IFill as a, IStroke as s } from "@sheetxl/sdk";
|
|
10
10
|
import { KeyCodes as d, useCallbackRef as r, useTranslator as p } from "@sheetxl/utils-react";
|
|
11
11
|
import { memo as h, useCallback as c, useMemo as y } from "react";
|
|
@@ -56,9 +56,9 @@ var C = {
|
|
|
56
56
|
1
|
|
57
57
|
]
|
|
58
58
|
}, M = h((e) => {
|
|
59
|
-
const { dash:
|
|
59
|
+
const { dash: n, color: i, darkMode: o } = e, t = Array.isArray(n) ? n : C[n] ?? null;
|
|
60
60
|
return b(l, {
|
|
61
|
-
styleColor:
|
|
61
|
+
styleColor: i,
|
|
62
62
|
length: 60,
|
|
63
63
|
width: 2,
|
|
64
64
|
darkMode: o,
|
|
@@ -75,7 +75,7 @@ var w = {
|
|
|
75
75
|
med: 8,
|
|
76
76
|
lg: 12
|
|
77
77
|
}, A = h((e) => {
|
|
78
|
-
const { end: l, atStart:
|
|
78
|
+
const { end: l, atStart: n = !1, color: i, darkMode: o = !1 } = e, t = 19, a = w[l.width ?? s.LineEndSize.Medium], d = R[l.length ?? s.LineEndSize.Medium];
|
|
79
79
|
let r = null, p = t;
|
|
80
80
|
switch (l.type) {
|
|
81
81
|
case s.LineEndType.Triangle:
|
|
@@ -103,7 +103,7 @@ var w = {
|
|
|
103
103
|
strokeLinejoin: "round"
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
const h =
|
|
106
|
+
const h = i ? i.toRGBA(o).toString() : "currentColor";
|
|
107
107
|
return x(k, {
|
|
108
108
|
component: "svg",
|
|
109
109
|
width: 20,
|
|
@@ -115,7 +115,7 @@ var w = {
|
|
|
115
115
|
fill: h,
|
|
116
116
|
stroke: h,
|
|
117
117
|
filter: L(),
|
|
118
|
-
transform:
|
|
118
|
+
transform: n ? "scaleX(-1)" : void 0
|
|
119
119
|
},
|
|
120
120
|
children: [b("line", {
|
|
121
121
|
x1: 1,
|
|
@@ -128,15 +128,15 @@ var w = {
|
|
|
128
128
|
});
|
|
129
129
|
A.displayName = "LineEndIcon";
|
|
130
130
|
var N = (e) => {
|
|
131
|
-
const { end: l, atStart:
|
|
131
|
+
const { end: l, atStart: n = !1, color: i, darkMode: o, types: t, sizes: a, typeLabels: d, sizeLabels: r, widthLabel: p, lengthLabel: h, tooltip: y, disabled: L, onSelect: g } = e, x = c((e) => {
|
|
132
132
|
const { closeFloatAll: c, floatReference: y } = e, m = t.map((e) => {
|
|
133
133
|
const t = b(A, {
|
|
134
134
|
end: {
|
|
135
135
|
...l,
|
|
136
136
|
type: e
|
|
137
137
|
},
|
|
138
|
-
atStart:
|
|
139
|
-
color:
|
|
138
|
+
atStart: n,
|
|
139
|
+
color: i,
|
|
140
140
|
darkMode: o
|
|
141
141
|
}), m = e === l.type;
|
|
142
142
|
if (e === s.LineEndType.None) return b(u, {
|
|
@@ -155,7 +155,7 @@ var N = (e) => {
|
|
|
155
155
|
selected: m,
|
|
156
156
|
disabled: L,
|
|
157
157
|
parentFloat: y,
|
|
158
|
-
|
|
158
|
+
renderPopupPanel: (t) => b(k, {
|
|
159
159
|
sx: {
|
|
160
160
|
display: "grid",
|
|
161
161
|
gridTemplateColumns: `repeat(${a.length}, auto)`,
|
|
@@ -169,8 +169,8 @@ var N = (e) => {
|
|
|
169
169
|
width: a,
|
|
170
170
|
length: d
|
|
171
171
|
},
|
|
172
|
-
atStart:
|
|
173
|
-
color:
|
|
172
|
+
atStart: n,
|
|
173
|
+
color: i,
|
|
174
174
|
darkMode: o
|
|
175
175
|
}),
|
|
176
176
|
selected: m && (l.width ?? s.LineEndSize.Medium) === a && (l.length ?? s.LineEndSize.Medium) === d,
|
|
@@ -207,8 +207,8 @@ var N = (e) => {
|
|
|
207
207
|
});
|
|
208
208
|
}, [
|
|
209
209
|
l,
|
|
210
|
-
i,
|
|
211
210
|
n,
|
|
211
|
+
i,
|
|
212
212
|
o,
|
|
213
213
|
t,
|
|
214
214
|
a,
|
|
@@ -231,16 +231,16 @@ var N = (e) => {
|
|
|
231
231
|
},
|
|
232
232
|
children: b(A, {
|
|
233
233
|
end: l,
|
|
234
|
-
atStart:
|
|
235
|
-
color:
|
|
234
|
+
atStart: n,
|
|
235
|
+
color: i,
|
|
236
236
|
darkMode: o
|
|
237
237
|
})
|
|
238
238
|
}),
|
|
239
239
|
tooltip: y ? `${y}: ${d[l.type]}` : d[l.type],
|
|
240
|
-
|
|
240
|
+
renderPopupPanel: x
|
|
241
241
|
});
|
|
242
242
|
}, j = (e) => {
|
|
243
|
-
const { value: l, options:
|
|
243
|
+
const { value: l, options: n, onSelect: i, columns: o, tooltip: t, disabled: a, icon: s } = e, r = n.find((e) => e.value === l) ?? n[0], p = c((e) => {
|
|
244
244
|
const { closeFloat: t } = e;
|
|
245
245
|
return b(k, o ? {
|
|
246
246
|
sx: {
|
|
@@ -249,7 +249,7 @@ var N = (e) => {
|
|
|
249
249
|
gap: "2px",
|
|
250
250
|
padding: "6px 8px"
|
|
251
251
|
},
|
|
252
|
-
children:
|
|
252
|
+
children: n.map((e) => b(D, {
|
|
253
253
|
icon: e.icon,
|
|
254
254
|
selected: e.value === l,
|
|
255
255
|
disabled: a,
|
|
@@ -258,7 +258,7 @@ var N = (e) => {
|
|
|
258
258
|
simple: !0
|
|
259
259
|
},
|
|
260
260
|
onClick: () => {
|
|
261
|
-
t?.(),
|
|
261
|
+
t?.(), i(e.value);
|
|
262
262
|
}
|
|
263
263
|
}, e.value))
|
|
264
264
|
} : {
|
|
@@ -268,7 +268,7 @@ var N = (e) => {
|
|
|
268
268
|
paddingTop: "4px",
|
|
269
269
|
paddingBottom: "4px"
|
|
270
270
|
},
|
|
271
|
-
children:
|
|
271
|
+
children: n.map((e) => b(u, {
|
|
272
272
|
tabIndex: 0,
|
|
273
273
|
sx: {
|
|
274
274
|
height: "28px",
|
|
@@ -280,7 +280,7 @@ var N = (e) => {
|
|
|
280
280
|
selected: e.value === l,
|
|
281
281
|
onMouseDown: (e) => e.preventDefault(),
|
|
282
282
|
onMouseUp: () => {
|
|
283
|
-
t?.(),
|
|
283
|
+
t?.(), i(e.value);
|
|
284
284
|
},
|
|
285
285
|
onKeyDown: (e) => {
|
|
286
286
|
e.which === d.Enter && t?.();
|
|
@@ -289,9 +289,9 @@ var N = (e) => {
|
|
|
289
289
|
}, e.value))
|
|
290
290
|
});
|
|
291
291
|
}, [
|
|
292
|
-
i,
|
|
293
|
-
l,
|
|
294
292
|
n,
|
|
293
|
+
l,
|
|
294
|
+
i,
|
|
295
295
|
o,
|
|
296
296
|
a
|
|
297
297
|
]);
|
|
@@ -308,7 +308,7 @@ var N = (e) => {
|
|
|
308
308
|
children: s ?? r?.icon
|
|
309
309
|
}),
|
|
310
310
|
tooltip: t ? `${t}: ${r?.label ?? ""}` : r?.label,
|
|
311
|
-
|
|
311
|
+
renderPopupPanel: p
|
|
312
312
|
});
|
|
313
313
|
}, B = "none", J = "solid", P = [
|
|
314
314
|
s.DashStyle.Solid,
|
|
@@ -350,9 +350,9 @@ var N = (e) => {
|
|
|
350
350
|
C
|
|
351
351
|
]), le = r((e, l) => {
|
|
352
352
|
e && l && R.addRecentColor(e), C({ fill: e ? e.toString() : null }, $("op.setStrokeColor"));
|
|
353
|
-
}, [C, R]),
|
|
353
|
+
}, [C, R]), ne = r((e) => {
|
|
354
354
|
C({ width: e }, $("op.setStrokeWidth"));
|
|
355
|
-
}, [C]),
|
|
355
|
+
}, [C]), ie = r((e) => {
|
|
356
356
|
e !== W && C({ dash: e }, $("op.setStrokeDash"));
|
|
357
357
|
}, [C]), oe = r((e) => {
|
|
358
358
|
C({ lineCap: e }, $("op.setStroke"));
|
|
@@ -413,7 +413,7 @@ var N = (e) => {
|
|
|
413
413
|
darkMode: A
|
|
414
414
|
})
|
|
415
415
|
});
|
|
416
|
-
const re = (e, l,
|
|
416
|
+
const re = (e, l, n, i, o, t) => x(f, {
|
|
417
417
|
size: "small",
|
|
418
418
|
fullWidth: void 0 === t,
|
|
419
419
|
sx: void 0 === t ? void 0 : { width: t },
|
|
@@ -426,15 +426,15 @@ var N = (e) => {
|
|
|
426
426
|
disabled: G,
|
|
427
427
|
value: l,
|
|
428
428
|
onChange: (e) => o(e.target.value),
|
|
429
|
-
children:
|
|
429
|
+
children: n.map((e) => b(E, {
|
|
430
430
|
value: e,
|
|
431
|
-
children:
|
|
431
|
+
children: i[e]
|
|
432
432
|
}, e))
|
|
433
433
|
})]
|
|
434
434
|
});
|
|
435
435
|
return x(k, {
|
|
436
436
|
className: z("sxl-format-line-panel", c),
|
|
437
|
-
sx:
|
|
437
|
+
sx: i,
|
|
438
438
|
...D,
|
|
439
439
|
children: [b(t, { children: re(u("line.type"), H, [B, J], {
|
|
440
440
|
[B]: u("line.typeNone"),
|
|
@@ -442,7 +442,7 @@ var N = (e) => {
|
|
|
442
442
|
}, ee) }), U ? x(g, { children: [
|
|
443
443
|
b(t, {
|
|
444
444
|
label: u("line.color"),
|
|
445
|
-
children: x(
|
|
445
|
+
children: x(n, { children: [b(e, {
|
|
446
446
|
icon: "stroke.colored",
|
|
447
447
|
disabled: G,
|
|
448
448
|
darkMode: A,
|
|
@@ -464,12 +464,12 @@ var N = (e) => {
|
|
|
464
464
|
decimals: !0,
|
|
465
465
|
width: 96,
|
|
466
466
|
disabled: G,
|
|
467
|
-
onChange:
|
|
467
|
+
onChange: ne
|
|
468
468
|
})] })
|
|
469
469
|
}),
|
|
470
470
|
b(t, {
|
|
471
471
|
label: u("line.dashArrows"),
|
|
472
|
-
children: x(
|
|
472
|
+
children: x(n, { children: [
|
|
473
473
|
b(N, {
|
|
474
474
|
end: Y,
|
|
475
475
|
atStart: !0,
|
|
@@ -488,7 +488,7 @@ var N = (e) => {
|
|
|
488
488
|
b(j, {
|
|
489
489
|
value: X,
|
|
490
490
|
options: de,
|
|
491
|
-
onSelect:
|
|
491
|
+
onSelect: ie,
|
|
492
492
|
tooltip: u("line.dash"),
|
|
493
493
|
disabled: G
|
|
494
494
|
}),
|
|
@@ -510,7 +510,7 @@ var N = (e) => {
|
|
|
510
510
|
}),
|
|
511
511
|
b(t, {
|
|
512
512
|
label: u("line.capJoin"),
|
|
513
|
-
children: x(
|
|
513
|
+
children: x(n, { children: [re(u("line.cap"), m.getLineCap(), F, se.cap, oe, 128), re(u("line.join"), m.getLineJoin(), I, se.join, te, 128)] })
|
|
514
514
|
})
|
|
515
515
|
] }) : null]
|
|
516
516
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-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.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-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.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { PresetChip as a, c as e,
|
|
8
|
-
import { n as o, t as n } from "./
|
|
7
|
+
import { PresetChip as a, c as e, i as t, n as i, r as l } from "./index.mjs";
|
|
8
|
+
import { n as o, t as n } from "./xw7vek0VNw7ofbq1.mjs";
|
|
9
9
|
import { ICondition as r, IDataValidation as d } from "@sheetxl/sdk";
|
|
10
10
|
import { useModelSync as s } from "@sheetxl/react";
|
|
11
11
|
import { DynamicIcon as p, useTranslator as m } from "@sheetxl/utils-react";
|
|
@@ -71,7 +71,7 @@ var B = (a, e) => {
|
|
|
71
71
|
s(o, "onAnyChange");
|
|
72
72
|
const d = o.isProtected(), g = o.getRenderHints().includes("list"), [c, P] = u("rule"), T = V(w, {
|
|
73
73
|
tabIndex: 0,
|
|
74
|
-
className:
|
|
74
|
+
className: e["editor-panel"],
|
|
75
75
|
sx: {
|
|
76
76
|
gap: (a) => a.spacing(1),
|
|
77
77
|
paddingTop: (a) => a.spacing(1.25),
|
|
@@ -278,7 +278,7 @@ var B = (a, e) => {
|
|
|
278
278
|
})] })
|
|
279
279
|
]
|
|
280
280
|
});
|
|
281
|
-
return x(
|
|
281
|
+
return x(t.Provider, {
|
|
282
282
|
value: o,
|
|
283
283
|
children: T
|
|
284
284
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { PasswordField as e,
|
|
8
|
-
import { n as o, t as n } from "./
|
|
7
|
+
import { PasswordField as e, c as t } from "./index.mjs";
|
|
8
|
+
import { n as o, t as n } from "./xw7vek0VNw7ofbq1.mjs";
|
|
9
9
|
import { ICellRange as i } from "@sheetxl/sdk";
|
|
10
10
|
import { promptUnlockProtectedRanges as r, useModelListener as a, useModelSync as s } from "@sheetxl/react";
|
|
11
11
|
import { DynamicIcon as l, NotifierType as c, useNotifier as d, useTranslator as p } from "@sheetxl/utils-react";
|