bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/layout/defaultValues.js
2021-06-29 10:31:44 -03:00

50 lines
1.1 KiB
JavaScript

import { Meteor } from 'meteor/meteor';
import { LAYOUT_TYPE, CAMERADOCK_POSITION, PANELS } from './enums';
const CHAT_CONFIG = Meteor.settings.public.chat;
const PUBLIC_CHAT_ID = CHAT_CONFIG.public_id;
const DEFAULT_VALUES = {
layoutType: LAYOUT_TYPE.CUSTOM_LAYOUT,
panelType: 'chat',
idChatOpen: PUBLIC_CHAT_ID,
fontSize: 16,
cameraPosition: CAMERADOCK_POSITION.CONTENT_TOP,
cameraDockTabOrder: 4,
cameraDockMinHeight: 140,
cameraDockMinWidth: 140,
presentationTabOrder: 5,
presentationMinHeight: 220,
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,
sidebarContentMaxWidth: 350,
sidebarContentMinWidth: 150,
sidebarContentMinHeight: 200,
sidebarContentHeight: '100%',
sidebarContentTop: 0,
sidebarContentTabOrder: 2,
sidebarContentPanel: PANELS.CHAT,
};
export default DEFAULT_VALUES;
export {
LAYOUT_TYPE,
CAMERADOCK_POSITION,
};