@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>
97 lines (96 loc) • 2.87 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLUListElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
size: {
type: import('vue').PropType<import('./types').MenuSizeT>;
default: string;
};
accordion: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: StringConstructor;
};
defaultValue: {
type: StringConstructor;
default: string;
};
expanded: {
type: import('vue').PropType<Array<string>>;
};
defaultExpanded: {
type: import('vue').PropType<Array<string>>;
default: () => never[];
};
selectStrictly: {
type: BooleanConstructor;
default: boolean;
};
arrowPosition: {
type: import('vue').PropType<"left" | "right">;
default: string;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
change: (val: string) => any;
"update:modelValue": (val: string) => any;
"update:expanded": (val: string[]) => any;
"expanded-change": (val: string[]) => any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
size: {
type: import('vue').PropType<import('./types').MenuSizeT>;
default: string;
};
accordion: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: StringConstructor;
};
defaultValue: {
type: StringConstructor;
default: string;
};
expanded: {
type: import('vue').PropType<Array<string>>;
};
defaultExpanded: {
type: import('vue').PropType<Array<string>>;
default: () => never[];
};
selectStrictly: {
type: BooleanConstructor;
default: boolean;
};
arrowPosition: {
type: import('vue').PropType<"left" | "right">;
default: string;
};
}>> & Readonly<{
onChange?: ((val: string) => any) | undefined;
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
"onUpdate:expanded"?: ((val: string[]) => any) | undefined;
"onExpanded-change"?: ((val: string[]) => any) | undefined;
}>, {
size: "medium" | "small";
defaultValue: string;
accordion: boolean;
defaultExpanded: string[];
selectStrictly: boolean;
arrowPosition: "left" | "right";
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLUListElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};