generate frontend

This commit is contained in:
opbnq-q
2025-03-09 08:28:52 -07:00
parent c1dde79c7e
commit 8fbbd7b142
3 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,4 @@
<script setup lang="ts">
import AuthorScheme from "./author/AuthorScheme.vue";
import { Dialog } from 'primevue';
import { useErrorStore } from './stores/error.store';
@@ -14,6 +13,6 @@ const errorStore = useErrorStore()
<h1 class="text-red-500 text-2xl">{{ errorStore.message }}</h1>
</Dialog>
<main class="w-screen h-screen">
<AuthorScheme></AuthorScheme>
</main>
</template>

View File

@@ -83,6 +83,6 @@ const validate: Validate<Author> = (entity) => {
<template>
<main class="w-screen h-screen">
<Table :scheme :service :get-defaults :load :items :validate></Table>
<Table name="Author" :scheme :service :get-defaults :load :items :validate></Table>
</main>
</template>

View File

@@ -31,8 +31,8 @@ const setNullIds = () => {
</script>
<template>
<div class="relative">
<ul class="absolute max-h-48 h-auto overflow-y-auto background rounded-md p-3 w-full border-gray-500 border">
<div class="">
<ul class="max-h-48 h-auto overflow-y-auto background rounded-md p-3 w-full border-gray-500 border">
<li v-for="option in options" :key="option.Id" class="flex items-center gap-2">
<Checkbox :checked="selected.some(item => item.Id == option.Id)" @click="pushOrRemove(option)" />
<label :for="option.Id.toString()">{{ structView(option, path) }}</label>