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.
- package/assets/csqc.css +28 -30
- package/composants/csqcAide.vue +1 -1
- package/composants/csqcAlerteErreur.vue +1 -1
- package/composants/csqcChaise/chaiseConteneur.vue +3 -3
- package/composants/csqcChaise/chaiseItem.vue +54 -54
- package/composants/csqcCodeBudgetaireGenerique.vue +254 -254
- package/composants/csqcConfirmation.vue +76 -75
- package/composants/csqcDate.vue +89 -86
- package/composants/csqcDialogue.vue +120 -118
- package/composants/csqcEditeurTexteRiche.vue +378 -378
- package/composants/csqcEntete.vue +17 -17
- package/composants/csqcImportCSV.vue +2 -2
- package/composants/csqcModaleSaisie.vue +97 -97
- package/composants/csqcRecherche.vue +7 -7
- package/composants/csqcRechercheUtilisateur.vue +198 -198
- package/composants/csqcSnackbar.vue +207 -207
- package/composants/csqcSwitch.vue +5 -5
- package/composants/csqcTable/csqcTable.vue +19 -14
- package/composants/csqcTable/csqcTableModaleChoixColonnes.vue +4 -4
- package/composants/csqcTable/sortableDataTable.ts +1 -1
- package/composants/csqcTexteBilingue.vue +175 -175
- package/composants/csqcTiroir.vue +197 -197
- package/composants/gabarit/csqcMenu.vue +4 -4
- package/composants/gabarit/pivEntete.vue +5 -3
- package/composants/gabarit/pivPiedPage.vue +44 -29
- package/composants/validateurs.ts +8 -2
- package/editeur.ts +1 -1
- package/importCSV.ts +1 -1
- package/index.ts +80 -80
- package/locales/en.json +1 -1
- package/locales/fr.json +3 -3
- package/modeles/assurancesAssuranceGeneraleGrics.ts +3 -3
- package/modeles/assurancesAssurancePersonnelleGrics.ts +6 -6
- package/modeles/assurancesContratGrics.ts +6 -6
- package/modeles/assurancesDetailsPrimeReguliereGrics.ts +4 -4
- package/modeles/assurancesDonneesAssureurGrics.ts +5 -5
- package/modeles/assurancesEmployeGrics.ts +4 -4
- package/modeles/assurancesGrics.ts +6 -6
- package/modeles/assurancesRegimeAssuranceGrics.ts +2 -2
- package/modeles/assurancesRegimeBaseEmployeurGrics.ts +2 -2
- package/modeles/assurancesRegimeBaseGrics.ts +2 -2
- package/modeles/composants/csqcMenuModele.ts +18 -18
- package/modeles/composants/datatableColonne.ts +19 -19
- package/modeles/employeAdresseGrics.ts +6 -6
- package/modeles/employeAdressesPersonnellesGrics.ts +4 -4
- package/modeles/employeAffectationCorpsEmploiGrics.ts +2 -2
- package/modeles/employeBanquesCongeBanqueGrics.ts +2 -2
- package/modeles/employeBanquesCongeGrics.ts +6 -6
- package/modeles/employeBanquesCongeRegimeAbsenceGrics.ts +2 -2
- package/modeles/employeCourrielsPersonnels.ts +2 -2
- package/modeles/employeCourrielsProfessionnels.ts +2 -2
- package/modeles/employeEmploisCategorieGrics.ts +2 -2
- package/modeles/employeEmploisClasseGrics.ts +2 -2
- package/modeles/employeEmploisCorpsEmploiGrics.ts +2 -2
- package/modeles/employeEmploisEtatEmploiGrics.ts +2 -2
- package/modeles/employeEmploisGrics.ts +29 -29
- package/modeles/employeEmploisGroupePaieGrics.ts +2 -2
- package/modeles/employeEmploisLieuTravailPrincipalGrics.ts +3 -3
- package/modeles/employeEmploisLieuxTravailSecondairesGrics.ts +3 -3
- package/modeles/employeEmploisRegimeAbsenceGrics.ts +2 -2
- package/modeles/employeEmploisSecteurGrics.ts +2 -2
- package/modeles/employeEmploisStatutEngagementGrics.ts +2 -2
- package/modeles/employeExperienceEmploiGrics.ts +2 -2
- package/modeles/employeExperienceEmployeGrics.ts +5 -5
- package/modeles/employeExperienceExperiencesGrics.ts +4 -4
- package/modeles/employeExperienceExperiencesTotalesGrics.ts +7 -7
- package/modeles/employeExperienceGrics.ts +9 -9
- package/modeles/employeGrics.ts +23 -23
- package/modeles/employeTelephoneGrics.ts +4 -4
- package/modeles/employeTelephonesPersonnelsGrics.ts +3 -3
- package/modeles/employeTelephonesProfessionnelsGrics.ts +3 -3
- package/modeles/groupeCE.ts +6 -6
- package/modeles/groupeCEIntervalle.ts +6 -6
- package/modeles/historiquesAbsenceBanqueGrics.ts +2 -2
- package/modeles/historiquesAbsenceGrics.ts +13 -13
- package/modeles/historiquesAbsenceLieuTravailGrics.ts +2 -2
- package/modeles/historiquesAbsenceSousBanqueGrics.ts +2 -2
- package/modeles/motifsAbsenceBanque.ts +2 -2
- package/modeles/motifsAbsenceGrics.ts +9 -9
- package/modeles/motifsAbsenceRegimeAbsence.ts +2 -2
- package/modeles/motifsAbsenceSousMotifs.ts +2 -2
- package/modeles/motifsAbsenceTraitementBanques.ts +3 -3
- package/modeles/syndicat.ts +18 -18
- package/modeles/syndicatGroupeCe.ts +3 -3
- package/modeles/syndicatResponsable.ts +8 -8
- package/modeles/syndicatUnite.ts +3 -3
- package/modeles/unite.ts +15 -15
- package/modeles/uniteTypeEnseignement.ts +4 -4
- package/modeles/utilisateur.ts +8 -8
- package/outils/appAxios.ts +16 -16
- package/outils/csqcOutils.ts +6 -5
- package/outils/csqcRafraichisseurTokenParent.ts +20 -4
- package/outils/rafraichisseurToken.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
7
|
-
import type { EmployeExperienceExperiencesGrics } from
|
|
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
|
|
7
|
-
import type { EmployeExperienceExperiencesTotalesGrics } from
|
|
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
|
}
|
package/modeles/employeGrics.ts
CHANGED
|
@@ -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
|
|
7
|
-
import type { EmployeTelephonesPersonnelsGrics } from
|
|
8
|
-
import type { EmployeTelephonesProfessionnelsGrics } from
|
|
9
|
-
import type { EmployeCourrielsPersonnels } from
|
|
10
|
-
import type { EmployeCourrielsProfessionnels } from
|
|
11
|
-
import type { EmployeEmploisGrics } from
|
|
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
|
|
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
|
|
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
|
|
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
|
}
|
package/modeles/groupeCE.ts
CHANGED
|
@@ -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
|
|
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
|
}
|
|
@@ -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
|
|
7
|
-
import type { HistoriquesAbsenceBanqueGrics } from
|
|
8
|
-
import type { HistoriquesAbsenceSousBanqueGrics } from
|
|
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
|
}
|
|
@@ -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
|
|
7
|
-
import type { MotifsAbsenceSousMotifs } from
|
|
8
|
-
import type { MotifsAbsenceTraitementBanques } from
|
|
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
|
}
|
|
@@ -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
|
|
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
|
}
|
package/modeles/syndicat.ts
CHANGED
|
@@ -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
|
|
7
|
-
import type { SyndicatResponsable } from
|
|
8
|
-
import type { SyndicatUnite } from
|
|
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,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
|
}
|
package/modeles/syndicatUnite.ts
CHANGED
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
|
|
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
|
|
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
|
}
|
package/modeles/utilisateur.ts
CHANGED
|
@@ -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
|
}
|
package/outils/appAxios.ts
CHANGED
|
@@ -5,24 +5,24 @@ import router from '@/router'
|
|
|
5
5
|
type ApiReponse<T = unknown> =
|
|
6
6
|
// Succès
|
|
7
7
|
| {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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é
|
package/outils/csqcOutils.ts
CHANGED
|
@@ -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)
|
|
353
|
+
const enumValues = Object.keys(_enum)
|
|
354
|
+
.filter(e => !isNaN(Number(e)))
|
|
355
|
+
.map(e => Number(e))
|
|
355
356
|
|
|
356
|
-
const ret: { title?: string
|
|
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
|
|