您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

constants.ts 934B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /**
  2. * The size of the chat. Equal to $sidebarWidth SCSS variable.
  3. */
  4. export const CHAT_SIZE = 315;
  5. /**
  6. * The audio ID of the audio element for which the {@link playAudio} action is
  7. * triggered when new chat message is received.
  8. *
  9. * @type {string}
  10. */
  11. export const INCOMING_MSG_SOUND_ID = 'INCOMING_MSG_SOUND';
  12. /**
  13. * The {@code messageType} of error (system) messages.
  14. */
  15. export const MESSAGE_TYPE_ERROR = 'error';
  16. /**
  17. * The {@code messageType} of local messages.
  18. */
  19. export const MESSAGE_TYPE_LOCAL = 'local';
  20. /**
  21. * The {@code messageType} of remote messages.
  22. */
  23. export const MESSAGE_TYPE_REMOTE = 'remote';
  24. export const SMALL_WIDTH_THRESHOLD = 580;
  25. /**
  26. * Lobby message type.
  27. */
  28. export const LOBBY_CHAT_MESSAGE = 'LOBBY_CHAT_MESSAGE';
  29. export const CHAT_TABS = {
  30. POLLS: 'polls-tab',
  31. CHAT: 'chat-tab'
  32. };
  33. /**
  34. * Formatter string to display the message timestamp.
  35. */
  36. export const TIMESTAMP_FORMAT = 'H:mm';