@solostylist/ui-kit 1.0.210 → 1.0.212
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-DnNUuuOa.js → Download-BefdWd5q.js} +1 -1
- package/dist/{ExpandMore-Bbs9v71g.js → ExpandMore-DZANUF9W.js} +1 -1
- package/dist/{Favorite-DWeh5yvd.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-C_2diLd2.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-CVUSxXzb.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 +2 -1
- package/dist/s-avatar/s-avatar.js +3 -3
- 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-BrBZtzoF.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-CVks-zAy.js → s-chat-message-BT05O6Fa.js} +2 -2
- package/dist/s-chips/index.js +2 -1
- package/dist/s-chips/s-chips.d.ts +16 -1
- package/dist/s-chips/s-chips.js +3 -92
- package/dist/s-chips-CMivbDg_.js +95 -0
- 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-CESe31n4.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-DRTsZ8uB.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-DI2jMNS3.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-Cku9Na_3.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-UGhAPyFM.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-BeNa8mNJ.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-DdBeoNNv.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-krlrsqO8.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-DIf9s_Kp.js → s-multi-select-CRXew1KJ.js} +8 -8
- 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 +34 -0
- package/dist/s-nav-item/s-nav-item.js +80 -0
- package/dist/s-nav-item/s-nav-items.d.ts +56 -0
- package/dist/s-nav-item/s-nav-items.js +135 -0
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-D2RFW8Jx.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-RX8IAAmL.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-DMg7LUBI.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-D5F4wewz.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-nUDxnUen.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-BzGUWXjl.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-hWc9nUfo.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.d.ts +121 -0
- package/dist/theme/components/chip.js +108 -11
- 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-xci0j8Cs.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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BfZYaiXo.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
//#region ../../node_modules/@mui/icons-material/esm/ArrowUpward.js
|
|
4
4
|
var n = e(/* @__PURE__ */ t("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward");
|
|
@@ -0,0 +1,609 @@
|
|
|
1
|
+
import { n as e } from "./chunk-efA98nb6.js";
|
|
2
|
+
import { _ as t } from "./createTheme-hnicUJQa.js";
|
|
3
|
+
import { a as n } from "./esm-BYRX9r8n.js";
|
|
4
|
+
import { r, s as i } from "./memoTheme-DiKnacj0.js";
|
|
5
|
+
import { t as a } from "./clsx-BTH_sxEO.js";
|
|
6
|
+
import { t as o } from "./generateUtilityClasses-CX1nR7K3.js";
|
|
7
|
+
import { t as s } from "./styled-C0_N3zFx.js";
|
|
8
|
+
import { t as c } from "./useEnhancedEffect-DcMMtOdE.js";
|
|
9
|
+
import { c as l, d as u, l as d, p as f, s as p, u as m } from "./useSlot-BfqKgBbE.js";
|
|
10
|
+
import { t as h } from "./extends-DtvfmDTb.js";
|
|
11
|
+
import { t as g } from "./objectWithoutPropertiesLoose-Cq334jkZ.js";
|
|
12
|
+
import { n as _, t as v } from "./buttonBaseClasses-D1dQFqBk.js";
|
|
13
|
+
import * as y from "react";
|
|
14
|
+
import b, { Children as x, cloneElement as S, isValidElement as C } from "react";
|
|
15
|
+
import { jsx as w, jsxs as ee } from "react/jsx-runtime";
|
|
16
|
+
//#region ../../node_modules/@mui/utils/esm/refType/refType.js
|
|
17
|
+
var T = /* @__PURE__ */ e(t()), E = T.default.oneOfType([T.default.func, T.default.object]);
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ../../node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js
|
|
20
|
+
function te(e) {
|
|
21
|
+
try {
|
|
22
|
+
return e.matches(":focus-visible");
|
|
23
|
+
} catch {
|
|
24
|
+
process.env.NODE_ENV !== "production" && !window.navigator.userAgent.includes("jsdom") && console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.", "Some components rely on this feature to work properly."].join("\n"));
|
|
25
|
+
}
|
|
26
|
+
return !1;
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region ../../node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js
|
|
30
|
+
function D(e) {
|
|
31
|
+
let t = y.useRef(e);
|
|
32
|
+
return c(() => {
|
|
33
|
+
t.current = e;
|
|
34
|
+
}), y.useRef((...e) => (0, t.current)(...e)).current;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region ../../node_modules/@mui/material/esm/utils/useEventCallback.js
|
|
38
|
+
var O = D, k = class e {
|
|
39
|
+
static create() {
|
|
40
|
+
return new e();
|
|
41
|
+
}
|
|
42
|
+
static use() {
|
|
43
|
+
let t = m(e.create).current, [n, r] = y.useState(!1);
|
|
44
|
+
return t.shouldMount = n, t.setShouldMount = r, y.useEffect(t.mountEffect, [n]), t;
|
|
45
|
+
}
|
|
46
|
+
constructor() {
|
|
47
|
+
this.ref = { current: null }, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
|
|
48
|
+
}
|
|
49
|
+
mount() {
|
|
50
|
+
return this.mounted || (this.mounted = A(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
|
|
51
|
+
}
|
|
52
|
+
mountEffect = () => {
|
|
53
|
+
this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
|
|
54
|
+
};
|
|
55
|
+
start(...e) {
|
|
56
|
+
this.mount().then(() => this.ref.current?.start(...e));
|
|
57
|
+
}
|
|
58
|
+
stop(...e) {
|
|
59
|
+
this.mount().then(() => this.ref.current?.stop(...e));
|
|
60
|
+
}
|
|
61
|
+
pulsate(...e) {
|
|
62
|
+
this.mount().then(() => this.ref.current?.pulsate(...e));
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
function ne() {
|
|
66
|
+
return k.use();
|
|
67
|
+
}
|
|
68
|
+
function A() {
|
|
69
|
+
let e, t, n = new Promise((n, r) => {
|
|
70
|
+
e = n, t = r;
|
|
71
|
+
});
|
|
72
|
+
return n.resolve = e, n.reject = t, n;
|
|
73
|
+
}
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
76
|
+
function j(e) {
|
|
77
|
+
if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
78
|
+
return e;
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region ../../node_modules/react-transition-group/esm/utils/ChildMapping.js
|
|
82
|
+
function M(e, t) {
|
|
83
|
+
var n = function(e) {
|
|
84
|
+
return t && C(e) ? t(e) : e;
|
|
85
|
+
}, r = Object.create(null);
|
|
86
|
+
return e && x.map(e, function(e) {
|
|
87
|
+
return e;
|
|
88
|
+
}).forEach(function(e) {
|
|
89
|
+
r[e.key] = n(e);
|
|
90
|
+
}), r;
|
|
91
|
+
}
|
|
92
|
+
function N(e, t) {
|
|
93
|
+
e ||= {}, t ||= {};
|
|
94
|
+
function n(n) {
|
|
95
|
+
return n in t ? t[n] : e[n];
|
|
96
|
+
}
|
|
97
|
+
var r = Object.create(null), i = [];
|
|
98
|
+
for (var a in e) a in t ? i.length && (r[a] = i, i = []) : i.push(a);
|
|
99
|
+
var o, s = {};
|
|
100
|
+
for (var c in t) {
|
|
101
|
+
if (r[c]) for (o = 0; o < r[c].length; o++) {
|
|
102
|
+
var l = r[c][o];
|
|
103
|
+
s[r[c][o]] = n(l);
|
|
104
|
+
}
|
|
105
|
+
s[c] = n(c);
|
|
106
|
+
}
|
|
107
|
+
for (o = 0; o < i.length; o++) s[i[o]] = n(i[o]);
|
|
108
|
+
return s;
|
|
109
|
+
}
|
|
110
|
+
function P(e, t, n) {
|
|
111
|
+
return n[t] == null ? e.props[t] : n[t];
|
|
112
|
+
}
|
|
113
|
+
function F(e, t) {
|
|
114
|
+
return M(e.children, function(n) {
|
|
115
|
+
return S(n, {
|
|
116
|
+
onExited: t.bind(null, n),
|
|
117
|
+
in: !0,
|
|
118
|
+
appear: P(n, "appear", e),
|
|
119
|
+
enter: P(n, "enter", e),
|
|
120
|
+
exit: P(n, "exit", e)
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
function I(e, t, n) {
|
|
125
|
+
var r = M(e.children), i = N(t, r);
|
|
126
|
+
return Object.keys(i).forEach(function(a) {
|
|
127
|
+
var o = i[a];
|
|
128
|
+
if (C(o)) {
|
|
129
|
+
var s = a in t, c = a in r, l = t[a], u = C(l) && !l.props.in;
|
|
130
|
+
c && (!s || u) ? i[a] = S(o, {
|
|
131
|
+
onExited: n.bind(null, o),
|
|
132
|
+
in: !0,
|
|
133
|
+
exit: P(o, "exit", e),
|
|
134
|
+
enter: P(o, "enter", e)
|
|
135
|
+
}) : !c && s && !u ? i[a] = S(o, { in: !1 }) : c && s && C(l) && (i[a] = S(o, {
|
|
136
|
+
onExited: n.bind(null, o),
|
|
137
|
+
in: l.props.in,
|
|
138
|
+
exit: P(o, "exit", e),
|
|
139
|
+
enter: P(o, "enter", e)
|
|
140
|
+
}));
|
|
141
|
+
}
|
|
142
|
+
}), i;
|
|
143
|
+
}
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region ../../node_modules/react-transition-group/esm/TransitionGroup.js
|
|
146
|
+
var L = Object.values || function(e) {
|
|
147
|
+
return Object.keys(e).map(function(t) {
|
|
148
|
+
return e[t];
|
|
149
|
+
});
|
|
150
|
+
}, R = {
|
|
151
|
+
component: "div",
|
|
152
|
+
childFactory: function(e) {
|
|
153
|
+
return e;
|
|
154
|
+
}
|
|
155
|
+
}, z = /* @__PURE__ */ function(e) {
|
|
156
|
+
d(t, e);
|
|
157
|
+
function t(t, n) {
|
|
158
|
+
var r = e.call(this, t, n) || this;
|
|
159
|
+
return r.state = {
|
|
160
|
+
contextValue: { isMounting: !0 },
|
|
161
|
+
handleExited: r.handleExited.bind(j(r)),
|
|
162
|
+
firstRender: !0
|
|
163
|
+
}, r;
|
|
164
|
+
}
|
|
165
|
+
var n = t.prototype;
|
|
166
|
+
return n.componentDidMount = function() {
|
|
167
|
+
this.mounted = !0, this.setState({ contextValue: { isMounting: !1 } });
|
|
168
|
+
}, n.componentWillUnmount = function() {
|
|
169
|
+
this.mounted = !1;
|
|
170
|
+
}, t.getDerivedStateFromProps = function(e, t) {
|
|
171
|
+
var n = t.children, r = t.handleExited;
|
|
172
|
+
return {
|
|
173
|
+
children: t.firstRender ? F(e, r) : I(e, n, r),
|
|
174
|
+
firstRender: !1
|
|
175
|
+
};
|
|
176
|
+
}, n.handleExited = function(e, t) {
|
|
177
|
+
var n = M(this.props.children);
|
|
178
|
+
e.key in n || (e.props.onExited && e.props.onExited(t), this.mounted && this.setState(function(t) {
|
|
179
|
+
var n = h({}, t.children);
|
|
180
|
+
return delete n[e.key], { children: n };
|
|
181
|
+
}));
|
|
182
|
+
}, n.render = function() {
|
|
183
|
+
var e = this.props, t = e.component, n = e.childFactory, r = g(e, ["component", "childFactory"]), i = this.state.contextValue, a = L(this.state.children).map(n);
|
|
184
|
+
return delete r.appear, delete r.enter, delete r.exit, t === null ? /* @__PURE__ */ b.createElement(l.Provider, { value: i }, a) : /* @__PURE__ */ b.createElement(l.Provider, { value: i }, /* @__PURE__ */ b.createElement(t, r, a));
|
|
185
|
+
}, t;
|
|
186
|
+
}(b.Component);
|
|
187
|
+
z.propTypes = process.env.NODE_ENV === "production" ? {} : {
|
|
188
|
+
component: T.default.any,
|
|
189
|
+
children: T.default.node,
|
|
190
|
+
appear: T.default.bool,
|
|
191
|
+
enter: T.default.bool,
|
|
192
|
+
exit: T.default.bool,
|
|
193
|
+
childFactory: T.default.func
|
|
194
|
+
}, z.defaultProps = R;
|
|
195
|
+
//#endregion
|
|
196
|
+
//#region ../../node_modules/@mui/material/esm/ButtonBase/Ripple.js
|
|
197
|
+
function B(e) {
|
|
198
|
+
let { className: t, classes: n, pulsate: r = !1, rippleX: i, rippleY: o, rippleSize: s, in: c, onExited: l, timeout: u } = e, [d, f] = y.useState(!1), p = a(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), m = {
|
|
199
|
+
width: s,
|
|
200
|
+
height: s,
|
|
201
|
+
top: -(s / 2) + o,
|
|
202
|
+
left: -(s / 2) + i
|
|
203
|
+
}, h = a(n.child, d && n.childLeaving, r && n.childPulsate);
|
|
204
|
+
return !c && !d && f(!0), y.useEffect(() => {
|
|
205
|
+
if (!c && l != null) {
|
|
206
|
+
let e = setTimeout(l, u);
|
|
207
|
+
return () => {
|
|
208
|
+
clearTimeout(e);
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
}, [
|
|
212
|
+
l,
|
|
213
|
+
c,
|
|
214
|
+
u
|
|
215
|
+
]), /* @__PURE__ */ w("span", {
|
|
216
|
+
className: p,
|
|
217
|
+
style: m,
|
|
218
|
+
children: /* @__PURE__ */ w("span", { className: h })
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
process.env.NODE_ENV !== "production" && (B.propTypes = {
|
|
222
|
+
classes: T.default.object.isRequired,
|
|
223
|
+
className: T.default.string,
|
|
224
|
+
in: T.default.bool,
|
|
225
|
+
onExited: T.default.func,
|
|
226
|
+
pulsate: T.default.bool,
|
|
227
|
+
rippleSize: T.default.number,
|
|
228
|
+
rippleX: T.default.number,
|
|
229
|
+
rippleY: T.default.number,
|
|
230
|
+
timeout: T.default.number.isRequired
|
|
231
|
+
});
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region ../../node_modules/@mui/material/esm/ButtonBase/touchRippleClasses.js
|
|
234
|
+
var V = o("MuiTouchRipple", [
|
|
235
|
+
"root",
|
|
236
|
+
"ripple",
|
|
237
|
+
"rippleVisible",
|
|
238
|
+
"ripplePulsate",
|
|
239
|
+
"child",
|
|
240
|
+
"childLeaving",
|
|
241
|
+
"childPulsate"
|
|
242
|
+
]), H = 550, U = n`
|
|
243
|
+
0% {
|
|
244
|
+
transform: scale(0);
|
|
245
|
+
opacity: 0.1;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
100% {
|
|
249
|
+
transform: scale(1);
|
|
250
|
+
opacity: 0.3;
|
|
251
|
+
}
|
|
252
|
+
`, W = n`
|
|
253
|
+
0% {
|
|
254
|
+
opacity: 1;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
100% {
|
|
258
|
+
opacity: 0;
|
|
259
|
+
}
|
|
260
|
+
`, G = n`
|
|
261
|
+
0% {
|
|
262
|
+
transform: scale(1);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
50% {
|
|
266
|
+
transform: scale(0.92);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
100% {
|
|
270
|
+
transform: scale(1);
|
|
271
|
+
}
|
|
272
|
+
`, K = s("span", {
|
|
273
|
+
name: "MuiTouchRipple",
|
|
274
|
+
slot: "Root"
|
|
275
|
+
})({
|
|
276
|
+
overflow: "hidden",
|
|
277
|
+
pointerEvents: "none",
|
|
278
|
+
position: "absolute",
|
|
279
|
+
zIndex: 0,
|
|
280
|
+
top: 0,
|
|
281
|
+
right: 0,
|
|
282
|
+
bottom: 0,
|
|
283
|
+
left: 0,
|
|
284
|
+
borderRadius: "inherit"
|
|
285
|
+
}), q = s(B, {
|
|
286
|
+
name: "MuiTouchRipple",
|
|
287
|
+
slot: "Ripple"
|
|
288
|
+
})`
|
|
289
|
+
opacity: 0;
|
|
290
|
+
position: absolute;
|
|
291
|
+
|
|
292
|
+
&.${V.rippleVisible} {
|
|
293
|
+
opacity: 0.3;
|
|
294
|
+
transform: scale(1);
|
|
295
|
+
animation-name: ${U};
|
|
296
|
+
animation-duration: ${H}ms;
|
|
297
|
+
animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut};
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&.${V.ripplePulsate} {
|
|
301
|
+
animation-duration: ${({ theme: e }) => e.transitions.duration.shorter}ms;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
& .${V.child} {
|
|
305
|
+
opacity: 1;
|
|
306
|
+
display: block;
|
|
307
|
+
width: 100%;
|
|
308
|
+
height: 100%;
|
|
309
|
+
border-radius: 50%;
|
|
310
|
+
background-color: currentColor;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
& .${V.childLeaving} {
|
|
314
|
+
opacity: 0;
|
|
315
|
+
animation-name: ${W};
|
|
316
|
+
animation-duration: ${H}ms;
|
|
317
|
+
animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut};
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
& .${V.childPulsate} {
|
|
321
|
+
position: absolute;
|
|
322
|
+
/* @noflip */
|
|
323
|
+
left: 0px;
|
|
324
|
+
top: 0;
|
|
325
|
+
animation-name: ${G};
|
|
326
|
+
animation-duration: 2500ms;
|
|
327
|
+
animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut};
|
|
328
|
+
animation-iteration-count: infinite;
|
|
329
|
+
animation-delay: 200ms;
|
|
330
|
+
}
|
|
331
|
+
`, J = /* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
332
|
+
let { center: n = !1, classes: i = {}, className: o, ...s } = r({
|
|
333
|
+
props: e,
|
|
334
|
+
name: "MuiTouchRipple"
|
|
335
|
+
}), [c, l] = y.useState([]), u = y.useRef(0), d = y.useRef(null);
|
|
336
|
+
y.useEffect(() => {
|
|
337
|
+
d.current &&= (d.current(), null);
|
|
338
|
+
}, [c]);
|
|
339
|
+
let f = y.useRef(!1), m = p(), h = y.useRef(null), g = y.useRef(null), _ = y.useCallback((e) => {
|
|
340
|
+
let { pulsate: t, rippleX: n, rippleY: r, rippleSize: o, cb: s } = e;
|
|
341
|
+
l((e) => [...e, /* @__PURE__ */ w(q, {
|
|
342
|
+
classes: {
|
|
343
|
+
ripple: a(i.ripple, V.ripple),
|
|
344
|
+
rippleVisible: a(i.rippleVisible, V.rippleVisible),
|
|
345
|
+
ripplePulsate: a(i.ripplePulsate, V.ripplePulsate),
|
|
346
|
+
child: a(i.child, V.child),
|
|
347
|
+
childLeaving: a(i.childLeaving, V.childLeaving),
|
|
348
|
+
childPulsate: a(i.childPulsate, V.childPulsate)
|
|
349
|
+
},
|
|
350
|
+
timeout: H,
|
|
351
|
+
pulsate: t,
|
|
352
|
+
rippleX: n,
|
|
353
|
+
rippleY: r,
|
|
354
|
+
rippleSize: o
|
|
355
|
+
}, u.current)]), u.current += 1, d.current = s;
|
|
356
|
+
}, [i]), v = y.useCallback((e = {}, t = {}, r = () => {}) => {
|
|
357
|
+
let { pulsate: i = !1, center: a = n || t.pulsate, fakeElement: o = !1 } = t;
|
|
358
|
+
if (e?.type === "mousedown" && f.current) {
|
|
359
|
+
f.current = !1;
|
|
360
|
+
return;
|
|
361
|
+
}
|
|
362
|
+
e?.type === "touchstart" && (f.current = !0);
|
|
363
|
+
let s = o ? null : g.current, c = s ? s.getBoundingClientRect() : {
|
|
364
|
+
width: 0,
|
|
365
|
+
height: 0,
|
|
366
|
+
left: 0,
|
|
367
|
+
top: 0
|
|
368
|
+
}, l, u, d;
|
|
369
|
+
if (a || e === void 0 || e.clientX === 0 && e.clientY === 0 || !e.clientX && !e.touches) l = Math.round(c.width / 2), u = Math.round(c.height / 2);
|
|
370
|
+
else {
|
|
371
|
+
let { clientX: t, clientY: n } = e.touches && e.touches.length > 0 ? e.touches[0] : e;
|
|
372
|
+
l = Math.round(t - c.left), u = Math.round(n - c.top);
|
|
373
|
+
}
|
|
374
|
+
if (a) d = Math.sqrt((2 * c.width ** 2 + c.height ** 2) / 3), d % 2 == 0 && (d += 1);
|
|
375
|
+
else {
|
|
376
|
+
let e = Math.max(Math.abs((s ? s.clientWidth : 0) - l), l) * 2 + 2, t = Math.max(Math.abs((s ? s.clientHeight : 0) - u), u) * 2 + 2;
|
|
377
|
+
d = Math.sqrt(e ** 2 + t ** 2);
|
|
378
|
+
}
|
|
379
|
+
e?.touches ? h.current === null && (h.current = () => {
|
|
380
|
+
_({
|
|
381
|
+
pulsate: i,
|
|
382
|
+
rippleX: l,
|
|
383
|
+
rippleY: u,
|
|
384
|
+
rippleSize: d,
|
|
385
|
+
cb: r
|
|
386
|
+
});
|
|
387
|
+
}, m.start(80, () => {
|
|
388
|
+
h.current &&= (h.current(), null);
|
|
389
|
+
})) : _({
|
|
390
|
+
pulsate: i,
|
|
391
|
+
rippleX: l,
|
|
392
|
+
rippleY: u,
|
|
393
|
+
rippleSize: d,
|
|
394
|
+
cb: r
|
|
395
|
+
});
|
|
396
|
+
}, [
|
|
397
|
+
n,
|
|
398
|
+
_,
|
|
399
|
+
m
|
|
400
|
+
]), b = y.useCallback(() => {
|
|
401
|
+
v({}, { pulsate: !0 });
|
|
402
|
+
}, [v]), x = y.useCallback((e, t) => {
|
|
403
|
+
if (m.clear(), e?.type === "touchend" && h.current) {
|
|
404
|
+
h.current(), h.current = null, m.start(0, () => {
|
|
405
|
+
x(e, t);
|
|
406
|
+
});
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
409
|
+
h.current = null, l((e) => e.length > 0 ? e.slice(1) : e), d.current = t;
|
|
410
|
+
}, [m]);
|
|
411
|
+
return y.useImperativeHandle(t, () => ({
|
|
412
|
+
pulsate: b,
|
|
413
|
+
start: v,
|
|
414
|
+
stop: x
|
|
415
|
+
}), [
|
|
416
|
+
b,
|
|
417
|
+
v,
|
|
418
|
+
x
|
|
419
|
+
]), /* @__PURE__ */ w(K, {
|
|
420
|
+
className: a(V.root, i.root, o),
|
|
421
|
+
ref: g,
|
|
422
|
+
...s,
|
|
423
|
+
children: /* @__PURE__ */ w(z, {
|
|
424
|
+
component: null,
|
|
425
|
+
exit: !0,
|
|
426
|
+
children: c
|
|
427
|
+
})
|
|
428
|
+
});
|
|
429
|
+
});
|
|
430
|
+
process.env.NODE_ENV !== "production" && (J.propTypes = {
|
|
431
|
+
center: T.default.bool,
|
|
432
|
+
classes: T.default.object,
|
|
433
|
+
className: T.default.string
|
|
434
|
+
});
|
|
435
|
+
//#endregion
|
|
436
|
+
//#region ../../node_modules/@mui/material/esm/ButtonBase/ButtonBase.js
|
|
437
|
+
var re = (e) => {
|
|
438
|
+
let { disabled: t, focusVisible: n, focusVisibleClassName: r, classes: a } = e, o = i({ root: [
|
|
439
|
+
"root",
|
|
440
|
+
t && "disabled",
|
|
441
|
+
n && "focusVisible"
|
|
442
|
+
] }, _, a);
|
|
443
|
+
return n && r && (o.root += ` ${r}`), o;
|
|
444
|
+
}, ie = s("button", {
|
|
445
|
+
name: "MuiButtonBase",
|
|
446
|
+
slot: "Root"
|
|
447
|
+
})({
|
|
448
|
+
display: "inline-flex",
|
|
449
|
+
alignItems: "center",
|
|
450
|
+
justifyContent: "center",
|
|
451
|
+
position: "relative",
|
|
452
|
+
boxSizing: "border-box",
|
|
453
|
+
WebkitTapHighlightColor: "transparent",
|
|
454
|
+
backgroundColor: "transparent",
|
|
455
|
+
outline: 0,
|
|
456
|
+
border: 0,
|
|
457
|
+
margin: 0,
|
|
458
|
+
borderRadius: 0,
|
|
459
|
+
padding: 0,
|
|
460
|
+
cursor: "pointer",
|
|
461
|
+
userSelect: "none",
|
|
462
|
+
verticalAlign: "middle",
|
|
463
|
+
MozAppearance: "none",
|
|
464
|
+
WebkitAppearance: "none",
|
|
465
|
+
textDecoration: "none",
|
|
466
|
+
color: "inherit",
|
|
467
|
+
"&::-moz-focus-inner": { borderStyle: "none" },
|
|
468
|
+
[`&.${v.disabled}`]: {
|
|
469
|
+
pointerEvents: "none",
|
|
470
|
+
cursor: "default"
|
|
471
|
+
},
|
|
472
|
+
"@media print": { colorAdjust: "exact" }
|
|
473
|
+
}), Y = /* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
474
|
+
let n = r({
|
|
475
|
+
props: e,
|
|
476
|
+
name: "MuiButtonBase"
|
|
477
|
+
}), { action: i, centerRipple: o = !1, children: s, className: c, component: l = "button", disabled: d = !1, disableRipple: f = !1, disableTouchRipple: p = !1, focusRipple: m = !1, focusVisibleClassName: h, LinkComponent: g = "a", onBlur: _, onClick: v, onContextMenu: b, onDragLeave: x, onFocus: S, onFocusVisible: C, onKeyDown: T, onKeyUp: E, onMouseDown: D, onMouseLeave: k, onMouseUp: A, onTouchEnd: j, onTouchMove: M, onTouchStart: N, tabIndex: P = 0, TouchRippleProps: F, touchRippleRef: I, type: L, ...R } = n, z = y.useRef(null), B = ne(), V = u(B.ref, I), [H, U] = y.useState(!1);
|
|
478
|
+
d && H && U(!1), y.useImperativeHandle(i, () => ({ focusVisible: () => {
|
|
479
|
+
U(!0), z.current.focus();
|
|
480
|
+
} }), []);
|
|
481
|
+
let W = B.shouldMount && !f && !d;
|
|
482
|
+
y.useEffect(() => {
|
|
483
|
+
H && m && !f && B.pulsate();
|
|
484
|
+
}, [
|
|
485
|
+
f,
|
|
486
|
+
m,
|
|
487
|
+
H,
|
|
488
|
+
B
|
|
489
|
+
]);
|
|
490
|
+
let G = X(B, "start", D, p), K = X(B, "stop", b, p), q = X(B, "stop", x, p), Y = X(B, "stop", A, p), ae = X(B, "stop", (e) => {
|
|
491
|
+
H && e.preventDefault(), k && k(e);
|
|
492
|
+
}, p), oe = X(B, "start", N, p), se = X(B, "stop", j, p), ce = X(B, "stop", M, p), le = X(B, "stop", (e) => {
|
|
493
|
+
te(e.target) || U(!1), _ && _(e);
|
|
494
|
+
}, !1), ue = O((e) => {
|
|
495
|
+
z.current ||= e.currentTarget, te(e.target) && (U(!0), C && C(e)), S && S(e);
|
|
496
|
+
}), Z = () => {
|
|
497
|
+
let e = z.current;
|
|
498
|
+
return l && l !== "button" && !(e.tagName === "A" && e.href);
|
|
499
|
+
}, de = O((e) => {
|
|
500
|
+
m && !e.repeat && H && e.key === " " && B.stop(e, () => {
|
|
501
|
+
B.start(e);
|
|
502
|
+
}), e.target === e.currentTarget && Z() && e.key === " " && e.preventDefault(), T && T(e), e.target === e.currentTarget && Z() && e.key === "Enter" && !d && (e.preventDefault(), v && v(e));
|
|
503
|
+
}), fe = O((e) => {
|
|
504
|
+
m && e.key === " " && H && !e.defaultPrevented && B.stop(e, () => {
|
|
505
|
+
B.pulsate(e);
|
|
506
|
+
}), E && E(e), v && e.target === e.currentTarget && Z() && e.key === " " && !e.defaultPrevented && v(e);
|
|
507
|
+
}), Q = l;
|
|
508
|
+
Q === "button" && (R.href || R.to) && (Q = g);
|
|
509
|
+
let $ = {};
|
|
510
|
+
if (Q === "button") {
|
|
511
|
+
let e = !!R.formAction;
|
|
512
|
+
$.type = L === void 0 && !e ? "button" : L, $.disabled = d;
|
|
513
|
+
} else !R.href && !R.to && ($.role = "button"), d && ($["aria-disabled"] = d);
|
|
514
|
+
let pe = u(t, z), me = {
|
|
515
|
+
...n,
|
|
516
|
+
centerRipple: o,
|
|
517
|
+
component: l,
|
|
518
|
+
disabled: d,
|
|
519
|
+
disableRipple: f,
|
|
520
|
+
disableTouchRipple: p,
|
|
521
|
+
focusRipple: m,
|
|
522
|
+
tabIndex: P,
|
|
523
|
+
focusVisible: H
|
|
524
|
+
}, he = re(me);
|
|
525
|
+
return /* @__PURE__ */ ee(ie, {
|
|
526
|
+
as: Q,
|
|
527
|
+
className: a(he.root, c),
|
|
528
|
+
ownerState: me,
|
|
529
|
+
onBlur: le,
|
|
530
|
+
onClick: v,
|
|
531
|
+
onContextMenu: K,
|
|
532
|
+
onFocus: ue,
|
|
533
|
+
onKeyDown: de,
|
|
534
|
+
onKeyUp: fe,
|
|
535
|
+
onMouseDown: G,
|
|
536
|
+
onMouseLeave: ae,
|
|
537
|
+
onMouseUp: Y,
|
|
538
|
+
onDragLeave: q,
|
|
539
|
+
onTouchEnd: se,
|
|
540
|
+
onTouchMove: ce,
|
|
541
|
+
onTouchStart: oe,
|
|
542
|
+
ref: pe,
|
|
543
|
+
tabIndex: d ? -1 : P,
|
|
544
|
+
type: L,
|
|
545
|
+
...$,
|
|
546
|
+
...R,
|
|
547
|
+
children: [s, W ? /* @__PURE__ */ w(J, {
|
|
548
|
+
ref: V,
|
|
549
|
+
center: o,
|
|
550
|
+
...F
|
|
551
|
+
}) : null]
|
|
552
|
+
});
|
|
553
|
+
});
|
|
554
|
+
function X(e, t, n, r = !1) {
|
|
555
|
+
return O((i) => (n && n(i), r || e[t](i), !0));
|
|
556
|
+
}
|
|
557
|
+
process.env.NODE_ENV !== "production" && (Y.propTypes = {
|
|
558
|
+
action: E,
|
|
559
|
+
centerRipple: T.default.bool,
|
|
560
|
+
children: T.default.node,
|
|
561
|
+
classes: T.default.object,
|
|
562
|
+
className: T.default.string,
|
|
563
|
+
component: f,
|
|
564
|
+
disabled: T.default.bool,
|
|
565
|
+
disableRipple: T.default.bool,
|
|
566
|
+
disableTouchRipple: T.default.bool,
|
|
567
|
+
focusRipple: T.default.bool,
|
|
568
|
+
focusVisibleClassName: T.default.string,
|
|
569
|
+
formAction: T.default.oneOfType([T.default.func, T.default.string]),
|
|
570
|
+
href: T.default.any,
|
|
571
|
+
LinkComponent: T.default.elementType,
|
|
572
|
+
onBlur: T.default.func,
|
|
573
|
+
onClick: T.default.func,
|
|
574
|
+
onContextMenu: T.default.func,
|
|
575
|
+
onDragLeave: T.default.func,
|
|
576
|
+
onFocus: T.default.func,
|
|
577
|
+
onFocusVisible: T.default.func,
|
|
578
|
+
onKeyDown: T.default.func,
|
|
579
|
+
onKeyUp: T.default.func,
|
|
580
|
+
onMouseDown: T.default.func,
|
|
581
|
+
onMouseLeave: T.default.func,
|
|
582
|
+
onMouseUp: T.default.func,
|
|
583
|
+
onTouchEnd: T.default.func,
|
|
584
|
+
onTouchMove: T.default.func,
|
|
585
|
+
onTouchStart: T.default.func,
|
|
586
|
+
sx: T.default.oneOfType([
|
|
587
|
+
T.default.arrayOf(T.default.oneOfType([
|
|
588
|
+
T.default.func,
|
|
589
|
+
T.default.object,
|
|
590
|
+
T.default.bool
|
|
591
|
+
])),
|
|
592
|
+
T.default.func,
|
|
593
|
+
T.default.object
|
|
594
|
+
]),
|
|
595
|
+
tabIndex: T.default.number,
|
|
596
|
+
TouchRippleProps: T.default.object,
|
|
597
|
+
touchRippleRef: T.default.oneOfType([T.default.func, T.default.shape({ current: T.default.shape({
|
|
598
|
+
pulsate: T.default.func.isRequired,
|
|
599
|
+
start: T.default.func.isRequired,
|
|
600
|
+
stop: T.default.func.isRequired
|
|
601
|
+
}) })]),
|
|
602
|
+
type: T.default.oneOfType([T.default.oneOf([
|
|
603
|
+
"button",
|
|
604
|
+
"reset",
|
|
605
|
+
"submit"
|
|
606
|
+
]), T.default.string])
|
|
607
|
+
});
|
|
608
|
+
//#endregion
|
|
609
|
+
export { E as a, D as i, z as n, O as r, Y as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BfZYaiXo.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
//#region ../../node_modules/@mui/icons-material/esm/ChevronLeft.js
|
|
4
4
|
var n = e(/* @__PURE__ */ t("path", { d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z" }), "ChevronLeft");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BfZYaiXo.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
//#region ../../node_modules/@mui/icons-material/esm/ChevronRight.js
|
|
4
4
|
var n = e(/* @__PURE__ */ t("path", { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }), "ChevronRight");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BfZYaiXo.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
//#region ../../node_modules/@mui/icons-material/esm/Close.js
|
|
4
4
|
var n = e(/* @__PURE__ */ t("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), "Close");
|