Refactor #6435 - Paginator

pull/6454/head
tugcekucukoglu 2024-09-21 01:27:25 +03:00
parent 42b887ae85
commit 7a33dc6d90
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<template>
<JTPInput ref="jtpInput" :modelValue="d_page" :class="cx('pcJumpToPageInput')" :aria-label="inputArialabel" :disabled="disabled" @update:modelValue="onChange" :unstyled="unstyled" :pt="ptm('pcJumpToPageInput')"></JTPInput>
<JTPInput ref="jtpInput" :modelValue="d_page" :class="cx('pcJumpToPageInputText')" :aria-label="inputArialabel" :disabled="disabled" @update:modelValue="onChange" :unstyled="unstyled" :pt="ptm('pcJumpToPageInputText')"></JTPInput>
</template>
<script>

View File

@ -139,7 +139,7 @@ export interface PaginatorPassThroughOptions<T = any> {
* Used to pass attributes to the Dropdown component.
* @see {@link InputNumberPassThroughOptions}
*/
pcJumpToPageInput?: InputNumberPassThroughOptions<PaginatorSharedPassThroughMethodOptions>;
pcJumpToPageInputText?: InputNumberPassThroughOptions<PaginatorSharedPassThroughMethodOptions>;
/**
* Used to pass attributes to the content end's DOM element.
*/

View File

@ -77,7 +77,7 @@ export enum PaginatorClasses {
/**
* Class name of the jump to page input element
*/
pcJumpToPageInput = 'p-paginator-jtp-input'
pcJumpToPageInputText = 'p-paginator-jtp-input'
}
export interface PaginatorStyle extends BaseStyle {}

View File

@ -141,7 +141,7 @@ const classes = {
current: 'p-paginator-current',
pcRowPerPageDropdown: 'p-paginator-rpp-dropdown',
pcJumpToPageDropdown: 'p-paginator-jtp-dropdown',
pcJumpToPageInput: 'p-paginator-jtp-input'
pcJumpToPageInputText: 'p-paginator-jtp-input'
};
export default BaseStyle.extend({