@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
@@ -7,13 +7,19 @@ exports.default = void 0;
7
7
 
8
8
  var _rootStyle = require("../rootStyle");
9
9
 
10
- const customDropdownStyle = theme => ({
11
- popperClose: {
12
- pointerEvents: "none",
13
- display: "none !important"
14
- },
15
- popperNav: {
16
- [theme.breakpoints.down("sm")]: {
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 customDropdownStyle = function customDropdownStyle(theme) {
17
+ return {
18
+ popperClose: {
19
+ pointerEvents: "none",
20
+ display: "none !important"
21
+ },
22
+ popperNav: _defineProperty({}, theme.breakpoints.down("sm"), {
17
23
  position: "static !important",
18
24
  left: "unset !important",
19
25
  top: "unset !important",
@@ -38,53 +44,52 @@ const customDropdownStyle = theme => ({
38
44
  }
39
45
  }
40
46
  }
41
- }
42
- },
43
- manager: {
44
- "& > div > button:first-child > span:first-child, & > div > a:first-child > span:first-child": {
45
- width: "100%"
46
- }
47
- },
48
- innerManager: {
49
- "& > div > button,& > div > a": {
50
- margin: "0px !important",
51
- color: "inherit !important",
52
- padding: "10px 20px !important",
53
- "& > span:first-child": {
54
- width: "100%",
55
- justifyContent: "flex-start"
47
+ }),
48
+ manager: {
49
+ "& > div > button:first-child > span:first-child, & > div > a:first-child > span:first-child": {
50
+ width: "100%"
56
51
  }
57
- }
58
- },
59
- target: {
60
- "& > button:first-child > span:first-child, & > a:first-child > span:first-child": {
61
- display: "inline-block"
62
52
  },
63
- "& $caret": {
64
- marginLeft: "0px"
65
- }
66
- },
67
- dropdown: {
68
- borderRadius: "3px",
69
- border: "0",
70
- boxShadow: "0 2px 5px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.26)",
71
- top: "100%",
72
- zIndex: "1000",
73
- minWidth: "160px",
74
- padding: "5px 0",
75
- margin: "2px 0 0",
76
- fontSize: "14px",
77
- textAlign: "left",
78
- listStyle: "none",
79
- backgroundColor: _rootStyle.whiteColor,
80
- backgroundClip: "padding-box"
81
- },
82
- menuList: {
83
- padding: "0"
84
- },
85
- popperResponsive: {
86
- zIndex: "1200",
87
- [theme.breakpoints.down("sm")]: {
53
+ innerManager: {
54
+ "& > div > button,& > div > a": {
55
+ margin: "0px !important",
56
+ color: "inherit !important",
57
+ padding: "10px 20px !important",
58
+ "& > span:first-child": {
59
+ width: "100%",
60
+ justifyContent: "flex-start"
61
+ }
62
+ }
63
+ },
64
+ target: {
65
+ "& > button:first-child > span:first-child, & > a:first-child > span:first-child": {
66
+ display: "inline-block"
67
+ },
68
+ "& $caret": {
69
+ marginLeft: "0px"
70
+ }
71
+ },
72
+ dropdown: {
73
+ borderRadius: "3px",
74
+ border: "0",
75
+ boxShadow: "0 2px 5px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.26)",
76
+ top: "100%",
77
+ zIndex: "1000",
78
+ minWidth: "160px",
79
+ padding: "5px 0",
80
+ margin: "2px 0 0",
81
+ fontSize: "14px",
82
+ textAlign: "left",
83
+ listStyle: "none",
84
+ backgroundColor: _rootStyle.whiteColor,
85
+ backgroundClip: "padding-box"
86
+ },
87
+ menuList: {
88
+ padding: "0"
89
+ },
90
+ popperResponsive: _defineProperty({
91
+ zIndex: "1200"
92
+ }, theme.breakpoints.down("sm"), {
88
93
  zIndex: "1640",
89
94
  position: "static",
90
95
  float: "none",
@@ -94,124 +99,118 @@ const customDropdownStyle = theme => ({
94
99
  border: "0",
95
100
  boxShadow: "none",
96
101
  color: "black"
102
+ }),
103
+ dropdownItem: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
104
+ fontSize: "13px",
105
+ padding: "10px 20px",
106
+ margin: "0 5px",
107
+ borderRadius: "2px",
108
+ position: "relative",
109
+ transition: "all 150ms linear",
110
+ display: "block",
111
+ clear: "both",
112
+ fontWeight: "400",
113
+ height: "100%",
114
+ color: _rootStyle.grayColor[7],
115
+ whiteSpace: "nowrap",
116
+ minHeight: "unset"
117
+ }),
118
+ darkHover: {
119
+ "&:hover": {
120
+ boxShadow: "0 4px 20px 0px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.14), 0 7px 10px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[16]) + ", 0.4)",
121
+ backgroundColor: _rootStyle.grayColor[16],
122
+ color: _rootStyle.whiteColor
123
+ }
124
+ },
125
+ primaryHover: {
126
+ "&:hover": _objectSpread({
127
+ backgroundColor: _rootStyle.primaryColor[0],
128
+ color: _rootStyle.whiteColor
129
+ }, _rootStyle.primaryBoxShadow)
130
+ },
131
+ infoHover: {
132
+ "&:hover": _objectSpread({
133
+ backgroundColor: _rootStyle.infoColor[0],
134
+ color: _rootStyle.whiteColor
135
+ }, _rootStyle.infoBoxShadow)
136
+ },
137
+ successHover: {
138
+ "&:hover": _objectSpread({
139
+ backgroundColor: _rootStyle.successColor[0],
140
+ color: _rootStyle.whiteColor
141
+ }, _rootStyle.successBoxShadow)
142
+ },
143
+ warningHover: {
144
+ "&:hover": _objectSpread({
145
+ backgroundColor: _rootStyle.warningColor[0],
146
+ color: _rootStyle.whiteColor
147
+ }, _rootStyle.warningBoxShadow)
148
+ },
149
+ dangerHover: {
150
+ "&:hover": _objectSpread({
151
+ backgroundColor: _rootStyle.dangerColor[0],
152
+ color: _rootStyle.whiteColor
153
+ }, _rootStyle.dangerBoxShadow)
154
+ },
155
+ roseHover: {
156
+ "&:hover": _objectSpread({
157
+ backgroundColor: _rootStyle.roseColor[0],
158
+ color: _rootStyle.whiteColor
159
+ }, _rootStyle.roseBoxShadow)
160
+ },
161
+ dropdownItemRTL: {
162
+ textAlign: "right"
163
+ },
164
+ dropdownDividerItem: {
165
+ margin: "5px 0",
166
+ backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.12)",
167
+ height: "1px",
168
+ overflow: "hidden"
169
+ },
170
+ buttonIcon: {
171
+ width: "20px",
172
+ height: "20px"
173
+ },
174
+ caret: {
175
+ transition: "all 150ms ease-in",
176
+ display: "inline-block",
177
+ width: "0",
178
+ height: "0",
179
+ marginLeft: "4px",
180
+ verticalAlign: "middle",
181
+ borderTop: "4px solid",
182
+ borderRight: "4px solid transparent",
183
+ borderLeft: "4px solid transparent"
184
+ },
185
+ caretActive: {
186
+ transform: "rotate(-360deg)"
187
+ },
188
+ caretDropup: {
189
+ transform: "rotate(-360deg)"
190
+ },
191
+ caretRTL: {
192
+ marginRight: "4px"
193
+ },
194
+ dropdownHeader: {
195
+ display: "block",
196
+ padding: "0.1875rem 1.25rem",
197
+ fontSize: "0.75rem",
198
+ lineHeight: "1.428571",
199
+ color: _rootStyle.grayColor[1],
200
+ whiteSpace: "nowrap",
201
+ fontWeight: "inherit",
202
+ marginTop: "10px",
203
+ minHeight: "unset",
204
+ "&:hover,&:focus": {
205
+ backgroundColor: "transparent",
206
+ cursor: "auto"
207
+ }
208
+ },
209
+ noLiPadding: {
210
+ padding: "0"
97
211
  }
98
- },
99
- dropdownItem: { ..._rootStyle.defaultFont,
100
- fontSize: "13px",
101
- padding: "10px 20px",
102
- margin: "0 5px",
103
- borderRadius: "2px",
104
- position: "relative",
105
- transition: "all 150ms linear",
106
- display: "block",
107
- clear: "both",
108
- fontWeight: "400",
109
- height: "100%",
110
- color: _rootStyle.grayColor[7],
111
- whiteSpace: "nowrap",
112
- minHeight: "unset"
113
- },
114
- darkHover: {
115
- "&:hover": {
116
- boxShadow: "0 4px 20px 0px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.14), 0 7px 10px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[16]) + ", 0.4)",
117
- backgroundColor: _rootStyle.grayColor[16],
118
- color: _rootStyle.whiteColor
119
- }
120
- },
121
- primaryHover: {
122
- "&:hover": {
123
- backgroundColor: _rootStyle.primaryColor[0],
124
- color: _rootStyle.whiteColor,
125
- ..._rootStyle.primaryBoxShadow
126
- }
127
- },
128
- infoHover: {
129
- "&:hover": {
130
- backgroundColor: _rootStyle.infoColor[0],
131
- color: _rootStyle.whiteColor,
132
- ..._rootStyle.infoBoxShadow
133
- }
134
- },
135
- successHover: {
136
- "&:hover": {
137
- backgroundColor: _rootStyle.successColor[0],
138
- color: _rootStyle.whiteColor,
139
- ..._rootStyle.successBoxShadow
140
- }
141
- },
142
- warningHover: {
143
- "&:hover": {
144
- backgroundColor: _rootStyle.warningColor[0],
145
- color: _rootStyle.whiteColor,
146
- ..._rootStyle.warningBoxShadow
147
- }
148
- },
149
- dangerHover: {
150
- "&:hover": {
151
- backgroundColor: _rootStyle.dangerColor[0],
152
- color: _rootStyle.whiteColor,
153
- ..._rootStyle.dangerBoxShadow
154
- }
155
- },
156
- roseHover: {
157
- "&:hover": {
158
- backgroundColor: _rootStyle.roseColor[0],
159
- color: _rootStyle.whiteColor,
160
- ..._rootStyle.roseBoxShadow
161
- }
162
- },
163
- dropdownItemRTL: {
164
- textAlign: "right"
165
- },
166
- dropdownDividerItem: {
167
- margin: "5px 0",
168
- backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.12)",
169
- height: "1px",
170
- overflow: "hidden"
171
- },
172
- buttonIcon: {
173
- width: "20px",
174
- height: "20px"
175
- },
176
- caret: {
177
- transition: "all 150ms ease-in",
178
- display: "inline-block",
179
- width: "0",
180
- height: "0",
181
- marginLeft: "4px",
182
- verticalAlign: "middle",
183
- borderTop: "4px solid",
184
- borderRight: "4px solid transparent",
185
- borderLeft: "4px solid transparent"
186
- },
187
- caretActive: {
188
- transform: "rotate(-360deg)"
189
- },
190
- caretDropup: {
191
- transform: "rotate(-360deg)"
192
- },
193
- caretRTL: {
194
- marginRight: "4px"
195
- },
196
- dropdownHeader: {
197
- display: "block",
198
- padding: "0.1875rem 1.25rem",
199
- fontSize: "0.75rem",
200
- lineHeight: "1.428571",
201
- color: _rootStyle.grayColor[1],
202
- whiteSpace: "nowrap",
203
- fontWeight: "inherit",
204
- marginTop: "10px",
205
- minHeight: "unset",
206
- "&:hover,&:focus": {
207
- backgroundColor: "transparent",
208
- cursor: "auto"
209
- }
210
- },
211
- noLiPadding: {
212
- padding: "0"
213
- }
214
- });
212
+ };
213
+ };
215
214
 
