@cgi-learning-hub/ui 1.3.5-dev.1739378027 → 1.3.5-dev.1739974341
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/{Backdrop-Cvbj4YKG.cjs → Backdrop-BY124k9Q.cjs} +1 -1
- package/dist/{Backdrop-DZHacmMU.js → Backdrop-CZ3ay4ta.js} +2 -2
- package/dist/{Button-DovfjBkz.js → Button-Bqcf-Wrh.js} +1 -2
- package/dist/{Button-COTy9ASL.cjs → Button-qwUFZs87.cjs} +1 -1
- package/dist/{ButtonBase-DKNIY_Ve.cjs → ButtonBase-C9D6EAt-.cjs} +2 -2
- package/dist/{ButtonBase-eQU9HVgU.js → ButtonBase-ylADCBW1.js} +66 -66
- package/dist/CardContent-BMiRcSGk.cjs +1 -0
- package/dist/CardContent-CHoWb0DR.js +226 -0
- package/dist/{Checkbox-y6Kts0Hm.js → Checkbox-92V5IqYF.js} +2 -2
- package/dist/{Checkbox-YCpJS_3E.cjs → Checkbox-DVRfGO8D.cjs} +1 -1
- package/dist/{Chip-FQbM3QKF.cjs → Chip-Ch7Ec9PJ.cjs} +1 -1
- package/dist/{Chip-DT0H_Vjk.js → Chip-I3ytWE-R.js} +2 -2
- package/dist/{CloseRounded-Cu-sn6XC.cjs → CloseRounded-BpiJGsCY.cjs} +1 -1
- package/dist/{CloseRounded-Df8vYhLX.js → CloseRounded-Di7N75zk.js} +1 -1
- package/dist/{DatePicker-CYvDKr4R.js → DatePicker-ByvIBsyI.js} +48 -46
- package/dist/{DatePicker-BroG1y5g.cjs → DatePicker-D3AfDdBL.cjs} +11 -11
- package/dist/{Dialog-BFZeovlo.cjs → Dialog-DouQwf1_.cjs} +1 -1
- package/dist/{Dialog-D0fzD-TX.js → Dialog-GVgQOV8v.js} +2 -2
- package/dist/{DialogTitle-CXRmRtja.cjs → DialogTitle-BTBnlhmM.cjs} +1 -1
- package/dist/{DialogTitle-BXGok8k-.js → DialogTitle-Bw1Q-9PX.js} +1 -1
- package/dist/{Grow-EpJy9qdL.js → Grow-BL8Bx4y5.js} +1 -1
- package/dist/{Grow-BK4rGn4x.cjs → Grow-BjcgF7nV.cjs} +1 -1
- package/dist/{IconButton-CZvDgqOc.js → IconButton-C4GFAbeH.js} +1 -1
- package/dist/{IconButton-BUCTqOFa.cjs → IconButton-loyqjXrR.cjs} +1 -1
- package/dist/{Menu-_4rLUzDf.js → Menu-CtlPVqJo.js} +5 -5
- package/dist/{Menu-NuheFzLD.cjs → Menu-DiQ9wnM_.cjs} +1 -1
- package/dist/{MenuItem-D9Hs7HRQ.js → MenuItem-BCyMn0B-.js} +2 -2
- package/dist/{MenuItem-CNUAbgnE.cjs → MenuItem-DuLNR389.cjs} +1 -1
- package/dist/{Modal-a-cSzSt8.js → Modal-BBc68t3R.js} +5 -5
- package/dist/{Modal-BhIbbbzx.cjs → Modal-CGCKjoqp.cjs} +2 -2
- package/dist/{Popper-CPstdcBG.cjs → Popper-CyMmAyHW.cjs} +1 -1
- package/dist/{Popper-BcaTNUvi.js → Popper-Dotov0nV.js} +2 -2
- package/dist/{Portal-BL8eg_0C.cjs → Portal-BC_MWv30.cjs} +1 -1
- package/dist/{Portal-B8inUnB_.js → Portal-DvgoZfYl.js} +1 -1
- package/dist/Radio-BmCVKlgN.js +568 -0
- package/dist/Radio-Cta61QrN.cjs +1 -0
- package/dist/RadioGroup-BoBajGjF.js +190 -0
- package/dist/RadioGroup-CA-GTAeR.cjs +1 -0
- package/dist/Select-Bm-ZcxRN.cjs +3 -0
- package/dist/{Select-D4pmgfdb.js → Select-DCbhewsz.js} +71 -67
- package/dist/Switch-BMjiyNyB.cjs +1 -0
- package/dist/Switch-JIoNRv7S.js +330 -0
- package/dist/{SwitchBase-VA100mrf.cjs → SwitchBase-CaXyAuEt.cjs} +1 -1
- package/dist/{SwitchBase-ynQQkTVh.js → SwitchBase-Ccit_gYg.js} +1 -1
- package/dist/{Tabs-DzbNYi2v.js → Tabs-Bhy2g9Y0.js} +3 -3
- package/dist/{Tabs-Bg_Zi8UV.cjs → Tabs-ll24SDcl.cjs} +1 -1
- package/dist/{TextField-BcAZk2Rx.cjs → TextField-C5lHwquP.cjs} +1 -1
- package/dist/{TextField-dvVq-1Hp.js → TextField-FNS4AqVd.js} +2 -2
- package/dist/ToggleButtonGroup-CEPDUgtK.cjs +167 -0
- package/dist/ToggleButtonGroup-qi5MsGIW.js +10602 -0
- package/dist/{Tooltip-CVvaAqh7.js → Tooltip-AHSVG6xQ.js} +5 -5
- package/dist/{Tooltip-DL2i_lGL.cjs → Tooltip-C2KS56xn.cjs} +1 -1
- package/dist/components/Alert/Alert.es.js +13 -4
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -2
- package/dist/components/Button/Button.es.js +20 -4
- package/dist/components/Button/index.cjs.js +1 -1
- package/dist/components/Button/index.es.js +2 -2
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +1 -1
- package/dist/components/FileList/FileIcon.cjs.js +1 -1
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.es.js +15 -17
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +95 -88
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +47 -23
- package/dist/components/Loader/Loader.d.ts +1 -2
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +10 -9
- package/dist/components/QueryError/QueryError.d.ts +2 -2
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.d.ts +2 -2
- package/dist/components/ResourceCard/ResourceCard.es.js +73 -79
- package/dist/components/ResourceCard/style.es.js +65 -57
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +1 -2
- package/dist/components/SearchInput/SearchInput.es.js +1 -1
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +34 -0
- package/dist/components/index.es.js +347 -296
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +2 -2
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +17 -168
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/Chip.stories.cjs.js +1 -1
- package/dist/components/stories/Chip.stories.es.js +1 -1
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/FileList.stories.cjs.js +1 -1
- package/dist/components/stories/FileList.stories.es.js +5 -7
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +1 -1
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +3 -3
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +19 -115
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +10 -4
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +2 -2
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +1 -1
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/{createSvgIcon-Cd6y8E9W.js → createSvgIcon-CIearCnQ.js} +44 -42
- package/dist/createSvgIcon-DKtSalut.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +347 -296
- package/dist/resolveComponentProps-CGmtduHt.cjs +1 -0
- package/dist/{mergeSlotProps-DwgGXvkj.js → resolveComponentProps-kRRJ79Kv.js} +6 -6
- package/dist/useSlot-BYekfmak.cjs +1 -0
- package/dist/{useSlot-BYfmyYXv.js → useSlot-CQW01GLa.js} +1 -1
- package/dist/useSlotProps-NZH6_nAj.cjs +1 -0
- package/dist/{useSlotProps-r0vmrJvl.js → useSlotProps-pX6ti4cn.js} +1 -1
- package/dist/utils-C6YMiaf0.cjs +1 -0
- package/dist/{utils-D4djO_Ph.js → utils-CSBYZkoB.js} +40 -40
- package/package.json +1 -1
- package/dist/Button-C-bZSJCq.cjs +0 -28
- package/dist/Button-CSNPv43f.js +0 -542
- package/dist/Card-B7MHmB_Y.js +0 -74
- package/dist/Card-CwE6nm11.cjs +0 -1
- package/dist/FormControlLabel-BjbkwHC0.js +0 -262
- package/dist/FormControlLabel-BjlJz2oa.cjs +0 -1
- package/dist/FormGroup-DdwFGMq2.js +0 -95
- package/dist/FormGroup-x7hlLAv1.cjs +0 -1
- package/dist/Radio-8fNX60rb.cjs +0 -1
- package/dist/Radio-DgedCGZw.js +0 -313
- package/dist/Select-DtrvYyJ3.cjs +0 -3
- package/dist/TableSortLabel-BXto8Tc7.js +0 -6440
- package/dist/TableSortLabel-h3un69IU.cjs +0 -98
- package/dist/createSvgIcon-CWNQW6u6.cjs +0 -1
- package/dist/mergeSlotProps-DJgEFzGv.cjs +0 -1
- package/dist/useSlot-CMUEd7j7.cjs +0 -1
- package/dist/useSlotProps-D0jr2eYF.cjs +0 -1
- package/dist/utils-BWXB1haV.cjs +0 -1
|
@@ -7,15 +7,15 @@ import { m as E } from "./memoTheme-D-rebSfX.js";
|
|
|
7
7
|
import { jsx as v, jsxs as Oe } from "react/jsx-runtime";
|
|
8
8
|
import { c as q } from "./capitalize-yX_QSknw.js";
|
|
9
9
|
import { a as vo, b as yo } from "./FormLabel-Cm4Ba58U.js";
|
|
10
|
-
import { M as ho } from "./Menu-
|
|
10
|
+
import { M as ho } from "./Menu-CtlPVqJo.js";
|
|
11
11
|
import { r as G } from "./refType-DcE_kWty.js";
|
|
12
12
|
import { i as Oo } from "./utils-DWqc1kRF.js";
|
|
13
13
|
import { u as qe } from "./useControlled-BYdyS7Pn.js";
|
|
14
14
|
import { u as He } from "./useForkRef-C_4o__cU.js";
|
|
15
15
|
import { o as Co } from "./ownerDocument-CUrv0DIK.js";
|
|
16
16
|
import { u as Io } from "./useId-CK6Kn3Tn.js";
|
|
17
|
-
import { c as So } from "./createSvgIcon-
|
|
18
|
-
import { g as Ro } from "./utils-
|
|
17
|
+
import { c as So } from "./createSvgIcon-CIearCnQ.js";
|
|
18
|
+
import { g as Ro } from "./utils-CSBYZkoB.js";
|
|
19
19
|
import { c as Ce } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
20
20
|
import { i as Ie, I as Se, a as Re, r as xe, b as we, c as Te } from "./InputBase-DBsV_L3Y.js";
|
|
21
21
|
function xo(o) {
|
|
@@ -24,7 +24,23 @@ function xo(o) {
|
|
|
24
24
|
const K = {
|
|
25
25
|
...Ie,
|
|
26
26
|
...D("MuiInput", ["root", "underline", "input"])
|
|
27
|
-
}
|
|
27
|
+
};
|
|
28
|
+
function wo(o) {
|
|
29
|
+
return z("MuiOutlinedInput", o);
|
|
30
|
+
}
|
|
31
|
+
const P = {
|
|
32
|
+
...Ie,
|
|
33
|
+
...D("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
34
|
+
};
|
|
35
|
+
function To(o) {
|
|
36
|
+
return z("MuiFilledInput", o);
|
|
37
|
+
}
|
|
38
|
+
const L = {
|
|
39
|
+
...Ie,
|
|
40
|
+
...D("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
|
|
41
|
+
}, No = So(/* @__PURE__ */ v("path", {
|
|
42
|
+
d: "M7 10l5 5 5-5z"
|
|
43
|
+
}), "ArrowDropDown"), Po = (o) => {
|
|
28
44
|
const {
|
|
29
45
|
classes: t,
|
|
30
46
|
disableUnderline: n
|
|
@@ -37,7 +53,7 @@ const K = {
|
|
|
37
53
|
// forward classes to the InputBase
|
|
38
54
|
...i
|
|
39
55
|
};
|
|
40
|
-
},
|
|
56
|
+
}, $o = h(Re, {
|
|
41
57
|
shouldForwardProp: (o) => k(o) || o === "classes",
|
|
42
58
|
name: "MuiInput",
|
|
43
59
|
slot: "Root",
|
|
@@ -127,7 +143,7 @@ const K = {
|
|
|
127
143
|
}
|
|
128
144
|
}))]
|
|
129
145
|
};
|
|
130
|
-
})),
|
|
146
|
+
})), ko = h(we, {
|
|
131
147
|
name: "MuiInput",
|
|
132
148
|
slot: "Input",
|
|
133
149
|
overridesResolver: Te
|
|
@@ -146,13 +162,13 @@ const K = {
|
|
|
146
162
|
slots: c = {},
|
|
147
163
|
type: O = "text",
|
|
148
164
|
...C
|
|
149
|
-
} = r, w =
|
|
165
|
+
} = r, w = Po(r), y = {
|
|
150
166
|
root: {
|
|
151
167
|
ownerState: {
|
|
152
168
|
disableUnderline: i
|
|
153
169
|
}
|
|
154
170
|
}
|
|
155
|
-
}, x = f ?? a ? ve(f ?? a, y) : y, I = c.root ?? p.Root ??
|
|
171
|
+
}, x = f ?? a ? ve(f ?? a, y) : y, I = c.root ?? p.Root ?? $o, S = c.input ?? p.Input ?? ko;
|
|
156
172
|
return /* @__PURE__ */ v(Se, {
|
|
157
173
|
slots: {
|
|
158
174
|
root: I,
|
|
@@ -354,10 +370,10 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
354
370
|
value: e.any
|
|
355
371
|
});
|
|
356
372
|
Ne.muiName = "Input";
|
|
357
|
-
function
|
|
373
|
+
function Eo(o) {
|
|
358
374
|
return z("MuiInputLabel", o);
|
|
359
375
|
}
|
|
360
|
-
const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]),
|
|
376
|
+
const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), Fo = (o) => {
|
|
361
377
|
const {
|
|
362
378
|
classes: t,
|
|
363
379
|
formControl: n,
|
|
@@ -369,13 +385,13 @@ const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
369
385
|
} = o, b = {
|
|
370
386
|
root: ["root", n && "formControl", !p && "animated", i && "shrink", r && r !== "normal" && `size${q(r)}`, a],
|
|
371
387
|
asterisk: [d && "asterisk"]
|
|
372
|
-
}, m = V(b,
|
|
388
|
+
}, m = V(b, Eo, t);
|
|
373
389
|
return {
|
|
374
390
|
...t,
|
|
375
391
|
// forward the focused, disabled, etc. classes to the FormLabel
|
|
376
392
|
...m
|
|
377
393
|
};
|
|
378
|
-
},
|
|
394
|
+
}, Mo = h(vo, {
|
|
379
395
|
shouldForwardProp: (o) => k(o) || o === "classes",
|
|
380
396
|
name: "MuiInputLabel",
|
|
381
397
|
slot: "Root",
|
|
@@ -509,7 +525,7 @@ const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
509
525
|
transform: "translate(14px, -9px) scale(0.75)"
|
|
510
526
|
}
|
|
511
527
|
}]
|
|
512
|
-
}))),
|
|
528
|
+
}))), jo = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
513
529
|
const r = H({
|
|
514
530
|
name: "MuiInputLabel",
|
|
515
531
|
props: t
|
|
@@ -536,8 +552,8 @@ const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
536
552
|
variant: O.variant,
|
|
537
553
|
required: O.required,
|
|
538
554
|
focused: O.focused
|
|
539
|
-
}, w =
|
|
540
|
-
return /* @__PURE__ */ v(
|
|
555
|
+
}, w = Fo(C);
|
|
556
|
+
return /* @__PURE__ */ v(Mo, {
|
|
541
557
|
"data-shrink": c,
|
|
542
558
|
ref: n,
|
|
543
559
|
className: pe(w.root, b),
|
|
@@ -546,7 +562,7 @@ const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
546
562
|
classes: w
|
|
547
563
|
});
|
|
548
564
|
});
|
|
549
|
-
process.env.NODE_ENV !== "production" && (
|
|
565
|
+
process.env.NODE_ENV !== "production" && (jo.propTypes = {
|
|
550
566
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
551
567
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
552
568
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -613,10 +629,10 @@ process.env.NODE_ENV !== "production" && (Eo.propTypes = {
|
|
|
613
629
|
*/
|
|
614
630
|
variant: e.oneOf(["filled", "outlined", "standard"])
|
|
615
631
|
});
|
|
616
|
-
function
|
|
632
|
+
function Lo(o) {
|
|
617
633
|
return z("MuiNativeSelect", o);
|
|
618
634
|
}
|
|
619
|
-
const Pe = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]),
|
|
635
|
+
const Pe = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Bo = (o) => {
|
|
620
636
|
const {
|
|
621
637
|
classes: t,
|
|
622
638
|
variant: n,
|
|
@@ -628,7 +644,7 @@ const Pe = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
628
644
|
select: ["select", n, r && "disabled", i && "multiple", a && "error"],
|
|
629
645
|
icon: ["icon", `icon${q(n)}`, p && "iconOpen", r && "disabled"]
|
|
630
646
|
};
|
|
631
|
-
return V(d,
|
|
647
|
+
return V(d, Lo, t);
|
|
632
648
|
}, Ge = h("select")(({
|
|
633
649
|
theme: o
|
|
634
650
|
}) => ({
|
|
@@ -691,7 +707,7 @@ const Pe = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
691
707
|
}
|
|
692
708
|
}
|
|
693
709
|
}]
|
|
694
|
-
})),
|
|
710
|
+
})), Wo = h(Ge, {
|
|
695
711
|
name: "MuiNativeSelect",
|
|
696
712
|
slot: "Select",
|
|
697
713
|
shouldForwardProp: k,
|
|
@@ -740,7 +756,7 @@ const Pe = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
740
756
|
right: 7
|
|
741
757
|
}
|
|
742
758
|
}]
|
|
743
|
-
})),
|
|
759
|
+
})), Ao = h(Je, {
|
|
744
760
|
name: "MuiNativeSelect",
|
|
745
761
|
slot: "Icon",
|
|
746
762
|
overridesResolver: (o, t) => {
|
|
@@ -763,15 +779,15 @@ const Pe = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
763
779
|
disabled: i,
|
|
764
780
|
variant: b,
|
|
765
781
|
error: p
|
|
766
|
-
}, c =
|
|
782
|
+
}, c = Bo(f);
|
|
767
783
|
return /* @__PURE__ */ Oe(u.Fragment, {
|
|
768
|
-
children: [/* @__PURE__ */ v(
|
|
784
|
+
children: [/* @__PURE__ */ v(Wo, {
|
|
769
785
|
ownerState: f,
|
|
770
786
|
className: pe(c.select, r),
|
|
771
787
|
disabled: i,
|
|
772
788
|
ref: d || n,
|
|
773
789
|
...m
|
|
774
|
-
}), t.multiple ? null : /* @__PURE__ */ v(
|
|
790
|
+
}), t.multiple ? null : /* @__PURE__ */ v(Ao, {
|
|
775
791
|
as: a,
|
|
776
792
|
ownerState: f,
|
|
777
793
|
className: c.icon
|
|
@@ -833,12 +849,12 @@ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
|
|
|
833
849
|
*/
|
|
834
850
|
variant: e.oneOf(["standard", "outlined", "filled"])
|
|
835
851
|
});
|
|
836
|
-
function
|
|
852
|
+
function Uo(o) {
|
|
837
853
|
return z("MuiSelect", o);
|
|
838
854
|
}
|
|
839
855
|
const X = D("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
|
|
840
856
|
var _e;
|
|
841
|
-
const
|
|
857
|
+
const Do = h(Ge, {
|
|
842
858
|
name: "MuiSelect",
|
|
843
859
|
slot: "Select",
|
|
844
860
|
overridesResolver: (o, t) => {
|
|
@@ -872,7 +888,7 @@ const Wo = h(Ge, {
|
|
|
872
888
|
whiteSpace: "nowrap",
|
|
873
889
|
overflow: "hidden"
|
|
874
890
|
}
|
|
875
|
-
}),
|
|
891
|
+
}), zo = h(Je, {
|
|
876
892
|
name: "MuiSelect",
|
|
877
893
|
slot: "Icon",
|
|
878
894
|
overridesResolver: (o, t) => {
|
|
@@ -881,7 +897,7 @@ const Wo = h(Ge, {
|
|
|
881
897
|
} = o;
|
|
882
898
|
return [t.icon, n.variant && t[`icon${q(n.variant)}`], n.open && t.iconOpen];
|
|
883
899
|
}
|
|
884
|
-
})({}),
|
|
900
|
+
})({}), Vo = h("input", {
|
|
885
901
|
shouldForwardProp: (o) => go(o) && o !== "classes",
|
|
886
902
|
name: "MuiSelect",
|
|
887
903
|
slot: "NativeInput",
|
|
@@ -898,10 +914,10 @@ const Wo = h(Ge, {
|
|
|
898
914
|
function Ke(o, t) {
|
|
899
915
|
return typeof t == "object" && t !== null ? o === t : String(o) === String(t);
|
|
900
916
|
}
|
|
901
|
-
function
|
|
917
|
+
function qo(o) {
|
|
902
918
|
return o == null || typeof o == "string" && !o.trim();
|
|
903
919
|
}
|
|
904
|
-
const
|
|
920
|
+
const _o = (o) => {
|
|
905
921
|
const {
|
|
906
922
|
classes: t,
|
|
907
923
|
variant: n,
|
|
@@ -914,7 +930,7 @@ const zo = (o) => {
|
|
|
914
930
|
icon: ["icon", `icon${q(n)}`, p && "iconOpen", r && "disabled"],
|
|
915
931
|
nativeInput: ["nativeInput"]
|
|
916
932
|
};
|
|
917
|
-
return V(d,
|
|
933
|
+
return V(d, Uo, t);
|
|
918
934
|
}, Ze = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
919
935
|
var ze;
|
|
920
936
|
const {
|
|
@@ -1085,12 +1101,12 @@ const zo = (o) => {
|
|
|
1085
1101
|
value: g,
|
|
1086
1102
|
open: se,
|
|
1087
1103
|
error: C
|
|
1088
|
-
}, me =
|
|
1104
|
+
}, me = _o(le), ge = {
|
|
1089
1105
|
...x.PaperProps,
|
|
1090
1106
|
...(ze = x.slotProps) == null ? void 0 : ze.paper
|
|
1091
1107
|
}, De = Io();
|
|
1092
1108
|
return /* @__PURE__ */ Oe(u.Fragment, {
|
|
1093
|
-
children: [/* @__PURE__ */ v(
|
|
1109
|
+
children: [/* @__PURE__ */ v(Do, {
|
|
1094
1110
|
as: "div",
|
|
1095
1111
|
ref: so,
|
|
1096
1112
|
tabIndex: be,
|
|
@@ -1112,7 +1128,7 @@ const zo = (o) => {
|
|
|
1112
1128
|
ownerState: le,
|
|
1113
1129
|
className: pe($.className, me.select, b),
|
|
1114
1130
|
id: Ue,
|
|
1115
|
-
children:
|
|
1131
|
+
children: qo(A) ? (
|
|
1116
1132
|
// notranslate needed while Google Translate will not fix zero-width space issue
|
|
1117
1133
|
_e || (_e = /* @__PURE__ */ v("span", {
|
|
1118
1134
|
className: "notranslate",
|
|
@@ -1120,7 +1136,7 @@ const zo = (o) => {
|
|
|
1120
1136
|
children: ""
|
|
1121
1137
|
}))
|
|
1122
1138
|
) : A
|
|
1123
|
-
}), /* @__PURE__ */ v(
|
|
1139
|
+
}), /* @__PURE__ */ v(Vo, {
|
|
1124
1140
|
"aria-invalid": C,
|
|
1125
1141
|
value: Array.isArray(g) ? g.join(",") : g,
|
|
1126
1142
|
name: S,
|
|
@@ -1134,7 +1150,7 @@ const zo = (o) => {
|
|
|
1134
1150
|
required: _,
|
|
1135
1151
|
...W,
|
|
1136
1152
|
ownerState: le
|
|
1137
|
-
}), /* @__PURE__ */ v(
|
|
1153
|
+
}), /* @__PURE__ */ v(zo, {
|
|
1138
1154
|
as: w,
|
|
1139
1155
|
className: me.icon,
|
|
1140
1156
|
ownerState: le
|
|
@@ -1322,16 +1338,7 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
|
|
|
1322
1338
|
*/
|
|
1323
1339
|
variant: e.oneOf(["standard", "outlined", "filled"])
|
|
1324
1340
|
});
|
|
1325
|
-
const
|
|
1326
|
-
d: "M7 10l5 5 5-5z"
|
|
1327
|
-
}), "ArrowDropDown");
|
|
1328
|
-
function qo(o) {
|
|
1329
|
-
return z("MuiFilledInput", o);
|
|
1330
|
-
}
|
|
1331
|
-
const L = {
|
|
1332
|
-
...Ie,
|
|
1333
|
-
...D("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
|
|
1334
|
-
}, _o = (o) => {
|
|
1341
|
+
const Ko = (o) => {
|
|
1335
1342
|
const {
|
|
1336
1343
|
classes: t,
|
|
1337
1344
|
disableUnderline: n,
|
|
@@ -1343,13 +1350,13 @@ const L = {
|
|
|
1343
1350
|
} = o, b = {
|
|
1344
1351
|
root: ["root", !n && "underline", r && "adornedStart", i && "adornedEnd", p === "small" && `size${q(p)}`, a && "hiddenLabel", d && "multiline"],
|
|
1345
1352
|
input: ["input"]
|
|
1346
|
-
}, m = V(b,
|
|
1353
|
+
}, m = V(b, To, t);
|
|
1347
1354
|
return {
|
|
1348
1355
|
...t,
|
|
1349
1356
|
// forward classes to the InputBase
|
|
1350
1357
|
...m
|
|
1351
1358
|
};
|
|
1352
|
-
},
|
|
1359
|
+
}, Xo = h(Re, {
|
|
1353
1360
|
shouldForwardProp: (o) => k(o) || o === "classes",
|
|
1354
1361
|
name: "MuiFilledInput",
|
|
1355
1362
|
slot: "Root",
|
|
@@ -1495,7 +1502,7 @@ const L = {
|
|
|
1495
1502
|
}
|
|
1496
1503
|
}]
|
|
1497
1504
|
};
|
|
1498
|
-
})),
|
|
1505
|
+
})), Ho = h(we, {
|
|
1499
1506
|
name: "MuiFilledInput",
|
|
1500
1507
|
slot: "Input",
|
|
1501
1508
|
overridesResolver: Te
|
|
@@ -1601,14 +1608,14 @@ const L = {
|
|
|
1601
1608
|
inputComponent: m,
|
|
1602
1609
|
multiline: f,
|
|
1603
1610
|
type: C
|
|
1604
|
-
}, y =
|
|
1611
|
+
}, y = Ko(r), x = {
|
|
1605
1612
|
root: {
|
|
1606
1613
|
ownerState: T
|
|
1607
1614
|
},
|
|
1608
1615
|
input: {
|
|
1609
1616
|
ownerState: T
|
|
1610
1617
|
}
|
|
1611
|
-
}, I = c ?? a ? ve(x, c ?? a) : x, S = O.root ?? p.Root ??
|
|
1618
|
+
}, I = c ?? a ? ve(x, c ?? a) : x, S = O.root ?? p.Root ?? Xo, N = O.input ?? p.Input ?? Ho;
|
|
1612
1619
|
return /* @__PURE__ */ v(Se, {
|
|
1613
1620
|
slots: {
|
|
1614
1621
|
root: S,
|
|
@@ -1818,7 +1825,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
|
|
|
1818
1825
|
});
|
|
1819
1826
|
$e.muiName = "Input";
|
|
1820
1827
|
var Xe;
|
|
1821
|
-
const
|
|
1828
|
+
const Go = h("fieldset", {
|
|
1822
1829
|
shouldForwardProp: k
|
|
1823
1830
|
})({
|
|
1824
1831
|
textAlign: "left",
|
|
@@ -1835,7 +1842,7 @@ const Ho = h("fieldset", {
|
|
|
1835
1842
|
borderWidth: 1,
|
|
1836
1843
|
overflow: "hidden",
|
|
1837
1844
|
minWidth: "0%"
|
|
1838
|
-
}),
|
|
1845
|
+
}), Jo = h("legend", {
|
|
1839
1846
|
shouldForwardProp: k
|
|
1840
1847
|
})(E(({
|
|
1841
1848
|
theme: o
|
|
@@ -1912,12 +1919,12 @@ function Qe(o) {
|
|
|
1912
1919
|
notched: p,
|
|
1913
1920
|
withLabel: d
|
|
1914
1921
|
};
|
|
1915
|
-
return /* @__PURE__ */ v(
|
|
1922
|
+
return /* @__PURE__ */ v(Go, {
|
|
1916
1923
|
"aria-hidden": !0,
|
|
1917
1924
|
className: r,
|
|
1918
1925
|
ownerState: b,
|
|
1919
1926
|
...a,
|
|
1920
|
-
children: /* @__PURE__ */ v(
|
|
1927
|
+
children: /* @__PURE__ */ v(Jo, {
|
|
1921
1928
|
ownerState: b,
|
|
1922
1929
|
children: d ? /* @__PURE__ */ v("span", {
|
|
1923
1930
|
children: i
|
|
@@ -1958,20 +1965,14 @@ process.env.NODE_ENV !== "production" && (Qe.propTypes = {
|
|
|
1958
1965
|
*/
|
|
1959
1966
|
style: e.object
|
|
1960
1967
|
});
|
|
1961
|
-
|
|
1962
|
-
return z("MuiOutlinedInput", o);
|
|
1963
|
-
}
|
|
1964
|
-
const P = {
|
|
1965
|
-
...Ie,
|
|
1966
|
-
...D("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
1967
|
-
}, Yo = (o) => {
|
|
1968
|
+
const Yo = (o) => {
|
|
1968
1969
|
const {
|
|
1969
1970
|
classes: t
|
|
1970
1971
|
} = o, r = V({
|
|
1971
1972
|
root: ["root"],
|
|
1972
1973
|
notchedOutline: ["notchedOutline"],
|
|
1973
1974
|
input: ["input"]
|
|
1974
|
-
},
|
|
1975
|
+
}, wo, t);
|
|
1975
1976
|
return {
|
|
1976
1977
|
...t,
|
|
1977
1978
|
// forward classes to the InputBase
|
|
@@ -2364,7 +2365,7 @@ const ot = (o) => {
|
|
|
2364
2365
|
className: d,
|
|
2365
2366
|
defaultOpen: b = !1,
|
|
2366
2367
|
displayEmpty: m = !1,
|
|
2367
|
-
IconComponent: f =
|
|
2368
|
+
IconComponent: f = No,
|
|
2368
2369
|
id: c,
|
|
2369
2370
|
input: O,
|
|
2370
2371
|
inputProps: C,
|
|
@@ -2599,15 +2600,18 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
|
|
|
2599
2600
|
});
|
|
2600
2601
|
eo.muiName = "Select";
|
|
2601
2602
|
export {
|
|
2603
|
+
No as A,
|
|
2602
2604
|
$e as F,
|
|
2603
2605
|
Ne as I,
|
|
2604
2606
|
ke as O,
|
|
2605
2607
|
eo as S,
|
|
2606
|
-
|
|
2608
|
+
jo as a,
|
|
2607
2609
|
Rt as b,
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
+
Eo as c,
|
|
2611
|
+
Uo as d,
|
|
2612
|
+
L as f,
|
|
2610
2613
|
xo as g,
|
|
2611
2614
|
K as i,
|
|
2615
|
+
P as o,
|
|
2612
2616
|
X as s
|
|
2613
2617
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const m=require("react"),t=require("./generateUtilityClasses-0dYt6eGZ.cjs"),S=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),k=require("./SwitchBase-CaXyAuEt.cjs"),d=require("./memoTheme-D1tPxCd9.cjs"),p=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-PRhNsS_3.cjs"),i=require("./capitalize-Cq3s4y8R.cjs"),P=require("./refType-DdkUp8DT.cjs");function $(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(o,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}return o.default=e,Object.freeze(o)}const C=$(m);function f(e){return t.generateUtilityClass("MuiSwitch",e)}const r=t.generateUtilityClasses("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),x=e=>{const{classes:o,edge:a,size:s,color:u,checked:y,disabled:h}=e,g={root:["root",a&&`edge${i.capitalize(a)}`,`size${i.capitalize(s)}`],switchBase:["switchBase",`color${i.capitalize(u)}`,y&&"checked",h&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},b=c.composeClasses(g,f,o);return{...o,...b}},z=c.styled("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:a}=e;return[o.root,a.edge&&o[`edge${i.capitalize(a.edge)}`],o[`size${i.capitalize(a.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${r.thumb}`]:{width:16,height:16},[`& .${r.switchBase}`]:{padding:4,[`&.${r.checked}`]:{transform:"translateX(16px)"}}}}]}),O=c.styled(k.SwitchBase,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,o)=>{const{ownerState:a}=e;return[o.switchBase,{[`& .${r.input}`]:o.input},a.color!=="default"&&o[`color${i.capitalize(a.color)}`]]}})(d.memoTheme(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${r.checked}`]:{transform:"translateX(20px)"},[`&.${r.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${r.checked} + .${r.track}`]:{opacity:.5},[`&.${r.disabled} + .${r.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${r.input}`]:{left:"-100%",width:"300%"}})),d.memoTheme(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:t.alpha(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(S.createSimplePaletteValueFilter(["light"])).map(([o])=>({props:{color:o},style:{[`&.${r.checked}`]:{color:(e.vars||e).palette[o].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:t.alpha(e.palette[o].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${r.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${o}DisabledColor`]:`${e.palette.mode==="light"?t.lighten(e.palette[o].main,.62):t.darken(e.palette[o].main,.55)}`}},[`&.${r.checked} + .${r.track}`]:{backgroundColor:(e.vars||e).palette[o].main}}}))]}))),j=c.styled("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,o)=>o.track})(d.memoTheme(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),R=c.styled("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,o)=>o.thumb})(d.memoTheme(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),v=C.forwardRef(function(o,a){const s=c.useDefaultProps({props:o,name:"MuiSwitch"}),{className:u,color:y="primary",edge:h=!1,size:g="medium",sx:b,...T}=s,n={...s,color:y,edge:h,size:g},l=x(n),w=p.jsx(R,{className:l.thumb,ownerState:n});return p.jsxs(z,{className:t.clsx(l.root,u),sx:b,ownerState:n,children:[p.jsx(O,{type:"checkbox",icon:w,checkedIcon:w,ref:a,ownerState:n,...T,classes:{...l,root:l.switchBase}}),p.jsx(j,{className:l.track,ownerState:n})]})});process.env.NODE_ENV!=="production"&&(v.propTypes={checked:t.PropTypes.bool,checkedIcon:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,color:t.PropTypes.oneOfType([t.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),t.PropTypes.string]),defaultChecked:t.PropTypes.bool,disabled:t.PropTypes.bool,disableRipple:t.PropTypes.bool,edge:t.PropTypes.oneOf(["end","start",!1]),icon:t.PropTypes.node,id:t.PropTypes.string,inputProps:t.PropTypes.object,inputRef:P.refType,onChange:t.PropTypes.func,required:t.PropTypes.bool,size:t.PropTypes.oneOfType([t.PropTypes.oneOf(["medium","small"]),t.PropTypes.string]),sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),value:t.PropTypes.any});exports.Switch=v;exports.getSwitchUtilityClass=f;exports.switchClasses=r;
|