From 4bdddf1462df97248ef8a48b8c542f41b6f071eb Mon Sep 17 00:00:00 2001 From: Ilia Miheev Date: Sat, 14 Feb 2026 23:08:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B8=D0=BD=D0=B8=D0=BC=D0=B0=D0=BB?= =?UTF-8?q?=D1=8C=D0=BD=D0=B0=D1=8F=20=D0=B7=D0=B0=D0=B3=D0=BE=D1=82=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=B0.=20=D0=91=D0=B5=D0=B7=20=D1=81=D1=82=D0=B8?= =?UTF-8?q?=D0=BB=D0=B5=D0=B9,=20=D0=BD=D0=BE=20=D1=83=D0=B6=D0=B5=20?= =?UTF-8?q?=D0=B2=D0=B5=D0=B4=D1=91=D1=82=20=D1=80=D0=B0=D1=81=D1=87=D1=91?= =?UTF-8?q?=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + index.html | 1 + package-lock.json | 9 ++++- package.json | 3 +- src/App.vue | 100 +++++++++++++++++++++++++++++++++++++++++++--- src/izitoast.js | 15 +++++++ 6 files changed, 122 insertions(+), 7 deletions(-) create mode 100644 src/izitoast.js diff --git a/.gitignore b/.gitignore index 8296128..e3b81cf 100644 --- a/.gitignore +++ b/.gitignore @@ -90,3 +90,4 @@ typings/ # Electron-Forge out/ +.idea \ No newline at end of file diff --git a/index.html b/index.html index e20cd7a..151627a 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ Hello World! +
diff --git a/package-lock.json b/package-lock.json index 868187e..ad05892 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,8 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "electron-squirrel-startup": "^1.0.1" + "electron-squirrel-startup": "^1.0.1", + "izitoast": "^1.4.0" }, "devDependencies": { "@electron-forge/cli": "^7.11.1", @@ -5404,6 +5405,12 @@ "dev": true, "license": "ISC" }, + "node_modules/izitoast": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/izitoast/-/izitoast-1.4.0.tgz", + "integrity": "sha512-Oc1X2wiQtPp39i5VpIjf3GJf5sfCtHKXZ5szx7RareyEeFLUlcEW0FSfBni28+Ul6KNKZRKzhVuWzSP4Xngh0w==", + "license": "Apache-2.0" + }, "node_modules/jest-worker": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", diff --git a/package.json b/package.json index e847b43..a26b84c 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "vite": "^5.4.21" }, "dependencies": { - "electron-squirrel-startup": "^1.0.1" + "electron-squirrel-startup": "^1.0.1", + "izitoast": "^1.4.0" } } diff --git a/src/App.vue b/src/App.vue index f07fbb1..dd54d52 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,8 +1,98 @@ + + - \ No newline at end of file + diff --git a/src/izitoast.js b/src/izitoast.js new file mode 100644 index 0000000..084e978 --- /dev/null +++ b/src/izitoast.js @@ -0,0 +1,15 @@ +import iziToast from "izitoast" + +iziToast.settings({ + timeout: 3000, + closeOnEscape: true, + closeOnClick : true, + resetOnHover: false, + maxWidth: "400px", + displayMode: "replace", + position: 'topRight', + transitionIn: 'flipInX', + transitionOut: 'flipOutX', +}); + +export default iziToast \ No newline at end of file