UNPKG

uyem

Version:
57 lines (56 loc) 2.27 kB
import { AlertProps, ClickPosition, DialogProps, DialogPropsDefaultContext, DialogPropsUsersContext } from '../types'; import { LogLevel } from '../types/interfaces'; export declare const LOG_LEVEL: LogLevel; export declare const IS_DEV: boolean; export declare const WS_TTL = 1; export declare const START_DELAY = 1999; export declare const CODECS: string[]; export declare const SPEAKER_LEVEL = 0.5; export declare const CHAT_TAKE_MESSAGES = 10; export declare const TEXT_AREA_MAX_ROWS = 5; export declare const TEXT_AREA_ROW_LENGTH = 60; export declare const ALERT_DEFAULT: AlertProps; export declare const ALERT_TIMEOUT = 3000; export declare const CONTEXT_DEFAULT: { unitId: string; id: number; text: string; isOwner: boolean; }; export declare const DIALOG_DEFAULT: DialogProps<DialogPropsDefaultContext & DialogPropsUsersContext>; export declare const CLICK_POSITION_DEFAULT: ClickPosition; export declare const DIALOG_VOLUME_DIMENSION: { width: number; height: number; }; export declare const DIALOG_MESSAGE_DIMENSION: { width: number; height: number; }; export declare const DIALOG_SETTINGS_DIMENSION: { width: number; height: number; }; export declare const DIALOG_USER_DIMENSION: { width: number; height: number; }; export declare const SHORT_MESS_LENGTH = 30; export declare const FIRST_MESSAGE_INDENT = 20; export declare const FOLOW_QUOTE_STYLE = "border: 3px solid lightblue"; export declare const USER_NAME_DEFAULT = "No Name"; export declare const VOLUME_MIN = 10; export declare const ALERT_TRANSITION = 350; export declare const VIDEO_ACTIONS_STYLE = "right: calc(1rem - 10px);transition: top 0.3s ease-in"; export declare const PSEUDO_BUTTON_ANIMATION_TIMEOUT = 1000; export declare const VIDEO_STARTED_HOOK_TIMEOUT = 3000; export declare const RECORDED_VIDEO_TAKE_DEFAULT = 2; export declare const MOBILE_WIDTH = 760; export declare const TEXT_AREA_PADDING_LEFT = 16; export declare const TEXT_AREA_BORDER_WIDTH = 5; export declare const ROOM_LENGTH_TEST: 0; export declare const CHANGE_SPEAKER_SORT_TIMEOUT = 8000; export declare const USERS_ICON_WIDTH = 24; export declare const USERS_ICON_WIDTH_BIG = 30; export declare const MAX_VIDEO_STREAMS = 4; export declare const PLAY_VIDEO_TIMEOUT = 30000;