@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.
- package/dist/ApplicationManager.js +7 -0
- package/dist/ViewContext.js +1 -1
- package/dist/components/DataGrid.js +25 -29
- package/dist/components/HtmlPanel.js +4 -2
- package/dist/components/PopupView.js +9 -5
- package/dist/components/StepperTitleBar.js +33 -18
- package/dist/components/TabPanel.js +30 -11
- package/dist/components/form/AutoComplete.js +4 -4
- package/dist/components/form/DatePicker.js +2 -2
- package/dist/components/form/ImageEditor_bck.js +466 -0
- package/dist/components/form/TimePicker.js +4 -4
- package/dist/components/layout/CollapsiblePanel.css +9 -9
- package/dist/components/layout/Layout.js +9 -3
- package/dist/components/layout/View.css +125 -125
- package/dist/components/layout/Window.css +14 -14
- package/dist/components/layout/Window.js +6 -3
- package/dist/components/layout/WindowViewPort.js +0 -16
- package/dist/components/loader.css +36 -36
- package/dist/components/media/TrainingRoom.js +1 -1
- package/dist/components/media/Video.css +4 -4
- package/dist/components/media/chat/PollContainer.js +27 -22
- package/dist/components/signatures/ResponsiveTable.css +91 -91
- package/dist/components/signatures/widgets.css +126 -126
- package/dist/event/RouteActionHandler.js +7 -5
- package/dist/js/ProcurementMeetings.js +7 -2
- package/dist/view/Dashboard.bck.js +562 -0
- package/package.json +14 -12
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
.view {
|
|
2
|
-
padding: 0 32px;
|
|
3
|
-
background-color: #ffffff;
|
|
4
|
-
border-radius: 4px;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.window-unpinned .view {
|
|
8
|
-
width: 0 !important;;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.window-pinned .view {
|
|
12
|
-
padding: 0 8px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.no-margin {
|
|
16
|
-
margin-left: 0 !important;
|
|
17
|
-
margin-right: 0 !important;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.no-padding {
|
|
21
|
-
padding-left: 0 !important;
|
|
22
|
-
padding-right: 0 !important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.centered-flex-box {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-Items: center;
|
|
28
|
-
justify-content: center
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.max-h-40 {
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* 150% zoom res */
|
|
35
|
-
@media (max-width: 1512px) and (max-height: 982px) and (min-resolution: 2dppx) {
|
|
36
|
-
.max-h-40 {
|
|
37
|
-
max-height: 150px !important;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.flex-nowrap {
|
|
41
|
-
flex-wrap: wrap !important;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.flex-child-nowrap {
|
|
45
|
-
width: 100% !important;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.view {
|
|
49
|
-
padding: 0 8px !important;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.grid-table-pagination div {
|
|
53
|
-
font-size: 12px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.grid-table-pagination p {
|
|
57
|
-
overflow: hidden;
|
|
58
|
-
text-overflow: ellipsis;
|
|
59
|
-
white-space: nowrap;
|
|
60
|
-
max-width: 12px;
|
|
61
|
-
font-size: 12px;
|
|
62
|
-
margin-top: 4px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.tab-page-container {
|
|
66
|
-
margin: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.default-oui-layout {
|
|
70
|
-
margin: 8px;
|
|
71
|
-
padding: 0 !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.defaultForm {
|
|
75
|
-
margin: 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.oui-form-item {
|
|
79
|
-
min-width: 232px !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.oui-form-item-container {
|
|
83
|
-
min-width: 240px !important;
|
|
84
|
-
margin: 0 4px;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* Smartphones (landscape); */
|
|
89
|
-
@media only screen and (min-device-width : 361px) and (max-device-width : 480px) {
|
|
90
|
-
.view {
|
|
91
|
-
padding: 0 16px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* Smartphones (portrait); */
|
|
96
|
-
@media only screen and (min-device-width : 280px) and (max-device-width : 360px) {
|
|
97
|
-
.view {
|
|
98
|
-
padding: 0 16px;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* iPads (portrait and landscape); */
|
|
103
|
-
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
|
|
104
|
-
.view {
|
|
105
|
-
padding: 0 24px;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/* iPad 3 */
|
|
110
|
-
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
|
|
111
|
-
.view {
|
|
112
|
-
padding: 0 24px;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/* small desktop screens */
|
|
117
|
-
@media only screen and (max-width : 600px) {
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/* low resolution desktop */
|
|
121
|
-
@media only screen and (max-width : 1200px) {
|
|
122
|
-
.view {
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
}
|
|
1
|
+
.view {
|
|
2
|
+
padding: 0 32px;
|
|
3
|
+
background-color: #ffffff;
|
|
4
|
+
border-radius: 4px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.window-unpinned .view {
|
|
8
|
+
width: 0 !important;;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.window-pinned .view {
|
|
12
|
+
padding: 0 8px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.no-margin {
|
|
16
|
+
margin-left: 0 !important;
|
|
17
|
+
margin-right: 0 !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.no-padding {
|
|
21
|
+
padding-left: 0 !important;
|
|
22
|
+
padding-right: 0 !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.centered-flex-box {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-Items: center;
|
|
28
|
+
justify-content: center
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.max-h-40 {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* 150% zoom res */
|
|
35
|
+
@media (max-width: 1512px) and (max-height: 982px) and (min-resolution: 2dppx) {
|
|
36
|
+
.max-h-40 {
|
|
37
|
+
max-height: 150px !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.flex-nowrap {
|
|
41
|
+
flex-wrap: wrap !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.flex-child-nowrap {
|
|
45
|
+
width: 100% !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.view {
|
|
49
|
+
padding: 0 8px !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.grid-table-pagination div {
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.grid-table-pagination p {
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
white-space: nowrap;
|
|
60
|
+
max-width: 12px;
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
margin-top: 4px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.tab-page-container {
|
|
66
|
+
margin: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.default-oui-layout {
|
|
70
|
+
margin: 8px;
|
|
71
|
+
padding: 0 !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.defaultForm {
|
|
75
|
+
margin: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.oui-form-item {
|
|
79
|
+
min-width: 232px !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.oui-form-item-container {
|
|
83
|
+
min-width: 240px !important;
|
|
84
|
+
margin: 0 4px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* Smartphones (landscape); */
|
|
89
|
+
@media only screen and (min-device-width : 361px) and (max-device-width : 480px) {
|
|
90
|
+
.view {
|
|
91
|
+
padding: 0 16px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Smartphones (portrait); */
|
|
96
|
+
@media only screen and (min-device-width : 280px) and (max-device-width : 360px) {
|
|
97
|
+
.view {
|
|
98
|
+
padding: 0 16px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* iPads (portrait and landscape); */
|
|
103
|
+
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
|
|
104
|
+
.view {
|
|
105
|
+
padding: 0 24px;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* iPad 3 */
|
|
110
|
+
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
|
|
111
|
+
.view {
|
|
112
|
+
padding: 0 24px;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* small desktop screens */
|
|
117
|
+
@media only screen and (max-width : 600px) {
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* low resolution desktop */
|
|
121
|
+
@media only screen and (max-width : 1200px) {
|
|
122
|
+
.view {
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
.meeting-window-header {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
width: 100%;
|
|
3
|
+
padding: 8px 0;
|
|
4
|
+
color: #000000;
|
|
5
|
+
cursor: move;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
#meeting-window-title {
|
|
9
|
-
|
|
9
|
+
margin: 0 32px;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.meeting-title {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
margin: 8px 0 0 0;
|
|
14
|
+
font-size: 24px;
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
text-align: left;
|
|
17
|
+
padding-left: 0 !important;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.window-paper-min,
|
|
21
21
|
.window-paper-max {
|
|
22
|
-
|
|
22
|
+
--Paper-shadow: unset !important;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
@media (max-width: 991px) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
.window-paper-max {
|
|
27
|
+
width: calc(100% - 16px) !important;
|
|
28
|
+
}
|
|
29
29
|
}
|
|
@@ -49,7 +49,10 @@ const PaperComponent = props => {
|
|
|
49
49
|
cancel: '[class*="MuiDialogContent-root"]',
|
|
50
50
|
nodeRef: nodeRef
|
|
51
51
|
}, /*#__PURE__*/_react.default.createElement(_Paper.default, _extends({}, props, {
|
|
52
|
-
ref: nodeRef
|
|
52
|
+
ref: nodeRef,
|
|
53
|
+
style: {
|
|
54
|
+
minWidth: '320px'
|
|
55
|
+
}
|
|
53
56
|
})));
|
|
54
57
|
};
|
|
55
58
|
const Window = props => {
|
|
@@ -260,9 +263,9 @@ const Window = props => {
|
|
|
260
263
|
style: {
|
|
261
264
|
width: '48px',
|
|
262
265
|
height: '48px',
|
|
263
|
-
margin: '8px 16px 0 0',
|
|
264
266
|
position: 'absolute',
|
|
265
|
-
right: 0
|
|
267
|
+
right: 0,
|
|
268
|
+
top: '-2px'
|
|
266
269
|
}
|
|
267
270
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
268
271
|
className: 'dialogHeader row',
|
|
@@ -23,7 +23,6 @@ const WindowViewContainer = props => {
|
|
|
23
23
|
function loadView(context) {
|
|
24
24
|
if (context) {
|
|
25
25
|
if (Object.keys(context).find(key => key === 'windowView')) {
|
|
26
|
-
setView(null);
|
|
27
26
|
setView(context.windowView);
|
|
28
27
|
if (!_Utils.default.isNull(context.pinned)) {
|
|
29
28
|
setPinned(context.pinned);
|
|
@@ -89,21 +88,6 @@ const WindowViewContainer = props => {
|
|
|
89
88
|
key: view.config.id,
|
|
90
89
|
parameters: view.parameters,
|
|
91
90
|
handle: view.handle
|
|
92
|
-
})), view && pinned && /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
93
|
-
onClick: e => {
|
|
94
|
-
_ApplicationManager.default.updateContext({
|
|
95
|
-
windowDisplayState: 'MAXIMIZED'
|
|
96
|
-
});
|
|
97
|
-
setPinned(false);
|
|
98
|
-
},
|
|
99
|
-
style: {
|
|
100
|
-
marginRight: '8px',
|
|
101
|
-
position: 'absolute',
|
|
102
|
-
right: 0,
|
|
103
|
-
top: 16
|
|
104
|
-
}
|
|
105
|
-
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
106
|
-
id: 'DOCK'
|
|
107
91
|
})));
|
|
108
92
|
};
|
|
109
93
|
return renderView();
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
.loaderModal {
|
|
2
|
-
display: block; /* Hidden by default */
|
|
3
|
-
position: fixed; /* Stay in place */
|
|
4
|
-
z-index: 3000; /* Sit on top */
|
|
5
|
-
left: 0;
|
|
6
|
-
top: 0;
|
|
7
|
-
width: 100vw; /* Full width */
|
|
8
|
-
height: 100vh; /* Full height */
|
|
9
|
-
overflow: hidden; /* Enable scroll if needed */
|
|
10
|
-
background-color: rgb(0,0,0); /* Fallback color */
|
|
11
|
-
background-color: rgba(0,0,0,0.1); /* Black w/ opacity */
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* Modal Content/Box */
|
|
15
|
-
.modal-content {
|
|
16
|
-
background-color: transparent;
|
|
17
|
-
margin: 30% auto; /* 15% from the top and centered */
|
|
18
|
-
padding: 20px;
|
|
19
|
-
border: 1px solid #888;
|
|
20
|
-
width: 10%; /* Could be more or less, depending on screen size */
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* The Close Button */
|
|
24
|
-
.close {
|
|
25
|
-
color: #aaa;
|
|
26
|
-
float: right;
|
|
27
|
-
font-size: 28px;
|
|
28
|
-
font-weight: bold;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.close:hover,
|
|
32
|
-
.close:focus {
|
|
33
|
-
color: black;
|
|
34
|
-
text-decoration: none;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
}
|
|
1
|
+
.loaderModal {
|
|
2
|
+
display: block; /* Hidden by default */
|
|
3
|
+
position: fixed; /* Stay in place */
|
|
4
|
+
z-index: 3000; /* Sit on top */
|
|
5
|
+
left: 0;
|
|
6
|
+
top: 0;
|
|
7
|
+
width: 100vw; /* Full width */
|
|
8
|
+
height: 100vh; /* Full height */
|
|
9
|
+
overflow: hidden; /* Enable scroll if needed */
|
|
10
|
+
background-color: rgb(0,0,0); /* Fallback color */
|
|
11
|
+
background-color: rgba(0,0,0,0.1); /* Black w/ opacity */
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Modal Content/Box */
|
|
15
|
+
.modal-content {
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
margin: 30% auto; /* 15% from the top and centered */
|
|
18
|
+
padding: 20px;
|
|
19
|
+
border: 1px solid #888;
|
|
20
|
+
width: 10%; /* Could be more or less, depending on screen size */
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* The Close Button */
|
|
24
|
+
.close {
|
|
25
|
+
color: #aaa;
|
|
26
|
+
float: right;
|
|
27
|
+
font-size: 28px;
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.close:hover,
|
|
32
|
+
.close:focus {
|
|
33
|
+
color: black;
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
@@ -530,7 +530,7 @@ const TrainingRoom = /*#__PURE__*/_react.default.memo(/*#__PURE__*/_react.defaul
|
|
|
530
530
|
meetingId: props.calendarEvent.id,
|
|
531
531
|
currentUserFullName: currentUserFullName,
|
|
532
532
|
onGridSetup: () => {
|
|
533
|
-
setSideBarTab('People');
|
|
533
|
+
//setSideBarTab('People');
|
|
534
534
|
},
|
|
535
535
|
sideBarTab: sideBarTab,
|
|
536
536
|
roomStatus: roomStatus,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.user-video {
|
|
2
|
-
min-width: 280px;
|
|
3
|
-
height: 280px;
|
|
4
|
-
}
|
|
1
|
+
.user-video {
|
|
2
|
+
min-width: 280px;
|
|
3
|
+
height: 280px;
|
|
4
|
+
}
|
|
@@ -155,66 +155,71 @@ const PollContainer = props => {
|
|
|
155
155
|
}
|
|
156
156
|
}, pollOptions))), !pollClosed ? /*#__PURE__*/_react.default.createElement("div", {
|
|
157
157
|
className: "poll-footer"
|
|
158
|
+
}, /*#__PURE__*/_react.default.createElement(_material.Stack, {
|
|
159
|
+
direction: {
|
|
160
|
+
xs: 'column',
|
|
161
|
+
sm: 'row'
|
|
162
|
+
},
|
|
163
|
+
spacing: 1,
|
|
164
|
+
alignItems: "flex-start"
|
|
158
165
|
}, /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
159
166
|
className: "vote-button",
|
|
160
|
-
variant:
|
|
167
|
+
variant: "outlined",
|
|
161
168
|
onClick: () => {
|
|
162
169
|
const hasVoted = poll.selectedOption;
|
|
163
170
|
poll.selectedOption = currentVote ? currentVote : '';
|
|
164
171
|
props.submitPollVoteHandler(poll);
|
|
165
172
|
if (!hasVoted) {
|
|
166
173
|
_SocketManager.default.emitEvent(_VCEventType.VCEventType.SYSTEM_EVENT, {
|
|
167
|
-
systemEventType:
|
|
174
|
+
systemEventType: 'NEW_POLL_VOTE',
|
|
168
175
|
recipients: props.pollParticipantIDs,
|
|
169
176
|
data: {
|
|
170
177
|
pollId: poll.id
|
|
171
178
|
}
|
|
172
|
-
}).catch(
|
|
179
|
+
}).catch(() => {});
|
|
173
180
|
}
|
|
174
181
|
}
|
|
175
182
|
}, "Submit Vote"), props.currentUser.userId === props.pollCreator.userId && /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
176
183
|
className: "vote-button",
|
|
177
|
-
variant:
|
|
178
|
-
onClick: e =>
|
|
179
|
-
|
|
180
|
-
},
|
|
181
|
-
style: {
|
|
182
|
-
marginLeft: '8px'
|
|
183
|
-
}
|
|
184
|
-
}, "Close Poll"), /*#__PURE__*/_react.default.createElement("span", {
|
|
184
|
+
variant: "outlined",
|
|
185
|
+
onClick: e => props.closePollHandler(e, poll)
|
|
186
|
+
}, "Close Poll")), /*#__PURE__*/_react.default.createElement("div", {
|
|
185
187
|
style: {
|
|
188
|
+
marginTop: "4px",
|
|
186
189
|
marginLeft: '8px',
|
|
187
190
|
color: '#000000'
|
|
188
191
|
},
|
|
189
192
|
className: "time-left"
|
|
190
|
-
}, `${totalVotes} votes out of ${props.numberOfPollParticipants}`), /*#__PURE__*/_react.default.createElement("
|
|
191
|
-
className: "separator"
|
|
192
|
-
}, "\u2022"), /*#__PURE__*/_react.default.createElement("span", {
|
|
193
|
+
}, `${totalVotes} votes out of ${props.numberOfPollParticipants}`), /*#__PURE__*/_react.default.createElement("div", {
|
|
193
194
|
className: "time-left",
|
|
194
195
|
style: {
|
|
195
196
|
marginLeft: '4px',
|
|
197
|
+
marginTop: "4px",
|
|
196
198
|
color: '#000000'
|
|
197
199
|
}
|
|
198
200
|
}, pollRemainingTime(poll.expirationDateTime)), poll.selectedOption && /*#__PURE__*/_react.default.createElement("div", {
|
|
199
|
-
className: "poll-creation-date"
|
|
201
|
+
className: "poll-creation-date",
|
|
202
|
+
style: {
|
|
203
|
+
marginTop: "4px"
|
|
204
|
+
}
|
|
200
205
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
201
206
|
style: {
|
|
202
207
|
color: '#945c33'
|
|
203
208
|
}
|
|
204
209
|
}, "You have voted ", props.poll.options.find(o => o.id === poll.selectedOption)?.text))) : /*#__PURE__*/_react.default.createElement("div", {
|
|
205
210
|
className: "poll-footer"
|
|
206
|
-
}, /*#__PURE__*/_react.default.createElement("
|
|
211
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
207
212
|
style: {
|
|
208
|
-
marginLeft: '4px'
|
|
213
|
+
marginLeft: '4px',
|
|
214
|
+
marginTop: "4px"
|
|
209
215
|
},
|
|
210
216
|
className: "time-left"
|
|
211
|
-
}, `${totalVotes} voted out of ${props.numberOfPollParticipants}`), /*#__PURE__*/_react.default.createElement("
|
|
212
|
-
className: "separator"
|
|
213
|
-
}, "\u2022"), /*#__PURE__*/_react.default.createElement("span", {
|
|
217
|
+
}, `${totalVotes} voted out of ${props.numberOfPollParticipants}`), /*#__PURE__*/_react.default.createElement("div", {
|
|
214
218
|
className: "time-left",
|
|
215
219
|
style: {
|
|
216
|
-
marginLeft: '4px'
|
|
220
|
+
marginLeft: '4px',
|
|
221
|
+
marginTop: "4px"
|
|
217
222
|
}
|
|
218
|
-
}, "
|
|
223
|
+
}, "The poll is closed")));
|
|
219
224
|
};
|
|
220
225
|
var _default = exports.default = PollContainer;
|