diff options
author | Zero~Informatique | 2019-12-21 02:06:02 +0100 |
---|---|---|
committer | Zero~Informatique | 2019-12-21 02:06:02 +0100 |
commit | 62005141132da1e9761598fa3e4b35b4dab38a89 (patch) | |
tree | 3ff8b9f3acd07801075202f9eb2d2f2dfd328ff5 /viewer | |
parent | bdce958eddc527912a57afa5b8151e1a90e38355 (diff) | |
download | ldgallery-62005141132da1e9761598fa3e4b35b4dab38a89.tar.gz |
Implemented VueX and a basic UIStore with the fullscreen mutation
Some renaming
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/README.md | 2 | ||||
-rw-r--r-- | viewer/package-lock.json | 70 | ||||
-rw-r--r-- | viewer/package.json | 9 | ||||
-rw-r--r-- | viewer/src/main.ts | 4 | ||||
-rw-r--r-- | viewer/src/plugins/fontawesome.ts (renamed from viewer/src/plugins/fontawesome.js) | 0 | ||||
-rw-r--r-- | viewer/src/plugins/vuex.ts | 23 | ||||
-rw-r--r-- | viewer/src/store/uiStore.ts | 15 | ||||
-rw-r--r-- | viewer/src/views/LdGallery.vue | 16 |
8 files changed, 83 insertions, 56 deletions
diff --git a/viewer/README.md b/viewer/README.md index 7a84865..2da36b3 100644 --- a/viewer/README.md +++ b/viewer/README.md | |||
@@ -1,4 +1,4 @@ | |||
1 | # ldgallery-front | 1 | # ldgallery-viewer |
2 | 2 | ||
3 | ## Project setup | 3 | ## Project setup |
4 | ``` | 4 | ``` |
diff --git a/viewer/package-lock.json b/viewer/package-lock.json index 42eaa98..0b287d9 100644 --- a/viewer/package-lock.json +++ b/viewer/package-lock.json | |||
@@ -1,5 +1,5 @@ | |||
1 | { | 1 | { |
2 | "name": "ldgallery-front", | 2 | "name": "ldgallery-viewer", |
3 | "version": "0.1.0", | 3 | "version": "0.1.0", |
4 | "lockfileVersion": 1, | 4 | "lockfileVersion": 1, |
5 | "requires": true, | 5 | "requires": true, |
@@ -2352,8 +2352,7 @@ | |||
2352 | "balanced-match": { | 2352 | "balanced-match": { |
2353 | "version": "1.0.0", | 2353 | "version": "1.0.0", |
2354 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", | 2354 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", |
2355 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", | 2355 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" |
2356 | "dev": true | ||
2357 | }, | 2356 | }, |
2358 | "base": { | 2357 | "base": { |
2359 | "version": "0.11.2", | 2358 | "version": "0.11.2", |
@@ -2559,7 +2558,6 @@ | |||
2559 | "version": "1.1.11", | 2558 | "version": "1.1.11", |
2560 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", | 2559 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", |
2561 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", | 2560 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", |
2562 | "dev": true, | ||
2563 | "requires": { | 2561 | "requires": { |
2564 | "balanced-match": "^1.0.0", | 2562 | "balanced-match": "^1.0.0", |
2565 | "concat-map": "0.0.1" | 2563 | "concat-map": "0.0.1" |
@@ -3408,8 +3406,7 @@ | |||
3408 | "concat-map": { | 3406 | "concat-map": { |
3409 | "version": "0.0.1", | 3407 | "version": "0.0.1", |
3410 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | 3408 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", |
3411 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", | 3409 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" |
3412 | "dev": true | ||
3413 | }, | 3410 | }, |
3414 | "concat-stream": { | 3411 | "concat-stream": { |
3415 | "version": "1.6.2", | 3412 | "version": "1.6.2", |
@@ -4088,7 +4085,6 @@ | |||
4088 | "version": "1.1.3", | 4085 | "version": "1.1.3", |
4089 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", | 4086 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", |
4090 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", | 4087 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", |
4091 | "dev": true, | ||
4092 | "requires": { | 4088 | "requires": { |
4093 | "object-keys": "^1.0.12" | 4089 | "object-keys": "^1.0.12" |
4094 | } | 4090 | } |
@@ -4521,7 +4517,6 @@ | |||
4521 | "version": "1.17.0-next.1", | 4517 | "version": "1.17.0-next.1", |
4522 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0-next.1.tgz", | 4518 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0-next.1.tgz", |
4523 | "integrity": "sha512-7MmGr03N7Rnuid6+wyhD9sHNE2n4tFSwExnU2lQl3lIo2ShXWGePY80zYaoMOmILWv57H0amMjZGHNzzGG70Rw==", | 4519 | "integrity": "sha512-7MmGr03N7Rnuid6+wyhD9sHNE2n4tFSwExnU2lQl3lIo2ShXWGePY80zYaoMOmILWv57H0amMjZGHNzzGG70Rw==", |
4524 | "dev": true, | ||
4525 | "requires": { | 4520 | "requires": { |
4526 | "es-to-primitive": "^1.2.1", | 4521 | "es-to-primitive": "^1.2.1", |
4527 | "function-bind": "^1.1.1", | 4522 | "function-bind": "^1.1.1", |
@@ -4540,7 +4535,6 @@ | |||
4540 | "version": "1.2.1", | 4535 | "version": "1.2.1", |
4541 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", | 4536 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", |
4542 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", | 4537 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", |
4543 | "dev": true, | ||
4544 | "requires": { | 4538 | "requires": { |
4545 | "is-callable": "^1.1.4", | 4539 | "is-callable": "^1.1.4", |
4546 | "is-date-object": "^1.0.1", | 4540 | "is-date-object": "^1.0.1", |
@@ -5406,8 +5400,7 @@ | |||
5406 | "fs.realpath": { | 5400 | "fs.realpath": { |
5407 | "version": "1.0.0", | 5401 | "version": "1.0.0", |
5408 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", | 5402 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", |
5409 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", | 5403 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" |
5410 | "dev": true | ||
5411 | }, | 5404 | }, |
5412 | "fsevents": { | 5405 | "fsevents": { |
5413 | "version": "1.2.11", | 5406 | "version": "1.2.11", |
@@ -5982,8 +5975,7 @@ | |||
5982 | "function-bind": { | 5975 | "function-bind": { |
5983 | "version": "1.1.1", | 5976 | "version": "1.1.1", |
5984 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", | 5977 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", |
5985 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", | 5978 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" |
5986 | "dev": true | ||
5987 | }, | 5979 | }, |
5988 | "functional-red-black-tree": { | 5980 | "functional-red-black-tree": { |
5989 | "version": "1.0.1", | 5981 | "version": "1.0.1", |
@@ -6093,7 +6085,6 @@ | |||
6093 | "version": "7.1.6", | 6085 | "version": "7.1.6", |
6094 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", | 6086 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", |
6095 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", | 6087 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", |
6096 | "dev": true, | ||
6097 | "requires": { | 6088 | "requires": { |
6098 | "fs.realpath": "^1.0.0", | 6089 | "fs.realpath": "^1.0.0", |
6099 | "inflight": "^1.0.4", | 6090 | "inflight": "^1.0.4", |
@@ -6225,7 +6216,6 @@ | |||
6225 | "version": "1.0.3", | 6216 | "version": "1.0.3", |
6226 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", | 6217 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", |
6227 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", | 6218 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", |
6228 | "dev": true, | ||
6229 | "requires": { | 6219 | "requires": { |
6230 | "function-bind": "^1.1.1" | 6220 | "function-bind": "^1.1.1" |
6231 | } | 6221 | } |
@@ -6256,8 +6246,7 @@ | |||
6256 | "has-symbols": { | 6246 | "has-symbols": { |
6257 | "version": "1.0.1", | 6247 | "version": "1.0.1", |
6258 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", | 6248 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", |
6259 | "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", | 6249 | "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" |
6260 | "dev": true | ||
6261 | }, | 6250 | }, |
6262 | "has-unicode": { | 6251 | "has-unicode": { |
6263 | "version": "2.0.1", | 6252 | "version": "2.0.1", |
@@ -6717,7 +6706,6 @@ | |||
6717 | "version": "1.0.6", | 6706 | "version": "1.0.6", |
6718 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", | 6707 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", |
6719 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", | 6708 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", |
6720 | "dev": true, | ||
6721 | "requires": { | 6709 | "requires": { |
6722 | "once": "^1.3.0", | 6710 | "once": "^1.3.0", |
6723 | "wrappy": "1" | 6711 | "wrappy": "1" |
@@ -6726,8 +6714,7 @@ | |||
6726 | "inherits": { | 6714 | "inherits": { |
6727 | "version": "2.0.4", | 6715 | "version": "2.0.4", |
6728 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", | 6716 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
6729 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", | 6717 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
6730 | "dev": true | ||
6731 | }, | 6718 | }, |
6732 | "inquirer": { | 6719 | "inquirer": { |
6733 | "version": "7.0.1", | 6720 | "version": "7.0.1", |
@@ -6948,8 +6935,7 @@ | |||
6948 | "is-callable": { | 6935 | "is-callable": { |
6949 | "version": "1.1.5", | 6936 | "version": "1.1.5", |
6950 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", | 6937 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", |
6951 | "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", | 6938 | "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==" |
6952 | "dev": true | ||
6953 | }, | 6939 | }, |
6954 | "is-ci": { | 6940 | "is-ci": { |
6955 | "version": "1.2.1", | 6941 | "version": "1.2.1", |
@@ -6997,8 +6983,7 @@ | |||
6997 | "is-date-object": { | 6983 | "is-date-object": { |
6998 | "version": "1.0.2", | 6984 | "version": "1.0.2", |
6999 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", | 6985 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", |
7000 | "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", | 6986 | "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==" |
7001 | "dev": true | ||
7002 | }, | 6987 | }, |
7003 | "is-descriptor": { | 6988 | "is-descriptor": { |
7004 | "version": "0.1.6", | 6989 | "version": "0.1.6", |
@@ -7136,7 +7121,6 @@ | |||
7136 | "version": "1.0.5", | 7121 | "version": "1.0.5", |
7137 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", | 7122 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", |
7138 | "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", | 7123 | "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", |
7139 | "dev": true, | ||
7140 | "requires": { | 7124 | "requires": { |
7141 | "has": "^1.0.3" | 7125 | "has": "^1.0.3" |
7142 | } | 7126 | } |
@@ -7166,7 +7150,6 @@ | |||
7166 | "version": "1.0.3", | 7150 | "version": "1.0.3", |
7167 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", | 7151 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", |
7168 | "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", | 7152 | "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", |
7169 | "dev": true, | ||
7170 | "requires": { | 7153 | "requires": { |
7171 | "has-symbols": "^1.0.1" | 7154 | "has-symbols": "^1.0.1" |
7172 | } | 7155 | } |
@@ -7919,7 +7902,6 @@ | |||
7919 | "version": "3.0.4", | 7902 | "version": "3.0.4", |
7920 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", | 7903 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", |
7921 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", | 7904 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", |
7922 | "dev": true, | ||
7923 | "requires": { | 7905 | "requires": { |
7924 | "brace-expansion": "^1.1.7" | 7906 | "brace-expansion": "^1.1.7" |
7925 |