You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.ts 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * Fixed name of the whiteboard fake participant.
  3. */
  4. export const WHITEBOARD_PARTICIPANT_NAME = 'Whiteboard';
  5. /**
  6. * Whiteboard ID.
  7. */
  8. export const WHITEBOARD_ID = 'whiteboard';
  9. /**
  10. * Whiteboard UI Options.
  11. */
  12. export const WHITEBOARD_UI_OPTIONS = {
  13. canvasActions: {
  14. allowedShapes: [
  15. 'arrow', 'diamond', 'ellipse', 'freedraw', 'line', 'rectangle', 'selection', 'text'
  16. ],
  17. allowedShortcuts: [
  18. 'cut', 'deleteSelectedElements', 'redo', 'selectAll', 'undo'
  19. ],
  20. disableAlignItems: true,
  21. disableFileDrop: true,
  22. disableGrouping: true,
  23. disableHints: true,
  24. disableLink: true,
  25. disableShortcuts: true,
  26. disableVerticalAlignOptions: true,
  27. fontSizeOptions: [ 's', 'm', 'l' ],
  28. hideArrowHeadsOptions: true,
  29. hideColorInput: true,
  30. hideClearCanvas: true,
  31. hideFontFamily: true,
  32. hideHelpDialog: true,
  33. hideIOActions: true,
  34. hideLayers: true,
  35. hideLibraries: true,
  36. hideLockButton: true,
  37. hideOpacityInput: true,
  38. hideSharpness: true,
  39. hideStrokeStyle: true,
  40. hideTextAlign: true,
  41. hideThemeControls: true,
  42. hideUserList: true,
  43. saveAsImageOptions: {
  44. defaultBackgroundValue: true,
  45. disableScale: true,
  46. disableSelection: true,
  47. disableClipboard: true,
  48. disableSceneEmbed: true,
  49. hideTheme: true
  50. }
  51. }
  52. };