UNPKG

oui-kit

Version:

🎯 *UI toolkit with a French touch* 🇫🇷

102 lines (101 loc) • 5.17 kB
type __VLS_Props = { title?: string; message: string; mode: 'alert' | 'prompt' | 'confirm' | 'dialog'; cancel?: string; confirm?: string; done?: any; placeholder?: string; defaultValue?: string; }; declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { ok: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly title?: string | undefined; readonly mode?: "primary" | "danger" | "neutral" | "success" | "ghost" | "outline" | undefined; readonly size?: "small" | "normal" | "large" | undefined; readonly dropdown?: boolean | undefined; readonly outline?: boolean | undefined; readonly href?: string | undefined; readonly target?: string | undefined; readonly disabled?: boolean | undefined; readonly focusable?: boolean | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import('vue').Slot<any> | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import('vue').ComponentOptionsBase<Readonly<{ title?: string; mode?: "primary" | "danger" | "neutral" | "success" | "ghost" | "outline"; size?: "small" | "normal" | "large"; dropdown?: boolean; outline?: boolean; href?: string; target?: string; disabled?: boolean; focusable?: boolean; }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, { size: "small" | "normal" | "large"; mode: "primary" | "danger" | "neutral" | "success" | "ghost" | "outline"; target: string; outline: boolean; dropdown: boolean; disabled: boolean; focusable: boolean; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ size: "small" | "normal" | "large"; mode: "primary" | "danger" | "neutral" | "success" | "ghost" | "outline"; target: string; outline: boolean; dropdown: boolean; disabled: boolean; focusable: boolean; }> & Omit<Readonly<{ title?: string; mode?: "primary" | "danger" | "neutral" | "success" | "ghost" | "outline"; size?: "small" | "normal" | "large"; dropdown?: boolean; outline?: boolean; href?: string; target?: string; disabled?: boolean; focusable?: boolean; }> & Readonly<{}>, "size" | "mode" | "target" | "outline" | "dropdown" | "disabled" | "focusable"> & {} & import('vue').ComponentCustomProperties & {} & { $slots: { default?(_: {}): any; default?(_: {}): any; }; }) | null; }, any>; export default _default;