@agilemotion/oui-react-js 1.6.1 → 1.6.3

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 (228) hide show
  1. package/dist/ApplicationManager.js +698 -421
  2. package/dist/BasicApp.js +5 -5
  3. package/dist/BasicAppHome.js +55 -26
  4. package/dist/DynamicJS.js +147 -65
  5. package/dist/InteractionPortalApp.css +1 -1
  6. package/dist/InteractionPortalApp.js +5 -5
  7. package/dist/InteractionPortalAppHome.js +57 -22
  8. package/dist/InteractionPortalApp_old.js +107 -61
  9. package/dist/RestUtils.js +339 -287
  10. package/dist/TypedValue.js +18 -15
  11. package/dist/Utils.js +375 -276
  12. package/dist/WithRouter.js +6 -6
  13. package/dist/assets/jss/components/authNavbarStyle.js +166 -164
  14. package/dist/assets/jss/components/buttonStyle.js +1 -1
  15. package/dist/assets/jss/components/cardAvatarStyle.js +1 -1
  16. package/dist/assets/jss/components/cardBodyStyle.js +1 -1
  17. package/dist/assets/jss/components/cardFooterStyle.js +1 -1
  18. package/dist/assets/jss/components/cardHeaderStyle.js +13 -13
  19. package/dist/assets/jss/components/cardIconStyle.js +1 -1
  20. package/dist/assets/jss/components/cardStyle.js +1 -1
  21. package/dist/assets/jss/components/cardTextStyle.js +1 -1
  22. package/dist/assets/jss/components/customDropdownStyle.js +168 -169
  23. package/dist/assets/jss/components/customInputStyle.js +9 -3
  24. package/dist/assets/jss/components/dropdownStyle.js +69 -69
  25. package/dist/assets/jss/components/footerStyle.js +19 -13
  26. package/dist/assets/jss/components/headerLinksStyle.js +45 -48
  27. package/dist/assets/jss/components/headerStyle.js +68 -65
  28. package/dist/assets/jss/components/navbarLinksStyle.js +66 -77
  29. package/dist/assets/jss/components/navbarStyle.js +79 -76
  30. package/dist/assets/jss/components/sidebarStyle.js +436 -436
  31. package/dist/assets/jss/components/typographyStyle.js +9 -3
  32. package/dist/assets/jss/rootStyle.js +96 -81
  33. package/dist/assets/jss/views/layoutStyle.js +44 -41
  34. package/dist/assets/jss/views/loginBasicStyle.js +1 -1
  35. package/dist/assets/jss/views/loginBusinessPortalStyle.js +1 -1
  36. package/dist/assets/jss/views/loginStyle.js +82 -77
  37. package/dist/components/AlertBar.js +50 -17
  38. package/dist/components/AlertItem.js +35 -12
  39. package/dist/components/AlertTemplate.js +30 -29
  40. package/dist/components/Button.js +62 -34
  41. package/dist/components/Calendar.js +140 -91
  42. package/dist/components/ConfirmationDialog.js +36 -11
  43. package/dist/components/DataGrid.js +512 -270
  44. package/dist/components/DataGridColumn.js +47 -22
  45. package/dist/components/DataGridFilter.js +186 -105
  46. package/dist/components/DataGridHeading.js +50 -32
  47. package/dist/components/Dialog.js +90 -35
  48. package/dist/components/DocumentTemplateDesigner.js +34 -16
  49. package/dist/components/DocumentTemplateDesignerComponent.js +124 -48
  50. package/dist/components/DocumentTemplatePlaceholderDialog.js +52 -30
  51. package/dist/components/DocumentViewer.js +34 -18
  52. package/dist/components/DocumentViewerComponent.js +26 -9
  53. package/dist/components/ElementResizeHandler.js +229 -207
  54. package/dist/components/FileThumb.js +32 -10
  55. package/dist/components/Graph.js +153 -85
  56. package/dist/components/GraphNode.js +58 -38
  57. package/dist/components/HtmlPanel.js +67 -39
  58. package/dist/components/Icon.js +206 -166
  59. package/dist/components/LoadingIndicator.js +3 -3
  60. package/dist/components/LottieIcon.js +1 -1
  61. package/dist/components/PopupView.js +39 -19
  62. package/dist/components/Portlet.js +32 -17
  63. package/dist/components/RegularButton.js +28 -32
  64. package/dist/components/SignaturePanel.js +37 -17
  65. package/dist/components/SocketManager.js +178 -119
  66. package/dist/components/StepperTitleBar.js +62 -42
  67. package/dist/components/TabPage.js +30 -25
  68. package/dist/components/TabPanel.js +86 -33
  69. package/dist/components/TableCellContent.js +51 -32
  70. package/dist/components/TemplateDesigner.js +173 -121
  71. package/dist/components/TemplateItemEventHandler.js +335 -221
  72. package/dist/components/TemplateTable.js +183 -118
  73. package/dist/components/TitleBar.js +26 -11
  74. package/dist/components/Toolbar.js +67 -38
  75. package/dist/components/Tooltip.js +43 -35
  76. package/dist/components/Tree.js +85 -44
  77. package/dist/components/UseIsVisible.js +25 -4
  78. package/dist/components/card/Card.js +27 -33
  79. package/dist/components/card/CardAvatar.js +20 -19
  80. package/dist/components/card/CardBody.js +24 -27
  81. package/dist/components/card/CardFooter.js +23 -24
  82. package/dist/components/card/CardHeader.js +24 -27
  83. package/dist/components/card/CardIcon.js +17 -13
  84. package/dist/components/card/CardText.js +17 -13
  85. package/dist/components/customInput/CustomInput.js +22 -36
  86. package/dist/components/dashboard/{BasicBusinessAppDashboard.js → FoldingSideTabDashboard.js} +111 -63
  87. package/dist/components/dashboard/SideMenuModuleDashboard.css +60 -0
  88. package/dist/components/dashboard/SideMenuModuleDashboard.js +423 -0
  89. package/dist/components/dashboard/TopMenuModuleDashboard.js +138 -0
  90. package/dist/components/dashboard/components/Header.js +29 -12
  91. package/dist/components/dashboard/components/LeftDrawer.js +3 -5
  92. package/dist/components/dashboard/components/UserIdentity.js +2 -2
  93. package/dist/components/dashboard/components/blackDashboard/fixedPlugin/FixedPlugin.js +131 -87
  94. package/dist/components/dashboard/components/blackDashboard/sidebar/FoldingTabSidebar.js +488 -0
  95. package/dist/components/dashboard/components/blackDashboard/sidebar/ModuleMenu.js +64 -0
  96. package/dist/components/dashboard/components/blackDashboard/sidebar/ModuleMenuSidebar.css +65 -0
  97. package/dist/components/dashboard/components/blackDashboard/sidebar/ModuleMenuSidebar.js +556 -0
  98. package/dist/components/dashboard/components/portal/Timeline.js +1 -1
  99. package/dist/components/dashboard/components/portal/Workspace.js +5 -11
  100. package/dist/components/footer/Footer.js +31 -24
  101. package/dist/components/footer/HomeFooter.js +68 -34
  102. package/dist/components/form/AddressSearch.js +78 -42
  103. package/dist/components/form/AutoComplete.js +136 -55
  104. package/dist/components/form/BaseField.js +108 -56
  105. package/dist/components/form/Checkbox.js +10 -8
  106. package/dist/components/form/DatePicker.js +47 -25
  107. package/dist/components/form/FieldSet.js +217 -84
  108. package/dist/components/form/Form.js +334 -200
  109. package/dist/components/form/GridField.js +185 -82
  110. package/dist/components/form/IconField.js +9 -7
  111. package/dist/components/form/ImageEditor.js +141 -92
  112. package/dist/components/form/LabelField.js +12 -10
  113. package/dist/components/form/LookupField.js +54 -32
  114. package/dist/components/form/MultiFileUploadField.js +101 -67
  115. package/dist/components/form/RadioGroup.js +33 -16
  116. package/dist/components/form/Section.js +84 -34
  117. package/dist/components/form/SelectItem.js +55 -33
  118. package/dist/components/form/SignatureTemplateDesignerField.js +11 -9
  119. package/dist/components/form/Switch.js +10 -8
  120. package/dist/components/form/TextField.js +34 -16
  121. package/dist/components/form/TimePicker.js +19 -15
  122. package/dist/components/form/TransferList.js +153 -75
  123. package/dist/components/form/UploadField.js +183 -128
  124. package/dist/components/grid/GridContainer.js +12 -8
  125. package/dist/components/grid/GridItem.js +12 -8
  126. package/dist/components/layout/CollapsiblePanel.js +44 -18
  127. package/dist/components/layout/Layout.js +81 -40
  128. package/dist/components/layout/VC.css +1 -1
  129. package/dist/components/layout/View.js +136 -62
  130. package/dist/components/layout/ViewContainer.js +13 -11
  131. package/dist/components/layout/ViewPort.js +25 -10
  132. package/dist/components/layout/Window.js +87 -53
  133. package/dist/components/layout/WindowViewPort.js +38 -16
  134. package/dist/components/media/ClosablePanel.js +7 -7
  135. package/dist/components/media/LobbyWaitingList.js +7 -9
  136. package/dist/components/media/MediaSoupHelper.js +379 -187
  137. package/dist/components/media/SideBarContent.js +22 -14
  138. package/dist/components/media/SocketRequest.js +5 -1
  139. package/dist/components/media/SocketResponse.js +5 -1
  140. package/dist/components/media/Timer.js +35 -15
  141. package/dist/components/media/Toolbar.css +5 -0
  142. package/dist/components/media/Toolbar.js +220 -102
  143. package/dist/components/media/ToolbarButton.js +82 -33
  144. package/dist/components/media/Toolbar_bck.js +142 -70
  145. package/dist/components/media/Tracks.js +31 -28
  146. package/dist/components/media/TrainingRoom.js +284 -121
  147. package/dist/components/media/Transports.js +27 -24
  148. package/dist/components/media/VCEventManager.js +95 -31
  149. package/dist/components/media/VCEventType.js +5 -1
  150. package/dist/components/media/VCParticipantList.js +40 -14
  151. package/dist/components/media/VCParticipantListItem.js +92 -41
  152. package/dist/components/media/VCRoom.js +29 -11
  153. package/dist/components/media/VCRoomParticipant.js +488 -242
  154. package/dist/components/media/VCRoomRecorder.js +236 -175
  155. package/dist/components/media/VCRoomWorkspace.js +505 -245
  156. package/dist/components/media/Video.js +89 -25
  157. package/dist/components/media/VideoPlayer.js +56 -22
  158. package/dist/components/media/chat/ChatRoom.js +255 -132
  159. package/dist/components/media/chat/ChatRoomItem.js +35 -14
  160. package/dist/components/media/chat/ChatRoomList.js +43 -13
  161. package/dist/components/menu/CollapsibleMenu.js +39 -20
  162. package/dist/components/menu/MenuBars.js +81 -48
  163. package/dist/components/menu/MenuButton.js +95 -60
  164. package/dist/components/menu/MenuItem.js +28 -9
  165. package/dist/components/menu/MenuLink.js +12 -10
  166. package/dist/components/menu/PopupMenu.js +16 -12
  167. package/dist/components/navbars/AuthNavbar.js +27 -18
  168. package/dist/components/navbars/HomeNavbar.js +243 -194
  169. package/dist/components/navbars/PortalNavbar.js +50 -26
  170. package/dist/components/signatures/AgilitySignaturePanel.js +96 -39
  171. package/dist/components/signatures/AlertItem.js +36 -13
  172. package/dist/components/signatures/Card.js +4 -4
  173. package/dist/components/signatures/DocumentContainer.js +141 -57
  174. package/dist/components/signatures/ImageSignatureInput.js +90 -59
  175. package/dist/components/signatures/MenuButton.js +53 -33
  176. package/dist/components/signatures/Prompt.js +26 -5
  177. package/dist/components/signatures/ResponsiveTable.js +302 -197
  178. package/dist/components/signatures/SearchView.js +77 -36
  179. package/dist/components/signatures/SignatorySearch.js +30 -10
  180. package/dist/components/signatures/SignatorySearchForm.js +35 -18
  181. package/dist/components/signatures/SignatureInput.js +56 -26
  182. package/dist/components/signatures/SignatureInputProps.js +107 -55
  183. package/dist/components/signatures/SignatureTemplateDesigner.js +340 -235
  184. package/dist/components/signatures/Toolbar.js +135 -94
  185. package/dist/components/signatures/ViewUtils.js +273 -224
  186. package/dist/components/typography/Danger.js +3 -5
  187. package/dist/components/typography/Info.js +3 -5
  188. package/dist/components/typography/Link.js +3 -5
  189. package/dist/event/ActionHandlers.js +57 -43
  190. package/dist/event/Event.js +16 -13
  191. package/dist/event/EventListener.js +39 -36
  192. package/dist/event/EventType.js +5 -1
  193. package/dist/event/LoadDataActionHandler.js +20 -8
  194. package/dist/event/Observable.js +323 -142
  195. package/dist/event/RouteActionHandler.js +139 -125
  196. package/dist/event/ScriptActionHandler.js +20 -8
  197. package/dist/event/ServiceCallActionHandler.js +51 -39
  198. package/dist/event/SignalGraphActionHandler.js +19 -7
  199. package/dist/js/Addresses.js +38 -24
  200. package/dist/js/Calendar.js +168 -161
  201. package/dist/js/DynamicLib.js +14 -11
  202. package/dist/js/Media.js +213 -120
  203. package/dist/js/Validators.js +6 -5
  204. package/dist/js/Windows.js +48 -47
  205. package/dist/redux/store/ConfigureStore.js +17 -9
  206. package/dist/redux/store/DashboardStore.js +110 -43
  207. package/dist/redux/store/History.js +1 -1
  208. package/dist/redux/store/SecurityStore.js +59 -20
  209. package/dist/security/TokenManager.js +44 -30
  210. package/dist/theme-default.js +1 -1
  211. package/dist/view/Dashboard.js +230 -137
  212. package/dist/view/PortalDashboard.js +4 -4
  213. package/dist/view/Settings.js +4 -2
  214. package/dist/view/Views.js +27 -14
  215. package/dist/view/security/ChangePasswordBasic.js +97 -40
  216. package/dist/view/security/ForgotPassword.js +59 -22
  217. package/dist/view/security/ForgotPasswordBasic.js +62 -21
  218. package/dist/view/security/Login.js +64 -24
  219. package/dist/view/security/LoginBasic.js +65 -26
  220. package/dist/view/security/LoginInteractionPortal.js +62 -25
  221. package/dist/view/security/ResetPassword.js +65 -23
  222. package/dist/view/security/ResetPasswordBasic.js +91 -37
  223. package/dist/view/security/Security.js +12 -12
  224. package/package.json +2 -3
  225. package/dist/components/dashboard/BusinessPortalAppDashboard.js +0 -115
  226. package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +0 -447
  227. /package/dist/components/dashboard/{BusinessPortalAppDashboard.css → TopMenuModuleDashboard.css} +0 -0
  228. /package/dist/components/dashboard/components/blackDashboard/sidebar/{Sidebar.css → FoldingTabSidebar.css} +0 -0
