mirror of https://github.com/Fabio286/antares.git
refactor: minor refactor
This commit is contained in:
parent
e7bec0aaaf
commit
cb92ca99f6
|
@ -31,7 +31,7 @@ const props = defineProps({
|
|||
default: () => null
|
||||
},
|
||||
rotate: {
|
||||
type: String,
|
||||
type: Number,
|
||||
default: () => null
|
||||
}
|
||||
});
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<span class="d-flex">
|
||||
<BaseIcon
|
||||
icon-name="mdiNumeric0"
|
||||
rotate="90deg"
|
||||
:rotate="90"
|
||||
class="text-light mt-1 mr-1"
|
||||
:size="18"
|
||||
/> {{ t('database.cell', 1) }}
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<BaseIcon
|
||||
class="mr-1"
|
||||
icon-name="mdiKey"
|
||||
rotate="45deg"
|
||||
:rotate="45"
|
||||
:size="24"
|
||||
/>
|
||||
<span>{{ t('database.indexes') }}</span>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<BaseIcon
|
||||
class="mr-1"
|
||||
icon-name="mdiKey"
|
||||
rotate="45deg"
|
||||
:rotate="45"
|
||||
:size="24"
|
||||
/>
|
||||
<span>{{ t('database.indexes') }}</span>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class="column-key pr-1 mt-1 mr-1"
|
||||
:class="`key-${index}`"
|
||||
icon-name="mdiKey"
|
||||
rotate="45deg"
|
||||
:rotate="45"
|
||||
:size="20"
|
||||
/> {{ index }}</span>
|
||||
</div>
|
||||
|
@ -59,7 +59,7 @@
|
|||
class="column-key pr-1 mt-1 mr-1"
|
||||
:class="`key-${index.type}`"
|
||||
icon-name="mdiKey"
|
||||
rotate="45deg"
|
||||
:rotate="45"
|
||||
:size="20"
|
||||
/> {{ index.name }}</span>
|
||||
</div>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<BaseIcon
|
||||
class="mr-1"
|
||||
icon-name="mdiKey"
|
||||
rotate="45deg"
|
||||
:rotate="45"
|
||||
:size="24"
|
||||
/>
|
||||
<span class="cut-text">{{ t('database.indexes') }} "{{ table }}"</span>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
>
|
||||
<BaseIcon
|
||||
icon-name="mdiKey"
|
||||
rotate="45deg"
|
||||
:rotate="45"
|
||||
:size="14"
|
||||
class="d-inline-block column-key c-help"
|
||||
:class="`key-${index.type}`"
|
||||
|
|
|
@ -171,7 +171,7 @@
|
|||
<BaseIcon
|
||||
class="mr-1 mt-1"
|
||||
icon-name="mdiTimerSand"
|
||||
rotate="180deg"
|
||||
:rotate="180"
|
||||
:size="16"
|
||||
/> <b>{{ durationsCount / 1000 }}s</b>
|
||||
</div>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<div v-if="field.key" :title="keyName(field.key)">
|
||||
<BaseIcon
|
||||
icon-name="mdiKey"
|
||||
rotate="45deg"
|
||||
:rotate="45"
|
||||
:size="14"
|
||||
class="column-key c-help mt-1 mr-1"
|
||||
:class="`key-${field.key}`"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<BaseIcon
|
||||
icon-name="mdiNumeric0"
|
||||
class="mr-1 mt-1 text-light"
|
||||
rotate="90deg"
|
||||
:rotate="90"
|
||||
:size="18"
|
||||
/> {{ t('database.cell', 1) }}
|
||||
</span>
|
||||
|
|
|
@ -155,7 +155,7 @@
|
|||
<BaseIcon
|
||||
class="mr-1 mt-1"
|
||||
icon-name="mdiTimerSand"
|
||||
rotate="180deg"
|
||||
:rotate="180"
|
||||
:size="16"
|
||||
/> <b>{{ results[0].duration / 1000 }}s</b>
|
||||
</div>
|
||||
|
|
|
@ -80,7 +80,7 @@ declare module 'vuedraggable' {// <- to export as default
|
|||
export = draggableComponent;
|
||||
}
|
||||
|
||||
declare let SvgIcon: import('vue').DefineComponent<{
|
||||
declare const SvgIcon: import('vue').DefineComponent<{
|
||||
type: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
|
@ -102,7 +102,7 @@ declare let SvgIcon: import('vue').DefineComponent<{
|
|||
optional: boolean;
|
||||
};
|
||||
rotate: {
|
||||
type: StringConstructor;
|
||||
type: NumberConstructor;
|
||||
optional: boolean;
|
||||
};
|
||||
}>;
|
||||
|
|
Loading…
Reference in New Issue