From 8360e9c74edee0044b36c773db3bb9e1b410cd17 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 25 Jun 2023 00:34:02 +0200 Subject: [PATCH] Working POC --- Dockerfile | 2 +- package-lock.json | 71 ++++++++++++++++++++++------------------ package.json | 4 ++- src/App.vue | 83 ++++++++++++++++++++++++++++++++++++++--------- 4 files changed, 111 insertions(+), 49 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6c17441..a7e4ee2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nextcloud:25 +FROM nextcloud ENV NEXTCLOUD_UPDATE 1 ENV NEXTCLOUD_ADMIN_USER repod diff --git a/package-lock.json b/package-lock.json index 8672a5b..2e7d750 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,9 +10,11 @@ "license": "agpl", "dependencies": { "@nextcloud/axios": "2.3.0", + "@nextcloud/dialogs": "4.0.1", "@nextcloud/router": "2.1.2", "@nextcloud/vue": "7.0.1", - "vue": "2.7.14" + "vue": "2.7.14", + "vue-material-design-icons": "^5.2.0" }, "devDependencies": { "@nextcloud/babel-config": "^1.0.0", @@ -2212,12 +2214,12 @@ } }, "node_modules/@nextcloud/dialogs": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-3.2.0.tgz", - "integrity": "sha512-notaHF8LXPJINBbILCbRe+dgXnJPe7NQTIrN1vwfaGUSG9GUfEf+v367yyg2brCgV6ulE/HmNhYjTQwW5AqSJA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-4.0.1.tgz", + "integrity": "sha512-jgIJdxTpc3suHkuZBRge6/dU6krG7x9emMGTxKY5qRQqFwn9r4rCqjV7Cys7VMn1QLlHmEDdqHcYZFRtN/XVNA==", "dependencies": { "@nextcloud/l10n": "^1.3.0", - "@nextcloud/typings": "^1.0.0", + "@nextcloud/typings": "^1.4.3", "core-js": "^3.6.4", "toastify-js": "^1.12.0" }, @@ -2432,6 +2434,21 @@ "npm": "^7.0.0 || ^8.0.0" } }, + "node_modules/@nextcloud/vue/node_modules/@nextcloud/dialogs": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-3.2.0.tgz", + "integrity": "sha512-notaHF8LXPJINBbILCbRe+dgXnJPe7NQTIrN1vwfaGUSG9GUfEf+v367yyg2brCgV6ulE/HmNhYjTQwW5AqSJA==", + "dependencies": { + "@nextcloud/l10n": "^1.3.0", + "@nextcloud/typings": "^1.0.0", + "core-js": "^3.6.4", + "toastify-js": "^1.12.0" + }, + "engines": { + "node": "^16.0.0", + "npm": "^7.0.0 || ^8.0.0" + } + }, "node_modules/@nextcloud/webpack-vue-config": { "version": "5.5.1", "resolved": "https://registry.npmjs.org/@nextcloud/webpack-vue-config/-/webpack-vue-config-5.5.1.tgz", @@ -6652,21 +6669,6 @@ "dev": true, "peer": true }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "peer": true, - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -14102,12 +14104,12 @@ } }, "@nextcloud/dialogs": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-3.2.0.tgz", - "integrity": "sha512-notaHF8LXPJINBbILCbRe+dgXnJPe7NQTIrN1vwfaGUSG9GUfEf+v367yyg2brCgV6ulE/HmNhYjTQwW5AqSJA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-4.0.1.tgz", + "integrity": "sha512-jgIJdxTpc3suHkuZBRge6/dU6krG7x9emMGTxKY5qRQqFwn9r4rCqjV7Cys7VMn1QLlHmEDdqHcYZFRtN/XVNA==", "requires": { "@nextcloud/l10n": "^1.3.0", - "@nextcloud/typings": "^1.0.0", + "@nextcloud/typings": "^1.4.3", "core-js": "^3.6.4", "toastify-js": "^1.12.0" } @@ -14251,6 +14253,19 @@ "vue-material-design-icons": "^5.1.2", "vue-multiselect": "^2.1.6", "vue2-datepicker": "^3.11.0" + }, + "dependencies": { + "@nextcloud/dialogs": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-3.2.0.tgz", + "integrity": "sha512-notaHF8LXPJINBbILCbRe+dgXnJPe7NQTIrN1vwfaGUSG9GUfEf+v367yyg2brCgV6ulE/HmNhYjTQwW5AqSJA==", + "requires": { + "@nextcloud/l10n": "^1.3.0", + "@nextcloud/typings": "^1.0.0", + "core-js": "^3.6.4", + "toastify-js": "^1.12.0" + } + } } }, "@nextcloud/webpack-vue-config": { @@ -17582,14 +17597,6 @@ "dev": true, "peer": true }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true, - "peer": true - }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", diff --git a/package.json b/package.json index 1de719f..d4c4ac1 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,11 @@ }, "dependencies": { "@nextcloud/axios": "2.3.0", + "@nextcloud/dialogs": "4.0.1", "@nextcloud/router": "2.1.2", "@nextcloud/vue": "7.0.1", - "vue": "2.7.14" + "vue": "2.7.14", + "vue-material-design-icons": "^5.2.0" }, "browserslist": [ "extends @nextcloud/browserslist-config" diff --git a/src/App.vue b/src/App.vue index 2a730e7..0d17512 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,44 +1,97 @@