@sheetxl/studio-mui 0.8.0-beta.12 → 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/{7fVZXXuonYb6Z7FU.mjs → 6QDKC3DXaJjdTQvn.mjs} +3 -3
- package/browser/esm/{2nRxqrNYbmEn8fS8.mjs → B8-aNCyDzXh-3BnN.mjs} +5 -5
- package/browser/esm/{D5N4nGaZsXtrHAOh.mjs → BEjT3zSht5iH93uB.mjs} +3 -3
- package/browser/esm/{C29TKq47CbXs652l.mjs → BKB6y-l1USxdLM8V.mjs} +2 -2
- package/browser/esm/{DHZA48ZMCETvHmeP.mjs → BKE2ez65WLb02bOy.mjs} +1 -1
- package/browser/esm/{CMc7G7cevxzPGxr9.mjs → BOKRcLS0QikMyoWf.mjs} +2 -2
- package/browser/esm/{D5Fn0Hqllwv5HY6i.mjs → BTH-nzAPniB6G4TG.mjs} +69 -48
- package/browser/esm/{lKXEDVt2ow1NlWJj.mjs → Bbvx7IiwR5jW-Hwu.mjs} +6 -6
- package/browser/esm/{CFIAWgpU3UyepLBn.mjs → BgYy8t04q74BFK5_.mjs} +4 -4
- package/browser/esm/{D0slJycx3nq53qmf.mjs → BniGX5aeZXM9zMWH.mjs} +1 -1
- package/browser/esm/{BHGr2gsFofTdAFxq.mjs → BsxCXTfNJhFrldW9.mjs} +4 -4
- package/browser/esm/{CjYKDxU4EP2Kf_vo.mjs → BwbheU7gonBpE9Bs.mjs} +2 -2
- package/browser/esm/{BpVrgbVISiTDyFR3.mjs → BzLjlI67XDv3JcvA.mjs} +2 -2
- package/browser/esm/{tIKqpsA0vNXH9EgU.mjs → C3KoAU2WKPxC5-u7.mjs} +1 -1
- package/browser/esm/{0IBZhOJaVmzJxuTv.mjs → C9HzAN75sBq35kZg.mjs} +1 -1
- package/browser/esm/{BKhcJI-G15D3kGap.mjs → CMbJhvtUGfi-wQ3o.mjs} +2 -2
- package/browser/esm/{DaxpbAF1ShkT7hNU.mjs → CQd6qQ6b5R96lYkQ.mjs} +5 -5
- package/browser/esm/{WIhvQtBkGiw-oFUs.mjs → CYDqU_DnwM2dkv3O.mjs} +174 -133
- package/browser/esm/{D7AqPfyhMiuda5l5.mjs → CYNVxcg3QJ1RHCwS.mjs} +2 -2
- package/browser/esm/{Yjq3p_7eVGFw2Jod.mjs → CcyyIgMejaWOK8qw.mjs} +3 -3
- package/browser/esm/{u84rSnESjxqB6gay.mjs → CkmieJ2_aHVESg8Q.mjs} +1 -1
- package/browser/esm/{DX2_vf7WX6uRLaOZ.mjs → CtVEsNpA7LivARDl.mjs} +1 -1
- package/browser/esm/{NeGeLF3gbGMZyV6E.mjs → CyRZCFT_uVfmLkoB.mjs} +1 -1
- package/browser/esm/{BAzhmMX4Fk_qnUTp.mjs → D2KYXweAKTJVnLbt.mjs} +5 -5
- package/browser/esm/{CBzXksWnb-1gGEWZ.mjs → D9KI3TDs1Ed_en8o.mjs} +1 -1
- package/browser/esm/{oC0OwOddhOD0OoCJ.mjs → DAX7uqV05BahXHL1.mjs} +2 -2
- package/browser/esm/{BnkwC5rsg9LZyhoP.mjs → DFEz0RMRQrGo3tWC.mjs} +2 -2
- package/browser/esm/{CJD4jF4m9cBGHzr_.mjs → DLP2vkb2VDlGGA1A.mjs} +1 -1
- package/browser/esm/{C8p2iMad_NNCwGI_.mjs → DSIQFoVhlKSPzucu.mjs} +2 -2
- package/browser/esm/{CeF35ZeFP28Do5Zx.mjs → DWUrXikL8TyDNRrI.mjs} +6 -6
- package/browser/esm/{BZqwbIE8qzjSOYcJ.mjs → DYypTSo0adN5dUTS.mjs} +3 -3
- package/browser/esm/{DtTDaXmnWUoG4VBO.mjs → D_x6k92V4etahUtS.mjs} +2 -2
- package/browser/esm/{Db3oHfXiRtcH015t.mjs → DeSHnKGHmL3Lwl6t.mjs} +2 -2
- package/browser/esm/{Cq82lvdjyBvlJ8xJ.mjs → DkRUwiADZvoEL2xg.mjs} +1 -1
- package/browser/esm/{BWfLpYmd3cSgJ0C6.mjs → DlGOcFqQzrYB9wiZ.mjs} +4 -4
- package/browser/esm/{Dt47Huh1l3C4_5_w.mjs → DvDPtmuD-1bVFXhc.mjs} +1 -1
- package/browser/esm/{D2jzliMwAo2ENpfi.mjs → DyKgCJS1jQMxcPFF.mjs} +1 -1
- package/browser/esm/{BSv9MVJaz1DVEffm.mjs → ERVyjcGWX4mUl1p_.mjs} +4 -4
- package/browser/esm/{CYtULLhY9M2m3DeH.mjs → H8Dxocn689KdLYhD.mjs} +1 -1
- package/browser/esm/{DuuyN4-7K6_io2Py.mjs → LF4eGB9EZ_W6kUXC.mjs} +2 -2
- package/browser/esm/{PY3Br5Bo_TxcCnCU.mjs → PSYAcayGMjkZauMz.mjs} +2 -2
- package/browser/esm/{WgIvwAENeO8LANax.mjs → TT3Q8r0Jww_zZmNv.mjs} +2 -2
- package/browser/esm/{Cvk2yY90hpgXWMAt.mjs → UMji8dlv0GKyfjRw.mjs} +1 -1
- package/browser/esm/UWvqHAyCVY3D-8Pk.mjs +242 -0
- package/browser/esm/{BsngRDhvVYGVBJeK.mjs → aNYq27kJA5RA4L_0.mjs} +4 -4
- package/browser/esm/{BGL3x0W74D7qZXlf.mjs → dn1AnYOyR4bZamV4.mjs} +3 -3
- package/browser/esm/{BZy9xUrYpAtnKeji.mjs → eKakg1lFqn9dZkOO.mjs} +8 -8
- package/browser/esm/index.mjs +16 -16
- package/browser/esm/{BNbub9weuqm3mcoF.mjs → jbPNLnRSS8Xt5_Zd.mjs} +4 -4
- package/browser/esm/{BpJsBv413cNQpyg0.mjs → oj398-Nn8Gb8Cmu7.mjs} +3 -3
- package/browser/esm/{CuRxFAO42JkQvMEx.mjs → qyIg2o8AfCcwCuVZ.mjs} +1 -1
- package/browser/esm/{DtPt0phL7m56YfHZ.mjs → w9rl3kS5ehDc2U18.mjs} +1 -1
- package/node/esm/{C4F6WY8M4nkLyxdb.mjs → A-6VdAxUYuVCsS80.mjs} +2 -2
- package/node/esm/{CgKa6JuyJ1tTodev.mjs → BN5K-JWYdHJtnF5G.mjs} +171 -130
- package/node/esm/{CKWeipCqqpLnLE5e.mjs → BRSLQ_UNOJKAWRUq.mjs} +2 -2
- package/node/esm/{BqVxnA1mo52ubjdf.mjs → BVCjSh6m3Z_Cd6DD.mjs} +2 -2
- package/node/esm/{Cq53M7bAUSXMNq1f.mjs → BVyN4cLnT2ii1GMj.mjs} +1 -1
- package/node/esm/{BLv99aovW4R3C5PE.mjs → BWG2FA3rbsOsBHQM.mjs} +3 -3
- package/node/esm/{B8Ls4Eh1k8-Yiry_.mjs → BZVe_afv1tfvExD6.mjs} +1 -1
- package/node/esm/{DsNYnq4NtYBxPmeA.mjs → BiBMdXkWOUHZpWcb.mjs} +1 -1
- package/node/esm/{Cr8AYWUoU-XVt0hu.mjs → Bj-UqmrrHdVSX4vS.mjs} +1 -1
- package/node/esm/{fmya3XQnTGyQisvT.mjs → Blxb1C2eUbWoXcsl.mjs} +1 -1
- package/node/esm/{C3FCh9xju2SccUIE.mjs → BmySpSgR3H6eUK0L.mjs} +2 -2
- package/node/esm/{DJpwI8PlKBI2rk0r.mjs → C86bIpa86VUEVY3_.mjs} +2 -2
- package/node/esm/CVeYUjvKIc1XuPC1.mjs +242 -0
- package/node/esm/{BBGoyqs2L_ccSH1e.mjs → Cg1eqOYlWMCprF6j.mjs} +2 -2
- package/node/esm/{zGAcd4Jr7wkvXDBS.mjs → CksDVaPvtllTUe7F.mjs} +1 -1
- package/node/esm/{Cfi_ly8fBDZZdiZT.mjs → D0HpdVWcePBpfQHX.mjs} +3 -3
- package/node/esm/{BUGU_5lUtnCRlp3n.mjs → DEK0D7wAs-O0YMBq.mjs} +2 -2
- package/node/esm/{CTnVNfz4eqFnM92M.mjs → DFZctv5meqoQLuQF.mjs} +1 -1
- package/node/esm/{M7YxvRPGCuxuk9aK.mjs → DQ9BkHy3YgoLqyAw.mjs} +1 -1
- package/node/esm/{D72CupF9mfy2D1Xa.mjs → DTtGcAuClHgv-5s6.mjs} +1 -1
- package/node/esm/{dm8dmEaTIqfmgyeL.mjs → DcUXYRkJLeQFybOy.mjs} +2 -2
- package/node/esm/{di_8-pXh90j4BO4j.mjs → DjB5CHk5N8mYRiAW.mjs} +1 -1
- package/node/esm/{wB8xMpyJ_NvE16yG.mjs → DopRYDglwpRFuZ9y.mjs} +2 -2
- package/node/esm/{Dz0Hg87UcJ-awwiI.mjs → E3iNwBp5FzwRWhBH.mjs} +2 -2
- package/node/esm/{DQaGPUYbgL4Y5YZW.mjs → Mm5HFZHyaIJ5EfYO.mjs} +1 -1
- package/node/esm/{QNjtpX8rIpqGGLEJ.mjs → VLp3LfRG5Njlf4Mp.mjs} +2 -2
- package/node/esm/{DGDHFK8okuVbRCe5.mjs → YTiLYQEQ-ST2j-Yd.mjs} +1 -1
- package/node/esm/{ZzvsynJTCSuChYS-.mjs → h5Tt_pl2Dpa9vaR-.mjs} +1 -1
- package/node/esm/index.mjs +243 -222
- package/node/esm/{gPYAb_A0T5ZwcQ1E.mjs → nVZW0-P7DISm9GFM.mjs} +1 -1
- package/node/esm/{DygDgOpa9sJ6YFVS.mjs → sKA_898BrWm-kfiS.mjs} +1 -1
- package/node/esm/{B9X3n8MglL4OitAV.mjs → uySjOpgLC6iCqgC-.mjs} +1 -1
- package/node/esm/{BalROFG_oa9PFs9Q.mjs → xw7vek0VNw7ofbq1.mjs} +2 -2
- package/node/esm/{DJFkALt4XrwkMbnU.mjs → zZTOpRFxWBgeZTpk.mjs} +1 -1
- package/package.json +9 -9
- package/resources/locales/de/groups.cmd.json +12 -1
- package/resources/locales/en/groups.cmd.json +12 -1
- package/types/src/conditions/MembershipOption.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/filter/ColumnMenu.d.ts +1 -1
- 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/browser/esm/jFRFCWlkD7Dsrhkh.mjs +0 -236
- package/node/esm/CyuOE595I2e-U4cG.mjs +0 -236
- package/types/src/shape/InsertShapeCommandButton.d.ts +0 -20
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
|
|
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 r } from "@sheetxl/utils-react";
|
|
10
|
-
import { memo as s, useEffect as o, useId as a, useMemo as i, 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 = { paddingTop: (e) => e.spacing(1.5) }, v = (e) => e?.isReadOnly() ? null : e, I = "mailto:", F = (e) => e.length >= 7 && e.substring(0, 7).toLowerCase() === I, O = (e) => {
|
|
15
|
-
if (!F(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
|
-
}, D = s((s) => {
|
|
30
|
-
const { initialValue: D = null, context: P, onInput: j, onOption: w, onValidateOption: M, onDone: R, options: W = T, defaultOption: $ = W?.[0], cancelOption: E = "Cancel", sx: A, ...H } = s, L = r(), S = i(() => null !== (D ?? v(P?.()?.getHyperlink())), []), V = i(() => {
|
|
31
|
-
let e = null, t = null;
|
|
32
|
-
D && ("string" == typeof D ? t = D : e = D);
|
|
33
|
-
const n = e ? null : v(P?.()?.getHyperlink());
|
|
34
|
-
return {
|
|
35
|
-
address: t ?? e?.address ?? n?.getAddress() ?? "",
|
|
36
|
-
textToDisplay: e?.textToDisplay ?? n?.getTextToDisplay() ?? ""
|
|
37
|
-
};
|
|
38
|
-
}, [D, P]), z = V.address.startsWith("#"), B = i(() => O(V.address), [V.address]), [N, U] = d(z ? "document" : B ? "email" : "url"), [q, G] = d(z || B ? "" : V.address), [J, K] = d(B?.address ?? ""), [Q, X] = d(B?.subject ?? ""), [Y, Z] = d(() => z && V.address.substring(1) || null), [_, ee] = d(z ? V.address.substring(1) : ""), [te, ne] = d(null), [le, re] = d(() => {
|
|
39
|
-
const e = P?.().getText({ useFormattingCategory: !0 }) ?? V.textToDisplay;
|
|
40
|
-
return e === V.address || B && e === B.address ? "" : e;
|
|
41
|
-
}), [se, oe] = d(!1), ae = a(), ie = u(null), ue = u(null), de = l(() => {
|
|
42
|
-
ie.current?.querySelector("input.autoFocus")?.focus(), ue.current?.engage();
|
|
43
|
-
}, []), pe = u(N);
|
|
44
|
-
o(() => {
|
|
45
|
-
pe.current !== N && (pe.current = N, de());
|
|
46
|
-
}, [N]);
|
|
47
|
-
const ce = i(() => {
|
|
48
|
-
const e = P?.()?.getWorksheet()?.getName();
|
|
49
|
-
return e ? { scope: e } : void 0;
|
|
50
|
-
}, [P]), me = "point" === n().getMode()?.mode, ge = l((e) => {
|
|
51
|
-
re(e.target.value);
|
|
52
|
-
}, []), he = l(() => {
|
|
53
|
-
if ("document" === N) {
|
|
54
|
-
if ("string" == typeof Y) {
|
|
55
|
-
const e = Y.trim();
|
|
56
|
-
return e ? `#${e}` : null;
|
|
57
|
-
}
|
|
58
|
-
const e = Y?.getReferences()?.getAddress();
|
|
59
|
-
return e ? `#${e}` : null;
|
|
60
|
-
}
|
|
61
|
-
return "email" === N ? ((e, t) => {
|
|
62
|
-
let n = e.trim();
|
|
63
|
-
if (F(n) && (n = n.substring(7)), !n) return null;
|
|
64
|
-
const l = t.trim();
|
|
65
|
-
return `${I}${n}${l ? `?subject=${encodeURIComponent(l)}` : ""}`;
|
|
66
|
-
})(J, Q) : "" === q ? null : q;
|
|
67
|
-
}, [
|
|
68
|
-
N,
|
|
69
|
-
Y,
|
|
70
|
-
q,
|
|
71
|
-
J,
|
|
72
|
-
Q
|
|
73
|
-
]), ye = l(async (e) => {
|
|
74
|
-
const t = e === E;
|
|
75
|
-
if (!t) {
|
|
76
|
-
const e = he();
|
|
77
|
-
let t = e;
|
|
78
|
-
e?.startsWith("#") ? t = e.substring(1) : "email" === N && e && (t = O(e)?.address ?? e), j?.({
|
|
79
|
-
address: e,
|
|
80
|
-
textToDisplay: ("" === le ? t : le) ?? null
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
w?.(e, t, e === $), R?.();
|
|
84
|
-
}, [
|
|
85
|
-
he,
|
|
86
|
-
N,
|
|
87
|
-
le,
|
|
88
|
-
j,
|
|
89
|
-
R,
|
|
90
|
-
w,
|
|
91
|
-
$,
|
|
92
|
-
E
|
|
93
|
-
]), fe = l(async (e) => !1 !== await Promise.resolve(M?.(e)) && ("document" !== N || !te), [
|
|
94
|
-
M,
|
|
95
|
-
N,
|
|
96
|
-
te
|
|
97
|
-
]), xe = "document" === N ? _ : "email" === N ? J : q;
|
|
98
|
-
return m(p, {
|
|
99
|
-
title: L(S ? "hyperlink.titleEdit" : "hyperlink.titleInsert"),
|
|
100
|
-
options: W,
|
|
101
|
-
onDone: R,
|
|
102
|
-
onOption: (e) => ye(e),
|
|
103
|
-
onValidateOption: fe,
|
|
104
|
-
defaultOption: $,
|
|
105
|
-
cancelOption: E,
|
|
106
|
-
autoFocusSel: ".autoFocus",
|
|
107
|
-
suspendModal: me,
|
|
108
|
-
sx: {
|
|
109
|
-
width: "480px",
|
|
110
|
-
...A
|
|
111
|
-
},
|
|
112
|
-
...H,
|
|
113
|
-
children: g(h, {
|
|
114
|
-
ref: ie,
|
|
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: ae,
|
|
131
|
-
children: L("hyperlink.linkTo")
|
|
132
|
-
}), g(b, {
|
|
133
|
-
labelId: ae,
|
|
134
|
-
value: N,
|
|
135
|
-
label: L("hyperlink.linkTo"),
|
|
136
|
-
MenuProps: {
|
|
137
|
-
disableRestoreFocus: !0,
|
|
138
|
-
slotProps: { transition: { onExited: de } },
|
|
139
|
-
container: () => document.fullscreenElement
|
|
140
|
-
},
|
|
141
|
-
onChange: (e) => {
|
|
142
|
-
U(e.target.value);
|
|
143
|
-
},
|
|
144
|
-
children: [
|
|
145
|
-
m(x, {
|
|
146
|
-
value: "url",
|
|
147
|
-
children: L("hyperlink.typeWebPage")
|
|
148
|
-
}),
|
|
149
|
-
m(x, {
|
|
150
|
-
value: "document",
|
|
151
|
-
children: L("hyperlink.typeInDocument")
|
|
152
|
-
}),
|
|
153
|
-
m(x, {
|
|
154
|
-
value: "email",
|
|
155
|
-
children: L("hyperlink.typeEmail")
|
|
156
|
-
})
|
|
157
|
-
]
|
|
158
|
-
})]
|
|
159
|
-
}),
|
|
160
|
-
"email" === N ? g(c, { children: [m(t, {
|
|
161
|
-
sx: C,
|
|
162
|
-
label: L("hyperlink.emailAddress"),
|
|
163
|
-
defaultInput: L("hyperlink.emailPlaceholder"),
|
|
164
|
-
value: J,
|
|
165
|
-
onChangeInput: (e) => K(e),
|
|
166
|
-
onFocus: (e) => {
|
|
167
|
-
se || e.target?.select?.(), oe(!0);
|
|
168
|
-
}
|
|
169
|
-
}), m(t, {
|
|
170
|
-
label: L("hyperlink.subject"),
|
|
171
|
-
defaultInput: "",
|
|
172
|
-
value: Q,
|
|
173
|
-
onChangeInput: (e) => X(e),
|
|
174
|
-
onFocus: () => oe(!0)
|
|
175
|
-
})] }) : "document" === N ? m(e, {
|
|
176
|
-
sx: C,
|
|
177
|
-
grammar: "reference",
|
|
178
|
-
apiRef: ue,
|
|
179
|
-
classNameInput: "autoFocus",
|
|
180
|
-
label: L("hyperlink.reference"),
|
|
181
|
-
value: Y,
|
|
182
|
-
allowMulti: !1,
|
|
183
|
-
home: ce,
|
|
184
|
-
onChangeInput: (e) => Z(e),
|
|
185
|
-
onChangeText: (e) => ee(e),
|
|
186
|
-
onChangeError: (e) => ne(e),
|
|
187
|
-
onFocus: (e) => {
|
|
188
|
-
se || e.target?.select?.(), oe(!0);
|
|
189
|
-
}
|
|
190
|
-
}) : m(t, {
|
|
191
|
-
sx: C,
|
|
192
|
-
label: L("hyperlink.address"),
|
|
193
|
-
defaultInput: L("hyperlink.addressPlaceholder"),
|
|
194
|
-
value: q,
|
|
195
|
-
onChangeInput: (e) => G(e),
|
|
196
|
-
onFocus: (e) => {
|
|
197
|
-
se || e.target?.select?.(), oe(!0);
|
|
198
|
-
}
|
|
199
|
-
}),
|
|
200
|
-
m(y, {
|
|
201
|
-
sx: {
|
|
202
|
-
paddingTop: (e) => e.spacing(1.5),
|
|
203
|
-
minWidth: 135,
|
|
204
|
-
width: "100%"
|
|
205
|
-
},
|
|
206
|
-
size: "small",
|
|
207
|
-
children: m(k, {
|
|
208
|
-
label: L("hyperlink.displayText"),
|
|
209
|
-
placeholder: xe,
|
|
210
|
-
onFocus: () => {
|
|
211
|
-
oe(!0);
|
|
212
|
-
},
|
|
213
|
-
sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(.5) } },
|
|
214
|
-
slotProps: {
|
|
215
|
-
inputLabel: { shrink: !0 },
|
|
216
|
-
htmlInput: {
|
|
217
|
-
spellCheck: !1,
|
|
218
|
-
autoComplete: "off",
|
|
219
|
-
sx: {
|
|
220
|
-
paddingTop: (e) => e.spacing(1.25),
|
|
221
|
-
paddingBottom: (e) => e.spacing(.75)
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
value: le,
|
|
226
|
-
onChange: ge,
|
|
227
|
-
onContextMenu: (e) => {
|
|
228
|
-
e.stopPropagation();
|
|
229
|
-
}
|
|
230
|
-
})
|
|
231
|
-
})
|
|
232
|
-
]
|
|
233
|
-
})
|
|
234
|
-
});
|
|
235
|
-
});
|
|
236
|
-
export { D as HyperlinkDialog, D as default };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
|
|
2
|
-
export interface InsertShapeCommandButtonProps extends CommandPopupButtonProps {
|
|
3
|
-
/**
|
|
4
|
-
* The command a pick runs, with the entry's JSON. Its label, description and enablement are the
|
|
5
|
-
* button's.
|
|
6
|
-
* @defaultValue `'insertShape'`
|
|
7
|
-
*/
|
|
8
|
-
commandKey?: string;
|
|
9
|
-
/** Gallery sections to leave out, by key: Change Shape has no `lines`. */
|
|
10
|
-
excludeCategories?: readonly string[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Insert > Shapes: a popup gallery of the preset shapes by section, as Excel lays it out. Picking
|
|
14
|
-
* one runs `insertShape` with what the entry states. Entries picked here are remembered by key,
|
|
15
|
-
* most recent first, in a Recently Used Shapes section shown above the gallery once there are any.
|
|
16
|
-
*
|
|
17
|
-
* The same gallery runs another command with `commandKey`, as the Shape tab's Change Shape does.
|
|
18
|
-
*/
|
|
19
|
-
export declare const InsertShapeCommandButton: import('react').NamedExoticComponent<Omit<InsertShapeCommandButtonProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
20
|
-
//# sourceMappingURL=InsertShapeCommandButton.d.ts.map
|