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

100 lines
3.4 KiB
JavaScript
Raw Normal View History

2021-05-18 04:25:07 +08:00
export const LAYOUT_TYPE = {
CUSTOM_LAYOUT: 'custom',
SMART_LAYOUT: 'smart',
PRESENTATION_FOCUS: 'presentationFocus',
VIDEO_FOCUS: 'videoFocus',
};
export const DEVICE_TYPE = {
MOBILE: 'mobile',
TABLET_PORTRAIT: 'tablet_portrait',
TABLET_LANDSCAPE: 'tablet_landscape',
TABLET: 'tablet',
DESKTOP: 'desktop',
};
export const CAMERADOCK_POSITION = {
CONTENT_TOP: 'contentTop',
CONTENT_RIGHT: 'contentRight',
CONTENT_BOTTOM: 'contentBottom',
CONTENT_LEFT: 'contentLeft',
SIDEBAR_CONTENT_BOTTOM: 'sidebarContentBottom',
};
export const ACTIONS = {
SET_AUTO_ARRANGE_LAYOUT: 'setAutoArrangeLayout',
SET_LAYOUT_TYPE: 'setLayoutType',
SET_DEVICE_TYPE: 'setDeviceType',
2021-06-19 02:32:46 +08:00
SET_FONT_SIZE: 'setFontSize',
2021-05-18 04:25:07 +08:00
SET_LAYOUT_LOADED: 'setLayoutLoaded',
SET_LAYOUT_INPUT: 'setLayoutInput',
SET_SIDEBAR_NAVIGATION_PANEL: 'setSidebarNavigationPanel',
SET_SIDEBAR_CONTENT_PANEL: 'setSidebarcontentPanel',
SET_ID_CHAT_OPEN: 'setIdChatOpen',
SET_BROWSER_SIZE: 'setBrowserSize',
SET_NAVBAR_OUTPUT: 'setNavBarOutput',
SET_ACTIONBAR_OUTPUT: 'setActionBarOutput',
SET_SIDEBAR_NAVIGATION_IS_OPEN: 'setSidebarNavigationIsOpen',
SET_SIDEBAR_NAVIGATION_SIZE: 'setSidebarNavigationSize',
SET_SIDEBAR_NAVIGATION_OUTPUT: 'setSidebarNavigationOutput',
SET_SIDEBAR_NAVIGATION_IS_RESIZABLE: 'setSidebarNavigationIsResizable',
SET_SIDEBAR_NAVIGATION_RESIZABLE_EDGE: 'setSidebarNavigationResizableEdge',
SET_SIDEBAR_CONTENT_IS_OPEN: 'setSidebarContentIsOpen',
SET_SIDEBAR_CONTENT_SIZE: 'setSidebarContentSize',
SET_SIDEBAR_CONTENT_PANEL_TYPE: 'setSidebarContentPanelType',
SET_SIDEBAR_CONTENT_OUTPUT: 'setSidebarContentOutput',
SET_SIDEBAR_CONTENT_IS_RESIZABLE: 'setSidebarContentIsResizable',
SET_SIDEBAR_CONTENT_RESIZABLE_EDGE: 'setSidebarContentResizableEdge',
SET_MEDIA_AREA_SIZE: 'setMediaAreaSize',
SET_NUM_CAMERAS: 'setNumCameras',
SET_CAMERA_DOCK_IS_DRAGGING: 'setCameraDockIsDragging',
SET_CAMERA_DOCK_POSITION: 'setCameraDockPosition',
SET_CAMERA_DOCK_SIZE: 'setCameraDockSize',
SET_CAMERA_DOCK_OUTPUT: 'setCameraDockOutput',
SET_CAMERA_DOCK_IS_DRAGGABLE: 'setCameraDockIsDraggable',
SET_CAMERA_DOCK_IS_FULLSCREEN: 'setCameraDockIsFullscreen',
SET_CAMERA_DOCK_IS_RESIZABLE: 'setCameraDockIsResizable',
SET_CAMERA_DOCK_RESIZABLE_EDGE: 'setCameraDockResizableEdge',
SET_DROP_AREAS: 'setDropAreas',
SET_PRESENTATION_IS_OPEN: 'setPresentationIsOpen',
SET_PRESENTATION_CURRENT_SLIDE_SIZE: 'setPresentationCurrentSlideSize',
SET_PRESENTATION_NUM_CURRENT_SLIDE: 'setPresentationNumCurrentSlide',
SET_PRESENTATION_SLIDES_LENGTH: 'setPresentationSlideslength',
SET_PRESENTATION_SIZE: 'setPresentationSize',
SET_PRESENTATION_IS_FULLSCREEN: 'setPresentationIsFullscreen',
SET_PRESENTATION_OUTPUT: 'setPresentationOutput',
SET_PRESENTATION_IS_RESIZABLE: 'setPresentationIsResizable',
SET_PRESENTATION_RESIZABLE_EDGE: 'setPresentationResizableEdge',
SET_HAS_SCREEN_SHARE: 'setHasScreenShare',
SET_SCREEN_SHARE_SIZE: 'setScreenShareSize',
2021-06-17 00:05:42 +08:00
SET_SCREEN_SHARE_OUTPUT: 'setScreenShareOutput',
2021-05-18 04:25:07 +08:00
SET_HAS_EXTERNAL_VIDEO: 'setHasExternalVideo',
SET_EXTERNAL_VIDEO_SIZE: 'setExternalVideoSize',
2021-06-17 00:05:42 +08:00
SET_EXTERNAL_VIDEO_OUTPUT: 'setExternalVideoOutput',
2021-05-18 04:25:07 +08:00
};
export const PANELS = {
USERLIST: 'userlist',
CHAT: 'chat',
POLL: 'poll',
CAPTIONS: 'captions',
BREAKOUT: 'breakoutroom',
SHARED_NOTES: 'shared-notes',
WAITING_USERS: 'waiting-users',
NONE: 'none',
};