tenjin-ui-kit 0.3.73 → 0.3.74
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/README.md +13 -13
- package/common/hooks/apiHooks.js +199 -91
- package/common/hooks/newApiHook.js +258 -127
- package/common/utils/security/index.js +2 -2
- package/common/utils/security/securityConfig.js +2 -1
- package/components/Canvas.js +101 -172
- package/components/DragBox/index.js +31 -21
- package/components/InputWithChip/index.js +83 -178
- package/components/RightContext/index.css +20 -20
- package/components/RightContext/index.js +41 -17
- package/components/WorkFlow.js +29 -19
- package/components/WorkFlowBuilder.js +56 -32
- package/components/alert/Style.js +14 -11
- package/components/alert/index.js +14 -8
- package/components/attachment/index.js +31 -26
- package/components/authenticationProvider/AuthError.js +4 -3
- package/components/authenticationProvider/AuthLoader.js +4 -3
- package/components/authenticationProvider/index.js +130 -58
- package/components/avatar/index.js +23 -24
- package/components/avatar/styles.js +77 -76
- package/components/breadCrumbs/index.js +89 -64
- package/components/breadCrumbs/style.js +4 -1
- package/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/index.js +6 -7
- package/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/style.js +8 -5
- package/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewHeader/index.js +6 -7
- package/components/browsingTestCaseLayout/TreeViewLayout/TreeViewContent/Index.js +7 -8
- package/components/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/Index.js +7 -8
- package/components/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/style.js +19 -16
- package/components/browsingTestCaseLayout/index.js +46 -30
- package/components/browsingTestCaseLayout/style.css +82 -82
- package/components/button/index.js +58 -47
- package/components/chatBotModal/index.js +61 -40
- package/components/checkBox/index.js +10 -8
- package/components/combobox/index.js +216 -182
- package/components/divider/index.js +18 -9
- package/components/editableField/index.js +46 -19
- package/components/error/index.js +12 -6
- package/components/errorBoundary/index.js +98 -74
- package/components/fileUploader/index.js +58 -46
- package/components/fileUploader/style.js +49 -46
- package/components/filter/ValueSelector.js +243 -148
- package/components/filter/index.js +66 -43
- package/components/iconButton/index.js +4 -3
- package/components/input/index.js +74 -60
- package/components/layout/index.js +49 -36
- package/components/layout/main/index.js +14 -13
- package/components/layout/main/style.js +14 -11
- package/components/layout/pageContent/index.js +7 -8
- package/components/layout/sidebar/FlatMenu.js +47 -51
- package/components/layout/sidebar/GroupedIconMenu.js +194 -169
- package/components/layout/sidebar/GroupedMenu.js +50 -45
- package/components/layout/sidebar/ProjectMenu.js +185 -165
- package/components/layout/sidebar/index.js +26 -27
- package/components/layout/sidebar/style.js +143 -138
- package/components/layout/topBar/ProjectTopbar.js +119 -86
- package/components/layout/topBar/UserAvatar.js +65 -51
- package/components/layout/topBar/index.js +41 -23
- package/components/loader/index.js +12 -9
- package/components/menu/index.js +42 -23
- package/components/modal/Modal.js +6 -5
- package/components/modal/index.js +20 -16
- package/components/modal/style.js +56 -53
- package/components/optionMenu/index.js +72 -57
- package/components/pagination/index.js +43 -23
- package/components/pagination/style.js +28 -25
- package/components/paginationUpdated/index.js +26 -19
- package/components/paper/index.js +22 -20
- package/components/paper/style.js +27 -24
- package/components/reactSelect/index.js +97 -64
- package/components/reactSelect/style.js +151 -131
- package/components/richTextEditor/index.js +48 -24
- package/components/select/GroupedSelect.js +100 -56
- package/components/select/SimpleSelect.js +99 -59
- package/components/select/index.js +69 -56
- package/components/simpleSelect/index.js +22 -18
- package/components/sort/index.js +36 -23
- package/components/switch/index.js +15 -14
- package/components/switch/style.js +32 -29
- package/components/switch/switch.js +47 -30
- package/components/table/ReactTable.js +83 -59
- package/components/table/SimpleTable.js +91 -67
- package/components/table/index.js +206 -300
- package/components/text/index.js +30 -22
- package/components/timeStamp/index.js +6 -4
- package/components/timeStamp/style.js +15 -12
- package/components/topBar/index.js +102 -86
- package/components/tree/index.js +58 -30
- package/components/tree/style.js +23 -20
- package/components/valuePicker/ValueSelector.js +160 -78
- package/components/valuePicker/index.js +50 -30
- package/components/wrapperLayout/layout/index.js +7 -8
- package/components/wrapperLayout/main/index.js +7 -8
- package/components/wrapperLayout/main/pageContainer/index.js +5 -6
- package/components/wrapperLayout/main/sideBar/index.js +175 -171
- package/components/wrapperLayout/main/sideBar/style.js +183 -177
- package/components/wrapperLayout/topBar/UserAvatar.js +5 -6
- package/components/wrapperLayout/topBar/avatar.js +18 -15
- package/components/wrapperLayout/topBar/index.js +107 -115
- package/components/wrapperLayout/topBar/menuIcon.js +5 -6
- package/components/wrapperLayout/topBar/style.js +64 -63
- package/http/index.js +188 -92
- package/index.js +55 -53
- package/package.json +124 -125
- package/templates/listPage/index.js +196 -168
- package/themes/default.js +7 -5
- package/themes/defaultSmall.js +3 -2
- package/themes/responsiveTheme.js +8 -6
|
@@ -1,5 +1,6 @@
|
|
|
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); }
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
@@ -12,48 +13,34 @@ var _propTypes = _interopRequireWildcard(require("prop-types"));
|
|
|
12
13
|
var _style = _interopRequireDefault(require("./style"));
|
|
13
14
|
var _reactRouterDom = require("react-router-dom");
|
|
14
15
|
var _text = _interopRequireDefault(require("../../text"));
|
|
15
|
-
function
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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);
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
20
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
21
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
22
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
23
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
24
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
25
|
+
var TopBar = function TopBar(props) {
|
|
26
|
+
var _props$menuDetails, _concatedMenu$clicked, _concatedMenu$clicked2;
|
|
27
|
+
var classes = (0, _style.default)();
|
|
28
|
+
var open = Boolean(props.anchorElUser);
|
|
29
|
+
var _React$useState = _react.default.useState(null),
|
|
30
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
31
|
+
anchorEl = _React$useState2[0],
|
|
32
|
+
setAnchorEl = _React$useState2[1];
|
|
33
|
+
var _React$useState3 = _react.default.useState(null),
|
|
34
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
35
|
+
clickedState = _React$useState4[0],
|
|
36
|
+
setClickedState = _React$useState4[1];
|
|
37
|
+
var handleOpenUserMenu = function handleOpenUserMenu(event) {
|
|
38
|
+
setAnchorEl(event === null || event === void 0 ? void 0 : event.currentTarget);
|
|
52
39
|
};
|
|
53
|
-
|
|
40
|
+
var handleCloseUserMenu = function handleCloseUserMenu() {
|
|
54
41
|
setAnchorEl(null);
|
|
55
42
|
};
|
|
56
|
-
|
|
43
|
+
var userMenuObject = [{
|
|
57
44
|
name: 'User',
|
|
58
45
|
icon: /*#__PURE__*/_react.default.createElement(_avatar.default, {
|
|
59
46
|
loggedInUser: props.loggedInUser,
|
|
@@ -62,7 +49,7 @@ const TopBar = props => {
|
|
|
62
49
|
}),
|
|
63
50
|
listOfItems: props.userMenu
|
|
64
51
|
}];
|
|
65
|
-
|
|
52
|
+
var concatedMenu = (_props$menuDetails = props.menuDetails) === null || _props$menuDetails === void 0 ? void 0 : _props$menuDetails.concat(userMenuObject);
|
|
66
53
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_material.Box, {
|
|
67
54
|
sx: {
|
|
68
55
|
flexGrow: 1
|
|
@@ -73,7 +60,7 @@ const TopBar = props => {
|
|
|
73
60
|
}, /*#__PURE__*/_react.default.createElement(_material.Toolbar, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
74
61
|
className: classes.logoContent
|
|
75
62
|
}, /*#__PURE__*/_react.default.createElement("a", {
|
|
76
|
-
href:
|
|
63
|
+
href: "/".concat(props.location)
|
|
77
64
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
78
65
|
className: classes.appLogo
|
|
79
66
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
@@ -85,35 +72,37 @@ const TopBar = props => {
|
|
|
85
72
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
86
73
|
className: classes.breadCrumbs
|
|
87
74
|
}, /*#__PURE__*/_react.default.createElement(_breadCrumbs.default, {
|
|
88
|
-
crumbInfo: props
|
|
89
|
-
})), concatedMenu && concatedMenu.map((menu, key)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
75
|
+
crumbInfo: props === null || props === void 0 ? void 0 : props.crumbInfo
|
|
76
|
+
})), concatedMenu && concatedMenu.map(function (menu, key) {
|
|
77
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
78
|
+
style: {
|
|
79
|
+
display: 'flex',
|
|
80
|
+
alignItems: 'center',
|
|
81
|
+
padding: concatedMenu.length - 1 === key ? '0rem 0rem 0rem 1rem' : '0rem 1rem 0rem 0rem'
|
|
82
|
+
}
|
|
83
|
+
}, /*#__PURE__*/_react.default.createElement(_material.Box, null, /*#__PURE__*/_react.default.createElement(_material.Tooltip, {
|
|
84
|
+
title: menu.name
|
|
85
|
+
}, /*#__PURE__*/_react.default.createElement(_material.IconButton, {
|
|
86
|
+
key: key,
|
|
87
|
+
onClick: function onClick(e) {
|
|
88
|
+
handleOpenUserMenu(e);
|
|
89
|
+
setClickedState(key);
|
|
90
|
+
},
|
|
91
|
+
size: "small",
|
|
92
|
+
sx: {
|
|
93
|
+
ml: 2
|
|
94
|
+
}
|
|
95
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
96
|
+
style: {
|
|
97
|
+
fontSize: '2vw',
|
|
98
|
+
display: 'flex',
|
|
99
|
+
alignItems: 'center'
|
|
100
|
+
}
|
|
101
|
+
}, menu.icon))))), concatedMenu.length - 1 !== key && /*#__PURE__*/_react.default.createElement(_material.Divider, {
|
|
102
|
+
orientation: "vertical",
|
|
103
|
+
flexItem: true
|
|
104
|
+
}));
|
|
105
|
+
}), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_material.Menu, {
|
|
117
106
|
anchorEl: anchorEl,
|
|
118
107
|
id: "basic-menu",
|
|
119
108
|
disableRipple: true,
|
|
@@ -130,50 +119,52 @@ const TopBar = props => {
|
|
|
130
119
|
//width: 160,
|
|
131
120
|
maxWidth: '100%'
|
|
132
121
|
}
|
|
133
|
-
}, concatedMenu && concatedMenu[clickedState]
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
122
|
+
}, concatedMenu && ((_concatedMenu$clicked = concatedMenu[clickedState]) === null || _concatedMenu$clicked === void 0 ? void 0 : (_concatedMenu$clicked2 = _concatedMenu$clicked.listOfItems) === null || _concatedMenu$clicked2 === void 0 ? void 0 : _concatedMenu$clicked2.map(function (item, index) {
|
|
123
|
+
return /*#__PURE__*/_react.default.createElement(_reactRouterDom.Link, {
|
|
124
|
+
to: item === null || item === void 0 ? void 0 : item.to,
|
|
125
|
+
style: {
|
|
126
|
+
textDecoration: 'none'
|
|
127
|
+
}
|
|
128
|
+
}, /*#__PURE__*/_react.default.createElement(_material.MenuItem, {
|
|
129
|
+
onClick: handleCloseUserMenu,
|
|
130
|
+
key: index,
|
|
131
|
+
style: {
|
|
132
|
+
display: 'flex',
|
|
133
|
+
flexGrow: 1
|
|
134
|
+
}
|
|
135
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
136
|
+
style: {
|
|
137
|
+
display: 'flex',
|
|
138
|
+
flexGrow: 1
|
|
139
|
+
}
|
|
140
|
+
}, item.icon && /*#__PURE__*/_react.default.createElement("div", {
|
|
141
|
+
style: {
|
|
142
|
+
display: 'flex',
|
|
143
|
+
alignItems: 'center',
|
|
144
|
+
paddingRight: '1.5rem',
|
|
145
|
+
fontSize: '1.1rem',
|
|
146
|
+
color: '#44409A'
|
|
147
|
+
}
|
|
148
|
+
}, item.icon), /*#__PURE__*/_react.default.createElement("div", {
|
|
149
|
+
style: {
|
|
150
|
+
display: 'flex',
|
|
151
|
+
flexDirection: 'column'
|
|
152
|
+
}
|
|
153
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
154
|
+
style: {
|
|
155
|
+
fontWeight: 600,
|
|
156
|
+
color: '#000000DE',
|
|
157
|
+
// fontSize: "0.9rem",
|
|
158
|
+
fontSize: '80%'
|
|
159
|
+
}
|
|
160
|
+
}, /*#__PURE__*/_react.default.createElement(_text.default, null, item.name)), /*#__PURE__*/_react.default.createElement("div", {
|
|
161
|
+
style: {
|
|
162
|
+
color: '#000000DE',
|
|
163
|
+
// fontSize: "13px",
|
|
164
|
+
fontSize: '80%'
|
|
165
|
+
}
|
|
166
|
+
}, /*#__PURE__*/_react.default.createElement(_text.default, null, item.description))))));
|
|
167
|
+
})))))))));
|
|
177
168
|
};
|
|
178
169
|
TopBar.propTypes = {
|
|
179
170
|
logo: _propTypes.default.string.isRequired,
|
|
@@ -187,4 +178,5 @@ TopBar.propTypes = {
|
|
|
187
178
|
userMenu: _propTypes.default.array,
|
|
188
179
|
crumbInfo: _propTypes.default.array
|
|
189
180
|
};
|
|
190
|
-
var _default =
|
|
181
|
+
var _default = TopBar;
|
|
182
|
+
exports.default = _default;
|
|
@@ -5,11 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
function _interopRequireDefault(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
children
|
|
12
|
-
} = _ref;
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
+
var MenuIcon = function MenuIcon(_ref) {
|
|
10
|
+
var children = _ref.children;
|
|
13
11
|
return /*#__PURE__*/_react.default.createElement("div", null, children);
|
|
14
12
|
};
|
|
15
|
-
var _default =
|
|
13
|
+
var _default = MenuIcon;
|
|
14
|
+
exports.default = _default;
|
|
@@ -6,71 +6,72 @@ 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 =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
var _default = (0, _styles.makeStyles)(function () {
|
|
11
|
+
return {
|
|
12
|
+
"@global": {
|
|
13
|
+
html: {
|
|
14
|
+
"scroll-behavior": "smooth",
|
|
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
|
+
}
|
|
15
35
|
},
|
|
16
|
-
|
|
17
|
-
position: "relative",
|
|
18
|
-
margin:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
backgroundColor: "
|
|
36
|
+
appBar: {
|
|
37
|
+
position: "relative !important",
|
|
38
|
+
margin: "0rem !important",
|
|
39
|
+
padding: " 0rem !important",
|
|
40
|
+
boxShadow: "-1px 1px 7px 0px rgba(0, 0, 0, 0.2) !important",
|
|
41
|
+
backgroundColor: "white !important"
|
|
22
42
|
},
|
|
23
|
-
|
|
24
|
-
|
|
43
|
+
logoContent: {
|
|
44
|
+
display: "block !important",
|
|
45
|
+
height: "100% !important",
|
|
46
|
+
width: "6rem !important",
|
|
47
|
+
margin: "auto",
|
|
48
|
+
paddingTop: "1rem"
|
|
25
49
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
borderRadius: "3px",
|
|
29
|
-
opacity: 0.5
|
|
50
|
+
topbarMenuLink: {
|
|
51
|
+
textDecoration: "none"
|
|
30
52
|
},
|
|
31
|
-
|
|
32
|
-
|
|
53
|
+
appLogo: {
|
|
54
|
+
display: "flex",
|
|
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
|
+
};
|
|
33
74
|
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
}));
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
exports.default = _default;
|