bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/layout/defaultValues.js

49 lines
1.1 KiB
JavaScript
Raw Normal View History

2021-05-20 06:29:03 +08:00
import { Meteor } from 'meteor/meteor';
import { LAYOUT_TYPE, CAMERADOCK_POSITION, PANELS } from './enums';
2021-05-18 04:25:07 +08:00
2021-05-20 06:29:03 +08:00
const CHAT_CONFIG = Meteor.settings.public.chat;
2021-05-20 22:36:26 +08:00
const PUBLIC_CHAT_ID = CHAT_CONFIG.public_id;
2021-05-20 06:29:03 +08:00
2021-05-18 04:25:07 +08:00
const DEFAULT_VALUES = {
layoutType: LAYOUT_TYPE.CUSTOM_LAYOUT,
panelType: 'chat',
2021-05-20 22:36:26 +08:00
idChatOpen: PUBLIC_CHAT_ID,
2021-06-19 02:32:46 +08:00
fontSize: 16,
2021-05-18 04:25:07 +08:00
cameraPosition: CAMERADOCK_POSITION.CONTENT_TOP,
cameraDockTabOrder: 4,
cameraDockMinHeight: 140,
cameraDockMinWidth: 140,
presentationTabOrder: 5,
2021-06-09 21:49:59 +08:00
presentationMinHeight: 220,
2021-05-18 04:25:07 +08:00
navBarHeight: 85,
navBarTop: 0,
navBarTabOrder: 3,
actionBarHeight: 65,
actionBarTabOrder: 6,
sidebarNavMaxWidth: 240,
sidebarNavMinWidth: 150,
sidebarNavHeight: '100%',
sidebarNavTop: 0,
sidebarNavLeft: 0,
sidebarNavTabOrder: 1,
sidebarNavPanel: PANELS.USERLIST,
2021-05-18 04:25:07 +08:00
sidebarContentMaxWidth: 350,
sidebarContentMinWidth: 150,
sidebarContentHeight: '100%',
sidebarContentTop: 0,
sidebarContentTabOrder: 2,
sidebarContentPanel: PANELS.CHAT,
2021-05-18 04:25:07 +08:00
};
export default DEFAULT_VALUES;
export {
LAYOUT_TYPE,
CAMERADOCK_POSITION,
};