59 lines
1.3 KiB
JavaScript
59 lines
1.3 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 NAVBAR_HEIGHT = 112;
|
|
const LARGE_NAVBAR_HEIGHT = 170;
|
|
|
|
const DEFAULT_VALUES = {
|
|
layoutType: LAYOUT_TYPE.CUSTOM_LAYOUT,
|
|
panelType: 'chat',
|
|
idChatOpen: PUBLIC_CHAT_ID,
|
|
fontSize: 16,
|
|
|
|
cameraPosition: CAMERADOCK_POSITION.CONTENT_TOP,
|
|
cameraDockTabOrder: 4,
|
|
cameraDockMinHeight: 120,
|
|
cameraDockMinWidth: 120,
|
|
camerasMargin: 10,
|
|
|
|
presentationTabOrder: 5,
|
|
presentationMinHeight: 220,
|
|
presentationToolbarMinWidth: 430,
|
|
|
|
bannerHeight: 34,
|
|
|
|
navBarHeight: 85,
|
|
navBarTop: 0,
|
|
navBarTabOrder: 3,
|
|
|
|
actionBarHeight: 42,
|
|
actionBarPadding: 11.2,
|
|
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.NONE,
|
|
};
|
|
|
|
export default DEFAULT_VALUES;
|
|
export {
|
|
LAYOUT_TYPE,
|
|
CAMERADOCK_POSITION,
|
|
NAVBAR_HEIGHT,
|
|
LARGE_NAVBAR_HEIGHT,
|
|
};
|