codevdesign 0.0.95 → 0.0.96

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.
@@ -118,7 +118,7 @@
118
118
  import { useDisplay } from 'vuetify'
119
119
  import ChaisePreferenceItem from './chaiseItem.vue'
120
120
  import csqcDialogue from '../csqcDialogue.vue'
121
- import axios from '@/outils/appAxios' // <- adapte si besoin (ex: axios.getAxios())
121
+ import axios from '@/outils/appAxios'
122
122
  import type { Unite } from '@/codev/modeles/unite'
123
123
  import { useI18n } from 'vue-i18n'
124
124
 
@@ -250,12 +250,6 @@
250
250
  chargementEnCours.value = false
251
251
  }
252
252
 
253
- /** Actions UI */
254
- /*async function soumettre() {
255
- modeModifier.value = false
256
- await ouvrir()
257
- }*/
258
-
259
253
  async function ouvrir() {
260
254
  if (!activerDivPreferences.value) {
261
255
  await chargementPreferences()
@@ -317,7 +311,10 @@
317
311
  }
318
312
  }
319
313
  }
320
-
314
+ async function soumettre() {
315
+ modeModifier.value = false
316
+ await ouvrir()
317
+ }
321
318
  /** Validation finale */
322
319
  async function ok() {
323
320
  await sauvegarder()
@@ -359,4 +356,6 @@
359
356
  chargementEnCours.value = false
360
357
  }
361
358
  }
359
+
360
+ defineExpose({ soumettre })
362
361
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codevdesign",
3
- "version": "0.0.95",
3
+ "version": "0.0.96",
4
4
  "description": "Composants Vuetify 3 pour les projets Codev",
5
5
  "files": [
6
6
  "./**/*.vue",