primevue-mirror/components/lib/orderlist/BaseOrderList.vue

82 lines
1.7 KiB
Vue
Raw Normal View History

2023-06-02 09:10:49 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import OrderListStyle from 'primevue/orderlist/style';
2023-06-02 09:10:49 +00:00
export default {
2023-06-02 15:43:30 +00:00
name: 'BaseOrderList',
2023-06-02 09:10:49 +00:00
extends: BaseComponent,
props: {
modelValue: {
type: Array,
default: null
},
selection: {
type: Array,
default: null
},
dataKey: {
type: String,
default: null
},
listStyle: {
type: null,
default: null
},
metaKeySelection: {
type: Boolean,
default: true
},
responsive: {
type: Boolean,
default: true
},
breakpoint: {
type: String,
default: '960px'
},
stripedRows: {
type: Boolean,
default: false
},
tabindex: {
type: Number,
default: 0
},
listProps: {
type: null,
default: null
},
moveUpButtonProps: {
type: null,
default: null
},
moveTopButtonProps: {
type: null,
default: null
},
moveDownButtonProps: {
type: null,
default: null
},
moveBottomButtonProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null
},
'aria-label': {
type: String,
default: null
}
},
style: OrderListStyle,
2023-06-02 09:10:49 +00:00
provide() {
return {
$parentInstance: this
};
}
};
</script>