-
Notifications
You must be signed in to change notification settings - Fork 2
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 #56 from lukashornych/dev
Release 1.0.0
- Loading branch information
Showing
88 changed files
with
3,080 additions
and
508 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
VITE_BUILD_VERSION=$EVITALAB_BUILD_VERSION | ||
VITE_BUILD_VERSION=$EVITALAB_BUILD_VERSION | ||
GITHUB_REPO_URL=https://github.com/lukashornych/evitalab |
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 |
---|---|---|
|
@@ -20,3 +20,4 @@ pnpm-debug.log* | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
*.iml |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<script setup lang="ts"> | ||
/** | ||
* Pre-defined button to execute queries. | ||
*/ | ||
const emit = defineEmits<{ | ||
(e: 'click'): void | ||
}>() | ||
</script> | ||
|
||
<template> | ||
<VBtn | ||
density="compact" | ||
@click="emit('click')" | ||
class="v-btn--variant-primary" | ||
> | ||
<VIcon>mdi-play-outline</VIcon> | ||
|
||
<VTooltip activator="parent"> | ||
Execute query | ||
</VTooltip> | ||
Run | ||
</VBtn> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
</style> |
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,30 @@ | ||
<script setup lang="ts"> | ||
/** | ||
* Wrapper around Markdown renderer mainly for global styling purposes. | ||
*/ | ||
import MarkdownIt from 'markdown-it' | ||
import MarkdownItHighlightJs from 'markdown-it-highlightjs' | ||
import MarkdownItEmoji from 'markdown-it-emoji' | ||
import { computed } from 'vue' | ||
const markdown: MarkdownIt = new MarkdownIt() | ||
.use(MarkdownItHighlightJs) | ||
.use(MarkdownItEmoji) | ||
const props = withDefaults(defineProps<{ | ||
source?: string | ||
}>(), { | ||
source: '' | ||
}) | ||
const renderedSource = computed<string>(() => markdown.render(props.source)) | ||
</script> | ||
|
||
<template> | ||
<div v-html="renderedSource" class="md-content"/> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
</style> |
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,55 @@ | ||
<script setup lang="ts"> | ||
/** | ||
* Pre-configured VTabs component for vertical tabs. | ||
*/ | ||
enum Side { | ||
Left = 'left', | ||
Right = 'right' | ||
} | ||
const props = defineProps<{ | ||
modelValue: any, | ||
side: 'left' | 'right' | ||
}>() | ||
const emit = defineEmits<{ | ||
(e: 'update:modelValue', value: any): void | ||
}>() | ||
</script> | ||
|
||
<template> | ||
<VTabs | ||
:model-value="modelValue" | ||
@update:model-value="emit('update:modelValue', $event)" | ||
direction="vertical" | ||
:class="['side-tabs', { 'side-tabs--left': side === Side.Left }, { 'side-tabs--right': side === Side.Right }]" | ||
> | ||
<slot /> | ||
</VTabs> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
@import "@/styles/colors.scss"; | ||
.side-tabs { | ||
background: $primary-dark; | ||
width: 3rem; | ||
&--left { | ||
border-right: thin solid rgba(var(--v-border-color), var(--v-border-opacity)); | ||
} | ||
&--right { | ||
border-left: thin solid rgba(var(--v-border-color), var(--v-border-opacity)); | ||
} | ||
& :deep(.v-btn) { | ||
min-width: 3rem; | ||
width: 3rem; | ||
padding: 0 0 0 1rem !important; | ||
&:after { | ||
width: 3rem; | ||
} | ||
} | ||
} | ||
</style> |
Oops, something went wrong.