@solostylist/ui-kit 1.0.211 → 1.0.213
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/{ArrowUpward-BPZzNgi2.js → ArrowUpward-O4lRvSII.js} +1 -1
- package/dist/ButtonBase-1qqPHJym.js +609 -0
- package/dist/{ChevronLeft-DYoIZPzf.js → ChevronLeft-CJ94-qgQ.js} +1 -1
- package/dist/{ChevronRight-BecIE-H9.js → ChevronRight-CK4Iv1Xx.js} +1 -1
- package/dist/{Close-owIfEKhu.js → Close-CSIi_IPN.js} +1 -1
- package/dist/Collapse-CS2l0W42.js +264 -0
- package/dist/{ContentCopy-22z-lNLI.js → ContentCopy-SAMH7bs7.js} +1 -1
- package/dist/{Download-Dg9NBUSj.js → Download-BefdWd5q.js} +1 -1
- package/dist/{ExpandMore-BOF9F55V.js → ExpandMore-DZANUF9W.js} +1 -1
- package/dist/{Favorite-BVeoH6Jh.js → Favorite-BwMGKQJf.js} +1 -1
- package/dist/{LocalizationProvider-BURK_lV0.js → LocalizationProvider-C07_J3LH.js} +2 -1
- package/dist/{Menu-C1gbagw8.js → Menu-CGfkgDXQ.js} +606 -604
- package/dist/{MenuItem-DyhMKc_V.js → MenuItem-C0am2QZu.js} +7 -6
- package/dist/Paper-Sm1vMalk.js +135 -0
- package/dist/{Select-DdIw08Ux.js → Select-BrRoHcey.js} +40 -39
- package/dist/{Typography-BXFTm80G.js → Typography-Ci004UCT.js} +2 -2
- package/dist/{avatar-_TCe35VV.js → avatar-CKEYVp9W.js} +1 -1
- package/dist/{checkbox-Dt9Jyrbh.js → checkbox-CMvDozaV.js} +1 -1
- package/dist/{createSvgIcon-CMGRw0Lo.js → createSvgIcon-BfZYaiXo.js} +1 -1
- package/dist/{objectWithoutPropertiesLoose-D6aDjjWS.js → extends-DtvfmDTb.js} +1 -12
- package/dist/objectWithoutPropertiesLoose-Cq334jkZ.js +12 -0
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +1 -1
- package/dist/s-accordion-z8VaU68k.js +462 -0
- package/dist/s-avatar/s-avatar.d.ts +1 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +1 -1
- package/dist/{s-carousel-CGX87bjg.js → s-carousel-CR-JjoDx.js} +1 -1
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +1 -1
- package/dist/{s-chat-input-BXwhUdvm.js → s-chat-input-7fYcz8tL.js} +4 -4
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +1 -1
- package/dist/{s-chat-message-DU6sQjxx.js → s-chat-message-BT05O6Fa.js} +2 -2
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/{s-chips-CosD17ng.js → s-chips-CMivbDg_.js} +1 -1
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/{s-code-block-qdU4tr3O.js → s-code-block-BrwHh2oS.js} +1 -1
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +1 -1
- package/dist/{s-comment-message-BNEmIOGv.js → s-comment-message-YSb11mDV.js} +3 -3
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +1 -1
- package/dist/{s-data-table-J8XJWWBV.js → s-data-table-DYjPSDPe.js} +17 -16
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +1 -1
- package/dist/{s-date-picker-DsVzH2z9.js → s-date-picker-DkmKLO4E.js} +5 -4
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
- package/dist/{s-datetime-picker-Ba_hgXEo.js → s-datetime-picker-VHyJ6NUS.js} +303 -301
- 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/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/{s-file-dropzone-U--yIQ0o.js → s-file-dropzone-BFTqdCaX.js} +2 -2
- package/dist/s-image-comparison/s-image-comparison.js +2 -2
- package/dist/s-image-modal/s-image-modal.js +3 -3
- package/dist/s-label/index.js +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/{s-label-DSVEMOfm.js → s-label-BYT4eG6o.js} +1 -1
- package/dist/s-language-switcher/index.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +1 -1
- package/dist/{s-language-switcher-CG1TfY0A.js → s-language-switcher-BojBckp0.js} +3 -3
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/{s-localization-provider-D3NT6y0c.js → s-localization-provider-CIACI235.js} +2 -2
- package/dist/s-multi-select/index.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +1 -1
- package/dist/{s-multi-select-CTtWSr8-.js → s-multi-select-CRXew1KJ.js} +4 -4
- package/dist/s-nav-item/index.d.ts +3 -0
- package/dist/s-nav-item/index.js +4 -0
- package/dist/s-nav-item/s-nav-item.d.ts +36 -0
- package/dist/s-nav-item/s-nav-item.js +80 -0
- package/dist/s-nav-item/s-nav-items.d.ts +62 -0
- package/dist/s-nav-item/s-nav-items.js +137 -0
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-BC1lHIm6.js → s-review-BMbUNSZR.js} +1 -1
- package/dist/s-scroll-to-top/s-scroll-to-top.js +1 -1
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +1 -1
- package/dist/{s-select-C21R0N2u.js → s-select-GRyyPITy.js} +1 -1
- package/dist/s-stripe/s-stripe.js +1 -1
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/{s-text-editor-toolbar-Cryg0LAh.js → s-text-editor-toolbar-DSjX1GXv.js} +4 -4
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/{s-text-field-D1IehXqm.js → s-text-field-UI_UjTUa.js} +1 -1
- package/dist/s-theme-demo/index.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +1 -1
- package/dist/{s-theme-demo-zAOHpUI7.js → s-theme-demo-D3IF6lkI.js} +4 -4
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/{s-theme-switch-B9r8_N1i.js → s-theme-switch-COBORL4a.js} +1 -1
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +1 -1
- package/dist/{s-tip-C34wQGJ-.js → s-tip-BI58w2uh.js} +2 -2
- package/dist/s-tool-bar/index.js +1 -1
- package/dist/s-tool-bar/s-tool-bar.js +1 -1
- package/dist/{s-tool-bar-BciD39jt.js → s-tool-bar-DYFFybyj.js} +4 -4
- package/dist/{select-BcLqQ0sF.js → select-BT9USOXL.js} +1 -1
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/components/components.js +5 -5
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.js +3 -3
- package/dist/theme/components/outlined-input.js +1 -1
- package/dist/theme/components/select.js +1 -1
- package/dist/theme/components/tab.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button-group.js +1 -1
- package/dist/theme/components/toggle-button.js +1 -1
- package/dist/{useMobilePicker-D6CIp1i2.js → useMobilePicker-CAMBlpgB.js} +74 -71
- package/dist/useSlot-BfqKgBbE.js +192 -0
- package/dist/utils-BqJ3HDtA.js +198 -0
- package/package.json +1 -1
- package/dist/Paper-BqlfdEtj.js +0 -326
- package/dist/s-accordion-DkA0dsLD.js +0 -712
- package/dist/useSlot-TsaoJMJN.js +0 -798
- /package/dist/{buttonBaseClasses-DOwL2wHr.js → buttonBaseClasses-D1dQFqBk.js} +0 -0
- /package/dist/{createSimplePaletteValueFilter-AnLSDyLU.js → createSimplePaletteValueFilter-D5kxdvJe.js} +0 -0
- /package/dist/{iconButtonClasses-DC67mWBJ.js → iconButtonClasses-UNZ6hKTU.js} +0 -0
- /package/dist/{mergeSlotProps-CsqK8tmH.js → mergeSlotProps-CVIr4jSm.js} +0 -0
- /package/dist/{outlinedInputClasses-Cmc2eWLD.js → outlinedInputClasses-ClI9bkEy.js} +0 -0
- /package/dist/{svgIconClasses-DrmLtTkP.js → svgIconClasses-BhRa1KyZ.js} +0 -0
- /package/dist/{tabClasses-ywhJ0fbh.js → tabClasses-Duc8s_po.js} +0 -0
- /package/dist/{toggle-button-2wwhzKdn.js → toggle-button-BtL4kaOZ.js} +0 -0
- /package/dist/{toggle-button-group-Dpe5CZL_.js → toggle-button-group-CTajBjl-.js} +0 -0
- /package/dist/{typographyClasses-C8Mm57es.js → typographyClasses-CBI3nZde.js} +0 -0
- /package/dist/{useControlled-DZYTbMHD.js → useControlled-8Zs5aelG.js} +0 -0
- /package/dist/{useFormControl-C-CuXT4Y.js → useFormControl-DvExOQVA.js} +0 -0
|
@@ -5,8 +5,9 @@ import { t as a } from "./clsx-BTH_sxEO.js";
|
|
|
5
5
|
import { t as o } from "./generateUtilityClass-D4Rn9MbW.js";
|
|
6
6
|
import { t as s } from "./generateUtilityClasses-CX1nR7K3.js";
|
|
7
7
|
import { n as c, t as l } from "./styled-C0_N3zFx.js";
|
|
8
|
-
import { _ as u, i as d } from "./Menu-
|
|
9
|
-
import {
|
|
8
|
+
import { _ as u, i as d } from "./Menu-CGfkgDXQ.js";
|
|
9
|
+
import { t as f } from "./ButtonBase-1qqPHJym.js";
|
|
10
|
+
import { d as p } from "./useSlot-BfqKgBbE.js";
|
|
10
11
|
import * as m from "react";
|
|
11
12
|
import { jsx as h } from "react/jsx-runtime";
|
|
12
13
|
//#region ../../node_modules/@mui/material/esm/Divider/dividerClasses.js
|
|
@@ -76,7 +77,7 @@ var S = s("MuiMenuItem", [
|
|
|
76
77
|
...s,
|
|
77
78
|
...c
|
|
78
79
|
};
|
|
79
|
-
}, E = l(
|
|
80
|
+
}, E = l(f, {
|
|
80
81
|
shouldForwardProp: (e) => c(e) || e === "classes",
|
|
81
82
|
name: "MuiMenuItem",
|
|
82
83
|
slot: "Root",
|
|
@@ -153,7 +154,7 @@ var S = s("MuiMenuItem", [
|
|
|
153
154
|
let r = n({
|
|
154
155
|
props: e,
|
|
155
156
|
name: "MuiMenuItem"
|
|
156
|
-
}), { autoFocus: i = !1, component: o = "li", dense: s = !1, divider: c = !1, disableGutters: l = !1, focusVisibleClassName:
|
|
157
|
+
}), { autoFocus: i = !1, component: o = "li", dense: s = !1, divider: c = !1, disableGutters: l = !1, focusVisibleClassName: f, role: g = "menuitem", tabIndex: _, className: v, ...y } = r, b = m.useContext(d), x = m.useMemo(() => ({
|
|
157
158
|
dense: s || b.dense || !1,
|
|
158
159
|
disableGutters: l
|
|
159
160
|
}), [
|
|
@@ -169,7 +170,7 @@ var S = s("MuiMenuItem", [
|
|
|
169
170
|
dense: x.dense,
|
|
170
171
|
divider: c,
|
|
171
172
|
disableGutters: l
|
|
172
|
-
}, w = T(r), D =
|
|
173
|
+
}, w = T(r), D = p(S, t), O;
|
|
173
174
|
return r.disabled || (O = _ === void 0 ? -1 : _), /* @__PURE__ */ h(d.Provider, {
|
|
174
175
|
value: x,
|
|
175
176
|
children: /* @__PURE__ */ h(E, {
|
|
@@ -177,7 +178,7 @@ var S = s("MuiMenuItem", [
|
|
|
177
178
|
role: g,
|
|
178
179
|
tabIndex: O,
|
|
179
180
|
component: o,
|
|
180
|
-
focusVisibleClassName: a(w.focusVisible,
|
|
181
|
+
focusVisibleClassName: a(w.focusVisible, f),
|
|
181
182
|
className: a(w.root, v),
|
|
182
183
|
...y,
|
|
183
184
|
ownerState: C,
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { n as e } from "./chunk-efA98nb6.js";
|
|
2
|
+
import { _ as t, i as n, n as r } from "./createTheme-hnicUJQa.js";
|
|
3
|
+
import { o as i, r as a, s as o, t as s } from "./memoTheme-DiKnacj0.js";
|
|
4
|
+
import { t as c } from "./clsx-BTH_sxEO.js";
|
|
5
|
+
import { t as l } from "./generateUtilityClass-D4Rn9MbW.js";
|
|
6
|
+
import { t as u } from "./generateUtilityClasses-CX1nR7K3.js";
|
|
7
|
+
import { t as d } from "./styled-C0_N3zFx.js";
|
|
8
|
+
import { m as f } from "./useSlot-BfqKgBbE.js";
|
|
9
|
+
import * as p from "react";
|
|
10
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
11
|
+
//#region ../../node_modules/@mui/utils/esm/integerPropType/integerPropType.js
|
|
12
|
+
function h(e) {
|
|
13
|
+
let t = typeof e;
|
|
14
|
+
switch (t) {
|
|
15
|
+
case "number": return Number.isNaN(e) ? "NaN" : Number.isFinite(e) ? e === Math.floor(e) ? "number" : "float" : "Infinity";
|
|
16
|
+
case "object": return e === null ? "null" : e.constructor.name;
|
|
17
|
+
default: return t;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function g(e, t, n, r) {
|
|
21
|
+
let i = e[t];
|
|
22
|
+
if (i == null || !Number.isInteger(i)) {
|
|
23
|
+
let e = h(i);
|
|
24
|
+
return /* @__PURE__ */ RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`);
|
|
25
|
+
}
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
function _(e, t, n, r) {
|
|
29
|
+
return e[t] === void 0 ? null : g(e, t, n, r);
|
|
30
|
+
}
|
|
31
|
+
function v() {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
_.isRequired = g, v.isRequired = v;
|
|
35
|
+
var y = process.env.NODE_ENV === "production" ? v : _;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region ../../node_modules/@mui/material/esm/Paper/paperClasses.js
|
|
38
|
+
function b(e) {
|
|
39
|
+
return l("MuiPaper", e);
|
|
40
|
+
}
|
|
41
|
+
u("MuiPaper", /* @__PURE__ */ "root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24".split("."));
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region ../../node_modules/@mui/material/esm/Paper/Paper.js
|
|
44
|
+
var x = /* @__PURE__ */ e(t()), S = (e) => {
|
|
45
|
+
let { square: t, elevation: n, variant: r, classes: i } = e;
|
|
46
|
+
return o({ root: [
|
|
47
|
+
"root",
|
|
48
|
+
r,
|
|
49
|
+
!t && "rounded",
|
|
50
|
+
r === "elevation" && `elevation${n}`
|
|
51
|
+
] }, b, i);
|
|
52
|
+
}, C = d("div", {
|
|
53
|
+
name: "MuiPaper",
|
|
54
|
+
slot: "Root",
|
|
55
|
+
overridesResolver: (e, t) => {
|
|
56
|
+
let { ownerState: n } = e;
|
|
57
|
+
return [
|
|
58
|
+
t.root,
|
|
59
|
+
t[n.variant],
|
|
60
|
+
!n.square && t.rounded,
|
|
61
|
+
n.variant === "elevation" && t[`elevation${n.elevation}`]
|
|
62
|
+
];
|
|
63
|
+
}
|
|
64
|
+
})(s(({ theme: e }) => ({
|
|
65
|
+
backgroundColor: (e.vars || e).palette.background.paper,
|
|
66
|
+
color: (e.vars || e).palette.text.primary,
|
|
67
|
+
transition: e.transitions.create("box-shadow"),
|
|
68
|
+
variants: [
|
|
69
|
+
{
|
|
70
|
+
props: ({ ownerState: e }) => !e.square,
|
|
71
|
+
style: { borderRadius: e.shape.borderRadius }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
props: { variant: "outlined" },
|
|
75
|
+
style: { border: `1px solid ${(e.vars || e).palette.divider}` }
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
props: { variant: "elevation" },
|
|
79
|
+
style: {
|
|
80
|
+
boxShadow: "var(--Paper-shadow)",
|
|
81
|
+
backgroundImage: "var(--Paper-overlay)"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}))), w = /* @__PURE__ */ p.forwardRef(function(e, t) {
|
|
86
|
+
let o = a({
|
|
87
|
+
props: e,
|
|
88
|
+
name: "MuiPaper"
|
|
89
|
+
}), s = i(), { className: l, component: u = "div", elevation: d = 1, square: f = !1, variant: p = "elevation", ...h } = o, g = {
|
|
90
|
+
...o,
|
|
91
|
+
component: u,
|
|
92
|
+
elevation: d,
|
|
93
|
+
square: f,
|
|
94
|
+
variant: p
|
|
95
|
+
}, _ = S(g);
|
|
96
|
+
return process.env.NODE_ENV !== "production" && s.shadows[d] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${d}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${d}]\` is defined.`].join("\n")), /* @__PURE__ */ m(C, {
|
|
97
|
+
as: u,
|
|
98
|
+
ownerState: g,
|
|
99
|
+
className: c(_.root, l),
|
|
100
|
+
ref: t,
|
|
101
|
+
...h,
|
|
102
|
+
style: {
|
|
103
|
+
...p === "elevation" && {
|
|
104
|
+
"--Paper-shadow": (s.vars || s).shadows[d],
|
|
105
|
+
...s.vars && { "--Paper-overlay": s.vars.overlays?.[d] },
|
|
106
|
+
...!s.vars && s.palette.mode === "dark" && { "--Paper-overlay": `linear-gradient(${n("#fff", r(d))}, ${n("#fff", r(d))})` }
|
|
107
|
+
},
|
|
108
|
+
...h.style
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
process.env.NODE_ENV !== "production" && (w.propTypes = {
|
|
113
|
+
children: x.default.node,
|
|
114
|
+
classes: x.default.object,
|
|
115
|
+
className: x.default.string,
|
|
116
|
+
component: x.default.elementType,
|
|
117
|
+
elevation: f(y, (e) => {
|
|
118
|
+
let { elevation: t, variant: n } = e;
|
|
119
|
+
return t > 0 && n === "outlined" ? /* @__PURE__ */ Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
|
|
120
|
+
}),
|
|
121
|
+
square: x.default.bool,
|
|
122
|
+
style: x.default.object,
|
|
123
|
+
sx: x.default.oneOfType([
|
|
124
|
+
x.default.arrayOf(x.default.oneOfType([
|
|
125
|
+
x.default.func,
|
|
126
|
+
x.default.object,
|
|
127
|
+
x.default.bool
|
|
128
|
+
])),
|
|
129
|
+
x.default.func,
|
|
130
|
+
x.default.object
|
|
131
|
+
]),
|
|
132
|
+
variant: x.default.oneOfType([x.default.oneOf(["elevation", "outlined"]), x.default.string])
|
|
133
|
+
});
|
|
134
|
+
//#endregion
|
|
135
|
+
export { y as n, w as t };
|
|
@@ -7,14 +7,15 @@ import { t as p } from "./generateUtilityClass-D4Rn9MbW.js";
|
|
|
7
7
|
import { t as m } from "./generateUtilityClasses-CX1nR7K3.js";
|
|
8
8
|
import { n as h, r as g, t as _ } from "./styled-C0_N3zFx.js";
|
|
9
9
|
import { t as v } from "./useEnhancedEffect-DcMMtOdE.js";
|
|
10
|
-
import { C as y, _ as b, b as ee, m as x, t as te, y as S } from "./Menu-
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import { n as
|
|
17
|
-
import {
|
|
10
|
+
import { C as y, _ as b, b as ee, m as x, t as te, y as S } from "./Menu-CGfkgDXQ.js";
|
|
11
|
+
import { a as C, i as w, t as T } from "./ButtonBase-1qqPHJym.js";
|
|
12
|
+
import { d as ne, f as re, m as E, o as D, p as O, t as k } from "./useSlot-BfqKgBbE.js";
|
|
13
|
+
import { t as A } from "./createSimplePaletteValueFilter-D5kxdvJe.js";
|
|
14
|
+
import { t as ie } from "./createSvgIcon-BfZYaiXo.js";
|
|
15
|
+
import { t as ae } from "./useControlled-8Zs5aelG.js";
|
|
16
|
+
import { n as j, t as oe } from "./iconButtonClasses-UNZ6hKTU.js";
|
|
17
|
+
import { n as se, t as ce } from "./useFormControl-DvExOQVA.js";
|
|
18
|
+
import { i as M, n as N, r as le, t as ue } from "./outlinedInputClasses-ClI9bkEy.js";
|
|
18
19
|
import * as P from "react";
|
|
19
20
|
import { jsx as F, jsxs as I } from "react/jsx-runtime";
|
|
20
21
|
//#region ../../node_modules/@mui/utils/esm/useId/useId.js
|
|
@@ -239,7 +240,7 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
|
|
|
239
240
|
"success",
|
|
240
241
|
"warning"
|
|
241
242
|
]), U.default.string]),
|
|
242
|
-
disableShrink:
|
|
243
|
+
disableShrink: E(U.default.bool, (e) => e.disableShrink && e.variant && e.variant !== "indeterminate" ? /* @__PURE__ */ Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.") : null),
|
|
243
244
|
enableTrackSlot: U.default.bool,
|
|
244
245
|
size: U.default.oneOfType([U.default.number, U.default.string]),
|
|
245
246
|
style: U.default.object,
|
|
@@ -272,7 +273,7 @@ var ve = (e) => {
|
|
|
272
273
|
loadingIndicator: ["loadingIndicator"],
|
|
273
274
|
loadingWrapper: ["loadingWrapper"]
|
|
274
275
|
}, oe, t);
|
|
275
|
-
}, X = _(
|
|
276
|
+
}, X = _(T, {
|
|
276
277
|
name: "MuiIconButton",
|
|
277
278
|
slot: "Root",
|
|
278
279
|
overridesResolver: (e, t) => {
|
|
@@ -415,7 +416,7 @@ var ve = (e) => {
|
|
|
415
416
|
});
|
|
416
417
|
});
|
|
417
418
|
process.env.NODE_ENV !== "production" && (ye.propTypes = {
|
|
418
|
-
children:
|
|
419
|
+
children: E(U.default.node, (e) => P.Children.toArray(e.children).some((e) => /* @__PURE__ */ P.isValidElement(e) && e.props.onClick) ? Error([
|
|
419
420
|
"MUI: You are providing an onClick event listener to a child of a button element.",
|
|
420
421
|
"Prefer applying it to the IconButton directly.",
|
|
421
422
|
"This guarantees that the whole <button> will be responsive to click events."
|
|
@@ -589,7 +590,7 @@ function Ee(e) {
|
|
|
589
590
|
return Te(e) || e.outerHeightStyle === 0 && !e.overflowing;
|
|
590
591
|
}
|
|
591
592
|
var De = /* @__PURE__ */ P.forwardRef(function(e, t) {
|
|
592
|
-
let { onChange: n, maxRows: r, minRows: i = 1, style: a, value: o, ...s } = e, { current: c } = P.useRef(o != null), l = P.useRef(null), u =
|
|
593
|
+
let { onChange: n, maxRows: r, minRows: i = 1, style: a, value: o, ...s } = e, { current: c } = P.useRef(o != null), l = P.useRef(null), u = re(t, l), d = P.useRef(null), f = P.useRef(null), p = P.useCallback(() => {
|
|
593
594
|
let t = l.current, n = f.current;
|
|
594
595
|
if (!t || !n) return;
|
|
595
596
|
let a = S(t).getComputedStyle(t);
|
|
@@ -609,7 +610,7 @@ var De = /* @__PURE__ */ P.forwardRef(function(e, t) {
|
|
|
609
610
|
r,
|
|
610
611
|
i,
|
|
611
612
|
e.placeholder
|
|
612
|
-
]), m =
|
|
613
|
+
]), m = w(() => {
|
|
613
614
|
let e = l.current, t = p();
|
|
614
615
|
if (!e || !t || Ee(t)) return !1;
|
|
615
616
|
let n = t.outerHeightStyle;
|
|
@@ -856,7 +857,7 @@ var je, Me = (e, t) => {
|
|
|
856
857
|
let n = l({
|
|
857
858
|
props: e,
|
|
858
859
|
name: "MuiInputBase"
|
|
859
|
-
}), { "aria-describedby": r, autoComplete: a, autoFocus: o, className: s, color: c, components: u = {}, componentsProps: d = {}, defaultValue: p, disabled: m, disableInjectingGlobalStyles: h, endAdornment: g, error: _, fullWidth: v = !1, id: y, inputComponent: ee = "input", inputProps: x = {}, inputRef: te, margin: S, maxRows: C, minRows: w, multiline: T = !1, name: re, onBlur:
|
|
860
|
+
}), { "aria-describedby": r, autoComplete: a, autoFocus: o, className: s, color: c, components: u = {}, componentsProps: d = {}, defaultValue: p, disabled: m, disableInjectingGlobalStyles: h, endAdornment: g, error: _, fullWidth: v = !1, id: y, inputComponent: ee = "input", inputProps: x = {}, inputRef: te, margin: S, maxRows: C, minRows: w, multiline: T = !1, name: re, onBlur: E, onChange: O, onClick: k, onFocus: A, onKeyDown: ie, onKeyUp: ae, placeholder: j, readOnly: oe, renderSuffix: M, rows: N, size: le, slotProps: ue = {}, slots: de = {}, startAdornment: L, type: R = "text", value: fe, ...z } = n, B = x.value == null ? fe : x.value, { current: V } = P.useRef(B != null), H = P.useRef(), U = P.useCallback((e) => {
|
|
860
861
|
process.env.NODE_ENV !== "production" && e && e.nodeName !== "INPUT" && !e.focus && console.error([
|
|
861
862
|
"MUI: You have provided a `inputComponent` to the input component",
|
|
862
863
|
"that does not correctly handle the `ref` prop.",
|
|
@@ -880,12 +881,12 @@ var je, Me = (e, t) => {
|
|
|
880
881
|
]
|
|
881
882
|
});
|
|
882
883
|
J.focused = q ? q.focused : G, P.useEffect(() => {
|
|
883
|
-
!q && m && G && (K(!1),
|
|
884
|
+
!q && m && G && (K(!1), E && E());
|
|
884
885
|
}, [
|
|
885
886
|
q,
|
|
886
887
|
m,
|
|
887
888
|
G,
|
|
888
|
-
|
|
889
|
+
E
|
|
889
890
|
]);
|
|
890
891
|
let pe = q && q.onFilled, me = q && q.onEmpty, Y = P.useCallback((e) => {
|
|
891
892
|
ke(e) ? pe && pe() : me && me();
|
|
@@ -900,7 +901,7 @@ var je, Me = (e, t) => {
|
|
|
900
901
|
let he = (e) => {
|
|
901
902
|
A && A(e), x.onFocus && x.onFocus(e), q && q.onFocus ? q.onFocus(e) : K(!0);
|
|
902
903
|
}, ge = (e) => {
|
|
903
|
-
|
|
904
|
+
E && E(e), x.onBlur && x.onBlur(e), q && q.onBlur ? q.onBlur(e) : K(!1);
|
|
904
905
|
}, _e = (e, ...t) => {
|
|
905
906
|
if (!V) {
|
|
906
907
|
let t = e.target || H.current;
|
|
@@ -955,7 +956,7 @@ var je, Me = (e, t) => {
|
|
|
955
956
|
ref: t,
|
|
956
957
|
onClick: ve,
|
|
957
958
|
...z,
|
|
958
|
-
...!
|
|
959
|
+
...!D(xe) && { ownerState: {
|
|
959
960
|
...Q,
|
|
960
961
|
...Se.ownerState
|
|
961
962
|
} },
|
|
@@ -983,7 +984,7 @@ var je, Me = (e, t) => {
|
|
|
983
984
|
onKeyUp: ae,
|
|
984
985
|
type: R,
|
|
985
986
|
...Z,
|
|
986
|
-
...!
|
|
987
|
+
...!D($) && {
|
|
987
988
|
as: X,
|
|
988
989
|
ownerState: {
|
|
989
990
|
...Q,
|
|
@@ -1034,9 +1035,9 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
1034
1035
|
error: U.default.bool,
|
|
1035
1036
|
fullWidth: U.default.bool,
|
|
1036
1037
|
id: U.default.string,
|
|
1037
|
-
inputComponent:
|
|
1038
|
+
inputComponent: O,
|
|
1038
1039
|
inputProps: U.default.object,
|
|
1039
|
-
inputRef:
|
|
1040
|
+
inputRef: C,
|
|
1040
1041
|
margin: U.default.oneOf(["dense", "none"]),
|
|
1041
1042
|
maxRows: U.default.oneOfType([U.default.number, U.default.string]),
|
|
1042
1043
|
minRows: U.default.oneOfType([U.default.number, U.default.string]),
|
|
@@ -1203,7 +1204,7 @@ var ze = (e) => {
|
|
|
1203
1204
|
multiline: s,
|
|
1204
1205
|
size: g.size,
|
|
1205
1206
|
type: f
|
|
1206
|
-
}, v = u.root ?? r.Root ?? Be, y = u.input ?? r.Input ?? He, [b, ee] =
|
|
1207
|
+
}, v = u.root ?? r.Root ?? Be, y = u.input ?? r.Input ?? He, [b, ee] = k("notchedOutline", {
|
|
1207
1208
|
elementType: Ve,
|
|
1208
1209
|
className: m.notchedOutline,
|
|
1209
1210
|
shouldForwardComponentProp: !0,
|
|
@@ -1257,7 +1258,7 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
1257
1258
|
id: U.default.string,
|
|
1258
1259
|
inputComponent: U.default.elementType,
|
|
1259
1260
|
inputProps: U.default.object,
|
|
1260
|
-
inputRef:
|
|
1261
|
+
inputRef: C,
|
|
1261
1262
|
label: U.default.node,
|
|
1262
1263
|
margin: U.default.oneOf(["dense", "none"]),
|
|
1263
1264
|
maxRows: U.default.oneOfType([U.default.number, U.default.string]),
|
|
@@ -1385,11 +1386,11 @@ var Ge = (e) => {
|
|
|
1385
1386
|
}), e;
|
|
1386
1387
|
}), [C, w] = P.useState(!1);
|
|
1387
1388
|
s && C && w(!1);
|
|
1388
|
-
let T = u !== void 0 && !s ? u : C, ne,
|
|
1389
|
-
process.env.NODE_ENV !== "production" && (ne = () => (
|
|
1390
|
-
|
|
1389
|
+
let T = u !== void 0 && !s ? u : C, ne, re = P.useRef(!1);
|
|
1390
|
+
process.env.NODE_ENV !== "production" && (ne = () => (re.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join("\n")), re.current = !0, () => {
|
|
1391
|
+
re.current = !1;
|
|
1391
1392
|
}));
|
|
1392
|
-
let
|
|
1393
|
+
let E = P.useCallback(() => {
|
|
1393
1394
|
S(!0);
|
|
1394
1395
|
}, []), D = P.useCallback(() => {
|
|
1395
1396
|
S(!1);
|
|
@@ -1411,7 +1412,7 @@ var Ge = (e) => {
|
|
|
1411
1412
|
w(!0);
|
|
1412
1413
|
},
|
|
1413
1414
|
onEmpty: D,
|
|
1414
|
-
onFilled:
|
|
1415
|
+
onFilled: E,
|
|
1415
1416
|
registerEffect: ne,
|
|
1416
1417
|
required: h,
|
|
1417
1418
|
variant: _
|
|
@@ -1426,7 +1427,7 @@ var Ge = (e) => {
|
|
|
1426
1427
|
p,
|
|
1427
1428
|
ne,
|
|
1428
1429
|
D,
|
|
1429
|
-
|
|
1430
|
+
E,
|
|
1430
1431
|
h,
|
|
1431
1432
|
g,
|
|
1432
1433
|
_
|
|
@@ -1622,7 +1623,7 @@ process.env.NODE_ENV !== "production" && (tt.propTypes = {
|
|
|
1622
1623
|
disabled: U.default.bool,
|
|
1623
1624
|
error: U.default.bool,
|
|
1624
1625
|
IconComponent: U.default.elementType.isRequired,
|
|
1625
|
-
inputRef:
|
|
1626
|
+
inputRef: C,
|
|
1626
1627
|
multiple: U.default.bool,
|
|
1627
1628
|
name: U.default.string,
|
|
1628
1629
|
onChange: U.default.func,
|
|
@@ -1721,7 +1722,7 @@ var dt = (e) => {
|
|
|
1721
1722
|
nativeInput: ["nativeInput"]
|
|
1722
1723
|
}, nt, t);
|
|
1723
1724
|
}, ft = /* @__PURE__ */ P.forwardRef(function(e, t) {
|
|
1724
|
-
let { "aria-describedby": n, "aria-label": r, autoFocus: a, autoWidth: o, children: s, className: c, defaultOpen: l, defaultValue: u, disabled: d, displayEmpty: p, error: m = !1, IconComponent: h, inputRef: g, labelId: _, MenuProps: v = {}, multiple: y, name: b, onBlur: x, onChange: S, onClose: C, onFocus: w, onKeyDown: T, onMouseDown:
|
|
1725
|
+
let { "aria-describedby": n, "aria-label": r, autoFocus: a, autoWidth: o, children: s, className: c, defaultOpen: l, defaultValue: u, disabled: d, displayEmpty: p, error: m = !1, IconComponent: h, inputRef: g, labelId: _, MenuProps: v = {}, multiple: y, name: b, onBlur: x, onChange: S, onClose: C, onFocus: w, onKeyDown: T, onMouseDown: re, onOpen: E, open: D, readOnly: O, renderValue: k, required: A, SelectDisplayProps: ie = {}, tabIndex: j, type: oe, value: se, variant: ce = "standard", ...M } = e, [N, le] = ae({
|
|
1725
1726
|
controlled: se,
|
|
1726
1727
|
default: u,
|
|
1727
1728
|
name: "Select"
|
|
@@ -1769,9 +1770,9 @@ var dt = (e) => {
|
|
|
1769
1770
|
}
|
|
1770
1771
|
}, [_]);
|
|
1771
1772
|
let J = (e, t) => {
|
|
1772
|
-
e ?
|
|
1773
|
+
e ? E && E(t) : C && C(t), V || (U(o ? null : K.clientWidth), de(e));
|
|
1773
1774
|
}, pe = (e) => {
|
|
1774
|
-
|
|
1775
|
+
re?.(e), e.button === 0 && (e.preventDefault(), R.current.focus(), J(!0, e));
|
|
1775
1776
|
}, me = (e) => {
|
|
1776
1777
|
J(!1, e);
|
|
1777
1778
|
}, Y = P.Children.toArray(s), he = (e) => {
|
|
@@ -1968,7 +1969,7 @@ process.env.NODE_ENV !== "production" && (ft.propTypes = {
|
|
|
1968
1969
|
displayEmpty: U.default.bool,
|
|
1969
1970
|
error: U.default.bool,
|
|
1970
1971
|
IconComponent: U.default.elementType.isRequired,
|
|
1971
|
-
inputRef:
|
|
1972
|
+
inputRef: C,
|
|
1972
1973
|
labelId: U.default.string,
|
|
1973
1974
|
MenuProps: U.default.object,
|
|
1974
1975
|
multiple: U.default.bool,
|
|
@@ -2123,7 +2124,7 @@ process.env.NODE_ENV !== "production" && (yt.propTypes = {
|
|
|
2123
2124
|
id: U.default.string,
|
|
2124
2125
|
inputComponent: U.default.elementType,
|
|
2125
2126
|
inputProps: U.default.object,
|
|
2126
|
-
inputRef:
|
|
2127
|
+
inputRef: C,
|
|
2127
2128
|
margin: U.default.oneOf(["dense", "none"]),
|
|
2128
2129
|
maxRows: U.default.oneOfType([U.default.number, U.default.string]),
|
|
2129
2130
|
minRows: U.default.oneOfType([U.default.number, U.default.string]),
|
|
@@ -2409,7 +2410,7 @@ process.env.NODE_ENV !== "production" && (Tt.propTypes = {
|
|
|
2409
2410
|
id: U.default.string,
|
|
2410
2411
|
inputComponent: U.default.elementType,
|
|
2411
2412
|
inputProps: U.default.object,
|
|
2412
|
-
inputRef:
|
|
2413
|
+
inputRef: C,
|
|
2413
2414
|
margin: U.default.oneOf(["dense", "none"]),
|
|
2414
2415
|
maxRows: U.default.oneOfType([U.default.number, U.default.string]),
|
|
2415
2416
|
minRows: U.default.oneOfType([U.default.number, U.default.string]),
|
|
@@ -2457,7 +2458,7 @@ var Et = (e) => {
|
|
|
2457
2458
|
let n = l({
|
|
2458
2459
|
name: "MuiSelect",
|
|
2459
2460
|
props: e
|
|
2460
|
-
}), { autoWidth: i = !1, children: a, classes: o = {}, className: s, defaultOpen: c = !1, displayEmpty: u = !1, IconComponent: d = pt, id: p, input: m, inputProps: h, label: g, labelId: _, MenuProps: v, multiple: y = !1, native: b = !1, onClose: ee, onOpen: te, open: S, renderValue: C, SelectDisplayProps: w, variant: T = "outlined", ...
|
|
2461
|
+
}), { autoWidth: i = !1, children: a, classes: o = {}, className: s, defaultOpen: c = !1, displayEmpty: u = !1, IconComponent: d = pt, id: p, input: m, inputProps: h, label: g, labelId: _, MenuProps: v, multiple: y = !1, native: b = !1, onClose: ee, onOpen: te, open: S, renderValue: C, SelectDisplayProps: w, variant: T = "outlined", ...re } = n, E = b ? tt : ft, D = Ce({
|
|
2461
2462
|
props: n,
|
|
2462
2463
|
muiFormControl: ce(),
|
|
2463
2464
|
states: ["variant", "error"]
|
|
@@ -2474,7 +2475,7 @@ var Et = (e) => {
|
|
|
2474
2475
|
filled: /* @__PURE__ */ F(At, { ownerState: k })
|
|
2475
2476
|
}[O], oe = ne(t, x(j));
|
|
2476
2477
|
return /* @__PURE__ */ F(P.Fragment, { children: /* @__PURE__ */ P.cloneElement(j, {
|
|
2477
|
-
inputComponent:
|
|
2478
|
+
inputComponent: E,
|
|
2478
2479
|
inputProps: {
|
|
2479
2480
|
children: a,
|
|
2480
2481
|
error: D.error,
|
|
@@ -2505,7 +2506,7 @@ var Et = (e) => {
|
|
|
2505
2506
|
ref: oe,
|
|
2506
2507
|
className: f(j.props.className, s, A.root),
|
|
2507
2508
|
...!m && { variant: O },
|
|
2508
|
-
...
|
|
2509
|
+
...re
|
|
2509
2510
|
}) });
|
|
2510
2511
|
});
|
|
2511
2512
|
process.env.NODE_ENV !== "production" && (jt.propTypes = {
|
|
@@ -3,8 +3,8 @@ import { _ as t } from "./createTheme-hnicUJQa.js";
|
|
|
3
3
|
import { a as n, n as r, r as i, s as a, t as o } from "./memoTheme-DiKnacj0.js";
|
|
4
4
|
import { t as s } from "./clsx-BTH_sxEO.js";
|
|
5
5
|
import { t as c } from "./styled-C0_N3zFx.js";
|
|
6
|
-
import { t as l } from "./createSimplePaletteValueFilter-
|
|
7
|
-
import { t as u } from "./typographyClasses-
|
|
6
|
+
import { t as l } from "./createSimplePaletteValueFilter-D5kxdvJe.js";
|
|
7
|
+
import { t as u } from "./typographyClasses-CBI3nZde.js";
|
|
8
8
|
import * as d from "react";
|
|
9
9
|
import { jsx as f } from "react/jsx-runtime";
|
|
10
10
|
//#region ../../node_modules/@mui/material/esm/Typography/Typography.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./createTheme-hnicUJQa.js";
|
|
2
2
|
import { o as t, s as n } from "./theme-primitives-qhf0z_Er.js";
|
|
3
|
-
import { t as r } from "./createSvgIcon-
|
|
3
|
+
import { t as r } from "./createSvgIcon-BfZYaiXo.js";
|
|
4
4
|
import { jsx as i } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/@mui/icons-material/esm/CheckBoxOutlineBlankRounded.js
|
|
6
6
|
var a = r(/* @__PURE__ */ i("path", { d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1m1-16H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2" }), "CheckBoxOutlineBlankRounded"), o = r(/* @__PURE__ */ i("path", { d: "M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z" }), "CheckRounded"), s = r(/* @__PURE__ */ i("path", { d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1" }), "RemoveRounded"), c = {
|
|
@@ -3,7 +3,7 @@ import { _ as t } from "./createTheme-hnicUJQa.js";
|
|
|
3
3
|
import { n, r, s as i, t as a } from "./memoTheme-DiKnacj0.js";
|
|
4
4
|
import { t as o } from "./clsx-BTH_sxEO.js";
|
|
5
5
|
import { t as s } from "./styled-C0_N3zFx.js";
|
|
6
|
-
import { t as c } from "./svgIconClasses-
|
|
6
|
+
import { t as c } from "./svgIconClasses-BhRa1KyZ.js";
|
|
7
7
|
import * as l from "react";
|
|
8
8
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
9
9
|
//#region ../../node_modules/@mui/material/esm/SvgIcon/SvgIcon.js
|
|
@@ -9,15 +9,4 @@ function e() {
|
|
|
9
9
|
}, e.apply(null, arguments);
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
-
|
|
13
|
-
function t(e, t) {
|
|
14
|
-
if (e == null) return {};
|
|
15
|
-
var n = {};
|
|
16
|
-
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
17
|
-
if (t.indexOf(r) !== -1) continue;
|
|
18
|
-
n[r] = e[r];
|
|
19
|
-
}
|
|
20
|
-
return n;
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { e as n, t };
|
|
12
|
+
export { e as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
if (e == null) return {};
|
|
4
|
+
var n = {};
|
|
5
|
+
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
6
|
+
if (t.indexOf(r) !== -1) continue;
|
|
7
|
+
n[r] = e[r];
|
|
8
|
+
}
|
|
9
|
+
return n;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as t };
|