@agilemotion/oui-react-js 1.3.8 → 1.4.0
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/README.TXT +1 -0
- package/dist/{ApplicationContext.js → ApplicationManager.js} +334 -335
- package/dist/BasicApp.js +67 -64
- package/dist/BasicAppHome.js +90 -110
- package/dist/BusinessPortalApp.js +1 -1
- package/dist/BusinessPortalAppHome.js +15 -50
- package/dist/DynamicJS.js +24 -52
- package/dist/RestUtils.js +90 -116
- package/dist/Utils.js +49 -37
- package/dist/WithRouter.js +34 -0
- package/dist/assets/jss/components/authNavbarStyle.js +34 -35
- package/dist/assets/jss/components/cardHeaderStyle.js +12 -12
- package/dist/assets/jss/components/customDropdownStyle.js +26 -26
- package/dist/assets/jss/components/customInputStyle.js +2 -8
- package/dist/assets/jss/components/dropdownStyle.js +10 -15
- package/dist/assets/jss/components/footerStyle.js +12 -18
- package/dist/assets/jss/components/headerLinksStyle.js +7 -13
- package/dist/assets/jss/components/headerStyle.js +24 -25
- package/dist/assets/jss/components/navbarLinksStyle.js +7 -13
- package/dist/assets/jss/components/navbarStyle.js +24 -25
- package/dist/assets/jss/components/sidebarStyle.js +41 -43
- package/dist/assets/jss/components/typographyStyle.js +2 -8
- package/dist/assets/jss/rootStyle.js +32 -47
- package/dist/assets/jss/views/layoutStyle.js +6 -11
- package/dist/assets/jss/views/loginStyle.js +4 -10
- package/dist/assets/lotties/call-loading.json +1 -0
- package/dist/assets/lotties/calling-2.json +1 -0
- package/dist/assets/lotties/calling.json +1 -0
- package/dist/assets/lotties/calling2.json +1 -0
- package/dist/assets/lotties/chat.json +1 -0
- package/dist/assets/lotties/join.json +1 -0
- package/dist/assets/lotties/loading.json +1 -0
- package/dist/assets/lotties/msg2.json +1 -0
- package/dist/assets/lotties/recording.json +1 -0
- package/dist/assets/lotties/waiting.json +1 -0
- package/dist/assets/scss/black-dashboard-react/bootstrap/_card.scss +5 -5
- package/dist/assets/scss/black-dashboard-react/bootstrap/_carousel.scss +2 -2
- package/dist/assets/scss/black-dashboard-react/bootstrap/_custom-forms.scss +3 -3
- package/dist/assets/scss/black-dashboard-react/bootstrap/_functions.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/bootstrap/_images.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/bootstrap/_jumbotron.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/bootstrap/_popover.scss +7 -5
- package/dist/assets/scss/black-dashboard-react/bootstrap/_tooltip.scss +4 -4
- package/dist/assets/scss/black-dashboard-react/bootstrap/_variables.scss +5 -5
- package/dist/assets/scss/black-dashboard-react/bootstrap/mixins/_grid-framework.scss +2 -2
- package/dist/assets/scss/black-dashboard-react/bootstrap/mixins/_grid.scss +11 -9
- package/dist/assets/scss/black-dashboard-react/bootstrap/utilities/_embed.scss +6 -4
- package/dist/assets/scss/black-dashboard-react/custom/_sidebar-and-main-panel.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/custom/_variables.scss +1 -1
- package/dist/components/AlertBar.js +39 -80
- package/dist/components/AlertItem.js +4 -26
- package/dist/components/Button.js +49 -52
- package/dist/components/Calendar.js +442 -0
- package/dist/components/Calender.css +244 -0
- package/dist/components/ConfirmationDialog.js +5 -29
- package/dist/components/DataGrid.js +207 -345
- package/dist/components/DataGridColumn.js +6 -29
- package/dist/components/DataGridFilter.js +48 -116
- package/dist/components/DataGridHeading.js +11 -19
- package/dist/components/Dialog.js +27 -121
- package/dist/components/DocumentViewer.js +12 -38
- package/dist/components/DocumentViewerComponent.js +2 -20
- package/dist/components/FileThumb.js +126 -0
- package/dist/components/Graph.js +33 -75
- package/dist/components/GraphNode.js +5 -22
- package/dist/components/HtmlPanel.js +68 -82
- package/dist/components/Icon.js +107 -1
- package/dist/components/LoadingIndicator.js +4 -4
- package/dist/components/LottieIcon.js +134 -0
- package/dist/components/PopupView.js +3 -21
- package/dist/components/Portlet.js +100 -0
- package/dist/components/RegularButton.js +15 -19
- package/dist/components/SignaturePanel.js +9 -40
- package/dist/components/SocketManager.js +170 -0
- package/dist/components/StepperTitleBar.js +33 -59
- package/dist/components/TabPage.js +6 -9
- package/dist/components/TabPanel.js +49 -98
- package/dist/components/TableCellContent.js +31 -39
- package/dist/components/TemplateDesigner.js +114 -158
- package/dist/components/TemplateItemEventHandler.js +33 -100
- package/dist/components/TemplateTable.js +6 -42
- package/dist/components/TitleBar.js +38 -54
- package/dist/components/Toolbar.js +67 -182
- package/dist/components/Tree.js +29 -66
- package/dist/components/card/Card.js +16 -20
- package/dist/components/card/CardAvatar.js +9 -13
- package/dist/components/card/CardBody.js +13 -17
- package/dist/components/card/CardFooter.js +12 -16
- package/dist/components/card/CardHeader.js +13 -17
- package/dist/components/card/CardIcon.js +6 -10
- package/dist/components/card/CardText.js +6 -10
- package/dist/components/customInput/CustomInput.js +12 -10
- package/dist/components/dashboard/BasicBusinessAppDashboard.js +85 -159
- package/dist/components/dashboard/BusinessPortalAppDashboard.js +30 -75
- package/dist/components/dashboard/components/Header.js +9 -26
- package/dist/components/dashboard/components/LeftDrawer.js +3 -1
- package/dist/components/dashboard/components/blackDashboard/fixedPlugin/FixedPlugin.js +1 -1
- package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.css +7 -0
- package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +189 -79
- package/dist/components/footer/Footer.js +6 -18
- package/dist/components/form/AddressSearch.js +32 -66
- package/dist/components/form/AutoComplete.js +161 -0
- package/dist/components/form/BaseField.js +89 -107
- package/dist/components/form/DatePicker.js +8 -23
- package/dist/components/form/FieldSet.js +161 -191
- package/dist/components/form/Form.css +1 -1
- package/dist/components/form/Form.js +153 -479
- package/dist/components/form/GridField.js +46 -146
- package/dist/components/form/IconField.js +35 -0
- package/dist/components/form/ImageEditor.js +22 -60
- package/dist/components/form/LookupField.js +8 -29
- package/dist/components/form/MultiFileUploadField.js +187 -0
- package/dist/components/form/RadioGroup.js +10 -26
- package/dist/components/form/Section.js +40 -91
- package/dist/components/form/SelectItem.js +14 -33
- package/dist/components/form/SignatureTemplateDesignerField.js +0 -1
- package/dist/components/form/Switch.js +53 -0
- package/dist/components/form/TextField.js +10 -17
- package/dist/components/form/TimePicker.js +8 -1
- package/dist/components/form/TransferList.css +2 -2
- package/dist/components/form/TransferList.js +67 -125
- package/dist/components/form/UploadField.js +132 -177
- package/dist/components/form/fieldset.css +8 -0
- package/dist/components/grid/GridContainer.js +5 -9
- package/dist/components/grid/GridItem.js +5 -9
- package/dist/components/layout/CollapsiblePanel.js +11 -33
- package/dist/components/layout/Layout.js +228 -290
- package/dist/components/layout/VC.css +17 -0
- package/dist/components/layout/View.css +18 -1
- package/dist/components/layout/View.js +80 -200
- package/dist/components/layout/ViewContainer.css +3 -0
- package/dist/components/layout/ViewContainer.js +59 -0
- package/dist/components/layout/ViewPort.js +50 -80
- package/dist/components/layout/Window.css +18 -0
- package/dist/components/layout/Window.js +287 -0
- package/dist/components/layout/WindowViewPort.js +71 -0
- package/dist/components/loader.css +1 -1
- package/dist/components/media/ClosablePanel.css +37 -0
- package/dist/components/media/ClosablePanel.js +53 -0
- package/dist/components/media/LobbyWaitingList.js +91 -0
- package/dist/components/media/MediaSoupHelper.js +223 -0
- package/dist/components/media/Recorder.js +235 -0
- package/dist/components/media/SideBarContent.css +54 -0
- package/dist/components/media/SideBarContent.js +46 -0
- package/dist/components/media/SocketRequest.js +20 -0
- package/dist/components/media/SocketResponse.js +16 -0
- package/dist/components/media/Timer.css +30 -0
- package/dist/components/media/Timer.js +88 -0
- package/dist/components/media/Toolbar.css +35 -0
- package/dist/components/media/Toolbar.js +494 -0
- package/dist/components/media/Tracks.js +39 -0
- package/dist/components/media/TrainingRoom.js +608 -0
- package/dist/components/media/Transports.js +35 -0
- package/dist/components/media/VCEventManager.js +74 -0
- package/dist/components/media/VCEventType.js +164 -0
- package/dist/components/media/VCParticipantList.css +72 -0
- package/dist/components/media/VCParticipantList.js +56 -0
- package/dist/components/media/VCParticipantListItem.css +73 -0
- package/dist/components/media/VCParticipantListItem.js +319 -0
- package/dist/components/media/VCRoom.css +42 -0
- package/dist/components/media/VCRoom.js +90 -0
- package/dist/components/media/VCRoomParticipant.css +25 -0
- package/dist/components/media/VCRoomParticipant.js +808 -0
- package/dist/components/media/VCRoomRecorder.js +223 -0
- package/dist/components/media/VCRoomWorkspace.css +86 -0
- package/dist/components/media/VCRoomWorkspace.js +666 -0
- package/dist/components/media/Video.css +4 -0
- package/dist/components/media/Video.js +131 -0
- package/dist/components/media/VideoPlayer.css +10 -0
- package/dist/components/media/VideoPlayer.js +86 -0
- package/dist/components/media/chat/ChatRoom.js +926 -0
- package/dist/components/media/chat/ChatRoomItem.js +83 -0
- package/dist/components/media/chat/ChatRoomList.js +78 -0
- package/dist/components/media/chat/ChatRooms.scss +567 -0
- package/dist/components/menu/CollapsibleMenu.js +2 -19
- package/dist/components/menu/MenuBars.js +6 -33
- package/dist/components/menu/MenuButton.js +27 -39
- package/dist/components/menu/MenuItem.js +3 -20
- package/dist/components/menu/MenuLink.js +22 -13
- package/dist/components/navbars/AuthNavbar.js +5 -18
- package/dist/components/navbars/HomeNavbar.js +5 -7
- package/dist/components/navbars/PortalNavbar.js +7 -25
- package/dist/components/signatures/AgilitySignaturePanel.js +38 -104
- package/dist/components/signatures/AlertItem.js +3 -24
- package/dist/components/signatures/DocumentContainer.js +47 -134
- package/dist/components/signatures/ImageSignatureInput.js +11 -38
- package/dist/components/signatures/MenuButton.js +1 -16
- package/dist/components/signatures/Prompt.js +3 -24
- package/dist/components/signatures/ResponsiveTable.js +42 -83
- package/dist/components/signatures/SearchView.js +13 -50
- package/dist/components/signatures/SignatorySearch.js +83 -99
- package/dist/components/signatures/SignatorySearchForm.js +11 -17
- package/dist/components/signatures/SignatureInput.js +18 -47
- package/dist/components/signatures/SignatureInputProps.js +18 -60
- package/dist/components/signatures/SignatureTemplateDesigner.js +151 -239
- package/dist/components/signatures/Toolbar.js +7 -34
- package/dist/components/signatures/ViewUtils.js +2 -6
- package/dist/components/typography/Danger.js +3 -1
- package/dist/components/typography/Info.js +3 -1
- package/dist/components/typography/Link.js +6 -2
- package/dist/event/ActionHandlers.js +6 -6
- package/dist/event/EventType.js +7 -1
- package/dist/event/LoadDataActionHandler.js +1 -1
- package/dist/event/Observable.js +80 -174
- package/dist/event/RouteActionHandler.js +74 -31
- package/dist/event/ServiceCallActionHandler.js +36 -24
- package/dist/event/SignalGraphActionHandler.js +2 -2
- package/dist/js/Addresses.js +10 -8
- package/dist/js/Calendar.js +220 -0
- package/dist/js/Media.js +157 -0
- package/dist/redux/store/ConfigureStore.js +3 -9
- package/dist/redux/store/DashboardStore.js +42 -94
- package/dist/redux/store/SecurityStore.js +15 -50
- package/dist/view/Dashboard.js +256 -171
- package/dist/view/Views.js +30 -0
- package/dist/view/security/ChangePasswordBasic.js +29 -80
- package/dist/view/security/ForgotPassword.js +13 -46
- package/dist/view/security/ForgotPasswordBasic.js +12 -45
- package/dist/view/security/Login.js +15 -51
- package/dist/view/security/LoginBasic.js +13 -46
- package/dist/view/security/LoginBusinessPortal.js +12 -45
- package/dist/view/security/ResetPassword.js +13 -51
- package/dist/view/security/ResetPasswordBasic.js +27 -75
- package/dist/view/security/Security.js +1 -0
- package/package.json +31 -25
- package/README.md +0 -1623
- package/dist/components/dashboard/BasicApp.js +0 -140
- package/dist/components/navbars/NavbarLinks.js +0 -212
- package/dist/components/signatures/OLD.js +0 -1138
- package/gulpfile.js +0 -77
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
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; }
|
|
9
|
+
|
|
10
|
+
class VCEventManager {
|
|
11
|
+
constructor() {
|
|
12
|
+
_defineProperty(this, "addSubscriptions", (handler, ...eventTypes) => {
|
|
13
|
+
for (const eventType of eventTypes) {
|
|
14
|
+
this.subscriptions.push({
|
|
15
|
+
handler,
|
|
16
|
+
eventType
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
_defineProperty(this, "removeSubscriptions", eventHandler => {
|
|
22
|
+
if (eventHandler.api) {
|
|
23
|
+
this.subscriptions = this.subscriptions.filter(sub => {
|
|
24
|
+
var _sub$handler$api;
|
|
25
|
+
|
|
26
|
+
return ((_sub$handler$api = sub.handler.api) === null || _sub$handler$api === void 0 ? void 0 : _sub$handler$api.id) !== eventHandler.api.id;
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
if (!VCEventManager.instance) {
|
|
32
|
+
this.subscriptions = [];
|
|
33
|
+
VCEventManager.instance = this;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return VCEventManager.instance;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Adds a subscription bound by the given event type.
|
|
40
|
+
*
|
|
41
|
+
* @param handler the subscription to be added
|
|
42
|
+
* @param eventTypes the subscription to be added
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Fires an event.
|
|
48
|
+
*
|
|
49
|
+
* @param eventType eventType the event type
|
|
50
|
+
* @param be the base event
|
|
51
|
+
* @return false if any subscriptions cancel the event.
|
|
52
|
+
*/
|
|
53
|
+
async fireEvent(eventType, be) {
|
|
54
|
+
for (const subscription of this.subscriptions) {
|
|
55
|
+
if (subscription.eventType === eventType) {
|
|
56
|
+
subscription.handler.api.on(eventType, be);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Clears all event subscriptions
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
clearAllEventListeners() {
|
|
66
|
+
this.subscriptions.splice(0, this.subscriptions.length);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const instance = new VCEventManager(); //Object.freeze(instance);
|
|
72
|
+
|
|
73
|
+
var _default = instance;
|
|
74
|
+
exports.default = _default;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.VCEventType = void 0;
|
|
7
|
+
|
|
8
|
+
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; }
|
|
9
|
+
|
|
10
|
+
class VCEventType {}
|
|
11
|
+
|
|
12
|
+
exports.VCEventType = VCEventType;
|
|
13
|
+
|
|
14
|
+
_defineProperty(VCEventType, "SECURITY_TOKENS_REFRESHED", "SECURITY_TOKENS_REFRESHED");
|
|
15
|
+
|
|
16
|
+
_defineProperty(VCEventType, "UNAUTHORISED_API_CALL", "UNAUTHORISED_API_CALL");
|
|
17
|
+
|
|
18
|
+
_defineProperty(VCEventType, "API_ERROR", "API_ERROR");
|
|
19
|
+
|
|
20
|
+
_defineProperty(VCEventType, "API_SUCCESS", "API_SUCCESS");
|
|
21
|
+
|
|
22
|
+
_defineProperty(VCEventType, "WHITEBOARD_EVENT_ARRIVED", "WHITEBOARD_EVENT_ARRIVED");
|
|
23
|
+
|
|
24
|
+
_defineProperty(VCEventType, "ACTIVE_CHAT_CHANGED", "ACTIVE_CHAT_CHANGED");
|
|
25
|
+
|
|
26
|
+
_defineProperty(VCEventType, "FIRST_CHAT_ARRIVED", "FIRST_CHAT_ARRIVED");
|
|
27
|
+
|
|
28
|
+
_defineProperty(VCEventType, "SOCKET_CONNECT", "SOCKET_CONNECT");
|
|
29
|
+
|
|
30
|
+
_defineProperty(VCEventType, "CALL_REJECTED", "CALL_REJECTED");
|
|
31
|
+
|
|
32
|
+
_defineProperty(VCEventType, "SOCKET_DISCONNECT", "SOCKET_DISCONNECT");
|
|
33
|
+
|
|
34
|
+
_defineProperty(VCEventType, "PEER_DISCONNECT", "PEER_DISCONNECT");
|
|
35
|
+
|
|
36
|
+
_defineProperty(VCEventType, "AUDIO_VISUAL_SETTINGS_CHANGED", "AUDIO_VISUAL_SETTINGS_CHANGED");
|
|
37
|
+
|
|
38
|
+
_defineProperty(VCEventType, "PARTICIPANT_IN_VIEW", "PARTICIPANT_IN_VIEW");
|
|
39
|
+
|
|
40
|
+
_defineProperty(VCEventType, "PARTICIPANT_OFF_VIEW", "PARTICIPANT_OFF_VIEW");
|
|
41
|
+
|
|
42
|
+
_defineProperty(VCEventType, "CONSUMER_TRANSPORT_FAILED", "CONSUMER_TRANSPORT_FAILED");
|
|
43
|
+
|
|
44
|
+
_defineProperty(VCEventType, "CREATE_TRANSPORT_FAILED", "CREATE_TRANSPORT_FAILED");
|
|
45
|
+
|
|
46
|
+
_defineProperty(VCEventType, "GET_LOBBY", "GET_LOBBY");
|
|
47
|
+
|
|
48
|
+
_defineProperty(VCEventType, "JOIN_MEETING", "JOIN_MEETING");
|
|
49
|
+
|
|
50
|
+
_defineProperty(VCEventType, "CALL_USER", "CALL_USER");
|
|
51
|
+
|
|
52
|
+
_defineProperty(VCEventType, "CALL_MULTIPLE_USER", "CALL_MULTIPLE_USER");
|
|
53
|
+
|
|
54
|
+
_defineProperty(VCEventType, "ANSWER_CALL", "ANSWER_CALL");
|
|
55
|
+
|
|
56
|
+
_defineProperty(VCEventType, "SENDING_SIGNAL", "SENDING_SIGNAL");
|
|
57
|
+
|
|
58
|
+
_defineProperty(VCEventType, "USER_JOINED", "USER_JOINED");
|
|
59
|
+
|
|
60
|
+
_defineProperty(VCEventType, "RETURNING_SIGNAL", "RETURNING_SIGNAL");
|
|
61
|
+
|
|
62
|
+
_defineProperty(VCEventType, "RECEIVING_RETURNED_SIGNAL", "RECEIVING_RETURNED_SIGNAL");
|
|
63
|
+
|
|
64
|
+
_defineProperty(VCEventType, "USER_LEFT_MEETING", "USER_LEFT_MEETING");
|
|
65
|
+
|
|
66
|
+
_defineProperty(VCEventType, "END_MEETING", "END_MEETING");
|
|
67
|
+
|
|
68
|
+
_defineProperty(VCEventType, "END_CALL", "END_CALL");
|
|
69
|
+
|
|
70
|
+
_defineProperty(VCEventType, "LEAVE_MEETING", "LEAVE_MEETING");
|
|
71
|
+
|
|
72
|
+
_defineProperty(VCEventType, "CALL_ENDED", "CALL_ENDED");
|
|
73
|
+
|
|
74
|
+
_defineProperty(VCEventType, "ALL_USERS", "ALL_USERS");
|
|
75
|
+
|
|
76
|
+
_defineProperty(VCEventType, "CANCEL_CALL", "CANCEL_CALL");
|
|
77
|
+
|
|
78
|
+
_defineProperty(VCEventType, "PERMISSION", "PERMISSION");
|
|
79
|
+
|
|
80
|
+
_defineProperty(VCEventType, "NO_PERMIT_REQUIRED", "NO_PERMIT_REQUIRED");
|
|
81
|
+
|
|
82
|
+
_defineProperty(VCEventType, "ALLOWED", "ALLOWED");
|
|
83
|
+
|
|
84
|
+
_defineProperty(VCEventType, "SYSTEM_ACTIVITY", "SYSTEM_ACTIVITY");
|
|
85
|
+
|
|
86
|
+
_defineProperty(VCEventType, "SYSTEM_EVENT", "SYSTEM_EVENT");
|
|
87
|
+
|
|
88
|
+
_defineProperty(VCEventType, "DENIED", "DENIED");
|
|
89
|
+
|
|
90
|
+
_defineProperty(VCEventType, "JOIN_MEETING_PERMIT", "JOIN_MEETING_PERMIT");
|
|
91
|
+
|
|
92
|
+
_defineProperty(VCEventType, "RECEIVING_CALL", "RECEIVING_CALL");
|
|
93
|
+
|
|
94
|
+
_defineProperty(VCEventType, "CALL_REJECTED", "CALL_REJECTED");
|
|
95
|
+
|
|
96
|
+
_defineProperty(VCEventType, "USERS_ONLINE", "USERS_ONLINE");
|
|
97
|
+
|
|
98
|
+
_defineProperty(VCEventType, "USER_ONLINE", "USER_ONLINE");
|
|
99
|
+
|
|
100
|
+
_defineProperty(VCEventType, "USER_OFFLINE", "USER_OFFLINE");
|
|
101
|
+
|
|
102
|
+
_defineProperty(VCEventType, "REGISTER_ONLINE", "REGISTER_ONLINE");
|
|
103
|
+
|
|
104
|
+
_defineProperty(VCEventType, "PERMIT_STATUS", "PERMIT_STATUS");
|
|
105
|
+
|
|
106
|
+
_defineProperty(VCEventType, "CONNECT_ERROR", "CONNECT_ERROR");
|
|
107
|
+
|
|
108
|
+
_defineProperty(VCEventType, "CONNECT", "CONNECT");
|
|
109
|
+
|
|
110
|
+
_defineProperty(VCEventType, "JOIN_CHAT_ROOM", "JOIN_CHAT_ROOM");
|
|
111
|
+
|
|
112
|
+
_defineProperty(VCEventType, "CHAT_MESSAGE", "CHAT_MESSAGE");
|
|
113
|
+
|
|
114
|
+
_defineProperty(VCEventType, "DELETE_CHAT_MESSAGE", "DELETE_CHAT_MESSAGE");
|
|
115
|
+
|
|
116
|
+
_defineProperty(VCEventType, "RAISE_HAND", "RAISE_HAND");
|
|
117
|
+
|
|
118
|
+
_defineProperty(VCEventType, "LOWER_HAND", "LOWER_HAND");
|
|
119
|
+
|
|
120
|
+
_defineProperty(VCEventType, "CHANGE_HOST", "CHANGE_HOST");
|
|
121
|
+
|
|
122
|
+
_defineProperty(VCEventType, "TOGGLE_RECORD_MEETING", "TOGGLE_RECORD_MEETING");
|
|
123
|
+
|
|
124
|
+
_defineProperty(VCEventType, "POLL_RECORDING_STATUS", "POLL_RECORDING_STATUS");
|
|
125
|
+
|
|
126
|
+
_defineProperty(VCEventType, "REQUEST_TO_JOIN", "REQUEST_TO_JOIN");
|
|
127
|
+
|
|
128
|
+
_defineProperty(VCEventType, "REQUEST_TO_JOIN_MEETING", "REQUEST_TO_JOIN_MEETING");
|
|
129
|
+
|
|
130
|
+
_defineProperty(VCEventType, "AUDIO_VISUAL_SETTINGS_CHANGED", "AUDIO_VISUAL_SETTINGS_CHANGED");
|
|
131
|
+
|
|
132
|
+
_defineProperty(VCEventType, "CREATE_WEBRTC_TRANSPORT", "CREATE_WEBRTC_TRANSPORT");
|
|
133
|
+
|
|
134
|
+
_defineProperty(VCEventType, "CONNECT_TRANSPORT", "CONNECT_TRANSPORT");
|
|
135
|
+
|
|
136
|
+
_defineProperty(VCEventType, "CLOSE_ALL_USER_TRANSPORTS", "CLOSE_ALL_USER_TRANSPORTS");
|
|
137
|
+
|
|
138
|
+
_defineProperty(VCEventType, "PRODUCER_CLOSED", "PRODUCER_CLOSED");
|
|
139
|
+
|
|
140
|
+
_defineProperty(VCEventType, "NEW_PRODUCERS", "NEW_PRODUCERS");
|
|
141
|
+
|
|
142
|
+
_defineProperty(VCEventType, "PRODUCE", "PRODUCE");
|
|
143
|
+
|
|
144
|
+
_defineProperty(VCEventType, "CONSUME", "CONSUME");
|
|
145
|
+
|
|
146
|
+
_defineProperty(VCEventType, "SYSTEM_ALERT", "SYSTEM_ALERT");
|
|
147
|
+
|
|
148
|
+
_defineProperty(VCEventType, "WHITEBOARD_EVENT", "WHITEBOARD_EVENT");
|
|
149
|
+
|
|
150
|
+
_defineProperty(VCEventType, "WHITEBOARD", "WHITEBOARD");
|
|
151
|
+
|
|
152
|
+
_defineProperty(VCEventType, "MEETING_ENDED", "MEETING_ENDED");
|
|
153
|
+
|
|
154
|
+
_defineProperty(VCEventType, "SAVE_RECORDING", "SAVE_RECORDING");
|
|
155
|
+
|
|
156
|
+
_defineProperty(VCEventType, "STOP_RECORDING", "STOP_RECORDING");
|
|
157
|
+
|
|
158
|
+
_defineProperty(VCEventType, "UPDATE_CALENDAR", "UPDATE_CALENDAR");
|
|
159
|
+
|
|
160
|
+
_defineProperty(VCEventType, "REQUEST_TO_JOIN_MEETING_ANSWERED", "REQUEST_TO_JOIN_MEETING_ANSWERED");
|
|
161
|
+
|
|
162
|
+
_defineProperty(VCEventType, "PEER_DISCONNECT", "PEER_DISCONNECT");
|
|
163
|
+
|
|
164
|
+
_defineProperty(VCEventType, "CONSUMER_CLOSED", "CONSUMER_CLOSED");
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.people-container {
|
|
2
|
+
padding: 32px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.search {
|
|
6
|
+
height: 64px;
|
|
7
|
+
width: 50%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.people-content {
|
|
11
|
+
width: 100%;
|
|
12
|
+
padding: 0 !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.participant-card {
|
|
16
|
+
padding: 4px;
|
|
17
|
+
max-width: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.participant-card .bottom-strip {
|
|
21
|
+
width: 100%;
|
|
22
|
+
padding-top: 8px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.participant-card .bottom-strip .buttons{
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: flex-end;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.participant-card .bottom-strip .indicator {
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.participant-card .bottom-strip .indicator .online,
|
|
35
|
+
.participant-card .bottom-strip .indicator .offline{
|
|
36
|
+
width: 16px;
|
|
37
|
+
height: 16px;
|
|
38
|
+
margin: 20px 0 0 28px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.participant-card .bottom-strip .indicator .offline{
|
|
42
|
+
background-color: red;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.participant-card .bottom-strip .indicator .online{
|
|
46
|
+
background-color: #198754;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.participant-card .user-details {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: left !important;
|
|
53
|
+
font-size: 16px;
|
|
54
|
+
margin-left: 8px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.avatar-small {
|
|
58
|
+
width: 32px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
.header-panel {
|
|
63
|
+
margin-bottom: 0.25rem;
|
|
64
|
+
margin-top: 8px;
|
|
65
|
+
letter-spacing: .01785714em;
|
|
66
|
+
font-family: "Google Sans",Roboto,Arial,sans-serif;
|
|
67
|
+
font-size: 16px;
|
|
68
|
+
font-weight: 500;
|
|
69
|
+
line-height: 1.25rem;
|
|
70
|
+
color: #a1a1a1 !important;
|
|
71
|
+
padding: 0 8px;
|
|
72
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
require("./VCParticipantList.css");
|
|
11
|
+
|
|
12
|
+
var _VCParticipantListItem = _interopRequireDefault(require("./VCParticipantListItem"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
const VCParticipantList = props => {
|
|
21
|
+
const [anchorEl, setAnchorEl] = (0, _react.useState)(null);
|
|
22
|
+
const open = Boolean(anchorEl);
|
|
23
|
+
const {
|
|
24
|
+
participants
|
|
25
|
+
} = props;
|
|
26
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
27
|
+
className: 'w-100 h-100 people-container'
|
|
28
|
+
}, participants.length > 0 && /*#__PURE__*/_react.default.createElement("div", {
|
|
29
|
+
className: 'people-content row',
|
|
30
|
+
style: {
|
|
31
|
+
height: '100%',
|
|
32
|
+
overflow: 'none'
|
|
33
|
+
}
|
|
34
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
35
|
+
className: 'people-content-list',
|
|
36
|
+
style: {
|
|
37
|
+
height: 'calc(100% - 48px)',
|
|
38
|
+
width: '100%',
|
|
39
|
+
overflow: 'auto'
|
|
40
|
+
}
|
|
41
|
+
}, participants.map((participant, index) => {
|
|
42
|
+
return /*#__PURE__*/_react.default.createElement(_VCParticipantListItem.default, {
|
|
43
|
+
key: index,
|
|
44
|
+
onChangeMeetingHostHandler: e => props.onChangeMeetingHostHandler(e),
|
|
45
|
+
onPinHandler: (participant, pinned) => props.onPinHandler(participant, pinned),
|
|
46
|
+
onBringToViewHandler: participant => props.onBringToViewHandler(participant),
|
|
47
|
+
onHostVideoMute: participant => props.onHostVideoMute(participant),
|
|
48
|
+
onHostAudioMute: participant => props.onHostAudioMute(participant),
|
|
49
|
+
isHost: props.isHost,
|
|
50
|
+
participant: participant
|
|
51
|
+
});
|
|
52
|
+
}))));
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
var _default = VCParticipantList;
|
|
56
|
+
exports.default = _default;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
.people-container {
|
|
2
|
+
padding: 32px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.search {
|
|
6
|
+
height: 64px;
|
|
7
|
+
width: 50%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.people-content {
|
|
11
|
+
width: 100%;
|
|
12
|
+
padding: 16px 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.participant-card {
|
|
16
|
+
padding: 8px;
|
|
17
|
+
max-width: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.participant-card .bottom-strip {
|
|
21
|
+
width: 100%;
|
|
22
|
+
padding-top: 8px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.participant-card .bottom-strip .buttons{
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: flex-end;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.participant-card .bottom-strip .indicator {
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.participant-card .bottom-strip .indicator .online,
|
|
35
|
+
.participant-card .bottom-strip .indicator .offline{
|
|
36
|
+
width: 16px;
|
|
37
|
+
height: 16px;
|
|
38
|
+
margin: 20px 0 0 28px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.participant-card .bottom-strip .indicator .offline{
|
|
42
|
+
background-color: rgb(235, 63, 33);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.participant-card .bottom-strip .indicator .online{
|
|
46
|
+
background-color: #198754;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.participant-card .user-details {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: left;
|
|
53
|
+
font-size: 16px;
|
|
54
|
+
margin-left: 8px;
|
|
55
|
+
padding-left: 0 !important;
|
|
56
|
+
padding-right: 0 !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.avatar-small {
|
|
60
|
+
width: 32px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
.header-panel {
|
|
65
|
+
margin-bottom: 0.25rem;
|
|
66
|
+
margin-top: 0.75rem;
|
|
67
|
+
letter-spacing: .01785714em;
|
|
68
|
+
font-family: "Google Sans",Roboto,Arial,sans-serif;
|
|
69
|
+
font-size: 16px;
|
|
70
|
+
font-weight: 500;
|
|
71
|
+
line-height: 1.25rem;
|
|
72
|
+
color: white !important;
|
|
73
|
+
}
|