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
@@ -85,7 +85,7 @@
85
85
  </v-row>
86
86
 
87
87
  <!-- Barre en bas -->
88
- <div style="position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background-color: #808a9d" />
88
+ <div style="background-color: #808a9d; bottom: 0; height: 2px; left: 0; position: absolute; right: 0" />
89
89
  </v-app-bar>
90
90
  </template>
91
91
 
@@ -146,21 +146,21 @@
146
146
  }
147
147
  .titre-texte {
148
148
  color: var(--entete-texte, #223654);
149
+ max-width: 100%;
149
150
  overflow: hidden;
150
151
  text-overflow: ellipsis;
151
152
  white-space: nowrap;
152
- max-width: 100%;
153
153
  }
154
154
  .soustitre-texte {
155
+ color: var(--entete-texte, #223654);
155
156
  display: block;
156
157
  font-size: 1rem;
157
158
  font-weight: normal;
158
- color: var(--entete-texte, #223654);
159
159
  }
160
160
  .titre-bloc {
161
161
  display: inline-block;
162
- vertical-align: middle;
163
162
  padding-left: 12px;
163
+ vertical-align: middle;
164
164
  }
165
165
  /* Couleur de l’icône (retour) + hover */
166
166
  .v-icon {
@@ -170,26 +170,26 @@
170
170
  filter: brightness(0.85);
171
171
  }
172
172
  .entete-ligne {
173
- display: flex;
174
173
  align-items: center;
174
+ display: flex;
175
175
  flex-wrap: wrap;
176
- width: 100%;
177
176
  gap: 8px;
177
+ width: 100%;
178
178
  }
179
179
 
180
180
  .entete-gauche {
181
- display: flex;
182
181
  align-items: center;
183
- min-width: 0; /* important pour éviter overflow */
182
+ display: flex;
184
183
  flex: 1;
184
+ min-width: 0; /* important pour éviter overflow */
185
185
  }
186
186
 
187
187
  .entete-droite {
188
- display: flex;
189
188
  align-items: center;
189
+ display: flex;
190
+ flex-shrink: 0;
190
191
  gap: 12px;
191
192
  padding-right: 16px;
192
- flex-shrink: 0;
193
193
  }
194
194
 
195
195
  @media (max-width: 600px) {
@@ -197,27 +197,27 @@
197
197
  width: 100%;
198
198
  }
199
199
  .entete-droite {
200
- width: 100%;
201
- padding-right: 8px;
202
- padding-left: 0;
203
200
  justify-content: flex-end;
201
+ padding-left: 0;
202
+ padding-right: 8px;
203
+ width: 100%;
204
204
  }
205
205
  .titre {
206
206
  font-size: 1.2rem;
207
207
  }
208
208
  .titre-bloc {
209
+ align-items: flex-start;
209
210
  display: flex;
210
211
  flex-direction: column;
211
- align-items: flex-start;
212
- min-width: 0;
213
212
  max-width: 100%;
213
+ min-width: 0;
214
214
  padding-left: 4px;
215
215
  }
216
216
  .titre-texte {
217
- white-space: nowrap;
217
+ max-width: 100%;
218
218
  overflow: hidden;
219
219
  text-overflow: ellipsis;
220
- max-width: 100%;
220
+ white-space: nowrap;
221
221
  }
222
222
  :deep(.v-col) {
223
223
  padding-left: 8px !important;
@@ -90,7 +90,7 @@
90
90
 
91
91
  emit('import', data)
92
92
  } catch (error) {
93
- emit('import-erreur', erreurTexte || t('csqc.csqcImportCSV.erreur.lectureFichier'))
93
+ emit('import-erreur', erreurTexte.value || t('csqc.csqcImportCSV.erreur.lectureFichier'))
94
94
  }
95
95
  }
96
96
 
@@ -100,7 +100,7 @@
100
100
 
101
101
  reader.readAsText(file)
102
102
  } else {
103
- const message = erreurTexte || t('csqc.csqcImportCSV.erreur.erreur')
103
+ const message = erreurTexte.value || t('csqc.csqcImportCSV.erreur.erreur')
104
104
  emit('import-erreur', message)
105
105
  csvFile.value = null
106
106
  }
@@ -3,8 +3,8 @@
3
3
  ref="modale"
4
4
  :titre="titre"
5
5
  activator="supprimer"
6
- v-bind="$attrs"
7
6
  :largeur="largeur"
7
+ v-bind="$attrs"
8
8
  @ok="confirmer"
9
9
  @annuler="annuler"
10
10
  >
@@ -190,25 +190,25 @@
190
190
  }
191
191
 
