From 3bf484890a9dca1fba5673b3f92737c433e99ce0 Mon Sep 17 00:00:00 2001 From: marcsello Date: Wed, 25 Nov 2020 01:45:05 +0100 Subject: [PATCH] Rewritten stuff --- package-lock.json | 168 ++++++++++------------------- package.json | 7 +- public/index.html | 22 ++-- src/App.vue | 6 +- src/components/Login.vue | 36 +++++-- src/components/LoginBoxContent.vue | 25 ++--- src/components/Register.vue | 43 +++++--- src/main.js | 38 +++---- src/views/Dashboard.vue | 111 ++++++------------- src/views/Welcome.vue | 43 +++++--- 10 files changed, 212 insertions(+), 287 deletions(-) diff --git a/package-lock.json b/package-lock.json index db3ee95..07a39a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1105,61 +1105,6 @@ "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==", "dev": true }, - "@nuxt/opencollective": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@nuxt/opencollective/-/opencollective-0.3.2.tgz", - "integrity": "sha512-XG7rUdXG9fcafu9KTDIYjJSkRO38EwjlKYIb5TQ/0WDbiTUTtUtgncMscKOYzfsY86kGs05pAuMOR+3Fi0aN3A==", - "requires": { - "chalk": "^4.1.0", - "consola": "^2.15.0", - "node-fetch": "^2.6.1" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "@soda/friendly-errors-webpack-plugin": { "version": "1.7.1", "resolved": "https://registry.npmjs.org/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.7.1.tgz", @@ -1818,33 +1763,13 @@ "@syncfusion/ej2-base": "~18.3.49" } }, - "@syncfusion/ej2-vue-buttons": { - "version": "18.3.47", - "resolved": "https://registry.npmjs.org/@syncfusion/ej2-vue-buttons/-/ej2-vue-buttons-18.3.47.tgz", - "integrity": "sha512-uQC7maeHzxf3FRvAnnWjMb8PJPK8htAliVSv/AOobYYDmicKQVA0VD1C4ekyGaX+Zaw4JY1GHXl1L3EEwys0Tw==", - "requires": { - "@syncfusion/ej2-base": "~18.3.47", - "@syncfusion/ej2-buttons": "18.3.47", - "@syncfusion/ej2-vue-base": "~18.3.47" - } - }, - "@syncfusion/ej2-vue-inputs": { + "@syncfusion/ej2-vue-diagrams": { "version": "18.3.51", - "resolved": "https://registry.npmjs.org/@syncfusion/ej2-vue-inputs/-/ej2-vue-inputs-18.3.51.tgz", - "integrity": "sha512-7acqFcRBgZaUDidkpFu9dXxJWZjmucc9toYEqShqwqUGc/zgjDtxLdftbUxwGq2FiDeFN5FR+8+QxmSLYDRqtw==", + "resolved": "https://registry.npmjs.org/@syncfusion/ej2-vue-diagrams/-/ej2-vue-diagrams-18.3.51.tgz", + "integrity": "sha512-SrG4kN6ygEPn3y8sAB+PG/ohyWKNYzemR6e6AktL58A5Ikol46OyuB/hcXk397xgAEFOhpFlxNzDIa0hplX0qQ==", "requires": { "@syncfusion/ej2-base": "~18.3.51", - "@syncfusion/ej2-inputs": "18.3.51", - "@syncfusion/ej2-vue-base": "~18.3.50" - } - }, - "@syncfusion/ej2-vue-navigations": { - "version": "18.3.51", - "resolved": "https://registry.npmjs.org/@syncfusion/ej2-vue-navigations/-/ej2-vue-navigations-18.3.51.tgz", - "integrity": "sha512-RRGILsZnpB/FuTNhHz8vPFpbmZE4R0Kuex4OfGlIdAUQ4FVTOmZs+s7DnhShJLzxLZZeIbAwBpnwag7C1Ch3dQ==", - "requires": { - "@syncfusion/ej2-base": "~18.3.51", - "@syncfusion/ej2-navigations": "18.3.51", + "@syncfusion/ej2-diagrams": "18.3.51", "@syncfusion/ej2-vue-base": "~18.3.50" } }, @@ -3351,23 +3276,6 @@ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", "dev": true }, - "bootstrap": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.5.3.tgz", - "integrity": "sha512-o9ppKQioXGqhw8Z7mah6KdTYpNQY//tipnkxppWhPbiSWdD+1raYsnhwEZjkTHYbGee4cVQ0Rx65EhOY/HNLcQ==" - }, - "bootstrap-vue": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/bootstrap-vue/-/bootstrap-vue-2.19.0.tgz", - "integrity": "sha512-IjAXUSrRU5Qu9x3uwUcoj6LtysKbCVeWoJOsODyI/WokStUr95M+tTIajXUjIrB/Nsk0fS+RNvZnm2sWeNFrhg==", - "requires": { - "@nuxt/opencollective": "^0.3.2", - "bootstrap": ">=4.5.3 <5.0.0", - "popper.js": "^1.16.1", - "portal-vue": "^2.1.7", - "vue-functional-data-merge": "^3.1.0" - } - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -4215,11 +4123,6 @@ "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", "dev": true }, - "consola": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.0.tgz", - "integrity": "sha512-vlcSGgdYS26mPf7qNi+dCisbhiyDnrN1zaRbw3CSuc2wGOMEGGPsp46PdRG5gqXwgtJfjxDkxRNAgRPr1B77vQ==" - }, "console-browserify": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", @@ -6135,6 +6038,11 @@ "mime-types": "^2.1.12" } }, + "format-thousands": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/format-thousands/-/format-thousands-1.1.1.tgz", + "integrity": "sha1-eXW+4wM42QBjkNpYMdsLQcMj+/o=" + }, "forwarded": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", @@ -6269,6 +6177,11 @@ "assert-plus": "^1.0.0" } }, + "github-buttons": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/github-buttons/-/github-buttons-2.14.0.tgz", + "integrity": "sha512-rAwKwFOiWoyhb3g5ZyXjI3XXprAa36jCd0tm467aEUYtiDZkqEXkepuzNg9LryLbnuLRQmcifIPTxLUBnuYpXQ==" + }, "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", @@ -8445,6 +8358,11 @@ "is-wsl": "^1.1.0" } }, + "opencollective-postinstall": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", + "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==" + }, "opener": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", @@ -8798,16 +8716,6 @@ "ts-pnp": "^1.1.6" } }, - "popper.js": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", - "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==" - }, - "portal-vue": { - "version": "2.1.7", - "resolved": "https://registry.npmjs.org/portal-vue/-/portal-vue-2.1.7.tgz", - "integrity": "sha512-+yCno2oB3xA7irTt0EU5Ezw22L2J51uKAacE/6hMPMoO/mx3h4rXFkkBkT4GFsMDv/vEe8TNKC3ujJJ0PTwb6g==" - }, "portfinder": { "version": "1.0.28", "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", @@ -11582,10 +11490,23 @@ } } }, - "vue-functional-data-merge": { + "vue-github-button": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/vue-github-button/-/vue-github-button-1.3.0.tgz", + "integrity": "sha512-Cc92t+GBLwBPhwtHSvKXjbx07U3+6xdi+eR+s9c734tHbndipCLenJjLVkgErNhKZ0EvDjRyuu8Hu69gg9/TxQ==", + "requires": { + "github-buttons": "^2.8.0" + } + }, + "vue-github-buttons": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/vue-functional-data-merge/-/vue-functional-data-merge-3.1.0.tgz", - "integrity": "sha512-leT4kdJVQyeZNY1kmnS1xiUlQ9z1B/kdBFCILIjYYQDqZgLqCLa0UhjSSeRX6c3mUe6U5qYeM8LrEqkHJ1B4LA==" + "resolved": "https://registry.npmjs.org/vue-github-buttons/-/vue-github-buttons-3.1.0.tgz", + "integrity": "sha512-x0b9bdhP5xZOD5kQ9+nnCzvKqVyHb4moqN2l06mjYB/k2WRdW5jiAWlneUgoPFwPvcqM40vrTDXVvBrS0MMlEQ==", + "requires": { + "format-thousands": "^1.1.1", + "node-fetch": "^2.3.0", + "tslib": "^1.9.3" + } }, "vue-hot-reload-api": { "version": "2.3.4", @@ -11695,6 +11616,17 @@ } } }, + "vue-material": { + "version": "1.0.0-beta-15", + "resolved": "https://registry.npmjs.org/vue-material/-/vue-material-1.0.0-beta-15.tgz", + "integrity": "sha512-nNC1mF1BQNKsyEjRXPYxweYlIOcVE9rK4LeeyppOU6h4vgQnZuNmlGIRnl6fUe8dj+x7c5x5/qydLhJRabPMng==", + "requires": { + "opencollective-postinstall": "^2.0.2", + "vue-github-button": "^1.2.0", + "vue-github-buttons": "^3.1.0", + "vue-toc": "0.0.1" + } + }, "vue-router": { "version": "3.4.9", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.9.tgz", @@ -11734,6 +11666,14 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, + "vue-toc": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/vue-toc/-/vue-toc-0.0.1.tgz", + "integrity": "sha512-RZfVgLzk/kpEmk05ptvU/+x3TVo4Ai4BBARvV4iCurR9bJsAqnnrqwjEBKnEG+s6NT0yQ6EY0JMGViyOUGysDw==", + "requires": { + "vue": "^2.6.10" + } + }, "vuex": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/vuex/-/vuex-3.5.1.tgz", diff --git a/package.json b/package.json index ca56894..cf03c61 100644 --- a/package.json +++ b/package.json @@ -10,13 +10,10 @@ "dependencies": { "@syncfusion/ej2": "^18.3.51", "@syncfusion/ej2-base": "^18.3.51", - "@syncfusion/ej2-vue-buttons": "^18.3.47", - "@syncfusion/ej2-vue-inputs": "^18.3.51", - "@syncfusion/ej2-vue-navigations": "^18.3.51", - "bootstrap": "^4.5.3", - "bootstrap-vue": "^2.19.0", + "@syncfusion/ej2-vue-diagrams": "^18.3.51", "core-js": "^3.6.5", "vue": "^2.6.12", + "vue-material": "^1.0.0-beta-15", "vue-router": "^3.2.0", "vuex": "^3.4.0" }, diff --git a/public/index.html b/public/index.html index c343076..3710caa 100644 --- a/public/index.html +++ b/public/index.html @@ -1,17 +1,19 @@ - + - + + <%= htmlWebpackPlugin.options.title %> - - - -
- - + + + +
+ + diff --git a/src/App.vue b/src/App.vue index 41ebfa0..50890c4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,11 +11,7 @@ \ No newline at end of file diff --git a/src/views/Welcome.vue b/src/views/Welcome.vue index 2f7afd3..0eacdc4 100644 --- a/src/views/Welcome.vue +++ b/src/views/Welcome.vue @@ -1,20 +1,20 @@ @@ -23,12 +23,23 @@ import LoginBoxContent from "@/components/LoginBoxContent"; export default { name: "Welcome", - components: {LoginBoxContent} + components: { + LoginBoxContent + } } \ No newline at end of file