@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
|
@@ -5,11 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
6
6
|
|
|
7
7
|
var MUICssBaseline = _interopDefault(require('@material-ui/core/CssBaseline'));
|
|
8
|
-
var React = require('react');
|
|
9
|
-
var React__default = _interopDefault(React);
|
|
10
|
-
var SvgIcon = _interopDefault(require('@material-ui/core/SvgIcon'));
|
|
11
8
|
var styles$5 = require('@material-ui/core/styles');
|
|
12
9
|
var polished = require('polished');
|
|
10
|
+
var React = require('react');
|
|
11
|
+
var React__default = _interopDefault(React);
|
|
13
12
|
var emotionTheming = require('emotion-theming');
|
|
14
13
|
var MUIBackdrop = _interopDefault(require('@material-ui/core/Backdrop'));
|
|
15
14
|
var Box$1 = _interopDefault(require('@material-ui/core/Box'));
|
|
@@ -21,37 +20,55 @@ var MUIDialogActions = _interopDefault(require('@material-ui/core/DialogActions'
|
|
|
21
20
|
var MUIDialogContent = _interopDefault(require('@material-ui/core/DialogContent'));
|
|
22
21
|
var MUIDialogContentText = _interopDefault(require('@material-ui/core/DialogContentText'));
|
|
23
22
|
var MUIDialogTitle = _interopDefault(require('@material-ui/core/DialogTitle'));
|
|
24
|
-
var Fade = _interopDefault(require('@material-ui/core/Fade'));
|
|
23
|
+
var Fade$1 = _interopDefault(require('@material-ui/core/Fade'));
|
|
25
24
|
var MUIFormControl = _interopDefault(require('@material-ui/core/FormControl'));
|
|
26
25
|
var MUIFormControlLabel = _interopDefault(require('@material-ui/core/FormControlLabel'));
|
|
27
26
|
var MUIFormGroup = _interopDefault(require('@material-ui/core/FormGroup'));
|
|
28
27
|
var MUIFormHelperText = _interopDefault(require('@material-ui/core/FormHelperText'));
|
|
29
28
|
var MUIFormLabel = _interopDefault(require('@material-ui/core/FormLabel'));
|
|
30
|
-
var
|
|
31
|
-
var MUILink = _interopDefault(require('@material-ui/core/Link'));
|
|
32
|
-
var MuiMenuItem$1 = _interopDefault(require('@material-ui/core/MenuItem'));
|
|
33
|
-
var MUIOutlinedInput = _interopDefault(require('@material-ui/core/OutlinedInput'));
|
|
29
|
+
var emotion = require('emotion');
|
|
34
30
|
var MuiSelect$1 = _interopDefault(require('@material-ui/core/Select'));
|
|
31
|
+
var AddCircleOutline = _interopDefault(require('@material-ui/icons/AddCircleOutline'));
|
|
32
|
+
var ArrowDropDown = _interopDefault(require('@material-ui/icons/ArrowDropDown'));
|
|
35
33
|
var Cancel = _interopDefault(require('@material-ui/icons/Cancel'));
|
|
36
34
|
var CheckCircle$2 = _interopDefault(require('@material-ui/icons/CheckCircle'));
|
|
37
35
|
var Close = _interopDefault(require('@material-ui/icons/Close'));
|
|
36
|
+
var Delete = _interopDefault(require('@material-ui/icons/Delete'));
|
|
37
|
+
var Edit = _interopDefault(require('@material-ui/icons/Edit'));
|
|
38
|
+
var FormatBold = _interopDefault(require('@material-ui/icons/FormatBold'));
|
|
39
|
+
var FormatColorFill = _interopDefault(require('@material-ui/icons/FormatColorFill'));
|
|
40
|
+
var FormatItalic = _interopDefault(require('@material-ui/icons/FormatItalic'));
|
|
41
|
+
var FormatUnderlined = _interopDefault(require('@material-ui/icons/FormatUnderlined'));
|
|
42
|
+
var Help = _interopDefault(require('@material-ui/icons/Help'));
|
|
38
43
|
var HelpOutline = _interopDefault(require('@material-ui/icons/HelpOutline'));
|
|
44
|
+
var Info = _interopDefault(require('@material-ui/icons/Info'));
|
|
39
45
|
var KeyboardArrowDown = _interopDefault(require('@material-ui/icons/KeyboardArrowDown'));
|
|
46
|
+
var Link$3 = _interopDefault(require('@material-ui/icons/Link'));
|
|
47
|
+
var NavigateNext = _interopDefault(require('@material-ui/icons/NavigateNext'));
|
|
48
|
+
var OpenInNew = _interopDefault(require('@material-ui/icons/OpenInNew'));
|
|
40
49
|
var ReportProblemRounded = _interopDefault(require('@material-ui/icons/ReportProblemRounded'));
|
|
41
50
|
var Schedule = _interopDefault(require('@material-ui/icons/Schedule'));
|
|
42
|
-
var
|
|
51
|
+
var Settings = _interopDefault(require('@material-ui/icons/Settings'));
|
|
52
|
+
var SettingsOutlined = _interopDefault(require('@material-ui/icons/SettingsOutlined'));
|
|
53
|
+
var WatchLater = _interopDefault(require('@material-ui/icons/WatchLater'));
|
|
54
|
+
var WebAsset = _interopDefault(require('@material-ui/icons/WebAsset'));
|
|
55
|
+
var SvgIcon = _interopDefault(require('@material-ui/core/SvgIcon'));
|
|
56
|
+
var MuiListSubheader$1 = _interopDefault(require('@material-ui/core/ListSubheader'));
|
|
57
|
+
var MuiMenuItem$1 = _interopDefault(require('@material-ui/core/MenuItem'));
|
|
58
|
+
var Typography$2 = _interopDefault(require('@material-ui/core/Typography'));
|
|
59
|
+
var MUIIconButton = _interopDefault(require('@material-ui/core/IconButton'));
|
|
60
|
+
var MUILink = _interopDefault(require('@material-ui/core/Link'));
|
|
61
|
+
var MUIOutlinedInput = _interopDefault(require('@material-ui/core/OutlinedInput'));
|
|
43
62
|
var MUISwitch = _interopDefault(require('@material-ui/core/Switch'));
|
|
44
63
|
var MUITextField = _interopDefault(require('@material-ui/core/TextField'));
|
|
45
64
|
var MUIToggleButton = _interopDefault(require('@material-ui/lab/ToggleButton'));
|
|
46
65
|
var MUIToggleButtonGroup = _interopDefault(require('@material-ui/lab/ToggleButtonGroup'));
|
|
47
66
|
var MUITooltip = _interopDefault(require('@material-ui/core/Tooltip'));
|
|
48
|
-
var Typography$1 = _interopDefault(require('@material-ui/core/Typography'));
|
|
49
67
|
var MuiAvatar = _interopDefault(require('@material-ui/core/Avatar'));
|
|
50
68
|
var Chip$1 = _interopDefault(require('@material-ui/core/Chip'));
|
|
51
69
|
var colorManipulator = require('@material-ui/core/styles/colorManipulator');
|
|
52
70
|
var MuiPaper = _interopDefault(require('@material-ui/core/Paper'));
|
|
53
71
|
var MuiCard = _interopDefault(require('@material-ui/core/Card'));
|
|
54
|
-
var emotion = require('emotion');
|
|
55
72
|
var MuiCardActionArea = _interopDefault(require('@material-ui/core/CardActionArea'));
|
|
56
73
|
var MuiCardActions = _interopDefault(require('@material-ui/core/CardActions'));
|
|
57
74
|
var MuiCardContent = _interopDefault(require('@material-ui/core/CardContent'));
|
|
@@ -59,7 +76,6 @@ var MuiCardHeader = _interopDefault(require('@material-ui/core/CardHeader'));
|
|
|
59
76
|
var pickers = require('@material-ui/pickers');
|
|
60
77
|
var styled = _interopDefault(require('@emotion/styled'));
|
|
61
78
|
var core$1 = require('@emotion/core');
|
|
62
|
-
var MuiListSubheader = _interopDefault(require('@material-ui/core/ListSubheader'));
|
|
63
79
|
var Popper$1 = _interopDefault(require('@material-ui/core/Popper'));
|
|
64
80
|
var ClickAwayListener = _interopDefault(require('@material-ui/core/ClickAwayListener'));
|
|
65
81
|
var MuiMenuList = _interopDefault(require('@material-ui/core/MenuList'));
|
|
@@ -79,72 +95,6 @@ var Slide = _interopDefault(require('@material-ui/core/Slide'));
|
|
|
79
95
|
var MuiDivider = _interopDefault(require('@material-ui/core/Divider'));
|
|
80
96
|
var DateFnsUtils = _interopDefault(require('@date-io/date-fns'));
|
|
81
97
|
|
|
82
|
-
var BrowserOutlined =
|
|
83
|
-
/*#__PURE__*/
|
|
84
|
-
React.forwardRef(function (props, ref) {
|
|
85
|
-
return React__default.createElement(SvgIcon, Object.assign({}, props, {
|
|
86
|
-
ref: ref,
|
|
87
|
-
viewBox: "0 0 24 24"
|
|
88
|
-
}), React__default.createElement("path", {
|
|
89
|
-
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"
|
|
90
|
-
}));
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
var Info =
|
|
94
|
-
/*#__PURE__*/
|
|
95
|
-
React.forwardRef(function (props, ref) {
|
|
96
|
-
return React__default.createElement(SvgIcon, Object.assign({}, props, {
|
|
97
|
-
ref: ref,
|
|
98
|
-
viewBox: "0 0 512 512"
|
|
99
|
-
}), React__default.createElement("path", {
|
|
100
|
-
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"
|
|
101
|
-
}));
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
var Question =
|
|
105
|
-
/*#__PURE__*/
|
|
106
|
-
React.forwardRef(function (props, ref) {
|
|
107
|
-
return React__default.createElement(SvgIcon, Object.assign({}, props, {
|
|
108
|
-
ref: ref,
|
|
109
|
-
viewBox: "0 0 512 512"
|
|
110
|
-
}), React__default.createElement("path", {
|
|
111
|
-
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"
|
|
112
|
-
}));
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
var QuestionOutlined =
|
|
116
|
-
/*#__PURE__*/
|
|
117
|
-
React.forwardRef(function (props, ref) {
|
|
118
|
-
return React__default.createElement(SvgIcon, Object.assign({}, props, {
|
|
119
|
-
ref: ref,
|
|
120
|
-
viewBox: "0 0 16 16"
|
|
121
|
-
}), React__default.createElement("path", {
|
|
122
|
-
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"
|
|
123
|
-
}));
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
var SettingsOutlined =
|
|
127
|
-
/*#__PURE__*/
|
|
128
|
-
React.forwardRef(function (props, ref) {
|
|
129
|
-
return React__default.createElement(SvgIcon, Object.assign({}, props, {
|
|
130
|
-
ref: ref,
|
|
131
|
-
viewBox: "0 0 512 512"
|
|
132
|
-
}), React__default.createElement("path", {
|
|
133
|
-
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"
|
|
134
|
-
}));
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
var index = {
|
|
140
|
-
__proto__: null,
|
|
141
|
-
BrowserOutlined: BrowserOutlined,
|
|
142
|
-
Info: Info,
|
|
143
|
-
Question: Question,
|
|
144
|
-
QuestionOutlined: QuestionOutlined,
|
|
145
|
-
SettingsOutlined: SettingsOutlined
|
|
146
|
-
};
|
|
147
|
-
|
|
148
98
|
var core =
|
|
149
99
|
/*#__PURE__*/
|
|
150
100
|
styles$5.createTheme({
|
|
@@ -480,7 +430,7 @@ var MuiLink = {
|
|
|
480
430
|
root: {
|
|
481
431
|
'&:hover': {
|
|
482
432
|
color: function color(props) {
|
|
483
|
-
return props.color && (props.color === 'primary' || props.color === 'secondary') ? core.palette[props.color].dark :
|
|
433
|
+
return props.color && (props.color === 'primary' || props.color === 'secondary' || props.color === 'error') ? core.palette[props.color].dark : 'inherit';
|
|
484
434
|
}
|
|
485
435
|
}
|
|
486
436
|
}
|
|
@@ -497,7 +447,9 @@ var MuiMenuItem = {
|
|
|
497
447
|
core.spacing(1) + "px",
|
|
498
448
|
'&.Mui-selected': {
|
|
499
449
|
color: core.palette.primary.main,
|
|
500
|
-
backgroundColor:
|
|
450
|
+
backgroundColor:
|
|
451
|
+
/*#__PURE__*/
|
|
452
|
+
polished.lighten(0.45, core.palette.primary.main),
|
|
501
453
|
'&:hover': {
|
|
502
454
|
backgroundColor:
|
|
503
455
|
/*#__PURE__*/
|
|
@@ -553,6 +505,16 @@ var MuiOutlinedInput = {
|
|
|
553
505
|
}
|
|
554
506
|
};
|
|
555
507
|
|
|
508
|
+
var useMenuStyles =
|
|
509
|
+
/*#__PURE__*/
|
|
510
|
+
styles$5.makeStyles(function (theme) {
|
|
511
|
+
return {
|
|
512
|
+
root: {
|
|
513
|
+
boxShadow: 'none',
|
|
514
|
+
border: "1px solid " + theme.palette.primary.main
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
});
|
|
556
518
|
var MuiSelect = {
|
|
557
519
|
root:
|
|
558
520
|
/*#__PURE__*/
|
|
@@ -733,6 +695,30 @@ var MuiTypography = {
|
|
|
733
695
|
}, _h6)
|
|
734
696
|
};
|
|
735
697
|
|
|
698
|
+
var MuiList = {
|
|
699
|
+
root: {
|
|
700
|
+
backgroundColor: core.palette.common.white
|
|
701
|
+
},
|
|
702
|
+
padding: {
|
|
703
|
+
paddingLeft:
|
|
704
|
+
/*#__PURE__*/
|
|
705
|
+
core.spacing(1),
|
|
706
|
+
paddingRight:
|
|
707
|
+
/*#__PURE__*/
|
|
708
|
+
core.spacing(1)
|
|
709
|
+
}
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
var MuiListSubheader = {
|
|
713
|
+
root: {
|
|
714
|
+
lineHeight: 1.6,
|
|
715
|
+
color: core.palette.grey[500]
|
|
716
|
+
}
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
var useMUITheme = function useMUITheme() {
|
|
720
|
+
return styles$5.useTheme();
|
|
721
|
+
};
|
|
736
722
|
var theme =
|
|
737
723
|
/*#__PURE__*/
|
|
738
724
|
styles$5.createTheme({
|
|
@@ -754,7 +740,9 @@ styles$5.createTheme({
|
|
|
754
740
|
MuiToggleButton: MuiToggleButton,
|
|
755
741
|
MuiToggleButtonGroup: MuiToggleButtonGroup,
|
|
756
742
|
MuiTooltip: MuiTooltip,
|
|
757
|
-
MuiTypography: MuiTypography
|
|
743
|
+
MuiTypography: MuiTypography,
|
|
744
|
+
MuiList: MuiList,
|
|
745
|
+
MuiListSubheader: MuiListSubheader
|
|
758
746
|
}
|
|
759
747
|
}, core);
|
|
760
748
|
|
|
@@ -773,23 +761,25 @@ var PureThemeProvider = function PureThemeProvider(props) {
|
|
|
773
761
|
theme: theme
|
|
774
762
|
}, props.children);
|
|
775
763
|
};
|
|
776
|
-
var useMUITheme = function useMUITheme() {
|
|
777
|
-
return styles$5.useTheme();
|
|
778
|
-
};
|
|
779
764
|
|
|
780
|
-
var
|
|
781
|
-
|
|
765
|
+
var Backdrop =
|
|
766
|
+
/*#__PURE__*/
|
|
767
|
+
React.forwardRef(function (props, ref) {
|
|
782
768
|
return React__default.createElement(MUIBackdrop, Object.assign({}, props, {
|
|
783
769
|
ref: ref
|
|
784
770
|
}), props.children);
|
|
785
771
|
});
|
|
772
|
+
Backdrop.displayName = 'Backdrop';
|
|
786
773
|
|
|
787
|
-
function Box(props) {
|
|
774
|
+
var Box = function Box(props) {
|
|
788
775
|
return React__default.createElement(Box$1, Object.assign({}, props), props.children);
|
|
789
|
-
}
|
|
776
|
+
};
|
|
790
777
|
|
|
791
|
-
|
|
792
|
-
|
|
778
|
+
Box.displayName = 'Box';
|
|
779
|
+
|
|
780
|
+
var Button =
|
|
781
|
+
/*#__PURE__*/
|
|
782
|
+
React.forwardRef(function (props, ref) {
|
|
793
783
|
var _props$size = props.size,
|
|
794
784
|
size = _props$size === void 0 ? 'small' : _props$size,
|
|
795
785
|
_props$disableElevati = props.disableElevation,
|
|
@@ -802,176 +792,181 @@ React.forwardRef(function Button(props, ref) {
|
|
|
802
792
|
size: size
|
|
803
793
|
}));
|
|
804
794
|
});
|
|
795
|
+
Button.displayName = 'Button';
|
|
805
796
|
|
|
806
|
-
var
|
|
807
|
-
|
|
797
|
+
var ButtonGroup =
|
|
798
|
+
/*#__PURE__*/
|
|
799
|
+
React.forwardRef(function (props, ref) {
|
|
808
800
|
return React__default.createElement(MUIButtonGroup, Object.assign({}, props, {
|
|
809
801
|
ref: ref
|
|
810
802
|
}), props.children);
|
|
811
803
|
});
|
|
804
|
+
ButtonGroup.displayName = 'ButtonGroup';
|
|
812
805
|
|
|
813
|
-
var CircularProgress =
|
|
814
|
-
|
|
806
|
+
var CircularProgress =
|
|
807
|
+
/*#__PURE__*/
|
|
808
|
+
React.forwardRef(function (props, ref) {
|
|
815
809
|
return React__default.createElement(MUICircularProgress, Object.assign({}, props, {
|
|
816
810
|
ref: ref
|
|
817
811
|
}));
|
|
818
812
|
});
|
|
813
|
+
CircularProgress.displayName = 'CircularProgress';
|
|
819
814
|
|
|
820
|
-
function CssBaseline(props) {
|
|
815
|
+
var CssBaseline = function CssBaseline(props) {
|
|
821
816
|
return React__default.createElement(MUICssBaseline, Object.assign({}, props), props.children);
|
|
822
|
-
}
|
|
817
|
+
};
|
|
823
818
|
|
|
824
|
-
var
|
|
825
|
-
|
|
819
|
+
var Dialog =
|
|
820
|
+
/*#__PURE__*/
|
|
821
|
+
React.forwardRef(function (props, ref) {
|
|
826
822
|
var rest = _objectWithoutPropertiesLoose(props, ["disableBackdropClick", "onBackdropClick", "onEnter", "onEntered", "onEntering", "onEscapeKeyDown", "onExit", "onExited", "onExiting", "onRendered"]);
|
|
827
823
|
|
|
828
824
|
return React__default.createElement(MUIDialog, Object.assign({}, rest, {
|
|
829
825
|
ref: ref
|
|
830
826
|
}), props.children);
|
|
831
827
|
});
|
|
828
|
+
Dialog.displayName = 'Dialog';
|
|
832
829
|
|
|
833
|
-
var
|
|
834
|
-
|
|
830
|
+
var DialogActions =
|
|
831
|
+
/*#__PURE__*/
|
|
832
|
+
React.forwardRef(function (props, ref) {
|
|
835
833
|
return React__default.createElement(MUIDialogActions, Object.assign({}, props, {
|
|
836
834
|
ref: ref
|
|
837
835
|
}), props.children);
|
|
838
836
|
});
|
|
837
|
+
DialogActions.displayName = 'DialogActions';
|
|
839
838
|
|
|
840
|
-
var
|
|
841
|
-
|
|
839
|
+
var DialogContent =
|
|
840
|
+
/*#__PURE__*/
|
|
841
|
+
React.forwardRef(function (props, ref) {
|
|
842
842
|
return React__default.createElement(MUIDialogContent, Object.assign({}, props, {
|
|
843
843
|
ref: ref
|
|
844
844
|
}), props.children);
|
|
845
845
|
});
|
|
846
|
+
DialogContent.displayName = 'DialogContent';
|
|
846
847
|
|
|
847
|
-
var
|
|
848
|
-
|
|
848
|
+
var DialogContentText =
|
|
849
|
+
/*#__PURE__*/
|
|
850
|
+
React.forwardRef(function (props, ref) {
|
|
849
851
|
return React__default.createElement(MUIDialogContentText, Object.assign({}, props, {
|
|
850
852
|
ref: ref
|
|
851
853
|
}), props.children);
|
|
852
854
|
});
|
|
855
|
+
DialogContentText.displayName = 'DialogContentText';
|
|
853
856
|
|
|
854
|
-
var
|
|
855
|
-
|
|
857
|
+
var DialogTitle =
|
|
858
|
+
/*#__PURE__*/
|
|
859
|
+
React.forwardRef(function (props, ref) {
|
|
856
860
|
return React__default.createElement(MUIDialogTitle, Object.assign({}, props, {
|
|
857
861
|
ref: ref
|
|
858
862
|
}), props.children);
|
|
859
863
|
});
|
|
864
|
+
DialogTitle.displayName = 'DialogTitle';
|
|
860
865
|
|
|
861
|
-
var
|
|
862
|
-
|
|
863
|
-
|
|
866
|
+
var Fade =
|
|
867
|
+
/*#__PURE__*/
|
|
868
|
+
React.forwardRef(function (props, ref) {
|
|
869
|
+
return React__default.createElement(Fade$1, Object.assign({}, props, {
|
|
864
870
|
ref: ref
|
|
865
871
|
}));
|
|
866
872
|
});
|
|
873
|
+
Fade.displayName = 'Fade';
|
|
867
874
|
|
|
868
|
-
var
|
|
869
|
-
|
|
875
|
+
var FormControl =
|
|
876
|
+
/*#__PURE__*/
|
|
877
|
+
React.forwardRef(function (props, ref) {
|
|
870
878
|
return React__default.createElement(MUIFormControl, Object.assign({}, props, {
|
|
871
879
|
ref: ref
|
|
872
880
|
}), props.children);
|
|
873
881
|
});
|
|
882
|
+
FormControl.displayName = 'FormControl';
|
|
874
883
|
|
|
875
|
-
var
|
|
876
|
-
|
|
884
|
+
var FormControlLabel =
|
|
885
|
+
/*#__PURE__*/
|
|
886
|
+
React.forwardRef(function (props, ref) {
|
|
877
887
|
return React__default.createElement(MUIFormControlLabel, Object.assign({}, props, {
|
|
878
888
|
ref: ref
|
|
879
889
|
}));
|
|
880
890
|
});
|
|
891
|
+
FormControlLabel.displayName = 'FormControlLabel';
|
|
881
892
|
|
|
882
|
-
var
|
|
883
|
-
|
|
893
|
+
var FormGroup =
|
|
894
|
+
/*#__PURE__*/
|
|
895
|
+
React.forwardRef(function (props, ref) {
|
|
884
896
|
return React__default.createElement(MUIFormGroup, Object.assign({}, props, {
|
|
885
897
|
ref: ref
|
|
886
898
|
}));
|
|
887
899
|
});
|
|
900
|
+
FormGroup.displayName = 'FormGroup';
|
|
888
901
|
|
|
889
|
-
var
|
|
890
|
-
|
|
902
|
+
var FormHelperText =
|
|
903
|
+
/*#__PURE__*/
|
|
904
|
+
React.forwardRef(function (props, ref) {
|
|
891
905
|
return React__default.createElement(MUIFormHelperText, Object.assign({}, props, {
|
|
892
906
|
ref: ref
|
|
893
907
|
}));
|
|
894
908
|
});
|
|
909
|
+
FormHelperText.displayName = 'FormHelperText';
|
|
895
910
|
|
|
896
|
-
var
|
|
897
|
-
|
|
911
|
+
var FormLabel =
|
|
912
|
+
/*#__PURE__*/
|
|
913
|
+
React.forwardRef(function (props, ref) {
|
|
898
914
|
var rest = _extends({}, props);
|
|
899
915
|
|
|
900
916
|
return React__default.createElement(MUIFormLabel, Object.assign({}, rest, {
|
|
901
917
|
ref: ref
|
|
902
918
|
}), props.children);
|
|
903
919
|
});
|
|
920
|
+
FormLabel.displayName = 'FormLabel';
|
|
904
921
|
|
|
905
|
-
var
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
rest = _objectWithoutPropertiesLoose(props, ["size"]);
|
|
910
|
-
|
|
911
|
-
return React__default.createElement(MUIIconButton, Object.assign({}, rest, {
|
|
912
|
-
ref: ref,
|
|
913
|
-
size: size
|
|
914
|
-
}));
|
|
915
|
-
});
|
|
916
|
-
|
|
917
|
-
var index$f = /*#__PURE__*/
|
|
918
|
-
React.forwardRef(function Link(props, ref) {
|
|
919
|
-
var _props$underline = props.underline,
|
|
920
|
-
underline = _props$underline === void 0 ? 'none' : _props$underline,
|
|
921
|
-
rest = _objectWithoutPropertiesLoose(props, ["underline"]);
|
|
922
|
-
|
|
923
|
-
return React__default.createElement(MUILink, Object.assign({}, rest, {
|
|
922
|
+
var FilterAlt =
|
|
923
|
+
/*#__PURE__*/
|
|
924
|
+
React.forwardRef(function (props, ref) {
|
|
925
|
+
return React__default.createElement(SvgIcon, Object.assign({}, props, {
|
|
924
926
|
ref: ref,
|
|
925
|
-
|
|
926
|
-
})
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
return React__default.createElement(Button, Object.assign({}, rest, {
|
|
936
|
-
startIcon: loading && React__default.createElement(CircularProgress, {
|
|
937
|
-
size: "1rem",
|
|
938
|
-
color: "inherit"
|
|
939
|
-
}),
|
|
940
|
-
ref: ref
|
|
941
|
-
}));
|
|
942
|
-
});
|
|
943
|
-
|
|
944
|
-
var index$h = /*#__PURE__*/
|
|
945
|
-
React.forwardRef(function MenuItem(props, ref) {
|
|
946
|
-
var rest = _objectWithoutPropertiesLoose(props, ["button"]);
|
|
947
|
-
|
|
948
|
-
return React__default.createElement(MuiMenuItem$1, Object.assign({}, rest, {
|
|
949
|
-
ref: ref
|
|
950
|
-
}), props.children);
|
|
951
|
-
});
|
|
952
|
-
|
|
953
|
-
var index$i = /*#__PURE__*/
|
|
954
|
-
React.forwardRef(function OutlinedInput(props, ref) {
|
|
955
|
-
return React__default.createElement(MUIOutlinedInput, Object.assign({}, props, {
|
|
956
|
-
ref: ref
|
|
957
|
-
}));
|
|
927
|
+
viewBox: "0 0 24 24"
|
|
928
|
+
}), React__default.createElement("g", null, React__default.createElement("path", {
|
|
929
|
+
d: "M0,0h24 M24,24H0",
|
|
930
|
+
fill: "none"
|
|
931
|
+
}), React__default.createElement("path", {
|
|
932
|
+
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"
|
|
933
|
+
}), React__default.createElement("path", {
|
|
934
|
+
d: "M0,0h24v24H0V0z",
|
|
935
|
+
fill: "none"
|
|
936
|
+
})));
|
|
958
937
|
});
|
|
938
|
+
FilterAlt.displayName = 'FilterAlt';
|
|
959
939
|
|
|
960
940
|
var Icons = {
|
|
961
|
-
|
|
941
|
+
AddCircleOutline: AddCircleOutline,
|
|
942
|
+
ArrowDropDown: ArrowDropDown,
|
|
962
943
|
Cancel: Cancel,
|
|
963
944
|
CheckCircle: CheckCircle$2,
|
|
964
945
|
Close: Close,
|
|
946
|
+
Delete: Delete,
|
|
947
|
+
Edit: Edit,
|
|
948
|
+
FilterAlt: FilterAlt,
|
|
949
|
+
FormatBold: FormatBold,
|
|
950
|
+
FormatColorFill: FormatColorFill,
|
|
951
|
+
FormatItalic: FormatItalic,
|
|
952
|
+
FormatUnderlined: FormatUnderlined,
|
|
953
|
+
Help: Help,
|
|
965
954
|
HelpOutline: HelpOutline,
|
|
966
|
-
Info: Info
|
|
955
|
+
Info: Info,
|
|
967
956
|
KeyboardArrowDown: KeyboardArrowDown,
|
|
968
|
-
|
|
957
|
+
Link: Link$3,
|
|
958
|
+
NavigateNext: NavigateNext,
|
|
959
|
+
OpenInNew: OpenInNew,
|
|
969
960
|
ReportProblemRounded: ReportProblemRounded,
|
|
970
961
|
Schedule: Schedule,
|
|
971
|
-
|
|
962
|
+
Settings: Settings,
|
|
963
|
+
SettingsOutlined: SettingsOutlined,
|
|
964
|
+
WatchLater: WatchLater,
|
|
965
|
+
WebAsset: WebAsset
|
|
972
966
|
};
|
|
973
|
-
var
|
|
974
|
-
|
|
967
|
+
var Icon =
|
|
968
|
+
/*#__PURE__*/
|
|
969
|
+
React.forwardRef(function (props, ref) {
|
|
975
970
|
var name = props.name,
|
|
976
971
|
rest = _objectWithoutPropertiesLoose(props, ["name"]);
|
|
977
972
|
|
|
@@ -980,19 +975,11 @@ React.forwardRef(function Icon(props, ref) {
|
|
|
980
975
|
ref: ref
|
|
981
976
|
}));
|
|
982
977
|
});
|
|
978
|
+
Icon.displayName = 'Icon';
|
|
983
979
|
|
|
984
|
-
var
|
|
980
|
+
var Select =
|
|
985
981
|
/*#__PURE__*/
|
|
986
|
-
|
|
987
|
-
return {
|
|
988
|
-
root: {
|
|
989
|
-
boxShadow: 'none',
|
|
990
|
-
border: "1px solid " + theme.palette.primary.main
|
|
991
|
-
}
|
|
992
|
-
};
|
|
993
|
-
});
|
|
994
|
-
var index$k = /*#__PURE__*/
|
|
995
|
-
React.forwardRef(function Select(props, ref) {
|
|
982
|
+
React.forwardRef(function (props, ref) {
|
|
996
983
|
var theme = useMUITheme();
|
|
997
984
|
|
|
998
985
|
var _useMenuStyles = useMenuStyles(),
|
|
@@ -1017,9 +1004,217 @@ React.forwardRef(function Select(props, ref) {
|
|
|
1017
1004
|
}
|
|
1018
1005
|
}), props.children);
|
|
1019
1006
|
});
|
|
1007
|
+
Select.displayName = 'Select';
|
|
1008
|
+
|
|
1009
|
+
var ListSubheader =
|
|
1010
|
+
/*#__PURE__*/
|
|
1011
|
+
React.forwardRef(function (props, ref) {
|
|
1012
|
+
var _props$disableGutters = props.disableGutters,
|
|
1013
|
+
disableGutters = _props$disableGutters === void 0 ? true : _props$disableGutters,
|
|
1014
|
+
rest = _objectWithoutPropertiesLoose(props, ["disableGutters"]);
|
|
1015
|
+
|
|
1016
|
+
return React__default.createElement(MuiListSubheader$1, Object.assign({}, rest, {
|
|
1017
|
+
ref: ref,
|
|
1018
|
+
disableGutters: disableGutters
|
|
1019
|
+
}), props.children);
|
|
1020
|
+
});
|
|
1021
|
+
ListSubheader.displayName = 'ListSubheader';
|
|
1022
|
+
|
|
1023
|
+
var MenuItem =
|
|
1024
|
+
/*#__PURE__*/
|
|
1025
|
+
React.forwardRef(function (props, ref) {
|
|
1026
|
+
var rest = _objectWithoutPropertiesLoose(props, ["button"]);
|
|
1027
|
+
|
|
1028
|
+
return React__default.createElement(MuiMenuItem$1, Object.assign({}, rest, {
|
|
1029
|
+
ref: ref
|
|
1030
|
+
}), props.children);
|
|
1031
|
+
});
|
|
1032
|
+
MenuItem.displayName = 'MenuItem';
|
|
1020
1033
|
|
|
1021
|
-
var
|
|
1022
|
-
|
|
1034
|
+
var Typography =
|
|
1035
|
+
/*#__PURE__*/
|
|
1036
|
+
React.forwardRef(function (props, ref) {
|
|
1037
|
+
return React__default.createElement(Typography$2, Object.assign({}, props, {
|
|
1038
|
+
ref: ref
|
|
1039
|
+
}));
|
|
1040
|
+
});
|
|
1041
|
+
Typography.displayName = 'Typography';
|
|
1042
|
+
|
|
1043
|
+
var useSelectStyle =
|
|
1044
|
+
/*#__PURE__*/
|
|
1045
|
+
styles$5.makeStyles(function () {
|
|
1046
|
+
return {
|
|
1047
|
+
select: {
|
|
1048
|
+
padding: '5px 8px',
|
|
1049
|
+
display: 'inline-flex'
|
|
1050
|
+
}
|
|
1051
|
+
};
|
|
1052
|
+
});
|
|
1053
|
+
var useCustomOptionStyle =
|
|
1054
|
+
/*#__PURE__*/
|
|
1055
|
+
styles$5.makeStyles(function (theme) {
|
|
1056
|
+
return {
|
|
1057
|
+
container: {
|
|
1058
|
+
backgroundColor: theme.palette.common.white,
|
|
1059
|
+
'&:hover': {
|
|
1060
|
+
backgroundColor: polished.lighten(0.3, theme.palette.primary.main),
|
|
1061
|
+
'& > div': {
|
|
1062
|
+
backgroundColor: theme.palette.primary.main,
|
|
1063
|
+
color: theme.palette.common.white
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
'&.Mui-selected': {
|
|
1067
|
+
backgroundColor: polished.lighten(0.45, theme.palette.primary.main),
|
|
1068
|
+
'& > div': {
|
|
1069
|
+
backgroundColor: theme.palette.primary.main,
|
|
1070
|
+
color: theme.palette.common.white
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
root: {
|
|
1075
|
+
padding: theme.spacing(0.5) + "px " + theme.spacing(1) + "px",
|
|
1076
|
+
color: theme.palette.grey[600],
|
|
1077
|
+
backgroundColor: theme.palette.grey[100],
|
|
1078
|
+
fontSize: '0.875rem',
|
|
1079
|
+
fontWeight: 500,
|
|
1080
|
+
lineHeight: 1.6,
|
|
1081
|
+
borderRadius: theme.spacing(0.5),
|
|
1082
|
+
overflow: 'hidden',
|
|
1083
|
+
whiteSpace: 'nowrap',
|
|
1084
|
+
textOverflow: 'ellipsis',
|
|
1085
|
+
maxWidth: 'calc(100% - 16px)',
|
|
1086
|
+
transition: '0.2s',
|
|
1087
|
+
transitionProperty: 'color, background-color'
|
|
1088
|
+
},
|
|
1089
|
+
"var": {
|
|
1090
|
+
'&::before': {
|
|
1091
|
+
content: '"# "'
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
};
|
|
1095
|
+
});
|
|
1096
|
+
|
|
1097
|
+
function _templateObject() {
|
|
1098
|
+
var data = _taggedTemplateLiteralLoose(["\n color: ", ";\n "]);
|
|
1099
|
+
|
|
1100
|
+
_templateObject = function _templateObject() {
|
|
1101
|
+
return data;
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
return data;
|
|
1105
|
+
}
|
|
1106
|
+
var GroupSelect =
|
|
1107
|
+
/*#__PURE__*/
|
|
1108
|
+
React.forwardRef(function (props, ref) {
|
|
1109
|
+
var theme = useMUITheme();
|
|
1110
|
+
var customOptionStyle = useCustomOptionStyle();
|
|
1111
|
+
var selectStyle = useSelectStyle();
|
|
1112
|
+
|
|
1113
|
+
var groups = props.groups,
|
|
1114
|
+
value = props.value,
|
|
1115
|
+
onChange = props.onChange,
|
|
1116
|
+
_props$variant = props.variant,
|
|
1117
|
+
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
1118
|
+
onOpen = props.onOpen,
|
|
1119
|
+
onClose = props.onClose,
|
|
1120
|
+
rest = _objectWithoutPropertiesLoose(props, ["groups", "value", "onChange", "variant", "onOpen", "onClose"]);
|
|
1121
|
+
|
|
1122
|
+
return React__default.createElement(Select, Object.assign({}, rest, {
|
|
1123
|
+
ref: ref,
|
|
1124
|
+
value: value,
|
|
1125
|
+
onChange: onChange,
|
|
1126
|
+
variant: variant,
|
|
1127
|
+
onOpen: onOpen,
|
|
1128
|
+
onClose: onClose,
|
|
1129
|
+
displayEmpty: true,
|
|
1130
|
+
fullWidth: true,
|
|
1131
|
+
classes: selectStyle
|
|
1132
|
+
}), groups.map(function (group) {
|
|
1133
|
+
return [React__default.createElement(ListSubheader, {
|
|
1134
|
+
style: {
|
|
1135
|
+
pointerEvents: 'none'
|
|
1136
|
+
}
|
|
1137
|
+
}, group.groupTitle), group.options.map(function (opt) {
|
|
1138
|
+
if (opt.emptyLabel) {
|
|
1139
|
+
return React__default.createElement(MenuItem, {
|
|
1140
|
+
style: {
|
|
1141
|
+
pointerEvents: 'none'
|
|
1142
|
+
}
|
|
1143
|
+
}, React__default.createElement(Typography, {
|
|
1144
|
+
variant: "body2",
|
|
1145
|
+
className: emotion.css(_templateObject(), theme.palette.grey[500])
|
|
1146
|
+
}, opt.emptyLabel));
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
return React__default.createElement(MenuItem, {
|
|
1150
|
+
className: customOptionStyle.container,
|
|
1151
|
+
value: opt.value,
|
|
1152
|
+
key: opt.value
|
|
1153
|
+
}, React__default.createElement("div", {
|
|
1154
|
+
className: emotion.cx(customOptionStyle.root, customOptionStyle[group.optionType])
|
|
1155
|
+
}, opt.children));
|
|
1156
|
+
})];
|
|
1157
|
+
}));
|
|
1158
|
+
});
|
|
1159
|
+
GroupSelect.displayName = 'GroupSelect';
|
|
1160
|
+
|
|
1161
|
+
var IconButton =
|
|
1162
|
+
/*#__PURE__*/
|
|
1163
|
+
React.forwardRef(function (props, ref) {
|
|
1164
|
+
var _props$size = props.size,
|
|
1165
|
+
size = _props$size === void 0 ? 'small' : _props$size,
|
|
1166
|
+
rest = _objectWithoutPropertiesLoose(props, ["size"]);
|
|
1167
|
+
|
|
1168
|
+
return React__default.createElement(MUIIconButton, Object.assign({}, rest, {
|
|
1169
|
+
ref: ref,
|
|
1170
|
+
size: size
|
|
1171
|
+
}));
|
|
1172
|
+
});
|
|
1173
|
+
IconButton.displayName = 'IconButton';
|
|
1174
|
+
|
|
1175
|
+
var Link =
|
|
1176
|
+
/*#__PURE__*/
|
|
1177
|
+
React.forwardRef(function (props, ref) {
|
|
1178
|
+
var _props$underline = props.underline,
|
|
1179
|
+
underline = _props$underline === void 0 ? 'none' : _props$underline,
|
|
1180
|
+
rest = _objectWithoutPropertiesLoose(props, ["underline"]);
|
|
1181
|
+
|
|
1182
|
+
return React__default.createElement(MUILink, Object.assign({}, rest, {
|
|
1183
|
+
ref: ref,
|
|
1184
|
+
underline: underline
|
|
1185
|
+
}));
|
|
1186
|
+
});
|
|
1187
|
+
Link.displayName = 'Link';
|
|
1188
|
+
|
|
1189
|
+
var LoadingButton =
|
|
1190
|
+
/*#__PURE__*/
|
|
1191
|
+
React.forwardRef(function (props, ref) {
|
|
1192
|
+
var _props$loading = props.loading,
|
|
1193
|
+
loading = _props$loading === void 0 ? true : _props$loading,
|
|
1194
|
+
rest = _objectWithoutPropertiesLoose(props, ["loading"]);
|
|
1195
|
+
|
|
1196
|
+
return React__default.createElement(Button, Object.assign({}, rest, {
|
|
1197
|
+
startIcon: loading && React__default.createElement(CircularProgress, {
|
|
1198
|
+
size: "1rem",
|
|
1199
|
+
color: "inherit"
|
|
1200
|
+
}),
|
|
1201
|
+
ref: ref
|
|
1202
|
+
}));
|
|
1203
|
+
});
|
|
1204
|
+
LoadingButton.displayName = 'LoadingButton';
|
|
1205
|
+
|
|
1206
|
+
var OutlinedInput =
|
|
1207
|
+
/*#__PURE__*/
|
|
1208
|
+
React.forwardRef(function OutlinedInput(props, ref) {
|
|
1209
|
+
return React__default.createElement(MUIOutlinedInput, Object.assign({}, props, {
|
|
1210
|
+
ref: ref
|
|
1211
|
+
}));
|
|
1212
|
+
});
|
|
1213
|
+
OutlinedInput.displayName = 'OutlinedInput';
|
|
1214
|
+
|
|
1215
|
+
var Switch =
|
|
1216
|
+
/*#__PURE__*/
|
|
1217
|
+
React.forwardRef(function (props, ref) {
|
|
1023
1218
|
var _props$color = props.color,
|
|
1024
1219
|
color = _props$color === void 0 ? 'default' : _props$color,
|
|
1025
1220
|
rest = _objectWithoutPropertiesLoose(props, ["color"]);
|
|
@@ -1029,86 +1224,83 @@ React.forwardRef(function Switch(props, ref) {
|
|
|
1029
1224
|
color: color
|
|
1030
1225
|
}));
|
|
1031
1226
|
});
|
|
1227
|
+
Switch.displayName = 'Switch';
|
|
1032
1228
|
|
|
1033
|
-
var
|
|
1034
|
-
|
|
1229
|
+
var TextField =
|
|
1230
|
+
/*#__PURE__*/
|
|
1231
|
+
React.forwardRef(function (props, ref) {
|
|
1035
1232
|
return React__default.createElement(MUITextField, Object.assign({}, props, {
|
|
1036
1233
|
ref: ref
|
|
1037
1234
|
}));
|
|
1038
1235
|
});
|
|
1236
|
+
TextField.displayName = 'TextField';
|
|
1039
1237
|
|
|
1040
|
-
var
|
|
1041
|
-
|
|
1238
|
+
var ToggleButton =
|
|
1239
|
+
/*#__PURE__*/
|
|
1240
|
+
React.forwardRef(function (props, ref) {
|
|
1042
1241
|
return React__default.createElement(MUIToggleButton, Object.assign({}, props, {
|
|
1043
1242
|
ref: ref
|
|
1044
1243
|
}));
|
|
1045
1244
|
});
|
|
1245
|
+
ToggleButton.displayName = 'ToggleButton';
|
|
1046
1246
|
|
|
1047
|
-
var
|
|
1048
|
-
|
|
1247
|
+
var ToggleButtonGroup =
|
|
1248
|
+
/*#__PURE__*/
|
|
1249
|
+
React.forwardRef(function (props, ref) {
|
|
1049
1250
|
return React__default.createElement(MUIToggleButtonGroup, Object.assign({}, props, {
|
|
1050
1251
|
ref: ref
|
|
1051
1252
|
}), props.children);
|
|
1052
1253
|
});
|
|
1254
|
+
ToggleButtonGroup.displayName = 'ToggleButtonGroup';
|
|
1053
1255
|
|
|
1054
|
-
var
|
|
1055
|
-
|
|
1256
|
+
var Tooltip =
|
|
1257
|
+
/*#__PURE__*/
|
|
1258
|
+
React.forwardRef(function (props, ref) {
|
|
1056
1259
|
return React__default.createElement(MUITooltip, Object.assign({}, props, {
|
|
1057
1260
|
ref: ref
|
|
1058
1261
|
}), props.children);
|
|
1059
1262
|
});
|
|
1060
|
-
|
|
1061
|
-
var index$q = /*#__PURE__*/
|
|
1062
|
-
React.forwardRef(function Typography(props, ref) {
|
|
1063
|
-
var _props$color = props.color,
|
|
1064
|
-
color = _props$color === void 0 ? 'textPrimary' : _props$color,
|
|
1065
|
-
rest = _objectWithoutPropertiesLoose(props, ["color"]);
|
|
1066
|
-
|
|
1067
|
-
return React__default.createElement(Typography$1, Object.assign({}, rest, {
|
|
1068
|
-
ref: ref,
|
|
1069
|
-
color: color
|
|
1070
|
-
}));
|
|
1071
|
-
});
|
|
1263
|
+
Tooltip.displayName = 'Tooltip';
|
|
1072
1264
|
|
|
1073
1265
|
|
|
1074
1266
|
|
|
1075
|
-
var index
|
|
1267
|
+
var index = {
|
|
1076
1268
|
__proto__: null,
|
|
1077
|
-
CustomSvgIcon: index,
|
|
1078
1269
|
theme: theme,
|
|
1079
|
-
ThemeProvider: ThemeProvider,
|
|
1080
1270
|
useMUITheme: useMUITheme,
|
|
1271
|
+
ThemeProvider: ThemeProvider,
|
|
1081
1272
|
PureThemeProvider: PureThemeProvider,
|
|
1082
|
-
Backdrop:
|
|
1273
|
+
Backdrop: Backdrop,
|
|
1083
1274
|
Box: Box,
|
|
1084
1275
|
Button: Button,
|
|
1085
|
-
ButtonGroup:
|
|
1276
|
+
ButtonGroup: ButtonGroup,
|
|
1086
1277
|
CircularProgress: CircularProgress,
|
|
1087
1278
|
CssBaseline: CssBaseline,
|
|
1088
|
-
Dialog:
|
|
1089
|
-
DialogActions:
|
|
1090
|
-
DialogContent:
|
|
1091
|
-
DialogContentText:
|
|
1092
|
-
DialogTitle:
|
|
1093
|
-
Fade:
|
|
1094
|
-
FormControl:
|
|
1095
|
-
FormControlLabel:
|
|
1096
|
-
FormGroup:
|
|
1097
|
-
FormHelperText:
|
|
1098
|
-
FormLabel:
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1279
|
+
Dialog: Dialog,
|
|
1280
|
+
DialogActions: DialogActions,
|
|
1281
|
+
DialogContent: DialogContent,
|
|
1282
|
+
DialogContentText: DialogContentText,
|
|
1283
|
+
DialogTitle: DialogTitle,
|
|
1284
|
+
Fade: Fade,
|
|
1285
|
+
FormControl: FormControl,
|
|
1286
|
+
FormControlLabel: FormControlLabel,
|
|
1287
|
+
FormGroup: FormGroup,
|
|
1288
|
+
FormHelperText: FormHelperText,
|
|
1289
|
+
FormLabel: FormLabel,
|
|
1290
|
+
GroupSelect: GroupSelect,
|
|
1291
|
+
IconButton: IconButton,
|
|
1292
|
+
Link: Link,
|
|
1293
|
+
LoadingButton: LoadingButton,
|
|
1294
|
+
MenuItem: MenuItem,
|
|
1295
|
+
OutlinedInput: OutlinedInput,
|
|
1296
|
+
Select: Select,
|
|
1297
|
+
Switch: Switch,
|
|
1298
|
+
TextField: TextField,
|
|
1299
|
+
ToggleButton: ToggleButton,
|
|
1300
|
+
ToggleButtonGroup: ToggleButtonGroup,
|
|
1301
|
+
Tooltip: Tooltip,
|
|
1302
|
+
Typography: Typography,
|
|
1303
|
+
Icon: Icon
|
|
1112
1304
|
};
|
|
1113
1305
|
|
|
1114
1306
|
var getAutoHeightDuration = function getAutoHeightDuration(height) {
|
|
@@ -1410,7 +1602,7 @@ var Chip = function Chip(_ref) {
|
|
|
1410
1602
|
);
|
|
1411
1603
|
};
|
|
1412
1604
|
|
|
1413
|
-
var index$
|
|
1605
|
+
var index$1 = /*#__PURE__*/
|
|
1414
1606
|
React.memo(Chip);
|
|
1415
1607
|
|
|
1416
1608
|
var Paper =
|
|
@@ -1471,10 +1663,10 @@ function _templateObject2() {
|
|
|
1471
1663
|
return data;
|
|
1472
1664
|
}
|
|
1473
1665
|
|
|
1474
|
-
function _templateObject() {
|
|
1666
|
+
function _templateObject$1() {
|
|
1475
1667
|
var data = _taggedTemplateLiteralLoose(["\n\t100% {\n\t\ttransform: rotate(360deg);\n\t}\n"]);
|
|
1476
1668
|
|
|
1477
|
-
_templateObject = function _templateObject() {
|
|
1669
|
+
_templateObject$1 = function _templateObject() {
|
|
1478
1670
|
return data;
|
|
1479
1671
|
};
|
|
1480
1672
|
|
|
@@ -1484,7 +1676,7 @@ var loadingCircle =
|
|
|
1484
1676
|
/*#__PURE__*/
|
|
1485
1677
|
emotion.keyframes(
|
|
1486
1678
|
/*#__PURE__*/
|
|
1487
|
-
_templateObject());
|
|
1679
|
+
_templateObject$1());
|
|
1488
1680
|
var spin =
|
|
1489
1681
|
/*#__PURE__*/
|
|
1490
1682
|
emotion.css(
|
|
@@ -1497,7 +1689,7 @@ var svgBaseProps = (_svgBaseProps = {
|
|
|
1497
1689
|
height: '1em',
|
|
1498
1690
|
fill: 'currentColor'
|
|
1499
1691
|
}, _svgBaseProps['aria-hidden'] = true, _svgBaseProps.focusable = 'false', _svgBaseProps);
|
|
1500
|
-
var Icon =
|
|
1692
|
+
var Icon$1 =
|
|
1501
1693
|
/*#__PURE__*/
|
|
1502
1694
|
React.forwardRef(function (_ref, ref) {
|
|
1503
1695
|
var className = _ref.className,
|
|
@@ -1539,7 +1731,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
1539
1731
|
d: icon.definition.pathData
|
|
1540
1732
|
}));
|
|
1541
1733
|
});
|
|
1542
|
-
Icon.defaultProps = {
|
|
1734
|
+
Icon$1.defaultProps = {
|
|
1543
1735
|
size: 1
|
|
1544
1736
|
};
|
|
1545
1737
|
|
|
@@ -1561,10 +1753,10 @@ function _templateObject2$1() {
|
|
|
1561
1753
|
return data;
|
|
1562
1754
|
}
|
|
1563
1755
|
|
|
1564
|
-
function _templateObject$
|
|
1756
|
+
function _templateObject$2() {
|
|
1565
1757
|
var data = _taggedTemplateLiteralLoose(["\n position: relative;\n"]);
|
|
1566
1758
|
|
|
1567
|
-
_templateObject$
|
|
1759
|
+
_templateObject$2 = function _templateObject() {
|
|
1568
1760
|
return data;
|
|
1569
1761
|
};
|
|
1570
1762
|
|
|
@@ -1574,7 +1766,7 @@ var DatePickerWrapper =
|
|
|
1574
1766
|
/*#__PURE__*/
|
|
1575
1767
|
styled('section')(
|
|
1576
1768
|
/*#__PURE__*/
|
|
1577
|
-
_templateObject$
|
|
1769
|
+
_templateObject$2());
|
|
1578
1770
|
var IonwWrapper =
|
|
1579
1771
|
/*#__PURE__*/
|
|
1580
1772
|
styled('section')(
|
|
@@ -1650,7 +1842,7 @@ var DatePicker = function DatePicker(_ref) {
|
|
|
1650
1842
|
root: inputClasses.root
|
|
1651
1843
|
}
|
|
1652
1844
|
};
|
|
1653
|
-
return React__default.createElement(DatePickerWrapper, null, React__default.createElement(IonwWrapper, null, React__default.createElement(Icon, {
|
|
1845
|
+
return React__default.createElement(DatePickerWrapper, null, React__default.createElement(IonwWrapper, null, React__default.createElement(Icon$1, {
|
|
1654
1846
|
icon: CalendarAlt
|
|
1655
1847
|
})), React__default.createElement(StyledMuiDatePicker, Object.assign({
|
|
1656
1848
|
value: value,
|
|
@@ -1742,7 +1934,7 @@ makeStyles([['typography', function (theme, _ref) {
|
|
|
1742
1934
|
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"];
|
|
1743
1935
|
}]]);
|
|
1744
1936
|
|
|
1745
|
-
var Typography =
|
|
1937
|
+
var Typography$1 =
|
|
1746
1938
|
/*#__PURE__*/
|
|
1747
1939
|
React.forwardRef(function (_ref, ref) {
|
|
1748
1940
|
var children = _ref.children,
|
|
@@ -1760,7 +1952,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
1760
1952
|
ref: ref
|
|
1761
1953
|
}), children);
|
|
1762
1954
|
});
|
|
1763
|
-
Typography.defaultProps = {
|
|
1955
|
+
Typography$1.defaultProps = {
|
|
1764
1956
|
weight: 'normal',
|
|
1765
1957
|
gutterBottom: false,
|
|
1766
1958
|
noWrap: false
|
|
@@ -1814,7 +2006,7 @@ styles$5.makeStyles(inputAdornmentStyles);
|
|
|
1814
2006
|
var CommonKeyboardDatePickerProps = {
|
|
1815
2007
|
keyboardIcon:
|
|
1816
2008
|
/*#__PURE__*/
|
|
1817
|
-
React__default.createElement(Icon, {
|
|
2009
|
+
React__default.createElement(Icon$1, {
|
|
1818
2010
|
icon: CalendarAlt
|
|
1819
2011
|
}),
|
|
1820
2012
|
maxDateMessage: null,
|
|
@@ -1833,7 +2025,7 @@ var CommonKeyboardDatePickerProps = {
|
|
|
1833
2025
|
|
|
1834
2026
|
var InvalidDateMsg = function InvalidDateMsg(_ref) {
|
|
1835
2027
|
var msg = _ref.msg;
|
|
1836
|
-
return React__default.createElement(Typography, {
|
|
2028
|
+
return React__default.createElement(Typography$1, {
|
|
1837
2029
|
variant: 'span',
|
|
1838
2030
|
color: 'error'
|
|
1839
2031
|
}, msg);
|
|
@@ -1950,7 +2142,7 @@ Tag.defaultProps = {
|
|
|
1950
2142
|
variant: 'filled'
|
|
1951
2143
|
};
|
|
1952
2144
|
|
|
1953
|
-
var Tooltip =
|
|
2145
|
+
var Tooltip$1 =
|
|
1954
2146
|
/*#__PURE__*/
|
|
1955
2147
|
React.forwardRef(function (_ref, ref) {
|
|
1956
2148
|
var children = _ref.children,
|
|
@@ -2070,7 +2262,7 @@ styles$5.makeStyles({
|
|
|
2070
2262
|
}
|
|
2071
2263
|
});
|
|
2072
2264
|
|
|
2073
|
-
var Select = function Select(props) {
|
|
2265
|
+
var Select$1 = function Select(props) {
|
|
2074
2266
|
var options = props.options,
|
|
2075
2267
|
value = props.value,
|
|
2076
2268
|
onChange = props.onChange,
|
|
@@ -2145,7 +2337,7 @@ styles$5.createStyles({
|
|
|
2145
2337
|
pointerEvents: 'none'
|
|
2146
2338
|
}
|
|
2147
2339
|
});
|
|
2148
|
-
var useCustomOptionStyle =
|
|
2340
|
+
var useCustomOptionStyle$1 =
|
|
2149
2341
|
/*#__PURE__*/
|
|
2150
2342
|
styles$5.makeStyles({
|
|
2151
2343
|
container: {
|
|
@@ -2208,12 +2400,12 @@ var StyledSelect =
|
|
|
2208
2400
|
styles$5.withStyles(styles$3)(MuiSelect$1);
|
|
2209
2401
|
var StyledEmptyLabel =
|
|
2210
2402
|
/*#__PURE__*/
|
|
2211
|
-
styles$5.withStyles(emptyStyles)(MuiListSubheader);
|
|
2403
|
+
styles$5.withStyles(emptyStyles)(MuiListSubheader$1);
|
|
2212
2404
|
var StyledSubheader =
|
|
2213
2405
|
/*#__PURE__*/
|
|
2214
|
-
styles$5.withStyles(subheaderStyles)(MuiListSubheader);
|
|
2406
|
+
styles$5.withStyles(subheaderStyles)(MuiListSubheader$1);
|
|
2215
2407
|
|
|
2216
|
-
var GroupSelect = function GroupSelect(props) {
|
|
2408
|
+
var GroupSelect$1 = function GroupSelect(props) {
|
|
2217
2409
|
var groups = props.groups,
|
|
2218
2410
|
value = props.value,
|
|
2219
2411
|
onChange = props.onChange,
|
|
@@ -2221,7 +2413,7 @@ var GroupSelect = function GroupSelect(props) {
|
|
|
2221
2413
|
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
2222
2414
|
onOpen = props.onOpen,
|
|
2223
2415
|
onClose = props.onClose;
|
|
2224
|
-
var classes = useCustomOptionStyle();
|
|
2416
|
+
var classes = useCustomOptionStyle$1();
|
|
2225
2417
|
return React__default.createElement(StyledSelect, {
|
|
2226
2418
|
value: value,
|
|
2227
2419
|
onChange: onChange,
|
|
@@ -2291,10 +2483,10 @@ function _templateObject2$2() {
|
|
|
2291
2483
|
return data;
|
|
2292
2484
|
}
|
|
2293
2485
|
|
|
2294
|
-
function _templateObject$
|
|
2486
|
+
function _templateObject$3() {
|
|
2295
2487
|
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"]);
|
|
2296
2488
|
|
|
2297
|
-
_templateObject$
|
|
2489
|
+
_templateObject$3 = function _templateObject() {
|
|
2298
2490
|
return data;
|
|
2299
2491
|
};
|
|
2300
2492
|
|
|
@@ -2304,7 +2496,7 @@ var InputStyle =
|
|
|
2304
2496
|
/*#__PURE__*/
|
|
2305
2497
|
styled('input')(
|
|
2306
2498
|
/*#__PURE__*/
|
|
2307
|
-
_templateObject$
|
|
2499
|
+
_templateObject$3());
|
|
2308
2500
|
var LabelStyle =
|
|
2309
2501
|
/*#__PURE__*/
|
|
2310
2502
|
styled('label')(
|
|
@@ -2332,7 +2524,7 @@ styled('span')(
|
|
|
2332
2524
|
/*#__PURE__*/
|
|
2333
2525
|
_templateObject5(), theme$1.color.text.B3, theme$1.typography.fontWeight.normal);
|
|
2334
2526
|
|
|
2335
|
-
var Switch =
|
|
2527
|
+
var Switch$1 =
|
|
2336
2528
|
/*#__PURE__*/
|
|
2337
2529
|
React.forwardRef(function (_ref, ref) {
|
|
2338
2530
|
var checked = _ref.checked,
|
|
@@ -2401,7 +2593,7 @@ var MenuList = function MenuList(_ref) {
|
|
|
2401
2593
|
var TransitionProps = _ref2.TransitionProps;
|
|
2402
2594
|
|
|
2403
2595
|
if (fade) {
|
|
2404
|
-
return React__default.createElement(Fade, Object.assign({}, TransitionProps, {
|
|
2596
|
+
return React__default.createElement(Fade$1, Object.assign({}, TransitionProps, {
|
|
2405
2597
|
timeout: 400
|
|
2406
2598
|
}), paper);
|
|
2407
2599
|
} else {
|
|
@@ -2431,7 +2623,7 @@ styles$5.makeStyles({
|
|
|
2431
2623
|
}
|
|
2432
2624
|
});
|
|
2433
2625
|
|
|
2434
|
-
var MenuItem = function MenuItem(props) {
|
|
2626
|
+
var MenuItem$1 = function MenuItem(props) {
|
|
2435
2627
|
var children = props.children,
|
|
2436
2628
|
restProps = _objectWithoutPropertiesLoose(props, ["children", "backgroundColor", "color", "hoverBackgroundColor", "hoverColor"]);
|
|
2437
2629
|
|
|
@@ -2471,7 +2663,7 @@ var StyledMuiToggleButton =
|
|
|
2471
2663
|
/*#__PURE__*/
|
|
2472
2664
|
styles$5.withStyles(styles$4)(MUIToggleButton);
|
|
2473
2665
|
|
|
2474
|
-
var ToggleButtonGroup = function ToggleButtonGroup(props) {
|
|
2666
|
+
var ToggleButtonGroup$1 = function ToggleButtonGroup(props) {
|
|
2475
2667
|
var value = props.value,
|
|
2476
2668
|
_props$exclusive = props.exclusive,
|
|
2477
2669
|
exclusive = _props$exclusive === void 0 ? true : _props$exclusive,
|
|
@@ -2659,9 +2851,9 @@ var Pagination = function Pagination(_ref) {
|
|
|
2659
2851
|
}), React__default.createElement(Box$1, {
|
|
2660
2852
|
pr: 0.5,
|
|
2661
2853
|
pl: 1
|
|
2662
|
-
}, React__default.createElement(Typography$
|
|
2854
|
+
}, React__default.createElement(Typography$2, {
|
|
2663
2855
|
variant: "body1"
|
|
2664
|
-
}, "\uFF0F")), React__default.createElement(Typography$
|
|
2856
|
+
}, "\uFF0F")), React__default.createElement(Typography$2, {
|
|
2665
2857
|
variant: "body1"
|
|
2666
2858
|
}, totalPages)), React__default.createElement(ChevronRightIconButton, {
|
|
2667
2859
|
disabled: !hasNext,
|
|
@@ -2672,7 +2864,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
2672
2864
|
}));
|
|
2673
2865
|
};
|
|
2674
2866
|
|
|
2675
|
-
var index$
|
|
2867
|
+
var index$2 = /*#__PURE__*/
|
|
2676
2868
|
React.memo(Pagination);
|
|
2677
2869
|
|
|
2678
2870
|
var useStyles$6 =
|
|
@@ -2881,10 +3073,10 @@ function _templateObject2$3() {
|
|
|
2881
3073
|
return data;
|
|
2882
3074
|
}
|
|
2883
3075
|
|
|
2884
|
-
function _templateObject$
|
|
3076
|
+
function _templateObject$4() {
|
|
2885
3077
|
var data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"]);
|
|
2886
3078
|
|
|
2887
|
-
_templateObject$
|
|
3079
|
+
_templateObject$4 = function _templateObject() {
|
|
2888
3080
|
return data;
|
|
2889
3081
|
};
|
|
2890
3082
|
|
|
@@ -2894,7 +3086,7 @@ var StepperContainer =
|
|
|
2894
3086
|
/*#__PURE__*/
|
|
2895
3087
|
emotion.css(
|
|
2896
3088
|
/*#__PURE__*/
|
|
2897
|
-
_templateObject$
|
|
3089
|
+
_templateObject$4());
|
|
2898
3090
|
var ConnectorContainer =
|
|
2899
3091
|
/*#__PURE__*/
|
|
2900
3092
|
emotion.css(
|
|
@@ -2922,7 +3114,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
2922
3114
|
var Connector = React__default.createElement("div", {
|
|
2923
3115
|
key: idx + "_connector",
|
|
2924
3116
|
className: ConnectorContainer
|
|
2925
|
-
}, React__default.createElement(Icon, {
|
|
3117
|
+
}, React__default.createElement(Icon$1, {
|
|
2926
3118
|
icon: LongArrowRight
|
|
2927
3119
|
}));
|
|
2928
3120
|
return [].concat(acc, [newStep, Connector]);
|
|
@@ -2933,13 +3125,13 @@ React.forwardRef(function (_ref, ref) {
|
|
|
2933
3125
|
className: StepperContainer
|
|
2934
3126
|
}, restProps), stepsWithConnector);
|
|
2935
3127
|
});
|
|
2936
|
-
var index$
|
|
3128
|
+
var index$3 = /*#__PURE__*/
|
|
2937
3129
|
React.memo(Stepper);
|
|
2938
3130
|
|
|
2939
|
-
function _templateObject$
|
|
3131
|
+
function _templateObject$5() {
|
|
2940
3132
|
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"]);
|
|
2941
3133
|
|
|
2942
|
-
_templateObject$
|
|
3134
|
+
_templateObject$5 = function _templateObject() {
|
|
2943
3135
|
return data;
|
|
2944
3136
|
};
|
|
2945
3137
|
|
|
@@ -2949,7 +3141,7 @@ var SytledStep =
|
|
|
2949
3141
|
/*#__PURE__*/
|
|
2950
3142
|
styled('button')(
|
|
2951
3143
|
/*#__PURE__*/
|
|
2952
|
-
_templateObject$
|
|
3144
|
+
_templateObject$5(), function (props) {
|
|
2953
3145
|
return props.disabled ? 'not-allowed' : 'pointer';
|
|
2954
3146
|
}, function (props) {
|
|
2955
3147
|
return props.active ? theme$1.color.text.B6 : theme$1.color.text.B3;
|
|
@@ -2983,13 +3175,13 @@ React.forwardRef(function (_ref, ref) {
|
|
|
2983
3175
|
active: active
|
|
2984
3176
|
}, restProps), children);
|
|
2985
3177
|
});
|
|
2986
|
-
var index$
|
|
3178
|
+
var index$4 = /*#__PURE__*/
|
|
2987
3179
|
React.memo(Step);
|
|
2988
3180
|
|
|
2989
|
-
function _templateObject$
|
|
3181
|
+
function _templateObject$6() {
|
|
2990
3182
|
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"]);
|
|
2991
3183
|
|
|
2992
|
-
_templateObject$
|
|
3184
|
+
_templateObject$6 = function _templateObject() {
|
|
2993
3185
|
return data;
|
|
2994
3186
|
};
|
|
2995
3187
|
|
|
@@ -2999,7 +3191,7 @@ var StyledEditableTable =
|
|
|
2999
3191
|
/*#__PURE__*/
|
|
3000
3192
|
emotion.css(
|
|
3001
3193
|
/*#__PURE__*/
|
|
3002
|
-
_templateObject$
|
|
3194
|
+
_templateObject$6());
|
|
3003
3195
|
|
|
3004
3196
|
var EditableTable = function EditableTable(_ref) {
|
|
3005
3197
|
var rows = _ref.rows,
|
|
@@ -3644,7 +3836,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
3644
3836
|
return React__default.createElement("div", {
|
|
3645
3837
|
className: styles.message,
|
|
3646
3838
|
onTransitionEnd: onTransitionEnd
|
|
3647
|
-
}, React__default.createElement(Icon, {
|
|
3839
|
+
}, React__default.createElement(Icon$1, {
|
|
3648
3840
|
className: styles.icon,
|
|
3649
3841
|
icon: icons[type]
|
|
3650
3842
|
}), React__default.createElement("div", {
|
|
@@ -3729,7 +3921,7 @@ var Modal = function Modal(_ref) {
|
|
|
3729
3921
|
BackdropComponent: MUIBackdrop,
|
|
3730
3922
|
BackdropProps: _extends({}, backdropProps),
|
|
3731
3923
|
closeAfterTransition: true
|
|
3732
|
-
}, restProps), React__default.createElement(Fade, {
|
|
3924
|
+
}, restProps), React__default.createElement(Fade$1, {
|
|
3733
3925
|
"in": open
|
|
3734
3926
|
}, children));
|
|
3735
3927
|
};
|
|
@@ -3791,10 +3983,10 @@ function _templateObject2$4() {
|
|
|
3791
3983
|
return data;
|
|
3792
3984
|
}
|
|
3793
3985
|
|
|
3794
|
-
function _templateObject$
|
|
3986
|
+
function _templateObject$7() {
|
|
3795
3987
|
var data = _taggedTemplateLiteralLoose(["\n display: flex;\n"]);
|
|
3796
3988
|
|
|
3797
|
-
_templateObject$
|
|
3989
|
+
_templateObject$7 = function _templateObject() {
|
|
3798
3990
|
return data;
|
|
3799
3991
|
};
|
|
3800
3992
|
|
|
@@ -3825,7 +4017,7 @@ var MessageWrapper =
|
|
|
3825
4017
|
/*#__PURE__*/
|
|
3826
4018
|
emotion.css(
|
|
3827
4019
|
/*#__PURE__*/
|
|
3828
|
-
_templateObject$
|
|
4020
|
+
_templateObject$7());
|
|
3829
4021
|
var MessageContent =
|
|
3830
4022
|
/*#__PURE__*/
|
|
3831
4023
|
emotion.css(
|
|
@@ -3874,28 +4066,28 @@ var transitionMap = (_transitionMap = {}, _transitionMap[Direction.LEFT] = Trans
|
|
|
3874
4066
|
var semanticIcon = (_semanticIcon = {}, _semanticIcon[Semantic.WARNING] = {
|
|
3875
4067
|
icon:
|
|
3876
4068
|
/*#__PURE__*/
|
|
3877
|
-
React__default.createElement(Icon, {
|
|
4069
|
+
React__default.createElement(Icon$1, {
|
|
3878
4070
|
icon: ExclamationTriangle
|
|
3879
4071
|
}),
|
|
3880
4072
|
color: '#F3973E'
|
|
3881
4073
|
}, _semanticIcon[Semantic.INFO] = {
|
|
3882
4074
|
icon:
|
|
3883
4075
|
/*#__PURE__*/
|
|
3884
|
-
React__default.createElement(Icon, {
|
|
4076
|
+
React__default.createElement(Icon$1, {
|
|
3885
4077
|
icon: InfoCircle
|
|
3886
4078
|
}),
|
|
3887
4079
|
color: '#4DBAE9'
|
|
3888
4080
|
}, _semanticIcon[Semantic.SUCCESS] = {
|
|
3889
4081
|
icon:
|
|
3890
4082
|
/*#__PURE__*/
|
|
3891
|
-
React__default.createElement(Icon, {
|
|
4083
|
+
React__default.createElement(Icon$1, {
|
|
3892
4084
|
icon: CheckCircle
|
|
3893
4085
|
}),
|
|
3894
4086
|
color: '#A0D45E'
|
|
3895
4087
|
}, _semanticIcon[Semantic.ERROR] = {
|
|
3896
4088
|
icon:
|
|
3897
4089
|
/*#__PURE__*/
|
|
3898
|
-
React__default.createElement(Icon, {
|
|
4090
|
+
React__default.createElement(Icon$1, {
|
|
3899
4091
|
icon: TimesCircle
|
|
3900
4092
|
}),
|
|
3901
4093
|
color: '#EC3C63'
|
|
@@ -3925,12 +4117,12 @@ React.forwardRef(function (_ref, ref) {
|
|
|
3925
4117
|
color: iconColor
|
|
3926
4118
|
}, MessageIcon), React__default.createElement("div", {
|
|
3927
4119
|
className: MessageContent
|
|
3928
|
-
}, title && React__default.createElement(Typography, {
|
|
4120
|
+
}, title && React__default.createElement(Typography$1, {
|
|
3929
4121
|
variant: "h6",
|
|
3930
4122
|
weight: "medium",
|
|
3931
4123
|
color: "text.B6",
|
|
3932
4124
|
className: TitleStyle
|
|
3933
|
-
}, title), React__default.createElement(Typography, {
|
|
4125
|
+
}, title), React__default.createElement(Typography$1, {
|
|
3934
4126
|
variant: "p",
|
|
3935
4127
|
color: "text.B6"
|
|
3936
4128
|
}, message))),
|
|
@@ -3966,7 +4158,7 @@ React.forwardRef(function (_ref2, ref) {
|
|
|
3966
4158
|
}));
|
|
3967
4159
|
});
|
|
3968
4160
|
|
|
3969
|
-
var Backdrop =
|
|
4161
|
+
var Backdrop$1 =
|
|
3970
4162
|
/*#__PURE__*/
|
|
3971
4163
|
React.forwardRef(function (props, ref) {
|
|
3972
4164
|
return React__default.createElement(MUIBackdrop, Object.assign({
|
|
@@ -3974,7 +4166,7 @@ React.forwardRef(function (props, ref) {
|
|
|
3974
4166
|
}, props), props.children);
|
|
3975
4167
|
});
|
|
3976
4168
|
|
|
3977
|
-
var Link = {
|
|
4169
|
+
var Link$1 = {
|
|
3978
4170
|
name: 'list-ul-o',
|
|
3979
4171
|
definition: {
|
|
3980
4172
|
viewBox: '0 0 512 512',
|
|
@@ -4002,10 +4194,10 @@ function _templateObject2$5() {
|
|
|
4002
4194
|
return data;
|
|
4003
4195
|
}
|
|
4004
4196
|
|
|
4005
|
-
function _templateObject$
|
|
4197
|
+
function _templateObject$8() {
|
|
4006
4198
|
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"]);
|
|
4007
4199
|
|
|
4008
|
-
_templateObject$
|
|
4200
|
+
_templateObject$8 = function _templateObject() {
|
|
4009
4201
|
return data;
|
|
4010
4202
|
};
|
|
4011
4203
|
|
|
@@ -4067,7 +4259,7 @@ var StyledSideMenu =
|
|
|
4067
4259
|
/*#__PURE__*/
|
|
4068
4260
|
styled.section(
|
|
4069
4261
|
/*#__PURE__*/
|
|
4070
|
-
_templateObject$
|
|
4262
|
+
_templateObject$8(), duration, translateOffset, position, width, theme$1.zIndex.appBar);
|
|
4071
4263
|
var StyledIconWrapper =
|
|
4072
4264
|
/*#__PURE__*/
|
|
4073
4265
|
styled.div(
|
|
@@ -4125,22 +4317,22 @@ var SlidingSideMenu = function SlidingSideMenu(_ref) {
|
|
|
4125
4317
|
onClick: handleIconClick
|
|
4126
4318
|
}, icon) : React__default.createElement(StyledIconWrapper, {
|
|
4127
4319
|
onClick: handleIconClick
|
|
4128
|
-
}, React__default.createElement(Icon, Object.assign({
|
|
4129
|
-
icon: Link,
|
|
4320
|
+
}, React__default.createElement(Icon$1, Object.assign({
|
|
4321
|
+
icon: Link$1,
|
|
4130
4322
|
className: emotion.cx(IconStyle, IconClassName)
|
|
4131
4323
|
}, restIconProps))), React__default.createElement(StyledSideMenu, Object.assign({
|
|
4132
4324
|
open: open,
|
|
4133
4325
|
duration: duration,
|
|
4134
4326
|
position: position,
|
|
4135
4327
|
width: width
|
|
4136
|
-
}, restProps), children), React__default.createElement(Backdrop, Object.assign({
|
|
4328
|
+
}, restProps), children), React__default.createElement(Backdrop$1, Object.assign({
|
|
4137
4329
|
open: open,
|
|
4138
4330
|
onClick: handleClose,
|
|
4139
4331
|
className: BackdropClassName
|
|
4140
4332
|
}, restBackdropProps)));
|
|
4141
4333
|
};
|
|
4142
4334
|
|
|
4143
|
-
var index$
|
|
4335
|
+
var index$5 = /*#__PURE__*/
|
|
4144
4336
|
React.memo(SlidingSideMenu);
|
|
4145
4337
|
|
|
4146
4338
|
var useStyles$b =
|
|
@@ -4198,10 +4390,10 @@ var Divider = function Divider(props) {
|
|
|
4198
4390
|
|
|
4199
4391
|
var boxShadowForMenu = "0 1px 6px 0 rgba(69, 69, 69, 0.2),\n0 1px 5px 0 rgba(69, 69, 69, 0.1)";
|
|
4200
4392
|
|
|
4201
|
-
function _templateObject$
|
|
4393
|
+
function _templateObject$9() {
|
|
4202
4394
|
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 "]);
|
|
4203
4395
|
|
|
4204
|
-
_templateObject$
|
|
4396
|
+
_templateObject$9 = function _templateObject() {
|
|
4205
4397
|
return data;
|
|
4206
4398
|
};
|
|
4207
4399
|
|
|
@@ -4221,7 +4413,7 @@ var muiThemeForSurveyCake =
|
|
|
4221
4413
|
/*#__PURE__*/
|
|
4222
4414
|
function () {
|
|
4223
4415
|
// Side Effects
|
|
4224
|
-
emotion.injectGlobal(_templateObject$
|
|
4416
|
+
emotion.injectGlobal(_templateObject$9());
|
|
4225
4417
|
var BASE_FONT_SIZE = 16;
|
|
4226
4418
|
return styles$5.createTheme({
|
|
4227
4419
|
typography: {
|
|
@@ -5058,7 +5250,7 @@ var AngleRight$1 = {
|
|
|
5058
5250
|
}
|
|
5059
5251
|
};
|
|
5060
5252
|
|
|
5061
|
-
var Link$
|
|
5253
|
+
var Link$2 = {
|
|
5062
5254
|
name: 'link-o',
|
|
5063
5255
|
definition: {
|
|
5064
5256
|
viewBox: '0 0 512 512',
|
|
@@ -5432,7 +5624,7 @@ Object.defineProperty(exports, 'ThemeContext', {
|
|
|
5432
5624
|
exports.AnimateHeight = AnimateHeight;
|
|
5433
5625
|
exports.ArrowRight = ArrowRight;
|
|
5434
5626
|
exports.Avatar = Avatar;
|
|
5435
|
-
exports.Backdrop = Backdrop;
|
|
5627
|
+
exports.Backdrop = Backdrop$1;
|
|
5436
5628
|
exports.BrowserLight = BrowserLight;
|
|
5437
5629
|
exports.Button = Button$1;
|
|
5438
5630
|
exports.Card = Card;
|
|
@@ -5441,42 +5633,42 @@ exports.CardActions = CardActions;
|
|
|
5441
5633
|
exports.CardContent = CardContent;
|
|
5442
5634
|
exports.CardHeader = CardHeader;
|
|
5443
5635
|
exports.Checkbox = MuiCheckbox;
|
|
5444
|
-
exports.Chip = index$
|
|
5636
|
+
exports.Chip = index$1;
|
|
5445
5637
|
exports.DatePicker = DatePicker;
|
|
5446
5638
|
exports.Divider = Divider;
|
|
5447
5639
|
exports.EditLight = EditLight;
|
|
5448
5640
|
exports.EditableTable = EditableTable;
|
|
5449
|
-
exports.GroupSelect = GroupSelect;
|
|
5450
|
-
exports.Icon = Icon;
|
|
5641
|
+
exports.GroupSelect = GroupSelect$1;
|
|
5642
|
+
exports.Icon = Icon$1;
|
|
5451
5643
|
exports.InputSlider = InputSlider;
|
|
5452
5644
|
exports.KeyboardDatePicker = KeyboardDatePicker;
|
|
5453
5645
|
exports.ListUlFilled = ListUl;
|
|
5454
5646
|
exports.LockFilled = Lock;
|
|
5455
|
-
exports.MenuItem = MenuItem;
|
|
5647
|
+
exports.MenuItem = MenuItem$1;
|
|
5456
5648
|
exports.MenuList = MenuList;
|
|
5457
5649
|
exports.Message = api;
|
|
5458
5650
|
exports.Modal = Modal;
|
|
5459
5651
|
exports.MuiThemeProvider = MuiThemeProvider;
|
|
5460
|
-
exports.Pagination = index$
|
|
5652
|
+
exports.Pagination = index$2;
|
|
5461
5653
|
exports.Paper = Paper;
|
|
5462
5654
|
exports.Popper = Popper;
|
|
5463
5655
|
exports.Portal = Portal;
|
|
5464
5656
|
exports.QuestionCircleOutline = QuestionCircleOutline;
|
|
5465
5657
|
exports.Radio = MuiRadio;
|
|
5466
5658
|
exports.RadioGroup = Radio;
|
|
5467
|
-
exports.Select = Select;
|
|
5468
|
-
exports.SlidingSideMenu = index$
|
|
5659
|
+
exports.Select = Select$1;
|
|
5660
|
+
exports.SlidingSideMenu = index$5;
|
|
5469
5661
|
exports.Snackbar = Snackbar;
|
|
5470
|
-
exports.Step = index$
|
|
5471
|
-
exports.Stepper = index$
|
|
5472
|
-
exports.Switch = Switch;
|
|
5662
|
+
exports.Step = index$4;
|
|
5663
|
+
exports.Stepper = index$3;
|
|
5664
|
+
exports.Switch = Switch$1;
|
|
5473
5665
|
exports.Tab = Tab;
|
|
5474
5666
|
exports.Tabs = Tabs;
|
|
5475
5667
|
exports.Tag = Tag;
|
|
5476
|
-
exports.ToggleButtonGroup = ToggleButtonGroup;
|
|
5477
|
-
exports.Tooltip = Tooltip;
|
|
5478
|
-
exports.Typography = Typography;
|
|
5479
|
-
exports.V2 = index
|
|
5668
|
+
exports.ToggleButtonGroup = ToggleButtonGroup$1;
|
|
5669
|
+
exports.Tooltip = Tooltip$1;
|
|
5670
|
+
exports.Typography = Typography$1;
|
|
5671
|
+
exports.V2 = index;
|
|
5480
5672
|
exports.WordingProvider = WordingProvider;
|
|
5481
5673
|
exports.analyticsLight = AnalyticsLight;
|
|
5482
5674
|
exports.angleLeftFilled = AngleLeft;
|
|
@@ -5524,10 +5716,10 @@ exports.hexToRgba = hexToRgba;
|
|
|
5524
5716
|
exports.infoCircleFilled = InfoCircle;
|
|
5525
5717
|
exports.infoCircleOutlined = InfoCircle$1;
|
|
5526
5718
|
exports.linkLight = LinkLight;
|
|
5527
|
-
exports.linkOutlined = Link$
|
|
5719
|
+
exports.linkOutlined = Link$2;
|
|
5528
5720
|
exports.linkedinBrand = Linkedin;
|
|
5529
5721
|
exports.linkedinIn = LinkedinIn;
|
|
5530
|
-
exports.listUlOutlined = Link;
|
|
5722
|
+
exports.listUlOutlined = Link$1;
|
|
5531
5723
|
exports.longArrowRightOutlined = LongArrowRight;
|
|
5532
5724
|
exports.makeStyles = makeStyles;
|
|
5533
5725
|
exports.minusLightFilled = MinusLight;
|