- 1 :
/**
- 2 :
* Contient les données constantes des différentes parties de la vue.
- 3 :
* @module EventView/Parts/Constants
- 4 :
*/
- 5 :
- 6 :
import { ID_SELECTOR } from "../event_view.constants.js";
- 7 :
- 8 :
/**
- 9 :
* Tag avant les catégories de l'agenda pour celles qui sont lié à un espace de travail.
- 10 :
* @constant
- 11 :
* @default 'ws#'
- 12 :
* @type {string}
- 13 :
*/
- 14 :
export const TAG_WSP_CATEGORY = 'ws#';
- 15 :
/**
- 16 :
* Participant optionnel dans un évènement
- 17 :
* @constant
- 18 :
* @default 'OPT-PARTICIPANT'
- 19 :
* @type {string}
- 20 :
*/
- 21 :
export const ROLE_ATTENDEE_OPTIONNAL = 'OPT-PARTICIPANT';
- 22 :
/**
- 23 :
* Nombre de créneaux horaires qui seront affichés
- 24 :
* @constant
- 25 :
* @type {number}
- 26 :
* @default 3
- 27 :
*/
- 28 :
export const MAX_SLOT = 3;
- 29 :
/**
- 30 :
* Charactère de remplacement.
- 31 :
*
- 32 :
* Il remplace des charactères problématique lors d'une convertion.
- 33 :
* @constant
- 34 :
* @type {string}
- 35 :
* @default '¤'
- 36 :
*/
- 37 :
export const REPLACE_CHAR = '¤';
- 38 :
/**
- 39 :
* Sépare les participants dans une chaine de caractère.
- 40 :
* @constant
- 41 :
* @type {string}
- 42 :
* @default ','
- 43 :
*/
- 44 :
export const GUEST_SEPARATOR = ',';
- 45 :
/**
- 46 :
* @constant
- 47 :
* @type {string}
- 48 :
* @default 'manually-changed'
- 49 :
*/
- 50 :
export const CLASS_MANUALLY_CHANGED = 'manually-changed';
- 51 :
/**
- 52 :
* @constant
- 53 :
* @type {string}
- 54 :
* @default 'edit-attendees-donotify'
- 55 :
*/
- 56 :
export const CHECK_BOX_NOTIFY = 'edit-attendees-donotify';
- 57 :
/**
- 58 :
* @constant
- 59 :
* @type {string}
- 60 :
* @default '#edit-attendees-donotify'
- 61 :
*/
- 62 :
export const SELECTOR_CHECKBOX_NOTIFY = `${ID_SELECTOR}${CHECK_BOX_NOTIFY}`;
- 63 :
/**
- 64 :
* @constant
- 65 :
* @type {string}
- 66 :
* @default String.fromCharCode('8199')
- 67 :
*/
- 68 :
export const LOCATION_SEPARATOR = String.fromCharCode('8199');
- 69 :
/**
- 70 :
* @constant
- 71 :
* @type {string}
- 72 :
* @default 'visio'
- 73 :
*/
- 74 :
export const LOCATION_VISIO_OPTION_VALUE = 'visio';
- 75 :
/**
- 76 :
* @constant
- 77 :
* @type {string}
- 78 :
* @default 'visio-internal'
- 79 :
*/
- 80 :
export const LOCATION_VISIO_INTERNAL_OPTION_VALUE = 'visio-internal';
- 81 :
/**
- 82 :
* @constant
- 83 :
* @type {string}
- 84 :
* @default 'visio-external'
- 85 :
*/
- 86 :
export const LOCATION_VISIO_EXTERNAL_OPTION_VALUE = 'visio-external';
- 87 :
/**
- 88 :
* @constant
- 89 :
* @type {string}
- 90 :
* @default 'audio'
- 91 :
*/
- 92 :
export const LOCATION_AUDIO_OPTION_VALUE = 'audio';
- 93 :
/**
- 94 :
* @constant
- 95 :
* @type {string}
- 96 :
* @default 'location'
- 97 :
*/
- 98 :
export const LOCATION_OPTION_VALUE = 'location';
- 99 :
/**
- 100 :
* @constant
- 101 :
* @type {string}
- 102 :
* @default ' ('
- 103 :
*/
- 104 :
export const SEPARATOR_LOCATION_VISIO_INTEGRATED_PHONE = ' (';
- 105 :
/**
- 106 :
* @constant
- 107 :
* @type {string}
- 108 :
* @default ')'
- 109 :
*/
- 110 :
export const SEPARATOR_END_LOCATION_VISIO_INTEGRATED_PHONE = ')';
- 111 :
/**
- 112 :
* @constant
- 113 :
* @type {string}
- 114 :
* @default ' | '
- 115 :
*/
- 116 :
export const SEPARATOR_LOCATION_VISIO_INTEGRATED_PIN_PHONE = ' | ';
- 117 :
/**
- 118 :
* @constant
- 119 :
* @type {number}
- 120 :
* @default 10
- 121 :
*/
- 122 :
export const INTEGRATED_VISIO_MIN_SIZE = 10;
- 123 :
/**
- 124 :
* @constant
- 125 :
* @type {number}
- 126 :
* @default 3
- 127 :
*/
- 128 :
export const INTEGRATED_VISIO_MIN_NUMBER_COUNT = 3;
- 129 :
/**
- 130 :
* @constant
- 131 :
* @type {string}
- 132 :
* @default ' : '
- 133 :
*/
- 134 :
export const SEPARATOR_AUDIO_URL_LOCATION = ' : ';
- 135 :
/**
- 136 :
* @constant
- 137 :
* @type {string}
- 138 :
* @default ' | '
- 139 :
*/
- 140 :
export const SEPARATOR_AUDIO_PIN = SEPARATOR_LOCATION_VISIO_INTEGRATED_PIN_PHONE;
- 141 :
/**
- 142 :
* @constant
- 143 :
* @type {string}
- 144 :
* @default 'add-day'
- 145 :
*/
- 146 :
export const CLASS_ALL_DAY = 'all-day';