2018-06-05 14:19:04 +00:00
|
|
|
<template>
|
2018-06-07 22:43:12 +00:00
|
|
|
<x-column :name="name" :column="column" :is-stacked="isStacked">
|
2018-11-05 16:40:11 +00:00
|
|
|
<span slot="header"><fa :icon="['far', 'bell']"/>{{ name }}</span>
|
2018-06-05 14:19:04 +00:00
|
|
|
|
2018-06-07 19:21:06 +00:00
|
|
|
<x-notifications/>
|
|
|
|
</x-column>
|
2018-06-05 14:19:04 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
2018-11-08 18:44:35 +00:00
|
|
|
import i18n from '../../../../i18n';
|
2018-06-05 14:19:04 +00:00
|
|
|
import XColumn from './deck.column.vue';
|
|
|
|
import XNotifications from './deck.notifications.vue';
|
|
|
|
|
|
|
|
export default Vue.extend({
|
2018-11-08 18:44:35 +00:00
|
|
|
i18n: i18n(),
|
2018-06-05 14:19:04 +00:00
|
|
|
components: {
|
|
|
|
XColumn,
|
|
|
|
XNotifications
|
2018-06-05 20:18:08 +00:00
|
|
|
},
|
|
|
|
|
2018-06-07 20:48:27 +00:00
|
|
|
props: {
|
|
|
|
column: {
|
|
|
|
type: Object,
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
isStacked: {
|
|
|
|
type: Boolean,
|
|
|
|
required: true
|
|
|
|
}
|
|
|
|
},
|
2018-06-06 21:13:57 +00:00
|
|
|
|
|
|
|
computed: {
|
|
|
|
name(): string {
|
|
|
|
if (this.column.name) return this.column.name;
|
2018-11-08 18:44:35 +00:00
|
|
|
return this.$t('@deck.notifications');
|
2018-06-06 21:13:57 +00:00
|
|
|
}
|
|
|
|
},
|
2018-06-05 14:19:04 +00:00
|
|
|
});
|
|
|
|
</script>
|