diff --git a/package-lock.json b/package-lock.json index 38d2308..1832b1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ "date-fns": "^2.25.0", "pinia": "^2.0.0-rc.13", "pinia-plugin-persist": "^0.0.92", + "uuid": "^8.3.2", "vue": "^3.2.20", "vue-router": "^4.0.12", "vue-tsc": "^0.3.0" @@ -23,6 +24,7 @@ "devDependencies": { "@types/bootstrap": "^5.1.6", "@types/node": "^16.11.1", + "@types/uuid": "^8.3.1", "@vitejs/plugin-vue": "^1.9.3", "sass": "^1.43.2", "typescript": "^4.4.4", @@ -129,6 +131,12 @@ "integrity": "sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ==", "dev": true }, + "node_modules/@types/uuid": { + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.1.tgz", + "integrity": "sha512-Y2mHTRAbqfFkpjldbkHGY8JIzRN6XqYRliG8/24FcHm2D2PwW24fl5xMRTVGdrb7iMrwCaIEbLWerGIkXuFWVg==", + "dev": true + }, "node_modules/@vitejs/plugin-vue": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.9.3.tgz", @@ -1470,6 +1478,14 @@ "yarn": "*" } }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/vite": { "version": "2.6.10", "resolved": "https://registry.npmjs.org/vite/-/vite-2.6.10.tgz", @@ -1801,6 +1817,12 @@ "integrity": "sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ==", "dev": true }, + "@types/uuid": { + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.1.tgz", + "integrity": "sha512-Y2mHTRAbqfFkpjldbkHGY8JIzRN6XqYRliG8/24FcHm2D2PwW24fl5xMRTVGdrb7iMrwCaIEbLWerGIkXuFWVg==", + "dev": true + }, "@vitejs/plugin-vue": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.9.3.tgz", @@ -2760,6 +2782,11 @@ "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==" }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, "vite": { "version": "2.6.10", "resolved": "https://registry.npmjs.org/vite/-/vite-2.6.10.tgz", diff --git a/package.json b/package.json index acd3e2e..8b459b9 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "date-fns": "^2.25.0", "pinia": "^2.0.0-rc.13", "pinia-plugin-persist": "^0.0.92", + "uuid": "^8.3.2", "vue": "^3.2.20", "vue-router": "^4.0.12", "vue-tsc": "^0.3.0" @@ -22,6 +23,7 @@ "devDependencies": { "@types/bootstrap": "^5.1.6", "@types/node": "^16.11.1", + "@types/uuid": "^8.3.1", "@vitejs/plugin-vue": "^1.9.3", "sass": "^1.43.2", "typescript": "^4.4.4", diff --git a/src/components/Notification.vue b/src/components/Notification.vue index fb6feb5..846c349 100644 --- a/src/components/Notification.vue +++ b/src/components/Notification.vue @@ -1,12 +1,14 @@