@agilemotion/oui-react-js 1.8.32 → 1.8.33

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.
@@ -1,91 +1,91 @@
1
- .table thead th {
2
- }
3
-
4
- table.responsive-table {
5
- display: table;
6
- /* required for table-layout to be used (not normally necessary; included for completeness) */
7
- table-layout: fixed;
8
- /* this keeps your columns with fixed with exactly the right width */
9
- width: 100% !important;
10
- /* table must have width set for fixed layout to work as expected */
11
- height: 100%;
12
- }
13
-
14
- table.responsive-table thead {
15
- position: fixed;
16
- top: 50px;
17
- left: 0;
18
- right: 0;
19
- width: 100%;
20
- min-height: 50px;
21
- line-height: 3em;
22
- background: #eee;
23
- table-layout: fixed;
24
- display: table;
25
- }
26
-
27
- table.responsive-table th {
28
- background: #eee;
29
- }
30
-
31
- table.responsive-table td {
32
- line-height: 2em;
33
- }
34
-
35
- table.responsive-table tr > td,
36
- table.responsive-table th {
37
- text-align: left;
38
- }
39
-
40
- .table td, .table th {
41
- white-space: nowrap;
42
- overflow: hidden !important;
43
- text-overflow: ellipsis;
44
- min-width: 0 !important;
45
- border-bottom: 1px solid rgba(224, 224, 224, 1) !important;
46
- border-top: none !important;
47
- }
48
-
49
- .selectCell {
50
- white-space: normal !important;
51
- text-overflow: unset !important;
52
- }
53
-
54
- .selectCell span{
55
- padding: 0 !important;
56
- }
57
-
58
- .table td {
59
- padding: 6px 24px 6px 16px;
60
- border-top: none !important;
61
- display: table-cell;
62
- font-size: 0.875rem;
63
- text-align: left;
64
- font-family: "Roboto", "Helvetica", "Arial", sans-serif;
65
- font-weight: 400;
66
- line-height: 1.43;
67
- border-bottom: 1px solid rgba(224, 224, 224, 1);
68
- letter-spacing: 0.01071em;
69
- vertical-align: inherit
70
- }
71
-
72
- .table th {
73
- color: rgba(0, 0, 0, 0.54);
74
- font-size: 0.75rem;
75
- font-weight: 500;
76
- line-height: 1.3125rem;
77
- }
78
-
79
- .table {
80
- table-layout: fixed;
81
- }
82
-
83
- .table-scrollbar {
84
- position: relative;
85
- overflow: auto;
86
- }
87
-
88
- @media screen and (max-width: 40em) {
89
-
90
-
91
- }
1
+ .table thead th {
2
+ }
3
+
4
+ table.responsive-table {
5
+ display: table;
6
+ /* required for table-layout to be used (not normally necessary; included for completeness) */
7
+ table-layout: fixed;
8
+ /* this keeps your columns with fixed with exactly the right width */
9
+ width: 100% !important;
10
+ /* table must have width set for fixed layout to work as expected */
11
+ height: 100%;
12
+ }
13
+
14
+ table.responsive-table thead {
15
+ position: fixed;
16
+ top: 50px;
17
+ left: 0;
18
+ right: 0;
19
+ width: 100%;
20
+ min-height: 50px;
21
+ line-height: 3em;
22
+ background: #eee;
23
+ table-layout: fixed;
24
+ display: table;
25
+ }
26
+
27
+ table.responsive-table th {
28
+ background: #eee;
29
+ }
30
+
31
+ table.responsive-table td {
32
+ line-height: 2em;
33
+ }
34
+
35
+ table.responsive-table tr > td,
36
+ table.responsive-table th {
37
+ text-align: left;
38
+ }
39
+
40
+ .table td, .table th {
41
+ white-space: nowrap;
42
+ overflow: hidden !important;
43
+ text-overflow: ellipsis;
44
+ min-width: 0 !important;
45
+ border-bottom: 1px solid rgba(224, 224, 224, 1) !important;
46
+ border-top: none !important;
47
+ }
48
+
49
+ .selectCell {
50
+ white-space: normal !important;
51
+ text-overflow: unset !important;
52
+ }
53
+
54
+ .selectCell span{
55
+ padding: 0 !important;
56
+ }
57
+
58
+ .table td {
59
+ padding: 6px 24px 6px 16px;
60
+ border-top: none !important;
61
+ display: table-cell;
62
+ font-size: 0.875rem;
63
+ text-align: left;
64
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
65
+ font-weight: 400;
66
+ line-height: 1.43;
67
+ border-bottom: 1px solid rgba(224, 224, 224, 1);
68
+ letter-spacing: 0.01071em;
69
+ vertical-align: inherit
70
+ }
71
+
72
+ .table th {
73
+ color: rgba(0, 0, 0, 0.54);
74
+ font-size: 0.75rem;
75
+ font-weight: 500;
76
+ line-height: 1.3125rem;
77
+ }
78
+
79
+ .table {
80
+ table-layout: fixed;
81
+ }
82
+
83
+ .table-scrollbar {
84
+ position: relative;
85
+ overflow: auto;
86
+ }
87
+
88
+ @media screen and (max-width: 40em) {
89
+
90
+
91
+ }
@@ -1,126 +1,126 @@
1
- @media all and (min-width: 480px) {
2
- .btn-primary {
3
- border-color: transparent;
4
- }
5
-
6
- #menubar-scroll::-webkit-scrollbar-track {
7
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
8
- background-color: #F5F5F5;
9
- }
10
-
11
- #menubar-scroll::-webkit-scrollbar {
12
- width: 6px !important;
13
- background-color: #F5F5F5;
14
- }
15
-
16
- #menubar-scroll::-webkit-scrollbar-thumb {
17
- background-color: #939393 !important;
18
- }
19
-
20
- .menu-table button {
21
- height: 96px;
22
- width: 100%;
23
- border-radius: 0 !important;
24
- text-decoration:none;
25
- }
26
-
27
- .menu-table .toolStripButtonSelected {
28
- text-decoration: none;
29
- }
30
-
31
- .menu-table .btn-primary:focus {
32
- box-shadow: none;
33
- text-decoration: none;
34
- }
35
- .footer {
36
- font-size: 14px;
37
- text-align: center;
38
- color: white;
39
- height: 10vh;
40
- padding-top: 8px;
41
- }
42
-
43
- .react-pdf__Page__canvas{
44
- width: 100% !important;
45
- }
46
-
47
- .header {
48
- background-clip:border-box;
49
- border-bottom: 1px solid #e1e1e1;
50
- }
51
-
52
- .header shadow {
53
- /**box-shadow: 0 0.15rem 1.75rem 0 rgba(40, 41, 55, 0.15) !important;**/
54
- }
55
-
56
- .header span {
57
- /**color: #fff;**/
58
- }
59
-
60
- .header .form-inline .form-control {
61
- border-top-right-radius: 0;
62
- border-bottom-right-radius: 0;
63
- position: relative;
64
- flex: 1 1 auto;
65
- width: 1%;
66
- margin-bottom: 0;
67
- display: inline-block;
68
- width: auto;
69
- vertical-align: middle;
70
- background-color: #f8f9fc !important;
71
- border: 0 !important;
72
- }
73
-
74
- .btn-primary, .btn, .btn-primary:hover, .btn:hover, .btn-primary:focus, .btn:focus {
75
- outline: none !important;
76
- outline-offset: unset !important;
77
- border-color: transparent !important;
78
- box-shadow: none !important;
79
- text-decoration: none;
80
- }
81
-
82
- .header .btn-primary {
83
- display: block;
84
- color: #fff;
85
- border-radius: 0px;
86
- /*box-shadow: 0px 4px 6px 2px rgba(0,0,0,0.2);*/
87
- //background-color: #114084;
88
- border-top: 1px solid rgba(255,255,255,0.5) !important;
89
- margin-top: -5px;
90
- text-decoration: none;
91
- }
92
-
93
- .header .btn {
94
- font-weight: 400;
95
- text-align: center;
96
- vertical-align: middle;
97
- -ms-user-select: none;
98
- user-select: none;
99
- border: 1px solid transparent;
100
- padding: 0.375rem 0.75rem;
101
- font-size: 1rem;
102
- line-height: 2;
103
- width: 100%;
104
- text-align:left;
105
- text-decoration:none;
106
- transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
107
- }
108
- .border {
109
- border: 0px solid #dee2e6 !important;
110
- }
111
-
112
- .header .dropdown-toggle::after {
113
- display: inline-block;
114
- margin-left: .255em;
115
- vertical-align: .255em;
116
- content: none !important;
117
- border-top: .3em solid;
118
- border-right: .3em solid transparent;
119
- border-bottom: 0;
120
- border-left: .3em solid transparent;
121
- }
122
-
123
- .search .card-body{
124
- height: 60vh !important;
125
- }
126
- }
1
+ @media all and (min-width: 480px) {
2
+ .btn-primary {
3
+ border-color: transparent;
4
+ }
5
+
6
+ #menubar-scroll::-webkit-scrollbar-track {
7
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
8
+ background-color: #F5F5F5;
9
+ }
10
+
11
+ #menubar-scroll::-webkit-scrollbar {
12
+ width: 6px !important;
13
+ background-color: #F5F5F5;
14
+ }
15
+
16
+ #menubar-scroll::-webkit-scrollbar-thumb {
17
+ background-color: #939393 !important;
18
+ }
19
+
20
+ .menu-table button {
21
+ height: 96px;
22
+ width: 100%;
23
+ border-radius: 0 !important;
24
+ text-decoration:none;
25
+ }
26
+
27
+ .menu-table .toolStripButtonSelected {
28
+ text-decoration: none;
29
+ }
30
+
31
+ .menu-table .btn-primary:focus {
32
+ box-shadow: none;
33
+ text-decoration: none;
34
+ }
35
+ .footer {
36
+ font-size: 14px;
37
+ text-align: center;
38
+ color: white;
39
+ height: 10vh;
40
+ padding-top: 8px;
41
+ }
42
+
43
+ .react-pdf__Page__canvas{
44
+ width: 100% !important;
45
+ }
46
+
47
+ .header {
48
+ background-clip:border-box;
49
+ border-bottom: 1px solid #e1e1e1;
50
+ }
51
+
52
+ .header shadow {
53
+ /**box-shadow: 0 0.15rem 1.75rem 0 rgba(40, 41, 55, 0.15) !important;**/
54
+ }
55
+
56
+ .header span {
57
+ /**color: #fff;**/
58
+ }
59
+
60
+ .header .form-inline .form-control {
61
+ border-top-right-radius: 0;
62
+ border-bottom-right-radius: 0;
63
+ position: relative;
64
+ flex: 1 1 auto;
65
+ width: 1%;
66
+ margin-bottom: 0;
67
+ display: inline-block;
68
+ width: auto;
69
+ vertical-align: middle;
70
+ background-color: #f8f9fc !important;
71
+ border: 0 !important;
72
+ }
73
+
74
+ .btn-primary, .btn, .btn-primary:hover, .btn:hover, .btn-primary:focus, .btn:focus {
75
+ outline: none !important;
76
+ outline-offset: unset !important;
77
+ border-color: transparent !important;
78
+ box-shadow: none !important;
79
+ text-decoration: none;
80
+ }
81
+
82
+ .header .btn-primary {
83
+ display: block;
84
+ color: #fff;
85
+ border-radius: 0px;
86
+ /*box-shadow: 0px 4px 6px 2px rgba(0,0,0,0.2);*/
87
+ //background-color: #114084;
88
+ border-top: 1px solid rgba(255,255,255,0.5) !important;
89
+ margin-top: -5px;
90
+ text-decoration: none;
91
+ }
92
+
93
+ .header .btn {
94
+ font-weight: 400;
95
+ text-align: center;
96
+ vertical-align: middle;
97
+ -ms-user-select: none;
98
+ user-select: none;
99
+ border: 1px solid transparent;
100
+ padding: 0.375rem 0.75rem;
101
+ font-size: 1rem;
102
+ line-height: 2;
103
+ width: 100%;
104
+ text-align:left;
105
+ text-decoration:none;
106
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
107
+ }
108
+ .border {
109
+ border: 0px solid #dee2e6 !important;
110
+ }
111
+
112
+ .header .dropdown-toggle::after {
113
+ display: inline-block;
114
+ margin-left: .255em;
115
+ vertical-align: .255em;
116
+ content: none !important;
117
+ border-top: .3em solid;
118
+ border-right: .3em solid transparent;
119
+ border-bottom: 0;
120
+ border-left: .3em solid transparent;
121
+ }
122
+
123
+ .search .card-body{
124
+ height: 60vh !important;
125
+ }
126
+ }
@@ -30,20 +30,22 @@ class RouteActionHandler {
30
30
  _ApplicationManager.default.enableFormMarkers(false);
31
31
  let forward = true;
32
32
  let path = null;
33
- let isParent = _Utils.default.isNull(actionConfig.parent) ? false : actionConfig.parent;
33
+ let isHistory = false;
34
+ let isParent = _Utils.default.isNull(actionConfig.parent) ? false : _Utils.default.evaluateBooleanExpression(actionConfig.parent, component?.id, false);
34
35
  let isPopup = _Utils.default.isNull(actionConfig.popUp) ? false : actionConfig.popUp;
35
36
  let isWindow = _Utils.default.isNull(actionConfig.window) ? false : actionConfig.window;
36
37
  if (!_Utils.default.isNull(actionConfig.pathEvaluator)) {
37
38
  path = _DynamicJS.default.executeScriptObject(currentViewId + 'ViewEvaluator_' + event?.source.id, actionConfig.pathEvaluator);
38
39
  } else {
39
40
  path = _ApplicationManager.default.isExpression(actionConfig.path) ? _ApplicationManager.default.resolveExpressionValue(actionConfig.path, event?.data) : actionConfig.path;
40
- if ('@#{history.back}' === actionConfig.path) {
41
+ if ('@#{history.back}' === path || '$history.back' === path) {
41
42
  let historyElement = _ApplicationManager.default.getPreviousHistoryElement(isWindow ? 'window' : 'main');
42
43
  if (historyElement === null) {
43
44
  console.error('Invalid path. Cannot go back in history');
44
45
  return;
45
46
  }
46
47
  path = historyElement.path;
48
+ isHistory = true;
47
49
  isParent = historyElement.parent;
48
50
  forward = false;
49
51
  }
@@ -66,10 +68,10 @@ class RouteActionHandler {
66
68
  }
67
69
  }
68
70
  let currentGraph = _ApplicationManager.default.getCurrentGraph(isWindow ? 'window' : 'main');
69
- if ('@#{home}' === actionConfig.path) {
71
+ if ('@#{home}' === path) {
70
72
  _ApplicationManager.default.navigate('/view/unload');
71
73
  _ApplicationManager.default.navigate('/view/dashboard');
72
- } else if ('@#{history.back}' === actionConfig.path && currentGraph) {
74
+ } else if (isHistory && currentGraph) {
73
75
  if (isWindow && currentGraph.config.isWindow || !isWindow && !currentGraph.config.isWindow) {
74
76
  _ApplicationManager.default.removeLoadedGraph(isWindow && currentGraph.config.isWindow ? 'window' : 'main');
75
77
  }
@@ -115,7 +117,7 @@ class RouteActionHandler {
115
117
  }
116
118
  }
117
119
  };
118
- _ApplicationManager.default.addView(view, path, forward, isWindow ? 'window' : 'main');
120
+ _ApplicationManager.default.addView(view, path, forward, actionConfig.popUp ? 'popup' : isWindow ? 'window' : 'main');
119
121
  // None-existing route to ensure that the current view unloads
120
122
  if (_Utils.default.isNull(actionConfig.popUp) || actionConfig.popUp === false) {
121
123
  // Windows do not go to the Outlet in the viewport. They get rendered into the window viewport
@@ -26,10 +26,10 @@ class ProcurementMeetings {
26
26
  recipients: receipientIds,
27
27
  data: data
28
28
  };
29
- _SocketManager.default.emitEvent(_VCEventType.VCEventType.SYSTEM_EVENT, eventData);
29
+ return _SocketManager.default.emitEvent(_VCEventType.VCEventType.SYSTEM_EVENT, eventData);
30
30
  };
31
31
  startMeeting = meeting => {
32
- this.emitSocketEvent("startMeeting", {
32
+ return this.emitSocketEvent("startMeeting", {
33
33
  procurementNumber: meeting.procurementNumber
34
34
  }, meeting);
35
35
  };
@@ -57,6 +57,11 @@ class ProcurementMeetings {
57
57
  }
58
58
  } else if (event.systemEventType === 'openPoll') {
59
59
  _ApplicationManager.default.resolveComponentApi("vcRoom").loadChats();
60
+ } else if (event.systemEventType === 'procurementMeetingContinue') {
61
+ let button = _ApplicationManager.default.resolveComponentApi("procurementMeetingContinue");
62
+ if (button) {
63
+ button.visible = true;
64
+ }
60
65
  }
61
66
  };
62
67
  }