๐ซ๐ฎ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { applyAction, enhance } from "$app/forms"; | |
| import { error, fail, type RequestEvent } from "@sveltejs/kit"; | |
| import { toast } from "svelte-sonner"; | |
| import { ZodType, type z, type ZodObject, type ZodRawShape, type ZodTypeAny } from "zod"; | |
| import { | |
| dialog as useDialog, | |
| type ConfirmProps, | |
| } from "$lib/components/dialog/state.svelte"; | |
| interface FormResult<T> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script lang="ts"> | |
| import type { Item } from './type-r'; | |
| interface Props { | |
| childItems: Item[]; | |
| } | |
| const { childItems }: Props = $props(); | |
| </script> |