@@ -11,12 +11,21 @@ var _dropdownStyle = _interopRequireDefault(require("./dropdownStyle"));
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
13
 
14
- const headerLinksStyle = theme => ({ ...(0, _dropdownStyle.default)(theme),
15
- search: {
16
- "& > div": {
17
- marginTop: "0"
18
- },
19
- [theme.breakpoints.down("sm")]: {
14
+ 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; }
15
+
16
+ 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; }
17
+
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
+
20
+ var headerLinksStyle = function headerLinksStyle(theme) {
21
+ var _notifications, _manager, _searchWrapper;
22
+
23
+ return _objectSpread(_objectSpread({}, (0, _dropdownStyle.default)(theme)), {}, {
24
+ search: _defineProperty({
25
+ "& > div": {
26
+ marginTop: "0"
27
+ }
28
+ }, theme.breakpoints.down("sm"), {
20
29
  margin: "10px 15px !important",
21
30
  float: "none !important",
22
31
  paddingTop: "1px",
@@ -27,16 +36,14 @@ const headerLinksStyle = theme => ({ ...(0, _dropdownStyle.default)(theme),
27
36
  "& input": {
28
37
  color: _rootStyle.whiteColor
29
38
  }
30
- }
31
- },
32
- linkText: {
33
- zIndex: "4",
34
- ..._rootStyle.defaultFont,
35
- fontSize: "14px",
36
- margin: "0px"
37
- },
38
- buttonLink: {
39
- [theme.breakpoints.down("sm")]: {
39
+ }),
40
+ linkText: _objectSpread(_objectSpread({
41
+ zIndex: "4"
42
+ }, _rootStyle.defaultFont), {}, {
43
+ fontSize: "14px",
44
+ margin: "0px"
45
+ }),
46
+ buttonLink: _defineProperty({}, theme.breakpoints.down("sm"), {
40
47
  display: "flex",
41
48
  margin: "10px 15px 0",
42
49
  width: "-webkit-fill-available",
@@ -58,26 +65,23 @@ const headerLinksStyle = theme => ({ ...(0, _dropdownStyle.default)(theme),
58
65
  justifyContent: "flex-start",
59
66
  width: "100%"
60
67
  }
61
- }
62
- },
63
- searchButton: {
64
- [theme.breakpoints.down("sm")]: {
68
+ }),
69
+ searchButton: _defineProperty({}, theme.breakpoints.down("sm"), {
65
70
  top: "-50px !important",
66
71
  marginRight: "22px",
67
72
  float: "right"
68
- }
69
- },
70
- margin: {
71
- zIndex: "4",
72
- margin: "0"
73
- },
74
- searchIcon: {
75
- width: "17px",
76
- zIndex: "4"
77
- },
78
- notifications: {
79
- zIndex: "4",
80
- [theme.breakpoints.up("md")]: {
73
+ }),
74
+ margin: {
75
+ zIndex: "4",
76
+ margin: "0"
77
+ },
78
+ searchIcon: {
79
+ width: "17px",
80
+ zIndex: "4"
81
+ },
82
+ notifications: (_notifications = {
83
+ zIndex: "4"
84
+ }, _defineProperty(_notifications, theme.breakpoints.up("md"), {
81
85
  position: "absolute",
82
86
  top: "2px",
83
87
  border: "1px solid " + _rootStyle.whiteColor,
@@ -92,26 +96,19 @@ const headerLinksStyle = theme => ({ ...(0, _dropdownStyle.default)(theme),
92
96
  lineHeight: "16px",
93
97
  verticalAlign: "middle",
94
98
  display: "block"
95
- },
96
- [theme.breakpoints.down("sm")]: { ..._rootStyle.defaultFont,
99
+ }), _defineProperty(_notifications, theme.breakpoints.down("sm"), _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
97
100
  fontSize: "14px",
98
101
  marginRight: "8px"
99
- }
100
- },
101
- manager: {
102
- [theme.breakpoints.down("sm")]: {
102
+ })), _notifications),
103
+ manager: (_manager = {}, _defineProperty(_manager, theme.breakpoints.down("sm"), {
103
104
  width: "100%"
104
- },
105
- display: "inline-block"
106
- },
107
- searchWrapper: {
108
- [theme.breakpoints.down("sm")]: {
105
+ }), _defineProperty(_manager, "display", "inline-block"), _manager),
106
+ searchWrapper: (_searchWrapper = {}, _defineProperty(_searchWrapper, theme.breakpoints.down("sm"), {
109
107
  width: "-webkit-fill-available",
110
108
  margin: "10px 15px 0"
111
- },
112
- display: "inline-block"
113
- }
114
- });
109
+ }), _defineProperty(_searchWrapper, "display", "inline-block"), _searchWrapper)
110
+ });
111
+ };
115
112
 
116
113
  var _default = headerLinksStyle;
117
114
  exports.default = _default;
@@ -7,71 +7,74 @@ exports.default = void 0;
7
7
 
8
8
  var _rootStyle = require("../rootStyle");
9
9
 
10
- const headerStyle = () => ({
11
- appBar: {
12
- backgroundColor: "transparent",
13
- boxShadow: "none",
14
- borderBottom: "0",
15
- marginBottom: "0",
16
- position: "absolute",
17
- width: "100%",
18
- paddingTop: "10px",
19
- zIndex: "1029",
20
- color: _rootStyle.grayColor[7],
21
- border: "0",
22
- borderRadius: "3px",
23
- padding: "10px 0",
24
- transition: "all 150ms ease 0s",
25
- minHeight: "50px",
26
- display: "block"
27
- },
28
- container: { ..._rootStyle.container,
29
- minHeight: "50px"
30
- },
31
- flex: {
32
- flex: 1
33
- },
34
- title: { ..._rootStyle.defaultFont,
35
- letterSpacing: "unset",
36
- lineHeight: "30px",
37
- fontSize: "18px",
38
- borderRadius: "3px",
39
- textTransform: "none",
40
- color: "inherit",
41
- margin: "0",
42
- "&:hover,&:focus": {
43
- background: "transparent"
44
- }
45
- },
46
- appResponsive: {
47
- top: "8px"
48
- },
49
- primary: {
50
- backgroundColor: _rootStyle.primaryColor[0],
51
- color: _rootStyle.whiteColor,
52
- ..._rootStyle.defaultBoxShadow
53
- },
54
- info: {
55
- backgroundColor: _rootStyle.infoColor[0],
56
- color: _rootStyle.whiteColor,
57
- ..._rootStyle.defaultBoxShadow
58
- },
59
- success: {
60
- backgroundColor: _rootStyle.successColor[0],
61
- color: _rootStyle.whiteColor,
62
- ..._rootStyle.defaultBoxShadow
63
- },
64
- warning: {
65
- backgroundColor: _rootStyle.warningColor[0],
66
- color: _rootStyle.whiteColor,
67
- ..._rootStyle.defaultBoxShadow
68
- },
69
- danger: {
70
- backgroundColor: _rootStyle.dangerColor[0],
71
- color: _rootStyle.whiteColor,
72
- ..._rootStyle.defaultBoxShadow
73
- }
74
- });
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 headerStyle = function headerStyle() {
17
+ return {
18
+ appBar: {
19
+ backgroundColor: "transparent",
20
+ boxShadow: "none",
21
+ borderBottom: "0",
22
+ marginBottom: "0",
23
+ position: "absolute",
24
+ width: "100%",
25
+ paddingTop: "10px",
26
+ zIndex: "1029",
27
+ color: _rootStyle.grayColor[7],
28
+ border: "0",
29
+ borderRadius: "3px",
30
+ padding: "10px 0",
31
+ transition: "all 150ms ease 0s",
32
+ minHeight: "50px",
33
+ display: "block"
34
+ },
35
+ container: _objectSpread(_objectSpread({}, _rootStyle.container), {}, {
36
+ minHeight: "50px"
37
+ }),
38
+ flex: {
39
+ flex: 1
40
+ },
41
+ title: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
42
+ letterSpacing: "unset",
43
+ lineHeight: "30px",
44
+ fontSize: "18px",
45
+ borderRadius: "3px",
46
+ textTransform: "none",
47
+ color: "inherit",
48
+ margin: "0",
49
+ "&:hover,&:focus": {
50
+ background: "transparent"
51
+ }
52
+ }),
53
+ appResponsive: {
54
+ top: "8px"
55
+ },
56
+ primary: _objectSpread({
57
+ backgroundColor: _rootStyle.primaryColor[0],
58
+ color: _rootStyle.whiteColor
59
+ }, _rootStyle.defaultBoxShadow),
60
+ info: _objectSpread({
61
+ backgroundColor: _rootStyle.infoColor[0],
62
+ color: _rootStyle.whiteColor
63
+ }, _rootStyle.defaultBoxShadow),
64
+ success: _objectSpread({
65
+ backgroundColor: _rootStyle.successColor[0],
66
+ color: _rootStyle.whiteColor
67
+ }, _rootStyle.defaultBoxShadow),
68
+ warning: _objectSpread({
69
+ backgroundColor: _rootStyle.warningColor[0],
70
+ color: _rootStyle.whiteColor
71
+ }, _rootStyle.defaultBoxShadow),
72
+ danger: _objectSpread({
73
+ backgroundColor: _rootStyle.dangerColor[0],
74
+ color: _rootStyle.whiteColor
75
+ }, _rootStyle.defaultBoxShadow)
76
+ };
77
+ };
75
78
 
