tenjin-ui-kit 0.3.72-dev-1 → 0.3.73
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/common/hooks/apiHooks.js +91 -199
- package/common/hooks/newApiHook.js +127 -258
- package/common/utils/security/index.js +2 -2
- package/common/utils/security/securityConfig.js +1 -2
- package/components/Canvas.js +172 -101
- package/components/DragBox/index.js +21 -31
- package/components/InputWithChip/index.js +178 -83
- package/components/RightContext/index.js +17 -41
- package/components/WorkFlow.js +19 -29
- package/components/WorkFlowBuilder.js +32 -56
- package/components/alert/Style.js +11 -14
- package/components/alert/index.js +8 -14
- package/components/attachment/index.js +26 -31
- package/components/authenticationProvider/AuthError.js +3 -4
- package/components/authenticationProvider/AuthLoader.js +3 -4
- package/components/authenticationProvider/index.js +58 -130
- package/components/avatar/index.js +24 -23
- package/components/avatar/styles.js +76 -77
- package/components/breadCrumbs/index.js +64 -89
- package/components/breadCrumbs/style.js +1 -4
- package/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/index.js +7 -6
- package/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/style.js +5 -8
- package/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewHeader/index.js +7 -6
- package/components/browsingTestCaseLayout/TreeViewLayout/TreeViewContent/Index.js +8 -7
- package/components/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/Index.js +8 -7
- package/components/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/style.js +16 -19
- package/components/browsingTestCaseLayout/index.js +30 -46
- package/components/button/index.js +47 -58
- package/components/chatBotModal/index.js +40 -61
- package/components/checkBox/index.js +8 -10
- package/components/combobox/index.js +66 -100
- package/components/divider/index.js +9 -18
- package/components/editableField/index.js +19 -46
- package/components/error/index.js +6 -12
- package/components/errorBoundary/index.js +74 -98
- package/components/fileUploader/index.js +46 -58
- package/components/fileUploader/style.js +46 -49
- package/components/filter/ValueSelector.js +149 -245
- package/components/filter/index.js +45 -71
- package/components/iconButton/index.js +3 -4
- package/components/input/index.js +60 -74
- package/components/layout/index.js +36 -49
- package/components/layout/main/index.js +13 -14
- package/components/layout/main/style.js +11 -14
- package/components/layout/pageContent/index.js +8 -7
- package/components/layout/sidebar/FlatMenu.js +51 -47
- package/components/layout/sidebar/GroupedIconMenu.js +169 -194
- package/components/layout/sidebar/GroupedMenu.js +45 -50
- package/components/layout/sidebar/ProjectMenu.js +165 -185
- package/components/layout/sidebar/index.js +27 -26
- package/components/layout/sidebar/style.js +138 -143
- package/components/layout/topBar/ProjectTopbar.js +91 -208
- package/components/layout/topBar/UserAvatar.js +53 -69
- package/components/layout/topBar/index.js +23 -41
- package/components/loader/index.js +9 -12
- package/components/menu/index.js +23 -42
- package/components/modal/Modal.js +5 -6
- package/components/modal/index.js +16 -20
- package/components/modal/style.js +53 -56
- package/components/optionMenu/index.js +32 -47
- package/components/pagination/index.js +23 -43
- package/components/pagination/style.js +25 -28
- package/components/paginationUpdated/index.js +22 -29
- package/components/paper/index.js +20 -22
- package/components/paper/style.js +24 -27
- package/components/reactSelect/index.js +64 -97
- package/components/reactSelect/style.js +131 -151
- package/components/richTextEditor/index.js +24 -48
- package/components/select/GroupedSelect.js +96 -99
- package/components/select/SimpleSelect.js +61 -103
- package/components/select/index.js +56 -69
- package/components/simpleSelect/index.js +18 -22
- package/components/sort/index.js +23 -36
- package/components/switch/index.js +14 -15
- package/components/switch/style.js +29 -32
- package/components/switch/switch.js +30 -47
- package/components/table/ReactTable.js +59 -83
- package/components/table/SimpleTable.js +67 -91
- package/components/table/index.js +300 -206
- package/components/text/index.js +22 -30
- package/components/timeStamp/index.js +4 -9
- package/components/timeStamp/style.js +12 -15
- package/components/topBar/index.js +86 -102
- package/components/tree/index.js +30 -58
- package/components/tree/style.js +20 -23
- package/components/valuePicker/ValueSelector.js +78 -160
- package/components/valuePicker/index.js +30 -50
- package/components/wrapperLayout/layout/index.js +8 -7
- package/components/wrapperLayout/main/index.js +8 -7
- package/components/wrapperLayout/main/pageContainer/index.js +6 -5
- package/components/wrapperLayout/main/sideBar/index.js +171 -175
- package/components/wrapperLayout/main/sideBar/style.js +177 -183
- package/components/wrapperLayout/topBar/UserAvatar.js +6 -5
- package/components/wrapperLayout/topBar/avatar.js +15 -18
- package/components/wrapperLayout/topBar/index.js +115 -107
- package/components/wrapperLayout/topBar/menuIcon.js +6 -5
- package/components/wrapperLayout/topBar/style.js +63 -64
- package/http/index.js +92 -188
- package/index.js +53 -55
- package/package.json +3 -3
- package/templates/listPage/index.js +168 -196
- package/themes/default.js +5 -7
- package/themes/defaultSmall.js +2 -3
- package/themes/responsiveTheme.js +6 -8
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -13,34 +12,48 @@ var _propTypes = _interopRequireWildcard(require("prop-types"));
|
|
|
13
12
|
var _style = _interopRequireDefault(require("./style"));
|
|
14
13
|
var _reactRouterDom = require("react-router-dom");
|
|
15
14
|
var _text = _interopRequireDefault(require("../../text"));
|
|
16
|
-
function
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
15
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
// import { Box, Paper } from '@mui/material';
|
|
18
|
+
// import React from 'react';
|
|
19
|
+
|
|
20
|
+
// const TopBar = () => {
|
|
21
|
+
// return (
|
|
22
|
+
// <Box
|
|
23
|
+
// sx={{
|
|
24
|
+
// display: 'flex',
|
|
25
|
+
// flexWrap: 'wrap',
|
|
26
|
+
// '& > :not(style)': {
|
|
27
|
+
// m: 1,
|
|
28
|
+
// width: '100vw',
|
|
29
|
+
// height: '60px',
|
|
30
|
+
// margin: '0px !important',
|
|
31
|
+
// },
|
|
32
|
+
// }}
|
|
33
|
+
// >
|
|
34
|
+
// <Paper>TopBar</Paper>
|
|
35
|
+
// </Box>
|
|
36
|
+
// );
|
|
37
|
+
// };
|
|
38
|
+
|
|
39
|
+
// export default TopBar;
|
|
40
|
+
|
|
41
|
+
/* eslint-disable no-lone-blocks */
|
|
42
|
+
|
|
43
|
+
// import styles from "./index.module.css";
|
|
44
|
+
|
|
45
|
+
const TopBar = props => {
|
|
46
|
+
const classes = (0, _style.default)();
|
|
47
|
+
const open = Boolean(props.anchorElUser);
|
|
48
|
+
const [anchorEl, setAnchorEl] = _react.default.useState(null);
|
|
49
|
+
const [clickedState, setClickedState] = _react.default.useState(null);
|
|
50
|
+
const handleOpenUserMenu = event => {
|
|
51
|
+
setAnchorEl(event?.currentTarget);
|
|
39
52
|
};
|
|
40
|
-
|
|
53
|
+
const handleCloseUserMenu = () => {
|
|
41
54
|
setAnchorEl(null);
|
|
42
55
|
};
|
|
43
|
-
|
|
56
|
+
const userMenuObject = [{
|
|
44
57
|
name: 'User',
|
|
45
58
|
icon: /*#__PURE__*/_react.default.createElement(_avatar.default, {
|
|
46
59
|
loggedInUser: props.loggedInUser,
|
|
@@ -49,7 +62,7 @@ var TopBar = function TopBar(props) {
|
|
|
49
62
|
}),
|
|
50
63
|
listOfItems: props.userMenu
|
|
51
64
|
}];
|
|
52
|
-
|
|
65
|
+
const concatedMenu = props.menuDetails?.concat(userMenuObject);
|
|
53
66
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_material.Box, {
|
|
54
67
|
sx: {
|
|
55
68
|
flexGrow: 1
|
|
@@ -60,7 +73,7 @@ var TopBar = function TopBar(props) {
|
|
|
60
73
|
}, /*#__PURE__*/_react.default.createElement(_material.Toolbar, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
61
74
|
className: classes.logoContent
|
|
62
75
|
}, /*#__PURE__*/_react.default.createElement("a", {
|
|
63
|
-
href:
|
|
76
|
+
href: `/${props.location}`
|
|
64
77
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
65
78
|
className: classes.appLogo
|
|
66
79
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
@@ -72,37 +85,35 @@ var TopBar = function TopBar(props) {
|
|
|
72
85
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
73
86
|
className: classes.breadCrumbs
|
|
74
87
|
}, /*#__PURE__*/_react.default.createElement(_breadCrumbs.default, {
|
|
75
|
-
crumbInfo: props
|
|
76
|
-
})), concatedMenu && concatedMenu.map(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}));
|
|
105
|
-
}), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_material.Menu, {
|
|
88
|
+
crumbInfo: props?.crumbInfo
|
|
89
|
+
})), concatedMenu && concatedMenu.map((menu, key) => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
90
|
+
style: {
|
|
91
|
+
display: 'flex',
|
|
92
|
+
alignItems: 'center',
|
|
93
|
+
padding: concatedMenu.length - 1 === key ? '0rem 0rem 0rem 1rem' : '0rem 1rem 0rem 0rem'
|
|
94
|
+
}
|
|
95
|
+
}, /*#__PURE__*/_react.default.createElement(_material.Box, null, /*#__PURE__*/_react.default.createElement(_material.Tooltip, {
|
|
96
|
+
title: menu.name
|
|
97
|
+
}, /*#__PURE__*/_react.default.createElement(_material.IconButton, {
|
|
98
|
+
key: key,
|
|
99
|
+
onClick: e => {
|
|
100
|
+
handleOpenUserMenu(e);
|
|
101
|
+
setClickedState(key);
|
|
102
|
+
},
|
|
103
|
+
size: "small",
|
|
104
|
+
sx: {
|
|
105
|
+
ml: 2
|
|
106
|
+
}
|
|
107
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
108
|
+
style: {
|
|
109
|
+
fontSize: '2vw',
|
|
110
|
+
display: 'flex',
|
|
111
|
+
alignItems: 'center'
|
|
112
|
+
}
|
|
113
|
+
}, menu.icon))))), concatedMenu.length - 1 !== key && /*#__PURE__*/_react.default.createElement(_material.Divider, {
|
|
114
|
+
orientation: "vertical",
|
|
115
|
+
flexItem: true
|
|
116
|
+
}))), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_material.Menu, {
|
|
106
117
|
anchorEl: anchorEl,
|
|
107
118
|
id: "basic-menu",
|
|
108
119
|
disableRipple: true,
|
|
@@ -119,52 +130,50 @@ var TopBar = function TopBar(props) {
|
|
|
119
130
|
//width: 160,
|
|
120
131
|
maxWidth: '100%'
|
|
121
132
|
}
|
|
122
|
-
}, concatedMenu &&
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}, /*#__PURE__*/_react.default.createElement(_text.default, null, item.description))))));
|
|
167
|
-
})))))))));
|
|
133
|
+
}, concatedMenu && concatedMenu[clickedState]?.listOfItems?.map((item, index) => /*#__PURE__*/_react.default.createElement(_reactRouterDom.Link, {
|
|
134
|
+
to: item?.to,
|
|
135
|
+
style: {
|
|
136
|
+
textDecoration: 'none'
|
|
137
|
+
}
|
|
138
|
+
}, /*#__PURE__*/_react.default.createElement(_material.MenuItem, {
|
|
139
|
+
onClick: handleCloseUserMenu,
|
|
140
|
+
key: index,
|
|
141
|
+
style: {
|
|
142
|
+
display: 'flex',
|
|
143
|
+
flexGrow: 1
|
|
144
|
+
}
|
|
145
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
146
|
+
style: {
|
|
147
|
+
display: 'flex',
|
|
148
|
+
flexGrow: 1
|
|
149
|
+
}
|
|
150
|
+
}, item.icon && /*#__PURE__*/_react.default.createElement("div", {
|
|
151
|
+
style: {
|
|
152
|
+
display: 'flex',
|
|
153
|
+
alignItems: 'center',
|
|
154
|
+
paddingRight: '1.5rem',
|
|
155
|
+
fontSize: '1.1rem',
|
|
156
|
+
color: '#44409A'
|
|
157
|
+
}
|
|
158
|
+
}, item.icon), /*#__PURE__*/_react.default.createElement("div", {
|
|
159
|
+
style: {
|
|
160
|
+
display: 'flex',
|
|
161
|
+
flexDirection: 'column'
|
|
162
|
+
}
|
|
163
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
164
|
+
style: {
|
|
165
|
+
fontWeight: 600,
|
|
166
|
+
color: '#000000DE',
|
|
167
|
+
// fontSize: "0.9rem",
|
|
168
|
+
fontSize: '80%'
|
|
169
|
+
}
|
|
170
|
+
}, /*#__PURE__*/_react.default.createElement(_text.default, null, item.name)), /*#__PURE__*/_react.default.createElement("div", {
|
|
171
|
+
style: {
|
|
172
|
+
color: '#000000DE',
|
|
173
|
+
// fontSize: "13px",
|
|
174
|
+
fontSize: '80%'
|
|
175
|
+
}
|
|
176
|
+
}, /*#__PURE__*/_react.default.createElement(_text.default, null, item.description))))))))))))));
|
|
168
177
|
};
|
|
169
178
|
TopBar.propTypes = {
|
|
170
179
|
logo: _propTypes.default.string.isRequired,
|
|
@@ -178,5 +187,4 @@ TopBar.propTypes = {
|
|
|
178
187
|
userMenu: _propTypes.default.array,
|
|
179
188
|
crumbInfo: _propTypes.default.array
|
|
180
189
|
};
|
|
181
|
-
var _default = TopBar;
|
|
182
|
-
exports.default = _default;
|
|
190
|
+
var _default = exports.default = TopBar;
|
|
@@ -5,10 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
function _interopRequireDefault(
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const MenuIcon = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
children
|
|
12
|
+
} = _ref;
|
|
11
13
|
return /*#__PURE__*/_react.default.createElement("div", null, children);
|
|
12
14
|
};
|
|
13
|
-
var _default = MenuIcon;
|
|
14
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = MenuIcon;
|
|
@@ -6,72 +6,71 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styles = require("@mui/styles");
|
|
8
8
|
var _default2 = _interopRequireDefault(require("../../../themes/default"));
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
var _default = (0, _styles.makeStyles)(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
height: "100vh"
|
|
16
|
-
},
|
|
17
|
-
body: {
|
|
18
|
-
position: "relative",
|
|
19
|
-
margin: 0,
|
|
20
|
-
height: "100vh",
|
|
21
|
-
color: "#000000",
|
|
22
|
-
backgroundColor: "#f4f7fc"
|
|
23
|
-
},
|
|
24
|
-
"*::-webkit-scrollbar": {
|
|
25
|
-
width: "0.2rem"
|
|
26
|
-
},
|
|
27
|
-
"*::-webkit-scrollbar-thumb": {
|
|
28
|
-
backgroundColor: "#636A74",
|
|
29
|
-
borderRadius: "3px",
|
|
30
|
-
opacity: 0.5
|
|
31
|
-
},
|
|
32
|
-
"*::-webkit-scrollbar-track": {
|
|
33
|
-
background: "transparent"
|
|
34
|
-
}
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
var _default = exports.default = (0, _styles.makeStyles)(() => ({
|
|
11
|
+
"@global": {
|
|
12
|
+
html: {
|
|
13
|
+
"scroll-behavior": "smooth",
|
|
14
|
+
height: "100vh"
|
|
35
15
|
},
|
|
36
|
-
|
|
37
|
-
position: "relative
|
|
38
|
-
margin:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
backgroundColor: "
|
|
16
|
+
body: {
|
|
17
|
+
position: "relative",
|
|
18
|
+
margin: 0,
|
|
19
|
+
height: "100vh",
|
|
20
|
+
color: "#000000",
|
|
21
|
+
backgroundColor: "#f4f7fc"
|
|
42
22
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
height: "100% !important",
|
|
46
|
-
width: "6rem !important",
|
|
47
|
-
margin: "auto",
|
|
48
|
-
paddingTop: "1rem"
|
|
23
|
+
"*::-webkit-scrollbar": {
|
|
24
|
+
width: "0.2rem"
|
|
49
25
|
},
|
|
50
|
-
|
|
51
|
-
|
|
26
|
+
"*::-webkit-scrollbar-thumb": {
|
|
27
|
+
backgroundColor: "#636A74",
|
|
28
|
+
borderRadius: "3px",
|
|
29
|
+
opacity: 0.5
|
|
52
30
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
width: "6rem !important",
|
|
56
|
-
height: "2rem !important"
|
|
57
|
-
},
|
|
58
|
-
"& .MuiContainer-root": {
|
|
59
|
-
maxWidth: "100%",
|
|
60
|
-
height: "90vh"
|
|
61
|
-
},
|
|
62
|
-
breadCrumbs: {
|
|
63
|
-
display: "flex",
|
|
64
|
-
flexGrow: 1,
|
|
65
|
-
marginLeft: "32px"
|
|
66
|
-
},
|
|
67
|
-
avatar: function avatar(_ref) {
|
|
68
|
-
var avatarColor = _ref.avatarColor;
|
|
69
|
-
return {
|
|
70
|
-
backgroundColor: "".concat(avatarColor),
|
|
71
|
-
fontWeight: 400,
|
|
72
|
-
letterSpacing: "0px"
|
|
73
|
-
};
|
|
31
|
+
"*::-webkit-scrollbar-track": {
|
|
32
|
+
background: "transparent"
|
|
74
33
|
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
34
|
+
},
|
|
35
|
+
appBar: {
|
|
36
|
+
position: "relative !important",
|
|
37
|
+
margin: "0rem !important",
|
|
38
|
+
padding: " 0rem !important",
|
|
39
|
+
boxShadow: "-1px 1px 7px 0px rgba(0, 0, 0, 0.2) !important",
|
|
40
|
+
backgroundColor: "white !important"
|
|
41
|
+
},
|
|
42
|
+
logoContent: {
|
|
43
|
+
display: "block !important",
|
|
44
|
+
height: "100% !important",
|
|
45
|
+
width: "6rem !important",
|
|
46
|
+
margin: "auto",
|
|
47
|
+
paddingTop: "1rem"
|
|
48
|
+
},
|
|
49
|
+
topbarMenuLink: {
|
|
50
|
+
textDecoration: "none"
|
|
51
|
+
},
|
|
52
|
+
appLogo: {
|
|
53
|
+
display: "flex",
|
|
54
|
+
width: "6rem !important",
|
|
55
|
+
height: "2rem !important"
|
|
56
|
+
},
|
|
57
|
+
"& .MuiContainer-root": {
|
|
58
|
+
maxWidth: "100%",
|
|
59
|
+
height: "90vh"
|
|
60
|
+
},
|
|
61
|
+
breadCrumbs: {
|
|
62
|
+
display: "flex",
|
|
63
|
+
flexGrow: 1,
|
|
64
|
+
marginLeft: "32px"
|
|
65
|
+
},
|
|
66
|
+
avatar: _ref => {
|
|
67
|
+
let {
|
|
68
|
+
avatarColor
|
|
69
|
+
} = _ref;
|
|
70
|
+
return {
|
|
71
|
+
backgroundColor: `${avatarColor}`,
|
|
72
|
+
fontWeight: 400,
|
|
73
|
+
letterSpacing: "0px"
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}));
|