This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #282 from Dino-Kupinic/develop
v0.16.2
- Loading branch information
Showing
9 changed files
with
247 additions
and
148 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<script setup lang="ts"> | ||
defineProps<{ | ||
title: string | ||
}>() | ||
const model = defineModel<boolean>() | ||
defineEmits(["create"]) | ||
</script> | ||
|
||
<template> | ||
<UModal v-model="model" class="bg-opacity-0"> | ||
<UCard> | ||
<template #header> | ||
<ModalHeader | ||
color="green" | ||
:title="title" | ||
icon="i-heroicons-plus-circle" | ||
/> | ||
</template> | ||
<slot /> | ||
<template #footer> | ||
<div class="flex w-full justify-end space-x-2"> | ||
<UButton | ||
color="green" | ||
icon="heroicons:plus-20-solid" | ||
@click="$emit('create')" | ||
> | ||
{{ $t("actions.create") }} | ||
</UButton> | ||
<UButton | ||
color="gray" | ||
icon="i-heroicons-x-mark-20-solid" | ||
@click="model = false" | ||
> | ||
{{ $t("actions.cancel") }} | ||
</UButton> | ||
</div> | ||
</template> | ||
</UCard> | ||
</UModal> | ||
</template> |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.