codevdesign 1.0.77 → 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 +2 -1
  8. package/composants/csqcDate.vue +4 -1
  9. package/composants/csqcDialogue.vue +6 -4
  10. package/composants/csqcEditeurTexteRiche.vue +1 -1
  11. package/composants/csqcEntete.vue +17 -17
  12. package/composants/csqcImportCSV.vue +2 -2
  13. package/composants/csqcModaleSaisie.vue +1 -1
  14. package/composants/csqcRecherche.vue +7 -7
  15. package/composants/csqcRechercheUtilisateur.vue +1 -1
  16. package/composants/csqcSnackbar.vue +1 -1
  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 +7 -5
  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 +310 -310
  94. package/package.json +1 -1
package/assets/csqc.css CHANGED
@@ -3,30 +3,29 @@
3
3
  /* titre design qc avec ligne orange*/
4
4
  .headline {
5
5
  color: #223654;
6
+ display: inline-block; /* largeur du texte */
6
7
  font-weight: 600;
7
- display: inline-block; /* largeur du texte */
8
- position: relative; /* pour positionner le ::after */
8
+ position: relative; /* pour positionner le ::after */
9
9
  }
10
10
 
11
11
  .headline::after {
12
+ border-bottom: 3px solid #f09686;
12
13
  content: '';
13
14
  display: block;
14
- width: 2.8rem; /* ligne fixe */
15
- border-bottom: 3px solid #f09686;
16
- margin-top: 0.3rem; /* espace entre texte et ligne */
15
+ margin-top: 0.3rem; /* espace entre texte et ligne */
16
+ width: 2.8rem; /* ligne fixe */
17
17
  }
18
18
 
19
-
20
19
  /* pour afficher une étoile après le label*/
21
20
  .required:after {
22
- content: ' *';
23
21
  color: red;
22
+ content: ' *';
24
23
  }
25
24
 
26
25
  /* grosseur et poids des labels*/
27
26
  .libelle {
28
- font-weight: bold;
29
27
  font-size: 0.9rem;
28
+ font-weight: bold;
30
29
  }
31
30
 
32
31
  /*hauteur des boutons min... par défaut c'est 34*/
@@ -57,8 +56,8 @@
57
56
 
58
57
  /*permet legend max width sans padding de container */
59
58
  .maximumLargeur {
60
- margin-right: auto;
61
59
  margin-left: auto;
60
+ margin-right: auto;
62
61
  max-width: 1310px;
63
62
  width: 100%;
64
63
  }
@@ -87,24 +86,24 @@
87
86
  }
88
87
 
89
88
  .material-icons {
89
+ direction: ltr;
90
+ display: inline-block;
90
91
  font-family: 'Material Icons';
91
- font-weight: normal;
92
- font-style: normal;
93
92
  font-size: 24px;
94
- line-height: 1;
93
+ -moz-osx-font-smoothing: grayscale;
94
+ font-style: normal;
95
+ font-weight: normal;
95
96
  letter-spacing: normal;
97
+ line-height: 1;
98
+ overflow-wrap: normal;
96
99
  text-transform: none;
97
- display: inline-block;
98
100
  white-space: nowrap;
99
- word-wrap: normal;
100
- direction: ltr;
101
- -moz-osx-font-smoothing: grayscale;
102
101
  }
103
102
 
104
103
  html,
105
104
  body {
106
- padding: 0;
107
105
  margin: 0;
106
+ padding: 0;
108
107
  width: 100%;
109
108
  }
110
109
 
@@ -142,20 +141,19 @@ body {
142
141
  }
143
142
 
144
143
  .align-items-center {
145
- -ms-flex-align: center !important;
146
- -webkit-box-align: center !important;
147
144
  align-items: center !important;
145
+ -ms-flex-align: center !important;
148
146
  }
149
147
 