192
192
  .BarreRechercheBackIcone {
193
+ background-color: #095797 !important;
194
+ border-bottom: 1px solid #808a9d;
195
+ border-radius: 0 4px 4px 0 !important;
193
196
  border-right: 1px solid #808a9d;
194
197
  border-top: 1px solid #808a9d;
195
- border-bottom: 1px solid #808a9d;
196
- background-color: #095797 !important;
197
198
  height: 40px !important;
198
- width: 40px !important;
199
+ margin-left: -16px;
199
200
  max-width: 40px !important;
200
201
  min-width: 40px !important;
201
- padding-right: 0 !important;
202
202
  padding-left: 0 !important;
203
- border-radius: 0 4px 4px 0 !important;
204
- margin-left: -16px;
203
+ padding-right: 0 !important;
204
+ width: 40px !important;
205
205
  }
206
206
 
207
207
  /* icone loupe */
208
208
  .BarreRechercheIcone {
209
+ color: white !important;
209
210
  font-size: 34px !important;
210
211
  margin-left: 1px !important;
211
212
  margin-top: 2px !important;
212
- color: white !important;
213
213
  }
214
214
  </style>
@@ -4,7 +4,6 @@
4
4
  v-model="selection"
5
5
  v-model:search="search"
6
6
  :items="items"
7
- v-bind="$attrs"
8
7
  :loading="chargementInterne"
9
8
  :density="($attrs.density as any) ?? 'compact'"
10
9
  :hide-no-data="!doitAfficherAucunResultat"
@@ -16,6 +15,7 @@
16
15
  :autofocus="($attrs.autofocus as any) ?? true"
17
16
  auto-select-first
18
17
  :variant="($attrs.variant as any) ?? 'outlined'"
18
+ v-bind="$attrs"
19
19
  />
20
20
  </div>
21
21
  </template>
@@ -7,12 +7,12 @@
7
7
  -->
8
8
  <v-snackbar
9
9
  :model-value="snackbar"
10
- v-bind="attrsAffiches"
11
10
  :timeout="-1"
12
11
  :style="props.styleCss"
13
12
  :color="colorAffiche"
14
13
  :location="locationAffiche"
15
14
  multi-line
15
+ v-bind="attrsAffiches"
16
16
  @update:model-value="
17
17
  v => {
18
18
  if (!v) fermer()
@@ -155,7 +155,6 @@
155
155
 
156
156
  /* NULL (centre + très distinct) */
157
157
  :deep(.switch-tristate.is-null .v-switch__track) {
158
- opacity: 1 !important;
159
158
  background:
160
159
  repeating-linear-gradient(
161
160
  45deg,
@@ -165,15 +164,16 @@
165
164
  rgba(255, 255, 255, 0.05) 12px
166
165
  ),
167
166
  rgb(var(--v-theme-warning)) !important;
167
+ opacity: 1 !important;
168
168
  }
169
169
 
170
170
  :deep(.switch-tristate.is-null .v-switch__thumb) {
171
- transform: translateX(calc((100% - 20px) / 2)) !important;
172
171
  background: white !important;
173
- opacity: 1 !important;
174
172
  box-shadow:
175
173
  0 0 0 2px rgba(var(--v-theme-warning), 0.55),
176
174
  0 2px 6px rgba(0, 0, 0, 0.18) !important;
175
+ opacity: 1 !important;
176
+ transform: translateX(calc((100% - 20px) / 2)) !important;
177
177
  }
178
178
 
179
179
  /* Icône minus visible sur fond blanc */
@@ -194,10 +194,10 @@
194
194
  }
195
195
 
196
196
  .label-ligne {
197
- display: flex;
198
197
  align-items: baseline;
199
- justify-content: space-between;
198
+ display: flex;
200
199
  gap: 12px;
200
+ justify-content: space-between;
201
201
  }
202
202
 
203
203
  .label-gauche {
@@ -72,7 +72,6 @@
72
72
  >
73
73
  <v-data-table
74
74
  ref="datatable"
75
- v-bind="$attrs"
76
75
  :headers="colonnesAffichees"
77
76
  :item-key="itemKey"
78
77
  :items="listeEffective"
@@ -84,6 +83,8 @@
84
83
  :item-per-page-options="itemsParPageOptions"
85
84
  :sort-by="triDepart"
86
85
  :multi-sort="estMultiTriActif"
86
+ striped="even"
87
+ v-bind="$attrs"
87
88
  @click:row="cliqueLigne"
88
89
  >
89
90
  <!-- utilisation des slots via le component parent-->
@@ -141,8 +142,8 @@
141
142
  @confirmer="supprimer"
142
143
  />
143
144
  <modale-choix
144
- ref="modaleChoix"
145
145
  v-if="permettreChoixColonnes"
146
+ ref="modaleChoix"
146
147
  :urlbase="urlbase"
147
148
  :formulaire-id="formulaireId"
148
149
  :identifiant="identifiant"
@@ -576,26 +577,26 @@
576
577
  }
577
578
 
