diff --git a/api-generator/components/picklist.js b/api-generator/components/picklist.js index ab2eca722..163aaf41f 100644 --- a/api-generator/components/picklist.js +++ b/api-generator/components/picklist.js @@ -160,7 +160,7 @@ const PickListEvents = [ const PickListSlots = [ { - name: "sourceHeader", + name: "sourceheader", description: "Custom content for the component's source header" }, { @@ -168,8 +168,32 @@ const PickListSlots = [ description: "Custom content for the item" }, { - name: "targetHeader", + name: "targetheader", description: "Custom content for the component's target header" + }, + { + name: "sourcecontrolsstart", + description: "Custom content before source control buttons" + }, + { + name: "sourcecontrolsend", + description: "Custom content after source control buttons" + }, + { + name: "movecontrolsstart", + description: "Custom content before move buttons" + }, + { + name: "movecontrolsend", + description: "Custom content after move buttons" + }, + { + name: "targetcontrolsstart", + description: "Custom content before target control buttons" + }, + { + name: "targetcontrolsend", + description: "Custom content after target control buttons" } ]; diff --git a/src/components/picklist/PickList.d.ts b/src/components/picklist/PickList.d.ts index ccfd8269e..ffa57ab92 100755 --- a/src/components/picklist/PickList.d.ts +++ b/src/components/picklist/PickList.d.ts @@ -29,8 +29,14 @@ declare class PickList { $slots: { header: VNode[]; item: PickListItemSlotInterface; - sourceHeader: VNode[]; - targetHeader: VNode[]; + sourceheader: VNode[]; + targetheader: VNode[]; + sourcecontrolsstart: VNode[]; + sourcecontrolsend: VNode[]; + movecontrolsstart: VNode[]; + movecontrolsend: VNode[]; + targetcontrolsstart: VNode[]; + targetcontrolsend: VNode[]; } } diff --git a/src/components/picklist/PickList.vue b/src/components/picklist/PickList.vue index 71ea9540e..e1ed6387a 100755 --- a/src/components/picklist/PickList.vue +++ b/src/components/picklist/PickList.vue @@ -1,14 +1,16 @@