"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7555/react/features/toolbox/constants.ts" (28 Sep 2023, 1294 Bytes) of package /linux/misc/jitsi-meet-7555.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "constants.ts": 7531_vs_7542.

    1 /**
    2  * Thresholds for displaying toolbox buttons.
    3  */
    4 export const THRESHOLDS = [
    5     {
    6         width: 565,
    7         order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'reactions', 'participants', 'tileview' ]
    8     },
    9     {
   10         width: 520,
   11         order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'participants', 'tileview' ]
   12     },
   13     {
   14         width: 470,
   15         order: [ 'microphone', 'camera', 'desktop', 'chat', 'raisehand', 'participants' ]
   16     },
   17     {
   18         width: 420,
   19         order: [ 'microphone', 'camera', 'desktop', 'chat', 'participants' ]
   20     },
   21     {
   22         width: 370,
   23         order: [ 'microphone', 'camera', 'chat', 'participants' ]
   24     },
   25     {
   26         width: 225,
   27         order: [ 'microphone', 'camera', 'chat' ]
   28     },
   29     {
   30         width: 200,
   31         order: [ 'microphone', 'camera' ]
   32     }
   33 ];
   34 
   35 export const NOT_APPLICABLE = 'N/A';
   36 
   37 export const TOOLBAR_TIMEOUT = 4000;
   38 
   39 export const DRAWER_MAX_HEIGHT = '80dvh - 64px';
   40 
   41 export const NOTIFY_CLICK_MODE = {
   42     ONLY_NOTIFY: 'ONLY_NOTIFY',
   43     PREVENT_AND_NOTIFY: 'PREVENT_AND_NOTIFY'
   44 };
   45 
   46 // Around 300 to be displayed above components like chat
   47 export const ZINDEX_DIALOG_PORTAL = 302;
   48 
   49 /**
   50  * Color for spinner displayed in the toolbar.
   51  */
   52 export const SPINNER_COLOR = '#929292';