150
148
  .justify-content-end {
151
- -ms-flex-pack: end !important;
152
149
  -webkit-box-pack: end !important;
150
+ -ms-flex-pack: end !important;
153
151
  justify-content: flex-end !important;
154
152
  }
155
153
 
156
154
  .justify-content-start {
157
- -ms-flex-pack: start !important;
158
155
  -webkit-box-pack: start !important;
156
+ -ms-flex-pack: start !important;
159
157
  justify-content: flex-start !important;
160
158
  }
161
159
 
@@ -174,8 +172,8 @@ h6,
174
172
  .h5,
175
173
  .h6 {
176
174
  color: #223654;
177
- font-weight: 600;
178
175
  font-style: normal;
176
+ font-weight: 600;
179
177
  }
180
178
 
181
179
  h1,
@@ -183,18 +181,18 @@ h1,
183
181
  font-size: 2.5rem;
184
182
  font-weight: bold;
185
183
  line-height: 2.7rem;
186
- margin-top: 1.3rem;
187
184
  margin-bottom: 2rem;
185
+ margin-top: 1.3rem;
188
186
  }
189
187
 
190
188
  h2,
191
189
  .h2 {
192
190
  font-size: 2rem;
193
191
  font-weight: bold;
194
- padding-bottom: 0;
192
+ line-height: 2.3rem;
195
193
  margin-bottom: 0.7rem;
196
194
  margin-top: 2.5rem;
197
- line-height: 2.3rem;
195
+ padding-bottom: 0;
198
196
  }
199
197
 
200
198
  h3,
@@ -209,10 +207,10 @@ h3.results-topic {
209
207
  }
210
208
 
211
209
  h3.results-topic a {
212
- font-weight: normal;
213
210
  font-size: 1.5rem;
214
- text-decoration: none;
215
211
  font-variant-caps: all-small-caps;
212
+ font-weight: normal;
213
+ text-decoration: none;
216
214
  }
217
215
 
218
216
  h4,
@@ -242,18 +240,18 @@ h2.decorated:after {
242
240
  content: '';
243
241
  display: block;
244
242
  margin: 0 0 12px 0;
245
- width: 4.8rem;
246
243
  padding-top: 0.4rem;
244
+ width: 4.8rem;
247
245
  }
248
246
 
249
247
  h3.decorated:after,
250
248
  h4.decorated:after,
251
249
  h5.decorated:after,
252
250
  h6.decorated:after {
251
+ border-bottom: 3px solid #f09686;
253
252
  content: '';
254
253
  display: block;
255
254
  margin: 0 0 12px 0;
256
- width: 3.4rem;
257
255
  padding-top: 0.4rem;
258
- border-bottom: 3px solid #f09686;
256
+ width: 3.4rem;
259
257
  }
@@ -10,7 +10,7 @@
10
10
  v-bind="activatorProps"
11
11
  :style="styleCss"
12
12
  :size="grosseurEffective"
13
- color="grisMoyen"
13
+ color="primary"
14
14
  icon="mdi-help-circle"
15
15
  @click.stop.prevent
16
16
  />
@@ -78,8 +78,8 @@
78
78
 
79
79
  <style lang="css" scoped>
80
80
  .error {
81
- padding-top: 0.7rem;
82
81
  padding-bottom: 0.7rem;
82
+ padding-top: 0.7rem;
83
83
  }
