@agilemotion/oui-react-js 1.8.39 → 1.8.41
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.
- package/dist/ApplicationManager.js +6 -3
- package/dist/Utils.js +3 -0
- package/dist/components/Button.css +2 -1
- package/dist/components/Button.js +1 -0
- package/dist/components/DocumentViewer.js +7 -6
- package/dist/components/form/LookupField.js +1 -1
- package/dist/components/layout/CollapsiblePanel.css +9 -9
- package/dist/components/layout/View.css +125 -125
- package/dist/components/layout/Window.js +31 -22
- package/dist/components/loader.css +36 -36
- package/dist/components/media/SideBarContent.js +2 -1
- package/dist/components/media/Video.css +4 -4
- package/dist/components/media/chat/ChatRoom.js +4 -2
- package/dist/components/media/chat/PollContainer.js +52 -2
- package/dist/components/signatures/ResponsiveTable.css +91 -91
- package/dist/components/signatures/widgets.css +126 -126
- package/dist/event/RouteActionHandler.js +1 -1
- package/dist/js/Calendar.js +1 -0
- package/package.json +4 -7
- package/dist/components/form/ImageEditor_bck.js +0 -466
- package/dist/view/Dashboard.bck.js +0 -562
|
@@ -25,7 +25,9 @@ const PollContainer = props => {
|
|
|
25
25
|
const [poll, setPoll] = (0, _react.useState)({});
|
|
26
26
|
const [pollClosed, setPollClosed] = (0, _react.useState)(false);
|
|
27
27
|
const [currentVote, setCurrentVote] = (0, _react.useState)(null);
|
|
28
|
+
const [tieBreakerVote, setTieBreakerVote] = (0, _react.useState)(null);
|
|
28
29
|
const [totalVotes, setTotalVotes] = (0, _react.useState)(0);
|
|
30
|
+
const [tieOptions, setTieOptions] = (0, _react.useState)([]);
|
|
29
31
|
const [socketEventHandler] = (0, _react.useState)({});
|
|
30
32
|
const socketEventHandlerApi = () => {
|
|
31
33
|
return {
|
|
@@ -79,6 +81,14 @@ const PollContainer = props => {
|
|
|
79
81
|
voteCount: -Infinity
|
|
80
82
|
});
|
|
81
83
|
};
|
|
84
|
+
const tieForFirst = function () {
|
|
85
|
+
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
86
|
+
if (!Array.isArray(options) || options.length === 0) return [];
|
|
87
|
+
const counts = options.map(o => o?.voteCount ?? 0);
|
|
88
|
+
const max = Math.max(...counts);
|
|
89
|
+
const leaders = options.filter(o => (o?.voteCount ?? 0) === max);
|
|
90
|
+
return leaders.length >= 2 ? leaders : [];
|
|
91
|
+
};
|
|
82
92
|
(0, _react.useEffect)(() => {
|
|
83
93
|
_VCEventManager.default.addSubscriptions(socketEventHandler, _VCEventType.VCEventType.CHAT_MESSAGE, _VCEventType.VCEventType.SYSTEM_EVENT);
|
|
84
94
|
return () => {
|
|
@@ -89,7 +99,6 @@ const PollContainer = props => {
|
|
|
89
99
|
socketEventHandler.api = socketEventHandlerApi();
|
|
90
100
|
});
|
|
91
101
|
(0, _react.useEffect)(() => {
|
|
92
|
-
console.log('___ POLL: ', props.poll);
|
|
93
102
|
if (props.poll) {
|
|
94
103
|
const renderedPoll = props.poll;
|
|
95
104
|
setPoll(renderedPoll);
|
|
@@ -118,6 +127,7 @@ const PollContainer = props => {
|
|
|
118
127
|
label: option.text
|
|
119
128
|
}));
|
|
120
129
|
});
|
|
130
|
+
setTieOptions(tieForFirst(renderedPoll.options));
|
|
121
131
|
}
|
|
122
132
|
setPollOptions(pollOptionRows);
|
|
123
133
|
}
|
|
@@ -206,7 +216,47 @@ const PollContainer = props => {
|
|
|
206
216
|
style: {
|
|
207
217
|
color: '#945c33'
|
|
208
218
|
}
|
|
209
|
-
}, "You have voted ", props.poll.options.find(o => o.id === poll.selectedOption)?.text))
|
|
219
|
+
}, "You have voted ", props.poll.options.find(o => o.id === poll.selectedOption)?.text)), props.isHost && tieOptions.length > 0 && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
220
|
+
className: "poll-choices",
|
|
221
|
+
style: {
|
|
222
|
+
marginTop: '8px'
|
|
223
|
+
}
|
|
224
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
225
|
+
style: {
|
|
226
|
+
color: '#945c33',
|
|
227
|
+
borderTop: '1px solid #e1e1e1',
|
|
228
|
+
display: 'inline-block',
|
|
229
|
+
paddingTop: '8px',
|
|
230
|
+
width: '100%'
|
|
231
|
+
}
|
|
232
|
+
}, "Tie breaker"), /*#__PURE__*/_react.default.createElement(_FormControl.default, {
|
|
233
|
+
style: {
|
|
234
|
+
width: '100%'
|
|
235
|
+
}
|
|
236
|
+
}, /*#__PURE__*/_react.default.createElement(_RadioGroup.default, {
|
|
237
|
+
className: "poll-choice-radio-group",
|
|
238
|
+
value: tieBreakerVote ? tieBreakerVote : poll.tieBreakerOption ? poll.tieBreakerOption : '',
|
|
239
|
+
onChange: e => {
|
|
240
|
+
setTieBreakerVote(e.target.value);
|
|
241
|
+
}
|
|
242
|
+
}, pollOptions))), /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
243
|
+
className: "vote-button",
|
|
244
|
+
variant: "outlined",
|
|
245
|
+
onClick: () => {
|
|
246
|
+
const hasVoted = poll.tieBreakerOption;
|
|
247
|
+
poll.tieBreakerOption = tieBreakerVote ? tieBreakerVote : '';
|
|
248
|
+
props.submitPollVoteHandler(poll);
|
|
249
|
+
if (!hasVoted) {
|
|
250
|
+
_SocketManager.default.emitEvent(_VCEventType.VCEventType.SYSTEM_EVENT, {
|
|
251
|
+
systemEventType: 'TIE_BREAKER_POLL_VOTE',
|
|
252
|
+
recipients: props.pollParticipantIDs,
|
|
253
|
+
data: {
|
|
254
|
+
pollId: poll.id
|
|
255
|
+
}
|
|
256
|
+
}).catch(() => {});
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}, "Submit tie breaker Vote"))) : /*#__PURE__*/_react.default.createElement("div", {
|
|
210
260
|
className: "poll-footer"
|
|
211
261
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
212
262
|
style: {
|
|
@@ -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
|
+
}
|
|
@@ -37,7 +37,7 @@ class RouteActionHandler {
|
|
|
37
37
|
if (!_Utils.default.isNull(actionConfig.pathEvaluator)) {
|
|
38
38
|
path = _DynamicJS.default.executeScriptObject(currentViewId + 'ViewEvaluator_' + event?.source.id, actionConfig.pathEvaluator);
|
|
39
39
|
} else {
|
|
40
|
-
path = _ApplicationManager.default.isExpression(actionConfig.path) ? _ApplicationManager.default.resolveExpressionValue(actionConfig.path, event?.data) : actionConfig.path;
|
|
40
|
+
path = actionConfig.path !== '@#{history.back}' && _ApplicationManager.default.isExpression(actionConfig.path) ? _ApplicationManager.default.resolveExpressionValue(actionConfig.path, event?.data) : actionConfig.path;
|
|
41
41
|
if ('@#{history.back}' === path || '$history.back' === path) {
|
|
42
42
|
let historyElement = _ApplicationManager.default.getPreviousHistoryElement(isWindow ? 'window' : 'main');
|
|
43
43
|
if (historyElement === null) {
|
package/dist/js/Calendar.js
CHANGED
|
@@ -152,6 +152,7 @@ class Calendar {
|
|
|
152
152
|
description: event.extendedProps.description,
|
|
153
153
|
status: event.extendedProps.status,
|
|
154
154
|
host: event.extendedProps.host,
|
|
155
|
+
chairPersonId: event.chairPersonId ? event.chairPersonId : event.extendedProps.host.id,
|
|
155
156
|
attendees: event.extendedProps.attendees,
|
|
156
157
|
privacyType: event.extendedProps.privacyType,
|
|
157
158
|
documents: event.extendedProps.documents,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agilemotion/oui-react-js",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.41",
|
|
4
4
|
"description": "AgileMotion React UI Component Library - A comprehensive collection of dashboard components, forms, media controls, and more",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "",
|
|
@@ -36,10 +36,6 @@
|
|
|
36
36
|
"**/*.css",
|
|
37
37
|
"**/*.scss"
|
|
38
38
|
],
|
|
39
|
-
"peerDependencies": {
|
|
40
|
-
"react": ">=17",
|
|
41
|
-
"react-dom": ">=17"
|
|
42
|
-
},
|
|
43
39
|
"dependencies": {
|
|
44
40
|
"@blaumaus/react-alert": "^7.0.7",
|
|
45
41
|
"@date-io/date-fns": "^1.3.13",
|
|
@@ -96,10 +92,11 @@
|
|
|
96
92
|
"perfect-scrollbar": "^1.5.0",
|
|
97
93
|
"process": "^0.11.10",
|
|
98
94
|
"prop-types": "^15.7.2",
|
|
95
|
+
"react": "^18.3.1",
|
|
96
|
+
"react-dom": "^18.3.1",
|
|
99
97
|
"react-bootstrap": "^1.5.2",
|
|
100
98
|
"react-bootstrap-switch": "^15.5.3",
|
|
101
99
|
"react-confirm-alert": "^3.0.6",
|
|
102
|
-
"react-dom": "^18.3.1",
|
|
103
100
|
"react-draggable": "^4.4.6",
|
|
104
101
|
"react-feather": "^2.0.10",
|
|
105
102
|
"react-google-autocomplete": "^2.7.3",
|
|
@@ -180,4 +177,4 @@
|
|
|
180
177
|
"eslint-plugin-flowtype": "3.13.0",
|
|
181
178
|
"typescript": "3.8.3"
|
|
182
179
|
}
|
|
183
|
-
}
|
|
180
|
+
}
|