mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #5681
This commit is contained in:
parent
3cc675e50f
commit
e1367fd494
89 changed files with 376 additions and 339 deletions
|
@ -19,12 +19,12 @@
|
|||
v-if="checkboxSelectionMode && columnProp('expander')"
|
||||
:modelValue="checked"
|
||||
:binary="true"
|
||||
:class="cx('nodeCheckbox')"
|
||||
:class="cx('pcNodeCheckbox')"
|
||||
@change="toggleCheckbox"
|
||||
:tabindex="-1"
|
||||
:indeterminate="partialChecked"
|
||||
:unstyled="unstyled"
|
||||
:pt="getColumnCheckboxPT('nodeCheckbox')"
|
||||
:pt="getColumnCheckboxPT('pcNodeCheckbox')"
|
||||
:data-p-partialchecked="partialChecked"
|
||||
>
|
||||
<template #icon="slotProps">
|
||||
|
|
2
components/lib/treetable/TreeTable.d.ts
vendored
2
components/lib/treetable/TreeTable.d.ts
vendored
|
@ -236,7 +236,7 @@ export interface TreeTablePassThroughOptions {
|
|||
* Used to pass attributes to the Paginator component.
|
||||
* @see {@link PaginatorPassThroughOptionType}
|
||||
*/
|
||||
paginator?: PaginatorPassThroughOptionType<TreeTableSharedPassThroughMethodOptions>;
|
||||
pcPaginator?: PaginatorPassThroughOptionType<TreeTableSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the table container's DOM element.
|
||||
*/
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
:template="paginatorTemplate"
|
||||
:rowsPerPageOptions="rowsPerPageOptions"
|
||||
:currentPageReportTemplate="currentPageReportTemplate"
|
||||
:class="cx('paginator', { position: 'top' })"
|
||||
:class="cx('pcPaginator', { position: 'top' })"
|
||||
@page="onPage($event)"
|
||||
:alwaysShow="alwaysShowPaginator"
|
||||
:unstyled="unstyled"
|
||||
:pt="ptm('paginator')"
|
||||
:pt="ptm('pcPaginator')"
|
||||
>
|
||||
<template v-if="$slots.paginatorstart" #start>
|
||||
<slot name="paginatorstart"></slot>
|
||||
|
@ -129,11 +129,11 @@
|
|||
:template="paginatorTemplate"
|
||||
:rowsPerPageOptions="rowsPerPageOptions"
|
||||
:currentPageReportTemplate="currentPageReportTemplate"
|
||||
:class="cx('paginator', { position: 'bottom' })"
|
||||
:class="cx('pcPaginator', { position: 'bottom' })"
|
||||
@page="onPage($event)"
|
||||
:alwaysShow="alwaysShowPaginator"
|
||||
:unstyled="unstyled"
|
||||
:pt="ptm('paginator')"
|
||||
:pt="ptm('pcPaginator')"
|
||||
>
|
||||
<template v-if="$slots.paginatorstart" #start>
|
||||
<slot name="paginatorstart"></slot>
|
||||
|
|
|
@ -505,7 +505,7 @@ const classes = {
|
|||
],
|
||||
nodeToggleButton: 'p-treetable-node-toggle-button',
|
||||
nodeToggleIcon: 'p-treetable-node-toggle-icon',
|
||||
nodeCheckbox: 'p-treetable-node-checkbox',
|
||||
pcNodeCheckbox: 'p-treetable-node-checkbox',
|
||||
emptyMessage: 'p-treetable-empty-message',
|
||||
tfoot: 'p-treetable-tfoot',
|
||||
footerCell: ({ instance }) => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue