2020-02-16 19:30:00 +01:00
|
|
|
import Vue from 'vue'
|
|
|
|
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
|
2020-06-23 17:47:19 +02:00
|
|
|
import FtAutoGrid from '../ft-auto-grid/ft-auto-grid.vue'
|
2020-08-24 21:50:03 +02:00
|
|
|
import FtListLazyWrapper from '../ft-list-lazy-wrapper/ft-list-lazy-wrapper.vue'
|
2020-02-16 19:30:00 +01:00
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
name: 'FtElementList',
|
|
|
|
components: {
|
|
|
|
'ft-flex-box': FtFlexBox,
|
2020-06-23 17:47:19 +02:00
|
|
|
'ft-auto-grid': FtAutoGrid,
|
2020-08-24 21:50:03 +02:00
|
|
|
'ft-list-lazy-wrapper': FtListLazyWrapper
|
2020-02-16 19:30:00 +01:00
|
|
|
},
|
|
|
|
props: {
|
|
|
|
data: {
|
|
|
|
type: Array,
|
|
|
|
required: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
listType: function () {
|
|
|
|
return this.$store.getters.getListType
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|