From cda1e16bd84a9949474e5d97216250c26b827632 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 30 May 2024 14:10:35 +0300 Subject: [PATCH] OrderList PickList demo updates --- doc/common/apidoc/index.json | 34 +++++++++++++++++++++++++--- doc/orderlist/BasicDoc.vue | 18 +++++++-------- doc/orderlist/TemplateDoc.vue | 42 +++++++++++++++++------------------ doc/picklist/BasicDoc.vue | 18 +++++++-------- doc/picklist/TemplateDoc.vue | 42 +++++++++++++++++------------------ 5 files changed, 91 insertions(+), 63 deletions(-) diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index cf27e7097..e9a217bd0 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -51047,7 +51047,21 @@ } ], "returnType": "VNode[]", - "description": "Custom item template." + "description": "", + "deprecated": "since v4.0. Use option slot instead.\nCustom item template." + }, + { + "name": "option", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t option: any, // Option of the component\n \t selected: boolean, // Selection state\n \t index: number, // Index of the option.\n }", + "description": "option slot's params." + } + ], + "returnType": "VNode[]", + "description": "Custom option template." }, { "name": "controlsstart", @@ -57039,12 +57053,26 @@ { "name": "scope", "optional": false, - "type": "{\n \t item: any, // Item of the component\n \t selected: boolean, // Selection state\n \t index: number, // Index of the item\n }", + "type": "{\n \t item: any, // Item of the component\n \t selected: boolean, // Selection state\n \t index: number, // Index of the item.\n }", "description": "item slot's params." } ], "returnType": "VNode[]", - "description": "Custom item template." + "description": "", + "deprecated": "since v4.0. Use option slot instead.\nCustom item template." + }, + { + "name": "option", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t option: any, // Option of the component\n \t selected: boolean, // Selection state\n \t index: number, // Index of the option.\n }", + "description": "option slot's params." + } + ], + "returnType": "VNode[]", + "description": "Custom option template." }, { "name": "sourceheader", diff --git a/doc/orderlist/BasicDoc.vue b/doc/orderlist/BasicDoc.vue index 565e9f041..45764e2c2 100644 --- a/doc/orderlist/BasicDoc.vue +++ b/doc/orderlist/BasicDoc.vue @@ -1,11 +1,11 @@