codevdesign 1.0.78 → 1.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/assets/csqc.css +28 -30
  2. package/composants/csqcAide.vue +1 -1
  3. package/composants/csqcAlerteErreur.vue +1 -1
  4. package/composants/csqcChaise/chaiseConteneur.vue +3 -3
  5. package/composants/csqcChaise/chaiseItem.vue +54 -54
  6. package/composants/csqcCodeBudgetaireGenerique.vue +254 -254
  7. package/composants/csqcConfirmation.vue +76 -75
  8. package/composants/csqcDate.vue +89 -86
  9. package/composants/csqcDialogue.vue +120 -118
  10. package/composants/csqcEditeurTexteRiche.vue +378 -378
  11. package/composants/csqcEntete.vue +17 -17
  12. package/composants/csqcImportCSV.vue +2 -2
  13. package/composants/csqcModaleSaisie.vue +97 -97
  14. package/composants/csqcRecherche.vue +7 -7
  15. package/composants/csqcRechercheUtilisateur.vue +198 -198
  16. package/composants/csqcSnackbar.vue +207 -207
  17. package/composants/csqcSwitch.vue +5 -5
  18. package/composants/csqcTable/csqcTable.vue +19 -14
  19. package/composants/csqcTable/csqcTableModaleChoixColonnes.vue +4 -4
  20. package/composants/csqcTable/sortableDataTable.ts +1 -1
  21. package/composants/csqcTexteBilingue.vue +175 -175
  22. package/composants/csqcTiroir.vue +197 -197
  23. package/composants/gabarit/csqcMenu.vue +4 -4
  24. package/composants/gabarit/pivEntete.vue +5 -3
  25. package/composants/gabarit/pivPiedPage.vue +44 -29
  26. package/composants/validateurs.ts +8 -2
  27. package/editeur.ts +1 -1
  28. package/importCSV.ts +1 -1
  29. package/index.ts +80 -80
  30. package/locales/en.json +1 -1
  31. package/locales/fr.json +3 -3
  32. package/modeles/assurancesAssuranceGeneraleGrics.ts +3 -3
  33. package/modeles/assurancesAssurancePersonnelleGrics.ts +6 -6
  34. package/modeles/assurancesContratGrics.ts +6 -6
  35. package/modeles/assurancesDetailsPrimeReguliereGrics.ts +4 -4
  36. package/modeles/assurancesDonneesAssureurGrics.ts +5 -5
  37. package/modeles/assurancesEmployeGrics.ts +4 -4
  38. package/modeles/assurancesGrics.ts +6 -6
  39. package/modeles/assurancesRegimeAssuranceGrics.ts +2 -2
  40. package/modeles/assurancesRegimeBaseEmployeurGrics.ts +2 -2
  41. package/modeles/assurancesRegimeBaseGrics.ts +2 -2
  42. package/modeles/composants/csqcMenuModele.ts +18 -18
  43. package/modeles/composants/datatableColonne.ts +19 -19
  44. package/modeles/employeAdresseGrics.ts +6 -6
  45. package/modeles/employeAdressesPersonnellesGrics.ts +4 -4
  46. package/modeles/employeAffectationCorpsEmploiGrics.ts +2 -2
  47. package/modeles/employeBanquesCongeBanqueGrics.ts +2 -2
  48. package/modeles/employeBanquesCongeGrics.ts +6 -6
  49. package/modeles/employeBanquesCongeRegimeAbsenceGrics.ts +2 -2
  50. package/modeles/employeCourrielsPersonnels.ts +2 -2
  51. package/modeles/employeCourrielsProfessionnels.ts +2 -2
  52. package/modeles/employeEmploisCategorieGrics.ts +2 -2
  53. package/modeles/employeEmploisClasseGrics.ts +2 -2
  54. package/modeles/employeEmploisCorpsEmploiGrics.ts +2 -2
  55. package/modeles/employeEmploisEtatEmploiGrics.ts +2 -2
  56. package/modeles/employeEmploisGrics.ts +29 -29
  57. package/modeles/employeEmploisGroupePaieGrics.ts +2 -2
  58. package/modeles/employeEmploisLieuTravailPrincipalGrics.ts +3 -3
  59. package/modeles/employeEmploisLieuxTravailSecondairesGrics.ts +3 -3
  60. package/modeles/employeEmploisRegimeAbsenceGrics.ts +2 -2
  61. package/modeles/employeEmploisSecteurGrics.ts +2 -2
  62. package/modeles/employeEmploisStatutEngagementGrics.ts +2 -2
  63. package/modeles/employeExperienceEmploiGrics.ts +2 -2
  64. package/modeles/employeExperienceEmployeGrics.ts +5 -5
  65. package/modeles/employeExperienceExperiencesGrics.ts +4 -4
  66. package/modeles/employeExperienceExperiencesTotalesGrics.ts +7 -7
  67. package/modeles/employeExperienceGrics.ts +9 -9
  68. package/modeles/employeGrics.ts +23 -23
  69. package/modeles/employeTelephoneGrics.ts +4 -4
  70. package/modeles/employeTelephonesPersonnelsGrics.ts +3 -3
  71. package/modeles/employeTelephonesProfessionnelsGrics.ts +3 -3
  72. package/modeles/groupeCE.ts +6 -6
  73. package/modeles/groupeCEIntervalle.ts +6 -6
  74. package/modeles/historiquesAbsenceBanqueGrics.ts +2 -2
  75. package/modeles/historiquesAbsenceGrics.ts +13 -13
  76. package/modeles/historiquesAbsenceLieuTravailGrics.ts +2 -2
  77. package/modeles/historiquesAbsenceSousBanqueGrics.ts +2 -2
  78. package/modeles/motifsAbsenceBanque.ts +2 -2
  79. package/modeles/motifsAbsenceGrics.ts +9 -9
  80. package/modeles/motifsAbsenceRegimeAbsence.ts +2 -2
  81. package/modeles/motifsAbsenceSousMotifs.ts +2 -2
  82. package/modeles/motifsAbsenceTraitementBanques.ts +3 -3
  83. package/modeles/syndicat.ts +18 -18
  84. package/modeles/syndicatGroupeCe.ts +3 -3
  85. package/modeles/syndicatResponsable.ts +8 -8
  86. package/modeles/syndicatUnite.ts +3 -3
  87. package/modeles/unite.ts +15 -15
  88. package/modeles/uniteTypeEnseignement.ts +4 -4
  89. package/modeles/utilisateur.ts +8 -8
  90. package/outils/appAxios.ts +16 -16
  91. package/outils/csqcOutils.ts +6 -5
  92. package/outils/csqcRafraichisseurTokenParent.ts +20 -4
  93. package/outils/rafraichisseurToken.ts +1 -1
  94. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  export interface EmployeEmploisLieuTravailPrincipalGrics {
7
- id: string;
8
- description: string;
9
- pourcentageEtp: number;
7
+ id: string
8
+ description: string
9
+ pourcentageEtp: number
10
10
  }
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  export interface EmployeEmploisLieuxTravailSecondairesGrics {
7
- id: string;
8
- description: string;
9
- pourcentageEtp: number;
7
+ id: string
8
+ description: string
9
+ pourcentageEtp: number
10
10
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export interface EmployeEmploisRegimeAbsenceGrics {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export interface EmployeEmploisSecteurGrics {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export interface EmployeEmploisStatutEngagementGrics {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export class EmployeExperienceEmploiGrics {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -4,9 +4,9 @@
4
4
  */
5
5
 
6
6
  export class EmployeExperienceEmployeGrics {
7
- id: string;
8
- nom: string;
9
- prenom: string;
10
- nomLegal: string;
11
- prenomChoisi: string;
7
+ id: string
8
+ nom: string
9
+ prenom: string
10
+ nomLegal: string
11
+ prenomChoisi: string
12
12
  }
@@ -4,8 +4,8 @@
4
4
  */
5
5
 
6
6
  export class EmployeExperienceExperiencesGrics {
7
- anneeBudgetaire: string;
8
- nombreAnnees: number;
9
- nombreJours: number;
10
- commentaire: string;
7
+ anneeBudgetaire: string
8
+ nombreAnnees: number
9
+ nombreJours: number
10
+ commentaire: string
11
11
  }
@@ -3,13 +3,13 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { EmployeExperienceEmploiGrics } from "./employeExperienceEmploiGrics";
7
- import type { EmployeExperienceExperiencesGrics } from "./employeExperienceExperiencesGrics";
6
+ import type { EmployeExperienceEmploiGrics } from './employeExperienceEmploiGrics'
7
+ import type { EmployeExperienceExperiencesGrics } from './employeExperienceExperiencesGrics'
8
8
 
9
9
  export class EmployeExperienceExperiencesTotalesGrics {
10
- emploi: EmployeExperienceEmploiGrics;
11
- employeurActuel: boolean;
12
- nombreAnnees: number;
13
- nombreJours: number;
14
- experiences: EmployeExperienceExperiencesGrics[];
10
+ emploi: EmployeExperienceEmploiGrics
11
+ employeurActuel: boolean
12
+ nombreAnnees: number
13
+ nombreJours: number
14
+ experiences: EmployeExperienceExperiencesGrics[]
15
15
  }
@@ -3,15 +3,15 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { EmployeExperienceEmployeGrics } from "./employeExperienceEmployeGrics";
7
- import type { EmployeExperienceExperiencesTotalesGrics } from "./employeExperienceExperiencesTotalesGrics";
6
+ import type { EmployeExperienceEmployeGrics } from './employeExperienceEmployeGrics'
7
+ import type { EmployeExperienceExperiencesTotalesGrics } from './employeExperienceExperiencesTotalesGrics'
8
8
 
9
9
  export interface EmployeExperienceGrics {
10
- employe: EmployeExperienceEmployeGrics;
11
- experiencesTotales: EmployeExperienceExperiencesTotalesGrics[];
12
- dateConsignee: string;
13
- dateCalculPonctuel: string;
14
- dateCalculAnnuel: string;
15
- dateDebutCongeMaternite: string;
16
- nombreSemainesAccordées: number;
10
+ employe: EmployeExperienceEmployeGrics
11
+ experiencesTotales: EmployeExperienceExperiencesTotalesGrics[]
12
+ dateConsignee: string
13
+ dateCalculPonctuel: string
14
+ dateCalculAnnuel: string
15
+ dateDebutCongeMaternite: string
16
+ nombreSemainesAccordées: number
17
17
  }
@@ -3,29 +3,29 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { EmployeAdressesPersonnellesGrics } from "./employeAdressesPersonnellesGrics";
7
- import type { EmployeTelephonesPersonnelsGrics } from "./employeTelephonesPersonnelsGrics";
8
- import type { EmployeTelephonesProfessionnelsGrics } from "./employeTelephonesProfessionnelsGrics";
9
- import type { EmployeCourrielsPersonnels } from "./employeCourrielsPersonnels";
10
- import type { EmployeCourrielsProfessionnels } from "./employeCourrielsProfessionnels";
11
- import type { EmployeEmploisGrics } from "./employeEmploisGrics";
6
+ import type { EmployeAdressesPersonnellesGrics } from './employeAdressesPersonnellesGrics'
7
+ import type { EmployeTelephonesPersonnelsGrics } from './employeTelephonesPersonnelsGrics'
8
+ import type { EmployeTelephonesProfessionnelsGrics } from './employeTelephonesProfessionnelsGrics'
9
+ import type { EmployeCourrielsPersonnels } from './employeCourrielsPersonnels'
10
+ import type { EmployeCourrielsProfessionnels } from './employeCourrielsProfessionnels'
11
+ import type { EmployeEmploisGrics } from './employeEmploisGrics'
12
12
 
13
13
  export interface EmployeGrics {
14
- id: string;
15
- nom: string;
16
- prenom: string;
17
- adressesPersonnelles: EmployeAdressesPersonnellesGrics[];
18
- telephonesPersonnels: EmployeTelephonesPersonnelsGrics[];
19
- telephonesProfessionnels: EmployeTelephonesProfessionnelsGrics[];
20
- courrielsPersonnels: EmployeCourrielsPersonnels[];
21
- courrielsProfessionnels: EmployeCourrielsProfessionnels[];
22
- sexe: string;
23
- dateNaissance: string;
24
- dateEntree: string;
25
- dateEngagement: string;
26
- dateFinPeriodeEssai: string;
27
- dateCessationDefinitive: string;
28
- dateDebutServiceContinu: string;
29
- dateFinServiceContinu: string;
30
- emploiPrincipal: EmployeEmploisGrics;
14
+ id: string
15
+ nom: string
16
+ prenom: string
17
+ adressesPersonnelles: EmployeAdressesPersonnellesGrics[]
18
+ telephonesPersonnels: EmployeTelephonesPersonnelsGrics[]
19
+ telephonesProfessionnels: EmployeTelephonesProfessionnelsGrics[]
20
+ courrielsPersonnels: EmployeCourrielsPersonnels[]
21
+ courrielsProfessionnels: EmployeCourrielsProfessionnels[]
22
+ sexe: string
23
+ dateNaissance: string
24
+ dateEntree: string
25
+ dateEngagement: string
26
+ dateFinPeriodeEssai: string
27
+ dateCessationDefinitive: string
28
+ dateDebutServiceContinu: string
29
+ dateFinServiceContinu: string
30
+ emploiPrincipal: EmployeEmploisGrics
31
31
  }
@@ -3,10 +3,10 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { TypeTelephone } from "./typeTelephone";
6
+ import type { TypeTelephone } from './typeTelephone'
7
7
 
8
8
  export interface EmployeTelephoneGrics {
9
- numero: string;
10
- poste: string;
11
- typeTelephone: TypeTelephone;
9
+ numero: string
10
+ poste: string
11
+ typeTelephone: TypeTelephone
12
12
  }
@@ -3,9 +3,9 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { EmployeTelephoneGrics } from "./employeTelephoneGrics";
6
+ import type { EmployeTelephoneGrics } from './employeTelephoneGrics'
7
7
 
8
8
  export interface EmployeTelephonesPersonnelsGrics {
9
- description: string;
10
- telephone: EmployeTelephoneGrics;
9
+ description: string
10
+ telephone: EmployeTelephoneGrics
11
11
  }
@@ -3,9 +3,9 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { EmployeTelephoneGrics } from "./employeTelephoneGrics";
6
+ import type { EmployeTelephoneGrics } from './employeTelephoneGrics'
7
7
 
8
8
  export interface EmployeTelephonesProfessionnelsGrics {
9
- description: string;
10
- telephone: EmployeTelephoneGrics;
9
+ description: string
10
+ telephone: EmployeTelephoneGrics
11
11
  }
@@ -3,12 +3,12 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { GroupeCEIntervalle } from "./groupeCEIntervalle";
6
+ import type { GroupeCEIntervalle } from './groupeCEIntervalle'
7
7
 
8
8
  export interface GroupeCE {
9
- id: number;
10
- commissionScolaireId: number;
11
- nom: string;
12
- groupeCEIntervalles: GroupeCEIntervalle[];
13
- parentId: number;
9
+ id: number
10
+ commissionScolaireId: number
11
+ nom: string
12
+ groupeCEIntervalles: GroupeCEIntervalle[]
13
+ parentId: number
14
14
  }
@@ -4,10 +4,10 @@
4
4
  */
5
5
 
6
6
  export interface GroupeCEIntervalle {
7
- id: number;
8
- corpsEmploiMin: string;
9
- corpsEmploiMax: string;
10
- groupeCEId: number;
11
- min: number;
12
- max: number;
7
+ id: number
8
+ corpsEmploiMin: string
9
+ corpsEmploiMax: string
10
+ groupeCEId: number
11
+ min: number
12
+ max: number
13
13
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export class HistoriquesAbsenceBanqueGrics {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -3,19 +3,19 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { HistoriquesAbsenceLieuTravailGrics } from "./historiquesAbsenceLieuTravailGrics";
7
- import type { HistoriquesAbsenceBanqueGrics } from "./historiquesAbsenceBanqueGrics";
8
- import type { HistoriquesAbsenceSousBanqueGrics } from "./historiquesAbsenceSousBanqueGrics";
6
+ import type { HistoriquesAbsenceLieuTravailGrics } from './historiquesAbsenceLieuTravailGrics'
7
+ import type { HistoriquesAbsenceBanqueGrics } from './historiquesAbsenceBanqueGrics'
8
+ import type { HistoriquesAbsenceSousBanqueGrics } from './historiquesAbsenceSousBanqueGrics'
9
9
 
10
10
  export interface HistoriquesAbsenceGrics {
11
- id: number;
12
- idMotifAbsence: string;
13
- date: string;
14
- heureFin: string;
15
- heureDebut: string;
16
- duree: number;
17
- idEmploi: string;
18
- lieuTravail: HistoriquesAbsenceLieuTravailGrics;
19
- banque: HistoriquesAbsenceBanqueGrics;
20
- sousBanque: HistoriquesAbsenceSousBanqueGrics;
11
+ id: number
12
+ idMotifAbsence: string
13
+ date: string
14
+ heureFin: string
15
+ heureDebut: string
16
+ duree: number
17
+ idEmploi: string
18
+ lieuTravail: HistoriquesAbsenceLieuTravailGrics
19
+ banque: HistoriquesAbsenceBanqueGrics
20
+ sousBanque: HistoriquesAbsenceSousBanqueGrics
21
21
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export class HistoriquesAbsenceLieuTravailGrics {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export class HistoriquesAbsenceSousBanqueGrics {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export interface MotifsAbsenceBanque {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -3,15 +3,15 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { MotifsAbsenceRegimeAbsence } from "./motifsAbsenceRegimeAbsence";
7
- import type { MotifsAbsenceSousMotifs } from "./motifsAbsenceSousMotifs";
8
- import type { MotifsAbsenceTraitementBanques } from "./motifsAbsenceTraitementBanques";
6
+ import type { MotifsAbsenceRegimeAbsence } from './motifsAbsenceRegimeAbsence'
7
+ import type { MotifsAbsenceSousMotifs } from './motifsAbsenceSousMotifs'
8
+ import type { MotifsAbsenceTraitementBanques } from './motifsAbsenceTraitementBanques'
9
9
 
10
10
  export interface MotifsAbsenceGrics {
11
- id: string;
12
- description: string;
13
- actif: boolean;
14
- regimeAbsence: MotifsAbsenceRegimeAbsence;
15
- sousMotifs: MotifsAbsenceSousMotifs[];
16
- traitementBanques: MotifsAbsenceTraitementBanques[];
11
+ id: string
12
+ description: string
13
+ actif: boolean
14
+ regimeAbsence: MotifsAbsenceRegimeAbsence
15
+ sousMotifs: MotifsAbsenceSousMotifs[]
16
+ traitementBanques: MotifsAbsenceTraitementBanques[]
17
17
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export interface MotifsAbsenceRegimeAbsence {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -4,6 +4,6 @@
4
4
  */
5
5
 
6
6
  export interface MotifsAbsenceSousMotifs {
7
- id: string;
8
- description: string;
7
+ id: string
8
+ description: string
9
9
  }
@@ -3,9 +3,9 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { MotifsAbsenceBanque } from "./motifsAbsenceBanque";
6
+ import type { MotifsAbsenceBanque } from './motifsAbsenceBanque'
7
7
 
8
8
  export interface MotifsAbsenceTraitementBanques {
9
- ordreTraitement: string;
10
- banque: MotifsAbsenceBanque;
9
+ ordreTraitement: string
10
+ banque: MotifsAbsenceBanque
11
11
  }
@@ -3,24 +3,24 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { SyndicatGroupeCe } from "./syndicatGroupeCe";
7
- import type { SyndicatResponsable } from "./syndicatResponsable";
8
- import type { SyndicatUnite } from "./syndicatUnite";
6
+ import type { SyndicatGroupeCe } from './syndicatGroupeCe'
7
+ import type { SyndicatResponsable } from './syndicatResponsable'
8
+ import type { SyndicatUnite } from './syndicatUnite'
9
9
 
10
10
  export interface Syndicat {
11
- id: number;
12
- cSSId: number;
13
- nom: string;
14
- description: string;
15
- estActif: boolean;
16
- courriel: string;
17
- adresse: string;
18
- local: string;
19
- telephone: string;
20
- lienSiteWeb: string;
21
- lienConventionCollective: string;
22
- lienPlanClassification: string;
23
- syndicatGroupeCEs: SyndicatGroupeCe[];
24
- responsables: SyndicatResponsable[];
25
- unites: SyndicatUnite[];
11
+ id: number
12
+ cSSId: number
13
+ nom: string
14
+ description: string
15
+ estActif: boolean
16
+ courriel: string
17
+ adresse: string
18
+ local: string
19
+ telephone: string
20
+ lienSiteWeb: string
21
+ lienConventionCollective: string
22
+ lienPlanClassification: string
23
+ syndicatGroupeCEs: SyndicatGroupeCe[]
24
+ responsables: SyndicatResponsable[]
25
+ unites: SyndicatUnite[]
26
26
  }
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  export interface SyndicatGroupeCe {
7
- id: number;
8
- syndicatId: number;
9
- groupeCEId: number;
7
+ id: number
8
+ syndicatId: number
9
+ groupeCEId: number
10
10
  }
@@ -4,12 +4,12 @@
4
4
  */
5
5
 
6
6
  export interface SyndicatResponsable {
7
- id: number;
8
- nom: string;
9
- prenom: string;
10
- courriel: string;
11
- responsablePrincipal: boolean;
12
- syndicatId: number;
13
- utilisateurId: number;
14
- poste: string;
7
+ id: number
8
+ nom: string
9
+ prenom: string
10
+ courriel: string
11
+ responsablePrincipal: boolean
12
+ syndicatId: number
13
+ utilisateurId: number
14
+ poste: string
15
15
  }
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  export class SyndicatUnite {
7
- id: number;
8
- syndicatId: number;
9
- uniteId: number;
7
+ id: number
8
+ syndicatId: number
9
+ uniteId: number
10
10
  }
package/modeles/unite.ts CHANGED
@@ -3,21 +3,21 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { UniteTypeEnseignement } from "./uniteTypeEnseignement";
6
+ import type { UniteTypeEnseignement } from './uniteTypeEnseignement'
7
7
 
8
8
  export interface Unite {
9
- id: number;
10
- numero: string;
11
- nom: string;
12
- numeroEcoleJeune: string;
13
- numeroCentreAdulte: string;
14
- estActif: boolean;
15
- typesEnseignementUnite: UniteTypeEnseignement[];
16
- commissionScolaireId: number;
17
- numeroNom: string;
18
- nomNumero: string;
19
- numeroEcoleJeuneStr: string;
20
- numeroCentreAdulteStr: string;
21
- estJeune: boolean;
22
- estAdulte: boolean;
9
+ id: number
10
+ numero: string
11
+ nom: string
12
+ numeroEcoleJeune: string
13
+ numeroCentreAdulte: string
14
+ estActif: boolean
15
+ typesEnseignementUnite: UniteTypeEnseignement[]
16
+ commissionScolaireId: number
17
+ numeroNom: string
18
+ nomNumero: string
19
+ numeroEcoleJeuneStr: string
20
+ numeroCentreAdulteStr: string
21
+ estJeune: boolean
22
+ estAdulte: boolean
23
23
  }
@@ -3,10 +3,10 @@
3
3
  * Any changes made to this file can be lost when this file is regenerated.
4
4
  */
5
5
 
6
- import type { TypeEnseignement } from "./typeEnseignement";
6
+ import type { TypeEnseignement } from './typeEnseignement'
7
7
 
8
8
  export interface UniteTypeEnseignement {
9
- id: number;
10
- typeEnseignement: TypeEnseignement;
11
- uniteId: number;
9
+ id: number
10
+ typeEnseignement: TypeEnseignement
11
+ uniteId: number
12
12
  }
@@ -4,12 +4,12 @@
4
4
  */
5
5
 
6
6
  export interface Utilisateur {
7
- id: number;
8
- identifiant: string;
9
- nom: string;
10
- prenom: string;
11
- courriel: string;
12
- matricule: string;
13
- commissionScolaireId: number;
14
- langue: string;
7
+ id: number
8
+ identifiant: string
9
+ nom: string
10
+ prenom: string
11
+ courriel: string
12
+ matricule: string
13
+ commissionScolaireId: number
14
+ langue: string
15
15
  }
@@ -5,24 +5,24 @@ import router from '@/router'
5
5
  type ApiReponse<T = unknown> =
6
6
  // Succès
7
7
  | {
8
- succes: true
9
- resultat: T
10
- status?: number
11
- message?: string
12
- location?: string
13
- parametres?: unknown
14
- [k: string]: unknown
15
- }
8
+ succes: true
9
+ resultat: T
10
+ status?: number
11
+ message?: string
12
+ location?: string
13
+ parametres?: unknown
14
+ [k: string]: unknown
15
+ }
16
16
  // Échec (le backend peut quand même renvoyer resultat null/absent)
17
17
  | {
18
- succes: false
19
- resultat?: unknown
20
- status?: number
21
- message?: string
22
- location?: string
23
- parametres?: unknown
24
- [k: string]: unknown
25
- }
18
+ succes: false
19
+ resultat?: unknown
20
+ status?: number
21
+ message?: string
22
+ location?: string
23
+ parametres?: unknown
24
+ [k: string]: unknown
25
+ }
26
26
 
27
27
  let client: AxiosInstance | null = null
28
28
  let cachedBaseUrl = '' // pour éviter de régénérer une instance axios si rien n’a changé
@@ -251,7 +251,6 @@ class CSQCOutils {
251
251
  return destination
252
252
  }
253
253
 
254
-
255
254
  SetThemeDark(valeur: any) {
256
255
  localStorage.setItem(`${this.racineLocalStorage}ThemeDark`, valeur)
257
256
  }
@@ -351,13 +350,15 @@ class CSQCOutils {
351
350
  */
352
351
  genererItemsAPartirDeEnum<T extends object>(_enum: T) {
353
352
  const enumKeys = Object.keys(_enum).filter(e => isNaN(Number(e)))
354
- const enumValues = Object.keys(_enum).filter(e => !isNaN(Number(e))).map(e => Number(e))
353
+ const enumValues = Object.keys(_enum)
354
+ .filter(e => !isNaN(Number(e)))
355
+ .map(e => Number(e))
355
356
 
356
- const ret: { title?: string, value: number}[] = []
357
+ const ret: { title?: string; value: number }[] = []
357
358
 
358
- enumValues.forEach(v => ret.push({ title: enumKeys[v], value: v}))
359
+ enumValues.forEach(v => ret.push({ title: enumKeys[v], value: v }))
359
360
 
360
- return ret;
361
+ return ret
361
362
  }
362
363
  }
363
364