codevdesign 2.0.13 → 2.0.14

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.
@@ -10,7 +10,10 @@
10
10
  @keydown.esc="!persistant ? annuler : ''"
11
11
  @click:outside="!persistant ? annuler : ''"
12
12
  >
13
- <v-card class="pa-0 ma-0 pl-8 pt-8">
13
+ <v-card
14
+ color="background"
15
+ class="pa-0 ma-0 pl-8 pt-8"
16
+ >
14
17
  <!-- Bouton en haut à droite -->
15
18
  <v-btn
16
19
  icon="mdi-close"
@@ -3,6 +3,7 @@
3
3
  v-model="visible"
4
4
  location="right"
5
5
  temporary
6
+ color="background"
6
7
  class="pa-0 elevation-2 csqc-ligneBleue"
7
8
  :persistent="persistant"
8
9
  :width="grosseurTiroir"
@@ -10,7 +11,10 @@
10
11
  @keydown.esc="!persistant ? fermeture : ''"
11
12
  @click:outside="!persistant ? fermeture : ''"
12
13
  >
13
- <v-card class="pa-0 ma-0 pl-8 pt-8">
14
+ <v-card
15
+ color="background"
16
+ class="pa-0 ma-0 pl-8 pt-8"
17
+ >
14
18
  <!-- Bouton en haut à droite -->
15
19
  <v-btn
16
20
  icon="mdi-close"
@@ -37,15 +41,15 @@
37
41
  </v-card-text>
38
42
  <v-card-actions class="my-2 d-flex justify-end pr-6 pb-5">
39
43
  <slot name="actions"></slot>
40
- <bouton-tertiaire
44
+ <bouton-tertiaire-standard
41
45
  v-if="btnAnnuler"
42
46
  :loading="operationEnCours"
43
47
  @click="fermeture"
44
48
  >
45
49
  {{ props.btnAnnulerTexte ? props.btnAnnulerTexte : $t('csqc.bouton.annuler') }}
46
- </bouton-tertiaire>
50
+ </bouton-tertiaire-standard>
47
51
 
48
- <bouton-primaire
52
+ <bouton-primaire-standard
49
53
  v-if="btnOk"
50
54
  class="Gouttiere"
51
55
  :loading="operationEnCours"
@@ -53,7 +57,7 @@
53
57
  @click="okBouton"
54
58
  >
55
59
  {{ props.btnOkTexte ? props.btnOkTexte : $t('csqc.bouton.ok') }}
56
- </bouton-primaire>
60
+ </bouton-primaire-standard>
57
61
  </v-card-actions>
58
62
  </v-card>
59
63
  </v-navigation-drawer>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codevdesign",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "Composants Vuetify 4 pour les projets Codev",
5
5
  "files": [
6
6
  "./**/*.vue",
@@ -130,3 +130,17 @@ export default createVuetify({
130
130
  },
131
131
  },
132
132
  })
133
+
134
+ // Déclare les alias Vuetify ci-dessus (createVuetify > aliases) pour que Volar reconnaisse
135
+ // les balises dans les templates (coloration, autocomplétion, vérif. des props).
136
+ // Placé ici pour que l'augmentation voyage avec la définition runtime des alias.
137
+ declare module 'vue' {
138
+ export interface GlobalComponents {
139
+ BoutonPrimaire: typeof VBtn
140
+ BoutonSecondaire: typeof VBtn
141
+ BoutonTertiaire: typeof VBtn
142
+ BoutonPrimaireStandard: typeof VBtn
143
+ BoutonSecondaireStandard: typeof VBtn
144
+ BoutonTertiaireStandard: typeof VBtn
145
+ }
146
+ }