@opensig/opendesign
Version:
128 lines (127 loc) • 3.86 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
dropdown?(_: {}): any;
};
refs: {
dropdownRef: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
visible: {
type: BooleanConstructor;
};
defaultVisible: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: import('vue').PropType<import('..').SizeT>;
default: string;
};
round: {
type: import('vue').PropType<import('..').RoundT>;
};
trigger: {
type: import('vue').PropType<import('..').PopupTriggerT>;
default: string;
};
optionPosition: {
type: import('vue').PropType<import('..').PopupPositionT>;
default: string;
};
optionWidthMode: {
type: import('vue').PropType<"auto" | "min-width" | "width">;
default: string;
};
optionsWrapper: {
type: import('vue').PropType<string | HTMLElement | null>;
default: string;
};
optionWrapClass: {
type: import('vue').PropType<string | {
[k: string]: boolean;
} | Array<{
[k: string]: boolean;
} | string>>;
};
unmountOnHide: {
type: BooleanConstructor;
default: boolean;
};
transition: {
type: StringConstructor;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
"update:visible": (val: boolean) => any;
"visible-change": (val: boolean) => any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
visible: {
type: BooleanConstructor;
};
defaultVisible: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: import('vue').PropType<import('..').SizeT>;
default: string;
};
round: {
type: import('vue').PropType<import('..').RoundT>;
};
trigger: {
type: import('vue').PropType<import('..').PopupTriggerT>;
default: string;
};
optionPosition: {
type: import('vue').PropType<import('..').PopupPositionT>;
default: string;
};
optionWidthMode: {
type: import('vue').PropType<"auto" | "min-width" | "width">;
default: string;
};
optionsWrapper: {
type: import('vue').PropType<string | HTMLElement | null>;
default: string;
};
optionWrapClass: {
type: import('vue').PropType<string | {
[k: string]: boolean;
} | Array<{
[k: string]: boolean;
} | string>>;
};
unmountOnHide: {
type: BooleanConstructor;
default: boolean;
};
transition: {
type: StringConstructor;
};
}>> & Readonly<{
"onUpdate:visible"?: ((val: boolean) => any) | undefined;
"onVisible-change"?: ((val: boolean) => any) | undefined;
}>, {
size: "large" | "medium" | "small";
visible: boolean;
trigger: "none" | "click" | "contextmenu" | "focus" | "click-outclick" | "hover" | "hover-outclick";
unmountOnHide: boolean;
optionPosition: "left" | "right" | "top" | "bottom" | "br" | "rt" | "tr" | "rb" | "tl" | "bl" | "lt" | "lb";
optionWidthMode: "width" | "auto" | "min-width";
optionsWrapper: string | HTMLElement | null;
defaultVisible: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
dropdownRef: 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;
};
};