UNPKG

@velis/dynamicforms

Version:

Data entry boilerplate components and a RESTful API consumer

11 lines 1.17 kB
import { AxiosError } from 'axios'; import DfNotification from './df-notifications.vue'; declare const showNotification: (title: string, text: string, type?: string, duration?: number | undefined, id?: number | undefined, data?: object | undefined) => void; declare const showInfoNotification: (text: string, title?: string, duration?: number, id?: number, data?: object) => void; declare const showSuccessNotification: (text: string, title?: string, duration?: number, id?: number, data?: object) => void; declare const showWarningNotification: (text: string, title?: string, duration?: number, id?: number, data?: object) => void; declare const showErrorNotification: (text: string, title?: string, duration?: number, id?: number, data?: object) => void; declare const showNotificationFromAxiosException: (exc: AxiosError, duration?: number, id?: number, data?: object) => void; declare const closeNotification: (id: number) => void; export { DfNotification, closeNotification, showNotification, showInfoNotification, showSuccessNotification, showWarningNotification, showErrorNotification, showNotificationFromAxiosException, }; //# sourceMappingURL=index.d.ts.map