From c40b3203fdb3935a82c7de5c688c4d080ee193a7 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 18 Apr 2024 17:28:41 +0300 Subject: [PATCH] Refactor #5612 --- components/lib/column/Column.d.ts | 14 +++++++------- components/lib/datatable/ColumnFilter.vue | 12 ++++++------ components/lib/paginator/JumpToPageDropdown.vue | 8 ++++---- components/lib/paginator/RowsPerPageDropdown.vue | 8 ++++---- rollup.config.js | 1 - 5 files changed, 21 insertions(+), 22 deletions(-) diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts index acd18011e..03c567529 100755 --- a/components/lib/column/Column.d.ts +++ b/components/lib/column/Column.d.ts @@ -14,9 +14,9 @@ import { ComponentHooks } from '../basecomponent'; import { ButtonPassThroughOptions } from '../button'; import { CheckboxPassThroughOptionType } from '../checkbox'; import { DataTablePassThroughOptions } from '../datatable'; -import { DropdownPassThroughOptionType } from '../dropdown'; import { PassThroughOptions } from '../passthrough'; import { RadioButtonPassThroughOptionType } from '../radiobutton'; +import { SelectPassThroughOptionType } from '../select'; import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; import { VirtualScrollerLoaderOptions } from '../virtualscroller'; @@ -207,10 +207,10 @@ export interface ColumnPassThroughOptions { */ filterOperator?: ColumnPassThroughOptionType; /** - * Used to pass attributes to the Dropdown component. - * @see {@link DropdownPassThroughOptionType} + * Used to pass attributes to the Select component. + * @see {@link SelectPassThroughOptionType} */ - filterOperatorDropdown?: DropdownPassThroughOptionType; + filterOperatorDropdown?: SelectPassThroughOptionType; /** * Used to pass attributes to the filter constraints' DOM element. */ @@ -220,10 +220,10 @@ export interface ColumnPassThroughOptions { */ filterConstraint?: ColumnPassThroughOptionType; /** - * Used to pass attributes to the Dropdown component. - * @see {@link DropdownPassThroughOptionType} + * Used to pass attributes to the Select component. + * @see {@link SelectPassThroughOptionType} */ - filterMatchModeDropdown?: DropdownPassThroughOptionType; + filterMatchModeDropdown?: SelectPassThroughOptionType; /** * Used to pass attributes to the filter remove button container's DOM element. */ diff --git a/components/lib/datatable/ColumnFilter.vue b/components/lib/datatable/ColumnFilter.vue index d16f506a1..587d4c7b4 100644 --- a/components/lib/datatable/ColumnFilter.vue +++ b/components/lib/datatable/ColumnFilter.vue @@ -59,7 +59,7 @@ - + diff --git a/components/lib/paginator/RowsPerPageDropdown.vue b/components/lib/paginator/RowsPerPageDropdown.vue index c5603efdd..b678aee83 100755 --- a/components/lib/paginator/RowsPerPageDropdown.vue +++ b/components/lib/paginator/RowsPerPageDropdown.vue @@ -1,5 +1,5 @@ - + diff --git a/rollup.config.js b/rollup.config.js index 138e132a2..e1adc9b2e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -263,7 +263,6 @@ const CORE_DEPENDENCIES = { 'primevue/radiobutton': 'primevue.radiobutton', 'primevue/message': 'primevue.message', 'primevue/progressbar': 'primevue.progressbar', - 'primevue/dropdown': 'primevue.dropdown', 'primevue/dialog': 'primevue.dialog', 'primevue/paginator': 'primevue.paginator', 'primevue/tree': 'primevue.tree',