aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero~Informatique2019-12-21 08:08:54 +0100
committerZero~Informatique2019-12-21 08:08:54 +0100
commit9e4fdd6f38853d8a4a959901ab7902569de75484 (patch)
tree3255e7fc08a6767ce8c333a42388f6398d2b460e
parent40e8303d6b37a062754fdfbe824a153b8e5e2ddf (diff)
downloadldgallery-9e4fdd6f38853d8a4a959901ab7902569de75484.tar.gz
viewer:
Implemented the "example" project in devServer Display loader and error messages (not translated yet) Created a "GalleryStore" to fetch the JSon data from the gallery (currently from example)
-rw-r--r--viewer/package-lock.json578
-rw-r--r--viewer/package.json4
-rw-r--r--viewer/src/@types/gallery/index.d.ts25
-rw-r--r--viewer/src/main.ts2
-rw-r--r--viewer/src/store/galleryStore.ts21
-rw-r--r--viewer/src/store/index.ts (renamed from viewer/src/plugins/vuex.ts)8
-rw-r--r--viewer/src/views/LdGallery.vue28
-rw-r--r--viewer/vue.config.js13
8 files changed, 95 insertions, 584 deletions
diff --git a/viewer/package-lock.json b/viewer/package-lock.json
index 0b287d9..8cf086a 100644
--- a/viewer/package-lock.json
+++ b/viewer/package-lock.json
@@ -2454,16 +2454,6 @@
2454 "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", 2454 "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
2455 "dev": true 2455 "dev": true
2456 }, 2456 },
2457 "bindings": {
2458 "version": "1.5.0",
2459 "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
2460 "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
2461 "dev": true,
2462 "optional": true,
2463 "requires": {
2464 "file-uri-to-path": "1.0.0"
2465 }
2466 },
2467 "block-stream": { 2457 "block-stream": {
2468 "version": "0.0.9", 2458 "version": "0.0.9",
2469 "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", 2459 "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
@@ -2997,7 +2987,6 @@
2997 "anymatch": "^2.0.0", 2987 "anymatch": "^2.0.0",
2998 "async-each": "^1.0.1", 2988 "async-each": "^1.0.1",
2999 "braces": "^2.3.2", 2989 "braces": "^2.3.2",
3000 "fsevents": "^1.2.7",
3001 "glob-parent": "^3.1.0", 2990 "glob-parent": "^3.1.0",
3002 "inherits": "^2.0.3", 2991 "inherits": "^2.0.3",
3003 "is-binary-path": "^1.0.0", 2992 "is-binary-path": "^1.0.0",
@@ -5132,13 +5121,6 @@
5132 "schema-utils": "^2.5.0" 5121 "schema-utils": "^2.5.0"
5133 } 5122 }
5134 }, 5123 },
5135 "file-uri-to-path": {
5136 "version": "1.0.0",
5137 "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
5138 "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
5139 "dev": true,
5140 "optional": true
5141 },
5142 "filesize": { 5124 "filesize": {
5143 "version": "3.6.1", 5125 "version": "3.6.1",
5144 "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", 5126 "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
@@ -5402,564 +5384,6 @@
5402 "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 5384 "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
5403 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" 5385 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
5404 }, 5386 },
5405 "fsevents": {
5406 "version": "1.2.11",
5407 "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz",
5408 "integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==",
5409 "dev": true,
5410 "optional": true,
5411 "requires": {
5412 "bindings": "^1.5.0",
5413 "nan": "^2.12.1",
5414 "node-pre-gyp": "*"
5415 },
5416 "dependencies": {
5417 "abbrev": {
5418 "version": "1.1.1",
5419 "bundled": true,
5420 "dev": true,
5421 "optional": true
5422 },
5423 "ansi-regex": {
5424 "version": "2.1.1",
5425 "bundled": true,
5426 "dev": true,
5427 "optional": true
5428 },
5429 "aproba": {
5430 "version": "1.2.0",
5431 "bundled": true,
5432 "dev": true,
5433 "optional": true
5434 },
5435 "are-we-there-yet": {
5436 "version": "1.1.5",
5437 "bundled": true,
5438 "dev": true,
5439 "optional": true,
5440 "requires": {
5441 "delegates": "^1.0.0",
5442 "readable-stream": "^2.0.6"
5443 }
5444 },
5445 "balanced-match": {
5446 "version": "1.0.0",
5447 "bundled": true,
5448 "dev": true,
5449 "optional": true
5450 },
5451 "brace-expansion": {
5452 "version": "1.1.11",
5453 "bundled": true,
5454 "dev": true,
5455 "optional": true,
5456 "requires": {
5457 "balanced-match": "^1.0.0",
5458 "concat-map": "0.0.1"
5459 }
5460 },
5461 "chownr": {
5462 "version": "1.1.3",
5463 "bundled": true,
5464 "dev": true,
5465 "optional": true
5466 },
5467 "code-point-at": {
5468 "version": "1.1.0",
5469 "bundled": true,
5470 "dev": true,
5471 "optional": true
5472 },
5473 "concat-map": {
5474 "version": "0.0.1",
5475 "bundled": true,
5476 "dev": true,
5477 "optional": true
5478 },
5479 "console-control-strings": {
5480 "version": "1.1.0",
5481 "bundled": true,
5482 "dev": true,
5483 "optional": true
5484 },
5485 "core-util-is": {
5486 "version": "1.0.2",
5487 "bundled": true,
5488 "dev": true,
5489 "optional": true
5490 },
5491 "debug": {
5492 "version": "3.2.6",
5493 "bundled": true,
5494 "dev": true,
5495 "optional": true,
5496 "requires": {
5497 "ms": "^2.1.1"
5498 }
5499 },
5500 "deep-extend": {
5501 "version": "0.6.0",
5502 "bundled": true,
5503 "dev": true,
5504 "optional": true
5505 },
5506 "delegates": {
5507 "version": "1.0.0",
5508 "bundled": true,
5509 "dev": true,
5510 "optional": true
5511 },
5512 "detect-libc": {
5513 "version": "1.0.3",
5514 "bundled": true,
5515 "dev": true,
5516 "optional": true
5517 },
5518 "fs-minipass": {
5519 "version": "1.2.7",
5520 "bundled": true,
5521 "dev": true,
5522 "optional": true,
5523 "requires": {
5524 "minipass": "^2.6.0"
5525 }
5526 },
5527 "fs.realpath": {
5528 "version": "1.0.0",
5529 "bundled": true,
5530 "dev": true,
5531 "optional": true
5532 },
5533 "gauge": {
5534 "version": "2.7.4",
5535 "bundled": true,
5536 "dev": true,
5537 "optional": true,
5538 "requires": {
5539 "aproba": "^1.0.3",
5540 "console-control-strings": "^1.0.0",
5541 "has-unicode": "^2.0.0",
5542 "object-assign": "^4.1.0",
5543 "signal-exit": "^3.0.0",
5544 "string-width": "^1.0.1",
5545 "strip-ansi": "^3.0.1",
5546 "wide-align": "^1.1.0"
5547 }
5548 },
5549 "glob": {
5550 "version": "7.1.6",
5551 "bundled": true,
5552 "dev": true,
5553 "optional": true,
5554 "requires": {
5555 "fs.realpath": "^1.0.0",
5556 "inflight": "^1.0.4",
5557 "inherits": "2",
5558 "minimatch": "^3.0.4",
5559 "once": "^1.3.0",
5560 "path-is-absolute": "^1.0.0"
5561 }
5562 },
5563 "has-unicode": {
5564 "version": "2.0.1",
5565 "bundled": true,
5566 "dev": true,
5567 "optional": true
5568 },
5569 "iconv-lite": {
5570 "version": "0.4.24",
5571 "bundled": true,
5572 "dev": true,
5573 "optional": true,
5574 "requires": {
5575 "safer-buffer": ">= 2.1.2 < 3"
5576 }
5577 },
5578 "ignore-walk": {
5579 "version": "3.0.3",
5580 "bundled": true,
5581 "dev": true,
5582 "optional": true,
5583 "requires": {