@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
105 lines (104 loc) • 3.12 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
prefix?(_: {}): any;
anchor?(_: {}): any;
suffix?(_: {}): any;
default?(_: {}): any;
};
refs: {
navWrapRef: HTMLDivElement;
navsRef: HTMLDivElement;
bodyRef: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
modelValue: {
type: (NumberConstructor | StringConstructor)[];
default: undefined;
};
variant: {
type: import('vue').PropType<import('./types').TabVariantT>;
default: string;
};
size: {
type: import('vue').PropType<import('..').SizeT>;
};
lazy: {
type: BooleanConstructor;
};
addable: {
type: BooleanConstructor;
};
addInactive: {
type: BooleanConstructor;
};
line: {
type: BooleanConstructor;
default: boolean;
};
headerClass: {
type: import('vue').PropType<string | any[]>;
default: undefined;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
delete: (value: string | number) => any;
add: (evt: MouseEvent) => any;
change: (value: string | number, oldValue?: string | number | undefined) => any;
"update:modelValue": (value: string | number) => any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
modelValue: {
type: (NumberConstructor | StringConstructor)[];
default: undefined;
};
variant: {
type: import('vue').PropType<import('./types').TabVariantT>;
default: string;
};
size: {
type: import('vue').PropType<import('..').SizeT>;
};
lazy: {
type: BooleanConstructor;
};
addable: {
type: BooleanConstructor;
};
addInactive: {
type: BooleanConstructor;
};
line: {
type: BooleanConstructor;
default: boolean;
};
headerClass: {
type: import('vue').PropType<string | any[]>;
default: undefined;
};
}>> & Readonly<{
onDelete?: ((value: string | number) => any) | undefined;
onAdd?: ((evt: MouseEvent) => any) | undefined;
onChange?: ((value: string | number, oldValue?: string | number | undefined) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
}>, {
line: boolean;
variant: "solid" | "text";
lazy: boolean;
modelValue: string | number;
addable: boolean;
addInactive: boolean;
headerClass: string | any[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
navWrapRef: HTMLDivElement;
navsRef: HTMLDivElement;
bodyRef: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};