@cgi-learning-hub/ui 0.0.1-dev.1709568003 → 0.0.1-dev.1709569638
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-erN4AuKs.js → Box-C0qXdJzV.js} +8 -8
- package/dist/Box-DjRIKMD0.cjs +1 -0
- package/dist/ButtonBase-BvllyU4w.cjs +75 -0
- package/dist/ButtonBase-C14ZYs6z.js +833 -0
- package/dist/CircularProgress-Bf46-VRs.js +217 -0
- package/dist/CircularProgress-DjSMBYnK.cjs +28 -0
- package/dist/{DefaultButton-DbpZOb47.js → DefaultButton-B-2UppUm.js} +146 -355
- package/dist/DefaultButton-DPZOltN5.cjs +1 -0
- package/dist/{IconButton-DE5JOshS.js → IconButton-1URziYlU.js} +8 -8
- package/dist/IconButton-X6l-U-im.cjs +2 -0
- package/dist/InputBase-BrkAyp4z.cjs +4 -0
- package/dist/{InputBase-C8AzQJJ9.js → InputBase-D_wYPpmB.js} +173 -160
- package/dist/{LocalizationProvider-Cov62Xe0.js → LocalizationProvider-BD64DNxF.js} +3 -4
- package/dist/LocalizationProvider-DqwEOZOd.cjs +5 -0
- package/dist/SearchInput-CMLDZJ8k.cjs +1 -0
- package/dist/SearchInput-D2HnePqk.js +177 -0
- package/dist/Tabs-B9BPJaDx.js +1090 -0
- package/dist/Tabs-Dx8YJT4c.cjs +4 -0
- package/dist/TextInput-BO1q4hT2.cjs +12 -0
- package/dist/{TextInput-DmMk4i-V.js → TextInput-DiA3Q5CJ.js} +1353 -1594
- package/dist/TimePicker-CBI_tdzH.js +19695 -0
- package/dist/TimePicker-CnW0kylk.cjs +69 -0
- package/dist/Typography-CRt6WSxo.js +204 -0
- package/dist/Typography-DsPQABF2.cjs +1 -0
- package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
- package/dist/components/Dropzone/Dropzone.es.js +11 -12
- package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
- package/dist/components/LocalizationProvider/LocalizationProvider.es.js +1 -1
- package/dist/components/LocalizationProvider/index.cjs.js +1 -1
- package/dist/components/LocalizationProvider/index.es.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +3 -3
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +6 -6
- package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/index.es.js +1 -1
- package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
- package/dist/components/buttons/IconButton.stories.es.js +9 -10
- package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +2 -2
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +2 -2
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/buttons/index.cjs.js +1 -1
- package/dist/components/buttons/index.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +91 -90
- package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.es.js +6 -174
- package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +4 -4
- package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/index.es.js +2 -2
- package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.es.js +2 -2
- package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
- package/dist/components/inputs/TextInput/index.cjs.js +1 -1
- package/dist/components/inputs/TextInput/index.es.js +1 -1
- package/dist/components/inputs/index.cjs.js +1 -1
- package/dist/components/inputs/index.es.js +4 -4
- package/dist/components/lists/FileList/FileList.cjs.js +1 -1
- package/dist/components/lists/FileList/FileList.es.js +2 -2
- package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/lists/FileList/FileListItem.es.js +39 -7
- package/dist/components/lists/FileList/index.cjs.js +1 -1
- package/dist/components/lists/FileList/index.es.js +4 -4
- package/dist/components/lists/TabList.stories.cjs.js +1 -1
- package/dist/components/lists/TabList.stories.es.js +16 -18
- package/dist/components/lists/index.cjs.js +1 -1
- package/dist/components/lists/index.es.js +4 -4
- package/dist/createSvgIcon-BOQCM03y.cjs +2 -0
- package/dist/createSvgIcon-C2VxBqzG.cjs +1 -0
- package/dist/{createSvgIcon-DeRU4e-L.js → createSvgIcon-Dspfpz-l.js} +18 -20
- package/dist/createSvgIcon-xJp3_zwo.js +84 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +94 -93
- package/dist/isHostComponent-PydJW4A4.cjs +1 -0
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/refType-5EEBZL5_.cjs +1 -0
- package/dist/{refType-CoCfCK--.js → refType-BBFUe6fu.js} +1 -1
- package/dist/styled-D8lXwcQy.js +423 -0
- package/dist/styled-DFoJwRxe.cjs +24 -0
- package/dist/useSlotProps-BoMYRJkF.js +72 -0
- package/dist/useSlotProps-EKKRQjEn.cjs +1 -0
- package/dist/useTheme-BkW5nNsn.cjs +1 -0
- package/dist/useTheme-Bo1inEHN.js +9 -0
- package/dist/useThemeProps-BRWSvuZw.cjs +42 -0
- package/dist/useThemeProps-CZzcR_pm.js +2288 -0
- package/package.json +5 -2
- package/dist/Box-CjHm9A9L.cjs +0 -1
- package/dist/ButtonBase-BybMkBUd.cjs +0 -75
- package/dist/ButtonBase-CGcs8Gbj.cjs +0 -75
- package/dist/ButtonBase-V1pwsMMs.js +0 -649
- package/dist/ButtonBase-aujiNoUb.js +0 -649
- package/dist/DefaultButton-Cg4tPCgf.cjs +0 -28
- package/dist/FileListItem-ChKTjDnV.js +0 -254
- package/dist/FileListItem-CjFIZgYg.cjs +0 -28
- package/dist/IconButton-CHXclgOn.cjs +0 -2
- package/dist/InputBase-D6eXzDaz.cjs +0 -4
- package/dist/LocalizationProvider-42pD7VmS.cjs +0 -5
- package/dist/Tabs-DiWeNGD4.js +0 -1167
- package/dist/Tabs-DoxP7EMA.cjs +0 -4
- package/dist/TextInput-BbSyyuvO.cjs +0 -12
- package/dist/TimePicker-B5MjZCK0.cjs +0 -89
- package/dist/TimePicker-BmxG3a2D.js +0 -28354
- package/dist/TransitionGroup-COuDopJ-.js +0 -188
- package/dist/TransitionGroup-X90dkobW.cjs +0 -1
- package/dist/Typography-B90UzlQW.js +0 -179
- package/dist/Typography-KFjBz5Hm.cjs +0 -1
- package/dist/clamp-0LjYbpE_.cjs +0 -23
- package/dist/clamp-BGJvJ0FN.js +0 -1641
- package/dist/createSvgIcon-BSYat4nx.js +0 -74
- package/dist/createSvgIcon-BqRWmIPG.cjs +0 -1
- package/dist/createSvgIcon-doNQ5emq.cjs +0 -2
- package/dist/refType-Bt58K9Sk.cjs +0 -1
- package/dist/styled-BU8dAebc.js +0 -1751
- package/dist/styled-DGjsLYEN.cjs +0 -45
- package/dist/styled-DP6LeBLQ.js +0 -261
- package/dist/styled-Dkd1VGM-.cjs +0 -1
- package/dist/useTheme-C132tQV-.js +0 -10
- package/dist/useTheme-CliHZTkE.cjs +0 -1
- package/dist/useThemeProps-63SNG58r.js +0 -753
- package/dist/useThemeProps-CVatCXfo.cjs +0 -20
package/dist/index.es.js
CHANGED
|
@@ -1,119 +1,120 @@
|
|
|
1
1
|
import "./assets/index.css";
|
|
2
2
|
import { default as t } from "./components/Dropzone/Dropzone.es.js";
|
|
3
|
-
import { L as i } from "./LocalizationProvider-
|
|
4
|
-
import { D as r } from "./DefaultButton-
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import {
|
|
8
|
-
import { F as c, a as p, L as u, M as U, S as x, T as f, f as I, b as k, g as d, c as P, d as L, e as B, h as D, l as
|
|
3
|
+
import { L as i } from "./LocalizationProvider-BD64DNxF.js";
|
|
4
|
+
import { D as r } from "./DefaultButton-B-2UppUm.js";
|
|
5
|
+
import { default as m } from "./components/buttons/PrimaryButton/PrimaryButton.es.js";
|
|
6
|
+
import { default as g } from "./components/buttons/SecondaryButton/SecondaryButton.es.js";
|
|
7
|
+
import { S as b } from "./SearchInput-D2HnePqk.js";
|
|
8
|
+
import { F as c, a as p, L as u, M as U, S as x, T as f, f as I, b as k, g as d, c as P, d as L, e as B, h as D, l as h, m as F, s as S } from "./TextInput-DiA3Q5CJ.js";
|
|
9
9
|
import { default as M } from "./components/lists/FileList/FileList.es.js";
|
|
10
|
-
import {
|
|
11
|
-
import { u as
|
|
12
|
-
import { C as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { T as
|
|
10
|
+
import { default as R } from "./components/lists/FileList/FileListItem.es.js";
|
|
11
|
+
import { u as v } from "./InputBase-D_wYPpmB.js";
|
|
12
|
+
import { C as q, Z as A, _ as E, a0 as G, a1 as J, a3 as K, M as N, D as O, L as Q, a as V, b as W, c as X, d as Y, e as Z, S as _, T as $, f as ss, g as as, h as es, i as ts, j as ls, a5 as is, a6 as os, k as rs, l as Cs, $ as ms, a2 as Ts, a4 as gs, n as ns, p as bs, m as ys, q as cs, o as ps, s as us, u as Us, w as xs, y as fs, A as Is, E as ks, G as ds, K as Ps, O as Ls, Q as Bs, U as Ds, W as hs, I as Fs, Y as Ss, r as Hs, t as Ms, v as ws, x as Rs, z as zs, B as vs, F as js, J as qs, N as As, H as Es, P as Gs, R as Js, V as Ks, a7 as Ns, X as Os } from "./TimePicker-CBI_tdzH.js";
|
|
13
|
+
import { C as Vs, c as Ws, g as Xs } from "./CircularProgress-Bf46-VRs.js";
|
|
14
|
+
import { I as Zs, g as _s, i as $s } from "./IconButton-1URziYlU.js";
|
|
15
|
+
import { T as aa, a as ea, g as ta, c as la, t as ia, b as oa } from "./Tabs-B9BPJaDx.js";
|
|
16
|
+
import { T as Ca, g as ma, t as Ta } from "./Typography-CRt6WSxo.js";
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
q as Checkbox,
|
|
19
|
+
Vs as CircularProgress,
|
|
20
|
+
A as DatePicker,
|
|
21
|
+
E as DatePickerToolbar,
|
|
22
|
+
G as DateTimePicker,
|
|
23
|
+
J as DateTimePickerTabs,
|
|
24
|
+
K as DateTimePickerToolbar,
|
|
24
25
|
r as DefaultButton,
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
N as Dialog,
|
|
27
|
+
O as DialogTitle,
|
|
27
28
|
t as Dropzone,
|
|
28
29
|
M as FileList,
|
|
29
|
-
|
|
30
|
+
R as FileListItem,
|
|
30
31
|
c as FormControl,
|
|
31
32
|
p as FormHelperText,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
Zs as IconButton,
|
|
34
|
+
Q as LinearProgress,
|
|
35
|
+
V as Link,
|
|
35
36
|
u as List,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
W as ListItemButton,
|
|
38
|
+
X as ListItemIcon,
|
|
39
|
+
Y as ListItemText,
|
|
39
40
|
i as LocalizationProvider,
|
|
40
41
|
U as Menu,
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
Z as MenuItem,
|
|
43
|
+
m as PrimaryButton,
|
|
43
44
|
b as SearchInput,
|
|
44
|
-
|
|
45
|
+
g as SecondaryButton,
|
|
45
46
|
x as Select,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
_ as Snackbar,
|
|
48
|
+
aa as Tab,
|
|
49
|
+
$ as Table,
|
|
50
|
+
ss as TableBody,
|
|
51
|
+
as as TableCell,
|
|
52
|
+
es as TableContainer,
|
|
53
|
+
ts as TableHead,
|
|
54
|
+
ls as TableRow,
|
|
55
|
+
ea as Tabs,
|
|
55
56
|
f as TextInput,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
57
|
+
is as TimePicker,
|
|
58
|
+
os as TimePickerToolbar,
|
|
59
|
+
rs as Tooltip,
|
|
60
|
+
Ca as Typography,
|
|
61
|
+
Cs as checkboxClasses,
|
|
62
|
+
Ws as circularProgressClasses,
|
|
63
|
+
ms as datePickerToolbarClasses,
|
|
64
|
+
Ts as dateTimePickerTabsClasses,
|
|
65
|
+
gs as dateTimePickerToolbarClasses,
|
|
66
|
+
ns as dialogClasses,
|
|
67
|
+
bs as dialogTitleClasses,
|
|
67
68
|
I as formControlClasses,
|
|
68
69
|
k as formHelperTextClasses,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
ys as getCheckboxUtilityClass,
|
|
71
|
+
Xs as getCircularProgressUtilityClass,
|
|
72
|
+
cs as getDialogTitleUtilityClass,
|
|
73
|
+
ps as getDialogUtilityClass,
|
|
73
74
|
d as getFormControlUtilityClasses,
|
|
74
75
|
P as getFormHelperTextUtilityClasses,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
76
|
+
_s as getIconButtonUtilityClass,
|
|
77
|
+
us as getLinearProgressUtilityClass,
|
|
78
|
+
Us as getLinkUtilityClass,
|
|
79
|
+
xs as getListItemButtonUtilityClass,
|
|
80
|
+
fs as getListItemIconUtilityClass,
|
|
81
|
+
Is as getListItemTextUtilityClass,
|
|
81
82
|
L as getListUtilityClass,
|
|
82
|
-
|
|
83
|
+
ks as getMenuItemUtilityClass,
|
|
83
84
|
B as getMenuUtilityClass,
|
|
84
85
|
D as getSelectUtilityClasses,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
86
|
+
ds as getSnackbarUtilityClass,
|
|
87
|
+
ta as getTabUtilityClass,
|
|
88
|
+
Ps as getTableBodyUtilityClass,
|
|
89
|
+
Ls as getTableCellUtilityClass,
|
|
90
|
+
Bs as getTableContainerUtilityClass,
|
|
91
|
+
Ds as getTableHeadUtilityClass,
|
|
92
|
+
hs as getTableRowUtilityClass,
|
|
93
|
+
Fs as getTableUtilityClass,
|
|
94
|
+
la as getTabsUtilityClass,
|
|
95
|
+
Ss as getTooltipUtilityClass,
|
|
96
|
+
ma as getTypographyUtilityClass,
|
|
97
|
+
$s as iconButtonClasses,
|
|
98
|
+
Hs as linearProgressClasses,
|
|
99
|
+
Ms as linkClasses,
|
|
100
|
+
h as listClasses,
|
|
101
|
+
ws as listItemButtonClasses,
|
|
102
|
+
Rs as listItemIconClasses,
|
|
103
|
+
zs as listItemTextClasses,
|
|
104
|
+
F as menuClasses,
|
|
105
|
+
vs as menuItemClasses,
|
|
105
106
|
S as selectClasses,
|
|
106
|
-
|
|
107
|
+
js as snackbarClasses,
|
|
107
108
|
ia as tabClasses,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
109
|
+
qs as tableBodyClasses,
|
|
110
|
+
As as tableCellClasses,
|
|
111
|
+
Es as tableClasses,
|
|
112
|
+
Gs as tableContainerClasses,
|
|
113
|
+
Js as tableHeadClasses,
|
|
114
|
+
Ks as tableRowClasses,
|
|
115
|
+
oa as tabsClasses,
|
|
116
|
+
Ns as timePickerToolbarClasses,
|
|
117
|
+
Os as tooltipClasses,
|
|
117
118
|
Ta as typographyClasses,
|
|
118
|
-
|
|
119
|
+
v as useFormControl
|
|
119
120
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function n(t){return typeof t=="string"}exports.isHostComponent=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./useThemeProps-BRWSvuZw.cjs");function c(n,e){return process.env.NODE_ENV==="production"?()=>null:function(...t){return n(...t)||e(...t)}}function f(n){const{prototype:e={}}=n;return!!e.isReactComponent}function l(n,e,i,t,u){const p=n[e],s=u||e;if(p==null||typeof window>"u")return null;let r;return typeof p=="function"&&!f(p)&&(r="Did you accidentally provide a plain function component instead?"),r!==void 0?new Error(`Invalid ${t} \`${s}\` supplied to \`${i}\`. Expected an element type that can hold a ref. ${r} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const a=c(o.PropTypes.elementType,l),y=o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object]),d=y;exports.chainPropTypes=c;exports.elementTypeAcceptingRef=a;exports.refType=d;
|
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
import { g as ye, e as k, _ as h, l as ve, c as Se, s as Ee, i as _e, T as he, d as Re } from "./useThemeProps-CZzcR_pm.js";
|
|
2
|
+
import be from "@emotion/styled";
|
|
3
|
+
import "@emotion/react";
|
|
4
|
+
/**
|
|
5
|
+
* @mui/styled-engine v5.15.11
|
|
6
|
+
*
|
|
7
|
+
* @license MIT
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
function Te(e, n) {
|
|
12
|
+
const t = be(e, n);
|
|
13
|
+
return process.env.NODE_ENV !== "production" ? (...s) => {
|
|
14
|
+
const i = typeof e == "string" ? `"${e}"` : "component";
|
|
15
|
+
return s.length === 0 ? console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
16
|
+
`)) : s.some((m) => m === void 0) && console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`), t(...s);
|
|
17
|
+
} : t;
|
|
18
|
+
}
|
|
19
|
+
const Pe = (e, n) => {
|
|
20
|
+
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = n(e.__emotion_styles));
|
|
21
|
+
};
|
|
22
|
+
function K(e) {
|
|
23
|
+
var n, t, s = "";
|
|
24
|
+
if (typeof e == "string" || typeof e == "number")
|
|
25
|
+
s += e;
|
|
26
|
+
else if (typeof e == "object")
|
|
27
|
+
if (Array.isArray(e)) {
|
|
28
|
+
var i = e.length;
|
|
29
|
+
for (n = 0; n < i; n++)
|
|
30
|
+
e[n] && (t = K(e[n])) && (s && (s += " "), s += t);
|
|
31
|
+
} else
|
|
32
|
+
for (t in e)
|
|
33
|
+
e[t] && (s && (s += " "), s += t);
|
|
34
|
+
return s;
|
|
35
|
+
}
|
|
36
|
+
function ke() {
|
|
37
|
+
for (var e, n, t = 0, s = "", i = arguments.length; t < i; t++)
|
|
38
|
+
(e = arguments[t]) && (n = K(e)) && (s && (s += " "), s += n);
|
|
39
|
+
return s;
|
|
40
|
+
}
|
|
41
|
+
function Ue(e, n, t = "Mui") {
|
|
42
|
+
const s = {};
|
|
43
|
+
return n.forEach((i) => {
|
|
44
|
+
s[i] = ye(e, i, t);
|
|
45
|
+
}), s;
|
|
46
|
+
}
|
|
47
|
+
var U = { exports: {} }, a = {};
|
|
48
|
+
/**
|
|
49
|
+
* @license React
|
|
50
|
+
* react-is.production.min.js
|
|
51
|
+
*
|
|
52
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
53
|
+
*
|
|
54
|
+
* This source code is licensed under the MIT license found in the
|
|
55
|
+
* LICENSE file in the root directory of this source tree.
|
|
56
|
+
*/
|
|
57
|
+
var X;
|
|
58
|
+
function Ce() {
|
|
59
|
+
if (X)
|
|
60
|
+
return a;
|
|
61
|
+
X = 1;
|
|
62
|
+
var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), l = Symbol.for("react.context"), S = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), $;
|
|
63
|
+
$ = Symbol.for("react.module.reference");
|
|
64
|
+
function y(r) {
|
|
65
|
+
if (typeof r == "object" && r !== null) {
|
|
66
|
+
var T = r.$$typeof;
|
|
67
|
+
switch (T) {
|
|
68
|
+
case e:
|
|
69
|
+
switch (r = r.type, r) {
|
|
70
|
+
case t:
|
|
71
|
+
case i:
|
|
72
|
+
case s:
|
|
73
|
+
case d:
|
|
74
|
+
case p:
|
|
75
|
+
return r;
|
|
76
|
+
default:
|
|
77
|
+
switch (r = r && r.$$typeof, r) {
|
|
78
|
+
case S:
|
|
79
|
+
case l:
|
|
80
|
+
case c:
|
|
81
|
+
case E:
|
|
82
|
+
case R:
|
|
83
|
+
case m:
|
|
84
|
+
return r;
|
|
85
|
+
default:
|
|
86
|
+
return T;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
case n:
|
|
90
|
+
return T;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return a.ContextConsumer = l, a.ContextProvider = m, a.Element = e, a.ForwardRef = c, a.Fragment = t, a.Lazy = E, a.Memo = R, a.Portal = n, a.Profiler = i, a.StrictMode = s, a.Suspense = d, a.SuspenseList = p, a.isAsyncMode = function() {
|
|
95
|
+
return !1;
|
|
96
|
+
}, a.isConcurrentMode = function() {
|
|
97
|
+
return !1;
|
|
98
|
+
}, a.isContextConsumer = function(r) {
|
|
99
|
+
return y(r) === l;
|
|
100
|
+
}, a.isContextProvider = function(r) {
|
|
101
|
+
return y(r) === m;
|
|
102
|
+
}, a.isElement = function(r) {
|
|
103
|
+
return typeof r == "object" && r !== null && r.$$typeof === e;
|
|
104
|
+
}, a.isForwardRef = function(r) {
|
|
105
|
+
return y(r) === c;
|
|
106
|
+
}, a.isFragment = function(r) {
|
|
107
|
+
return y(r) === t;
|
|
108
|
+
}, a.isLazy = function(r) {
|
|
109
|
+
return y(r) === E;
|
|
110
|
+
}, a.isMemo = function(r) {
|
|
111
|
+
return y(r) === R;
|
|
112
|
+
}, a.isPortal = function(r) {
|
|
113
|
+
return y(r) === n;
|
|
114
|
+
}, a.isProfiler = function(r) {
|
|
115
|
+
return y(r) === i;
|
|
116
|
+
}, a.isStrictMode = function(r) {
|
|
117
|
+
return y(r) === s;
|
|
118
|
+
}, a.isSuspense = function(r) {
|
|
119
|
+
return y(r) === d;
|
|
120
|
+
}, a.isSuspenseList = function(r) {
|
|
121
|
+
return y(r) === p;
|
|
122
|
+
}, a.isValidElementType = function(r) {
|
|
123
|
+
return typeof r == "string" || typeof r == "function" || r === t || r === i || r === s || r === d || r === p || r === w || typeof r == "object" && r !== null && (r.$$typeof === E || r.$$typeof === R || r.$$typeof === m || r.$$typeof === l || r.$$typeof === c || r.$$typeof === $ || r.getModuleId !== void 0);
|
|
124
|
+
}, a.typeOf = y, a;
|
|
125
|
+
}
|
|
126
|
+
var u = {};
|
|
127
|
+
/**
|
|
128
|
+
* @license React
|
|
129
|
+
* react-is.development.js
|
|
130
|
+
*
|
|
131
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
132
|
+
*
|
|
133
|
+
* This source code is licensed under the MIT license found in the
|
|
134
|
+
* LICENSE file in the root directory of this source tree.
|
|
135
|
+
*/
|
|
136
|
+
var G;
|
|
137
|
+
function $e() {
|
|
138
|
+
return G || (G = 1, process.env.NODE_ENV !== "production" && function() {
|
|
139
|
+
var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), l = Symbol.for("react.context"), S = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), $ = !1, y = !1, r = !1, T = !1, M = !1, x;
|
|
140
|
+
x = Symbol.for("react.module.reference");
|
|
141
|
+
function O(o) {
|
|
142
|
+
return !!(typeof o == "string" || typeof o == "function" || o === t || o === i || M || o === s || o === d || o === p || T || o === w || $ || y || r || typeof o == "object" && o !== null && (o.$$typeof === E || o.$$typeof === R || o.$$typeof === m || o.$$typeof === l || o.$$typeof === c || // This needs to include all possible module reference object
|
|
143
|
+
// types supported by any Flight configuration anywhere since
|
|
144
|
+
// we don't know which Flight build this will end up being used
|
|
145
|
+
// with.
|
|
146
|
+
o.$$typeof === x || o.getModuleId !== void 0));
|
|
147
|
+
}
|
|
148
|
+
function f(o) {
|
|
149
|
+
if (typeof o == "object" && o !== null) {
|
|
150
|
+
var z = o.$$typeof;
|
|
151
|
+
switch (z) {
|
|
152
|
+
case e:
|
|
153
|
+
var L = o.type;
|
|
154
|
+
switch (L) {
|
|
155
|
+
case t:
|
|
156
|
+
case i:
|
|
157
|
+
case s:
|
|
158
|
+
case d:
|
|
159
|
+
case p:
|
|
160
|
+
return L;
|
|
161
|
+
default:
|
|
162
|
+
var H = L && L.$$typeof;
|
|
163
|
+
switch (H) {
|
|
164
|
+
case S:
|
|
165
|
+
case l:
|
|
166
|
+
case c:
|
|
167
|
+
case E:
|
|
168
|
+
case R:
|
|
169
|
+
case m:
|
|
170
|
+
return H;
|
|
171
|
+
default:
|
|
172
|
+
return z;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
case n:
|
|
176
|
+
return z;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
var b = l, F = m, P = e, I = c, g = t, v = E, _ = R, C = n, A = i, V = s, j = d, ee = p, q = !1, W = !1;
|
|
181
|
+
function re(o) {
|
|
182
|
+
return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
183
|
+
}
|
|
184
|
+
function te(o) {
|
|
185
|
+
return W || (W = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
186
|
+
}
|
|
187
|
+
function oe(o) {
|
|
188
|
+
return f(o) === l;
|
|
189
|
+
}
|
|
190
|
+
function ne(o) {
|
|
191
|
+
return f(o) === m;
|
|
192
|
+
}
|
|
193
|
+
function se(o) {
|
|
194
|
+
return typeof o == "object" && o !== null && o.$$typeof === e;
|
|
195
|
+
}
|
|
196
|
+
function ie(o) {
|
|
197
|
+
return f(o) === c;
|
|
198
|
+
}
|
|
199
|
+
function ae(o) {
|
|
200
|
+
return f(o) === t;
|
|
201
|
+
}
|
|
202
|
+
function ue(o) {
|
|
203
|
+
return f(o) === E;
|
|
204
|
+
}
|
|
205
|
+
function ce(o) {
|
|
206
|
+
return f(o) === R;
|
|
207
|
+
}
|
|
208
|
+
function fe(o) {
|
|
209
|
+
return f(o) === n;
|
|
210
|
+
}
|
|
211
|
+
function le(o) {
|
|
212
|
+
return f(o) === i;
|
|
213
|
+
}
|
|
214
|
+
function de(o) {
|
|
215
|
+
return f(o) === s;
|
|
216
|
+
}
|
|
217
|
+
function me(o) {
|
|
218
|
+
return f(o) === d;
|
|
219
|
+
}
|
|
220
|
+
function pe(o) {
|
|
221
|
+
return f(o) === p;
|
|
222
|
+
}
|
|
223
|
+
u.ContextConsumer = b, u.ContextProvider = F, u.Element = P, u.ForwardRef = I, u.Fragment = g, u.Lazy = v, u.Memo = _, u.Portal = C, u.Profiler = A, u.StrictMode = V, u.Suspense = j, u.SuspenseList = ee, u.isAsyncMode = re, u.isConcurrentMode = te, u.isContextConsumer = oe, u.isContextProvider = ne, u.isElement = se, u.isForwardRef = ie, u.isFragment = ae, u.isLazy = ue, u.isMemo = ce, u.isPortal = fe, u.isProfiler = le, u.isStrictMode = de, u.isSuspense = me, u.isSuspenseList = pe, u.isValidElementType = O, u.typeOf = f;
|
|
224
|
+
}()), u;
|
|
225
|
+
}
|
|
226
|
+
process.env.NODE_ENV === "production" ? U.exports = Ce() : U.exports = $e();
|
|
227
|
+
var Z = U.exports;
|
|
228
|
+
const Ae = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
229
|
+
function we(e) {
|
|
230
|
+
const n = `${e}`.match(Ae);
|
|
231
|
+
return n && n[1] || "";
|
|
232
|
+
}
|
|
233
|
+
function Q(e, n = "") {
|
|
234
|
+
return e.displayName || e.name || we(e) || n;
|
|
235
|
+
}
|
|
236
|
+
function B(e, n, t) {
|
|
237
|
+
const s = Q(n);
|
|
238
|
+
return e.displayName || (s !== "" ? `${t}(${s})` : t);
|
|
239
|
+
}
|
|
240
|
+
function Me(e) {
|
|
241
|
+
if (e != null) {
|
|
242
|
+
if (typeof e == "string")
|
|
243
|
+
return e;
|
|
244
|
+
if (typeof e == "function")
|
|
245
|
+
return Q(e, "Component");
|
|
246
|
+
if (typeof e == "object")
|
|
247
|
+
switch (e.$$typeof) {
|
|
248
|
+
case Z.ForwardRef:
|
|
249
|
+
return B(e, e.render, "ForwardRef");
|
|
250
|
+
case Z.Memo:
|
|
251
|
+
return B(e, e.type, "memo");
|
|
252
|
+
default:
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
const xe = ["ownerState"], Fe = ["variants"], ge = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
258
|
+
function Ne(e) {
|
|
259
|
+
return Object.keys(e).length === 0;
|
|
260
|
+
}
|
|
261
|
+
function Oe(e) {
|
|
262
|
+
return typeof e == "string" && // 96 is one less than the char code
|
|
263
|
+
// for "a" so this is checking that
|
|
264
|
+
// it's a lowercase character
|
|
265
|
+
e.charCodeAt(0) > 96;
|
|
266
|
+
}
|
|
267
|
+
function N(e) {
|
|
268
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
269
|
+
}
|
|
270
|
+
const Ie = ve(), J = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
271
|
+
function Y({
|
|
272
|
+
defaultTheme: e,
|
|
273
|
+
theme: n,
|
|
274
|
+
themeId: t
|
|
275
|
+
}) {
|
|
276
|
+
return Ne(n) ? e : n[t] || n;
|
|
277
|
+
}
|
|
278
|
+
function Le(e) {
|
|
279
|
+
return e ? (n, t) => t[e] : null;
|
|
280
|
+
}
|
|
281
|
+
function D(e, n) {
|
|
282
|
+
let {
|
|
283
|
+
ownerState: t
|
|
284
|
+
} = n, s = k(n, xe);
|
|
285
|
+
const i = typeof e == "function" ? e(h({
|
|
286
|
+
ownerState: t
|
|
287
|
+
}, s)) : e;
|
|
288
|
+
if (Array.isArray(i))
|
|
289
|
+
return i.flatMap((m) => D(m, h({
|
|
290
|
+
ownerState: t
|
|
291
|
+
}, s)));
|
|
292
|
+
if (i && typeof i == "object" && Array.isArray(i.variants)) {
|
|
293
|
+
const {
|
|
294
|
+
variants: m = []
|
|
295
|
+
} = i;
|
|
296
|
+
let S = k(i, Fe);
|
|
297
|
+
return m.forEach((c) => {
|
|
298
|
+
let d = !0;
|
|
299
|
+
typeof c.props == "function" ? d = c.props(h({
|
|
300
|
+
ownerState: t
|
|
301
|
+
}, s, t)) : Object.keys(c.props).forEach((p) => {
|
|
302
|
+
(t == null ? void 0 : t[p]) !== c.props[p] && s[p] !== c.props[p] && (d = !1);
|
|
303
|
+
}), d && (Array.isArray(S) || (S = [S]), S.push(typeof c.style == "function" ? c.style(h({
|
|
304
|
+
ownerState: t
|
|
305
|
+
}, s, t)) : c.style));
|
|
306
|
+
}), S;
|
|
307
|
+
}
|
|
308
|
+
return i;
|
|
309
|
+
}
|
|
310
|
+
function Ye(e = {}) {
|
|
311
|
+
const {
|
|
312
|
+
themeId: n,
|
|
313
|
+
defaultTheme: t = Ie,
|
|
314
|
+
rootShouldForwardProp: s = N,
|
|
315
|
+
slotShouldForwardProp: i = N
|
|
316
|
+
} = e, m = (l) => Ee(h({}, l, {
|
|
317
|
+
theme: Y(h({}, l, {
|
|
318
|
+
defaultTheme: t,
|
|
319
|
+
themeId: n
|
|
320
|
+
}))
|
|
321
|
+
}));
|
|
322
|
+
return m.__mui_systemSx = !0, (l, S = {}) => {
|
|
323
|
+
Pe(l, (f) => f.filter((b) => !(b != null && b.__mui_systemSx)));
|
|
324
|
+
const {
|
|
325
|
+
name: c,
|
|
326
|
+
slot: d,
|
|
327
|
+
skipVariantsResolver: p,
|
|
328
|
+
skipSx: R,
|
|
329
|
+
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
330
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
331
|
+
overridesResolver: E = Le(J(d))
|
|
332
|
+
} = S, w = k(S, ge), $ = p !== void 0 ? p : (
|
|
333
|
+
// TODO v6: remove `Root` in the next major release
|
|
334
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
335
|
+
d && d !== "Root" && d !== "root" || !1
|
|
336
|
+
), y = R || !1;
|
|
337
|
+
let r;
|
|
338
|
+
process.env.NODE_ENV !== "production" && c && (r = `${c}-${J(d || "Root")}`);
|
|
339
|
+
let T = N;
|
|
340
|
+
d === "Root" || d === "root" ? T = s : d ? T = i : Oe(l) && (T = void 0);
|
|
341
|
+
const M = Te(l, h({
|
|
342
|
+
shouldForwardProp: T,
|
|
343
|
+
label: r
|
|
344
|
+
}, w)), x = (f) => typeof f == "function" && f.__emotion_real !== f || _e(f) ? (b) => D(f, h({}, b, {
|
|
345
|
+
theme: Y({
|
|
346
|
+
theme: b.theme,
|
|
347
|
+
defaultTheme: t,
|
|
348
|
+
themeId: n
|
|
349
|
+
})
|
|
350
|
+
})) : f, O = (f, ...b) => {
|
|
351
|
+
let F = x(f);
|
|
352
|
+
const P = b ? b.map(x) : [];
|
|
353
|
+
c && E && P.push((v) => {
|
|
354
|
+
const _ = Y(h({}, v, {
|
|
355
|
+
defaultTheme: t,
|
|
356
|
+
themeId: n
|
|
357
|
+
}));
|
|
358
|
+
if (!_.components || !_.components[c] || !_.components[c].styleOverrides)
|
|
359
|
+
return null;
|
|
360
|
+
const C = _.components[c].styleOverrides, A = {};
|
|
361
|
+
return Object.entries(C).forEach(([V, j]) => {
|
|
362
|
+
A[V] = D(j, h({}, v, {
|
|
363
|
+
theme: _
|
|
364
|
+
}));
|
|
365
|
+
}), E(v, A);
|
|
366
|
+
}), c && !$ && P.push((v) => {
|
|
367
|
+
var _;
|
|
368
|
+
const C = Y(h({}, v, {
|
|
369
|
+
defaultTheme: t,
|
|
370
|
+
themeId: n
|
|
371
|
+
})), A = C == null || (_ = C.components) == null || (_ = _[c]) == null ? void 0 : _.variants;
|
|
372
|
+
return D({
|
|
373
|
+
variants: A
|
|
374
|
+
}, h({}, v, {
|
|
375
|
+
theme: C
|
|
376
|
+
}));
|
|
377
|
+
}), y || P.push(m);
|
|
378
|
+
const I = P.length - b.length;
|
|
379
|
+
if (Array.isArray(f) && I > 0) {
|
|
380
|
+
const v = new Array(I).fill("");
|
|
381
|
+
F = [...f, ...v], F.raw = [...f.raw, ...v];
|
|
382
|
+
}
|
|
383
|
+
const g = M(F, ...P);
|
|
384
|
+
if (process.env.NODE_ENV !== "production") {
|
|
385
|
+
let v;
|
|
386
|
+
c && (v = `${c}${Se(d || "")}`), v === void 0 && (v = `Styled(${Me(l)})`), g.displayName = v;
|
|
387
|
+
}
|
|
388
|
+
return l.muiName && (g.muiName = l.muiName), g;
|
|
389
|
+
};
|
|
390
|
+
return M.withConfig && (O.withConfig = M.withConfig), O;
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
function qe(e, n, t = void 0) {
|
|
394
|
+
const s = {};
|
|
395
|
+
return Object.keys(e).forEach(
|
|
396
|
+
// `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
397
|
+
// @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
|
|
398
|
+
(i) => {
|
|
399
|
+
s[i] = e[i].reduce((m, l) => {
|
|
400
|
+
if (l) {
|
|
401
|
+
const S = n(l);
|
|
402
|
+
S !== "" && m.push(S), t && t[l] && m.push(t[l]);
|
|
403
|
+
}
|
|
404
|
+
return m;
|
|
405
|
+
}, []).join(" ");
|
|
406
|
+
}
|
|
407
|
+
), s;
|
|
408
|
+
}
|
|
409
|
+
const De = (e) => N(e) && e !== "classes", We = N, He = Ye({
|
|
410
|
+
themeId: he,
|
|
411
|
+
defaultTheme: Re,
|
|
412
|
+
rootShouldForwardProp: De
|
|
413
|
+
});
|
|
414
|
+
export {
|
|
415
|
+
qe as a,
|
|
416
|
+
Te as b,
|
|
417
|
+
ke as c,
|
|
418
|
+
Z as d,
|
|
419
|
+
We as e,
|
|
420
|
+
Ue as g,
|
|
421
|
+
De as r,
|
|
422
|
+
He as s
|
|
423
|
+
};
|