mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5681
This commit is contained in:
parent
3cc675e50f
commit
e1367fd494
89 changed files with 376 additions and 339 deletions
|
@ -5,10 +5,10 @@
|
|||
optionLabel="label"
|
||||
optionValue="value"
|
||||
@update:modelValue="onChange($event)"
|
||||
:class="cx('jumpToPageDropdown')"
|
||||
:class="cx('pcJumpToPageDropdown')"
|
||||
:disabled="disabled"
|
||||
:unstyled="unstyled"
|
||||
:pt="ptm('jumpToPageDropdown')"
|
||||
:pt="ptm('pcJumpToPageDropdown')"
|
||||
data-pc-group-section="pagedropdown"
|
||||
>
|
||||
<template v-if="templates['jumptopagedropdownicon']" #dropdownicon="slotProps">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<JTPInput ref="jtpInput" :modelValue="d_page" :class="cx('jumpToPageInput')" :aria-label="inputArialabel" :disabled="disabled" @update:modelValue="onChange" :unstyled="unstyled" :pt="ptm('jumpToPageInput')"></JTPInput>
|
||||
<JTPInput ref="jtpInput" :modelValue="d_page" :class="cx('pcJumpToPageInput')" :aria-label="inputArialabel" :disabled="disabled" @update:modelValue="onChange" :unstyled="unstyled" :pt="ptm('pcJumpToPageInput')"></JTPInput>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
6
components/lib/paginator/Paginator.d.ts
vendored
6
components/lib/paginator/Paginator.d.ts
vendored
|
@ -125,17 +125,17 @@ export interface PaginatorPassThroughOptions<T = any> {
|
|||
* Used to pass attributes to the Dropdown component.
|
||||
* @see {@link DropdownPassThroughOptions}
|
||||
*/
|
||||
rowPerPageDropdown?: DropdownPassThroughOptions<PaginatorSharedPassThroughMethodOptions>;
|
||||
pcRowPerPageDropdown?: DropdownPassThroughOptions<PaginatorSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the Dropdown component.
|
||||
* @see {@link DropdownPassThroughOptions}
|
||||
*/
|
||||
jumpToPageDropdown?: DropdownPassThroughOptions<PaginatorSharedPassThroughMethodOptions>;
|
||||
pcJumpToPageDropdown?: DropdownPassThroughOptions<PaginatorSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the Dropdown component.
|
||||
* @see {@link InputNumberPassThroughOptions}
|
||||
*/
|
||||
jumpToPageInput?: InputNumberPassThroughOptions<PaginatorSharedPassThroughMethodOptions>;
|
||||
pcJumpToPageInput?: InputNumberPassThroughOptions<PaginatorSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the content end's DOM element.
|
||||
*/
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
optionLabel="label"
|
||||
optionValue="value"
|
||||
@update:modelValue="onChange($event)"
|
||||
:class="cx('rowPerPageDropdown')"
|
||||
:class="cx('pcRowPerPageDropdown')"
|
||||
:disabled="disabled"
|
||||
:unstyled="unstyled"
|
||||
:pt="ptm('rowPerPageDropdown')"
|
||||
:pt="ptm('pcRowPerPageDropdown')"
|
||||
data-pc-group-section="pagedropdown"
|
||||
>
|
||||
<template v-if="templates['rowsperpagedropdownicon']" #dropdownicon="slotProps">
|
||||
|
|
|
@ -130,9 +130,9 @@ const classes = {
|
|||
}
|
||||
],
|
||||
current: 'p-paginator-current',
|
||||
rowPerPageDropdown: 'p-paginator-rpp-dropdown',
|
||||
jumpToPageDropdown: 'p-paginator-jtp-dropdown',
|
||||
jumpToPageInput: 'p-paginator-jtp-input'
|
||||
pcRowPerPageDropdown: 'p-paginator-rpp-dropdown',
|
||||
pcJumpToPageDropdown: 'p-paginator-jtp-dropdown',
|
||||
pcJumpToPageInput: 'p-paginator-jtp-input'
|
||||
};
|
||||
|
||||
export default BaseStyle.extend({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue