From 5250943440dfbe39bdfd5215d38459eaa6fc92b0 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 19 Mar 2024 17:14:13 +0300 Subject: [PATCH] Refactor --- components/lib/autocomplete/AutoComplete.d.ts | 10 +- components/lib/autocomplete/AutoComplete.vue | 20 ++-- .../lib/autocomplete/BaseAutoComplete.vue | 8 -- components/lib/calendar/BaseCalendar.vue | 8 -- components/lib/calendar/Calendar.d.ts | 10 +- components/lib/calendar/Calendar.vue | 19 ++-- components/lib/dropdown/BaseDropdown.vue | 16 ---- components/lib/dropdown/Dropdown.d.ts | 19 +--- components/lib/dropdown/Dropdown.vue | 14 ++- components/lib/inputmask/InputMask.vue | 4 +- .../lib/inputnumber/BaseInputNumber.vue | 12 --- components/lib/inputnumber/InputNumber.d.ts | 95 +++++++------------ components/lib/inputnumber/InputNumber.vue | 41 +++----- components/lib/listbox/BaseListbox.vue | 1 - components/lib/listbox/Listbox.d.ts | 6 +- components/lib/listbox/Listbox.vue | 9 +- .../lib/multiselect/BaseMultiSelect.vue | 16 ---- components/lib/multiselect/MultiSelect.d.ts | 18 +--- components/lib/multiselect/MultiSelect.vue | 7 +- 19 files changed, 86 insertions(+), 247 deletions(-) diff --git a/components/lib/autocomplete/AutoComplete.d.ts b/components/lib/autocomplete/AutoComplete.d.ts index bdee223a8..52165051b 100755 --- a/components/lib/autocomplete/AutoComplete.d.ts +++ b/components/lib/autocomplete/AutoComplete.d.ts @@ -7,7 +7,7 @@ * @module autocomplete * */ -import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { InputTextPassThroughOptions } from '../inputtext'; import { PassThroughOptions } from '../passthrough'; @@ -412,10 +412,6 @@ export interface AutoCompleteProps { * Style class of the input field. */ inputClass?: string | object | undefined; - /** - * Used to pass all properties of the HTMLInputElement to the focusable input element inside the component. - */ - inputProps?: InputHTMLAttributes | undefined; /** * Inline style of the overlay panel. */ @@ -424,10 +420,6 @@ export interface AutoCompleteProps { * Style class of the overlay panel. */ panelClass?: string | object | undefined; - /** - * Used to pass all properties of the HTMLDivElement to the overlay panel inside the component. - */ - panelProps?: HTMLAttributes | undefined; /** * Icon to display in the dropdown. * @deprecated since v3.27.0. Use 'dropdownicon' slot. diff --git a/components/lib/autocomplete/AutoComplete.vue b/components/lib/autocomplete/AutoComplete.vue index eb8a01bb9..14be34fac 100755 --- a/components/lib/autocomplete/AutoComplete.vue +++ b/components/lib/autocomplete/AutoComplete.vue @@ -1,6 +1,6 @@