@solostylist/ui-kit 1.0.54 → 1.0.56
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/dist/{Box-BOnkyXg-.js → Box-MoP3r0T2.js} +13 -14
- package/dist/Close-DLG48sGB.js +8 -0
- package/dist/HelpOutlineOutlined-CBZQGWGK.js +8 -0
- package/dist/{Menu-BTGaz6HX.js → Menu-Y8dE9GrA.js} +30 -31
- package/dist/{Stack-CHCAZYKm.js → Stack-DT2aopM5.js} +5 -5
- package/dist/{TransitionGroup-CuA3gNyE.js → TransitionGroup-BCkqyHLn.js} +1 -1
- package/dist/{Typography-8CUP66S2.js → Typography-BXwj4yQZ.js} +5 -5
- package/dist/{buttonBaseClasses-CTVeu_V8.js → buttonBaseClasses-2-g8E4KG.js} +2 -2
- package/dist/createSvgIcon-YtxTUNwI.js +535 -0
- package/dist/{createTheme-CyFSna1a.js → createTheme-CozHbEju.js} +227 -225
- package/dist/{extendSxProp-C6KgcV1-.js → extendSxProp-BuqOAkIB.js} +1 -1
- package/dist/{iconButtonClasses-CpCspPuI.js → iconButtonClasses-Ba5VdL62.js} +2 -2
- package/dist/identifier-9JFYVRsR.js +246 -0
- package/dist/{index-BKXuuq9K.js → index-GaV7LHxy.js} +5 -5
- package/dist/{outlinedInputClasses-Y-zQ9ZHZ.js → outlinedInputClasses-MXXlnR_X.js} +2 -2
- package/dist/s-data-table/s-data-table.js +46 -48
- package/dist/s-dialog/s-dialog.js +13 -13
- package/dist/s-dialog-confirm/s-dialog-confirm.js +10 -10
- package/dist/s-dialog-message/s-dialog-message.js +8 -8
- package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-form/s-form.js +7 -7
- package/dist/s-label/s-label.js +7 -7
- package/dist/s-multi-select/s-multi-select.js +47 -49
- package/dist/s-smart-text-field/s-smart-text-field.js +3 -3
- package/dist/s-text-editor/s-text-editor-toolbar.js +614 -602
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-tip/s-tip.js +12 -10
- package/dist/theme/components/avatar.js +6 -4
- package/dist/theme/components/components.d.ts +1 -0
- package/dist/theme/components/popover.d.ts +1 -0
- package/dist/theme/components/popover.js +7 -1
- package/dist/theme/customizations/data-display.js +7 -7
- package/dist/theme/customizations/feedback.js +1 -1
- package/dist/theme/customizations/inputs.js +10 -10
- package/dist/theme/customizations/navigation.js +3 -3
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{typographyClasses-DVLfmcGt.js → typographyClasses-D511Gj84.js} +2 -2
- package/dist/{useControlled-DnifWmuD.js → useFormControl-B3RPiDsz.js} +8 -8
- package/dist/{useSlot-DFX3jR9F.js → useSlot-GW4ou7g5.js} +18 -19
- package/dist/{useTheme-TEQWKSsD.js → useTheme-vk3BYrgD.js} +1 -1
- package/package.json +1 -2
- package/dist/createSvgIcon-FIMSBrG5.js +0 -247
- package/dist/emotion-serialize.esm-lgBmL_7o.js +0 -195
- package/dist/generateUtilityClasses-CvAVhM6T.js +0 -10
- package/dist/identifier-BA7fwE7E.js +0 -46
- package/dist/memoTheme-Bz_6CvJG.js +0 -293
- package/dist/svgIconClasses-SRBiyaM8.js +0 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as r } from "./
|
|
2
|
-
import { g as t } from "./createTheme-
|
|
1
|
+
import { g as r } from "./identifier-9JFYVRsR.js";
|
|
2
|
+
import { g as t } from "./createTheme-CozHbEju.js";
|
|
3
3
|
function n(o) {
|
|
4
4
|
return t("MuiIconButton", o);
|
|
5
5
|
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import g from "@emotion/styled";
|
|
2
|
+
import "@emotion/react";
|
|
3
|
+
import { g as w } from "./createTheme-CozHbEju.js";
|
|
4
|
+
function v(n) {
|
|
5
|
+
var e, r, t = "";
|
|
6
|
+
if (typeof n == "string" || typeof n == "number") t += n;
|
|
7
|
+
else if (typeof n == "object") if (Array.isArray(n)) {
|
|
8
|
+
var o = n.length;
|
|
9
|
+
for (e = 0; e < o; e++) n[e] && (r = v(n[e])) && (t && (t += " "), t += r);
|
|
10
|
+
} else for (r in n) n[r] && (t && (t += " "), t += r);
|
|
11
|
+
return t;
|
|
12
|
+
}
|
|
13
|
+
function P() {
|
|
14
|
+
for (var n, e, r = 0, t = "", o = arguments.length; r < o; r++) (n = arguments[r]) && (e = v(n)) && (t && (t += " "), t += e);
|
|
15
|
+
return t;
|
|
16
|
+
}
|
|
17
|
+
function _(n) {
|
|
18
|
+
for (var e = 0, r, t = 0, o = n.length; o >= 4; ++t, o -= 4)
|
|
19
|
+
r = n.charCodeAt(t) & 255 | (n.charCodeAt(++t) & 255) << 8 | (n.charCodeAt(++t) & 255) << 16 | (n.charCodeAt(++t) & 255) << 24, r = /* Math.imul(k, m): */
|
|
20
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
21
|
+
r >>> 24, e = /* Math.imul(k, m): */
|
|
22
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
23
|
+
(e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
|
|
24
|
+
switch (o) {
|
|
25
|
+
case 3:
|
|
26
|
+
e ^= (n.charCodeAt(t + 2) & 255) << 16;
|
|
27
|
+
case 2:
|
|
28
|
+
e ^= (n.charCodeAt(t + 1) & 255) << 8;
|
|
29
|
+
case 1:
|
|
30
|
+
e ^= n.charCodeAt(t) & 255, e = /* Math.imul(h, m): */
|
|
31
|
+
(e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
|
|
32
|
+
}
|
|
33
|
+
return e ^= e >>> 13, e = /* Math.imul(h, m): */
|
|
34
|
+
(e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
|
|
35
|
+
}
|
|
36
|
+
var A = {
|
|
37
|
+
animationIterationCount: 1,
|
|
38
|
+
aspectRatio: 1,
|
|
39
|
+
borderImageOutset: 1,
|
|
40
|
+
borderImageSlice: 1,
|
|
41
|
+
borderImageWidth: 1,
|
|
42
|
+
boxFlex: 1,
|
|
43
|
+
boxFlexGroup: 1,
|
|
44
|
+
boxOrdinalGroup: 1,
|
|
45
|
+
columnCount: 1,
|
|
46
|
+
columns: 1,
|
|
47
|
+
flex: 1,
|
|
48
|
+
flexGrow: 1,
|
|
49
|
+
flexPositive: 1,
|
|
50
|
+
flexShrink: 1,
|
|
51
|
+
flexNegative: 1,
|
|
52
|
+
flexOrder: 1,
|
|
53
|
+
gridRow: 1,
|
|
54
|
+
gridRowEnd: 1,
|
|
55
|
+
gridRowSpan: 1,
|
|
56
|
+
gridRowStart: 1,
|
|
57
|
+
gridColumn: 1,
|
|
58
|
+
gridColumnEnd: 1,
|
|
59
|
+
gridColumnSpan: 1,
|
|
60
|
+
gridColumnStart: 1,
|
|
61
|
+
msGridRow: 1,
|
|
62
|
+
msGridRowSpan: 1,
|
|
63
|
+
msGridColumn: 1,
|
|
64
|
+
msGridColumnSpan: 1,
|
|
65
|
+
fontWeight: 1,
|
|
66
|
+
lineHeight: 1,
|
|
67
|
+
opacity: 1,
|
|
68
|
+
order: 1,
|
|
69
|
+
orphans: 1,
|
|
70
|
+
scale: 1,
|
|
71
|
+
tabSize: 1,
|
|
72
|
+
widows: 1,
|
|
73
|
+
zIndex: 1,
|
|
74
|
+
zoom: 1,
|
|
75
|
+
WebkitLineClamp: 1,
|
|
76
|
+
// SVG-related properties
|
|
77
|
+
fillOpacity: 1,
|
|
78
|
+
floodOpacity: 1,
|
|
79
|
+
stopOpacity: 1,
|
|
80
|
+
strokeDasharray: 1,
|
|
81
|
+
strokeDashoffset: 1,
|
|
82
|
+
strokeMiterlimit: 1,
|
|
83
|
+
strokeOpacity: 1,
|
|
84
|
+
strokeWidth: 1
|
|
85
|
+
};
|
|
86
|
+
function S(n) {
|
|
87
|
+
var e = /* @__PURE__ */ Object.create(null);
|
|
88
|
+
return function(r) {
|
|
89
|
+
return e[r] === void 0 && (e[r] = n(r)), e[r];
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
var O = /[A-Z]|^ms/g, I = /_EMO_([^_]+?)_([^]*?)_EMO_/g, b = function(e) {
|
|
93
|
+
return e.charCodeAt(1) === 45;
|
|
94
|
+
}, y = function(e) {
|
|
95
|
+
return e != null && typeof e != "boolean";
|
|
96
|
+
}, d = /* @__PURE__ */ S(function(n) {
|
|
97
|
+
return b(n) ? n : n.replace(O, "-$&").toLowerCase();
|
|
98
|
+
}), x = function(e, r) {
|
|
99
|
+
switch (e) {
|
|
100
|
+
case "animation":
|
|
101
|
+
case "animationName":
|
|
102
|
+
if (typeof r == "string")
|
|
103
|
+
return r.replace(I, function(t, o, a) {
|
|
104
|
+
return u = {
|
|
105
|
+
name: o,
|
|
106
|
+
styles: a,
|
|
107
|
+
next: u
|
|
108
|
+
}, o;
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
return A[e] !== 1 && !b(e) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
112
|
+
};
|
|
113
|
+
function c(n, e, r) {
|
|
114
|
+
if (r == null)
|
|
115
|
+
return "";
|
|
116
|
+
var t = r;
|
|
117
|
+
if (t.__emotion_styles !== void 0)
|
|
118
|
+
return t;
|
|
119
|
+
switch (typeof r) {
|
|
120
|
+
case "boolean":
|
|
121
|
+
return "";
|
|
122
|
+
case "object": {
|
|
123
|
+
var o = r;
|
|
124
|
+
if (o.anim === 1)
|
|
125
|
+
return u = {
|
|
126
|
+
name: o.name,
|
|
127
|
+
styles: o.styles,
|
|
128
|
+
next: u
|
|
129
|
+
}, o.name;
|
|
130
|
+
var a = r;
|
|
131
|
+
if (a.styles !== void 0) {
|
|
132
|
+
var i = a.next;
|
|
133
|
+
if (i !== void 0)
|
|
134
|
+
for (; i !== void 0; )
|
|
135
|
+
u = {
|
|
136
|
+
name: i.name,
|
|
137
|
+
styles: i.styles,
|
|
138
|
+
next: u
|
|
139
|
+
}, i = i.next;
|
|
140
|
+
var f = a.styles + ";";
|
|
141
|
+
return f;
|
|
142
|
+
}
|
|
143
|
+
return E(n, e, r);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
var s = r;
|
|
147
|
+
if (e == null)
|
|
148
|
+
return s;
|
|
149
|
+
var l = e[s];
|
|
150
|
+
return l !== void 0 ? l : s;
|
|
151
|
+
}
|
|
152
|
+
function E(n, e, r) {
|
|
153
|
+
var t = "";
|
|
154
|
+
if (Array.isArray(r))
|
|
155
|
+
for (var o = 0; o < r.length; o++)
|
|
156
|
+
t += c(n, e, r[o]) + ";";
|
|
157
|
+
else
|
|
158
|
+
for (var a in r) {
|
|
159
|
+
var i = r[a];
|
|
160
|
+
if (typeof i != "object") {
|
|
161
|
+
var f = i;
|
|
162
|
+
e != null && e[f] !== void 0 ? t += a + "{" + e[f] + "}" : y(f) && (t += d(a) + ":" + x(a, f) + ";");
|
|
163
|
+
} else if (Array.isArray(i) && typeof i[0] == "string" && (e == null || e[i[0]] === void 0))
|
|
164
|
+
for (var s = 0; s < i.length; s++)
|
|
165
|
+
y(i[s]) && (t += d(a) + ":" + x(a, i[s]) + ";");
|
|
166
|
+
else {
|
|
167
|
+
var l = c(n, e, i);
|
|
168
|
+
switch (a) {
|
|
169
|
+
case "animation":
|
|
170
|
+
case "animationName": {
|
|
171
|
+
t += d(a) + ":" + l + ";";
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
default:
|
|
175
|
+
t += a + "{" + l + "}";
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return t;
|
|
180
|
+
}
|
|
181
|
+
var h = /label:\s*([^\s;{]+)\s*(;|$)/g, u;
|
|
182
|
+
function R(n, e, r) {
|
|
183
|
+
if (n.length === 1 && typeof n[0] == "object" && n[0] !== null && n[0].styles !== void 0)
|
|
184
|
+
return n[0];
|
|
185
|
+
var t = !0, o = "";
|
|
186
|
+
u = void 0;
|
|
187
|
+
var a = n[0];
|
|
188
|
+
if (a == null || a.raw === void 0)
|
|
189
|
+
t = !1, o += c(r, e, a);
|
|
190
|
+
else {
|
|
191
|
+
var i = a;
|
|
192
|
+
o += i[0];
|
|
193
|
+
}
|
|
194
|
+
for (var f = 1; f < n.length; f++)
|
|
195
|
+
if (o += c(r, e, n[f]), t) {
|
|
196
|
+
var s = a;
|
|
197
|
+
o += s[f];
|
|
198
|
+
}
|
|
199
|
+
h.lastIndex = 0;
|
|
200
|
+
for (var l = "", m; (m = h.exec(o)) !== null; )
|
|
201
|
+
l += "-" + m[1];
|
|
202
|
+
var C = _(o) + l;
|
|
203
|
+
return {
|
|
204
|
+
name: C,
|
|
205
|
+
styles: o,
|
|
206
|
+
next: u
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* @mui/styled-engine v7.1.1
|
|
211
|
+
*
|
|
212
|
+
* @license MIT
|
|
213
|
+
* This source code is licensed under the MIT license found in the
|
|
214
|
+
* LICENSE file in the root directory of this source tree.
|
|
215
|
+
*/
|
|
216
|
+
function F(n, e) {
|
|
217
|
+
const r = g(n, e);
|
|
218
|
+
return process.env.NODE_ENV !== "production" ? (...t) => {
|
|
219
|
+
const o = typeof n == "string" ? `"${n}"` : "component";
|
|
220
|
+
return t.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
221
|
+
`)) : t.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...t);
|
|
222
|
+
} : r;
|
|
223
|
+
}
|
|
224
|
+
function N(n, e) {
|
|
225
|
+
Array.isArray(n.__emotion_styles) && (n.__emotion_styles = e(n.__emotion_styles));
|
|
226
|
+
}
|
|
227
|
+
const p = [];
|
|
228
|
+
function V(n) {
|
|
229
|
+
return p[0] = n, R(p);
|
|
230
|
+
}
|
|
231
|
+
function z(n, e, r = "Mui") {
|
|
232
|
+
const t = {};
|
|
233
|
+
return e.forEach((o) => {
|
|
234
|
+
t[o] = w(n, o, r);
|
|
235
|
+
}), t;
|
|
236
|
+
}
|
|
237
|
+
const D = "$$material";
|
|
238
|
+
export {
|
|
239
|
+
D as T,
|
|
240
|
+
N as a,
|
|
241
|
+
R as b,
|
|
242
|
+
P as c,
|
|
243
|
+
z as g,
|
|
244
|
+
V as i,
|
|
245
|
+
F as s
|
|
246
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { j as p } from "./jsx-runtime-C5mzlN2N.js";
|
|
3
|
-
import { e as f } from "./extendSxProp-
|
|
4
|
-
import { P as e } from "./createTheme-
|
|
5
|
-
import { d as a } from "./
|
|
6
|
-
import { T as c } from "./identifier-
|
|
7
|
-
import { u as m } from "./useTheme-
|
|
3
|
+
import { e as f } from "./extendSxProp-BuqOAkIB.js";
|
|
4
|
+
import { P as e } from "./createTheme-CozHbEju.js";
|
|
5
|
+
import { d as a } from "./createSvgIcon-YtxTUNwI.js";
|
|
6
|
+
import { T as c } from "./identifier-9JFYVRsR.js";
|
|
7
|
+
import { u as m } from "./useTheme-vk3BYrgD.js";
|
|
8
8
|
import { Global as y } from "@emotion/react";
|
|
9
9
|
function d(o) {
|
|
10
10
|
return o == null || Object.keys(o).length === 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as n } from "./
|
|
2
|
-
import { g as e } from "./createTheme-
|
|
1
|
+
import { g as n } from "./identifier-9JFYVRsR.js";
|
|
2
|
+
import { g as e } from "./createTheme-CozHbEju.js";
|
|
3
3
|
function l(t) {
|
|
4
4
|
return e("MuiInputBase", t);
|
|
5
5
|
}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import * as y from "react";
|
|
3
3
|
import Ce from "../s-empty/s-empty.js";
|
|
4
|
-
import { g as N, c as j, P as e, a as M, n as Te, o as ke } from "../createTheme-
|
|
5
|
-
import { c as I } from "../identifier-
|
|
6
|
-
import { s as S,
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { a as A, B as Re, r as we, m as Pe } from "../useSlot-DFX3jR9F.js";
|
|
10
|
-
import { c as J } from "../createSvgIcon-FIMSBrG5.js";
|
|
4
|
+
import { g as N, c as j, P as e, a as M, n as Te, o as ke } from "../createTheme-CozHbEju.js";
|
|
5
|
+
import { g as $, c as I } from "../identifier-9JFYVRsR.js";
|
|
6
|
+
import { s as S, a as B, f as se, c as J, u as E, m as W } from "../createSvgIcon-YtxTUNwI.js";
|
|
7
|
+
import { u as je, a as Oe } from "../useFormControl-B3RPiDsz.js";
|
|
8
|
+
import { a as A, B as Re, r as we, m as Pe } from "../useSlot-GW4ou7g5.js";
|
|
11
9
|
import { c as Y } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
12
10
|
function Se(o) {
|
|
13
11
|
return N("PrivateSwitchBase", o);
|
|
14
12
|
}
|
|
15
|
-
|
|
13
|
+
$("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
|
16
14
|
const ze = (o) => {
|
|
17
15
|
const {
|
|
18
16
|
classes: t,
|
|
@@ -23,7 +21,7 @@ const ze = (o) => {
|
|
|
23
21
|
root: ["root", a && "checked", s && "disabled", i && `edge${j(i)}`],
|
|
24
22
|
input: ["input"]
|
|
25
23
|
};
|
|
26
|
-
return
|
|
24
|
+
return B(n, Se, t);
|
|
27
25
|
}, Ne = S(Re)({
|
|
28
26
|
padding: 9,
|
|
29
27
|
borderRadius: "50%",
|
|
@@ -85,11 +83,11 @@ const ze = (o) => {
|
|
|
85
83
|
icon: l,
|
|
86
84
|
id: x,
|
|
87
85
|
inputProps: O,
|
|
88
|
-
inputRef:
|
|
86
|
+
inputRef: h,
|
|
89
87
|
name: C,
|
|
90
88
|
onBlur: c,
|
|
91
89
|
onChange: v,
|
|
92
|
-
onFocus:
|
|
90
|
+
onFocus: m,
|
|
93
91
|
readOnly: T,
|
|
94
92
|
required: f = !1,
|
|
95
93
|
tabIndex: z,
|
|
@@ -104,7 +102,7 @@ const ze = (o) => {
|
|
|
104
102
|
name: "SwitchBase",
|
|
105
103
|
state: "checked"
|
|
106
104
|
}), w = Oe(), fe = (b) => {
|
|
107
|
-
|
|
105
|
+
m && m(b), w && w.onFocus && w.onFocus(b);
|
|
108
106
|
}, be = (b) => {
|
|
109
107
|
c && c(b), w && w.onBlur && w.onBlur(b);
|
|
110
108
|
}, ye = (b) => {
|
|
@@ -127,7 +125,7 @@ const ze = (o) => {
|
|
|
127
125
|
input: O,
|
|
128
126
|
...pe
|
|
129
127
|
}
|
|
130
|
-
}, [
|
|
128
|
+
}, [he, me] = A("root", {
|
|
131
129
|
ref: a,
|
|
132
130
|
elementType: Ne,
|
|
133
131
|
className: Q.root,
|
|
@@ -157,7 +155,7 @@ const ze = (o) => {
|
|
|
157
155
|
tabIndex: null
|
|
158
156
|
}
|
|
159
157
|
}), [xe, ve] = A("input", {
|
|
160
|
-
ref:
|
|
158
|
+
ref: h,
|
|
161
159
|
elementType: $e,
|
|
162
160
|
className: Q.input,
|
|
163
161
|
externalForwardedProps: X,
|
|
@@ -185,8 +183,8 @@ const ze = (o) => {
|
|
|
185
183
|
}
|
|
186
184
|
}
|
|
187
185
|
});
|
|
188
|
-
return /* @__PURE__ */ r.jsxs(
|
|
189
|
-
...
|
|
186
|
+
return /* @__PURE__ */ r.jsxs(he, {
|
|
187
|
+
...me,
|
|
190
188
|
children: [/* @__PURE__ */ r.jsx(xe, {
|
|
191
189
|
...ve
|
|
192
190
|
}), K ? n : l]
|
|
@@ -321,7 +319,7 @@ const Be = J(/* @__PURE__ */ r.jsx("path", {
|
|
|
321
319
|
function Ie(o) {
|
|
322
320
|
return N("MuiCheckbox", o);
|
|
323
321
|
}
|
|
324
|
-
const L =
|
|
322
|
+
const L = $("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Ee = (o) => {
|
|
325
323
|
const {
|
|
326
324
|
classes: t,
|
|
327
325
|
indeterminate: a,
|
|
@@ -329,7 +327,7 @@ const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
329
327
|
size: i
|
|
330
328
|
} = o, n = {
|
|
331
329
|
root: ["root", a && "indeterminate", `color${j(s)}`, `size${j(i)}`]
|
|
332
|
-
}, p =
|
|
330
|
+
}, p = B(n, Ie, t);
|
|
333
331
|
return {
|
|
334
332
|
...t,
|
|
335
333
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -409,10 +407,10 @@ const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
409
407
|
size: l = "medium",
|
|
410
408
|
disableRipple: x = !1,
|
|
411
409
|
className: O,
|
|
412
|
-
slots:
|
|
410
|
+
slots: h = {},
|
|
413
411
|
slotProps: C = {},
|
|
414
412
|
...c
|
|
415
|
-
} = s, v = d ? u : p,
|
|
413
|
+
} = s, v = d ? u : p, m = d ? u : i, T = {
|
|
416
414
|
...s,
|
|
417
415
|
disableRipple: x,
|
|
418
416
|
color: n,
|
|
@@ -424,7 +422,7 @@ const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
424
422
|
className: I(f.root, O),
|
|
425
423
|
shouldForwardComponentProp: !0,
|
|
426
424
|
externalForwardedProps: {
|
|
427
|
-
slots:
|
|
425
|
+
slots: h,
|
|
428
426
|
slotProps: C,
|
|
429
427
|
...c
|
|
430
428
|
},
|
|
@@ -434,11 +432,11 @@ const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
434
432
|
icon: /* @__PURE__ */ y.cloneElement(v, {
|
|
435
433
|
fontSize: v.props.fontSize ?? l
|
|
436
434
|
}),
|
|
437
|
-
checkedIcon: /* @__PURE__ */ y.cloneElement(
|
|
438
|
-
fontSize:
|
|
435
|
+
checkedIcon: /* @__PURE__ */ y.cloneElement(m, {
|
|
436
|
+
fontSize: m.props.fontSize ?? l
|
|
439
437
|
}),
|
|
440
438
|
disableRipple: x,
|
|
441
|
-
slots:
|
|
439
|
+
slots: h,
|
|
442
440
|
slotProps: {
|
|
443
441
|
input: Pe(typeof z == "function" ? z(T) : z, {
|
|
444
442
|
"data-indeterminate": d
|
|
@@ -570,13 +568,13 @@ process.env.NODE_ENV !== "production" && (G.displayName = "TableContext");
|
|
|
570
568
|
function We(o) {
|
|
571
569
|
return N("MuiTable", o);
|
|
572
570
|
}
|
|
573
|
-
|
|
571
|
+
$("MuiTable", ["root", "stickyHeader"]);
|
|
574
572
|
const De = (o) => {
|
|
575
573
|
const {
|
|
576
574
|
classes: t,
|
|
577
575
|
stickyHeader: a
|
|
578
576
|
} = o;
|
|
579
|
-
return
|
|
577
|
+
return B({
|
|
580
578
|
root: ["root", a && "stickyHeader"]
|
|
581
579
|
}, We, t);
|
|
582
580
|
}, Le = S("table", {
|
|
@@ -691,12 +689,12 @@ process.env.NODE_ENV !== "production" && (U.displayName = "Tablelvl2Context");
|
|
|
691
689
|
function Ae(o) {
|
|
692
690
|
return N("MuiTableBody", o);
|
|
693
691
|
}
|
|
694
|
-
|
|
692
|
+
$("MuiTableBody", ["root"]);
|
|
695
693
|
const qe = (o) => {
|
|
696
694
|
const {
|
|
697
695
|
classes: t
|
|
698
696
|
} = o;
|
|
699
|
-
return
|
|
697
|
+
return B({
|
|
700
698
|
root: ["root"]
|
|
701
699
|
}, Ae, t);
|
|
702
700
|
}, Je = S("tbody", {
|
|
@@ -760,7 +758,7 @@ process.env.NODE_ENV !== "production" && (ie.propTypes = {
|
|
|
760
758
|
function Ke(o) {
|
|
761
759
|
return N("MuiTableCell", o);
|
|
762
760
|
}
|
|
763
|
-
const Qe =
|
|
761
|
+
const Qe = $("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "sizeMedium", "paddingCheckbox", "paddingNone", "alignLeft", "alignCenter", "alignRight", "alignJustify", "stickyHeader"]), Xe = (o) => {
|
|
764
762
|
const {
|
|
765
763
|
classes: t,
|
|
766
764
|
variant: a,
|
|
@@ -771,7 +769,7 @@ const Qe = B("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
|
|
|
771
769
|
} = o, d = {
|
|
772
770
|
root: ["root", a, p && "stickyHeader", s !== "inherit" && `align${j(s)}`, i !== "normal" && `padding${j(i)}`, `size${j(n)}`]
|
|
773
771
|
};
|
|
774
|
-
return
|
|
772
|
+
return B(d, Ke, t);
|
|
775
773
|
}, Ye = S("td", {
|
|
776
774
|
name: "MuiTableCell",
|
|
777
775
|
slot: "Root",
|
|
@@ -903,19 +901,19 @@ const Qe = B("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
|
|
|
903
901
|
sortDirection: l,
|
|
904
902
|
variant: x,
|
|
905
903
|
...O
|
|
906
|
-
} = s,
|
|
904
|
+
} = s, h = y.useContext(G), C = y.useContext(U), c = C && C.variant === "head";
|
|
907
905
|
let v;
|
|
908
906
|
p ? v = p : v = c ? "th" : "td";
|
|
909
|
-
let
|
|
910
|
-
v === "td" ?
|
|
907
|
+
let m = u;
|
|
908
|
+
v === "td" ? m = void 0 : !m && c && (m = "col");
|
|
911
909
|
const T = x || C && C.variant, f = {
|
|
912
910
|
...s,
|
|
913
911
|
align: i,
|
|
914
912
|
component: v,
|
|
915
|
-
padding: d || (
|
|
916
|
-
size: g || (
|
|
913
|
+
padding: d || (h && h.padding ? h.padding : "normal"),
|
|
914
|
+
size: g || (h && h.size ? h.size : "medium"),
|
|
917
915
|
sortDirection: l,
|
|
918
|
-
stickyHeader: T === "head" &&
|
|
916
|
+
stickyHeader: T === "head" && h && h.stickyHeader,
|
|
919
917
|
variant: T
|
|
920
918
|
}, z = Xe(f);
|
|
921
919
|
let R = null;
|
|
@@ -924,7 +922,7 @@ const Qe = B("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
|
|
|
924
922
|
ref: a,
|
|
925
923
|
className: I(z.root, n),
|
|
926
924
|
"aria-sort": R,
|
|
927
|
-
scope:
|
|
925
|
+
scope: m,
|
|
928
926
|
ownerState: f,
|
|
929
927
|
...O
|
|
930
928
|
});
|
|
@@ -990,12 +988,12 @@ process.env.NODE_ENV !== "production" && (H.propTypes = {
|
|
|
990
988
|
function Ze(o) {
|
|
991
989
|
return N("MuiTableHead", o);
|
|
992
990
|
}
|
|
993
|
-
|
|
991
|
+
$("MuiTableHead", ["root"]);
|
|
994
992
|
const eo = (o) => {
|
|
995
993
|
const {
|
|
996
994
|
classes: t
|
|
997
995
|
} = o;
|
|
998
|
-
return
|
|
996
|
+
return B({
|
|
999
997
|
root: ["root"]
|
|
1000
998
|
}, Ze, t);
|
|
1001
999
|
}, oo = S("thead", {
|
|
@@ -1059,7 +1057,7 @@ process.env.NODE_ENV !== "production" && (le.propTypes = {
|
|
|
1059
1057
|
function ao(o) {
|
|
1060
1058
|
return N("MuiTableRow", o);
|
|
1061
1059
|
}
|
|
1062
|
-
const te =
|
|
1060
|
+
const te = $("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), so = (o) => {
|
|
1063
1061
|
const {
|
|
1064
1062
|
classes: t,
|
|
1065
1063
|
selected: a,
|
|
@@ -1067,7 +1065,7 @@ const te = B("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), so
|
|
|
1067
1065
|
head: i,
|
|
1068
1066
|
footer: n
|
|
1069
1067
|
} = o;
|
|
1070
|
-
return
|
|
1068
|
+
return B({
|
|
1071
1069
|
root: ["root", a && "selected", s && "hover", i && "head", n && "footer"]
|
|
1072
1070
|
}, ao, t);
|
|
1073
1071
|
}, no = S("tr", {
|
|
@@ -1160,7 +1158,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
1160
1158
|
*/
|
|
1161
1159
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
1162
1160
|
});
|
|
1163
|
-
function
|
|
1161
|
+
function yo({
|
|
1164
1162
|
columns: o,
|
|
1165
1163
|
hideHead: t,
|
|
1166
1164
|
hover: a,
|
|
@@ -1175,7 +1173,7 @@ function mo({
|
|
|
1175
1173
|
uniqueRowId: x,
|
|
1176
1174
|
...O
|
|
1177
1175
|
}) {
|
|
1178
|
-
const
|
|
1176
|
+
const h = ((l == null ? void 0 : l.size) ?? 0) > 0 && ((l == null ? void 0 : l.size) ?? 0) < u.length, C = u.length > 0 && (l == null ? void 0 : l.size) === u.length;
|
|
1179
1177
|
return /* @__PURE__ */ r.jsxs(re, { ...O, sx: { mt: 1 }, children: [
|
|
1180
1178
|
/* @__PURE__ */ r.jsx(
|
|
1181
1179
|
le,
|
|
@@ -1191,7 +1189,7 @@ function mo({
|
|
|
1191
1189
|
q,
|
|
1192
1190
|
{
|
|
1193
1191
|
checked: C,
|
|
1194
|
-
indeterminate:
|
|
1192
|
+
indeterminate: h,
|
|
1195
1193
|
onChange: (c) => {
|
|
1196
1194
|
C ? i == null || i(c) : d == null || d(c);
|
|
1197
1195
|
}
|
|
@@ -1216,7 +1214,7 @@ function mo({
|
|
|
1216
1214
|
}
|
|
1217
1215
|
),
|
|
1218
1216
|
/* @__PURE__ */ r.jsx(ie, { children: u.length ? u.map((c, v) => {
|
|
1219
|
-
const
|
|
1217
|
+
const m = c.id ? c.id : x == null ? void 0 : x(c), T = m ? l == null ? void 0 : l.has(m) : !1;
|
|
1220
1218
|
return /* @__PURE__ */ r.jsxs(
|
|
1221
1219
|
_,
|
|
1222
1220
|
{
|
|
@@ -1232,7 +1230,7 @@ function mo({
|
|
|
1232
1230
|
g ? /* @__PURE__ */ r.jsx(H, { padding: "checkbox", children: /* @__PURE__ */ r.jsx(
|
|
1233
1231
|
q,
|
|
1234
1232
|
{
|
|
1235
|
-
checked:
|
|
1233
|
+
checked: m ? T : !1,
|
|
1236
1234
|
onChange: (f) => {
|
|
1237
1235
|
T ? n == null || n(f, c) : p == null || p(f, c);
|
|
1238
1236
|
},
|
|
@@ -1246,11 +1244,11 @@ function mo({
|
|
|
1246
1244
|
)
|
|
1247
1245
|
]
|
|
1248
1246
|
},
|
|
1249
|
-
|
|
1247
|
+
m ?? v
|
|
1250
1248
|
);
|
|
1251
1249
|
}) : /* @__PURE__ */ r.jsx(_, { children: /* @__PURE__ */ r.jsx(H, { align: "center", colSpan: o.length, children: /* @__PURE__ */ r.jsx(Ce, {}) }) }) })
|
|
1252
1250
|
] });
|
|
1253
1251
|
}
|
|
1254
1252
|
export {
|
|
1255
|
-
|
|
1253
|
+
yo as default
|
|
1256
1254
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
5
|
-
title:
|
|
6
|
-
content:
|
|
7
|
-
actions:
|
|
2
|
+
import { C as j } from "../Close-DLG48sGB.js";
|
|
3
|
+
import { Dialog as h, DialogTitle as p, Stack as f, Typography as t, IconButton as m, DialogContent as g, DialogActions as u } from "@mui/material";
|
|
4
|
+
const v = ({
|
|
5
|
+
title: s,
|
|
6
|
+
content: e,
|
|
7
|
+
actions: i,
|
|
8
8
|
onClose: n = () => {
|
|
9
9
|
},
|
|
10
10
|
open: a = !1,
|
|
@@ -15,17 +15,17 @@ const w = ({
|
|
|
15
15
|
showClose: d = !0
|
|
16
16
|
}) => {
|
|
17
17
|
const o = /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
e && /* @__PURE__ */ r.jsx(g, { children: typeof e == "string" ? /* @__PURE__ */ r.jsx(t, { color: "text.secondary", variant: "body2", children: e }) : e }),
|
|
19
|
+
i && /* @__PURE__ */ r.jsx(u, { children: i })
|
|
20
20
|
] });
|
|
21
|
-
return /* @__PURE__ */ r.jsxs(
|
|
22
|
-
|
|
23
|
-
typeof
|
|
24
|
-
d && /* @__PURE__ */ r.jsx(
|
|
21
|
+
return /* @__PURE__ */ r.jsxs(h, { fullWidth: !0, maxWidth: l, onClose: n, open: a, children: [
|
|
22
|
+
s && /* @__PURE__ */ r.jsx(p, { children: /* @__PURE__ */ r.jsxs(f, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
23
|
+
typeof s == "string" ? /* @__PURE__ */ r.jsx(t, { variant: "h5", textTransform: "capitalize", children: s }) : /* @__PURE__ */ r.jsx("div", { children: s }),
|
|
24
|
+
d && /* @__PURE__ */ r.jsx(m, { onClick: n, children: /* @__PURE__ */ r.jsx(j, {}) })
|
|
25
25
|
] }) }),
|
|
26
26
|
c ? /* @__PURE__ */ r.jsx("form", { onSubmit: x, children: o }) : o
|
|
27
27
|
] });
|
|
28
28
|
};
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
v as default
|
|
31
31
|
};
|