84
84
  :deep(.blanc) {
85
85
  color: white;
@@ -26,9 +26,9 @@
26
26
  class="mb-1"
27
27
  >
28
28
  <ChaisePreferenceItem
29
- :uniteId="Number(uniteId)"
29
+ :unite-id="Number(uniteId)"
30
30
  :preferences="preferences"
31
- :dictChaisesReleve="dictChaisesReleve"
31
+ :dict-chaises-releve="dictChaisesReleve"
32
32
  :unites="unites"
33
33
  />
34
34
  </v-list-item>
@@ -80,7 +80,7 @@
80
80
  v-model="afficherErreur"
81
81
  type="error"
82
82
  variant="tonal"
83
- dismissible
83
+ closable
84
84
  >
85
85
  {{ texteMessageErreur }}
86
86
  </v-alert>
@@ -1,54 +1,54 @@
1
- <template>
2
- <div>
3
- <v-list-item-title>{{ nomUnite }}</v-list-item-title>
4
- <v-list-item-subtitle v-if="getPreference != ''">
5
- {{ getPreference }}
6
- </v-list-item-subtitle>
7
- <v-list-item-subtitle
8
- v-if="getPreference == ''"
9
- class="messageErreurChaiseItem"
10
- >
11
- {{ $t('csqc.message.chaiseSelection') }}
12
- </v-list-item-subtitle>
13
- </div>
14
- </template>
15
- <script lang="ts" setup>
16
- import { computed } from 'vue'
17
-
18
- // Définition des props
19
- const props = defineProps<{
20
- uniteId: number
21
- preferences: { chaiseId: number }[]
22
- dictChaisesReleve: Record<number, { id: number; nom: string }[]>
23
- unites: { id: number; nom: string }[]
24
- }>()
25
-
26
- const nomUnite = computed(() => {
27
- if (!props.uniteId || !props.unites?.length) {
28
- return ''
29
- }
30
-
31
- const unite = props.unites.find(u => u.id == props.uniteId)
32
- return unite?.nom || ''
33
- })
34
-
35
- const getPreference = computed(() => {
36
- const chaises = props.dictChaisesReleve?.[props.uniteId] ?? []
37
- const prefs = props.preferences ?? []
38
-
39
- for (const chaise of chaises) {
40
- if (prefs.some(p => p.chaiseId === chaise.id)) {
41
- return chaise.nom
42
- }
43
- }
44
-
45
- return ''
46
- })
47
- </script>
48
-
49
- <style scoped>
50
- .messageErreurChaiseItem {
51
- color: red !important;
52
- font-style: italic;
53
- }
54
- </style>
1
+ <template>
2
+ <div>
3
+ <v-list-item-title>{{ nomUnite }}</v-list-item-title>
4
+ <v-list-item-subtitle v-if="getPreference != ''">
5
+ {{ getPreference }}
6
+ </v-list-item-subtitle>
7
+ <v-list-item-subtitle
8
+ v-if="getPreference == ''"
9
+ class="messageErreurChaiseItem"
10
+ >
11
+ {{ $t('csqc.message.chaiseSelection') }}
12
+ </v-list-item-subtitle>
13
+ </div>
14
+ </template>
15
+ <script lang="ts" setup>
16
+ import { computed } from 'vue'
17
+
18
+ // Définition des props
19
+ const props = defineProps<{
20
+ uniteId: number
21
+ preferences: { chaiseId: number }[]
22
+ dictChaisesReleve: Record<number, { id: number; nom: string }[]>
23
+ unites: { id: number; nom: string }[]
24
+ }>()
25
+
26
+ const nomUnite = computed(() => {
27
+ if (!props.uniteId || !props.unites?.length) {
28
+ return ''
29
+ }
30
+
31
+ const unite = props.unites.find(u => u.id == props.uniteId)
32
+ return unite?.nom || ''
33
+ })
34
+
35
+ const getPreference = computed(() => {
36
+ const chaises = props.dictChaisesReleve?.[props.uniteId] ?? []
37
+ const prefs = props.preferences ?? []
38
+
39
+ for (const chaise of chaises) {
40
+ if (prefs.some(p => p.chaiseId === chaise.id)) {
41
+ return chaise.nom
42
+ }
43
+ }
44
+
45
+ return ''
46
+ })
47
+ </script>
48
+
49
+ <style scoped>
50
+ .messageErreurChaiseItem {
51
+ color: red !important;
52
+ font-style: italic;
53
+ }
54
+ </style>