578
579
  .BarreRechercheBackIcone {
580
+ background-color: #095797 !important;
581
+ border-bottom: 1px solid #808a9d;
582
+ border-radius: 0 4px 4px 0 !important;
579
583
  border-right: 1px solid #808a9d;
580
584
  border-top: 1px solid #808a9d;
581
- border-bottom: 1px solid #808a9d;
582
- background-color: #095797 !important;
583
585
  height: 40px !important;
584
- width: 40px !important;
586
+ margin-left: -16px;
585
587
  max-width: 40px !important;
586
588
  min-width: 40px !important;
587
- padding-right: 0 !important;
588
589
  padding-left: 0 !important;
589
- border-radius: 0 4px 4px 0 !important;
590
- margin-left: -16px;
590
+ padding-right: 0 !important;
591
+ width: 40px !important;
591
592
  }
592
593
 
593
594
  /* icone loupe */
594
595
  .BarreRechercheIcone {
596
+ color: white !important;
595
597
  font-size: 34px !important;
596
598
  margin-left: 1px !important;
597
599
  margin-top: 2px !important;
598
- color: white !important;
599
600
  }
600
601
 
601
602
  /* datatable contour */
@@ -625,12 +626,16 @@
625
626
  border-bottom: 4px #223654 solid !important;
626
627
  }
627
628
 
629
+ :deep(.v-table__wrapper > table > thead > tr > th) {
630
+ background-color: rgb(var(--v-theme-bleuMoyen)) !important;
631
+ }
632
+
628
633
  /* datatable header intérieur*/
629
- .v-data-table-header__content {
630
- background-color: white !important;
631
- color: #223654 !important;
632
- font-weight: 600;
634
+ :deep(.v-data-table-header__content) {
635
+ background-color: rgb(var(--v-theme-bleuMoyen)) !important;
636
+ color: rgb(var(--v-theme-blanc)) !important;
633
637
  font-size: 15px;
638
+ font-weight: 600;
634
639
  height: 46px;
635
640
  }
636
641
 
@@ -663,8 +668,8 @@
663
668
 
664
669
  /* icône d'ancre drag & drop */
665
670
  .ancre-drag {
666
- cursor: grab;
667
671
  color: #808a9d;
672
+ cursor: grab;
668
673
  }
669
674
  .ancre-drag:active {
670
675
  cursor: grabbing;
@@ -41,11 +41,11 @@
41
41
  <!-- TABLE 1 : Liste des vues -->
42
42
  <v-data-table
43
43
  id="choixColonnes-choix"
44
+ v-model:expanded="expandedChoixIds"
44
45
  class="limiteHauteurChoix"
45
46
  :headers="colonnesChoix"
46
47
  :items="choix"
47
48
  :item-value="row => choixOf(row)._id"
48
- v-model:expanded="expandedChoixIds"
49
49
  show-expand
50
50
  :single-expand="true"
51
51
  :items-per-page="-1"
@@ -65,7 +65,7 @@
65
65
  {{ t('csqc.bouton.ajouter') }}
66
66
  </v-btn>
67
67
  </template>
68
- <template v-slot:item.data-table-expand="{ internalItem, isExpanded, toggleExpand }">
68
+ <template #item.data-table-expand="{ internalItem, isExpanded, toggleExpand }">
69
69
  <v-btn
70
70
  :append-icon="isExpanded(internalItem) ? 'mdi-chevron-up' : 'mdi-chevron-down'"
71
71
  :text="isExpanded(internalItem) ? 'Fermer' : 'Ouvrir'"
@@ -110,6 +110,7 @@
110
110
  <!-- TABLE 2 : Colonnes de la vue sélectionnée -->
111
111
  <v-data-table
112
112
  id="choixColonnes-vue"
113
+ v-sortable-data-table
113
114
  class="limiteHauteurChoix colonnes mt-1 mb-4 ordonable"
114
115
  :headers="colonnesChoixColonne"
115
116
  :items="colonnesEnCours"
@@ -119,7 +120,6 @@
119
120
  :items-per-page="-1"
120
121
  fixed-header
121
122
  :sort-by="triColonnesChoix"
122
- v-sortable-data-table
123
123
  @sorted="changeOrdre"
124
124
  >
125
125
  <!-- Alerte dans l'entête si aucune colonne n'est sélectionnée -->
@@ -393,7 +393,7 @@
393
393
  const desactiverAjout = ref(false)
394
394
 
395
395
  // Tri visuel (on veut ordre asc)
396
- const triColonnesChoix = ref<Array<{ key: string; order?: 'asc' | 'desc' }>>([{ key: 'ordre', order: 'asc' }])
396
+ const triColonnesChoix = ref<{ key: string; order?: 'asc' | 'desc' }[]>([{ key: 'ordre', order: 'asc' }])
397
397
 
398
398
  // Règles validation
399
399
  const regles = reactive({
@@ -14,7 +14,7 @@ export const vSortableDataTable: Directive<HTMLElement, EmitSorted> = {
14
14
  onEnd: evt => binding.value?.(evt),
15
15
  })
16
16
 
17
- ; (el as any).__csqcSortable = sortable
17
+ ;(el as any).__csqcSortable = sortable
18
18
  },
19
19
  beforeUnmount(el) {
20
20
  const sortable = (el as any).__csqcSortable as Sortable | undefined