1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: minor refactor

This commit is contained in:
2023-09-17 19:04:24 +02:00
parent e7bec0aaaf
commit cb92ca99f6
12 changed files with 14 additions and 14 deletions

View File

@ -31,7 +31,7 @@ const props = defineProps({
default: () => null default: () => null
}, },
rotate: { rotate: {
type: String, type: Number,
default: () => null default: () => null
} }
}); });

View File

@ -23,7 +23,7 @@
<span class="d-flex"> <span class="d-flex">
<BaseIcon <BaseIcon
icon-name="mdiNumeric0" icon-name="mdiNumeric0"
rotate="90deg" :rotate="90"
class="text-light mt-1 mr-1" class="text-light mt-1 mr-1"
:size="18" :size="18"
/> {{ t('database.cell', 1) }} /> {{ t('database.cell', 1) }}

View File

@ -54,7 +54,7 @@
<BaseIcon <BaseIcon
class="mr-1" class="mr-1"
icon-name="mdiKey" icon-name="mdiKey"
rotate="45deg" :rotate="45"
:size="24" :size="24"
/> />
<span>{{ t('database.indexes') }}</span> <span>{{ t('database.indexes') }}</span>

View File

@ -54,7 +54,7 @@
<BaseIcon <BaseIcon
class="mr-1" class="mr-1"
icon-name="mdiKey" icon-name="mdiKey"
rotate="45deg" :rotate="45"
:size="24" :size="24"
/> />
<span>{{ t('database.indexes') }}</span> <span>{{ t('database.indexes') }}</span>

View File

@ -28,7 +28,7 @@
class="column-key pr-1 mt-1 mr-1" class="column-key pr-1 mt-1 mr-1"
:class="`key-${index}`" :class="`key-${index}`"
icon-name="mdiKey" icon-name="mdiKey"
rotate="45deg" :rotate="45"
:size="20" :size="20"
/> {{ index }}</span> /> {{ index }}</span>
</div> </div>
@ -59,7 +59,7 @@
class="column-key pr-1 mt-1 mr-1" class="column-key pr-1 mt-1 mr-1"
:class="`key-${index.type}`" :class="`key-${index.type}`"
icon-name="mdiKey" icon-name="mdiKey"
rotate="45deg" :rotate="45"
:size="20" :size="20"
/> {{ index.name }}</span> /> {{ index.name }}</span>
</div> </div>

View File

@ -11,7 +11,7 @@
<BaseIcon <BaseIcon
class="mr-1" class="mr-1"
icon-name="mdiKey" icon-name="mdiKey"
rotate="45deg" :rotate="45"
:size="24" :size="24"
/> />
<span class="cut-text">{{ t('database.indexes') }} "{{ table }}"</span> <span class="cut-text">{{ t('database.indexes') }} "{{ table }}"</span>

View File

@ -21,7 +21,7 @@
> >
<BaseIcon <BaseIcon
icon-name="mdiKey" icon-name="mdiKey"
rotate="45deg" :rotate="45"
:size="14" :size="14"
class="d-inline-block column-key c-help" class="d-inline-block column-key c-help"
:class="`key-${index.type}`" :class="`key-${index.type}`"

View File

@ -171,7 +171,7 @@
<BaseIcon <BaseIcon
class="mr-1 mt-1" class="mr-1 mt-1"
icon-name="mdiTimerSand" icon-name="mdiTimerSand"
rotate="180deg" :rotate="180"
:size="16" :size="16"
/> <b>{{ durationsCount / 1000 }}s</b> /> <b>{{ durationsCount / 1000 }}s</b>
</div> </div>

View File

@ -48,7 +48,7 @@
<div v-if="field.key" :title="keyName(field.key)"> <div v-if="field.key" :title="keyName(field.key)">
<BaseIcon <BaseIcon
icon-name="mdiKey" icon-name="mdiKey"
rotate="45deg" :rotate="45"
:size="14" :size="14"
class="column-key c-help mt-1 mr-1" class="column-key c-help mt-1 mr-1"
:class="`key-${field.key}`" :class="`key-${field.key}`"

View File

@ -25,7 +25,7 @@
<BaseIcon <BaseIcon
icon-name="mdiNumeric0" icon-name="mdiNumeric0"
class="mr-1 mt-1 text-light" class="mr-1 mt-1 text-light"
rotate="90deg" :rotate="90"
:size="18" :size="18"
/> {{ t('database.cell', 1) }} /> {{ t('database.cell', 1) }}
</span> </span>

View File

@ -155,7 +155,7 @@
<BaseIcon <BaseIcon
class="mr-1 mt-1" class="mr-1 mt-1"
icon-name="mdiTimerSand" icon-name="mdiTimerSand"
rotate="180deg" :rotate="180"
:size="16" :size="16"
/> <b>{{ results[0].duration / 1000 }}s</b> /> <b>{{ results[0].duration / 1000 }}s</b>
</div> </div>

View File

@ -80,7 +80,7 @@ declare module 'vuedraggable' {// <- to export as default
export = draggableComponent; export = draggableComponent;
} }
declare let SvgIcon: import('vue').DefineComponent<{ declare const SvgIcon: import('vue').DefineComponent<{
type: { type: {
type: StringConstructor; type: StringConstructor;
default: string; default: string;
@ -102,7 +102,7 @@ declare let SvgIcon: import('vue').DefineComponent<{
optional: boolean; optional: boolean;
}; };
rotate: { rotate: {
type: StringConstructor; type: NumberConstructor;
optional: boolean; optional: boolean;
}; };
}>; }>;