From b8100f4c1b484982aef80002137fa4b92052b84c Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 19 Sep 2024 10:58:19 +0300 Subject: [PATCH] Refactor #6435 - PickList --- packages/primevue/src/picklist/PickList.d.ts | 14 +------------- packages/primevue/src/picklist/PickList.vue | 4 ++-- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/packages/primevue/src/picklist/PickList.d.ts b/packages/primevue/src/picklist/PickList.d.ts index b4787dcdf..6949ba550 100755 --- a/packages/primevue/src/picklist/PickList.d.ts +++ b/packages/primevue/src/picklist/PickList.d.ts @@ -172,15 +172,11 @@ export interface PickListPassThroughOptions { /** * Used to pass attributes to the Listbox component. */ - pcList?: ListboxPassThroughOptions; + pcListbox?: ListboxPassThroughOptions; /** * Used to pass attributes to the source list containerr's DOM element. */ sourceListContainer?: PickListPassThroughOptionType; - /** - * Used to pass attributes to the source list's DOM element. - */ - sourceList?: PickListPassThroughOptionType; /** * Used to pass attributes to the transfer controls' DOM element. */ @@ -205,14 +201,6 @@ export interface PickListPassThroughOptions { * Used to pass attributes to the target list container's DOM element. */ targetListContainer?: PickListPassThroughOptionType; - /** - * Used to pass attributes to the target list's DOM element. - */ - targetList?: PickListPassThroughOptionType; - /** - * Used to pass attributes to the target item's DOM element. - */ - item?: PickListPassThroughOptionType; /** * Used to pass attributes to the target controls' DOM element. */ diff --git a/packages/primevue/src/picklist/PickList.vue b/packages/primevue/src/picklist/PickList.vue index 69f2e8e9f..379dd6534 100755 --- a/packages/primevue/src/picklist/PickList.vue +++ b/packages/primevue/src/picklist/PickList.vue @@ -48,7 +48,7 @@ :focusOnHover="focusOnHover" :striped="striped" :disabled="disabled" - :pt="ptm('pcList')" + :pt="ptm('pcListbox')" :unstyled="unstyled" @focus="onListFocus($event, 'sourceList')" @blur="onListBlur($event, 'sourceList')" @@ -113,7 +113,7 @@ :focusOnHover="focusOnHover" :striped="striped" :disabled="disabled" - :pt="ptm('pcList')" + :pt="ptm('pcListbox')" :unstyled="unstyled" @focus="onListFocus($event, 'targetList')" @blur="onListBlur($event, 'targetList')"