216
215
  var _default = customDropdownStyle;
217
216
  exports.default = _default;
@@ -7,7 +7,13 @@ exports.default = void 0;
7
7
 
8
8
  var _rootStyle = require("../rootStyle");
9
9
 
10
- const customInputStyle = {
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 customInputStyle = {
11
17
  disabled: {
12
18
  "&:before": {
13
19
  borderColor: "transparent !important"
@@ -35,7 +41,7 @@ const customInputStyle = {
35
41
  borderColor: _rootStyle.successColor[0]
36
42
  }
37
43
  },
38
- labelRoot: { ..._rootStyle.defaultFont,
44
+ labelRoot: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
39
45
  color: _rootStyle.grayColor[3] + " !important",
40
46
  fontWeight: "400",
41
47
  fontSize: "14px",
@@ -45,7 +51,7 @@ const customInputStyle = {
45
51
  "& + $underline": {
46
52
  marginTop: "0px"
47
53
  }
48
- },
54
+ }),
49
55
  labelRootError: {
50
56
  color: _rootStyle.dangerColor[0] + " !important"
51
57
  },
@@ -7,36 +7,39 @@ exports.default = void 0;
7
7
 
8
8
  var _rootStyle = require("../rootStyle");
9
9
 
10
- const dropdownStyle = theme => ({
11
- buttonLink: {
12
- [theme.breakpoints.down("md")]: {
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 dropdownStyle = function dropdownStyle(theme) {
17
+ return {
18
+ buttonLink: _defineProperty({}, theme.breakpoints.down("md"), {
13
19
  display: "flex",
14
20
  marginLeft: "30px",
15
21
  width: "auto"
16
- }
17
- },
18
- links: {
19
- width: "20px",
20
- height: "20px",
21
- zIndex: "4",
22
- [theme.breakpoints.down("md")]: {
22
+ }),
23
+ links: _defineProperty({
24
+ width: "20px",
25
+ height: "20px",
26
+ zIndex: "4"
27
+ }, theme.breakpoints.down("md"), {
23
28
  display: "block",
24
29
  width: "30px",
25
30
  height: "30px",
26
31
  color: _rootStyle.grayColor[9],
27
32
  marginRight: "15px"
28
- }
29
- },
30
- linkText: {
31
- zIndex: "4",
32
- ..._rootStyle.defaultFont,
33
- fontSize: "14px"
34
- },
35
- popperClose: {
36
- pointerEvents: "none"
37
- },
38
- popperResponsive: {
39
- [theme.breakpoints.down("md")]: {
33
+ }),
34
+ linkText: _objectSpread(_objectSpread({
35
+ zIndex: "4"
36
+ }, _rootStyle.defaultFont), {}, {
37
+ fontSize: "14px"
38
+ }),
39
+ popperClose: {
40
+ pointerEvents: "none"
41
+ },
42
+ popperResponsive: _defineProperty({}, theme.breakpoints.down("md"), {
40
43
  zIndex: "1640",
41
44
  position: "static",
42
45
  float: "none",
@@ -47,10 +50,8 @@ const dropdownStyle = theme => ({
47
50
  WebkitBoxShadow: "none",
48
51
  boxShadow: "none",
49
52
  color: "black"
50
- }
51
- },
52
- popperNav: {
53
- [theme.breakpoints.down("sm")]: {
53
+ }),
54
+ popperNav: _defineProperty({}, theme.breakpoints.down("sm"), {
54
55
  position: "static !important",
55
56
  left: "unset !important",
56
57
  top: "unset !important",
@@ -75,49 +76,48 @@ const dropdownStyle = theme => ({
75
76
  }
76
77
  }
77
78
  }
78
- }
79
- },
80
- dropdown: {
81
- borderRadius: "3px",
82
- border: "0",
83
- boxShadow: "0 2px 5px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.26)",
84
- top: "100%",
85
- zIndex: "1000",
86
- minWidth: "160px",
87
- padding: "5px 0",
88
- margin: "2px 0 0",
89
- fontSize: "14px",
90
- textAlign: "left",
91
- listStyle: "none",
92
- backgroundColor: _rootStyle.whiteColor,
93
- WebkitBackgroundClip: "padding-box",
94
- backgroundClip: "padding-box"
95
- },
96
- dropdownItem: { ..._rootStyle.defaultFont,
97
- fontSize: "13px",
98
- padding: "10px 20px",
99
- margin: "0 5px",
100
- borderRadius: "2px",
101
- WebkitTransition: "all 150ms linear",
102
- MozTransition: "all 150ms linear",
103
- OTransition: "all 150ms linear",
104
- MsTransition: "all 150ms linear",
105
- transition: "all 150ms linear",
106
- display: "block",
107
- clear: "both",
108
- fontWeight: "400",
109
- lineHeight: "1.42857143",
110
- color: _rootStyle.grayColor[8],
111
- whiteSpace: "nowrap",
112
- height: "unset",
113
- minHeight: "unset",
114
- "&:hover": {
115
- backgroundColor: _rootStyle.primaryColor[0],
116
- color: _rootStyle.whiteColor,
117
- ..._rootStyle.primaryBoxShadow
118
- }
119
- }
120
- });
79
+ }),
80
+ dropdown: {
81
+ borderRadius: "3px",
82
+ border: "0",
83
+ boxShadow: "0 2px 5px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.26)",
84
+ top: "100%",
85
+ zIndex: "1000",
86
+ minWidth: "160px",
87
+ padding: "5px 0",
88
+ margin: "2px 0 0",
89
+ fontSize: "14px",
90
+ textAlign: "left",
91
+ listStyle: "none",
92
+ backgroundColor: _rootStyle.whiteColor,
93
+ WebkitBackgroundClip: "padding-box",
94
+ backgroundClip: "padding-box"
95
+ },
96
+ dropdownItem: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
97
+ fontSize: "13px",
98
+ padding: "10px 20px",
99
+ margin: "0 5px",
100
+ borderRadius: "2px",
101
+ WebkitTransition: "all 150ms linear",
102
+ MozTransition: "all 150ms linear",
103
+ OTransition: "all 150ms linear",
104
+ MsTransition: "all 150ms linear",
105
+ transition: "all 150ms linear",
106
+ display: "block",
107
+ clear: "both",
108
+ fontWeight: "400",
109
+ lineHeight: "1.42857143",
110
+ color: _rootStyle.grayColor[8],
111
+ whiteSpace: "nowrap",
112
+ height: "unset",
113
+ minHeight: "unset",
114
+ "&:hover": _objectSpread({
115
+ backgroundColor: _rootStyle.primaryColor[0],
116
+ color: _rootStyle.whiteColor
117
+ }, _rootStyle.primaryBoxShadow)
118
+ })
119
+ };
120
+ };
121
121
 
122
122
  var _default = dropdownStyle;
123
123
  exports.default = _default;
@@ -7,7 +7,13 @@ exports.default = void 0;
7
7
 
8
8
  var _rootStyle = require("../rootStyle");
9
9
 
10
- const footerStyle = {
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 footerStyle = {
11
17
  block: {},
12
18
  left: {
13
19
  float: "left !important"
@@ -19,27 +25,27 @@ const footerStyle = {
19
25
  padding: "15px",
20
26
  paddingRight: "70px"
21
27
  },
22
- footer: {
28
+ footer: _objectSpread(_objectSpread({
23
29
  bottom: "0",
24
- padding: "15px 0",
25
- ..._rootStyle.defaultFont,
30
+ padding: "15px 0"
31
+ }, _rootStyle.defaultFont), {}, {
26
32
  zIndex: 4
27
- },
33
+ }),
28
34
  wrapper: {
29
35
  display: "inline-block",
30
36
  textAlign: '-webkit-center',
31
37
  width: '100%'
32
38
  },
33
- container: {
34
- zIndex: 3,
35
- ..._rootStyle.container,
39
+ container: _objectSpread(_objectSpread({
40
+ zIndex: 3
41
+ }, _rootStyle.container), {}, {
36
42
  position: "relative"
37
- },
38
- containerFluid: {
39
- zIndex: 3,
40
- ..._rootStyle.containerFluid,
43
+ }),
44
+ containerFluid: _objectSpread(_objectSpread({
45
+ zIndex: 3
46
+ }, _rootStyle.containerFluid), {}, {
41
47
  position: "relative"
42
- },
48
+ }),
43
49
  a: {
44
50
  color: _rootStyle.primaryColor[0],
45
51
  textDecoration: "none",