@solostylist/ui-kit 1.0.57 → 1.0.58
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-MoP3r0T2.js → Box-DuNveqKq.js} +1 -1
- package/dist/{Close-DLG48sGB.js → Close-Dc2lVwnr.js} +1 -1
- package/dist/{HelpOutlineOutlined-CBZQGWGK.js → HelpOutlineOutlined-BAjVLccf.js} +1 -1
- package/dist/{Menu-Y8dE9GrA.js → Menu-CFtdt9_b.js} +22 -8
- package/dist/MenuItem-Bqce0qet.js +261 -0
- package/dist/Select-D539S2ky.js +3917 -0
- package/dist/{Stack-DT2aopM5.js → Stack-CG6wicnq.js} +69 -91
- package/dist/{Typography-BXwj4yQZ.js → Typography-Bj_bEcQU.js} +2 -2
- package/dist/chipClasses-DKfDKFnh.js +10 -0
- package/dist/{createSvgIcon-YtxTUNwI.js → createSvgIcon-ChpOI-a_.js} +217 -213
- package/dist/{index-GaV7LHxy.js → index-Cuc5JxMf.js} +4 -4
- package/dist/main.d.ts +4 -0
- package/dist/main.js +35 -32
- package/dist/s-data-table/s-data-table.js +2 -2
- package/dist/s-datetime-picker/index.d.ts +4 -0
- package/dist/s-datetime-picker/index.js +5 -0
- package/dist/s-datetime-picker/package.json +5 -0
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +15 -0
- package/dist/s-datetime-picker/s-datetime-picker.js +18763 -0
- package/dist/s-dialog/s-dialog.js +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
- package/dist/s-dialog-message/s-dialog-message.js +2 -2
- 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 +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +50 -298
- package/dist/s-text-editor/s-text-editor-toolbar.js +100 -4001
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/tabClasses-BM7nwRzw.js +10 -0
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/customizations/data-display.js +36 -36
- package/dist/theme/customizations/inputs.js +1 -1
- package/dist/theme/customizations/navigation.js +52 -50
- package/dist/{useSlot-GW4ou7g5.js → useSlot-Dje0rInB.js} +1 -1
- package/dist/{useTheme-vk3BYrgD.js → useTheme-BM5dU4pp.js} +3 -2
- package/dist/useThemeProps-kZjTQ980.js +27 -0
- package/dist/utils/dayjs.js +14 -14
- package/package.json +7 -4
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as z from "react";
|
|
2
2
|
import { j as D } from "./jsx-runtime-C5mzlN2N.js";
|
|
3
|
-
import { l as B, e as
|
|
4
|
-
import { i as U, a as oe, s as
|
|
5
|
-
function ce(e,
|
|
6
|
-
const
|
|
7
|
-
for (const
|
|
8
|
-
const
|
|
3
|
+
import { l as B, e as Z, s as L, i as ee, c as I, P as c, b as te, g as ne } from "./createTheme-CozHbEju.js";
|
|
4
|
+
import { i as U, a as oe, s as re, c as q, T as se, g as ie } from "./identifier-9JFYVRsR.js";
|
|
5
|
+
function ce(e, n, t = void 0) {
|
|
6
|
+
const o = {};
|
|
7
|
+
for (const s in e) {
|
|
8
|
+
const r = e[s];
|
|
9
9
|
let a = "", i = !0;
|
|
10
|
-
for (let
|
|
11
|
-
const l =
|
|
12
|
-
l && (a += (i === !0 ? "" : " ") +
|
|
10
|
+
for (let u = 0; u < r.length; u += 1) {
|
|
11
|
+
const l = r[u];
|
|
12
|
+
l && (a += (i === !0 ? "" : " ") + n(l), i = !1, t && t[l] && (a += " " + t[l]));
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
o[s] = a;
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return o;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
return e.displayName || e.name ||
|
|
18
|
+
function W(e, n = "") {
|
|
19
|
+
return e.displayName || e.name || n;
|
|
20
20
|
}
|
|
21
|
-
function H(e,
|
|
22
|
-
const
|
|
23
|
-
return e.displayName || (
|
|
21
|
+
function H(e, n, t) {
|
|
22
|
+
const o = W(n);
|
|
23
|
+
return e.displayName || (o !== "" ? `${t}(${o})` : t);
|
|
24
24
|
}
|
|
25
25
|
function ae(e) {
|
|
26
26
|
if (e != null) {
|
|
27
27
|
if (typeof e == "string")
|
|
28
28
|
return e;
|
|
29
29
|
if (typeof e == "function")
|
|
30
|
-
return
|
|
30
|
+
return W(e, "Component");
|
|
31
31
|
if (typeof e == "object")
|
|
32
32
|
switch (e.$$typeof) {
|
|
33
33
|
case B.ForwardRef:
|
|
@@ -39,218 +39,221 @@ function ae(e) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function G(e) {
|
|
43
43
|
const {
|
|
44
|
-
variants:
|
|
44
|
+
variants: n,
|
|
45
45
|
...t
|
|
46
|
-
} = e,
|
|
47
|
-
variants:
|
|
46
|
+
} = e, o = {
|
|
47
|
+
variants: n,
|
|
48
48
|
style: U(t),
|
|
49
49
|
isProcessed: !0
|
|
50
50
|
};
|
|
51
|
-
return
|
|
52
|
-
typeof
|
|
53
|
-
}),
|
|
51
|
+
return o.style === t || n && n.forEach((s) => {
|
|
52
|
+
typeof s.style != "function" && (s.style = U(s.style));
|
|
53
|
+
}), o;
|
|
54
54
|
}
|
|
55
|
-
const le =
|
|
56
|
-
function
|
|
55
|
+
const le = Z();
|
|
56
|
+
function A(e) {
|
|
57
57
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
return e ? (
|
|
59
|
+
function fe(e) {
|
|
60
|
+
return e ? (n, t) => t[e] : null;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
e.theme =
|
|
62
|
+
function ue(e, n, t) {
|
|
63
|
+
e.theme = he(e.theme) ? t : e.theme[n] || e.theme;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const t = typeof
|
|
65
|
+
function j(e, n) {
|
|
66
|
+
const t = typeof n == "function" ? n(e) : n;
|
|
67
67
|
if (Array.isArray(t))
|
|
68
|
-
return t.flatMap((
|
|
68
|
+
return t.flatMap((o) => j(e, o));
|
|
69
69
|
if (Array.isArray(t == null ? void 0 : t.variants)) {
|
|
70
|
-
let
|
|
70
|
+
let o;
|
|
71
71
|
if (t.isProcessed)
|
|
72
|
-
|
|
72
|
+
o = t.style;
|
|
73
73
|
else {
|
|
74
74
|
const {
|
|
75
|
-
variants:
|
|
76
|
-
...
|
|
75
|
+
variants: s,
|
|
76
|
+
...r
|
|
77
77
|
} = t;
|
|
78
|
-
|
|
78
|
+
o = r;
|
|
79
79
|
}
|
|
80
|
-
return
|
|
80
|
+
return J(e, t.variants, [o]);
|
|
81
81
|
}
|
|
82
82
|
return t != null && t.isProcessed ? t.style : t;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
var
|
|
86
|
-
let
|
|
87
|
-
e: for (let
|
|
88
|
-
const a =
|
|
84
|
+
function J(e, n, t = []) {
|
|
85
|
+
var s;
|
|
86
|
+
let o;
|
|
87
|
+
e: for (let r = 0; r < n.length; r += 1) {
|
|
88
|
+
const a = n[r];
|
|
89
89
|
if (typeof a.props == "function") {
|
|
90
|
-
if (
|
|
90
|
+
if (o ?? (o = {
|
|
91
91
|
...e,
|
|
92
92
|
...e.ownerState,
|
|
93
93
|
ownerState: e.ownerState
|
|
94
|
-
}), !a.props(
|
|
94
|
+
}), !a.props(o))
|
|
95
95
|
continue;
|
|
96
96
|
} else
|
|
97
97
|
for (const i in a.props)
|
|
98
|
-
if (e[i] !== a.props[i] && ((
|
|
98
|
+
if (e[i] !== a.props[i] && ((s = e.ownerState) == null ? void 0 : s[i]) !== a.props[i])
|
|
99
99
|
continue e;
|
|
100
|
-
typeof a.style == "function" ? (
|
|
100
|
+
typeof a.style == "function" ? (o ?? (o = {
|
|
101
101
|
...e,
|
|
102
102
|
...e.ownerState,
|
|
103
103
|
ownerState: e.ownerState
|
|
104
|
-
}), t.push(a.style(
|
|
104
|
+
}), t.push(a.style(o))) : t.push(a.style);
|
|
105
105
|
}
|
|
106
106
|
return t;
|
|
107
107
|
}
|
|
108
108
|
function de(e = {}) {
|
|
109
109
|
const {
|
|
110
|
-
themeId:
|
|
110
|
+
themeId: n,
|
|
111
111
|
defaultTheme: t = le,
|
|
112
|
-
rootShouldForwardProp:
|
|
113
|
-
slotShouldForwardProp:
|
|
112
|
+
rootShouldForwardProp: o = A,
|
|
113
|
+
slotShouldForwardProp: s = A
|
|
114
114
|
} = e;
|
|
115
|
-
function
|
|
116
|
-
|
|
115
|
+
function r(i) {
|
|
116
|
+
ue(i, n, t);
|
|
117
117
|
}
|
|
118
|
-
return (i,
|
|
119
|
-
oe(i, (
|
|
118
|
+
return (i, u = {}) => {
|
|
119
|
+
oe(i, (m) => m.filter((y) => y !== L));
|
|
120
120
|
const {
|
|
121
121
|
name: l,
|
|
122
|
-
slot:
|
|
123
|
-
skipVariantsResolver:
|
|
122
|
+
slot: f,
|
|
123
|
+
skipVariantsResolver: h,
|
|
124
124
|
skipSx: w,
|
|
125
125
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
126
126
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
127
|
-
overridesResolver:
|
|
127
|
+
overridesResolver: N = fe(Q(f)),
|
|
128
128
|
...g
|
|
129
|
-
} =
|
|
129
|
+
} = u, d = h !== void 0 ? h : (
|
|
130
130
|
// TODO v6: remove `Root` in the next major release
|
|
131
131
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
132
|
-
|
|
133
|
-
),
|
|
134
|
-
let S =
|
|
135
|
-
|
|
136
|
-
const
|
|
132
|
+
f && f !== "Root" && f !== "root" || !1
|
|
133
|
+
), x = w || !1;
|
|
134
|
+
let S = A;
|
|
135
|
+
f === "Root" || f === "root" ? S = o : f ? S = s : pe(i) && (S = void 0);
|
|
136
|
+
const _ = re(i, {
|
|
137
137
|
shouldForwardProp: S,
|
|
138
|
-
label:
|
|
138
|
+
label: ye(l, f),
|
|
139
139
|
...g
|
|
140
|
-
}),
|
|
141
|
-
if (
|
|
142
|
-
return
|
|
143
|
-
if (typeof
|
|
140
|
+
}), X = (m) => {
|
|
141
|
+
if (m.__emotion_real === m)
|
|
142
|
+
return m;
|
|
143
|
+
if (typeof m == "function")
|
|
144
144
|
return function(b) {
|
|
145
|
-
return
|
|
145
|
+
return j(b, m);
|
|
146
146
|
};
|
|
147
|
-
if (
|
|
148
|
-
const
|
|
149
|
-
return
|
|
150
|
-
return
|
|
151
|
-
} :
|
|
147
|
+
if (ee(m)) {
|
|
148
|
+
const y = G(m);
|
|
149
|
+
return y.variants ? function(O) {
|
|
150
|
+
return j(O, y);
|
|
151
|
+
} : y.style;
|
|
152
152
|
}
|
|
153
|
-
return
|
|
154
|
-
},
|
|
155
|
-
const
|
|
156
|
-
if (
|
|
157
|
-
var
|
|
158
|
-
const
|
|
159
|
-
if (!
|
|
153
|
+
return m;
|
|
154
|
+
}, k = (...m) => {
|
|
155
|
+
const y = [], b = m.map(X), O = [];
|
|
156
|
+
if (y.push(r), l && N && O.push(function(v) {
|
|
157
|
+
var E, C;
|
|
158
|
+
const p = (C = (E = v.theme.components) == null ? void 0 : E[l]) == null ? void 0 : C.styleOverrides;
|
|
159
|
+
if (!p)
|
|
160
160
|
return null;
|
|
161
|
-
const
|
|
162
|
-
for (const M in
|
|
163
|
-
|
|
164
|
-
return
|
|
161
|
+
const R = {};
|
|
162
|
+
for (const M in p)
|
|
163
|
+
R[M] = j(v, p[M]);
|
|
164
|
+
return N(v, R);
|
|
165
165
|
}), l && !d && O.push(function(v) {
|
|
166
|
-
var
|
|
167
|
-
const T = v.theme,
|
|
168
|
-
return
|
|
169
|
-
}),
|
|
170
|
-
const
|
|
171
|
-
let
|
|
172
|
-
|
|
166
|
+
var R, E;
|
|
167
|
+
const T = v.theme, p = (E = (R = T == null ? void 0 : T.components) == null ? void 0 : R[l]) == null ? void 0 : E.variants;
|
|
168
|
+
return p ? J(v, p) : null;
|
|
169
|
+
}), x || O.push(L), Array.isArray(b[0])) {
|
|
170
|
+
const $ = b.shift(), v = new Array(y.length).fill(""), T = new Array(O.length).fill("");
|
|
171
|
+
let p;
|
|
172
|
+
p = [...v, ...$, ...T], p.raw = [...v, ...$.raw, ...T], y.unshift(p);
|
|
173
173
|
}
|
|
174
|
-
const
|
|
175
|
-
return i.muiName && (
|
|
174
|
+
const Y = [...y, ...b, ...O], P = _(...Y);
|
|
175
|
+
return i.muiName && (P.muiName = i.muiName), process.env.NODE_ENV !== "production" && (P.displayName = me(l, f, i)), P;
|
|
176
176
|
};
|
|
177
|
-
return
|
|
177
|
+
return _.withConfig && (k.withConfig = _.withConfig), k;
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
function
|
|
181
|
-
return e ? `${e}${
|
|
180
|
+
function me(e, n, t) {
|
|
181
|
+
return e ? `${e}${I(n || "")}` : `Styled(${ae(t)})`;
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function ye(e, n) {
|
|
184
184
|
let t;
|
|
185
|
-
return process.env.NODE_ENV !== "production" && e && (t = `${e}-${
|
|
185
|
+
return process.env.NODE_ENV !== "production" && e && (t = `${e}-${Q(n || "Root")}`), t;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
for (const
|
|
187
|
+
function he(e) {
|
|
188
|
+
for (const n in e)
|
|
189
189
|
return !1;
|
|
190
190
|
return !0;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function pe(e) {
|
|
193
193
|
return typeof e == "string" && // 96 is one less than the char code
|
|
194
194
|
// for "a" so this is checking that
|
|
195
195
|
// it's a lowercase character
|
|
196
196
|
e.charCodeAt(0) > 96;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Q(e) {
|
|
199
199
|
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
200
200
|
}
|
|
201
|
-
function F(e,
|
|
202
|
-
const
|
|
203
|
-
...
|
|
201
|
+
function F(e, n, t = !1) {
|
|
202
|
+
const o = {
|
|
203
|
+
...n
|
|
204
204
|
};
|
|
205
|
-
for (const
|
|
206
|
-
if (Object.prototype.hasOwnProperty.call(e,
|
|
207
|
-
const
|
|
208
|
-
if (
|
|
209
|
-
|
|
210
|
-
...e[
|
|
211
|
-
...
|
|
205
|
+
for (const s in e)
|
|
206
|
+
if (Object.prototype.hasOwnProperty.call(e, s)) {
|
|
207
|
+
const r = s;
|
|
208
|
+
if (r === "components" || r === "slots")
|
|
209
|
+
o[r] = {
|
|
210
|
+
...e[r],
|
|
211
|
+
...o[r]
|
|
212
212
|
};
|
|
213
|
-
else if (
|
|
214
|
-
const
|
|
215
|
-
if (!
|
|
216
|
-
|
|
217
|
-
else if (!
|
|
218
|
-
|
|
213
|
+
else if (r === "componentsProps" || r === "slotProps") {
|
|
214
|
+
const a = e[r], i = n[r];
|
|
215
|
+
if (!i)
|
|
216
|
+
o[r] = a || {};
|
|
217
|
+
else if (!a)
|
|
218
|
+
o[r] = i;
|
|
219
219
|
else {
|
|
220
|
-
|
|
221
|
-
...
|
|
220
|
+
o[r] = {
|
|
221
|
+
...i
|
|
222
222
|
};
|
|
223
|
-
for (const
|
|
224
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
225
|
-
const
|
|
226
|
-
|
|
223
|
+
for (const u in a)
|
|
224
|
+
if (Object.prototype.hasOwnProperty.call(a, u)) {
|
|
225
|
+
const l = u;
|
|
226
|
+
o[r][l] = F(a[l], i[l], t);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
} else t
|
|
229
|
+
} else r === "className" && t && n.className ? o.className = q(e == null ? void 0 : e.className, n == null ? void 0 : n.className) : r === "style" && t && n.style ? o.style = {
|
|
230
|
+
...e == null ? void 0 : e.style,
|
|
231
|
+
...n == null ? void 0 : n.style
|
|
232
|
+
} : o[r] === void 0 && (o[r] = e[r]);
|
|
230
233
|
}
|
|
231
|
-
return
|
|
234
|
+
return o;
|
|
232
235
|
}
|
|
233
|
-
const Se = /* @__PURE__ */
|
|
236
|
+
const Se = /* @__PURE__ */ z.createContext(void 0);
|
|
234
237
|
process.env.NODE_ENV !== "production" && (c.node, c.object);
|
|
235
238
|
function ve(e) {
|
|
236
239
|
const {
|
|
237
|
-
theme:
|
|
240
|
+
theme: n,
|
|
238
241
|
name: t,
|
|
239
|
-
props:
|
|
242
|
+
props: o
|
|
240
243
|
} = e;
|
|
241
|
-
if (!
|
|
242
|
-
return
|
|
243
|
-
const
|
|
244
|
-
return
|
|
244
|
+
if (!n || !n.components || !n.components[t])
|
|
245
|
+
return o;
|
|
246
|
+
const s = n.components[t];
|
|
247
|
+
return s.defaultProps ? F(s.defaultProps, o) : !s.styleOverrides && !s.variants ? F(s, o) : o;
|
|
245
248
|
}
|
|
246
249
|
function ge({
|
|
247
250
|
props: e,
|
|
248
|
-
name:
|
|
251
|
+
name: n
|
|
249
252
|
}) {
|
|
250
|
-
const t =
|
|
253
|
+
const t = z.useContext(Se);
|
|
251
254
|
return ve({
|
|
252
255
|
props: e,
|
|
253
|
-
name:
|
|
256
|
+
name: n,
|
|
254
257
|
theme: {
|
|
255
258
|
components: t
|
|
256
259
|
}
|
|
@@ -260,58 +263,58 @@ const K = {
|
|
|
260
263
|
theme: void 0
|
|
261
264
|
};
|
|
262
265
|
function we(e) {
|
|
263
|
-
let
|
|
264
|
-
return function(
|
|
265
|
-
let
|
|
266
|
-
return (
|
|
266
|
+
let n, t;
|
|
267
|
+
return function(s) {
|
|
268
|
+
let r = n;
|
|
269
|
+
return (r === void 0 || s.theme !== t) && (K.theme = s.theme, r = G(e(K)), n = r, t = s.theme), r;
|
|
267
270
|
};
|
|
268
271
|
}
|
|
269
|
-
const
|
|
270
|
-
function
|
|
272
|
+
const Ne = te();
|
|
273
|
+
function xe(e) {
|
|
271
274
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
272
275
|
}
|
|
273
|
-
const Oe = (e) =>
|
|
274
|
-
themeId:
|
|
275
|
-
defaultTheme:
|
|
276
|
+
const Oe = (e) => xe(e) && e !== "classes", Te = de({
|
|
277
|
+
themeId: se,
|
|
278
|
+
defaultTheme: Ne,
|
|
276
279
|
rootShouldForwardProp: Oe
|
|
277
280
|
}), be = we;
|
|
278
281
|
process.env.NODE_ENV !== "production" && (c.node, c.object.isRequired);
|
|
279
|
-
function
|
|
282
|
+
function ze(e) {
|
|
280
283
|
return ge(e);
|
|
281
284
|
}
|
|
282
|
-
function
|
|
283
|
-
return
|
|
285
|
+
function Re(e) {
|
|
286
|
+
return ne("MuiSvgIcon", e);
|
|
284
287
|
}
|
|
285
|
-
const
|
|
288
|
+
const _e = ie("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]), Ee = (e) => {
|
|
286
289
|
const {
|
|
287
|
-
color:
|
|
290
|
+
color: n,
|
|
288
291
|
fontSize: t,
|
|
289
|
-
classes:
|
|
290
|
-
} = e,
|
|
291
|
-
root: ["root",
|
|
292
|
+
classes: o
|
|
293
|
+
} = e, s = {
|
|
294
|
+
root: ["root", n !== "inherit" && `color${I(n)}`, `fontSize${I(t)}`]
|
|
292
295
|
};
|
|
293
|
-
return ce(
|
|
294
|
-
},
|
|
296
|
+
return ce(s, Re, o);
|
|
297
|
+
}, Ie = Te("svg", {
|
|
295
298
|
name: "MuiSvgIcon",
|
|
296
299
|
slot: "Root",
|
|
297
|
-
overridesResolver: (e,
|
|
300
|
+
overridesResolver: (e, n) => {
|
|
298
301
|
const {
|
|
299
302
|
ownerState: t
|
|
300
303
|
} = e;
|
|
301
|
-
return [
|
|
304
|
+
return [n.root, t.color !== "inherit" && n[`color${I(t.color)}`], n[`fontSize${I(t.fontSize)}`]];
|
|
302
305
|
}
|
|
303
306
|
})(be(({
|
|
304
307
|
theme: e
|
|
305
308
|
}) => {
|
|
306
|
-
var
|
|
309
|
+
var n, t, o, s, r, a, i, u, l, f, h, w, N, g;
|
|
307
310
|
return {
|
|
308
311
|
userSelect: "none",
|
|
309
312
|
width: "1em",
|
|
310
313
|
height: "1em",
|
|
311
314
|
display: "inline-block",
|
|
312
315
|
flexShrink: 0,
|
|
313
|
-
transition: (
|
|
314
|
-
duration: (
|
|
316
|
+
transition: (s = (n = e.transitions) == null ? void 0 : n.create) == null ? void 0 : s.call(n, "fill", {
|
|
317
|
+
duration: (o = (t = (e.vars ?? e).transitions) == null ? void 0 : t.duration) == null ? void 0 : o.shorter
|
|
315
318
|
}),
|
|
316
319
|
variants: [
|
|
317
320
|
{
|
|
@@ -335,7 +338,7 @@ const Ve = se("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAct
|
|
|
335
338
|
fontSize: "small"
|
|
336
339
|
},
|
|
337
340
|
style: {
|
|
338
|
-
fontSize: ((a = (
|
|
341
|
+
fontSize: ((a = (r = e.typography) == null ? void 0 : r.pxToRem) == null ? void 0 : a.call(r, 20)) || "1.25rem"
|
|
339
342
|
}
|
|
340
343
|
},
|
|
341
344
|
{
|
|
@@ -343,7 +346,7 @@ const Ve = se("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAct
|
|
|
343
346
|
fontSize: "medium"
|
|
344
347
|
},
|
|
345
348
|
style: {
|
|
346
|
-
fontSize: ((
|
|
349
|
+
fontSize: ((u = (i = e.typography) == null ? void 0 : i.pxToRem) == null ? void 0 : u.call(i, 24)) || "1.5rem"
|
|
347
350
|
}
|
|
348
351
|
},
|
|
349
352
|
{
|
|
@@ -351,18 +354,18 @@ const Ve = se("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAct
|
|
|
351
354
|
fontSize: "large"
|
|
352
355
|
},
|
|
353
356
|
style: {
|
|
354
|
-
fontSize: ((
|
|
357
|
+
fontSize: ((f = (l = e.typography) == null ? void 0 : l.pxToRem) == null ? void 0 : f.call(l, 35)) || "2.1875rem"
|
|
355
358
|
}
|
|
356
359
|
},
|
|
357
360
|
// TODO v5 deprecate color prop, v6 remove for sx
|
|
358
361
|
...Object.entries((e.vars ?? e).palette).filter(([, d]) => d && d.main).map(([d]) => {
|
|
359
|
-
var
|
|
362
|
+
var x, S;
|
|
360
363
|
return {
|
|
361
364
|
props: {
|
|
362
365
|
color: d
|
|
363
366
|
},
|
|
364
367
|
style: {
|
|
365
|
-
color: (S = (
|
|
368
|
+
color: (S = (x = (e.vars ?? e).palette) == null ? void 0 : x[d]) == null ? void 0 : S.main
|
|
366
369
|
}
|
|
367
370
|
};
|
|
368
371
|
}),
|
|
@@ -371,7 +374,7 @@ const Ve = se("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAct
|
|
|
371
374
|
color: "action"
|
|
372
375
|
},
|
|
373
376
|
style: {
|
|
374
|
-
color: (w = (
|
|
377
|
+
color: (w = (h = (e.vars ?? e).palette) == null ? void 0 : h.action) == null ? void 0 : w.active
|
|
375
378
|
}
|
|
376
379
|
},
|
|
377
380
|
{
|
|
@@ -379,7 +382,7 @@ const Ve = se("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAct
|
|
|
379
382
|
color: "disabled"
|
|
380
383
|
},
|
|
381
384
|
style: {
|
|
382
|
-
color: (g = (
|
|
385
|
+
color: (g = (N = (e.vars ?? e).palette) == null ? void 0 : N.action) == null ? void 0 : g.disabled
|
|
383
386
|
}
|
|
384
387
|
},
|
|
385
388
|
{
|
|
@@ -392,51 +395,51 @@ const Ve = se("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAct
|
|
|
392
395
|
}
|
|
393
396
|
]
|
|
394
397
|
};
|
|
395
|
-
})),
|
|
396
|
-
const
|
|
397
|
-
props:
|
|
398
|
+
})), V = /* @__PURE__ */ z.forwardRef(function(n, t) {
|
|
399
|
+
const o = ze({
|
|
400
|
+
props: n,
|
|
398
401
|
name: "MuiSvgIcon"
|
|
399
402
|
}), {
|
|
400
|
-
children:
|
|
401
|
-
className:
|
|
403
|
+
children: s,
|
|
404
|
+
className: r,
|
|
402
405
|
color: a = "inherit",
|
|
403
406
|
component: i = "svg",
|
|
404
|
-
fontSize:
|
|
407
|
+
fontSize: u = "medium",
|
|
405
408
|
htmlColor: l,
|
|
406
|
-
inheritViewBox:
|
|
407
|
-
titleAccess:
|
|
409
|
+
inheritViewBox: f = !1,
|
|
410
|
+
titleAccess: h,
|
|
408
411
|
viewBox: w = "0 0 24 24",
|
|
409
|
-
...
|
|
410
|
-
} =
|
|
411
|
-
...
|
|
412
|
+
...N
|
|
413
|
+
} = o, g = /* @__PURE__ */ z.isValidElement(s) && s.type === "svg", d = {
|
|
414
|
+
...o,
|
|
412
415
|
color: a,
|
|
413
416
|
component: i,
|
|
414
|
-
fontSize:
|
|
415
|
-
instanceFontSize:
|
|
416
|
-
inheritViewBox:
|
|
417
|
+
fontSize: u,
|
|
418
|
+
instanceFontSize: n.fontSize,
|
|
419
|
+
inheritViewBox: f,
|
|
417
420
|
viewBox: w,
|
|
418
421
|
hasSvgAsChild: g
|
|
419
|
-
},
|
|
420
|
-
|
|
421
|
-
const S =
|
|
422
|
-
return /* @__PURE__ */ D.jsxs(
|
|
422
|
+
}, x = {};
|
|
423
|
+
f || (x.viewBox = w);
|
|
424
|
+
const S = Ee(d);
|
|
425
|
+
return /* @__PURE__ */ D.jsxs(Ie, {
|
|
423
426
|
as: i,
|
|
424
|
-
className:
|
|
427
|
+
className: q(S.root, r),
|
|
425
428
|
focusable: "false",
|
|
426
429
|
color: l,
|
|
427
|
-
"aria-hidden":
|
|
428
|
-
role:
|
|
430
|
+
"aria-hidden": h ? void 0 : !0,
|
|
431
|
+
role: h ? "img" : void 0,
|
|
429
432
|
ref: t,
|
|
430
|
-
...N,
|
|
431
433
|
...x,
|
|
432
|
-
...
|
|
434
|
+
...N,
|
|
435
|
+
...g && s.props,
|
|
433
436
|
ownerState: d,
|
|
434
|
-
children: [g ?
|
|
435
|
-
children:
|
|
437
|
+
children: [g ? s.props.children : s, h ? /* @__PURE__ */ D.jsx("title", {
|
|
438
|
+
children: h
|
|
436
439
|
}) : null]
|
|
437
440
|
});
|
|
438
441
|
});
|
|
439
|
-
process.env.NODE_ENV !== "production" && (
|
|
442
|
+
process.env.NODE_ENV !== "production" && (V.propTypes = {
|
|
440
443
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
441
444
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
442
445
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -508,28 +511,29 @@ process.env.NODE_ENV !== "production" && (j.propTypes = {
|
|
|
508
511
|
*/
|
|
509
512
|
viewBox: c.string
|
|
510
513
|
});
|
|
511
|
-
|
|
512
|
-
function
|
|
513
|
-
function t(
|
|
514
|
-
return /* @__PURE__ */ D.jsx(
|
|
515
|
-
"data-testid": process.env.NODE_ENV !== "production" ? `${
|
|
516
|
-
ref:
|
|
517
|
-
...
|
|
514
|
+
V.muiName = "SvgIcon";
|
|
515
|
+
function Pe(e, n) {
|
|
516
|
+
function t(o, s) {
|
|
517
|
+
return /* @__PURE__ */ D.jsx(V, {
|
|
518
|
+
"data-testid": process.env.NODE_ENV !== "production" ? `${n}Icon` : void 0,
|
|
519
|
+
ref: s,
|
|
520
|
+
...o,
|
|
518
521
|
children: e
|
|
519
522
|
});
|
|
520
523
|
}
|
|
521
|
-
return process.env.NODE_ENV !== "production" && (t.displayName = `${
|
|
524
|
+
return process.env.NODE_ENV !== "production" && (t.displayName = `${n}Icon`), t.muiName = V.muiName, /* @__PURE__ */ z.memo(/* @__PURE__ */ z.forwardRef(t));
|
|
522
525
|
}
|
|
523
526
|
export {
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
527
|
+
Te as a,
|
|
528
|
+
ce as b,
|
|
529
|
+
Pe as c,
|
|
530
|
+
de as d,
|
|
531
|
+
Ne as e,
|
|
529
532
|
Oe as f,
|
|
530
|
-
|
|
533
|
+
xe as g,
|
|
534
|
+
A as h,
|
|
531
535
|
be as m,
|
|
532
536
|
F as r,
|
|
533
|
-
|
|
534
|
-
|
|
537
|
+
_e as s,
|
|
538
|
+
ze as u
|
|
535
539
|
};
|