vue components refactoring

This commit is contained in:
Čarodej
2022-04-13 16:19:10 +02:00
parent 6a4bfa8bfe
commit 338f8664b7
251 changed files with 1068 additions and 1943 deletions

View File

@@ -0,0 +1,16 @@
<template>
<ul class="list-info">
<slot />
</ul>
</template>
<script>
export default {
name: 'ListInfo',
}
</script>
<style lang="scss" scoped>
@import '../../../../sass/vuefilemanager/variables';
@import '../../../../sass/vuefilemanager/mixins';
</style>

View File

@@ -0,0 +1,19 @@
<template>
<div class="mb-4">
<small class="text-theme block text-xs font-bold">
{{ title }}
</small>
<b v-if="content" class="inline-block text-sm font-bold">
{{ content }}
</b>
<slot v-if="$slots.default" />
</div>
</template>
<script>
export default {
name: 'ListInfoItem',
props: ['content', 'title'],
}
</script>