Commit d1429d65 by Jonathan Thomas

Updating npm packages, dependencies, and lint with latest versions.

parent 4b80c56e
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -16,42 +16,52 @@ ...@@ -16,42 +16,52 @@
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"@popperjs/core": "^2.11.7", "@popperjs/core": "^2.11.8",
"axios": "^1.4.0", "axios": "^1.13.2",
"bootstrap": "^5.2.3", "bootstrap": "^5.3.8",
"core-js": "^3.30.2", "core-js": "^3.46.0",
"uuid": "^9.0.0", "uuid": "^13.0.0",
"vue": "^3.2.47", "vue": "^3.5.24",
"vue-gtag": "^2.0.1", "vue-gtag": "^3.6.3",
"vue-router": "^4.1.6", "vue-router": "^4.6.3",
"vuex": "^4.1.0" "vuex": "^4.1.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.1.1", "@babel/eslint-parser": "^7.28.5",
"@vue/cli-plugin-babel": "^5.0.8", "@types/node": "^24.10.1",
"@vue/cli-plugin-router": "^5.0.8", "@vue/cli-plugin-babel": "^5.0.9",
"@vue/cli-plugin-vuex": "^5.0.8", "@vue/cli-plugin-eslint": "^5.0.9",
"@vue/cli-service": "^5.0.8", "@vue/cli-plugin-router": "^5.0.9",
"@vue/compiler-sfc": "^3.2.47", "@vue/cli-plugin-vuex": "^5.0.9",
"babel-eslint": "^10.1.0", "@vue/cli-service": "^5.0.9",
"eslint-plugin-vue": "^9.11.1", "@vue/compiler-sfc": "^3.5.24",
"eslint": "^6.7.2", "eslint": "^8.57.0",
"path-browserify": "^1.0.1" "eslint-plugin-vue": "^10.5.1",
"path-browserify": "^1.0.1",
"vue-eslint-parser": "^10.2.0"
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,
"env": { "env": {
"node": true "node": true,
"browser": true
}, },
"extends": [ "extends": [
"plugin:vue/vue3-essential", "plugin:vue/essential",
"eslint:recommended" "eslint:recommended"
], ],
"parser": "vue-eslint-parser",
"parserOptions": { "parserOptions": {
"parser": "babel-eslint" "parser": "@babel/eslint-parser",
"requireConfigFile": false,
"ecmaVersion": 2020,
"sourceType": "module"
}, },
"rules": {} "rules": {
"vue/multi-word-component-names": "off"
}
}, },
"browserslist": [ "browserslist": [
"> 1%", "> 1%",
"last 2 versions", "last 2 versions",
......
...@@ -31,9 +31,11 @@ ...@@ -31,9 +31,11 @@
</ul> </ul>
</div> </div>
<!-- File thumbnail image --> <figure class="file-figure">
<img @click="toggleSelection(file)" :class="getSelectedClass(file)" class="file-thumbnail img-fluid img-thumbnail" :title="file.name" :src="file.thumbnail"/> <!-- File thumbnail image -->
<figcaption class="figure-caption">{{ getFileName(file) }}</figcaption> <img @click="toggleSelection(file)" :class="getSelectedClass(file)" class="file-thumbnail img-fluid img-thumbnail" :title="file.name" :src="file.thumbnail"/>
<figcaption class="figure-caption">{{ getFileName(file) }}</figcaption>
</figure>
</div> </div>
<!-- Upload progress bars --> <!-- Upload progress bars -->
...@@ -160,6 +162,9 @@ export default { ...@@ -160,6 +162,9 @@ export default {
cursor: pointer; cursor: pointer;
width: 100%; width: 100%;
} }
.file-figure {
margin: 0;
}
.context-menu { .context-menu {
color: #ffffff; color: #ffffff;
position: absolute; position: absolute;
...@@ -179,4 +184,4 @@ export default { ...@@ -179,4 +184,4 @@ export default {
.dropdown-toggle { .dropdown-toggle {
filter: drop-shadow(0px 0px 2px #000000); filter: drop-shadow(0px 0px 2px #000000);
} }
</style> </style>
\ No newline at end of file
...@@ -4,11 +4,18 @@ import router from './router' ...@@ -4,11 +4,18 @@ import router from './router'
import store from './store' import store from './store'
import "bootstrap/dist/css/bootstrap.min.css" import "bootstrap/dist/css/bootstrap.min.css"
import "bootstrap" import "bootstrap"
import VueGtag from "vue-gtag"; import { createGtag } from "vue-gtag"
// Global site tag (gtag.js) const app = createApp(App)
const ga_config = {
config: { id: process.env.VUE_APP_GA_ID } const tagId = process.env.VUE_APP_GA_ID
if (tagId) {
app.use(createGtag({
tagId,
pageTracker: {
router
}
}))
} }
createApp(App).use(VueGtag, ga_config, router).use(store).use(router).mount('#app') app.use(store).use(router).mount('#app')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment