@agilemotion/oui-react-js 1.3.7 → 1.3.9

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 (214) hide show
  1. package/README.TXT +1 -0
  2. package/dist/ApplicationContext.js +161 -284
  3. package/dist/BasicApp.js +1 -1
  4. package/dist/BasicAppHome.js +17 -4
  5. package/dist/BusinessPortalApp.js +4 -4
  6. package/dist/BusinessPortalAppHome.js +10 -39
  7. package/dist/DynamicJS.js +20 -52
  8. package/dist/RestUtils.js +86 -111
  9. package/dist/Utils.js +36 -30
  10. package/dist/assets/jss/components/authNavbarStyle.js +34 -35
  11. package/dist/assets/jss/components/cardHeaderStyle.js +12 -12
  12. package/dist/assets/jss/components/customDropdownStyle.js +26 -26
  13. package/dist/assets/jss/components/customInputStyle.js +2 -8
  14. package/dist/assets/jss/components/dropdownStyle.js +10 -15
  15. package/dist/assets/jss/components/footerStyle.js +12 -18
  16. package/dist/assets/jss/components/headerLinksStyle.js +7 -13
  17. package/dist/assets/jss/components/headerStyle.js +24 -25
  18. package/dist/assets/jss/components/navbarLinksStyle.js +7 -13
  19. package/dist/assets/jss/components/navbarStyle.js +24 -25
  20. package/dist/assets/jss/components/sidebarStyle.js +41 -43
  21. package/dist/assets/jss/components/typographyStyle.js +2 -8
  22. package/dist/assets/jss/rootStyle.js +32 -47
  23. package/dist/assets/jss/views/layoutStyle.js +6 -11
  24. package/dist/assets/jss/views/loginStyle.js +4 -10
  25. package/dist/assets/lotties/call-loading.json +1 -0
  26. package/dist/assets/lotties/calling-2.json +1 -0
  27. package/dist/assets/lotties/calling.json +1 -0
  28. package/dist/assets/lotties/calling2.json +1 -0
  29. package/dist/assets/lotties/chat.json +1 -0
  30. package/dist/assets/lotties/join.json +1 -0
  31. package/dist/assets/lotties/loading.json +1 -0
  32. package/dist/assets/lotties/msg2.json +1 -0
  33. package/dist/assets/lotties/recording.json +1 -0
  34. package/dist/assets/lotties/waiting.json +1 -0
  35. package/dist/assets/scss/black-dashboard-react/bootstrap/_card.scss +5 -5
  36. package/dist/assets/scss/black-dashboard-react/bootstrap/_carousel.scss +2 -2
  37. package/dist/assets/scss/black-dashboard-react/bootstrap/_custom-forms.scss +3 -3
  38. package/dist/assets/scss/black-dashboard-react/bootstrap/_functions.scss +1 -1
  39. package/dist/assets/scss/black-dashboard-react/bootstrap/_images.scss +1 -1
  40. package/dist/assets/scss/black-dashboard-react/bootstrap/_jumbotron.scss +1 -1
  41. package/dist/assets/scss/black-dashboard-react/bootstrap/_popover.scss +7 -5
  42. package/dist/assets/scss/black-dashboard-react/bootstrap/_tooltip.scss +4 -4
  43. package/dist/assets/scss/black-dashboard-react/bootstrap/_variables.scss +5 -5
  44. package/dist/assets/scss/black-dashboard-react/bootstrap/mixins/_grid-framework.scss +2 -2
  45. package/dist/assets/scss/black-dashboard-react/bootstrap/mixins/_grid.scss +11 -9
  46. package/dist/assets/scss/black-dashboard-react/bootstrap/utilities/_embed.scss +6 -4
  47. package/dist/assets/scss/black-dashboard-react/custom/_variables.scss +1 -1
  48. package/dist/components/AlertBar.js +39 -80
  49. package/dist/components/AlertItem.js +4 -26
  50. package/dist/components/Button.js +24 -36
  51. package/dist/components/Calendar.js +478 -0
  52. package/dist/components/Calender.css +244 -0
  53. package/dist/components/ConfirmationDialog.js +5 -29
  54. package/dist/components/DataGrid.js +169 -338
  55. package/dist/components/DataGridColumn.js +5 -28
  56. package/dist/components/DataGridFilter.js +46 -114
  57. package/dist/components/DataGridHeading.js +11 -19
  58. package/dist/components/Dialog.js +27 -121
  59. package/dist/components/DocumentViewer.js +15 -35
  60. package/dist/components/DocumentViewerComponent.js +2 -20
  61. package/dist/components/FileThumb.js +115 -0
  62. package/dist/components/Graph.js +25 -75
  63. package/dist/components/GraphNode.js +4 -21
  64. package/dist/components/HtmlPanel.js +59 -78
  65. package/dist/components/Icon.js +99 -1
  66. package/dist/components/LoadingIndicator.js +4 -4
  67. package/dist/components/LottieIcon.js +134 -0
  68. package/dist/components/PopupView.js +2 -20
  69. package/dist/components/RegularButton.js +15 -19
  70. package/dist/components/SignaturePanel.js +9 -40
  71. package/dist/components/SocketManager.js +170 -0
  72. package/dist/components/StepperTitleBar.js +30 -56
  73. package/dist/components/TabPage.js +6 -9
  74. package/dist/components/TabPanel.js +41 -98
  75. package/dist/components/TableCellContent.js +30 -38
  76. package/dist/components/TemplateDesigner.css +0 -1
  77. package/dist/components/TemplateDesigner.js +107 -151
  78. package/dist/components/TemplateItemEventHandler.js +33 -100
  79. package/dist/components/TemplateTable.js +6 -42
  80. package/dist/components/TitleBar.js +35 -52
  81. package/dist/components/Toolbar.js +33 -179
  82. package/dist/components/Tree.js +27 -64
  83. package/dist/components/card/Card.js +16 -20
  84. package/dist/components/card/CardAvatar.js +9 -13
  85. package/dist/components/card/CardBody.js +13 -17
  86. package/dist/components/card/CardFooter.js +12 -16
  87. package/dist/components/card/CardHeader.js +13 -17
  88. package/dist/components/card/CardIcon.js +6 -10
  89. package/dist/components/card/CardText.js +6 -10
  90. package/dist/components/customInput/CustomInput.js +12 -10
  91. package/dist/components/dashboard/BasicBusinessAppDashboard.js +81 -158
  92. package/dist/components/dashboard/BusinessPortalAppDashboard.js +33 -79
  93. package/dist/components/dashboard/components/Header.js +8 -25
  94. package/dist/components/dashboard/components/LeftDrawer.js +3 -1
  95. package/dist/components/dashboard/components/blackDashboard/fixedPlugin/FixedPlugin.js +1 -1
  96. package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +143 -36
  97. package/dist/components/footer/Footer.js +6 -18
  98. package/dist/components/form/AddressSearch.js +32 -66
  99. package/dist/components/form/AutoComplete.js +160 -0
  100. package/dist/components/form/BaseField.js +66 -96
  101. package/dist/components/form/DatePicker.js +3 -21
  102. package/dist/components/form/FieldSet.js +158 -180
  103. package/dist/components/form/Form.css +1 -1
  104. package/dist/components/form/Form.js +137 -471
  105. package/dist/components/form/GridField.js +46 -146
  106. package/dist/components/form/IconField.js +35 -0
  107. package/dist/components/form/ImageEditor.js +19 -57
  108. package/dist/components/form/LookupField.js +8 -29
  109. package/dist/components/form/MultiFileUploadField.js +186 -0
  110. package/dist/components/form/RadioGroup.js +1 -16
  111. package/dist/components/form/Section.js +31 -92
  112. package/dist/components/form/SelectItem.js +14 -33
  113. package/dist/components/form/SignatureTemplateDesignerField.js +4 -2
  114. package/dist/components/form/Switch.js +53 -0
  115. package/dist/components/form/TextField.js +10 -17
  116. package/dist/components/form/TimePicker.js +7 -1
  117. package/dist/components/form/TransferList.css +2 -2
  118. package/dist/components/form/TransferList.js +67 -125
  119. package/dist/components/form/UploadField.js +27 -79
  120. package/dist/components/form/fieldset.css +8 -0
  121. package/dist/components/grid/GridContainer.js +5 -9
  122. package/dist/components/grid/GridItem.js +5 -9
  123. package/dist/components/layout/CollapsiblePanel.js +11 -33
  124. package/dist/components/layout/Layout.js +175 -290
  125. package/dist/components/layout/VC.css +17 -0
  126. package/dist/components/layout/View.css +17 -1
  127. package/dist/components/layout/View.js +77 -194
  128. package/dist/components/loader.css +1 -1
  129. package/dist/components/media/ClosablePanel.css +37 -0
  130. package/dist/components/media/ClosablePanel.js +53 -0
  131. package/dist/components/media/LobbyWaitingList.js +91 -0
  132. package/dist/components/media/MediaSoupHelper.js +223 -0
  133. package/dist/components/media/Recorder.js +235 -0
  134. package/dist/components/media/SideBarContent.css +54 -0
  135. package/dist/components/media/SideBarContent.js +46 -0
  136. package/dist/components/media/SocketRequest.js +20 -0
  137. package/dist/components/media/SocketResponse.js +16 -0
  138. package/dist/components/media/Timer.css +30 -0
  139. package/dist/components/media/Timer.js +88 -0
  140. package/dist/components/media/Toolbar.css +20 -0
  141. package/dist/components/media/Toolbar.js +470 -0
  142. package/dist/components/media/Tracks.js +39 -0
  143. package/dist/components/media/TrainingRoom.js +531 -0
  144. package/dist/components/media/Transports.js +35 -0
  145. package/dist/components/media/VCEventManager.js +74 -0
  146. package/dist/components/media/VCEventType.js +164 -0
  147. package/dist/components/media/VCParticipantList.css +72 -0
  148. package/dist/components/media/VCParticipantList.js +56 -0
  149. package/dist/components/media/VCParticipantListItem.css +73 -0
  150. package/dist/components/media/VCParticipantListItem.js +319 -0
  151. package/dist/components/media/VCRoom.css +42 -0
  152. package/dist/components/media/VCRoom.js +90 -0
  153. package/dist/components/media/VCRoomParticipant.css +25 -0
  154. package/dist/components/media/VCRoomParticipant.js +806 -0
  155. package/dist/components/media/VCRoomWorkspace.css +86 -0
  156. package/dist/components/media/VCRoomWorkspace.js +653 -0
  157. package/dist/components/media/Video.css +4 -0
  158. package/dist/components/media/Video.js +131 -0
  159. package/dist/components/media/chat/ChatRoom.js +926 -0
  160. package/dist/components/media/chat/ChatRoomItem.js +83 -0
  161. package/dist/components/media/chat/ChatRoomList.js +78 -0
  162. package/dist/components/media/chat/ChatRooms.scss +567 -0
  163. package/dist/components/menu/CollapsibleMenu.js +2 -19
  164. package/dist/components/menu/MenuBars.js +6 -33
  165. package/dist/components/menu/MenuButton.js +7 -35
  166. package/dist/components/menu/MenuItem.js +3 -20
  167. package/dist/components/menu/MenuLink.js +18 -12
  168. package/dist/components/navbars/AuthNavbar.js +5 -18
  169. package/dist/components/navbars/HomeNavbar.js +3 -5
  170. package/dist/components/navbars/PortalNavbar.js +4 -22
  171. package/dist/components/signatures/AgilitySignaturePanel.js +35 -101
  172. package/dist/components/signatures/AlertItem.js +3 -24
  173. package/dist/components/signatures/DocumentContainer.js +47 -135
  174. package/dist/components/signatures/ImageSignatureInput.js +8 -35
  175. package/dist/components/signatures/MenuButton.js +1 -16
  176. package/dist/components/signatures/Prompt.js +3 -24
  177. package/dist/components/signatures/ResponsiveTable.js +75 -96
  178. package/dist/components/signatures/SearchView.js +14 -50
  179. package/dist/components/signatures/SignatorySearch.js +83 -98
  180. package/dist/components/signatures/SignatorySearchForm.js +11 -17
  181. package/dist/components/signatures/SignatureInput.js +15 -44
  182. package/dist/components/signatures/SignatureInputProps.js +20 -60
  183. package/dist/components/signatures/SignatureTemplateDesigner.js +148 -235
  184. package/dist/components/signatures/Toolbar.js +7 -34
  185. package/dist/components/signatures/ViewUtils.js +2 -6
  186. package/dist/components/typography/Danger.js +3 -1
  187. package/dist/components/typography/Info.js +3 -1
  188. package/dist/components/typography/Link.js +6 -2
  189. package/dist/event/ActionHandlers.js +3 -3
  190. package/dist/event/EventType.js +7 -1
  191. package/dist/event/LoadDataActionHandler.js +1 -1
  192. package/dist/event/Observable.js +56 -168
  193. package/dist/event/RouteActionHandler.js +45 -11
  194. package/dist/event/ServiceCallActionHandler.js +34 -24
  195. package/dist/js/Addresses.js +10 -8
  196. package/dist/js/Media.js +157 -0
  197. package/dist/redux/store/ConfigureStore.js +3 -9
  198. package/dist/redux/store/DashboardStore.js +42 -94
  199. package/dist/redux/store/SecurityStore.js +15 -50
  200. package/dist/view/Dashboard.js +242 -163
  201. package/dist/view/security/ChangePasswordBasic.js +23 -76
  202. package/dist/view/security/ForgotPassword.js +9 -42
  203. package/dist/view/security/ForgotPasswordBasic.js +8 -41
  204. package/dist/view/security/Login.js +11 -47
  205. package/dist/view/security/LoginBasic.js +8 -41
  206. package/dist/view/security/LoginBusinessPortal.js +8 -41
  207. package/dist/view/security/ResetPassword.js +9 -47
  208. package/dist/view/security/ResetPasswordBasic.js +21 -71
  209. package/dist/view/security/Security.js +1 -0
  210. package/package.json +29 -13
  211. package/README.md +0 -1623
  212. package/dist/components/dashboard/BasicApp.js +0 -140
  213. package/dist/components/navbars/NavbarLinks.js +0 -212
  214. package/dist/components/signatures/OLD.js +0 -1138
