@surveycake/rc 3.0.0-alpha.13 → 3.0.0-alpha.17
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 +37 -0
- package/dist/V2/Backdrop/Backdrop.stories.d.ts +1 -2
- package/dist/V2/Backdrop/index.d.ts +3 -3
- package/dist/V2/Box/index.d.ts +6 -2
- package/dist/V2/Button/index.d.ts +2 -2
- package/dist/V2/ButtonGroup/index.d.ts +3 -3
- package/dist/V2/CircularProgress/index.d.ts +3 -3
- package/dist/V2/CssBaseline/index.d.ts +2 -1
- package/dist/V2/Dialog/index.d.ts +2 -2
- package/dist/V2/DialogActions/index.d.ts +4 -2
- package/dist/V2/DialogContent/index.d.ts +4 -2
- package/dist/V2/DialogContentText/index.d.ts +5 -2
- package/dist/V2/DialogTitle/index.d.ts +4 -2
- package/dist/V2/Fade/index.d.ts +3 -3
- package/dist/V2/FormControl/index.d.ts +3 -3
- package/dist/V2/FormControlLabel/index.d.ts +3 -3
- package/dist/V2/FormGroup/index.d.ts +3 -3
- package/dist/V2/FormHelperText/index.d.ts +3 -3
- package/dist/V2/FormLabel/index.d.ts +3 -3
- 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 +20 -6
- package/dist/V2/IconButton/index.d.ts +3 -3
- package/dist/V2/Link/Link.stories.d.ts +4 -3
- package/dist/V2/Link/index.d.ts +3 -3
- 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/index.d.ts +4 -4
- package/dist/V2/MenuItem/index.d.ts +3 -3
- package/dist/V2/OutlinedInput/index.d.ts +3 -3
- package/dist/V2/Select/index.d.ts +2 -3
- package/dist/V2/Select/styles.d.ts +1 -0
- package/dist/V2/Switch/index.d.ts +2 -2
- package/dist/V2/TextField/index.d.ts +2 -3
- package/dist/V2/ToggleButton/index.d.ts +3 -3
- package/dist/V2/ToggleButtonGroup/index.d.ts +3 -3
- package/dist/V2/Tooltip/index.d.ts +3 -3
- package/dist/V2/Typography/index.d.ts +3 -3
- package/dist/V2/index.d.ts +3 -4
- package/dist/V2/styles/ThemeProvider.d.ts +0 -1
- package/dist/V2/styles/theme.d.ts +1 -0
- package/dist/rc.cjs.development.js +515 -323
- 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 +499 -307
- package/dist/rc.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/V2/Icon/custom/BrowserOutlined.d.ts +0 -3
- package/dist/V2/Icon/custom/Info.d.ts +0 -3
- package/dist/V2/Icon/custom/Question.d.ts +0 -3
- package/dist/V2/Icon/custom/QuestionOutlined.d.ts +0 -3
- package/dist/V2/Icon/custom/SettingsOutlined.d.ts +0 -3
- package/dist/V2/Icon/custom/index.d.ts +0 -5
package/dist/rc.esm.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import MUICssBaseline from '@material-ui/core/CssBaseline';
|
|
2
2
|
export { default as CssBaseline } from '@material-ui/core/CssBaseline';
|
|
3
|
-
import
|
|
4
|
-
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
import { createTheme, alpha, useTheme as useTheme$1, StylesProvider, ThemeProvider as ThemeProvider$2, makeStyles as makeStyles$1, createStyles, styled, withStyles } from '@material-ui/core/styles';
|
|
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';
|
|
6
4
|
import { rgba, lighten } from 'polished';
|
|
5
|
+
import React, { forwardRef, useRef, useEffect, memo, useContext, useMemo, useState, useCallback, Children, isValidElement, cloneElement, useImperativeHandle, createRef, createContext } from 'react';
|
|
7
6
|
import { ThemeProvider as ThemeProvider$1 } from 'emotion-theming';
|
|
8
7
|
import MUIBackdrop from '@material-ui/core/Backdrop';
|
|
9
8
|
import Box$1 from '@material-ui/core/Box';
|
|
@@ -15,37 +14,55 @@ import MUIDialogActions from '@material-ui/core/DialogActions';
|
|
|
15
14
|
import MUIDialogContent from '@material-ui/core/DialogContent';
|
|
16
15
|
import MUIDialogContentText from '@material-ui/core/DialogContentText';
|
|
17
16
|
import MUIDialogTitle from '@material-ui/core/DialogTitle';
|
|
18
|
-
import Fade from '@material-ui/core/Fade';
|
|
17
|
+
import Fade$1 from '@material-ui/core/Fade';
|
|
19
18
|
import MUIFormControl from '@material-ui/core/FormControl';
|
|
20
19
|
import MUIFormControlLabel from '@material-ui/core/FormControlLabel';
|
|
21
20
|
import MUIFormGroup from '@material-ui/core/FormGroup';
|
|
22
21
|
import MUIFormHelperText from '@material-ui/core/FormHelperText';
|
|
23
22
|
import MUIFormLabel from '@material-ui/core/FormLabel';
|
|
24
|
-
import
|
|
25
|
-
import MUILink from '@material-ui/core/Link';
|
|
26
|
-
import MuiMenuItem$1 from '@material-ui/core/MenuItem';
|
|
27
|
-
import MUIOutlinedInput from '@material-ui/core/OutlinedInput';
|
|
23
|
+
import { css, cx, keyframes, injectGlobal } from 'emotion';
|
|
28
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';
|
|
29
27
|
import Cancel from '@material-ui/icons/Cancel';
|
|
30
28
|
import CheckCircle$2 from '@material-ui/icons/CheckCircle';
|
|
31
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';
|
|
32
37
|
import HelpOutline from '@material-ui/icons/HelpOutline';
|
|
38
|
+
import Info from '@material-ui/icons/Info';
|
|
33
39
|
import KeyboardArrowDown from '@material-ui/icons/KeyboardArrowDown';
|
|
40
|
+
import Link$3 from '@material-ui/icons/Link';
|
|
41
|
+
import NavigateNext from '@material-ui/icons/NavigateNext';
|
|
42
|
+
import OpenInNew from '@material-ui/icons/OpenInNew';
|
|
34
43
|
import ReportProblemRounded from '@material-ui/icons/ReportProblemRounded';
|
|
35
44
|
import Schedule from '@material-ui/icons/Schedule';
|
|
36
|
-
import
|
|
45
|
+
import Settings from '@material-ui/icons/Settings';
|
|
46
|
+
import SettingsOutlined from '@material-ui/icons/SettingsOutlined';
|
|
47
|
+
import WatchLater from '@material-ui/icons/WatchLater';
|
|
48
|
+
import WebAsset from '@material-ui/icons/WebAsset';
|
|
49
|
+
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
50
|
+
import MuiListSubheader$1 from '@material-ui/core/ListSubheader';
|
|
51
|
+
import MuiMenuItem$1 from '@material-ui/core/MenuItem';
|
|
52
|
+
import Typography$2 from '@material-ui/core/Typography';
|
|
53
|
+
import MUIIconButton from '@material-ui/core/IconButton';
|
|
54
|
+
import MUILink from '@material-ui/core/Link';
|
|
55
|
+
import MUIOutlinedInput from '@material-ui/core/OutlinedInput';
|
|
37
56
|
import MUISwitch from '@material-ui/core/Switch';
|
|
38
57
|
import MUITextField from '@material-ui/core/TextField';
|
|
39
58
|
import MUIToggleButton from '@material-ui/lab/ToggleButton';
|
|
40
59
|
import MUIToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup';
|
|
41
60
|
import MUITooltip from '@material-ui/core/Tooltip';
|
|
42
|
-
import Typography$1 from '@material-ui/core/Typography';
|
|
43
61
|
import MuiAvatar from '@material-ui/core/Avatar';
|
|
44
62
|
import Chip$1 from '@material-ui/core/Chip';
|
|
45
63
|
import { alpha as alpha$1 } from '@material-ui/core/styles/colorManipulator';
|
|
46
64
|
import MuiPaper from '@material-ui/core/Paper';
|
|
47
65
|
import MuiCard from '@material-ui/core/Card';
|
|
48
|
-
import { cx, css, keyframes, injectGlobal } from 'emotion';
|
|
49
66
|
import MuiCardActionArea from '@material-ui/core/CardActionArea';
|
|
50
67
|
import MuiCardActions from '@material-ui/core/CardActions';
|
|
51
68
|
import MuiCardContent from '@material-ui/core/CardContent';
|
|
@@ -54,7 +71,6 @@ import { DatePicker as DatePicker$1, KeyboardDatePicker as KeyboardDatePicker$1,
|
|
|
54
71
|
import styled$1 from '@emotion/styled';
|
|
55
72
|
import { ThemeContext } from '@emotion/core';
|
|
56
73
|
export { ThemeContext } from '@emotion/core';
|
|
57
|
-
import MuiListSubheader from '@material-ui/core/ListSubheader';
|
|
58
74
|
import Popper$1 from '@material-ui/core/Popper';
|
|
59
75
|
import ClickAwayListener from '@material-ui/core/ClickAwayListener';
|
|
60
76
|
import MuiMenuList from '@material-ui/core/MenuList';
|
|
@@ -74,72 +90,6 @@ import Slide from '@material-ui/core/Slide';
|
|
|
74
90
|
import MuiDivider from '@material-ui/core/Divider';
|
|
75
91
|
import DateFnsUtils from '@date-io/date-fns';
|
|
76
92
|
|
|
77
|
-
var BrowserOutlined =
|
|
78
|
-
/*#__PURE__*/
|
|
79
|
-
forwardRef(function (props, ref) {
|
|
80
|
-
return React.createElement(SvgIcon, Object.assign({}, props, {
|
|
81
|
-
ref: ref,
|
|
82
|
-
viewBox: "0 0 24 24"
|
|
83
|
-
}), React.createElement("path", {
|
|
84
|
-
d: "M21.75 1.5H2.25C1.00781 1.5 0 2.50781 0 3.75V20.25C0 21.4922 1.00781 22.5 2.25 22.5H21.75C22.9922 22.5 24 21.4922 24 20.25V3.75C24 2.50781 22.9922 1.5 21.75 1.5ZM1.5 3.75C1.5 3.3375 1.8375 3 2.25 3H4.5V6H1.5V3.75ZM22.5 20.25C22.5 20.6625 22.1625 21 21.75 21H2.25C1.8375 21 1.5 20.6625 1.5 20.25V7.5H22.5V20.25ZM22.5 6H6V3H21.75C22.1625 3 22.5 3.3375 22.5 3.75V6Z"
|
|
85
|
-
}));
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
var Info =
|
|
89
|
-
/*#__PURE__*/
|
|
90
|
-
forwardRef(function (props, ref) {
|
|
91
|
-
return React.createElement(SvgIcon, Object.assign({}, props, {
|
|
92
|
-
ref: ref,
|
|
93
|
-
viewBox: "0 0 512 512"
|
|
94
|
-
}), React.createElement("path", {
|
|
95
|
-
d: "M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
96
|
-
}));
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
var Question =
|
|
100
|
-
/*#__PURE__*/
|
|
101
|
-
forwardRef(function (props, ref) {
|
|
102
|
-
return React.createElement(SvgIcon, Object.assign({}, props, {
|
|
103
|
-
ref: ref,
|
|
104
|
-
viewBox: "0 0 512 512"
|
|
105
|
-
}), React.createElement("path", {
|
|
106
|
-
d: "M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
107
|
-
}));
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
var QuestionOutlined =
|
|
111
|
-
/*#__PURE__*/
|
|
112
|
-
forwardRef(function (props, ref) {
|
|
113
|
-
return React.createElement(SvgIcon, Object.assign({}, props, {
|
|
114
|
-
ref: ref,
|
|
115
|
-
viewBox: "0 0 16 16"
|
|
116
|
-
}), React.createElement("path", {
|
|
117
|
-
d: "M0 8C0 3.58332 3.58203 0 8 0C12.418 0 16 3.58332 16 8C16 12.4193 12.418 16 8 16C3.58203 16 0 12.4193 0 8ZM1.54839 8C1.54839 11.5667 4.43445 14.4516 8 14.4516C11.5667 14.4516 14.4516 11.5655 14.4516 8C14.4516 4.43455 11.5642 1.54839 8 1.54839C4.43458 1.54839 1.54839 4.43565 1.54839 8ZM11.4595 6.21935C11.4595 7.56456 10.5559 8.08603 9.87261 8.48033C9.45725 8.72003 9.12332 8.91273 9.12332 9.21494V9.41935C9.12332 9.63313 8.95 9.80645 8.73623 9.80645H7.26374C7.04997 9.80645 6.87665 9.63313 6.87665 9.41935V9.14003C6.87665 8.01457 7.70948 7.5485 8.36365 7.18241L8.41145 7.15565C8.97794 6.83806 9.32513 6.62206 9.32513 6.20148C9.32513 5.64516 8.61548 5.2759 8.04177 5.2759C7.29374 5.2759 6.94842 5.63 6.463 6.24265C6.33213 6.40781 6.09332 6.43848 5.92539 6.31116L5.02784 5.63058C4.8631 5.50568 4.82619 5.27361 4.94255 5.10274C5.70471 3.98358 6.67548 3.35484 8.1869 3.35484C9.76984 3.35484 11.4595 4.59045 11.4595 6.21935ZM8 12.9677C8.74706 12.9677 9.35484 12.36 9.35484 11.6129C9.35484 10.8658 8.74706 10.2581 8 10.2581C7.25294 10.2581 6.64516 10.8658 6.64516 11.6129C6.64516 12.36 7.25294 12.9677 8 12.9677Z"
|
|
118
|
-
}));
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
var SettingsOutlined =
|
|
122
|
-
/*#__PURE__*/
|
|
123
|
-
forwardRef(function (props, ref) {
|
|
124
|
-
return React.createElement(SvgIcon, Object.assign({}, props, {
|
|
125
|
-
ref: ref,
|
|
126
|
-
viewBox: "0 0 512 512"
|
|
127
|
-
}), React.createElement("path", {
|
|
128
|
-
d: "M482.696 299.276l-32.61-18.827a195.168 195.168 0 0 0 0-48.899l32.61-18.827c9.576-5.528 14.195-16.902 11.046-27.501-11.214-37.749-31.175-71.728-57.535-99.595-7.634-8.07-19.817-9.836-29.437-4.282l-32.562 18.798a194.125 194.125 0 0 0-42.339-24.48V38.049c0-11.13-7.652-20.804-18.484-23.367-37.644-8.909-77.118-8.91-114.77 0-10.831 2.563-18.484 12.236-18.484 23.367v37.614a194.101 194.101 0 0 0-42.339 24.48L105.23 81.345c-9.621-5.554-21.804-3.788-29.437 4.282-26.36 27.867-46.321 61.847-57.535 99.595-3.149 10.599 1.47 21.972 11.046 27.501l32.61 18.827a195.168 195.168 0 0 0 0 48.899l-32.61 18.827c-9.576 5.528-14.195 16.902-11.046 27.501 11.214 37.748 31.175 71.728 57.535 99.595 7.634 8.07 19.817 9.836 29.437 4.283l32.562-18.798a194.08 194.08 0 0 0 42.339 24.479v37.614c0 11.13 7.652 20.804 18.484 23.367 37.645 8.909 77.118 8.91 114.77 0 10.831-2.563 18.484-12.236 18.484-23.367v-37.614a194.138 194.138 0 0 0 42.339-24.479l32.562 18.798c9.62 5.554 21.803 3.788 29.437-4.283 26.36-27.867 46.321-61.847 57.535-99.595 3.149-10.599-1.47-21.972-11.046-27.501zm-65.479 100.461l-46.309-26.74c-26.988 23.071-36.559 28.876-71.039 41.059v53.479a217.145 217.145 0 0 1-87.738 0v-53.479c-33.621-11.879-43.355-17.395-71.039-41.059l-46.309 26.74c-19.71-22.09-34.689-47.989-43.929-75.958l46.329-26.74c-6.535-35.417-6.538-46.644 0-82.079l-46.329-26.74c9.24-27.969 24.22-53.869 43.929-75.969l46.309 26.76c27.377-23.434 37.063-29.065 71.039-41.069V44.464a216.79 216.79 0 0 1 87.738 0v53.479c33.978 12.005 43.665 17.637 71.039 41.069l46.309-26.76c19.709 22.099 34.689 47.999 43.929 75.969l-46.329 26.74c6.536 35.426 6.538 46.644 0 82.079l46.329 26.74c-9.24 27.968-24.219 53.868-43.929 75.957zM256 160c-52.935 0-96 43.065-96 96s43.065 96 96 96 96-43.065 96-96-43.065-96-96-96zm0 160c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"
|
|
129
|
-
}));
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
var index = {
|
|
135
|
-
__proto__: null,
|
|
136
|
-
BrowserOutlined: BrowserOutlined,
|
|
137
|
-
Info: Info,
|
|
138
|
-
Question: Question,
|
|
139
|
-
QuestionOutlined: QuestionOutlined,
|
|
140
|
-
SettingsOutlined: SettingsOutlined
|
|
141
|
-
};
|
|
142
|
-
|
|
143
93
|
var core =
|
|
144
94
|
/*#__PURE__*/
|
|
145
95
|
createTheme({
|
|
@@ -475,7 +425,7 @@ var MuiLink = {
|
|
|
475
425
|
root: {
|
|
476
426
|
'&:hover': {
|
|
477
427
|
color: function color(props) {
|
|
478
|
-
return props.color && (props.color === 'primary' || props.color === 'secondary') ? core.palette[props.color].dark :
|
|
428
|
+
return props.color && (props.color === 'primary' || props.color === 'secondary' || props.color === 'error') ? core.palette[props.color].dark : 'inherit';
|
|
479
429
|
}
|
|
480
430
|
}
|
|
481
431
|
}
|
|
@@ -492,7 +442,9 @@ var MuiMenuItem = {
|
|
|
492
442
|
core.spacing(1) + "px",
|
|
493
443
|
'&.Mui-selected': {
|
|
494
444
|
color: core.palette.primary.main,
|
|
495
|
-
backgroundColor:
|
|
445
|
+
backgroundColor:
|
|
446
|
+
/*#__PURE__*/
|
|
447
|
+
lighten(0.45, core.palette.primary.main),
|
|
496
448
|
'&:hover': {
|
|
497
449
|
backgroundColor:
|
|
498
450
|
/*#__PURE__*/
|
|
@@ -548,6 +500,16 @@ var MuiOutlinedInput = {
|
|
|
548
500
|
}
|
|
549
501
|
};
|
|
550
502
|
|
|
503
|
+
var useMenuStyles =
|
|
504
|
+
/*#__PURE__*/
|
|
505
|
+
makeStyles$1(function (theme) {
|
|
506
|
+
return {
|
|
507
|
+
root: {
|
|
508
|
+
boxShadow: 'none',
|
|
509
|
+
border: "1px solid " + theme.palette.primary.main
|
|
510
|
+
}
|
|
511
|
+
};
|
|
512
|
+
});
|
|
551
513
|
var MuiSelect = {
|
|
552
514
|
root:
|
|
553
515
|
/*#__PURE__*/
|
|
@@ -728,6 +690,30 @@ var MuiTypography = {
|
|
|
728
690
|
}, _h6)
|
|
729
691
|
};
|
|
730
692
|
|
|
693
|
+
var MuiList = {
|
|
694
|
+
root: {
|
|
695
|
+
backgroundColor: core.palette.common.white
|
|
696
|
+
},
|
|
697
|
+
padding: {
|
|
698
|
+
paddingLeft:
|
|
699
|
+
/*#__PURE__*/
|
|
700
|
+
core.spacing(1),
|
|
701
|
+
paddingRight:
|
|
702
|
+
/*#__PURE__*/
|
|
703
|
+
core.spacing(1)
|
|
704
|
+
}
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
var MuiListSubheader = {
|
|
708
|
+
root: {
|
|
709
|
+
lineHeight: 1.6,
|
|
710
|
+
color: core.palette.grey[500]
|
|
711
|
+
}
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
var useMUITheme = function useMUITheme() {
|
|
715
|
+
return useTheme$1();
|
|
716
|
+
};
|
|
731
717
|
var theme =
|
|
732
718
|
/*#__PURE__*/
|
|
733
719
|
createTheme({
|
|
@@ -749,7 +735,9 @@ createTheme({
|
|
|
749
735
|
MuiToggleButton: MuiToggleButton,
|
|
750
736
|
MuiToggleButtonGroup: MuiToggleButtonGroup,
|
|
751
737
|
MuiTooltip: MuiTooltip,
|
|
752
|
-
MuiTypography: MuiTypography
|
|
738
|
+
MuiTypography: MuiTypography,
|
|
739
|
+
MuiList: MuiList,
|
|
740
|
+
MuiListSubheader: MuiListSubheader
|
|
753
741
|
}
|
|
754
742
|
}, core);
|
|
755
743
|
|
|
@@ -768,23 +756,25 @@ var PureThemeProvider = function PureThemeProvider(props) {
|
|
|
768
756
|
theme: theme
|
|
769
757
|
}, props.children);
|
|
770
758
|
};
|
|
771
|
-
var useMUITheme = function useMUITheme() {
|
|
772
|
-
return useTheme$1();
|
|
773
|
-
};
|
|
774
759
|
|
|
775
|
-
var
|
|
776
|
-
|
|
760
|
+
var Backdrop =
|
|
761
|
+
/*#__PURE__*/
|
|
762
|
+
forwardRef(function (props, ref) {
|
|
777
763
|
return React.createElement(MUIBackdrop, Object.assign({}, props, {
|
|
778
764
|
ref: ref
|
|
779
765
|
}), props.children);
|
|
780
766
|
});
|
|
767
|
+
Backdrop.displayName = 'Backdrop';
|
|
781
768
|
|
|
782
|
-
function Box(props) {
|
|
769
|
+
var Box = function Box(props) {
|
|
783
770
|
return React.createElement(Box$1, Object.assign({}, props), props.children);
|
|
784
|
-
}
|
|
771
|
+
};
|
|
785
772
|
|
|
786
|
-
|
|
787
|
-
|
|
773
|
+
Box.displayName = 'Box';
|
|
774
|
+
|
|
775
|
+
var Button =
|
|
776
|
+
/*#__PURE__*/
|
|
777
|
+
forwardRef(function (props, ref) {
|
|
788
778
|
var _props$size = props.size,
|
|
789
779
|
size = _props$size === void 0 ? 'small' : _props$size,
|
|
790
780
|
_props$disableElevati = props.disableElevation,
|
|
@@ -797,176 +787,181 @@ forwardRef(function Button(props, ref) {
|
|
|
797
787
|
size: size
|
|
798
788
|
}));
|
|
799
789
|
});
|
|
790
|
+
Button.displayName = 'Button';
|
|
800
791
|
|
|
801
|
-
var
|
|
802
|
-
|
|
792
|
+
var ButtonGroup =
|
|
793
|
+
/*#__PURE__*/
|
|
794
|
+
forwardRef(function (props, ref) {
|
|
803
795
|
return React.createElement(MUIButtonGroup, Object.assign({}, props, {
|
|
804
796
|
ref: ref
|
|
805
797
|
}), props.children);
|
|
806
798
|
});
|
|
799
|
+
ButtonGroup.displayName = 'ButtonGroup';
|
|
807
800
|
|
|
808
|
-
var CircularProgress =
|
|
809
|
-
|
|
801
|
+
var CircularProgress =
|
|
802
|
+
/*#__PURE__*/
|
|
803
|
+
forwardRef(function (props, ref) {
|
|
810
804
|
return React.createElement(MUICircularProgress, Object.assign({}, props, {
|
|
811
805
|
ref: ref
|
|
812
806
|
}));
|
|
813
807
|
});
|
|
808
|
+
CircularProgress.displayName = 'CircularProgress';
|
|
814
809
|
|
|
815
|
-
function CssBaseline(props) {
|
|
810
|
+
var CssBaseline = function CssBaseline(props) {
|
|
816
811
|
return React.createElement(MUICssBaseline, Object.assign({}, props), props.children);
|
|
817
|
-
}
|
|
812
|
+
};
|
|
818
813
|
|
|
819
|
-
var
|
|
820
|
-
|
|
814
|
+
var Dialog =
|
|
815
|
+
/*#__PURE__*/
|
|
816
|
+
forwardRef(function (props, ref) {
|
|
821
817
|
var rest = _objectWithoutPropertiesLoose(props, ["disableBackdropClick", "onBackdropClick", "onEnter", "onEntered", "onEntering", "onEscapeKeyDown", "onExit", "onExited", "onExiting", "onRendered"]);
|
|
822
818
|
|
|
823
819
|
return React.createElement(MUIDialog, Object.assign({}, rest, {
|
|
824
820
|
ref: ref
|
|
825
821
|
}), props.children);
|
|
826
822
|
});
|
|
823
|
+
Dialog.displayName = 'Dialog';
|
|
827
824
|
|
|
828
|
-
var
|
|
829
|
-
|
|
825
|
+
var DialogActions =
|
|
826
|
+
/*#__PURE__*/
|
|
827
|
+
forwardRef(function (props, ref) {
|
|
830
828
|
return React.createElement(MUIDialogActions, Object.assign({}, props, {
|
|
831
829
|
ref: ref
|
|
832
830
|
}), props.children);
|
|
833
831
|
});
|
|
832
|
+
DialogActions.displayName = 'DialogActions';
|
|
834
833
|
|
|
835
|
-
var
|
|
836
|
-
|
|
834
|
+
var DialogContent =
|
|
835
|
+
/*#__PURE__*/
|
|
836
|
+
forwardRef(function (props, ref) {
|
|
837
837
|
return React.createElement(MUIDialogContent, Object.assign({}, props, {
|
|
838
838
|
ref: ref
|
|
839
839
|
}), props.children);
|
|
840
840
|
});
|
|
841
|
+
DialogContent.displayName = 'DialogContent';
|
|
841
842
|
|
|
842
|
-
var
|
|
843
|
-
|
|
843
|
+
var DialogContentText =
|
|
844
|
+
/*#__PURE__*/
|
|
845
|
+
forwardRef(function (props, ref) {
|
|
844
846
|
return React.createElement(MUIDialogContentText, Object.assign({}, props, {
|
|
845
847
|
ref: ref
|
|
846
848
|
}), props.children);
|
|
847
849
|
});
|
|
850
|
+
DialogContentText.displayName = 'DialogContentText';
|
|
848
851
|
|
|
849
|
-
var
|
|
850
|
-
|
|
852
|
+
var DialogTitle =
|
|
853
|
+
/*#__PURE__*/
|
|
854
|
+
forwardRef(function (props, ref) {
|
|
851
855
|
return React.createElement(MUIDialogTitle, Object.assign({}, props, {
|
|
852
856
|
ref: ref
|
|
853
857
|
}), props.children);
|
|
854
858
|
});
|
|
859
|
+
DialogTitle.displayName = 'DialogTitle';
|
|
855
860
|
|
|
856
|
-
var
|
|
857
|
-
|
|
858
|
-
|
|
861
|
+
var Fade =
|
|
862
|
+
/*#__PURE__*/
|
|
863
|
+
forwardRef(function (props, ref) {
|
|
864
|
+
return React.createElement(Fade$1, Object.assign({}, props, {
|
|
859
865
|
ref: ref
|
|
860
866
|
}));
|
|
861
867
|
});
|
|
868
|
+
Fade.displayName = 'Fade';
|
|
862
869
|
|
|
863
|
-
var
|
|
864
|
-
|
|
870
|
+
var FormControl =
|
|
871
|
+
/*#__PURE__*/
|
|
872
|
+
forwardRef(function (props, ref) {
|
|
865
873
|
return React.createElement(MUIFormControl, Object.assign({}, props, {
|
|
866
874
|
ref: ref
|
|
867
875
|
}), props.children);
|
|
868
876
|
});
|
|
877
|
+
FormControl.displayName = 'FormControl';
|
|
869
878
|
|
|
870
|
-
var
|
|
871
|
-
|
|
879
|
+
var FormControlLabel =
|
|
880
|
+
/*#__PURE__*/
|
|
881
|
+
forwardRef(function (props, ref) {
|
|
872
882
|
return React.createElement(MUIFormControlLabel, Object.assign({}, props, {
|
|
873
883
|
ref: ref
|
|
874
884
|
}));
|
|
875
885
|
});
|
|
886
|
+
FormControlLabel.displayName = 'FormControlLabel';
|
|
876
887
|
|
|
877
|
-
var
|
|
878
|
-
|
|
888
|
+
var FormGroup =
|
|
889
|
+
/*#__PURE__*/
|
|
890
|
+
forwardRef(function (props, ref) {
|
|
879
891
|
return React.createElement(MUIFormGroup, Object.assign({}, props, {
|
|
880
892
|
ref: ref
|
|
881
893
|
}));
|
|
882
894
|
});
|
|
895
|
+
FormGroup.displayName = 'FormGroup';
|
|
883
896
|
|
|
884
|
-
var
|
|
885
|
-
|
|
897
|
+
var FormHelperText =
|
|
898
|
+
/*#__PURE__*/
|
|
899
|
+
forwardRef(function (props, ref) {
|
|
886
900
|
return React.createElement(MUIFormHelperText, Object.assign({}, props, {
|
|
887
901
|
ref: ref
|
|
888
902
|
}));
|
|
889
903
|
});
|
|
904
|
+
FormHelperText.displayName = 'FormHelperText';
|
|
890
905
|
|
|
891
|
-
var
|
|
892
|
-
|
|
906
|
+
var FormLabel =
|
|
907
|
+
/*#__PURE__*/
|
|
908
|
+
forwardRef(function (props, ref) {
|
|
893
909
|
var rest = _extends({}, props);
|
|
894
910
|
|
|
895
911
|
return React.createElement(MUIFormLabel, Object.assign({}, rest, {
|
|
896
912
|
ref: ref
|
|
897
913
|
}), props.children);
|
|
898
914
|
});
|
|
915
|
+
FormLabel.displayName = 'FormLabel';
|
|
899
916
|
|
|
900
|
-
var
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
rest = _objectWithoutPropertiesLoose(props, ["size"]);
|
|
905
|
-
|
|
906
|
-
return React.createElement(MUIIconButton, Object.assign({}, rest, {
|
|
907
|
-
ref: ref,
|
|
908
|
-
size: size
|
|
909
|
-
}));
|
|
910
|
-
});
|
|
911
|
-
|
|
912
|
-
var index$f = /*#__PURE__*/
|
|
913
|
-
forwardRef(function Link(props, ref) {
|
|
914
|
-
var _props$underline = props.underline,
|
|
915
|
-
underline = _props$underline === void 0 ? 'none' : _props$underline,
|
|
916
|
-
rest = _objectWithoutPropertiesLoose(props, ["underline"]);
|
|
917
|
-
|
|
918
|
-
return React.createElement(MUILink, Object.assign({}, rest, {
|
|
917
|
+
var FilterAlt =
|
|
918
|
+
/*#__PURE__*/
|
|
919
|
+
forwardRef(function (props, ref) {
|
|
920
|
+
return React.createElement(SvgIcon, Object.assign({}, props, {
|
|
919
921
|
ref: ref,
|
|
920
|
-
|
|
921
|
-
})
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
return React.createElement(Button, Object.assign({}, rest, {
|
|
931
|
-
startIcon: loading && React.createElement(CircularProgress, {
|
|
932
|
-
size: "1rem",
|
|
933
|
-
color: "inherit"
|
|
934
|
-
}),
|
|
935
|
-
ref: ref
|
|
936
|
-
}));
|
|
937
|
-
});
|
|
938
|
-
|
|
939
|
-
var index$h = /*#__PURE__*/
|
|
940
|
-
forwardRef(function MenuItem(props, ref) {
|
|
941
|
-
var rest = _objectWithoutPropertiesLoose(props, ["button"]);
|
|
942
|
-
|
|
943
|
-
return React.createElement(MuiMenuItem$1, Object.assign({}, rest, {
|
|
944
|
-
ref: ref
|
|
945
|
-
}), props.children);
|
|
946
|
-
});
|
|
947
|
-
|
|
948
|
-
var index$i = /*#__PURE__*/
|
|
949
|
-
forwardRef(function OutlinedInput(props, ref) {
|
|
950
|
-
return React.createElement(MUIOutlinedInput, Object.assign({}, props, {
|
|
951
|
-
ref: ref
|
|
952
|
-
}));
|
|
922
|
+
viewBox: "0 0 24 24"
|
|
923
|
+
}), React.createElement("g", null, React.createElement("path", {
|
|
924
|
+
d: "M0,0h24 M24,24H0",
|
|
925
|
+
fill: "none"
|
|
926
|
+
}), React.createElement("path", {
|
|
927
|
+
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"
|
|
928
|
+
}), React.createElement("path", {
|
|
929
|
+
d: "M0,0h24v24H0V0z",
|
|
930
|
+
fill: "none"
|
|
931
|
+
})));
|
|
953
932
|
});
|
|
933
|
+
FilterAlt.displayName = 'FilterAlt';
|
|
954
934
|
|
|
955
935
|
var Icons = {
|
|
956
|
-
|
|
936
|
+
AddCircleOutline: AddCircleOutline,
|
|
937
|
+
ArrowDropDown: ArrowDropDown,
|
|
957
938
|
Cancel: Cancel,
|
|
958
939
|
CheckCircle: CheckCircle$2,
|
|
959
940
|
Close: Close,
|
|
941
|
+
Delete: Delete,
|
|
942
|
+
Edit: Edit,
|
|
943
|
+
FilterAlt: FilterAlt,
|
|
944
|
+
FormatBold: FormatBold,
|
|
945
|
+
FormatColorFill: FormatColorFill,
|
|
946
|
+
FormatItalic: FormatItalic,
|
|
947
|
+
FormatUnderlined: FormatUnderlined,
|
|
948
|
+
Help: Help,
|
|
960
949
|
HelpOutline: HelpOutline,
|
|
961
|
-
Info: Info
|
|
950
|
+
Info: Info,
|
|
962
951
|
KeyboardArrowDown: KeyboardArrowDown,
|
|
963
|
-
|
|
952
|
+
Link: Link$3,
|
|
953
|
+
NavigateNext: NavigateNext,
|
|
954
|
+
OpenInNew: OpenInNew,
|
|
964
955
|
ReportProblemRounded: ReportProblemRounded,
|
|
965
956
|
Schedule: Schedule,
|
|
966
|
-
|
|
957
|
+
Settings: Settings,
|
|
958
|
+
SettingsOutlined: SettingsOutlined,
|
|
959
|
+
WatchLater: WatchLater,
|
|
960
|
+
WebAsset: WebAsset
|
|
967
961
|
};
|
|
968
|
-
var
|
|
969
|
-
|
|
962
|
+
var Icon =
|
|
963
|
+
/*#__PURE__*/
|
|
964
|
+
forwardRef(function (props, ref) {
|
|
970
965
|
var name = props.name,
|
|
971
966
|
rest = _objectWithoutPropertiesLoose(props, ["name"]);
|
|
972
967
|
|
|
@@ -975,19 +970,11 @@ forwardRef(function Icon(props, ref) {
|
|
|
975
970
|
ref: ref
|
|
976
971
|
}));
|
|
977
972
|
});
|
|
973
|
+
Icon.displayName = 'Icon';
|
|
978
974
|
|
|
979
|
-
var
|
|
975
|
+
var Select =
|
|
980
976
|
/*#__PURE__*/
|
|
981
|
-
|
|
982
|
-
return {
|
|
983
|
-
root: {
|
|
984
|
-
boxShadow: 'none',
|
|
985
|
-
border: "1px solid " + theme.palette.primary.main
|
|
986
|
-
}
|
|
987
|
-
};
|
|
988
|
-
});
|
|
989
|
-
var index$k = /*#__PURE__*/
|
|
990
|
-
forwardRef(function Select(props, ref) {
|
|
977
|
+
forwardRef(function (props, ref) {
|
|
991
978
|
var theme = useMUITheme();
|
|
992
979
|
|
|
993
980
|
var _useMenuStyles = useMenuStyles(),
|
|
@@ -1012,9 +999,217 @@ forwardRef(function Select(props, ref) {
|
|
|
1012
999
|
}
|
|
1013
1000
|
}), props.children);
|
|
1014
1001
|
});
|
|
1002
|
+
Select.displayName = 'Select';
|
|
1003
|
+
|
|
1004
|
+
var ListSubheader =
|
|
1005
|
+
/*#__PURE__*/
|
|
1006
|
+
forwardRef(function (props, ref) {
|
|
1007
|
+
var _props$disableGutters = props.disableGutters,
|
|
1008
|
+
disableGutters = _props$disableGutters === void 0 ? true : _props$disableGutters,
|
|
1009
|
+
rest = _objectWithoutPropertiesLoose(props, ["disableGutters"]);
|
|
1010
|
+
|
|
1011
|
+
return React.createElement(MuiListSubheader$1, Object.assign({}, rest, {
|
|
1012
|
+
ref: ref,
|
|
1013
|
+
disableGutters: disableGutters
|
|
1014
|
+
}), props.children);
|
|
1015
|
+
});
|
|
1016
|
+
ListSubheader.displayName = 'ListSubheader';
|
|
1015
1017
|
|
|
1016
|
-
var
|
|
1017
|
-
|
|
1018
|
+
var MenuItem =
|
|
1019
|
+
/*#__PURE__*/
|
|
1020
|
+
forwardRef(function (props, ref) {
|
|
1021
|
+
var rest = _objectWithoutPropertiesLoose(props, ["button"]);
|
|
1022
|
+
|
|
1023
|
+
return React.createElement(MuiMenuItem$1, Object.assign({}, rest, {
|
|
1024
|
+
ref: ref
|
|
1025
|
+
}), props.children);
|
|
1026
|
+
});
|
|
1027
|
+
MenuItem.displayName = 'MenuItem';
|
|
1028
|
+
|
|
1029
|
+
var Typography =
|
|
1030
|
+
/*#__PURE__*/
|
|
1031
|
+
forwardRef(function (props, ref) {
|
|
1032
|
+
return React.createElement(Typography$2, Object.assign({}, props, {
|
|
1033
|
+
ref: ref
|
|
1034
|
+
}));
|
|
1035
|
+
});
|
|
1036
|
+
Typography.displayName = 'Typography';
|
|
1037
|
+
|
|
1038
|
+
var useSelectStyle =
|
|
1039
|
+
/*#__PURE__*/
|
|
1040
|
+
makeStyles$1(function () {
|
|
1041
|
+
return {
|
|
1042
|
+
select: {
|
|
1043
|
+
padding: '5px 8px',
|
|
1044
|
+
display: 'inline-flex'
|
|
1045
|
+
}
|
|
1046
|
+
};
|
|
1047
|
+
});
|
|
1048
|
+
var useCustomOptionStyle =
|
|
1049
|
+
/*#__PURE__*/
|
|
1050
|
+
makeStyles$1(function (theme) {
|
|
1051
|
+
return {
|
|
1052
|
+
container: {
|
|
1053
|
+
backgroundColor: theme.palette.common.white,
|
|
1054
|
+
'&:hover': {
|
|
1055
|
+
backgroundColor: lighten(0.3, theme.palette.primary.main),
|
|
1056
|
+
'& > div': {
|
|
1057
|
+
backgroundColor: theme.palette.primary.main,
|
|
1058
|
+
color: theme.palette.common.white
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
1061
|
+
'&.Mui-selected': {
|
|
1062
|
+
backgroundColor: lighten(0.45, theme.palette.primary.main),
|
|
1063
|
+
'& > div': {
|
|
1064
|
+
backgroundColor: theme.palette.primary.main,
|
|
1065
|
+
color: theme.palette.common.white
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
root: {
|
|
1070
|
+
padding: theme.spacing(0.5) + "px " + theme.spacing(1) + "px",
|
|
1071
|
+
color: theme.palette.grey[600],
|
|
1072
|
+
backgroundColor: theme.palette.grey[100],
|
|
1073
|
+
fontSize: '0.875rem',
|
|
1074
|
+
fontWeight: 500,
|
|
1075
|
+
lineHeight: 1.6,
|
|
1076
|
+
borderRadius: theme.spacing(0.5),
|
|
1077
|
+
overflow: 'hidden',
|
|
1078
|
+
whiteSpace: 'nowrap',
|
|
1079
|
+
textOverflow: 'ellipsis',
|
|
1080
|
+
maxWidth: 'calc(100% - 16px)',
|
|
1081
|
+
transition: '0.2s',
|
|
1082
|
+
transitionProperty: 'color, background-color'
|
|
1083
|
+
},
|
|
1084
|
+
"var": {
|
|
1085
|
+
'&::before': {
|
|
1086
|
+
content: '"# "'
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
};
|
|
1090
|
+
});
|
|
1091
|
+
|
|
1092
|
+
function _templateObject() {
|
|
1093
|
+
var data = _taggedTemplateLiteralLoose(["\n color: ", ";\n "]);
|
|
1094
|
+
|
|
1095
|
+
_templateObject = function _templateObject() {
|
|
1096
|
+
return data;
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
return data;
|
|
1100
|
+
}
|
|
1101
|
+
var GroupSelect =
|
|
1102
|
+
/*#__PURE__*/
|
|
1103
|
+
forwardRef(function (props, ref) {
|
|
1104
|
+
var theme = useMUITheme();
|
|
1105
|
+
var customOptionStyle = useCustomOptionStyle();
|
|
1106
|
+
var selectStyle = useSelectStyle();
|
|
1107
|
+
|
|
1108
|
+
var groups = props.groups,
|
|
1109
|
+
value = props.value,
|
|
1110
|
+
onChange = props.onChange,
|
|
1111
|
+
_props$variant = props.variant,
|
|
1112
|
+
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
1113
|
+
onOpen = props.onOpen,
|
|
1114
|
+
onClose = props.onClose,
|
|
1115
|
+
rest = _objectWithoutPropertiesLoose(props, ["groups", "value", "onChange", "variant", "onOpen", "onClose"]);
|
|
1116
|
+
|
|
1117
|
+
return React.createElement(Select, Object.assign({}, rest, {
|
|
1118
|
+
ref: ref,
|
|
1119
|
+
value: value,
|
|
1120
|
+
onChange: onChange,
|
|
1121
|
+
variant: variant,
|
|
1122
|
+
onOpen: onOpen,
|
|
1123
|
+
onClose: onClose,
|
|
1124
|
+
displayEmpty: true,
|
|
1125
|
+
fullWidth: true,
|
|
1126
|
+
classes: selectStyle
|
|
1127
|
+
}), groups.map(function (group) {
|
|
1128
|
+
return [React.createElement(ListSubheader, {
|
|
1129
|
+
style: {
|
|
1130
|
+
pointerEvents: 'none'
|
|
1131
|
+
}
|
|
1132
|
+
}, group.groupTitle), group.options.map(function (opt) {
|
|
1133
|
+
if (opt.emptyLabel) {
|
|
1134
|
+
return React.createElement(MenuItem, {
|
|
1135
|
+
style: {
|
|
1136
|
+
pointerEvents: 'none'
|
|
1137
|
+
}
|
|
1138
|
+
}, React.createElement(Typography, {
|
|
1139
|
+
variant: "body2",
|
|
1140
|
+
className: css(_templateObject(), theme.palette.grey[500])
|
|
1141
|
+
}, opt.emptyLabel));
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
return React.createElement(MenuItem, {
|
|
1145
|
+
className: customOptionStyle.container,
|
|
1146
|
+
value: opt.value,
|
|
1147
|
+
key: opt.value
|
|
1148
|
+
}, React.createElement("div", {
|
|
1149
|
+
className: cx(customOptionStyle.root, customOptionStyle[group.optionType])
|
|
1150
|
+
}, opt.children));
|
|
1151
|
+
})];
|
|
1152
|
+
}));
|
|
1153
|
+
});
|
|
1154
|
+
GroupSelect.displayName = 'GroupSelect';
|
|
1155
|
+
|
|
1156
|
+
var IconButton =
|
|
1157
|
+
/*#__PURE__*/
|
|
1158
|
+
forwardRef(function (props, ref) {
|
|
1159
|
+
var _props$size = props.size,
|
|
1160
|
+
size = _props$size === void 0 ? 'small' : _props$size,
|
|
1161
|
+
rest = _objectWithoutPropertiesLoose(props, ["size"]);
|
|
1162
|
+
|
|
1163
|
+
return React.createElement(MUIIconButton, Object.assign({}, rest, {
|
|
1164
|
+
ref: ref,
|
|
1165
|
+
size: size
|
|
1166
|
+
}));
|
|
1167
|
+
});
|
|
1168
|
+
IconButton.displayName = 'IconButton';
|
|
1169
|
+
|
|
1170
|
+
var Link =
|
|
1171
|
+
/*#__PURE__*/
|
|
1172
|
+
forwardRef(function (props, ref) {
|
|
1173
|
+
var _props$underline = props.underline,
|
|
1174
|
+
underline = _props$underline === void 0 ? 'none' : _props$underline,
|
|
1175
|
+
rest = _objectWithoutPropertiesLoose(props, ["underline"]);
|
|
1176
|
+
|
|
1177
|
+
return React.createElement(MUILink, Object.assign({}, rest, {
|
|
1178
|
+
ref: ref,
|
|
1179
|
+
underline: underline
|
|
1180
|
+
}));
|
|
1181
|
+
});
|
|
1182
|
+
Link.displayName = 'Link';
|
|
1183
|
+
|
|
1184
|
+
var LoadingButton =
|
|
1185
|
+
/*#__PURE__*/
|
|
1186
|
+
forwardRef(function (props, ref) {
|
|
1187
|
+
var _props$loading = props.loading,
|
|
1188
|
+
loading = _props$loading === void 0 ? true : _props$loading,
|
|
1189
|
+
rest = _objectWithoutPropertiesLoose(props, ["loading"]);
|
|
1190
|
+
|
|
1191
|
+
return React.createElement(Button, Object.assign({}, rest, {
|
|
1192
|
+
startIcon: loading && React.createElement(CircularProgress, {
|
|
1193
|
+
size: "1rem",
|
|
1194
|
+
color: "inherit"
|
|
1195
|
+
}),
|
|
1196
|
+
ref: ref
|
|
1197
|
+
}));
|
|
1198
|
+
});
|
|
1199
|
+
LoadingButton.displayName = 'LoadingButton';
|
|
1200
|
+
|
|
1201
|
+
var OutlinedInput =
|
|
1202
|
+
/*#__PURE__*/
|
|
1203
|
+
forwardRef(function OutlinedInput(props, ref) {
|
|
1204
|
+
return React.createElement(MUIOutlinedInput, Object.assign({}, props, {
|
|
1205
|
+
ref: ref
|
|
1206
|
+
}));
|
|
1207
|
+
});
|
|
1208
|
+
OutlinedInput.displayName = 'OutlinedInput';
|
|
1209
|
+
|
|
1210
|
+
var Switch =
|
|
1211
|
+
/*#__PURE__*/
|
|
1212
|
+
forwardRef(function (props, ref) {
|
|
1018
1213
|
var _props$color = props.color,
|
|
1019
1214
|
color = _props$color === void 0 ? 'default' : _props$color,
|
|
1020
1215
|
rest = _objectWithoutPropertiesLoose(props, ["color"]);
|
|
@@ -1024,86 +1219,83 @@ forwardRef(function Switch(props, ref) {
|
|
|
1024
1219
|
color: color
|
|
1025
1220
|
}));
|
|
1026
1221
|
});
|
|
1222
|
+
Switch.displayName = 'Switch';
|
|
1027
1223
|
|
|
1028
|
-
var
|
|
1029
|
-
|
|
1224
|
+
var TextField =
|
|
1225
|
+
/*#__PURE__*/
|
|
1226
|
+
forwardRef(function (props, ref) {
|
|
1030
1227
|
return React.createElement(MUITextField, Object.assign({}, props, {
|
|
1031
1228
|
ref: ref
|
|
1032
1229
|
}));
|
|
1033
1230
|
});
|
|
1231
|
+
TextField.displayName = 'TextField';
|
|
1034
1232
|
|
|
1035
|
-
var
|
|
1036
|
-
|
|
1233
|
+
var ToggleButton =
|
|
1234
|
+
/*#__PURE__*/
|
|
1235
|
+
forwardRef(function (props, ref) {
|
|
1037
1236
|
return React.createElement(MUIToggleButton, Object.assign({}, props, {
|
|
1038
1237
|
ref: ref
|
|
1039
1238
|
}));
|
|
1040
1239
|
});
|
|
1240
|
+
ToggleButton.displayName = 'ToggleButton';
|
|
1041
1241
|
|
|
1042
|
-
var
|
|
1043
|
-
|
|
1242
|
+
var ToggleButtonGroup =
|
|
1243
|
+
/*#__PURE__*/
|
|
1244
|
+
forwardRef(function (props, ref) {
|
|
1044
1245
|
return React.createElement(MUIToggleButtonGroup, Object.assign({}, props, {
|
|
1045
1246
|
ref: ref
|
|
1046
1247
|
}), props.children);
|
|
1047
1248
|
});
|
|
1249
|
+
ToggleButtonGroup.displayName = 'ToggleButtonGroup';
|
|
1048
1250
|
|
|
1049
|
-
var
|
|
1050
|
-
|
|
1251
|
+
var Tooltip =
|
|
1252
|
+
/*#__PURE__*/
|
|
1253
|
+
forwardRef(function (props, ref) {
|
|
1051
1254
|
return React.createElement(MUITooltip, Object.assign({}, props, {
|
|
1052
1255
|
ref: ref
|
|
1053
1256
|
}), props.children);
|
|
1054
1257
|
});
|
|
1055
|
-
|
|
1056
|
-
var index$q = /*#__PURE__*/
|
|
1057
|
-
forwardRef(function Typography(props, ref) {
|
|
1058
|
-
var _props$color = props.color,
|
|
1059
|
-
color = _props$color === void 0 ? 'textPrimary' : _props$color,
|
|
1060
|
-
rest = _objectWithoutPropertiesLoose(props, ["color"]);
|
|
1061
|
-
|
|
1062
|
-
return React.createElement(Typography$1, Object.assign({}, rest, {
|
|
1063
|
-
ref: ref,
|
|
1064
|
-
color: color
|
|
1065
|
-
}));
|
|
1066
|
-
});
|
|
1258
|
+
Tooltip.displayName = 'Tooltip';
|
|
1067
1259
|
|
|
1068
1260
|
|
|
1069
1261
|
|
|
1070
|
-
var index
|
|
1262
|
+
var index = {
|
|
1071
1263
|
__proto__: null,
|
|
1072
|
-
CustomSvgIcon: index,
|
|
1073
1264
|
theme: theme,
|
|
1074
|
-
ThemeProvider: ThemeProvider,
|
|
1075
1265
|
useMUITheme: useMUITheme,
|
|
1266
|
+
ThemeProvider: ThemeProvider,
|
|
1076
1267
|
PureThemeProvider: PureThemeProvider,
|
|
1077
|
-
Backdrop:
|
|
1268
|
+
Backdrop: Backdrop,
|
|
1078
1269
|
Box: Box,
|
|
1079
1270
|
Button: Button,
|
|
1080
|
-
ButtonGroup:
|
|
1271
|
+
ButtonGroup: ButtonGroup,
|
|
1081
1272
|
CircularProgress: CircularProgress,
|
|
1082
1273
|
CssBaseline: CssBaseline,
|
|
1083
|
-
Dialog:
|
|
1084
|
-
DialogActions:
|
|
1085
|
-
DialogContent:
|
|
1086
|
-
DialogContentText:
|
|
1087
|
-
DialogTitle:
|
|
1088
|
-
Fade:
|
|
1089
|
-
FormControl:
|
|
1090
|
-
FormControlLabel:
|
|
1091
|
-
FormGroup:
|
|
1092
|
-
FormHelperText:
|
|
1093
|
-
FormLabel:
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1274
|
+
Dialog: Dialog,
|
|
1275
|
+
DialogActions: DialogActions,
|
|
1276
|
+
DialogContent: DialogContent,
|
|
1277
|
+
DialogContentText: DialogContentText,
|
|
1278
|
+
DialogTitle: DialogTitle,
|
|
1279
|
+
Fade: Fade,
|
|
1280
|
+
FormControl: FormControl,
|
|
1281
|
+
FormControlLabel: FormControlLabel,
|
|
1282
|
+
FormGroup: FormGroup,
|
|
1283
|
+
FormHelperText: FormHelperText,
|
|
1284
|
+
FormLabel: FormLabel,
|
|
1285
|
+
GroupSelect: GroupSelect,
|
|
1286
|
+
IconButton: IconButton,
|
|
1287
|
+
Link: Link,
|
|
1288
|
+
LoadingButton: LoadingButton,
|
|
1289
|
+
MenuItem: MenuItem,
|
|
1290
|
+
OutlinedInput: OutlinedInput,
|
|
1291
|
+
Select: Select,
|
|
1292
|
+
Switch: Switch,
|
|
1293
|
+
TextField: TextField,
|
|
1294
|
+
ToggleButton: ToggleButton,
|
|
1295
|
+
ToggleButtonGroup: ToggleButtonGroup,
|
|
1296
|
+
Tooltip: Tooltip,
|
|
1297
|
+
Typography: Typography,
|
|
1298
|
+
Icon: Icon
|
|
1107
1299
|
};
|
|
1108
1300
|
|
|
1109
1301
|
var getAutoHeightDuration = function getAutoHeightDuration(height) {
|
|
@@ -1405,7 +1597,7 @@ var Chip = function Chip(_ref) {
|
|
|
1405
1597
|
);
|
|
1406
1598
|
};
|
|
1407
1599
|
|
|
1408
|
-
var index$
|
|
1600
|
+
var index$1 = /*#__PURE__*/
|
|
1409
1601
|
memo(Chip);
|
|
1410
1602
|
|
|
1411
1603
|
var Paper =
|
|
@@ -1466,10 +1658,10 @@ function _templateObject2() {
|
|
|
1466
1658
|
return data;
|
|
1467
1659
|
}
|
|
1468
1660
|
|
|
1469
|
-
function _templateObject() {
|
|
1661
|
+
function _templateObject$1() {
|
|
1470
1662
|
var data = _taggedTemplateLiteralLoose(["\n\t100% {\n\t\ttransform: rotate(360deg);\n\t}\n"]);
|
|
1471
1663
|
|
|
1472
|
-
_templateObject = function _templateObject() {
|
|
1664
|
+
_templateObject$1 = function _templateObject() {
|
|
1473
1665
|
return data;
|
|
1474
1666
|
};
|
|
1475
1667
|
|
|
@@ -1479,7 +1671,7 @@ var loadingCircle =
|
|
|
1479
1671
|
/*#__PURE__*/
|
|
1480
1672
|
keyframes(
|
|
1481
1673
|
/*#__PURE__*/
|
|
1482
|
-
_templateObject());
|
|
1674
|
+
_templateObject$1());
|
|
1483
1675
|
var spin =
|
|
1484
1676
|
/*#__PURE__*/
|
|
1485
1677
|
css(
|
|
@@ -1492,7 +1684,7 @@ var svgBaseProps = (_svgBaseProps = {
|
|
|
1492
1684
|
height: '1em',
|
|
1493
1685
|
fill: 'currentColor'
|
|
1494
1686
|
}, _svgBaseProps['aria-hidden'] = true, _svgBaseProps.focusable = 'false', _svgBaseProps);
|
|
1495
|
-
var Icon =
|
|
1687
|
+
var Icon$1 =
|
|
1496
1688
|
/*#__PURE__*/
|
|
1497
1689
|
forwardRef(function (_ref, ref) {
|
|
1498
1690
|
var className = _ref.className,
|
|
@@ -1534,7 +1726,7 @@ forwardRef(function (_ref, ref) {
|
|
|
1534
1726
|
d: icon.definition.pathData
|
|
1535
1727
|
}));
|
|
1536
1728
|
});
|
|
1537
|
-
Icon.defaultProps = {
|
|
1729
|
+
Icon$1.defaultProps = {
|
|
1538
1730
|
size: 1
|
|
1539
1731
|
};
|
|
1540
1732
|
|
|
@@ -1556,10 +1748,10 @@ function _templateObject2$1() {
|
|
|
1556
1748
|
return data;
|
|
1557
1749
|
}
|
|
1558
1750
|
|
|
1559
|
-
function _templateObject$
|
|
1751
|
+
function _templateObject$2() {
|
|
1560
1752
|
var data = _taggedTemplateLiteralLoose(["\n position: relative;\n"]);
|
|
1561
1753
|
|
|
1562
|
-
_templateObject$
|
|
1754
|
+
_templateObject$2 = function _templateObject() {
|
|
1563
1755
|
return data;
|
|
1564
1756
|
};
|
|
1565
1757
|
|
|
@@ -1569,7 +1761,7 @@ var DatePickerWrapper =
|
|
|
1569
1761
|
/*#__PURE__*/
|
|
1570
1762
|
styled$1('section')(
|
|
1571
1763
|
/*#__PURE__*/
|
|
1572
|
-
_templateObject$
|
|
1764
|
+
_templateObject$2());
|
|
1573
1765
|
var IonwWrapper =
|
|
1574
1766
|
/*#__PURE__*/
|
|
1575
1767
|
styled$1('section')(
|
|
@@ -1645,7 +1837,7 @@ var DatePicker = function DatePicker(_ref) {
|
|
|
1645
1837
|
root: inputClasses.root
|
|
1646
1838
|
}
|
|
1647
1839
|
};
|
|
1648
|
-
return React.createElement(DatePickerWrapper, null, React.createElement(IonwWrapper, null, React.createElement(Icon, {
|
|
1840
|
+
return React.createElement(DatePickerWrapper, null, React.createElement(IonwWrapper, null, React.createElement(Icon$1, {
|
|
1649
1841
|
icon: CalendarAlt
|
|
1650
1842
|
})), React.createElement(StyledMuiDatePicker, Object.assign({
|
|
1651
1843
|
value: value,
|
|
@@ -1737,7 +1929,7 @@ makeStyles([['typography', function (theme, _ref) {
|
|
|
1737
1929
|
return ["\n\t\t\t\tcolor: " + (resolveThemeColorProp(theme, color) || 'inherit') + ";\n\t\t\t\tfont-weight: " + fontWeight + ";\n\t\t\t\tfont-size: " + fontSize + "px;\n\t\t\t\tline-height: " + lineHeight + "px;\n\t\t\t\tmin-height: 0.01px;\n\t\t\t\tmargin: 0;\n\t\t\t\tmargin-bottom: " + (gutterBottom ? '0.35em' : 0) + ";\n\t\t\t", noWrap && "\n\t\t\t\toverflow: hidden;\n\t\t\t\ttext-overflow: ellipsis;\n\t\t\t\twhite-space: nowrap;\n\t\t\t"];
|
|
1738
1930
|
}]]);
|
|
1739
1931
|
|
|
1740
|
-
var Typography =
|
|
1932
|
+
var Typography$1 =
|
|
1741
1933
|
/*#__PURE__*/
|
|
1742
1934
|
forwardRef(function (_ref, ref) {
|
|
1743
1935
|
var children = _ref.children,
|
|
@@ -1755,7 +1947,7 @@ forwardRef(function (_ref, ref) {
|
|
|
1755
1947
|
ref: ref
|
|
1756
1948
|
}), children);
|
|
1757
1949
|
});
|
|
1758
|
-
Typography.defaultProps = {
|
|
1950
|
+
Typography$1.defaultProps = {
|
|
1759
1951
|
weight: 'normal',
|
|
1760
1952
|
gutterBottom: false,
|
|
1761
1953
|
noWrap: false
|
|
@@ -1809,7 +2001,7 @@ makeStyles$1(inputAdornmentStyles);
|
|
|
1809
2001
|
var CommonKeyboardDatePickerProps = {
|
|
1810
2002
|
keyboardIcon:
|
|
1811
2003
|
/*#__PURE__*/
|
|
1812
|
-
React.createElement(Icon, {
|
|
2004
|
+
React.createElement(Icon$1, {
|
|
1813
2005
|
icon: CalendarAlt
|
|
1814
2006
|
}),
|
|
1815
2007
|
maxDateMessage: null,
|
|
@@ -1828,7 +2020,7 @@ var CommonKeyboardDatePickerProps = {
|
|
|
1828
2020
|
|
|
1829
2021
|
var InvalidDateMsg = function InvalidDateMsg(_ref) {
|
|
1830
2022
|
var msg = _ref.msg;
|
|
1831
|
-
return React.createElement(Typography, {
|
|
2023
|
+
return React.createElement(Typography$1, {
|
|
1832
2024
|
variant: 'span',
|
|
1833
2025
|
color: 'error'
|
|
1834
2026
|
}, msg);
|
|
@@ -1945,7 +2137,7 @@ Tag.defaultProps = {
|
|
|
1945
2137
|
variant: 'filled'
|
|
1946
2138
|
};
|
|
1947
2139
|
|
|
1948
|
-
var Tooltip =
|
|
2140
|
+
var Tooltip$1 =
|
|
1949
2141
|
/*#__PURE__*/
|
|
1950
2142
|
forwardRef(function (_ref, ref) {
|
|
1951
2143
|
var children = _ref.children,
|
|
@@ -2065,7 +2257,7 @@ makeStyles$1({
|
|
|
2065
2257
|
}
|
|
2066
2258
|
});
|
|
2067
2259
|
|
|
2068
|
-
var Select = function Select(props) {
|
|
2260
|
+
var Select$1 = function Select(props) {
|
|
2069
2261
|
var options = props.options,
|
|
2070
2262
|
value = props.value,
|
|
2071
2263
|
onChange = props.onChange,
|
|
@@ -2140,7 +2332,7 @@ createStyles({
|
|
|
2140
2332
|
pointerEvents: 'none'
|
|
2141
2333
|
}
|
|
2142
2334
|
});
|
|
2143
|
-
var useCustomOptionStyle =
|
|
2335
|
+
var useCustomOptionStyle$1 =
|
|
2144
2336
|
/*#__PURE__*/
|
|
2145
2337
|
makeStyles$1({
|
|
2146
2338
|
container: {
|
|
@@ -2203,12 +2395,12 @@ var StyledSelect =
|
|
|
2203
2395
|
withStyles(styles$3)(MuiSelect$1);
|
|
2204
2396
|
var StyledEmptyLabel =
|
|
2205
2397
|
/*#__PURE__*/
|
|
2206
|
-
withStyles(emptyStyles)(MuiListSubheader);
|
|
2398
|
+
withStyles(emptyStyles)(MuiListSubheader$1);
|
|
2207
2399
|
var StyledSubheader =
|
|
2208
2400
|
/*#__PURE__*/
|
|
2209
|
-
withStyles(subheaderStyles)(MuiListSubheader);
|
|
2401
|
+
withStyles(subheaderStyles)(MuiListSubheader$1);
|
|
2210
2402
|
|
|
2211
|
-
var GroupSelect = function GroupSelect(props) {
|
|
2403
|
+
var GroupSelect$1 = function GroupSelect(props) {
|
|
2212
2404
|
var groups = props.groups,
|
|
2213
2405
|
value = props.value,
|
|
2214
2406
|
onChange = props.onChange,
|
|
@@ -2216,7 +2408,7 @@ var GroupSelect = function GroupSelect(props) {
|
|
|
2216
2408
|
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
2217
2409
|
onOpen = props.onOpen,
|
|
2218
2410
|
onClose = props.onClose;
|
|
2219
|
-
var classes = useCustomOptionStyle();
|
|
2411
|
+
var classes = useCustomOptionStyle$1();
|
|
2220
2412
|
return React.createElement(StyledSelect, {
|
|
2221
2413
|
value: value,
|
|
2222
2414
|
onChange: onChange,
|
|
@@ -2286,10 +2478,10 @@ function _templateObject2$2() {
|
|
|
2286
2478
|
return data;
|
|
2287
2479
|
}
|
|
2288
2480
|
|
|
2289
|
-
function _templateObject$
|
|
2481
|
+
function _templateObject$3() {
|
|
2290
2482
|
var data = _taggedTemplateLiteralLoose(["\n height: 10px;\n width: 0;\n visibility: hidden;\n outline: none;\n position: absolute;\n left: 50%;\n top: 12%;\n"]);
|
|
2291
2483
|
|
|
2292
|
-
_templateObject$
|
|
2484
|
+
_templateObject$3 = function _templateObject() {
|
|
2293
2485
|
return data;
|
|
2294
2486
|
};
|
|
2295
2487
|
|
|
@@ -2299,7 +2491,7 @@ var InputStyle =
|
|
|
2299
2491
|
/*#__PURE__*/
|
|
2300
2492
|
styled$1('input')(
|
|
2301
2493
|
/*#__PURE__*/
|
|
2302
|
-
_templateObject$
|
|
2494
|
+
_templateObject$3());
|
|
2303
2495
|
var LabelStyle =
|
|
2304
2496
|
/*#__PURE__*/
|
|
2305
2497
|
styled$1('label')(
|
|
@@ -2327,7 +2519,7 @@ styled$1('span')(
|
|
|
2327
2519
|
/*#__PURE__*/
|
|
2328
2520
|
_templateObject5(), theme$1.color.text.B3, theme$1.typography.fontWeight.normal);
|
|
2329
2521
|
|
|
2330
|
-
var Switch =
|
|
2522
|
+
var Switch$1 =
|
|
2331
2523
|
/*#__PURE__*/
|
|
2332
2524
|
forwardRef(function (_ref, ref) {
|
|
2333
2525
|
var checked = _ref.checked,
|
|
@@ -2396,7 +2588,7 @@ var MenuList = function MenuList(_ref) {
|
|
|
2396
2588
|
var TransitionProps = _ref2.TransitionProps;
|
|
2397
2589
|
|
|
2398
2590
|
if (fade) {
|
|
2399
|
-
return React.createElement(Fade, Object.assign({}, TransitionProps, {
|
|
2591
|
+
return React.createElement(Fade$1, Object.assign({}, TransitionProps, {
|
|
2400
2592
|
timeout: 400
|
|
2401
2593
|
}), paper);
|
|
2402
2594
|
} else {
|
|
@@ -2426,7 +2618,7 @@ makeStyles$1({
|
|
|
2426
2618
|
}
|
|
2427
2619
|
});
|
|
2428
2620
|
|
|
2429
|
-
var MenuItem = function MenuItem(props) {
|
|
2621
|
+
var MenuItem$1 = function MenuItem(props) {
|
|
2430
2622
|
var children = props.children,
|
|
2431
2623
|
restProps = _objectWithoutPropertiesLoose(props, ["children", "backgroundColor", "color", "hoverBackgroundColor", "hoverColor"]);
|
|
2432
2624
|
|
|
@@ -2466,7 +2658,7 @@ var StyledMuiToggleButton =
|
|
|
2466
2658
|
/*#__PURE__*/
|
|
2467
2659
|
withStyles(styles$4)(MUIToggleButton);
|
|
2468
2660
|
|
|
2469
|
-
var ToggleButtonGroup = function ToggleButtonGroup(props) {
|
|
2661
|
+
var ToggleButtonGroup$1 = function ToggleButtonGroup(props) {
|
|
2470
2662
|
var value = props.value,
|
|
2471
2663
|
_props$exclusive = props.exclusive,
|
|
2472
2664
|
exclusive = _props$exclusive === void 0 ? true : _props$exclusive,
|
|
@@ -2654,9 +2846,9 @@ var Pagination = function Pagination(_ref) {
|
|
|
2654
2846
|
}), React.createElement(Box$1, {
|
|
2655
2847
|
pr: 0.5,
|
|
2656
2848
|
pl: 1
|
|
2657
|
-
}, React.createElement(Typography$
|
|
2849
|
+
}, React.createElement(Typography$2, {
|
|
2658
2850
|
variant: "body1"
|
|
2659
|
-
}, "\uFF0F")), React.createElement(Typography$
|
|
2851
|
+
}, "\uFF0F")), React.createElement(Typography$2, {
|
|
2660
2852
|
variant: "body1"
|
|
2661
2853
|
}, totalPages)), React.createElement(ChevronRightIconButton, {
|
|
2662
2854
|
disabled: !hasNext,
|
|
@@ -2667,7 +2859,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
2667
2859
|
}));
|
|
2668
2860
|
};
|
|
2669
2861
|
|
|
2670
|
-
var index$
|
|
2862
|
+
var index$2 = /*#__PURE__*/
|
|
2671
2863
|
memo(Pagination);
|
|
2672
2864
|
|
|
2673
2865
|
var useStyles$6 =
|
|
@@ -2876,10 +3068,10 @@ function _templateObject2$3() {
|
|
|
2876
3068
|
return data;
|
|
2877
3069
|
}
|
|
2878
3070
|
|
|
2879
|
-
function _templateObject$
|
|
3071
|
+
function _templateObject$4() {
|
|
2880
3072
|
var data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"]);
|
|
2881
3073
|
|
|
2882
|
-
_templateObject$
|
|
3074
|
+
_templateObject$4 = function _templateObject() {
|
|
2883
3075
|
return data;
|
|
2884
3076
|
};
|
|
2885
3077
|
|
|
@@ -2889,7 +3081,7 @@ var StepperContainer =
|
|
|
2889
3081
|
/*#__PURE__*/
|
|
2890
3082
|
css(
|
|
2891
3083
|
/*#__PURE__*/
|
|
2892
|
-
_templateObject$
|
|
3084
|
+
_templateObject$4());
|
|
2893
3085
|
var ConnectorContainer =
|
|
2894
3086
|
/*#__PURE__*/
|
|
2895
3087
|
css(
|
|
@@ -2917,7 +3109,7 @@ forwardRef(function (_ref, ref) {
|
|
|
2917
3109
|
var Connector = React.createElement("div", {
|
|
2918
3110
|
key: idx + "_connector",
|
|
2919
3111
|
className: ConnectorContainer
|
|
2920
|
-
}, React.createElement(Icon, {
|
|
3112
|
+
}, React.createElement(Icon$1, {
|
|
2921
3113
|
icon: LongArrowRight
|
|
2922
3114
|
}));
|
|
2923
3115
|
return [].concat(acc, [newStep, Connector]);
|
|
@@ -2928,13 +3120,13 @@ forwardRef(function (_ref, ref) {
|
|
|
2928
3120
|
className: StepperContainer
|
|
2929
3121
|
}, restProps), stepsWithConnector);
|
|
2930
3122
|
});
|
|
2931
|
-
var index$
|
|
3123
|
+
var index$3 = /*#__PURE__*/
|
|
2932
3124
|
memo(Stepper);
|
|
2933
3125
|
|
|
2934
|
-
function _templateObject$
|
|
3126
|
+
function _templateObject$5() {
|
|
2935
3127
|
var data = _taggedTemplateLiteralLoose(["\n cursor: ", ";\n color: ", ";\n background-color: transparent;\n min-width: 56px;\n padding: 16px 0;\n border: none;\n font-size: ", "px;\n font-weight: ", ";\n line-height: 22px;\n outline: none;\n\n &:hover {\n color: ", ";\n }\n"]);
|
|
2936
3128
|
|
|
2937
|
-
_templateObject$
|
|
3129
|
+
_templateObject$5 = function _templateObject() {
|
|
2938
3130
|
return data;
|
|
2939
3131
|
};
|
|
2940
3132
|
|
|
@@ -2944,7 +3136,7 @@ var SytledStep =
|
|
|
2944
3136
|
/*#__PURE__*/
|
|
2945
3137
|
styled$1('button')(
|
|
2946
3138
|
/*#__PURE__*/
|
|
2947
|
-
_templateObject$
|
|
3139
|
+
_templateObject$5(), function (props) {
|
|
2948
3140
|
return props.disabled ? 'not-allowed' : 'pointer';
|
|
2949
3141
|
}, function (props) {
|
|
2950
3142
|
return props.active ? theme$1.color.text.B6 : theme$1.color.text.B3;
|
|
@@ -2978,13 +3170,13 @@ forwardRef(function (_ref, ref) {
|
|
|
2978
3170
|
active: active
|
|
2979
3171
|
}, restProps), children);
|
|
2980
3172
|
});
|
|
2981
|
-
var index$
|
|
3173
|
+
var index$4 = /*#__PURE__*/
|
|
2982
3174
|
memo(Step);
|
|
2983
3175
|
|
|
2984
|
-
function _templateObject$
|
|
3176
|
+
function _templateObject$6() {
|
|
2985
3177
|
var data = _taggedTemplateLiteralLoose(["\n\ttable, th, td {\n\t\tborder: 1px solid #eeeeee;\n\t}\n\n table {\n width: 100%;\n\t\tborder-collapse: collapse;\n\t\ttable-layout:fixed;\n\t}\n\n thead {\n\t\ttr th {\n\t\t\theight: 56px;\n\t\t\tfont-size: 14px;\n\t\t\tfont-weight: 500;\n\t\t\ttext-align: center;\n\t\t\tcolor: #3dba90;\n\n\t\t\t&:#title {\n\t\t\t\twidth: 20%;\n\t\t\t}\n\n\t\t\t&#origin {\n\t\t\t\twidth: 40%;\n\t\t\t}\n\n\t\t\t&#translate {\n\t\t\t\twidth: 40%;\n\t\t\t}\n\t\t}\n\t}\n\n\ttbody {\n\t\ttr td {\n\t\t\tword-break:break-word;\n\t\t\tvertical-align:top;\n\t\t}\n\t}\n"]);
|
|
2986
3178
|
|
|
2987
|
-
_templateObject$
|
|
3179
|
+
_templateObject$6 = function _templateObject() {
|
|
2988
3180
|
return data;
|
|
2989
3181
|
};
|
|
2990
3182
|
|
|
@@ -2994,7 +3186,7 @@ var StyledEditableTable =
|
|
|
2994
3186
|
/*#__PURE__*/
|
|
2995
3187
|
css(
|
|
2996
3188
|
/*#__PURE__*/
|
|
2997
|
-
_templateObject$
|
|
3189
|
+
_templateObject$6());
|
|
2998
3190
|
|
|
2999
3191
|
var EditableTable = function EditableTable(_ref) {
|
|
3000
3192
|
var rows = _ref.rows,
|
|
@@ -3639,7 +3831,7 @@ forwardRef(function (_ref, ref) {
|
|
|
3639
3831
|
return React.createElement("div", {
|
|
3640
3832
|
className: styles.message,
|
|
3641
3833
|
onTransitionEnd: onTransitionEnd
|
|
3642
|
-
}, React.createElement(Icon, {
|
|
3834
|
+
}, React.createElement(Icon$1, {
|
|
3643
3835
|
className: styles.icon,
|
|
3644
3836
|
icon: icons[type]
|
|
3645
3837
|
}), React.createElement("div", {
|
|
@@ -3724,7 +3916,7 @@ var Modal = function Modal(_ref) {
|
|
|
3724
3916
|
BackdropComponent: MUIBackdrop,
|
|
3725
3917
|
BackdropProps: _extends({}, backdropProps),
|
|
3726
3918
|
closeAfterTransition: true
|
|
3727
|
-
}, restProps), React.createElement(Fade, {
|
|
3919
|
+
}, restProps), React.createElement(Fade$1, {
|
|
3728
3920
|
"in": open
|
|
3729
3921
|
}, children));
|
|
3730
3922
|
};
|
|
@@ -3786,10 +3978,10 @@ function _templateObject2$4() {
|
|
|
3786
3978
|
return data;
|
|
3787
3979
|
}
|
|
3788
3980
|
|
|
3789
|
-
function _templateObject$
|
|
3981
|
+
function _templateObject$7() {
|
|
3790
3982
|
var data = _taggedTemplateLiteralLoose(["\n display: flex;\n"]);
|
|
3791
3983
|
|
|
3792
|
-
_templateObject$
|
|
3984
|
+
_templateObject$7 = function _templateObject() {
|
|
3793
3985
|
return data;
|
|
3794
3986
|
};
|
|
3795
3987
|
|
|
@@ -3820,7 +4012,7 @@ var MessageWrapper =
|
|
|
3820
4012
|
/*#__PURE__*/
|
|
3821
4013
|
css(
|
|
3822
4014
|
/*#__PURE__*/
|
|
3823
|
-
_templateObject$
|
|
4015
|
+
_templateObject$7());
|
|
3824
4016
|
var MessageContent =
|
|
3825
4017
|
/*#__PURE__*/
|
|
3826
4018
|
css(
|
|
@@ -3869,28 +4061,28 @@ var transitionMap = (_transitionMap = {}, _transitionMap[Direction.LEFT] = Trans
|
|
|
3869
4061
|
var semanticIcon = (_semanticIcon = {}, _semanticIcon[Semantic.WARNING] = {
|
|
3870
4062
|
icon:
|
|
3871
4063
|
/*#__PURE__*/
|
|
3872
|
-
React.createElement(Icon, {
|
|
4064
|
+
React.createElement(Icon$1, {
|
|
3873
4065
|
icon: ExclamationTriangle
|
|
3874
4066
|
}),
|
|
3875
4067
|
color: '#F3973E'
|
|
3876
4068
|
}, _semanticIcon[Semantic.INFO] = {
|
|
3877
4069
|
icon:
|
|
3878
4070
|
/*#__PURE__*/
|
|
3879
|
-
React.createElement(Icon, {
|
|
4071
|
+
React.createElement(Icon$1, {
|
|
3880
4072
|
icon: InfoCircle
|
|
3881
4073
|
}),
|
|
3882
4074
|
color: '#4DBAE9'
|
|
3883
4075
|
}, _semanticIcon[Semantic.SUCCESS] = {
|
|
3884
4076
|
icon:
|
|
3885
4077
|
/*#__PURE__*/
|
|
3886
|
-
React.createElement(Icon, {
|
|
4078
|
+
React.createElement(Icon$1, {
|
|
3887
4079
|
icon: CheckCircle
|
|
3888
4080
|
}),
|
|
3889
4081
|
color: '#A0D45E'
|
|
3890
4082
|
}, _semanticIcon[Semantic.ERROR] = {
|
|
3891
4083
|
icon:
|
|
3892
4084
|
/*#__PURE__*/
|
|
3893
|
-
React.createElement(Icon, {
|
|
4085
|
+
React.createElement(Icon$1, {
|
|
3894
4086
|
icon: TimesCircle
|
|
3895
4087
|
}),
|
|
3896
4088
|
color: '#EC3C63'
|
|
@@ -3920,12 +4112,12 @@ forwardRef(function (_ref, ref) {
|
|
|
3920
4112
|
color: iconColor
|
|
3921
4113
|
}, MessageIcon), React.createElement("div", {
|
|
3922
4114
|
className: MessageContent
|
|
3923
|
-
}, title && React.createElement(Typography, {
|
|
4115
|
+
}, title && React.createElement(Typography$1, {
|
|
3924
4116
|
variant: "h6",
|
|
3925
4117
|
weight: "medium",
|
|
3926
4118
|
color: "text.B6",
|
|
3927
4119
|
className: TitleStyle
|
|
3928
|
-
}, title), React.createElement(Typography, {
|
|
4120
|
+
}, title), React.createElement(Typography$1, {
|
|
3929
4121
|
variant: "p",
|
|
3930
4122
|
color: "text.B6"
|
|
3931
4123
|
}, message))),
|
|
@@ -3961,7 +4153,7 @@ forwardRef(function (_ref2, ref) {
|
|
|
3961
4153
|
}));
|
|
3962
4154
|
});
|
|
3963
4155
|
|
|
3964
|
-
var Backdrop =
|
|
4156
|
+
var Backdrop$1 =
|
|
3965
4157
|
/*#__PURE__*/
|
|
3966
4158
|
forwardRef(function (props, ref) {
|
|
3967
4159
|
return React.createElement(MUIBackdrop, Object.assign({
|
|
@@ -3969,7 +4161,7 @@ forwardRef(function (props, ref) {
|
|
|
3969
4161
|
}, props), props.children);
|
|
3970
4162
|
});
|
|
3971
4163
|
|
|
3972
|
-
var Link = {
|
|
4164
|
+
var Link$1 = {
|
|
3973
4165
|
name: 'list-ul-o',
|
|
3974
4166
|
definition: {
|
|
3975
4167
|
viewBox: '0 0 512 512',
|
|
@@ -3997,10 +4189,10 @@ function _templateObject2$5() {
|
|
|
3997
4189
|
return data;
|
|
3998
4190
|
}
|
|
3999
4191
|
|
|
4000
|
-
function _templateObject$
|
|
4192
|
+
function _templateObject$8() {
|
|
4001
4193
|
var data = _taggedTemplateLiteralLoose(["\n background-color: white;\n transition: transform ", ";\n transform: translateX(", ");\n position: fixed;\n ", ";\n bottom: 0;\n top: 0;\n min-width: ", "px;\n height: 100%;\n z-index: ", ";\n"]);
|
|
4002
4194
|
|
|
4003
|
-
_templateObject$
|
|
4195
|
+
_templateObject$8 = function _templateObject() {
|
|
4004
4196
|
return data;
|
|
4005
4197
|
};
|
|
4006
4198
|
|
|
@@ -4062,7 +4254,7 @@ var StyledSideMenu =
|
|
|
4062
4254
|
/*#__PURE__*/
|
|
4063
4255
|
styled$1.section(
|
|
4064
4256
|
/*#__PURE__*/
|
|
4065
|
-
_templateObject$
|
|
4257
|
+
_templateObject$8(), duration, translateOffset, position, width, theme$1.zIndex.appBar);
|
|
4066
4258
|
var StyledIconWrapper =
|
|
4067
4259
|
/*#__PURE__*/
|
|
4068
4260
|
styled$1.div(
|
|
@@ -4120,22 +4312,22 @@ var SlidingSideMenu = function SlidingSideMenu(_ref) {
|
|
|
4120
4312
|
onClick: handleIconClick
|
|
4121
4313
|
}, icon) : React.createElement(StyledIconWrapper, {
|
|
4122
4314
|
onClick: handleIconClick
|
|
4123
|
-
}, React.createElement(Icon, Object.assign({
|
|
4124
|
-
icon: Link,
|
|
4315
|
+
}, React.createElement(Icon$1, Object.assign({
|
|
4316
|
+
icon: Link$1,
|
|
4125
4317
|
className: cx(IconStyle, IconClassName)
|
|
4126
4318
|
}, restIconProps))), React.createElement(StyledSideMenu, Object.assign({
|
|
4127
4319
|
open: open,
|
|
4128
4320
|
duration: duration,
|
|
4129
4321
|
position: position,
|
|
4130
4322
|
width: width
|
|
4131
|
-
}, restProps), children), React.createElement(Backdrop, Object.assign({
|
|
4323
|
+
}, restProps), children), React.createElement(Backdrop$1, Object.assign({
|
|
4132
4324
|
open: open,
|
|
4133
4325
|
onClick: handleClose,
|
|
4134
4326
|
className: BackdropClassName
|
|
4135
4327
|
}, restBackdropProps)));
|
|
4136
4328
|
};
|
|
4137
4329
|
|
|
4138
|
-
var index$
|
|
4330
|
+
var index$5 = /*#__PURE__*/
|
|
4139
4331
|
memo(SlidingSideMenu);
|
|
4140
4332
|
|
|
4141
4333
|
var useStyles$b =
|
|
@@ -4193,10 +4385,10 @@ var Divider = function Divider(props) {
|
|
|
4193
4385
|
|
|
4194
4386
|
var boxShadowForMenu = "0 1px 6px 0 rgba(69, 69, 69, 0.2),\n0 1px 5px 0 rgba(69, 69, 69, 0.1)";
|
|
4195
4387
|
|
|
4196
|
-
function _templateObject$
|
|
4388
|
+
function _templateObject$9() {
|
|
4197
4389
|
var data = _taggedTemplateLiteralLoose(["\n @import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:400,500,700|Roboto:400,500,700&display=swap&subset=chinese-traditional');\n "]);
|
|
4198
4390
|
|
|
4199
|
-
_templateObject$
|
|
4391
|
+
_templateObject$9 = function _templateObject() {
|
|
4200
4392
|
return data;
|
|
4201
4393
|
};
|
|
4202
4394
|
|
|
@@ -4216,7 +4408,7 @@ var muiThemeForSurveyCake =
|
|
|
4216
4408
|
/*#__PURE__*/
|
|
4217
4409
|
function () {
|
|
4218
4410
|
// Side Effects
|
|
4219
|
-
injectGlobal(_templateObject$
|
|
4411
|
+
injectGlobal(_templateObject$9());
|
|
4220
4412
|
var BASE_FONT_SIZE = 16;
|
|
4221
4413
|
return createTheme({
|
|
4222
4414
|
typography: {
|
|
@@ -5053,7 +5245,7 @@ var AngleRight$1 = {
|
|
|
5053
5245
|
}
|
|
5054
5246
|
};
|
|
5055
5247
|
|
|
5056
|
-
var Link$
|
|
5248
|
+
var Link$2 = {
|
|
5057
5249
|
name: 'link-o',
|
|
5058
5250
|
definition: {
|
|
5059
5251
|
viewBox: '0 0 512 512',
|
|
@@ -5417,5 +5609,5 @@ WordingProvider.useWording = function () {
|
|
|
5417
5609
|
return useContext(WordingContext);
|
|
5418
5610
|
};
|
|
5419
5611
|
|
|
5420
|
-
export { AnimateHeight, ArrowRight, Avatar, Backdrop, BrowserLight, Button$1 as Button, Card, CardActionArea, CardActions, CardContent, CardHeader, MuiCheckbox as Checkbox, index$
|
|
5612
|
+
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, 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 };
|
|
5421
5613
|
//# sourceMappingURL=rc.esm.js.map
|