@agilemotion/oui-react-js 1.3.2 → 1.3.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 (77) hide show
  1. package/dist/ApplicationContext.js +90 -41
  2. package/dist/BasicAppHome.js +16 -10
  3. package/dist/BusinessPortalApp.js +25 -50
  4. package/dist/BusinessPortalAppHome.js +102 -109
  5. package/dist/RestUtils.js +64 -35
  6. package/dist/Utils.js +47 -1
  7. package/dist/components/AlertBar.js +40 -11
  8. package/dist/components/ConfirmationDialog.js +54 -8
  9. package/dist/components/DataGrid.css +3 -1
  10. package/dist/components/DataGrid.js +149 -82
  11. package/dist/components/DataGridFilter.js +85 -8
  12. package/dist/components/Dialog.js +258 -0
  13. package/dist/components/HtmlPanel.js +103 -4
  14. package/dist/components/Icon.js +52 -0
  15. package/dist/components/PopupView.js +55 -6
  16. package/dist/components/SignaturePanel.js +40 -11
  17. package/dist/components/StepperTitleBar.bck.css +85 -0
  18. package/dist/components/StepperTitleBar.css +53 -54
  19. package/dist/components/StepperTitleBar.js +39 -28
  20. package/dist/components/TabPanel.js +10 -11
  21. package/dist/components/TableCellContent.js +6 -3
  22. package/dist/components/TemplateDesigner.css +13 -0
  23. package/dist/components/TemplateDesigner.js +494 -0
  24. package/dist/components/TemplateItemEventHandler.js +440 -0
  25. package/dist/components/TemplateTable.js +222 -0
  26. package/dist/components/TitleBar.js +21 -14
  27. package/dist/components/Toolbar.js +7 -5
  28. package/dist/components/Tree.js +5 -2
  29. package/dist/components/dashboard/BasicBusinessAppDashboard.js +14 -10
  30. package/dist/components/dashboard/BusinessPortalAppDashboard.js +79 -34
  31. package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +1 -1
  32. package/dist/components/dashboard/components/portal/Workspace.css +6 -6
  33. package/dist/components/form/AddressSearch.js +140 -0
  34. package/dist/components/form/BaseField.js +31 -6
  35. package/dist/components/form/Checkbox.js +3 -0
  36. package/dist/components/form/DatePicker.js +12 -7
  37. package/dist/components/form/FieldSet.js +246 -71
  38. package/dist/components/form/Form.js +153 -122
  39. package/dist/components/form/GridField.js +3 -2
  40. package/dist/components/form/ImageEditor.js +461 -0
  41. package/dist/components/form/LabelField.js +2 -2
  42. package/dist/components/form/LookupField.js +16 -4
  43. package/dist/components/form/RadioGroup.js +107 -0
  44. package/dist/components/form/Section.js +58 -19
  45. package/dist/components/form/SelectItem.js +5 -3
  46. package/dist/components/form/SignatureTemplateDesignerField.js +46 -0
  47. package/dist/components/form/TextField.js +5 -9
  48. package/dist/components/form/TransferList.js +7 -7
  49. package/dist/components/form/UploadField.js +93 -42
  50. package/dist/components/form/noimage-person.png +0 -0
  51. package/dist/components/form/noimage.png +0 -0
  52. package/dist/components/form/transparent.jpeg +0 -0
  53. package/dist/components/layout/CollapsiblePanel.js +0 -6
  54. package/dist/components/layout/Layout.js +41 -20
  55. package/dist/components/layout/View.css +43 -0
  56. package/dist/components/layout/View.js +76 -156
  57. package/dist/components/layout/ViewPort.js +29 -47
  58. package/dist/components/navbars/HomeNavbar.js +31 -6
  59. package/dist/components/navbars/PortalNavbar.css +2 -2
  60. package/dist/components/navbars/PortalNavbar.js +125 -36
  61. package/dist/components/signatures/AgilitySignaturePanel.js +312 -0
  62. package/dist/components/signatures/DocumentContainer.css +33 -0
  63. package/dist/components/signatures/DocumentContainer.js +206 -0
  64. package/dist/components/signatures/ImageSignatureInput.js +265 -0
  65. package/dist/components/signatures/ResponsiveTable.js +1 -3
  66. package/dist/components/signatures/SignatureInput.js +303 -0
  67. package/dist/components/signatures/SignatureInputProps.js +17 -11
  68. package/dist/components/signatures/SignatureTemplateDesigner.js +186 -77
  69. package/dist/components/signatures/transparent.jpeg +0 -0
  70. package/dist/event/LoadDataActionHandler.js +1 -1
  71. package/dist/event/Observable.js +1 -1
  72. package/dist/event/RouteActionHandler.js +17 -4
  73. package/dist/event/ServiceCallActionHandler.js +7 -3
  74. package/dist/js/Addresses.js +16 -9
  75. package/dist/view/Dashboard.js +10 -6
  76. package/dist/view/security/LoginBusinessPortal.js +1 -0
  77. package/package.json +4 -1