@@ -19,30 +19,26 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
19
19
 
20
20
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
21
 
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
-
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
-
26
22
  const useStyles = (0, _styles.makeStyles)(_cardStyle.default);
27
23
 
28
24
  function Card(props) {
29
25
  const classes = useStyles();
30
-
31
- const className = props.className,
32
- children = props.children,
33
- plain = props.plain,
34
- profile = props.profile,
35
- blog = props.blog,
36
- raised = props.raised,
37
- background = props.background,
38
- pricing = props.pricing,
39
- color = props.color,
40
- product = props.product,
41
- testimonial = props.testimonial,
42
- chart = props.chart,
43
- login = props.login,
44
- rest = _objectWithoutProperties(props, ["className", "children", "plain", "profile", "blog", "raised", "background", "pricing", "color", "product", "testimonial", "chart", "login"]);
45
-
26
+ const {
27
+ className,
28
+ children,
29
+ plain,
30
+ profile,
31
+ blog,
32
+ raised,
33
+ background,
34
+ pricing,
35
+ color,
36
+ product,
37
+ testimonial,
38
+ chart,
39
+ login,
40
+ ...rest
41
+ } = props;
46
42
  const cardClasses = (0, _classnames.default)({
47
43
  [classes.card]: true,
48
44
  [classes.cardPlain]: plain,
@@ -19,23 +19,19 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
19
19
 
20
20
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
21
 
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
-
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
-
26
22
  const useStyles = (0, _styles.makeStyles)(_cardAvatarStyle.default);
27
23
 
28
24
  function CardAvatar(props) {
29
25
  const classes = useStyles();
30
-
31
- const children = props.children,
32
- className = props.className,
33
- plain = props.plain,
34
- profile = props.profile,
35
- testimonial = props.testimonial,
36
- testimonialFooter = props.testimonialFooter,
37
- rest = _objectWithoutProperties(props, ["children", "className", "plain", "profile", "testimonial", "testimonialFooter"]);
38
-
26
+ const {
27
+ children,
28
+ className,
29
+ plain,
30
+ profile,
31
+ testimonial,
32
+ testimonialFooter,
33
+ ...rest
34
+ } = props;
39
35
  const cardAvatarClasses = (0, _classnames.default)({
40
36
  [classes.cardAvatar]: true,
41
37
  [classes.cardAvatarProfile]: profile,
@@ -19,27 +19,23 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
19
19
 
20
20
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
21
 
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
-
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
-
26
22
  const useStyles = (0, _styles.makeStyles)(_cardBodyStyle.default);
27
23
 
28
24
  function CardBody(props) {
29
25
  const classes = useStyles();
30
-
31
- const className = props.className,
32
- children = props.children,
33
- background = props.background,
34
- plain = props.plain,
35
- formHorizontal = props.formHorizontal,
36
- pricing = props.pricing,
37
- signup = props.signup,
38
- color = props.color,
39
- profile = props.profile,
40
- calendar = props.calendar,
41
- rest = _objectWithoutProperties(props, ["className", "children", "background", "plain", "formHorizontal", "pricing", "signup", "color", "profile", "calendar"]);
42
-
26
+ const {
27
+ className,
28
+ children,
29
+ background,
30
+ plain,
31
+ formHorizontal,
32
+ pricing,
33
+ signup,
34
+ color,
35
+ profile,
36
+ calendar,
37
+ ...rest
38
+ } = props;
43
39
  const cardBodyClasses = (0, _classnames.default)({
44
40
  [classes.cardBody]: true,
45
41
  [classes.cardBodyBackground]: background,
@@ -19,26 +19,22 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
19
19
 
20
20
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
21
 
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
-
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
-
26
22
  const useStyles = (0, _styles.makeStyles)(_cardFooterStyle.default);
27
23
 
28
24
  function CardFooter(props) {
29
25
  const classes = useStyles();
30
-
31
- const className = props.className,
32
- children = props.children,
33
- plain = props.plain,
34
- profile = props.profile,
35
- pricing = props.pricing,
36
- testimonial = props.testimonial,
37
- stats = props.stats,
38
- chart = props.chart,
39
- product = props.product,
40
- rest = _objectWithoutProperties(props, ["className", "children", "plain", "profile", "pricing", "testimonial", "stats", "chart", "product"]);
41
-
26
+ const {
27
+ className,
28
+ children,
29
+ plain,
30
+ profile,
31
+ pricing,
32
+ testimonial,
33
+ stats,
34
+ chart,
35
+ product,
36
+ ...rest
37
+ } = props;
42
38
  const cardFooterClasses = (0, _classnames.default)({
43
39
  [classes.cardFooter]: true,
44
40
  [classes.cardFooterPlain]: plain,
@@ -19,27 +19,23 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
19
19
 
20
20
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
21
 
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
-
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
-
26
22
  const useStyles = (0, _styles.makeStyles)(_cardHeaderStyle.default);
27
23
 
28
24
  function CardHeader(props) {
29
25
  const classes = useStyles();
30
-
31
- const className = props.className,
32
- children = props.children,
33
- color = props.color,
34
- plain = props.plain,
35
- image = props.image,
36
- contact = props.contact,
37
- signup = props.signup,
38
- stats = props.stats,
39
- icon = props.icon,
40
- text = props.text,
41
- rest = _objectWithoutProperties(props, ["className", "children", "color", "plain", "image", "contact", "signup", "stats", "icon", "text"]);
42
-
26
+ const {
27
+ className,
28
+ children,
29
+ color,
30
+ plain,
31
+ image,
32
+ contact,
33
+ signup,
34
+ stats,
35
+ icon,
36
+ text,
37
+ ...rest
38
+ } = props;
43
39
  const cardHeaderClasses = (0, _classnames.default)({
44
40
  [classes.cardHeader]: true,
45
41
  [classes[color + "CardHeader"]]: color,
@@ -19,20 +19,16 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
19
19
 
20
20
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
21
 
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
-
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
-
26
22
  const useStyles = (0, _styles.makeStyles)(_cardIconStyle.default);
27
23
 
28
24
  function CardIcon(props) {
29
25
  const classes = useStyles();
30
-
31
- const className = props.className,
32
- children = props.children,
33
- color = props.color,
34
- rest = _objectWithoutProperties(props, ["className", "children", "color"]);
35
-
26
+ const {
27
+ className,
28
+ children,
29
+ color,
30
+ ...rest
31
+ } = props;
36
32
  const cardIconClasses = (0, _classnames.default)({
37
33
  [classes.cardIcon]: true,
38
34
  [classes[color + "CardHeader"]]: color,
@@ -19,20 +19,16 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
19
19
 
20
20
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
21
 
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
-
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
-
26
22
  const useStyles = (0, _styles.makeStyles)(_cardTextStyle.default);
27
23
 
28
24
  function CardText(props) {
29
25
  const classes = useStyles();
30
-
31
- const className = props.className,
32
- children = props.children,
33
- color = props.color,
34
- rest = _objectWithoutProperties(props, ["className", "children", "color"]);
35
-
26
+ const {
27
+ className,
28
+ children,
29
+ color,
30
+ ...rest
31
+ } = props;
36
32
  const cardTextClasses = (0, _classnames.default)({
37
33
  [classes.cardText]: true,
38
34
  [classes[color + "CardHeader"]]: color,
@@ -31,16 +31,18 @@ const useStyles = (0, _styles.makeStyles)(_customInputStyle.default);
31
31
 
32
32
  function CustomInput(props) {
33
33
  const classes = useStyles();
34
- const formControlProps = props.formControlProps,
35
- labelText = props.labelText,
36
- id = props.id,
37
- labelProps = props.labelProps,
38
- inputProps = props.inputProps,
39
- error = props.error,
40
- white = props.white,
41
- inputRootCustomClasses = props.inputRootCustomClasses,
42
- success = props.success,
43
- helperText = props.helperText;
34
+ const {
35
+ formControlProps,
36
+ labelText,
37
+ id,
38
+ labelProps,
39
+ inputProps,
40
+ error,
41
+ white,
42
+ inputRootCustomClasses,
43
+ success,
44
+ helperText
45
+ } = props;
44
46
  const labelClasses = (0, _classnames.default)({
45
47
  [" " + classes.labelRootError]: error,
46
48
  [" " + classes.labelRootSuccess]: success && !error