ivue-material-plus
Version:
A high quality UI components Library with Vue.js
80 lines (79 loc) • 2.08 kB
TypeScript
import type { PanelInstance } from './types/panel';
declare const _sfc_main: import("vue").DefineComponent<{
/**
* 当前激活的面板的 name
*
* @type {Array, String}
*/
modelValue: {
type: (StringConstructor | ArrayConstructor)[];
};
/**
* 是否开启简洁模式
*
* @type {Boolean}
*/
simple: {
type: BooleanConstructor;
default: boolean;
};
/**
* 是否开启手风琴效果
*
* @type {Boolean}
*/
accordion: {
type: BooleanConstructor;
default: boolean;
};
}, {
data: {
currentValue: string | string[];
childrenList: {
expandable: any[];
pushExpandable: (expandableListItem: PanelInstance) => void;
removeExpandable: (expandableListItem: PanelInstance) => void;
toggle: (obj: {
name: string;
isActive: boolean;
}) => void;
};
};
classes: import("vue").ComputedRef<(string | {
[x: string]: boolean;
})[]>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("on-change" | "update:modelValue")[], "on-change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* 当前激活的面板的 name
*
* @type {Array, String}
*/
modelValue: {
type: (StringConstructor | ArrayConstructor)[];
};
/**
* 是否开启简洁模式
*
* @type {Boolean}
*/
simple: {
type: BooleanConstructor;
default: boolean;
};
/**
* 是否开启手风琴效果
*
* @type {Boolean}
*/
accordion: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
"onOn-change"?: (...args: any[]) => any;
"onUpdate:modelValue"?: (...args: any[]) => any;
}, {
simple: boolean;
accordion: boolean;
}>;
export default _sfc_main;