initial commit

This commit is contained in:
Torben Indorf
2020-02-02 13:47:47 +01:00
commit 2c2176937c
69 changed files with 13730 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
/**
* This line is necessary to declare all *.png imports as type any
*/
declare module '*.png'
+27
View File
@@ -0,0 +1,27 @@
import Vue from 'vue';
declare module 'vue/types/vue' {
interface Vue {
$notifySuccess: (title: string, text: string, duration?: number) => void;
$notifyError: (title: string, text: string, duration?: number) => void;
$notifyInfo: (title: string, text: string, duration?: number) => void;
$notifyWarning: (title: string, text: string, duration?: number) => void;
$notifySuccessSimplified: (key: string, duration?: number) => void;
$notifyErrorSimplified: (key: string, duration?: number) => void;
$notifyInfoSimplified: (key: string, duration?: number) => void;
$notifyWarningSimplified: (key: string, duration?: number) => void;
}
interface VueConstructor {
notifySuccess: (title: string, text: string, duration?: number) => void;
notifyError: (title: string, text: string, duration?: number) => void;
notifyInfo: (title: string, text: string, duration?: number) => void;
notifyWarning: (title: string, text: string, duration?: number) => void;
notifySuccessSimplified: (key: string, duration?: number) => void;
notifyErrorSimplified: (key: string, duration?: number) => void;
notifyInfoSimplified: (key: string, duration?: number) => void;
notifyWarningSimplified: (key: string, duration?: number) => void;
}
}