aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/plugins
diff options
context:
space:
mode:
authorZero~Informatique2020-04-28 03:47:39 +0200
committerZero~Informatique2020-04-28 03:47:50 +0200
commitccecfd9421f4550a71134cd46e1388e486f8c564 (patch)
tree9711ed24320150d24d85a124de3fd6177052eeb0 /viewer/src/plugins
parent113bff3c4dcc1976f24df16d4224e1871e665ae0 (diff)
downloadldgallery-ccecfd9421f4550a71134cd46e1388e486f8c564.tar.gz
viewer: global formatting unification
Diffstat (limited to 'viewer/src/plugins')
-rw-r--r--viewer/src/plugins/buefy.ts16
-rw-r--r--viewer/src/plugins/dragscroll.ts3
-rw-r--r--viewer/src/plugins/fontawesome.ts48
3 files changed, 33 insertions, 34 deletions
diff --git a/viewer/src/plugins/buefy.ts b/viewer/src/plugins/buefy.ts
index ebdf64e..0f8e16b 100644
--- a/viewer/src/plugins/buefy.ts
+++ b/viewer/src/plugins/buefy.ts
@@ -20,13 +20,13 @@
20import Vue from "vue"; 20import Vue from "vue";
21 21
22// @ts-ignore 22// @ts-ignore
23import Taginput from 'buefy/src/components/taginput'; 23import Taginput from "buefy/src/components/taginput";
24// @ts-ignore 24// @ts-ignore
25import Loading from 'buefy/src/components/loading'; 25import Loading from "buefy/src/components/loading";
26// @ts-ignore 26// @ts-ignore
27import Button from 'buefy/src/components/button'; 27import Button from "buefy/src/components/button";
28// @ts-ignore 28// @ts-ignore
29import SnackBar from 'buefy/src/components/snackbar'; 29import SnackBar from "buefy/src/components/snackbar";
30 30
31import "@/assets/scss/buefy.scss"; 31import "@/assets/scss/buefy.scss";
32 32
@@ -35,8 +35,8 @@ Vue.use(Loading);
35Vue.use(Button); 35Vue.use(Button);
36Vue.use(SnackBar); 36Vue.use(SnackBar);
37 37
38declare module 'vue/types/vue' { 38declare module "vue/types/vue" {
39 interface Vue { 39 interface Vue {
40 $buefy: any; 40 $buefy: any;
41 } 41 }
42} 42}
diff --git a/viewer/src/plugins/dragscroll.ts b/viewer/src/plugins/dragscroll.ts
index f6d88bb..a10b0fd 100644
--- a/viewer/src/plugins/dragscroll.ts
+++ b/viewer/src/plugins/dragscroll.ts
@@ -18,7 +18,6 @@
18*/ 18*/
19 19
20import Vue from "vue"; 20import Vue from "vue";
21import VueDragscroll from 'vue-dragscroll'; 21import VueDragscroll from "vue-dragscroll";
22 22
23Vue.use(VueDragscroll); 23Vue.use(VueDragscroll);
24
diff --git a/viewer/src/plugins/fontawesome.ts b/viewer/src/plugins/fontawesome.ts
index cc8b7ab..480e8e0 100644
--- a/viewer/src/plugins/fontawesome.ts
+++ b/viewer/src/plugins/fontawesome.ts
@@ -22,33 +22,33 @@ import Vue from "vue";
22import { library, config } from "@fortawesome/fontawesome-svg-core"; 22import { library, config } from "@fortawesome/fontawesome-svg-core";
23import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; 23import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
24import { 24import {
25 faFolder, 25 faFolder,
26 faEraser, 26 faEraser,
27 faSearch, 27 faSearch,
28 faPlus, 28 faPlus,
29 faMinus, 29 faMinus,
30 faImage, 30 faImage,
31 faHome, 31 faHome,
32 faArrowLeft, 32 faArrowLeft,
33 faLevelUpAlt, 33 faLevelUpAlt,
34 faAngleRight, 34 faAngleRight,
35 faAngleDoubleLeft, 35 faAngleDoubleLeft,
36 faFile, 36 faFile,
37} from "@fortawesome/free-solid-svg-icons"; 37} from "@fortawesome/free-solid-svg-icons";
38 38
39library.add( 39library.add(
40 faFolder, 40 faFolder,
41 faEraser, 41 faEraser,
42 faSearch, 42 faSearch,
43 faPlus, 43 faPlus,
44 faMinus, 44 faMinus,
45 faImage, 45 faImage,
46 faHome, 46 faHome,
47 faArrowLeft, 47 faArrowLeft,
48 faLevelUpAlt, 48 faLevelUpAlt,
49 faAngleRight, 49 faAngleRight,
50 faAngleDoubleLeft, 50 faAngleDoubleLeft,
51 faFile, 51 faFile,
52); 52);
53 53
54config.autoAddCss = false; 54config.autoAddCss = false;