diff options
-rw-r--r-- | readme.md | 2 | ||||
-rw-r--r-- | viewer/package.json | 56 | ||||
-rw-r--r-- | viewer/src/services/ldzoom.ts | 2 | ||||
-rw-r--r-- | viewer/src/store/galleryStore.ts | 2 | ||||
-rw-r--r-- | viewer/yarn.lock | 1118 |
5 files changed, 711 insertions, 469 deletions
@@ -55,10 +55,8 @@ Builds of this software embed and make use of the following libraries: | |||
55 | * fortawesome/free-regular-svg-icons, licensed under the CC-BY-4.0 and MIT Licenses | 55 | * fortawesome/free-regular-svg-icons, licensed under the CC-BY-4.0 and MIT Licenses |
56 | * fortawesome/vue-fontawesome, licensed under the MIT License | 56 | * fortawesome/vue-fontawesome, licensed under the MIT License |
57 | * buefy, licensed under the MIT License | 57 | * buefy, licensed under the MIT License |
58 | * core-js, licensed under the MIT License | ||
59 | * hammerjs, licensed under the MIT License | 58 | * hammerjs, licensed under the MIT License |
60 | * marked, licensed under the MITÂ License | 59 | * marked, licensed under the MITÂ License |
61 | * resize-observer-polyfill, licensed under the MIT License | ||
62 | * v-lazy-image, licensed under the MIT License | 60 | * v-lazy-image, licensed under the MIT License |
63 | * vue, licensed under the MIT License | 61 | * vue, licensed under the MIT License |
64 | * vue-class-component, licensed under the MIT License | 62 | * vue-class-component, licensed under the MIT License |
diff --git a/viewer/package.json b/viewer/package.json index f427ef5..905222b 100644 --- a/viewer/package.json +++ b/viewer/package.json | |||
@@ -6,7 +6,7 @@ | |||
6 | "private": true, | 6 | "private": true, |
7 | "scripts": { | 7 | "scripts": { |
8 | "serve": "vue-cli-service serve", | 8 | "serve": "vue-cli-service serve", |
9 | "build": "vue-cli-service build --modern", | 9 | "build": "vue-cli-service build", |
10 | "build:report": "vue-cli-service build --report", | 10 | "build:report": "vue-cli-service build --report", |
11 | "lint": "vue-cli-service lint --no-fix --max-warnings 0", | 11 | "lint": "vue-cli-service lint --no-fix --max-warnings 0", |
12 | "lint-autoformat": "vue-cli-service lint --fix", | 12 | "lint-autoformat": "vue-cli-service lint --fix", |
@@ -17,44 +17,42 @@ | |||
17 | "@fortawesome/free-solid-svg-icons": "5.14.0", | 17 | "@fortawesome/free-solid-svg-icons": "5.14.0", |
18 | "@fortawesome/free-regular-svg-icons": "5.14.0", | 18 | "@fortawesome/free-regular-svg-icons": "5.14.0", |
19 | "@fortawesome/vue-fontawesome": "2.0.0", | 19 | "@fortawesome/vue-fontawesome": "2.0.0", |
20 | "@types/hammerjs": "2.0.36", | 20 | "@types/hammerjs": "2.0.39", |
21 | "@types/marked": "1.1.0", | 21 | "@types/marked": "2.0.3", |
22 | "buefy": "0.8.15", | 22 | "buefy": "0.8.15", |
23 | "core-js": "3.6.5", | ||
24 | "hammerjs": "2.0.8", | 23 | "hammerjs": "2.0.8", |
25 | "marked": "1.1.1", | 24 | "marked": "2.1.3", |
26 | "resize-observer-polyfill": "1.5.1", | ||
27 | "v-lazy-image": "1.4.0", | 25 | "v-lazy-image": "1.4.0", |
28 | "vue": "2.6.12", | 26 | "vue": "2.6.14", |
29 | "vue-class-component": "7.2.5", | 27 | "vue-class-component": "7.2.6", |
30 | "vue-dragscroll": "2.1.0", | 28 | "vue-dragscroll": "2.1.0", |
31 | "vue-i18n": "8.21.0", | 29 | "vue-i18n": "8.24.5", |
32 | "vue-property-decorator": "9.0.0", | 30 | "vue-property-decorator": "9.1.2", |
33 | "vue-router": "3.4.3", | 31 | "vue-router": "3.5.2", |
34 | "vuex": "3.5.1", | 32 | "vuex": "3.6.2", |
35 | "vuex-class-component": "2.3.5" | 33 | "vuex-class-component": "2.3.5" |
36 | }, | 34 | }, |
37 | "devDependencies": { | 35 | "devDependencies": { |
38 | "@types/webpack": "4.41.29", | 36 | "@types/webpack": "4.41.29", |
39 | "@typescript-eslint/eslint-plugin": "2.34.0", | 37 | "@typescript-eslint/eslint-plugin": "4.21.0", |
40 | "@typescript-eslint/parser": "2.34.0", | 38 | "@typescript-eslint/parser": "4.21.0", |
41 | "@vue/cli-plugin-babel": "4.4.6", | 39 | "@vue/cli-plugin-babel": "4.5.13", |
42 | "@vue/cli-plugin-eslint": "4.4.6", | 40 | "@vue/cli-plugin-eslint": "4.5.13", |
43 | "@vue/cli-plugin-router": "4.4.6", | 41 | "@vue/cli-plugin-router": "4.5.13", |
44 | "@vue/cli-plugin-typescript": "4.4.6", | 42 | "@vue/cli-plugin-typescript": "4.5.13", |
45 | "@vue/cli-plugin-vuex": "4.4.6", | 43 | "@vue/cli-plugin-vuex": "4.5.13", |
46 | "@vue/cli-service": "4.4.6", | 44 | "@vue/cli-service": "4.5.13", |
47 | "@vue/eslint-config-typescript": "5.0.2", | 45 | "@vue/eslint-config-typescript": "7.0.0", |
48 | "eslint": "6.8.0", | 46 | "eslint": "7.23.0", |
49 | "eslint-config-prettier": "6.11.0", | 47 | "eslint-config-prettier": "8.1.0", |
50 | "eslint-plugin-prettier": "3.1.4", | 48 | "eslint-plugin-prettier": "3.3.1", |
51 | "eslint-plugin-vue": "6.2.2", | 49 | "eslint-plugin-vue": "7.8.0", |
52 | "node-sass": "4.14.1", | 50 | "node-sass": "4.14.1", |
53 | "sass-loader": "8.0.2", | 51 | "sass-loader": "8.0.2", |
54 | "typescript": "3.9.5", | 52 | "typescript": "4.2.4", |
55 | "vue-cli-plugin-buefy": "0.3.7", | 53 | "vue-cli-plugin-buefy": "0.3.8", |
56 | "vue-cli-plugin-fontawesome": "0.2.0", | 54 | "vue-cli-plugin-fontawesome": "0.2.0", |
57 | "vue-cli-plugin-i18n": "1.0.1", | 55 | "vue-cli-plugin-i18n": "2.1.1", |
58 | "vue-template-compiler": "2.6.12" | 56 | "vue-template-compiler": "2.6.14" |
59 | } | 57 | } |
60 | } | 58 | } |
diff --git a/viewer/src/services/ldzoom.ts b/viewer/src/services/ldzoom.ts index 22d4699..0fb0848 100644 --- a/viewer/src/services/ldzoom.ts +++ b/viewer/src/services/ldzoom.ts | |||
@@ -17,8 +17,6 @@ | |||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | 17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | // polyfill still required for IE and Safari, see https://caniuse.com/#feat=resizeobserver | ||
21 | import ResizeObserver from "resize-observer-polyfill"; | ||
22 | import "hammerjs"; | 20 | import "hammerjs"; |
23 | 21 | ||
24 | /** | 22 | /** |
diff --git a/viewer/src/store/galleryStore.ts b/viewer/src/store/galleryStore.ts index 5d599aa..6d64e12 100644 --- a/viewer/src/store/galleryStore.ts +++ b/viewer/src/store/galleryStore.ts | |||
@@ -126,7 +126,7 @@ export default class GalleryStore extends VuexModule { | |||
126 | } | 126 | } |
127 | 127 | ||
128 | private static getUrlConfig() { | 128 | private static getUrlConfig() { |
129 | let search = window.location.search; | 129 | const search = window.location.search; |
130 | if (search.length > 1) return search.substr(1) + ".json"; | 130 | if (search.length > 1) return search.substr(1) + ".json"; |
131 | return "config.json"; | 131 | return "config.json"; |
132 | } | 132 | } |
diff --git a/viewer/yarn.lock b/viewer/yarn.lock index d6cceba..cae4bad 100644 --- a/viewer/yarn.lock +++ b/viewer/yarn.lock | |||
@@ -2,7 +2,14 @@ | |||
2 | # yarn lockfile v1 | 2 | # yarn lockfile v1 |
3 | 3 | ||
4 | 4 | ||
5 | "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.14.5": | 5 | "@babel/code-frame@7.12.11": |
6 | version "7.12.11" | ||
7 | resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" | ||
8 | integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw== | ||
9 | dependencies: | ||
10 | "@babel/highlight" "^7.10.4" | ||
11 | |||
12 | "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.14.5", "@babel/code-frame@^7.8.3": | ||
6 | version "7.14.5" | 13 | version "7.14.5" |
7 | resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb" | 14 | resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb" |
8 | integrity sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw== | 15 | integrity sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw== |
@@ -14,7 +21,7 @@ | |||
14 | resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.7.tgz#7b047d7a3a89a67d2258dc61f604f098f1bc7e08" | 21 | resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.7.tgz#7b047d7a3a89a67d2258dc61f604f098f1bc7e08" |
15 | integrity sha512-nS6dZaISCXJ3+518CWiBfEr//gHyMO02uDxBkXTKZDN5POruCnOZ1N4YBRZDCabwF8nZMWBpRxIicmXtBs+fvw== | 22 | integrity sha512-nS6dZaISCXJ3+518CWiBfEr//gHyMO02uDxBkXTKZDN5POruCnOZ1N4YBRZDCabwF8nZMWBpRxIicmXtBs+fvw== |
16 | 23 | ||
17 | "@babel/core@^7.11.0", "@babel/core@^7.9.6": | 24 | "@babel/core@^7.11.0": |
18 | version "7.14.6" | 25 | version "7.14.6" |
19 | resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.6.tgz#e0814ec1a950032ff16c13a2721de39a8416fcab" | 26 | resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.6.tgz#e0814ec1a950032ff16c13a2721de39a8416fcab" |
20 | integrity sha512-gJnOEWSqTk96qG5BoIrl5bVtc23DCycmIePPYnamY9RboYdI4nFy5vAQMSl81O5K/W0sLDWfGysnOECC+KUUCA== | 27 | integrity sha512-gJnOEWSqTk96qG5BoIrl5bVtc23DCycmIePPYnamY9RboYdI4nFy5vAQMSl81O5K/W0sLDWfGysnOECC+KUUCA== |
@@ -242,7 +249,7 @@ | |||
242 | "@babel/traverse" "^7.14.5" | 249 | "@babel/traverse" "^7.14.5" |
243 | "@babel/types" "^7.14.5" | 250 | "@babel/types" "^7.14.5" |
244 | 251 | ||
245 | "@babel/highlight@^7.14.5": | 252 | "@babel/highlight@^7.10.4", "@babel/highlight@^7.14.5": |
246 | version "7.14.5" | 253 | version "7.14.5" |
247 | resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9" | 254 | resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9" |
248 | integrity sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg== | 255 | integrity sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg== |
@@ -903,6 +910,21 @@ | |||
903 | "@babel/helper-validator-identifier" "^7.14.5" | 910 | "@babel/helper-validator-identifier" "^7.14.5" |
904 | to-fast-properties "^2.0.0" | 911 | to-fast-properties "^2.0.0" |
905 | 912 | ||
913 | "@eslint/eslintrc@^0.4.0": | ||
914 | version "0.4.2" | ||
915 | resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.2.tgz#f63d0ef06f5c0c57d76c4ab5f63d3835c51b0179" | ||
916 | integrity sha512-8nmGq/4ycLpIwzvhI4tNDmQztZ8sp+hI7cyG8i1nQDhkAbRzHpXPidRAHlNvCZQpJTKw5ItIpMw9RSToGF00mg== | ||
917 | dependencies: | ||
918 | ajv "^6.12.4" | ||
919 | debug "^4.1.1" | ||
920 | espree "^7.3.0" | ||
921 | globals "^13.9.0" | ||
922 | ignore "^4.0.6" | ||
923 | import-fresh "^3.2.1" | ||
924 | js-yaml "^3.13.1" | ||
925 | minimatch "^3.0.4" | ||
926 | strip-json-comments "^3.1.1" | ||
927 | |||
906 | "@fortawesome/fontawesome-common-types@^0.2.30": | 928 | "@fortawesome/fontawesome-common-types@^0.2.30": |
907 | version "0.2.35" | 929 | version "0.2.35" |
908 | resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.35.tgz#01dd3d054da07a00b764d78748df20daf2b317e9" | 930 | resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.35.tgz#01dd3d054da07a00b764d78748df20daf2b317e9" |
@@ -983,11 +1005,32 @@ | |||
983 | call-me-maybe "^1.0.1" | 1005 | call-me-maybe "^1.0.1" |
984 | glob-to-regexp "^0.3.0" | 1006 | glob-to-regexp "^0.3.0" |
985 | 1007 | ||
1008 | "@nodelib/fs.scandir@2.1.5": | ||
1009 | version "2.1.5" | ||
1010 | resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" | ||
1011 | integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== | ||
1012 | dependencies: | ||
1013 | "@nodelib/fs.stat" "2.0.5" | ||
1014 | run-parallel "^1.1.9" | ||
1015 | |||
1016 | "@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": | ||
1017 | version "2.0.5" | ||
1018 | resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" | ||
1019 | integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== | ||
1020 | |||
986 | "@nodelib/fs.stat@^1.1.2": | 1021 | "@nodelib/fs.stat@^1.1.2": |
987 | version "1.1.3" | 1022 | version "1.1.3" |
988 | resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" | 1023 | resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" |
989 | integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== | 1024 | integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== |
990 | 1025 | ||
1026 | "@nodelib/fs.walk@^1.2.3": | ||
1027 | version "1.2.7" | ||
1028 | resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.7.tgz#94c23db18ee4653e129abd26fb06f870ac9e1ee2" | ||
1029 | integrity sha512-BTIhocbPBSrRmHxOAJFtR18oLhxTtAFDAvL8hY1S3iU8k+E60W/YFs4jrixGzQjMpF4qPXxIQHcjVD9dz1C2QA== | ||
1030 | dependencies: | ||
1031 | "@nodelib/fs.scandir" "2.1.5" | ||
1032 | fastq "^1.6.0" | ||
1033 | |||
991 | "@soda/friendly-errors-webpack-plugin@^1.7.1": | 1034 | "@soda/friendly-errors-webpack-plugin@^1.7.1": |
992 | version "1.8.0" | 1035 | version "1.8.0" |
993 | resolved "https://registry.yarnpkg.com/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.0.tgz#84751d82a93019d5c92c0cf0e45ac59087cd2240" | 1036 | resolved "https://registry.yarnpkg.com/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.0.tgz#84751d82a93019d5c92c0cf0e45ac59087cd2240" |
@@ -1003,10 +1046,47 @@ | |||
1003 | resolved "https://registry.yarnpkg.com/@soda/get-current-script/-/get-current-script-1.0.2.tgz#a53515db25d8038374381b73af20bb4f2e508d87" |