initial commit

This commit is contained in:
2026-04-29 17:46:58 +08:00
commit b428595769
38 changed files with 2229 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<script setup lang="ts">
import type { NamedEntity } from '../services/api';
defineProps<{
items: Array<NamedEntity & { subcategory?: string | null; quantity?: number }>;
}>();
</script>
<template>
<div class="chips">
<span v-for="item in items" :key="`${item.id}-${item.name}`" class="chip">
{{ item.name }}<span v-if="item.subcategory"> · {{ item.subcategory }}</span
><span v-if="item.quantity"> × {{ item.quantity }}</span>
</span>
</div>
</template>