@surveycake/rc 3.0.0-alpha.2 → 3.0.0-alpha.20
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/CHANGELOG.md +164 -2
- package/dist/Checkbox/types.d.ts +2 -2
- package/dist/Radio/types.d.ts +2 -2
- package/dist/RadioGroup/types.d.ts +2 -2
- package/dist/V2/Backdrop/Backdrop.stories.d.ts +4 -0
- package/dist/V2/Backdrop/index.d.ts +6 -0
- package/dist/V2/Backdrop/styles.d.ts +3 -0
- package/dist/V2/Box/Box.stories.d.ts +4 -0
- package/dist/V2/Box/index.d.ts +9 -0
- package/dist/V2/Button/Button.stories.d.ts +1 -0
- package/dist/V2/Button/styles.d.ts +3 -0
- package/dist/V2/ButtonGroup/ButtonGroup.stories.d.ts +4 -0
- package/dist/V2/ButtonGroup/index.d.ts +6 -0
- package/dist/V2/CircularProgress/CircularProgress.stories.d.ts +4 -0
- package/dist/V2/CircularProgress/index.d.ts +6 -0
- package/dist/V2/CssBaseline/index.d.ts +4 -0
- package/dist/V2/Dialog/Dialog.stories.d.ts +4 -0
- package/dist/V2/Dialog/index.d.ts +7 -0
- package/dist/V2/DialogActions/index.d.ts +6 -0
- package/dist/V2/DialogActions/styles.d.ts +3 -0
- package/dist/V2/DialogContent/index.d.ts +6 -0
- package/dist/V2/DialogContent/styles.d.ts +3 -0
- package/dist/V2/DialogContentText/index.d.ts +6 -0
- package/dist/V2/DialogTitle/index.d.ts +6 -0
- package/dist/V2/DialogTitle/styles.d.ts +3 -0
- package/dist/V2/Fade/index.d.ts +6 -0
- package/dist/V2/FormControl/FormControl.stories.d.ts +5 -0
- package/dist/V2/FormControl/index.d.ts +6 -0
- package/dist/V2/FormControlLabel/index.d.ts +6 -0
- package/dist/V2/FormControlLabel/style.d.ts +3 -0
- package/dist/V2/FormGroup/index.d.ts +6 -0
- package/dist/V2/FormHelperText/FormHelperText.stories.d.ts +4 -0
- package/dist/V2/FormHelperText/index.d.ts +6 -0
- package/dist/V2/FormHelperText/styles.d.ts +3 -0
- package/dist/V2/FormLabel/FormLabel.stories.d.ts +4 -0
- package/dist/V2/FormLabel/index.d.ts +6 -0
- package/dist/V2/FormLabel/styles.d.ts +3 -0
- package/dist/V2/GroupSelect/GroupSelect.stories.d.ts +4 -0
- package/dist/V2/GroupSelect/index.d.ts +20 -0
- package/dist/V2/GroupSelect/styles.d.ts +2 -0
- package/dist/V2/Icon/Customize/FilterAlt.d.ts +3 -0
- package/dist/V2/Icon/Customize/index.d.ts +1 -0
- package/dist/V2/Icon/Icon.stories.d.ts +1 -2
- package/dist/V2/Icon/index.d.ts +26 -4
- package/dist/V2/Icon/styles.d.ts +3 -0
- package/dist/V2/IconButton/IconButton.stories.d.ts +4 -0
- package/dist/V2/IconButton/index.d.ts +6 -0
- package/dist/V2/IconButton/styles.d.ts +3 -0
- package/dist/V2/Link/Link.stories.d.ts +4 -3
- package/dist/V2/Link/index.d.ts +1 -1
- package/dist/V2/Link/styles.d.ts +3 -0
- package/dist/V2/List/index.d.ts +6 -0
- package/dist/V2/List/styles.d.ts +3 -0
- package/dist/V2/ListSubheader/index.d.ts +6 -0
- package/dist/V2/ListSubheader/styles.d.ts +3 -0
- package/dist/V2/LoadingButton/LoadingButton.stories.d.ts +4 -0
- package/dist/V2/LoadingButton/index.d.ts +10 -0
- package/dist/V2/MenuItem/index.d.ts +6 -0
- package/dist/V2/MenuItem/styles.d.ts +3 -0
- package/dist/V2/OutlinedInput/OutlinedInput.stories.d.ts +5 -0
- package/dist/V2/OutlinedInput/index.d.ts +6 -0
- package/dist/V2/OutlinedInput/styles.d.ts +3 -0
- package/dist/V2/Select/Select.stories.d.ts +4 -0
- package/dist/V2/Select/index.d.ts +6 -0
- package/dist/V2/Select/styles.d.ts +4 -0
- package/dist/V2/Switch/Switch.stories.d.ts +6 -0
- package/dist/V2/Switch/index.d.ts +6 -0
- package/dist/V2/Switch/styles.d.ts +3 -0
- package/dist/V2/Tab/index.d.ts +8 -0
- package/dist/V2/Tab/styles.d.ts +3 -0
- package/dist/V2/Tabs/Tabs.stories.d.ts +6 -0
- package/dist/V2/Tabs/index.d.ts +10 -0
- package/dist/V2/Tabs/styles.d.ts +3 -0
- package/dist/V2/TextField/index.d.ts +4 -0
- package/dist/V2/ToggleButton/index.d.ts +6 -0
- package/dist/V2/ToggleButton/styles.d.ts +3 -0
- package/dist/V2/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +5 -0
- package/dist/V2/ToggleButtonGroup/index.d.ts +6 -0
- package/dist/V2/ToggleButtonGroup/styles.d.ts +3 -0
- package/dist/V2/Tooltip/Tooltip.stories.d.ts +5 -0
- package/dist/V2/Tooltip/index.d.ts +6 -0
- package/dist/V2/Tooltip/styles.d.ts +3 -0
- package/dist/V2/Typography/index.d.ts +1 -1
- package/dist/V2/Typography/styles.d.ts +3 -0
- package/dist/V2/index.d.ts +32 -5
- package/dist/V2/styles/ThemeProvider.d.ts +1 -0
- package/dist/V2/styles/core.d.ts +1 -0
- package/dist/V2/styles/theme.d.ts +1 -0
- package/dist/rc.cjs.development.js +1316 -385
- package/dist/rc.cjs.development.js.map +1 -1
- package/dist/rc.cjs.production.min.js +1 -1
- package/dist/rc.cjs.production.min.js.map +1 -1
- package/dist/rc.esm.js +1298 -366
- package/dist/rc.esm.js.map +1 -1
- package/package.json +11 -9
- package/dist/V2/Button/style.d.ts +0 -1
- package/dist/V2/Icon/custom/Facebook.d.ts +0 -6
- package/dist/V2/Icon/custom/index.d.ts +0 -1
- package/dist/V2/Link/style.d.ts +0 -1
package/dist/rc.esm.js
CHANGED
|
@@ -1,18 +1,69 @@
|
|
|
1
|
+
import MUICssBaseline from '@material-ui/core/CssBaseline';
|
|
1
2
|
export { default as CssBaseline } from '@material-ui/core/CssBaseline';
|
|
3
|
+
import { createTheme, makeStyles as makeStyles$1, alpha, useTheme as useTheme$1, StylesProvider, ThemeProvider as ThemeProvider$2, createStyles, styled, withStyles } from '@material-ui/core/styles';
|
|
4
|
+
import { rgba, lighten } from 'polished';
|
|
2
5
|
import React, { forwardRef, useRef, useEffect, memo, useContext, useMemo, useState, useCallback, Children, isValidElement, cloneElement, useImperativeHandle, createRef, createContext } from 'react';
|
|
3
|
-
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
4
|
-
import { injectGlobal, cx, css, keyframes } from 'emotion';
|
|
5
|
-
import { createTheme, StylesProvider, ThemeProvider as ThemeProvider$2, makeStyles as makeStyles$1, createStyles, styled, withStyles } from '@material-ui/core/styles';
|
|
6
6
|
import { ThemeProvider as ThemeProvider$1 } from 'emotion-theming';
|
|
7
|
+
import MUIBackdrop from '@material-ui/core/Backdrop';
|
|
8
|
+
import Box$1 from '@material-ui/core/Box';
|
|
7
9
|
import MUIButton from '@material-ui/core/Button';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
+
import MUIButtonGroup from '@material-ui/core/ButtonGroup';
|
|
11
|
+
import MUICircularProgress from '@material-ui/core/CircularProgress';
|
|
12
|
+
import MUIDialog from '@material-ui/core/Dialog';
|
|
13
|
+
import MUIDialogActions from '@material-ui/core/DialogActions';
|
|
14
|
+
import MUIDialogContent from '@material-ui/core/DialogContent';
|
|
15
|
+
import MUIDialogContentText from '@material-ui/core/DialogContentText';
|
|
16
|
+
import MUIDialogTitle from '@material-ui/core/DialogTitle';
|
|
17
|
+
import Fade$1 from '@material-ui/core/Fade';
|
|
18
|
+
import MUIFormControl from '@material-ui/core/FormControl';
|
|
19
|
+
import MUIFormControlLabel from '@material-ui/core/FormControlLabel';
|
|
20
|
+
import MUIFormGroup from '@material-ui/core/FormGroup';
|
|
21
|
+
import MUIFormHelperText from '@material-ui/core/FormHelperText';
|
|
22
|
+
import MUIFormLabel from '@material-ui/core/FormLabel';
|
|
23
|
+
import { css, cx, keyframes, injectGlobal } from 'emotion';
|
|
24
|
+
import MuiSelect$1 from '@material-ui/core/Select';
|
|
25
|
+
import AddCircleOutline from '@material-ui/icons/AddCircleOutline';
|
|
26
|
+
import ArrowDropDown from '@material-ui/icons/ArrowDropDown';
|
|
10
27
|
import Cancel from '@material-ui/icons/Cancel';
|
|
11
|
-
import Info from '@material-ui/icons/Info';
|
|
12
28
|
import CheckCircle$2 from '@material-ui/icons/CheckCircle';
|
|
29
|
+
import Close from '@material-ui/icons/Close';
|
|
30
|
+
import Delete from '@material-ui/icons/Delete';
|
|
31
|
+
import Edit from '@material-ui/icons/Edit';
|
|
32
|
+
import FormatBold from '@material-ui/icons/FormatBold';
|
|
33
|
+
import FormatColorFill from '@material-ui/icons/FormatColorFill';
|
|
34
|
+
import FormatItalic from '@material-ui/icons/FormatItalic';
|
|
35
|
+
import FormatUnderlined from '@material-ui/icons/FormatUnderlined';
|
|
36
|
+
import Help from '@material-ui/icons/Help';
|
|
37
|
+
import HelpOutline from '@material-ui/icons/HelpOutline';
|
|
38
|
+
import Info from '@material-ui/icons/Info';
|
|
39
|
+
import KeyboardArrowDown from '@material-ui/icons/KeyboardArrowDown';
|
|
40
|
+
import Link$3 from '@material-ui/icons/Link';
|
|
41
|
+
import MoreHoriz from '@material-ui/icons/MoreHoriz';
|
|
42
|
+
import NavigateNext from '@material-ui/icons/NavigateNext';
|
|
43
|
+
import OpenInNew from '@material-ui/icons/OpenInNew';
|
|
44
|
+
import ReportProblemRounded from '@material-ui/icons/ReportProblemRounded';
|
|
45
|
+
import Schedule from '@material-ui/icons/Schedule';
|
|
46
|
+
import Settings from '@material-ui/icons/Settings';
|
|
47
|
+
import SettingsOutlined from '@material-ui/icons/SettingsOutlined';
|
|
48
|
+
import WatchLater from '@material-ui/icons/WatchLater';
|
|
49
|
+
import WebAsset from '@material-ui/icons/WebAsset';
|
|
50
|
+
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
51
|
+
import MuiListSubheader$1 from '@material-ui/core/ListSubheader';
|
|
52
|
+
import MuiMenuItem$1 from '@material-ui/core/MenuItem';
|
|
53
|
+
import Typography$2 from '@material-ui/core/Typography';
|
|
54
|
+
import MUIIconButton from '@material-ui/core/IconButton';
|
|
55
|
+
import MUILink from '@material-ui/core/Link';
|
|
56
|
+
import MUIOutlinedInput from '@material-ui/core/OutlinedInput';
|
|
57
|
+
import MUISwitch from '@material-ui/core/Switch';
|
|
58
|
+
import MUITab from '@material-ui/core/Tab';
|
|
59
|
+
import MUITabs from '@material-ui/core/Tabs';
|
|
60
|
+
import MUITextField from '@material-ui/core/TextField';
|
|
61
|
+
import MUIToggleButton from '@material-ui/lab/ToggleButton';
|
|
62
|
+
import MUIToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup';
|
|
63
|
+
import MUITooltip from '@material-ui/core/Tooltip';
|
|
13
64
|
import MuiAvatar from '@material-ui/core/Avatar';
|
|
14
65
|
import Chip$1 from '@material-ui/core/Chip';
|
|
15
|
-
import {
|
|
66
|
+
import { alpha as alpha$1 } from '@material-ui/core/styles/colorManipulator';
|
|
16
67
|
import MuiPaper from '@material-ui/core/Paper';
|
|
17
68
|
import MuiCard from '@material-ui/core/Card';
|
|
18
69
|
import MuiCardActionArea from '@material-ui/core/CardActionArea';
|
|
@@ -23,21 +74,9 @@ import { DatePicker as DatePicker$1, KeyboardDatePicker as KeyboardDatePicker$1,
|
|
|
23
74
|
import styled$1 from '@emotion/styled';
|
|
24
75
|
import { ThemeContext } from '@emotion/core';
|
|
25
76
|
export { ThemeContext } from '@emotion/core';
|
|
26
|
-
import MuiTooltip from '@material-ui/core/Tooltip';
|
|
27
|
-
import MuiSelect from '@material-ui/core/Select';
|
|
28
|
-
import MuiMenuItem from '@material-ui/core/MenuItem';
|
|
29
|
-
import MuiListSubheader from '@material-ui/core/ListSubheader';
|
|
30
77
|
import Popper$1 from '@material-ui/core/Popper';
|
|
31
78
|
import ClickAwayListener from '@material-ui/core/ClickAwayListener';
|
|
32
79
|
import MuiMenuList from '@material-ui/core/MenuList';
|
|
33
|
-
import Fade from '@material-ui/core/Fade';
|
|
34
|
-
import MuiToggleButton from '@material-ui/lab/ToggleButton';
|
|
35
|
-
import MuiToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup';
|
|
36
|
-
import TextField from '@material-ui/core/TextField';
|
|
37
|
-
import Box from '@material-ui/core/Box';
|
|
38
|
-
import IconButton from '@material-ui/core/IconButton';
|
|
39
|
-
import MuiTabs from '@material-ui/core/Tabs';
|
|
40
|
-
import MuiTab from '@material-ui/core/Tab';
|
|
41
80
|
import RadioGroup from '@material-ui/core/RadioGroup';
|
|
42
81
|
import Radio$1 from '@material-ui/core/Radio';
|
|
43
82
|
import Checkbox from '@material-ui/core/Checkbox';
|
|
@@ -46,30 +85,292 @@ import { safeAdd, safeMul } from '@surveycake/utils';
|
|
|
46
85
|
import { unmountComponentAtNode, render, createPortal } from 'react-dom';
|
|
47
86
|
import { useContainer } from '@surveycake/rhooks';
|
|
48
87
|
import MuiModal from '@material-ui/core/Modal';
|
|
49
|
-
import Backdrop$1 from '@material-ui/core/Backdrop';
|
|
50
88
|
import MuiSnackbar from '@material-ui/core/Snackbar';
|
|
51
89
|
import MuiSnackbarContent from '@material-ui/core/SnackbarContent';
|
|
52
90
|
import Slide from '@material-ui/core/Slide';
|
|
53
91
|
import MuiDivider from '@material-ui/core/Divider';
|
|
54
92
|
import DateFnsUtils from '@date-io/date-fns';
|
|
55
93
|
|
|
56
|
-
var
|
|
94
|
+
var core =
|
|
57
95
|
/*#__PURE__*/
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
96
|
+
createTheme({
|
|
97
|
+
breakpoints: {
|
|
98
|
+
values: {
|
|
99
|
+
xl: 1440,
|
|
100
|
+
lg: 1024,
|
|
101
|
+
md: 960,
|
|
102
|
+
sm: 600,
|
|
103
|
+
xs: 375
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
palette: {
|
|
107
|
+
primary: {
|
|
108
|
+
light: '#93DCC3',
|
|
109
|
+
main: '#3DBA90',
|
|
110
|
+
dark: '#009974'
|
|
111
|
+
},
|
|
112
|
+
secondary: {
|
|
113
|
+
light: '#668A97',
|
|
114
|
+
main: '#325A69',
|
|
115
|
+
dark: '#11303C'
|
|
116
|
+
},
|
|
117
|
+
error: {
|
|
118
|
+
light: '#F9DEE2',
|
|
119
|
+
main: '#EE415D',
|
|
120
|
+
dark: '#C9354D'
|
|
121
|
+
},
|
|
122
|
+
warning: {
|
|
123
|
+
light: '#FEF1E1',
|
|
124
|
+
main: '#F4A91F',
|
|
125
|
+
dark: '#E9A01C'
|
|
126
|
+
},
|
|
127
|
+
info: {
|
|
128
|
+
light: '#BADFEF',
|
|
129
|
+
main: '#43B8EB',
|
|
130
|
+
dark: '#0094D3'
|
|
131
|
+
},
|
|
132
|
+
success: {
|
|
133
|
+
light: '#EBF5DF',
|
|
134
|
+
main: '#88C936',
|
|
135
|
+
dark: '#66B204'
|
|
136
|
+
},
|
|
137
|
+
grey: {
|
|
138
|
+
50: '#FFFFFF',
|
|
139
|
+
100: '#EEEEEE',
|
|
140
|
+
200: '#D2D2D2',
|
|
141
|
+
300: '#BDBDBD',
|
|
142
|
+
400: '#AAAAAA',
|
|
143
|
+
500: '#989898',
|
|
144
|
+
600: '#6B6B6B',
|
|
145
|
+
700: '#454545',
|
|
146
|
+
800: '#3F3F3F',
|
|
147
|
+
900: '#333333',
|
|
148
|
+
A100: '#FAFAFA',
|
|
149
|
+
A200: '#EEEEEE',
|
|
150
|
+
A400: '#E3E3E3',
|
|
151
|
+
A700: '#C5C5C5'
|
|
152
|
+
},
|
|
153
|
+
text: {
|
|
154
|
+
primary: '#454545'
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
typography: {
|
|
158
|
+
fontFamily:
|
|
159
|
+
/*#__PURE__*/
|
|
160
|
+
['Roboto', 'Helvetica Neue', 'Helvetica', 'Arial', 'Noto Sans TC', 'Apple LiGothic', '微軟正黑體', 'Microsoft JhengHei', 'sans-serif', 'PingFangTC-Regular'].join(','),
|
|
161
|
+
h1: {
|
|
162
|
+
fontSize: '2rem',
|
|
163
|
+
fontWeight: 500,
|
|
164
|
+
lineHeight: 1.6
|
|
165
|
+
},
|
|
166
|
+
h2: {
|
|
167
|
+
fontSize: '1.75rem',
|
|
168
|
+
fontWeight: 500,
|
|
169
|
+
lineHeight: 1.6
|
|
170
|
+
},
|
|
171
|
+
h3: {
|
|
172
|
+
fontSize: '1.5rem',
|
|
173
|
+
fontWeight: 500,
|
|
174
|
+
lineHeight: 1.6
|
|
175
|
+
},
|
|
176
|
+
h4: {
|
|
177
|
+
fontSize: '1.25rem',
|
|
178
|
+
fontWeight: 500,
|
|
179
|
+
lineHeight: 1.6
|
|
180
|
+
},
|
|
181
|
+
h5: {
|
|
182
|
+
fontSize: '1.125rem',
|
|
183
|
+
fontWeight: 500,
|
|
184
|
+
lineHeight: 1.6
|
|
185
|
+
},
|
|
186
|
+
h6: {
|
|
187
|
+
fontSize: '1rem',
|
|
188
|
+
fontWeight: 500,
|
|
189
|
+
lineHeight: 1.6
|
|
190
|
+
},
|
|
191
|
+
subtitle1: {
|
|
192
|
+
fontSize: '0.875rem',
|
|
193
|
+
fontWeight: 500,
|
|
194
|
+
lineHeight: 1.6
|
|
195
|
+
},
|
|
196
|
+
body1: {
|
|
197
|
+
fontSize: '1rem',
|
|
198
|
+
fontWeight: 400,
|
|
199
|
+
lineHeight: 1.6
|
|
200
|
+
},
|
|
201
|
+
body2: {
|
|
202
|
+
fontSize: '0.875rem',
|
|
203
|
+
fontWeight: 400,
|
|
204
|
+
lineHeight: 1.6
|
|
205
|
+
},
|
|
206
|
+
button: {
|
|
207
|
+
fontSize: '0.875rem',
|
|
208
|
+
fontWeight: 500,
|
|
209
|
+
lineHeight: 1.6
|
|
210
|
+
},
|
|
211
|
+
caption: {
|
|
212
|
+
fontSize: '0.875rem',
|
|
213
|
+
fontWeight: 500,
|
|
214
|
+
lineHeight: 1.6
|
|
215
|
+
},
|
|
216
|
+
overline: {
|
|
217
|
+
fontSize: '0.75rem',
|
|
218
|
+
fontWeight: 500,
|
|
219
|
+
lineHeight: 1.6
|
|
220
|
+
}
|
|
221
|
+
}
|
|
66
222
|
});
|
|
67
223
|
|
|
224
|
+
var MuiBackdrop = {
|
|
225
|
+
root: {
|
|
226
|
+
backgroundColor:
|
|
227
|
+
/*#__PURE__*/
|
|
228
|
+
rgba(core.palette.common.black, 0.4)
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
var MuiButton = {
|
|
233
|
+
root: {
|
|
234
|
+
padding: '7px 49px',
|
|
235
|
+
minWidth: '60px'
|
|
236
|
+
},
|
|
237
|
+
contained: {
|
|
238
|
+
backgroundColor: core.palette.grey.A200,
|
|
239
|
+
color: core.palette.grey[600],
|
|
240
|
+
padding: '7px 49px',
|
|
241
|
+
'&:hover': {
|
|
242
|
+
backgroundColor: core.palette.grey.A400
|
|
243
|
+
},
|
|
244
|
+
'&:disabled': {
|
|
245
|
+
backgroundColor: core.palette.grey[300],
|
|
246
|
+
color: core.palette.grey[50]
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
containedSizeSmall: {
|
|
250
|
+
padding: '6px 16px'
|
|
251
|
+
},
|
|
252
|
+
containedSizeLarge: {
|
|
253
|
+
padding: '8px 67px'
|
|
254
|
+
},
|
|
255
|
+
containedPrimary: {
|
|
256
|
+
color: core.palette.grey[50]
|
|
257
|
+
},
|
|
258
|
+
text: {
|
|
259
|
+
color: core.palette.grey[600],
|
|
260
|
+
padding: '7px 49px',
|
|
261
|
+
'&:hover': {
|
|
262
|
+
backgroundColor: core.palette.grey.A400
|
|
263
|
+
},
|
|
264
|
+
'&:disabled': {
|
|
265
|
+
color: core.palette.grey[300]
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
textSizeSmall: {
|
|
269
|
+
padding: '6px 16px'
|
|
270
|
+
},
|
|
271
|
+
textSizeLarge: {
|
|
272
|
+
padding: '8px 67px'
|
|
273
|
+
},
|
|
274
|
+
textPrimary: {
|
|
275
|
+
color: core.palette.grey[600],
|
|
276
|
+
'&:hover': {
|
|
277
|
+
backgroundColor:
|
|
278
|
+
/*#__PURE__*/
|
|
279
|
+
lighten(0.45, core.palette.primary.main)
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
textSecondary: {
|
|
283
|
+
color: core.palette.grey[600],
|
|
284
|
+
'&:hover': {
|
|
285
|
+
backgroundColor:
|
|
286
|
+
/*#__PURE__*/
|
|
287
|
+
lighten(0.45, core.palette.secondary.main)
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
outlined: {
|
|
291
|
+
color: core.palette.grey[600],
|
|
292
|
+
padding: '6px 48px',
|
|
293
|
+
border: "1px solid " + core.palette.grey[600],
|
|
294
|
+
'&:disabled': {
|
|
295
|
+
color: core.palette.grey[300],
|
|
296
|
+
border: "1px solid " + core.palette.grey[300]
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
outlinedSizeLarge: {
|
|
300
|
+
padding: '7px 66px'
|
|
301
|
+
},
|
|
302
|
+
outlinedSizeSmall: {
|
|
303
|
+
padding: '5px 15px'
|
|
304
|
+
},
|
|
305
|
+
outlinedPrimary: {
|
|
306
|
+
'&:hover': {
|
|
307
|
+
backgroundColor:
|
|
308
|
+
/*#__PURE__*/
|
|
309
|
+
lighten(0.45, core.palette.primary.main)
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
outlinedSecondary: {
|
|
313
|
+
'&:hover': {
|
|
314
|
+
backgroundColor:
|
|
315
|
+
/*#__PURE__*/
|
|
316
|
+
lighten(0.45, core.palette.secondary.main)
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
var MuiDialogActions = {
|
|
322
|
+
root: {
|
|
323
|
+
padding:
|
|
324
|
+
/*#__PURE__*/
|
|
325
|
+
core.spacing(2, 3, 2)
|
|
326
|
+
},
|
|
327
|
+
spacing: {
|
|
328
|
+
'& > :not(:first-child)': {
|
|
329
|
+
marginLeft:
|
|
330
|
+
/*#__PURE__*/
|
|
331
|
+
core.spacing(2)
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
var MuiDialogContent = {
|
|
337
|
+
root: {
|
|
338
|
+
padding:
|
|
339
|
+
/*#__PURE__*/
|
|
340
|
+
core.spacing(1, 3, 3)
|
|
341
|
+
},
|
|
342
|
+
dividers: {
|
|
343
|
+
borderTop: 'none',
|
|
344
|
+
padding: '8px 24px 24px'
|
|
345
|
+
}
|
|
346
|
+
};
|
|
68
347
|
|
|
348
|
+
var MuiDialogTitle = {
|
|
349
|
+
root: {
|
|
350
|
+
padding:
|
|
351
|
+
/*#__PURE__*/
|
|
352
|
+
core.spacing(3, 3, 1)
|
|
353
|
+
}
|
|
354
|
+
};
|
|
69
355
|
|
|
70
|
-
var
|
|
71
|
-
|
|
72
|
-
|
|
356
|
+
var MuiFormControlLabel = {
|
|
357
|
+
label: {
|
|
358
|
+
color: core.palette.text.primary,
|
|
359
|
+
'&.Mui-disabled': {
|
|
360
|
+
color: core.palette.grey[300]
|
|
361
|
+
},
|
|
362
|
+
fontSize: core.typography.button.fontSize,
|
|
363
|
+
fontWeight: core.typography.button.fontWeight
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
var MuiFormHelperText = {
|
|
368
|
+
root: {
|
|
369
|
+
marginTop:
|
|
370
|
+
/*#__PURE__*/
|
|
371
|
+
core.spacing(1),
|
|
372
|
+
color: core.palette.grey[600]
|
|
373
|
+
}
|
|
73
374
|
};
|
|
74
375
|
|
|
75
376
|
function _extends() {
|
|
@@ -114,335 +415,966 @@ function _taggedTemplateLiteralLoose(strings, raw) {
|
|
|
114
415
|
return strings;
|
|
115
416
|
}
|
|
116
417
|
|
|
117
|
-
|
|
118
|
-
|
|
418
|
+
var MuiFormLabel = {
|
|
419
|
+
root:
|
|
420
|
+
/*#__PURE__*/
|
|
421
|
+
_extends({}, core.typography.caption, {
|
|
422
|
+
color: core.palette.grey[700]
|
|
423
|
+
})
|
|
424
|
+
};
|
|
119
425
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
426
|
+
var MuiIconButton = {
|
|
427
|
+
colorPrimary: {
|
|
428
|
+
'&:focus': {
|
|
429
|
+
color: core.palette.primary.main,
|
|
430
|
+
backgroundColor:
|
|
431
|
+
/*#__PURE__*/
|
|
432
|
+
lighten(0.45, core.palette.primary.main)
|
|
433
|
+
},
|
|
434
|
+
'&:hover': {
|
|
435
|
+
color: core.palette.primary.main,
|
|
436
|
+
backgroundColor:
|
|
437
|
+
/*#__PURE__*/
|
|
438
|
+
lighten(0.45, core.palette.primary.main)
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
};
|
|
123
442
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
443
|
+
var MuiLink = {
|
|
444
|
+
root: {
|
|
445
|
+
'&:hover': {
|
|
446
|
+
color: function color(props) {
|
|
447
|
+
return props.color && (props.color === 'primary' || props.color === 'secondary' || props.color === 'error') ? core.palette[props.color].dark : 'inherit';
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
var MuiList = {
|
|
454
|
+
root: {
|
|
455
|
+
backgroundColor: core.palette.common.white
|
|
456
|
+
},
|
|
457
|
+
padding: {
|
|
458
|
+
paddingLeft:
|
|
459
|
+
/*#__PURE__*/
|
|
460
|
+
core.spacing(1),
|
|
461
|
+
paddingRight:
|
|
462
|
+
/*#__PURE__*/
|
|
463
|
+
core.spacing(1)
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
var MuiListSubheader = {
|
|
468
|
+
root: {
|
|
469
|
+
lineHeight: 1.6,
|
|
470
|
+
color: core.palette.grey[500]
|
|
471
|
+
}
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
var MuiMenuItem = {
|
|
475
|
+
root:
|
|
476
|
+
/*#__PURE__*/
|
|
477
|
+
_extends({}, core.typography.body2, {
|
|
478
|
+
padding:
|
|
479
|
+
/*#__PURE__*/
|
|
480
|
+
core.spacing(0.5) + "px " +
|
|
481
|
+
/*#__PURE__*/
|
|
482
|
+
core.spacing(1) + "px",
|
|
483
|
+
'&.Mui-selected': {
|
|
484
|
+
color: core.palette.primary.main,
|
|
485
|
+
backgroundColor:
|
|
486
|
+
/*#__PURE__*/
|
|
487
|
+
lighten(0.45, core.palette.primary.main),
|
|
488
|
+
'&:hover': {
|
|
489
|
+
backgroundColor:
|
|
490
|
+
/*#__PURE__*/
|
|
491
|
+
lighten(0.45, core.palette.primary.main)
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
'&:hover': {
|
|
495
|
+
backgroundColor:
|
|
496
|
+
/*#__PURE__*/
|
|
497
|
+
lighten(0.3, core.palette.primary.main),
|
|
498
|
+
color: core.palette.primary.dark
|
|
499
|
+
}
|
|
500
|
+
})
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
var MuiOutlinedInput = {
|
|
504
|
+
root:
|
|
505
|
+
/*#__PURE__*/
|
|
506
|
+
_extends({
|
|
507
|
+
'label + &': {
|
|
508
|
+
marginTop:
|
|
509
|
+
/*#__PURE__*/
|
|
510
|
+
core.spacing(1)
|
|
511
|
+
},
|
|
512
|
+
'&.Mui-focused .MuiOutlinedInput-notchedOutline': {
|
|
513
|
+
borderWidth: 1
|
|
514
|
+
},
|
|
515
|
+
'&:hover .MuiOutlinedInput-notchedOutline': {
|
|
516
|
+
borderColor: function borderColor(props) {
|
|
517
|
+
return props.color && (props.color === 'primary' || props.color === 'secondary') ? core.palette[props.color].main : core.palette.primary.main;
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
'&.Mui-error:hover .MuiOutlinedInput-notchedOutline': {
|
|
521
|
+
borderColor: core.palette.error.main
|
|
522
|
+
}
|
|
523
|
+
}, core.typography.body2),
|
|
524
|
+
input: {
|
|
525
|
+
paddingTop:
|
|
526
|
+
/*#__PURE__*/
|
|
527
|
+
core.spacing(1.5),
|
|
528
|
+
paddingRight:
|
|
529
|
+
/*#__PURE__*/
|
|
530
|
+
core.spacing(1),
|
|
531
|
+
paddingBottom:
|
|
532
|
+
/*#__PURE__*/
|
|
533
|
+
core.spacing(1.5),
|
|
534
|
+
paddingLeft:
|
|
535
|
+
/*#__PURE__*/
|
|
536
|
+
core.spacing(1)
|
|
537
|
+
},
|
|
538
|
+
notchedOutline: {
|
|
539
|
+
borderColor: core.palette.grey.A700
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
var useMenuStyles =
|
|
127
544
|
/*#__PURE__*/
|
|
128
|
-
function () {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
545
|
+
makeStyles$1(function (theme) {
|
|
546
|
+
return {
|
|
547
|
+
root: {
|
|
548
|
+
boxShadow: 'none',
|
|
549
|
+
border: "1px solid " + theme.palette.primary.main
|
|
550
|
+
}
|
|
551
|
+
};
|
|
552
|
+
});
|
|
553
|
+
var MuiSelect = {
|
|
554
|
+
root:
|
|
555
|
+
/*#__PURE__*/
|
|
556
|
+
_extends({}, core.typography.body2, {
|
|
557
|
+
color: core.palette.grey[700]
|
|
558
|
+
}),
|
|
559
|
+
select: {
|
|
560
|
+
'&:focus': {
|
|
561
|
+
backgroundColor: core.palette.common.white
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
outlined: {
|
|
565
|
+
padding: "9px 32px 9px 9px"
|
|
566
|
+
},
|
|
567
|
+
icon: {
|
|
568
|
+
color: core.palette.grey[400],
|
|
569
|
+
fontSize: '1rem',
|
|
570
|
+
top: 'calc(50% - 8px)'
|
|
571
|
+
}
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
var MuiSvgIcon = {
|
|
575
|
+
root: {
|
|
576
|
+
fontSize: '1.25rem'
|
|
577
|
+
},
|
|
578
|
+
colorAction: {
|
|
579
|
+
color: core.palette.grey[500]
|
|
580
|
+
},
|
|
581
|
+
fontSizeSmall: {
|
|
582
|
+
fontSize: '1rem'
|
|
583
|
+
},
|
|
584
|
+
fontSizeLarge: {
|
|
585
|
+
fontSize: '1.5rem'
|
|
586
|
+
}
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
var MuiSwitch = {
|
|
590
|
+
switchBase: {
|
|
591
|
+
'&.Mui-disabled': {
|
|
592
|
+
color: core.palette.common.white
|
|
593
|
+
},
|
|
594
|
+
'&.Mui-checked + .MuiSwitch-track': {
|
|
595
|
+
opacity: 1
|
|
596
|
+
},
|
|
597
|
+
'&.Mui-disabled.Mui-checked + .MuiSwitch-track': {
|
|
598
|
+
backgroundColor: core.palette.grey[100],
|
|
599
|
+
opacity: 1
|
|
600
|
+
},
|
|
601
|
+
'&.Mui-disabled + .MuiSwitch-track': {
|
|
602
|
+
backgroundColor: core.palette.grey[100],
|
|
603
|
+
opacity: 1
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
track: {
|
|
607
|
+
opacity: 1,
|
|
608
|
+
backgroundColor: core.palette.grey[400],
|
|
609
|
+
border: "1px solid " + core.palette.grey.A200
|
|
610
|
+
},
|
|
611
|
+
colorPrimary: {
|
|
612
|
+
'&.Mui-disabled': {
|
|
613
|
+
color: core.palette.common.white
|
|
614
|
+
},
|
|
615
|
+
'&.Mui-checked': {
|
|
616
|
+
color: core.palette.common.white
|
|
617
|
+
},
|
|
618
|
+
'&.Mui-checked + .MuiSwitch-track': {
|
|
619
|
+
backgroundColor: core.palette.primary.main
|
|
620
|
+
},
|
|
621
|
+
'&.Mui-disabled.Mui-checked + .MuiSwitch-track': {
|
|
622
|
+
backgroundColor:
|
|
623
|
+
/*#__PURE__*/
|
|
624
|
+
lighten(0.3, core.palette.primary.main),
|
|
625
|
+
opacity: 1
|
|
626
|
+
},
|
|
627
|
+
'&.Mui-disabled + .MuiSwitch-track': {
|
|
628
|
+
backgroundColor: core.palette.grey[100],
|
|
629
|
+
opacity: 1
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
colorSecondary: {
|
|
633
|
+
'&.Mui-disabled': {
|
|
634
|
+
color: core.palette.common.white
|
|
635
|
+
},
|
|
636
|
+
'&.Mui-checked': {
|
|
637
|
+
color: core.palette.common.white
|
|
638
|
+
},
|
|
639
|
+
'&.Mui-disabled.Mui-checked + .MuiSwitch-track': {
|
|
640
|
+
backgroundColor:
|
|
641
|
+
/*#__PURE__*/
|
|
642
|
+
lighten(0.3, core.palette.secondary.main),
|
|
643
|
+
opacity: 1
|
|
644
|
+
},
|
|
645
|
+
'&.Mui-disabled + .MuiSwitch-track': {
|
|
646
|
+
backgroundColor: core.palette.grey[100],
|
|
647
|
+
opacity: 1
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
};
|
|
651
|
+
|
|
652
|
+
var MuiTab = {
|
|
653
|
+
root: {
|
|
654
|
+
padding: 0,
|
|
655
|
+
minHeight: 64,
|
|
656
|
+
maxWidth: 'initial',
|
|
657
|
+
minWidth: 'initial',
|
|
658
|
+
color: core.palette.grey[600],
|
|
659
|
+
fontSize: '1rem',
|
|
660
|
+
fontWeight: 400,
|
|
661
|
+
letterSpacing: 0,
|
|
662
|
+
textTransform: 'none',
|
|
663
|
+
'@media (min-width: 600px)': {
|
|
664
|
+
minWidth: 'initial'
|
|
665
|
+
},
|
|
666
|
+
'&:hover': {
|
|
667
|
+
color: core.palette.grey[700]
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
textColorPrimary: {
|
|
671
|
+
color: core.palette.grey[600],
|
|
672
|
+
'&$selected': {
|
|
673
|
+
'&:hover': {
|
|
674
|
+
color: core.palette.primary.dark
|
|
175
675
|
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
var MuiTabs = {
|
|
681
|
+
flexContainer: {
|
|
682
|
+
columnGap: 24
|
|
683
|
+
}
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
var MuiToggleButton = {
|
|
687
|
+
root: {
|
|
688
|
+
borderColor: core.palette.grey.A400,
|
|
689
|
+
color: core.palette.grey[600],
|
|
690
|
+
padding: '5px 15px',
|
|
691
|
+
'&:hover': {
|
|
692
|
+
backgroundColor:
|
|
693
|
+
/*#__PURE__*/
|
|
694
|
+
alpha(core.palette.primary.light, 0.2),
|
|
695
|
+
color: core.palette.primary.main
|
|
176
696
|
},
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
697
|
+
'&$selected': {
|
|
698
|
+
backgroundColor: core.palette.primary.main,
|
|
699
|
+
borderColor: core.palette.primary.main,
|
|
700
|
+
color: core.palette.grey[50],
|
|
701
|
+
'&:hover': {
|
|
702
|
+
backgroundColor:
|
|
703
|
+
/*#__PURE__*/
|
|
704
|
+
alpha(core.palette.primary.main, 0.95),
|
|
705
|
+
color: core.palette.grey[50]
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
var MuiToggleButtonGroup = {
|
|
712
|
+
groupedHorizontal: {
|
|
713
|
+
'&:hover': {
|
|
714
|
+
borderColor: core.palette.primary.main
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
var MuiTooltip = {
|
|
720
|
+
arrow: {
|
|
721
|
+
color: core.palette.grey[700]
|
|
722
|
+
},
|
|
723
|
+
tooltip: {
|
|
724
|
+
backgroundColor: core.palette.grey[700],
|
|
725
|
+
boxShadow: '0px 1px 2px rgba(69, 69, 69, 0.1), 0px 1px 4px rgba(69, 69, 69, 0.2)',
|
|
726
|
+
fontSize: 14,
|
|
727
|
+
fontWeight: 400,
|
|
728
|
+
lineHeight: 1.6,
|
|
729
|
+
padding: 8
|
|
730
|
+
}
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
var _h, _h2, _h3, _h4, _h5, _h6;
|
|
734
|
+
var MuiTypography = {
|
|
735
|
+
h1: (_h = {}, _h[
|
|
736
|
+
/*#__PURE__*/
|
|
737
|
+
core.breakpoints.down('md')] = {
|
|
738
|
+
fontSize: '1.5rem'
|
|
739
|
+
}, _h),
|
|
740
|
+
h2: (_h2 = {}, _h2[
|
|
741
|
+
/*#__PURE__*/
|
|
742
|
+
core.breakpoints.down('md')] = {
|
|
743
|
+
fontSize: '1.375rem'
|
|
744
|
+
}, _h2),
|
|
745
|
+
h3: (_h3 = {}, _h3[
|
|
746
|
+
/*#__PURE__*/
|
|
747
|
+
core.breakpoints.down('md')] = {
|
|
748
|
+
fontSize: '1.25rem'
|
|
749
|
+
}, _h3),
|
|
750
|
+
h4: (_h4 = {}, _h4[
|
|
751
|
+
/*#__PURE__*/
|
|
752
|
+
core.breakpoints.down('md')] = {
|
|
753
|
+
fontSize: '1.125rem'
|
|
754
|
+
}, _h4),
|
|
755
|
+
h5: (_h5 = {}, _h5[
|
|
756
|
+
/*#__PURE__*/
|
|
757
|
+
core.breakpoints.down('md')] = {
|
|
758
|
+
fontSize: '1rem'
|
|
759
|
+
}, _h5),
|
|
760
|
+
h6: (_h6 = {}, _h6[
|
|
761
|
+
/*#__PURE__*/
|
|
762
|
+
core.breakpoints.down('md')] = {
|
|
763
|
+
fontSize: '0.875rem'
|
|
764
|
+
}, _h6)
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
var useMUITheme = function useMUITheme() {
|
|
768
|
+
return useTheme$1();
|
|
769
|
+
};
|
|
770
|
+
var theme =
|
|
771
|
+
/*#__PURE__*/
|
|
772
|
+
createTheme({
|
|
773
|
+
overrides: {
|
|
774
|
+
MuiBackdrop: MuiBackdrop,
|
|
775
|
+
MuiButton: MuiButton,
|
|
776
|
+
MuiDialogActions: MuiDialogActions,
|
|
777
|
+
MuiDialogContent: MuiDialogContent,
|
|
778
|
+
MuiDialogTitle: MuiDialogTitle,
|
|
779
|
+
MuiFormControlLabel: MuiFormControlLabel,
|
|
780
|
+
MuiFormHelperText: MuiFormHelperText,
|
|
781
|
+
MuiFormLabel: MuiFormLabel,
|
|
782
|
+
MuiIconButton: MuiIconButton,
|
|
783
|
+
MuiLink: MuiLink,
|
|
784
|
+
MuiList: MuiList,
|
|
785
|
+
MuiListSubheader: MuiListSubheader,
|
|
786
|
+
MuiMenuItem: MuiMenuItem,
|
|
787
|
+
MuiOutlinedInput: MuiOutlinedInput,
|
|
788
|
+
MuiSelect: MuiSelect,
|
|
789
|
+
MuiSvgIcon: MuiSvgIcon,
|
|
790
|
+
MuiSwitch: MuiSwitch,
|
|
791
|
+
MuiTab: MuiTab,
|
|
792
|
+
MuiTabs: MuiTabs,
|
|
793
|
+
MuiToggleButton: MuiToggleButton,
|
|
794
|
+
MuiToggleButtonGroup: MuiToggleButtonGroup,
|
|
795
|
+
MuiTooltip: MuiTooltip,
|
|
796
|
+
MuiTypography: MuiTypography
|
|
797
|
+
}
|
|
798
|
+
}, core);
|
|
799
|
+
|
|
800
|
+
var ThemeProvider = function ThemeProvider(props) {
|
|
801
|
+
var children = props.children;
|
|
802
|
+
return React.createElement(ThemeProvider$1, {
|
|
803
|
+
theme: theme
|
|
804
|
+
}, React.createElement(StylesProvider, {
|
|
805
|
+
injectFirst: true
|
|
806
|
+
}, React.createElement(ThemeProvider$2, {
|
|
807
|
+
theme: theme
|
|
808
|
+
}, children)));
|
|
809
|
+
};
|
|
810
|
+
var PureThemeProvider = function PureThemeProvider(props) {
|
|
811
|
+
return React.createElement(ThemeProvider$2, {
|
|
812
|
+
theme: theme
|
|
813
|
+
}, props.children);
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
var Backdrop =
|
|
817
|
+
/*#__PURE__*/
|
|
818
|
+
forwardRef(function (props, ref) {
|
|
819
|
+
return React.createElement(MUIBackdrop, Object.assign({}, props, {
|
|
820
|
+
ref: ref
|
|
821
|
+
}), props.children);
|
|
822
|
+
});
|
|
823
|
+
Backdrop.displayName = 'Backdrop';
|
|
824
|
+
|
|
825
|
+
var Box = function Box(props) {
|
|
826
|
+
return React.createElement(Box$1, Object.assign({}, props), props.children);
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
Box.displayName = 'Box';
|
|
830
|
+
|
|
831
|
+
var Button =
|
|
832
|
+
/*#__PURE__*/
|
|
833
|
+
forwardRef(function (props, ref) {
|
|
834
|
+
var _props$size = props.size,
|
|
835
|
+
size = _props$size === void 0 ? 'small' : _props$size,
|
|
836
|
+
_props$disableElevati = props.disableElevation,
|
|
837
|
+
disableElevation = _props$disableElevati === void 0 ? true : _props$disableElevati,
|
|
838
|
+
rest = _objectWithoutPropertiesLoose(props, ["size", "disableElevation"]);
|
|
839
|
+
|
|
840
|
+
return React.createElement(MUIButton, Object.assign({}, rest, {
|
|
841
|
+
disableElevation: disableElevation,
|
|
842
|
+
ref: ref,
|
|
843
|
+
size: size
|
|
844
|
+
}));
|
|
845
|
+
});
|
|
846
|
+
Button.displayName = 'Button';
|
|
847
|
+
|
|
848
|
+
var ButtonGroup =
|
|
849
|
+
/*#__PURE__*/
|
|
850
|
+
forwardRef(function (props, ref) {
|
|
851
|
+
return React.createElement(MUIButtonGroup, Object.assign({}, props, {
|
|
852
|
+
ref: ref
|
|
853
|
+
}), props.children);
|
|
854
|
+
});
|
|
855
|
+
ButtonGroup.displayName = 'ButtonGroup';
|
|
856
|
+
|
|
857
|
+
var CircularProgress =
|
|
858
|
+
/*#__PURE__*/
|
|
859
|
+
forwardRef(function (props, ref) {
|
|
860
|
+
return React.createElement(MUICircularProgress, Object.assign({}, props, {
|
|
861
|
+
ref: ref
|
|
862
|
+
}));
|
|
863
|
+
});
|
|
864
|
+
CircularProgress.displayName = 'CircularProgress';
|
|
865
|
+
|
|
866
|
+
var CssBaseline = function CssBaseline(props) {
|
|
867
|
+
return React.createElement(MUICssBaseline, Object.assign({}, props), props.children);
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
var Dialog =
|
|
871
|
+
/*#__PURE__*/
|
|
872
|
+
forwardRef(function (props, ref) {
|
|
873
|
+
var rest = _objectWithoutPropertiesLoose(props, ["disableBackdropClick", "onBackdropClick", "onEnter", "onEntered", "onEntering", "onEscapeKeyDown", "onExit", "onExited", "onExiting", "onRendered"]);
|
|
874
|
+
|
|
875
|
+
return React.createElement(MUIDialog, Object.assign({}, rest, {
|
|
876
|
+
ref: ref
|
|
877
|
+
}), props.children);
|
|
878
|
+
});
|
|
879
|
+
Dialog.displayName = 'Dialog';
|
|
880
|
+
|
|
881
|
+
var DialogActions =
|
|
882
|
+
/*#__PURE__*/
|
|
883
|
+
forwardRef(function (props, ref) {
|
|
884
|
+
return React.createElement(MUIDialogActions, Object.assign({}, props, {
|
|
885
|
+
ref: ref
|
|
886
|
+
}), props.children);
|
|
887
|
+
});
|
|
888
|
+
DialogActions.displayName = 'DialogActions';
|
|
889
|
+
|
|
890
|
+
var DialogContent =
|
|
891
|
+
/*#__PURE__*/
|
|
892
|
+
forwardRef(function (props, ref) {
|
|
893
|
+
return React.createElement(MUIDialogContent, Object.assign({}, props, {
|
|
894
|
+
ref: ref
|
|
895
|
+
}), props.children);
|
|
896
|
+
});
|
|
897
|
+
DialogContent.displayName = 'DialogContent';
|
|
898
|
+
|
|
899
|
+
var DialogContentText =
|
|
900
|
+
/*#__PURE__*/
|
|
901
|
+
forwardRef(function (props, ref) {
|
|
902
|
+
return React.createElement(MUIDialogContentText, Object.assign({}, props, {
|
|
903
|
+
ref: ref
|
|
904
|
+
}), props.children);
|
|
905
|
+
});
|
|
906
|
+
DialogContentText.displayName = 'DialogContentText';
|
|
907
|
+
|
|
908
|
+
var DialogTitle =
|
|
909
|
+
/*#__PURE__*/
|
|
910
|
+
forwardRef(function (props, ref) {
|
|
911
|
+
return React.createElement(MUIDialogTitle, Object.assign({}, props, {
|
|
912
|
+
ref: ref
|
|
913
|
+
}), props.children);
|
|
914
|
+
});
|
|
915
|
+
DialogTitle.displayName = 'DialogTitle';
|
|
916
|
+
|
|
917
|
+
var Fade =
|
|
918
|
+
/*#__PURE__*/
|
|
919
|
+
forwardRef(function (props, ref) {
|
|
920
|
+
return React.createElement(Fade$1, Object.assign({}, props, {
|
|
921
|
+
ref: ref
|
|
922
|
+
}));
|
|
923
|
+
});
|
|
924
|
+
Fade.displayName = 'Fade';
|
|
925
|
+
|
|
926
|
+
var FormControl =
|
|
927
|
+
/*#__PURE__*/
|
|
928
|
+
forwardRef(function (props, ref) {
|
|
929
|
+
return React.createElement(MUIFormControl, Object.assign({}, props, {
|
|
930
|
+
ref: ref
|
|
931
|
+
}), props.children);
|
|
932
|
+
});
|
|
933
|
+
FormControl.displayName = 'FormControl';
|
|
934
|
+
|
|
935
|
+
var FormControlLabel =
|
|
936
|
+
/*#__PURE__*/
|
|
937
|
+
forwardRef(function (props, ref) {
|
|
938
|
+
return React.createElement(MUIFormControlLabel, Object.assign({}, props, {
|
|
939
|
+
ref: ref
|
|
940
|
+
}));
|
|
941
|
+
});
|
|
942
|
+
FormControlLabel.displayName = 'FormControlLabel';
|
|
943
|
+
|
|
944
|
+
var FormGroup =
|
|
945
|
+
/*#__PURE__*/
|
|
946
|
+
forwardRef(function (props, ref) {
|
|
947
|
+
return React.createElement(MUIFormGroup, Object.assign({}, props, {
|
|
948
|
+
ref: ref
|
|
949
|
+
}));
|
|
950
|
+
});
|
|
951
|
+
FormGroup.displayName = 'FormGroup';
|
|
952
|
+
|
|
953
|
+
var FormHelperText =
|
|
954
|
+
/*#__PURE__*/
|
|
955
|
+
forwardRef(function (props, ref) {
|
|
956
|
+
return React.createElement(MUIFormHelperText, Object.assign({}, props, {
|
|
957
|
+
ref: ref
|
|
958
|
+
}));
|
|
959
|
+
});
|
|
960
|
+
FormHelperText.displayName = 'FormHelperText';
|
|
961
|
+
|
|
962
|
+
var FormLabel =
|
|
963
|
+
/*#__PURE__*/
|
|
964
|
+
forwardRef(function (props, ref) {
|
|
965
|
+
var rest = _extends({}, props);
|
|
966
|
+
|
|
967
|
+
return React.createElement(MUIFormLabel, Object.assign({}, rest, {
|
|
968
|
+
ref: ref
|
|
969
|
+
}), props.children);
|
|
970
|
+
});
|
|
971
|
+
FormLabel.displayName = 'FormLabel';
|
|
972
|
+
|
|
973
|
+
var FilterAlt =
|
|
974
|
+
/*#__PURE__*/
|
|
975
|
+
forwardRef(function (props, ref) {
|
|
976
|
+
return React.createElement(SvgIcon, Object.assign({}, props, {
|
|
977
|
+
ref: ref,
|
|
978
|
+
viewBox: "0 0 24 24"
|
|
979
|
+
}), React.createElement("g", null, React.createElement("path", {
|
|
980
|
+
d: "M0,0h24 M24,24H0",
|
|
981
|
+
fill: "none"
|
|
982
|
+
}), React.createElement("path", {
|
|
983
|
+
d: "M4.25,5.61C6.27,8.2,10,13,10,13v6c0,0.55,0.45,1,1,1h2c0.55,0,1-0.45,1-1v-6c0,0,3.72-4.8,5.74-7.39 C20.25,4.95,19.78,4,18.95,4H5.04C4.21,4,3.74,4.95,4.25,5.61z"
|
|
984
|
+
}), React.createElement("path", {
|
|
985
|
+
d: "M0,0h24v24H0V0z",
|
|
986
|
+
fill: "none"
|
|
987
|
+
})));
|
|
988
|
+
});
|
|
989
|
+
FilterAlt.displayName = 'FilterAlt';
|
|
990
|
+
|
|
991
|
+
var Icons = {
|
|
992
|
+
AddCircleOutline: AddCircleOutline,
|
|
993
|
+
ArrowDropDown: ArrowDropDown,
|
|
994
|
+
Cancel: Cancel,
|
|
995
|
+
CheckCircle: CheckCircle$2,
|
|
996
|
+
Close: Close,
|
|
997
|
+
Delete: Delete,
|
|
998
|
+
Edit: Edit,
|
|
999
|
+
FilterAlt: FilterAlt,
|
|
1000
|
+
FormatBold: FormatBold,
|
|
1001
|
+
FormatColorFill: FormatColorFill,
|
|
1002
|
+
FormatItalic: FormatItalic,
|
|
1003
|
+
FormatUnderlined: FormatUnderlined,
|
|
1004
|
+
Help: Help,
|
|
1005
|
+
HelpOutline: HelpOutline,
|
|
1006
|
+
Info: Info,
|
|
1007
|
+
KeyboardArrowDown: KeyboardArrowDown,
|
|
1008
|
+
Link: Link$3,
|
|
1009
|
+
MoreHoriz: MoreHoriz,
|
|
1010
|
+
NavigateNext: NavigateNext,
|
|
1011
|
+
OpenInNew: OpenInNew,
|
|
1012
|
+
ReportProblemRounded: ReportProblemRounded,
|
|
1013
|
+
Schedule: Schedule,
|
|
1014
|
+
Settings: Settings,
|
|
1015
|
+
SettingsOutlined: SettingsOutlined,
|
|
1016
|
+
WatchLater: WatchLater,
|
|
1017
|
+
WebAsset: WebAsset
|
|
1018
|
+
};
|
|
1019
|
+
var Icon =
|
|
1020
|
+
/*#__PURE__*/
|
|
1021
|
+
forwardRef(function (props, ref) {
|
|
1022
|
+
var name = props.name,
|
|
1023
|
+
rest = _objectWithoutPropertiesLoose(props, ["name"]);
|
|
1024
|
+
|
|
1025
|
+
var RenderIcon = Icons[name];
|
|
1026
|
+
return React.createElement(RenderIcon, Object.assign({}, rest, {
|
|
1027
|
+
ref: ref
|
|
1028
|
+
}));
|
|
1029
|
+
});
|
|
1030
|
+
Icon.displayName = 'Icon';
|
|
1031
|
+
|
|
1032
|
+
var Select =
|
|
1033
|
+
/*#__PURE__*/
|
|
1034
|
+
forwardRef(function (props, ref) {
|
|
1035
|
+
var theme = useMUITheme();
|
|
1036
|
+
|
|
1037
|
+
var _useMenuStyles = useMenuStyles(),
|
|
1038
|
+
menuRoot = _useMenuStyles.root;
|
|
1039
|
+
|
|
1040
|
+
return React.createElement(MuiSelect$1, Object.assign({}, props, {
|
|
1041
|
+
ref: ref,
|
|
1042
|
+
IconComponent: Icons.KeyboardArrowDown,
|
|
1043
|
+
MenuProps: {
|
|
1044
|
+
anchorOrigin: {
|
|
1045
|
+
vertical: 'bottom',
|
|
1046
|
+
horizontal: 'left'
|
|
246
1047
|
},
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
lineHeight: 1.6
|
|
1048
|
+
transformOrigin: {
|
|
1049
|
+
vertical: -theme.spacing(1),
|
|
1050
|
+
horizontal: 'left'
|
|
251
1051
|
},
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
lineHeight: 1.6
|
|
1052
|
+
getContentAnchorEl: null,
|
|
1053
|
+
classes: {
|
|
1054
|
+
paper: menuRoot
|
|
256
1055
|
}
|
|
257
1056
|
}
|
|
258
|
-
});
|
|
259
|
-
}
|
|
1057
|
+
}), props.children);
|
|
1058
|
+
});
|
|
1059
|
+
Select.displayName = 'Select';
|
|
260
1060
|
|
|
261
|
-
var
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
}, React.createElement(ThemeProvider$2, {
|
|
268
|
-
theme: theme
|
|
269
|
-
}, children)));
|
|
270
|
-
};
|
|
1061
|
+
var ListSubheader =
|
|
1062
|
+
/*#__PURE__*/
|
|
1063
|
+
forwardRef(function (props, ref) {
|
|
1064
|
+
var _props$disableGutters = props.disableGutters,
|
|
1065
|
+
disableGutters = _props$disableGutters === void 0 ? true : _props$disableGutters,
|
|
1066
|
+
rest = _objectWithoutPropertiesLoose(props, ["disableGutters"]);
|
|
271
1067
|
|
|
272
|
-
|
|
1068
|
+
return React.createElement(MuiListSubheader$1, Object.assign({}, rest, {
|
|
1069
|
+
ref: ref,
|
|
1070
|
+
disableGutters: disableGutters
|
|
1071
|
+
}), props.children);
|
|
1072
|
+
});
|
|
1073
|
+
ListSubheader.displayName = 'ListSubheader';
|
|
1074
|
+
|
|
1075
|
+
var MenuItem =
|
|
1076
|
+
/*#__PURE__*/
|
|
1077
|
+
forwardRef(function (props, ref) {
|
|
1078
|
+
var rest = _objectWithoutPropertiesLoose(props, ["button"]);
|
|
1079
|
+
|
|
1080
|
+
return React.createElement(MuiMenuItem$1, Object.assign({}, rest, {
|
|
1081
|
+
ref: ref
|
|
1082
|
+
}), props.children);
|
|
1083
|
+
});
|
|
1084
|
+
MenuItem.displayName = 'MenuItem';
|
|
1085
|
+
|
|
1086
|
+
var Typography =
|
|
1087
|
+
/*#__PURE__*/
|
|
1088
|
+
forwardRef(function (props, ref) {
|
|
1089
|
+
return React.createElement(Typography$2, Object.assign({}, props, {
|
|
1090
|
+
ref: ref
|
|
1091
|
+
}));
|
|
1092
|
+
});
|
|
1093
|
+
Typography.displayName = 'Typography';
|
|
1094
|
+
|
|
1095
|
+
var useSelectStyle =
|
|
1096
|
+
/*#__PURE__*/
|
|
1097
|
+
makeStyles$1(function () {
|
|
1098
|
+
return {
|
|
1099
|
+
select: {
|
|
1100
|
+
padding: '5px 8px',
|
|
1101
|
+
display: 'inline-flex'
|
|
1102
|
+
}
|
|
1103
|
+
};
|
|
1104
|
+
});
|
|
1105
|
+
var useCustomOptionStyle =
|
|
273
1106
|
/*#__PURE__*/
|
|
274
1107
|
makeStyles$1(function (theme) {
|
|
275
1108
|
return {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
minWidth: '60px'
|
|
279
|
-
},
|
|
280
|
-
text: {
|
|
281
|
-
'& .MuiButton-label': {
|
|
282
|
-
color: theme.palette.grey[600]
|
|
283
|
-
},
|
|
284
|
-
'&:hover': {
|
|
285
|
-
backgroundColor: theme.palette.primary.light,
|
|
286
|
-
'& .MuiButton-label': {
|
|
287
|
-
color: theme.palette.primary.main
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
'&:disabled > .MuiButton-label': {
|
|
291
|
-
color: theme.palette.grey[400]
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
outlined: {
|
|
295
|
-
'& .MuiButton-label': {
|
|
296
|
-
color: 'inherit'
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
outlinedPrimary: {
|
|
300
|
-
'&:hover': {
|
|
301
|
-
backgroundColor: theme.palette.primary.light
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
contained: {
|
|
305
|
-
boxShadow: 'none',
|
|
306
|
-
'& > .MuiButton-label': {
|
|
307
|
-
color: theme.palette.grey[500]
|
|
308
|
-
},
|
|
309
|
-
'&:hover': {
|
|
310
|
-
boxShadow: 'none',
|
|
311
|
-
backgroundColor: theme.palette.grey[100],
|
|
312
|
-
'& .MuiButton-label': {
|
|
313
|
-
color: theme.palette.grey[600]
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
'&:disabled': {
|
|
317
|
-
backgroundColor: theme.palette.grey[200],
|
|
318
|
-
'& > .MuiButton-label': {
|
|
319
|
-
color: theme.palette.grey[700]
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
containedPrimary: {
|
|
324
|
-
'& > .MuiButton-label': {
|
|
325
|
-
color: theme.palette.common.white
|
|
326
|
-
},
|
|
327
|
-
'&:hover': {
|
|
328
|
-
backgroundColor: theme.palette.primary.dark,
|
|
329
|
-
'& .MuiButton-label': {
|
|
330
|
-
color: theme.palette.common.white
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
'&:disabled': {
|
|
334
|
-
backgroundColor: theme.palette.grey[300],
|
|
335
|
-
'& > .MuiButton-label': {
|
|
336
|
-
color: theme.palette.common.white
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
containedSecondary: {
|
|
341
|
-
'& > .MuiButton-label': {
|
|
342
|
-
color: theme.palette.common.white
|
|
343
|
-
},
|
|
1109
|
+
container: {
|
|
1110
|
+
backgroundColor: theme.palette.common.white,
|
|
344
1111
|
'&:hover': {
|
|
345
|
-
backgroundColor: theme.palette.
|
|
346
|
-
'&
|
|
1112
|
+
backgroundColor: lighten(0.3, theme.palette.primary.main),
|
|
1113
|
+
'& > div': {
|
|
1114
|
+
backgroundColor: theme.palette.primary.main,
|
|
347
1115
|
color: theme.palette.common.white
|
|
348
1116
|
}
|
|
349
1117
|
},
|
|
350
|
-
'
|
|
351
|
-
backgroundColor: theme.palette.
|
|
352
|
-
'& >
|
|
1118
|
+
'&.Mui-selected': {
|
|
1119
|
+
backgroundColor: lighten(0.45, theme.palette.primary.main),
|
|
1120
|
+
'& > div': {
|
|
1121
|
+
backgroundColor: theme.palette.primary.main,
|
|
353
1122
|
color: theme.palette.common.white
|
|
354
1123
|
}
|
|
355
1124
|
}
|
|
356
1125
|
},
|
|
357
|
-
|
|
358
|
-
padding:
|
|
359
|
-
|
|
1126
|
+
root: {
|
|
1127
|
+
padding: theme.spacing(0.5) + "px " + theme.spacing(1) + "px",
|
|
1128
|
+
color: theme.palette.grey[600],
|
|
1129
|
+
backgroundColor: theme.palette.grey[100],
|
|
1130
|
+
fontSize: '0.875rem',
|
|
1131
|
+
fontWeight: 500,
|
|
1132
|
+
lineHeight: 1.6,
|
|
1133
|
+
borderRadius: theme.spacing(0.5),
|
|
1134
|
+
overflow: 'hidden',
|
|
1135
|
+
whiteSpace: 'nowrap',
|
|
1136
|
+
textOverflow: 'ellipsis',
|
|
1137
|
+
maxWidth: 'calc(100% - 16px)',
|
|
1138
|
+
transition: '0.2s',
|
|
1139
|
+
transitionProperty: 'color, background-color'
|
|
360
1140
|
},
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
'@media (min-width:1025px)': {
|
|
365
|
-
fontSize: '1rem'
|
|
1141
|
+
"var": {
|
|
1142
|
+
'&::before': {
|
|
1143
|
+
content: '"# "'
|
|
366
1144
|
}
|
|
367
1145
|
}
|
|
368
1146
|
};
|
|
369
1147
|
});
|
|
370
1148
|
|
|
371
|
-
|
|
1149
|
+
function _templateObject() {
|
|
1150
|
+
var data = _taggedTemplateLiteralLoose(["\n color: ", ";\n "]);
|
|
1151
|
+
|
|
1152
|
+
_templateObject = function _templateObject() {
|
|
1153
|
+
return data;
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1156
|
+
return data;
|
|
1157
|
+
}
|
|
1158
|
+
var GroupSelect =
|
|
372
1159
|
/*#__PURE__*/
|
|
373
1160
|
forwardRef(function (props, ref) {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
1161
|
+
var theme = useMUITheme();
|
|
1162
|
+
var customOptionStyle = useCustomOptionStyle();
|
|
1163
|
+
var selectStyle = useSelectStyle();
|
|
1164
|
+
|
|
1165
|
+
var groups = props.groups,
|
|
1166
|
+
value = props.value,
|
|
1167
|
+
onChange = props.onChange,
|
|
1168
|
+
_props$variant = props.variant,
|
|
1169
|
+
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
1170
|
+
onOpen = props.onOpen,
|
|
1171
|
+
onClose = props.onClose,
|
|
1172
|
+
rest = _objectWithoutPropertiesLoose(props, ["groups", "value", "onChange", "variant", "onOpen", "onClose"]);
|
|
1173
|
+
|
|
1174
|
+
return React.createElement(Select, Object.assign({}, rest, {
|
|
1175
|
+
ref: ref,
|
|
1176
|
+
value: value,
|
|
1177
|
+
onChange: onChange,
|
|
1178
|
+
variant: variant,
|
|
1179
|
+
onOpen: onOpen,
|
|
1180
|
+
onClose: onClose,
|
|
1181
|
+
displayEmpty: true,
|
|
1182
|
+
fullWidth: true,
|
|
1183
|
+
classes: selectStyle
|
|
1184
|
+
}), groups.map(function (group) {
|
|
1185
|
+
return [React.createElement(ListSubheader, {
|
|
1186
|
+
style: {
|
|
1187
|
+
pointerEvents: 'none'
|
|
1188
|
+
}
|
|
1189
|
+
}, group.groupTitle), group.options.map(function (opt) {
|
|
1190
|
+
if (opt.emptyLabel) {
|
|
1191
|
+
return React.createElement(MenuItem, {
|
|
1192
|
+
style: {
|
|
1193
|
+
pointerEvents: 'none'
|
|
1194
|
+
}
|
|
1195
|
+
}, React.createElement(Typography, {
|
|
1196
|
+
variant: "body2",
|
|
1197
|
+
className: css(_templateObject(), theme.palette.grey[500])
|
|
1198
|
+
}, opt.emptyLabel));
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
return React.createElement(MenuItem, {
|
|
1202
|
+
className: customOptionStyle.container,
|
|
1203
|
+
value: opt.value,
|
|
1204
|
+
key: opt.value
|
|
1205
|
+
}, React.createElement("div", {
|
|
1206
|
+
className: cx(customOptionStyle.root, customOptionStyle[group.optionType])
|
|
1207
|
+
}, opt.children));
|
|
1208
|
+
})];
|
|
1209
|
+
}));
|
|
1210
|
+
});
|
|
1211
|
+
GroupSelect.displayName = 'GroupSelect';
|
|
1212
|
+
|
|
1213
|
+
var IconButton =
|
|
1214
|
+
/*#__PURE__*/
|
|
1215
|
+
forwardRef(function (props, ref) {
|
|
1216
|
+
return React.createElement(MUIIconButton, Object.assign({}, props, {
|
|
1217
|
+
ref: ref
|
|
1218
|
+
}));
|
|
1219
|
+
});
|
|
1220
|
+
IconButton.displayName = 'IconButton';
|
|
1221
|
+
|
|
1222
|
+
var Link =
|
|
1223
|
+
/*#__PURE__*/
|
|
1224
|
+
forwardRef(function (props, ref) {
|
|
1225
|
+
var _props$underline = props.underline,
|
|
1226
|
+
underline = _props$underline === void 0 ? 'none' : _props$underline,
|
|
1227
|
+
rest = _objectWithoutPropertiesLoose(props, ["underline"]);
|
|
1228
|
+
|
|
1229
|
+
return React.createElement(MUILink, Object.assign({}, rest, {
|
|
377
1230
|
ref: ref,
|
|
378
|
-
|
|
1231
|
+
underline: underline
|
|
379
1232
|
}));
|
|
380
1233
|
});
|
|
1234
|
+
Link.displayName = 'Link';
|
|
381
1235
|
|
|
382
|
-
var
|
|
1236
|
+
var LoadingButton =
|
|
383
1237
|
/*#__PURE__*/
|
|
384
|
-
forwardRef(function (
|
|
385
|
-
var
|
|
386
|
-
|
|
387
|
-
rest = _objectWithoutPropertiesLoose(
|
|
1238
|
+
forwardRef(function (props, ref) {
|
|
1239
|
+
var _props$loading = props.loading,
|
|
1240
|
+
loading = _props$loading === void 0 ? true : _props$loading,
|
|
1241
|
+
rest = _objectWithoutPropertiesLoose(props, ["loading"]);
|
|
1242
|
+
|
|
1243
|
+
return React.createElement(Button, Object.assign({}, rest, {
|
|
1244
|
+
startIcon: loading && React.createElement(CircularProgress, {
|
|
1245
|
+
size: "1rem",
|
|
1246
|
+
color: "inherit"
|
|
1247
|
+
}),
|
|
1248
|
+
ref: ref
|
|
1249
|
+
}));
|
|
1250
|
+
});
|
|
1251
|
+
LoadingButton.displayName = 'LoadingButton';
|
|
1252
|
+
|
|
1253
|
+
var OutlinedInput =
|
|
1254
|
+
/*#__PURE__*/
|
|
1255
|
+
forwardRef(function OutlinedInput(props, ref) {
|
|
1256
|
+
return React.createElement(MUIOutlinedInput, Object.assign({}, props, {
|
|
1257
|
+
ref: ref
|
|
1258
|
+
}));
|
|
1259
|
+
});
|
|
1260
|
+
OutlinedInput.displayName = 'OutlinedInput';
|
|
1261
|
+
|
|
1262
|
+
var Switch =
|
|
1263
|
+
/*#__PURE__*/
|
|
1264
|
+
forwardRef(function (props, ref) {
|
|
1265
|
+
var _props$color = props.color,
|
|
1266
|
+
color = _props$color === void 0 ? 'default' : _props$color,
|
|
1267
|
+
rest = _objectWithoutPropertiesLoose(props, ["color"]);
|
|
388
1268
|
|
|
389
|
-
return React.createElement(
|
|
1269
|
+
return React.createElement(MUISwitch, Object.assign({}, rest, {
|
|
390
1270
|
ref: ref,
|
|
391
1271
|
color: color
|
|
392
1272
|
}));
|
|
393
1273
|
});
|
|
1274
|
+
Switch.displayName = 'Switch';
|
|
394
1275
|
|
|
395
|
-
var
|
|
1276
|
+
var Tab =
|
|
396
1277
|
/*#__PURE__*/
|
|
397
|
-
|
|
398
|
-
return {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
color: function color(props) {
|
|
402
|
-
return props.color && (props.color === 'primary' || props.color === 'secondary') ? theme.palette[props.color].dark : theme.palette.primary.dark;
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
};
|
|
1278
|
+
forwardRef(function (props, ref) {
|
|
1279
|
+
return React.createElement(MUITab, Object.assign({}, props, {
|
|
1280
|
+
ref: ref
|
|
1281
|
+
}), props.children);
|
|
407
1282
|
});
|
|
408
1283
|
|
|
409
|
-
var
|
|
1284
|
+
var Tabs =
|
|
410
1285
|
/*#__PURE__*/
|
|
411
1286
|
forwardRef(function (props, ref) {
|
|
412
|
-
|
|
1287
|
+
var children = props.children,
|
|
1288
|
+
_props$indicatorColor = props.indicatorColor,
|
|
1289
|
+
indicatorColor = _props$indicatorColor === void 0 ? 'primary' : _props$indicatorColor,
|
|
1290
|
+
_props$textColor = props.textColor,
|
|
1291
|
+
textColor = _props$textColor === void 0 ? 'primary' : _props$textColor,
|
|
1292
|
+
restProps = _objectWithoutPropertiesLoose(props, ["children", "indicatorColor", "onFocusVisible", "textColor"]);
|
|
1293
|
+
|
|
1294
|
+
return React.createElement(MUITabs, Object.assign({}, restProps, {
|
|
413
1295
|
ref: ref,
|
|
414
|
-
|
|
415
|
-
|
|
1296
|
+
indicatorColor: indicatorColor,
|
|
1297
|
+
textColor: textColor
|
|
1298
|
+
}), children);
|
|
416
1299
|
});
|
|
1300
|
+
Tabs.displayName = 'Tabs';
|
|
417
1301
|
|
|
418
|
-
var
|
|
419
|
-
Cancel: Cancel,
|
|
420
|
-
Info: Info,
|
|
421
|
-
CheckCircle: CheckCircle$2,
|
|
422
|
-
Facebook: Facebook
|
|
423
|
-
};
|
|
424
|
-
var Icon =
|
|
1302
|
+
var TextField =
|
|
425
1303
|
/*#__PURE__*/
|
|
426
1304
|
forwardRef(function (props, ref) {
|
|
427
|
-
|
|
428
|
-
|
|
1305
|
+
return React.createElement(MUITextField, Object.assign({}, props, {
|
|
1306
|
+
ref: ref
|
|
1307
|
+
}));
|
|
1308
|
+
});
|
|
1309
|
+
TextField.displayName = 'TextField';
|
|
429
1310
|
|
|
430
|
-
|
|
431
|
-
|
|
1311
|
+
var ToggleButton =
|
|
1312
|
+
/*#__PURE__*/
|
|
1313
|
+
forwardRef(function (props, ref) {
|
|
1314
|
+
return React.createElement(MUIToggleButton, Object.assign({}, props, {
|
|
432
1315
|
ref: ref
|
|
433
1316
|
}));
|
|
434
1317
|
});
|
|
1318
|
+
ToggleButton.displayName = 'ToggleButton';
|
|
1319
|
+
|
|
1320
|
+
var ToggleButtonGroup =
|
|
1321
|
+
/*#__PURE__*/
|
|
1322
|
+
forwardRef(function (props, ref) {
|
|
1323
|
+
return React.createElement(MUIToggleButtonGroup, Object.assign({}, props, {
|
|
1324
|
+
ref: ref
|
|
1325
|
+
}), props.children);
|
|
1326
|
+
});
|
|
1327
|
+
ToggleButtonGroup.displayName = 'ToggleButtonGroup';
|
|
1328
|
+
|
|
1329
|
+
var Tooltip =
|
|
1330
|
+
/*#__PURE__*/
|
|
1331
|
+
forwardRef(function (props, ref) {
|
|
1332
|
+
return React.createElement(MUITooltip, Object.assign({}, props, {
|
|
1333
|
+
ref: ref
|
|
1334
|
+
}), props.children);
|
|
1335
|
+
});
|
|
1336
|
+
Tooltip.displayName = 'Tooltip';
|
|
435
1337
|
|
|
436
1338
|
|
|
437
1339
|
|
|
438
|
-
var index
|
|
1340
|
+
var index = {
|
|
439
1341
|
__proto__: null,
|
|
440
|
-
CustomSvgIcon: index,
|
|
441
1342
|
theme: theme,
|
|
1343
|
+
useMUITheme: useMUITheme,
|
|
442
1344
|
ThemeProvider: ThemeProvider,
|
|
1345
|
+
PureThemeProvider: PureThemeProvider,
|
|
1346
|
+
Backdrop: Backdrop,
|
|
1347
|
+
Box: Box,
|
|
443
1348
|
Button: Button,
|
|
444
|
-
|
|
1349
|
+
ButtonGroup: ButtonGroup,
|
|
1350
|
+
CircularProgress: CircularProgress,
|
|
1351
|
+
CssBaseline: CssBaseline,
|
|
1352
|
+
Dialog: Dialog,
|
|
1353
|
+
DialogActions: DialogActions,
|
|
1354
|
+
DialogContent: DialogContent,
|
|
1355
|
+
DialogContentText: DialogContentText,
|
|
1356
|
+
DialogTitle: DialogTitle,
|
|
1357
|
+
Fade: Fade,
|
|
1358
|
+
FormControl: FormControl,
|
|
1359
|
+
FormControlLabel: FormControlLabel,
|
|
1360
|
+
FormGroup: FormGroup,
|
|
1361
|
+
FormHelperText: FormHelperText,
|
|
1362
|
+
FormLabel: FormLabel,
|
|
1363
|
+
GroupSelect: GroupSelect,
|
|
1364
|
+
IconButton: IconButton,
|
|
445
1365
|
Link: Link,
|
|
1366
|
+
LoadingButton: LoadingButton,
|
|
1367
|
+
MenuItem: MenuItem,
|
|
1368
|
+
OutlinedInput: OutlinedInput,
|
|
1369
|
+
Select: Select,
|
|
1370
|
+
Switch: Switch,
|
|
1371
|
+
Tab: Tab,
|
|
1372
|
+
Tabs: Tabs,
|
|
1373
|
+
TextField: TextField,
|
|
1374
|
+
ToggleButton: ToggleButton,
|
|
1375
|
+
ToggleButtonGroup: ToggleButtonGroup,
|
|
1376
|
+
Tooltip: Tooltip,
|
|
1377
|
+
Typography: Typography,
|
|
446
1378
|
Icon: Icon
|
|
447
1379
|
};
|
|
448
1380
|
|
|
@@ -553,7 +1485,7 @@ var styles = function styles(theme) {
|
|
|
553
1485
|
});
|
|
554
1486
|
};
|
|
555
1487
|
|
|
556
|
-
var useStyles
|
|
1488
|
+
var useStyles =
|
|
557
1489
|
/*#__PURE__*/
|
|
558
1490
|
makeStyles$1(styles);
|
|
559
1491
|
var Avatar =
|
|
@@ -565,12 +1497,12 @@ forwardRef(function (_ref, ref) {
|
|
|
565
1497
|
_ref$size = _ref.size,
|
|
566
1498
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
567
1499
|
_ref$variant = _ref.variant,
|
|
568
|
-
variant = _ref$variant === void 0 ? '
|
|
1500
|
+
variant = _ref$variant === void 0 ? 'circular' : _ref$variant,
|
|
569
1501
|
width = _ref.width,
|
|
570
1502
|
height = _ref.height,
|
|
571
1503
|
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "src", "alt", "size", "variant", "width", "height"]);
|
|
572
1504
|
|
|
573
|
-
var classes = useStyles
|
|
1505
|
+
var classes = useStyles({
|
|
574
1506
|
width: width,
|
|
575
1507
|
height: height
|
|
576
1508
|
});
|
|
@@ -697,11 +1629,11 @@ styled(function (_ref) {
|
|
|
697
1629
|
return React.createElement(Chip$1, Object.assign({}, other));
|
|
698
1630
|
})({
|
|
699
1631
|
backgroundColor: function backgroundColor(props) {
|
|
700
|
-
return props.active ? 'white' :
|
|
1632
|
+
return props.active ? 'white' : alpha$1(props.color || theme$1.color.primary["default"], 0.3);
|
|
701
1633
|
},
|
|
702
1634
|
'&:hover, &:focus': {
|
|
703
1635
|
backgroundColor: function backgroundColor(props) {
|
|
704
|
-
return props.active ? 'white' :
|
|
1636
|
+
return props.active ? 'white' : alpha$1(props.color || theme$1.color.primary["default"], 0.3);
|
|
705
1637
|
}
|
|
706
1638
|
},
|
|
707
1639
|
'&:active': {
|
|
@@ -745,7 +1677,7 @@ var Chip = function Chip(_ref) {
|
|
|
745
1677
|
);
|
|
746
1678
|
};
|
|
747
1679
|
|
|
748
|
-
var index$
|
|
1680
|
+
var index$1 = /*#__PURE__*/
|
|
749
1681
|
memo(Chip);
|
|
750
1682
|
|
|
751
1683
|
var Paper =
|
|
@@ -756,7 +1688,7 @@ forwardRef(function (props, ref) {
|
|
|
756
1688
|
}, props), props.children);
|
|
757
1689
|
});
|
|
758
1690
|
|
|
759
|
-
var useStyles$
|
|
1691
|
+
var useStyles$1 =
|
|
760
1692
|
/*#__PURE__*/
|
|
761
1693
|
makeStyles$1({
|
|
762
1694
|
root: {
|
|
@@ -779,7 +1711,7 @@ forwardRef(function (_ref, ref) {
|
|
|
779
1711
|
className = _ref.className,
|
|
780
1712
|
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "className"]);
|
|
781
1713
|
|
|
782
|
-
var _useStyles = useStyles$
|
|
1714
|
+
var _useStyles = useStyles$1(restProps),
|
|
783
1715
|
root = _useStyles.root;
|
|
784
1716
|
|
|
785
1717
|
return React.createElement(MuiCard, Object.assign({
|
|
@@ -1061,7 +1993,7 @@ function resolveThemeColorProp(theme, color) {
|
|
|
1061
1993
|
return typeof color === 'function' ? color(theme) : resolveThemeColorByPath(theme, color);
|
|
1062
1994
|
}
|
|
1063
1995
|
|
|
1064
|
-
var useStyles$
|
|
1996
|
+
var useStyles$2 =
|
|
1065
1997
|
/*#__PURE__*/
|
|
1066
1998
|
makeStyles([['typography', function (theme, _ref) {
|
|
1067
1999
|
var variant = _ref[0],
|
|
@@ -1089,7 +2021,7 @@ forwardRef(function (_ref, ref) {
|
|
|
1089
2021
|
noWrap = _ref.noWrap,
|
|
1090
2022
|
props = _objectWithoutPropertiesLoose(_ref, ["children", "className", "variant", "color", "weight", "gutterBottom", "noWrap"]);
|
|
1091
2023
|
|
|
1092
|
-
var styles = useStyles$
|
|
2024
|
+
var styles = useStyles$2([Vari, color, weight, gutterBottom, noWrap]);
|
|
1093
2025
|
return React.createElement(Vari, Object.assign({}, props, {
|
|
1094
2026
|
className: className ? cx(styles.typography, className) : styles.typography,
|
|
1095
2027
|
ref: ref
|
|
@@ -1254,7 +2186,7 @@ function hexToRgba(originColor, opacity) {
|
|
|
1254
2186
|
return "rgba(" + rgb + ", " + opacity + ")";
|
|
1255
2187
|
}
|
|
1256
2188
|
|
|
1257
|
-
var useStyles$
|
|
2189
|
+
var useStyles$3 =
|
|
1258
2190
|
/*#__PURE__*/
|
|
1259
2191
|
makeStyles([['tag', function (theme, _ref) {
|
|
1260
2192
|
var originColor = _ref[0],
|
|
@@ -1272,7 +2204,7 @@ var Tag = function Tag(_ref) {
|
|
|
1272
2204
|
onClick = _ref.onClick,
|
|
1273
2205
|
props = _objectWithoutPropertiesLoose(_ref, ["children", "className", "color", "variant", "onClick"]);
|
|
1274
2206
|
|
|
1275
|
-
var styles = useStyles$
|
|
2207
|
+
var styles = useStyles$3([color, variant, !!onClick]);
|
|
1276
2208
|
return React.createElement("div", Object.assign({}, props, {
|
|
1277
2209
|
className: className ? cx(styles.tag, className) : styles.tag,
|
|
1278
2210
|
onClick: onClick
|
|
@@ -1285,7 +2217,7 @@ Tag.defaultProps = {
|
|
|
1285
2217
|
variant: 'filled'
|
|
1286
2218
|
};
|
|
1287
2219
|
|
|
1288
|
-
var Tooltip =
|
|
2220
|
+
var Tooltip$1 =
|
|
1289
2221
|
/*#__PURE__*/
|
|
1290
2222
|
forwardRef(function (_ref, ref) {
|
|
1291
2223
|
var children = _ref.children,
|
|
@@ -1296,7 +2228,7 @@ forwardRef(function (_ref, ref) {
|
|
|
1296
2228
|
enterNextDelay = _ref.enterNextDelay,
|
|
1297
2229
|
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "title", "arrow", "placement", "enterDelay", "enterNextDelay"]);
|
|
1298
2230
|
|
|
1299
|
-
return React.createElement(
|
|
2231
|
+
return React.createElement(MUITooltip, Object.assign({
|
|
1300
2232
|
title: title,
|
|
1301
2233
|
arrow: arrow,
|
|
1302
2234
|
placement: placement,
|
|
@@ -1306,7 +2238,7 @@ forwardRef(function (_ref, ref) {
|
|
|
1306
2238
|
}, restProps), children);
|
|
1307
2239
|
});
|
|
1308
2240
|
|
|
1309
|
-
var useStyles$
|
|
2241
|
+
var useStyles$4 =
|
|
1310
2242
|
/*#__PURE__*/
|
|
1311
2243
|
makeStyles$1({
|
|
1312
2244
|
root: {
|
|
@@ -1405,7 +2337,7 @@ makeStyles$1({
|
|
|
1405
2337
|
}
|
|
1406
2338
|
});
|
|
1407
2339
|
|
|
1408
|
-
var Select = function Select(props) {
|
|
2340
|
+
var Select$1 = function Select(props) {
|
|
1409
2341
|
var options = props.options,
|
|
1410
2342
|
value = props.value,
|
|
1411
2343
|
onChange = props.onChange,
|
|
@@ -1419,9 +2351,9 @@ var Select = function Select(props) {
|
|
|
1419
2351
|
isVarItem = _props$isVarItem === void 0 ? false : _props$isVarItem,
|
|
1420
2352
|
restProps = _objectWithoutPropertiesLoose(props, ["options", "value", "onChange", "variant", "multiple", "onOpen", "onClose", "height", "backgroundColor", "isVarItem"]);
|
|
1421
2353
|
|
|
1422
|
-
var classes = useStyles$
|
|
2354
|
+
var classes = useStyles$4(props);
|
|
1423
2355
|
var itemClasses = itemStyle(props);
|
|
1424
|
-
return React.createElement(MuiSelect, Object.assign({
|
|
2356
|
+
return React.createElement(MuiSelect$1, Object.assign({
|
|
1425
2357
|
className: classes.root,
|
|
1426
2358
|
value: value,
|
|
1427
2359
|
onChange: onChange,
|
|
@@ -1432,7 +2364,7 @@ var Select = function Select(props) {
|
|
|
1432
2364
|
displayEmpty: true,
|
|
1433
2365
|
fullWidth: true
|
|
1434
2366
|
}, restProps), options.map(function (option) {
|
|
1435
|
-
return React.createElement(MuiMenuItem, {
|
|
2367
|
+
return React.createElement(MuiMenuItem$1, {
|
|
1436
2368
|
className: itemClasses.container,
|
|
1437
2369
|
value: option.value,
|
|
1438
2370
|
key: option.value
|
|
@@ -1480,7 +2412,7 @@ createStyles({
|
|
|
1480
2412
|
pointerEvents: 'none'
|
|
1481
2413
|
}
|
|
1482
2414
|
});
|
|
1483
|
-
var useCustomOptionStyle =
|
|
2415
|
+
var useCustomOptionStyle$1 =
|
|
1484
2416
|
/*#__PURE__*/
|
|
1485
2417
|
makeStyles$1({
|
|
1486
2418
|
container: {
|
|
@@ -1540,15 +2472,15 @@ makeStyles$1({
|
|
|
1540
2472
|
|
|
1541
2473
|
var StyledSelect =
|
|
1542
2474
|
/*#__PURE__*/
|
|
1543
|
-
withStyles(styles$3)(MuiSelect);
|
|
2475
|
+
withStyles(styles$3)(MuiSelect$1);
|
|
1544
2476
|
var StyledEmptyLabel =
|
|
1545
2477
|
/*#__PURE__*/
|
|
1546
|
-
withStyles(emptyStyles)(MuiListSubheader);
|
|
2478
|
+
withStyles(emptyStyles)(MuiListSubheader$1);
|
|
1547
2479
|
var StyledSubheader =
|
|
1548
2480
|
/*#__PURE__*/
|
|
1549
|
-
withStyles(subheaderStyles)(MuiListSubheader);
|
|
2481
|
+
withStyles(subheaderStyles)(MuiListSubheader$1);
|
|
1550
2482
|
|
|
1551
|
-
var GroupSelect = function GroupSelect(props) {
|
|
2483
|
+
var GroupSelect$1 = function GroupSelect(props) {
|
|
1552
2484
|
var groups = props.groups,
|
|
1553
2485
|
value = props.value,
|
|
1554
2486
|
onChange = props.onChange,
|
|
@@ -1556,7 +2488,7 @@ var GroupSelect = function GroupSelect(props) {
|
|
|
1556
2488
|
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
1557
2489
|
onOpen = props.onOpen,
|
|
1558
2490
|
onClose = props.onClose;
|
|
1559
|
-
var classes = useCustomOptionStyle();
|
|
2491
|
+
var classes = useCustomOptionStyle$1();
|
|
1560
2492
|
return React.createElement(StyledSelect, {
|
|
1561
2493
|
value: value,
|
|
1562
2494
|
onChange: onChange,
|
|
@@ -1575,7 +2507,7 @@ var GroupSelect = function GroupSelect(props) {
|
|
|
1575
2507
|
}, opt.emptyLabel);
|
|
1576
2508
|
}
|
|
1577
2509
|
|
|
1578
|
-
return React.createElement(MuiMenuItem, {
|
|
2510
|
+
return React.createElement(MuiMenuItem$1, {
|
|
1579
2511
|
className: classes.container,
|
|
1580
2512
|
value: opt.value,
|
|
1581
2513
|
key: opt.value
|
|
@@ -1667,7 +2599,7 @@ styled$1('span')(
|
|
|
1667
2599
|
/*#__PURE__*/
|
|
1668
2600
|
_templateObject5(), theme$1.color.text.B3, theme$1.typography.fontWeight.normal);
|
|
1669
2601
|
|
|
1670
|
-
var Switch =
|
|
2602
|
+
var Switch$1 =
|
|
1671
2603
|
/*#__PURE__*/
|
|
1672
2604
|
forwardRef(function (_ref, ref) {
|
|
1673
2605
|
var checked = _ref.checked,
|
|
@@ -1736,7 +2668,7 @@ var MenuList = function MenuList(_ref) {
|
|
|
1736
2668
|
var TransitionProps = _ref2.TransitionProps;
|
|
1737
2669
|
|
|
1738
2670
|
if (fade) {
|
|
1739
|
-
return React.createElement(Fade, Object.assign({}, TransitionProps, {
|
|
2671
|
+
return React.createElement(Fade$1, Object.assign({}, TransitionProps, {
|
|
1740
2672
|
timeout: 400
|
|
1741
2673
|
}), paper);
|
|
1742
2674
|
} else {
|
|
@@ -1745,7 +2677,7 @@ var MenuList = function MenuList(_ref) {
|
|
|
1745
2677
|
});
|
|
1746
2678
|
};
|
|
1747
2679
|
|
|
1748
|
-
var useStyles$
|
|
2680
|
+
var useStyles$5 =
|
|
1749
2681
|
/*#__PURE__*/
|
|
1750
2682
|
makeStyles$1({
|
|
1751
2683
|
root: {
|
|
@@ -1766,12 +2698,12 @@ makeStyles$1({
|
|
|
1766
2698
|
}
|
|
1767
2699
|
});
|
|
1768
2700
|
|
|
1769
|
-
var MenuItem = function MenuItem(props) {
|
|
2701
|
+
var MenuItem$1 = function MenuItem(props) {
|
|
1770
2702
|
var children = props.children,
|
|
1771
2703
|
restProps = _objectWithoutPropertiesLoose(props, ["children", "backgroundColor", "color", "hoverBackgroundColor", "hoverColor"]);
|
|
1772
2704
|
|
|
1773
|
-
var classes = useStyles$
|
|
1774
|
-
return React.createElement(MuiMenuItem, Object.assign({}, restProps, {
|
|
2705
|
+
var classes = useStyles$5(props);
|
|
2706
|
+
return React.createElement(MuiMenuItem$1, Object.assign({}, restProps, {
|
|
1775
2707
|
className: classes.root
|
|
1776
2708
|
}), children);
|
|
1777
2709
|
};
|
|
@@ -1804,9 +2736,9 @@ var styles$4 = function styles(theme) {
|
|
|
1804
2736
|
|
|
1805
2737
|
var StyledMuiToggleButton =
|
|
1806
2738
|
/*#__PURE__*/
|
|
1807
|
-
withStyles(styles$4)(
|
|
2739
|
+
withStyles(styles$4)(MUIToggleButton);
|
|
1808
2740
|
|
|
1809
|
-
var ToggleButtonGroup = function ToggleButtonGroup(props) {
|
|
2741
|
+
var ToggleButtonGroup$1 = function ToggleButtonGroup(props) {
|
|
1810
2742
|
var value = props.value,
|
|
1811
2743
|
_props$exclusive = props.exclusive,
|
|
1812
2744
|
exclusive = _props$exclusive === void 0 ? true : _props$exclusive,
|
|
@@ -1815,7 +2747,7 @@ var ToggleButtonGroup = function ToggleButtonGroup(props) {
|
|
|
1815
2747
|
size = _props$size === void 0 ? 'medium' : _props$size,
|
|
1816
2748
|
toggleButtons = props.toggleButtons,
|
|
1817
2749
|
ariaLabel = props.ariaLabel;
|
|
1818
|
-
return React.createElement(
|
|
2750
|
+
return React.createElement(MUIToggleButtonGroup, {
|
|
1819
2751
|
value: value,
|
|
1820
2752
|
exclusive: exclusive,
|
|
1821
2753
|
onChange: onChange,
|
|
@@ -1838,7 +2770,7 @@ var ToggleButtonGroup = function ToggleButtonGroup(props) {
|
|
|
1838
2770
|
|
|
1839
2771
|
var CustomIconButton =
|
|
1840
2772
|
/*#__PURE__*/
|
|
1841
|
-
styled(
|
|
2773
|
+
styled(MUIIconButton)(function (_ref) {
|
|
1842
2774
|
var theme = _ref.theme;
|
|
1843
2775
|
return {
|
|
1844
2776
|
fontSize: '1rem',
|
|
@@ -1960,7 +2892,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
1960
2892
|
var hasPrev = pageIndex > 0;
|
|
1961
2893
|
var hasNext = pageIndex < totalPages - 1;
|
|
1962
2894
|
var styles = useTextFieldStyles();
|
|
1963
|
-
return React.createElement(Box, {
|
|
2895
|
+
return React.createElement(Box$1, {
|
|
1964
2896
|
display: "inline-flex",
|
|
1965
2897
|
alignItems: "center",
|
|
1966
2898
|
color: "grey.500"
|
|
@@ -1970,12 +2902,12 @@ var Pagination = function Pagination(_ref) {
|
|
|
1970
2902
|
tabIndex: hasPrev ? 0 : undefined,
|
|
1971
2903
|
"aria-disabled": !hasPrev,
|
|
1972
2904
|
size: "small"
|
|
1973
|
-
}), React.createElement(Box, {
|
|
2905
|
+
}), React.createElement(Box$1, {
|
|
1974
2906
|
display: "flex",
|
|
1975
2907
|
alignItems: "center",
|
|
1976
2908
|
"data-page": pageIndex + 1,
|
|
1977
2909
|
"data-total-pages": totalPages
|
|
1978
|
-
}, React.createElement(
|
|
2910
|
+
}, React.createElement(MUITextField, {
|
|
1979
2911
|
classes: {
|
|
1980
2912
|
root: styles.root
|
|
1981
2913
|
},
|
|
@@ -1991,7 +2923,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
1991
2923
|
onKeyUp: onKeyUp,
|
|
1992
2924
|
onBlur: onBlur,
|
|
1993
2925
|
variant: "outlined"
|
|
1994
|
-
}), React.createElement(Box, {
|
|
2926
|
+
}), React.createElement(Box$1, {
|
|
1995
2927
|
pr: 0.5,
|
|
1996
2928
|
pl: 1
|
|
1997
2929
|
}, React.createElement(Typography$2, {
|
|
@@ -2007,10 +2939,10 @@ var Pagination = function Pagination(_ref) {
|
|
|
2007
2939
|
}));
|
|
2008
2940
|
};
|
|
2009
2941
|
|
|
2010
|
-
var index$
|
|
2942
|
+
var index$2 = /*#__PURE__*/
|
|
2011
2943
|
memo(Pagination);
|
|
2012
2944
|
|
|
2013
|
-
var useStyles$
|
|
2945
|
+
var useStyles$6 =
|
|
2014
2946
|
/*#__PURE__*/
|
|
2015
2947
|
makeStyles$1({
|
|
2016
2948
|
scrollButtons: {
|
|
@@ -2032,7 +2964,7 @@ makeStyles$1({
|
|
|
2032
2964
|
}
|
|
2033
2965
|
});
|
|
2034
2966
|
|
|
2035
|
-
var Tabs =
|
|
2967
|
+
var Tabs$1 =
|
|
2036
2968
|
/*#__PURE__*/
|
|
2037
2969
|
forwardRef(function (_ref, ref) {
|
|
2038
2970
|
var children = _ref.children,
|
|
@@ -2040,8 +2972,8 @@ forwardRef(function (_ref, ref) {
|
|
|
2040
2972
|
onChange = _ref.onChange,
|
|
2041
2973
|
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "value", "onChange"]);
|
|
2042
2974
|
|
|
2043
|
-
var classes = useStyles$
|
|
2044
|
-
return React.createElement(
|
|
2975
|
+
var classes = useStyles$6();
|
|
2976
|
+
return React.createElement(MUITabs, Object.assign({
|
|
2045
2977
|
ref: ref,
|
|
2046
2978
|
value: value,
|
|
2047
2979
|
onChange: onChange,
|
|
@@ -2051,7 +2983,7 @@ forwardRef(function (_ref, ref) {
|
|
|
2051
2983
|
}, restProps), children);
|
|
2052
2984
|
});
|
|
2053
2985
|
|
|
2054
|
-
var useStyles$
|
|
2986
|
+
var useStyles$7 =
|
|
2055
2987
|
/*#__PURE__*/
|
|
2056
2988
|
makeStyles$1(function (theme) {
|
|
2057
2989
|
return createStyles({
|
|
@@ -2078,7 +3010,7 @@ makeStyles$1(function (theme) {
|
|
|
2078
3010
|
});
|
|
2079
3011
|
});
|
|
2080
3012
|
|
|
2081
|
-
var Tab =
|
|
3013
|
+
var Tab$1 =
|
|
2082
3014
|
/*#__PURE__*/
|
|
2083
3015
|
forwardRef(function (_ref, ref) {
|
|
2084
3016
|
var label = _ref.label,
|
|
@@ -2087,8 +3019,8 @@ forwardRef(function (_ref, ref) {
|
|
|
2087
3019
|
value = _ref.value,
|
|
2088
3020
|
restProps = _objectWithoutPropertiesLoose(_ref, ["label", "disabled", "icon", "value"]);
|
|
2089
3021
|
|
|
2090
|
-
var classes = useStyles$
|
|
2091
|
-
return React.createElement(
|
|
3022
|
+
var classes = useStyles$7();
|
|
3023
|
+
return React.createElement(MUITab, Object.assign({
|
|
2092
3024
|
ref: ref,
|
|
2093
3025
|
classes: classes,
|
|
2094
3026
|
label: label,
|
|
@@ -2115,7 +3047,7 @@ forwardRef(function (_ref, ref) {
|
|
|
2115
3047
|
}, restProps), children);
|
|
2116
3048
|
});
|
|
2117
3049
|
|
|
2118
|
-
var useStyles$
|
|
3050
|
+
var useStyles$8 =
|
|
2119
3051
|
/*#__PURE__*/
|
|
2120
3052
|
makeStyles$1({
|
|
2121
3053
|
root: {
|
|
@@ -2160,7 +3092,7 @@ forwardRef(function (_ref, ref) {
|
|
|
2160
3092
|
value = _ref.value,
|
|
2161
3093
|
restProps = _objectWithoutPropertiesLoose(_ref, ["disabled", "checked", "value", "classes"]);
|
|
2162
3094
|
|
|
2163
|
-
var css = useStyles$
|
|
3095
|
+
var css = useStyles$8();
|
|
2164
3096
|
return React.createElement(Radio$1, Object.assign({
|
|
2165
3097
|
ref: ref,
|
|
2166
3098
|
value: value,
|
|
@@ -2268,7 +3200,7 @@ forwardRef(function (_ref, ref) {
|
|
|
2268
3200
|
className: StepperContainer
|
|
2269
3201
|
}, restProps), stepsWithConnector);
|
|
2270
3202
|
});
|
|
2271
|
-
var index$
|
|
3203
|
+
var index$3 = /*#__PURE__*/
|
|
2272
3204
|
memo(Stepper);
|
|
2273
3205
|
|
|
2274
3206
|
function _templateObject$5() {
|
|
@@ -2318,7 +3250,7 @@ forwardRef(function (_ref, ref) {
|
|
|
2318
3250
|
active: active
|
|
2319
3251
|
}, restProps), children);
|
|
2320
3252
|
});
|
|
2321
|
-
var index$
|
|
3253
|
+
var index$4 = /*#__PURE__*/
|
|
2322
3254
|
memo(Step);
|
|
2323
3255
|
|
|
2324
3256
|
function _templateObject$6() {
|
|
@@ -2907,7 +3839,7 @@ var icons = {
|
|
|
2907
3839
|
warning: ExclamationCircle
|
|
2908
3840
|
};
|
|
2909
3841
|
|
|
2910
|
-
var useStyles$
|
|
3842
|
+
var useStyles$9 =
|
|
2911
3843
|
/*#__PURE__*/
|
|
2912
3844
|
makeStyles([['message', function (theme, _ref) {
|
|
2913
3845
|
var visible = _ref[1];
|
|
@@ -2955,7 +3887,7 @@ forwardRef(function (_ref, ref) {
|
|
|
2955
3887
|
}
|
|
2956
3888
|
};
|
|
2957
3889
|
|
|
2958
|
-
var styles = useStyles$
|
|
3890
|
+
var styles = useStyles$9([type, visible]);
|
|
2959
3891
|
useEffect(function () {
|
|
2960
3892
|
window.setTimeout(function () {
|
|
2961
3893
|
return setVisible(true);
|
|
@@ -3061,10 +3993,10 @@ var Modal = function Modal(_ref) {
|
|
|
3061
3993
|
|
|
3062
3994
|
return React.createElement(MuiModal, Object.assign({
|
|
3063
3995
|
open: open,
|
|
3064
|
-
BackdropComponent:
|
|
3996
|
+
BackdropComponent: MUIBackdrop,
|
|
3065
3997
|
BackdropProps: _extends({}, backdropProps),
|
|
3066
3998
|
closeAfterTransition: true
|
|
3067
|
-
}, restProps), React.createElement(Fade, {
|
|
3999
|
+
}, restProps), React.createElement(Fade$1, {
|
|
3068
4000
|
"in": open
|
|
3069
4001
|
}, children));
|
|
3070
4002
|
};
|
|
@@ -3142,7 +4074,7 @@ var semanticColors = {
|
|
|
3142
4074
|
warning: '#fef1e1',
|
|
3143
4075
|
error: '#fbd0e0'
|
|
3144
4076
|
};
|
|
3145
|
-
var useStyles$
|
|
4077
|
+
var useStyles$a =
|
|
3146
4078
|
/*#__PURE__*/
|
|
3147
4079
|
makeStyles$1({
|
|
3148
4080
|
root: {
|
|
@@ -3244,7 +4176,7 @@ forwardRef(function (_ref, ref) {
|
|
|
3244
4176
|
semantic = _ref.semantic,
|
|
3245
4177
|
showSemanticIcon = _ref.showSemanticIcon,
|
|
3246
4178
|
MessageIcon = _ref.MessageIcon;
|
|
3247
|
-
var classes = useStyles$
|
|
4179
|
+
var classes = useStyles$a({
|
|
3248
4180
|
semantic: semantic,
|
|
3249
4181
|
withTitle: !!title
|
|
3250
4182
|
});
|
|
@@ -3284,7 +4216,7 @@ forwardRef(function (_ref2, ref) {
|
|
|
3284
4216
|
transitionDirection = _ref2.transitionDirection,
|
|
3285
4217
|
MessageIcon = _ref2.MessageIcon,
|
|
3286
4218
|
showSemanticIcon = _ref2.showSemanticIcon,
|
|
3287
|
-
restProps = _objectWithoutPropertiesLoose(_ref2, ["open", "title", "message", "action", "semantic", "transitionDirection", "MessageIcon", "showSemanticIcon"]);
|
|
4219
|
+
restProps = _objectWithoutPropertiesLoose(_ref2, ["open", "title", "message", "action", "semantic", "transitionDirection", "MessageIcon", "showSemanticIcon", "onExited"]);
|
|
3288
4220
|
|
|
3289
4221
|
return React.createElement(MuiSnackbar, Object.assign({
|
|
3290
4222
|
ref: ref,
|
|
@@ -3301,10 +4233,10 @@ forwardRef(function (_ref2, ref) {
|
|
|
3301
4233
|
}));
|
|
3302
4234
|
});
|
|
3303
4235
|
|
|
3304
|
-
var Backdrop =
|
|
4236
|
+
var Backdrop$1 =
|
|
3305
4237
|
/*#__PURE__*/
|
|
3306
4238
|
forwardRef(function (props, ref) {
|
|
3307
|
-
return React.createElement(
|
|
4239
|
+
return React.createElement(MUIBackdrop, Object.assign({
|
|
3308
4240
|
ref: ref
|
|
3309
4241
|
}, props), props.children);
|
|
3310
4242
|
});
|
|
@@ -3468,17 +4400,17 @@ var SlidingSideMenu = function SlidingSideMenu(_ref) {
|
|
|
3468
4400
|
duration: duration,
|
|
3469
4401
|
position: position,
|
|
3470
4402
|
width: width
|
|
3471
|
-
}, restProps), children), React.createElement(Backdrop, Object.assign({
|
|
4403
|
+
}, restProps), children), React.createElement(Backdrop$1, Object.assign({
|
|
3472
4404
|
open: open,
|
|
3473
4405
|
onClick: handleClose,
|
|
3474
4406
|
className: BackdropClassName
|
|
3475
4407
|
}, restBackdropProps)));
|
|
3476
4408
|
};
|
|
3477
4409
|
|
|
3478
|
-
var index$
|
|
4410
|
+
var index$5 = /*#__PURE__*/
|
|
3479
4411
|
memo(SlidingSideMenu);
|
|
3480
4412
|
|
|
3481
|
-
var useStyles$
|
|
4413
|
+
var useStyles$b =
|
|
3482
4414
|
/*#__PURE__*/
|
|
3483
4415
|
makeStyles$1({
|
|
3484
4416
|
root: {
|
|
@@ -3523,7 +4455,7 @@ makeStyles$1({
|
|
|
3523
4455
|
});
|
|
3524
4456
|
|
|
3525
4457
|
var Divider = function Divider(props) {
|
|
3526
|
-
var _useStyles = useStyles$
|
|
4458
|
+
var _useStyles = useStyles$b(props),
|
|
3527
4459
|
root = _useStyles.root;
|
|
3528
4460
|
|
|
3529
4461
|
return React.createElement(MuiDivider, Object.assign({}, props, {
|
|
@@ -4497,7 +5429,7 @@ var QuestionCircleOutline = {
|
|
|
4497
5429
|
}
|
|
4498
5430
|
};
|
|
4499
5431
|
|
|
4500
|
-
var Facebook
|
|
5432
|
+
var Facebook = {
|
|
4501
5433
|
name: 'facebook',
|
|
4502
5434
|
definition: {
|
|
4503
5435
|
viewBox: '0 0 512 512',
|
|
@@ -4757,5 +5689,5 @@ WordingProvider.useWording = function () {
|
|
|
4757
5689
|
return useContext(WordingContext);
|
|
4758
5690
|
};
|
|
4759
5691
|
|
|
4760
|
-
export { AnimateHeight, ArrowRight, Avatar, Backdrop, BrowserLight, Button$1 as Button, Card, CardActionArea, CardActions, CardContent, CardHeader, MuiCheckbox as Checkbox, index$
|
|
5692
|
+
export { AnimateHeight, ArrowRight, Avatar, Backdrop$1 as Backdrop, BrowserLight, Button$1 as Button, Card, CardActionArea, CardActions, CardContent, CardHeader, MuiCheckbox as Checkbox, index$1 as Chip, DatePicker, Divider, EditLight, EditableTable, GroupSelect$1 as GroupSelect, Icon$1 as Icon, InputSlider, KeyboardDatePicker, ListUl as ListUlFilled, Lock as LockFilled, MenuItem$1 as MenuItem, MenuList, api as Message, Modal, MuiThemeProvider, index$2 as Pagination, Paper, Popper, Portal, QuestionCircleOutline, MuiRadio as Radio, Radio as RadioGroup, Select$1 as Select, index$5 as SlidingSideMenu, Snackbar, index$4 as Step, index$3 as Stepper, Switch$1 as Switch, Tab$1 as Tab, Tabs$1 as Tabs, Tag, ToggleButtonGroup$1 as ToggleButtonGroup, Tooltip$1 as Tooltip, Typography$1 as Typography, index as V2, WordingProvider, AnalyticsLight as analyticsLight, AngleLeft as angleLeftFilled, AngleLeft$1 as angleLeftOutlined, AngleRight as angleRightFilled, AngleRight$1 as angleRightOutlined, ArrowAltLeft as arrowAltLeftFilled, BarChart as barChartFilled, BracketsCurly as bracketsCurly, CalendarAlt as calendarAltOutlined, CaretDown$1 as caretDownFilled, CaretLeft as caretLeftFilled, CaretRight as caretRightFilled, CaretUp as caretUpFilled, CheckCircle as checkCircleFilled, CheckCircle$1 as checkCircleOutlined, Check as checkFilled, Check$1 as checkOutlined, CheckSquare as checkSquareFilled, ChevronDown as chevronDownOutlined, ChevronLeft as chevronLeftFilled, ChevronRight as chevronRightFilled, Clock as clockOutlined, Code as codeOutlined, CogLight as cogLight, CommentAltLines as commentAltLinesOutlined, theme$1 as defaultTheme, EllipsisH as ellipsisHFilled, EllipsisV as ellipsisVFilled, ExclamationCircle as exclamationCircleFilled, ExclamationCircle$1 as exclamationCircleOutlined, ExclamationTriangle as exclamationTriangleFilled, ExternalLinkLight as externalLinkLight, Facebook as facebookBrand, FacebookIn as facebookIn, FileAlt as fileAltOutlined, FileCertificate as fileCertificateOutlined, Filter as filterOutlined, GlobalAsia as globalAsiaOutlined, HandPointer as handPointerFilled, HandPointer$1 as handPointerOutlined, Heart as heartFilled, Heart$1 as heartOutlined, hexToRgba, InfoCircle as infoCircleFilled, InfoCircle$1 as infoCircleOutlined, LinkLight as linkLight, Link$2 as linkOutlined, Linkedin as linkedinBrand, LinkedinIn as linkedinIn, Link$1 as listUlOutlined, LongArrowRight as longArrowRightOutlined, makeStyles, MinusLight as minusLightFilled, muiThemeForSurveyCake, PageBreak as pageBreak, PenLight as penLight, PlusCircle as plusCircleOutlined, Plus as plusFilled, PlusLight as plusLightFilled, QRCode as qrcodeOutlined, QuestionCircle as questionCircleFilled, Redo as redoOutlined, Search as searchFilled, SearchLight as searchLightOutlined, SortDown as sortDownFilled, Sort as sortFilled, SortUp as sortUpFilled, SpinnerThird as spinnerThirdOutlined, Square as squareOutlined, Star as starFilled, Star$1 as starOutlined, ThLarge as thLargeOutLined, ThumbUp as thumbUpFilled, ThumbUp$1 as thumbUpOutlined, TimesCircle as timesCircleFilled, TimesCircle$1 as timesCircleOutlined, Times as timesOutlined, TrashAltRegular as trashAltRegular, Twitter as twitterBrand, TwitterIn as twitterIn, useTheme, User as userFilled, UserPlus as userPlusFilled, UserPlus$1 as userPlusOutlined, Users as usersFilled, withMuiPickersUtilsProvider };
|
|
4761
5693
|
//# sourceMappingURL=rc.esm.js.map
|