diff options
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/ldgallery-viewer.7.md | 2 | ||||
-rw-r--r-- | viewer/package.json | 18 | ||||
-rw-r--r-- | viewer/src/views/ItemThumbnail.vue | 2 | ||||
-rw-r--r-- | viewer/src/views/item_handlers/AudioViewer.vue | 11 | ||||
-rw-r--r-- | viewer/yarn.lock | 1490 |
5 files changed, 795 insertions, 728 deletions
diff --git a/viewer/ldgallery-viewer.7.md b/viewer/ldgallery-viewer.7.md index 00435bc..c0634b6 100644 --- a/viewer/ldgallery-viewer.7.md +++ b/viewer/ldgallery-viewer.7.md | |||
@@ -2,7 +2,7 @@ | |||
2 | pagetitle: Viewer user manual - ldgallery | 2 | pagetitle: Viewer user manual - ldgallery |
3 | title: LDGALLERY-VIEWER(7) ldgallery | 3 | title: LDGALLERY-VIEWER(7) ldgallery |
4 | author: Pacien TRAN-GIRARD, Guillaume FOUET | 4 | author: Pacien TRAN-GIRARD, Guillaume FOUET |
5 | date: 2020-09-24 (v2.0) | 5 | date: 2022-09-04 (v2.1) |
6 | --- | 6 | --- |
7 | 7 | ||
8 | 8 | ||
diff --git a/viewer/package.json b/viewer/package.json index e6a1477..4850db6 100644 --- a/viewer/package.json +++ b/viewer/package.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "name": "ldgallery-viewer", | 2 | "name": "ldgallery-viewer", |
3 | "version": "3.0.0", | 3 | "version": "2.1.0", |
4 | "private": true, | 4 | "private": true, |
5 | "scripts": { | 5 | "scripts": { |
6 | "serve": "vue-cli-service serve", | 6 | "serve": "vue-cli-service serve", |
@@ -12,21 +12,21 @@ | |||
12 | "@fortawesome/fontawesome-svg-core": "6.1.2", | 12 | "@fortawesome/fontawesome-svg-core": "6.1.2", |
13 | "@fortawesome/free-solid-svg-icons": "6.1.2", | 13 | "@fortawesome/free-solid-svg-icons": "6.1.2", |
14 | "@fortawesome/vue-fontawesome": "3.0.1", | 14 | "@fortawesome/vue-fontawesome": "3.0.1", |
15 | "@vueuse/core": "9.1.1", | 15 | "@vueuse/core": "9.3.1", |
16 | "core-js": "3.25.0", | 16 | "core-js": "3.25.0", |
17 | "hammerjs": "2.0.8", | 17 | "hammerjs": "2.0.8", |
18 | "marked": "4.0.19", | 18 | "marked": "4.1.1", |
19 | "mosha-vue-toastify": "1.0.23", | 19 | "mosha-vue-toastify": "1.0.23", |
20 | "pinia": "2.0.21", | 20 | "pinia": "2.0.23", |
21 | "v-lazy-image": "2.1.1", | 21 | "v-lazy-image": "2.1.1", |
22 | "vue": "3.2.37", | 22 | "vue": "3.2.41", |
23 | "vue-dragscroll": "4.0.4", | 23 | "vue-dragscroll": "4.0.4", |
24 | "vue-i18n": "9.1.10", | 24 | "vue-i18n": "9.1.10", |
25 | "vue-router": "4.1.5" | 25 | "vue-router": "4.1.6" |
26 | }, | 26 | }, |
27 | "devDependencies": { | 27 | "devDependencies": { |
28 | "@types/hammerjs": "2.0.41", | 28 | "@types/hammerjs": "2.0.41", |
29 | "@types/marked": "4.0.6", | 29 | "@types/marked": "4.0.7", |
30 | "@typescript-eslint/eslint-plugin": "5.31.0", | 30 | "@typescript-eslint/eslint-plugin": "5.31.0", |
31 | "@typescript-eslint/parser": "5.31.0", | 31 | "@typescript-eslint/parser": "5.31.0", |
32 | "@vue/cli-plugin-babel": "5.0.8", | 32 | "@vue/cli-plugin-babel": "5.0.8", |
@@ -44,8 +44,8 @@ | |||
44 | "js-yaml-loader": "1.2.2", | 44 | "js-yaml-loader": "1.2.2", |
45 | "sass": "1.54.0", | 45 | "sass": "1.54.0", |
46 | "sass-loader": "13.0.2", | 46 | "sass-loader": "13.0.2", |
47 | "typescript": "4.7.4", | 47 | "typescript": "4.8.4", |
48 | "vue-cli-plugin-pinia": "0.1.4" | 48 | "vue-cli-plugin-pinia": "0.1.6" |
49 | }, | 49 | }, |
50 | "homepage": "https://ldgallery.pacien.org/", | 50 | "homepage": "https://ldgallery.pacien.org/", |
51 | "license": "AGPL-3" | 51 | "license": "AGPL-3" |
diff --git a/viewer/src/views/ItemThumbnail.vue b/viewer/src/views/ItemThumbnail.vue index 1c9e206..bf33043 100644 --- a/viewer/src/views/ItemThumbnail.vue +++ b/viewer/src/views/ItemThumbnail.vue | |||
@@ -40,7 +40,7 @@ | |||
40 | size="4x" | 40 | size="4x" |
41 | /> | 41 | /> |
42 | </div> | 42 | </div> |
43 | {{ item.title }} | 43 | <div v-text="item.title" /> |
44 | </div> | 44 | </div> |
45 | </div> | 45 | </div> |
46 | </template> | 46 | </template> |
diff --git a/viewer/src/views/item_handlers/AudioViewer.vue b/viewer/src/views/item_handlers/AudioViewer.vue index da9579f..bbba7e5 100644 --- a/viewer/src/views/item_handlers/AudioViewer.vue +++ b/viewer/src/views/item_handlers/AudioViewer.vue | |||
@@ -20,7 +20,10 @@ | |||
20 | 20 | ||
21 | <template> | 21 | <template> |
22 | <div class="flex-column container-vh-centering"> | 22 | <div class="flex-column container-vh-centering"> |
23 | <ItemThumbnail :item="item" /> | 23 | <ItemThumbnail |
24 | :item="item" | ||
25 | :class="$style.audiothumb" | ||
26 | /> | ||
24 | <audio | 27 | <audio |
25 | :class="$style.player" | 28 | :class="$style.player" |
26 | :src="itemResourceUrl" | 29 | :src="itemResourceUrl" |
@@ -56,6 +59,12 @@ const itemFileName = computed(() => navigation.getFileName(props.item)); | |||
56 | </script> | 59 | </script> |
57 | 60 | ||
58 | <style lang="scss" module> | 61 | <style lang="scss" module> |
62 | @import "~@/assets/scss/theme"; | ||
63 | |||
64 | .audiothumb { | ||
65 | color: $text-light; | ||
66 | } | ||
67 | |||
59 | .player { | 68 | .player { |
60 | width: 100%; | 69 | width: 100%; |
61 | max-width: 500px; | 70 | max-width: 500px; |
diff --git a/viewer/yarn.lock b/viewer/yarn.lock index bfee674..7991def 100644 --- a/viewer/yarn.lock +++ b/viewer/yarn.lock | |||
@@ -3,9 +3,9 @@ | |||
3 | 3 | ||
4 | 4 | ||
5 | "@achrinza/node-ipc@^9.2.5": | 5 | "@achrinza/node-ipc@^9.2.5": |
6 | version "9.2.5" | 6 | version "9.2.6" |
7 | resolved "https://registry.yarnpkg.com/@achrinza/node-ipc/-/node-ipc-9.2.5.tgz#29788e608ff41121f0543491da723b243266ac28" | 7 | resolved "https://registry.yarnpkg.com/@achrinza/node-ipc/-/node-ipc-9.2.6.tgz#75c89e95fe38ff9e3dd33a0d2681dc28f1c31f33" |
8 | integrity sha512-kBX7Ay911iXZ3VZ1pYltj3Rfu7Ow9H7sK4H4RSfWIfWR2JKNB40K808wppoRIEzE2j2hXLU+r6TJgCAliCGhyQ== | 8 | integrity sha512-ULSIYPy4ZPM301dfCxRz0l2GJjOwIo/PqmWonIu1bLml7UmnVQmH+juJcoyXp6E8gIRRNAjGYftJnNQlfy4vPg== |
9 | dependencies: | 9 | dependencies: |
10 | "@node-ipc/js-queue" "2.0.3" | 10 | "@node-ipc/js-queue" "2.0.3" |
11 | event-pubsub "4.3.0" | 11 | event-pubsub "4.3.0" |
@@ -26,38 +26,38 @@ | |||
26 | dependencies: | 26 | dependencies: |
27 | "@babel/highlight" "^7.18.6" | 27 | "@babel/highlight" "^7.18.6" |
28 | 28 | ||
29 | "@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8": | 29 | "@babel/compat-data@^7.17.7", "@babel/compat-data@^7.19.3", "@babel/compat-data@^7.19.4": |
30 | version "7.18.8" | 30 | version "7.19.4" |
31 | resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.18.8.tgz#2483f565faca607b8535590e84e7de323f27764d" | 31 | resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.4.tgz#95c86de137bf0317f3a570e1b6e996b427299747" |
32 | integrity sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ== | 32 | integrity sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw== |
33 | 33 | ||
34 | "@babel/core@^7.12.16": | 34 | "@babel/core@^7.12.16": |
35 | version "7.18.9" | 35 | version "7.19.6" |
36 | resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.9.tgz#805461f967c77ff46c74ca0460ccf4fe933ddd59" | 36 | resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.19.6.tgz#7122ae4f5c5a37c0946c066149abd8e75f81540f" |
37 | integrity sha512-1LIb1eL8APMy91/IMW+31ckrfBM4yCoLaVzoDhZUKSM4cu1L1nIidyxkCgzPAgrC5WEz36IPEr/eSeSF9pIn+g== | 37 | integrity sha512-D2Ue4KHpc6Ys2+AxpIx1BZ8+UegLLLE2p3KJEuJRKmokHOtl49jQ5ny1773KsGLZs8MQvBidAF6yWUJxRqtKtg== |
38 | dependencies: | 38 | dependencies: |
39 | "@ampproject/remapping" "^2.1.0" | 39 | "@ampproject/remapping" "^2.1.0" |
40 | "@babel/code-frame" "^7.18.6" | 40 | "@babel/code-frame" "^7.18.6" |
41 | "@babel/generator" "^7.18.9" | 41 | "@babel/generator" "^7.19.6" |
42 | "@babel/helper-compilation-targets" "^7.18.9" | 42 | "@babel/helper-compilation-targets" "^7.19.3" |
43 | "@babel/helper-module-transforms" "^7.18.9" | 43 | "@babel/helper-module-transforms" "^7.19.6" |
44 | "@babel/helpers" "^7.18.9" | 44 | "@babel/helpers" "^7.19.4" |
45 | "@babel/parser" "^7.18.9" | 45 | "@babel/parser" "^7.19.6" |
46 | "@babel/template" "^7.18.6" | 46 | "@babel/template" "^7.18.10" |
47 | "@babel/traverse" "^7.18.9" | 47 | "@babel/traverse" "^7.19.6" |
48 | "@babel/types" "^7.18.9" | 48 | "@babel/types" "^7.19.4" |
49 | convert-source-map "^1.7.0" | 49 | convert-source-map "^1.7.0" |
50 | debug "^4.1.0" | 50 | debug "^4.1.0" |
51 | gensync "^1.0.0-beta.2" | 51 | gensync "^1.0.0-beta.2" |
52 | json5 "^2.2.1" | 52 | json5 "^2.2.1" |
53 | semver "^6.3.0" | 53 | semver "^6.3.0" |
54 | 54 | ||
55 | "@babel/generator@^7.18.9": | 55 | "@babel/generator@^7.19.6": |
56 | version "7.18.9" | 56 | version "7.19.6" |
57 | resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.18.9.tgz#68337e9ea8044d6ddc690fb29acae39359cca0a5" | 57 | resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.19.6.tgz#9e481a3fe9ca6261c972645ae3904ec0f9b34a1d" |
58 | integrity sha512-wt5Naw6lJrL1/SGkipMiFxJjtyczUWTP38deiP1PO60HsBjDeKk08CGC3S8iVuvf0FmTdgKwU1KIXzSKL1G0Ug== | 58 | integrity sha512-oHGRUQeoX1QrKeJIKVe0hwjGqNnVYsM5Nep5zo0uE0m42sLH+Fsd2pStJ5sRM1bNyTUUoz0pe2lTeMJrb/taTA== |
59 | dependencies: | 59 | dependencies: |
60 | "@babel/types" "^7.18.9" | 60 | "@babel/types" "^7.19.4" |
61 | "@jridgewell/gen-mapping" "^0.3.2" | 61 | "@jridgewell/gen-mapping" "^0.3.2" |
62 | jsesc "^2.5.1" | 62 | jsesc "^2.5.1" |
63 | 63 | ||
@@ -76,41 +76,41 @@ | |||
76 | "@babel/helper-explode-assignable-expression" "^7.18.6" | 76 | "@babel/helper-explode-assignable-expression" "^7.18.6" |
77 | "@babel/types" "^7.18.9" | 77 | "@babel/types" "^7.18.9" |
78 | 78 | ||
79 | "@babel/helper-compilation-targets@^7.12.16", "@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9": | 79 | "@babel/helper-compilation-targets@^7.12.16", "@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.3": |
80 | version "7.18.9" | 80 | version "7.19.3" |
81 | resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.9.tgz#69e64f57b524cde3e5ff6cc5a9f4a387ee5563bf" | 81 | resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz#a10a04588125675d7c7ae299af86fa1b2ee038ca" |
82 | integrity sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg== | 82 | integrity sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg== |
83 | dependencies: | 83 | dependencies: |
84 | "@babel/compat-data" "^7.18.8" | 84 | "@babel/compat-data" "^7.19.3" |
85 | "@babel/helper-validator-option" "^7.18.6" | 85 | "@babel/helper-validator-option" "^ |