2021-08-07 03:23:59 +02:00
|
|
|
<template>
|
2021-09-17 15:39:15 +02:00
|
|
|
<XCategory v-if="tab === 'category'"/>
|
2021-08-07 03:23:59 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2021-09-17 15:39:15 +02:00
|
|
|
import { defineComponent, computed } from 'vue';
|
2021-08-07 03:23:59 +02:00
|
|
|
import * as os from '@client/os';
|
|
|
|
import * as symbols from '@client/symbols';
|
2021-09-17 15:39:15 +02:00
|
|
|
import XCategory from './emojis.category.vue';
|
2021-08-07 03:23:59 +02:00
|
|
|
|
|
|
|
export default defineComponent({
|
|
|
|
components: {
|
2021-09-17 15:39:15 +02:00
|
|
|
XCategory,
|
2021-08-07 03:23:59 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
2021-09-17 15:39:15 +02:00
|
|
|
[symbols.PAGE_INFO]: computed(() => ({
|
2021-08-07 03:23:59 +02:00
|
|
|
title: this.$ts.customEmojis,
|
2021-09-17 15:39:15 +02:00
|
|
|
icon: 'fas fa-laugh',
|
|
|
|
bg: 'var(--bg)',
|
|
|
|
})),
|
|
|
|
tab: 'category',
|
2021-08-07 03:23:59 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style>
|