From d3a7a176e31e3f69869b7c7e0f1643c53adc2286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 9 Mar 2023 10:02:25 +0300 Subject: [PATCH] Fixed #3707 - Class and Style properties type definition defects --- api-generator/components/autocomplete.js | 4 ++-- api-generator/components/calendar.js | 8 ++++---- api-generator/components/cascadeselect.js | 4 ++-- api-generator/components/checkbox.js | 4 ++-- api-generator/components/chips.js | 4 ++-- api-generator/components/dropdown.js | 2 +- api-generator/components/inputnumber.js | 4 ++-- api-generator/components/inputswitch.js | 4 ++-- api-generator/components/password.js | 8 ++++---- api-generator/components/radiobutton.js | 4 ++-- api-generator/components/togglebutton.js | 4 ++-- api-generator/components/treeselect.js | 6 +++--- components/autocomplete/AutoComplete.d.ts | 10 +++++----- components/autocomplete/AutoComplete.vue | 10 +++++----- components/calendar/Calendar.d.ts | 8 ++++---- components/calendar/Calendar.vue | 8 ++++---- components/cascadeselect/CascadeSelect.d.ts | 8 ++++---- components/cascadeselect/CascadeSelect.vue | 8 ++++---- components/checkbox/Checkbox.d.ts | 4 ++-- components/checkbox/Checkbox.vue | 4 ++-- components/chips/Chips.d.ts | 4 ++-- components/chips/Chips.vue | 4 ++-- components/dropdown/Dropdown.d.ts | 8 ++++---- components/dropdown/Dropdown.vue | 8 ++++---- components/inputnumber/InputNumber.d.ts | 4 ++-- components/inputnumber/InputNumber.vue | 4 ++-- components/inputswitch/InputSwitch.d.ts | 4 ++-- components/inputswitch/InputSwitch.vue | 4 ++-- components/password/Password.d.ts | 8 ++++---- components/password/Password.vue | 8 ++++---- components/radiobutton/RadioButton.d.ts | 4 ++-- components/radiobutton/RadioButton.vue | 4 ++-- components/togglebutton/ToggleButton.d.ts | 4 ++-- components/togglebutton/ToggleButton.vue | 4 ++-- components/treeselect/TreeSelect.d.ts | 4 ++-- components/treeselect/TreeSelect.vue | 6 +++--- 36 files changed, 99 insertions(+), 99 deletions(-) diff --git a/api-generator/components/autocomplete.js b/api-generator/components/autocomplete.js index f745c56f27..98e6fab04f 100644 --- a/api-generator/components/autocomplete.js +++ b/api-generator/components/autocomplete.js @@ -133,7 +133,7 @@ const AutoCompleteProps = [ }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, @@ -151,7 +151,7 @@ const AutoCompleteProps = [ }, { name: 'panelClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the overlay panel.' }, diff --git a/api-generator/components/calendar.js b/api-generator/components/calendar.js index 2b14be8180..f1b2700a17 100644 --- a/api-generator/components/calendar.js +++ b/api-generator/components/calendar.js @@ -259,13 +259,13 @@ const CalendarProps = [ }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, { name: 'inputStyle', - type: 'any', + type: 'object', default: 'null', description: 'Inline style of the input field.' }, @@ -277,13 +277,13 @@ const CalendarProps = [ }, { name: 'panelClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the overlay panel.' }, { name: 'panelStyle', - type: 'string', + type: 'object', default: 'null', description: 'Inline style of the overlay panel.' }, diff --git a/api-generator/components/cascadeselect.js b/api-generator/components/cascadeselect.js index 5b5c5c79c0..46e56a97a8 100644 --- a/api-generator/components/cascadeselect.js +++ b/api-generator/components/cascadeselect.js @@ -67,7 +67,7 @@ const CascadeSelectProps = [ }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, @@ -85,7 +85,7 @@ const CascadeSelectProps = [ }, { name: 'panelClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the overlay panel.' }, diff --git a/api-generator/components/checkbox.js b/api-generator/components/checkbox.js index e866e1e775..06a343db20 100644 --- a/api-generator/components/checkbox.js +++ b/api-generator/components/checkbox.js @@ -61,13 +61,13 @@ const CheckboxProps = [ }, { name: 'inputClass', - type: 'any', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, { name: 'inputStyle', - type: 'any', + type: 'object', default: 'null', description: 'Inline style of the input field.' }, diff --git a/api-generator/components/chips.js b/api-generator/components/chips.js index c7f92d12ce..63ab3f8a93 100644 --- a/api-generator/components/chips.js +++ b/api-generator/components/chips.js @@ -49,13 +49,13 @@ const ChipsProps = [ }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, { name: 'inputStyle', - type: 'any', + type: 'object', default: 'null', description: 'Inline style of the input field.' }, diff --git a/api-generator/components/dropdown.js b/api-generator/components/dropdown.js index 219c1859dd..d4826f131f 100644 --- a/api-generator/components/dropdown.js +++ b/api-generator/components/dropdown.js @@ -121,7 +121,7 @@ const DropdownProps = [ }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, diff --git a/api-generator/components/inputnumber.js b/api-generator/components/inputnumber.js index c0669961dc..5796efe41e 100644 --- a/api-generator/components/inputnumber.js +++ b/api-generator/components/inputnumber.js @@ -155,13 +155,13 @@ const InputNumberProps = [ }, { name: 'inputStyle', - type: 'any', + type: 'object', default: 'null', description: 'Inline style of the input field.' }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, diff --git a/api-generator/components/inputswitch.js b/api-generator/components/inputswitch.js index 62a2c2e2ed..6b06ebda27 100644 --- a/api-generator/components/inputswitch.js +++ b/api-generator/components/inputswitch.js @@ -25,13 +25,13 @@ const InputSwitchProps = [ }, { name: 'inputStyle', - type: 'any', + type: 'object', default: 'null', description: 'Inline style of the input field.' }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, diff --git a/api-generator/components/password.js b/api-generator/components/password.js index edd5a8665c..665ea48a1e 100644 --- a/api-generator/components/password.js +++ b/api-generator/components/password.js @@ -97,13 +97,13 @@ const PasswordProps = [ }, { name: 'inputStyle', - type: 'any', + type: 'object', default: 'null', description: 'Inline style of the input field.' }, { name: 'inputClass', - type: 'any', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, @@ -121,13 +121,13 @@ const PasswordProps = [ }, { name: 'panelClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the overlay panel.' }, { name: 'panelStyle', - type: 'string', + type: 'object', default: 'null', description: 'Inline style of the overlay panel.' }, diff --git a/api-generator/components/radiobutton.js b/api-generator/components/radiobutton.js index ead3aae022..620ad456b6 100644 --- a/api-generator/components/radiobutton.js +++ b/api-generator/components/radiobutton.js @@ -31,13 +31,13 @@ const RadioButtonProps = [ }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, { name: 'inputStyle', - type: 'any', + type: 'object', default: 'null', description: 'Inline style of the input field.' }, diff --git a/api-generator/components/togglebutton.js b/api-generator/components/togglebutton.js index d2ec64ced5..6614ca535d 100644 --- a/api-generator/components/togglebutton.js +++ b/api-generator/components/togglebutton.js @@ -55,13 +55,13 @@ const ToggleButtonProps = [ }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, { name: 'inputStyle', - type: 'any', + type: 'object', default: 'null', description: 'Inline style of the input field.' }, diff --git a/api-generator/components/treeselect.js b/api-generator/components/treeselect.js index 0bf2c63c3c..d11b2a2c27 100644 --- a/api-generator/components/treeselect.js +++ b/api-generator/components/treeselect.js @@ -43,13 +43,13 @@ const TreeSelectProps = [ }, { name: 'inputStyle', - type: 'any', + type: 'object', default: 'null', description: 'Inline style of the input field.' }, { name: 'inputClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the input field.' }, @@ -61,7 +61,7 @@ const TreeSelectProps = [ }, { name: 'panelClass', - type: 'string', + type: 'string | object', default: 'null', description: 'Style class of the overlay panel.' }, diff --git a/components/autocomplete/AutoComplete.d.ts b/components/autocomplete/AutoComplete.d.ts index 3a18e2725d..d25601e071 100755 --- a/components/autocomplete/AutoComplete.d.ts +++ b/components/autocomplete/AutoComplete.d.ts @@ -183,11 +183,11 @@ export interface AutoCompleteProps { /** * Inline style of the input field. */ - inputStyle?: any; + inputStyle?: object | undefined; /** * Style class of the input field. */ - inputClass?: any; + inputClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ @@ -195,11 +195,11 @@ export interface AutoCompleteProps { /** * Inline style of the overlay panel. */ - panelStyle?: any; + panelStyle?: object | undefined; /** * Style class of the overlay panel. */ - panelClass?: any; + panelClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. */ @@ -212,7 +212,7 @@ export interface AutoCompleteProps { /** * Style class of the dropdown button. */ - dropdownClass?: string | undefined; + dropdownClass?: string | object | undefined; /** * Icon to display in loading state. * @defaultValue pi pi-spinner pi-spin diff --git a/components/autocomplete/AutoComplete.vue b/components/autocomplete/AutoComplete.vue index 4ca6fde00e..b5c46c3156 100755 --- a/components/autocomplete/AutoComplete.vue +++ b/components/autocomplete/AutoComplete.vue @@ -222,11 +222,11 @@ export default { default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputProps: { @@ -234,11 +234,11 @@ export default { default: null }, panelStyle: { - type: null, + type: Object, default: null }, panelClass: { - type: String, + type: [String, Object], default: null }, panelProps: { @@ -250,7 +250,7 @@ export default { default: 'pi pi-chevron-down' }, dropdownClass: { - type: String, + type: [String, Object], default: null }, loadingIcon: { diff --git a/components/calendar/Calendar.d.ts b/components/calendar/Calendar.d.ts index 2c6729c946..4effcd1175 100755 --- a/components/calendar/Calendar.d.ts +++ b/components/calendar/Calendar.d.ts @@ -307,11 +307,11 @@ export interface CalendarProps { /** * Inline style of the input field. */ - inputStyle?: any | undefined; + inputStyle?: object | undefined; /** * Style class of the input field. */ - inputClass?: any | undefined; + inputClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ @@ -319,11 +319,11 @@ export interface CalendarProps { /** * Inline style of the overlay panel. */ - panelStyle?: any | undefined; + panelStyle?: object | undefined; /** * Style class of the overlay panel. */ - panelClass?: any | undefined; + panelClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. */ diff --git a/components/calendar/Calendar.vue b/components/calendar/Calendar.vue index 5c0b872438..bdc8a0adff 100755 --- a/components/calendar/Calendar.vue +++ b/components/calendar/Calendar.vue @@ -504,11 +504,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { @@ -516,11 +516,11 @@ export default { default: null }, panelClass: { - type: String, + type: [String, Object], default: null }, panelStyle: { - type: null, + type: Object, default: null }, panelProps: { diff --git a/components/cascadeselect/CascadeSelect.d.ts b/components/cascadeselect/CascadeSelect.d.ts index b0d3dfb887..fceadf74bd 100644 --- a/components/cascadeselect/CascadeSelect.d.ts +++ b/components/cascadeselect/CascadeSelect.d.ts @@ -83,11 +83,11 @@ export interface CascadeSelectProps { /** * Inline style of the input field. */ - inputStyle?: any; + inputStyle?: object | undefined; /** * Style class of the input field. */ - inputClass?: any; + inputClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ @@ -95,11 +95,11 @@ export interface CascadeSelectProps { /** * Inline style of the overlay panel. */ - panelStyle?: any; + panelStyle?: object | undefined; /** * Style class of the overlay panel. */ - panelClass?: any; + panelClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. */ diff --git a/components/cascadeselect/CascadeSelect.vue b/components/cascadeselect/CascadeSelect.vue index ab5e1dbde3..a3626d806f 100644 --- a/components/cascadeselect/CascadeSelect.vue +++ b/components/cascadeselect/CascadeSelect.vue @@ -95,11 +95,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { @@ -107,11 +107,11 @@ export default { default: null }, panelClass: { - type: String, + type: [String, Object], default: null }, panelStyle: { - type: null, + type: Object, default: null }, panelProps: { diff --git a/components/checkbox/Checkbox.d.ts b/components/checkbox/Checkbox.d.ts index 0d1a2069ed..b4716b9972 100755 --- a/components/checkbox/Checkbox.d.ts +++ b/components/checkbox/Checkbox.d.ts @@ -67,11 +67,11 @@ export interface CheckboxProps { /** * Style class of the input field. */ - inputClass?: any | undefined; + inputClass?: object | undefined; /** * Inline style of the input field. */ - inputStyle?: any | undefined; + inputStyle?: string | object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ diff --git a/components/checkbox/Checkbox.vue b/components/checkbox/Checkbox.vue index 3b0d4cbb67..36cd2645b3 100755 --- a/components/checkbox/Checkbox.vue +++ b/components/checkbox/Checkbox.vue @@ -68,11 +68,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { diff --git a/components/chips/Chips.d.ts b/components/chips/Chips.d.ts index 26a88d6598..c11ff5fab9 100755 --- a/components/chips/Chips.d.ts +++ b/components/chips/Chips.d.ts @@ -64,11 +64,11 @@ export interface ChipsProps { /** * Style class of the input field. */ - inputClass?: any | undefined; + inputClass?: string | object | undefined; /** * Inline style of the input field. */ - inputStyle?: any | undefined; + inputStyle?: object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ diff --git a/components/chips/Chips.vue b/components/chips/Chips.vue index 156f03b03f..bfc30cbfcd 100755 --- a/components/chips/Chips.vue +++ b/components/chips/Chips.vue @@ -91,11 +91,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { diff --git a/components/dropdown/Dropdown.d.ts b/components/dropdown/Dropdown.d.ts index 131b281b01..832030bb95 100755 --- a/components/dropdown/Dropdown.d.ts +++ b/components/dropdown/Dropdown.d.ts @@ -126,11 +126,11 @@ export interface DropdownProps { /** * Inline style of the input field. */ - inputStyle?: any; + inputStyle?: object | undefined; /** * Style class of the input field. */ - inputClass?: any; + inputClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component. */ @@ -138,11 +138,11 @@ export interface DropdownProps { /** * Inline style of the overlay panel. */ - panelStyle?: any; + panelStyle?: object | undefined; /** * Style class of the overlay panel. */ - panelClass?: any; + panelClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. */ diff --git a/components/dropdown/Dropdown.vue b/components/dropdown/Dropdown.vue index 9b50a45bc1..bf84bbf905 100755 --- a/components/dropdown/Dropdown.vue +++ b/components/dropdown/Dropdown.vue @@ -188,11 +188,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { @@ -200,11 +200,11 @@ export default { default: null }, panelClass: { - type: String, + type: [String, Object], default: null }, panelStyle: { - type: null, + type: Object, default: null }, panelProps: { diff --git a/components/inputnumber/InputNumber.d.ts b/components/inputnumber/InputNumber.d.ts index 3c128e6cdd..1d65962457 100755 --- a/components/inputnumber/InputNumber.d.ts +++ b/components/inputnumber/InputNumber.d.ts @@ -173,11 +173,11 @@ export interface InputNumberProps { /** * Style class of the input field. */ - inputClass?: any | undefined; + inputClass?: string | object | undefined; /** * Inline style of the input field. */ - inputStyle?: any | undefined; + inputStyle?: object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ diff --git a/components/inputnumber/InputNumber.vue b/components/inputnumber/InputNumber.vue index 806b55c304..2750dd3d38 100755 --- a/components/inputnumber/InputNumber.vue +++ b/components/inputnumber/InputNumber.vue @@ -152,11 +152,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { diff --git a/components/inputswitch/InputSwitch.d.ts b/components/inputswitch/InputSwitch.d.ts index 6e0156ad79..a9c8d6f120 100755 --- a/components/inputswitch/InputSwitch.d.ts +++ b/components/inputswitch/InputSwitch.d.ts @@ -35,11 +35,11 @@ export interface InputSwitchProps { /** * Style class of the input field. */ - inputClass?: any | undefined; + inputClass?: string | object | undefined; /** * Inline style of the input field. */ - inputStyle?: any | undefined; + inputStyle?: object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ diff --git a/components/inputswitch/InputSwitch.vue b/components/inputswitch/InputSwitch.vue index c8b063c797..d213b50a88 100755 --- a/components/inputswitch/InputSwitch.vue +++ b/components/inputswitch/InputSwitch.vue @@ -48,11 +48,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { diff --git a/components/password/Password.d.ts b/components/password/Password.d.ts index 1f27624077..330f5b6863 100755 --- a/components/password/Password.d.ts +++ b/components/password/Password.d.ts @@ -90,11 +90,11 @@ export interface PasswordProps extends InputHTMLAttributes { /** * Inline style of the input field. */ - inputStyle?: any | undefined; + inputStyle?: object | undefined; /** * Style class of the input field. */ - inputClass?: any | undefined; + inputClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ @@ -106,11 +106,11 @@ export interface PasswordProps extends InputHTMLAttributes { /** * Style class of the overlay panel. */ - panelClass?: any | undefined; + panelClass?: string | object | undefined; /** * Inline style of the overlay panel. */ - panelStyle?: any | undefined; + panelStyle?: object | undefined; /** * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. */ diff --git a/components/password/Password.vue b/components/password/Password.vue index 35635de155..28651658b1 100755 --- a/components/password/Password.vue +++ b/components/password/Password.vue @@ -114,11 +114,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { @@ -130,11 +130,11 @@ export default { default: null }, panelClass: { - type: String, + type: [String, Object], default: null }, panelStyle: { - type: null, + type: Object, default: null }, panelProps: { diff --git a/components/radiobutton/RadioButton.d.ts b/components/radiobutton/RadioButton.d.ts index 6ae823aa6d..58a8473883 100755 --- a/components/radiobutton/RadioButton.d.ts +++ b/components/radiobutton/RadioButton.d.ts @@ -37,11 +37,11 @@ export interface RadioButtonProps { /** * Inline style of the input field. */ - inputStyle?: any; + inputStyle?: object | undefined; /** * Style class of the input field. */ - inputClass?: any; + inputClass?: string | object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ diff --git a/components/radiobutton/RadioButton.vue b/components/radiobutton/RadioButton.vue index d3e5904435..7fec2faae7 100755 --- a/components/radiobutton/RadioButton.vue +++ b/components/radiobutton/RadioButton.vue @@ -46,11 +46,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { diff --git a/components/togglebutton/ToggleButton.d.ts b/components/togglebutton/ToggleButton.d.ts index f9198041f4..25cec1276c 100755 --- a/components/togglebutton/ToggleButton.d.ts +++ b/components/togglebutton/ToggleButton.d.ts @@ -58,11 +58,11 @@ export interface ToggleButtonProps { /** * Style class of the input field. */ - inputClass?: any | undefined; + inputClass?: string | object | undefined; /** * Inline style of the input field. */ - inputStyle?: any | undefined; + inputStyle?: object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ diff --git a/components/togglebutton/ToggleButton.vue b/components/togglebutton/ToggleButton.vue index c2157c298c..0005908d84 100755 --- a/components/togglebutton/ToggleButton.vue +++ b/components/togglebutton/ToggleButton.vue @@ -56,11 +56,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { diff --git a/components/treeselect/TreeSelect.d.ts b/components/treeselect/TreeSelect.d.ts index f6da2f693b..80ae9655f3 100644 --- a/components/treeselect/TreeSelect.d.ts +++ b/components/treeselect/TreeSelect.d.ts @@ -77,11 +77,11 @@ export interface TreeSelectProps { /** * Style class of the input field. */ - inputClass?: any | undefined; + inputClass?: string | object | undefined; /** * Inline style of the input field. */ - inputStyle?: any | undefined; + inputStyle?: object | undefined; /** * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. */ diff --git a/components/treeselect/TreeSelect.vue b/components/treeselect/TreeSelect.vue index dfac50c59d..2e314410af 100644 --- a/components/treeselect/TreeSelect.vue +++ b/components/treeselect/TreeSelect.vue @@ -128,11 +128,11 @@ export default { default: null }, inputClass: { - type: String, + type: [String, Object], default: null }, inputStyle: { - type: null, + type: Object, default: null }, inputProps: { @@ -140,7 +140,7 @@ export default { default: null }, panelClass: { - type: String, + type: [String, Object], default: null }, panelProps: {