@agilemotion/oui-react-js 1.2.6 → 1.2.8
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/dist/ApplicationContext.js +244 -250
- package/dist/BasicApp.js +53 -97
- package/dist/BasicAppHome.js +86 -122
- package/dist/DynamicJS.js +65 -88
- package/dist/RestUtils.js +284 -315
- package/dist/TypedValue.js +15 -18
- package/dist/Utils.js +224 -262
- package/dist/assets/jss/components/authNavbarStyle.js +162 -164
- package/dist/assets/jss/components/buttonStyle.js +1 -1
- package/dist/assets/jss/components/cardAvatarStyle.js +1 -1
- package/dist/assets/jss/components/cardBodyStyle.js +1 -1
- package/dist/assets/jss/components/cardFooterStyle.js +1 -1
- package/dist/assets/jss/components/cardHeaderStyle.js +1 -1
- package/dist/assets/jss/components/cardIconStyle.js +1 -1
- package/dist/assets/jss/components/cardStyle.js +1 -1
- package/dist/assets/jss/components/cardTextStyle.js +1 -1
- package/dist/assets/jss/components/customDropdownStyle.js +192 -194
- package/dist/assets/jss/components/customInputStyle.js +1 -1
- package/dist/assets/jss/components/dropdownStyle.js +107 -109
- package/dist/assets/jss/components/footerStyle.js +1 -1
- package/dist/assets/jss/components/headerLinksStyle.js +95 -97
- package/dist/assets/jss/components/headerStyle.js +60 -62
- package/dist/assets/jss/components/navbarLinksStyle.js +137 -139
- package/dist/assets/jss/components/navbarStyle.js +71 -73
- package/dist/assets/jss/components/sidebarStyle.js +453 -455
- package/dist/assets/jss/components/typographyStyle.js +1 -1
- package/dist/assets/jss/rootStyle.js +57 -57
- package/dist/assets/jss/views/layoutStyle.js +42 -44
- package/dist/assets/jss/views/loginBasicStyle.js +1 -1
- package/dist/assets/jss/views/loginStyle.js +87 -89
- package/dist/components/AlertBar.js +21 -23
- package/dist/components/AlertItem.js +23 -25
- package/dist/components/AlertTemplate.js +29 -30
- package/dist/components/Button.js +35 -37
- package/dist/components/ConfirmationDialog.js +3 -3
- package/dist/components/DataGrid.js +250 -276
- package/dist/components/DataGridColumn.js +34 -36
- package/dist/components/DataGridFilter.js +92 -94
- package/dist/components/DataGridHeading.js +32 -38
- package/dist/components/DocumentViewer.js +12 -11
- package/dist/components/Graph.js +34 -50
- package/dist/components/GraphNode.js +53 -56
- package/dist/components/HtmlPanel.js +6 -8
- package/dist/components/Icon.js +28 -58
- package/dist/components/LoadingIndicator.js +2 -2
- package/dist/components/PopupView.js +15 -17
- package/dist/components/RegularButton.js +20 -20
- package/dist/components/TabPage.js +23 -25
- package/dist/components/TabPanel.js +34 -34
- package/dist/components/TableCellContent.js +34 -34
- package/dist/components/TitleBar.js +16 -16
- package/dist/components/Toolbar.js +112 -118
- package/dist/components/Tooltip.js +35 -43
- package/dist/components/Tree.js +54 -60
- package/dist/components/card/Card.js +17 -17
- package/dist/components/card/CardAvatar.js +10 -10
- package/dist/components/card/CardBody.js +14 -14
- package/dist/components/card/CardFooter.js +13 -13
- package/dist/components/card/CardHeader.js +14 -14
- package/dist/components/card/CardIcon.js +7 -7
- package/dist/components/card/CardText.js +7 -7
- package/dist/components/customInput/CustomInput.js +17 -17
- package/dist/components/dashboard/BasicApp.js +25 -25
- package/dist/components/dashboard/BasicBusinessApp.js +116 -119
- package/dist/components/dashboard/components/Header.js +11 -11
- package/dist/components/dashboard/components/LeftDrawer.js +3 -3
- package/dist/components/dashboard/components/UserIdentity.js +2 -2
- package/dist/components/dashboard/components/blackDashboard/fixedPlugin/FixedPlugin.js +85 -127
- package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +151 -191
- package/dist/components/footer/Footer.js +8 -8
- package/dist/components/footer/HomeFooter.js +34 -66
- package/dist/components/form/BaseField.js +78 -78
- package/dist/components/form/Checkbox.js +8 -10
- package/dist/components/form/DatePicker.js +15 -19
- package/dist/components/form/FieldSet.js +62 -88
- package/dist/components/form/Form.js +317 -318
- package/dist/components/form/GridField.js +81 -86
- package/dist/components/form/LabelField.js +10 -12
- package/dist/components/form/LookupField.js +40 -42
- package/dist/components/form/Section.js +37 -39
- package/dist/components/form/SelectItem.js +35 -39
- package/dist/components/form/TextField.js +18 -22
- package/dist/components/form/TimePicker.js +15 -19
- package/dist/components/form/TransferList.js +83 -91
- package/dist/components/form/UploadField.js +135 -145
- package/dist/components/grid/GridContainer.js +6 -6
- package/dist/components/grid/GridItem.js +6 -6
- package/dist/components/layout/CollapsiblePanel.js +18 -20
- package/dist/components/layout/Layout.js +70 -72
- package/dist/components/layout/View.js +134 -136
- package/dist/components/layout/ViewPort.js +56 -98
- package/dist/components/menu/CollapsibleMenu.js +26 -28
- package/dist/components/menu/MenuBars.js +53 -59
- package/dist/components/menu/MenuButton.js +70 -77
- package/dist/components/menu/MenuItem.js +15 -17
- package/dist/components/menu/MenuLink.js +9 -11
- package/dist/components/menu/PopupMenu.js +12 -16
- package/dist/components/navbars/AuthNavbar.js +12 -12
- package/dist/components/navbars/HomeNavbar.js +175 -222
- package/dist/components/navbars/NavbarLinks.js +45 -46
- package/dist/components/typography/Danger.js +3 -3
- package/dist/components/typography/Info.js +3 -3
- package/dist/components/typography/Link.js +3 -3
- package/dist/event/ActionHandlers.js +43 -57
- package/dist/event/Event.js +13 -16
- package/dist/event/EventListener.js +36 -39
- package/dist/event/EventType.js +1 -5
- package/dist/event/LoadDataActionHandler.js +8 -20
- package/dist/event/Observable.js +162 -198
- package/dist/event/RouteActionHandler.js +76 -88
- package/dist/event/ScriptActionHandler.js +8 -20
- package/dist/event/ServiceCallActionHandler.js +28 -40
- package/dist/event/SignalGraphActionHandler.js +7 -19
- package/dist/js/Addresses.js +15 -27
- package/dist/js/DynamicLib.js +11 -14
- package/dist/js/Validators.js +5 -6
- package/dist/redux/store/ConfigureStore.js +6 -6
- package/dist/redux/store/DashboardStore.js +83 -95
- package/dist/redux/store/History.js +1 -1
- package/dist/redux/store/SecurityStore.js +41 -45
- package/dist/security/TokenManager.js +30 -44
- package/dist/theme-default.js +1 -1
- package/dist/view/Dashboard.js +108 -114
- package/dist/view/Settings.js +2 -4
- package/dist/view/security/ChangePasswordBasic.js +96 -100
- package/dist/view/security/ForgotPassword.js +52 -56
- package/dist/view/security/ForgotPasswordBasic.js +48 -54
- package/dist/view/security/Login.js +58 -62
- package/dist/view/security/LoginBasic.js +50 -54
- package/dist/view/security/ResetPassword.js +58 -62
- package/dist/view/security/ResetPasswordBasic.js +89 -93
- package/dist/view/security/Security.js +12 -12
- package/package.json +1 -1
|
@@ -17,109 +17,107 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
17
17
|
|
|
18
18
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
marginTop: "0"
|
|
25
|
-
},
|
|
26
|
-
[theme.breakpoints.down("sm")]: {
|
|
27
|
-
margin: "10px 15px !important",
|
|
28
|
-
float: "none !important",
|
|
29
|
-
paddingTop: "1px",
|
|
30
|
-
paddingBottom: "1px",
|
|
31
|
-
padding: "0!important",
|
|
32
|
-
width: "60%",
|
|
33
|
-
marginTop: "40px",
|
|
34
|
-
"& input": {
|
|
35
|
-
color: _rootStyle.whiteColor
|
|
36
|
-
}
|
|
37
|
-
}
|
|
20
|
+
const headerLinksStyle = theme => _objectSpread(_objectSpread({}, (0, _dropdownStyle.default)(theme)), {}, {
|
|
21
|
+
search: {
|
|
22
|
+
"& > div": {
|
|
23
|
+
marginTop: "0"
|
|
38
24
|
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
width: "-webkit-fill-available",
|
|
50
|
-
"& svg": {
|
|
51
|
-
width: "24px",
|
|
52
|
-
height: "30px",
|
|
53
|
-
marginRight: "15px",
|
|
54
|
-
marginLeft: "-15px"
|
|
55
|
-
},
|
|
56
|
-
"& .fab,& .fas,& .far,& .fal,& .material-icons": {
|
|
57
|
-
fontSize: "24px",
|
|
58
|
-
lineHeight: "30px",
|
|
59
|
-
width: "24px",
|
|
60
|
-
height: "30px",
|
|
61
|
-
marginRight: "15px",
|
|
62
|
-
marginLeft: "-15px"
|
|
63
|
-
},
|
|
64
|
-
"& > span": {
|
|
65
|
-
justifyContent: "flex-start",
|
|
66
|
-
width: "100%"
|
|
67
|
-
}
|
|
25
|
+
[theme.breakpoints.down("sm")]: {
|
|
26
|
+
margin: "10px 15px !important",
|
|
27
|
+
float: "none !important",
|
|
28
|
+
paddingTop: "1px",
|
|
29
|
+
paddingBottom: "1px",
|
|
30
|
+
padding: "0!important",
|
|
31
|
+
width: "60%",
|
|
32
|
+
marginTop: "40px",
|
|
33
|
+
"& input": {
|
|
34
|
+
color: _rootStyle.whiteColor
|
|
68
35
|
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
linkText: _objectSpread(_objectSpread({
|
|
39
|
+
zIndex: "4"
|
|
40
|
+
}, _rootStyle.defaultFont), {}, {
|
|
41
|
+
fontSize: "14px",
|
|
42
|
+
margin: "0px"
|
|
43
|
+
}),
|
|
44
|
+
buttonLink: {
|
|
45
|
+
[theme.breakpoints.down("sm")]: {
|
|
46
|
+
display: "flex",
|
|
47
|
+
margin: "10px 15px 0",
|
|
48
|
+
width: "-webkit-fill-available",
|
|
49
|
+
"& svg": {
|
|
50
|
+
width: "24px",
|
|
51
|
+
height: "30px",
|
|
52
|
+
marginRight: "15px",
|
|
53
|
+
marginLeft: "-15px"
|
|
54
|
+
},
|
|
55
|
+
"& .fab,& .fas,& .far,& .fal,& .material-icons": {
|
|
56
|
+
fontSize: "24px",
|
|
57
|
+
lineHeight: "30px",
|
|
58
|
+
width: "24px",
|
|
59
|
+
height: "30px",
|
|
60
|
+
marginRight: "15px",
|
|
61
|
+
marginLeft: "-15px"
|
|
62
|
+
},
|
|
63
|
+
"& > span": {
|
|
64
|
+
justifyContent: "flex-start",
|
|
65
|
+
width: "100%"
|
|
75
66
|
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
searchButton: {
|
|
70
|
+
[theme.breakpoints.down("sm")]: {
|
|
71
|
+
top: "-50px !important",
|
|
72
|
+
marginRight: "22px",
|
|
73
|
+
float: "right"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
margin: {
|
|
77
|
+
zIndex: "4",
|
|
78
|
+
margin: "0"
|
|
79
|
+
},
|
|
80
|
+
searchIcon: {
|
|
81
|
+
width: "17px",
|
|
82
|
+
zIndex: "4"
|
|
83
|
+
},
|
|
84
|
+
notifications: {
|
|
85
|
+
zIndex: "4",
|
|
86
|
+
[theme.breakpoints.up("md")]: {
|
|
87
|
+
position: "absolute",
|
|
88
|
+
top: "2px",
|
|
89
|
+
border: "1px solid " + _rootStyle.whiteColor,
|
|
90
|
+
right: "4px",
|
|
91
|
+
fontSize: "9px",
|
|
92
|
+
background: _rootStyle.dangerColor[0],
|
|
93
|
+
color: _rootStyle.whiteColor,
|
|
94
|
+
minWidth: "16px",
|
|
95
|
+
height: "16px",
|
|
96
|
+
borderRadius: "10px",
|
|
97
|
+
textAlign: "center",
|
|
98
|
+
lineHeight: "16px",
|
|
99
|
+
verticalAlign: "middle",
|
|
100
|
+
display: "block"
|
|
76
101
|
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
notifications: {
|
|
86
|
-
zIndex: "4",
|
|
87
|
-
[theme.breakpoints.up("md")]: {
|
|
88
|
-
position: "absolute",
|
|
89
|
-
top: "2px",
|
|
90
|
-
border: "1px solid " + _rootStyle.whiteColor,
|
|
91
|
-
right: "4px",
|
|
92
|
-
fontSize: "9px",
|
|
93
|
-
background: _rootStyle.dangerColor[0],
|
|
94
|
-
color: _rootStyle.whiteColor,
|
|
95
|
-
minWidth: "16px",
|
|
96
|
-
height: "16px",
|
|
97
|
-
borderRadius: "10px",
|
|
98
|
-
textAlign: "center",
|
|
99
|
-
lineHeight: "16px",
|
|
100
|
-
verticalAlign: "middle",
|
|
101
|
-
display: "block"
|
|
102
|
-
},
|
|
103
|
-
[theme.breakpoints.down("sm")]: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
|
|
104
|
-
fontSize: "14px",
|
|
105
|
-
marginRight: "8px"
|
|
106
|
-
})
|
|
102
|
+
[theme.breakpoints.down("sm")]: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
|
|
103
|
+
fontSize: "14px",
|
|
104
|
+
marginRight: "8px"
|
|
105
|
+
})
|
|
106
|
+
},
|
|
107
|
+
manager: {
|
|
108
|
+
[theme.breakpoints.down("sm")]: {
|
|
109
|
+
width: "100%"
|
|
107
110
|
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
display: "inline-block"
|
|
112
|
+
},
|
|
113
|
+
searchWrapper: {
|
|
114
|
+
[theme.breakpoints.down("sm")]: {
|
|
115
|
+
width: "-webkit-fill-available",
|
|
116
|
+
margin: "10px 15px 0"
|
|
113
117
|
},
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
margin: "10px 15px 0"
|
|
118
|
-
},
|
|
119
|
-
display: "inline-block"
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
};
|
|
118
|
+
display: "inline-block"
|
|
119
|
+
}
|
|
120
|
+
});
|
|
123
121
|
|
|
124
122
|
var _default = headerLinksStyle;
|
|
125
123
|
exports.default = _default;
|
|
@@ -13,68 +13,66 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
13
13
|
|
|
14
14
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
flex:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
};
|
|
77
|
-
};
|
|
16
|
+
const headerStyle = () => ({
|
|
17
|
+
appBar: {
|
|
18
|
+
backgroundColor: "transparent",
|
|
19
|
+
boxShadow: "none",
|
|
20
|
+
borderBottom: "0",
|
|
21
|
+
marginBottom: "0",
|
|
22
|
+
position: "absolute",
|
|
23
|
+
width: "100%",
|
|
24
|
+
paddingTop: "10px",
|
|
25
|
+
zIndex: "1029",
|
|
26
|
+
color: _rootStyle.grayColor[7],
|
|
27
|
+
border: "0",
|
|
28
|
+
borderRadius: "3px",
|
|
29
|
+
padding: "10px 0",
|
|
30
|
+
transition: "all 150ms ease 0s",
|
|
31
|
+
minHeight: "50px",
|
|
32
|
+
display: "block"
|
|
33
|
+
},
|
|
34
|
+
container: _objectSpread(_objectSpread({}, _rootStyle.container), {}, {
|
|
35
|
+
minHeight: "50px"
|
|
36
|
+
}),
|
|
37
|
+
flex: {
|
|
38
|
+
flex: 1
|
|
39
|
+
},
|
|
40
|
+
title: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
|
|
41
|
+
letterSpacing: "unset",
|
|
42
|
+
lineHeight: "30px",
|
|
43
|
+
fontSize: "18px",
|
|
44
|
+
borderRadius: "3px",
|
|
45
|
+
textTransform: "none",
|
|
46
|
+
color: "inherit",
|
|
47
|
+
margin: "0",
|
|
48
|
+
"&:hover,&:focus": {
|
|
49
|
+
background: "transparent"
|
|
50
|
+
}
|
|
51
|
+
}),
|
|
52
|
+
appResponsive: {
|
|
53
|
+
top: "8px"
|
|
54
|
+
},
|
|
55
|
+
primary: _objectSpread({
|
|
56
|
+
backgroundColor: _rootStyle.primaryColor[0],
|
|
57
|
+
color: _rootStyle.whiteColor
|
|
58
|
+
}, _rootStyle.defaultBoxShadow),
|
|
59
|
+
info: _objectSpread({
|
|
60
|
+
backgroundColor: _rootStyle.infoColor[0],
|
|
61
|
+
color: _rootStyle.whiteColor
|
|
62
|
+
}, _rootStyle.defaultBoxShadow),
|
|
63
|
+
success: _objectSpread({
|
|
64
|
+
backgroundColor: _rootStyle.successColor[0],
|
|
65
|
+
color: _rootStyle.whiteColor
|
|
66
|
+
}, _rootStyle.defaultBoxShadow),
|
|
67
|
+
warning: _objectSpread({
|
|
68
|
+
backgroundColor: _rootStyle.warningColor[0],
|
|
69
|
+
color: _rootStyle.whiteColor
|
|
70
|
+
}, _rootStyle.defaultBoxShadow),
|
|
71
|
+
danger: _objectSpread({
|
|
72
|
+
backgroundColor: _rootStyle.dangerColor[0],
|
|
73
|
+
color: _rootStyle.whiteColor
|
|
74
|
+
}, _rootStyle.defaultBoxShadow)
|
|
75
|
+
});
|
|
78
76
|
|
|
79
77
|
var _default = headerStyle;
|
|
80
78
|
exports.default = _default;
|
|
@@ -17,151 +17,149 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
17
17
|
|
|
18
18
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
marginRight: "18px !important"
|
|
41
|
-
},
|
|
42
|
-
[theme.breakpoints.up("md")]: {
|
|
43
|
-
marginLeft: "12px"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
linkText: _objectSpread(_objectSpread({
|
|
47
|
-
zIndex: "4"
|
|
48
|
-
}, _rootStyle.defaultFont), {}, {
|
|
49
|
-
fontSize: "14px",
|
|
50
|
-
margin: "0!important",
|
|
51
|
-
textTransform: "none"
|
|
52
|
-
}),
|
|
53
|
-
buttonLink: {
|
|
54
|
-
[theme.breakpoints.down("sm")]: {
|
|
55
|
-
display: "flex",
|
|
56
|
-
margin: "5px 15px 0",
|
|
57
|
-
width: "auto",
|
|
58
|
-
height: "auto",
|
|
59
|
-
"& svg": {
|
|
60
|
-
width: "30px",
|
|
61
|
-
height: "24px",
|
|
62
|
-
marginRight: "19px",
|
|
63
|
-
marginLeft: "3px"
|
|
64
|
-
},
|
|
65
|
-
"& .fab,& .fas,& .far,& .fal,& .material-icons": {
|
|
66
|
-
width: "30px",
|
|
67
|
-
fontSize: "24px",
|
|
68
|
-
lineHeight: "30px",
|
|
69
|
-
marginRight: "19px",
|
|
70
|
-
marginLeft: "3px"
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
searchButton: {
|
|
75
|
-
[theme.breakpoints.down("sm")]: {
|
|
76
|
-
top: "-50px !important",
|
|
77
|
-
marginRight: "38px",
|
|
78
|
-
float: "right"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
top: {
|
|
82
|
-
zIndex: "4"
|
|
83
|
-
},
|
|
84
|
-
searchIcon: {
|
|
85
|
-
width: "17px",
|
|
86
|
-
zIndex: "4"
|
|
20
|
+
const adminNavbarLinksStyle = theme => _objectSpread(_objectSpread({}, (0, _customDropdownStyle.default)(theme)), {}, {
|
|
21
|
+
search: {
|
|
22
|
+
margin: "0",
|
|
23
|
+
paddingTop: "7px",
|
|
24
|
+
paddingBottom: "7px",
|
|
25
|
+
[theme.breakpoints.down("sm")]: {
|
|
26
|
+
margin: "10px 15px",
|
|
27
|
+
float: "none !important",
|
|
28
|
+
paddingTop: "1px",
|
|
29
|
+
paddingBottom: "1px",
|
|
30
|
+
padding: "10px 15px",
|
|
31
|
+
width: "auto"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
searchInput: {
|
|
35
|
+
paddingTop: "2px"
|
|
36
|
+
},
|
|
37
|
+
searchRTL: {
|
|
38
|
+
[theme.breakpoints.down("sm")]: {
|
|
39
|
+
marginRight: "18px !important"
|
|
87
40
|
},
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
41
|
+
[theme.breakpoints.up("md")]: {
|
|
42
|
+
marginLeft: "12px"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
linkText: _objectSpread(_objectSpread({
|
|
46
|
+
zIndex: "4"
|
|
47
|
+
}, _rootStyle.defaultFont), {}, {
|
|
48
|
+
fontSize: "14px",
|
|
49
|
+
margin: "0!important",
|
|
50
|
+
textTransform: "none"
|
|
51
|
+
}),
|
|
52
|
+
buttonLink: {
|
|
53
|
+
[theme.breakpoints.down("sm")]: {
|
|
54
|
+
display: "flex",
|
|
55
|
+
margin: "5px 15px 0",
|
|
56
|
+
width: "auto",
|
|
57
|
+
height: "auto",
|
|
58
|
+
"& svg": {
|
|
94
59
|
width: "30px",
|
|
95
|
-
height: "
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
marginRight: "16px",
|
|
99
|
-
marginLeft: "-5px"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
notifications: {
|
|
103
|
-
zIndex: "4",
|
|
104
|
-
[theme.breakpoints.up("md")]: {
|
|
105
|
-
position: "absolute",
|
|
106
|
-
top: "5px",
|
|
107
|
-
border: "1px solid " + _rootStyle.whiteColor,
|
|
108
|
-
right: "5px",
|
|
109
|
-
fontSize: "9px",
|
|
110
|
-
background: _rootStyle.dangerColor[0],
|
|
111
|
-
color: _rootStyle.whiteColor,
|
|
112
|
-
minWidth: "16px",
|
|
113
|
-
height: "16px",
|
|
114
|
-
borderRadius: "10px",
|
|
115
|
-
textAlign: "center",
|
|
116
|
-
lineHeight: "14px",
|
|
117
|
-
verticalAlign: "middle",
|
|
118
|
-
display: "block"
|
|
60
|
+
height: "24px",
|
|
61
|
+
marginRight: "19px",
|
|
62
|
+
marginLeft: "3px"
|
|
119
63
|
},
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
[theme.breakpoints.up("md")]: {
|
|
127
|
-
paddingLeft: "16px"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
buttonLinkRTL: {
|
|
131
|
-
[theme.breakpoints.down("sm")]: {
|
|
132
|
-
alignItems: "center",
|
|
133
|
-
justifyContent: "flex-end",
|
|
134
|
-
width: "-webkit-fill-available",
|
|
135
|
-
margin: "10px 15px 0",
|
|
136
|
-
padding: "10px 15px",
|
|
137
|
-
display: "block",
|
|
138
|
-
position: "relative"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
labelRTL: {
|
|
142
|
-
[theme.breakpoints.down("sm")]: {
|
|
143
|
-
flexDirection: "row-reverse",
|
|
144
|
-
justifyContent: "initial",
|
|
145
|
-
display: "flex"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
linksRTL: {
|
|
149
|
-
[theme.breakpoints.down("sm")]: {
|
|
150
|
-
marginRight: "-5px !important",
|
|
151
|
-
marginLeft: "16px !important"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
managerClasses: {
|
|
155
|
-
[theme.breakpoints.up("md")]: {
|
|
156
|
-
display: "inline-block"
|
|
64
|
+
"& .fab,& .fas,& .far,& .fal,& .material-icons": {
|
|
65
|
+
width: "30px",
|
|
66
|
+
fontSize: "24px",
|
|
67
|
+
lineHeight: "30px",
|
|
68
|
+
marginRight: "19px",
|
|
69
|
+
marginLeft: "3px"
|
|
157
70
|
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
searchButton: {
|
|
74
|
+
[theme.breakpoints.down("sm")]: {
|
|
75
|
+
top: "-50px !important",
|
|
76
|
+
marginRight: "38px",
|
|
77
|
+
float: "right"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
top: {
|
|
81
|
+
zIndex: "4"
|
|
82
|
+
},
|
|
83
|
+
searchIcon: {
|
|
84
|
+
width: "17px",
|
|
85
|
+
zIndex: "4"
|
|
86
|
+
},
|
|
87
|
+
links: {
|
|
88
|
+
width: "20px",
|
|
89
|
+
height: "20px",
|
|
90
|
+
zIndex: "4",
|
|
91
|
+
[theme.breakpoints.down("sm")]: {
|
|
92
|
+
display: "block",
|
|
93
|
+
width: "30px",
|
|
94
|
+
height: "30px",
|
|
95
|
+
color: "inherit",
|
|
96
|
+
opacity: "0.8",
|
|
97
|
+
marginRight: "16px",
|
|
98
|
+
marginLeft: "-5px"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
notifications: {
|
|
102
|
+
zIndex: "4",
|
|
103
|
+
[theme.breakpoints.up("md")]: {
|
|
104
|
+
position: "absolute",
|
|
105
|
+
top: "5px",
|
|
106
|
+
border: "1px solid " + _rootStyle.whiteColor,
|
|
107
|
+
right: "5px",
|
|
108
|
+
fontSize: "9px",
|
|
109
|
+
background: _rootStyle.dangerColor[0],
|
|
110
|
+
color: _rootStyle.whiteColor,
|
|
111
|
+
minWidth: "16px",
|
|
112
|
+
height: "16px",
|
|
113
|
+
borderRadius: "10px",
|
|
114
|
+
textAlign: "center",
|
|
115
|
+
lineHeight: "14px",
|
|
116
|
+
verticalAlign: "middle",
|
|
117
|
+
display: "block"
|
|
158
118
|
},
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
119
|
+
[theme.breakpoints.down("sm")]: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
|
|
120
|
+
fontSize: "14px",
|
|
121
|
+
marginRight: "8px"
|
|
122
|
+
})
|
|
123
|
+
},
|
|
124
|
+
wrapperRTL: {
|
|
125
|
+
[theme.breakpoints.up("md")]: {
|
|
126
|
+
paddingLeft: "16px"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
buttonLinkRTL: {
|
|
130
|
+
[theme.breakpoints.down("sm")]: {
|
|
131
|
+
alignItems: "center",
|
|
132
|
+
justifyContent: "flex-end",
|
|
133
|
+
width: "-webkit-fill-available",
|
|
134
|
+
margin: "10px 15px 0",
|
|
135
|
+
padding: "10px 15px",
|
|
136
|
+
display: "block",
|
|
137
|
+
position: "relative"
|
|
162
138
|
}
|
|
163
|
-
}
|
|
164
|
-
|
|
139
|
+
},
|
|
140
|
+
labelRTL: {
|
|
141
|
+
[theme.breakpoints.down("sm")]: {
|
|
142
|
+
flexDirection: "row-reverse",
|
|
143
|
+
justifyContent: "initial",
|
|
144
|
+
display: "flex"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
linksRTL: {
|
|
148
|
+
[theme.breakpoints.down("sm")]: {
|
|
149
|
+
marginRight: "-5px !important",
|
|
150
|
+
marginLeft: "16px !important"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
managerClasses: {
|
|
154
|
+
[theme.breakpoints.up("md")]: {
|
|
155
|
+
display: "inline-block"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
headerLinksSvg: {
|
|
159
|
+
width: "20px !important",
|
|
160
|
+
height: "20px !important"
|
|
161
|
+
}
|
|
162
|
+
});
|
|
165
163
|
|
|
166
164
|
var _default = adminNavbarLinksStyle;
|
|
167
165
|
exports.default = _default;
|