Continue frontend building

This commit is contained in:
2025-07-13 12:03:43 +02:00
parent 6faed0dbd4
commit 746f809d28
44 changed files with 2057 additions and 632 deletions

View File

@ -0,0 +1,18 @@
<template>
<sl-tree-item :id="itemId" data-type="secret" :data-name="name" :data-group-path="groupPath">
<sl-icon name="file-lock2"> </sl-icon>
<span class="px-2">{{ name }}</span>
</sl-tree-item>
</template>
<script setup lang="ts">
import { computed, toRef } from 'vue'
const props = defineProps<{
name: string
groupPath: string
selected?: boolean
}>()
const groupPath = toRef(() => props.path)
const itemId = computed(() => `secret-${props.name}`)
</script>