76
79
  var _default = headerStyle;
77
80
  exports.default = _default;
@@ -11,40 +11,44 @@ var _customDropdownStyle = _interopRequireDefault(require("./customDropdownStyle
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
13
 
14
- const adminNavbarLinksStyle = theme => ({ ...(0, _customDropdownStyle.default)(theme),
15
- search: {
16
- margin: "0",
17
- paddingTop: "7px",
18
- paddingBottom: "7px",
19
- [theme.breakpoints.down("sm")]: {
14
+ 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; }
15
+
16
+ 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; }
17
+
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
+
20
+ var adminNavbarLinksStyle = function adminNavbarLinksStyle(theme) {
21
+ var _searchRTL, _notifications;
22
+
23
+ return _objectSpread(_objectSpread({}, (0, _customDropdownStyle.default)(theme)), {}, {
24
+ search: _defineProperty({
25
+ margin: "0",
26
+ paddingTop: "7px",
27
+ paddingBottom: "7px"
28
+ }, theme.breakpoints.down("sm"), {
20
29
  margin: "10px 15px",
21
30
  float: "none !important",
22
31
  paddingTop: "1px",
23
32
  paddingBottom: "1px",
24
33
  padding: "10px 15px",
25
34
  width: "auto"
26
- }
27
- },
28
- searchInput: {
29
- paddingTop: "2px"
30
- },
31
- searchRTL: {
32
- [theme.breakpoints.down("sm")]: {
33
- marginRight: "18px !important"
35
+ }),
36
+ searchInput: {
37
+ paddingTop: "2px"
34
38
  },
35
- [theme.breakpoints.up("md")]: {
39
+ searchRTL: (_searchRTL = {}, _defineProperty(_searchRTL, theme.breakpoints.down("sm"), {
40
+ marginRight: "18px !important"
41
+ }), _defineProperty(_searchRTL, theme.breakpoints.up("md"), {
36
42
  marginLeft: "12px"
37
- }
38
- },
39
- linkText: {
40
- zIndex: "4",
41
- ..._rootStyle.defaultFont,
42
- fontSize: "14px",
43
- margin: "0!important",
44
- textTransform: "none"
45
- },
46
- buttonLink: {
47
- [theme.breakpoints.down("sm")]: {
43
+ }), _searchRTL),
44
+ linkText: _objectSpread(_objectSpread({
45
+ zIndex: "4"
46
+ }, _rootStyle.defaultFont), {}, {
47
+ fontSize: "14px",
48
+ margin: "0!important",
49
+ textTransform: "none"
50
+ }),
51
+ buttonLink: _defineProperty({}, theme.breakpoints.down("sm"), {
48
52
  display: "flex",
49
53
  margin: "5px 15px 0",
50
54
  width: "auto",
@@ -62,27 +66,24 @@ const adminNavbarLinksStyle = theme => ({ ...(0, _customDropdownStyle.default)(t
62
66
  marginRight: "19px",
63
67
  marginLeft: "3px"
64
68
  }
65
- }
66
- },
67
- searchButton: {
68
- [theme.breakpoints.down("sm")]: {
69
+ }),
70
+ searchButton: _defineProperty({}, theme.breakpoints.down("sm"), {
69
71
  top: "-50px !important",
70
72
  marginRight: "38px",
71
73
  float: "right"
72
- }
73
- },
74
- top: {
75
- zIndex: "4"
76
- },
77
- searchIcon: {
78
- width: "17px",
79
- zIndex: "4"
80
- },
81
- links: {
82
- width: "20px",
83
- height: "20px",
84
- zIndex: "4",
85
- [theme.breakpoints.down("sm")]: {
74
+ }),
75
+ top: {
76
+ zIndex: "4"
77
+ },
78
+ searchIcon: {
79
+ width: "17px",
80
+ zIndex: "4"
81
+ },
82
+ links: _defineProperty({
83
+ width: "20px",
84
+ height: "20px",
85
+ zIndex: "4"
86
+ }, theme.breakpoints.down("sm"), {
86
87
  display: "block",
87
88
  width: "30px",
88
89
  height: "30px",
@@ -90,11 +91,10 @@ const adminNavbarLinksStyle = theme => ({ ...(0, _customDropdownStyle.default)(t
90
91
  opacity: "0.8",
91
92
  marginRight: "16px",
92
93
  marginLeft: "-5px"
93
- }
94
- },
95
- notifications: {
96
- zIndex: "4",
97
- [theme.breakpoints.up("md")]: {
94
+ }),
95
+ notifications: (_notifications = {
96
+ zIndex: "4"
97
+ }, _defineProperty(_notifications, theme.breakpoints.up("md"), {
98
98
  position: "absolute",
99
99
  top: "5px",
100
100
  border: "1px solid " + _rootStyle.whiteColor,
@@ -109,19 +109,14 @@ const adminNavbarLinksStyle = theme => ({ ...(0, _customDropdownStyle.default)(t
109
109
  lineHeight: "14px",
110
110
  verticalAlign: "middle",
111
111
  display: "block"
112
- },
113
- [theme.breakpoints.down("sm")]: { ..._rootStyle.defaultFont,
112
+ }), _defineProperty(_notifications, theme.breakpoints.down("sm"), _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
114
113
  fontSize: "14px",
115
114
  marginRight: "8px"
116
- }
117
- },
118
- wrapperRTL: {
119
- [theme.breakpoints.up("md")]: {
115
+ })), _notifications),
116
+ wrapperRTL: _defineProperty({}, theme.breakpoints.up("md"), {
120
117
  paddingLeft: "16px"
121
- }
122
- },
123
- buttonLinkRTL: {
124
- [theme.breakpoints.down("sm")]: {
118
+ }),
119
+ buttonLinkRTL: _defineProperty({}, theme.breakpoints.down("sm"), {
125
120
  alignItems: "center",
126
121
  justifyContent: "flex-end",
127
122
  width: "-webkit-fill-available",
@@ -129,31 +124,25 @@ const adminNavbarLinksStyle = theme => ({ ...(0, _customDropdownStyle.default)(t
129
124
  padding: "10px 15px",
130
125
  display: "block",
131
126
  position: "relative"
132
- }
133
- },
134
- labelRTL: {
135
- [theme.breakpoints.down("sm")]: {
127
+ }),
128
+ labelRTL: _defineProperty({}, theme.breakpoints.down("sm"), {
136
129
  flexDirection: "row-reverse",
137
130
  justifyContent: "initial",
138
131
  display: "flex"
139
- }
140
- },
141
- linksRTL: {
142
- [theme.breakpoints.down("sm")]: {
132
+ }),
133
+ linksRTL: _defineProperty({}, theme.breakpoints.down("sm"), {
143
134
  marginRight: "-5px !important",
144
135
  marginLeft: "16px !important"
145
- }
146
- },
147
- managerClasses: {
148
- [theme.breakpoints.up("md")]: {
136
+ }),
137
+ managerClasses: _defineProperty({}, theme.breakpoints.up("md"), {
149
138
  display: "inline-block"
139
+ }),
140
+ headerLinksSvg: {
141
+ width: "20px !important",
142
+ height: "20px !important"
150
143
  }
151
- },
152
- headerLinksSvg: {
153
- width: "20px !important",
154
- height: "20px !important"
155
- }
156
- });
144
+ });
145
+ };
157
146
 
158
147
  var _default = adminNavbarLinksStyle;
159
148
  exports.default = _default;
@@ -7,83 +7,86 @@ exports.default = void 0;
7
7
 
8
8
  var _rootStyle = require("../rootStyle");
9
9
 
10
- const headerStyle = () => ({
11
- appBar: {
12
- backgroundColor: "transparent",
13
- boxShadow: "none",
14
- borderBottom: "0",
15
- marginBottom: "0",
16
- position: "absolute",
17
- width: "100%",
18
- paddingTop: "10px",
19
- zIndex: "1029",
20
- color: _rootStyle.grayColor[6],
21
- border: "0",
22
- borderRadius: "3px",
23
- padding: "10px 0",
24
- transition: "all 150ms ease 0s",
25
- minHeight: "50px",
26
- display: "block"
27
- },
28
- container: { ..._rootStyle.containerFluid,
29
- minHeight: "50px"
30
- },
31
- flex: {
32
- flex: 1
33
- },
34
- title: { ..._rootStyle.defaultFont,
35
- lineHeight: "30px",
36
- fontSize: "18px",
37
- borderRadius: "3px",
38
- textTransform: "none",
39
- color: "inherit",
40
- paddingTop: "0.625rem",
41
- paddingBottom: "0.625rem",
42
- margin: "0 !important",
43
- letterSpacing: "unset",
44
- "&:hover,&:focus": {
45
- background: "transparent"
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 headerStyle = function headerStyle() {
17
+ return {
18
+ appBar: {
19
+ backgroundColor: "transparent",
20
+ boxShadow: "none",
21
+ borderBottom: "0",
22
+ marginBottom: "0",
23
+ position: "absolute",
24
+ width: "100%",
25
+ paddingTop: "10px",
26
+ zIndex: "1029",
27
+ color: _rootStyle.grayColor[6],
28
+ border: "0",
29
+ borderRadius: "3px",
30
+ padding: "10px 0",
31
+ transition: "all 150ms ease 0s",
32
+ minHeight: "50px",
33
+ display: "block"
34
+ },
35
+ container: _objectSpread(_objectSpread({}, _rootStyle.containerFluid), {}, {
36
+ minHeight: "50px"
37
+ }),
38
+ flex: {
39
+ flex: 1
40
+ },
41
+ title: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
42
+ lineHeight: "30px",
43
+ fontSize: "18px",
44
+ borderRadius: "3px",
45
+ textTransform: "none",
46
+ color: "inherit",
47
+ paddingTop: "0.625rem",
48
+ paddingBottom: "0.625rem",
49
+ margin: "0 !important",
50
+ letterSpacing: "unset",
51
+ "&:hover,&:focus": {
52
+ background: "transparent"
53
+ }
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
+ sidebarMinimize: {
76
+ float: "left",
77
+ padding: "0 0 0 15px",
78
+ display: "block",
79
+ color: _rootStyle.grayColor[6]
80
+ },
81
+ sidebarMinimizeRTL: {
82
+ padding: "0 15px 0 0 !important"
83
+ },
84
+ sidebarMiniIcon: {
85
+ width: "20px",
86
+ height: "17px"
46
87
  }
47
- },
48
- primary: {
49
- backgroundColor: _rootStyle.primaryColor[0],
50
- color: _rootStyle.whiteColor,
51
- ..._rootStyle.defaultBoxShadow
52
- },
53
- info: {
54
- backgroundColor: _rootStyle.infoColor[0],
55
- color: _rootStyle.whiteColor,
56
- ..._rootStyle.defaultBoxShadow
57
- },
58
- success: {
59
- backgroundColor: _rootStyle.successColor[0],
60
- color: _rootStyle.whiteColor,
61
- ..._rootStyle.defaultBoxShadow
62
- },
63
- warning: {
64
- backgroundColor: _rootStyle.warningColor[0],
65
- color: _rootStyle.whiteColor,
66
- ..._rootStyle.defaultBoxShadow
67
- },
68
- danger: {
69
- backgroundColor: _rootStyle.dangerColor[0],
70
- color: _rootStyle.whiteColor,
71
- ..._rootStyle.defaultBoxShadow
72
- },
73
- sidebarMinimize: {
74
- float: "left",
75
- padding: "0 0 0 15px",
76
- display: "block",
77
- color: _rootStyle.grayColor[6]
78
- },
79
- sidebarMinimizeRTL: {
80
- padding: "0 15px 0 0 !important"
81
- },
82
- sidebarMiniIcon: {
83
- width: "20px",
84
- height: "17px"
85
- }
86
- });
88
+ };
89
+ };
87
90
 
88
91
  var _default = headerStyle;
89
92
  exports.default = _default;