@vchatcloud/vue-ui-kit
Version:
VChatCloud UI Kit for vue integration
47 lines (46 loc) • 1.49 kB
TypeScript
type __VLS_Props = {
title?: string;
contents?: string;
needCancelButton?: boolean;
needSubmitButton?: boolean;
cancelButtonText?: string;
submitButtonText?: string;
teleportTo?: string;
enableOutsideClickClosePopup?: boolean;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
popup: HTMLDivElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: (...args: any[]) => void;
submit: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
}>, {
title: string;
contents: string;
needCancelButton: boolean;
needSubmitButton: boolean;
cancelButtonText: string;
submitButtonText: string;
teleportTo: string;
enableOutsideClickClosePopup: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
popup: HTMLDivElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};