@agilemotion/oui-react-js 1.4.6 → 1.4.8
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/components/Button.js +3 -3
- package/dist/components/Calender.css +6 -3
- package/dist/components/Portlet.js +0 -10
- package/dist/components/form/TextField.js +3 -0
- package/dist/components/media/Toolbar.js +1 -1
- package/dist/components/media/TrainingRoom.js +0 -1
- package/dist/components/media/VCRoomWorkspace.js +0 -3
- package/package.json +1 -1
|
@@ -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) => {
|
|
@@ -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,
|
|
@@ -158,13 +158,11 @@ const VCRoomWorkspace = props => {
|
|
|
158
158
|
surfaceSwitching: 'exclude',
|
|
159
159
|
monitorTypeSurfaces: 'exclude'
|
|
160
160
|
};
|
|
161
|
-
alert('Cancelling screen share');
|
|
162
161
|
|
|
163
162
|
_SocketManager.default.emitEvent(_VCEventType.VCEventType.CANCEL_SCREEN_SHARE, {
|
|
164
163
|
roomId: props.meetingId
|
|
165
164
|
}).then(async result => {
|
|
166
165
|
navigator.mediaDevices.getDisplayMedia(videoConstraints).then(async stream => {
|
|
167
|
-
alert('Screen cancelled');
|
|
168
166
|
const track = stream.getVideoTracks()[0];
|
|
169
167
|
|
|
170
168
|
track.onended = e => {
|
|
@@ -198,7 +196,6 @@ const VCRoomWorkspace = props => {
|
|
|
198
196
|
});
|
|
199
197
|
setShareScreenProducer(null);
|
|
200
198
|
});
|
|
201
|
-
alert('Sharing starting');
|
|
202
199
|
props.onStartSharing();
|
|
203
200
|
}).catch(e => {
|
|
204
201
|
props.onStopSharing();
|