@agilemotion/oui-react-js 1.6.0 → 1.6.2
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 +698 -421
- package/dist/BasicApp.js +5 -5
- package/dist/BasicAppHome.js +55 -26
- package/dist/DynamicJS.js +147 -65
- package/dist/InteractionPortalApp.css +1 -1
- package/dist/InteractionPortalApp.js +5 -5
- package/dist/InteractionPortalAppHome.js +65 -18
- package/dist/InteractionPortalApp_old.js +107 -61
- package/dist/RestUtils.js +339 -287
- package/dist/TypedValue.js +18 -15
- package/dist/Utils.js +375 -276
- package/dist/WithRouter.js +6 -6
- package/dist/assets/jss/components/authNavbarStyle.js +166 -164
- package/dist/assets/jss/components/buttonStyle.js +1 -1
- package/dist/assets/jss/components/cardAvatarStyle.js +1 -1
- package/dist/assets/jss/components/cardBodyStyle.js +1 -1
- package/dist/assets/jss/components/cardFooterStyle.js +1 -1
- package/dist/assets/jss/components/cardHeaderStyle.js +13 -13
- package/dist/assets/jss/components/cardIconStyle.js +1 -1
- package/dist/assets/jss/components/cardStyle.js +1 -1
- package/dist/assets/jss/components/cardTextStyle.js +1 -1
- package/dist/assets/jss/components/customDropdownStyle.js +168 -169
- package/dist/assets/jss/components/customInputStyle.js +9 -3
- package/dist/assets/jss/components/dropdownStyle.js +69 -69
- package/dist/assets/jss/components/footerStyle.js +19 -13
- package/dist/assets/jss/components/headerLinksStyle.js +45 -48
- package/dist/assets/jss/components/headerStyle.js +68 -65
- package/dist/assets/jss/components/navbarLinksStyle.js +66 -77
- package/dist/assets/jss/components/navbarStyle.js +79 -76
- package/dist/assets/jss/components/sidebarStyle.js +436 -436
- package/dist/assets/jss/components/typographyStyle.js +9 -3
- package/dist/assets/jss/rootStyle.js +96 -81
- package/dist/assets/jss/views/layoutStyle.js +44 -41
- package/dist/assets/jss/views/loginBasicStyle.js +1 -1
- package/dist/assets/jss/views/loginBusinessPortalStyle.js +1 -1
- package/dist/assets/jss/views/loginStyle.js +82 -77
- package/dist/components/AlertBar.js +50 -17
- package/dist/components/AlertItem.js +35 -12
- package/dist/components/AlertTemplate.js +30 -29
- package/dist/components/Button.js +62 -34
- package/dist/components/Calendar.js +140 -91
- package/dist/components/ConfirmationDialog.js +36 -11
- package/dist/components/DataGrid.js +512 -270
- package/dist/components/DataGridColumn.js +47 -22
- package/dist/components/DataGridFilter.js +186 -105
- package/dist/components/DataGridHeading.js +50 -32
- package/dist/components/Dialog.js +90 -35
- package/dist/components/DocumentTemplateDesigner.js +34 -16
- package/dist/components/DocumentTemplateDesignerComponent.css +0 -157
- package/dist/components/DocumentTemplateDesignerComponent.js +118 -62
- package/dist/components/DocumentTemplatePlaceholderDialog.js +52 -30
- package/dist/components/DocumentViewer.js +34 -18
- package/dist/components/DocumentViewerComponent.js +26 -9
- package/dist/components/ElementResizeHandler.js +229 -207
- package/dist/components/FileThumb.js +32 -10
- package/dist/components/Graph.js +153 -85
- package/dist/components/GraphNode.js +58 -38
- package/dist/components/HtmlPanel.js +67 -39
- package/dist/components/Icon.js +206 -166
- package/dist/components/LoadingIndicator.js +3 -3
- package/dist/components/LottieIcon.js +1 -1
- package/dist/components/PopupView.js +39 -19
- package/dist/components/Portlet.js +35 -19
- package/dist/components/RegularButton.js +28 -32
- package/dist/components/SignaturePanel.js +37 -17
- package/dist/components/SocketManager.js +178 -119
- package/dist/components/StepperTitleBar.js +62 -42
- package/dist/components/TabPage.js +30 -25
- package/dist/components/TabPanel.js +86 -33
- package/dist/components/TableCellContent.js +51 -32
- package/dist/components/TemplateDesigner.js +173 -121
- package/dist/components/TemplateItemEventHandler.js +335 -221
- package/dist/components/TemplateTable.js +183 -118
- package/dist/components/TitleBar.js +26 -11
- package/dist/components/Toolbar.js +67 -38
- package/dist/components/Tooltip.js +43 -35
- package/dist/components/Tree.js +85 -44
- package/dist/components/UseIsVisible.js +25 -4
- package/dist/components/card/Card.js +27 -33
- package/dist/components/card/CardAvatar.js +20 -19
- package/dist/components/card/CardBody.js +24 -27
- package/dist/components/card/CardFooter.js +23 -24
- package/dist/components/card/CardHeader.js +24 -27
- package/dist/components/card/CardIcon.js +17 -13
- package/dist/components/card/CardText.js +17 -13
- package/dist/components/customInput/CustomInput.js +22 -36
- package/dist/components/dashboard/{BasicBusinessAppDashboard.js → FoldingSideTabDashboard.js} +111 -63
- package/dist/components/dashboard/SideMenuModuleDashboard.css +60 -0
- package/dist/components/dashboard/SideMenuModuleDashboard.js +423 -0
- package/dist/components/dashboard/TopMenuModuleDashboard.js +138 -0
- package/dist/components/dashboard/components/Header.js +29 -12
- package/dist/components/dashboard/components/LeftDrawer.js +3 -5
- package/dist/components/dashboard/components/UserIdentity.js +2 -2
- package/dist/components/dashboard/components/blackDashboard/fixedPlugin/FixedPlugin.js +131 -87
- package/dist/components/dashboard/components/blackDashboard/sidebar/FoldingTabSidebar.js +488 -0
- package/dist/components/dashboard/components/blackDashboard/sidebar/ModuleMenu.js +64 -0
- package/dist/components/dashboard/components/blackDashboard/sidebar/ModuleMenuSidebar.css +65 -0
- package/dist/components/dashboard/components/blackDashboard/sidebar/ModuleMenuSidebar.js +556 -0
- package/dist/components/dashboard/components/portal/Timeline.js +1 -1
- package/dist/components/dashboard/components/portal/Workspace.js +5 -11
- package/dist/components/footer/Footer.js +31 -24
- package/dist/components/footer/HomeFooter.js +68 -34
- package/dist/components/form/AddressSearch.js +78 -42
- package/dist/components/form/AutoComplete.js +136 -55
- package/dist/components/form/BaseField.js +108 -56
- package/dist/components/form/Checkbox.js +10 -8
- package/dist/components/form/DatePicker.js +47 -25
- package/dist/components/form/FieldSet.js +217 -84
- package/dist/components/form/Form.js +334 -200
- package/dist/components/form/GridField.js +185 -82
- package/dist/components/form/IconField.js +9 -7
- package/dist/components/form/ImageEditor.js +141 -92
- package/dist/components/form/LabelField.js +12 -10
- package/dist/components/form/LookupField.js +54 -32
- package/dist/components/form/MultiFileUploadField.js +101 -67
- package/dist/components/form/RadioGroup.js +33 -16
- package/dist/components/form/Section.js +84 -34
- package/dist/components/form/SelectItem.js +55 -33
- package/dist/components/form/SignatureTemplateDesignerField.js +11 -9
- package/dist/components/form/Switch.js +10 -8
- package/dist/components/form/TextField.js +34 -16
- package/dist/components/form/TimePicker.js +19 -15
- package/dist/components/form/TransferList.js +153 -75
- package/dist/components/form/UploadField.js +183 -128
- package/dist/components/grid/GridContainer.js +12 -8
- package/dist/components/grid/GridItem.js +12 -8
- package/dist/components/layout/CollapsiblePanel.js +44 -18
- package/dist/components/layout/Layout.js +81 -40
- package/dist/components/layout/VC.css +1 -1
- package/dist/components/layout/View.js +136 -62
- package/dist/components/layout/ViewContainer.js +13 -11
- package/dist/components/layout/ViewPort.js +25 -10
- package/dist/components/layout/Window.js +87 -53
- package/dist/components/layout/WindowViewPort.js +38 -16
- package/dist/components/media/ClosablePanel.js +7 -7
- package/dist/components/media/LobbyWaitingList.js +7 -9
- package/dist/components/media/MediaSoupHelper.js +379 -187
- package/dist/components/media/SideBarContent.js +22 -14
- package/dist/components/media/SocketRequest.js +5 -1
- package/dist/components/media/SocketResponse.js +5 -1
- package/dist/components/media/Timer.js +35 -15
- package/dist/components/media/Toolbar.css +5 -0
- package/dist/components/media/Toolbar.js +220 -102
- package/dist/components/media/ToolbarButton.js +82 -33
- package/dist/components/media/Toolbar_bck.js +142 -70
- package/dist/components/media/Tracks.js +31 -28
- package/dist/components/media/TrainingRoom.js +284 -121
- package/dist/components/media/Transports.js +27 -24
- package/dist/components/media/VCEventManager.js +95 -31
- package/dist/components/media/VCEventType.js +5 -1
- package/dist/components/media/VCParticipantList.js +40 -14
- package/dist/components/media/VCParticipantListItem.js +92 -41
- package/dist/components/media/VCRoom.js +29 -11
- package/dist/components/media/VCRoomParticipant.js +488 -242
- package/dist/components/media/VCRoomRecorder.js +236 -175
- package/dist/components/media/VCRoomWorkspace.js +505 -245
- package/dist/components/media/Video.js +89 -25
- package/dist/components/media/VideoPlayer.js +56 -22
- package/dist/components/media/chat/ChatRoom.js +255 -132
- package/dist/components/media/chat/ChatRoomItem.js +35 -14
- package/dist/components/media/chat/ChatRoomList.js +43 -13
- package/dist/components/menu/CollapsibleMenu.js +39 -20
- package/dist/components/menu/MenuBars.js +81 -48
- package/dist/components/menu/MenuButton.js +95 -60
- package/dist/components/menu/MenuItem.js +28 -9
- package/dist/components/menu/MenuLink.js +12 -10
- package/dist/components/menu/PopupMenu.js +16 -12
- package/dist/components/navbars/AuthNavbar.js +27 -18
- package/dist/components/navbars/HomeNavbar.js +243 -194
- package/dist/components/navbars/PortalNavbar.js +50 -26
- package/dist/components/signatures/AgilitySignaturePanel.js +96 -39
- package/dist/components/signatures/AlertItem.js +36 -13
- package/dist/components/signatures/Card.js +4 -4
- package/dist/components/signatures/DocumentContainer.js +141 -57
- package/dist/components/signatures/ImageSignatureInput.js +90 -59
- package/dist/components/signatures/MenuButton.js +53 -33
- package/dist/components/signatures/Prompt.js +26 -5
- package/dist/components/signatures/ResponsiveTable.js +302 -197
- package/dist/components/signatures/SearchView.js +77 -36
- package/dist/components/signatures/SignatorySearch.js +30 -10
- package/dist/components/signatures/SignatorySearchForm.js +35 -18
- package/dist/components/signatures/SignatureInput.js +56 -26
- package/dist/components/signatures/SignatureInputProps.js +107 -55
- package/dist/components/signatures/SignatureTemplateDesigner.js +340 -235
- package/dist/components/signatures/Toolbar.js +135 -94
- package/dist/components/signatures/ViewUtils.js +273 -224
- package/dist/components/typography/Danger.js +3 -5
- package/dist/components/typography/Info.js +3 -5
- package/dist/components/typography/Link.js +3 -5
- package/dist/event/ActionHandlers.js +57 -43
- package/dist/event/Event.js +16 -13
- package/dist/event/EventListener.js +39 -36
- package/dist/event/EventType.js +5 -1
- package/dist/event/LoadDataActionHandler.js +20 -8
- package/dist/event/Observable.js +323 -142
- package/dist/event/RouteActionHandler.js +139 -125
- package/dist/event/ScriptActionHandler.js +20 -8
- package/dist/event/ServiceCallActionHandler.js +51 -39
- package/dist/event/SignalGraphActionHandler.js +19 -7
- package/dist/js/Addresses.js +38 -24
- package/dist/js/Calendar.js +168 -161
- package/dist/js/DynamicLib.js +14 -11
- package/dist/js/Media.js +213 -120
- package/dist/js/Validators.js +6 -5
- package/dist/js/Windows.js +48 -47
- package/dist/redux/store/ConfigureStore.js +17 -9
- package/dist/redux/store/DashboardStore.js +110 -43
- package/dist/redux/store/History.js +1 -1
- package/dist/redux/store/SecurityStore.js +59 -20
- package/dist/security/TokenManager.js +44 -30
- package/dist/theme-default.js +1 -1
- package/dist/view/Dashboard.js +230 -137
- package/dist/view/PortalDashboard.js +5 -5
- package/dist/view/Settings.js +4 -2
- package/dist/view/Views.js +27 -14
- package/dist/view/security/ChangePasswordBasic.js +97 -40
- package/dist/view/security/ForgotPassword.js +59 -22
- package/dist/view/security/ForgotPasswordBasic.js +62 -21
- package/dist/view/security/Login.js +64 -24
- package/dist/view/security/LoginBasic.js +65 -26
- package/dist/view/security/LoginInteractionPortal.js +62 -25
- package/dist/view/security/ResetPassword.js +65 -23
- package/dist/view/security/ResetPasswordBasic.js +91 -37
- package/dist/view/security/Security.js +12 -12
- package/package.json +1 -2
- package/dist/components/dashboard/BusinessPortalAppDashboard.js +0 -154
- package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +0 -447
- /package/dist/components/dashboard/{BusinessPortalAppDashboard.css → TopMenuModuleDashboard.css} +0 -0
- /package/dist/components/dashboard/components/blackDashboard/sidebar/{Sidebar.css → FoldingTabSidebar.css} +0 -0
|
@@ -19,36 +19,51 @@ var _PopupView = _interopRequireDefault(require("../PopupView"));
|
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
const navigate = (0, _reactRouterDom.useNavigate)();
|
|
22
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
28
27
|
|
|
29
|
-
|
|
28
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
30
29
|
|
|
31
|
-
|
|
30
|
+
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
31
|
+
|
|
32
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
33
|
+
|
|
34
|
+
var ViewPort = function ViewPort() {
|
|
35
|
+
var navigate = (0, _reactRouterDom.useNavigate)();
|
|
36
|
+
|
|
37
|
+
var _React$useState = _react.default.useState(true),
|
|
38
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
39
|
+
loading = _React$useState2[0],
|
|
40
|
+
setLoading = _React$useState2[1];
|
|
41
|
+
|
|
42
|
+
var confirmationDialogController = _react.default.useRef({});
|
|
43
|
+
|
|
44
|
+
var popupViewController = _react.default.useRef({});
|
|
45
|
+
|
|
46
|
+
var openPopupView = function openPopupView(view) {
|
|
32
47
|
popupViewController.current.open(view);
|
|
33
48
|
};
|
|
34
49
|
|
|
35
|
-
|
|
50
|
+
var closePopupView = function closePopupView() {
|
|
36
51
|
popupViewController.current.close();
|
|
37
52
|
};
|
|
38
53
|
|
|
39
|
-
_react.default.useEffect(()
|
|
54
|
+
_react.default.useEffect(function () {
|
|
40
55
|
if (loading) {
|
|
41
56
|
setLoading(false);
|
|
42
57
|
}
|
|
43
58
|
});
|
|
44
59
|
|
|
45
|
-
_react.default.useEffect(()
|
|
60
|
+
_react.default.useEffect(function () {
|
|
46
61
|
if (!loading) {
|
|
47
62
|
navigate("/view/dashboard");
|
|
48
63
|
}
|
|
49
64
|
}, [loading]);
|
|
50
65
|
|
|
51
|
-
_react.default.useEffect(()
|
|
66
|
+
_react.default.useEffect(function () {
|
|
52
67
|
confirmationDialogController.current.openPopupView = openPopupView;
|
|
53
68
|
confirmationDialogController.current.closePopupView = closePopupView; //applicationManager.setViewPortHistory(props.history);
|
|
54
69
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
@@ -25,18 +27,32 @@ var _ApplicationManager = _interopRequireDefault(require("../../ApplicationManag
|
|
|
25
27
|
|
|
26
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
29
|
|
|
28
|
-
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
30
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
31
|
+
|
|
32
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
33
|
+
|
|
34
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
35
|
+
|
|
36
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
29
37
|
|
|
30
|
-
function
|
|
38
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
39
|
+
|
|
40
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
41
|
+
|
|
42
|
+
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
43
|
+
|
|
44
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
31
45
|
|
|
32
46
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
33
47
|
|
|
34
|
-
|
|
35
|
-
|
|
48
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
49
|
+
|
|
50
|
+
var minimizeWidth = '848';
|
|
51
|
+
var StyledDialog = (0, _withStyles.default)({
|
|
36
52
|
root: {
|
|
37
53
|
pointerEvents: 'none'
|
|
38
54
|
},
|
|
39
|
-
paper: {
|
|
55
|
+
paper: _defineProperty({
|
|
40
56
|
pointerEvents: 'auto',
|
|
41
57
|
width: 'calc(100% - 344px)',
|
|
42
58
|
maxWidth: '100%',
|
|
@@ -46,24 +62,28 @@ const StyledDialog = (0, _withStyles.default)({
|
|
|
46
62
|
bottom: 0,
|
|
47
63
|
right: 0,
|
|
48
64
|
overflow: 'hidden',
|
|
49
|
-
borderRadius: 4
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}, props))
|
|
65
|
+
borderRadius: 4
|
|
66
|
+
}, '@media (max-width:991px)', {
|
|
67
|
+
maxWidth: '100%'
|
|
68
|
+
})
|
|
69
|
+
})(function (props) {
|
|
70
|
+
return /*#__PURE__*/_react.default.createElement(_Dialog.default, _extends({
|
|
71
|
+
hideBackdrop: true
|
|
72
|
+
}, props));
|
|
73
|
+
});
|
|
57
74
|
|
|
58
|
-
|
|
59
|
-
|
|
75
|
+
var PaperComponent = function PaperComponent(props) {
|
|
76
|
+
var _useState = (0, _react.useState)({
|
|
60
77
|
left: 0,
|
|
61
78
|
right: 0,
|
|
62
79
|
top: 0,
|
|
63
80
|
bottom: 0
|
|
64
|
-
})
|
|
81
|
+
}),
|
|
82
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
83
|
+
bounds = _useState2[0],
|
|
84
|
+
setBounds = _useState2[1];
|
|
65
85
|
|
|
66
|
-
|
|
86
|
+
var handleStart = function handleStart(e, data) {
|
|
67
87
|
console.log("DRAG START");
|
|
68
88
|
|
|
69
89
|
if (!data) {
|
|
@@ -71,8 +91,8 @@ const PaperComponent = props => {
|
|
|
71
91
|
} //const x = data.node.offsetLeft - data.node.offsetWidth;
|
|
72
92
|
|
|
73
93
|
|
|
74
|
-
|
|
75
|
-
|
|
94
|
+
var top = -data.node.offsetTop + 64;
|
|
95
|
+
var bottom = window.innerHeight - (data.node.offsetTop + 64);
|
|
76
96
|
setBounds({
|
|
77
97
|
left: 0,
|
|
78
98
|
right: 0,
|
|
@@ -90,15 +110,22 @@ const PaperComponent = props => {
|
|
|
90
110
|
}, /*#__PURE__*/_react.default.createElement(_Paper.default, props));
|
|
91
111
|
};
|
|
92
112
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
113
|
+
var Window = function Window(props) {
|
|
114
|
+
var children = props.children,
|
|
115
|
+
open = props.open,
|
|
116
|
+
minimizable = props.minimizable;
|
|
117
|
+
|
|
118
|
+
var _useState3 = (0, _react.useState)(props.displayState),
|
|
119
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
120
|
+
displayState = _useState4[0],
|
|
121
|
+
setDisplayState = _useState4[1];
|
|
122
|
+
|
|
123
|
+
var _useState5 = (0, _react.useState)(null),
|
|
124
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
125
|
+
windowTransformValue = _useState6[0],
|
|
126
|
+
setWindowTransformValue = _useState6[1];
|
|
127
|
+
|
|
128
|
+
(0, _react.useEffect)(function () {
|
|
102
129
|
if (props.displayState) {
|
|
103
130
|
setDisplayState(props.displayState);
|
|
104
131
|
|
|
@@ -107,15 +134,17 @@ const Window = props => {
|
|
|
107
134
|
});
|
|
108
135
|
}
|
|
109
136
|
}, [props.displayState]);
|
|
110
|
-
(0, _react.useEffect)(()
|
|
137
|
+
(0, _react.useEffect)(function () {
|
|
111
138
|
_ApplicationManager.default.addApplicationContextSubscription({
|
|
112
139
|
handler: {
|
|
113
140
|
get id() {
|
|
114
141
|
return 'window';
|
|
115
142
|
},
|
|
116
143
|
|
|
117
|
-
onContextChange: (context, newValues)
|
|
118
|
-
if (Object.keys(newValues).find(
|
|
144
|
+
onContextChange: function onContextChange(context, newValues) {
|
|
145
|
+
if (Object.keys(newValues).find(function (key) {
|
|
146
|
+
return key === 'windowDisplayState';
|
|
147
|
+
})) {
|
|
119
148
|
console.log('MIN : ' + newValues.windowDisplayState);
|
|
120
149
|
|
|
121
150
|
if (newValues.windowDisplayState === 'MAXIMIZED') {
|
|
@@ -128,13 +157,13 @@ const Window = props => {
|
|
|
128
157
|
}
|
|
129
158
|
}
|
|
130
159
|
}
|
|
131
|
-
}).then(initialContext
|
|
160
|
+
}).then(function (initialContext) {
|
|
132
161
|
setDisplayState(initialContext ? initialContext.windowDisplayState : 'MAXIMIZED');
|
|
133
162
|
});
|
|
134
163
|
|
|
135
|
-
return ()
|
|
164
|
+
return function () {};
|
|
136
165
|
}, []);
|
|
137
|
-
(0, _react.useEffect)(()
|
|
166
|
+
(0, _react.useEffect)(function () {
|
|
138
167
|
if (displayState === 'MAXIMIZED') {
|
|
139
168
|
maximizeView(null);
|
|
140
169
|
} else if (displayState === 'MINIMIZED') {
|
|
@@ -144,7 +173,7 @@ const Window = props => {
|
|
|
144
173
|
}
|
|
145
174
|
}, [displayState]);
|
|
146
175
|
|
|
147
|
-
|
|
176
|
+
var getMinimizedStyle = function getMinimizedStyle() {
|
|
148
177
|
return {
|
|
149
178
|
transform: 'translate(0, 0)',
|
|
150
179
|
backgroundColor: '#FFFFFF',
|
|
@@ -154,7 +183,7 @@ const Window = props => {
|
|
|
154
183
|
};
|
|
155
184
|
};
|
|
156
185
|
|
|
157
|
-
|
|
186
|
+
var getMaximizedStyle = function getMaximizedStyle() {
|
|
158
187
|
return {
|
|
159
188
|
transform: 'translate(0, 0)',
|
|
160
189
|
backgroundColor: '#FFFFFF',
|
|
@@ -164,7 +193,7 @@ const Window = props => {
|
|
|
164
193
|
};
|
|
165
194
|
};
|
|
166
195
|
|
|
167
|
-
|
|
196
|
+
var getPinnedStyle = function getPinnedStyle() {
|
|
168
197
|
return {
|
|
169
198
|
transform: 'translate(0, 0)',
|
|
170
199
|
backgroundColor: '#FFFFFF',
|
|
@@ -174,9 +203,11 @@ const Window = props => {
|
|
|
174
203
|
};
|
|
175
204
|
};
|
|
176
205
|
|
|
177
|
-
|
|
206
|
+
var pinView = function pinView(e) {
|
|
207
|
+
var updateContext = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
208
|
+
|
|
178
209
|
if (props.pinnable) {
|
|
179
|
-
|
|
210
|
+
var paper = document.getElementById('meetingDialogPaper');
|
|
180
211
|
|
|
181
212
|
if (paper) {
|
|
182
213
|
if (windowTransformValue) {
|
|
@@ -186,7 +217,7 @@ const Window = props => {
|
|
|
186
217
|
paper.style.width = '320px';
|
|
187
218
|
paper.style.height = 'calc(100% - 88px)';
|
|
188
219
|
paper.style.boxShadow = 'unset';
|
|
189
|
-
|
|
220
|
+
var header = document.getElementsByClassName('dialogHeader')[0];
|
|
190
221
|
header.getElementsByTagName('button')[0].style.color = '#000000';
|
|
191
222
|
setDisplayState('PINNED');
|
|
192
223
|
|
|
@@ -201,9 +232,11 @@ const Window = props => {
|
|
|
201
232
|
}
|
|
202
233
|
};
|
|
203
234
|
|
|
204
|
-
|
|
235
|
+
var minimizeView = function minimizeView(e) {
|
|
236
|
+
var updateContext = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
237
|
+
|
|
205
238
|
if (minimizable) {
|
|
206
|
-
|
|
239
|
+
var paper = document.getElementById('meetingDialogPaper');
|
|
207
240
|
|
|
208
241
|
if (paper) {
|
|
209
242
|
if (windowTransformValue) {
|
|
@@ -213,7 +246,7 @@ const Window = props => {
|
|
|
213
246
|
paper.style.width = minimizeWidth + 'px';
|
|
214
247
|
paper.style.height = '500px';
|
|
215
248
|
paper.style.margin = '0 16px 16px 16px';
|
|
216
|
-
|
|
249
|
+
var header = document.getElementsByClassName('dialogHeader')[0];
|
|
217
250
|
header.getElementsByTagName('button')[0].style.color = '#000000';
|
|
218
251
|
document.getElementById('meeting-window-header').style.cursor = 'move';
|
|
219
252
|
setDisplayState('MINIMIZED');
|
|
@@ -228,23 +261,24 @@ const Window = props => {
|
|
|
228
261
|
};
|
|
229
262
|
|
|
230
263
|
function getLeftOffset() {
|
|
231
|
-
|
|
264
|
+
var sidebarWidth = parseInt(document.getElementsByClassName('sidebar')[0].style.width.replace('px', ''));
|
|
232
265
|
return sidebarWidth + (sidebarWidth === 0 ? 16 : 36);
|
|
233
266
|
}
|
|
234
267
|
|
|
235
|
-
|
|
236
|
-
|
|
268
|
+
var maximizeView = function maximizeView(e) {
|
|
269
|
+
var updateContext = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
270
|
+
var paper = document.getElementById('meetingDialogPaper');
|
|
237
271
|
|
|
238
272
|
if (paper) {
|
|
239
|
-
|
|
240
|
-
|
|
273
|
+
var sidebar = document.getElementsByClassName('sidebar')[0];
|
|
274
|
+
var sidebarTransform = window.getComputedStyle(sidebar, null).transform;
|
|
241
275
|
setWindowTransformValue(paper.style.transform);
|
|
242
276
|
paper.style.transform = 'translate(0, 0)';
|
|
243
277
|
paper.style.backgroundColor = '#FFFFFF';
|
|
244
278
|
paper.style.width = 'calc(100% - ' + getLeftOffset() + 'px)';
|
|
245
279
|
paper.style.height = 'calc(100% - 88px)';
|
|
246
280
|
paper.style.margin = '8px';
|
|
247
|
-
|
|
281
|
+
var header = document.getElementsByClassName('dialogHeader')[0];
|
|
248
282
|
header.getElementsByTagName('button')[0].style.color = 'rgba(0, 0, 0, 0.54)';
|
|
249
283
|
document.getElementById('meeting-window-header').style.cursor = 'default';
|
|
250
284
|
setDisplayState('MAXIMIZED');
|
|
@@ -270,7 +304,7 @@ const Window = props => {
|
|
|
270
304
|
}, /*#__PURE__*/_react.default.createElement(StyledDialog, {
|
|
271
305
|
disableEnforceFocus: true,
|
|
272
306
|
open: open,
|
|
273
|
-
onClose: e
|
|
307
|
+
onClose: function onClose(e) {
|
|
274
308
|
props.onClose();
|
|
275
309
|
},
|
|
276
310
|
keepMounted: true,
|
|
@@ -302,7 +336,7 @@ const Window = props => {
|
|
|
302
336
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
303
337
|
className: 'dialogHeader row'
|
|
304
338
|
}, minimizable && /*#__PURE__*/_react.default.createElement("div", null, displayState === 'MAXIMIZED' ? /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
305
|
-
onClick: e
|
|
339
|
+
onClick: function onClick(e) {
|
|
306
340
|
minimizeView(e);
|
|
307
341
|
},
|
|
308
342
|
style: {
|
|
@@ -311,7 +345,7 @@ const Window = props => {
|
|
|
311
345
|
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
312
346
|
id: 'MINIMIZE'
|
|
313
347
|
})) : /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
314
|
-
onClick: e
|
|
348
|
+
onClick: function onClick(e) {
|
|
315
349
|
maximizeView(e);
|
|
316
350
|
},
|
|
317
351
|
style: {
|
|
@@ -320,7 +354,7 @@ const Window = props => {
|
|
|
320
354
|
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
321
355
|
id: 'MAXIMIZE'
|
|
322
356
|
}))), props.pinnable && /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
323
|
-
onClick: e
|
|
357
|
+
onClick: function onClick(e) {
|
|
324
358
|
props.onPin();
|
|
325
359
|
},
|
|
326
360
|
style: {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
@@ -23,18 +25,38 @@ var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton")
|
|
|
23
25
|
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
27
|
|
|
26
|
-
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
28
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
29
|
+
|
|
30
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
31
|
+
|
|
32
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
33
|
+
|
|
34
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
35
|
+
|
|
36
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
37
|
+
|
|
38
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
39
|
+
|
|
40
|
+
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
27
41
|
|
|
28
|
-
function
|
|
42
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
43
|
|
|
30
|
-
|
|
31
|
-
|
|
44
|
+
var WindowViewContainer = function WindowViewContainer(props) {
|
|
45
|
+
var _React$useState = _react.default.useState(null),
|
|
46
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
47
|
+
view = _React$useState2[0],
|
|
48
|
+
setView = _React$useState2[1];
|
|
32
49
|
|
|
33
|
-
|
|
50
|
+
var _React$useState3 = _react.default.useState(false),
|
|
51
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
52
|
+
pinned = _React$useState4[0],
|
|
53
|
+
setPinned = _React$useState4[1];
|
|
34
54
|
|
|
35
55
|
function loadView(context) {
|
|
36
56
|
if (context) {
|
|
37
|
-
if (Object.keys(context).find(
|
|
57
|
+
if (Object.keys(context).find(function (key) {
|
|
58
|
+
return key === 'windowView';
|
|
59
|
+
})) {
|
|
38
60
|
setView(null);
|
|
39
61
|
setView(context.windowView);
|
|
40
62
|
setPinned(false);
|
|
@@ -42,54 +64,54 @@ const WindowViewContainer = props => {
|
|
|
42
64
|
}
|
|
43
65
|
}
|
|
44
66
|
|
|
45
|
-
_react.default.useEffect(()
|
|
67
|
+
_react.default.useEffect(function () {
|
|
46
68
|
_ApplicationManager.default.addApplicationContextSubscription({
|
|
47
69
|
handler: {
|
|
48
70
|
get id() {
|
|
49
71
|
return 'window-view-port';
|
|
50
72
|
},
|
|
51
73
|
|
|
52
|
-
onContextChange: (context, newValues)
|
|
74
|
+
onContextChange: function onContextChange(context, newValues) {
|
|
53
75
|
loadView(newValues);
|
|
54
76
|
}
|
|
55
77
|
}
|
|
56
|
-
}).then(initialContext
|
|
78
|
+
}).then(function (initialContext) {
|
|
57
79
|
loadView(initialContext);
|
|
58
80
|
});
|
|
59
81
|
}, []);
|
|
60
82
|
|
|
61
|
-
_react.default.useEffect(()
|
|
83
|
+
_react.default.useEffect(function () {
|
|
62
84
|
props.stateChangeHandler({
|
|
63
|
-
pinned
|
|
85
|
+
pinned: pinned
|
|
64
86
|
});
|
|
65
87
|
}, [pinned]);
|
|
66
88
|
|
|
67
|
-
|
|
89
|
+
var renderView = function renderView() {
|
|
68
90
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, view && /*#__PURE__*/_react.default.createElement(_Window.default, {
|
|
69
91
|
pinnable: true,
|
|
70
92
|
minimizable: false,
|
|
71
93
|
open: true,
|
|
72
94
|
displayState: 'MAXIMIZED',
|
|
73
|
-
onPinned: ()
|
|
95
|
+
onPinned: function onPinned() {
|
|
74
96
|
if (!pinned) {
|
|
75
97
|
setPinned(true);
|
|
76
98
|
}
|
|
77
99
|
},
|
|
78
|
-
onPin: ()
|
|
100
|
+
onPin: function onPin() {
|
|
79
101
|
_ApplicationManager.default.updateContext({
|
|
80
102
|
windowDisplayState: pinned ? 'MAXIMIZED' : 'PINNED'
|
|
81
103
|
});
|
|
82
104
|
|
|
83
105
|
setPinned(!pinned);
|
|
84
106
|
},
|
|
85
|
-
onClose: ()
|
|
107
|
+
onClose: function onClose() {}
|
|
86
108
|
}, /*#__PURE__*/_react.default.createElement(_View.View, {
|
|
87
109
|
config: view.config,
|
|
88
110
|
parameters: view.parameters,
|
|
89
111
|
ref: /*#__PURE__*/_react.default.createRef(),
|
|
90
112
|
handle: view.handle
|
|
91
113
|
})), view && pinned && /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
92
|
-
onClick: e
|
|
114
|
+
onClick: function onClick(e) {
|
|
93
115
|
_ApplicationManager.default.updateContext({
|
|
94
116
|
windowDisplayState: 'MAXIMIZED'
|
|
95
117
|
});
|
|
@@ -17,12 +17,10 @@ var _Icon = _interopRequireDefault(require("../Icon"));
|
|
|
17
17
|
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
children
|
|
25
|
-
} = props;
|
|
20
|
+
var ClosablePanel = function ClosablePanel(props) {
|
|
21
|
+
var params = (0, _reactRouterDom.useParams)();
|
|
22
|
+
var location = (0, _reactRouterDom.useLocation)();
|
|
23
|
+
var children = props.children;
|
|
26
24
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
27
25
|
style: {
|
|
28
26
|
width: '100%'
|
|
@@ -40,7 +38,9 @@ const ClosablePanel = props => {
|
|
|
40
38
|
style: {
|
|
41
39
|
marginRight: '4px'
|
|
42
40
|
},
|
|
43
|
-
onClick:
|
|
41
|
+
onClick: function onClick(e) {
|
|
42
|
+
return props.closeHandler(e);
|
|
43
|
+
}
|
|
44
44
|
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
45
45
|
id: 'CLOSE',
|
|
46
46
|
color: '#404239'
|
|
@@ -16,13 +16,11 @@ var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton")
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
18
18
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
var HOST_WAITING_MESSAGE = 'Waiting for others to join';
|
|
20
|
+
var ATTENDEE_WAITING_MESSAGE = 'Waiting for the meeting host to let you in';
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
waitingList
|
|
25
|
-
} = props;
|
|
22
|
+
var LobbyWaitingList = function LobbyWaitingList(props) {
|
|
23
|
+
var waitingList = props.waitingList;
|
|
26
24
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, waitingList && waitingList.length > 0 && /*#__PURE__*/_react.default.createElement("div", {
|
|
27
25
|
style: {
|
|
28
26
|
width: '320px',
|
|
@@ -42,7 +40,7 @@ const LobbyWaitingList = props => {
|
|
|
42
40
|
fontSize: '16px',
|
|
43
41
|
margin: '16px'
|
|
44
42
|
}
|
|
45
|
-
}, waitingList.map((item, index)
|
|
43
|
+
}, waitingList.map(function (item, index) {
|
|
46
44
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
47
45
|
key: index
|
|
48
46
|
}, /*#__PURE__*/_react.default.createElement("div", null), /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -62,7 +60,7 @@ const LobbyWaitingList = props => {
|
|
|
62
60
|
},
|
|
63
61
|
className: 'col-*-*'
|
|
64
62
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
65
|
-
onClick: e
|
|
63
|
+
onClick: function onClick(e) {
|
|
66
64
|
props.acceptUserHandler(item);
|
|
67
65
|
},
|
|
68
66
|
style: {
|
|
@@ -74,7 +72,7 @@ const LobbyWaitingList = props => {
|
|
|
74
72
|
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
75
73
|
className: 'col-*-*'
|
|
76
74
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
77
|
-
onClick: e
|
|
75
|
+
onClick: function onClick(e) {
|
|
78
76
|
props.rejectUserHandler(item);
|
|
79
77
|
},
|
|
80
78
|
style: {
|