@@ -46,8 +46,8 @@ exports.LEGEND_ARROW_ICON = LEGEND_ARROW_ICON;
46
46
 
47
47
  class ApplicationContext {
48
48
  constructor() {
49
- _defineProperty(this, "setConfirmDialogHandler", handler => {
50
- this.props.dialogHandler = handler;
49
+ _defineProperty(this, "setConfirmDialogHandler", controller => {
50
+ this.props.confirmationDialogController = controller;
51
51
  });
52
52
 
53
53
  _defineProperty(this, "registerLibrary", (name, lib) => {
@@ -133,7 +133,8 @@ class ApplicationContext {
133
133
  }
134
134
  }
135
135
 
136
- this.props.appBarTitle = "".concat(legendPath).concat(legendIconArrow, "<span>").concat(this.graphs[0].title, "</span>");
136
+ legendPath = legendPath.length > 0 ? legendPath + legendIconArrow : '';
137
+ this.props.appBarTitle = "".concat(legendPath, "<span>").concat(this.graphs[0].title, "</span>");
137
138
  this.graphs[0].setCurrentNodeTitle(titleValue);
138
139
  }
139
140
 
@@ -242,7 +243,7 @@ class ApplicationContext {
242
243
  this.navHistory.pop();
243
244
  }
244
245
  } else {
245
- this.props.dialogHandler.openPopupView(view);
246
+ this.props.confirmationDialogController.openPopupView(view);
246
247
  }
247
248
 
248
249
  if (view.parent) {
@@ -254,7 +255,10 @@ class ApplicationContext {
254
255
  try {
255
256
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
256
257
  const contextView = _step5.value;
257
- this.closeView(contextView.handle.api.id, forward);
258
+
259
+ if (!_Utils.default.isNull(contextView) && !_Utils.default.isNull(contextView.handle.api)) {
260
+ this.closeView(contextView.handle.api.id, forward);
261
+ }
258
262
  }
259
263
  } catch (err) {
260
264
  _iterator5.e(err);
@@ -277,7 +281,7 @@ class ApplicationContext {
277
281
  _defineProperty(this, "closeCurrentView", forward => {
278
282
  let currentView = this.views[this.views.length - 1];
279
283
 
280
- if (!_Utils.default.isNull(currentView)) {
284
+ if (!_Utils.default.isNull(currentView) && !_Utils.default.isNull(currentView.handle.api)) {
281
285
  this.closeView(currentView.handle.api.id, forward);
282
286
  }
283
287
  });
@@ -309,7 +313,7 @@ class ApplicationContext {
309
313
  if (!view.popUp && !view.parent && (_Utils.default.isNull(forward) || forward === false)) {
310
314
  this.navHistory.pop();
311
315
  } else if (view.popUp) {
312
- this.props.dialogHandler.closePopupView();
316
+ this.props.confirmationDialogController.closePopupView();
313
317
  }
314
318
  }
315
319
 
@@ -434,21 +438,23 @@ class ApplicationContext {
434
438
  return template;
435
439
  });
436
440
 
437
- _defineProperty(this, "resolveExpressionValue", expression => {
441
+ _defineProperty(this, "resolveExpressionValue", (expression, eventData = null) => {
438
442
  let paramExpression = expression.match(/\(([^)]*)\)/);
439
- let baseExpression = !_Utils.default.isNull(paramExpression) && paramExpression.length > 0 ? expression.replace(paramExpression[0], '') : expression;
443
+ let isEvent = expression.startsWith('$event.data');
444
+ let baseExpression = isEvent ? "$event.data" : !_Utils.default.isNull(paramExpression) && paramExpression.length > 0 ? expression.replace(paramExpression[0], '') : expression;
440
445
  let expresionContent = baseExpression.substring(baseExpression.indexOf('{') + 1, baseExpression.indexOf('}'));
441
446
  let isComponent = baseExpression.startsWith('@#{');
442
447
  let isLib = baseExpression.startsWith('@@{');
443
448
  let tokens = expresionContent.split('.');
444
449
  let idToken = tokens[0];
445
450
 
446
- if (isComponent) {
447
- let value = this.resolveComponentApi(expresionContent);
448
- let index = expression.indexOf('}.');
451
+ if (isComponent || isEvent) {
452
+ let value = isEvent ? eventData : this.resolveComponentApi(expresionContent);
453
+ let expressionClosure = isEvent ? 'data.' : '}.';
454
+ let index = expression.indexOf(expressionClosure);
449
455
 
450
456
  if (index > 0) {
451
- let propertyChain = expression.substring(index + 2);
457
+ let propertyChain = expression.substring(index + expressionClosure.length);
452
458
  let props = propertyChain.split(".");
453
459
 
454
460
  var _iterator11 = _createForOfIteratorHelper(props),
@@ -540,7 +546,42 @@ class ApplicationContext {
540
546
  }
541
547
  });
542
548
 
543
- _defineProperty(this, "resolveParameterValue", parameterConfig => {
549
+ _defineProperty(this, "resolveParameterValue", (parameterConfig, eventData = null) => {
550
+ let expression = parameterConfig.value.toString();
551
+ let isEvent = expression.startsWith('$event.data');
552
+
553
+ if (isEvent) {
554
+ let value = eventData;
555
+ let expressionClosure = 'data.';
556
+ let index = expression.indexOf(expressionClosure);
557
+
558
+ if (index > 0) {
559
+ let propertyChain = expression.substring(index + expressionClosure.length);
560
+ let props = propertyChain.split(".");
561
+
562
+ var _iterator12 = _createForOfIteratorHelper(props),
563
+ _step12;
564
+
565
+ try {
566
+ for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
567
+ const prop = _step12.value;
568
+
569
+ if (_Utils.default.isNull(value)) {
570
+ return null;
571
+ }
572
+
573
+ value = value[prop];
574
+ }
575
+ } catch (err) {
576
+ _iterator12.e(err);
577
+ } finally {
578
+ _iterator12.f();
579
+ }
580
+ }
581
+
582
+ return value;
583
+ }
584
+
544
585
  let val = null;
545
586
 
546
587
  if (_Utils.default.isNull(parameterConfig.value)) {
@@ -681,21 +722,21 @@ class ApplicationContext {
681
722
  }
682
723
 
683
724
  refreshUserAvatar(avatar) {
684
- var _iterator12 = _createForOfIteratorHelper(this.listeners),
685
- _step12;
725
+ var _iterator13 = _createForOfIteratorHelper(this.listeners),
726
+ _step13;
686
727
 
687
728
  try {
688
- for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
689
- const listener = _step12.value;
729
+ for (_iterator13.s(); !(_step13 = _iterator13.n()).done;) {
730
+ const listener = _step13.value;
690
731
 
691
732
  if (listener.type === AVATAR_LISTENER_TYPE) {
692
733
  listener.handler(avatar);
693
734
  }
694
735
  }
695
736
  } catch (err) {
696
- _iterator12.e(err);
737
+ _iterator13.e(err);
697
738
  } finally {
698
- _iterator12.f();
739
+ _iterator13.f();
699
740
  }
700
741
  }
701
742
 
@@ -709,11 +750,15 @@ class ApplicationContext {
709
750
  }
710
751
 
711
752
  openConfirmDialog(message, resultCallback) {
712
- return this.props.dialogHandler.openDialog(message, resultCallback);
753
+ return this.props.confirmationDialogController.openDialog(message, {
754
+ execute: result => {
755
+ resultCallback(result);
756
+ }
757
+ });
713
758
  }
714
759
 
715
760
  isExpression(objValue) {
716
- return !_Utils.default.isNull(objValue) && typeof objValue === 'string' && !_Utils.default.isNull(objValue.match(_DynamicJS.TEMPLATE_REGEX));
761
+ return objValue && objValue.toString().startsWith("$event.data") || !_Utils.default.isNull(objValue) && typeof objValue === 'string' && !_Utils.default.isNull(objValue.match(_DynamicJS.TEMPLATE_REGEX));
717
762
  }
718
763
  /**
719
764
  * Returns a view configuration with a particular id
@@ -732,7 +777,11 @@ class ApplicationContext {
732
777
  if (this.graphs.length > 0) {
733
778
  this.closeCurrentView(false);
734
779
  let graph = this.graphs[this.graphs.length - 1];
735
- this.loadAnchor(graph);
780
+
781
+ if (!_Utils.default.isNull(graph.anchorHistoryElement)) {
782
+ this.loadAnchor(graph);
783
+ }
784
+
736
785
  this.graphs.splice(0, this.graphs.length);
737
786
  }
738
787
  }
@@ -741,18 +790,18 @@ class ApplicationContext {
741
790
  if (isParent && !isPopup) {
742
791
  this.navHistory.splice(0, this.navHistory.length);
743
792
 
744
- var _iterator13 = _createForOfIteratorHelper(this.views),
745
- _step13;
793
+ var _iterator14 = _createForOfIteratorHelper(this.views),
794
+ _step14;
746
795
 
747
796
  try {
748
- for (_iterator13.s(); !(_step13 = _iterator13.n()).done;) {
749
- const contextView = _step13.value;
797
+ for (_iterator14.s(); !(_step14 = _iterator14.n()).done;) {
798
+ const contextView = _step14.value;
750
799
  this.closeView(contextView.handle.api.id, false);
751
800
  }
752
801
  } catch (err) {
753
- _iterator13.e(err);
802
+ _iterator14.e(err);
754
803
  } finally {
755
- _iterator13.f();
804
+ _iterator14.f();
756
805
  }
757
806
 
758
807
  this.getViewPortHistory().push("/switch");
@@ -768,18 +817,18 @@ class ApplicationContext {
768
817
 
769
818
  graph.init();
770
819
 
771
- var _iterator14 = _createForOfIteratorHelper(parameterValues),
772
- _step14;
820
+ var _iterator15 = _createForOfIteratorHelper(parameterValues),
821
+ _step15;
773
822
 
774
823
  try {
775
- for (_iterator14.s(); !(_step14 = _iterator14.n()).done;) {
776
- const parameterValue = _step14.value;
824
+ for (_iterator15.s(); !(_step15 = _iterator15.n()).done;) {
825
+ const parameterValue = _step15.value;
777
826
  graph.model[parameterValue.name] = parameterValue.value;
778
827
  }
779
828
  } catch (err) {
780
- _iterator14.e(err);
829
+ _iterator15.e(err);
781
830
  } finally {
782
- _iterator14.f();
831
+ _iterator15.f();
783
832
  }
784
833
 
785
834
  this.graphs.push(graph);
@@ -789,12 +838,12 @@ class ApplicationContext {
789
838
  if (this.graphs.length > 0) {
790
839
  let graphToSignal = this.graphs[this.graphs.length - 1];
791
840
 
792
- var _iterator15 = _createForOfIteratorHelper(this.graphs),
793
- _step15;
841
+ var _iterator16 = _createForOfIteratorHelper(this.graphs),
842
+ _step16;
794
843
 
795
844
  try {
796
- for (_iterator15.s(); !(_step15 = _iterator15.n()).done;) {
797
- const graph = _step15.value;
845
+ for (_iterator16.s(); !(_step16 = _iterator16.n()).done;) {
846
+ const graph = _step16.value;
798
847
 
799
848
  if (id === graph.id) {
800
849
  graphToSignal = graph;
@@ -802,9 +851,9 @@ class ApplicationContext {
802
851
  }
803
852
  }
804
853
  } catch (err) {
805
- _iterator15.e(err);
854
+ _iterator16.e(err);
806
855
  } finally {
807
- _iterator15.f();
856
+ _iterator16.f();
808
857
  }
809
858
 
810
859
  graphToSignal.signal(event);
@@ -29,6 +29,8 @@ var _core = require("@material-ui/core");
29
29
 
30
30
  var _ThemeProvider = _interopRequireDefault(require("@material-ui/styles/ThemeProvider"));
31
31
 
32
+ var _RestUtils = require("./RestUtils");
33
+
32
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
33
35
 
34
36
  function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
@@ -54,7 +56,7 @@ class BasicAppHome extends _react.Component {
54
56
  dashboardSettings: null,
55
57
  message: "",
56
58
  open: false,
57
- avatarUrl: null,
59
+ avatarUrl: location + this.props.contextRoot + this.props.authUrl + "/user/avatar?" + "access_token=" + sessionStorage.getItem("accessToken") + "&idToken=" + sessionStorage.getItem("idToken"),
58
60
  tokenRefreshMonitorStarted: false
59
61
  };
60
62
  }
@@ -121,14 +123,18 @@ class BasicAppHome extends _react.Component {
121
123
  }
122
124
 
123
125
  logout() {
124
- sessionStorage.removeItem("accessToken");
125
- sessionStorage.removeItem("refreshToken");
126
- sessionStorage.removeItem("idToken");
127
- sessionStorage.removeItem("lastLogin");
128
-
129
- _ApplicationContext.default.clear();
130
-
131
- this.props.history.push('/login');
126
+ (0, _RestUtils.sendRequest)(location + this.props.contextRoot + this.props.authUrl + "/logout", response => {
127
+ sessionStorage.removeItem("accessToken");
128
+ sessionStorage.removeItem("refreshToken");
129
+ sessionStorage.removeItem("idToken");
130
+ sessionStorage.removeItem("lastLogin");
131
+
132
+ _ApplicationContext.default.clear();
133
+
134
+ this.props.history.push('/login');
135
+ }, e => {
136
+ console.error('Error loging out');
137
+ }, true);
132
138
  }
133
139
 
134
140
  render() {
@@ -152,7 +158,7 @@ class BasicAppHome extends _react.Component {
152
158
  this.logout();
153
159
  },
154
160
  settings: this.state.dashboardSettings,
155
- avatar: !_Utils.default.isNull(this.state.avatarUrl) ? this.state.avatarUrl : null,
161
+ avatar: this.state.avatarUrl,
156
162
  logo: this.state.dashboardSettings.logo,
157
163
  appLogoPath: this.props.appLogoPath
158
164
  })) : null), /*#__PURE__*/_react.default.createElement(_LoadingIndicator.default, {
@@ -9,10 +9,6 @@ var _react = _interopRequireWildcard(require("react"));
9
9
 
10
10
  require("./BusinessPortalApp.css");
11
11
 
12
- var _themeDefault = _interopRequireDefault(require("./theme-default"));
13
-
14
- var _MuiThemeProvider = _interopRequireDefault(require("material-ui/styles/MuiThemeProvider"));
15
-
16
12
  var _reactRouterDom = require("react-router-dom");
17
13
 
18
14
  var _LoginBusinessPortal = _interopRequireDefault(require("./view/security/LoginBusinessPortal"));
@@ -23,10 +19,6 @@ var _ResetPasswordBasic = _interopRequireDefault(require("./view/security/ResetP
23
19
 
24
20
  var _ChangePasswordBasic = _interopRequireDefault(require("./view/security/ChangePasswordBasic"));
25
21
 
26
- var _core = require("@material-ui/core");
27
-
28
- var _ThemeProvider = _interopRequireDefault(require("@material-ui/styles/ThemeProvider"));
29
-
30
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31
23
 
32
24
  function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
@@ -34,28 +26,11 @@ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return
34
26
  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
35
27
 
36
28
  const location = window.location.protocol + "//" + window.location.hostname;
37
- const agilityTheme = (0, _core.createMuiTheme)({
38
- palette: {
39
- primary: {
40
- main: '#015588'
41
- },
42
- secondary: {
43
- main: '#000099'
44
- },
45
- white: {
46
- main: '#ffffff'
47
- }
48
- }
49
- });
50
29
 
51
30
  class BusinessPortalApp extends _react.Component {
52
31
  render() {
53
32
  return /*#__PURE__*/_react.default.createElement(_reactRouterDom.BrowserRouter, {
54
33
  basename: "/"
55
- }, /*#__PURE__*/_react.default.createElement(_MuiThemeProvider.default, {
56
- muiTheme: _themeDefault.default
57
- }, /*#__PURE__*/_react.default.createElement(_ThemeProvider.default, {
58
- theme: agilityTheme
59
34
  }, /*#__PURE__*/_react.default.createElement(_reactRouterDom.Switch, null, /*#__PURE__*/_react.default.createElement(_reactRouterDom.Route, {
60
35
  path: "/",
61
36
  exact: true,
@@ -66,46 +41,46 @@ class BusinessPortalApp extends _react.Component {
66
41
  }), /*#__PURE__*/_react.default.createElement(_reactRouterDom.Route, {
67
42
  path: "/login",
68
43
  render: props => /*#__PURE__*/_react.default.createElement(_LoginBusinessPortal.default, {
69
- url: location + this.props.contextRoot + this.props.authUrl + "/login",
70
- background: '#fafafa',
71
- textColor: this.props.loginTextColor,
72
- footerLogo: this.props.footerLogo,
73
- footerText: this.props.footerText,
74
- footerWidth: this.props.footerWidth,
75
- footerSplitterColor: this.props.footerSplitterColor,
76
- title: this.props.loginTitle,
77
- logo: this.props.logo
44
+ url: location + this.props.contextRoot + this.props.implConfig.authUrl + "/login",
45
+ background: this.props.implConfig.loginBackgroundColor,
46
+ textColor: this.props.implConfig.loginTextColor,
47
+ footerLogo: this.props.implConfig.footerLogo,
48
+ footerText: this.props.implConfig.footerText,
49
+ footerWidth: this.props.implConfig.footerWidth,
50
+ footerSplitterColor: this.props.implConfig.footerSplitterColor,
51
+ title: this.props.implConfig.loginTitle,
52
+ logo: this.props.implConfig.appLogo
78
53
  })
79
54
  }), /*#__PURE__*/_react.default.createElement(_reactRouterDom.Route, {
80
55
  path: "/forgot-password",
81
56
  render: () => /*#__PURE__*/_react.default.createElement(_ForgotPasswordBasic.default, {
82
- url: location + this.props.contextRoot + this.props.authUrl + "/password/forgot",
83
- background: '#fafafa',
84
- textColor: this.props.loginTextColor,
85
- title: this.props.loginTitle,
86
- logo: this.props.logo
57
+ url: location + this.props.implConfig.contextRoot + this.props.implConfig.authUrl + "/password/forgot",
58
+ background: this.props.implConfig.loginBackgroundColor,
59
+ textColor: this.props.implConfig.loginTextColor,
60
+ title: this.props.implConfig.loginTitle,
61
+ logo: this.props.implConfig.appLogo
87
62
  })
88
63
  }), /*#__PURE__*/_react.default.createElement(_reactRouterDom.Route, {
89
64
  path: "/reset-password",
90
65
  render: () => /*#__PURE__*/_react.default.createElement(_ResetPasswordBasic.default, {
91
- url: location + this.props.contextRoot + this.props.authUrl + "/password/confirmForgot",
92
- background: '#fafafa',
93
- textColor: this.props.loginTextColor,
94
- title: this.props.loginTitle,
95
- logo: this.props.logo
66
+ url: location + this.props.implConfig.contextRoot + this.props.implConfig.authUrl + "/password/confirmForgot",
67
+ background: this.props.implConfig.loginBackgroundColor,
68
+ textColor: this.props.implConfig.loginTextColor,
69
+ title: this.props.implConfig.loginTitle,
70
+ logo: this.props.implConfig.appLogo
96
71
  })
97
72
  }), /*#__PURE__*/_react.default.createElement(_reactRouterDom.Route, {
98
73
  path: "/change-password",
99
74
  render: () => /*#__PURE__*/_react.default.createElement(_ChangePasswordBasic.default, {
100
- url: location + this.props.contextRoot + this.props.authUrl + "/password/challenge",
101
- background: '#fafafa',
102
- textColor: this.props.loginTextColor,
103
- title: this.props.loginTitle,
104
- logo: this.props.logo
75
+ url: location + this.props.implConfig.contextRoot + this.props.implConfig.authUrl + "/password/challenge",
76
+ background: this.props.implConfig.loginBackgroundColor,
77
+ textColor: this.props.implConfig.loginTextColor,
78
+ title: this.props.implConfig.loginTitle,
79
+ logo: this.props.implConfig.appLogo
105
80
  })
106
81
  }), /*#__PURE__*/_react.default.createElement(_reactRouterDom.Redirect, {
107
82
  to: "/home"
108
- })))));
83
+ })));
109
84
  }
110
85
 
111
86
  }