@cgi-learning-hub/ui 1.1.0-dev.1724252058 → 1.1.0-dev.1724331727
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-Bawb5zHX.js → Box-esDTbXB3.js} +13 -13
- package/dist/{Button-C__-QOJY.js → Button-AGmTBZc6.js} +3 -3
- package/dist/{ButtonBase-4F5roLHd.js → ButtonBase-SWE4hCL5.js} +26 -26
- package/dist/{CircularProgress-BNazIBar.js → CircularProgress-B1FGa0GI.js} +3 -3
- package/dist/{DatePicker-DGVeagTz.js → DatePicker-CBbEZtFp.js} +17 -17
- package/dist/{DefaultButton-F67BOmrx.js → DefaultButton-Ctg4CY0U.js} +5 -5
- package/dist/{IconButton-D_deQOvN.js → IconButton-CSDSU5zJ.js} +4 -4
- package/dist/{InputAdornment-hNrnvXW9.js → InputAdornment-Bcu9I8uS.js} +8 -8
- package/dist/{InputBase-DNkF-TAp.js → InputBase-DUJMZhoC.js} +4 -4
- package/dist/{Stack-BJ2ths-g.js → Stack-D91dopIg.js} +6 -6
- package/dist/{Tabs-CWujD0SK.js → Tabs-tHFGULLQ.js} +6 -6
- package/dist/{TextField-DDmGQyEr.js → TextField-B4qTEIO2.js} +6 -6
- package/dist/{Tooltip-D42pzHKW.js → Tooltip-BNHvGJbI.js} +15 -15
- package/dist/{Typography-B2XMXu83.js → Typography-DKaWjusd.js} +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
- package/dist/components/PaperHeader/PaperHeader.stories.es.js +2 -2
- package/dist/components/UserSelectionSection/index.cjs.js +1 -0
- package/dist/components/UserSelectionSection/index.d.ts +3 -0
- package/dist/components/UserSelectionSection/index.es.js +62 -0
- package/dist/components/UserSelectionSection/style.cjs.js +1 -0
- package/dist/components/UserSelectionSection/style.es.js +44 -0
- package/dist/components/UserSelectionSection/types.cjs.js +1 -0
- package/dist/components/UserSelectionSection/types.d.ts +34 -0
- package/dist/components/UserSelectionSection/types.es.js +1 -0
- package/dist/components/UserSelectionSection/utils.cjs.js +1 -0
- package/dist/components/UserSelectionSection/utils.d.ts +10 -0
- package/dist/components/UserSelectionSection/utils.es.js +13 -0
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +2 -2
- package/dist/components/buttons/DefaultButton/index.es.js +1 -1
- package/dist/components/buttons/IconButton.stories.es.js +3 -3
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/buttons/index.es.js +1 -1
- package/dist/components/feedback/QueryError/QueryError.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.es.js +109 -107
- package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/inputs/PasswordInput/PasswordInput.es.js +11 -10
- package/dist/components/inputs/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/inputs/TextInput/TextInput.es.js +1 -1
- package/dist/components/lists/FileList/FileList.es.js +1 -1
- package/dist/components/lists/FileList/FileListItem.es.js +6 -6
- package/dist/components/lists/TabList.stories.es.js +4 -4
- package/dist/components/pickers/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/pickers/DatePicker/DatePicker.stories.es.js +1 -1
- package/dist/components/pickers/DatePicker/index.es.js +1 -1
- package/dist/components/pickers/index.es.js +1 -1
- package/dist/{createStyled-CzVedz8V.js → createStyled-D33y37iM.js} +2 -2
- package/dist/{createSvgIcon-DjuUwmEp.js → createSvgIcon-BSaiInKs.js} +9 -9
- package/dist/{createSvgIcon-B8vHI3I6.js → createSvgIcon-CqnqGmKb.js} +2 -2
- package/dist/{fr-By4s91yO.js → fr-C9KY9a-o.js} +13 -13
- package/dist/{identifier-D-ng7Qqa.js → identifier-7t6x6NpL.js} +6 -6
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +109 -107
- package/dist/{refType-COGEdfch.js → refType-DD4W022k.js} +1 -1
- package/dist/{styled-xiAudcD_.js → styled-JogyYCCE.js} +18 -18
- package/dist/{useTheme-CjBTq22m.js → useTheme-BiK-zs4C.js} +1 -1
- package/dist/{useTheme-iNHILPzK.js → useTheme-Bu2IMnsb.js} +7 -7
- package/dist/{useThemeProps-BM4fCFq5.js → useThemeProps-Bah1TqHr.js} +2 -2
- package/dist/useThemeProps-D6xdJZDK.js +17 -0
- package/package.json +1 -1
- package/dist/useThemeProps-BVvSbkPP.js +0 -17
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as h, t as T, z as
|
|
2
|
-
import * as
|
|
3
|
-
import { u as
|
|
1
|
+
import { s as h, t as T, z as y, _ as B, m as N, y as C, w as b, d as _, T as P, C as g, P as e } from "./identifier-7t6x6NpL.js";
|
|
2
|
+
import * as j from "react";
|
|
3
|
+
import { u as v } from "./useTheme-BiK-zs4C.js";
|
|
4
4
|
import { jsx as E } from "react/jsx-runtime";
|
|
5
5
|
const O = ["className", "component"];
|
|
6
|
-
function
|
|
6
|
+
function w(m = {}) {
|
|
7
7
|
const {
|
|
8
8
|
themeId: t,
|
|
9
9
|
defaultTheme: l,
|
|
@@ -12,12 +12,12 @@ function I(m = {}) {
|
|
|
12
12
|
} = m, x = h("div", {
|
|
13
13
|
shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
|
|
14
14
|
})(T);
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
const s =
|
|
15
|
+
return /* @__PURE__ */ j.forwardRef(function(d, u) {
|
|
16
|
+
const s = v(l), r = y(d), {
|
|
17
17
|
className: f,
|
|
18
18
|
component: i = "div"
|
|
19
|
-
} = r, p =
|
|
20
|
-
return /* @__PURE__ */ E(x,
|
|
19
|
+
} = r, p = B(r, O);
|
|
20
|
+
return /* @__PURE__ */ E(x, N({
|
|
21
21
|
as: i,
|
|
22
22
|
ref: u,
|
|
23
23
|
className: C(f, n ? n(a) : a),
|
|
@@ -25,11 +25,11 @@ function I(m = {}) {
|
|
|
25
25
|
}, p));
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
const
|
|
28
|
+
const I = b("MuiBox", ["root"]), M = I, R = _(), c = w({
|
|
29
29
|
themeId: P,
|
|
30
|
-
defaultTheme:
|
|
31
|
-
defaultClassName:
|
|
32
|
-
generateClassName:
|
|
30
|
+
defaultTheme: R,
|
|
31
|
+
defaultClassName: M.root,
|
|
32
|
+
generateClassName: g.generate
|
|
33
33
|
});
|
|
34
34
|
process.env.NODE_ENV !== "production" && (c.propTypes = {
|
|
35
35
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
@@ -53,5 +53,5 @@ process.env.NODE_ENV !== "production" && (c.propTypes = {
|
|
|
53
53
|
const z = c;
|
|
54
54
|
export {
|
|
55
55
|
z as B,
|
|
56
|
-
|
|
56
|
+
M as b
|
|
57
57
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as D, w as F, q as r, m as t, x as v, _ as G, y as m, P as n } from "./identifier-7t6x6NpL.js";
|
|
2
2
|
import * as p from "react";
|
|
3
|
-
import { s as f, a as U, r as H, u as q, c as A } from "./styled-
|
|
3
|
+
import { s as f, a as U, r as H, u as q, c as A } from "./styled-JogyYCCE.js";
|
|
4
4
|
import { jsx as R, jsxs as J } from "react/jsx-runtime";
|
|
5
|
-
import { B as K } from "./ButtonBase-
|
|
5
|
+
import { B as K } from "./ButtonBase-SWE4hCL5.js";
|
|
6
6
|
function Q(o) {
|
|
7
7
|
return D("MuiButton", o);
|
|
8
8
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { m as Y, _ as ie, P as e,
|
|
1
|
+
import { m as Y, _ as ie, P as e, y as v, w as ye, v as Ke } from "./identifier-7t6x6NpL.js";
|
|
2
2
|
import * as p from "react";
|
|
3
3
|
import W, { Children as Xe, isValidElement as G, cloneElement as J } from "react";
|
|
4
|
-
import { s as re, u as Te, c as Ye } from "./styled-
|
|
4
|
+
import { s as re, u as Te, c as Ye } from "./styled-JogyYCCE.js";
|
|
5
5
|
import { jsx as U, jsxs as Ae } from "react/jsx-runtime";
|
|
6
6
|
import { a as qe, u as H } from "./useTimeout-BdvDipeg.js";
|
|
7
7
|
import { _ as We, T as de } from "./TransitionGroupContext-BkoHK5Kx.js";
|
|
8
8
|
import { keyframes as se } from "@emotion/react";
|
|
9
9
|
import { a as he } from "./useForkRef-DwN_Iz9R.js";
|
|
10
10
|
import { u as He } from "./useIsFocusVisible-DhASXQ4o.js";
|
|
11
|
-
import { r as Ge, e as Je } from "./refType-
|
|
11
|
+
import { r as Ge, e as Je } from "./refType-DD4W022k.js";
|
|
12
12
|
function Qe(t) {
|
|
13
13
|
if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
14
14
|
return t;
|
|
@@ -200,12 +200,12 @@ function Me(t) {
|
|
|
200
200
|
in: c,
|
|
201
201
|
onExited: u,
|
|
202
202
|
timeout: f
|
|
203
|
-
} = t, [h, y] = p.useState(!1), g =
|
|
203
|
+
} = t, [h, y] = p.useState(!1), g = v(s, a.ripple, a.rippleVisible, l && a.ripplePulsate), x = {
|
|
204
204
|
width: i,
|
|
205
205
|
height: i,
|
|
206
206
|
top: -(i / 2) + n,
|
|
207
207
|
left: -(i / 2) + o
|
|
208
|
-
}, m =
|
|
208
|
+
}, m = v(a.child, h && a.childLeaving, l && a.childPulsate);
|
|
209
209
|
return !c && !h && y(!0), p.useEffect(() => {
|
|
210
210
|
if (!c && u != null) {
|
|
211
211
|
const T = setTimeout(u, f);
|
|
@@ -215,7 +215,7 @@ function Me(t) {
|
|
|
215
215
|
}
|
|
216
216
|
}, [u, c, f]), /* @__PURE__ */ U("span", {
|
|
217
217
|
className: g,
|
|
218
|
-
style:
|
|
218
|
+
style: x,
|
|
219
219
|
children: /* @__PURE__ */ U("span", {
|
|
220
220
|
className: m
|
|
221
221
|
})
|
|
@@ -367,7 +367,7 @@ const oe = 550, rt = 80, st = se(me || (me = Q`
|
|
|
367
367
|
p.useEffect(() => {
|
|
368
368
|
y.current && (y.current(), y.current = null);
|
|
369
369
|
}, [u]);
|
|
370
|
-
const g = p.useRef(!1),
|
|
370
|
+
const g = p.useRef(!1), x = qe(), m = p.useRef(null), T = p.useRef(null), $ = p.useCallback((d) => {
|
|
371
371
|
const {
|
|
372
372
|
pulsate: M,
|
|
373
373
|
rippleX: E,
|
|
@@ -377,12 +377,12 @@ const oe = 550, rt = 80, st = se(me || (me = Q`
|
|
|
377
377
|
} = d;
|
|
378
378
|
f((C) => [...C, /* @__PURE__ */ U(ct, {
|
|
379
379
|
classes: {
|
|
380
|
-
ripple:
|
|
381
|
-
rippleVisible:
|
|
382
|
-
ripplePulsate:
|
|
383
|
-
child:
|
|
384
|
-
childLeaving:
|
|
385
|
-
childPulsate:
|
|
380
|
+
ripple: v(n.ripple, b.ripple),
|
|
381
|
+
rippleVisible: v(n.rippleVisible, b.rippleVisible),
|
|
382
|
+
ripplePulsate: v(n.ripplePulsate, b.ripplePulsate),
|
|
383
|
+
child: v(n.child, b.child),
|
|
384
|
+
childLeaving: v(n.childLeaving, b.childLeaving),
|
|
385
|
+
childPulsate: v(n.childPulsate, b.childPulsate)
|
|
386
386
|
},
|
|
387
387
|
timeout: oe,
|
|
388
388
|
pulsate: M,
|
|
@@ -433,7 +433,7 @@ const oe = 550, rt = 80, st = se(me || (me = Q`
|
|
|
433
433
|
rippleSize: w,
|
|
434
434
|
cb: E
|
|
435
435
|
});
|
|
436
|
-
},
|
|
436
|
+
}, x.start(rt, () => {
|
|
437
437
|
m.current && (m.current(), m.current = null);
|
|
438
438
|
})) : $({
|
|
439
439
|
pulsate: S,
|
|
@@ -442,25 +442,25 @@ const oe = 550, rt = 80, st = se(me || (me = Q`
|
|
|
442
442
|
rippleSize: w,
|
|
443
443
|
cb: E
|
|
444
444
|
});
|
|
445
|
-
}, [o, $,
|
|
445
|
+
}, [o, $, x]), j = p.useCallback(() => {
|
|
446
446
|
_({}, {
|
|
447
447
|
pulsate: !0
|
|
448
448
|
});
|
|
449
449
|
}, [_]), O = p.useCallback((d, M) => {
|
|
450
|
-
if (
|
|
451
|
-
m.current(), m.current = null,
|
|
450
|
+
if (x.clear(), (d == null ? void 0 : d.type) === "touchend" && m.current) {
|
|
451
|
+
m.current(), m.current = null, x.start(0, () => {
|
|
452
452
|
O(d, M);
|
|
453
453
|
});
|
|
454
454
|
return;
|
|
455
455
|
}
|
|
456
456
|
m.current = null, f((E) => E.length > 0 ? E.slice(1) : E), y.current = M;
|
|
457
|
-
}, [
|
|
457
|
+
}, [x]);
|
|
458
458
|
return p.useImperativeHandle(a, () => ({
|
|
459
459
|
pulsate: j,
|
|
460
460
|
start: _,
|
|
461
461
|
stop: O
|
|
462
462
|
}), [j, _, O]), /* @__PURE__ */ U(ut, Y({
|
|
463
|
-
className:
|
|
463
|
+
className: v(b.root, n.root, i),
|
|
464
464
|
ref: T
|
|
465
465
|
}, c, {
|
|
466
466
|
children: /* @__PURE__ */ U(le, {
|
|
@@ -555,7 +555,7 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
|
|
|
555
555
|
disableRipple: h = !1,
|
|
556
556
|
disableTouchRipple: y = !1,
|
|
557
557
|
focusRipple: g = !1,
|
|
558
|
-
LinkComponent:
|
|
558
|
+
LinkComponent: x = "a",
|
|
559
559
|
onBlur: m,
|
|
560
560
|
onClick: T,
|
|
561
561
|
onContextMenu: $,
|
|
@@ -576,8 +576,8 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
|
|
|
576
576
|
type: L
|
|
577
577
|
} = l, N = ie(l, dt), K = p.useRef(null), R = p.useRef(null), Ce = he(R, w), {
|
|
578
578
|
isFocusVisibleRef: ue,
|
|
579
|
-
onFocus:
|
|
580
|
-
onBlur:
|
|
579
|
+
onFocus: ve,
|
|
580
|
+
onBlur: xe,
|
|
581
581
|
ref: Ve
|
|
582
582
|
} = He(), [k, A] = p.useState(!1);
|
|
583
583
|
f && k && A(!1), p.useImperativeHandle(o, () => ({
|
|
@@ -599,9 +599,9 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
|
|
|
599
599
|
const De = D("start", E), Pe = D("stop", $), Be = D("stop", _), we = D("stop", I), Se = D("stop", (r) => {
|
|
600
600
|
k && r.preventDefault(), S && S(r);
|
|
601
601
|
}), Le = D("start", P), ke = D("stop", z), Fe = D("stop", C), _e = D("stop", (r) => {
|
|
602
|
-
|
|
602
|
+
xe(r), ue.current === !1 && A(!1), m && m(r);
|
|
603
603
|
}, !1), Oe = H((r) => {
|
|
604
|
-
K.current || (K.current = r.currentTarget),
|
|
604
|
+
K.current || (K.current = r.currentTarget), ve(r), ue.current === !0 && (A(!0), O && O(r)), j && j(r);
|
|
605
605
|
}), te = () => {
|
|
606
606
|
const r = K.current;
|
|
607
607
|
return u && u !== "button" && !(r.tagName === "A" && r.href);
|
|
@@ -615,7 +615,7 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
|
|
|
615
615
|
})), M && M(r), T && r.target === r.currentTarget && te() && r.key === " " && !r.defaultPrevented && T(r);
|
|
616
616
|
});
|
|
617
617
|
let q = u;
|
|
618
|
-
q === "button" && (N.href || N.to) && (q =
|
|
618
|
+
q === "button" && (N.href || N.to) && (q = x);
|
|
619
619
|
const X = {};
|
|
620
620
|
q === "button" ? (X.type = L === void 0 ? "button" : L, X.disabled = f) : (!N.href && !N.to && (X.role = "button"), f && (X["aria-disabled"] = f));
|
|
621
621
|
const $e = he(a, Ve, K);
|
|
@@ -635,7 +635,7 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
|
|
|
635
635
|
}), je = ht(ce);
|
|
636
636
|
return /* @__PURE__ */ Ae(mt, Y({
|
|
637
637
|
as: q,
|
|
638
|
-
className:
|
|
638
|
+
className: v(je.root, c),
|
|
639
639
|
ownerState: ce,
|
|
640
640
|
onBlur: _e,
|
|
641
641
|
onClick: T,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as T, w as j, q as l, m as i, _ as U, y as z, P as e } from "./identifier-7t6x6NpL.js";
|
|
2
2
|
import * as E from "react";
|
|
3
|
-
import { s as y, u as I, c as F } from "./styled-
|
|
3
|
+
import { s as y, u as I, c as F } from "./styled-JogyYCCE.js";
|
|
4
4
|
import { jsx as g } from "react/jsx-runtime";
|
|
5
|
-
import { c as K } from "./refType-
|
|
5
|
+
import { c as K } from "./refType-DD4W022k.js";
|
|
6
6
|
import { keyframes as D, css as _ } from "@emotion/react";
|
|
7
7
|
function V(r) {
|
|
8
8
|
return T("MuiCircularProgress", r);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsx as I, jsxs as ye } from "react/jsx-runtime";
|
|
2
|
-
import { r as ea } from "./fr-
|
|
3
|
-
import { m as f,
|
|
2
|
+
import { r as ea } from "./fr-C9KY9a-o.js";
|
|
3
|
+
import { m as f, y as ue, _ as ne, L as ro, a4 as ta, P as n, v as pe, w as fe, q as le, x as Pe, a5 as gt, J as Lt } from "./identifier-7t6x6NpL.js";
|
|
4
4
|
import * as v from "react";
|
|
5
5
|
import Pn from "react";
|
|
6
|
-
import { u as ge } from "./useThemeProps-
|
|
7
|
-
import { a as na } from "./useTheme-
|
|
8
|
-
import { g as oa } from "./useThemeProps-
|
|
6
|
+
import { u as ge } from "./useThemeProps-D6xdJZDK.js";
|
|
7
|
+
import { a as na } from "./useTheme-BiK-zs4C.js";
|
|
8
|
+
import { g as oa } from "./useThemeProps-Bah1TqHr.js";
|
|
9
9
|
import { a as xe, u as Ie } from "./useForkRef-DwN_Iz9R.js";
|
|
10
|
-
import { s as _, u as nt, c as me, f as ra } from "./styled-
|
|
11
|
-
import { T as yt } from "./Typography-
|
|
12
|
-
import { c as ze } from "./createSvgIcon-
|
|
10
|
+
import { s as _, u as nt, c as me, f as ra } from "./styled-JogyYCCE.js";
|
|
11
|
+
import { T as yt } from "./Typography-DKaWjusd.js";
|
|
12
|
+
import { c as ze } from "./createSvgIcon-CqnqGmKb.js";
|
|
13
13
|
import { u as Z } from "./useTimeout-BdvDipeg.js";
|
|
14
|
-
import { B as Zt, T as $o } from "./ButtonBase-
|
|
15
|
-
import { u as Tn, b as aa, a as He } from "./useTheme-
|
|
16
|
-
import { P as sa, D as Fo, Q as ia, B as la, J as ca, d as Rn, R as jt, N as Gt, U as ua, H as Qt, O as da, V as pa, L as fa, F as ma, c as ha, a as ba, T as ga } from "./TextField-
|
|
14
|
+
import { B as Zt, T as $o } from "./ButtonBase-SWE4hCL5.js";
|
|
15
|
+
import { u as Tn, b as aa, a as He } from "./useTheme-Bu2IMnsb.js";
|
|
16
|
+
import { P as sa, D as Fo, Q as ia, B as la, J as ca, d as Rn, R as jt, N as Gt, U as ua, H as Qt, O as da, V as pa, L as fa, F as ma, c as ha, a as ba, T as ga } from "./TextField-B4qTEIO2.js";
|
|
17
17
|
import { _ as ya } from "./TransitionGroupContext-BkoHK5Kx.js";
|
|
18
18
|
import { i as No, u as Je } from "./useControlled-DoRrpN8o.js";
|
|
19
19
|
import { u as vt } from "./useId-BW-oWmul.js";
|
|
20
|
-
import { I as on } from "./IconButton-
|
|
21
|
-
import { c as Lo, e as va, r as Fe } from "./refType-
|
|
22
|
-
import { u as rn } from "./InputBase-
|
|
23
|
-
import { s as wa } from "./createStyled-
|
|
24
|
-
import { I as jo } from "./InputAdornment-
|
|
20
|
+
import { I as on } from "./IconButton-CSDSU5zJ.js";
|
|
21
|
+
import { c as Lo, e as va, r as Fe } from "./refType-DD4W022k.js";
|
|
22
|
+
import { u as rn } from "./InputBase-DUJMZhoC.js";
|
|
23
|
+
import { s as wa } from "./createStyled-D33y37iM.js";
|
|
24
|
+
import { I as jo } from "./InputAdornment-Bcu9I8uS.js";
|
|
25
25
|
import { o as Rt } from "./ownerWindow-C7EH1lr6.js";
|
|
26
|
-
import { B as Ut } from "./Button-
|
|
26
|
+
import { B as Ut } from "./Button-AGmTBZc6.js";
|
|
27
27
|
import { i as ao } from "./isHostComponent-kiaBvYVo.js";
|
|
28
28
|
import { u as Da } from "./unsupportedProp-BuVD30Gh.js";
|
|
29
29
|
const xa = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as c, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import * as B from "react";
|
|
3
3
|
import h from "./components/buttons/DefaultButton/DefaultButtonIcon.es.js";
|
|
4
|
-
import { s as p, r as R, u as T, c as j } from "./styled-
|
|
5
|
-
import {
|
|
6
|
-
import { B as U, a as z } from "./Button-
|
|
4
|
+
import { s as p, r as R, u as T, c as j } from "./styled-JogyYCCE.js";
|
|
5
|
+
import { v as O, w as W, m as l, q as e, _ as k, P as t } from "./identifier-7t6x6NpL.js";
|
|
6
|
+
import { B as U, a as z } from "./Button-AGmTBZc6.js";
|
|
7
7
|
import { u as D } from "./useId-BW-oWmul.js";
|
|
8
|
-
import { c as _ } from "./refType-
|
|
9
|
-
import { C as N } from "./CircularProgress-
|
|
8
|
+
import { c as _ } from "./refType-DD4W022k.js";
|
|
9
|
+
import { C as N } from "./CircularProgress-B1FGa0GI.js";
|
|
10
10
|
function F(n) {
|
|
11
11
|
return O("MuiLoadingButton", n);
|
|
12
12
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as h, w as z, q as n, m as t, x as g, _ as R, y as C, P as r } from "./identifier-7t6x6NpL.js";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import { s as B, u as I, c as O } from "./styled-
|
|
3
|
+
import { s as B, u as I, c as O } from "./styled-JogyYCCE.js";
|
|
4
4
|
import { jsx as x } from "react/jsx-runtime";
|
|
5
|
-
import { B as $ } from "./ButtonBase-
|
|
6
|
-
import { c as T } from "./refType-
|
|
5
|
+
import { B as $ } from "./ButtonBase-SWE4hCL5.js";
|
|
6
|
+
import { c as T } from "./refType-DD4W022k.js";
|
|
7
7
|
function k(o) {
|
|
8
8
|
return h("MuiIconButton", o);
|
|
9
9
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as T, v as x, m as u, _ as A, y as C, P as e, q as v } from "./identifier-7t6x6NpL.js";
|
|
2
2
|
import * as b from "react";
|
|
3
|
-
import { u as N, F as L } from "./InputBase-
|
|
4
|
-
import { s as O, u as R, c as _ } from "./styled-
|
|
3
|
+
import { u as N, F as L } from "./InputBase-DUJMZhoC.js";
|
|
4
|
+
import { s as O, u as R, c as _ } from "./styled-JogyYCCE.js";
|
|
5
5
|
import { jsx as l, jsxs as j } from "react/jsx-runtime";
|
|
6
|
-
import { T as z } from "./Typography-
|
|
6
|
+
import { T as z } from "./Typography-DKaWjusd.js";
|
|
7
7
|
function F(t) {
|
|
8
|
-
return
|
|
8
|
+
return x("MuiInputAdornment", t);
|
|
9
9
|
}
|
|
10
|
-
const y =
|
|
10
|
+
const y = T("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]);
|
|
11
11
|
var g;
|
|
12
12
|
const M = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"], U = (t, o) => {
|
|
13
13
|
const {
|
|
@@ -76,13 +76,13 @@ const M = ["children", "className", "component", "disablePointerEvents", "disabl
|
|
|
76
76
|
disablePointerEvents: d,
|
|
77
77
|
position: f,
|
|
78
78
|
variant: m
|
|
79
|
-
}),
|
|
79
|
+
}), I = $(h);
|
|
80
80
|
return /* @__PURE__ */ l(L.Provider, {
|
|
81
81
|
value: null,
|
|
82
82
|
children: /* @__PURE__ */ l(w, u({
|
|
83
83
|
as: p,
|
|
84
84
|
ownerState: h,
|
|
85
|
-
className: C(
|
|
85
|
+
className: C(I.root, a),
|
|
86
86
|
ref: n
|
|
87
87
|
}, P, {
|
|
88
88
|
children: typeof s == "string" && !E ? /* @__PURE__ */ l(z, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { K as ke, P as e, _ as ye, m as d, T as Be,
|
|
1
|
+
import { K as ke, P as e, _ as ye, m as d, T as Be, w as Pe, v as Me, y as pe, q as Q, L as He } from "./identifier-7t6x6NpL.js";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import { d as De, s as be, u as We, c as Ve } from "./styled-
|
|
3
|
+
import { d as De, s as be, u as We, c as Ve } from "./styled-JogyYCCE.js";
|
|
4
4
|
import { jsx as N, jsxs as X } from "react/jsx-runtime";
|
|
5
5
|
import { a as ge, u as ee } from "./useForkRef-DwN_Iz9R.js";
|
|
6
6
|
import { a as fe, d as Le } from "./ownerWindow-C7EH1lr6.js";
|
|
7
7
|
import { i as me } from "./isHostComponent-kiaBvYVo.js";
|
|
8
|
-
import { e as _e, r as je } from "./refType-
|
|
9
|
-
import { u as Ue } from "./useTheme-
|
|
8
|
+
import { e as _e, r as je } from "./refType-DD4W022k.js";
|
|
9
|
+
import { u as Ue } from "./useTheme-BiK-zs4C.js";
|
|
10
10
|
function we({
|
|
11
11
|
styles: o,
|
|
12
12
|
themeId: n,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as e, n as D, m as T, B as g, D as m, E as F, F as N, G as R, z as E, _ as B,
|
|
2
|
-
import { c as
|
|
1
|
+
import { P as e, n as D, m as T, B as g, D as m, E as F, F as N, G as R, z as E, _ as B, y as G, v as _, H as b } from "./identifier-7t6x6NpL.js";
|
|
2
|
+
import { c as M, s as w, u as $ } from "./styled-JogyYCCE.js";
|
|
3
3
|
import * as f from "react";
|
|
4
|
-
import { c as U } from "./createStyled-
|
|
4
|
+
import { c as U } from "./createStyled-D33y37iM.js";
|
|
5
5
|
import { jsx as A } from "react/jsx-runtime";
|
|
6
|
-
import { u as L } from "./useThemeProps-
|
|
6
|
+
import { u as L } from "./useThemeProps-Bah1TqHr.js";
|
|
7
7
|
const z = U(), H = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"], I = D(), W = z("div", {
|
|
8
8
|
name: "MuiStack",
|
|
9
9
|
slot: "Root",
|
|
@@ -78,7 +78,7 @@ function X(o = {}) {
|
|
|
78
78
|
createStyledComponent: r = W,
|
|
79
79
|
useThemeProps: c = q,
|
|
80
80
|
componentName: a = "MuiStack"
|
|
81
|
-
} = o, i = () =>
|
|
81
|
+
} = o, i = () => M({
|
|
82
82
|
root: ["root"]
|
|
83
83
|
}, (s) => _(a, s), {}), n = r(Q), l = /* @__PURE__ */ f.forwardRef(function(s, t) {
|
|
84
84
|
const p = c(s), u = E(p), {
|
|
@@ -112,7 +112,7 @@ function X(o = {}) {
|
|
|
112
112
|
}), l;
|
|
113
113
|
}
|
|
114
114
|
const h = X({
|
|
115
|
-
createStyledComponent:
|
|
115
|
+
createStyledComponent: w("div", {
|
|
116
116
|
name: "MuiStack",
|
|
117
117
|
slot: "Root",
|
|
118
118
|
overridesResolver: (o, r) => r.root
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as me, w as ve, q as Le, m as b, _ as ae, y as k, P as o } from "./identifier-7t6x6NpL.js";
|
|
2
2
|
import * as u from "react";
|
|
3
|
-
import { s as _, u as Se, c as ye, b as st } from "./styled-
|
|
3
|
+
import { s as _, u as Se, c as ye, b as st } from "./styled-JogyYCCE.js";
|
|
4
4
|
import { jsxs as Q, jsx as C } from "react/jsx-runtime";
|
|
5
|
-
import { B as ke } from "./ButtonBase-
|
|
5
|
+
import { B as ke } from "./ButtonBase-SWE4hCL5.js";
|
|
6
6
|
import { u as at } from "./unsupportedProp-BuVD30Gh.js";
|
|
7
|
-
import { a as Fe, b as se, u as it } from "./useTheme-
|
|
7
|
+
import { a as Fe, b as se, u as it } from "./useTheme-Bu2IMnsb.js";
|
|
8
8
|
import { u as ct } from "./useForkRef-DwN_Iz9R.js";
|
|
9
9
|
import { a as $e, d as Ae, o as dt } from "./ownerWindow-C7EH1lr6.js";
|
|
10
10
|
import { u as be } from "./useTimeout-BdvDipeg.js";
|
|
11
|
-
import { r as ut } from "./refType-
|
|
12
|
-
import { c as De } from "./createSvgIcon-
|
|
11
|
+
import { r as ut } from "./refType-DD4W022k.js";
|
|
12
|
+
import { c as De } from "./createSvgIcon-CqnqGmKb.js";
|
|
13
13
|
let X;
|
|
14
14
|
function je() {
|
|
15
15
|
if (X)
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { P as e, m as d, _ as q,
|
|
1
|
+
import { P as e, m as d, _ as q, v as Z, w as ee, x as Do, y as Q, q as ce, F as vo, L as Mn } from "./identifier-7t6x6NpL.js";
|
|
2
2
|
import * as u from "react";
|
|
3
3
|
import Ge from "react";
|
|
4
|
-
import { s as j, u as re, c as oe, a as be, b as go, e as kn } from "./styled-
|
|
4
|
+
import { s as j, u as re, c as oe, a as be, b as go, e as kn } from "./styled-JogyYCCE.js";
|
|
5
5
|
import { jsx as w, jsxs as me } from "react/jsx-runtime";
|
|
6
|
-
import { i as Fn, a as po, F as $n, u as Ve, f as qe, b as yo, c as Eo, r as xo, d as To, e as Oo, I as Co } from "./InputBase-
|
|
6
|
+
import { i as Fn, a as po, F as $n, u as Ve, f as qe, b as yo, c as Eo, r as xo, d as To, e as Oo, I as Co } from "./InputBase-DUJMZhoC.js";
|
|
7
7
|
import { c as Lo, i as ao, u as jo } from "./useControlled-DoRrpN8o.js";
|
|
8
8
|
import { u as Zo } from "./useId-BW-oWmul.js";
|
|
9
|
-
import { u as Ro, e as Dn, b as $e, a as Ln } from "./useTheme-
|
|
9
|
+
import { u as Ro, e as Dn, b as $e, a as Ln } from "./useTheme-Bu2IMnsb.js";
|
|
10
10
|
import { o as ie, a as Ue, d as jn } from "./ownerWindow-C7EH1lr6.js";
|
|
11
11
|
import { a as he, u as fo, s as _o } from "./useForkRef-DwN_Iz9R.js";
|
|
12
12
|
import { u as Ao, a as _n } from "./useTimeout-BdvDipeg.js";
|
|
13
|
-
import { c as eo, r as we, e as An } from "./refType-
|
|
13
|
+
import { c as eo, r as we, e as An } from "./refType-DD4W022k.js";
|
|
14
14
|
import { _ as Bn, T as en } from "./TransitionGroupContext-BkoHK5Kx.js";
|
|
15
15
|
import * as Un from "react-dom";
|
|
16
16
|
import Xe from "react-dom";
|
|
17
17
|
import { i as Wn } from "./isHostComponent-kiaBvYVo.js";
|
|
18
|
-
import { c as Vn } from "./createSvgIcon-
|
|
18
|
+
import { c as Vn } from "./createSvgIcon-CqnqGmKb.js";
|
|
19
19
|
function qn(o) {
|
|
20
20
|
const {
|
|
21
21
|
prototype: n = {}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { A as uo, P as o, m as l, L as Ae, _ as D, F as De, K as zo, U as un, N as fn, d as Ko, T as Yo, V as W, W as q, X as To, Y as xo, Z as oo, R as mn, t as ar, $ as bn, i as gn,
|
|
2
|
-
import { r as fo, a as vn } from "./createSvgIcon-
|
|
1
|
+
import { A as uo, P as o, m as l, L as Ae, _ as D, F as De, K as zo, U as un, N as fn, d as Ko, T as Yo, V as W, W as q, X as To, Y as xo, Z as oo, R as mn, t as ar, $ as bn, i as gn, v as H, w as F, q as L, y as M, x as ee, z as hn, D as Eo, B as ot, a0 as ir, a1 as lr, a2 as Nt, a3 as yn } from "./identifier-7t6x6NpL.js";
|
|
2
|
+
import { r as fo, a as vn } from "./createSvgIcon-BSaiInKs.js";
|
|
3
3
|
import mo, { jsx as C, jsxs as oe } from "react/jsx-runtime";
|
|
4
4
|
import * as y from "react";
|
|
5
5
|
import { createElement as Cn } from "react";
|
|
6
|
-
import { A as tt, z as Tn, d as Mo, C as rt, H as xn, D as Sn, E as $n, G as Bt, J as kn, K as Ro, N as Le, O as Xo, S as wn } from "./TextField-
|
|
7
|
-
import { a as On } from "./useTheme-
|
|
8
|
-
import { R as Pn, u as bo, a as Do, e as Et, b as Rn, c as So } from "./useTheme-
|
|
9
|
-
import { D as In, s as P, u as z, c as V, a as _e } from "./styled-
|
|
6
|
+
import { A as tt, z as Tn, d as Mo, C as rt, H as xn, D as Sn, E as $n, G as Bt, J as kn, K as Ro, N as Le, O as Xo, S as wn } from "./TextField-B4qTEIO2.js";
|
|
7
|
+
import { a as On } from "./useTheme-BiK-zs4C.js";
|
|
8
|
+
import { R as Pn, u as bo, a as Do, e as Et, b as Rn, c as So } from "./useTheme-Bu2IMnsb.js";
|
|
9
|
+
import { D as In, s as P, u as z, c as V, a as _e } from "./styled-JogyYCCE.js";
|
|
10
10
|
import { ThemeContext as Nn, keyframes as nt, css as st } from "@emotion/react";
|
|
11
|
-
import { c as at, r as it, e as Bn } from "./refType-
|
|
12
|
-
import { T as le } from "./Typography-
|
|
13
|
-
import { u as lt, f as cr, I as En } from "./InputBase-
|
|
14
|
-
import { B as Lo } from "./ButtonBase-
|
|
11
|
+
import { c as at, r as it, e as Bn } from "./refType-DD4W022k.js";
|
|
12
|
+
import { T as le } from "./Typography-DKaWjusd.js";
|
|
13
|
+
import { u as lt, f as cr, I as En } from "./InputBase-DUJMZhoC.js";
|
|
14
|
+
import { B as Lo } from "./ButtonBase-SWE4hCL5.js";
|
|
15
15
|
import { u as dr } from "./useControlled-DoRrpN8o.js";
|
|
16
|
-
import { c as je } from "./createSvgIcon-
|
|
17
|
-
import { z as Mn, i as Dn, k as Xe, m as Ln, P as pr } from "./DatePicker-
|
|
16
|
+
import { c as je } from "./createSvgIcon-CqnqGmKb.js";
|
|
17
|
+
import { z as Mn, i as Dn, k as Xe, m as Ln, P as pr } from "./DatePicker-CBbEZtFp.js";
|
|
18
18
|
import { a as Ve, u as ur } from "./useForkRef-DwN_Iz9R.js";
|
|
19
19
|
import { d as An, a as fr, o as Ho } from "./ownerWindow-C7EH1lr6.js";
|
|
20
|
-
import { S as _n } from "./Stack-
|
|
20
|
+
import { S as _n } from "./Stack-D91dopIg.js";
|
|
21
21
|
import { u as mr } from "./useIsFocusVisible-DhASXQ4o.js";
|
|
22
22
|
import { a as to, u as io, T as jn } from "./useTimeout-BdvDipeg.js";
|
|
23
|
-
import { K as Vn, d as Fn } from "./Tabs-
|
|
24
|
-
import { I as $o } from "./IconButton-
|
|
23
|
+
import { K as Vn, d as Fn } from "./Tabs-tHFGULLQ.js";
|
|
24
|
+
import { I as $o } from "./IconButton-CSDSU5zJ.js";
|
|
25
25
|
import { u as Zo } from "./useId-BW-oWmul.js";
|
|
26
26
|
import { i as zn } from "./isHostComponent-kiaBvYVo.js";
|
|
27
27
|
var ct = {}, Hn = uo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as C, w as W, q as f, m as p, z as M, _ as O, y as j, P as t } from "./identifier-7t6x6NpL.js";
|
|
2
2
|
import * as P from "react";
|
|
3
|
-
import { s as N, u as R, c as _ } from "./styled-
|
|
3
|
+
import { s as N, u as R, c as _ } from "./styled-JogyYCCE.js";
|
|
4
4
|
import { jsx as U } from "react/jsx-runtime";
|
|
5
5
|
function $(a) {
|
|
6
6
|
return C("MuiTypography", a);
|
package/dist/assets/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.cs-loader{padding:0 auto;text-align:center;white-space:nowrap;overflow:hidden}.cs-loader-inner label{font-size:16px;opacity:0;display:inline-block;vertical-align:middle}@keyframes lol{0%{opacity:0;transform:translate(-100px)}33%{opacity:1;transform:translate(0)}66%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100px)}}.cs-loader-inner label:nth-child(4){animation:lol 3s .2s infinite ease-in-out}.cs-loader-inner label:nth-child(3){animation:lol 3s .3s infinite ease-in-out}.cs-loader-inner label:nth-child(2){animation:lol 3s .4s infinite ease-in-out}.cs-loader-inner label:nth-child(1){animation:lol 3s .5s infinite ease-in-out}body{margin:0;padding:0;background:#fff}.cs-loader-backdrop{position:absolute;top:0;left:0;height:100%;width:100%}.cs-loader-backdrop-inner{transform:translateY(-50%);top:50%;position:absolute;width:100%;color:#00b8de;padding:0 100px;text-align:center}.cs-loader-backdrop-inner label{font-size:20px;opacity:0;display:inline-block}@keyframes lol-backdrop{0%{opacity:0;transform:translate(-300px)}33%{opacity:1;transform:translate(0)}66%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(300px)}}.cs-loader-backdrop-inner label:nth-child(4){animation:lol-backdrop 3s .2s infinite ease-in-out}.cs-loader-backdrop-inner label:nth-child(3){animation:lol-backdrop 3s .3s infinite ease-in-out}.cs-loader-backdrop-inner label:nth-child(2){animation:lol-backdrop 3s .4s infinite ease-in-out}.cs-loader-backdrop-inner label:nth-child(1){animation:lol-backdrop 3s .5s infinite ease-in-out}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.flex{display:flex}.table{display:table}.w-full{width:100%}.border{border-width:1px}.text-start{text-align:start}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
|
|
1
|
+
.cs-loader{padding:0 auto;text-align:center;white-space:nowrap;overflow:hidden}.cs-loader-inner label{font-size:16px;opacity:0;display:inline-block;vertical-align:middle}@keyframes lol{0%{opacity:0;transform:translate(-100px)}33%{opacity:1;transform:translate(0)}66%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100px)}}.cs-loader-inner label:nth-child(4){animation:lol 3s .2s infinite ease-in-out}.cs-loader-inner label:nth-child(3){animation:lol 3s .3s infinite ease-in-out}.cs-loader-inner label:nth-child(2){animation:lol 3s .4s infinite ease-in-out}.cs-loader-inner label:nth-child(1){animation:lol 3s .5s infinite ease-in-out}body{margin:0;padding:0;background:#fff}.cs-loader-backdrop{position:absolute;top:0;left:0;height:100%;width:100%}.cs-loader-backdrop-inner{transform:translateY(-50%);top:50%;position:absolute;width:100%;color:#00b8de;padding:0 100px;text-align:center}.cs-loader-backdrop-inner label{font-size:20px;opacity:0;display:inline-block}@keyframes lol-backdrop{0%{opacity:0;transform:translate(-300px)}33%{opacity:1;transform:translate(0)}66%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(300px)}}.cs-loader-backdrop-inner label:nth-child(4){animation:lol-backdrop 3s .2s infinite ease-in-out}.cs-loader-backdrop-inner label:nth-child(3){animation:lol-backdrop 3s .3s infinite ease-in-out}.cs-loader-backdrop-inner label:nth-child(2){animation:lol-backdrop 3s .4s infinite ease-in-out}.cs-loader-backdrop-inner label:nth-child(1){animation:lol-backdrop 3s .5s infinite ease-in-out}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.absolute{position:absolute}.relative{position:relative}.flex{display:flex}.table{display:table}.hidden{display:none}.w-full{width:100%}.border{border-width:1px}.text-start{text-align:start}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import nr, { jsxs as ve, jsx as T, Fragment as Ue } from "react/jsx-runtime";
|
|
2
|
-
import { A as or, P as f } from "../../identifier-
|
|
3
|
-
import { r as ir } from "../../createSvgIcon-
|
|
2
|
+
import { A as or, P as f } from "../../identifier-7t6x6NpL.js";
|
|
3
|
+
import { r as ir } from "../../createSvgIcon-BSaiInKs.js";
|
|
4
4
|
import Fr, { useMemo as I, useRef as Q, useReducer as xr, useEffect as ye, useCallback as A, forwardRef as _r, useImperativeHandle as jr, Fragment as Sr } from "react";
|
|
5
|
-
import { S as Pr } from "../../Stack-
|
|
6
|
-
import { T as be } from "../../Typography-
|
|
5
|
+
import { S as Pr } from "../../Stack-D91dopIg.js";
|
|
6
|
+
import { T as be } from "../../Typography-DKaWjusd.js";
|
|
7
7
|
var Fe = {}, Tr = or;
|
|
8
8
|
Object.defineProperty(Fe, "__esModule", {
|
|
9
9
|
value: !0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
2
|
import '../../assets/styles.css';/* empty css */
|
|
3
|
-
import { B as l } from "../../Box-
|
|
3
|
+
import { B as l } from "../../Box-esDTbXB3.js";
|
|
4
4
|
const i = ({}) => /* @__PURE__ */ r(l, { className: "cs-loader", color: "primary.main", children: /* @__PURE__ */ e(l, { className: "cs-loader-inner", children: [
|
|
5
5
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
6
6
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as h, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { S as u } from "../../Stack-
|
|
3
|
-
import { T as x } from "../../Typography-
|
|
2
|
+
import { S as u } from "../../Stack-D91dopIg.js";
|
|
3
|
+
import { T as x } from "../../Typography-DKaWjusd.js";
|
|
4
4
|
const j = ({
|
|
5
5
|
title: d,
|
|
6
6
|
IconComponent: e,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import a, { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { A as i, r as n } from "../../identifier-
|
|
3
|
-
import { r as p } from "../../createSvgIcon-
|
|
2
|
+
import { A as i, r as n } from "../../identifier-7t6x6NpL.js";
|
|
3
|
+
import { r as p } from "../../createSvgIcon-BSaiInKs.js";
|
|
4
4
|
import r from "./PaperHeader.es.js";
|
|
5
5
|
var e = {}, d = i;
|
|
6
6
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/styles2.css');require('../../assets/styles.css');const t=require("react/jsx-runtime"),r=require("@mui/material"),n=require("react"),a=require("./style.cjs.js"),R=require("./utils.cjs.js");require("../inputs/SearchInput/SearchInput.cjs.js");const E=require("../inputs/TextInput/TextInput.cjs.js");require("../../DefaultButton-y-mHSNFH.cjs");require("../feedback/Alert/Alert.cjs.js");require("../lists/FileList/FileListItem.cjs.js");;/* empty css */;/* empty css */require("../../fr-TRjulm1Q.cjs");const q=n.forwardRef(({users:p,selectedUsers:i,onUserSelectionChange:h,minSearchLength:b=1,translations:l=R.defaultTranslations,chipVariantStyle:g="filled"},v)=>{const[s,x]=n.useState(""),[S,c]=n.useState(!1),[y,I]=n.useState([]),[m,B]=n.useState(!1),f=i.length>8,j=i.length===0;n.useImperativeHandle(v,()=>({closeList:()=>c(!1)})),n.useEffect(()=>{const e=s.toLowerCase(),o=p.reduce((d,u)=>d.length<5&&u.label.toLowerCase().includes(e)&&!i.some(_=>_.id===u.id)?[...d,u]:d,[]);I(o)},[s,p,i]);const C=e=>{const{value:o}=e.target;x(o),S||c(!0)},L=e=>{h([...i,e]),c(!1),x("")},T=e=>{h(i.filter(o=>o.id!==e.id))},w=()=>B(!0);return t.jsxs(r.Box,{sx:a.wrapperBoxStyle,children:[t.jsx(r.Typography,{variant:"h2",children:l.title}),t.jsxs(r.Box,{sx:{width:"100%",position:"relative",maxWidth:"100%"},children:[t.jsx(E,{name:"search",placeholder:l.searchPlaceholder,fullWidth:!0,value:s,onChange:C}),s.length>=b&&S&&t.jsx(r.Paper,{sx:a.paperStyle,children:y.length?t.jsx(r.List,{children:y.map(e=>t.jsx(r.ListItemButton,{onClick:()=>L(e),children:t.jsx(r.ListItemText,{primary:e.label})},e.id))}):t.jsx(r.Typography,{sx:{padding:".5rem"},variant:"body1",children:l.noResults})})]}),t.jsx(a.ChipBox,{isEmpty:j,isScrollable:m&&f,children:j?t.jsx(r.Typography,{variant:"body1",children:l.emptySelection}):i.map(e=>t.jsx(r.Chip,{color:"primary",variant:g,label:e.label,onDelete:()=>T(e),sx:{maxWidth:"20%",justifyContent:"space-betweeen"}},e.id))}),t.jsx(r.Collapse,{in:f&&!m,collapsedSize:0,children:t.jsx(r.Button,{sx:a.seeMoreButtonStyle,"data-testid":"see-more",onClick:w,children:l.expandButton})})]})});q.displayName="UserSelectionSection";exports.UserSelectionSection=q;
|