Fixed #6252
parent
ea5a98daba
commit
eac0bfe591
|
@ -118,7 +118,7 @@ export interface AccordionProps {
|
||||||
* Value of the active panel or an array of values in multiple mode.
|
* Value of the active panel or an array of values in multiple mode.
|
||||||
* @defaultValue null
|
* @defaultValue null
|
||||||
*/
|
*/
|
||||||
value?: string | string[] | null | undefined;
|
value?: string | string[] | number | number[] | null | undefined;
|
||||||
/**
|
/**
|
||||||
* When enabled, multiple tabs can be activated at the same time.
|
* When enabled, multiple tabs can be activated at the same time.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default {
|
||||||
extends: BaseComponent,
|
extends: BaseComponent,
|
||||||
props: {
|
props: {
|
||||||
value: {
|
value: {
|
||||||
type: [String, Array],
|
type: [String, Number, Array],
|
||||||
default: undefined
|
default: undefined
|
||||||
},
|
},
|
||||||
multiple: {
|
multiple: {
|
||||||
|
|
|
@ -71,7 +71,7 @@ export interface AccordionPanelProps {
|
||||||
/**
|
/**
|
||||||
* Unique value of item.
|
* Unique value of item.
|
||||||
*/
|
*/
|
||||||
value: string;
|
value: string | number | undefined;
|
||||||
/**
|
/**
|
||||||
* Whether the item is disabled.
|
* Whether the item is disabled.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default {
|
||||||
extends: BaseComponent,
|
extends: BaseComponent,
|
||||||
props: {
|
props: {
|
||||||
value: {
|
value: {
|
||||||
type: String,
|
type: [String, Number],
|
||||||
default: undefined
|
default: undefined
|
||||||
},
|
},
|
||||||
disabled: {
|
disabled: {
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default {
|
||||||
extends: BaseComponent,
|
extends: BaseComponent,
|
||||||
props: {
|
props: {
|
||||||
value: {
|
value: {
|
||||||
type: String,
|
type: [String, Number],
|
||||||
default: undefined
|
default: undefined
|
||||||
},
|
},
|
||||||
disabled: {
|
disabled: {
|
||||||
|
|
|
@ -71,7 +71,7 @@ export interface TabProps {
|
||||||
/**
|
/**
|
||||||
* Value of tab.
|
* Value of tab.
|
||||||
*/
|
*/
|
||||||
value: string;
|
value: string | number;
|
||||||
/**
|
/**
|
||||||
* Whether the tab is disabled.
|
* Whether the tab is disabled.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
|
|
|
@ -8,7 +8,7 @@ export default {
|
||||||
props: {
|
props: {
|
||||||
// in Tabs
|
// in Tabs
|
||||||
value: {
|
value: {
|
||||||
type: String,
|
type: [String, Number],
|
||||||
default: undefined
|
default: undefined
|
||||||
},
|
},
|
||||||
as: {
|
as: {
|
||||||
|
|
|
@ -91,7 +91,7 @@ export interface TabPanelProps {
|
||||||
/**
|
/**
|
||||||
* Value of tabpanel.
|
* Value of tabpanel.
|
||||||
*/
|
*/
|
||||||
value: string;
|
value: string | number;
|
||||||
/**
|
/**
|
||||||
* Use to change the HTML tag of root element.
|
* Use to change the HTML tag of root element.
|
||||||
* @defaultValue DIV
|
* @defaultValue DIV
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default {
|
||||||
extends: BaseComponent,
|
extends: BaseComponent,
|
||||||
props: {
|
props: {
|
||||||
value: {
|
value: {
|
||||||
type: String,
|
type: [String, Number],
|
||||||
default: undefined
|
default: undefined
|
||||||
},
|
},
|
||||||
lazy: {
|
lazy: {
|
||||||
|
|
|
@ -88,7 +88,7 @@ export interface TabsProps {
|
||||||
/**
|
/**
|
||||||
* Value of the active tab.
|
* Value of the active tab.
|
||||||
*/
|
*/
|
||||||
value: string;
|
value: string | number;
|
||||||
/**
|
/**
|
||||||
* When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.
|
* When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
|
|
Loading…
Reference in New Issue