aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero~Informatique2020-01-29 04:53:35 +0100
committerNotkea2020-01-29 21:59:12 +0100
commit8d543ab94d3678728466d3627e0d419ec00f3010 (patch)
tree69cc8bcba4314a30aba2cf7db4312155ef2bf76c
parent084c509fad0fdf2415587e0e3af8e86fd306447a (diff)
downloadldgallery-8d543ab94d3678728466d3627e0d419ec00f3010.tar.gz
viewer: finalized the thumbnails view layouts. implemented thumbnails lazy-loading
-rw-r--r--viewer/package-lock.json593
-rw-r--r--viewer/package.json1
-rw-r--r--viewer/src/@types/v-lazy-image.d.ts20
-rw-r--r--viewer/src/assets/scss/global.scss36
-rw-r--r--viewer/src/assets/scss/theme.scss4
-rw-r--r--viewer/src/main.ts1
-rw-r--r--viewer/src/plugins/lazyimage.ts23
-rw-r--r--viewer/src/views/GalleryDirectory.vue15
-rw-r--r--viewer/src/views/GallerySearch.vue5
-rw-r--r--viewer/src/views/GalleryThumbnail.vue34
-rw-r--r--viewer/src/views/MainLayout.vue3
11 files changed, 724 insertions, 11 deletions
diff --git a/viewer/package-lock.json b/viewer/package-lock.json
index d210449..4056424 100644
--- a/viewer/package-lock.json
+++ b/viewer/package-lock.json
@@ -2160,11 +2160,23 @@
2160 "cacache": "^13.0.1", 2160 "cacache": "^13.0.1",
2161 "find-cache-dir": "^3.2.0", 2161 "find-cache-dir": "^3.2.0",
2162 "jest-worker": "^25.1.0", 2162 "jest-worker": "^25.1.0",
2163 "p-limit": "^2.2.2",
2163 "schema-utils": "^2.6.4", 2164 "schema-utils": "^2.6.4",
2164 "serialize-javascript": "^2.1.2", 2165 "serialize-javascript": "^2.1.2",
2165 "source-map": "^0.6.1", 2166 "source-map": "^0.6.1",
2166 "terser": "^4.4.3", 2167 "terser": "^4.4.3",
2167 "webpack-sources": "^1.4.3" 2168 "webpack-sources": "^1.4.3"
2169 },
2170 "dependencies": {
2171 "p-limit": {
2172 "version": "2.2.2",
2173 "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
2174 "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
2175 "dev": true,
2176 "requires": {
2177 "p-try": "^2.0.0"
2178 }
2179 }
2168 } 2180 }
2169 } 2181 }
2170 } 2182 }
@@ -3024,6 +3036,16 @@
3024 "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", 3036 "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
3025 "dev": true 3037 "dev": true
3026 }, 3038 },
3039 "bindings": {
3040 "version": "1.5.0",
3041 "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
3042 "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
3043 "dev": true,
3044 "optional": true,
3045 "requires": {
3046 "file-uri-to-path": "1.0.0"
3047 }
3048 },
3027 "block-stream": { 3049 "block-stream": {
3028 "version": "0.0.9", 3050 "version": "0.0.9",
3029 "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", 3051 "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
@@ -3557,6 +3579,7 @@
3557 "anymatch": "^2.0.0", 3579 "anymatch": "^2.0.0",
3558 "async-each": "^1.0.1", 3580 "async-each": "^1.0.1",
3559 "braces": "^2.3.2", 3581 "braces": "^2.3.2",
3582 "fsevents": "^1.2.7",
3560 "glob-parent": "^3.1.0", 3583 "glob-parent": "^3.1.0",
3561 "inherits": "^2.0.3", 3584 "inherits": "^2.0.3",
3562 "is-binary-path": "^1.0.0", 3585 "is-binary-path": "^1.0.0",
@@ -5699,6 +5722,13 @@
5699 "schema-utils": "^2.5.0" 5722 "schema-utils": "^2.5.0"
5700 } 5723 }
5701 }, 5724 },
5725 "file-uri-to-path": {
5726 "version": "1.0.0",
5727 "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
5728 "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
5729 "dev": true,
5730 "optional": true
5731 },
5702 "filesize": { 5732 "filesize": {
5703 "version": "3.6.1", 5733 "version": "3.6.1",
5704 "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", 5734 "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
@@ -5962,6 +5992,564 @@
5962 "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 5992 "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
5963 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" 5993 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
5964 }, 5994 },
5995 "fsevents": {
5996 "version": "1.2.11",
5997 "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz",
5998 "integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==",
5999 "dev": true,
6000 "optional": true,
6001 "requires": {
6002 "bindings": "^1.5.0",
6003 "nan": "^2.12.1",
6004 "node-pre-gyp": "*"
6005 },
6006 "dependencies": {
6007 "abbrev": {
6008 "version": "1.1.1",
6009 "bundled": true,
6010 "dev": true,
6011 "optional": true
6012 },
6013 "ansi-regex": {
6014 "version": "2.1.1",
6015 "bundled": true,
6016 "dev": true,
6017 "optional": true
6018 },
6019 "aproba": {
6020 "version": "1.2.0",
6021 "bundled": true,
6022 "dev": true,
6023 "optional": true
6024 },
6025 "are-we-there-yet": {
6026 "version": "1.1.5",
6027 "bundled": true,
6028 "dev": true,
6029 "optional": true,
6030 "requires": {
6031 "delegates": "^1.0.0",
6032 "readable-stream": "^2.0.6"
6033 }
6034 },
6035 "balanced-match": {
6036 "version": "1.0.0",
6037 "bundled": true,
6038 "dev": true,
6039 "optional": true
6040 },
6041 "brace-expansion": {
6042 "version": "1.1.11",
6043 "bundled": true,
6044 "dev": true,
6045 "optional": true,
6046 "requires": {
6047 "balanced-match": "^1.0.0",
6048 "concat-map": "0.0.1"
6049 }
6050 },
6051 "chownr": {
6052 "version": "1.1.3",
6053 "bundled": true,
6054 "dev": true,
6055 "optional": true
6056 },
6057 "code-point-at": {
6058 "version": "1.1.0",
6059 "bundled": true,
6060 "dev": true,
6061 "optional": true
6062 },
6063 "concat-map": {
6064 "version": "0.0.1",
6065 "bundled": true,
6066 "dev": true,
6067 "optional": true
6068 },
6069 "console-control-strings": {
6070 "version": "1.1.0",
6071 "bundled": true,
6072 "dev": true,
6073 "optional": true
6074 },
6075 "core-util-is": {
6076 "version": "1.0.2",
6077 "bundled": true,
6078 "dev": true,
6079 "optional": true
6080 },
6081 "debug": {
6082 "version": "3.2.6",
6083 "bundled": true,
6084 "dev": true,
6085 "optional": true,
6086 "requires": {
6087 "ms": "^2.1.1"
6088 }
6089 },
6090 "deep-extend": {
6091 "version": "0.6.0",
6092 "bundled": true,
6093 "dev": true,
6094 "optional": true
6095 },
6096 "delegates": {
6097 "version": "1.0.0",
6098 "bundled": true,
6099 "dev": true,
6100 "optional": true
6101 },
6102 "detect-libc": {
6103 "version": "1.0.3",
6104 "bundled": true,
6105 "dev": true,
6106 "optional": true
6107 },
6108 "fs-minipass": {
6109 "version": "1.2.7",
6110 "bundled": true,
6111 "dev": true,
6112 "optional": true,
6113 "requires": {
6114 "minipass": "^2.6.0"
6115 }
6116 },
6117 "fs.realpath": {
6118 "version": "1.0.0",
6119 "bundled": true,
6120 "dev": true,
6121 "optional": true
6122 },
6123 "gauge": {
6124 "version": "2.7.4",
6125 "bundled": true,
6126 "dev": true,
6127 "optional": true,
6128 "requires": {
6129 "aproba": "^1.0.3",
6130 "console-control-strings": "^1.0.0",
6131 "has-unicode": "^2.0.0",
6132 "object-assign": "^4.1.0",
6133 "signal-exit": "^3.0.0",
6134 "string-width": "^1.0.1",
6135 "strip-ansi": "^3.0.1",
6136 "wide-align": "^1.1.0"
6137 }
6138 },