@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.
Files changed (133) hide show
  1. package/dist/ApplicationContext.js +244 -250
  2. package/dist/BasicApp.js +53 -97
  3. package/dist/BasicAppHome.js +86 -122
  4. package/dist/DynamicJS.js +65 -88
  5. package/dist/RestUtils.js +284 -315
  6. package/dist/TypedValue.js +15 -18
  7. package/dist/Utils.js +224 -262
  8. package/dist/assets/jss/components/authNavbarStyle.js +162 -164
  9. package/dist/assets/jss/components/buttonStyle.js +1 -1
  10. package/dist/assets/jss/components/cardAvatarStyle.js +1 -1
  11. package/dist/assets/jss/components/cardBodyStyle.js +1 -1
  12. package/dist/assets/jss/components/cardFooterStyle.js +1 -1
  13. package/dist/assets/jss/components/cardHeaderStyle.js +1 -1
  14. package/dist/assets/jss/components/cardIconStyle.js +1 -1
  15. package/dist/assets/jss/components/cardStyle.js +1 -1
  16. package/dist/assets/jss/components/cardTextStyle.js +1 -1
  17. package/dist/assets/jss/components/customDropdownStyle.js +192 -194
  18. package/dist/assets/jss/components/customInputStyle.js +1 -1
  19. package/dist/assets/jss/components/dropdownStyle.js +107 -109
  20. package/dist/assets/jss/components/footerStyle.js +1 -1
  21. package/dist/assets/jss/components/headerLinksStyle.js +95 -97
  22. package/dist/assets/jss/components/headerStyle.js +60 -62
  23. package/dist/assets/jss/components/navbarLinksStyle.js +137 -139
  24. package/dist/assets/jss/components/navbarStyle.js +71 -73
  25. package/dist/assets/jss/components/sidebarStyle.js +453 -455
  26. package/dist/assets/jss/components/typographyStyle.js +1 -1
  27. package/dist/assets/jss/rootStyle.js +57 -57
  28. package/dist/assets/jss/views/layoutStyle.js +42 -44
  29. package/dist/assets/jss/views/loginBasicStyle.js +1 -1
  30. package/dist/assets/jss/views/loginStyle.js +87 -89
  31. package/dist/components/AlertBar.js +21 -23
  32. package/dist/components/AlertItem.js +23 -25
  33. package/dist/components/AlertTemplate.js +29 -30
  34. package/dist/components/Button.js +35 -37
  35. package/dist/components/ConfirmationDialog.js +3 -3
  36. package/dist/components/DataGrid.js +250 -276
  37. package/dist/components/DataGridColumn.js +34 -36
  38. package/dist/components/DataGridFilter.js +92 -94
  39. package/dist/components/DataGridHeading.js +32 -38
  40. package/dist/components/DocumentViewer.js +12 -11
  41. package/dist/components/Graph.js +34 -50
  42. package/dist/components/GraphNode.js +53 -56
  43. package/dist/components/HtmlPanel.js +6 -8
  44. package/dist/components/Icon.js +28 -58
  45. package/dist/components/LoadingIndicator.js +2 -2
  46. package/dist/components/PopupView.js +15 -17
  47. package/dist/components/RegularButton.js +20 -20
  48. package/dist/components/TabPage.js +23 -25
  49. package/dist/components/TabPanel.js +34 -34
  50. package/dist/components/TableCellContent.js +34 -34
  51. package/dist/components/TitleBar.js +16 -16
  52. package/dist/components/Toolbar.js +112 -118
  53. package/dist/components/Tooltip.js +35 -43
  54. package/dist/components/Tree.js +54 -60
  55. package/dist/components/card/Card.js +17 -17
  56. package/dist/components/card/CardAvatar.js +10 -10
  57. package/dist/components/card/CardBody.js +14 -14
  58. package/dist/components/card/CardFooter.js +13 -13
  59. package/dist/components/card/CardHeader.js +14 -14
  60. package/dist/components/card/CardIcon.js +7 -7
  61. package/dist/components/card/CardText.js +7 -7
  62. package/dist/components/customInput/CustomInput.js +17 -17
  63. package/dist/components/dashboard/BasicApp.js +25 -25
  64. package/dist/components/dashboard/BasicBusinessApp.js +116 -119
  65. package/dist/components/dashboard/components/Header.js +11 -11
  66. package/dist/components/dashboard/components/LeftDrawer.js +3 -3
  67. package/dist/components/dashboard/components/UserIdentity.js +2 -2
  68. package/dist/components/dashboard/components/blackDashboard/fixedPlugin/FixedPlugin.js +85 -127
  69. package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +151 -191
  70. package/dist/components/footer/Footer.js +8 -8
  71. package/dist/components/footer/HomeFooter.js +34 -66
  72. package/dist/components/form/BaseField.js +78 -78
  73. package/dist/components/form/Checkbox.js +8 -10
  74. package/dist/components/form/DatePicker.js +15 -19
  75. package/dist/components/form/FieldSet.js +62 -88
  76. package/dist/components/form/Form.js +317 -318
  77. package/dist/components/form/GridField.js +81 -86
  78. package/dist/components/form/LabelField.js +10 -12
  79. package/dist/components/form/LookupField.js +40 -42
  80. package/dist/components/form/Section.js +37 -39
  81. package/dist/components/form/SelectItem.js +35 -39
  82. package/dist/components/form/TextField.js +18 -22
  83. package/dist/components/form/TimePicker.js +15 -19
  84. package/dist/components/form/TransferList.js +83 -91
  85. package/dist/components/form/UploadField.js +135 -145
  86. package/dist/components/grid/GridContainer.js +6 -6
  87. package/dist/components/grid/GridItem.js +6 -6
  88. package/dist/components/layout/CollapsiblePanel.js +18 -20
  89. package/dist/components/layout/Layout.js +70 -72
  90. package/dist/components/layout/View.js +134 -136
  91. package/dist/components/layout/ViewPort.js +56 -98
  92. package/dist/components/menu/CollapsibleMenu.js +26 -28
  93. package/dist/components/menu/MenuBars.js +53 -59
  94. package/dist/components/menu/MenuButton.js +70 -77
  95. package/dist/components/menu/MenuItem.js +15 -17
  96. package/dist/components/menu/MenuLink.js +9 -11
  97. package/dist/components/menu/PopupMenu.js +12 -16
  98. package/dist/components/navbars/AuthNavbar.js +12 -12
  99. package/dist/components/navbars/HomeNavbar.js +175 -222
  100. package/dist/components/navbars/NavbarLinks.js +45 -46
  101. package/dist/components/typography/Danger.js +3 -3
  102. package/dist/components/typography/Info.js +3 -3
  103. package/dist/components/typography/Link.js +3 -3
  104. package/dist/event/ActionHandlers.js +43 -57
  105. package/dist/event/Event.js +13 -16
  106. package/dist/event/EventListener.js +36 -39
  107. package/dist/event/EventType.js +1 -5
  108. package/dist/event/LoadDataActionHandler.js +8 -20
  109. package/dist/event/Observable.js +162 -198
  110. package/dist/event/RouteActionHandler.js +76 -88
  111. package/dist/event/ScriptActionHandler.js +8 -20
  112. package/dist/event/ServiceCallActionHandler.js +28 -40
  113. package/dist/event/SignalGraphActionHandler.js +7 -19
  114. package/dist/js/Addresses.js +15 -27
  115. package/dist/js/DynamicLib.js +11 -14
  116. package/dist/js/Validators.js +5 -6
  117. package/dist/redux/store/ConfigureStore.js +6 -6
  118. package/dist/redux/store/DashboardStore.js +83 -95
  119. package/dist/redux/store/History.js +1 -1
  120. package/dist/redux/store/SecurityStore.js +41 -45
  121. package/dist/security/TokenManager.js +30 -44
  122. package/dist/theme-default.js +1 -1
  123. package/dist/view/Dashboard.js +108 -114
  124. package/dist/view/Settings.js +2 -4
  125. package/dist/view/security/ChangePasswordBasic.js +96 -100
  126. package/dist/view/security/ForgotPassword.js +52 -56
  127. package/dist/view/security/ForgotPasswordBasic.js +48 -54
  128. package/dist/view/security/Login.js +58 -62
  129. package/dist/view/security/LoginBasic.js +50 -54
  130. package/dist/view/security/ResetPassword.js +58 -62
  131. package/dist/view/security/ResetPasswordBasic.js +89 -93
  132. package/dist/view/security/Security.js +12 -12
  133. package/package.json +1 -1
