aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
Diffstat (limited to 'viewer')
-rw-r--r--viewer/.eslintrc.js3
-rw-r--r--viewer/.vscode/tasks.json19
-rw-r--r--viewer/babel.config.js2
-rw-r--r--viewer/package-lock.json2104
-rw-r--r--viewer/package.json36
-rw-r--r--viewer/src/@types/Operation.ts2
-rw-r--r--viewer/src/@types/gallery.d.ts2
-rw-r--r--viewer/src/@types/scrollposition.d.ts2
-rw-r--r--viewer/src/@types/tag.d.ts2
-rw-r--r--viewer/src/@types/v-lazy-image.d.ts2
-rw-r--r--viewer/src/@types/vue-dragscroll.d.ts2
-rw-r--r--viewer/src/components/LdKeyPress.vue2
-rw-r--r--viewer/src/components/index.ts2
-rw-r--r--viewer/src/dragscrollclickfix.ts2
-rw-r--r--viewer/src/plugins/buefy.ts2
-rw-r--r--viewer/src/store/galleryStore.ts2
-rw-r--r--viewer/src/tools.ts2
-rw-r--r--viewer/visualstudio.code-workspace2
-rw-r--r--viewer/win_start_vueui.cmd32
19 files changed, 1080 insertions, 1142 deletions
diff --git a/viewer/.eslintrc.js b/viewer/.eslintrc.js
index 40d2a11..e1ad89b 100644
--- a/viewer/.eslintrc.js
+++ b/viewer/.eslintrc.js
@@ -13,6 +13,7 @@ module.exports = {
13 rules: { 13 rules: {
14 "no-console": "off", 14 "no-console": "off",
15 "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", 15 "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
16 'eol-last': ['warn', 'always'],
16 'vue/attribute-hyphenation': 'warn', 17 'vue/attribute-hyphenation': 'warn',
17 'vue/html-closing-bracket-spacing': 'warn', 18 'vue/html-closing-bracket-spacing': 'warn',
18 'vue/html-end-tags': 'error', 19 'vue/html-end-tags': 'error',
@@ -24,7 +25,7 @@ module.exports = {
24 'vue/v-bind-style': 'warn', 25 'vue/v-bind-style': 'warn',
25 'vue/v-on-style': 'warn', 26 'vue/v-on-style': 'warn',
26 'vue/attributes-order': 'warn', 27 'vue/attributes-order': 'warn',
27 'vue/this-in-template': 'warn' 28 'vue/this-in-template': 'warn',
28 }, 29 },
29 30
30 parserOptions: { 31 parserOptions: {
diff --git a/viewer/.vscode/tasks.json b/viewer/.vscode/tasks.json
index 3c02098..102002d 100644
--- a/viewer/.vscode/tasks.json
+++ b/viewer/.vscode/tasks.json
@@ -9,7 +9,10 @@
9 "group": { 9 "group": {
10 "kind": "build", 10 "kind": "build",
11 "isDefault": true 11 "isDefault": true
12 } 12 },
13 "problemMatcher": [
14 "$tsc"
15 ]
13 }, 16 },
14 { 17 {
15 "type": "npm", 18 "type": "npm",
@@ -17,6 +20,20 @@
17 "problemMatcher": [ 20 "problemMatcher": [
18 "$tsc" 21 "$tsc"
19 ] 22 ]
23 },
24 {
25 "type": "npm",
26 "script": "lint-autoformat",
27 "problemMatcher": [
28 "$tsc"
29 ]
30 },
31 {
32 "type": "npm",
33 "script": "lint",
34 "problemMatcher": [
35 "$tsc"
36 ]
20 } 37 }
21 ] 38 ]
22} \ No newline at end of file 39} \ No newline at end of file
diff --git a/viewer/babel.config.js b/viewer/babel.config.js
index 7102a6e..1378522 100644
--- a/viewer/babel.config.js
+++ b/viewer/babel.config.js
@@ -1,7 +1,5 @@
1module.exports = { 1module.exports = {
2 presets: ["@vue/cli-plugin-babel/preset"], 2 presets: ["@vue/cli-plugin-babel/preset"],
3 plugins: [ 3 plugins: [
4 '@babel/plugin-proposal-optional-chaining',
5 '@babel/plugin-proposal-nullish-coalescing-operator',
6 ], 4 ],
7}; 5};
diff --git a/viewer/package-lock.json b/viewer/package-lock.json
index 4b778a3..87825c8 100644
--- a/viewer/package-lock.json
+++ b/viewer/package-lock.json
@@ -14,28 +14,28 @@
14 } 14 }
15 }, 15 },
16 "@babel/compat-data": { 16 "@babel/compat-data": {
17 "version": "7.8.1", 17 "version": "7.8.5",
18 "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.8.1.tgz", 18 "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.8.5.tgz",
19 "integrity": "sha512-Z+6ZOXvyOWYxJ50BwxzdhRnRsGST8Y3jaZgxYig575lTjVSs3KtJnmESwZegg6e2Dn0td1eDhoWlp1wI4BTCPw==", 19 "integrity": "sha512-jWYUqQX/ObOhG1UiEkbH5SANsE/8oKXiQWjj7p7xgj9Zmnt//aUvyz4dBkK0HNsS8/cbyC5NmmH87VekW+mXFg==",
20 "dev": true, 20 "dev": true,
21 "requires": { 21 "requires": {
22 "browserslist": "^4.8.2", 22 "browserslist": "^4.8.5",
23 "invariant": "^2.2.4", 23 "invariant": "^2.2.4",
24 "semver": "^5.5.0" 24 "semver": "^5.5.0"
25 } 25 }
26 }, 26 },
27 "@babel/core": { 27 "@babel/core": {
28 "version": "7.8.3", 28 "version": "7.8.4",
29 "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.8.3.tgz", 29 "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.8.4.tgz",
30 "integrity": "sha512-4XFkf8AwyrEG7Ziu3L2L0Cv+WyY47Tcsp70JFmpftbAA1K7YL/sgE9jh9HyNj08Y/U50ItUchpN0w6HxAoX1rA==", 30 "integrity": "sha512-0LiLrB2PwrVI+a2/IEskBopDYSd8BCb3rOvH7D5tzoWd696TBEduBvuLVm4Nx6rltrLZqvI3MCalB2K2aVzQjA==",
31 "dev": true, 31 "dev": true,
32 "requires": { 32 "requires": {
33 "@babel/code-frame": "^7.8.3", 33 "@babel/code-frame": "^7.8.3",
34 "@babel/generator": "^7.8.3", 34 "@babel/generator": "^7.8.4",
35 "@babel/helpers": "^7.8.3", 35 "@babel/helpers": "^7.8.4",
36 "@babel/parser": "^7.8.3", 36 "@babel/parser": "^7.8.4",
37 "@babel/template": "^7.8.3", 37 "@babel/template": "^7.8.3",
38 "@babel/traverse": "^7.8.3", 38 "@babel/traverse": "^7.8.4",
39 "@babel/types": "^7.8.3", 39 "@babel/types": "^7.8.3",
40 "convert-source-map": "^1.7.0", 40 "convert-source-map": "^1.7.0",
41 "debug": "^4.1.0", 41 "debug": "^4.1.0",
@@ -66,19 +66,33 @@
66 "esutils": "^2.0.2", 66 "esutils": "^2.0.2",
67 "js-tokens": "^4.0.0" 67 "js-tokens": "^4.0.0"
68 } 68 }
69 },
70 "source-map": {
71 "version": "0.5.7",
72 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
73 "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
74 "dev": true
69 } 75 }
70 } 76 }
71 }, 77 },
72 "@babel/generator": { 78 "@babel/generator": {
73 "version": "7.8.3", 79 "version": "7.8.4",
74 "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.3.tgz", 80 "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz",
75 "integrity": "sha512-WjoPk8hRpDRqqzRpvaR8/gDUPkrnOOeuT2m8cNICJtZH6mwaCo3v0OKMI7Y6SM1pBtyijnLtAL0HDi41pf41ug==", 81 "integrity": "sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA==",
76 "dev": true, 82 "dev": true,
77 "requires": { 83 "requires": {
78 "@babel/types": "^7.8.3", 84 "@babel/types": "^7.8.3",
79 "jsesc": "^2.5.1", 85 "jsesc": "^2.5.1",
80 "lodash": "^4.17.13", 86 "lodash": "^4.17.13",
81 "source-map": "^0.5.0" 87 "source-map": "^0.5.0"
88 },
89 "dependencies": {
90 "source-map": {
91 "version": "0.5.7",
92 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
93 "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
94 "dev": true
95 }
82 } 96 }
83 }, 97 },
84 "@babel/helper-annotate-as-pure": { 98 "@babel/helper-annotate-as-pure": {
@@ -112,15 +126,15 @@
112 } 126 }
113 }, 127 },
114 "@babel/helper-compilation-targets": { 128 "@babel/helper-compilation-targets": {
115 "version": "7.8.3", 129 "version": "7.8.4",
116 "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.3.tgz", 130 "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.4.tgz",
117 "integrity": "sha512-JLylPCsFjhLN+6uBSSh3iYdxKdeO9MNmoY96PE/99d8kyBFaXLORtAVhqN6iHa+wtPeqxKLghDOZry0+Aiw9Tw==", 131 "integrity": "sha512-3k3BsKMvPp5bjxgMdrFyq0UaEO48HciVrOVF0+lon8pp95cyJ2ujAh0TrBHNMnJGT2rr0iKOJPFFbSqjDyf/Pg==",
118 "dev": true, 132 "dev": true,
119 "requires": { 133 "requires": {
120 "@babel/compat-data": "^7.8.1", 134 "@babel/compat-data": "^7.8.4",
121 "browserslist": "^4.8.2", 135 "browserslist": "^4.8.5",
122 "invariant": "^2.2.4", 136 "invariant": "^2.2.4",
123 "levenary": "^1.1.0", 137 "levenary": "^1.1.1",
124 "semver": "^5.5.0" 138 "semver": "^5.5.0"
125 } 139 }
126 }, 140 },
@@ -136,14 +150,6 @@
136 "@babel/helper-plugin-utils": "^7.8.3", 150 "@babel/helper-plugin-utils": "^7.8.3",
137 "@babel/helper-replace-supers": "^7.8.3", 151 "@babel/helper-replace-supers": "^7.8.3",
138 "@babel/helper-split-export-declaration": "^7.8.3" 152 "@babel/helper-split-export-declaration": "^7.8.3"
139 },
140 "dependencies": {
141 "@babel/helper-plugin-utils": {
142 "version": "7.8.3",
143 "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz",
144 "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==",
145 "dev": true
146