@surveycake/rc 2.4.0-alpha.12
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 +1586 -0
- package/README.md +9 -0
- package/dist/AnimateHeight/index.d.ts +18 -0
- package/dist/AnimateHeight/utils.d.ts +1 -0
- package/dist/Avatar/index.d.ts +4 -0
- package/dist/Avatar/style.d.ts +4 -0
- package/dist/Avatar/types.d.ts +6 -0
- package/dist/Backdrop/index.d.ts +4 -0
- package/dist/Button/index.d.ts +4 -0
- package/dist/Button/types.d.ts +5 -0
- package/dist/Card/CardActionArea/index.d.ts +8 -0
- package/dist/Card/CardActions/index.d.ts +3 -0
- package/dist/Card/CardContent/index.d.ts +2 -0
- package/dist/Card/CardHeader/index.d.ts +2 -0
- package/dist/Card/index.d.ts +4 -0
- package/dist/Card/style.d.ts +3 -0
- package/dist/Card/types.d.ts +5 -0
- package/dist/Checkbox/index.d.ts +4 -0
- package/dist/Checkbox/types.d.ts +3 -0
- package/dist/Chip/CustomChip/index.d.ts +19 -0
- package/dist/Chip/CustomChip/types.d.ts +5 -0
- package/dist/Chip/index.d.ts +4 -0
- package/dist/Chip/types.d.ts +11 -0
- package/dist/DatePicker/index.d.ts +4 -0
- package/dist/DatePicker/styles.d.ts +9 -0
- package/dist/DatePicker/types.d.ts +10 -0
- package/dist/Divider/index.d.ts +4 -0
- package/dist/Divider/style.d.ts +13 -0
- package/dist/EditableTable/index.d.ts +8 -0
- package/dist/GroupSelect/index.d.ts +4 -0
- package/dist/GroupSelect/style.d.ts +5 -0
- package/dist/GroupSelect/types.d.ts +28 -0
- package/dist/Icon/icons/brands/facebook-in.d.ts +3 -0
- package/dist/Icon/icons/brands/facebook.d.ts +3 -0
- package/dist/Icon/icons/brands/linkedin-in.d.ts +3 -0
- package/dist/Icon/icons/brands/linkedin.d.ts +3 -0
- package/dist/Icon/icons/brands/twitter-in.d.ts +3 -0
- package/dist/Icon/icons/brands/twitter.d.ts +3 -0
- package/dist/Icon/icons/filled/angle-left.d.ts +3 -0
- package/dist/Icon/icons/filled/angle-right.d.ts +3 -0
- package/dist/Icon/icons/filled/arrow-alt-left.d.ts +3 -0
- package/dist/Icon/icons/filled/bar-chart.d.ts +3 -0
- package/dist/Icon/icons/filled/caret-down.d.ts +3 -0
- package/dist/Icon/icons/filled/caret-left.d.ts +3 -0
- package/dist/Icon/icons/filled/caret-right.d.ts +3 -0
- package/dist/Icon/icons/filled/caret-up.d.ts +3 -0
- package/dist/Icon/icons/filled/check-circle.d.ts +3 -0
- package/dist/Icon/icons/filled/check-square.d.ts +3 -0
- package/dist/Icon/icons/filled/check.d.ts +3 -0
- package/dist/Icon/icons/filled/chevron-left.d.ts +3 -0
- package/dist/Icon/icons/filled/chevron-right.d.ts +3 -0
- package/dist/Icon/icons/filled/ellipsis-h.d.ts +3 -0
- package/dist/Icon/icons/filled/ellipsis-v.d.ts +3 -0
- package/dist/Icon/icons/filled/exclamation-circle.d.ts +3 -0
- package/dist/Icon/icons/filled/exclamation-triangle.d.ts +3 -0
- package/dist/Icon/icons/filled/hand-pointer.d.ts +3 -0
- package/dist/Icon/icons/filled/heart.d.ts +3 -0
- package/dist/Icon/icons/filled/info-circle.d.ts +3 -0
- package/dist/Icon/icons/filled/list-ul.d.ts +3 -0
- package/dist/Icon/icons/filled/lock.d.ts +3 -0
- package/dist/Icon/icons/filled/minus-light.d.ts +3 -0
- package/dist/Icon/icons/filled/plus-light.d.ts +3 -0
- package/dist/Icon/icons/filled/plus.d.ts +3 -0
- package/dist/Icon/icons/filled/question-circle.d.ts +3 -0
- package/dist/Icon/icons/filled/search.d.ts +3 -0
- package/dist/Icon/icons/filled/sort-down.d.ts +3 -0
- package/dist/Icon/icons/filled/sort-up.d.ts +3 -0
- package/dist/Icon/icons/filled/sort.d.ts +3 -0
- package/dist/Icon/icons/filled/star.d.ts +3 -0
- package/dist/Icon/icons/filled/thumb-up.d.ts +3 -0
- package/dist/Icon/icons/filled/times-circle.d.ts +3 -0
- package/dist/Icon/icons/filled/user-plus.d.ts +3 -0
- package/dist/Icon/icons/filled/user.d.ts +3 -0
- package/dist/Icon/icons/filled/users.d.ts +3 -0
- package/dist/Icon/icons/outlined/analytics-light.d.ts +3 -0
- package/dist/Icon/icons/outlined/angle-left.d.ts +3 -0
- package/dist/Icon/icons/outlined/angle-right.d.ts +3 -0
- package/dist/Icon/icons/outlined/arrow-right.d.ts +3 -0
- package/dist/Icon/icons/outlined/brackets-curly.d.ts +3 -0
- package/dist/Icon/icons/outlined/browser-light.d.ts +3 -0
- package/dist/Icon/icons/outlined/calendar-alt.d.ts +3 -0
- package/dist/Icon/icons/outlined/check-circle.d.ts +3 -0
- package/dist/Icon/icons/outlined/check.d.ts +3 -0
- package/dist/Icon/icons/outlined/chevron-down.d.ts +3 -0
- package/dist/Icon/icons/outlined/clock.d.ts +3 -0
- package/dist/Icon/icons/outlined/code.d.ts +3 -0
- package/dist/Icon/icons/outlined/cog-light.d.ts +3 -0
- package/dist/Icon/icons/outlined/comment-alt-lines.d.ts +3 -0
- package/dist/Icon/icons/outlined/edit-light.d.ts +3 -0
- package/dist/Icon/icons/outlined/exclamation-circle.d.ts +3 -0
- package/dist/Icon/icons/outlined/external-link-light.d.ts +3 -0
- package/dist/Icon/icons/outlined/file-alt.d.ts +3 -0
- package/dist/Icon/icons/outlined/file-certificate.d.ts +3 -0
- package/dist/Icon/icons/outlined/filter.d.ts +3 -0
- package/dist/Icon/icons/outlined/global-asia.d.ts +3 -0
- package/dist/Icon/icons/outlined/hand-pointer.d.ts +3 -0
- package/dist/Icon/icons/outlined/heart.d.ts +3 -0
- package/dist/Icon/icons/outlined/info-circle.d.ts +3 -0
- package/dist/Icon/icons/outlined/link-light.d.ts +3 -0
- package/dist/Icon/icons/outlined/link.d.ts +3 -0
- package/dist/Icon/icons/outlined/list-ul.d.ts +3 -0
- package/dist/Icon/icons/outlined/long-arrow-right.d.ts +3 -0
- package/dist/Icon/icons/outlined/page-break.d.ts +3 -0
- package/dist/Icon/icons/outlined/pen-light.d.ts +3 -0
- package/dist/Icon/icons/outlined/plus-circle.d.ts +3 -0
- package/dist/Icon/icons/outlined/qrcode.d.ts +3 -0
- package/dist/Icon/icons/outlined/question-circle-outline.d.ts +3 -0
- package/dist/Icon/icons/outlined/redo.d.ts +3 -0
- package/dist/Icon/icons/outlined/search-light.d.ts +3 -0
- package/dist/Icon/icons/outlined/spinner-third.d.ts +3 -0
- package/dist/Icon/icons/outlined/square.d.ts +3 -0
- package/dist/Icon/icons/outlined/star.d.ts +3 -0
- package/dist/Icon/icons/outlined/th-large.d.ts +3 -0
- package/dist/Icon/icons/outlined/thumb-up.d.ts +3 -0
- package/dist/Icon/icons/outlined/times-circle.d.ts +3 -0
- package/dist/Icon/icons/outlined/times.d.ts +3 -0
- package/dist/Icon/icons/outlined/trash-alt-regular.d.ts +3 -0
- package/dist/Icon/icons/outlined/user-plus.d.ts +3 -0
- package/dist/Icon/index.d.ts +16 -0
- package/dist/Icon/styles.d.ts +1 -0
- package/dist/Icon/types.d.ts +7 -0
- package/dist/IconButton/index.d.ts +5 -0
- package/dist/IconButton/types.d.ts +6 -0
- package/dist/InputSlider/Dots/Dot.d.ts +12 -0
- package/dist/InputSlider/Dots/index.d.ts +14 -0
- package/dist/InputSlider/Dots/styles.d.ts +1 -0
- package/dist/InputSlider/Handler/index.d.ts +10 -0
- package/dist/InputSlider/Marks/Mark.d.ts +15 -0
- package/dist/InputSlider/Marks/index.d.ts +11 -0
- package/dist/InputSlider/Marks/styles.d.ts +1 -0
- package/dist/InputSlider/Track/index.d.ts +7 -0
- package/dist/InputSlider/index.d.ts +5 -0
- package/dist/InputSlider/styles.d.ts +1 -0
- package/dist/InputSlider/types.d.ts +45 -0
- package/dist/InputSlider/useSlide.d.ts +10 -0
- package/dist/InputSlider/utils.d.ts +9 -0
- package/dist/KeyboardDatePicker/index.d.ts +4 -0
- package/dist/KeyboardDatePicker/style.d.ts +5 -0
- package/dist/KeyboardDatePicker/types.d.ts +12 -0
- package/dist/KeyboardDatePicker/withMuiPickersUtilsProvider.d.ts +2 -0
- package/dist/MenuItem/index.d.ts +4 -0
- package/dist/MenuItem/styles.d.ts +3 -0
- package/dist/MenuItem/types.d.ts +6 -0
- package/dist/MenuList/index.d.ts +4 -0
- package/dist/MenuList/styles.d.ts +3 -0
- package/dist/MenuList/types.d.ts +5 -0
- package/dist/Message/Message.d.ts +13 -0
- package/dist/Message/icons.d.ts +4 -0
- package/dist/Message/index.d.ts +19 -0
- package/dist/Message/styles.d.ts +1 -0
- package/dist/Modal/index.d.ts +4 -0
- package/dist/Modal/types.d.ts +6 -0
- package/dist/MuiComponentsPlayground/Button/index.d.ts +5 -0
- package/dist/MuiComponentsPlayground/Menu/index.d.ts +5 -0
- package/dist/MuiComponentsPlayground/Typography/index.d.ts +5 -0
- package/dist/MuiSystemPlayground/Typography/index.d.ts +5 -0
- package/dist/Pagination/Icons.d.ts +58 -0
- package/dist/Pagination/index.d.ts +4 -0
- package/dist/Pagination/types.d.ts +12 -0
- package/dist/Paper/index.d.ts +4 -0
- package/dist/Popper/index.d.ts +4 -0
- package/dist/Portal/index.d.ts +10 -0
- package/dist/Radio/index.d.ts +4 -0
- package/dist/Radio/types.d.ts +3 -0
- package/dist/RadioGroup/index.d.ts +4 -0
- package/dist/RadioGroup/types.d.ts +3 -0
- package/dist/Select/index.d.ts +4 -0
- package/dist/Select/style.d.ts +4 -0
- package/dist/Select/types.d.ts +26 -0
- package/dist/SlidingSideMenu/index.d.ts +4 -0
- package/dist/SlidingSideMenu/styles.d.ts +7 -0
- package/dist/SlidingSideMenu/types.d.ts +17 -0
- package/dist/Snackbar/index.d.ts +4 -0
- package/dist/Snackbar/styles.d.ts +13 -0
- package/dist/Snackbar/types.d.ts +24 -0
- package/dist/Stepper/Step/index.d.ts +4 -0
- package/dist/Stepper/Step/styles.d.ts +5 -0
- package/dist/Stepper/Step/types.d.ts +7 -0
- package/dist/Stepper/index.d.ts +4 -0
- package/dist/Stepper/styles.d.ts +2 -0
- package/dist/Stepper/types.d.ts +6 -0
- package/dist/Switch/index.d.ts +4 -0
- package/dist/Switch/styles.d.ts +9 -0
- package/dist/Switch/types.d.ts +11 -0
- package/dist/Tabs/Tab/index.d.ts +4 -0
- package/dist/Tabs/Tab/styles.d.ts +2 -0
- package/dist/Tabs/Tab/types.d.ts +3 -0
- package/dist/Tabs/index.d.ts +4 -0
- package/dist/Tabs/styles.d.ts +2 -0
- package/dist/Tabs/types.d.ts +3 -0
- package/dist/Tag/index.d.ts +9 -0
- package/dist/Tag/styles.d.ts +1 -0
- package/dist/ToggleButtonGroup/index.d.ts +4 -0
- package/dist/ToggleButtonGroup/style.d.ts +25 -0
- package/dist/ToggleButtonGroup/types.d.ts +14 -0
- package/dist/Tooltip/index.d.ts +4 -0
- package/dist/Tooltip/types.d.ts +3 -0
- package/dist/Typography/index.d.ts +26 -0
- package/dist/Typography/styles.d.ts +1 -0
- package/dist/index.d.ts +135 -0
- package/dist/index.js +8 -0
- package/dist/rc.cjs.development.js +4529 -0
- package/dist/rc.cjs.development.js.map +1 -0
- package/dist/rc.cjs.production.min.js +2 -0
- package/dist/rc.cjs.production.min.js.map +1 -0
- package/dist/rc.esm.js +4385 -0
- package/dist/rc.esm.js.map +1 -0
- package/dist/styles/MuiThemeProvider.d.ts +3 -0
- package/dist/styles/boxShadow.d.ts +2 -0
- package/dist/styles/index.d.ts +92 -0
- package/dist/styles/theme.d.ts +76 -0
- package/dist/types/color.d.ts +4 -0
- package/dist/utils/formatNumberToText.d.ts +2 -0
- package/dist/utils/hexToRgba.d.ts +4 -0
- package/dist/utils/replaceAll.d.ts +2 -0
- package/dist/utils/resolveThemeColorByPath.d.ts +3 -0
- package/dist/utils/resolveThemeColorProp.d.ts +3 -0
- package/dist/utils/statusData.d.ts +21 -0
- package/dist/wording/en/dashboard.d.ts +54 -0
- package/dist/wording/en/index.d.ts +2 -0
- package/dist/wording/en/pricing.d.ts +35 -0
- package/dist/wording/index.d.ts +12 -0
- package/dist/wording/tw/dashboard.d.ts +54 -0
- package/dist/wording/tw/index.d.ts +2 -0
- package/dist/wording/tw/pricing.d.ts +35 -0
- package/package.json +98 -0
package/dist/rc.esm.js
ADDED
|
@@ -0,0 +1,4385 @@
|
|
|
1
|
+
export { default as CssBaseline } from '@material-ui/core/CssBaseline';
|
|
2
|
+
import React, { useRef, useEffect, forwardRef, memo, useContext, useMemo, useState, useCallback, Children, isValidElement, cloneElement, useImperativeHandle, createRef, createContext } from 'react';
|
|
3
|
+
import MuiAvatar from '@material-ui/core/Avatar';
|
|
4
|
+
import { createStyles, makeStyles as makeStyles$1, styled, withStyles, createMuiTheme, ThemeProvider } from '@material-ui/core/styles';
|
|
5
|
+
import MuiButton from '@material-ui/core/Button';
|
|
6
|
+
import Chip$1 from '@material-ui/core/Chip';
|
|
7
|
+
import { fade } from '@material-ui/core/styles/colorManipulator';
|
|
8
|
+
import MuiPaper from '@material-ui/core/Paper';
|
|
9
|
+
import MuiCard from '@material-ui/core/Card';
|
|
10
|
+
import { cx, css, keyframes, injectGlobal } from 'emotion';
|
|
11
|
+
import MuiCardActionArea from '@material-ui/core/CardActionArea';
|
|
12
|
+
import MuiCardActions from '@material-ui/core/CardActions';
|
|
13
|
+
import MuiCardContent from '@material-ui/core/CardContent';
|
|
14
|
+
import MuiCardHeader from '@material-ui/core/CardHeader';
|
|
15
|
+
import { DatePicker as DatePicker$1, KeyboardDatePicker as KeyboardDatePicker$1, MuiPickersUtilsProvider } from '@material-ui/pickers';
|
|
16
|
+
import styled$1 from '@emotion/styled';
|
|
17
|
+
import { ThemeContext } from '@emotion/core';
|
|
18
|
+
export { ThemeContext } from '@emotion/core';
|
|
19
|
+
import MuiTooltip from '@material-ui/core/Tooltip';
|
|
20
|
+
import MuiSelect from '@material-ui/core/Select';
|
|
21
|
+
import MuiMenuItem from '@material-ui/core/MenuItem';
|
|
22
|
+
import MuiListSubheader from '@material-ui/core/ListSubheader';
|
|
23
|
+
import Popper$1 from '@material-ui/core/Popper';
|
|
24
|
+
import ClickAwayListener from '@material-ui/core/ClickAwayListener';
|
|
25
|
+
import MuiMenuList from '@material-ui/core/MenuList';
|
|
26
|
+
import Fade from '@material-ui/core/Fade';
|
|
27
|
+
import MuiToggleButton from '@material-ui/lab/ToggleButton';
|
|
28
|
+
import MuiToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup';
|
|
29
|
+
import TextField from '@material-ui/core/TextField';
|
|
30
|
+
import Box from '@material-ui/core/Box';
|
|
31
|
+
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
32
|
+
import IconButton from '@material-ui/core/IconButton';
|
|
33
|
+
import Typography$1 from '@material-ui/core/Typography';
|
|
34
|
+
import MuiTabs from '@material-ui/core/Tabs';
|
|
35
|
+
import MuiTab from '@material-ui/core/Tab';
|
|
36
|
+
import RadioGroup from '@material-ui/core/RadioGroup';
|
|
37
|
+
import Radio$1 from '@material-ui/core/Radio';
|
|
38
|
+
import Checkbox from '@material-ui/core/Checkbox';
|
|
39
|
+
import { useTable } from 'react-table';
|
|
40
|
+
import { safeAdd, safeMul } from '@surveycake/utils';
|
|
41
|
+
import { unmountComponentAtNode, render, createPortal } from 'react-dom';
|
|
42
|
+
import { useContainer } from '@surveycake/rhooks';
|
|
43
|
+
import MuiModal from '@material-ui/core/Modal';
|
|
44
|
+
import Backdrop$1 from '@material-ui/core/Backdrop';
|
|
45
|
+
import MuiSnackbar from '@material-ui/core/Snackbar';
|
|
46
|
+
import MuiSnackbarContent from '@material-ui/core/SnackbarContent';
|
|
47
|
+
import Slide from '@material-ui/core/Slide';
|
|
48
|
+
import MuiDivider from '@material-ui/core/Divider';
|
|
49
|
+
import DateFnsUtils from '@date-io/date-fns';
|
|
50
|
+
|
|
51
|
+
function _extends() {
|
|
52
|
+
_extends = Object.assign || function (target) {
|
|
53
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
54
|
+
var source = arguments[i];
|
|
55
|
+
|
|
56
|
+
for (var key in source) {
|
|
57
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
58
|
+
target[key] = source[key];
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return target;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
return _extends.apply(this, arguments);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
70
|
+
if (source == null) return {};
|
|
71
|
+
var target = {};
|
|
72
|
+
var sourceKeys = Object.keys(source);
|
|
73
|
+
var key, i;
|
|
74
|
+
|
|
75
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
76
|
+
key = sourceKeys[i];
|
|
77
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
78
|
+
target[key] = source[key];
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return target;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function _taggedTemplateLiteralLoose(strings, raw) {
|
|
85
|
+
if (!raw) {
|
|
86
|
+
raw = strings.slice(0);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
strings.raw = raw;
|
|
90
|
+
return strings;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
var getAutoHeightDuration = function getAutoHeightDuration(height) {
|
|
94
|
+
if (!height) {
|
|
95
|
+
return 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
var constant = height / 36; // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10
|
|
99
|
+
|
|
100
|
+
return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
var getTransitionDuration = function getTransitionDuration(duration, height) {
|
|
104
|
+
if (typeof duration === 'number') {
|
|
105
|
+
return duration;
|
|
106
|
+
} else if (duration === 'auto') {
|
|
107
|
+
return getAutoHeightDuration(height);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return 0;
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
var getChangeHeight = function getChangeHeight(node, prevHeight, height) {
|
|
114
|
+
var prev = prevHeight === 'auto' ? node.scrollHeight : prevHeight;
|
|
115
|
+
var current = height === 'auto' ? node.scrollHeight : height;
|
|
116
|
+
return Math.abs(current - prev);
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
var getTransition = function getTransition(height, duration, timingFunction) {
|
|
120
|
+
return "height " + getTransitionDuration(duration, height) + "ms " + timingFunction;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
var animate = function animate(node, prevHeight, height, duration, timingFunction, animateDisabled) {
|
|
124
|
+
var transition = !animateDisabled ? getTransition(getChangeHeight(node, prevHeight, height), duration, timingFunction) : '';
|
|
125
|
+
node.style.transition = '';
|
|
126
|
+
window.requestAnimationFrame(function () {
|
|
127
|
+
if (prevHeight !== 'auto') {
|
|
128
|
+
node.style.height = prevHeight + "px";
|
|
129
|
+
} else {
|
|
130
|
+
node.style.height = node.scrollHeight + "px";
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
node.style.transition = transition;
|
|
134
|
+
window.requestAnimationFrame(function () {
|
|
135
|
+
if (height !== 'auto') {
|
|
136
|
+
node.style.height = height + "px";
|
|
137
|
+
} else {
|
|
138
|
+
node.style.height = node.scrollHeight + "px";
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
var AnimateHeight = function AnimateHeight(_ref) {
|
|
145
|
+
var children = _ref.children,
|
|
146
|
+
props = _objectWithoutPropertiesLoose(_ref, ["children"]);
|
|
147
|
+
|
|
148
|
+
var initialStyleRef = useRef({
|
|
149
|
+
height: props.height,
|
|
150
|
+
overflowY: 'hidden'
|
|
151
|
+
});
|
|
152
|
+
var propsRef = useRef(props);
|
|
153
|
+
var animateRef = useRef(null);
|
|
154
|
+
propsRef.current = props;
|
|
155
|
+
useEffect(function () {
|
|
156
|
+
return function () {
|
|
157
|
+
if (animateRef.current) {
|
|
158
|
+
animate(animateRef.current, props.height, propsRef.current.height, propsRef.current.duration, propsRef.current.timingFunction, propsRef.current.animateDisabled);
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
}, [props.height]);
|
|
162
|
+
return React.createElement("div", {
|
|
163
|
+
ref: animateRef,
|
|
164
|
+
style: initialStyleRef.current
|
|
165
|
+
}, children);
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
AnimateHeight.defaultProps = {
|
|
169
|
+
duration: 'auto',
|
|
170
|
+
timingFunction: 'ease-out',
|
|
171
|
+
height: 'auto',
|
|
172
|
+
animateDisabled: false
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
var styles = function styles(theme) {
|
|
176
|
+
return createStyles({
|
|
177
|
+
root: function root(props) {
|
|
178
|
+
return _extends({
|
|
179
|
+
display: 'flex',
|
|
180
|
+
'& > *': {
|
|
181
|
+
margin: theme.spacing(1)
|
|
182
|
+
}
|
|
183
|
+
}, props);
|
|
184
|
+
},
|
|
185
|
+
small: {
|
|
186
|
+
width: theme.spacing(3),
|
|
187
|
+
height: theme.spacing(3)
|
|
188
|
+
},
|
|
189
|
+
medium: {
|
|
190
|
+
width: theme.spacing(5),
|
|
191
|
+
height: theme.spacing(5)
|
|
192
|
+
},
|
|
193
|
+
large: {
|
|
194
|
+
width: theme.spacing(7),
|
|
195
|
+
height: theme.spacing(7)
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
var useStyles =
|
|
201
|
+
/*#__PURE__*/
|
|
202
|
+
makeStyles$1(styles);
|
|
203
|
+
var Avatar =
|
|
204
|
+
/*#__PURE__*/
|
|
205
|
+
forwardRef(function (_ref, ref) {
|
|
206
|
+
var children = _ref.children,
|
|
207
|
+
src = _ref.src,
|
|
208
|
+
alt = _ref.alt,
|
|
209
|
+
_ref$size = _ref.size,
|
|
210
|
+
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
211
|
+
_ref$variant = _ref.variant,
|
|
212
|
+
variant = _ref$variant === void 0 ? 'circle' : _ref$variant,
|
|
213
|
+
width = _ref.width,
|
|
214
|
+
height = _ref.height,
|
|
215
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "src", "alt", "size", "variant", "width", "height"]);
|
|
216
|
+
|
|
217
|
+
var classes = useStyles({
|
|
218
|
+
width: width,
|
|
219
|
+
height: height
|
|
220
|
+
});
|
|
221
|
+
var hasCustomSize = width || height;
|
|
222
|
+
var className = classes[hasCustomSize ? 'root' : size];
|
|
223
|
+
return React.createElement(MuiAvatar, Object.assign({
|
|
224
|
+
className: className,
|
|
225
|
+
ref: ref,
|
|
226
|
+
src: src,
|
|
227
|
+
alt: alt,
|
|
228
|
+
variant: variant
|
|
229
|
+
}, restProps), children);
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
var Button =
|
|
233
|
+
/*#__PURE__*/
|
|
234
|
+
forwardRef(function (_ref, ref) {
|
|
235
|
+
var children = _ref.children,
|
|
236
|
+
_ref$size = _ref.size,
|
|
237
|
+
size = _ref$size === void 0 ? 'small' : _ref$size,
|
|
238
|
+
_ref$color = _ref.color,
|
|
239
|
+
color = _ref$color === void 0 ? 'default' : _ref$color,
|
|
240
|
+
_ref$variant = _ref.variant,
|
|
241
|
+
variant = _ref$variant === void 0 ? 'contained' : _ref$variant,
|
|
242
|
+
_ref$disabled = _ref.disabled,
|
|
243
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
244
|
+
onClick = _ref.onClick,
|
|
245
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "size", "color", "variant", "disabled", "onClick"]);
|
|
246
|
+
|
|
247
|
+
return React.createElement(MuiButton, Object.assign({
|
|
248
|
+
onClick: onClick,
|
|
249
|
+
color: color,
|
|
250
|
+
disabled: disabled,
|
|
251
|
+
size: size,
|
|
252
|
+
variant: variant,
|
|
253
|
+
ref: ref
|
|
254
|
+
}, restProps), children);
|
|
255
|
+
});
|
|
256
|
+
|
|
257
|
+
var theme = {
|
|
258
|
+
color: {
|
|
259
|
+
primary: {
|
|
260
|
+
active: '#009A68',
|
|
261
|
+
"default": '#3DBA90',
|
|
262
|
+
hover: '#79CEAF',
|
|
263
|
+
disabled: '#9EDCC7',
|
|
264
|
+
background: '#DEF3EC',
|
|
265
|
+
lightBackground: '#d1f0e5'
|
|
266
|
+
},
|
|
267
|
+
secondary: {
|
|
268
|
+
active: '#C40D5A',
|
|
269
|
+
"default": '#EB1362',
|
|
270
|
+
hover: '#EE3C7A',
|
|
271
|
+
disabled: '#F589B0',
|
|
272
|
+
background: '#FCE4EC'
|
|
273
|
+
},
|
|
274
|
+
thirdary: {
|
|
275
|
+
active: '#ED7B19',
|
|
276
|
+
"default": '#F8971D',
|
|
277
|
+
hover: '#F9A433',
|
|
278
|
+
disabled: '#FBCB8E',
|
|
279
|
+
background: '#FEF2E1'
|
|
280
|
+
},
|
|
281
|
+
text: {
|
|
282
|
+
white: '#FFF',
|
|
283
|
+
B6: '#454545',
|
|
284
|
+
B5: '#6B6B6B',
|
|
285
|
+
B4: '#989898',
|
|
286
|
+
B3: '#AAAAAA',
|
|
287
|
+
B2: '#BDBDBD',
|
|
288
|
+
B: '#D2D2D2',
|
|
289
|
+
HB: '#EEEEEE',
|
|
290
|
+
F: '#F6F6F6'
|
|
291
|
+
},
|
|
292
|
+
semantic: {
|
|
293
|
+
success: '#A0D45E',
|
|
294
|
+
info: '#4DBAE9',
|
|
295
|
+
warning: '#FDB531',
|
|
296
|
+
error: '#EE415D',
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @description specific usage
|
|
300
|
+
*/
|
|
301
|
+
enterprise: '#3E5871',
|
|
302
|
+
team: '#FF6A6A',
|
|
303
|
+
pro: '#36B6ED'
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
typography: {
|
|
307
|
+
fontSize: {
|
|
308
|
+
h1: 36,
|
|
309
|
+
h2: 32,
|
|
310
|
+
h3: 28,
|
|
311
|
+
h4: 24,
|
|
312
|
+
h5: 20,
|
|
313
|
+
h6: 16,
|
|
314
|
+
p: 14,
|
|
315
|
+
span: 14,
|
|
316
|
+
div: 14
|
|
317
|
+
},
|
|
318
|
+
fontWeight: {
|
|
319
|
+
normal: 400,
|
|
320
|
+
medium: 500,
|
|
321
|
+
bold: 700
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
zIndex: {
|
|
325
|
+
mobileStepper: 1000,
|
|
326
|
+
speedDial: 1050,
|
|
327
|
+
appBar: 1100,
|
|
328
|
+
drawer: 1200,
|
|
329
|
+
modal: 1300,
|
|
330
|
+
snackbar: 1400,
|
|
331
|
+
tooltip: 1500
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
var CustomBoxShadow1 = "\n0 1px 4px 0 rgba(69, 69, 69, 0.2),\n0 1px 2px 0 rgba(69, 69, 69, 0.1)\n";
|
|
336
|
+
var CustomChip =
|
|
337
|
+
/*#__PURE__*/
|
|
338
|
+
styled(function (_ref) {
|
|
339
|
+
var color = _ref.color,
|
|
340
|
+
active = _ref.active,
|
|
341
|
+
other = _objectWithoutPropertiesLoose(_ref, ["color", "active"]);
|
|
342
|
+
|
|
343
|
+
return React.createElement(Chip$1, Object.assign({}, other));
|
|
344
|
+
})({
|
|
345
|
+
backgroundColor: function backgroundColor(props) {
|
|
346
|
+
return props.active ? 'white' : fade(props.color || theme.color.primary["default"], 0.3);
|
|
347
|
+
},
|
|
348
|
+
'&:hover, &:focus': {
|
|
349
|
+
backgroundColor: function backgroundColor(props) {
|
|
350
|
+
return props.active ? 'white' : fade(props.color || theme.color.primary["default"], 0.3);
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
'&:active': {
|
|
354
|
+
boxShadow: function boxShadow(props) {
|
|
355
|
+
return props.active ? CustomBoxShadow1 : 'none';
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
color: function color(props) {
|
|
359
|
+
return props.color || theme.color.primary["default"];
|
|
360
|
+
},
|
|
361
|
+
boxShadow: function boxShadow(props) {
|
|
362
|
+
return props.active ? CustomBoxShadow1 : 'none';
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
|
|
366
|
+
var Chip = function Chip(_ref) {
|
|
367
|
+
var variant = _ref.variant,
|
|
368
|
+
active = _ref.active,
|
|
369
|
+
color = _ref.color,
|
|
370
|
+
label = _ref.label,
|
|
371
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["variant", "active", "color", "label"]);
|
|
372
|
+
|
|
373
|
+
if (!label) {
|
|
374
|
+
return null;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
if (variant === 'surveycake') {
|
|
378
|
+
return React.createElement(CustomChip, Object.assign({
|
|
379
|
+
color: color,
|
|
380
|
+
active: active,
|
|
381
|
+
label: label
|
|
382
|
+
}, restProps));
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
return (// color 如果傳入不符合,Material 會 warning
|
|
386
|
+
React.createElement(Chip$1, Object.assign({
|
|
387
|
+
color: color,
|
|
388
|
+
variant: variant,
|
|
389
|
+
label: label
|
|
390
|
+
}, restProps))
|
|
391
|
+
);
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
var index = /*#__PURE__*/
|
|
395
|
+
memo(Chip);
|
|
396
|
+
|
|
397
|
+
var Paper =
|
|
398
|
+
/*#__PURE__*/
|
|
399
|
+
forwardRef(function (props, ref) {
|
|
400
|
+
return React.createElement(MuiPaper, Object.assign({
|
|
401
|
+
ref: ref
|
|
402
|
+
}, props), props.children);
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
var useStyles$1 =
|
|
406
|
+
/*#__PURE__*/
|
|
407
|
+
makeStyles$1({
|
|
408
|
+
root: {
|
|
409
|
+
width: function width(props) {
|
|
410
|
+
return props.width;
|
|
411
|
+
},
|
|
412
|
+
height: function height(props) {
|
|
413
|
+
return props.height;
|
|
414
|
+
},
|
|
415
|
+
position: 'relative',
|
|
416
|
+
borderRadius: '4px',
|
|
417
|
+
boxShadow: "0 1px 4px 0 rgba(69, 69, 69, 0.2),\n 0 1px 2px 0 rgba(69, 69, 69, 0.1)"
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
|
|
421
|
+
var Card =
|
|
422
|
+
/*#__PURE__*/
|
|
423
|
+
forwardRef(function (_ref, ref) {
|
|
424
|
+
var children = _ref.children,
|
|
425
|
+
className = _ref.className,
|
|
426
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "className"]);
|
|
427
|
+
|
|
428
|
+
var _useStyles = useStyles$1(restProps),
|
|
429
|
+
root = _useStyles.root;
|
|
430
|
+
|
|
431
|
+
return React.createElement(MuiCard, Object.assign({
|
|
432
|
+
ref: ref,
|
|
433
|
+
className: cx(root, className)
|
|
434
|
+
}, restProps), children);
|
|
435
|
+
});
|
|
436
|
+
|
|
437
|
+
var CardActionArea = MuiCardActionArea;
|
|
438
|
+
|
|
439
|
+
var CardActions = MuiCardActions;
|
|
440
|
+
|
|
441
|
+
var CardContent = MuiCardContent;
|
|
442
|
+
|
|
443
|
+
var CardHeader = MuiCardHeader;
|
|
444
|
+
|
|
445
|
+
function _templateObject2() {
|
|
446
|
+
var data = _taggedTemplateLiteralLoose(["\n animation: ", " 1s linear infinite;\n"]);
|
|
447
|
+
|
|
448
|
+
_templateObject2 = function _templateObject2() {
|
|
449
|
+
return data;
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
return data;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
function _templateObject() {
|
|
456
|
+
var data = _taggedTemplateLiteralLoose(["\n\t100% {\n\t\ttransform: rotate(360deg);\n\t}\n"]);
|
|
457
|
+
|
|
458
|
+
_templateObject = function _templateObject() {
|
|
459
|
+
return data;
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
return data;
|
|
463
|
+
}
|
|
464
|
+
var loadingCircle =
|
|
465
|
+
/*#__PURE__*/
|
|
466
|
+
keyframes(
|
|
467
|
+
/*#__PURE__*/
|
|
468
|
+
_templateObject());
|
|
469
|
+
var spin =
|
|
470
|
+
/*#__PURE__*/
|
|
471
|
+
css(
|
|
472
|
+
/*#__PURE__*/
|
|
473
|
+
_templateObject2(), loadingCircle);
|
|
474
|
+
|
|
475
|
+
var _svgBaseProps;
|
|
476
|
+
var svgBaseProps = (_svgBaseProps = {
|
|
477
|
+
width: '1em',
|
|
478
|
+
height: '1em',
|
|
479
|
+
fill: 'currentColor'
|
|
480
|
+
}, _svgBaseProps['aria-hidden'] = true, _svgBaseProps.focusable = 'false', _svgBaseProps);
|
|
481
|
+
var Icon =
|
|
482
|
+
/*#__PURE__*/
|
|
483
|
+
forwardRef(function (_ref, ref) {
|
|
484
|
+
var children = _ref.children,
|
|
485
|
+
className = _ref.className,
|
|
486
|
+
icon = _ref.icon,
|
|
487
|
+
viewBox = _ref.viewBox,
|
|
488
|
+
style = _ref.style,
|
|
489
|
+
spin$1 = _ref.spin,
|
|
490
|
+
rotate = _ref.rotate,
|
|
491
|
+
size = _ref.size,
|
|
492
|
+
props = _objectWithoutPropertiesLoose(_ref, ["children", "className", "icon", "viewBox", "style", "spin", "rotate", "size"]);
|
|
493
|
+
|
|
494
|
+
if (!icon) {
|
|
495
|
+
return null;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
var svgStyle = _extends({}, style, {
|
|
499
|
+
fontSize: size + "em"
|
|
500
|
+
});
|
|
501
|
+
|
|
502
|
+
if (rotate) {
|
|
503
|
+
var transform = "rotate(" + rotate + "deg)";
|
|
504
|
+
svgStyle.msTransform = transform;
|
|
505
|
+
svgStyle.transform = transform;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
var svgProps = _extends({}, props, {}, svgBaseProps, {
|
|
509
|
+
className: spin$1 ? cx(spin, className) : className,
|
|
510
|
+
style: svgStyle,
|
|
511
|
+
viewBox: viewBox || icon.definition.viewBox
|
|
512
|
+
});
|
|
513
|
+
|
|
514
|
+
if (!svgProps.viewBox) {
|
|
515
|
+
delete svgProps.viewBox;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
return React.createElement("svg", Object.assign({}, svgProps, {
|
|
519
|
+
ref: ref
|
|
520
|
+
}), React.createElement("path", {
|
|
521
|
+
d: icon.definition.pathData
|
|
522
|
+
}));
|
|
523
|
+
});
|
|
524
|
+
Icon.defaultProps = {
|
|
525
|
+
size: 1
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
var CalendarAlt = {
|
|
529
|
+
name: 'calendar-alt-o',
|
|
530
|
+
definition: {
|
|
531
|
+
viewBox: '0 0 448 512',
|
|
532
|
+
pathData: 'M400 64h-48V12c0-6.6-5.4-12-12-12h-8c-6.6 0-12 5.4-12 12v52H128V12c0-6.6-5.4-12-12-12h-8c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM48 96h352c8.8 0 16 7.2 16 16v48H32v-48c0-8.8 7.2-16 16-16zm352 384H48c-8.8 0-16-7.2-16-16V192h384v272c0 8.8-7.2 16-16 16zM148 320h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm96 0h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm96 0h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-96 96h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-96 0h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm192 0h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12z'
|
|
533
|
+
}
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
function _templateObject2$1() {
|
|
537
|
+
var data = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 12px;\n top: 7px;\n width: 18px;\n height: 18px;\n font-size: 18px;\n color: ", ";\n"]);
|
|
538
|
+
|
|
539
|
+
_templateObject2$1 = function _templateObject2() {
|
|
540
|
+
return data;
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
return data;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
function _templateObject$1() {
|
|
547
|
+
var data = _taggedTemplateLiteralLoose(["\n position: relative;\n"]);
|
|
548
|
+
|
|
549
|
+
_templateObject$1 = function _templateObject() {
|
|
550
|
+
return data;
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
return data;
|
|
554
|
+
}
|
|
555
|
+
var DatePickerWrapper =
|
|
556
|
+
/*#__PURE__*/
|
|
557
|
+
styled$1('section')(
|
|
558
|
+
/*#__PURE__*/
|
|
559
|
+
_templateObject$1());
|
|
560
|
+
var IonwWrapper =
|
|
561
|
+
/*#__PURE__*/
|
|
562
|
+
styled$1('section')(
|
|
563
|
+
/*#__PURE__*/
|
|
564
|
+
_templateObject2$1(), theme.color.primary["default"]);
|
|
565
|
+
var popOverStyles =
|
|
566
|
+
/*#__PURE__*/
|
|
567
|
+
createStyles({
|
|
568
|
+
root: {
|
|
569
|
+
boxShadow: "0 1px 6px 0 rgba(69, 69, 69, 0.2),\n 0 1px 5px 0 rgba(69, 69, 69, 0.1)"
|
|
570
|
+
}
|
|
571
|
+
});
|
|
572
|
+
var inputStyles =
|
|
573
|
+
/*#__PURE__*/
|
|
574
|
+
createStyles({
|
|
575
|
+
root: {
|
|
576
|
+
paddingLeft: '30px'
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
var styles$1 =
|
|
580
|
+
/*#__PURE__*/
|
|
581
|
+
createStyles({
|
|
582
|
+
root: {
|
|
583
|
+
maxWidth: '128px',
|
|
584
|
+
width: '100%',
|
|
585
|
+
height: '32px'
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
|
|
589
|
+
var StyledMuiDatePicker =
|
|
590
|
+
/*#__PURE__*/
|
|
591
|
+
withStyles(styles$1)(DatePicker$1);
|
|
592
|
+
var usePopOverStyles =
|
|
593
|
+
/*#__PURE__*/
|
|
594
|
+
makeStyles$1(popOverStyles);
|
|
595
|
+
var useInputStyles =
|
|
596
|
+
/*#__PURE__*/
|
|
597
|
+
makeStyles$1(inputStyles);
|
|
598
|
+
var CommonDatePickerProps = {
|
|
599
|
+
maxDateMessage: null,
|
|
600
|
+
minDateMessage: null,
|
|
601
|
+
inputVariant: 'outlined',
|
|
602
|
+
disableToolbar: true,
|
|
603
|
+
variant: 'inline',
|
|
604
|
+
format: 'yyyy/MM/dd',
|
|
605
|
+
autoOk: true
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
var DatePicker = function DatePicker(_ref) {
|
|
609
|
+
var value = _ref.value,
|
|
610
|
+
onChange = _ref.onChange,
|
|
611
|
+
placeholder = _ref.placeholder,
|
|
612
|
+
label = _ref.label,
|
|
613
|
+
minDate = _ref.minDate,
|
|
614
|
+
maxDate = _ref.maxDate,
|
|
615
|
+
disableFuture = _ref.disableFuture,
|
|
616
|
+
disablePast = _ref.disablePast,
|
|
617
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["value", "onChange", "placeholder", "label", "minDate", "maxDate", "disableFuture", "disablePast"]);
|
|
618
|
+
|
|
619
|
+
var inputClasses = useInputStyles();
|
|
620
|
+
var popOverClasses = usePopOverStyles();
|
|
621
|
+
var CommonDatePickerClassProps = {
|
|
622
|
+
PopoverProps: {
|
|
623
|
+
PaperProps: {
|
|
624
|
+
classes: {
|
|
625
|
+
root: popOverClasses.root
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
};
|
|
630
|
+
var variantInputProps = {
|
|
631
|
+
classes: {
|
|
632
|
+
root: inputClasses.root
|
|
633
|
+
}
|
|
634
|
+
};
|
|
635
|
+
return React.createElement(DatePickerWrapper, null, React.createElement(IonwWrapper, null, React.createElement(Icon, {
|
|
636
|
+
icon: CalendarAlt
|
|
637
|
+
})), React.createElement(StyledMuiDatePicker, Object.assign({
|
|
638
|
+
value: value,
|
|
639
|
+
onChange: onChange,
|
|
640
|
+
placeholder: placeholder,
|
|
641
|
+
label: label,
|
|
642
|
+
minDate: minDate,
|
|
643
|
+
maxDate: maxDate,
|
|
644
|
+
disableFuture: disableFuture,
|
|
645
|
+
disablePast: disablePast,
|
|
646
|
+
InputProps: variantInputProps
|
|
647
|
+
}, restProps, CommonDatePickerProps, CommonDatePickerClassProps)));
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
function useTheme() {
|
|
651
|
+
var theme$1 = useContext(ThemeContext);
|
|
652
|
+
return theme$1 && theme$1.color ? theme$1 : theme;
|
|
653
|
+
}
|
|
654
|
+
function makeStyles(styles) {
|
|
655
|
+
var memoizedClasses = {};
|
|
656
|
+
return function useStyles(deps) {
|
|
657
|
+
if (deps === void 0) {
|
|
658
|
+
deps = [];
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
var theme = useTheme();
|
|
662
|
+
return useMemo(function () {
|
|
663
|
+
var classes = {};
|
|
664
|
+
styles.forEach(function (_ref) {
|
|
665
|
+
var className = _ref[0],
|
|
666
|
+
style = _ref[1];
|
|
667
|
+
|
|
668
|
+
if (typeof style === 'string') {
|
|
669
|
+
var resolvedClass = memoizedClasses[className] || css([style]);
|
|
670
|
+
classes[className] = resolvedClass;
|
|
671
|
+
memoizedClasses[className] = resolvedClass;
|
|
672
|
+
} else if (typeof style === 'function') {
|
|
673
|
+
var result = style(theme, deps, classes);
|
|
674
|
+
classes[className] = css(result instanceof Array ? result : [result]);
|
|
675
|
+
}
|
|
676
|
+
});
|
|
677
|
+
return classes;
|
|
678
|
+
}, deps.length ? [theme].concat(deps) : [theme]);
|
|
679
|
+
};
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
function resolveThemeColorByPath(theme, color) {
|
|
683
|
+
if (!color) {
|
|
684
|
+
return undefined;
|
|
685
|
+
} else if (color in theme.color.semantic) {
|
|
686
|
+
return theme.color.semantic[color];
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
var isText = color.startsWith('text');
|
|
690
|
+
var isBranding = color.startsWith('primary') || color.startsWith('secondary') || color.startsWith('thirdary');
|
|
691
|
+
|
|
692
|
+
if (!isText && !isBranding) {
|
|
693
|
+
return undefined;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
var _color$split = color.split('.'),
|
|
697
|
+
path = _color$split[0],
|
|
698
|
+
type = _color$split[1];
|
|
699
|
+
|
|
700
|
+
if (isText && !(type in theme.color.text) || isBranding && !(!type || type in theme.color.primary)) {
|
|
701
|
+
return undefined;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
return theme.color[path][type || 'default'];
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
function resolveThemeColorProp(theme, color) {
|
|
708
|
+
return typeof color === 'function' ? color(theme) : resolveThemeColorByPath(theme, color);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
var useStyles$2 =
|
|
712
|
+
/*#__PURE__*/
|
|
713
|
+
makeStyles([['typography', function (theme, _ref) {
|
|
714
|
+
var variant = _ref[0],
|
|
715
|
+
color = _ref[1],
|
|
716
|
+
weight = _ref[2],
|
|
717
|
+
gutterBottom = _ref[3],
|
|
718
|
+
noWrap = _ref[4];
|
|
719
|
+
var fontSize = theme.typography.fontSize[variant];
|
|
720
|
+
var fontWeight = theme.typography.fontWeight[weight];
|
|
721
|
+
var lineHeight = fontSize + 8; // On IE11, it's height may be strange when inserted an image children whose width > height.
|
|
722
|
+
// The solution is to add min-height 0.01px. I don't know how it works.
|
|
723
|
+
|
|
724
|
+
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"];
|
|
725
|
+
}]]);
|
|
726
|
+
|
|
727
|
+
var Typography =
|
|
728
|
+
/*#__PURE__*/
|
|
729
|
+
forwardRef(function (_ref, ref) {
|
|
730
|
+
var children = _ref.children,
|
|
731
|
+
className = _ref.className,
|
|
732
|
+
Vari = _ref.variant,
|
|
733
|
+
color = _ref.color,
|
|
734
|
+
weight = _ref.weight,
|
|
735
|
+
gutterBottom = _ref.gutterBottom,
|
|
736
|
+
noWrap = _ref.noWrap,
|
|
737
|
+
props = _objectWithoutPropertiesLoose(_ref, ["children", "className", "variant", "color", "weight", "gutterBottom", "noWrap"]);
|
|
738
|
+
|
|
739
|
+
var styles = useStyles$2([Vari, color, weight, gutterBottom, noWrap]);
|
|
740
|
+
return React.createElement(Vari, Object.assign({}, props, {
|
|
741
|
+
className: className ? cx(styles.typography, className) : styles.typography,
|
|
742
|
+
ref: ref
|
|
743
|
+
}), children);
|
|
744
|
+
});
|
|
745
|
+
Typography.defaultProps = {
|
|
746
|
+
weight: 'normal',
|
|
747
|
+
gutterBottom: false,
|
|
748
|
+
noWrap: false
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
var popOverStyles$1 =
|
|
752
|
+
/*#__PURE__*/
|
|
753
|
+
createStyles({
|
|
754
|
+
root: {
|
|
755
|
+
boxShadow: "0 1px 6px 0 rgba(69, 69, 69, 0.2),\n 0 1px 5px 0 rgba(69, 69, 69, 0.1)"
|
|
756
|
+
}
|
|
757
|
+
});
|
|
758
|
+
var keyBoardButtonStyles =
|
|
759
|
+
/*#__PURE__*/
|
|
760
|
+
createStyles({
|
|
761
|
+
root: {
|
|
762
|
+
'&:hover': {
|
|
763
|
+
backgroundColor: 'transparent'
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
});
|
|
767
|
+
var inputAdornmentStyles =
|
|
768
|
+
/*#__PURE__*/
|
|
769
|
+
createStyles({
|
|
770
|
+
positionStart: {
|
|
771
|
+
marginRight: '4px'
|
|
772
|
+
}
|
|
773
|
+
});
|
|
774
|
+
var styles$2 =
|
|
775
|
+
/*#__PURE__*/
|
|
776
|
+
createStyles({
|
|
777
|
+
root: {
|
|
778
|
+
maxWidth: '128px',
|
|
779
|
+
width: '100%',
|
|
780
|
+
height: '32px'
|
|
781
|
+
}
|
|
782
|
+
});
|
|
783
|
+
|
|
784
|
+
var StyledMuiKeyBoardDatePicker =
|
|
785
|
+
/*#__PURE__*/
|
|
786
|
+
withStyles(styles$2)(KeyboardDatePicker$1);
|
|
787
|
+
var usePopOverStyles$1 =
|
|
788
|
+
/*#__PURE__*/
|
|
789
|
+
makeStyles$1(popOverStyles$1);
|
|
790
|
+
var useKeyboardButtonStyles =
|
|
791
|
+
/*#__PURE__*/
|
|
792
|
+
makeStyles$1(keyBoardButtonStyles);
|
|
793
|
+
var useInputAdornmentStyles =
|
|
794
|
+
/*#__PURE__*/
|
|
795
|
+
makeStyles$1(inputAdornmentStyles);
|
|
796
|
+
var CommonKeyboardDatePickerProps = {
|
|
797
|
+
keyboardIcon:
|
|
798
|
+
/*#__PURE__*/
|
|
799
|
+
React.createElement(Icon, {
|
|
800
|
+
icon: CalendarAlt
|
|
801
|
+
}),
|
|
802
|
+
maxDateMessage: null,
|
|
803
|
+
minDateMessage: null,
|
|
804
|
+
inputVariant: 'outlined',
|
|
805
|
+
disableToolbar: true,
|
|
806
|
+
disableFuture: true,
|
|
807
|
+
variant: 'inline',
|
|
808
|
+
format: 'yyyy/MM/dd',
|
|
809
|
+
InputAdornmentProps: {
|
|
810
|
+
position: 'start'
|
|
811
|
+
},
|
|
812
|
+
margin: "normal",
|
|
813
|
+
autoOk: true
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
var InvalidDateMsg = function InvalidDateMsg(_ref) {
|
|
817
|
+
var msg = _ref.msg;
|
|
818
|
+
return React.createElement(Typography, {
|
|
819
|
+
variant: 'span',
|
|
820
|
+
color: 'error'
|
|
821
|
+
}, msg);
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
var KeyboardDatePicker = function KeyboardDatePicker(_ref2) {
|
|
825
|
+
var value = _ref2.value,
|
|
826
|
+
onChange = _ref2.onChange,
|
|
827
|
+
placeholder = _ref2.placeholder,
|
|
828
|
+
label = _ref2.label,
|
|
829
|
+
minDate = _ref2.minDate,
|
|
830
|
+
maxDate = _ref2.maxDate,
|
|
831
|
+
_ref2$invalidDateMsg = _ref2.invalidDateMsg,
|
|
832
|
+
invalidDateMsg = _ref2$invalidDateMsg === void 0 ? 'Invalid date' : _ref2$invalidDateMsg,
|
|
833
|
+
restProps = _objectWithoutPropertiesLoose(_ref2, ["value", "onChange", "placeholder", "label", "minDate", "maxDate", "invalidDateMsg"]);
|
|
834
|
+
|
|
835
|
+
var popOverClasses = usePopOverStyles$1();
|
|
836
|
+
var CommonKeyboardDatePickerClassProps = {
|
|
837
|
+
PopoverProps: {
|
|
838
|
+
PaperProps: {
|
|
839
|
+
classes: {
|
|
840
|
+
root: popOverClasses.root
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
};
|
|
845
|
+
var inputAdornmentClasses = useInputAdornmentStyles();
|
|
846
|
+
|
|
847
|
+
var KeyboardDatePickerClassProps = _extends({}, CommonKeyboardDatePickerProps, {}, CommonKeyboardDatePickerClassProps, {
|
|
848
|
+
InputAdornmentProps: _extends({}, CommonKeyboardDatePickerProps.InputAdornmentProps, {
|
|
849
|
+
classes: inputAdornmentClasses
|
|
850
|
+
})
|
|
851
|
+
});
|
|
852
|
+
|
|
853
|
+
var keyboardButtonStyles = useKeyboardButtonStyles();
|
|
854
|
+
var KeyboardButtonProps = {
|
|
855
|
+
edge: 'start',
|
|
856
|
+
size: 'small',
|
|
857
|
+
classes: {
|
|
858
|
+
root: keyboardButtonStyles.root
|
|
859
|
+
},
|
|
860
|
+
color: 'primary'
|
|
861
|
+
};
|
|
862
|
+
return React.createElement(StyledMuiKeyBoardDatePicker, Object.assign({
|
|
863
|
+
label: label,
|
|
864
|
+
placeholder: placeholder,
|
|
865
|
+
value: value,
|
|
866
|
+
minDate: minDate,
|
|
867
|
+
maxDate: maxDate,
|
|
868
|
+
onChange: onChange,
|
|
869
|
+
KeyboardButtonProps: KeyboardButtonProps,
|
|
870
|
+
invalidDateMessage: React.createElement(InvalidDateMsg, {
|
|
871
|
+
msg: invalidDateMsg
|
|
872
|
+
})
|
|
873
|
+
}, KeyboardDatePickerClassProps, restProps));
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Converts a color from CSS hex format to CSS rgba format.
|
|
878
|
+
*/
|
|
879
|
+
function hexToRgba(originColor, opacity) {
|
|
880
|
+
if (opacity === void 0) {
|
|
881
|
+
opacity = 1;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
var color = originColor.substr(1);
|
|
885
|
+
var re = new RegExp(".{1," + color.length / 3 + "}", 'g');
|
|
886
|
+
var colors = color.match(re);
|
|
887
|
+
|
|
888
|
+
if (colors && colors[0].length === 1) {
|
|
889
|
+
colors = colors.map(function (n) {
|
|
890
|
+
return n + n;
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
if (!colors) {
|
|
895
|
+
return '';
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
var rgb = colors.map(function (n) {
|
|
899
|
+
return parseInt(n, 16);
|
|
900
|
+
}).join(', ');
|
|
901
|
+
return "rgba(" + rgb + ", " + opacity + ")";
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
var useStyles$3 =
|
|
905
|
+
/*#__PURE__*/
|
|
906
|
+
makeStyles([['tag', function (theme, _ref) {
|
|
907
|
+
var originColor = _ref[0],
|
|
908
|
+
variant = _ref[1],
|
|
909
|
+
clickable = _ref[2];
|
|
910
|
+
var color = resolveThemeColorProp(theme, originColor);
|
|
911
|
+
return ["\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tjustify-content: center;\n\t\t\t\talign-items: center;\n\t\t\t\tfont-size: 13px;\n\t\t\t\tline-height: 2;\n\t\t\t\tborder-radius: 16px;\n\t\t\t\tborder: none;\n\t\t\t\toutline: none;\n\t\t\t\tpadding: 0;\n\t\t\t\ttransition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n\t\t\t\twhite-space: nowrap;\n\t\t\t\tvertical-align: middle;\n\t\t\t\ttext-decoration: none;\n\t\t\t\tcursor: default;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t", variant === 'filled' && "\n\t\t\t\tbackground-color: " + (color || theme.color.text.B) + ";\n\t\t\t\tborder: 1px solid " + (color || theme.color.text.B) + ";\n\t\t\t\tcolor: " + theme.color.text[color ? 'white' : 'B6'] + ";\n\t\t\t", variant === 'outlined' && "\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid " + (color || theme.color.text.B) + ";\n\t\t\t\tcolor: " + (color || theme.color.text.B6) + ";\n\t\t\t", clickable && "\n\t\t\t\t-webkit-tap-highlight-color: transparent;\n\t\t\t\tcursor: pointer;\n\n\t\t\t\t&:active {\n\t\t\t\t\tbox-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);\n\t\t\t\t}\n\t\t\t", clickable && variant === 'filled' && "\n\t\t\t\t&:hover,\n\t\t\t\t&:focus {\n\t\t\t\t\tbackground-color: " + hexToRgba(color || theme.color.text.B2, 0.8) + ";\n\t\t\t\t}\n\t\t\t", clickable && variant === 'outlined' && "\n\t\t\t\t&:hover,\n\t\t\t\t&:focus {\n\t\t\t\t\tbackground-color: " + hexToRgba(color || theme.color.text.B6, 0.08) + ";\n\t\t\t\t}\n\t\t\t"];
|
|
912
|
+
}], ['label', "\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tpadding: 0 8px;\n\t\twhite-space: nowrap;\n\t\tuser-select: none;\n\t\tcursor: inherit;\n\t"]]);
|
|
913
|
+
|
|
914
|
+
var Tag = function Tag(_ref) {
|
|
915
|
+
var children = _ref.children,
|
|
916
|
+
className = _ref.className,
|
|
917
|
+
color = _ref.color,
|
|
918
|
+
variant = _ref.variant,
|
|
919
|
+
onClick = _ref.onClick,
|
|
920
|
+
props = _objectWithoutPropertiesLoose(_ref, ["children", "className", "color", "variant", "onClick"]);
|
|
921
|
+
|
|
922
|
+
var styles = useStyles$3([color, variant, !!onClick]);
|
|
923
|
+
return React.createElement("div", Object.assign({}, props, {
|
|
924
|
+
className: className ? cx(styles.tag, className) : styles.tag,
|
|
925
|
+
onClick: onClick
|
|
926
|
+
}), React.createElement("span", {
|
|
927
|
+
className: styles.label
|
|
928
|
+
}, children));
|
|
929
|
+
};
|
|
930
|
+
|
|
931
|
+
Tag.defaultProps = {
|
|
932
|
+
variant: 'filled'
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
var Tooltip =
|
|
936
|
+
/*#__PURE__*/
|
|
937
|
+
forwardRef(function (_ref, ref) {
|
|
938
|
+
var children = _ref.children,
|
|
939
|
+
title = _ref.title,
|
|
940
|
+
arrow = _ref.arrow,
|
|
941
|
+
placement = _ref.placement,
|
|
942
|
+
enterDelay = _ref.enterDelay,
|
|
943
|
+
enterNextDelay = _ref.enterNextDelay,
|
|
944
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "title", "arrow", "placement", "enterDelay", "enterNextDelay"]);
|
|
945
|
+
|
|
946
|
+
return React.createElement(MuiTooltip, Object.assign({
|
|
947
|
+
title: title,
|
|
948
|
+
arrow: arrow,
|
|
949
|
+
placement: placement,
|
|
950
|
+
enterDelay: enterDelay,
|
|
951
|
+
enterNextDelay: enterNextDelay,
|
|
952
|
+
ref: ref
|
|
953
|
+
}, restProps), children);
|
|
954
|
+
});
|
|
955
|
+
|
|
956
|
+
var useStyles$4 =
|
|
957
|
+
/*#__PURE__*/
|
|
958
|
+
makeStyles$1({
|
|
959
|
+
root: {
|
|
960
|
+
boxSizing: 'border-box',
|
|
961
|
+
width: '100%',
|
|
962
|
+
paddingLeft: '5px',
|
|
963
|
+
paddingBottom: '0',
|
|
964
|
+
height: function height(props) {
|
|
965
|
+
return props.height || '32px';
|
|
966
|
+
},
|
|
967
|
+
backgroundColor: function backgroundColor(props) {
|
|
968
|
+
return props.backgroundColor || '#fff';
|
|
969
|
+
},
|
|
970
|
+
'& .status': {
|
|
971
|
+
display: 'none'
|
|
972
|
+
},
|
|
973
|
+
'& .MuiSelect-icon': {
|
|
974
|
+
fontSize: '20px',
|
|
975
|
+
width: '16px',
|
|
976
|
+
height: '16px',
|
|
977
|
+
top: 'calc(50% - 8px)'
|
|
978
|
+
},
|
|
979
|
+
'& .MuiInputBase-input': {
|
|
980
|
+
display: 'flex',
|
|
981
|
+
alignItems: 'center',
|
|
982
|
+
boxSizing: 'border-box',
|
|
983
|
+
padding: '5px 0',
|
|
984
|
+
height: function height(props) {
|
|
985
|
+
return props.height || '32px';
|
|
986
|
+
},
|
|
987
|
+
lineHeight: function lineHeight(props) {
|
|
988
|
+
return props.height || '32px';
|
|
989
|
+
},
|
|
990
|
+
color: function color(props) {
|
|
991
|
+
return props.selectedItemColor || '#6b6b6b';
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
});
|
|
996
|
+
var itemStyle =
|
|
997
|
+
/*#__PURE__*/
|
|
998
|
+
makeStyles$1({
|
|
999
|
+
container: {
|
|
1000
|
+
transition: '0.2s',
|
|
1001
|
+
transitionProperty: 'color, background-color',
|
|
1002
|
+
maxWidth: '100%',
|
|
1003
|
+
paddingLeft: '5px',
|
|
1004
|
+
overflow: 'hidden',
|
|
1005
|
+
'&:hover': {
|
|
1006
|
+
backgroundColor: function backgroundColor(props) {
|
|
1007
|
+
return props.itemHoverBackgroundColor || '#d1f0e5';
|
|
1008
|
+
},
|
|
1009
|
+
color: function color(props) {
|
|
1010
|
+
return props.itemHoverColor || '#2f9271';
|
|
1011
|
+
},
|
|
1012
|
+
'& > $var': {
|
|
1013
|
+
backgroundColor: '#3dba90',
|
|
1014
|
+
color: '#fff'
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
'&.Mui-selected': {
|
|
1018
|
+
backgroundColor: function backgroundColor(props) {
|
|
1019
|
+
return props.itemSelectedBackgroundColor || '#fff';
|
|
1020
|
+
},
|
|
1021
|
+
color: function color(props) {
|
|
1022
|
+
return props.itemSelectedColor || '#3dba90';
|
|
1023
|
+
},
|
|
1024
|
+
'& > $var': {
|
|
1025
|
+
backgroundColor: '#3dba90',
|
|
1026
|
+
color: '#fff'
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
root: {
|
|
1031
|
+
padding: '0 5px',
|
|
1032
|
+
height: '30px',
|
|
1033
|
+
lineHeight: '30px',
|
|
1034
|
+
color: '#6b6b6b'
|
|
1035
|
+
},
|
|
1036
|
+
"var": {
|
|
1037
|
+
display: 'inline-block',
|
|
1038
|
+
paddingLeft: '8px',
|
|
1039
|
+
paddingRight: '8px',
|
|
1040
|
+
maxWidth: 'calc(100% - 16px)',
|
|
1041
|
+
overflow: 'hidden',
|
|
1042
|
+
whiteSpace: 'nowrap',
|
|
1043
|
+
textOverflow: 'ellipsis',
|
|
1044
|
+
color: '#6b6b6b',
|
|
1045
|
+
backgroundColor: '#eee',
|
|
1046
|
+
borderRadius: '4px',
|
|
1047
|
+
transition: '0.2s',
|
|
1048
|
+
transitionProperty: 'color, background-color',
|
|
1049
|
+
'&::before': {
|
|
1050
|
+
content: '"# "'
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
});
|
|
1054
|
+
|
|
1055
|
+
var Select = function Select(props) {
|
|
1056
|
+
var options = props.options,
|
|
1057
|
+
value = props.value,
|
|
1058
|
+
onChange = props.onChange,
|
|
1059
|
+
_props$variant = props.variant,
|
|
1060
|
+
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
1061
|
+
_props$multiple = props.multiple,
|
|
1062
|
+
multiple = _props$multiple === void 0 ? false : _props$multiple,
|
|
1063
|
+
onOpen = props.onOpen,
|
|
1064
|
+
onClose = props.onClose,
|
|
1065
|
+
height = props.height,
|
|
1066
|
+
backgroundColor = props.backgroundColor,
|
|
1067
|
+
_props$isVarItem = props.isVarItem,
|
|
1068
|
+
isVarItem = _props$isVarItem === void 0 ? false : _props$isVarItem,
|
|
1069
|
+
restProps = _objectWithoutPropertiesLoose(props, ["options", "value", "onChange", "variant", "multiple", "onOpen", "onClose", "height", "backgroundColor", "isVarItem"]);
|
|
1070
|
+
|
|
1071
|
+
var classes = useStyles$4(props);
|
|
1072
|
+
var itemClasses = itemStyle(props);
|
|
1073
|
+
return React.createElement(MuiSelect, Object.assign({
|
|
1074
|
+
className: classes.root,
|
|
1075
|
+
value: value,
|
|
1076
|
+
onChange: onChange,
|
|
1077
|
+
variant: variant,
|
|
1078
|
+
multiple: multiple,
|
|
1079
|
+
onOpen: onOpen,
|
|
1080
|
+
onClose: onClose,
|
|
1081
|
+
displayEmpty: true,
|
|
1082
|
+
fullWidth: true
|
|
1083
|
+
}, restProps), options.map(function (option) {
|
|
1084
|
+
return React.createElement(MuiMenuItem, {
|
|
1085
|
+
className: itemClasses.container,
|
|
1086
|
+
value: option.value,
|
|
1087
|
+
key: option.value
|
|
1088
|
+
}, isVarItem ? React.createElement("div", {
|
|
1089
|
+
className: cx(itemClasses.root, itemClasses["var"])
|
|
1090
|
+
}, option.children) : option.children);
|
|
1091
|
+
}));
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
var styles$3 =
|
|
1095
|
+
/*#__PURE__*/
|
|
1096
|
+
createStyles({
|
|
1097
|
+
root: {
|
|
1098
|
+
boxSizing: 'border-box',
|
|
1099
|
+
height: '40px',
|
|
1100
|
+
paddingTop: '5px',
|
|
1101
|
+
paddingLeft: '5px',
|
|
1102
|
+
paddingBottom: '0',
|
|
1103
|
+
paddingRight: '32px',
|
|
1104
|
+
backgroundColor: '#fff',
|
|
1105
|
+
'& .status': {
|
|
1106
|
+
display: 'none'
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
icon: {
|
|
1110
|
+
fontSize: '20px',
|
|
1111
|
+
width: '16px',
|
|
1112
|
+
height: '16px',
|
|
1113
|
+
top: 'calc(50% - 8px)'
|
|
1114
|
+
}
|
|
1115
|
+
});
|
|
1116
|
+
var emptyStyles =
|
|
1117
|
+
/*#__PURE__*/
|
|
1118
|
+
createStyles({
|
|
1119
|
+
root: {
|
|
1120
|
+
paddingLeft: '36px',
|
|
1121
|
+
pointerEvents: 'none'
|
|
1122
|
+
}
|
|
1123
|
+
});
|
|
1124
|
+
var subheaderStyles =
|
|
1125
|
+
/*#__PURE__*/
|
|
1126
|
+
createStyles({
|
|
1127
|
+
root: {
|
|
1128
|
+
color: '#989898',
|
|
1129
|
+
pointerEvents: 'none'
|
|
1130
|
+
}
|
|
1131
|
+
});
|
|
1132
|
+
var useCustomOptionStyle =
|
|
1133
|
+
/*#__PURE__*/
|
|
1134
|
+
makeStyles$1({
|
|
1135
|
+
container: {
|
|
1136
|
+
backgroundColor: '#fff',
|
|
1137
|
+
maxWidth: '100%',
|
|
1138
|
+
overflow: 'hidden',
|
|
1139
|
+
marginLeft: '16px',
|
|
1140
|
+
'&:hover': {
|
|
1141
|
+
backgroundColor: '#d1f0e5',
|
|
1142
|
+
'& > $var': {
|
|
1143
|
+
backgroundColor: '#3dba90',
|
|
1144
|
+
color: '#fff'
|
|
1145
|
+
},
|
|
1146
|
+
'& > $sbj': {
|
|
1147
|
+
color: '#2f9271'
|
|
1148
|
+
}
|
|
1149
|
+
},
|
|
1150
|
+
'&.Mui-selected': {
|
|
1151
|
+
backgroundColor: '#fff',
|
|
1152
|
+
'& > $var': {
|
|
1153
|
+
backgroundColor: '#3dba90',
|
|
1154
|
+
color: '#fff'
|
|
1155
|
+
},
|
|
1156
|
+
'& > $sbj': {
|
|
1157
|
+
color: '#3dba90'
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
root: {
|
|
1162
|
+
padding: '0 5px',
|
|
1163
|
+
height: '30px',
|
|
1164
|
+
lineHeight: '30px',
|
|
1165
|
+
color: '#6b6b6b'
|
|
1166
|
+
},
|
|
1167
|
+
"var": {
|
|
1168
|
+
display: 'inline-block',
|
|
1169
|
+
paddingLeft: '8px',
|
|
1170
|
+
paddingRight: '8px',
|
|
1171
|
+
maxWidth: 'calc(100% - 16px)',
|
|
1172
|
+
overflow: 'hidden',
|
|
1173
|
+
whiteSpace: 'nowrap',
|
|
1174
|
+
textOverflow: 'ellipsis',
|
|
1175
|
+
color: '#6b6b6b',
|
|
1176
|
+
backgroundColor: '#eee',
|
|
1177
|
+
borderRadius: '4px',
|
|
1178
|
+
transition: '0.2s',
|
|
1179
|
+
transitionProperty: 'color, background-color',
|
|
1180
|
+
'&::before': {
|
|
1181
|
+
content: '"# "'
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
sbj: {
|
|
1185
|
+
color: '#6b6b6b',
|
|
1186
|
+
transition: 'color 0.2s'
|
|
1187
|
+
}
|
|
1188
|
+
});
|
|
1189
|
+
|
|
1190
|
+
var StyledSelect =
|
|
1191
|
+
/*#__PURE__*/
|
|
1192
|
+
withStyles(styles$3)(MuiSelect);
|
|
1193
|
+
var StyledEmptyLabel =
|
|
1194
|
+
/*#__PURE__*/
|
|
1195
|
+
withStyles(emptyStyles)(MuiListSubheader);
|
|
1196
|
+
var StyledSubheader =
|
|
1197
|
+
/*#__PURE__*/
|
|
1198
|
+
withStyles(subheaderStyles)(MuiListSubheader);
|
|
1199
|
+
|
|
1200
|
+
var GroupSelect = function GroupSelect(props) {
|
|
1201
|
+
var groups = props.groups,
|
|
1202
|
+
value = props.value,
|
|
1203
|
+
onChange = props.onChange,
|
|
1204
|
+
_props$variant = props.variant,
|
|
1205
|
+
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
1206
|
+
onOpen = props.onOpen,
|
|
1207
|
+
onClose = props.onClose;
|
|
1208
|
+
var classes = useCustomOptionStyle();
|
|
1209
|
+
return React.createElement(StyledSelect, {
|
|
1210
|
+
value: value,
|
|
1211
|
+
onChange: onChange,
|
|
1212
|
+
variant: variant,
|
|
1213
|
+
onOpen: onOpen,
|
|
1214
|
+
onClose: onClose,
|
|
1215
|
+
displayEmpty: true,
|
|
1216
|
+
fullWidth: true
|
|
1217
|
+
}, groups.map(function (group) {
|
|
1218
|
+
return [React.createElement(StyledSubheader, null, group.groupTitle), group.options.map(function (opt) {
|
|
1219
|
+
if (opt.emptyLabel) {
|
|
1220
|
+
return React.createElement(StyledEmptyLabel, {
|
|
1221
|
+
style: {
|
|
1222
|
+
pointerEvents: 'none'
|
|
1223
|
+
}
|
|
1224
|
+
}, opt.emptyLabel);
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
return React.createElement(MuiMenuItem, {
|
|
1228
|
+
className: classes.container,
|
|
1229
|
+
value: opt.value,
|
|
1230
|
+
key: opt.value
|
|
1231
|
+
}, React.createElement("div", {
|
|
1232
|
+
className: cx(classes.root, classes[group.optionType])
|
|
1233
|
+
}, opt.children));
|
|
1234
|
+
})];
|
|
1235
|
+
}));
|
|
1236
|
+
};
|
|
1237
|
+
|
|
1238
|
+
function _templateObject5() {
|
|
1239
|
+
var data = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 8px;\n font-size: 14px;\n color: ", ";\n font-weight: ", ";\n"]);
|
|
1240
|
+
|
|
1241
|
+
_templateObject5 = function _templateObject5() {
|
|
1242
|
+
return data;
|
|
1243
|
+
};
|
|
1244
|
+
|
|
1245
|
+
return data;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
function _templateObject4() {
|
|
1249
|
+
var data = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 8px;\n font-size: 14px;\n color: #fff;\n font-weight: ", ";\n"]);
|
|
1250
|
+
|
|
1251
|
+
_templateObject4 = function _templateObject4() {
|
|
1252
|
+
return data;
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1255
|
+
return data;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
function _templateObject3() {
|
|
1259
|
+
var data = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n top: -1px;\n transform: ", ";\n width: 23px;\n height: 23px;\n background: #fff;\n border: 1px solid #eee;\n box-shadow: #bdbdbd 0 1px 2px 0;\n border-radius: 90px;\n transition: 0.3s;\n\n &:hover {\n box-shadow: #bdbdbd 0 2px 4px 0;\n }\n"]);
|
|
1260
|
+
|
|
1261
|
+
_templateObject3 = function _templateObject3() {
|
|
1262
|
+
return data;
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1265
|
+
return data;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
function _templateObject2$2() {
|
|
1269
|
+
var data = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n width: 60px;\n min-width: 60px;\n height: 22px;\n display: block;\n border-radius: 100px;\n display: flex;\n align-items: center;\n position: relative;\n background-color: ", ";\n transition: 0.3s;\n outline: none;\n"]);
|
|
1270
|
+
|
|
1271
|
+
_templateObject2$2 = function _templateObject2() {
|
|
1272
|
+
return data;
|
|
1273
|
+
};
|
|
1274
|
+
|
|
1275
|
+
return data;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
function _templateObject$2() {
|
|
1279
|
+
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"]);
|
|
1280
|
+
|
|
1281
|
+
_templateObject$2 = function _templateObject() {
|
|
1282
|
+
return data;
|
|
1283
|
+
};
|
|
1284
|
+
|
|
1285
|
+
return data;
|
|
1286
|
+
}
|
|
1287
|
+
var InputStyle =
|
|
1288
|
+
/*#__PURE__*/
|
|
1289
|
+
styled$1('input')(
|
|
1290
|
+
/*#__PURE__*/
|
|
1291
|
+
_templateObject$2());
|
|
1292
|
+
var LabelStyle =
|
|
1293
|
+
/*#__PURE__*/
|
|
1294
|
+
styled$1('label')(
|
|
1295
|
+
/*#__PURE__*/
|
|
1296
|
+
_templateObject2$2(), function (props) {
|
|
1297
|
+
return props.checked ? theme.color.primary["default"] : theme.color.text.F;
|
|
1298
|
+
});
|
|
1299
|
+
var ThumbStyle =
|
|
1300
|
+
/*#__PURE__*/
|
|
1301
|
+
styled$1('span')(
|
|
1302
|
+
/*#__PURE__*/
|
|
1303
|
+
_templateObject3(), function (props) {
|
|
1304
|
+
return props.checked ? '100%' : '0';
|
|
1305
|
+
}, function (props) {
|
|
1306
|
+
return props.checked && 'translateX(-99%)';
|
|
1307
|
+
});
|
|
1308
|
+
var CheckedNode =
|
|
1309
|
+
/*#__PURE__*/
|
|
1310
|
+
styled$1('span')(
|
|
1311
|
+
/*#__PURE__*/
|
|
1312
|
+
_templateObject4(), theme.typography.fontWeight.normal);
|
|
1313
|
+
var UnCheckedNode =
|
|
1314
|
+
/*#__PURE__*/
|
|
1315
|
+
styled$1('span')(
|
|
1316
|
+
/*#__PURE__*/
|
|
1317
|
+
_templateObject5(), theme.color.text.B3, theme.typography.fontWeight.normal);
|
|
1318
|
+
|
|
1319
|
+
var Switch =
|
|
1320
|
+
/*#__PURE__*/
|
|
1321
|
+
forwardRef(function (_ref, ref) {
|
|
1322
|
+
var checked = _ref.checked,
|
|
1323
|
+
onChange = _ref.onChange,
|
|
1324
|
+
innerCheckedNode = _ref.innerCheckedNode,
|
|
1325
|
+
innerUnCheckedNode = _ref.innerUnCheckedNode,
|
|
1326
|
+
icon = _ref.icon,
|
|
1327
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["checked", "onChange", "innerCheckedNode", "innerUnCheckedNode", "icon"]);
|
|
1328
|
+
|
|
1329
|
+
return React.createElement(LabelStyle, Object.assign({
|
|
1330
|
+
htmlFor: 'switch-label',
|
|
1331
|
+
checked: checked
|
|
1332
|
+
}, restProps), React.createElement(ThumbStyle, {
|
|
1333
|
+
checked: checked
|
|
1334
|
+
}, icon), React.createElement(InputStyle, Object.assign({
|
|
1335
|
+
type: 'checkbox',
|
|
1336
|
+
id: 'switch-label',
|
|
1337
|
+
checked: checked,
|
|
1338
|
+
onChange: onChange,
|
|
1339
|
+
ref: ref
|
|
1340
|
+
}, restProps)), checked && React.createElement(CheckedNode, null, innerCheckedNode), !checked && React.createElement(UnCheckedNode, null, innerUnCheckedNode));
|
|
1341
|
+
});
|
|
1342
|
+
|
|
1343
|
+
var menuListStyles =
|
|
1344
|
+
/*#__PURE__*/
|
|
1345
|
+
createStyles({
|
|
1346
|
+
root: {
|
|
1347
|
+
padding: '10px 0'
|
|
1348
|
+
}
|
|
1349
|
+
});
|
|
1350
|
+
var paperStyles =
|
|
1351
|
+
/*#__PURE__*/
|
|
1352
|
+
createStyles({
|
|
1353
|
+
root: {
|
|
1354
|
+
boxShadow: "0 1px 8px 0 rgba(69, 69, 69, 0.2),\n 0 1px 6px 0 rgba(69, 69, 69, 0.1);",
|
|
1355
|
+
minWidth: '120px'
|
|
1356
|
+
}
|
|
1357
|
+
});
|
|
1358
|
+
|
|
1359
|
+
var StyledPaper =
|
|
1360
|
+
/*#__PURE__*/
|
|
1361
|
+
withStyles(paperStyles)(MuiPaper);
|
|
1362
|
+
var StyledMenuList =
|
|
1363
|
+
/*#__PURE__*/
|
|
1364
|
+
withStyles(menuListStyles)(MuiMenuList);
|
|
1365
|
+
|
|
1366
|
+
var MenuList = function MenuList(_ref) {
|
|
1367
|
+
var open = _ref.open,
|
|
1368
|
+
onMenuClose = _ref.onMenuClose,
|
|
1369
|
+
anchorEl = _ref.anchorEl,
|
|
1370
|
+
placement = _ref.placement,
|
|
1371
|
+
children = _ref.children,
|
|
1372
|
+
modifiers = _ref.modifiers,
|
|
1373
|
+
_ref$fade = _ref.fade,
|
|
1374
|
+
fade = _ref$fade === void 0 ? false : _ref$fade;
|
|
1375
|
+
var paper = React.createElement(StyledPaper, null, React.createElement(ClickAwayListener, {
|
|
1376
|
+
onClickAway: onMenuClose
|
|
1377
|
+
}, React.createElement(StyledMenuList, null, children)));
|
|
1378
|
+
return React.createElement(Popper$1, {
|
|
1379
|
+
open: open,
|
|
1380
|
+
anchorEl: anchorEl,
|
|
1381
|
+
placement: placement,
|
|
1382
|
+
transition: true,
|
|
1383
|
+
modifiers: modifiers
|
|
1384
|
+
}, function (_ref2) {
|
|
1385
|
+
var TransitionProps = _ref2.TransitionProps;
|
|
1386
|
+
|
|
1387
|
+
if (fade) {
|
|
1388
|
+
return React.createElement(Fade, Object.assign({}, TransitionProps, {
|
|
1389
|
+
timeout: 400
|
|
1390
|
+
}), paper);
|
|
1391
|
+
} else {
|
|
1392
|
+
return paper;
|
|
1393
|
+
}
|
|
1394
|
+
});
|
|
1395
|
+
};
|
|
1396
|
+
|
|
1397
|
+
var useStyles$5 =
|
|
1398
|
+
/*#__PURE__*/
|
|
1399
|
+
makeStyles$1({
|
|
1400
|
+
root: {
|
|
1401
|
+
backgroundColor: function backgroundColor(props) {
|
|
1402
|
+
return props.backgroundColor;
|
|
1403
|
+
},
|
|
1404
|
+
color: function color(props) {
|
|
1405
|
+
return props.color;
|
|
1406
|
+
},
|
|
1407
|
+
'&:hover': {
|
|
1408
|
+
backgroundColor: function backgroundColor(props) {
|
|
1409
|
+
return props.hoverBackgroundColor;
|
|
1410
|
+
},
|
|
1411
|
+
color: function color(props) {
|
|
1412
|
+
return props.hoverColor;
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
});
|
|
1417
|
+
|
|
1418
|
+
var MenuItem = function MenuItem(props) {
|
|
1419
|
+
var children = props.children,
|
|
1420
|
+
backgroundColor = props.backgroundColor,
|
|
1421
|
+
color = props.color,
|
|
1422
|
+
hoverBackgroundColor = props.hoverBackgroundColor,
|
|
1423
|
+
hoverColor = props.hoverColor,
|
|
1424
|
+
restProps = _objectWithoutPropertiesLoose(props, ["children", "backgroundColor", "color", "hoverBackgroundColor", "hoverColor"]);
|
|
1425
|
+
|
|
1426
|
+
var classes = useStyles$5(props);
|
|
1427
|
+
return React.createElement(MuiMenuItem, Object.assign({}, restProps, {
|
|
1428
|
+
className: classes.root
|
|
1429
|
+
}), children);
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
var styles$4 = function styles(theme) {
|
|
1433
|
+
return {
|
|
1434
|
+
root: {
|
|
1435
|
+
borderColor: theme.palette.primary.main,
|
|
1436
|
+
'&:hover': {
|
|
1437
|
+
backgroundColor: '#d1f0e5'
|
|
1438
|
+
},
|
|
1439
|
+
'&.Mui-selected': {
|
|
1440
|
+
backgroundColor: theme.palette.primary.main,
|
|
1441
|
+
color: 'white',
|
|
1442
|
+
'&:hover': {
|
|
1443
|
+
backgroundColor: theme.palette.primary.main
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
sizeSmall: {
|
|
1448
|
+
width: 40,
|
|
1449
|
+
height: 32,
|
|
1450
|
+
'& svg': {
|
|
1451
|
+
width: 18,
|
|
1452
|
+
height: 18
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
|
|
1458
|
+
var StyledMuiToggleButton =
|
|
1459
|
+
/*#__PURE__*/
|
|
1460
|
+
withStyles(styles$4)(MuiToggleButton);
|
|
1461
|
+
|
|
1462
|
+
var ToggleButtonGroup = function ToggleButtonGroup(props) {
|
|
1463
|
+
var value = props.value,
|
|
1464
|
+
_props$exclusive = props.exclusive,
|
|
1465
|
+
exclusive = _props$exclusive === void 0 ? true : _props$exclusive,
|
|
1466
|
+
onChange = props.onChange,
|
|
1467
|
+
_props$size = props.size,
|
|
1468
|
+
size = _props$size === void 0 ? 'medium' : _props$size,
|
|
1469
|
+
toggleButtons = props.toggleButtons,
|
|
1470
|
+
ariaLabel = props.ariaLabel;
|
|
1471
|
+
return React.createElement(MuiToggleButtonGroup, {
|
|
1472
|
+
value: value,
|
|
1473
|
+
exclusive: exclusive,
|
|
1474
|
+
onChange: onChange,
|
|
1475
|
+
size: size,
|
|
1476
|
+
"aria-label": ariaLabel
|
|
1477
|
+
}, toggleButtons.map(function (toggleButton) {
|
|
1478
|
+
var value = toggleButton.value,
|
|
1479
|
+
disabled = toggleButton.disabled,
|
|
1480
|
+
children = toggleButton.children;
|
|
1481
|
+
return React.createElement(StyledMuiToggleButton, {
|
|
1482
|
+
key: value,
|
|
1483
|
+
value: value,
|
|
1484
|
+
disabled: disabled,
|
|
1485
|
+
disableFocusRipple: true,
|
|
1486
|
+
disableRipple: true,
|
|
1487
|
+
"aria-label": value
|
|
1488
|
+
}, children);
|
|
1489
|
+
}));
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
var CustomIconButton =
|
|
1493
|
+
/*#__PURE__*/
|
|
1494
|
+
styled(IconButton)(function (_ref) {
|
|
1495
|
+
var theme = _ref.theme;
|
|
1496
|
+
return {
|
|
1497
|
+
fontSize: '1rem',
|
|
1498
|
+
'&:hover': {
|
|
1499
|
+
color: theme.palette.primary.main,
|
|
1500
|
+
backgroundColor: 'transparent'
|
|
1501
|
+
},
|
|
1502
|
+
'&:focus': {
|
|
1503
|
+
color: theme.palette.primary.main
|
|
1504
|
+
}
|
|
1505
|
+
};
|
|
1506
|
+
});
|
|
1507
|
+
var ChevronLeftIconButton =
|
|
1508
|
+
/*#__PURE__*/
|
|
1509
|
+
memo(function (props) {
|
|
1510
|
+
return React.createElement(CustomIconButton, Object.assign({}, props), React.createElement(SvgIcon, {
|
|
1511
|
+
viewBox: "0 0 256 512",
|
|
1512
|
+
fontSize: "inherit"
|
|
1513
|
+
}, React.createElement("path", {
|
|
1514
|
+
d: "M238.475 475.535l7.071-7.07c4.686-4.686 4.686-12.284 0-16.971L50.053 256 245.546 60.506c4.686-4.686 4.686-12.284 0-16.971l-7.071-7.07c-4.686-4.686-12.284-4.686-16.97 0L10.454 247.515c-4.686 4.686-4.686 12.284 0 16.971l211.051 211.05c4.686 4.686 12.284 4.686 16.97-.001z"
|
|
1515
|
+
})));
|
|
1516
|
+
});
|
|
1517
|
+
var ChevronRightIconButton =
|
|
1518
|
+
/*#__PURE__*/
|
|
1519
|
+
memo(function (props) {
|
|
1520
|
+
return React.createElement(CustomIconButton, Object.assign({}, props), React.createElement(SvgIcon, {
|
|
1521
|
+
viewBox: "0 0 256 512",
|
|
1522
|
+
fontSize: "inherit"
|
|
1523
|
+
}, React.createElement("path", {
|
|
1524
|
+
d: "M17.525 36.465l-7.071 7.07c-4.686 4.686-4.686 12.284 0 16.971L205.947 256 10.454 451.494c-4.686 4.686-4.686 12.284 0 16.971l7.071 7.07c4.686 4.686 12.284 4.686 16.97 0l211.051-211.05c4.686-4.686 4.686-12.284 0-16.971L34.495 36.465c-4.686-4.687-12.284-4.687-16.97 0z"
|
|
1525
|
+
})));
|
|
1526
|
+
});
|
|
1527
|
+
|
|
1528
|
+
var KEYCODE = {
|
|
1529
|
+
ENTER: 13
|
|
1530
|
+
};
|
|
1531
|
+
var useTextFieldStyles =
|
|
1532
|
+
/*#__PURE__*/
|
|
1533
|
+
makeStyles$1(function (theme) {
|
|
1534
|
+
return {
|
|
1535
|
+
root: {
|
|
1536
|
+
width: theme.spacing(4),
|
|
1537
|
+
'& > div': {
|
|
1538
|
+
width: theme.spacing(4),
|
|
1539
|
+
height: theme.spacing(3)
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
input: {
|
|
1543
|
+
textAlign: 'center',
|
|
1544
|
+
'&::-webkit-clear-button, &::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {
|
|
1545
|
+
/* display: none; <- Crashes Chrome on hover */
|
|
1546
|
+
WebkitAppearance: 'none',
|
|
1547
|
+
|
|
1548
|
+
/* <-- Apparently some margin are still there even though it's hidden */
|
|
1549
|
+
margin: 0,
|
|
1550
|
+
MozAppearance: 'textfield'
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
};
|
|
1554
|
+
});
|
|
1555
|
+
|
|
1556
|
+
var Pagination = function Pagination(_ref) {
|
|
1557
|
+
var pageIndex = _ref.pageIndex,
|
|
1558
|
+
totalPages = _ref.totalPages,
|
|
1559
|
+
setPageIndex = _ref.setPageIndex;
|
|
1560
|
+
var inputRef = useRef(null);
|
|
1561
|
+
|
|
1562
|
+
var _useState = useState('1'),
|
|
1563
|
+
innerPageIndex = _useState[0],
|
|
1564
|
+
setInnerPageIndex = _useState[1];
|
|
1565
|
+
|
|
1566
|
+
useEffect(function () {
|
|
1567
|
+
setInnerPageIndex((pageIndex + 1).toString());
|
|
1568
|
+
}, [pageIndex]);
|
|
1569
|
+
useEffect(function () {
|
|
1570
|
+
if (totalPages <= 0) {
|
|
1571
|
+
setPageIndex(-1);
|
|
1572
|
+
} else if (totalPages - 1 < pageIndex) {
|
|
1573
|
+
setPageIndex(0);
|
|
1574
|
+
}
|
|
1575
|
+
}, [totalPages]);
|
|
1576
|
+
var prev = useCallback(function () {
|
|
1577
|
+
if (pageIndex > 0) {
|
|
1578
|
+
setInnerPageIndex(pageIndex.toString());
|
|
1579
|
+
setPageIndex(pageIndex - 1);
|
|
1580
|
+
}
|
|
1581
|
+
}, [pageIndex, setPageIndex, setInnerPageIndex]);
|
|
1582
|
+
var next = useCallback(function () {
|
|
1583
|
+
if (pageIndex < totalPages - 1) {
|
|
1584
|
+
setInnerPageIndex((pageIndex + 2).toString());
|
|
1585
|
+
setPageIndex(pageIndex + 1);
|
|
1586
|
+
}
|
|
1587
|
+
}, [pageIndex, totalPages, setPageIndex, setInnerPageIndex]);
|
|
1588
|
+
var onChange = useCallback(function (event) {
|
|
1589
|
+
var isNumber = event.target.value.match('^[0-9]*$');
|
|
1590
|
+
var pageIndexFromEvent = parseInt(event.target.value, 10);
|
|
1591
|
+
|
|
1592
|
+
if (pageIndexFromEvent >= 1 && pageIndexFromEvent <= totalPages && isNumber && Number.isInteger(pageIndexFromEvent) && totalPages > 0) {
|
|
1593
|
+
setInnerPageIndex(event.target.value);
|
|
1594
|
+
} else if (!pageIndexFromEvent) {
|
|
1595
|
+
setInnerPageIndex('');
|
|
1596
|
+
}
|
|
1597
|
+
}, [totalPages, setInnerPageIndex]);
|
|
1598
|
+
var onBlur = useCallback(function () {
|
|
1599
|
+
var isNumber = innerPageIndex.match('^[0-9]*$');
|
|
1600
|
+
|
|
1601
|
+
if (innerPageIndex && isNumber) {
|
|
1602
|
+
setPageIndex(parseInt(innerPageIndex, 10) - 1);
|
|
1603
|
+
} else {
|
|
1604
|
+
setInnerPageIndex((pageIndex + 1).toString());
|
|
1605
|
+
}
|
|
1606
|
+
}, [innerPageIndex, setPageIndex, setInnerPageIndex]);
|
|
1607
|
+
var onKeyUp = useCallback(function (event) {
|
|
1608
|
+
if (event.keyCode === KEYCODE.ENTER) {
|
|
1609
|
+
onBlur();
|
|
1610
|
+
inputRef.current && inputRef.current.blur();
|
|
1611
|
+
}
|
|
1612
|
+
}, [onBlur, inputRef]);
|
|
1613
|
+
var hasPrev = pageIndex > 0;
|
|
1614
|
+
var hasNext = pageIndex < totalPages - 1;
|
|
1615
|
+
var styles = useTextFieldStyles();
|
|
1616
|
+
return React.createElement(Box, {
|
|
1617
|
+
display: "inline-flex",
|
|
1618
|
+
alignItems: "center",
|
|
1619
|
+
color: "grey.500"
|
|
1620
|
+
}, React.createElement(ChevronLeftIconButton, {
|
|
1621
|
+
disabled: !hasPrev,
|
|
1622
|
+
onClick: prev,
|
|
1623
|
+
tabIndex: hasPrev ? 0 : undefined,
|
|
1624
|
+
"aria-disabled": !hasPrev,
|
|
1625
|
+
size: "small"
|
|
1626
|
+
}), React.createElement(Box, {
|
|
1627
|
+
display: "flex",
|
|
1628
|
+
alignItems: "center",
|
|
1629
|
+
"data-page": pageIndex + 1,
|
|
1630
|
+
"data-total-pages": totalPages
|
|
1631
|
+
}, React.createElement(TextField, {
|
|
1632
|
+
classes: {
|
|
1633
|
+
root: styles.root
|
|
1634
|
+
},
|
|
1635
|
+
InputProps: {
|
|
1636
|
+
classes: {
|
|
1637
|
+
input: styles.input
|
|
1638
|
+
}
|
|
1639
|
+
},
|
|
1640
|
+
inputRef: inputRef,
|
|
1641
|
+
type: "text",
|
|
1642
|
+
value: innerPageIndex,
|
|
1643
|
+
onChange: onChange,
|
|
1644
|
+
onKeyUp: onKeyUp,
|
|
1645
|
+
onBlur: onBlur,
|
|
1646
|
+
variant: "outlined"
|
|
1647
|
+
}), React.createElement(Box, {
|
|
1648
|
+
pr: 0.5,
|
|
1649
|
+
pl: 1
|
|
1650
|
+
}, React.createElement(Typography$1, {
|
|
1651
|
+
variant: "body1"
|
|
1652
|
+
}, "\uFF0F")), React.createElement(Typography$1, {
|
|
1653
|
+
variant: "body1"
|
|
1654
|
+
}, totalPages)), React.createElement(ChevronRightIconButton, {
|
|
1655
|
+
disabled: !hasNext,
|
|
1656
|
+
onClick: next,
|
|
1657
|
+
tabIndex: hasNext ? 0 : undefined,
|
|
1658
|
+
"aria-disabled": !hasNext,
|
|
1659
|
+
size: "small"
|
|
1660
|
+
}));
|
|
1661
|
+
};
|
|
1662
|
+
|
|
1663
|
+
var index$1 = /*#__PURE__*/
|
|
1664
|
+
memo(Pagination);
|
|
1665
|
+
|
|
1666
|
+
var useStyles$6 =
|
|
1667
|
+
/*#__PURE__*/
|
|
1668
|
+
makeStyles$1({
|
|
1669
|
+
scrollButtons: {
|
|
1670
|
+
width: '24px'
|
|
1671
|
+
},
|
|
1672
|
+
flexContainer: {
|
|
1673
|
+
'& > *': {
|
|
1674
|
+
margin: '0 12px'
|
|
1675
|
+
},
|
|
1676
|
+
'& > *:focus': {
|
|
1677
|
+
color: theme.color.text.B5
|
|
1678
|
+
},
|
|
1679
|
+
'& > :first-child': {
|
|
1680
|
+
marginLeft: 0
|
|
1681
|
+
},
|
|
1682
|
+
'& > :last-child': {
|
|
1683
|
+
marginRight: 0
|
|
1684
|
+
}
|
|
1685
|
+
}
|
|
1686
|
+
});
|
|
1687
|
+
|
|
1688
|
+
var Tabs =
|
|
1689
|
+
/*#__PURE__*/
|
|
1690
|
+
forwardRef(function (_ref, ref) {
|
|
1691
|
+
var children = _ref.children,
|
|
1692
|
+
value = _ref.value,
|
|
1693
|
+
onChange = _ref.onChange,
|
|
1694
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "value", "onChange"]);
|
|
1695
|
+
|
|
1696
|
+
var classes = useStyles$6();
|
|
1697
|
+
return React.createElement(MuiTabs, Object.assign({
|
|
1698
|
+
ref: ref,
|
|
1699
|
+
value: value,
|
|
1700
|
+
onChange: onChange,
|
|
1701
|
+
scrollButtons: 'auto',
|
|
1702
|
+
variant: 'scrollable',
|
|
1703
|
+
classes: classes
|
|
1704
|
+
}, restProps), children);
|
|
1705
|
+
});
|
|
1706
|
+
|
|
1707
|
+
var useStyles$7 =
|
|
1708
|
+
/*#__PURE__*/
|
|
1709
|
+
makeStyles$1(function (theme$1) {
|
|
1710
|
+
return createStyles({
|
|
1711
|
+
root: {
|
|
1712
|
+
textTransform: 'none',
|
|
1713
|
+
minWidth: 56,
|
|
1714
|
+
padding: '15px 0',
|
|
1715
|
+
color: theme.color.text.B5,
|
|
1716
|
+
opacity: 1,
|
|
1717
|
+
'&:hover': {
|
|
1718
|
+
color: theme.color.text.B4,
|
|
1719
|
+
opacity: 1
|
|
1720
|
+
},
|
|
1721
|
+
'&$selected': {
|
|
1722
|
+
color: theme.color.primary["default"]
|
|
1723
|
+
}
|
|
1724
|
+
},
|
|
1725
|
+
selected: {},
|
|
1726
|
+
wrapper: _extends({
|
|
1727
|
+
height: 32
|
|
1728
|
+
}, theme$1.typography.body1, {
|
|
1729
|
+
fontWeight: theme.typography.fontWeight.medium
|
|
1730
|
+
})
|
|
1731
|
+
});
|
|
1732
|
+
});
|
|
1733
|
+
|
|
1734
|
+
var Tab =
|
|
1735
|
+
/*#__PURE__*/
|
|
1736
|
+
forwardRef(function (_ref, ref) {
|
|
1737
|
+
var label = _ref.label,
|
|
1738
|
+
disabled = _ref.disabled,
|
|
1739
|
+
icon = _ref.icon,
|
|
1740
|
+
value = _ref.value,
|
|
1741
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["label", "disabled", "icon", "value"]);
|
|
1742
|
+
|
|
1743
|
+
var classes = useStyles$7();
|
|
1744
|
+
return React.createElement(MuiTab, Object.assign({
|
|
1745
|
+
ref: ref,
|
|
1746
|
+
classes: classes,
|
|
1747
|
+
label: label,
|
|
1748
|
+
disabled: disabled,
|
|
1749
|
+
icon: icon,
|
|
1750
|
+
value: value
|
|
1751
|
+
}, restProps));
|
|
1752
|
+
});
|
|
1753
|
+
|
|
1754
|
+
var Radio =
|
|
1755
|
+
/*#__PURE__*/
|
|
1756
|
+
forwardRef(function (_ref, ref) {
|
|
1757
|
+
var children = _ref.children,
|
|
1758
|
+
onChange = _ref.onChange,
|
|
1759
|
+
defaultValue = _ref.defaultValue,
|
|
1760
|
+
value = _ref.value,
|
|
1761
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "onChange", "defaultValue", "value"]);
|
|
1762
|
+
|
|
1763
|
+
return React.createElement(RadioGroup, Object.assign({
|
|
1764
|
+
onChange: onChange,
|
|
1765
|
+
defaultValue: defaultValue,
|
|
1766
|
+
value: value,
|
|
1767
|
+
ref: ref
|
|
1768
|
+
}, restProps), children);
|
|
1769
|
+
});
|
|
1770
|
+
|
|
1771
|
+
var useStyles$8 =
|
|
1772
|
+
/*#__PURE__*/
|
|
1773
|
+
makeStyles$1({
|
|
1774
|
+
root: {
|
|
1775
|
+
'&:hover': {
|
|
1776
|
+
backgroundColor: 'transparent'
|
|
1777
|
+
}
|
|
1778
|
+
},
|
|
1779
|
+
icon: {
|
|
1780
|
+
borderRadius: '50%',
|
|
1781
|
+
width: 20,
|
|
1782
|
+
height: 20,
|
|
1783
|
+
boxShadow: "inset 0 0 0 2px " + theme.color.text.B5,
|
|
1784
|
+
backgroundColor: 'transparent',
|
|
1785
|
+
'$root.Mui-focusVisible &': {
|
|
1786
|
+
boxShadow: "inset 0 0 0 2px " + theme.color.primary["default"],
|
|
1787
|
+
backgroundColor: 'transparent'
|
|
1788
|
+
},
|
|
1789
|
+
'input:hover ~ &': {
|
|
1790
|
+
padding: 0,
|
|
1791
|
+
boxShadow: "inset 0 0 0 1px " + theme.color.primary["default"]
|
|
1792
|
+
},
|
|
1793
|
+
'input:disabled ~ &': {
|
|
1794
|
+
boxShadow: "inset 0 0 0 2px " + theme.color.text.B3,
|
|
1795
|
+
backgroundColor: 'transparent'
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
1798
|
+
checkedIcon: {
|
|
1799
|
+
borderRadius: '50%',
|
|
1800
|
+
backgroundColor: 'transparent',
|
|
1801
|
+
boxShadow: "inset 0 0 0 6px " + theme.color.primary["default"],
|
|
1802
|
+
'input:hover ~ &': {
|
|
1803
|
+
boxShadow: "inset 0 0 0 5px " + theme.color.primary["default"],
|
|
1804
|
+
backgroundColor: 'transparent'
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
});
|
|
1808
|
+
var MuiRadio =
|
|
1809
|
+
/*#__PURE__*/
|
|
1810
|
+
forwardRef(function (_ref, ref) {
|
|
1811
|
+
var disabled = _ref.disabled,
|
|
1812
|
+
checked = _ref.checked,
|
|
1813
|
+
value = _ref.value,
|
|
1814
|
+
classes = _ref.classes,
|
|
1815
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["disabled", "checked", "value", "classes"]);
|
|
1816
|
+
|
|
1817
|
+
var css = useStyles$8();
|
|
1818
|
+
return React.createElement(Radio$1, Object.assign({
|
|
1819
|
+
ref: ref,
|
|
1820
|
+
value: value,
|
|
1821
|
+
checked: checked,
|
|
1822
|
+
disabled: disabled,
|
|
1823
|
+
color: 'primary',
|
|
1824
|
+
icon: React.createElement("span", {
|
|
1825
|
+
className: css.icon
|
|
1826
|
+
}),
|
|
1827
|
+
checkedIcon: React.createElement("span", {
|
|
1828
|
+
className: cx(css.icon, css.checkedIcon)
|
|
1829
|
+
}),
|
|
1830
|
+
disableRipple: true,
|
|
1831
|
+
disableFocusRipple: true
|
|
1832
|
+
}, restProps));
|
|
1833
|
+
});
|
|
1834
|
+
|
|
1835
|
+
var MuiCheckbox =
|
|
1836
|
+
/*#__PURE__*/
|
|
1837
|
+
forwardRef(function (_ref, ref) {
|
|
1838
|
+
var disabled = _ref.disabled,
|
|
1839
|
+
color = _ref.color,
|
|
1840
|
+
checked = _ref.checked,
|
|
1841
|
+
value = _ref.value,
|
|
1842
|
+
classes = _ref.classes,
|
|
1843
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["disabled", "color", "checked", "value", "classes"]);
|
|
1844
|
+
|
|
1845
|
+
return React.createElement(Checkbox, Object.assign({
|
|
1846
|
+
ref: ref,
|
|
1847
|
+
value: value,
|
|
1848
|
+
checked: checked,
|
|
1849
|
+
disabled: disabled,
|
|
1850
|
+
color: color,
|
|
1851
|
+
disableRipple: true,
|
|
1852
|
+
disableFocusRipple: true
|
|
1853
|
+
}, restProps));
|
|
1854
|
+
});
|
|
1855
|
+
|
|
1856
|
+
var LongArrowRight = {
|
|
1857
|
+
name: 'long-arrow-right-o',
|
|
1858
|
+
definition: {
|
|
1859
|
+
viewBox: '0 0 448 512',
|
|
1860
|
+
pathData: 'M311.03 131.515l-7.071 7.07c-4.686 4.686-4.686 12.284 0 16.971L387.887 239H12c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h375.887l-83.928 83.444c-4.686 4.686-4.686 12.284 0 16.971l7.071 7.07c4.686 4.686 12.284 4.686 16.97 0l116.485-116c4.686-4.686 4.686-12.284 0-16.971L328 131.515c-4.686-4.687-12.284-4.687-16.97 0z'
|
|
1861
|
+
}
|
|
1862
|
+
};
|
|
1863
|
+
|
|
1864
|
+
function _templateObject2$3() {
|
|
1865
|
+
var data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin: 0 8px;\n color: ", ";\n font-size: 14px;\n"]);
|
|
1866
|
+
|
|
1867
|
+
_templateObject2$3 = function _templateObject2() {
|
|
1868
|
+
return data;
|
|
1869
|
+
};
|
|
1870
|
+
|
|
1871
|
+
return data;
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
function _templateObject$3() {
|
|
1875
|
+
var data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"]);
|
|
1876
|
+
|
|
1877
|
+
_templateObject$3 = function _templateObject() {
|
|
1878
|
+
return data;
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
return data;
|
|
1882
|
+
}
|
|
1883
|
+
var StepperContainer =
|
|
1884
|
+
/*#__PURE__*/
|
|
1885
|
+
css(
|
|
1886
|
+
/*#__PURE__*/
|
|
1887
|
+
_templateObject$3());
|
|
1888
|
+
var ConnectorContainer =
|
|
1889
|
+
/*#__PURE__*/
|
|
1890
|
+
css(
|
|
1891
|
+
/*#__PURE__*/
|
|
1892
|
+
_templateObject2$3(), theme.color.text.B3);
|
|
1893
|
+
|
|
1894
|
+
var Stepper =
|
|
1895
|
+
/*#__PURE__*/
|
|
1896
|
+
forwardRef(function (_ref, ref) {
|
|
1897
|
+
var children = _ref.children,
|
|
1898
|
+
activeStepIdx = _ref.activeStepIdx,
|
|
1899
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "activeStepIdx"]);
|
|
1900
|
+
|
|
1901
|
+
var steps = Children.toArray(children);
|
|
1902
|
+
var stepsWithConnector = steps.reduce(function (acc, curr, idx) {
|
|
1903
|
+
// curr is Step component
|
|
1904
|
+
var isValid = isValidElement(curr);
|
|
1905
|
+
var newStep = isValid ? cloneElement(curr, {
|
|
1906
|
+
active: activeStepIdx === idx
|
|
1907
|
+
}) : curr;
|
|
1908
|
+
|
|
1909
|
+
if (idx === steps.length - 1) {
|
|
1910
|
+
return [].concat(acc, [newStep]);
|
|
1911
|
+
} else {
|
|
1912
|
+
var Connector = React.createElement("div", {
|
|
1913
|
+
key: idx + "_connector",
|
|
1914
|
+
className: ConnectorContainer
|
|
1915
|
+
}, React.createElement(Icon, {
|
|
1916
|
+
icon: LongArrowRight
|
|
1917
|
+
}));
|
|
1918
|
+
return [].concat(acc, [newStep, Connector]);
|
|
1919
|
+
}
|
|
1920
|
+
}, []);
|
|
1921
|
+
return React.createElement("div", Object.assign({
|
|
1922
|
+
ref: ref,
|
|
1923
|
+
className: StepperContainer
|
|
1924
|
+
}, restProps), stepsWithConnector);
|
|
1925
|
+
});
|
|
1926
|
+
var index$2 = /*#__PURE__*/
|
|
1927
|
+
memo(Stepper);
|
|
1928
|
+
|
|
1929
|
+
function _templateObject$4() {
|
|
1930
|
+
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"]);
|
|
1931
|
+
|
|
1932
|
+
_templateObject$4 = function _templateObject() {
|
|
1933
|
+
return data;
|
|
1934
|
+
};
|
|
1935
|
+
|
|
1936
|
+
return data;
|
|
1937
|
+
}
|
|
1938
|
+
var SytledStep =
|
|
1939
|
+
/*#__PURE__*/
|
|
1940
|
+
styled$1('button')(
|
|
1941
|
+
/*#__PURE__*/
|
|
1942
|
+
_templateObject$4(), function (props) {
|
|
1943
|
+
return props.disabled ? 'not-allowed' : 'pointer';
|
|
1944
|
+
}, function (props) {
|
|
1945
|
+
return props.active ? theme.color.text.B6 : theme.color.text.B3;
|
|
1946
|
+
}, theme.typography.fontSize.span, function (props) {
|
|
1947
|
+
return props.active ? theme.typography.fontWeight.medium : theme.typography.fontWeight.normal;
|
|
1948
|
+
}, function (props) {
|
|
1949
|
+
return props.active ? theme.color.text.B6 : theme.color.text.B4;
|
|
1950
|
+
});
|
|
1951
|
+
|
|
1952
|
+
var Step =
|
|
1953
|
+
/*#__PURE__*/
|
|
1954
|
+
forwardRef(function (_ref, ref) {
|
|
1955
|
+
var children = _ref.children,
|
|
1956
|
+
onClick = _ref.onClick,
|
|
1957
|
+
disabled = _ref.disabled,
|
|
1958
|
+
active = _ref.active,
|
|
1959
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "onClick", "disabled", "active"]);
|
|
1960
|
+
|
|
1961
|
+
var handleClick = function handleClick() {
|
|
1962
|
+
if (disabled || !onClick) {
|
|
1963
|
+
return;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
onClick();
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
return React.createElement(SytledStep, Object.assign({
|
|
1970
|
+
ref: ref,
|
|
1971
|
+
onClick: handleClick,
|
|
1972
|
+
disabled: disabled,
|
|
1973
|
+
active: active
|
|
1974
|
+
}, restProps), children);
|
|
1975
|
+
});
|
|
1976
|
+
var index$3 = /*#__PURE__*/
|
|
1977
|
+
memo(Step);
|
|
1978
|
+
|
|
1979
|
+
function _templateObject$5() {
|
|
1980
|
+
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"]);
|
|
1981
|
+
|
|
1982
|
+
_templateObject$5 = function _templateObject() {
|
|
1983
|
+
return data;
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
return data;
|
|
1987
|
+
}
|
|
1988
|
+
var StyledEditableTable =
|
|
1989
|
+
/*#__PURE__*/
|
|
1990
|
+
css(
|
|
1991
|
+
/*#__PURE__*/
|
|
1992
|
+
_templateObject$5());
|
|
1993
|
+
|
|
1994
|
+
var EditableTable = function EditableTable(_ref) {
|
|
1995
|
+
var rows = _ref.rows,
|
|
1996
|
+
columns = _ref.columns;
|
|
1997
|
+
|
|
1998
|
+
var _useTable = useTable({
|
|
1999
|
+
columns: columns,
|
|
2000
|
+
data: rows
|
|
2001
|
+
}),
|
|
2002
|
+
getTableProps = _useTable.getTableProps,
|
|
2003
|
+
getTableBodyProps = _useTable.getTableBodyProps,
|
|
2004
|
+
headerGroups = _useTable.headerGroups,
|
|
2005
|
+
instanceRows = _useTable.rows,
|
|
2006
|
+
prepareRow = _useTable.prepareRow;
|
|
2007
|
+
|
|
2008
|
+
return React.createElement("div", {
|
|
2009
|
+
className: cx(StyledEditableTable)
|
|
2010
|
+
}, React.createElement("table", Object.assign({}, getTableProps()), React.createElement("thead", null, headerGroups.map(function (headerGroup) {
|
|
2011
|
+
return React.createElement("tr", Object.assign({}, headerGroup.getHeaderGroupProps()), headerGroup.headers.map(function (column) {
|
|
2012
|
+
return React.createElement("th", Object.assign({
|
|
2013
|
+
id: column.id
|
|
2014
|
+
}, column.getHeaderProps()), column.render('Header'));
|
|
2015
|
+
}));
|
|
2016
|
+
})), React.createElement("tbody", Object.assign({}, getTableBodyProps), instanceRows.map(function (row) {
|
|
2017
|
+
prepareRow(row);
|
|
2018
|
+
return React.createElement("tr", Object.assign({}, row.getRowProps()), row.cells.map(function (cell) {
|
|
2019
|
+
return React.createElement("td", Object.assign({}, cell.getCellProps()), cell.render('Cell'));
|
|
2020
|
+
}));
|
|
2021
|
+
}))));
|
|
2022
|
+
};
|
|
2023
|
+
|
|
2024
|
+
function getHandlerSize(size) {
|
|
2025
|
+
return size * 3;
|
|
2026
|
+
}
|
|
2027
|
+
function isTouchEvent(event) {
|
|
2028
|
+
var touches = event.touches;
|
|
2029
|
+
return !!(touches && touches.length);
|
|
2030
|
+
}
|
|
2031
|
+
function getEventClientPosition(event) {
|
|
2032
|
+
var x, y;
|
|
2033
|
+
|
|
2034
|
+
if (isTouchEvent(event)) {
|
|
2035
|
+
x = event.touches[0].clientX;
|
|
2036
|
+
y = event.touches[0].clientY;
|
|
2037
|
+
} else {
|
|
2038
|
+
x = event.clientX;
|
|
2039
|
+
y = event.clientY;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
return {
|
|
2043
|
+
x: x,
|
|
2044
|
+
y: y
|
|
2045
|
+
};
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
function boundValue(value, lower, upper) {
|
|
2049
|
+
if (value < lower) {
|
|
2050
|
+
return lower;
|
|
2051
|
+
} else if (value > upper) {
|
|
2052
|
+
return upper;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
return value;
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
function calculateValueByPosition(position, vertical, min, max, step, bound) {
|
|
2059
|
+
var range = max - min;
|
|
2060
|
+
var ratio = boundValue(position, 0, bound) / bound;
|
|
2061
|
+
ratio = vertical ? 1 - ratio : ratio;
|
|
2062
|
+
var value = safeAdd(safeMul(Math.round(ratio * range / step), step), min);
|
|
2063
|
+
return boundValue(value, min, max);
|
|
2064
|
+
}
|
|
2065
|
+
function calculatePercentage(value, min, max) {
|
|
2066
|
+
return boundValue((value - min) / (max - min) * 100, 0, 100);
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
function useSlide(props) {
|
|
2070
|
+
var sliderRef = useRef(null);
|
|
2071
|
+
var handlerRef = useRef(null);
|
|
2072
|
+
|
|
2073
|
+
var _useState = useState(false),
|
|
2074
|
+
sliding = _useState[0],
|
|
2075
|
+
setSliding = _useState[1];
|
|
2076
|
+
|
|
2077
|
+
var startRef = useRef(0);
|
|
2078
|
+
var offsetRef = useRef(0);
|
|
2079
|
+
var propsRef = useRef(props);
|
|
2080
|
+
propsRef.current = props;
|
|
2081
|
+
var handleChange = useCallback(function (position, cliced) {
|
|
2082
|
+
if (cliced === void 0) {
|
|
2083
|
+
cliced = false;
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
var onChange = cliced ? propsRef.current.onClickChange : propsRef.current.onChange;
|
|
2087
|
+
|
|
2088
|
+
if (!onChange) {
|
|
2089
|
+
return;
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
var _propsRef$current = propsRef.current,
|
|
2093
|
+
vertical = _propsRef$current.vertical,
|
|
2094
|
+
min = _propsRef$current.min,
|
|
2095
|
+
max = _propsRef$current.max,
|
|
2096
|
+
step = _propsRef$current.step;
|
|
2097
|
+
|
|
2098
|
+
var _sliderRef$current$ge = sliderRef.current.getBoundingClientRect(),
|
|
2099
|
+
width = _sliderRef$current$ge.width,
|
|
2100
|
+
height = _sliderRef$current$ge.height;
|
|
2101
|
+
|
|
2102
|
+
var bound = vertical ? height : width;
|
|
2103
|
+
onChange(calculateValueByPosition(position, vertical, min, max, step, bound));
|
|
2104
|
+
}, []);
|
|
2105
|
+
var onSliderClick = useCallback(function (event) {
|
|
2106
|
+
var vertical = propsRef.current.vertical;
|
|
2107
|
+
|
|
2108
|
+
var _getEventClientPositi = getEventClientPosition(event),
|
|
2109
|
+
x = _getEventClientPositi.x,
|
|
2110
|
+
y = _getEventClientPositi.y;
|
|
2111
|
+
|
|
2112
|
+
var _sliderRef$current$ge2 = sliderRef.current.getBoundingClientRect(),
|
|
2113
|
+
left = _sliderRef$current$ge2.left,
|
|
2114
|
+
top = _sliderRef$current$ge2.top;
|
|
2115
|
+
|
|
2116
|
+
var position = vertical ? y - top : x - left;
|
|
2117
|
+
handleChange(position, true);
|
|
2118
|
+
}, []);
|
|
2119
|
+
var onSlideStart = useCallback(function (event) {
|
|
2120
|
+
event.preventDefault();
|
|
2121
|
+
var _propsRef$current2 = propsRef.current,
|
|
2122
|
+
vertical = _propsRef$current2.vertical,
|
|
2123
|
+
value = _propsRef$current2.value,
|
|
2124
|
+
onBeforeChange = _propsRef$current2.onBeforeChange;
|
|
2125
|
+
var _handlerRef$current = handlerRef.current,
|
|
2126
|
+
offsetLeft = _handlerRef$current.offsetLeft,
|
|
2127
|
+
offsetTop = _handlerRef$current.offsetTop;
|
|
2128
|
+
|
|
2129
|
+
var _getEventClientPositi2 = getEventClientPosition(event),
|
|
2130
|
+
x = _getEventClientPositi2.x,
|
|
2131
|
+
y = _getEventClientPositi2.y;
|
|
2132
|
+
|
|
2133
|
+
startRef.current = vertical ? offsetTop : offsetLeft;
|
|
2134
|
+
offsetRef.current = vertical ? y : x;
|
|
2135
|
+
setSliding(true);
|
|
2136
|
+
|
|
2137
|
+
if (onBeforeChange) {
|
|
2138
|
+
onBeforeChange(value);
|
|
2139
|
+
}
|
|
2140
|
+
}, []);
|
|
2141
|
+
useEffect(function () {
|
|
2142
|
+
if (!sliding) {
|
|
2143
|
+
return;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
function handleDrag(event) {
|
|
2147
|
+
event.preventDefault();
|
|
2148
|
+
var vertical = propsRef.current.vertical;
|
|
2149
|
+
|
|
2150
|
+
var _getEventClientPositi3 = getEventClientPosition(event),
|
|
2151
|
+
x = _getEventClientPositi3.x,
|
|
2152
|
+
y = _getEventClientPositi3.y;
|
|
2153
|
+
|
|
2154
|
+
var clientPosition = vertical ? y : x;
|
|
2155
|
+
var position = startRef.current + (clientPosition - offsetRef.current);
|
|
2156
|
+
handleChange(position);
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
function handleDragEnd(event) {
|
|
2160
|
+
event.preventDefault();
|
|
2161
|
+
var _propsRef$current3 = propsRef.current,
|
|
2162
|
+
value = _propsRef$current3.value,
|
|
2163
|
+
onAfterChange = _propsRef$current3.onAfterChange;
|
|
2164
|
+
setSliding(false);
|
|
2165
|
+
|
|
2166
|
+
if (onAfterChange) {
|
|
2167
|
+
onAfterChange(value);
|
|
2168
|
+
}
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
document.addEventListener('mousemove', handleDrag);
|
|
2172
|
+
document.addEventListener('mouseup', handleDragEnd);
|
|
2173
|
+
document.addEventListener('touchmove', handleDrag, {
|
|
2174
|
+
passive: false
|
|
2175
|
+
});
|
|
2176
|
+
document.addEventListener('touchend', handleDragEnd);
|
|
2177
|
+
document.addEventListener('touchcancel', handleDragEnd);
|
|
2178
|
+
return function () {
|
|
2179
|
+
document.removeEventListener('mousemove', handleDrag);
|
|
2180
|
+
document.removeEventListener('mouseup', handleDragEnd);
|
|
2181
|
+
document.removeEventListener('touchmove', handleDrag);
|
|
2182
|
+
document.removeEventListener('touchend', handleDragEnd);
|
|
2183
|
+
document.removeEventListener('touchcancel', handleDragEnd);
|
|
2184
|
+
};
|
|
2185
|
+
}, [sliding]);
|
|
2186
|
+
return {
|
|
2187
|
+
sliderRef: sliderRef,
|
|
2188
|
+
handlerRef: handlerRef,
|
|
2189
|
+
onSliderClick: onSliderClick,
|
|
2190
|
+
onSlideStart: onSlideStart
|
|
2191
|
+
};
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
function Track(_ref) {
|
|
2195
|
+
var className = _ref.className,
|
|
2196
|
+
vertical = _ref.vertical,
|
|
2197
|
+
percentage = _ref.percentage;
|
|
2198
|
+
var style;
|
|
2199
|
+
|
|
2200
|
+
if (vertical) {
|
|
2201
|
+
style = {
|
|
2202
|
+
height: percentage + "%",
|
|
2203
|
+
bottom: 0
|
|
2204
|
+
};
|
|
2205
|
+
} else {
|
|
2206
|
+
style = {
|
|
2207
|
+
width: percentage + "%"
|
|
2208
|
+
};
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
return React.createElement("div", {
|
|
2212
|
+
className: className,
|
|
2213
|
+
style: style
|
|
2214
|
+
});
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
var Handler =
|
|
2218
|
+
/*#__PURE__*/
|
|
2219
|
+
forwardRef(function (_ref, ref) {
|
|
2220
|
+
var className = _ref.className,
|
|
2221
|
+
vertical = _ref.vertical,
|
|
2222
|
+
percentage = _ref.percentage,
|
|
2223
|
+
onSlideStart = _ref.onSlideStart;
|
|
2224
|
+
var onClick = useCallback(function (event) {
|
|
2225
|
+
event.stopPropagation();
|
|
2226
|
+
event.nativeEvent.stopImmediatePropagation();
|
|
2227
|
+
}, []);
|
|
2228
|
+
var style;
|
|
2229
|
+
|
|
2230
|
+
if (vertical) {
|
|
2231
|
+
style = {
|
|
2232
|
+
top: 100 - percentage + "%"
|
|
2233
|
+
};
|
|
2234
|
+
} else {
|
|
2235
|
+
style = {
|
|
2236
|
+
left: percentage + "%"
|
|
2237
|
+
};
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
return React.createElement("div", {
|
|
2241
|
+
ref: ref,
|
|
2242
|
+
className: className,
|
|
2243
|
+
tabIndex: 0,
|
|
2244
|
+
onTouchStart: onSlideStart,
|
|
2245
|
+
onMouseDown: onSlideStart,
|
|
2246
|
+
onClick: onClick,
|
|
2247
|
+
style: style
|
|
2248
|
+
});
|
|
2249
|
+
});
|
|
2250
|
+
|
|
2251
|
+
function Mark(_ref) {
|
|
2252
|
+
var className = _ref.className,
|
|
2253
|
+
vertical = _ref.vertical,
|
|
2254
|
+
mark = _ref.mark,
|
|
2255
|
+
point = _ref.point,
|
|
2256
|
+
lowerBound = _ref.lowerBound,
|
|
2257
|
+
range = _ref.range,
|
|
2258
|
+
active = _ref.active,
|
|
2259
|
+
onChange = _ref.onChange;
|
|
2260
|
+
var handleClick = useCallback(function () {
|
|
2261
|
+
if (onChange) {
|
|
2262
|
+
onChange(point);
|
|
2263
|
+
}
|
|
2264
|
+
}, [onChange, point]);
|
|
2265
|
+
var theme = useTheme();
|
|
2266
|
+
var markPointIsObject = typeof mark === 'object' && !isValidElement(mark);
|
|
2267
|
+
var markLabel = markPointIsObject ? mark.label : mark;
|
|
2268
|
+
var percentage = (point - lowerBound) / range * 100;
|
|
2269
|
+
var bottomStyle = {
|
|
2270
|
+
marginBottom: '-50%',
|
|
2271
|
+
bottom: percentage + "%"
|
|
2272
|
+
};
|
|
2273
|
+
var leftStyle = {
|
|
2274
|
+
left: percentage + "%",
|
|
2275
|
+
transform: "translateX(-50%)",
|
|
2276
|
+
msTransform: "translateX(-50%)"
|
|
2277
|
+
};
|
|
2278
|
+
var style = vertical ? bottomStyle : leftStyle;
|
|
2279
|
+
style = active ? _extends({}, style, {
|
|
2280
|
+
color: theme.color.text.B6
|
|
2281
|
+
}) : style;
|
|
2282
|
+
style = markPointIsObject ? _extends({}, style, {}, mark.style) : style;
|
|
2283
|
+
return React.createElement("span", {
|
|
2284
|
+
className: className,
|
|
2285
|
+
onMouseDown: handleClick,
|
|
2286
|
+
onTouchStart: handleClick,
|
|
2287
|
+
style: style
|
|
2288
|
+
}, markLabel);
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
var Mark$1 = /*#__PURE__*/
|
|
2292
|
+
memo(Mark);
|
|
2293
|
+
|
|
2294
|
+
var useMarksStyles =
|
|
2295
|
+
/*#__PURE__*/
|
|
2296
|
+
makeStyles([['marks', function (_, _ref) {
|
|
2297
|
+
var vertical = _ref[0],
|
|
2298
|
+
handlerSize = _ref[1];
|
|
2299
|
+
return ["\n\t\tposition: absolute;\n\t\tfont-size: 14px;\n\t", !vertical && "\n\t\t\ttop: " + handlerSize * 1.25 + "px;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t", vertical && "\n\t\t\ttop: 0;\n\t\t\tleft: " + handlerSize * 1.25 + "px;\n\t\t\twidth: " + handlerSize + "px;\n\t\t\theight: 100%;\n\t\t"];
|
|
2300
|
+
}], ['mark', function (theme) {
|
|
2301
|
+
return "\n\t\tdisplay: inline-block;\n\t\tposition: absolute;\n\t\tcolor: " + theme.color.text.B3 + ";\n\t\ttext-align: center;\n\t\tword-break: keep-all;\n\t\tcursor: pointer;\n\t\tuser-select: none;\n\t";
|
|
2302
|
+
}]]);
|
|
2303
|
+
|
|
2304
|
+
function Marks(_ref) {
|
|
2305
|
+
var vertical = _ref.vertical,
|
|
2306
|
+
handlerSize = _ref.handlerSize,
|
|
2307
|
+
marks = _ref.marks,
|
|
2308
|
+
upperBound = _ref.upperBound,
|
|
2309
|
+
lowerBound = _ref.lowerBound,
|
|
2310
|
+
range = _ref.range,
|
|
2311
|
+
onChange = _ref.onChange;
|
|
2312
|
+
var onClick = useCallback(function (event) {
|
|
2313
|
+
event.stopPropagation();
|
|
2314
|
+
event.nativeEvent.stopImmediatePropagation();
|
|
2315
|
+
}, []);
|
|
2316
|
+
var points = useMemo(function () {
|
|
2317
|
+
return Object.keys(marks).map(parseFloat).sort(function (a, b) {
|
|
2318
|
+
return a - b;
|
|
2319
|
+
});
|
|
2320
|
+
}, [marks]);
|
|
2321
|
+
var styles = useMarksStyles([vertical, handlerSize]);
|
|
2322
|
+
return React.createElement("div", {
|
|
2323
|
+
className: styles.marks,
|
|
2324
|
+
onClick: onClick
|
|
2325
|
+
}, points.map(function (point) {
|
|
2326
|
+
return React.createElement(Mark$1, {
|
|
2327
|
+
key: point,
|
|
2328
|
+
className: styles.mark,
|
|
2329
|
+
vertical: vertical,
|
|
2330
|
+
mark: marks[point],
|
|
2331
|
+
point: point,
|
|
2332
|
+
lowerBound: lowerBound,
|
|
2333
|
+
range: range,
|
|
2334
|
+
active: point <= upperBound && point >= lowerBound,
|
|
2335
|
+
onChange: onChange
|
|
2336
|
+
});
|
|
2337
|
+
}));
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
var useDotsStyles =
|
|
2341
|
+
/*#__PURE__*/
|
|
2342
|
+
makeStyles([['dots', function (_, _ref) {
|
|
2343
|
+
var vertical = _ref[0],
|
|
2344
|
+
size = _ref[1];
|
|
2345
|
+
return ["\n\t\t\tposition: absolute;\n\t\t\tbackground: transparent;\n\t\t", !vertical && "\n\t\t\twidth: 100%;\n\t\t\theight: " + size + "px;\n\t\t", vertical && "\n\t\t\twidth: " + size + "px;\n\t\t\theight: 100%;\n\t\t"];
|
|
2346
|
+
}], ['dot', function (theme, _ref2) {
|
|
2347
|
+
var vertical = _ref2[0],
|
|
2348
|
+
size = _ref2[1];
|
|
2349
|
+
return ["\n\t\t\tposition: absolute;\n\t\t\twidth: " + size + "px;\n\t\t\theight: " + size + "px;\n\t\t\tbackground-color: " + theme.color.text.white + ";\n\t\t\tborder: 2px solid #e8e8e8;\n\t\t\tborder-radius: 50%;\n\t\t", !vertical && "\n\t\t\ttop: -2px;\n\t\t\tmargin-left: -" + size / 2 + "px;\n\t\t", vertical && "\n\t\t\tleft: -2px;\n\t\t\tmargin-bottom: -" + size / 2 + "px;\n\t\t"];
|
|
2350
|
+
}]]);
|
|
2351
|
+
|
|
2352
|
+
function Dot(_ref) {
|
|
2353
|
+
var className = _ref.className,
|
|
2354
|
+
vertical = _ref.vertical,
|
|
2355
|
+
active = _ref.active,
|
|
2356
|
+
point = _ref.point,
|
|
2357
|
+
range = _ref.range,
|
|
2358
|
+
min = _ref.min;
|
|
2359
|
+
var theme = useTheme();
|
|
2360
|
+
var offset = Math.abs(point - min) / range * 100 + "%";
|
|
2361
|
+
var style = vertical ? {
|
|
2362
|
+
bottom: offset
|
|
2363
|
+
} : {
|
|
2364
|
+
left: offset
|
|
2365
|
+
};
|
|
2366
|
+
style = active ? _extends({}, style, {
|
|
2367
|
+
borderColor: theme.color.primary.hover
|
|
2368
|
+
}) : style;
|
|
2369
|
+
return React.createElement("span", {
|
|
2370
|
+
className: className,
|
|
2371
|
+
style: style
|
|
2372
|
+
});
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
var Dot$1 = /*#__PURE__*/
|
|
2376
|
+
memo(Dot);
|
|
2377
|
+
|
|
2378
|
+
function Dots(_ref) {
|
|
2379
|
+
var vertical = _ref.vertical,
|
|
2380
|
+
size = _ref.size,
|
|
2381
|
+
marks = _ref.marks,
|
|
2382
|
+
dots = _ref.dots,
|
|
2383
|
+
step = _ref.step,
|
|
2384
|
+
lowerBound = _ref.lowerBound,
|
|
2385
|
+
upperBound = _ref.upperBound,
|
|
2386
|
+
max = _ref.max,
|
|
2387
|
+
min = _ref.min;
|
|
2388
|
+
var range = max - min;
|
|
2389
|
+
var points = useMemo(function () {
|
|
2390
|
+
var pts = marks ? Object.keys(marks).map(parseFloat).sort(function (a, b) {
|
|
2391
|
+
return a - b;
|
|
2392
|
+
}) : [];
|
|
2393
|
+
|
|
2394
|
+
if (dots) {
|
|
2395
|
+
for (var i = min; i <= max; i += step) {
|
|
2396
|
+
if (!pts.includes(i)) {
|
|
2397
|
+
pts.push(i);
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
return pts;
|
|
2403
|
+
}, [marks, dots, step, min, max]);
|
|
2404
|
+
var styles = useDotsStyles([vertical, size]);
|
|
2405
|
+
return React.createElement("div", {
|
|
2406
|
+
className: styles.dots
|
|
2407
|
+
}, points.map(function (point) {
|
|
2408
|
+
return React.createElement(Dot$1, {
|
|
2409
|
+
key: point,
|
|
2410
|
+
className: styles.dot,
|
|
2411
|
+
vertical: vertical,
|
|
2412
|
+
active: point <= upperBound && point >= lowerBound,
|
|
2413
|
+
point: point,
|
|
2414
|
+
range: range,
|
|
2415
|
+
min: min
|
|
2416
|
+
});
|
|
2417
|
+
}));
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
var useSliderStyles =
|
|
2421
|
+
/*#__PURE__*/
|
|
2422
|
+
makeStyles([['rail', function (theme, _ref) {
|
|
2423
|
+
var vertical = _ref[0],
|
|
2424
|
+
size = _ref[1];
|
|
2425
|
+
return ["\n\t\t\tposition: absolute;\n\t\t\tbackground-color: " + theme.color.primary.background + ";\n\t\t\tborder-radius: " + size + "px;\n\t\t\ttransition: background-color .3s;\n\t\t", !vertical ? "\n\t\t\twidth: 100%;\n\t\t\theight: " + size + "px;\n\t\t" : "\n\t\t\twidth: " + size + "px;\n\t\t\theight: 100%;\n\t\t"];
|
|
2426
|
+
}], ['track', function (theme, _ref2) {
|
|
2427
|
+
var vertical = _ref2[0],
|
|
2428
|
+
size = _ref2[1];
|
|
2429
|
+
return ["\n\t\t\tposition: absolute;\n\t\t\tborder-radius: " + size + "px;\n\t\t\tbackground-color: " + theme.color.primary.hover + ";\n\t\t\ttransition: background-color 0.3s ease;\n\t\t", !vertical ? "\n\t\t\ttop: " + size + "px;\n\t\t\theight: " + size + "px;\n\t\t" : "\n\t\t\tleft: " + size + "px;\n\t\t\twidth: " + size + "px;\n\t\t"];
|
|
2430
|
+
}], ['handler', function (theme, _ref3) {
|
|
2431
|
+
var vertical = _ref3[0],
|
|
2432
|
+
size = _ref3[1],
|
|
2433
|
+
handlerSize = _ref3[2];
|
|
2434
|
+
return ["\n\t\t\tposition: absolute;\n\t\t\twidth: " + handlerSize + "px;\n\t\t\theight: " + handlerSize + "px;\n\t\t\tbackground-color: " + theme.color.text.white + ";\n\t\t\tborder-color: " + theme.color.primary.hover + ";\n\t\t\tborder-width: 3px;\n\t\t\tborder-style: solid;\n\t\t\tborder-radius: 50%;\n\t\t\ttransition: border-color 0.3s, box-shadow 0.6s, transform 0.3s cubic-bezier(.18, .89, .32, 1.28);\n\t\t\tbox-sizing: border-box;\n\n\t\t\t&:focus,\n\t\t\t&:active {\n\t\t\t\tborder-color: " + theme.color.primary["default"] + ";\n\t\t\t\toutline: none;\n\t\t\t\tbox-shadow: 0 0 0 " + size + "px " + hexToRgba(theme.color.primary["default"], 0.2) + ";\n\t\t\t}\n\t\t", !vertical ? "\n\t\t\ttransform: translateX(-50%);\n\t\t\ttop: 0;\n\t\t" : "\n\t\t\ttransform: translateY(-50%);\n\t\t\tleft: 0;\n\t\t"];
|
|
2435
|
+
}], ['slider', function (theme, _ref4, classes) {
|
|
2436
|
+
var vertical = _ref4[0],
|
|
2437
|
+
size = _ref4[1],
|
|
2438
|
+
handlerSize = _ref4[2],
|
|
2439
|
+
hasMarks = _ref4[3];
|
|
2440
|
+
return ["\n\t\t\tposition: relative;\n\t\t\tborder-radius: 3px;\n\t\t\tmargin: " + handlerSize / 2 + "px;\n\t\t\ttouch-action: none;\n\t\t\tcursor: pointer;\n\t\t\tbox-sizing: border-box;\n\n\t\t\t&:hover {\n\t\t\t\t." + classes.track + " {\n\t\t\t\t\tbackground-color: " + theme.color.primary["default"] + ";\n\t\t\t\t}\n\t\t\t}\n\t\t", !vertical && "\n\t\t\tpadding: " + (handlerSize - size) / 2 + "px 0;\n\t\t\theight: " + handlerSize + "px;\n\t\t", vertical && "\n\t\t\tpadding: 0 " + (handlerSize - size) / 2 + "px;\n\t\t\twidth: " + handlerSize + "px;\n\t\t\theight: 100%;\n\t\t", hasMarks && !vertical && "\n\t\t\tmargin-bottom: " + handlerSize * 1.25 + "px;\n\t\t", hasMarks && vertical && "\n\t\t\tmargin-right: " + handlerSize * 1.25 + "px;\n\t\t"];
|
|
2441
|
+
}]]);
|
|
2442
|
+
|
|
2443
|
+
var InputSlider = function InputSlider(_ref) {
|
|
2444
|
+
var className = _ref.className,
|
|
2445
|
+
vertical = _ref.vertical,
|
|
2446
|
+
size = _ref.size,
|
|
2447
|
+
value = _ref.value,
|
|
2448
|
+
min = _ref.min,
|
|
2449
|
+
max = _ref.max,
|
|
2450
|
+
step = _ref.step,
|
|
2451
|
+
dots = _ref.dots,
|
|
2452
|
+
marks = _ref.marks,
|
|
2453
|
+
onBeforeChange = _ref.onBeforeChange,
|
|
2454
|
+
onChange = _ref.onChange,
|
|
2455
|
+
onAfterChange = _ref.onAfterChange,
|
|
2456
|
+
onClickChange = _ref.onClickChange;
|
|
2457
|
+
|
|
2458
|
+
var _useSlide = useSlide({
|
|
2459
|
+
value: value,
|
|
2460
|
+
min: min,
|
|
2461
|
+
max: max,
|
|
2462
|
+
step: step,
|
|
2463
|
+
vertical: vertical,
|
|
2464
|
+
onBeforeChange: onBeforeChange,
|
|
2465
|
+
onChange: onChange,
|
|
2466
|
+
onAfterChange: onAfterChange,
|
|
2467
|
+
onClickChange: onClickChange
|
|
2468
|
+
}),
|
|
2469
|
+
sliderRef = _useSlide.sliderRef,
|
|
2470
|
+
handlerRef = _useSlide.handlerRef,
|
|
2471
|
+
onSliderClick = _useSlide.onSliderClick,
|
|
2472
|
+
onSlideStart = _useSlide.onSlideStart;
|
|
2473
|
+
|
|
2474
|
+
var percentage = calculatePercentage(value, min, max);
|
|
2475
|
+
var handlerSize = getHandlerSize(size);
|
|
2476
|
+
var styles = useSliderStyles([vertical, size, handlerSize, !!marks]);
|
|
2477
|
+
return React.createElement("div", {
|
|
2478
|
+
className: className ? cx(styles.slider, className) : styles.slider,
|
|
2479
|
+
ref: sliderRef,
|
|
2480
|
+
onClick: onSliderClick
|
|
2481
|
+
}, React.createElement("div", {
|
|
2482
|
+
className: styles.rail
|
|
2483
|
+
}), React.createElement(Track, {
|
|
2484
|
+
className: styles.track,
|
|
2485
|
+
vertical: vertical,
|
|
2486
|
+
percentage: percentage
|
|
2487
|
+
}), marks || dots ? React.createElement(Dots, {
|
|
2488
|
+
vertical: vertical,
|
|
2489
|
+
size: size,
|
|
2490
|
+
marks: marks,
|
|
2491
|
+
dots: dots,
|
|
2492
|
+
step: step,
|
|
2493
|
+
lowerBound: min,
|
|
2494
|
+
upperBound: value,
|
|
2495
|
+
min: min,
|
|
2496
|
+
max: max
|
|
2497
|
+
}) : null, React.createElement(Handler, {
|
|
2498
|
+
ref: handlerRef,
|
|
2499
|
+
className: styles.handler,
|
|
2500
|
+
vertical: vertical,
|
|
2501
|
+
percentage: percentage,
|
|
2502
|
+
onSlideStart: onSlideStart
|
|
2503
|
+
}), marks && React.createElement(Marks, {
|
|
2504
|
+
vertical: vertical,
|
|
2505
|
+
handlerSize: handlerSize,
|
|
2506
|
+
marks: marks,
|
|
2507
|
+
lowerBound: min,
|
|
2508
|
+
upperBound: value,
|
|
2509
|
+
range: max - min,
|
|
2510
|
+
onChange: onClickChange
|
|
2511
|
+
}));
|
|
2512
|
+
};
|
|
2513
|
+
|
|
2514
|
+
InputSlider.defaultProps = {
|
|
2515
|
+
vertical: false,
|
|
2516
|
+
size: 8,
|
|
2517
|
+
min: 0,
|
|
2518
|
+
max: 100,
|
|
2519
|
+
step: 1,
|
|
2520
|
+
dots: false
|
|
2521
|
+
};
|
|
2522
|
+
|
|
2523
|
+
var TimesCircle = {
|
|
2524
|
+
name: 'times-circle',
|
|
2525
|
+
definition: {
|
|
2526
|
+
viewBox: '0 0 512 512',
|
|
2527
|
+
pathData: 'M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2530
|
+
|
|
2531
|
+
var InfoCircle = {
|
|
2532
|
+
name: 'info-circle',
|
|
2533
|
+
definition: {
|
|
2534
|
+
viewBox: '0 0 512 512',
|
|
2535
|
+
pathData: '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'
|
|
2536
|
+
}
|
|
2537
|
+
};
|
|
2538
|
+
|
|
2539
|
+
var CheckCircle = {
|
|
2540
|
+
name: 'check-circle',
|
|
2541
|
+
definition: {
|
|
2542
|
+
viewBox: '0 0 512 512',
|
|
2543
|
+
pathData: 'M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'
|
|
2544
|
+
}
|
|
2545
|
+
};
|
|
2546
|
+
|
|
2547
|
+
var ExclamationCircle = {
|
|
2548
|
+
name: 'exclamation-circle',
|
|
2549
|
+
definition: {
|
|
2550
|
+
viewBox: '0 0 512 512',
|
|
2551
|
+
pathData: 'M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'
|
|
2552
|
+
}
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
var icons = ({
|
|
2558
|
+
__proto__: null,
|
|
2559
|
+
error: TimesCircle,
|
|
2560
|
+
info: InfoCircle,
|
|
2561
|
+
success: CheckCircle,
|
|
2562
|
+
warning: ExclamationCircle
|
|
2563
|
+
});
|
|
2564
|
+
|
|
2565
|
+
var useStyles$9 =
|
|
2566
|
+
/*#__PURE__*/
|
|
2567
|
+
makeStyles([['message', function (theme, _ref) {
|
|
2568
|
+
var _ = _ref[0],
|
|
2569
|
+
visible = _ref[1];
|
|
2570
|
+
return ["\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tposition: fixed;\n\t\t\ttop: 0;\n\t\t\tleft: 50%;\n\t\t\ttransform: translate(-50%, -200%);\n\t\t\toverflow: hidden;\n\t\t\tmargin-top: 20px;\n\t\t\tborder-radius: 4px;\n\t\t\tpadding: 10px 16px;\n\t\t\tbox-shadow: 0 0 8px 0 rgba(69, 69, 69, 0.5);\n\t\t\tbackground-color: " + theme.color.text.white + ";\n\t\t\ttransition: transform 200ms ease-out;\n\t\t\tz-index: 2000;\n\t\t", visible && "\n\t\t\ttransform: translate(-50%, 0);\n\t\t"];
|
|
2571
|
+
}], ['icon', function (theme, _ref2) {
|
|
2572
|
+
var type = _ref2[0];
|
|
2573
|
+
return "\n\t\tfont-size: 18px;\n\t\tmargin-right: 10px;\n\t\tcolor: " + resolveThemeColorByPath(theme, type) + ";\n\t";
|
|
2574
|
+
}], ['content', "\n\t\tfont-size: 14px;\n\t\tmargin-right: auto;\n\t\tmax-width: 80vw;\n\t\tword-break: keep-all;\n\t\twhite-space: nowrap;\n\t"], ['close', function (theme) {
|
|
2575
|
+
return "\n\t\tfont-size: 14px;\n\t\tline-height: 1;\n\t\tcolor: " + theme.color.text.B + ";\n\t\tmargin-left: 10px;\n\t\tcursor: pointer;\n\t\tuser-select: none;\n\n\t\t&:hover {\n\t\t\tcolor: " + theme.color.text.B4 + ";\n\t\t}\n\t";
|
|
2576
|
+
}]]);
|
|
2577
|
+
|
|
2578
|
+
var Message =
|
|
2579
|
+
/*#__PURE__*/
|
|
2580
|
+
forwardRef(function (_ref, ref) {
|
|
2581
|
+
var root = _ref.root,
|
|
2582
|
+
type = _ref.type,
|
|
2583
|
+
content = _ref.content,
|
|
2584
|
+
duration = _ref.duration,
|
|
2585
|
+
showClose = _ref.showClose,
|
|
2586
|
+
onClose = _ref.onClose;
|
|
2587
|
+
|
|
2588
|
+
var _useState = useState(false),
|
|
2589
|
+
visible = _useState[0],
|
|
2590
|
+
setVisible = _useState[1];
|
|
2591
|
+
|
|
2592
|
+
var _useState2 = useState(content),
|
|
2593
|
+
children = _useState2[0],
|
|
2594
|
+
update = _useState2[1];
|
|
2595
|
+
|
|
2596
|
+
var destroy = function destroy() {
|
|
2597
|
+
return setVisible(false);
|
|
2598
|
+
};
|
|
2599
|
+
|
|
2600
|
+
var onTransitionEnd = function onTransitionEnd() {
|
|
2601
|
+
if (!visible) {
|
|
2602
|
+
unmountComponentAtNode(root);
|
|
2603
|
+
|
|
2604
|
+
if (root.parentNode) {
|
|
2605
|
+
root.parentNode.removeChild(root);
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
if (typeof onClose === 'function') {
|
|
2609
|
+
onClose();
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
};
|
|
2613
|
+
|
|
2614
|
+
var styles = useStyles$9([type, visible]);
|
|
2615
|
+
useEffect(function () {
|
|
2616
|
+
window.setTimeout(function () {
|
|
2617
|
+
return setVisible(true);
|
|
2618
|
+
}, 10);
|
|
2619
|
+
|
|
2620
|
+
if (duration) {
|
|
2621
|
+
var timer = window.setTimeout(destroy, duration);
|
|
2622
|
+
return function () {
|
|
2623
|
+
window.clearTimeout(timer);
|
|
2624
|
+
};
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
return undefined;
|
|
2628
|
+
}, []);
|
|
2629
|
+
useImperativeHandle(ref, function () {
|
|
2630
|
+
return {
|
|
2631
|
+
update: update,
|
|
2632
|
+
destroy: destroy
|
|
2633
|
+
};
|
|
2634
|
+
});
|
|
2635
|
+
return React.createElement("div", {
|
|
2636
|
+
className: styles.message,
|
|
2637
|
+
onTransitionEnd: onTransitionEnd
|
|
2638
|
+
}, React.createElement(Icon, {
|
|
2639
|
+
className: styles.icon,
|
|
2640
|
+
icon: icons[type]
|
|
2641
|
+
}), React.createElement("div", {
|
|
2642
|
+
className: styles.content
|
|
2643
|
+
}, children), showClose && React.createElement("div", {
|
|
2644
|
+
className: styles.close,
|
|
2645
|
+
onClick: function onClick() {
|
|
2646
|
+
return setVisible(false);
|
|
2647
|
+
}
|
|
2648
|
+
}, "\xD7"));
|
|
2649
|
+
});
|
|
2650
|
+
|
|
2651
|
+
function message(_ref) {
|
|
2652
|
+
var type = _ref.type,
|
|
2653
|
+
content = _ref.content,
|
|
2654
|
+
duration = _ref.duration,
|
|
2655
|
+
showClose = _ref.showClose,
|
|
2656
|
+
onClose = _ref.onClose,
|
|
2657
|
+
getContainer = _ref.getContainer;
|
|
2658
|
+
var root = document.createElement('div');
|
|
2659
|
+
var ref = createRef();
|
|
2660
|
+
var container = typeof getContainer === 'function' ? getContainer() : document.body;
|
|
2661
|
+
container.appendChild(root);
|
|
2662
|
+
render(React.createElement(Message, {
|
|
2663
|
+
ref: ref,
|
|
2664
|
+
root: root,
|
|
2665
|
+
type: type,
|
|
2666
|
+
content: content,
|
|
2667
|
+
duration: duration,
|
|
2668
|
+
showClose: showClose,
|
|
2669
|
+
onClose: onClose
|
|
2670
|
+
}), root);
|
|
2671
|
+
return {
|
|
2672
|
+
destroy: function destroy() {
|
|
2673
|
+
if (ref.current) {
|
|
2674
|
+
ref.current.destroy();
|
|
2675
|
+
}
|
|
2676
|
+
},
|
|
2677
|
+
update: function update(newContent) {
|
|
2678
|
+
if (ref.current) {
|
|
2679
|
+
ref.current.update(newContent);
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
};
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
var api = {
|
|
2686
|
+
open: message
|
|
2687
|
+
};
|
|
2688
|
+
['success', 'info', 'warning', 'error'].forEach(function (type) {
|
|
2689
|
+
api[type] = function (content, config) {
|
|
2690
|
+
return api.open(_extends({
|
|
2691
|
+
type: type,
|
|
2692
|
+
content: content
|
|
2693
|
+
}, config));
|
|
2694
|
+
};
|
|
2695
|
+
});
|
|
2696
|
+
|
|
2697
|
+
var Portal = function Portal(_ref) {
|
|
2698
|
+
var container = _ref.container,
|
|
2699
|
+
children = _ref.children;
|
|
2700
|
+
var element = useContainer(container);
|
|
2701
|
+
return element ? createPortal(children, element) : React.createElement(React.Fragment, null, children);
|
|
2702
|
+
};
|
|
2703
|
+
|
|
2704
|
+
Portal.defaultProps = {
|
|
2705
|
+
container: document.body
|
|
2706
|
+
};
|
|
2707
|
+
|
|
2708
|
+
var Popper = function Popper(props) {
|
|
2709
|
+
return React.createElement(Popper$1, Object.assign({}, props), props.children);
|
|
2710
|
+
};
|
|
2711
|
+
|
|
2712
|
+
var Modal = function Modal(_ref) {
|
|
2713
|
+
var children = _ref.children,
|
|
2714
|
+
open = _ref.open,
|
|
2715
|
+
backdropProps = _ref.backdropProps,
|
|
2716
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "open", "backdropProps"]);
|
|
2717
|
+
|
|
2718
|
+
return React.createElement(MuiModal, Object.assign({
|
|
2719
|
+
open: open,
|
|
2720
|
+
BackdropComponent: Backdrop$1,
|
|
2721
|
+
BackdropProps: _extends({}, backdropProps),
|
|
2722
|
+
closeAfterTransition: true
|
|
2723
|
+
}, restProps), React.createElement(Fade, {
|
|
2724
|
+
"in": open
|
|
2725
|
+
}, children));
|
|
2726
|
+
};
|
|
2727
|
+
|
|
2728
|
+
var ExclamationTriangle = {
|
|
2729
|
+
name: 'exclamation-triangle',
|
|
2730
|
+
definition: {
|
|
2731
|
+
viewBox: '0 0 576 512',
|
|
2732
|
+
// tslint:disable-next-line:max-line-length
|
|
2733
|
+
pathData: 'M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'
|
|
2734
|
+
}
|
|
2735
|
+
};
|
|
2736
|
+
|
|
2737
|
+
var Semantic;
|
|
2738
|
+
|
|
2739
|
+
(function (Semantic) {
|
|
2740
|
+
Semantic["WARNING"] = "warning";
|
|
2741
|
+
Semantic["INFO"] = "info";
|
|
2742
|
+
Semantic["SUCCESS"] = "success";
|
|
2743
|
+
Semantic["ERROR"] = "error";
|
|
2744
|
+
})(Semantic || (Semantic = {}));
|
|
2745
|
+
|
|
2746
|
+
var Direction;
|
|
2747
|
+
|
|
2748
|
+
(function (Direction) {
|
|
2749
|
+
Direction["UP"] = "up";
|
|
2750
|
+
Direction["DOWN"] = "down";
|
|
2751
|
+
Direction["LEFT"] = "left";
|
|
2752
|
+
Direction["RIGHT"] = "right";
|
|
2753
|
+
})(Direction || (Direction = {}));
|
|
2754
|
+
|
|
2755
|
+
function _templateObject4$1() {
|
|
2756
|
+
var data = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 16px;\n width: 24px;\n height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-right: 8px;\n"]);
|
|
2757
|
+
|
|
2758
|
+
_templateObject4$1 = function _templateObject4() {
|
|
2759
|
+
return data;
|
|
2760
|
+
};
|
|
2761
|
+
|
|
2762
|
+
return data;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
function _templateObject3$1() {
|
|
2766
|
+
var data = _taggedTemplateLiteralLoose(["\n margin-bottom: 4px;\n white-space: pre-line;\n"]);
|
|
2767
|
+
|
|
2768
|
+
_templateObject3$1 = function _templateObject3() {
|
|
2769
|
+
return data;
|
|
2770
|
+
};
|
|
2771
|
+
|
|
2772
|
+
return data;
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
function _templateObject2$4() {
|
|
2776
|
+
var data = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n"]);
|
|
2777
|
+
|
|
2778
|
+
_templateObject2$4 = function _templateObject2() {
|
|
2779
|
+
return data;
|
|
2780
|
+
};
|
|
2781
|
+
|
|
2782
|
+
return data;
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
function _templateObject$6() {
|
|
2786
|
+
var data = _taggedTemplateLiteralLoose(["\n display: flex;\n"]);
|
|
2787
|
+
|
|
2788
|
+
_templateObject$6 = function _templateObject() {
|
|
2789
|
+
return data;
|
|
2790
|
+
};
|
|
2791
|
+
|
|
2792
|
+
return data;
|
|
2793
|
+
}
|
|
2794
|
+
var semanticColors = {
|
|
2795
|
+
"default": '#FFF',
|
|
2796
|
+
success: '#e7f4d7',
|
|
2797
|
+
info: '#d6effa',
|
|
2798
|
+
warning: '#fef1e1',
|
|
2799
|
+
error: '#fbd0e0'
|
|
2800
|
+
};
|
|
2801
|
+
var useStyles$a =
|
|
2802
|
+
/*#__PURE__*/
|
|
2803
|
+
makeStyles$1({
|
|
2804
|
+
root: {
|
|
2805
|
+
backgroundColor: function backgroundColor(props) {
|
|
2806
|
+
return props.semantic ? semanticColors[props.semantic] : '#FFFFFF';
|
|
2807
|
+
},
|
|
2808
|
+
padding: function padding(props) {
|
|
2809
|
+
return props.withTitle ? '8px 16px' : '0 16px';
|
|
2810
|
+
},
|
|
2811
|
+
maxWidth: '550px',
|
|
2812
|
+
minWidth: 0
|
|
2813
|
+
}
|
|
2814
|
+
});
|
|
2815
|
+
var MessageWrapper =
|
|
2816
|
+
/*#__PURE__*/
|
|
2817
|
+
css(
|
|
2818
|
+
/*#__PURE__*/
|
|
2819
|
+
_templateObject$6());
|
|
2820
|
+
var MessageContent =
|
|
2821
|
+
/*#__PURE__*/
|
|
2822
|
+
css(
|
|
2823
|
+
/*#__PURE__*/
|
|
2824
|
+
_templateObject2$4());
|
|
2825
|
+
var TitleStyle =
|
|
2826
|
+
/*#__PURE__*/
|
|
2827
|
+
css(
|
|
2828
|
+
/*#__PURE__*/
|
|
2829
|
+
_templateObject3$1());
|
|
2830
|
+
var IconWrapper =
|
|
2831
|
+
/*#__PURE__*/
|
|
2832
|
+
styled$1.div(
|
|
2833
|
+
/*#__PURE__*/
|
|
2834
|
+
_templateObject4$1(), function (props) {
|
|
2835
|
+
return props.color;
|
|
2836
|
+
});
|
|
2837
|
+
|
|
2838
|
+
var _transitionMap, _semanticIcon;
|
|
2839
|
+
|
|
2840
|
+
function TransitionLeft(props) {
|
|
2841
|
+
return React.createElement(Slide, Object.assign({}, props, {
|
|
2842
|
+
direction: Direction.LEFT
|
|
2843
|
+
}));
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
function TransitionUp(props) {
|
|
2847
|
+
return React.createElement(Slide, Object.assign({}, props, {
|
|
2848
|
+
direction: Direction.UP
|
|
2849
|
+
}));
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
function TransitionRight(props) {
|
|
2853
|
+
return React.createElement(Slide, Object.assign({}, props, {
|
|
2854
|
+
direction: Direction.RIGHT
|
|
2855
|
+
}));
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
function TransitionDown(props) {
|
|
2859
|
+
return React.createElement(Slide, Object.assign({}, props, {
|
|
2860
|
+
direction: Direction.DOWN
|
|
2861
|
+
}));
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
var transitionMap = (_transitionMap = {}, _transitionMap[Direction.LEFT] = TransitionLeft, _transitionMap[Direction.UP] = TransitionUp, _transitionMap[Direction.RIGHT] = TransitionRight, _transitionMap[Direction.DOWN] = TransitionDown, _transitionMap);
|
|
2865
|
+
var semanticIcon = (_semanticIcon = {}, _semanticIcon[Semantic.WARNING] = {
|
|
2866
|
+
icon:
|
|
2867
|
+
/*#__PURE__*/
|
|
2868
|
+
React.createElement(Icon, {
|
|
2869
|
+
icon: ExclamationTriangle
|
|
2870
|
+
}),
|
|
2871
|
+
color: '#F3973E'
|
|
2872
|
+
}, _semanticIcon[Semantic.INFO] = {
|
|
2873
|
+
icon:
|
|
2874
|
+
/*#__PURE__*/
|
|
2875
|
+
React.createElement(Icon, {
|
|
2876
|
+
icon: InfoCircle
|
|
2877
|
+
}),
|
|
2878
|
+
color: '#4DBAE9'
|
|
2879
|
+
}, _semanticIcon[Semantic.SUCCESS] = {
|
|
2880
|
+
icon:
|
|
2881
|
+
/*#__PURE__*/
|
|
2882
|
+
React.createElement(Icon, {
|
|
2883
|
+
icon: CheckCircle
|
|
2884
|
+
}),
|
|
2885
|
+
color: '#A0D45E'
|
|
2886
|
+
}, _semanticIcon[Semantic.ERROR] = {
|
|
2887
|
+
icon:
|
|
2888
|
+
/*#__PURE__*/
|
|
2889
|
+
React.createElement(Icon, {
|
|
2890
|
+
icon: TimesCircle
|
|
2891
|
+
}),
|
|
2892
|
+
color: '#EC3C63'
|
|
2893
|
+
}, _semanticIcon);
|
|
2894
|
+
var Content =
|
|
2895
|
+
/*#__PURE__*/
|
|
2896
|
+
forwardRef(function (_ref, ref) {
|
|
2897
|
+
var title = _ref.title,
|
|
2898
|
+
message = _ref.message,
|
|
2899
|
+
action = _ref.action,
|
|
2900
|
+
semantic = _ref.semantic,
|
|
2901
|
+
showSemanticIcon = _ref.showSemanticIcon,
|
|
2902
|
+
MessageIcon = _ref.MessageIcon;
|
|
2903
|
+
var classes = useStyles$a({
|
|
2904
|
+
semantic: semantic,
|
|
2905
|
+
withTitle: !!title
|
|
2906
|
+
});
|
|
2907
|
+
var icon = semantic && semanticIcon[semantic].icon;
|
|
2908
|
+
var iconColor = semantic && semanticIcon[semantic].color;
|
|
2909
|
+
return React.createElement(MuiSnackbarContent, {
|
|
2910
|
+
ref: ref,
|
|
2911
|
+
message: React.createElement("div", {
|
|
2912
|
+
className: MessageWrapper
|
|
2913
|
+
}, showSemanticIcon && React.createElement(IconWrapper, {
|
|
2914
|
+
color: iconColor
|
|
2915
|
+
}, icon), !showSemanticIcon && MessageIcon && React.createElement(IconWrapper, {
|
|
2916
|
+
color: iconColor
|
|
2917
|
+
}, MessageIcon), React.createElement("div", {
|
|
2918
|
+
className: MessageContent
|
|
2919
|
+
}, title && React.createElement(Typography, {
|
|
2920
|
+
variant: "h6",
|
|
2921
|
+
weight: "medium",
|
|
2922
|
+
color: "text.B6",
|
|
2923
|
+
className: TitleStyle
|
|
2924
|
+
}, title), React.createElement(Typography, {
|
|
2925
|
+
variant: "p",
|
|
2926
|
+
color: "text.B6"
|
|
2927
|
+
}, message))),
|
|
2928
|
+
action: action,
|
|
2929
|
+
classes: classes
|
|
2930
|
+
});
|
|
2931
|
+
});
|
|
2932
|
+
var Snackbar =
|
|
2933
|
+
/*#__PURE__*/
|
|
2934
|
+
forwardRef(function (_ref2, ref) {
|
|
2935
|
+
var open = _ref2.open,
|
|
2936
|
+
title = _ref2.title,
|
|
2937
|
+
message = _ref2.message,
|
|
2938
|
+
action = _ref2.action,
|
|
2939
|
+
semantic = _ref2.semantic,
|
|
2940
|
+
transitionDirection = _ref2.transitionDirection,
|
|
2941
|
+
MessageIcon = _ref2.MessageIcon,
|
|
2942
|
+
showSemanticIcon = _ref2.showSemanticIcon,
|
|
2943
|
+
restProps = _objectWithoutPropertiesLoose(_ref2, ["open", "title", "message", "action", "semantic", "transitionDirection", "MessageIcon", "showSemanticIcon"]);
|
|
2944
|
+
|
|
2945
|
+
return React.createElement(MuiSnackbar, Object.assign({
|
|
2946
|
+
ref: ref,
|
|
2947
|
+
open: open
|
|
2948
|
+
}, transitionDirection && {
|
|
2949
|
+
TransitionComponent: transitionMap[transitionDirection]
|
|
2950
|
+
}, restProps), React.createElement(Content, {
|
|
2951
|
+
title: title,
|
|
2952
|
+
message: message,
|
|
2953
|
+
action: action,
|
|
2954
|
+
semantic: semantic,
|
|
2955
|
+
showSemanticIcon: showSemanticIcon,
|
|
2956
|
+
MessageIcon: MessageIcon
|
|
2957
|
+
}));
|
|
2958
|
+
});
|
|
2959
|
+
|
|
2960
|
+
var Backdrop =
|
|
2961
|
+
/*#__PURE__*/
|
|
2962
|
+
forwardRef(function (props, ref) {
|
|
2963
|
+
return React.createElement(Backdrop$1, Object.assign({
|
|
2964
|
+
ref: ref
|
|
2965
|
+
}, props), props.children);
|
|
2966
|
+
});
|
|
2967
|
+
|
|
2968
|
+
var Link = {
|
|
2969
|
+
name: 'list-ul-o',
|
|
2970
|
+
definition: {
|
|
2971
|
+
viewBox: '0 0 512 512',
|
|
2972
|
+
pathData: 'M32.39 224C14.73 224 0 238.33 0 256s14.73 32 32.39 32a32 32 0 0 0 0-64zm0-160C14.73 64 0 78.33 0 96s14.73 32 32.39 32a32 32 0 0 0 0-64zm0 320C14.73 384 0 398.33 0 416s14.73 32 32.39 32a32 32 0 0 0 0-64zM504 80H136a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h368a8 8 0 0 0 8-8V88a8 8 0 0 0-8-8zm0 160H136a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h368a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8zm0 160H136a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h368a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8z'
|
|
2973
|
+
}
|
|
2974
|
+
};
|
|
2975
|
+
|
|
2976
|
+
function _templateObject3$2() {
|
|
2977
|
+
var data = _taggedTemplateLiteralLoose(["\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ", ";\n"]);
|
|
2978
|
+
|
|
2979
|
+
_templateObject3$2 = function _templateObject3() {
|
|
2980
|
+
return data;
|
|
2981
|
+
};
|
|
2982
|
+
|
|
2983
|
+
return data;
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
function _templateObject2$5() {
|
|
2987
|
+
var data = _taggedTemplateLiteralLoose(["\n padding: 8px;\n display: inline-block;\n cursor: pointer;\n"]);
|
|
2988
|
+
|
|
2989
|
+
_templateObject2$5 = function _templateObject2() {
|
|
2990
|
+
return data;
|
|
2991
|
+
};
|
|
2992
|
+
|
|
2993
|
+
return data;
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
function _templateObject$7() {
|
|
2997
|
+
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"]);
|
|
2998
|
+
|
|
2999
|
+
_templateObject$7 = function _templateObject() {
|
|
3000
|
+
return data;
|
|
3001
|
+
};
|
|
3002
|
+
|
|
3003
|
+
return data;
|
|
3004
|
+
}
|
|
3005
|
+
var defaultOffset = 200;
|
|
3006
|
+
|
|
3007
|
+
var duration = function duration(props) {
|
|
3008
|
+
var duration = 0.2;
|
|
3009
|
+
|
|
3010
|
+
if (props.duration && typeof props.duration === 'number') {
|
|
3011
|
+
duration = props.duration / 1000;
|
|
3012
|
+
}
|
|
3013
|
+
|
|
3014
|
+
return duration + "s";
|
|
3015
|
+
};
|
|
3016
|
+
|
|
3017
|
+
var translateOffset = function translateOffset(props) {
|
|
3018
|
+
var open = props.open,
|
|
3019
|
+
position = props.position;
|
|
3020
|
+
var offset = width(props);
|
|
3021
|
+
|
|
3022
|
+
if (position === 'left') {
|
|
3023
|
+
if (open) {
|
|
3024
|
+
return '0';
|
|
3025
|
+
} else {
|
|
3026
|
+
return "-" + offset + "px";
|
|
3027
|
+
}
|
|
3028
|
+
} else {
|
|
3029
|
+
if (open) {
|
|
3030
|
+
return '0';
|
|
3031
|
+
} else {
|
|
3032
|
+
return offset + "px";
|
|
3033
|
+
}
|
|
3034
|
+
}
|
|
3035
|
+
};
|
|
3036
|
+
|
|
3037
|
+
var position = function position(props) {
|
|
3038
|
+
var position = props.position;
|
|
3039
|
+
|
|
3040
|
+
if (position === 'left') {
|
|
3041
|
+
return 'left: 0';
|
|
3042
|
+
} else {
|
|
3043
|
+
return 'right: 0';
|
|
3044
|
+
}
|
|
3045
|
+
};
|
|
3046
|
+
|
|
3047
|
+
var width = function width(props) {
|
|
3048
|
+
var width = props.width;
|
|
3049
|
+
|
|
3050
|
+
if (typeof width === 'number' && width > defaultOffset) {
|
|
3051
|
+
return width;
|
|
3052
|
+
} else {
|
|
3053
|
+
return defaultOffset;
|
|
3054
|
+
}
|
|
3055
|
+
};
|
|
3056
|
+
|
|
3057
|
+
var StyledSideMenu =
|
|
3058
|
+
/*#__PURE__*/
|
|
3059
|
+
styled$1.section(
|
|
3060
|
+
/*#__PURE__*/
|
|
3061
|
+
_templateObject$7(), duration, translateOffset, position, width, theme.zIndex.appBar);
|
|
3062
|
+
var StyledIconWrapper =
|
|
3063
|
+
/*#__PURE__*/
|
|
3064
|
+
styled$1.div(
|
|
3065
|
+
/*#__PURE__*/
|
|
3066
|
+
_templateObject2$5());
|
|
3067
|
+
var IconStyle =
|
|
3068
|
+
/*#__PURE__*/
|
|
3069
|
+
css(
|
|
3070
|
+
/*#__PURE__*/
|
|
3071
|
+
_templateObject3$2(), theme.color.primary["default"]);
|
|
3072
|
+
|
|
3073
|
+
var SlidingSideMenu = function SlidingSideMenu(_ref) {
|
|
3074
|
+
var children = _ref.children,
|
|
3075
|
+
open = _ref.open,
|
|
3076
|
+
onClick = _ref.onClick,
|
|
3077
|
+
onClose = _ref.onClose,
|
|
3078
|
+
onClosed = _ref.onClosed,
|
|
3079
|
+
_ref$duration = _ref.duration,
|
|
3080
|
+
duration = _ref$duration === void 0 ? 200 : _ref$duration,
|
|
3081
|
+
icon = _ref.icon,
|
|
3082
|
+
_ref$position = _ref.position,
|
|
3083
|
+
position = _ref$position === void 0 ? 'left' : _ref$position,
|
|
3084
|
+
width = _ref.width,
|
|
3085
|
+
IconProps = _ref.IconProps,
|
|
3086
|
+
BackdropProps = _ref.BackdropProps,
|
|
3087
|
+
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "open", "onClick", "onClose", "onClosed", "duration", "icon", "position", "width", "IconProps", "BackdropProps"]);
|
|
3088
|
+
|
|
3089
|
+
var _IconProps = _extends({}, IconProps),
|
|
3090
|
+
IconClassName = _IconProps.className,
|
|
3091
|
+
restIconProps = _objectWithoutPropertiesLoose(_IconProps, ["className"]);
|
|
3092
|
+
|
|
3093
|
+
var _BackdropProps = _extends({}, BackdropProps),
|
|
3094
|
+
BackdropClassName = _BackdropProps.className,
|
|
3095
|
+
restBackdropProps = _objectWithoutPropertiesLoose(_BackdropProps, ["className"]);
|
|
3096
|
+
|
|
3097
|
+
var handleClose = function handleClose() {
|
|
3098
|
+
onClose(); // after transition finished
|
|
3099
|
+
|
|
3100
|
+
setTimeout(function () {
|
|
3101
|
+
if (onClosed) {
|
|
3102
|
+
onClosed();
|
|
3103
|
+
}
|
|
3104
|
+
}, duration);
|
|
3105
|
+
};
|
|
3106
|
+
|
|
3107
|
+
var handleIconClick = function handleIconClick() {
|
|
3108
|
+
if (open) {
|
|
3109
|
+
handleClose();
|
|
3110
|
+
} else {
|
|
3111
|
+
onClick();
|
|
3112
|
+
}
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
return React.createElement("section", null, icon ? React.createElement("span", {
|
|
3116
|
+
onClick: handleIconClick
|
|
3117
|
+
}, icon) : React.createElement(StyledIconWrapper, {
|
|
3118
|
+
onClick: handleIconClick
|
|
3119
|
+
}, React.createElement(Icon, Object.assign({
|
|
3120
|
+
icon: Link,
|
|
3121
|
+
className: cx(IconStyle, IconClassName)
|
|
3122
|
+
}, restIconProps))), React.createElement(StyledSideMenu, Object.assign({
|
|
3123
|
+
open: open,
|
|
3124
|
+
duration: duration,
|
|
3125
|
+
position: position,
|
|
3126
|
+
width: width
|
|
3127
|
+
}, restProps), children), React.createElement(Backdrop, Object.assign({
|
|
3128
|
+
open: open,
|
|
3129
|
+
onClick: handleClose,
|
|
3130
|
+
className: BackdropClassName
|
|
3131
|
+
}, restBackdropProps)));
|
|
3132
|
+
};
|
|
3133
|
+
|
|
3134
|
+
var index$4 = /*#__PURE__*/
|
|
3135
|
+
memo(SlidingSideMenu);
|
|
3136
|
+
|
|
3137
|
+
var useStyles$b =
|
|
3138
|
+
/*#__PURE__*/
|
|
3139
|
+
makeStyles$1({
|
|
3140
|
+
root: {
|
|
3141
|
+
margin: function margin(props) {
|
|
3142
|
+
var orientation = props.orientation,
|
|
3143
|
+
variant = props.variant;
|
|
3144
|
+
var margin;
|
|
3145
|
+
|
|
3146
|
+
if (orientation === 'horizontal') {
|
|
3147
|
+
margin = '6px auto';
|
|
3148
|
+
} else if (orientation === 'vertical') {
|
|
3149
|
+
margin = '-8px 4px';
|
|
3150
|
+
}
|
|
3151
|
+
|
|
3152
|
+
if (orientation === 'horizontal' && variant === 'middle') {
|
|
3153
|
+
margin = '6px 16px';
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
return margin;
|
|
3157
|
+
},
|
|
3158
|
+
width: function width(props) {
|
|
3159
|
+
var orientation = props.orientation;
|
|
3160
|
+
var width = '';
|
|
3161
|
+
|
|
3162
|
+
if (orientation === 'horizontal') {
|
|
3163
|
+
width = 'auto';
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
return width;
|
|
3167
|
+
},
|
|
3168
|
+
height: function height(props) {
|
|
3169
|
+
var orientation = props.orientation;
|
|
3170
|
+
var height = '';
|
|
3171
|
+
|
|
3172
|
+
if (orientation === 'vertical') {
|
|
3173
|
+
height = 'auto';
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
return height;
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
});
|
|
3180
|
+
|
|
3181
|
+
var Divider = function Divider(props) {
|
|
3182
|
+
var _useStyles = useStyles$b(props),
|
|
3183
|
+
root = _useStyles.root;
|
|
3184
|
+
|
|
3185
|
+
return React.createElement(MuiDivider, Object.assign({}, props, {
|
|
3186
|
+
className: root
|
|
3187
|
+
}));
|
|
3188
|
+
};
|
|
3189
|
+
|
|
3190
|
+
var boxShadowForMenu = "0 1px 6px 0 rgba(69, 69, 69, 0.2),\n0 1px 5px 0 rgba(69, 69, 69, 0.1)";
|
|
3191
|
+
|
|
3192
|
+
function _templateObject$8() {
|
|
3193
|
+
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 "]);
|
|
3194
|
+
|
|
3195
|
+
_templateObject$8 = function _templateObject() {
|
|
3196
|
+
return data;
|
|
3197
|
+
};
|
|
3198
|
+
|
|
3199
|
+
return data;
|
|
3200
|
+
}
|
|
3201
|
+
var CaretDown =
|
|
3202
|
+
/*#__PURE__*/
|
|
3203
|
+
memo(function (props) {
|
|
3204
|
+
return React.createElement(SvgIcon, Object.assign({
|
|
3205
|
+
viewBox: "0 0 320 512",
|
|
3206
|
+
color: "action"
|
|
3207
|
+
}, props), React.createElement("path", {
|
|
3208
|
+
d: "M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
3209
|
+
}));
|
|
3210
|
+
});
|
|
3211
|
+
var muiThemeForSurveyCake =
|
|
3212
|
+
/*#__PURE__*/
|
|
3213
|
+
function () {
|
|
3214
|
+
// Side Effects
|
|
3215
|
+
injectGlobal(_templateObject$8());
|
|
3216
|
+
var BASE_FONT_SIZE = 16;
|
|
3217
|
+
return createMuiTheme({
|
|
3218
|
+
typography: {
|
|
3219
|
+
fontFamily: ['Helvetica Neue', 'Helvetica', 'Roboto', 'Arial', 'Noto Sans TC', 'Apple LiGothic', '微軟正黑體', 'Microsoft JhengHei', 'sans-serif', 'PingFangTC-Regular'].join(','),
|
|
3220
|
+
htmlFontSize: BASE_FONT_SIZE,
|
|
3221
|
+
h1: {
|
|
3222
|
+
fontSize: theme.typography.fontSize.h1 / BASE_FONT_SIZE + "rem",
|
|
3223
|
+
lineHeight: 44 / BASE_FONT_SIZE + "rem"
|
|
3224
|
+
},
|
|
3225
|
+
h2: {
|
|
3226
|
+
fontSize: theme.typography.fontSize.h2 / BASE_FONT_SIZE + "rem",
|
|
3227
|
+
lineHeight: 40 / BASE_FONT_SIZE + "rem"
|
|
3228
|
+
},
|
|
3229
|
+
h3: {
|
|
3230
|
+
fontSize: theme.typography.fontSize.h3 / BASE_FONT_SIZE + "rem",
|
|
3231
|
+
lineHeight: 36 / BASE_FONT_SIZE + "rem"
|
|
3232
|
+
},
|
|
3233
|
+
h4: {
|
|
3234
|
+
fontSize: theme.typography.fontSize.h4 / BASE_FONT_SIZE + "rem",
|
|
3235
|
+
lineHeight: 32 / BASE_FONT_SIZE + "rem"
|
|
3236
|
+
},
|
|
3237
|
+
h5: {
|
|
3238
|
+
fontSize: theme.typography.fontSize.h5 / BASE_FONT_SIZE + "rem",
|
|
3239
|
+
lineHeight: 28 / BASE_FONT_SIZE + "rem"
|
|
3240
|
+
},
|
|
3241
|
+
h6: {
|
|
3242
|
+
fontSize: theme.typography.fontSize.h6 / BASE_FONT_SIZE + "rem",
|
|
3243
|
+
lineHeight: 24 / BASE_FONT_SIZE + "rem"
|
|
3244
|
+
},
|
|
3245
|
+
body1: {
|
|
3246
|
+
fontFamily: 'PingFangTC-Regular',
|
|
3247
|
+
fontSize: theme.typography.fontSize.p / BASE_FONT_SIZE + "rem",
|
|
3248
|
+
lineHeight: 22 / BASE_FONT_SIZE + "rem"
|
|
3249
|
+
},
|
|
3250
|
+
body2: {
|
|
3251
|
+
fontSize: 12 / BASE_FONT_SIZE + "rem",
|
|
3252
|
+
lineHeight: 20 / BASE_FONT_SIZE + "rem"
|
|
3253
|
+
},
|
|
3254
|
+
button: {
|
|
3255
|
+
fontSize: 12 / BASE_FONT_SIZE + "rem",
|
|
3256
|
+
lineHeight: 20 / BASE_FONT_SIZE + "rem"
|
|
3257
|
+
},
|
|
3258
|
+
caption: {
|
|
3259
|
+
fontSize: 12 / BASE_FONT_SIZE + "rem",
|
|
3260
|
+
lineHeight: 20 / BASE_FONT_SIZE + "rem"
|
|
3261
|
+
},
|
|
3262
|
+
overline: {
|
|
3263
|
+
fontSize: 12 / BASE_FONT_SIZE + "rem",
|
|
3264
|
+
lineHeight: 20 / BASE_FONT_SIZE + "rem"
|
|
3265
|
+
}
|
|
3266
|
+
},
|
|
3267
|
+
palette: {
|
|
3268
|
+
primary: {
|
|
3269
|
+
light: theme.color.primary.hover,
|
|
3270
|
+
main: theme.color.primary["default"],
|
|
3271
|
+
dark: theme.color.primary.active,
|
|
3272
|
+
contrastText: '#ffffff'
|
|
3273
|
+
},
|
|
3274
|
+
secondary: {
|
|
3275
|
+
light: theme.color.secondary.hover,
|
|
3276
|
+
main: theme.color.secondary["default"],
|
|
3277
|
+
dark: theme.color.secondary.active,
|
|
3278
|
+
contrastText: '#ffffff'
|
|
3279
|
+
},
|
|
3280
|
+
action: {
|
|
3281
|
+
hoverOpacity: 0.25
|
|
3282
|
+
},
|
|
3283
|
+
error: {
|
|
3284
|
+
main: theme.color.semantic.error
|
|
3285
|
+
}
|
|
3286
|
+
},
|
|
3287
|
+
props: {
|
|
3288
|
+
// Name of the component ⚛️
|
|
3289
|
+
MuiButtonBase: {
|
|
3290
|
+
// The default props to change
|
|
3291
|
+
disableRipple: true // No more ripple, on the whole application 💣!
|
|
3292
|
+
|
|
3293
|
+
},
|
|
3294
|
+
MuiSelect: {
|
|
3295
|
+
MenuProps: {
|
|
3296
|
+
anchorOrigin: {
|
|
3297
|
+
vertical: 'bottom',
|
|
3298
|
+
horizontal: 'center'
|
|
3299
|
+
},
|
|
3300
|
+
transformOrigin: {
|
|
3301
|
+
vertical: 'top',
|
|
3302
|
+
horizontal: 'center'
|
|
3303
|
+
},
|
|
3304
|
+
getContentAnchorEl: null
|
|
3305
|
+
},
|
|
3306
|
+
IconComponent: CaretDown
|
|
3307
|
+
}
|
|
3308
|
+
},
|
|
3309
|
+
overrides: {
|
|
3310
|
+
MuiPopover: {
|
|
3311
|
+
paper: {
|
|
3312
|
+
marginTop: '8px'
|
|
3313
|
+
}
|
|
3314
|
+
},
|
|
3315
|
+
// Style sheet name ⚛️
|
|
3316
|
+
MuiButton: {
|
|
3317
|
+
root: {
|
|
3318
|
+
minWidth: 'none',
|
|
3319
|
+
color: theme.color.text.B3,
|
|
3320
|
+
'&:hover': {
|
|
3321
|
+
backgroundColor: theme.color.text.HB
|
|
3322
|
+
},
|
|
3323
|
+
'&:disabled': {
|
|
3324
|
+
color: theme.color.text.B2,
|
|
3325
|
+
backgroundColor: theme.color.text.F
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
// Name of the rule
|
|
3329
|
+
contained: {
|
|
3330
|
+
// Some CSS
|
|
3331
|
+
backgroundColor: theme.color.text.HB,
|
|
3332
|
+
color: theme.color.text.B4,
|
|
3333
|
+
boxShadow: 'none',
|
|
3334
|
+
'&:hover': {
|
|
3335
|
+
boxShadow: 'none',
|
|
3336
|
+
backgroundColor: theme.color.text.HB,
|
|
3337
|
+
color: theme.color.text.B5
|
|
3338
|
+
},
|
|
3339
|
+
'&:active': {
|
|
3340
|
+
boxShadow: 'none'
|
|
3341
|
+
},
|
|
3342
|
+
'&$focusVisible': {
|
|
3343
|
+
boxShadow: 'none'
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3346
|
+
outlinedPrimary: {
|
|
3347
|
+
borderColor: theme.color.primary["default"]
|
|
3348
|
+
},
|
|
3349
|
+
containedPrimary: {
|
|
3350
|
+
'&:disabled': {
|
|
3351
|
+
color: theme.color.text.white
|
|
3352
|
+
},
|
|
3353
|
+
'&:hover': {
|
|
3354
|
+
boxShadow: 'none',
|
|
3355
|
+
color: theme.color.text.white
|
|
3356
|
+
}
|
|
3357
|
+
},
|
|
3358
|
+
containedSecondary: {
|
|
3359
|
+
'&:disabled': {
|
|
3360
|
+
color: theme.color.text.white
|
|
3361
|
+
},
|
|
3362
|
+
'&:hover': {
|
|
3363
|
+
boxShadow: 'none',
|
|
3364
|
+
color: theme.color.text.white
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3367
|
+
},
|
|
3368
|
+
MuiChip: {
|
|
3369
|
+
root: {
|
|
3370
|
+
borderRadius: 4,
|
|
3371
|
+
'& span': {
|
|
3372
|
+
padding: '0 8px'
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
},
|
|
3376
|
+
MuiMenu: {
|
|
3377
|
+
paper: {
|
|
3378
|
+
boxShadow: boxShadowForMenu
|
|
3379
|
+
}
|
|
3380
|
+
},
|
|
3381
|
+
MuiMenuItem: {
|
|
3382
|
+
root: {
|
|
3383
|
+
minHeight: 'auto'
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
MuiList: {
|
|
3387
|
+
root: {
|
|
3388
|
+
zIndex: 100
|
|
3389
|
+
},
|
|
3390
|
+
padding: {
|
|
3391
|
+
padding: '8px'
|
|
3392
|
+
}
|
|
3393
|
+
},
|
|
3394
|
+
MuiRadio: {
|
|
3395
|
+
root: {
|
|
3396
|
+
padding: 5
|
|
3397
|
+
},
|
|
3398
|
+
colorSecondary: {
|
|
3399
|
+
'&:hover': {
|
|
3400
|
+
backgroundColor: 'transparent'
|
|
3401
|
+
},
|
|
3402
|
+
MuiChecked: {
|
|
3403
|
+
'&:hover': {
|
|
3404
|
+
backgroundColor: 'transparent'
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
},
|
|
3409
|
+
MuiListItem: {
|
|
3410
|
+
root: {
|
|
3411
|
+
borderRadius: '0',
|
|
3412
|
+
'&$selected': {
|
|
3413
|
+
backgroundColor: theme.color.primary.lightBackground,
|
|
3414
|
+
color: theme.color.primary["default"],
|
|
3415
|
+
'&:hover': {
|
|
3416
|
+
backgroundColor: theme.color.primary.lightBackground
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
},
|
|
3420
|
+
button: {
|
|
3421
|
+
'&:hover': {
|
|
3422
|
+
backgroundColor: 'white',
|
|
3423
|
+
color: theme.color.primary["default"]
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
},
|
|
3427
|
+
MuiTable: {
|
|
3428
|
+
root: {
|
|
3429
|
+
backgroundColor: 'white'
|
|
3430
|
+
}
|
|
3431
|
+
},
|
|
3432
|
+
MuiTableRow: {
|
|
3433
|
+
root: {
|
|
3434
|
+
'&$hover': {
|
|
3435
|
+
'&:hover': {
|
|
3436
|
+
backgroundColor: '#fafafa'
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
}
|
|
3440
|
+
},
|
|
3441
|
+
MuiSelect: {
|
|
3442
|
+
selectMenu: {
|
|
3443
|
+
'&&': {
|
|
3444
|
+
paddingRight: '32px',
|
|
3445
|
+
color: '#aaa'
|
|
3446
|
+
}
|
|
3447
|
+
},
|
|
3448
|
+
select: {
|
|
3449
|
+
'&:focus': {
|
|
3450
|
+
backgroundColor: 'white'
|
|
3451
|
+
}
|
|
3452
|
+
},
|
|
3453
|
+
icon: {
|
|
3454
|
+
color: '#aaa'
|
|
3455
|
+
}
|
|
3456
|
+
},
|
|
3457
|
+
MuiOutlinedInput: {
|
|
3458
|
+
root: {
|
|
3459
|
+
'&:hover $notchedOutline': {
|
|
3460
|
+
borderColor: theme.color.primary["default"]
|
|
3461
|
+
},
|
|
3462
|
+
'&$focused $notchedOutline': {
|
|
3463
|
+
borderWidth: '1px',
|
|
3464
|
+
boxShadow: "0 0 2px 0 " + theme.color.primary["default"]
|
|
3465
|
+
}
|
|
3466
|
+
},
|
|
3467
|
+
input: {
|
|
3468
|
+
padding: '8px'
|
|
3469
|
+
},
|
|
3470
|
+
notchedOutline: {
|
|
3471
|
+
borderColor: '#eee'
|
|
3472
|
+
},
|
|
3473
|
+
adornedStart: {
|
|
3474
|
+
paddingLeft: '12px'
|
|
3475
|
+
}
|
|
3476
|
+
},
|
|
3477
|
+
MuiInputBase: {
|
|
3478
|
+
root: {
|
|
3479
|
+
fontSize: 14 / BASE_FONT_SIZE + "rem"
|
|
3480
|
+
}
|
|
3481
|
+
},
|
|
3482
|
+
MuiIconButton: {
|
|
3483
|
+
root: {
|
|
3484
|
+
'&:hover': {
|
|
3485
|
+
'& *': {
|
|
3486
|
+
color: 'inherit'
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
}
|
|
3490
|
+
},
|
|
3491
|
+
MuiTooltip: {
|
|
3492
|
+
tooltip: {
|
|
3493
|
+
backgroundColor: theme.color.text.B6,
|
|
3494
|
+
fontSize: theme.typography.fontSize.span
|
|
3495
|
+
},
|
|
3496
|
+
arrow: {
|
|
3497
|
+
color: theme.color.text.B6
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
MuiCardHeader: {
|
|
3501
|
+
root: {
|
|
3502
|
+
padding: '13px 24px',
|
|
3503
|
+
backgroundColor: theme.color.primary["default"]
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
MuiCardContent: {
|
|
3507
|
+
root: {
|
|
3508
|
+
padding: '13px 24px'
|
|
3509
|
+
}
|
|
3510
|
+
},
|
|
3511
|
+
MuiCardActions: {
|
|
3512
|
+
root: {
|
|
3513
|
+
padding: '13px 24px',
|
|
3514
|
+
backgroundColor: '#fafafa',
|
|
3515
|
+
borderTop: "1px solid " + theme.color.text.HB
|
|
3516
|
+
}
|
|
3517
|
+
},
|
|
3518
|
+
MuiSnackbarContent: {
|
|
3519
|
+
root: {
|
|
3520
|
+
borderRadius: '4px',
|
|
3521
|
+
boxShadow: '0 1px 8px 0 rgba(69, 69, 69, 0.2), 0 1px 6px 0 rgba(69, 69, 69, 0.1)'
|
|
3522
|
+
}
|
|
3523
|
+
},
|
|
3524
|
+
MuiTabs: {
|
|
3525
|
+
indicator: {
|
|
3526
|
+
backgroundColor: theme.color.primary["default"]
|
|
3527
|
+
}
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
});
|
|
3531
|
+
}();
|
|
3532
|
+
var MuiThemeProvider = function MuiThemeProvider(_ref) {
|
|
3533
|
+
var children = _ref.children;
|
|
3534
|
+
return React.createElement(ThemeProvider, {
|
|
3535
|
+
theme: muiThemeForSurveyCake
|
|
3536
|
+
}, children);
|
|
3537
|
+
};
|
|
3538
|
+
|
|
3539
|
+
var withMuiPickersUtilsProvider = function withMuiPickersUtilsProvider(Component) {
|
|
3540
|
+
return function (props) {
|
|
3541
|
+
return React.createElement(MuiPickersUtilsProvider, {
|
|
3542
|
+
utils: DateFnsUtils
|
|
3543
|
+
}, React.createElement(Component, Object.assign({}, props)));
|
|
3544
|
+
};
|
|
3545
|
+
};
|
|
3546
|
+
|
|
3547
|
+
var CheckSquare = {
|
|
3548
|
+
name: 'check-square',
|
|
3549
|
+
definition: {
|
|
3550
|
+
viewBox: '0 0 448 512',
|
|
3551
|
+
pathData: 'M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z'
|
|
3552
|
+
}
|
|
3553
|
+
};
|
|
3554
|
+
|
|
3555
|
+
var HandPointer = {
|
|
3556
|
+
name: 'hand-pointer',
|
|
3557
|
+
definition: {
|
|
3558
|
+
viewBox: '0 0 448 512',
|
|
3559
|
+
pathData: 'M448 240v96c0 3.084-.356 6.159-1.063 9.162l-32 136C410.686 499.23 394.562 512 376 512H168a40.004 40.004 0 0 1-32.35-16.473l-127.997-176c-12.993-17.866-9.043-42.883 8.822-55.876 17.867-12.994 42.884-9.043 55.877 8.823L104 315.992V40c0-22.091 17.908-40 40-40s40 17.909 40 40v200h8v-40c0-22.091 17.908-40 40-40s40 17.909 40 40v40h8v-24c0-22.091 17.908-40 40-40s40 17.909 40 40v24h8c0-22.091 17.908-40 40-40s40 17.909 40 40zm-256 80h-8v96h8v-96zm88 0h-8v96h8v-96zm88 0h-8v96h8v-96z'
|
|
3560
|
+
}
|
|
3561
|
+
};
|
|
3562
|
+
|
|
3563
|
+
var Heart = {
|
|
3564
|
+
name: 'heart',
|
|
3565
|
+
definition: {
|
|
3566
|
+
viewBox: '0 0 512 512',
|
|
3567
|
+
pathData: 'M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z'
|
|
3568
|
+
}
|
|
3569
|
+
};
|
|
3570
|
+
|
|
3571
|
+
var Star = {
|
|
3572
|
+
name: 'star',
|
|
3573
|
+
definition: {
|
|
3574
|
+
viewBox: '0 0 576 512',
|
|
3575
|
+
pathData: 'M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z'
|
|
3576
|
+
}
|
|
3577
|
+
};
|
|
3578
|
+
|
|
3579
|
+
var ThumbUp = {
|
|
3580
|
+
name: 'thumb-up',
|
|
3581
|
+
definition: {
|
|
3582
|
+
viewBox: '0 0 40 40',
|
|
3583
|
+
pathData: 'M37.4,21.8l-2.8,11.1c-0.4,1.5-1.8,4.2-4.9,4.2H14.9c-1.3,0-2.3-1-2.8-1.8c-0.8,0.8-2.1,1.8-3.6,1.8H3.9 c-0.4,0-0.8-0.4-0.8-0.8V14.2c0-0.2,0.1-0.4,0.2-0.6c0.1-0.1,0.4-0.2,0.6-0.2c0,0,3,0,4.4,0c0,0,0,0,0,0c1,0,2.6,0.9,3.6,1.4 l0.5-0.9c0.2-0.3,4.1-6.9,5.1-8.2c0.1-0.2,0.3-0.4,0.5-0.7c1-1.4,2.3-3.4,4.1-3.5c0,0,0,0,0.1,0c2.1,0,2.8,3.2,3,4.4 c0.2,2,0.2,3.9-1.8,7.3h9.2c0,0,0,0,0,0c0.1,0,2.6,0,4.1,2C37.8,16.9,38.1,19.1,37.4,21.8z'
|
|
3584
|
+
}
|
|
3585
|
+
};
|
|
3586
|
+
|
|
3587
|
+
var Check = {
|
|
3588
|
+
name: 'check',
|
|
3589
|
+
definition: {
|
|
3590
|
+
viewBox: '0 0 512 512',
|
|
3591
|
+
pathData: 'M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'
|
|
3592
|
+
}
|
|
3593
|
+
};
|
|
3594
|
+
|
|
3595
|
+
var QuestionCircle = {
|
|
3596
|
+
name: 'question-circle',
|
|
3597
|
+
definition: {
|
|
3598
|
+
viewBox: '0 0 512 512',
|
|
3599
|
+
pathData: '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'
|
|
3600
|
+
}
|
|
3601
|
+
};
|
|
3602
|
+
|
|
3603
|
+
var CaretDown$1 = {
|
|
3604
|
+
name: 'caret-down',
|
|
3605
|
+
definition: {
|
|
3606
|
+
viewBox: '0 0 320 512',
|
|
3607
|
+
pathData: 'M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'
|
|
3608
|
+
}
|
|
3609
|
+
};
|
|
3610
|
+
|
|
3611
|
+
var CaretUp = {
|
|
3612
|
+
name: 'caret-up',
|
|
3613
|
+
definition: {
|
|
3614
|
+
viewBox: '0 0 320 512',
|
|
3615
|
+
pathData: 'M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z'
|
|
3616
|
+
}
|
|
3617
|
+
};
|
|
3618
|
+
|
|
3619
|
+
var CaretLeft = {
|
|
3620
|
+
name: 'caret-left',
|
|
3621
|
+
definition: {
|
|
3622
|
+
viewBox: '0 0 192 512',
|
|
3623
|
+
pathData: 'M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'
|
|
3624
|
+
}
|
|
3625
|
+
};
|
|
3626
|
+
|
|
3627
|
+
var CaretRight = {
|
|
3628
|
+
name: 'caret-right',
|
|
3629
|
+
definition: {
|
|
3630
|
+
viewBox: '0 0 192 512',
|
|
3631
|
+
pathData: 'M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'
|
|
3632
|
+
}
|
|
3633
|
+
};
|
|
3634
|
+
|
|
3635
|
+
var Plus = {
|
|
3636
|
+
name: 'plus',
|
|
3637
|
+
definition: {
|
|
3638
|
+
viewBox: '0 0 448 512',
|
|
3639
|
+
pathData: 'M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z'
|
|
3640
|
+
}
|
|
3641
|
+
};
|
|
3642
|
+
|
|
3643
|
+
var PlusLight = {
|
|
3644
|
+
name: 'plus-light',
|
|
3645
|
+
definition: {
|
|
3646
|
+
viewBox: '0 0 384 512',
|
|
3647
|
+
pathData: 'M376 232H216V72c0-4.42-3.58-8-8-8h-32c-4.42 0-8 3.58-8 8v160H8c-4.42 0-8 3.58-8 8v32c0 4.42 3.58 8 8 8h160v160c0 4.42 3.58 8 8 8h32c4.42 0 8-3.58 8-8V280h160c4.42 0 8-3.58 8-8v-32c0-4.42-3.58-8-8-8z'
|
|
3648
|
+
}
|
|
3649
|
+
};
|
|
3650
|
+
|
|
3651
|
+
var Search = {
|
|
3652
|
+
name: 'search',
|
|
3653
|
+
definition: {
|
|
3654
|
+
viewBox: '0 0 512 512',
|
|
3655
|
+
pathData: 'M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'
|
|
3656
|
+
}
|
|
3657
|
+
};
|
|
3658
|
+
|
|
3659
|
+
var ArrowAltLeft = {
|
|
3660
|
+
name: 'arrow-alt-left',
|
|
3661
|
+
definition: {
|
|
3662
|
+
viewBox: '0 0 448 512',
|
|
3663
|
+
// tslint:disable-next-line:max-line-length
|
|
3664
|
+
pathData: 'M448 208v96c0 13.3-10.7 24-24 24H224v103.8c0 21.4-25.8 32.1-41 17L7 273c-9.4-9.4-9.4-24.6 0-34L183 63.3c15.1-15.1 41-4.4 41 17V184h200c13.3 0 24 10.7 24 24z'
|
|
3665
|
+
}
|
|
3666
|
+
};
|
|
3667
|
+
|
|
3668
|
+
var AngleLeft = {
|
|
3669
|
+
name: 'angle-left',
|
|
3670
|
+
definition: {
|
|
3671
|
+
viewBox: '0 0 192 512',
|
|
3672
|
+
pathData: 'M4.2 247.5L151 99.5c4.7-4.7 12.3-4.7 17 0l19.8 19.8c4.7 4.7 4.7 12.3 0 17L69.3 256l118.5 119.7c4.7 4.7 4.7 12.3 0 17L168 412.5c-4.7 4.7-12.3 4.7-17 0L4.2 264.5c-4.7-4.7-4.7-12.3 0-17z'
|
|
3673
|
+
}
|
|
3674
|
+
};
|
|
3675
|
+
|
|
3676
|
+
var AngleRight = {
|
|
3677
|
+
name: 'angle-right',
|
|
3678
|
+
definition: {
|
|
3679
|
+
viewBox: '0 0 192 512',
|
|
3680
|
+
pathData: 'M187.8 264.5L41 412.5c-4.7 4.7-12.3 4.7-17 0L4.2 392.7c-4.7-4.7-4.7-12.3 0-17L122.7 256 4.2 136.3c-4.7-4.7-4.7-12.3 0-17L24 99.5c4.7-4.7 12.3-4.7 17 0l146.8 148c4.7 4.7 4.7 12.3 0 17z'
|
|
3681
|
+
}
|
|
3682
|
+
};
|
|
3683
|
+
|
|
3684
|
+
var EllipsisV = {
|
|
3685
|
+
name: 'ellipsis-v',
|
|
3686
|
+
definition: {
|
|
3687
|
+
viewBox: '0 0 64 512',
|
|
3688
|
+
pathData: 'M32 224c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM0 136c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32zm0 240c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32z'
|
|
3689
|
+
}
|
|
3690
|
+
};
|
|
3691
|
+
|
|
3692
|
+
var EllipsisH = {
|
|
3693
|
+
name: 'ellipsis-h',
|
|
3694
|
+
definition: {
|
|
3695
|
+
viewBox: '0 0 320 512',
|
|
3696
|
+
pathData: 'M192 256c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm88-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-240 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z'
|
|
3697
|
+
}
|
|
3698
|
+
};
|
|
3699
|
+
|
|
3700
|
+
var ListUl = {
|
|
3701
|
+
name: 'list-ul',
|
|
3702
|
+
definition: {
|
|
3703
|
+
viewBox: '0 0 512 512',
|
|
3704
|
+
pathData: 'M88 56H40a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V72a16 16 0 0 0-16-16zm0 160H40a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16zm0 160H40a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16zm416 24H168a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h336a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8zm0-320H168a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h336a8 8 0 0 0 8-8V88a8 8 0 0 0-8-8zm0 160H168a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h336a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8z'
|
|
3705
|
+
}
|
|
3706
|
+
};
|
|
3707
|
+
|
|
3708
|
+
var Lock = {
|
|
3709
|
+
name: 'lock',
|
|
3710
|
+
definition: {
|
|
3711
|
+
viewBox: '0 0 448 512',
|
|
3712
|
+
pathData: 'M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z'
|
|
3713
|
+
}
|
|
3714
|
+
};
|
|
3715
|
+
|
|
3716
|
+
var SortUp = {
|
|
3717
|
+
name: 'sort-up',
|
|
3718
|
+
definition: {
|
|
3719
|
+
viewBox: '0 0 320 512',
|
|
3720
|
+
pathData: 'M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'
|
|
3721
|
+
}
|
|
3722
|
+
};
|
|
3723
|
+
|
|
3724
|
+
var SortDown = {
|
|
3725
|
+
name: 'sort-down',
|
|
3726
|
+
definition: {
|
|
3727
|
+
viewBox: '0 0 320 512',
|
|
3728
|
+
pathData: 'M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'
|
|
3729
|
+
}
|
|
3730
|
+
};
|
|
3731
|
+
|
|
3732
|
+
var Sort = {
|
|
3733
|
+
name: 'sort',
|
|
3734
|
+
definition: {
|
|
3735
|
+
viewBox: '0 0 320 512',
|
|
3736
|
+
pathData: 'M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'
|
|
3737
|
+
}
|
|
3738
|
+
};
|
|
3739
|
+
|
|
3740
|
+
var ChevronLeft = {
|
|
3741
|
+
name: 'chevron-left',
|
|
3742
|
+
definition: {
|
|
3743
|
+
viewBox: '0 0 256 512',
|
|
3744
|
+
pathData: 'M231.293 473.899l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L70.393 256 251.092 74.87c4.686-4.686 4.686-12.284 0-16.971L231.293 38.1c-4.686-4.686-12.284-4.686-16.971 0L4.908 247.515c-4.686 4.686-4.686 12.284 0 16.971L214.322 473.9c4.687 4.686 12.285 4.686 16.971-.001z'
|
|
3745
|
+
}
|
|
3746
|
+
};
|
|
3747
|
+
|
|
3748
|
+
var ChevronRight = {
|
|
3749
|
+
name: 'chevron-right',
|
|
3750
|
+
definition: {
|
|
3751
|
+
viewBox: '0 0 256 512',
|
|
3752
|
+
pathData: 'M24.707 38.101L4.908 57.899c-4.686 4.686-4.686 12.284 0 16.971L185.607 256 4.908 437.13c-4.686 4.686-4.686 12.284 0 16.971L24.707 473.9c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L41.678 38.101c-4.687-4.687-12.285-4.687-16.971 0z'
|
|
3753
|
+
}
|
|
3754
|
+
};
|
|
3755
|
+
|
|
3756
|
+
var User = {
|
|
3757
|
+
name: 'user',
|
|
3758
|
+
definition: {
|
|
3759
|
+
viewBox: '0 0 448 512',
|
|
3760
|
+
pathData: 'M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z'
|
|
3761
|
+
}
|
|
3762
|
+
};
|
|
3763
|
+
|
|
3764
|
+
var Users = {
|
|
3765
|
+
name: 'users',
|
|
3766
|
+
definition: {
|
|
3767
|
+
viewBox: '0 0 640 512',
|
|
3768
|
+
pathData: 'M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z'
|
|
3769
|
+
}
|
|
3770
|
+
};
|
|
3771
|
+
|
|
3772
|
+
var UserPlus = {
|
|
3773
|
+
name: 'user-plus',
|
|
3774
|
+
definition: {
|
|
3775
|
+
viewBox: '0 0 640 512',
|
|
3776
|
+
pathData: 'M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z'
|
|
3777
|
+
}
|
|
3778
|
+
};
|
|
3779
|
+
|
|
3780
|
+
var MinusLight = {
|
|
3781
|
+
name: 'minus-light',
|
|
3782
|
+
definition: {
|
|
3783
|
+
viewBox: '0 0 384 512',
|
|
3784
|
+
pathData: 'M376 232H8c-4.42 0-8 3.58-8 8v32c0 4.42 3.58 8 8 8h368c4.42 0 8-3.58 8-8v-32c0-4.42-3.58-8-8-8z'
|
|
3785
|
+
}
|
|
3786
|
+
};
|
|
3787
|
+
|
|
3788
|
+
var BarChart = {
|
|
3789
|
+
name: 'bar-chart',
|
|
3790
|
+
definition: {
|
|
3791
|
+
viewBox: '0 0 24 24',
|
|
3792
|
+
pathData: 'M2 5.2C2 5.08954 2.08954 5 2.2 5H3.8C3.91046 5 4 5.08954 4 5.2V17H21.8C21.9105 17 22 17.0895 22 17.2V18.8C22 18.9105 21.9105 19 21.8 19H3.8H2.2C2.08954 19 2 18.9105 2 18.8V17.2V5.2ZM6.4 10C6.17909 10 6 10.1791 6 10.4V11.6C6 11.8209 6.17909 12 6.4 12H13.6C13.8209 12 14 11.8209 14 11.6V10.4C14 10.1791 13.8209 10 13.6 10H6.4ZM6 13.4C6 13.1791 6.17909 13 6.4 13H19.6C19.8209 13 20 13.1791 20 13.4V14.6C20 14.8209 19.8209 15 19.6 15H6.4C6.17909 15 6 14.8209 6 14.6V13.4ZM6.4 7C6.17909 7 6 7.17909 6 7.4V8.6C6 8.82091 6.17909 9 6.4 9H16.6C16.8209 9 17 8.82091 17 8.6V7.4C17 7.17909 16.8209 7 16.6 7H6.4Z'
|
|
3793
|
+
}
|
|
3794
|
+
};
|
|
3795
|
+
|
|
3796
|
+
var BracketsCurly = {
|
|
3797
|
+
name: 'brackets-curly',
|
|
3798
|
+
definition: {
|
|
3799
|
+
viewBox: '0 0 576 512',
|
|
3800
|
+
pathData: 'M208 32h-88a56 56 0 0 0-56 56v77.49a40 40 0 0 1-11.72 28.29L7 239a24 24 0 0 0 0 34l45.24 45.24A40 40 0 0 1 64 346.52V424a56 56 0 0 0 56 56h88a16 16 0 0 0 16-16v-16a16 16 0 0 0-16-16h-88a8 8 0 0 1-8-8v-77.48a88.06 88.06 0 0 0-25.78-62.24L57.93 256l28.29-28.28A88.06 88.06 0 0 0 112 165.48V88a8 8 0 0 1 8-8h88a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zm361 207l-45.25-45.24A40.07 40.07 0 0 1 512 165.48V88a56 56 0 0 0-56-56h-88a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h88a8 8 0 0 1 8 8v77.48a88 88 0 0 0 25.78 62.24L518.06 256l-28.28 28.28A88 88 0 0 0 464 346.52V424a8 8 0 0 1-8 8h-88a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h88a56 56 0 0 0 56-56v-77.49a40 40 0 0 1 11.72-28.29L569 273a24 24 0 0 0 0-34z'
|
|
3801
|
+
}
|
|
3802
|
+
};
|
|
3803
|
+
|
|
3804
|
+
var ThLarge = {
|
|
3805
|
+
name: 'th-large-o',
|
|
3806
|
+
definition: {
|
|
3807
|
+
viewBox: '0 0 512 512',
|
|
3808
|
+
pathData: 'M0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48H48C21.49 32 0 53.49 0 80zm240-16v176H32V80c0-8.837 7.163-16 16-16h192zM32 432V272h208v176H48c-8.837 0-16-7.163-16-16zm240 16V272h208v160c0 8.837-7.163 16-16 16H272zm208-208H272V64h192c8.837 0 16 7.163 16 16v160z'
|
|
3809
|
+
}
|
|
3810
|
+
};
|
|
3811
|
+
|
|
3812
|
+
var CheckCircle$1 = {
|
|
3813
|
+
name: 'check-circle-o',
|
|
3814
|
+
definition: {
|
|
3815
|
+
viewBox: '0 0 512 512',
|
|
3816
|
+
pathData: 'M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 464c-118.664 0-216-96.055-216-216 0-118.663 96.055-216 216-216 118.664 0 216 96.055 216 216 0 118.663-96.055 216-216 216zm141.63-274.961L217.15 376.071c-4.705 4.667-12.303 4.637-16.97-.068l-85.878-86.572c-4.667-4.705-4.637-12.303.068-16.97l8.52-8.451c4.705-4.667 12.303-4.637 16.97.068l68.976 69.533 163.441-162.13c4.705-4.667 12.303-4.637 16.97.068l8.451 8.52c4.668 4.705 4.637 12.303-.068 16.97z'
|
|
3817
|
+
}
|
|
3818
|
+
};
|
|
3819
|
+
|
|
3820
|
+
var ChevronDown = {
|
|
3821
|
+
name: 'chevron-down-o',
|
|
3822
|
+
definition: {
|
|
3823
|
+
viewBox: '0 0 448 512',
|
|
3824
|
+
pathData: 'M443.5 162.6l-7.1-7.1c-4.7-4.7-12.3-4.7-17 0L224 351 28.5 155.5c-4.7-4.7-12.3-4.7-17 0l-7.1 7.1c-4.7 4.7-4.7 12.3 0 17l211 211.1c4.7 4.7 12.3 4.7 17 0l211-211.1c4.8-4.7 4.8-12.3.1-17z'
|
|
3825
|
+
}
|
|
3826
|
+
};
|
|
3827
|
+
|
|
3828
|
+
var TimesCircle$1 = {
|
|
3829
|
+
name: 'times-circle-o',
|
|
3830
|
+
definition: {
|
|
3831
|
+
viewBox: '0 0 512 512',
|
|
3832
|
+
pathData: 'M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 464c-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216 0 118.7-96.1 216-216 216zm94.8-285.3L281.5 256l69.3 69.3c4.7 4.7 4.7 12.3 0 17l-8.5 8.5c-4.7 4.7-12.3 4.7-17 0L256 281.5l-69.3 69.3c-4.7 4.7-12.3 4.7-17 0l-8.5-8.5c-4.7-4.7-4.7-12.3 0-17l69.3-69.3-69.3-69.3c-4.7-4.7-4.7-12.3 0-17l8.5-8.5c4.7-4.7 12.3-4.7 17 0l69.3 69.3 69.3-69.3c4.7-4.7 12.3-4.7 17 0l8.5 8.5c4.6 4.7 4.6 12.3 0 17z'
|
|
3833
|
+
}
|
|
3834
|
+
};
|
|
3835
|
+
|
|
3836
|
+
var ExclamationCircle$1 = {
|
|
3837
|
+
name: 'exclamation-circle-o',
|
|
3838
|
+
definition: {
|
|
3839
|
+
viewBox: '0 0 512 512',
|
|
3840
|
+
pathData: 'M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-11.49 120h22.979c6.823 0 12.274 5.682 11.99 12.5l-7 168c-.268 6.428-5.556 11.5-11.99 11.5h-8.979c-6.433 0-11.722-5.073-11.99-11.5l-7-168c-.283-6.818 5.167-12.5 11.99-12.5zM256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28z'
|
|
3841
|
+
}
|
|
3842
|
+
};
|
|
3843
|
+
|
|
3844
|
+
var FileAlt = {
|
|
3845
|
+
name: 'file-alt-o',
|
|
3846
|
+
definition: {
|
|
3847
|
+
viewBox: '0 0 384 512',
|
|
3848
|
+
pathData: 'M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zm-22.6 22.7c2.1 2.1 3.5 4.6 4.2 7.4H256V32.5c2.8.7 5.3 2.1 7.4 4.2l83.9 83.9zM336 480H48c-8.8 0-16-7.2-16-16V48c0-8.8 7.2-16 16-16h176v104c0 13.3 10.7 24 24 24h104v304c0 8.8-7.2 16-16 16zm-48-244v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm0 64v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm0 64v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12z'
|
|
3849
|
+
}
|
|
3850
|
+
};
|
|
3851
|
+
|
|
3852
|
+
var HandPointer$1 = {
|
|
3853
|
+
name: 'hand-pointer-o',
|
|
3854
|
+
definition: {
|
|
3855
|
+
viewBox: '0 0 448 512',
|
|
3856
|
+
pathData: 'M360.543 188.156c-17.46-28.491-54.291-37.063-82.138-19.693-15.965-20.831-42.672-28.278-66.119-20.385V60.25c0-33.222-26.788-60.25-59.714-60.25S92.857 27.028 92.857 60.25v181.902c-20.338-13.673-47.578-13.89-68.389 1.472-26.556 19.605-32.368 57.08-13.132 83.926l114.271 159.5C136.803 502.673 154.893 512 174 512h185.714c27.714 0 51.832-19.294 58.145-46.528l28.571-123.25a60.769 60.769 0 0 0 1.57-13.723v-87c0-45.365-48.011-74.312-87.457-53.343zM82.097 275.588l28.258 39.439a7.999 7.999 0 1 0 14.503-4.659V60.25c0-37.35 55.428-37.41 55.428 0V241.5a8 8 0 0 0 8 8h7.144a8 8 0 0 0 8-8v-36.25c0-37.35 55.429-37.41 55.429 0v36.25a8 8 0 0 0 8 8H274a8 8 0 0 0 8-8v-21.75c0-37.351 55.429-37.408 55.429 0v21.75a8 8 0 0 0 8 8h7.143a8 8 0 0 0 8-8c0-37.35 55.429-37.41 55.429 0v87c0 2.186-.25 4.371-.742 6.496l-28.573 123.251C383.717 471.055 372.626 480 359.715 480H174c-8.813 0-17.181-4.332-22.381-11.588l-114.283-159.5c-22.213-31.004 23.801-62.575 44.761-33.324zM180.285 401v-87a8 8 0 0 1 8-8h7.144a8 8 0 0 1 8 8v87a8 8 0 0 1-8 8h-7.144a8 8 0 0 1-8-8zm78.572 0v-87a8 8 0 0 1 8-8H274a8 8 0 0 1 8 8v87a8 8 0 0 1-8 8h-7.143a8 8 0 0 1-8-8zm78.572 0v-87a8 8 0 0 1 8-8h7.143a8 8 0 0 1 8 8v87a8 8 0 0 1-8 8h-7.143a8 8 0 0 1-8-8z'
|
|
3857
|
+
}
|
|
3858
|
+
};
|
|
3859
|
+
|
|
3860
|
+
var Heart$1 = {
|
|
3861
|
+
name: 'heart-o',
|
|
3862
|
+
definition: {
|
|
3863
|
+
viewBox: '0 0 512 512',
|
|
3864
|
+
pathData: 'M462.3 62.7c-54.5-46.4-136-38.7-186.6 13.5L256 96.6l-19.7-20.3C195.5 34.1 113.2 8.7 49.7 62.7c-62.8 53.6-66.1 149.8-9.9 207.8l193.5 199.8c6.2 6.4 14.4 9.7 22.6 9.7 8.2 0 16.4-3.2 22.6-9.7L472 270.5c56.4-58 53.1-154.2-9.7-207.8zm-13.1 185.6L256.4 448.1 62.8 248.3c-38.4-39.6-46.4-115.1 7.7-161.2 54.8-46.8 119.2-12.9 142.8 11.5l42.7 44.1 42.7-44.1c23.2-24 88.2-58 142.8-11.5 54 46 46.1 121.5 7.7 161.2z'
|
|
3865
|
+
}
|
|
3866
|
+
};
|
|
3867
|
+
|
|
3868
|
+
var InfoCircle$1 = {
|
|
3869
|
+
name: 'info-circle-o',
|
|
3870
|
+
definition: {
|
|
3871
|
+
viewBox: '0 0 512 512',
|
|
3872
|
+
pathData: 'M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-36 344h12V232h-12c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h48c6.627 0 12 5.373 12 12v140h12c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12h-72c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12zm36-240c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z'
|
|
3873
|
+
}
|
|
3874
|
+
};
|
|
3875
|
+
|
|
3876
|
+
var SpinnerThird = {
|
|
3877
|
+
name: 'spinner-third-o',
|
|
3878
|
+
definition: {
|
|
3879
|
+
viewBox: '0 0 512 512',
|
|
3880
|
+
pathData: 'M460.115 373.846l-6.941-4.008c-5.546-3.202-7.564-10.177-4.661-15.886 32.971-64.838 31.167-142.731-5.415-205.954-36.504-63.356-103.118-103.876-175.8-107.701C260.952 39.963 256 34.676 256 28.321v-8.012c0-6.904 5.808-12.337 12.703-11.982 83.552 4.306 160.157 50.861 202.106 123.67 42.069 72.703 44.083 162.322 6.034 236.838-3.14 6.149-10.75 8.462-16.728 5.011z'
|
|
3881
|
+
}
|
|
3882
|
+
};
|
|
3883
|
+
|
|
3884
|
+
var Redo = {
|
|
3885
|
+
name: 'redo-o',
|
|
3886
|
+
definition: {
|
|
3887
|
+
viewBox: '0 0 512 512',
|
|
3888
|
+
pathData: 'M492 8h-10c-6.627 0-12 5.373-12 12v110.625C426.804 57.047 346.761 7.715 255.207 8.001 118.82 8.428 7.787 120.009 8 256.396 8.214 393.181 119.166 504 256 504c63.926 0 122.202-24.187 166.178-63.908 5.113-4.618 5.354-12.561.482-17.433l-7.069-7.069c-4.503-4.503-11.749-4.714-16.482-.454C361.218 449.238 311.065 470 256 470c-117.744 0-214-95.331-214-214 0-117.744 95.331-214 214-214 82.862 0 154.737 47.077 190.289 116H332c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h160c6.627 0 12-5.373 12-12V20c0-6.627-5.373-12-12-12z'
|
|
3889
|
+
}
|
|
3890
|
+
};
|
|
3891
|
+
|
|
3892
|
+
var Square = {
|
|
3893
|
+
name: 'square-o',
|
|
3894
|
+
definition: {
|
|
3895
|
+
viewBox: '0 0 448 512',
|
|
3896
|
+
pathData: 'M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z'
|
|
3897
|
+
}
|
|
3898
|
+
};
|
|
3899
|
+
|
|
3900
|
+
var Star$1 = {
|
|
3901
|
+
name: 'star-o',
|
|
3902
|
+
definition: {
|
|
3903
|
+
viewBox: '0 0 38 38',
|
|
3904
|
+
pathData: 'M18.9999713,30.9092933 L7.8203405,36.938016 C7.56927417,37.0734059 7.25598947,36.9796316 7.12059955,36.7285653 C7.06463989,36.624794 7.04586773,36.5050005 7.0674016,36.3890857 L9.37711036,23.9561339 L0.163096113,15.2503949 C-0.044240183,15.054496 -0.0535119872,14.7276092 0.142386959,14.5202729 C0.223936213,14.4339625 0.332735033,14.3783877 0.450463917,14.3629061 L13.0527162,12.7056857 L18.5344046,1.29252268 C18.6579007,1.03539732 18.9664554,0.927069399 19.2235807,1.0505655 C19.3293832,1.10138191 19.4147215,1.18672025 19.4655379,1.29252268 L24.9472264,12.7056857 L37.5494786,14.3629061 C37.8322889,14.4000962 38.0314034,14.6595077 37.9942133,14.942318 C37.9787317,15.0600468 37.9231569,15.1688457 37.8368464,15.2503949 L28.6228322,23.9561339 L30.932541,36.3890857 C30.9846404,36.6695324 30.7995284,36.9391144 30.5190816,36.9912139 C30.4031668,37.0127478 30.2833733,36.9939756 30.1796021,36.938016 L18.9999713,30.9092933 Z M9.83255548,33.3954046 L18.9999713,28.4517881 L28.1673871,33.3954046 L26.2727458,23.196723 L33.8331616,16.0533645 L23.4947931,14.6938492 L18.9999713,5.3353943 L14.5051495,14.6938492 L4.16678093,16.0533645 L11.7271968,23.196723 L9.83255548,33.3954046 Z'
|
|
3905
|
+
}
|
|
3906
|
+
};
|
|
3907
|
+
|
|
3908
|
+
var ThumbUp$1 = {
|
|
3909
|
+
name: 'thumb-up-o',
|
|
3910
|
+
definition: {
|
|
3911
|
+
viewBox: '0 0 40 40',
|
|
3912
|
+
pathData: 'M36.6,15.4c-1.5-1.9-4-2-4.1-2c0,0,0,0,0,0h-9.2c1.9-3.4,2-5.3,1.8-7.3c-0.1-1.1-0.9-4.4-3-4.4c0,0,0,0-0.1,0 c-1.8,0.1-3.1,2-4.1,3.5c-0.2,0.3-0.3,0.5-0.5,0.7c-0.9,1.2-4.9,7.9-5.1,8.2l-0.5,0.9c-1-0.6-2.6-1.4-3.6-1.4c0,0,0,0,0,0 c-1.5,0-4.4,0-4.4,0c-0.2,0-0.4,0.1-0.6,0.2S3.1,14,3.1,14.2v22.2c0,0.4,0.4,0.8,0.8,0.8h4.6c1.5,0,2.8-1,3.6-1.8 c0.6,0.8,1.5,1.8,2.8,1.8h14.9c3,0,4.5-2.8,4.9-4.2l2.8-11.1C38.1,19.1,37.8,16.9,36.6,15.4z M5.4,15.8c0.9,0,1.9,0,2.7,0l0.2,0 c0.4,0,1.7,0.7,2.8,1.3v15.8C11,33,11,33.1,10.9,33.1c-0.4,0.6-1.5,1.7-2.4,1.7H5.4V15.8z M13.3,17.1c0.1-0.1,0.2-0.2,0.2-0.3 l0.9-1.6c1.1-1.9,4.2-7,4.9-8c0.2-0.2,0.3-0.5,0.5-0.8c0.4-0.5,1.4-2.1,2.1-2.4c0.3,0.4,0.7,1.5,0.8,2.2c0.2,1.6,0.3,3.2-2.1,7 c-0.3,0.5-0.3,1.1,0,1.6c0.3,0.5,0.8,0.8,1.4,0.8l10.6,0c0,0,1.5,0.1,2.3,1.1c0.9,1.1,0.7,3,0.4,4.4l-2.8,11.1c0,0-0.6,2.5-2.6,2.5 H14.9c-0.3,0-0.9-0.7-1.3-1.4c-0.1-0.2-0.2-0.3-0.3-0.5V17.1z'
|
|
3913
|
+
}
|
|
3914
|
+
};
|
|
3915
|
+
|
|
3916
|
+
var Check$1 = {
|
|
3917
|
+
name: 'check-o',
|
|
3918
|
+
definition: {
|
|
3919
|
+
viewBox: '0 0 448 512',
|
|
3920
|
+
pathData: 'M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z'
|
|
3921
|
+
}
|
|
3922
|
+
};
|
|
3923
|
+
|
|
3924
|
+
var Times = {
|
|
3925
|
+
name: 'times-o',
|
|
3926
|
+
definition: {
|
|
3927
|
+
viewBox: '0 0 320 512',
|
|
3928
|
+
pathData: 'M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z'
|
|
3929
|
+
}
|
|
3930
|
+
};
|
|
3931
|
+
|
|
3932
|
+
var FileCertificate = {
|
|
3933
|
+
name: 'file-certificate-o',
|
|
3934
|
+
definition: {
|
|
3935
|
+
viewBox: '0 0 512 512',
|
|
3936
|
+
pathData: 'M497.9 97.98L414.02 14.1c-9-9-21.19-14.1-33.89-14.1H176c-26.5.1-47.99 21.6-47.99 48.09V165.7c-5.97 0-11.94-1.68-24.13-5.03-1.7-.46-3.36-.66-4.96-.66-5.56 0-10.43 2.5-13.66 5.79-17.95 18.26-17.07 17.77-41.7 24.5-6.7 1.81-11.97 7.21-13.78 14.07-6.47 24.67-6.09 24.16-24.02 42.32-4.95 5.04-6.9 12.48-5.08 19.43 6.56 24.38 6.52 24.39 0 48.76-1.82 6.95.12 14.4 5.08 19.45 18 18.15 17.58 17.79 24.02 42.29 1.8 6.88 7.08 12.27 13.78 14.1 1.8.48 2.92.8 4.46 1.21V496c0 5.55 2.87 10.69 7.59 13.61 4.66 2.91 10.59 3.16 15.56.7l56.84-28.42 56.84 28.42c2.25 1.12 4.72 1.69 7.16 1.69h272c26.49 0 47.99-21.5 47.99-47.99V131.97c0-12.69-5.1-24.99-14.1-33.99zM384.03 32.59c2.8.7 5.3 2.1 7.4 4.2l83.88 83.88c2.1 2.1 3.5 4.6 4.2 7.4h-95.48V32.59zM33.28 316.68c5.7-22.3 5.7-30.23.01-52.39 15.65-16.2 19.56-22.98 25.63-45.06 21.57-6.13 28.06-9.92 43.88-25.69 9.8 2.62 16.82 4.15 25.21 4.15 8.28 0 15.25-1.49 25.19-4.16 15.56 15.51 22.49 19.58 43.86 25.68 5.98 21.95 9.71 28.63 25.65 45.07-5.77 22.45-5.76 30 0 52.4-15.62 16.17-19.55 22.96-25.61 44.96-14.63 3.92-24 7.36-37.25 19.36-9.94-4.53-20.78-6.89-31.85-6.89s-21.9 2.36-31.85 6.9c-13.18-11.88-22.56-15.34-37.23-19.33-5.97-21.89-9.72-28.57-25.64-45zm101.89 133.01c-4.5-2.25-9.81-2.25-14.31 0l-40.84 20.42V409.9c.12.12.19.17.31.29 3.75 3.82 8.68 5.79 13.64 5.79 3.5 0 7.02-.98 10.16-2.97 7.25-4.59 15.56-6.88 23.87-6.88s16.62 2.29 23.87 6.86c3.16 2.02 6.68 3.01 10.17 3.01 4.96 0 9.87-1.99 13.63-5.79.13-.13.21-.18.34-.32v60.22l-40.84-20.42zm344.84 14.32c0 8.8-7.2 16-16 16h-256V391.9c1.54-.4 2.65-.71 4.44-1.19 6.7-1.82 11.97-7.22 13.77-14.08 6.47-24.68 6.09-24.16 24.03-42.32 4.95-5.04 6.9-12.49 5.07-19.44-6.53-24.33-6.55-24.34 0-48.76 1.83-6.95-.12-14.4-5.07-19.45-18-18.15-17.58-17.79-24.03-42.29-1.8-6.87-7.07-12.27-13.75-14.09-24.23-6.57-23.89-6.23-41.72-24.52-2.94-2.97-6.78-4.52-10.74-5.16V48.09c0-8.8 7.2-16.09 16-16.09h176.03v104.07c0 13.3 10.7 23.93 24 23.93h103.98v304.01z'
|
|
3937
|
+
}
|
|
3938
|
+
};
|
|
3939
|
+
|
|
3940
|
+
var SearchLight = {
|
|
3941
|
+
name: 'search-light',
|
|
3942
|
+
definition: {
|
|
3943
|
+
viewBox: '0 0 512 512',
|
|
3944
|
+
pathData: 'M508.5 481.6l-129-129c-2.3-2.3-5.3-3.5-8.5-3.5h-10.3C395 312 416 262.5 416 208 416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c54.5 0 104-21 141.1-55.2V371c0 3.2 1.3 6.2 3.5 8.5l129 129c4.7 4.7 12.3 4.7 17 0l9.9-9.9c4.7-4.7 4.7-12.3 0-17zM208 384c-97.3 0-176-78.7-176-176S110.7 32 208 32s176 78.7 176 176-78.7 176-176 176z'
|
|
3945
|
+
}
|
|
3946
|
+
};
|
|
3947
|
+
|
|
3948
|
+
var PlusCircle = {
|
|
3949
|
+
name: 'plus-circle-o',
|
|
3950
|
+
definition: {
|
|
3951
|
+
viewBox: '0 0 512 512',
|
|
3952
|
+
pathData: 'M384 250v12c0 6.6-5.4 12-12 12h-98v98c0 6.6-5.4 12-12 12h-12c-6.6 0-12-5.4-12-12v-98h-98c-6.6 0-12-5.4-12-12v-12c0-6.6 5.4-12 12-12h98v-98c0-6.6 5.4-12 12-12h12c6.6 0 12 5.4 12 12v98h98c6.6 0 12 5.4 12 12zm120 6c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-32 0c0-119.9-97.3-216-216-216-119.9 0-216 97.3-216 216 0 119.9 97.3 216 216 216 119.9 0 216-97.3 216-216z'
|
|
3953
|
+
}
|
|
3954
|
+
};
|
|
3955
|
+
|
|
3956
|
+
var UserPlus$1 = {
|
|
3957
|
+
name: 'user-plus-o',
|
|
3958
|
+
definition: {
|
|
3959
|
+
viewBox: '0 0 640 512',
|
|
3960
|
+
pathData: 'M632 224h-88v-88c0-4.4-3.6-8-8-8h-16c-4.4 0-8 3.6-8 8v88h-88c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h88v88c0 4.4 3.6 8 8 8h16c4.4 0 8-3.6 8-8v-88h88c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8zm-318.4 64c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4zM416 464c0 8.8-7.2 16-16 16H48c-8.8 0-16-7.2-16-16v-41.6C32 365.9 77.9 320 134.4 320c19.6 0 39.1 16 89.6 16 50.4 0 70-16 89.6-16 56.5 0 102.4 45.9 102.4 102.4V464zM224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm0-224c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z'
|
|
3961
|
+
}
|
|
3962
|
+
};
|
|
3963
|
+
|
|
3964
|
+
var Code = {
|
|
3965
|
+
name: 'code',
|
|
3966
|
+
definition: {
|
|
3967
|
+
viewBox: '0 0 576 512',
|
|
3968
|
+
pathData: 'M228.5 511.8l-25-7.1c-3.2-.9-5-4.2-4.1-7.4L340.1 4.4c.9-3.2 4.2-5 7.4-4.1l25 7.1c3.2.9 5 4.2 4.1 7.4L235.9 507.6c-.9 3.2-4.3 5.1-7.4 4.2zm-75.6-125.3l18.5-20.9c1.9-2.1 1.6-5.3-.5-7.1L49.9 256l121-102.5c2.1-1.8 2.4-5 .5-7.1l-18.5-20.9c-1.8-2.1-5-2.3-7.1-.4L1.7 252.3c-2.3 2-2.3 5.5 0 7.5L145.8 387c2.1 1.8 5.3 1.6 7.1-.5zm277.3.4l144.1-127.2c2.3-2 2.3-5.5 0-7.5L430.2 125.1c-2.1-1.8-5.2-1.6-7.1.4l-18.5 20.9c-1.9 2.1-1.6 5.3.5 7.1l121 102.5-121 102.5c-2.1 1.8-2.4 5-.5 7.1l18.5 20.9c1.8 2.1 5 2.3 7.1.4z'
|
|
3969
|
+
}
|
|
3970
|
+
};
|
|
3971
|
+
|
|
3972
|
+
var QRCode = {
|
|
3973
|
+
name: 'qrcode',
|
|
3974
|
+
definition: {
|
|
3975
|
+
viewBox: '0 0 448 512',
|
|
3976
|
+
pathData: 'M0 224h192V32H0v192zM32 64h128v128H32V64zm224-32v192h192V32H256zm160 160H288V64h128v128zM0 480h192V288H0v192zm32-160h128v128H32V320zM64 96h64v64H64V96zm320 64h-64V96h64v64zM64 352h64v64H64v-64zm352-64h32v128H320v-32h-32v96h-32V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z'
|
|
3977
|
+
}
|
|
3978
|
+
};
|
|
3979
|
+
|
|
3980
|
+
var GlobalAsia = {
|
|
3981
|
+
name: 'global-asia-o',
|
|
3982
|
+
definition: {
|
|
3983
|
+
viewBox: '0 0 496 512',
|
|
3984
|
+
pathData: 'M248 8C111.04 8 0 119.03 0 256s111.04 248 248 248 248-111.03 248-248S384.96 8 248 8zm0 32c18.88 0 37.09 2.68 54.55 7.25l-51.93 43.78c-7.12 4.72-11.19 12.94-10.69 21.44.53 8.53 5.62 16.19 13.25 20.02l10.81 5.41v64.19c-1.75-.55-3.56-.88-5.44-.94-7.12 0-14.47 3.56-18.25 9.91L222.62 240c-8.53 0-16.59 3.33-22.62 9.38l-5.66 5.66c-4.53 4.53-7.03 10.56-7.03 16.97s2.5 12.44 7.03 16.97l5.66 5.66V304h-22.12l-22.59-45.23a23.997 23.997 0 0 0-17.66-12.95c-7.38-1.23-15.38 1.28-20.78 6.72L97.38 272H32.81c-.39-5.3-.81-10.6-.81-16 0-119.1 96.9-216 216-216zM37.56 304h59.81c8.53 0 16.59-3.33 22.62-9.38l11.62-11.61 17.62 35.31c5.47 10.91 16.44 17.67 28.62 17.67H200c17.66 0 32-14.36 32-32v-9.38c0-8.34-3.34-16.53-9.22-22.47l.16-.16c11.19 0 21.72-5.97 27.44-15.53l10.84-18.06c3.16 1.03 6.75 1.59 10.78 1.59 13.22 0 24-10.77 24-24v-78.11c0-12.16-6.72-23.09-17.56-28.56l59.07-49.67C412.01 93.76 464 168.84 464 256c0 22.71-3.57 44.58-10.09 65.16-1.32-1.77-2.38-3.7-3.96-5.29l-4.88-4.88V308c0-19.85-16.15-36-36-36H403c-5.5 0-10.79 1.27-15.55 3.57a40.04 40.04 0 0 0-16.56-3.57H358.8c-8.37 0-16.39 2.57-23.21 7.42l-23.72 16.9-38.25 15.14c-15.28 6.11-25.14 20.69-25.14 37.14v10.21c0 10.68 4.16 20.73 11.71 28.28L272.11 399c9.06 9.06 21.12 14.06 33.94 14.06h10.34c3.92 0 7.84-.48 11.64-1.43l18.39-4.6 10.91 10.91c5.38 5.38 11.89 9.13 18.93 11.45C340.34 456.03 296.06 472 248 472c-102.59 0-188.53-71.95-210.44-168zM409 399.49c-.87.14-1.68.51-2.57.51h-15.16c-4.24 0-8.31-1.69-11.31-4.69l-13.01-13.01a26.78 26.78 0 0 0-25.42-7.04l-21.27 5.32c-1.27.32-2.57.48-3.88.48h-10.34c-4.24 0-8.31-1.69-11.31-4.69l-11.91-11.91a8.008 8.008 0 0 1-2.34-5.66v-10.2c0-3.27 1.99-6.21 5.03-7.43l39.34-15.74c1.98-.79 3.86-1.82 5.59-3.05l23.71-16.89a8.05 8.05 0 0 1 4.64-1.48h12.09c3.23 0 6.15 1.94 7.39 4.93l5.35 12.85a4 4 0 0 0 3.69 2.46h3.8c1.78 0 3.35-1.17 3.84-2.88l4.2-14.47c.5-1.71 2.06-2.88 3.84-2.88h6.06c2.21 0 4 1.79 4 4v12.93c0 2.12.84 4.16 2.34 5.66l11.91 11.91c3 3 4.69 7.07 4.69 11.31v18.75A216.64 216.64 0 0 1 409 399.49z'
|
|
3985
|
+
}
|
|
3986
|
+
};
|
|
3987
|
+
|
|
3988
|
+
var Filter = {
|
|
3989
|
+
name: 'filter-o',
|
|
3990
|
+
definition: {
|
|
3991
|
+
viewBox: '0 0 512 512',
|
|
3992
|
+
pathData: 'M479.968 0H32.038C3.613 0-10.729 34.487 9.41 54.627L192 237.255V424a31.996 31.996 0 0 0 10.928 24.082l64 55.983c20.438 17.883 53.072 3.68 53.072-24.082V237.255L502.595 54.627C522.695 34.528 508.45 0 479.968 0zM288 224v256l-64-56V224L32 32h448L288 224z'
|
|
3993
|
+
}
|
|
3994
|
+
};
|
|
3995
|
+
|
|
3996
|
+
var Clock = {
|
|
3997
|
+
name: 'clock-o',
|
|
3998
|
+
definition: {
|
|
3999
|
+
viewBox: '0 0 512 512',
|
|
4000
|
+
pathData: 'M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216zm-148.9 88.3l-81.2-59c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h14c6.6 0 12 5.4 12 12v146.3l70.5 51.3c5.4 3.9 6.5 11.4 2.6 16.8l-8.2 11.3c-3.9 5.3-11.4 6.5-16.8 2.6z'
|
|
4001
|
+
}
|
|
4002
|
+
};
|
|
4003
|
+
|
|
4004
|
+
var AngleLeft$1 = {
|
|
4005
|
+
name: 'angle-left-o',
|
|
4006
|
+
definition: {
|
|
4007
|
+
viewBox: '0 0 192 512',
|
|
4008
|
+
pathData: 'M25.1 247.5l117.8-116c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L64.7 256l102.2 100.4c4.7 4.7 4.7 12.3 0 17l-7.1 7.1c-4.7 4.7-12.3 4.7-17 0L25 264.5c-4.6-4.7-4.6-12.3.1-17z'
|
|
4009
|
+
}
|
|
4010
|
+
};
|
|
4011
|
+
|
|
4012
|
+
var AngleRight$1 = {
|
|
4013
|
+
name: 'angle-right-o',
|
|
4014
|
+
definition: {
|
|
4015
|
+
viewBox: '0 0 192 512',
|
|
4016
|
+
pathData: 'M166.9 264.5l-117.8 116c-4.7 4.7-12.3 4.7-17 0l-7.1-7.1c-4.7-4.7-4.7-12.3 0-17L127.3 256 25.1 155.6c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0l117.8 116c4.6 4.7 4.6 12.3-.1 17z'
|
|
4017
|
+
}
|
|
4018
|
+
};
|
|
4019
|
+
|
|
4020
|
+
var Link$1 = {
|
|
4021
|
+
name: 'link-o',
|
|
4022
|
+
definition: {
|
|
4023
|
+
viewBox: '0 0 512 512',
|
|
4024
|
+
pathData: 'M301.148 394.702l-79.2 79.19c-50.778 50.799-133.037 50.824-183.84 0-50.799-50.778-50.824-133.037 0-183.84l79.19-79.2a132.833 132.833 0 0 1 3.532-3.403c7.55-7.005 19.795-2.004 20.208 8.286.193 4.807.598 9.607 1.216 14.384.481 3.717-.746 7.447-3.397 10.096-16.48 16.469-75.142 75.128-75.3 75.286-36.738 36.759-36.731 96.188 0 132.94 36.759 36.738 96.188 36.731 132.94 0l79.2-79.2.36-.36c36.301-36.672 36.14-96.07-.37-132.58-8.214-8.214-17.577-14.58-27.585-19.109-4.566-2.066-7.426-6.667-7.134-11.67a62.197 62.197 0 0 1 2.826-15.259c2.103-6.601 9.531-9.961 15.919-7.28 15.073 6.324 29.187 15.62 41.435 27.868 50.688 50.689 50.679 133.17 0 183.851zm-90.296-93.554c12.248 12.248 26.362 21.544 41.435 27.868 6.388 2.68 13.816-.68 15.919-7.28a62.197 62.197 0 0 0 2.826-15.259c.292-5.003-2.569-9.604-7.134-11.67-10.008-4.528-19.371-10.894-27.585-19.109-36.51-36.51-36.671-95.908-.37-132.58l.36-.36 79.2-79.2c36.752-36.731 96.181-36.738 132.94 0 36.731 36.752 36.738 96.181 0 132.94-.157.157-58.819 58.817-75.3 75.286-2.651 2.65-3.878 6.379-3.397 10.096a163.156 163.156 0 0 1 1.216 14.384c.413 10.291 12.659 15.291 20.208 8.286a131.324 131.324 0 0 0 3.532-3.403l79.19-79.2c50.824-50.803 50.799-133.062 0-183.84-50.802-50.824-133.062-50.799-183.84 0l-79.2 79.19c-50.679 50.682-50.688 133.163 0 183.851z'
|
|
4025
|
+
}
|
|
4026
|
+
};
|
|
4027
|
+
|
|
4028
|
+
var PageBreak = {
|
|
4029
|
+
name: 'page-break',
|
|
4030
|
+
definition: {
|
|
4031
|
+
viewBox: '0 0 576 512',
|
|
4032
|
+
pathData: 'M232 272a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h112a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8zM128 32h192v112a16 16 0 0 0 16 16h112v64h32v-82.77a31.93 31.93 0 0 0-9.35-22.6C447 94.92 384.8 32.78 361.23 9.23A31.54 31.54 0 0 0 338.75 0H128a32 32 0 0 0-32 32v192h32zm224 13.25L434.77 128H352zM568 272H424a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h144a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8zm-408 24v-16a8 8 0 0 0-8-8H8a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h144a8 8 0 0 0 8-8zm288 184H128V352H96v128a32 32 0 0 0 32 32h320a32 32 0 0 0 32-32V352h-32z'
|
|
4033
|
+
}
|
|
4034
|
+
};
|
|
4035
|
+
|
|
4036
|
+
var EditLight = {
|
|
4037
|
+
name: 'edit-light',
|
|
4038
|
+
definition: {
|
|
4039
|
+
viewBox: '0 0 576 512',
|
|
4040
|
+
pathData: 'M417.8 315.5l20-20c3.8-3.8 10.2-1.1 10.2 4.2V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h292.3c5.3 0 8 6.5 4.2 10.2l-20 20c-1.1 1.1-2.7 1.8-4.2 1.8H48c-8.8 0-16 7.2-16 16v352c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V319.7c0-1.6.6-3.1 1.8-4.2zm145.9-191.2L251.2 436.8l-99.9 11.1c-13.4 1.5-24.7-9.8-23.2-23.2l11.1-99.9L451.7 12.3c16.4-16.4 43-16.4 59.4 0l52.6 52.6c16.4 16.4 16.4 43 0 59.4zm-93.6 48.4L403.4 106 169.8 339.5l-8.3 75.1 75.1-8.3 233.5-233.6zm71-85.2l-52.6-52.6c-3.8-3.8-10.2-4-14.1 0L426 83.3l66.7 66.7 48.4-48.4c3.9-3.8 3.9-10.2 0-14.1z'
|
|
4041
|
+
}
|
|
4042
|
+
};
|
|
4043
|
+
|
|
4044
|
+
var LinkLight = {
|
|
4045
|
+
name: 'link-light',
|
|
4046
|
+
definition: {
|
|
4047
|
+
viewBox: '0 0 576 512',
|
|
4048
|
+
pathData: 'M301.148 394.702l-79.2 79.19c-50.778 50.799-133.037 50.824-183.84 0-50.799-50.778-50.824-133.037 0-183.84l79.19-79.2a132.833 132.833 0 0 1 3.532-3.403c7.55-7.005 19.795-2.004 20.208 8.286.193 4.807.598 9.607 1.216 14.384.481 3.717-.746 7.447-3.397 10.096-16.48 16.469-75.142 75.128-75.3 75.286-36.738 36.759-36.731 96.188 0 132.94 36.759 36.738 96.188 36.731 132.94 0l79.2-79.2.36-.36c36.301-36.672 36.14-96.07-.37-132.58-8.214-8.214-17.577-14.58-27.585-19.109-4.566-2.066-7.426-6.667-7.134-11.67a62.197 62.197 0 0 1 2.826-15.259c2.103-6.601 9.531-9.961 15.919-7.28 15.073 6.324 29.187 15.62 41.435 27.868 50.688 50.689 50.679 133.17 0 183.851zm-90.296-93.554c12.248 12.248 26.362 21.544 41.435 27.868 6.388 2.68 13.816-.68 15.919-7.28a62.197 62.197 0 0 0 2.826-15.259c.292-5.003-2.569-9.604-7.134-11.67-10.008-4.528-19.371-10.894-27.585-19.109-36.51-36.51-36.671-95.908-.37-132.58l.36-.36 79.2-79.2c36.752-36.731 96.181-36.738 132.94 0 36.731 36.752 36.738 96.181 0 132.94-.157.157-58.819 58.817-75.3 75.286-2.651 2.65-3.878 6.379-3.397 10.096a163.156 163.156 0 0 1 1.216 14.384c.413 10.291 12.659 15.291 20.208 8.286a131.324 131.324 0 0 0 3.532-3.403l79.19-79.2c50.824-50.803 50.799-133.062 0-183.84-50.802-50.824-133.062-50.799-183.84 0l-79.2 79.19c-50.679 50.682-50.688 133.163 0 183.851z'
|
|
4049
|
+
}
|
|
4050
|
+
};
|
|
4051
|
+
|
|
4052
|
+
var CommentAltLines = {
|
|
4053
|
+
name: 'comment-alt-lines',
|
|
4054
|
+
definition: {
|
|
4055
|
+
viewBox: '0 0 512 512',
|
|
4056
|
+
pathData: 'M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm32 352c0 17.6-14.4 32-32 32H293.3l-8.5 6.4L192 460v-76H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32v288zM280 240H136c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8zm96-96H136c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h240c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8z'
|
|
4057
|
+
}
|
|
4058
|
+
};
|
|
4059
|
+
|
|
4060
|
+
var ExternalLinkLight = {
|
|
4061
|
+
name: 'external-link-light',
|
|
4062
|
+
definition: {
|
|
4063
|
+
viewBox: '0 0 512 512',
|
|
4064
|
+
pathData: 'M440,256H424a8,8,0,0,0-8,8V464a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V112A16,16,0,0,1,48,96H248a8,8,0,0,0,8-8V72a8,8,0,0,0-8-8H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V264A8,8,0,0,0,440,256ZM500,0,364,.34a12,12,0,0,0-12,12v10a12,12,0,0,0,12,12L454,34l.7.71L131.51,357.86a12,12,0,0,0,0,17l5.66,5.66a12,12,0,0,0,17,0L477.29,57.34l.71.7-.34,90a12,12,0,0,0,12,12h10a12,12,0,0,0,12-12L512,12A12,12,0,0,0,500,0Z'
|
|
4065
|
+
}
|
|
4066
|
+
};
|
|
4067
|
+
|
|
4068
|
+
var PenLight = {
|
|
4069
|
+
name: 'pen-light',
|
|
4070
|
+
definition: {
|
|
4071
|
+
viewBox: '0 0 512 512',
|
|
4072
|
+
pathData: 'M493.25 56.26l-37.51-37.51C443.25 6.25 426.87 0 410.49 0s-32.76 6.25-45.26 18.74L12.85 371.12.15 485.34C-1.45 499.72 9.88 512 23.95 512c.89 0 1.78-.05 2.69-.15l114.14-12.61 352.48-352.48c24.99-24.99 24.99-65.51-.01-90.5zM126.09 468.68l-93.03 10.31 10.36-93.17 263.89-263.89 82.77 82.77-263.99 263.98zm344.54-344.54l-57.93 57.93-82.77-82.77 57.93-57.93c6.04-6.04 14.08-9.37 22.63-9.37 8.55 0 16.58 3.33 22.63 9.37l37.51 37.51c12.47 12.48 12.47 32.78 0 45.26z'
|
|
4073
|
+
}
|
|
4074
|
+
};
|
|
4075
|
+
|
|
4076
|
+
var AnalyticsLight = {
|
|
4077
|
+
name: 'analytics-light',
|
|
4078
|
+
definition: {
|
|
4079
|
+
viewBox: '0 0 1000 1000',
|
|
4080
|
+
pathData: 'M784.896 103.68c-34.773 0-65.109 14.251-84.48 36.053-19.371 21.76-28.288 49.493-28.288 76.8s8.96 55.040 28.288 76.8c0.299 0.384 0.853 0.512 1.195 0.853l-74.325 130.219c-7.68-1.493-14.507-4.693-22.784-4.693-23.211 0-42.88 7.979-60.16 18.645l-106.069-88.491c5.333-13.867 8.363-28.416 8.363-43.008 0-27.307-8.96-55.040-28.288-76.8-19.328-21.803-49.707-36.096-84.48-36.096s-65.109 14.293-84.48 36.096c-19.328 21.76-28.245 49.493-28.245 76.8s8.917 55.040 28.245 76.8c4.096 4.608 10.411 7.253 15.445 11.093l-60.544 161.621c-2.048-0.128-3.627-1.195-5.717-1.195-34.773 0-65.109 14.251-84.48 36.053s-28.288 49.536-28.288 76.8c0 27.307 8.96 55.040 28.288 76.843 19.371 21.76 49.707 36.053 84.48 36.053s65.109-14.251 84.48-36.053c19.371-21.76 28.288-49.536 28.288-76.8 0-27.307-8.96-55.040-28.288-76.8-4.096-4.651-10.411-7.253-15.403-11.093l60.501-161.707c2.048 0.128 3.669 1.237 5.717 1.237 23.168 0 42.88-7.936 60.16-18.603l106.069 88.491c-5.333 13.867-8.363 28.416-8.363 43.008 0 27.264 8.96 55.040 28.288 76.8 19.328 21.803 49.707 36.053 84.48 36.053s65.109-14.251 84.48-36.053c19.328-21.76 28.245-49.536 28.245-76.8 0-27.307-8.917-55.040-28.245-76.8-0.341-0.427-0.853-0.555-1.195-0.896l74.325-130.176c7.68 1.493 14.507 4.693 22.784 4.693 34.773 0 65.109-14.293 84.48-36.096s28.288-49.536 28.288-76.8c0-27.307-8.96-55.040-28.288-76.843-19.371-21.803-49.707-36.053-84.48-36.053zM784.896 171.392c17.835 0 26.965 5.504 33.92 13.312 6.955 7.851 11.179 19.627 11.179 31.829 0 12.245-4.267 24.021-11.179 31.872-6.955 7.808-16.085 13.312-33.92 13.312s-26.965-5.504-33.92-13.312c-6.955-7.851-11.179-19.627-11.179-31.872 0-12.203 4.267-23.979 11.179-31.829 6.955-7.808 16.085-13.312 33.92-13.312zM333.909 261.717c17.835 0 26.923 5.461 33.877 13.312 6.955 7.808 11.179 19.627 11.179 31.829 0 12.245-4.224 24.021-11.179 31.829-6.955 7.851-16.043 13.312-33.92 13.312-17.835 0-26.965-5.461-33.92-13.312-6.955-7.808-11.179-19.627-11.179-31.829 0-12.245 4.267-24.021 11.179-31.829 6.955-7.851 16.085-13.312 33.92-13.312zM604.501 487.467c17.835 0 26.965 5.504 33.92 13.312 6.955 7.851 11.179 19.627 11.179 31.872 0 12.203-4.267 23.979-11.179 31.829-6.955 7.808-16.085 13.312-33.92 13.312-17.877 0-26.965-5.504-33.92-13.312-6.955-7.851-11.179-19.627-11.179-31.829 0-12.245 4.224-24.021 11.179-31.872 6.955-7.808 16.043-13.312 33.92-13.312zM198.571 622.933c17.835 0 26.965 5.504 33.92 13.312 6.955 7.851 11.179 19.627 11.179 31.872 0 12.203-4.267 23.979-11.179 31.829-6.955 7.808-16.085 13.312-33.92 13.312s-26.965-5.504-33.92-13.312c-6.955-7.851-11.179-19.627-11.179-31.829 0-12.245 4.267-24.021 11.179-31.872 6.955-7.808 16.085-13.312 33.92-13.312zM119.637 848.725c-12.203-0.171-23.552 6.229-29.696 16.811-6.144 10.539-6.144 23.595 0 34.133s17.493 16.939 29.696 16.768h744.192c12.203 0.171 23.552-6.229 29.696-16.768s6.144-23.595 0-34.133c-6.144-10.581-17.493-16.981-29.696-16.811h-744.192z'
|
|
4081
|
+
}
|
|
4082
|
+
};
|
|
4083
|
+
|
|
4084
|
+
var CogLight = {
|
|
4085
|
+
name: 'cog-light',
|
|
4086
|
+
definition: {
|
|
4087
|
+
viewBox: '0 0 512 512',
|
|
4088
|
+
pathData: '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'
|
|
4089
|
+
}
|
|
4090
|
+
};
|
|
4091
|
+
|
|
4092
|
+
var TrashAltRegular = {
|
|
4093
|
+
name: 'trash-alt-regular-o',
|
|
4094
|
+
definition: {
|
|
4095
|
+
viewBox: '0 0 448 512',
|
|
4096
|
+
pathData: 'M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z'
|
|
4097
|
+
}
|
|
4098
|
+
};
|
|
4099
|
+
|
|
4100
|
+
var ArrowRight = {
|
|
4101
|
+
name: 'arrow-right',
|
|
4102
|
+
definition: {
|
|
4103
|
+
viewBox: '0 0 24 24',
|
|
4104
|
+
pathData: 'M14.8575 12.3984L10.1127 17.8348C9.92339 18.0551 9.61727 18.0551 9.42796 17.8348L9.14198 17.5021C8.95267 17.2818 8.95267 16.9256 9.14198 16.7053L13.2625 12L9.14601 7.29467C8.9567 7.0744 8.9567 6.71822 9.14601 6.49795L9.43199 6.1652C9.6213 5.94493 9.92741 5.94493 10.1167 6.1652L14.8615 11.6016C15.0468 11.8219 15.0468 12.1781 14.8575 12.3984Z'
|
|
4105
|
+
}
|
|
4106
|
+
};
|
|
4107
|
+
|
|
4108
|
+
var BrowserLight = {
|
|
4109
|
+
name: 'browser-ight',
|
|
4110
|
+
definition: {
|
|
4111
|
+
viewBox: '0 0 24 24',
|
|
4112
|
+
pathData: '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'
|
|
4113
|
+
}
|
|
4114
|
+
};
|
|
4115
|
+
|
|
4116
|
+
var QuestionCircleOutline = {
|
|
4117
|
+
name: 'question-circle-outline',
|
|
4118
|
+
definition: {
|
|
4119
|
+
viewBox: '0 0 16 16',
|
|
4120
|
+
pathData: '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'
|
|
4121
|
+
}
|
|
4122
|
+
};
|
|
4123
|
+
|
|
4124
|
+
var Facebook = {
|
|
4125
|
+
name: 'facebook',
|
|
4126
|
+
definition: {
|
|
4127
|
+
viewBox: '0 0 512 512',
|
|
4128
|
+
pathData: 'M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z'
|
|
4129
|
+
}
|
|
4130
|
+
};
|
|
4131
|
+
|
|
4132
|
+
var Linkedin = {
|
|
4133
|
+
name: 'linkedin',
|
|
4134
|
+
definition: {
|
|
4135
|
+
viewBox: '0 0 448 512',
|
|
4136
|
+
pathData: 'M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z'
|
|
4137
|
+
}
|
|
4138
|
+
};
|
|
4139
|
+
|
|
4140
|
+
var Twitter = {
|
|
4141
|
+
name: 'twitter',
|
|
4142
|
+
definition: {
|
|
4143
|
+
viewBox: '0 0 448 512',
|
|
4144
|
+
pathData: 'M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z'
|
|
4145
|
+
}
|
|
4146
|
+
};
|
|
4147
|
+
|
|
4148
|
+
var FacebookIn = {
|
|
4149
|
+
name: 'facebook-in',
|
|
4150
|
+
definition: {
|
|
4151
|
+
viewBox: '0 0 320 512',
|
|
4152
|
+
pathData: 'M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'
|
|
4153
|
+
}
|
|
4154
|
+
};
|
|
4155
|
+
|
|
4156
|
+
var LinkedinIn = {
|
|
4157
|
+
name: 'linkedin-in',
|
|
4158
|
+
definition: {
|
|
4159
|
+
viewBox: '0 0 448 512',
|
|
4160
|
+
pathData: 'M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z'
|
|
4161
|
+
}
|
|
4162
|
+
};
|
|
4163
|
+
|
|
4164
|
+
var TwitterIn = {
|
|
4165
|
+
name: 'twitter-in',
|
|
4166
|
+
definition: {
|
|
4167
|
+
viewBox: '0 0 512 512',
|
|
4168
|
+
pathData: 'M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z'
|
|
4169
|
+
}
|
|
4170
|
+
};
|
|
4171
|
+
|
|
4172
|
+
var pricing = {
|
|
4173
|
+
title: 'Choose the plan',
|
|
4174
|
+
subtitle: '不限問卷建立數量與回覆上限!統計、調查、統計、分析輕鬆搞定',
|
|
4175
|
+
plan: {
|
|
4176
|
+
basic: {
|
|
4177
|
+
name: '標準版',
|
|
4178
|
+
subtitle: '現在註冊終身免費!',
|
|
4179
|
+
pricing: 'Free',
|
|
4180
|
+
currency: '',
|
|
4181
|
+
features: ['無限的問題數量', '無限的回覆數量', '精美範本', '基本題型', '歡迎頁面', '統計圖表', '資料匯出(PDF, CSV)', '多媒體', '問卷 QR code', 'iframe 嵌入', '私密問卷', '題目編輯暫存區', '訪客紀錄', '投影片檢視模式', '公開結果連結', '問卷外觀設計', '置入答案至標題']
|
|
4182
|
+
},
|
|
4183
|
+
pro: {
|
|
4184
|
+
name: '專業版',
|
|
4185
|
+
subtitle: '更多更強大的問卷功能',
|
|
4186
|
+
pricing: '630',
|
|
4187
|
+
currency: 'NT$',
|
|
4188
|
+
features: ['感謝 Banner', '感謝頁轉址按鈕', '公開結果按鈕', '回收數量上限', '問卷有效日', '送出前預覽', '行銷追蹤碼設定', '預設值', '隱藏', '不重複', '計時', '批次貼上', '隨機排序', '邏輯跳題', '邏輯接題', '選項數量上限', '隱藏選項', '子母問卷', '篩選器', '合併分析與匯出', 'SPSS 明細與匯出', '備註', '問卷網址產生器', 'Email 自動通知', 'Webhook', '自訂感謝頁']
|
|
4189
|
+
},
|
|
4190
|
+
team: {
|
|
4191
|
+
name: '團隊版',
|
|
4192
|
+
subtitle: '團隊協作,讓問卷效益最大化',
|
|
4193
|
+
pricing: '1,800',
|
|
4194
|
+
currency: 'NT$',
|
|
4195
|
+
features: ['多人協作', '把關答案品質 - 隔離區']
|
|
4196
|
+
},
|
|
4197
|
+
enterprise: {
|
|
4198
|
+
name: '企業版',
|
|
4199
|
+
subtitle: '專為企業打造的雲端問卷服務',
|
|
4200
|
+
pricing: '',
|
|
4201
|
+
currency: '',
|
|
4202
|
+
features: ['企業識別專屬問卷樣式與外觀', '專屬網域名稱', '專屬電話支援', '第三方資料串接與內部系統整合', '企業自建私有雲']
|
|
4203
|
+
}
|
|
4204
|
+
}
|
|
4205
|
+
};
|
|
4206
|
+
|
|
4207
|
+
var dashboard = {
|
|
4208
|
+
create_a_survey: 'Create a survey',
|
|
4209
|
+
from_empty: 'From Empty',
|
|
4210
|
+
from_template: 'From Template',
|
|
4211
|
+
responses: 'Responses',
|
|
4212
|
+
surveyStatus: {
|
|
4213
|
+
PUBLIC: 'Public',
|
|
4214
|
+
PRIVATE: 'Private',
|
|
4215
|
+
OFF: 'Off',
|
|
4216
|
+
ENDED: 'Ended',
|
|
4217
|
+
COMING_SOON: 'Coming Soon',
|
|
4218
|
+
REPLY_FULL: 'Reply Full'
|
|
4219
|
+
},
|
|
4220
|
+
title: 'Title',
|
|
4221
|
+
status: 'Status',
|
|
4222
|
+
allStatus: 'All Status',
|
|
4223
|
+
createtime: 'Create Time',
|
|
4224
|
+
reply_count: 'Number Of Responses',
|
|
4225
|
+
table: {
|
|
4226
|
+
show: 'Show',
|
|
4227
|
+
to: 'to',
|
|
4228
|
+
unit: 'item',
|
|
4229
|
+
total: 'Total',
|
|
4230
|
+
dataText: 'items',
|
|
4231
|
+
comma: ', ',
|
|
4232
|
+
selectTag: 'Select Tag'
|
|
4233
|
+
},
|
|
4234
|
+
menu: {
|
|
4235
|
+
edit: 'Edit',
|
|
4236
|
+
preview: 'Preview',
|
|
4237
|
+
move: 'Move',
|
|
4238
|
+
duplicate: 'Duplicate',
|
|
4239
|
+
share: 'Share',
|
|
4240
|
+
createSlaveSurvey: 'Create Slave Survey',
|
|
4241
|
+
review: 'Review',
|
|
4242
|
+
chart: 'Chart'
|
|
4243
|
+
},
|
|
4244
|
+
orderFilter: {
|
|
4245
|
+
createtime: 'Create Time',
|
|
4246
|
+
updatetime: 'Update Time',
|
|
4247
|
+
reply_time_latest: 'Reply Time Latest',
|
|
4248
|
+
reply_count: 'Reply Count'
|
|
4249
|
+
},
|
|
4250
|
+
from: 'From',
|
|
4251
|
+
to: 'To',
|
|
4252
|
+
startDate: 'Start Date',
|
|
4253
|
+
endDate: 'End Date',
|
|
4254
|
+
chips: {
|
|
4255
|
+
slave: 'Slave',
|
|
4256
|
+
master: 'Master',
|
|
4257
|
+
pro: 'PRO'
|
|
4258
|
+
}
|
|
4259
|
+
};
|
|
4260
|
+
|
|
4261
|
+
|
|
4262
|
+
|
|
4263
|
+
var enWording = ({
|
|
4264
|
+
__proto__: null,
|
|
4265
|
+
pricing: pricing,
|
|
4266
|
+
dashboard: dashboard
|
|
4267
|
+
});
|
|
4268
|
+
|
|
4269
|
+
var pricing$1 = {
|
|
4270
|
+
title: '選擇方案',
|
|
4271
|
+
subtitle: '不限問卷建立數量與回覆上限!統計、調查、統計、分析輕鬆搞定',
|
|
4272
|
+
plan: {
|
|
4273
|
+
basic: {
|
|
4274
|
+
name: '標準版',
|
|
4275
|
+
subtitle: '現在註冊終身免費!',
|
|
4276
|
+
pricing: 'Free',
|
|
4277
|
+
currency: '',
|
|
4278
|
+
features: ['無限的問題數量', '無限的回覆數量', '精美範本', '基本題型', '歡迎頁面', '統計圖表', '資料匯出(PDF, CSV)', '多媒體', '問卷 QR code', 'iframe 嵌入', '私密問卷', '題目編輯暫存區', '訪客紀錄', '投影片檢視模式', '公開結果連結', '問卷外觀設計', '置入答案至標題']
|
|
4279
|
+
},
|
|
4280
|
+
pro: {
|
|
4281
|
+
name: '專業版',
|
|
4282
|
+
subtitle: '更多更強大的問卷功能',
|
|
4283
|
+
pricing: '630',
|
|
4284
|
+
currency: 'NT$',
|
|
4285
|
+
features: ['感謝 Banner', '感謝頁轉址按鈕', '公開結果按鈕', '回收數量上限', '問卷有效日', '送出前預覽', '行銷追蹤碼設定', '預設值', '隱藏', '不重複', '計時', '批次貼上', '隨機排序', '邏輯跳題', '邏輯接題', '選項數量上限', '隱藏選項', '子母問卷', '篩選器', '合併分析與匯出', 'SPSS 明細與匯出', '備註', '問卷網址產生器', 'Email 自動通知', 'Webhook', '自訂感謝頁']
|
|
4286
|
+
},
|
|
4287
|
+
team: {
|
|
4288
|
+
name: '團隊版',
|
|
4289
|
+
subtitle: '團隊協作,讓問卷效益最大化',
|
|
4290
|
+
pricing: '1,800',
|
|
4291
|
+
currency: 'NT$',
|
|
4292
|
+
features: ['群組協作', '提升回覆資料品質']
|
|
4293
|
+
},
|
|
4294
|
+
enterprise: {
|
|
4295
|
+
name: '企業版',
|
|
4296
|
+
subtitle: '專為企業打造的雲端問卷服務',
|
|
4297
|
+
pricing: '',
|
|
4298
|
+
currency: '',
|
|
4299
|
+
features: ['企業識別專屬問卷樣式與外觀', '專屬網域名稱', '專屬電話支援', '第三方資料串接與內部系統整合', '企業自建私有雲']
|
|
4300
|
+
}
|
|
4301
|
+
}
|
|
4302
|
+
};
|
|
4303
|
+
|
|
4304
|
+
var dashboard$1 = {
|
|
4305
|
+
create_a_survey: '建立新問卷',
|
|
4306
|
+
from_empty: '空白問卷',
|
|
4307
|
+
from_template: '精選範本',
|
|
4308
|
+
responses: '回覆',
|
|
4309
|
+
surveyStatus: {
|
|
4310
|
+
PUBLIC: '公開',
|
|
4311
|
+
PRIVATE: '密碼保護',
|
|
4312
|
+
OFF: '關閉',
|
|
4313
|
+
ENDED: '到期關閉',
|
|
4314
|
+
COMING_SOON: '即將公開',
|
|
4315
|
+
REPLY_FULL: '額滿關閉'
|
|
4316
|
+
},
|
|
4317
|
+
title: '標題',
|
|
4318
|
+
status: '問券狀態',
|
|
4319
|
+
allStatus: '全部狀態',
|
|
4320
|
+
createtime: '建立日期',
|
|
4321
|
+
reply_count: '回覆數',
|
|
4322
|
+
table: {
|
|
4323
|
+
show: '顯示',
|
|
4324
|
+
to: '至',
|
|
4325
|
+
unit: '筆',
|
|
4326
|
+
total: '共',
|
|
4327
|
+
dataText: '資料',
|
|
4328
|
+
comma: ',',
|
|
4329
|
+
selectTag: '選擇標籤'
|
|
4330
|
+
},
|
|
4331
|
+
menu: {
|
|
4332
|
+
edit: '編輯',
|
|
4333
|
+
preview: '預覽',
|
|
4334
|
+
move: '移動',
|
|
4335
|
+
duplicate: '複製',
|
|
4336
|
+
share: '問卷連結',
|
|
4337
|
+
createSlaveSurvey: '建立子問卷',
|
|
4338
|
+
review: '問卷回覆',
|
|
4339
|
+
chart: '統計圖表'
|
|
4340
|
+
},
|
|
4341
|
+
orderFilter: {
|
|
4342
|
+
createtime: '最新建立日期',
|
|
4343
|
+
updatetime: '更新時間',
|
|
4344
|
+
reply_time_latest: '最新回覆時間',
|
|
4345
|
+
reply_count: '最多回覆'
|
|
4346
|
+
},
|
|
4347
|
+
from: '從',
|
|
4348
|
+
to: '到',
|
|
4349
|
+
startDate: '開始日期',
|
|
4350
|
+
endDate: '結束日期',
|
|
4351
|
+
chips: {
|
|
4352
|
+
slave: '子問卷',
|
|
4353
|
+
master: '母問卷',
|
|
4354
|
+
pro: 'PRO'
|
|
4355
|
+
}
|
|
4356
|
+
};
|
|
4357
|
+
|
|
4358
|
+
|
|
4359
|
+
|
|
4360
|
+
var twWording = ({
|
|
4361
|
+
__proto__: null,
|
|
4362
|
+
pricing: pricing$1,
|
|
4363
|
+
dashboard: dashboard$1
|
|
4364
|
+
});
|
|
4365
|
+
|
|
4366
|
+
// TODO: Move to wording repo
|
|
4367
|
+
var WordingContext =
|
|
4368
|
+
/*#__PURE__*/
|
|
4369
|
+
createContext(enWording);
|
|
4370
|
+
|
|
4371
|
+
var WordingProvider = function WordingProvider(_ref) {
|
|
4372
|
+
var children = _ref.children,
|
|
4373
|
+
lang = _ref.lang;
|
|
4374
|
+
var wording = lang === 'tw' ? twWording : enWording;
|
|
4375
|
+
return React.createElement(WordingContext.Provider, {
|
|
4376
|
+
value: wording
|
|
4377
|
+
}, children);
|
|
4378
|
+
};
|
|
4379
|
+
|
|
4380
|
+
WordingProvider.useWording = function () {
|
|
4381
|
+
return useContext(WordingContext);
|
|
4382
|
+
};
|
|
4383
|
+
|
|
4384
|
+
export { AnimateHeight, ArrowRight, Avatar, Backdrop, BrowserLight, Button, Card, CardActionArea, CardActions, CardContent, CardHeader, MuiCheckbox as Checkbox, index as Chip, DatePicker, Divider, EditLight, EditableTable, GroupSelect, Icon, InputSlider, KeyboardDatePicker, ListUl as ListUlFilled, Lock as LockFilled, MenuItem, MenuList, api as Message, Modal, MuiThemeProvider, index$1 as Pagination, Paper, Popper, Portal, QuestionCircleOutline, MuiRadio as Radio, Radio as RadioGroup, Select, index$4 as SlidingSideMenu, Snackbar, index$3 as Step, index$2 as Stepper, Switch, Tab, Tabs, Tag, ToggleButtonGroup, Tooltip, Typography, 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 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$1 as linkOutlined, Linkedin as linkedinBrand, LinkedinIn as linkedinIn, Link 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 };
|
|
4385
|
+
//# sourceMappingURL=rc.esm.js.map
|