@@ -13,478 +13,476 @@ 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
- var sidebarStyle = function sidebarStyle(theme) {
17
- return {
18
- drawerPaperRTL: {
19
- [theme.breakpoints.up("md")]: {
20
- left: "auto !important",
21
- right: "0 !important"
22
- },
23
- [theme.breakpoints.down("sm")]: {
24
- left: "0 !important",
25
- right: "auto !important"
26
- }
16
+ const sidebarStyle = theme => ({
17
+ drawerPaperRTL: {
18
+ [theme.breakpoints.up("md")]: {
19
+ left: "auto !important",
20
+ right: "0 !important"
21
+ },
22
+ [theme.breakpoints.down("sm")]: {
23
+ left: "0 !important",
24
+ right: "auto !important"
25
+ }
26
+ },
27
+ drawerPaper: _objectSpread(_objectSpread({
28
+ border: "none",
29
+ position: "fixed",
30
+ top: "0",
31
+ bottom: "0",
32
+ left: "0",
33
+ zIndex: "1032",
34
+ transitionProperty: "top, bottom, width",
35
+ transitionDuration: ".2s, .2s, .35s",
36
+ transitionTimingFunction: "linear, linear, ease"
37
+ }, _rootStyle.boxShadow), {}, {
38
+ width: _rootStyle.drawerWidth,
39
+ [theme.breakpoints.up("md")]: {
40
+ width: _rootStyle.drawerWidth,
41
+ position: "fixed",
42
+ height: "100%"
27
43
  },
28
- drawerPaper: _objectSpread(_objectSpread({
29
- border: "none",
44
+ [theme.breakpoints.down("sm")]: _objectSpread(_objectSpread({
45
+ width: _rootStyle.drawerWidth
46
+ }, _rootStyle.boxShadow), {}, {
30
47
  position: "fixed",
48
+ display: "block",
31
49
  top: "0",
32
- bottom: "0",
33
- left: "0",
50
+ height: "100vh",
51
+ right: "0",
52
+ left: "auto",
34
53
  zIndex: "1032",
35
- transitionProperty: "top, bottom, width",
36
- transitionDuration: ".2s, .2s, .35s",
37
- transitionTimingFunction: "linear, linear, ease"
38
- }, _rootStyle.boxShadow), {}, {
39
- width: _rootStyle.drawerWidth,
40
- [theme.breakpoints.up("md")]: {
41
- width: _rootStyle.drawerWidth,
42
- position: "fixed",
43
- height: "100%"
44
- },
45
- [theme.breakpoints.down("sm")]: _objectSpread(_objectSpread({
46
- width: _rootStyle.drawerWidth
47
- }, _rootStyle.boxShadow), {}, {
48
- position: "fixed",
49
- display: "block",
50
- top: "0",
51
- height: "100vh",
52
- right: "0",
53
- left: "auto",
54
- zIndex: "1032",
55
- visibility: "visible",
56
- overflowY: "visible",
57
- borderTop: "none",
58
- textAlign: "left",
59
- paddingRight: "0px",
60
- paddingLeft: "0",
61
- transform: "translate3d(".concat(_rootStyle.drawerWidth, "px, 0, 0)")
62
- }, _rootStyle.transition),
63
- "&:before,&:after": {
64
- position: "absolute",
65
- zIndex: "3",
66
- width: "100%",
67
- height: "100%",
68
- content: '""',
69
- display: "block",
70
- top: "0"
71
- }
72
- }),
73
- blackBackground: {
74
- color: _rootStyle.whiteColor,
75
- "&:after": {
76
- background: _rootStyle.blackColor,
77
- opacity: ".8"
78
- }
79
- },
80
- blueBackground: {
81
- color: _rootStyle.whiteColor,
82
- "&:after": {
83
- background: _rootStyle.infoColor[0],
84
- opacity: ".93"
85
- }
86
- },
87
- whiteBackground: {
88
- color: _rootStyle.grayColor[2],
89
- "&:after": {
90
- background: _rootStyle.whiteColor,
91
- opacity: ".93"
92
- }
93
- },
94
- whiteAfter: {
95
- "&:after": {
96
- backgroundColor: "hsla(0,0%,71%,.3) !important"
97
- }
98
- },
99
- drawerPaperMini: {
100
- width: _rootStyle.drawerMiniWidth + "px!important"
101
- },
102
- logo: {
103
- padding: "15px 0px",
104
- margin: "0",
105
- display: "block",
106
- position: "relative",
107
- zIndex: "4",
108
- "&:after": {
109
- content: '""',
110
- position: "absolute",
111
- bottom: "0",
112
- height: "1px",
113
- right: "15px",
114
- width: "calc(100% - 30px)",
115
- backgroundColor: "hsla(0,0%,100%,.3)"
116
- }
117
- },
118
- logoMini: {
119
- transition: "all 300ms linear",
120
- opacity: 1,
121
- float: "left",
122
- textAlign: "center",
123
- width: "30px",
124
- display: "inline-block",
125
- maxHeight: "30px",
126
- marginLeft: "22px",
127
- marginRight: "18px",
128
- marginTop: "7px",
129
- color: "inherit"
130
- },
131
- logoMiniRTL: {
132
- float: "right",
133
- marginRight: "30px",
134
- marginLeft: "26px"
135
- },
136
- logoNormal: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
137
- transition: "all 300ms linear",
138
- display: "block",
139
- opacity: "1",
140
- transform: "translate3d(0px, 0, 0)",
141
- textTransform: "uppercase",
142
- padding: "5px 0px",
143
- fontSize: "18px",
144
- whiteSpace: "nowrap",
145
- fontWeight: "400",
146
- lineHeight: "30px",
147
- overflow: "hidden",
148
- "&,&:hover,&:focus": {
149
- color: "inherit"
150
- }
151
- }),
152
- logoNormalRTL: {
153
- textAlign: "right"
154
- },
155
- logoNormalSidebarMini: {
156
- opacity: "0",
157
- transform: "translate3d(-25px, 0, 0)"
158
- },
159
- logoNormalSidebarMiniRTL: {
160
- transform: "translate3d(25px, 0, 0)"
161
- },
162
- img: {
163
- width: "35px",
164
- verticalAlign: "middle",
165
- border: "0"
166
- },
167
- background: {
54
+ visibility: "visible",
55
+ overflowY: "visible",
56
+ borderTop: "none",
57
+ textAlign: "left",
58
+ paddingRight: "0px",
59
+ paddingLeft: "0",
60
+ transform: "translate3d(".concat(_rootStyle.drawerWidth, "px, 0, 0)")
61
+ }, _rootStyle.transition),
62
+ "&:before,&:after": {
168
63
  position: "absolute",
169
- zIndex: "1",
170
- height: "100%",
64
+ zIndex: "3",
171
65
  width: "100%",
66
+ height: "100%",
67
+ content: '""',
172
68
  display: "block",
173
- top: "0",
174
- left: "0",
175
- backgroundSize: "cover",
176
- backgroundPosition: "center center",
177
- transition: "all 300ms linear"
178
- },
179
- list: {
180
- marginTop: "15px",
181
- paddingLeft: "0",
182
- paddingTop: "0",
183
- paddingBottom: "0",
184
- marginBottom: "0",
185
- listStyle: "none",
186
- color: "inherit",
187
- "&:before,&:after": {
188
- display: "table",
189
- content: '" "'
190
- },
191
- "&:after": {
192
- clear: "both"
193
- }
194
- },
195
- item: {
196
- color: "inherit",
197
- position: "relative",
198
- display: "block",
199
- textDecoration: "none",
200
- margin: "0",
201
- padding: "0"
202
- },
203
- userItem: {
204
- "&:last-child": {
205
- paddingBottom: "0px"
206
- }
207
- },
208
- itemLink: _objectSpread(_objectSpread({
209
- paddingLeft: "10px",
210
- paddingRight: "10px",
211
- transition: "all 300ms linear",
212
- margin: "10px 15px 0",
213
- borderRadius: "3px",
214
- position: "relative",
215
- display: "block",
216
- padding: "10px 15px",
217
- backgroundColor: "transparent"
218
- }, _rootStyle.defaultFont), {}, {
219
- width: "auto",
220
- "&:hover": {
221
- outline: "none",
222
- backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[17]) + ", 0.2)",
223
- boxShadow: "none"
224
- },
225
- "&,&:hover,&:focus": {
226
- color: "inherit"
227
- }
228
- }),
229
- itemIcon: {
230
- color: "inherit",
231
- width: "30px",
232
- height: "24px",
233
- float: "left",
234
- position: "inherit",
235
- top: "3px",
236
- marginRight: "15px",
237
- textAlign: "center",
238
- verticalAlign: "middle",
239
- opacity: "0.8"
240
- },
241
- itemIconRTL: {
242
- float: "right",
243
- marginLeft: "15px",
244
- marginRight: "1px"
245
- },
246
- itemText: _objectSpread(_objectSpread({
69
+ top: "0"
70
+ }
71
+ }),
72
+ blackBackground: {
73
+ color: _rootStyle.whiteColor,
74
+ "&:after": {
75
+ background: _rootStyle.blackColor,
76
+ opacity: ".8"
77
+ }
78
+ },
79
+ blueBackground: {
80
+ color: _rootStyle.whiteColor,
81
+ "&:after": {
82
+ background: _rootStyle.infoColor[0],
83
+ opacity: ".93"
84
+ }
85
+ },
86
+ whiteBackground: {
87
+ color: _rootStyle.grayColor[2],
88
+ "&:after": {
89
+ background: _rootStyle.whiteColor,
90
+ opacity: ".93"
91
+ }
92
+ },
93
+ whiteAfter: {
94
+ "&:after": {
95
+ backgroundColor: "hsla(0,0%,71%,.3) !important"
96
+ }
97
+ },
98
+ drawerPaperMini: {
99
+ width: _rootStyle.drawerMiniWidth + "px!important"
100
+ },
101
+ logo: {
102
+ padding: "15px 0px",
103
+ margin: "0",
104
+ display: "block",
105
+ position: "relative",
106
+ zIndex: "4",
107
+ "&:after": {
108
+ content: '""',
109
+ position: "absolute",
110
+ bottom: "0",
111
+ height: "1px",
112
+ right: "15px",
113
+ width: "calc(100% - 30px)",
114
+ backgroundColor: "hsla(0,0%,100%,.3)"
115
+ }
116
+ },
117
+ logoMini: {
118
+ transition: "all 300ms linear",
119
+ opacity: 1,
120
+ float: "left",
121
+ textAlign: "center",
122
+ width: "30px",
123
+ display: "inline-block",
124
+ maxHeight: "30px",
125
+ marginLeft: "22px",
126
+ marginRight: "18px",
127
+ marginTop: "7px",
128
+ color: "inherit"
129
+ },
130
+ logoMiniRTL: {
131
+ float: "right",
132
+ marginRight: "30px",
133
+ marginLeft: "26px"
134
+ },
135
+ logoNormal: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
136
+ transition: "all 300ms linear",
137
+ display: "block",
138
+ opacity: "1",
139
+ transform: "translate3d(0px, 0, 0)",
140
+ textTransform: "uppercase",
141
+ padding: "5px 0px",
142
+ fontSize: "18px",
143
+ whiteSpace: "nowrap",
144
+ fontWeight: "400",
145
+ lineHeight: "30px",
146
+ overflow: "hidden",
147
+ "&,&:hover,&:focus": {
247
148
  color: "inherit"
248
- }, _rootStyle.defaultFont), {}, {
249
- margin: "0",
250
- lineHeight: "30px",
251
- fontSize: "14px",
252
- transform: "translate3d(0px, 0, 0)",
253
- opacity: "1",
254
- transition: "transform 300ms ease 0s, opacity 300ms ease 0s",
255
- position: "relative",
256
- display: "block",
257
- height: "auto",
258
- whiteSpace: "nowrap",
259
- padding: "0 16px !important"
260
- }),
261
- userItemText: {
262
- lineHeight: "22px"
263
- },
264
- itemTextRTL: {
265
- marginRight: "45px",
266
- textAlign: "right"
267
- },
268
- itemTextMini: {
269
- transform: "translate3d(-25px, 0, 0)",
270
- opacity: "0"
271
- },
272
- itemTextMiniRTL: {
273
- transform: "translate3d(25px, 0, 0) !important"
274
- },
275
- collapseList: {
276
- marginTop: "0",
277
- "& $caret": {
278
- marginTop: "8px"
279
- }
280
- },
281
- collapseItem: {
282
- position: "relative",
283
- display: "block",
284
- textDecoration: "none",
285
- margin: "10px 0 0 0",
286
- padding: "0"
287
- },
288
- collapseActive: {
149
+ }
150
+ }),
151
+ logoNormalRTL: {
152
+ textAlign: "right"
153
+ },
154
+ logoNormalSidebarMini: {
155
+ opacity: "0",
156
+ transform: "translate3d(-25px, 0, 0)"
157
+ },
158
+ logoNormalSidebarMiniRTL: {
159
+ transform: "translate3d(25px, 0, 0)"
160
+ },
161
+ img: {
162
+ width: "35px",
163
+ verticalAlign: "middle",
164
+ border: "0"
165
+ },
166
+ background: {
167
+ position: "absolute",
168
+ zIndex: "1",
169
+ height: "100%",
170
+ width: "100%",
171
+ display: "block",
172
+ top: "0",
173
+ left: "0",
174
+ backgroundSize: "cover",
175
+ backgroundPosition: "center center",
176
+ transition: "all 300ms linear"
177
+ },
178
+ list: {
179
+ marginTop: "15px",
180
+ paddingLeft: "0",
181
+ paddingTop: "0",
182
+ paddingBottom: "0",
183
+ marginBottom: "0",
184
+ listStyle: "none",
185
+ color: "inherit",
186
+ "&:before,&:after": {
187
+ display: "table",
188
+ content: '" "'
189
+ },
190
+ "&:after": {
191
+ clear: "both"
192
+ }
193
+ },
194
+ item: {
195
+ color: "inherit",
196
+ position: "relative",
197
+ display: "block",
198
+ textDecoration: "none",
199
+ margin: "0",
200
+ padding: "0"
201
+ },
202
+ userItem: {
203
+ "&:last-child": {
204
+ paddingBottom: "0px"
205
+ }
206
+ },
207
+ itemLink: _objectSpread(_objectSpread({
208
+ paddingLeft: "10px",
209
+ paddingRight: "10px",
210
+ transition: "all 300ms linear",
211
+ margin: "10px 15px 0",
212
+ borderRadius: "3px",
213
+ position: "relative",
214
+ display: "block",
215
+ padding: "10px 15px",
216
+ backgroundColor: "transparent"
217
+ }, _rootStyle.defaultFont), {}, {
218
+ width: "auto",
219
+ "&:hover": {
289
220
  outline: "none",
290
221
  backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[17]) + ", 0.2)",
291
222
  boxShadow: "none"
292
223
  },
293
- collapseItemLink: _objectSpread(_objectSpread({
294
- transition: "all 300ms linear",
295
- margin: "0 15px",
296
- borderRadius: "3px",
297
- position: "relative",
298
- display: "block",
299
- padding: "10px",
300
- backgroundColor: "transparent"
301
- }, _rootStyle.defaultFont), {}, {
302
- width: "auto",
303
- "&:hover": {
304
- outline: "none",
305
- backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[17]) + ", 0.2)",
306
- boxShadow: "none"
307
- },
308
- "&,&:hover,&:focus": {
309
- color: "inherit"
310
- }
311
- }),
312
- collapseItemMini: _objectSpread(_objectSpread({
224
+ "&,&:hover,&:focus": {
313
225
  color: "inherit"
314
- }, _rootStyle.defaultFont), {}, {
315
- textTransform: "uppercase",
316
- width: "30px",
317
- marginRight: "15px",
318
- textAlign: "center",
319
- letterSpacing: "1px",
320
- position: "relative",
321
- float: "left",
322
- display: "inherit",
323
- transition: "transform 300ms ease 0s, opacity 300ms ease 0s",
324
- fontSize: "14px"
325
- }),
326
- collapseItemMiniRTL: {
327
- float: "right",
328
- marginLeft: "30px",
329
- marginRight: "1px"
226
+ }
227
+ }),
228
+ itemIcon: {
229
+ color: "inherit",
230
+ width: "30px",
231
+ height: "24px",
232
+ float: "left",
233
+ position: "inherit",
234
+ top: "3px",
235
+ marginRight: "15px",
236
+ textAlign: "center",
237
+ verticalAlign: "middle",
238
+ opacity: "0.8"
239
+ },
240
+ itemIconRTL: {
241
+ float: "right",
242
+ marginLeft: "15px",
243
+ marginRight: "1px"
244
+ },
245
+ itemText: _objectSpread(_objectSpread({
246
+ color: "inherit"
247
+ }, _rootStyle.defaultFont), {}, {
248
+ margin: "0",
249
+ lineHeight: "30px",
250
+ fontSize: "14px",
251
+ transform: "translate3d(0px, 0, 0)",
252
+ opacity: "1",
253
+ transition: "transform 300ms ease 0s, opacity 300ms ease 0s",
254
+ position: "relative",
255
+ display: "block",
256
+ height: "auto",
257
+ whiteSpace: "nowrap",
258
+ padding: "0 16px !important"
259
+ }),
260
+ userItemText: {
261
+ lineHeight: "22px"
262
+ },
263
+ itemTextRTL: {
264
+ marginRight: "45px",
265
+ textAlign: "right"
266
+ },
267
+ itemTextMini: {
268
+ transform: "translate3d(-25px, 0, 0)",
269
+ opacity: "0"
270
+ },
271
+ itemTextMiniRTL: {
272
+ transform: "translate3d(25px, 0, 0) !important"
273
+ },
274
+ collapseList: {
275
+ marginTop: "0",
276
+ "& $caret": {
277
+ marginTop: "8px"
278
+ }
279
+ },
280
+ collapseItem: {
281
+ position: "relative",
282
+ display: "block",
283
+ textDecoration: "none",
284
+ margin: "10px 0 0 0",
285
+ padding: "0"
286
+ },
287
+ collapseActive: {
288
+ outline: "none",
289
+ backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[17]) + ", 0.2)",
290
+ boxShadow: "none"
291
+ },
292
+ collapseItemLink: _objectSpread(_objectSpread({
293
+ transition: "all 300ms linear",
294
+ margin: "0 15px",
295
+ borderRadius: "3px",
296
+ position: "relative",
297
+ display: "block",
298
+ padding: "10px",
299
+ backgroundColor: "transparent"
300
+ }, _rootStyle.defaultFont), {}, {
301
+ width: "auto",
302
+ "&:hover": {
303
+ outline: "none",
304
+ backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[17]) + ", 0.2)",
305
+ boxShadow: "none"
330
306
  },
331
- collapseItemText: _objectSpread(_objectSpread({
307
+ "&,&:hover,&:focus": {
332
308
  color: "inherit"
333
- }, _rootStyle.defaultFont), {}, {
334
- margin: "0",
335
- position: "relative",
336
- transform: "translateX(0px)",
337
- opacity: "1",
338
- whiteSpace: "nowrap",
339
- display: "block",
340
- transition: "transform 300ms ease 0s, opacity 300ms ease 0s",
341
- fontSize: "14px"
342
- }),
343
- collapseItemTextRTL: {
344
- textAlign: "right"
345
- },
346
- collapseItemTextMiniRTL: {
347
- transform: "translate3d(25px, 0, 0) !important"
348
- },
349
- collapseItemTextMini: {
350
- transform: "translate3d(-25px, 0, 0)",
351
- opacity: "0"
352
- },
353
- caret: {
354
- marginTop: "13px",
309
+ }
310
+ }),
311
+ collapseItemMini: _objectSpread(_objectSpread({
312
+ color: "inherit"
313
+ }, _rootStyle.defaultFont), {}, {
314
+ textTransform: "uppercase",
315
+ width: "30px",
316
+ marginRight: "15px",
317
+ textAlign: "center",
318
+ letterSpacing: "1px",
319
+ position: "relative",
320
+ float: "left",
321
+ display: "inherit",
322
+ transition: "transform 300ms ease 0s, opacity 300ms ease 0s",
323
+ fontSize: "14px"
324
+ }),
325
+ collapseItemMiniRTL: {
326
+ float: "right",
327
+ marginLeft: "30px",
328
+ marginRight: "1px"
329
+ },
330
+ collapseItemText: _objectSpread(_objectSpread({
331
+ color: "inherit"
332
+ }, _rootStyle.defaultFont), {}, {
333
+ margin: "0",
334
+ position: "relative",
335
+ transform: "translateX(0px)",
336
+ opacity: "1",
337
+ whiteSpace: "nowrap",
338
+ display: "block",
339
+ transition: "transform 300ms ease 0s, opacity 300ms ease 0s",
340
+ fontSize: "14px"
341
+ }),
342
+ collapseItemTextRTL: {
343
+ textAlign: "right"
344
+ },
345
+ collapseItemTextMiniRTL: {
346
+ transform: "translate3d(25px, 0, 0) !important"
347
+ },
348
+ collapseItemTextMini: {
349
+ transform: "translate3d(-25px, 0, 0)",
350
+ opacity: "0"
351
+ },
352
+ caret: {
353
+ marginTop: "13px",
354
+ position: "absolute",
355
+ right: "18px",
356
+ transition: "all 150ms ease-in",
357
+ display: "inline-block",
358
+ width: "0",
359
+ height: "0",
360
+ marginLeft: "2px",
361
+ verticalAlign: "middle",
362
+ borderTop: "4px solid",
363
+ borderRight: "4px solid transparent",
364
+ borderLeft: "4px solid transparent"
365
+ },
366
+ userCaret: {
367
+ marginTop: "10px"
368
+ },
369
+ caretRTL: {
370
+ left: "11px",
371
+ right: "auto"
372
+ },
373
+ caretActive: {
374
+ transform: "rotate(-360deg)"
375
+ },
376
+ purple: {
377
+ "&,&:hover,&:focus": _objectSpread({
378
+ color: _rootStyle.whiteColor,
379
+ backgroundColor: _rootStyle.primaryColor[0]
380
+ }, _rootStyle.primaryBoxShadow)
381
+ },
382
+ blue: {
383
+ "&,&:hover,&:focus": {
384
+ color: _rootStyle.whiteColor,
385
+ backgroundColor: _rootStyle.infoColor[0],
386
+ boxShadow: "0 12px 20px -10px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.infoColor[0]) + ",.28), 0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.12), 0 7px 8px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.infoColor[0]) + ",.2)"
387
+ }
388
+ },
389
+ green: {
390
+ "&,&:hover,&:focus": {
391
+ color: _rootStyle.whiteColor,
392
+ backgroundColor: _rootStyle.successColor[0],
393
+ boxShadow: "0 12px 20px -10px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.successColor[0]) + ",.28), 0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.12), 0 7px 8px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.successColor[0]) + ",.2)"
394
+ }
395
+ },
396
+ orange: {
397
+ "&,&:hover,&:focus": {
398
+ color: _rootStyle.whiteColor,
399
+ backgroundColor: _rootStyle.warningColor[0],
400
+ boxShadow: "0 12px 20px -10px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.warningColor[0]) + ",.28), 0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.12), 0 7px 8px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.warningColor[0]) + ",.2)"
401
+ }
402
+ },
403
+ red: {
404
+ "&,&:hover,&:focus": {
405
+ color: _rootStyle.whiteColor,
406
+ backgroundColor: _rootStyle.dangerColor[0],
407
+ boxShadow: "0 12px 20px -10px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.dangerColor[0]) + ",.28), 0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.12), 0 7px 8px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.dangerColor[0]) + ",.2)"
408
+ }
409
+ },
410
+ white: {
411
+ "&,&:hover,&:focus": {
412
+ color: _rootStyle.grayColor[2],
413
+ backgroundColor: _rootStyle.whiteColor,
414
+ boxShadow: "0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.14), 0 7px 10px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[2]) + ",.4)"
415
+ }
416
+ },
417
+ rose: {
418
+ "&,&:hover,&:focus": {
419
+ color: _rootStyle.whiteColor,
420
+ backgroundColor: _rootStyle.roseColor[0],
421
+ boxShadow: "0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.14), 0 7px 10px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.roseColor[0]) + ",.4)"
422
+ }
423
+ },
424
+ sidebarWrapper: {
425
+ position: "relative",
426
+ height: "calc(100vh - 75px)",
427
+ overflow: "auto",
428
+ width: "260px",
429
+ zIndex: "4",
430
+ overflowScrolling: "touch",
431
+ transitionProperty: "top, bottom, width",
432
+ transitionDuration: ".2s, .2s, .35s",
433
+ transitionTimingFunction: "linear, linear, ease",
434
+ color: "inherit",
435
+ paddingBottom: "30px"
436
+ },
437
+ sidebarWrapperWithPerfectScrollbar: {
438
+ overflow: "hidden !important"
439
+ },
440
+ user: {
441
+ paddingBottom: "20px",
442
+ margin: "20px auto 0",
443
+ position: "relative",
444
+ "&:after": {
445
+ content: '""',
355
446
  position: "absolute",
356
- right: "18px",
357
- transition: "all 150ms ease-in",
358
- display: "inline-block",
359
- width: "0",
360
- height: "0",
361
- marginLeft: "2px",
362
- verticalAlign: "middle",
363
- borderTop: "4px solid",
364
- borderRight: "4px solid transparent",
365
- borderLeft: "4px solid transparent"
366
- },
367
- userCaret: {
368
- marginTop: "10px"
369
- },
370
- caretRTL: {
371
- left: "11px",
372
- right: "auto"
373
- },
374
- caretActive: {
375
- transform: "rotate(-360deg)"
376
- },
377
- purple: {
378
- "&,&:hover,&:focus": _objectSpread({
379
- color: _rootStyle.whiteColor,
380
- backgroundColor: _rootStyle.primaryColor[0]
381
- }, _rootStyle.primaryBoxShadow)
382
- },
383
- blue: {
384
- "&,&:hover,&:focus": {
385
- color: _rootStyle.whiteColor,
386
- backgroundColor: _rootStyle.infoColor[0],
387
- boxShadow: "0 12px 20px -10px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.infoColor[0]) + ",.28), 0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.12), 0 7px 8px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.infoColor[0]) + ",.2)"
388
- }
389
- },
390
- green: {
391
- "&,&:hover,&:focus": {
392
- color: _rootStyle.whiteColor,
393
- backgroundColor: _rootStyle.successColor[0],
394
- boxShadow: "0 12px 20px -10px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.successColor[0]) + ",.28), 0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.12), 0 7px 8px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.successColor[0]) + ",.2)"
395
- }
396
- },
397
- orange: {
398
- "&,&:hover,&:focus": {
399
- color: _rootStyle.whiteColor,
400
- backgroundColor: _rootStyle.warningColor[0],
401
- boxShadow: "0 12px 20px -10px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.warningColor[0]) + ",.28), 0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.12), 0 7px 8px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.warningColor[0]) + ",.2)"
402
- }
403
- },
404
- red: {
405
- "&,&:hover,&:focus": {
406
- color: _rootStyle.whiteColor,
407
- backgroundColor: _rootStyle.dangerColor[0],
408
- boxShadow: "0 12px 20px -10px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.dangerColor[0]) + ",.28), 0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.12), 0 7px 8px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.dangerColor[0]) + ",.2)"
409
- }
410
- },
411
- white: {
412
- "&,&:hover,&:focus": {
413
- color: _rootStyle.grayColor[2],
414
- backgroundColor: _rootStyle.whiteColor,
415
- boxShadow: "0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.14), 0 7px 10px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[2]) + ",.4)"
416
- }
417
- },
418
- rose: {
419
- "&,&:hover,&:focus": {
420
- color: _rootStyle.whiteColor,
421
- backgroundColor: _rootStyle.roseColor[0],
422
- boxShadow: "0 4px 20px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ",.14), 0 7px 10px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.roseColor[0]) + ",.4)"
423
- }
424
- },
425
- sidebarWrapper: {
426
- position: "relative",
427
- height: "calc(100vh - 75px)",
428
- overflow: "auto",
429
- width: "260px",
430
- zIndex: "4",
431
- overflowScrolling: "touch",
432
- transitionProperty: "top, bottom, width",
433
- transitionDuration: ".2s, .2s, .35s",
434
- transitionTimingFunction: "linear, linear, ease",
435
- color: "inherit",
436
- paddingBottom: "30px"
437
- },
438
- sidebarWrapperWithPerfectScrollbar: {
439
- overflow: "hidden !important"
440
- },
441
- user: {
442
- paddingBottom: "20px",
443
- margin: "20px auto 0",
444
- position: "relative",
445
- "&:after": {
446
- content: '""',
447
- position: "absolute",
448
- bottom: "0",
449
- right: "15px",
450
- height: "1px",
451
- width: "calc(100% - 30px)",
452
- backgroundColor: "hsla(0,0%,100%,.3)"
453
- }
454
- },
455
- photo: _objectSpread({
456
- transition: "all 300ms linear",
457
- width: "34px",
458
- height: "34px",
459
- overflow: "hidden",
460
- float: "left",
461
- zIndex: "5",
462
- marginRight: "11px",
463
- borderRadius: "50%",
464
- marginLeft: "23px"
465
- }, _rootStyle.boxShadow),
466
- photoRTL: {
467
- float: "right",
468
- marginLeft: "12px",
469
- marginRight: "24px"
470
- },
471
- avatarImg: {
472
- width: "100%",
473
- verticalAlign: "middle",
474
- border: "0"
475
- },
476
- userCollapseButton: {
477
- margin: "0",
478
- padding: "6px 15px",
479
- "&:hover": {
480
- background: "none"
481
- }
482
- },
483
- userCollapseLinks: {
484
- marginTop: "-4px"
447
+ bottom: "0",
448
+ right: "15px",
449
+ height: "1px",
450
+ width: "calc(100% - 30px)",
451
+ backgroundColor: "hsla(0,0%,100%,.3)"
452
+ }
453
+ },
454
+ photo: _objectSpread({
455
+ transition: "all 300ms linear",
456
+ width: "34px",
457
+ height: "34px",
458
+ overflow: "hidden",
459
+ float: "left",
460
+ zIndex: "5",
461
+ marginRight: "11px",
462
+ borderRadius: "50%",
463
+ marginLeft: "23px"
464
+ }, _rootStyle.boxShadow),
465
+ photoRTL: {
466
+ float: "right",
467
+ marginLeft: "12px",
468
+ marginRight: "24px"
469
+ },
470
+ avatarImg: {
471
+ width: "100%",
472
+ verticalAlign: "middle",
473
+ border: "0"
474
+ },
475
+ userCollapseButton: {
476
+ margin: "0",
477
+ padding: "6px 15px",
478
+ "&:hover": {
479
+ background: "none"
485
480
  }
486
- };
487
- };
481
+ },
482
+ userCollapseLinks: {
483
+ marginTop: "-4px"
484
+ }
485
+ });
488
486
 
489
487
  var _default = sidebarStyle;
490
488
  exports.default = _default;