From b37dd8d4d61005c1e846e81a637444659f4ccc73 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 10 May 2024 14:33:27 +0300 Subject: [PATCH] Refactor #5681 - CascadeSelect --- .../lib/cascadeselect/CascadeSelect.d.ts | 22 ++++++------- .../lib/cascadeselect/CascadeSelectSub.vue | 20 ++++++------ .../cascadeselect/style/CascadeSelectStyle.js | 32 +++++++++---------- 3 files changed, 37 insertions(+), 37 deletions(-) diff --git a/components/lib/cascadeselect/CascadeSelect.d.ts b/components/lib/cascadeselect/CascadeSelect.d.ts index bcb55c58b..577f7865c 100644 --- a/components/lib/cascadeselect/CascadeSelect.d.ts +++ b/components/lib/cascadeselect/CascadeSelect.d.ts @@ -113,21 +113,21 @@ export interface CascadeSelectPassThroughOptions { */ list?: CascadeSelectPassThroughOptionType; /** - * Used to pass attributes to the item's DOM element. + * Used to pass attributes to the option's DOM element. */ - item?: CascadeSelectPassThroughOptionType; + option?: CascadeSelectPassThroughOptionType; /** - * Used to pass attributes to the item content's DOM element. + * Used to pass attributes to the option content's DOM element. */ - itemContent?: CascadeSelectPassThroughOptionType; + optionContent?: CascadeSelectPassThroughOptionType; /** - * Used to pass attributes to the item text's DOM element. + * Used to pass attributes to the option text's DOM element. */ - itemText?: CascadeSelectPassThroughOptionType; + optionText?: CascadeSelectPassThroughOptionType; /** - * Used to pass attributes to the item list's DOM element. + * Used to pass attributes to the option list's DOM element. */ - itemList?: CascadeSelectPassThroughOptionType; + optionList?: CascadeSelectPassThroughOptionType; /** * Used to pass attributes to the group icon's DOM element. */ @@ -217,7 +217,7 @@ export interface CascadeSelectContext { /** * Current option. */ - item: any; + option: any; /** * Index of the option. */ @@ -227,9 +227,9 @@ export interface CascadeSelectContext { */ level: number; /** - * Current item group state of option as a boolean. + * Current option group state of option as a boolean. */ - itemGroup: boolean; + optionGroup: boolean; /** * Current active state of option as a boolean. * @defaultValue false diff --git a/components/lib/cascadeselect/CascadeSelectSub.vue b/components/lib/cascadeselect/CascadeSelectSub.vue index 63368f1b6..b48679ad9 100644 --- a/components/lib/cascadeselect/CascadeSelectSub.vue +++ b/components/lib/cascadeselect/CascadeSelectSub.vue @@ -1,9 +1,9 @@