UNPKG

@nethesis/vue-components

Version:

This library contains: - a collection of Vue 3 components based on [Flowbite](https://flowbite.com/) - a set of utility functions

86 lines 2.39 kB
import { type PropType } from 'vue'; export interface NeNotification { id: string; kind: 'info' | 'warning' | 'error' | 'success'; title: string; description?: string; timestamp?: Date; payload?: any; isShown?: boolean; primaryLabel?: string; primaryAction?: (...args: any[]) => void; secondaryLabel?: string; secondaryAction?: (...args: any[]) => void; } declare var __VLS_8: {}; type __VLS_Slots = {} & { icon?: (props: typeof __VLS_8) => any; }; declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ notification: { type: PropType<NeNotification>; required: true; }; srCloseLabel: { type: StringConstructor; required: true; }; primaryButtonRightAligned: { type: BooleanConstructor; default: boolean; }; showCloseButton: { type: BooleanConstructor; default: boolean; }; showTimestamp: { type: BooleanConstructor; default: boolean; }; fullWidth: { type: BooleanConstructor; default: boolean; }; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { close: (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ notification: { type: PropType<NeNotification>; required: true; }; srCloseLabel: { type: StringConstructor; required: true; }; primaryButtonRightAligned: { type: BooleanConstructor; default: boolean; }; showCloseButton: { type: BooleanConstructor; default: boolean; }; showTimestamp: { type: BooleanConstructor; default: boolean; }; fullWidth: { type: BooleanConstructor; default: boolean; }; }>> & Readonly<{ onClose?: ((...args: any[]) => any) | undefined; }>, { fullWidth: boolean; showCloseButton: boolean; primaryButtonRightAligned: boolean; showTimestamp: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; }; //# sourceMappingURL=NeToastNotification.vue.d.ts.map