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 f745c56f2..98e6fab04 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 2b14be818..f1b2700a1 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 5b5c5c79c..46e56a97a 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 e866e1e77..06a343db2 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 c7f92d12c..63ab3f8a9 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 219c1859d..d4826f131 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 c0669961d..5796efe41 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 62a2c2e2e..6b06ebda2 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 edd5a8665..665ea48a1 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 ead3aae02..620ad456b 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 d2ec64ced..6614ca535 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 0bf2c63c3..d11b2a2c2 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 3a18e2725..d25601e07 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 4ca6fde00..b5c46c315 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 2c6729c94..4effcd117 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 5c0b87243..bdc8a0adf 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 b0d3dfb88..fceadf74b 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 ab5e1dbde..a3626d806 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 0d1a2069e..b4716b997 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 3b0d4cbb6..36cd2645b 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 26a88d659..c11ff5fab 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 156f03b03..bfc30cbfc 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 131b281b0..832030bb9 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 9b50a45bc..bf84bbf90 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 3c128e6cd..1d6596245 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 806b55c30..2750dd3d3 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 6e0156ad7..a9c8d6f12 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 c8b063c79..d213b50a8 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 1f2762407..330f5b686 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 35635de15..28651658b 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 6ae823aa6..58a847388 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 d3e590443..7fec2faae 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 f9198041f..25cec1276 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 c2157c298..0005908d8 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 f6da2f693..80ae9655f 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 dfac50c59..2e314410a 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: {