-
Notifications
You must be signed in to change notification settings - Fork 7
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 #431 from codeworks-projects/feat/file-upload-modal
Feat/file upload modal
- Loading branch information
Showing
25 changed files
with
932 additions
and
136 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
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,11 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: NOI Techpark <[email protected]> | ||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
--> | ||
|
||
<template> | ||
<DialogOverlayTransitionChild> | ||
<div class="fixed inset-0 bg-black/25"></div> | ||
</DialogOverlayTransitionChild> | ||
</template> |
19 changes: 19 additions & 0 deletions
19
databrowser/src/components/dialog/DialogOverlayContainer.vue
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,19 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: NOI Techpark <[email protected]> | ||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
--> | ||
|
||
<template> | ||
<div class="fixed inset-0 overflow-y-auto"> | ||
<div class="flex min-h-full items-center justify-center p-4 text-center"> | ||
<DialogPanelTransitionChild> | ||
<slot></slot> | ||
</DialogPanelTransitionChild> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import DialogPanelTransitionChild from './DialogPanelTransitionChild.vue'; | ||
</script> |
23 changes: 23 additions & 0 deletions
23
databrowser/src/components/dialog/DialogOverlayTransitionChild.vue
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,23 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: NOI Techpark <[email protected]> | ||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
--> | ||
|
||
<template> | ||
<TransitionChild | ||
as="template" | ||
enter="duration-300 ease-out" | ||
enter-from="opacity-0" | ||
enter-to="opacity-100" | ||
leave="duration-200 ease-in" | ||
leave-from="opacity-100" | ||
leave-to="opacity-0" | ||
> | ||
<slot></slot> | ||
</TransitionChild> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { TransitionChild } from '@headlessui/vue'; | ||
</script> |
23 changes: 23 additions & 0 deletions
23
databrowser/src/components/dialog/DialogPanelTransitionChild.vue
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,23 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: NOI Techpark <[email protected]> | ||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
--> | ||
|
||
<template> | ||
<TransitionChild | ||
as="template" | ||
enter="duration-300 ease-out" | ||
enter-from="opacity-0 scale-95" | ||
enter-to="opacity-100 scale-100" | ||
leave="duration-200 ease-in" | ||
leave-from="opacity-100 scale-100" | ||
leave-to="opacity-0 scale-95" | ||
> | ||
<slot></slot> | ||
</TransitionChild> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { TransitionChild } from '@headlessui/vue'; | ||
</script> |
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.