refactoring: update severals components

This commit is contained in:
Simon Vieille
2025-04-04 20:13:15 +02:00
parent 4f261c434d
commit d8a622ce0f
37 changed files with 1857 additions and 1782 deletions
+13 -9
View File
@@ -16,17 +16,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div class="side-menu-search">
<input type="text" :value="value" :placeholder="t('side_menu', 'Search')" @input="$emit('input', $event.target.value)">
<input
type="text"
:value="value"
:placeholder="t('side_menu', 'Search')"
@input="emit('input', $event.target.value)"
/>
</div>
</template>
<script>
export default {
name: 'AppSearch',
props: {
value: {
required: true
},
<script setup>
const emit = defineEmit('input')
const { value } = defineProps({
value: {
type: String,
required: true,
},
}
})
</script>