V13-FE-011: finalize search list layout slice

This commit is contained in:
2026-08-09 02:57:26 +09:00
parent 9efd202e76
commit 6422cb2b13
984 changed files with 120811 additions and 1498 deletions
@@ -0,0 +1,27 @@
<script setup lang="ts">
import Button from 'primevue/button'
const props = withDefaults(defineProps<{
label: string
shortcut?: string
variant?: 'primary' | 'secondary' | 'danger' | 'ghost'
disabled?: boolean
loading?: boolean
title?: string
}>(), { variant: 'secondary' })
const emit = defineEmits<{ click: [MouseEvent] }>()
</script>
<template>
<Button
:label="shortcut ? `${label} ${shortcut}` : label"
:disabled="disabled"
:loading="loading"
:title="title"
:severity="variant === 'danger' ? 'danger' : undefined"
:outlined="variant === 'secondary'"
:text="variant === 'ghost'"
@click="emit('click', $event)"
/>
</template>