oui-kit
Version:
🎯 *UI toolkit with a French touch* 🇫🇷
47 lines (46 loc) • 1.55 kB
TypeScript
import { DayValue } from 'zeed';
type __VLS_Props = {
title?: string;
description?: string;
required?: boolean;
id?: string;
editable?: boolean;
disabled?: boolean;
clearable?: boolean;
validator?: (text: string) => DayValue | undefined;
placeholderDay?: DayValue;
showArrows?: boolean;
formatter?: (day: DayValue) => string;
};
type __VLS_PublicProps = {
modelValue?: DayValue | undefined;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
title?(_: {}): any;
description?(_: {}): any;
selectors?(_: {}): any;
footer?(_: {}): any;
default?(_: {}): any;
};
refs: {
targetRef: 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: number | undefined) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
targetRef: 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;
};
};