@agilemotion/oui-react-js 1.6.4 → 1.6.5

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