@volverjs/ui-vue
Version:
@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.
124 lines (123 loc) • 3.48 kB
TypeScript
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
modifiers: {
type: PropType<import("../..").AlertModifier | import("../..").AlertModifier[]>;
default: undefined;
};
dismissable: {
type: BooleanConstructor;
default: boolean;
};
autoClose: {
type: NumberConstructor;
default: number;
};
closeLabel: {
type: StringConstructor;
default: string;
};
title: {
type: StringConstructor;
default: undefined;
};
content: {
type: StringConstructor;
default: undefined;
};
footer: {
type: StringConstructor;
default: undefined;
};
role: {
type: PropType<`${import("../../constants").AlertRole}`>;
default: import("../../constants").AlertRole;
};
icon: {
type: PropType<string | import("../VvIcon").VvIconProps>;
default: undefined;
};
iconPosition: {
type: PropType<`${import("../../constants").Position}`>;
default: import("../../constants").Position;
validation: (value: import("../../constants").Position) => boolean;
};
id: (StringConstructor | NumberConstructor)[];
}>, {
close: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
modifiers: {
type: PropType<import("../..").AlertModifier | import("../..").AlertModifier[]>;
default: undefined;
};
dismissable: {
type: BooleanConstructor;
default: boolean;
};
autoClose: {
type: NumberConstructor;
default: number;
};
closeLabel: {
type: StringConstructor;
default: string;
};
title: {
type: StringConstructor;
default: undefined;
};
content: {
type: StringConstructor;
default: undefined;
};
footer: {
type: StringConstructor;
default: undefined;
};
role: {
type: PropType<`${import("../../constants").AlertRole}`>;
default: import("../../constants").AlertRole;
};
icon: {
type: PropType<string | import("../VvIcon").VvIconProps>;
default: undefined;
};
iconPosition: {
type: PropType<`${import("../../constants").Position}`>;
default: import("../../constants").Position;
validation: (value: import("../../constants").Position) => boolean;
};
id: (StringConstructor | NumberConstructor)[];
}>> & Readonly<{}>, {
title: string;
content: string;
modifiers: string | string[];
footer: string;
role: "alert" | "alertdialog";
dismissable: boolean;
autoClose: number;
closeLabel: string;
icon: string | import("../VvIcon").VvIconProps;
iconPosition: "before" | "after";
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
header?: (props: {}) => any;
} & {
'title::before'?: (props: {}) => any;
} & {
title?: (props: {}) => any;
} & {
'title::after'?: (props: {}) => any;
} & {
close?: (props: {
close: () => void;
}) => any;
} & {
default?: (props: {}) => any;
} & {
footer?: (props: {}) => any;
}>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};