@agilemotion/oui-react-js 1.4.7 → 1.4.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.
- package/dist/RestUtils.js +2 -3
- package/dist/components/Button.js +3 -3
- package/dist/components/Calender.css +6 -3
- package/dist/components/Portlet.js +0 -10
- package/dist/components/SocketManager.js +1 -1
- package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +26 -2
- package/dist/components/form/TextField.js +3 -0
- package/dist/components/layout/Window.js +1 -11
- package/dist/components/media/Toolbar.js +1 -23
- package/dist/components/media/VCRoom.css +8 -0
- package/dist/components/media/VCRoom.js +1 -0
- package/dist/components/media/VCRoomWorkspace.js +3 -2
- package/dist/js/Calendar.js +1 -1
- package/package.json +1 -1
package/dist/RestUtils.js
CHANGED
|
@@ -275,8 +275,7 @@ class RestUtils {
|
|
|
275
275
|
fetchConfig = {
|
|
276
276
|
method: _Utils.default.isNull(method) ? 'GET' : method,
|
|
277
277
|
headers: {
|
|
278
|
-
'Content-Type': 'application/
|
|
279
|
-
'Accept': 'application/json',
|
|
278
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
280
279
|
'Authorization': 'Bearer ' + accessToken,
|
|
281
280
|
'idToken': idToken
|
|
282
281
|
},
|
|
@@ -294,7 +293,7 @@ class RestUtils {
|
|
|
294
293
|
}
|
|
295
294
|
|
|
296
295
|
if ('rest' === serviceType) {
|
|
297
|
-
fetchConfig.headers['Content-Type'] = 'application/json; utf-8';
|
|
296
|
+
fetchConfig.headers['Content-Type'] = 'application/json; charset=utf-8';
|
|
298
297
|
}
|
|
299
298
|
}
|
|
300
299
|
|
|
@@ -40,7 +40,7 @@ const useStyles = (0, _styles.makeStyles)(theme => ({
|
|
|
40
40
|
}));
|
|
41
41
|
|
|
42
42
|
const Button = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
43
|
-
var _props$attributes, _props$attributes$sty, _props$config$attribu, _props$config$attribu2, _props$config$attribu3;
|
|
43
|
+
var _props$attributes, _props$attributes$sty, _props$config$attribu, _props$config$attribu2, _props$config$attribu3, _props$config$attribu4, _props$config$attribu5, _props$config$attribu6, _props$config$attribu7;
|
|
44
44
|
|
|
45
45
|
const classes = useStyles();
|
|
46
46
|
|
|
@@ -154,13 +154,13 @@ const Button = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
|
154
154
|
onClick: handleClick
|
|
155
155
|
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
156
156
|
id: props.config.icon,
|
|
157
|
-
color: 'white'
|
|
157
|
+
color: (_props$config$attribu3 = props.config.attributes) !== null && _props$config$attribu3 !== void 0 && (_props$config$attribu4 = _props$config$attribu3.style) !== null && _props$config$attribu4 !== void 0 && _props$config$attribu4.color ? (_props$config$attribu5 = props.config.attributes) === null || _props$config$attribu5 === void 0 ? void 0 : (_props$config$attribu6 = _props$config$attribu5.style) === null || _props$config$attribu6 === void 0 ? void 0 : _props$config$attribu6.color : 'white'
|
|
158
158
|
})) : /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
159
159
|
variant: color === 'secondary' || color === 'primary' ? 'contained' : 'text',
|
|
160
160
|
"aria-controls": "menu-list-grow",
|
|
161
161
|
color: color,
|
|
162
162
|
ref: ref,
|
|
163
|
-
style: (_props$config$
|
|
163
|
+
style: (_props$config$attribu7 = props.config.attributes) === null || _props$config$attribu7 === void 0 ? void 0 : _props$config$attribu7.style,
|
|
164
164
|
disabled: disabled,
|
|
165
165
|
onClick: handleClick,
|
|
166
166
|
"aria-haspopup": "true"
|
|
@@ -146,12 +146,15 @@
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.modal-title {
|
|
149
|
-
font-family: "Roboto",
|
|
149
|
+
font-family: "Roboto","Helvetica","Arial",sans-serif;
|
|
150
150
|
font-style: normal;
|
|
151
151
|
font-weight: 400;
|
|
152
|
-
font-size:
|
|
152
|
+
font-size: 20px;
|
|
153
153
|
line-height: 36px;
|
|
154
|
-
color: #
|
|
154
|
+
color: #3e435d;
|
|
155
|
+
overflow: hidden;
|
|
156
|
+
white-space: nowrap;
|
|
157
|
+
text-overflow: ellipsis;
|
|
155
158
|
}
|
|
156
159
|
|
|
157
160
|
button:focus {
|
|
@@ -9,18 +9,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
|
|
10
10
|
var _Utils = _interopRequireDefault(require("../Utils"));
|
|
11
11
|
|
|
12
|
-
var _reactHtmlRenderer = _interopRequireDefault(require("react-html-renderer"));
|
|
13
|
-
|
|
14
12
|
var _Observable = _interopRequireDefault(require("../event/Observable"));
|
|
15
13
|
|
|
16
|
-
var _ApplicationManager = _interopRequireDefault(require("../ApplicationManager"));
|
|
17
|
-
|
|
18
|
-
var _reactPromiseTracker = require("react-promise-tracker");
|
|
19
|
-
|
|
20
|
-
var _Event = _interopRequireDefault(require("../event/Event"));
|
|
21
|
-
|
|
22
|
-
var _EventType = _interopRequireDefault(require("../event/EventType"));
|
|
23
|
-
|
|
24
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
15
|
|
|
26
16
|
const Portlet = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
@@ -56,7 +56,7 @@ class SocketManager {
|
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
_defineProperty(this, "init", async () => {
|
|
59
|
-
let socket = _socket.default.connect(
|
|
59
|
+
let socket = _socket.default.connect(process.env.REACT_APP_SOCKET_SERVER_URL);
|
|
60
60
|
|
|
61
61
|
this.socket = socket;
|
|
62
62
|
socket.on("connect", () => {
|
|
@@ -281,6 +281,30 @@ class Sidebar extends _react.default.Component {
|
|
|
281
281
|
suppressScrollY: false,
|
|
282
282
|
});*/
|
|
283
283
|
}
|
|
284
|
+
|
|
285
|
+
let service = {
|
|
286
|
+
url: '/ui/api/v1/menu/filter',
|
|
287
|
+
parameters: [{
|
|
288
|
+
value: this.props.routes,
|
|
289
|
+
httpParameterType: 'REQUEST_BODY'
|
|
290
|
+
}],
|
|
291
|
+
method: 'POST',
|
|
292
|
+
contentType: 'application/json'
|
|
293
|
+
};
|
|
294
|
+
(0, _RestUtils.invokeRest)(service, {
|
|
295
|
+
api: {
|
|
296
|
+
get id() {
|
|
297
|
+
return 'dashboard-sidebar';
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
}
|
|
301
|
+
}, 'dashboard-sidebar', result => {
|
|
302
|
+
this.setState({ ...this.state,
|
|
303
|
+
routes: result
|
|
304
|
+
});
|
|
305
|
+
}, e => {
|
|
306
|
+
console.error(e);
|
|
307
|
+
}, null);
|
|
284
308
|
}
|
|
285
309
|
|
|
286
310
|
componentWillUnmount() {
|
|
@@ -360,13 +384,13 @@ class Sidebar extends _react.default.Component {
|
|
|
360
384
|
height: '70%'
|
|
361
385
|
},
|
|
362
386
|
valign: 'top'
|
|
363
|
-
}, /*#__PURE__*/_react.default.createElement(_reactstrap.Nav, {
|
|
387
|
+
}, this.state.routes && /*#__PURE__*/_react.default.createElement(_reactstrap.Nav, {
|
|
364
388
|
style: {
|
|
365
389
|
margin: '8px',
|
|
366
390
|
padding: '16px'
|
|
367
391
|
},
|
|
368
392
|
className: 'nav-wrapper'
|
|
369
|
-
}, this.createLinks(this.
|
|
393
|
+
}, this.createLinks(this.state.routes)))), /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", {
|
|
370
394
|
className: 'sidebar-app-logo-wrapper',
|
|
371
395
|
style: {
|
|
372
396
|
height: '10%'
|
|
@@ -61,6 +61,9 @@ const TextFieldWrapper = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.d
|
|
|
61
61
|
onChange: e => {
|
|
62
62
|
base.handleValueChange(e.target.value);
|
|
63
63
|
},
|
|
64
|
+
inputProps: {
|
|
65
|
+
autocomplete: "new-password"
|
|
66
|
+
},
|
|
64
67
|
onKeyPress: props.keyHandler,
|
|
65
68
|
error: base.hasError,
|
|
66
69
|
helperText: base.errorMessage,
|
|
@@ -23,16 +23,6 @@ var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton")
|
|
|
23
23
|
|
|
24
24
|
var _ApplicationManager = _interopRequireDefault(require("../../ApplicationManager"));
|
|
25
25
|
|
|
26
|
-
var _AlertBar = _interopRequireDefault(require("../AlertBar"));
|
|
27
|
-
|
|
28
|
-
var _VCEventManager = _interopRequireDefault(require("../media/VCEventManager"));
|
|
29
|
-
|
|
30
|
-
var _Observable = _interopRequireDefault(require("../../event/Observable"));
|
|
31
|
-
|
|
32
|
-
var _SocketManager = _interopRequireDefault(require("../SocketManager"));
|
|
33
|
-
|
|
34
|
-
var _TitleBar = _interopRequireDefault(require("../TitleBar"));
|
|
35
|
-
|
|
36
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
37
27
|
|
|
38
28
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
@@ -334,7 +324,7 @@ const Window = props => {
|
|
|
334
324
|
marginRight: '4px'
|
|
335
325
|
}
|
|
336
326
|
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
337
|
-
id: '
|
|
327
|
+
id: 'MAXIMIZE'
|
|
338
328
|
}))))))), children))));
|
|
339
329
|
};
|
|
340
330
|
|
|
@@ -316,7 +316,7 @@ const Toolbar = props => {
|
|
|
316
316
|
style: {
|
|
317
317
|
color: screenShared ? '#8eb2f5' : '#404239',
|
|
318
318
|
marginRight: '4px',
|
|
319
|
-
minWidth: '
|
|
319
|
+
minWidth: '108px'
|
|
320
320
|
}
|
|
321
321
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
322
322
|
style: {
|
|
@@ -339,28 +339,6 @@ const Toolbar = props => {
|
|
|
339
339
|
marginRight: '8px'
|
|
340
340
|
}
|
|
341
341
|
}, "Share screen"))))))), roomStatus === 'SESSION' && displayState === 'MAXIMIZED' && /*#__PURE__*/_react.default.createElement("div", {
|
|
342
|
-
className: 'button-wrapper col no-margin no-padding'
|
|
343
|
-
}, /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
344
|
-
title: "Chat"
|
|
345
|
-
}, /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
346
|
-
style: {
|
|
347
|
-
color: '#404239',
|
|
348
|
-
marginRight: '4px'
|
|
349
|
-
},
|
|
350
|
-
onClick: e => showChat()
|
|
351
|
-
}, hasUnreadChats && /*#__PURE__*/_react.default.createElement("div", {
|
|
352
|
-
className: 'unread-dot'
|
|
353
|
-
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
354
|
-
style: {
|
|
355
|
-
height: '100%'
|
|
356
|
-
}
|
|
357
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
358
|
-
className: 'icon'
|
|
359
|
-
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
360
|
-
id: 'CHAT_BUBBLE'
|
|
361
|
-
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
362
|
-
className: 'text'
|
|
363
|
-
}, "Chat"))))), roomStatus === 'SESSION' && displayState === 'MAXIMIZED' && /*#__PURE__*/_react.default.createElement("div", {
|
|
364
342
|
className: 'centered-flex-box'
|
|
365
343
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
366
344
|
className: 'marker'
|
|
@@ -7,6 +7,14 @@
|
|
|
7
7
|
padding: 0 16px;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
.window-pinned .meeting-title {
|
|
11
|
+
font-size: 20px !important;
|
|
12
|
+
max-width: 220px;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
text-overflow: ellipsis;
|
|
16
|
+
}
|
|
17
|
+
|
|
10
18
|
.footer-container {
|
|
11
19
|
position: absolute;
|
|
12
20
|
margin: 0 16px;
|
|
@@ -70,6 +70,7 @@ const VCRoom = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.for
|
|
|
70
70
|
height: '100%'
|
|
71
71
|
}, props.config)
|
|
72
72
|
}, settings && calendarEvent && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
73
|
+
className: 'meeting-title',
|
|
73
74
|
style: {
|
|
74
75
|
fontSize: '24px',
|
|
75
76
|
margin: '8px 0 0 12px',
|
|
@@ -599,7 +599,8 @@ const VCRoomWorkspace = props => {
|
|
|
599
599
|
width: '100%',
|
|
600
600
|
justifyContent: 'center',
|
|
601
601
|
alignItems: 'center',
|
|
602
|
-
display: 'flex'
|
|
602
|
+
display: 'flex',
|
|
603
|
+
textAlign: 'center'
|
|
603
604
|
}
|
|
604
605
|
}, _VCRoom.WAITING_FOR_OTHERS_TO_JOIN_MESSAGE), grid && roomStatus !== 'LOBBY' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, displayState === 'MAXIMIZED' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, renderParticipantGrid()), displayState === 'MINIMIZED' && /*#__PURE__*/_react.default.createElement("div", {
|
|
605
606
|
style: {
|
|
@@ -613,7 +614,7 @@ const VCRoomWorkspace = props => {
|
|
|
613
614
|
}, /*#__PURE__*/_react.default.createElement(_SideBarContent.default, {
|
|
614
615
|
meetingChat: meetingChat,
|
|
615
616
|
isHost: isHost,
|
|
616
|
-
tab:
|
|
617
|
+
tab: 'People',
|
|
617
618
|
meetingId: meetingId,
|
|
618
619
|
participants: props.participants,
|
|
619
620
|
onHostAudioMute: props.onHostAudioMute,
|
package/dist/js/Calendar.js
CHANGED
|
@@ -182,7 +182,7 @@ class Calendar {
|
|
|
182
182
|
return {
|
|
183
183
|
id: event.id,
|
|
184
184
|
title: event.title,
|
|
185
|
-
key: event.extendedProps.key,
|
|
185
|
+
key: event.key ? event.key : event.extendedProps.key,
|
|
186
186
|
locations: event.extendedProps.locations,
|
|
187
187
|
description: event.extendedProps.description,
|
|
188
188
|
status: event.extendedProps.status,
|