mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4530 - Export styles of all components
This commit is contained in:
parent
7b6d458067
commit
dc2913e887
463 changed files with 10696 additions and 9670 deletions
|
@ -1,22 +1,6 @@
|
|||
<script>
|
||||
import BaseComponent from 'primevue/basecomponent';
|
||||
|
||||
const classes = {
|
||||
root: ({ props }) => [
|
||||
'p-dataview p-component',
|
||||
{
|
||||
'p-dataview-list': props.layout === 'list',
|
||||
'p-dataview-grid': props.layout === 'grid'
|
||||
}
|
||||
],
|
||||
header: 'p-dataview-header',
|
||||
paginator: ({ instance }) => (instance.paginatorTop ? 'p-paginator-top' : instance.paginatorBottom ? 'p-paginator-bottom' : ''),
|
||||
content: 'p-dataview-content',
|
||||
grid: 'p-grid p-nogutter grid grid-nogutter',
|
||||
column: 'p-col col',
|
||||
emptyMessage: 'p-dataview-emptymessage',
|
||||
footer: 'p-dataview-footer'
|
||||
};
|
||||
import DataViewStyle from 'primevue/dataview/style';
|
||||
|
||||
export default {
|
||||
name: 'BaseDataView',
|
||||
|
@ -87,9 +71,7 @@ export default {
|
|||
default: null
|
||||
}
|
||||
},
|
||||
css: {
|
||||
classes
|
||||
},
|
||||
style: DataViewStyle,
|
||||
provide() {
|
||||
return {
|
||||
$parentInstance: this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue