mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
kill BasePagination
This commit is contained in:
parent
812842c5b5
commit
8b7c2e7eea
@ -1,67 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<b-pagination
|
||||
first-number
|
||||
last-number
|
||||
:per-page="perPage"
|
||||
:size="size"
|
||||
:value="value"
|
||||
@change="(val) => $emit('change', val)"
|
||||
:align="align"
|
||||
:total-rows="total"
|
||||
>
|
||||
<template v-slot:prev-text>
|
||||
<a class="page-link" aria-label="Previous">
|
||||
<span aria-hidden="true">
|
||||
<i class="fa fa-angle-left" aria-hidden="true"></i>
|
||||
</span>
|
||||
</a>
|
||||
</template>
|
||||
<template v-slot:next-text>
|
||||
<a class="page-link" aria-label="Next">
|
||||
<span aria-hidden="true">
|
||||
<i class="fa fa-angle-right" aria-hidden="true"></i>
|
||||
</span>
|
||||
</a>
|
||||
</template>
|
||||
</b-pagination>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'base-pagination',
|
||||
props: {
|
||||
pageCount: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
description: 'Pagination page count. This should be specified in combination with perPage',
|
||||
},
|
||||
perPage: {
|
||||
type: Number,
|
||||
default: 10,
|
||||
description: 'Pagination per page. Should be specified with total or pageCount',
|
||||
},
|
||||
total: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
description:
|
||||
'Can be specified instead of pageCount. The page count in this case will be total/perPage',
|
||||
},
|
||||
value: {
|
||||
type: Number,
|
||||
default: 1,
|
||||
description: 'Pagination value',
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
default: '',
|
||||
description: 'Pagination size',
|
||||
},
|
||||
align: {
|
||||
type: String,
|
||||
default: '',
|
||||
description: 'Pagination alignment (e.g center|start|end)',
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
@ -20,7 +20,6 @@ import CollapseItem from './Collapse/CollapseItem.vue'
|
||||
import Modal from './Modal.vue'
|
||||
import BaseSlider from './BaseSlider.vue'
|
||||
|
||||
import BasePagination from './BasePagination.vue'
|
||||
|
||||
import SidebarPlugin from './SidebarPlugin'
|
||||
|
||||
@ -28,7 +27,6 @@ export {
|
||||
BaseCheckbox,
|
||||
Badge,
|
||||
BaseProgress,
|
||||
BasePagination,
|
||||
BaseRadio,
|
||||
BaseInput,
|
||||
Card,
|
||||
|
||||
@ -8,7 +8,6 @@ import Badge from '@/components/Badge.vue'
|
||||
import BaseCheckbox from '@/components/Inputs/BaseCheckbox.vue'
|
||||
import BaseRadio from '@/components/Inputs/BaseRadio'
|
||||
import BaseProgress from '@/components/BaseProgress'
|
||||
import BasePagination from '@/components/BasePagination'
|
||||
import BaseNav from '@/components/Navbar/BaseNav'
|
||||
import { ValidationProvider, ValidationObserver } from 'vee-validate'
|
||||
|
||||
@ -21,7 +20,6 @@ const GlobalComponents = {
|
||||
Vue.component(BaseInput.name, BaseInput)
|
||||
Vue.component(BaseDropdown.name, BaseDropdown)
|
||||
Vue.component(BaseNav.name, BaseNav)
|
||||
Vue.component(BasePagination.name, BasePagination)
|
||||
Vue.component(BaseProgress.name, BaseProgress)
|
||||
Vue.component(BaseRadio.name, BaseRadio)
|
||||
Vue.component(Card.name, Card)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user