codevdesign 0.0.34 → 0.0.35
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.
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
static
|
|
70
70
|
:readonly="chargementListe"
|
|
71
71
|
expand-icon=""
|
|
72
|
+
@update:modelValue="onPanelChange"
|
|
72
73
|
>
|
|
73
74
|
<v-expansion-panel
|
|
74
75
|
flat
|
|
@@ -277,7 +278,15 @@
|
|
|
277
278
|
Object.values(item).some(val => String(val).toLowerCase().includes(recherche.value.toLowerCase())),
|
|
278
279
|
)
|
|
279
280
|
})
|
|
280
|
-
const
|
|
281
|
+
const onPanelChange = (val: unknown) => {
|
|
282
|
+
if (typeof val === 'string' || typeof val === 'number' || val === null) {
|
|
283
|
+
const isOpen = val !== null && val !== ''
|
|
284
|
+
emit('panneau:etat', isOpen)
|
|
285
|
+
} else {
|
|
286
|
+
emit('panneau:etat', false)
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
const emit = defineEmits(['ajouter', 'cliqueLigne', 'supprimer', 'modifier', 'donneesExportees', 'panneau:etat'])
|
|
281
290
|
</script>
|
|
282
291
|
|
|
283
292
|
<style scoped lang="css">
|