diff options
author | Zero~Informatique | 2020-04-28 03:47:39 +0200 |
---|---|---|
committer | Zero~Informatique | 2020-04-28 03:47:50 +0200 |
commit | ccecfd9421f4550a71134cd46e1388e486f8c564 (patch) | |
tree | 9711ed24320150d24d85a124de3fd6177052eeb0 /viewer/src/plugins | |
parent | 113bff3c4dcc1976f24df16d4224e1871e665ae0 (diff) | |
download | ldgallery-ccecfd9421f4550a71134cd46e1388e486f8c564.tar.gz |
viewer: global formatting unification
Diffstat (limited to 'viewer/src/plugins')
-rw-r--r-- | viewer/src/plugins/buefy.ts | 16 | ||||
-rw-r--r-- | viewer/src/plugins/dragscroll.ts | 3 | ||||
-rw-r--r-- | viewer/src/plugins/fontawesome.ts | 48 |
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 @@ | |||
20 | import Vue from "vue"; | 20 | import Vue from "vue"; |
21 | 21 | ||
22 | // @ts-ignore | 22 | // @ts-ignore |
23 | import Taginput from 'buefy/src/components/taginput'; | 23 | import Taginput from "buefy/src/components/taginput"; |
24 | // @ts-ignore | 24 | // @ts-ignore |
25 | import Loading from 'buefy/src/components/loading'; | 25 | import Loading from "buefy/src/components/loading"; |
26 | // @ts-ignore | 26 | // @ts-ignore |
27 | import Button from 'buefy/src/components/button'; | 27 | import Button from "buefy/src/components/button"; |
28 | // @ts-ignore | 28 | // @ts-ignore |
29 | import SnackBar from 'buefy/src/components/snackbar'; | 29 | import SnackBar from "buefy/src/components/snackbar"; |
30 | 30 | ||
31 | import "@/assets/scss/buefy.scss"; | 31 | import "@/assets/scss/buefy.scss"; |
32 | 32 | ||
@@ -35,8 +35,8 @@ Vue.use(Loading); | |||
35 | Vue.use(Button); | 35 | Vue.use(Button); |
36 | Vue.use(SnackBar); | 36 | Vue.use(SnackBar); |
37 | 37 | ||
38 | declare module 'vue/types/vue' { | 38 | declare 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 | ||
20 | import Vue from "vue"; | 20 | import Vue from "vue"; |
21 | import VueDragscroll from 'vue-dragscroll'; | 21 | import VueDragscroll from "vue-dragscroll"; |
22 | 22 | ||
23 | Vue.use(VueDragscroll); | 23 | Vue.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"; | |||
22 | import { library, config } from "@fortawesome/fontawesome-svg-core"; | 22 | import { library, config } from "@fortawesome/fontawesome-svg-core"; |
23 | import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; | 23 | import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; |
24 | import { | 24 | import { |
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 | ||
39 | library.add( | 39 | library.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 | ||
54 | config.autoAddCss = false; | 54 | config.autoAddCss = false; |