mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-30 13:11:08 -04:00
33 lines
790 B
Vue
Executable File
33 lines
790 B
Vue
Executable File
<template>
|
|
<!-- Never render the contents -->
|
|
<!-- The scoped slot won't have the required data -->
|
|
<div v-if="false">
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import settings from '../settings'
|
|
export default {
|
|
props: {
|
|
show: { required: false, type: String },
|
|
label: { default: null, type: String },
|
|
dataType: { default: 'string', type: String },
|
|
|
|
sortable: { default: true, type: Boolean },
|
|
sortBy: { default: null },
|
|
|
|
filterable: { default: true, type: Boolean },
|
|
sortAs: { default: null },
|
|
filterOn: { default: null },
|
|
|
|
formatter: { default: v => v, type: Function },
|
|
|
|
hidden: { default: false, type: Boolean },
|
|
|
|
cellClass: { default: settings.cellClass },
|
|
headerClass: { default: settings.headerClass },
|
|
}
|
|
}
|
|
</script>
|