@sheetxl/studio-mui 0.8.0-beta.10 → 0.8.0-beta.12
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/{ByeL_BZuJ2kl8gtf.mjs → 0IBZhOJaVmzJxuTv.mjs} +1 -1
- package/browser/esm/2nRxqrNYbmEn8fS8.mjs +386 -0
- package/browser/esm/{fb126BNj3F8URR19.mjs → 7fVZXXuonYb6Z7FU.mjs} +3 -3
- package/browser/esm/BAzhmMX4Fk_qnUTp.mjs +414 -0
- package/browser/esm/BGL3x0W74D7qZXlf.mjs +318 -0
- package/browser/esm/BHGr2gsFofTdAFxq.mjs +515 -0
- package/browser/esm/{DU3J8Gcf-WpBxNYg.mjs → BKhcJI-G15D3kGap.mjs} +4 -4
- package/browser/esm/BNbub9weuqm3mcoF.mjs +335 -0
- package/browser/esm/BSv9MVJaz1DVEffm.mjs +975 -0
- package/browser/esm/BWfLpYmd3cSgJ0C6.mjs +141 -0
- package/browser/esm/BZqwbIE8qzjSOYcJ.mjs +582 -0
- package/browser/esm/BZy9xUrYpAtnKeji.mjs +1288 -0
- package/browser/esm/{CIu1bjPJe_x31Oww.mjs → BnkwC5rsg9LZyhoP.mjs} +3 -3
- package/browser/esm/BpJsBv413cNQpyg0.mjs +319 -0
- package/browser/esm/BpVrgbVISiTDyFR3.mjs +197 -0
- package/browser/esm/BsngRDhvVYGVBJeK.mjs +1546 -0
- package/browser/esm/{C1Rp2hZrApo5MUc8.mjs → C29TKq47CbXs652l.mjs} +2 -2
- package/browser/esm/{CEvZe2cZK-voZTif.mjs → C8p2iMad_NNCwGI_.mjs} +5 -5
- package/browser/esm/CBzXksWnb-1gGEWZ.mjs +212 -0
- package/browser/esm/{IQLeaAbtGTipUsOD.mjs → CFIAWgpU3UyepLBn.mjs} +25 -24
- package/browser/esm/CJD4jF4m9cBGHzr_.mjs +31 -0
- package/browser/esm/{CjznclrKqJRi7u9O.mjs → CMc7G7cevxzPGxr9.mjs} +2 -2
- package/browser/esm/{B1Yp_uy1vFHcJB3U.mjs → CYtULLhY9M2m3DeH.mjs} +1 -1
- package/browser/esm/CeF35ZeFP28Do5Zx.mjs +1379 -0
- package/browser/esm/{xKiLJKiLxto8SayF.mjs → CjYKDxU4EP2Kf_vo.mjs} +2 -2
- package/browser/esm/{D8al_cJ4U-NgzwoK.mjs → Cq82lvdjyBvlJ8xJ.mjs} +19 -17
- package/browser/esm/{X1Db3b_7b_7OuCk6.mjs → CuRxFAO42JkQvMEx.mjs} +1 -1
- package/browser/esm/Cvk2yY90hpgXWMAt.mjs +103 -0
- package/browser/esm/D0slJycx3nq53qmf.mjs +14 -0
- package/browser/esm/{9eKCkvqpMQwqcXiw.mjs → D2jzliMwAo2ENpfi.mjs} +1 -1
- package/browser/esm/D5Fn0Hqllwv5HY6i.mjs +7581 -0
- package/browser/esm/D5N4nGaZsXtrHAOh.mjs +831 -0
- package/browser/esm/D7AqPfyhMiuda5l5.mjs +412 -0
- package/browser/esm/DHZA48ZMCETvHmeP.mjs +161 -0
- package/browser/esm/DX2_vf7WX6uRLaOZ.mjs +94 -0
- package/browser/esm/DaxpbAF1ShkT7hNU.mjs +490 -0
- package/browser/esm/{D6S8kVTzOjCn0-SK.mjs → Db3oHfXiRtcH015t.mjs} +162 -156
- package/browser/esm/Dt47Huh1l3C4_5_w.mjs +87 -0
- package/browser/esm/{DmCQbW4zwkT_Rq88.mjs → DtPt0phL7m56YfHZ.mjs} +1 -1
- package/browser/esm/{CoSiOS-og0zFw4Ws.mjs → DtTDaXmnWUoG4VBO.mjs} +2 -2
- package/browser/esm/{DHY19rkSiiRZxShC.mjs → DuuyN4-7K6_io2Py.mjs} +3 -3
- package/browser/esm/{yZxC4qUENOlMhVUH.mjs → NeGeLF3gbGMZyV6E.mjs} +1 -1
- package/browser/esm/PY3Br5Bo_TxcCnCU.mjs +252 -0
- package/browser/esm/WIhvQtBkGiw-oFUs.mjs +2566 -0
- package/browser/esm/WgIvwAENeO8LANax.mjs +437 -0
- package/browser/esm/{DBtc4lku0uHVcqWn.mjs → Yjq3p_7eVGFw2Jod.mjs} +3 -3
- package/browser/esm/index.mjs +1053 -192
- package/browser/esm/jFRFCWlkD7Dsrhkh.mjs +236 -0
- package/browser/esm/lKXEDVt2ow1NlWJj.mjs +392 -0
- package/browser/esm/{Blaj2R5hYxtLAW__.mjs → oC0OwOddhOD0OoCJ.mjs} +6 -6
- package/browser/esm/{sFOAxZpxXo-qvDSp.mjs → tIKqpsA0vNXH9EgU.mjs} +1 -1
- package/browser/esm/{5cbK03T_Oh3tNdR7.mjs → u84rSnESjxqB6gay.mjs} +1 -1
- package/licenses/dependencies.txt +94 -94
- package/node/esm/{BcwMb6CyVfvEwbHn.mjs → B8Ls4Eh1k8-Yiry_.mjs} +1 -1
- package/node/esm/{CKu1AtRgyltyEdEN.mjs → B9X3n8MglL4OitAV.mjs} +1 -1
- package/node/esm/{ETK6T6G0SIcFXDe5.mjs → BBGoyqs2L_ccSH1e.mjs} +40 -40
- package/node/esm/BLv99aovW4R3C5PE.mjs +515 -0
- package/node/esm/BUGU_5lUtnCRlp3n.mjs +519 -0
- package/node/esm/BalROFG_oa9PFs9Q.mjs +141 -0
- package/node/esm/{ah3CUg4-VmNstGk_.mjs → BqVxnA1mo52ubjdf.mjs} +2 -2
- package/node/esm/C3FCh9xju2SccUIE.mjs +1283 -0
- package/node/esm/{Bb1sLMqXWKjdve23.mjs → C4F6WY8M4nkLyxdb.mjs} +2 -2
- package/node/esm/CKWeipCqqpLnLE5e.mjs +391 -0
- package/node/esm/CTnVNfz4eqFnM92M.mjs +212 -0
- package/node/esm/Cfi_ly8fBDZZdiZT.mjs +72 -0
- package/node/esm/CgKa6JuyJ1tTodev.mjs +1703 -0
- package/node/esm/{cqzp431iNSLWictb.mjs → Cq53M7bAUSXMNq1f.mjs} +22 -22
- package/node/esm/{BYsG3KYVmxSe_CIQ.mjs → Cr8AYWUoU-XVt0hu.mjs} +1 -1
- package/node/esm/CyuOE595I2e-U4cG.mjs +236 -0
- package/node/esm/D72CupF9mfy2D1Xa.mjs +94 -0
- package/node/esm/{DNSjK5DAH3M14Qbc.mjs → DGDHFK8okuVbRCe5.mjs} +1 -1
- package/node/esm/{B8SQfjKjzYHLxzZR.mjs → DJFkALt4XrwkMbnU.mjs} +163 -157
- package/node/esm/DJpwI8PlKBI2rk0r.mjs +319 -0
- package/node/esm/{DZzvTQxIKr9LbEsA.mjs → DQaGPUYbgL4Y5YZW.mjs} +32 -30
- package/node/esm/{D9rzScOA9pEYFrtz.mjs → DsNYnq4NtYBxPmeA.mjs} +20 -20
- package/node/esm/DygDgOpa9sJ6YFVS.mjs +385 -0
- package/node/esm/Dz0Hg87UcJ-awwiI.mjs +489 -0
- package/node/esm/M7YxvRPGCuxuk9aK.mjs +142 -0
- package/node/esm/QNjtpX8rIpqGGLEJ.mjs +1379 -0
- package/node/esm/{B_jRGdwGFkudwmL-.mjs → ZzvsynJTCSuChYS-.mjs} +1 -1
- package/node/esm/{ci8d-mF1H9wnYzix.mjs → di_8-pXh90j4BO4j.mjs} +1 -1
- package/node/esm/dm8dmEaTIqfmgyeL.mjs +412 -0
- package/node/esm/{D6oQL8knsPpgdXuk.mjs → fmya3XQnTGyQisvT.mjs} +2 -2
- package/node/esm/gPYAb_A0T5ZwcQ1E.mjs +318 -0
- package/node/esm/index.mjs +8915 -13417
- package/node/esm/wB8xMpyJ_NvE16yG.mjs +975 -0
- package/node/esm/zGAcd4Jr7wkvXDBS.mjs +197 -0
- package/package.json +9 -9
- package/resources/locales/de/groups.cmd.json +4 -0
- package/resources/locales/de/ui.msg.json +100 -1
- package/resources/locales/en/groups.cmd.json +4 -0
- package/resources/locales/en/ui.msg.json +100 -1
- package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +4 -4
- package/types/src/anomalies/AnomaliesPlugin.d.ts +5 -0
- package/types/src/anomalies/AnomaliesTaskPane.d.ts +17 -0
- package/types/src/anomalies/index.d.ts +3 -0
- package/types/src/border/BorderPopupButton.d.ts +1 -1
- package/types/src/border/BorderTemplateIcon.d.ts +6 -1
- package/types/src/chart/ChartFormatPanel.d.ts +20 -0
- package/types/src/chart/ChartPlugin.d.ts +6 -0
- package/types/src/chart/index.d.ts +3 -0
- 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/comments/CommentCard.d.ts +2 -2
- package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +1 -1
- package/types/src/conditions/ConditionEditor.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/useFormulaOption.d.ts +2 -2
- package/types/src/dialog/WorkbookStatisticsDialog.d.ts +1 -1
- package/types/src/fill/PatternPopupButton.d.ts +1 -1
- package/types/src/format/BorderPreview.d.ts +11 -4
- package/types/src/format/useFormatSelection.d.ts +4 -4
- package/types/src/formulaBar/IFormulaBar.d.ts +4 -2
- package/types/src/formulaBar/MobileFormulaBar.d.ts +18 -6
- package/types/src/formulaBar/MobileInputToolbar.d.ts +9 -3
- package/types/src/formulaBar/useFormulaBarSession.d.ts +6 -3
- package/types/src/index.d.ts +15 -6
- package/types/src/itemsPanel/ItemsPanel.d.ts +5 -0
- package/types/src/named/NamedDetailsPanel.d.ts +2 -2
- package/types/src/protection/ProtectedCellsPanel.d.ts +2 -2
- package/types/src/protection/{SheetProtectionPanel.d.ts → WorksheetProtectionPanel.d.ts} +6 -6
- package/types/src/protection/index.d.ts +1 -1
- package/types/src/slicer/PresetSlicerStylesCommandButton.d.ts +2 -2
- 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 +31 -19
- package/types/src/workbook/WorkbookContextMenu.d.ts +4 -0
- 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/Biy7bhzzzPb5sfRN.mjs +0 -152
- package/browser/esm/COv-m-c2byCgvU3M.mjs +0 -14861
- package/browser/esm/CtEFHbzYNvYjDYvi.mjs +0 -236
- package/browser/esm/Die9NXVFveHvcCT-.mjs +0 -4205
- package/browser/esm/sam1KGQZ59B_fADz.mjs +0 -1941
- package/node/esm/BYVLi0md4AYuDsB_.mjs +0 -236
- package/node/esm/BYwXhrEwkRAt9nJS.mjs +0 -71
- package/node/esm/Cmt8Wv806N7NmE4Y.mjs +0 -3344
|
@@ -0,0 +1,412 @@
|
|
|
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 { t as e } from "./u84rSnESjxqB6gay.mjs";
|
|
8
|
+
import { formatCommentTime as t, getPersonInitials as n, useCommentThread as r } from "@sheetxl/react";
|
|
9
|
+
import { DynamicIcon as i, floatThemeScopeProps as a, useFloatSurface as o, useLanguage as s, useNotifier as c, useTranslator as l } from "@sheetxl/utils-react";
|
|
10
|
+
import { memo as u, useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
11
|
+
import { ExhibitMenuItem as h, SimpleTooltip as g } from "@sheetxl/utils-mui";
|
|
12
|
+
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
13
|
+
import { Avatar as b, Box as x, Button as S, IconButton as C, Menu as ee, Paper as te, TextField as w, Typography as T } from "@mui/material";
|
|
14
|
+
import { CoordUtils as E, messageKey as D } from "@sheetxl/utils";
|
|
15
|
+
var O = {
|
|
16
|
+
placeholder: D("comment.placeholder"),
|
|
17
|
+
reply: D("comment.reply"),
|
|
18
|
+
post: D("comment.post"),
|
|
19
|
+
save: D("comment.save"),
|
|
20
|
+
cancel: D("comment.cancel"),
|
|
21
|
+
edit: D("comment.edit"),
|
|
22
|
+
delete: D("comment.delete"),
|
|
23
|
+
resolve: D("comment.resolve"),
|
|
24
|
+
reopen: D("comment.reopen"),
|
|
25
|
+
resolved: D("comment.resolved"),
|
|
26
|
+
more: D("comment.more"),
|
|
27
|
+
unknownAuthor: D("comment.unknownAuthor")
|
|
28
|
+
}, k = "var(--sxl-comment-thread-indicator, #7e57c2)", A = "var(--sxl-comment-resolved-indicator, #9e9e9e)", j = (e) => {
|
|
29
|
+
let { initialValue: t = "", placeholder: n, submitLabel: r, cancelLabel: i, alwaysShowActions: a = !1, onSubmit: o, onCancel: s, refInput: c } = e, [l, u] = m(t), d = l.trim().length === 0, f = () => {
|
|
30
|
+
d || (o(l), u(""));
|
|
31
|
+
}, p = () => {
|
|
32
|
+
u(""), s?.();
|
|
33
|
+
};
|
|
34
|
+
return y(x, {
|
|
35
|
+
sx: {
|
|
36
|
+
display: "flex",
|
|
37
|
+
flexDirection: "column",
|
|
38
|
+
gap: .75
|
|
39
|
+
},
|
|
40
|
+
children: [v(w, {
|
|
41
|
+
className: "sxl-comment-field",
|
|
42
|
+
inputRef: c,
|
|
43
|
+
value: l,
|
|
44
|
+
placeholder: n,
|
|
45
|
+
multiline: !0,
|
|
46
|
+
minRows: 1,
|
|
47
|
+
maxRows: 8,
|
|
48
|
+
size: "small",
|
|
49
|
+
fullWidth: !0,
|
|
50
|
+
sx: { "& .MuiInputBase-root": {
|
|
51
|
+
padding: "4px 8px",
|
|
52
|
+
fontSize: "0.875rem",
|
|
53
|
+
lineHeight: 1.43
|
|
54
|
+
} },
|
|
55
|
+
onChange: (e) => u(e.target.value),
|
|
56
|
+
onContextMenu: (e) => {
|
|
57
|
+
e.stopPropagation();
|
|
58
|
+
},
|
|
59
|
+
onKeyDown: (e) => {
|
|
60
|
+
e.stopPropagation(), e.key === "Enter" && (e.ctrlKey || e.metaKey) ? (e.preventDefault(), f()) : e.key !== "Escape" || !s && d || (e.preventDefault(), p());
|
|
61
|
+
},
|
|
62
|
+
slotProps: { htmlInput: {
|
|
63
|
+
"aria-label": n,
|
|
64
|
+
style: { userSelect: "text" }
|
|
65
|
+
} }
|
|
66
|
+
}), a || !d ? y(x, {
|
|
67
|
+
sx: {
|
|
68
|
+
display: "flex",
|
|
69
|
+
justifyContent: "flex-end",
|
|
70
|
+
gap: .75
|
|
71
|
+
},
|
|
72
|
+
children: [v(S, {
|
|
73
|
+
size: "small",
|
|
74
|
+
onClick: p,
|
|
75
|
+
children: i
|
|
76
|
+
}), v(S, {
|
|
77
|
+
size: "small",
|
|
78
|
+
variant: "contained",
|
|
79
|
+
disabled: d,
|
|
80
|
+
onClick: f,
|
|
81
|
+
children: r
|
|
82
|
+
})]
|
|
83
|
+
}) : null]
|
|
84
|
+
});
|
|
85
|
+
}, M = (e) => {
|
|
86
|
+
let { author: r, date: a, content: o, editor: c, trailing: u, overhang: d = !1, onMenu: f } = e, p = l(), m = s(), h = r?.getDisplayName() || p(O.unknownAuthor), _ = t(a, { locale: m });
|
|
87
|
+
return y(x, {
|
|
88
|
+
className: "sxl-comment-entry",
|
|
89
|
+
sx: {
|
|
90
|
+
display: "flex",
|
|
91
|
+
gap: 1,
|
|
92
|
+
minWidth: 0
|
|
93
|
+
},
|
|
94
|
+
children: [v(b, {
|
|
95
|
+
"aria-hidden": !0,
|
|
96
|
+
sx: {
|
|
97
|
+
width: 28,
|
|
98
|
+
height: 28,
|
|
99
|
+
fontSize: "0.75rem",
|
|
100
|
+
bgcolor: "primary.main",
|
|
101
|
+
color: "primary.contrastText",
|
|
102
|
+
marginLeft: d ? "-26px" : void 0
|
|
103
|
+
},
|
|
104
|
+
children: n(h)
|
|
105
|
+
}), y(x, {
|
|
106
|
+
sx: {
|
|
107
|
+
flex: "1 1 auto",
|
|
108
|
+
minWidth: 0
|
|
109
|
+
},
|
|
110
|
+
children: [
|
|
111
|
+
y(x, {
|
|
112
|
+
sx: {
|
|
113
|
+
display: "flex",
|
|
114
|
+
alignItems: "center",
|
|
115
|
+
gap: .75,
|
|
116
|
+
minHeight: 28
|
|
117
|
+
},
|
|
118
|
+
children: [
|
|
119
|
+
v(T, {
|
|
120
|
+
className: "sxl-comment-author",
|
|
121
|
+
variant: "subtitle2",
|
|
122
|
+
sx: {
|
|
123
|
+
fontWeight: 600,
|
|
124
|
+
overflow: "hidden",
|
|
125
|
+
textOverflow: "ellipsis",
|
|
126
|
+
whiteSpace: "nowrap"
|
|
127
|
+
},
|
|
128
|
+
children: h
|
|
129
|
+
}),
|
|
130
|
+
v(x, { sx: { flex: "1 1 auto" } }),
|
|
131
|
+
u,
|
|
132
|
+
f ? v(g, {
|
|
133
|
+
disableInteractive: !0,
|
|
134
|
+
title: p(O.more),
|
|
135
|
+
children: v(C, {
|
|
136
|
+
className: "sxl-comment-menu",
|
|
137
|
+
size: "small",
|
|
138
|
+
"aria-label": p(O.more),
|
|
139
|
+
"aria-haspopup": "menu",
|
|
140
|
+
sx: {
|
|
141
|
+
padding: "2px",
|
|
142
|
+
flexShrink: 0
|
|
143
|
+
},
|
|
144
|
+
onClick: (e) => {
|
|
145
|
+
e.stopPropagation(), f(e.currentTarget);
|
|
146
|
+
},
|
|
147
|
+
children: v(i, {
|
|
148
|
+
style: { transform: "scale(0.85)" },
|
|
149
|
+
iconKey: "MoreHorizontal"
|
|
150
|
+
})
|
|
151
|
+
})
|
|
152
|
+
}) : null
|
|
153
|
+
]
|
|
154
|
+
}),
|
|
155
|
+
c ?? v(T, {
|
|
156
|
+
className: "sxl-comment-text",
|
|
157
|
+
variant: "body2",
|
|
158
|
+
sx: {
|
|
159
|
+
whiteSpace: "pre-wrap",
|
|
160
|
+
overflowWrap: "anywhere",
|
|
161
|
+
userSelect: "text"
|
|
162
|
+
},
|
|
163
|
+
children: o
|
|
164
|
+
}),
|
|
165
|
+
_ ? v(g, {
|
|
166
|
+
disableInteractive: !0,
|
|
167
|
+
title: _.absolute,
|
|
168
|
+
placement: "bottom-start",
|
|
169
|
+
children: v(T, {
|
|
170
|
+
className: "sxl-comment-time",
|
|
171
|
+
variant: "caption",
|
|
172
|
+
sx: {
|
|
173
|
+
display: "inline-block",
|
|
174
|
+
color: "text.secondary",
|
|
175
|
+
whiteSpace: "nowrap",
|
|
176
|
+
mt: .25
|
|
177
|
+
},
|
|
178
|
+
children: _.relative
|
|
179
|
+
})
|
|
180
|
+
}) : null
|
|
181
|
+
]
|
|
182
|
+
})]
|
|
183
|
+
});
|
|
184
|
+
}, N = u((t) => {
|
|
185
|
+
let { sheet: n, coords: s, comment: u, focusRequest: b = 0, highlighted: S = !1, elevated: w = !1, onSelect: D, onClose: N, onPosted: P, className: F, ref: I, ...L } = t, R = l(), z = c(), B = r(u), V = a(o()?.themeScope), [H, U] = m(null), [W, G] = m(null), K = p(null);
|
|
186
|
+
d(() => {
|
|
187
|
+
b && K.current?.focus();
|
|
188
|
+
}, [b]);
|
|
189
|
+
let q = (e) => {
|
|
190
|
+
try {
|
|
191
|
+
e();
|
|
192
|
+
} catch (e) {
|
|
193
|
+
z.showError?.(e);
|
|
194
|
+
}
|
|
195
|
+
}, ne = n.getRange(E.cellToRange(s)).getAddress(), J = B?.resolved ? A : k, Y = !u, re = f(() => Y ? n.getWorkbook()?.getPeople().getCurrent() ?? null : null, [Y, n]), X = v(T, {
|
|
196
|
+
className: "sxl-comment-address",
|
|
197
|
+
variant: "caption",
|
|
198
|
+
sx: {
|
|
199
|
+
color: "text.secondary",
|
|
200
|
+
flexShrink: 0
|
|
201
|
+
},
|
|
202
|
+
children: ne
|
|
203
|
+
}), Z = !!B?.deleted, Q = !Z && !!B?.resolved, ie = Q && u ? y(x, {
|
|
204
|
+
className: "sxl-comment-resolved-header",
|
|
205
|
+
sx: {
|
|
206
|
+
display: "flex",
|
|
207
|
+
alignItems: "center",
|
|
208
|
+
gap: .75,
|
|
209
|
+
minWidth: 0,
|
|
210
|
+
pb: .75,
|
|
211
|
+
borderBottom: 1,
|
|
212
|
+
borderColor: "divider"
|
|
213
|
+
},
|
|
214
|
+
children: [
|
|
215
|
+
v(i, {
|
|
216
|
+
style: { transform: "scale(0.85)" },
|
|
217
|
+
iconKey: "Check"
|
|
218
|
+
}),
|
|
219
|
+
v(T, {
|
|
220
|
+
variant: "subtitle2",
|
|
221
|
+
sx: { fontWeight: 600 },
|
|
222
|
+
children: R(O.resolved)
|
|
223
|
+
}),
|
|
224
|
+
v(x, { sx: { flex: "1 1 auto" } }),
|
|
225
|
+
v(g, {
|
|
226
|
+
disableInteractive: !0,
|
|
227
|
+
title: R(O.reopen),
|
|
228
|
+
children: v(C, {
|
|
229
|
+
className: "sxl-comment-reopen",
|
|
230
|
+
size: "small",
|
|
231
|
+
"aria-label": R(O.reopen),
|
|
232
|
+
sx: { padding: "2px" },
|
|
233
|
+
onClick: () => q(() => {
|
|
234
|
+
u.setResolved(!1);
|
|
235
|
+
}),
|
|
236
|
+
children: v(i, {
|
|
237
|
+
style: { transform: "scale(0.85)" },
|
|
238
|
+
iconKey: "Undo"
|
|
239
|
+
})
|
|
240
|
+
})
|
|
241
|
+
}),
|
|
242
|
+
v(g, {
|
|
243
|
+
disableInteractive: !0,
|
|
244
|
+
title: R(O.delete),
|
|
245
|
+
children: v(C, {
|
|
246
|
+
className: "sxl-comment-delete",
|
|
247
|
+
size: "small",
|
|
248
|
+
"aria-label": R(O.delete),
|
|
249
|
+
sx: { padding: "2px" },
|
|
250
|
+
onClick: () => q(() => {
|
|
251
|
+
u.delete();
|
|
252
|
+
}),
|
|
253
|
+
children: v(i, {
|
|
254
|
+
style: { transform: "scale(0.85)" },
|
|
255
|
+
iconKey: "Delete"
|
|
256
|
+
})
|
|
257
|
+
})
|
|
258
|
+
})
|
|
259
|
+
]
|
|
260
|
+
}) : null, ae = W?.replyId ? u?.getReply(W.replyId) ?? null : null, $ = (e, t) => v(j, {
|
|
261
|
+
initialValue: e,
|
|
262
|
+
placeholder: R(O.edit),
|
|
263
|
+
submitLabel: R(O.save),
|
|
264
|
+
cancelLabel: R(O.cancel),
|
|
265
|
+
alwaysShowActions: !0,
|
|
266
|
+
refInput: (e) => {
|
|
267
|
+
e?.focus();
|
|
268
|
+
},
|
|
269
|
+
onSubmit: (e) => {
|
|
270
|
+
q(() => t(e)), U(null);
|
|
271
|
+
},
|
|
272
|
+
onCancel: () => U(null)
|
|
273
|
+
});
|
|
274
|
+
return y(te, {
|
|
275
|
+
ref: I,
|
|
276
|
+
tabIndex: -1,
|
|
277
|
+
elevation: w ? 6 : 0,
|
|
278
|
+
...L,
|
|
279
|
+
className: e("sxl-comment-card", F, {
|
|
280
|
+
"sxl-comment-draft": Y,
|
|
281
|
+
"sxl-comment-resolved": !!B?.resolved,
|
|
282
|
+
"sxl-comment-highlighted": S
|
|
283
|
+
}),
|
|
284
|
+
"data-comment-id": u?.getId(),
|
|
285
|
+
onClick: (e) => {
|
|
286
|
+
L.onClick?.(e), D && !e.defaultPrevented && (e.target.closest("input, textarea, button, a, [role=\"button\"], [role=\"menu\"], .MuiFormControl-root") || D());
|
|
287
|
+
},
|
|
288
|
+
sx: {
|
|
289
|
+
display: "flex",
|
|
290
|
+
flexDirection: "column",
|
|
291
|
+
gap: (e) => e.spacing(1),
|
|
292
|
+
boxSizing: "border-box",
|
|
293
|
+
width: w ? 300 : void 0,
|
|
294
|
+
maxWidth: "100%",
|
|
295
|
+
padding: (e) => `${e.spacing(1.25)} 12px`,
|
|
296
|
+
border: `1px solid ${J}`,
|
|
297
|
+
borderRadius: (e) => e.spacing(1.25),
|
|
298
|
+
borderLeft: S ? `4px solid ${J}` : void 0,
|
|
299
|
+
cursor: D ? "pointer" : void 0,
|
|
300
|
+
"&:focus-within": { outline: `2px solid ${J}` }
|
|
301
|
+
},
|
|
302
|
+
children: [
|
|
303
|
+
Y || Z ? null : y(_, { children: [
|
|
304
|
+
ie,
|
|
305
|
+
v(M, {
|
|
306
|
+
author: B.author,
|
|
307
|
+
date: B.date,
|
|
308
|
+
content: B.content,
|
|
309
|
+
trailing: X,
|
|
310
|
+
overhang: !0,
|
|
311
|
+
editor: H && H.replyId === null ? $(B.content, (e) => {
|
|
312
|
+
u.setContent(e);
|
|
313
|
+
}) : void 0,
|
|
314
|
+
onMenu: Q ? void 0 : (e) => G({
|
|
315
|
+
anchor: e,
|
|
316
|
+
replyId: null
|
|
317
|
+
})
|
|
318
|
+
}),
|
|
319
|
+
B.replies.length > 0 ? v(x, {
|
|
320
|
+
className: "sxl-comment-replies",
|
|
321
|
+
sx: {
|
|
322
|
+
display: "flex",
|
|
323
|
+
flexDirection: "column",
|
|
324
|
+
gap: 1,
|
|
325
|
+
pl: 2.5,
|
|
326
|
+
minWidth: 0
|
|
327
|
+
},
|
|
328
|
+
children: B.replies.map((e) => v(M, {
|
|
329
|
+
author: e.getAuthor(),
|
|
330
|
+
date: e.getCreationDate(),
|
|
331
|
+
content: e.getContent(),
|
|
332
|
+
editor: H?.replyId === e.getId() ? $(e.getContent(), (t) => {
|
|
333
|
+
e.setContent(t);
|
|
334
|
+
}) : void 0,
|
|
335
|
+
onMenu: Q ? void 0 : (t) => G({
|
|
336
|
+
anchor: t,
|
|
337
|
+
replyId: e.getId()
|
|
338
|
+
})
|
|
339
|
+
}, e.getId()))
|
|
340
|
+
}) : null
|
|
341
|
+
] }),
|
|
342
|
+
Y ? v(M, {
|
|
343
|
+
author: re,
|
|
344
|
+
date: null,
|
|
345
|
+
content: "",
|
|
346
|
+
trailing: X,
|
|
347
|
+
overhang: !0,
|
|
348
|
+
editor: v(j, {
|
|
349
|
+
placeholder: R(O.placeholder),
|
|
350
|
+
submitLabel: R(O.post),
|
|
351
|
+
cancelLabel: R(O.cancel),
|
|
352
|
+
alwaysShowActions: !0,
|
|
353
|
+
refInput: K,
|
|
354
|
+
onSubmit: (e) => {
|
|
355
|
+
q(() => {
|
|
356
|
+
let t = n.getComments().add(E.cellToRange(s), e);
|
|
357
|
+
P?.(t);
|
|
358
|
+
});
|
|
359
|
+
},
|
|
360
|
+
onCancel: N
|
|
361
|
+
})
|
|
362
|
+
}) : Z || Q ? null : v(j, {
|
|
363
|
+
placeholder: R(O.reply),
|
|
364
|
+
submitLabel: R(O.post),
|
|
365
|
+
cancelLabel: R(O.cancel),
|
|
366
|
+
refInput: K,
|
|
367
|
+
onSubmit: (e) => q(() => {
|
|
368
|
+
u.addReply(e);
|
|
369
|
+
})
|
|
370
|
+
}),
|
|
371
|
+
W && u ? y(ee, {
|
|
372
|
+
open: !0,
|
|
373
|
+
anchorEl: W.anchor,
|
|
374
|
+
className: V.className,
|
|
375
|
+
...V.attrs,
|
|
376
|
+
onClose: () => G(null),
|
|
377
|
+
onClick: (e) => {
|
|
378
|
+
e.stopPropagation();
|
|
379
|
+
},
|
|
380
|
+
children: [
|
|
381
|
+
v(h, {
|
|
382
|
+
icon: v(i, { iconKey: "CardEdit" }),
|
|
383
|
+
onClick: () => {
|
|
384
|
+
U({ replyId: W.replyId }), G(null);
|
|
385
|
+
},
|
|
386
|
+
children: R(O.edit)
|
|
387
|
+
}),
|
|
388
|
+
W.replyId === null ? v(h, {
|
|
389
|
+
icon: v(i, { iconKey: B?.resolved ? "Undo" : "Check" }),
|
|
390
|
+
onClick: () => {
|
|
391
|
+
q(() => {
|
|
392
|
+
u.setResolved(!u.isResolved());
|
|
393
|
+
}), G(null);
|
|
394
|
+
},
|
|
395
|
+
children: R(B?.resolved ? O.reopen : O.resolve)
|
|
396
|
+
}) : null,
|
|
397
|
+
v(h, {
|
|
398
|
+
icon: v(i, { iconKey: "Delete" }),
|
|
399
|
+
onClick: () => {
|
|
400
|
+
q(() => {
|
|
401
|
+
W.replyId === null ? u.delete() : ae?.delete();
|
|
402
|
+
}), G(null);
|
|
403
|
+
},
|
|
404
|
+
children: R(O.delete)
|
|
405
|
+
})
|
|
406
|
+
]
|
|
407
|
+
}) : null
|
|
408
|
+
]
|
|
409
|
+
});
|
|
410
|
+
});
|
|
411
|
+
N.displayName = "CommentCard";
|
|
412
|
+
export { N as t };
|
|
@@ -0,0 +1,161 @@
|
|
|
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 { Color as e } from "@sheetxl/sdk";
|
|
8
|
+
import { useGridColorScheme as t, useModelListener as n, useWorkbook as r } from "@sheetxl/react";
|
|
9
|
+
import { themeSurfaceProps as i } from "@sheetxl/utils-react";
|
|
10
|
+
import { Fragment as a, memo as o, useCallback as s, useReducer as c } from "react";
|
|
11
|
+
import { SimpleTooltip as l } from "@sheetxl/utils-mui";
|
|
12
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
13
|
+
import { Box as f } from "@mui/material";
|
|
14
|
+
var p = (t, n) => {
|
|
15
|
+
if (!t) return null;
|
|
16
|
+
let r = n?.getStyles();
|
|
17
|
+
try {
|
|
18
|
+
return new e(t, r?.schemeLookup(), r?.indexedLookup());
|
|
19
|
+
} catch {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
}, m = () => {
|
|
23
|
+
let e = r(), a = t(), o = a === "dark", [l, u] = c((e) => e + 1, 0);
|
|
24
|
+
n(e, { onThemeChange: () => u() }, { ignoreModelChange: !0 });
|
|
25
|
+
let d = s((t) => p(t, e), [e, l]), f = e?.getStyles().schemeLookup();
|
|
26
|
+
return {
|
|
27
|
+
workbook: e,
|
|
28
|
+
schemeLookup: f,
|
|
29
|
+
themeKey: l,
|
|
30
|
+
gridColorScheme: a,
|
|
31
|
+
darkMode: o,
|
|
32
|
+
toColor: d,
|
|
33
|
+
propsColorPanel: {
|
|
34
|
+
schemeLookup: f,
|
|
35
|
+
darkMode: o,
|
|
36
|
+
...i("grid", a)
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}, h = "var(--sxl-color-base-100, rgb(255, 255, 255))", g = "var(--sxl-color-base-300, rgb(224, 224, 224))", _ = "var(--sxl-color-primary, rgb(33, 115, 70))", v = "var(--sxl-color-base-content, rgba(0, 0, 0, 0.87))", y = "var(--sxl-color-error, rgb(211, 47, 47))", b = (e) => Math.round(e).toString(16).padStart(2, "0"), x = (t, n, r) => new e(`#${b(t)}${b(n)}${b(r)}`).toCSS("adaptive"), S = (e, t, n, r) => {
|
|
40
|
+
if (e.length === 0) return n;
|
|
41
|
+
let i = (t) => p(e[t].color, r)?.toRGBA() ?? null;
|
|
42
|
+
if (e.length === 1) {
|
|
43
|
+
let e = i(0);
|
|
44
|
+
return e ? x(e.red, e.green, e.blue) : n;
|
|
45
|
+
}
|
|
46
|
+
let a = t * (e.length - 1), o = Math.min(Math.floor(a), e.length - 2), s = a - o, c = i(o), l = i(o + 1);
|
|
47
|
+
if (!c || !l) return n;
|
|
48
|
+
let u = (e, t) => Math.round(e + (t - e) * s);
|
|
49
|
+
return x(u(c.red, l.red), u(c.green, l.green), u(c.blue, l.blue));
|
|
50
|
+
}, C = (e, t, n = null) => Array.from({ length: 5 }, (r, i) => u(f, { sx: {
|
|
51
|
+
width: "100%",
|
|
52
|
+
height: "100%",
|
|
53
|
+
backgroundColor: S(e, i / 4, t, n)
|
|
54
|
+
} })), w = [
|
|
55
|
+
70,
|
|
56
|
+
100,
|
|
57
|
+
20,
|
|
58
|
+
50,
|
|
59
|
+
90
|
|
60
|
+
], T = (e, t, n) => {
|
|
61
|
+
let r = e.direction === "rightToLeft";
|
|
62
|
+
return w.map((i) => u(f, {
|
|
63
|
+
sx: {
|
|
64
|
+
width: "100%",
|
|
65
|
+
height: "100%",
|
|
66
|
+
display: "flex",
|
|
67
|
+
alignItems: "center",
|
|
68
|
+
justifyContent: r ? "flex-end" : "flex-start"
|
|
69
|
+
},
|
|
70
|
+
children: u(f, { sx: {
|
|
71
|
+
width: `${i}%`,
|
|
72
|
+
height: "100%",
|
|
73
|
+
boxSizing: "border-box",
|
|
74
|
+
background: e.gradient ? `linear-gradient(to ${r ? "left" : "right"}, ${t}, transparent)` : t,
|
|
75
|
+
border: `1px solid ${n ?? t}`,
|
|
76
|
+
borderRadius: "1px"
|
|
77
|
+
} })
|
|
78
|
+
}));
|
|
79
|
+
}, E = o((e) => {
|
|
80
|
+
let { rows: n, ...r } = e, i = t(), o = (e, t) => ({
|
|
81
|
+
borderRight: +(t < 2),
|
|
82
|
+
borderBottom: +(e < n.length - 1),
|
|
83
|
+
borderColor: g,
|
|
84
|
+
minWidth: 0,
|
|
85
|
+
overflow: "hidden",
|
|
86
|
+
display: "flex",
|
|
87
|
+
alignItems: "center"
|
|
88
|
+
});
|
|
89
|
+
return u(f, {
|
|
90
|
+
className: "sxl-cf-scale-mini-grid",
|
|
91
|
+
"data-sxl-theme-surface": "grid",
|
|
92
|
+
"data-sxl-theme-mode": i,
|
|
93
|
+
sx: {
|
|
94
|
+
display: "grid",
|
|
95
|
+
backgroundColor: h,
|
|
96
|
+
gridTemplateColumns: "10% 80% 10%",
|
|
97
|
+
gridTemplateRows: `repeat(${n.length}, minmax(0, 1fr))`,
|
|
98
|
+
width: "100%",
|
|
99
|
+
height: "100%"
|
|
100
|
+
},
|
|
101
|
+
...r,
|
|
102
|
+
children: n.map((e, t) => d(a, { children: [
|
|
103
|
+
u(f, { sx: o(t, 0) }),
|
|
104
|
+
u(f, {
|
|
105
|
+
sx: o(t, 1),
|
|
106
|
+
children: e
|
|
107
|
+
}),
|
|
108
|
+
u(f, { sx: o(t, 2) })
|
|
109
|
+
] }, t))
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
E.displayName = "ScaleMiniGrid";
|
|
113
|
+
var D = o((e) => {
|
|
114
|
+
let { title: n, sheet: r, disabled: i, sx: a, className: o, children: s, ...c } = e, d = t(), p = !!c.onClick, m = u(f, {
|
|
115
|
+
component: p ? "button" : "div",
|
|
116
|
+
...p ? { disabled: i } : null,
|
|
117
|
+
className: o ? `sxl-cf-preset-chip ${o}` : "sxl-cf-preset-chip",
|
|
118
|
+
...r ? {
|
|
119
|
+
"data-sxl-theme-surface": "grid",
|
|
120
|
+
"data-sxl-theme-mode": d
|
|
121
|
+
} : null,
|
|
122
|
+
sx: {
|
|
123
|
+
width: "34px",
|
|
124
|
+
height: "26px",
|
|
125
|
+
padding: 0,
|
|
126
|
+
flex: "0 0 auto",
|
|
127
|
+
display: "flex",
|
|
128
|
+
alignItems: "center",
|
|
129
|
+
justifyContent: "center",
|
|
130
|
+
overflow: "hidden",
|
|
131
|
+
background: r ? h : "none",
|
|
132
|
+
color: r ? v : void 0,
|
|
133
|
+
border: (e) => `1px solid ${r ? g : e.palette.divider}`,
|
|
134
|
+
borderRadius: 1,
|
|
135
|
+
fontSize: "12px",
|
|
136
|
+
lineHeight: 1,
|
|
137
|
+
...p ? {
|
|
138
|
+
cursor: "pointer",
|
|
139
|
+
"&:hover": { borderColor: "primary.main" },
|
|
140
|
+
"&:disabled": { cursor: "default" }
|
|
141
|
+
} : null,
|
|
142
|
+
...a
|
|
143
|
+
},
|
|
144
|
+
...c,
|
|
145
|
+
children: s
|
|
146
|
+
});
|
|
147
|
+
return n ? u(l, {
|
|
148
|
+
disableInteractive: !0,
|
|
149
|
+
title: n,
|
|
150
|
+
children: u(f, {
|
|
151
|
+
component: "span",
|
|
152
|
+
sx: {
|
|
153
|
+
display: "inline-flex",
|
|
154
|
+
flex: "0 0 auto"
|
|
155
|
+
},
|
|
156
|
+
children: m
|
|
157
|
+
})
|
|
158
|
+
}) : m;
|
|
159
|
+
});
|
|
160
|
+
D.displayName = "PresetChip";
|
|
161
|
+
export { v as a, T as c, y as i, p as l, _ as n, E as o, h as r, C as s, D as t, m as u };
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { useTranslator as e } from "@sheetxl/utils-react";
|
|
8
|
+
import { useState as t } from "react";
|
|
9
|
+
import { OptionsDialog as n } from "@sheetxl/utils-mui";
|
|
10
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
11
|
+
import { Box as a, TextField as o, Typography as s } from "@mui/material";
|
|
12
|
+
var c = (c) => {
|
|
13
|
+
let l = e(), { description: u, requireCurrent: d = !1, onApply: f, title: p, sx: m, ...h } = c, [g, _] = t(""), [v, y] = t(""), [b, x] = t(""), [S, C] = t(!1), w = v === "", T = b !== v, E = !w && !T;
|
|
14
|
+
return r(n, {
|
|
15
|
+
title: p ?? l(d ? "password.titleChange" : "password.title"),
|
|
16
|
+
options: ["Ok", "Cancel"],
|
|
17
|
+
defaultOption: "Ok",
|
|
18
|
+
cancelOption: "Cancel",
|
|
19
|
+
autoFocusSel: ".autoFocus",
|
|
20
|
+
sx: {
|
|
21
|
+
width: "380px",
|
|
22
|
+
...m
|
|
23
|
+
},
|
|
24
|
+
onValidateOption: (e) => e === "Cancel" || (C(!0), E),
|
|
25
|
+
onOption: (e, t) => {
|
|
26
|
+
if (!t && e === "Ok") return f(v, d ? g : void 0);
|
|
27
|
+
},
|
|
28
|
+
...h,
|
|
29
|
+
children: i(a, {
|
|
30
|
+
sx: {
|
|
31
|
+
display: "flex",
|
|
32
|
+
flexDirection: "column",
|
|
33
|
+
gap: (e) => e.spacing(2),
|
|
34
|
+
paddingTop: (e) => e.spacing(1)
|
|
35
|
+
},
|
|
36
|
+
children: [
|
|
37
|
+
u ? r(s, {
|
|
38
|
+
variant: "body2",
|
|
39
|
+
sx: { color: "text.secondary" },
|
|
40
|
+
children: u
|
|
41
|
+
}) : null,
|
|
42
|
+
d ? r(o, {
|
|
43
|
+
type: "password",
|
|
44
|
+
size: "small",
|
|
45
|
+
label: l("password.current"),
|
|
46
|
+
value: g,
|
|
47
|
+
onChange: (e) => _(e.target.value),
|
|
48
|
+
slotProps: {
|
|
49
|
+
inputLabel: { shrink: !0 },
|
|
50
|
+
htmlInput: {
|
|
51
|
+
className: "autoFocus",
|
|
52
|
+
autoComplete: "current-password",
|
|
53
|
+
spellCheck: !1
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}) : null,
|
|
57
|
+
r(o, {
|
|
58
|
+
type: "password",
|
|
59
|
+
size: "small",
|
|
60
|
+
label: l(d ? "password.new" : "password.label"),
|
|
61
|
+
value: v,
|
|
62
|
+
error: S && w,
|
|
63
|
+
helperText: S && w ? l("password.required") : " ",
|
|
64
|
+
onChange: (e) => y(e.target.value),
|
|
65
|
+
slotProps: {
|
|
66
|
+
inputLabel: { shrink: !0 },
|
|
67
|
+
htmlInput: {
|
|
68
|
+
className: d ? void 0 : "autoFocus",
|
|
69
|
+
autoComplete: "new-password",
|
|
70
|
+
spellCheck: !1
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}),
|
|
74
|
+
r(o, {
|
|
75
|
+
type: "password",
|
|
76
|
+
size: "small",
|
|
77
|
+
label: l("protection.passwordConfirm"),
|
|
78
|
+
value: b,
|
|
79
|
+
error: S && !w && T,
|
|
80
|
+
helperText: S && !w && T ? l("protection.passwordMismatch") : " ",
|
|
81
|
+
onChange: (e) => x(e.target.value),
|
|
82
|
+
slotProps: {
|
|
83
|
+
inputLabel: { shrink: !0 },
|
|
84
|
+
htmlInput: {
|
|
85
|
+
autoComplete: "new-password",
|
|
86
|
+
spellCheck: !1
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
]
|
|
91
|
+
})
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
export { c as PasswordDialog, c as default };
|