oui-kit
Version:
🎯 *UI toolkit with a French touch* 🇫🇷
54 lines (53 loc) • 1.72 kB
TypeScript
type __VLS_Props = {
title?: string;
description?: string;
required?: boolean;
id?: string;
disabled?: boolean;
placeholder?: string;
mentions?: string[];
bordered?: boolean;
allowCustomMentions?: boolean;
blocks?: boolean;
links?: boolean;
};
type __VLS_PublicProps = {
modelValue: string | undefined;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
title?(_: {}): any;
description?(_: {}): any;
};
refs: {
editorElement: HTMLDivElement;
toolbarFloating: HTMLDivElement;
mentionFloating: HTMLDivElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string | undefined) => any;
mention: (value: string) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
onMention?: ((value: string) => any) | undefined;
}>, {
links: boolean;
bordered: boolean;
allowCustomMentions: boolean;
blocks: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
editorElement: HTMLDivElement;
toolbarFloating: HTMLDivElement;
mentionFloating: 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;
};
};