diff --git a/package-lock.json b/package-lock.json index 553b8a3fc..1959e0262 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,6 @@ "@nextcloud/notify_push": "^1.1.3", "@nextcloud/router": "^2.1.1", "@nextcloud/vue": "^7.8.4", - "@nextcloud/vue-dashboard": "^2.0.1", "@nextcloud/vue-richtext": "^2.0.4", "blueimp-md5": "^2.19.0", "dompurify": "^3.0.2", @@ -2945,22 +2944,6 @@ "@babel/preset-env": "^7.13.12" } }, - "node_modules/@nextcloud/browser-storage": { - "version": "0.1.1", - "license": "GPL-3.0-or-later", - "dependencies": { - "core-js": "3.6.1" - } - }, - "node_modules/@nextcloud/browser-storage/node_modules/core-js": { - "version": "3.6.1", - "hasInstallScript": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, "node_modules/@nextcloud/browserslist-config": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@nextcloud/browserslist-config/-/browserslist-config-2.3.0.tgz", @@ -3511,202 +3494,6 @@ "npm": "^7.0.0 || ^8.0.0" } }, - "node_modules/@nextcloud/vue-dashboard": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/vue-dashboard/-/vue-dashboard-2.0.1.tgz", - "integrity": "sha512-eLzdK8Ey5rrs3D6i2OAA5jkZ6lklrAbfnRgL40tZLIJ+MEKvRuPOjwrzhJKxHgVp3rU1rEgkaaPvSNXRVGS1mQ==", - "dependencies": { - "@nextcloud/vue": "^3.1.1", - "core-js": "^3.6.4", - "vue": "^2.6.11" - }, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "@nextcloud/vue": "^3.1.1", - "vue": "^2.6.11" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/@nextcloud/auth": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@nextcloud/auth/-/auth-1.3.0.tgz", - "integrity": "sha512-GfwRM9W7hat4psNdAt74UHEV+drEXQ53klCVp6JpON66ZLPeK5eJ1LQuiQDkpUxZpqNeaumXjiB98h5cug/uQw==", - "dependencies": { - "@nextcloud/event-bus": "^1.1.3", - "@nextcloud/typings": "^0.2.2", - "core-js": "^3.6.4" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/@nextcloud/axios": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@nextcloud/axios/-/axios-1.11.0.tgz", - "integrity": "sha512-NyaiSC2GX2CPaH/MUGGMTTTza/TW9ZqWNGWq6LJ+pLER8nqZ9BQkwJ5kXUYGo+i3cka68PO+9WhcDv4fSABpuQ==", - "dependencies": { - "@nextcloud/auth": "^1.3.0", - "axios": "^0.27.1", - "core-js": "^3.6.4" - }, - "engines": { - "node": "^16.0.0", - "npm": "^7.0.0 || ^8.0.0" - } - }, - "node_modules/@nextcloud/vue-dashboard/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/vue-dashboard/node_modules/@nextcloud/dialogs/node_modules/@nextcloud/typings": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@nextcloud/typings/-/typings-1.6.0.tgz", - "integrity": "sha512-5uIsteFy9Z9/ZaNGE8w8SDgJp+FK8/LeRLgfnakC2pU8eNKTPlQfkiYR163oEI5Xu5YzwdIzf6/roIXdNinhrw==", - "dependencies": { - "@types/jquery": "2.0.60" - }, - "engines": { - "node": "^16.0.0", - "npm": "^7.0.0 || ^8.0.0" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/@nextcloud/event-bus": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-1.3.0.tgz", - "integrity": "sha512-+U5MnCvfnNWvf0lvdqJg8F+Nm8wN+s9ayuBjtiEQxTAcootv7lOnlMgfreqF3l2T0Wet2uZh4JbFVUWf8l3w7g==", - "dependencies": { - "@types/semver": "^7.3.5", - "core-js": "^3.11.2", - "semver": "^7.3.5" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/@nextcloud/l10n": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-1.6.0.tgz", - "integrity": "sha512-aKGlgrwN9OiafN791sYus0shfwNeU3PlrH6Oi9ISma6iJSvN6a8aJM8WGKCJ9pqBaTR5PrDuckuM/WnybBWb6A==", - "dependencies": { - "core-js": "^3.6.4", - "node-gettext": "^3.0.0" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/@nextcloud/router": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-1.2.0.tgz", - "integrity": "sha512-kn9QsL9LuhkIMaSSgdiqRL3SZ6PatuAjXUiyq343BbSnI99Oc5eJH8kU6cT2AHije7wKy/tK8Xe3VQuVO32SZQ==", - "dependencies": { - "core-js": "^3.6.4" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/@nextcloud/vue": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-3.10.1.tgz", - "integrity": "sha512-DdnnEFxt5FuZOtAD1x7hSDFVQF9KVVgQtFKwzs2ySNbyIx8rfRfc6noC7JbMAPR1LyPegCst0bVwQIfqsASGog==", - "dependencies": { - "@nextcloud/auth": "^1.2.3", - "@nextcloud/axios": "^1.3.2", - "@nextcloud/browser-storage": "^0.1.1", - "@nextcloud/capabilities": "^1.0.2", - "@nextcloud/dialogs": "^3.0.0", - "@nextcloud/event-bus": "^1.1.4", - "@nextcloud/l10n": "^1.2.3", - "@nextcloud/router": "^1.0.2", - "core-js": "^3.6.5", - "debounce": "1.2.1", - "emoji-mart-vue-fast": "^7.0.7", - "escape-html": "^1.0.3", - "hammerjs": "^2.0.8", - "linkifyjs": "~2.1.9", - "md5": "^2.2.1", - "regenerator-runtime": "^0.13.5", - "string-length": "^4.0.1", - "striptags": "^3.1.1", - "style-loader": "^2.0.0", - "tributejs": "^5.1.3", - "v-click-outside": "^3.0.1", - "v-tooltip": "^2.0.3", - "vue": "^2.6.11", - "vue-color": "^2.7.1", - "vue-multiselect": "^2.1.6", - "vue-visible": "^1.0.2", - "vue2-datepicker": "^3.6.3" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/@types/jquery": { - "version": "2.0.60", - "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-2.0.60.tgz", - "integrity": "sha512-izi6OBEVrAwaHiqWITjOPBbVtcKZKAXTocJqPZsAKA2lvmbpFEyPSAxgcqmisbiMYj9EvrooUEPLHQeQqVMWAg==" - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/core-js": { - "version": "3.14.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.14.0.tgz", - "integrity": "sha512-3s+ed8er9ahK+zJpp9ZtuVcDoFzHNiZsPbNAAE4KXgrRHbjSqqNN6xGSXq6bq7TZIbKj4NLrLb6bJ5i+vSVjHA==", - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/style-loader": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-2.0.0.tgz", - "integrity": "sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ==", - "dependencies": { - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@nextcloud/vue-dashboard/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, "node_modules/@nextcloud/vue-richtext": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@nextcloud/vue-richtext/-/vue-richtext-2.0.4.tgz", @@ -5310,6 +5097,7 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -5363,6 +5151,7 @@ "node_modules/ajv-keywords": { "version": "3.5.2", "license": "MIT", + "peer": true, "peerDependencies": { "ajv": "^6.9.1" } @@ -5408,6 +5197,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, "engines": { "node": ">=8" } @@ -5982,7 +5772,9 @@ }, "node_modules/big.js": { "version": "5.2.2", + "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "*" } @@ -6422,6 +6214,7 @@ }, "node_modules/char-regex": { "version": "1.0.2", + "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -7949,40 +7742,11 @@ "url": "https://github.com/sindresorhus/emittery?sponsor=1" } }, - "node_modules/emoji-mart-vue-fast": { - "version": "7.0.7", - "license": "BSD-3-Clause", - "dependencies": { - "@babel/polyfill": "7.2.5", - "@babel/runtime": "7.3.4", - "vue-virtual-scroller": "^1.0.0-rc.2" - }, - "peerDependencies": { - "vue": "^2.0.0" - } - }, - "node_modules/emoji-mart-vue-fast/node_modules/@babel/polyfill": { - "version": "7.2.5", - "license": "MIT", - "dependencies": { - "core-js": "^2.5.7", - "regenerator-runtime": "^0.12.0" - } - }, - "node_modules/emoji-mart-vue-fast/node_modules/@babel/runtime": { - "version": "7.3.4", - "license": "MIT", - "dependencies": { - "regenerator-runtime": "^0.12.0" - } - }, - "node_modules/emoji-mart-vue-fast/node_modules/regenerator-runtime": { - "version": "0.12.1", - "license": "MIT" - }, "node_modules/emojis-list": { "version": "3.0.0", + "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 4" } @@ -12991,12 +12755,6 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/jquery": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz", - "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==", - "peer": true - }, "node_modules/js-beautify": { "version": "1.11.0", "dev": true, @@ -13034,6 +12792,7 @@ }, "node_modules/js-tokens": { "version": "4.0.0", + "dev": true, "license": "MIT" }, "node_modules/js-yaml": { @@ -13089,7 +12848,8 @@ }, "node_modules/json-schema-traverse": { "version": "0.4.1", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -13107,6 +12867,7 @@ "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, "bin": { "json5": "lib/cli.js" }, @@ -13209,15 +12970,6 @@ "uc.micro": "^1.0.1" } }, - "node_modules/linkifyjs": { - "version": "2.1.9", - "license": "MIT", - "peerDependencies": { - "jquery": ">= 1.11.0", - "react": ">= 0.14.0", - "react-dom": ">= 0.14.0" - } - }, "node_modules/listr2": { "version": "3.14.0", "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.14.0.tgz", @@ -13257,6 +13009,8 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "peer": true, "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", @@ -13474,17 +13228,6 @@ "node": ">=8" } }, - "node_modules/loose-envify": { - "version": "1.4.0", - "license": "MIT", - "peer": true, - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, "node_modules/lru-cache": { "version": "4.1.5", "dev": true, @@ -15382,14 +15125,6 @@ "node": ">=8" } }, - "node_modules/popper.js": { - "version": "1.16.1", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, "node_modules/postcss": { "version": "8.4.18", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz", @@ -15866,31 +15601,6 @@ "node": ">= 0.8" } }, - "node_modules/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" - }, - "peerDependencies": { - "react": "^18.2.0" - } - }, "node_modules/react-is": { "version": "18.2.0", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", @@ -16398,19 +16108,11 @@ } } }, - "node_modules/scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0" - } - }, "node_modules/schema-utils": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "peer": true, "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -16424,10 +16126,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/scrollparent": { - "version": "2.0.1", - "license": "ISC" - }, "node_modules/select-hose": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", @@ -16962,6 +16660,7 @@ }, "node_modules/string-length": { "version": "4.0.1", + "dev": true, "license": "MIT", "dependencies": { "char-regex": "^1.0.2", @@ -17020,6 +16719,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -18267,23 +17967,6 @@ "node": ">=6" } }, - "node_modules/v-click-outside": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/v-click-outside/-/v-click-outside-3.2.0.tgz", - "integrity": "sha512-QD0bDy38SHJXQBjgnllmkI/rbdiwmq9RC+/+pvrFjYJKTn8dtp7Penf9q1lLBta280fYG2q53mgLhQ+3l3z74w==", - "engines": { - "node": ">=6" - } - }, - "node_modules/v-tooltip": { - "version": "2.0.3", - "license": "ISC", - "dependencies": { - "lodash": "^4.17.15", - "popper.js": "^1.16.0", - "vue-resize": "^0.4.5" - } - }, "node_modules/v8-compile-cache": { "version": "2.3.0", "dev": true, @@ -18613,17 +18296,6 @@ "npm": ">= 3.0.0" } }, - "node_modules/vue-observe-visibility": { - "version": "0.4.6", - "license": "MIT" - }, - "node_modules/vue-resize": { - "version": "0.4.5", - "license": "MIT", - "peerDependencies": { - "vue": "^2.3.0" - } - }, "node_modules/vue-router": { "version": "3.6.5", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.6.5.tgz", @@ -18690,22 +18362,6 @@ "dev": true, "license": "MIT" }, - "node_modules/vue-virtual-scroller": { - "version": "1.0.10", - "license": "MIT", - "dependencies": { - "scrollparent": "^2.0.1", - "vue-observe-visibility": "^0.4.4", - "vue-resize": "^0.4.5" - }, - "peerDependencies": { - "vue": "^2.6.11" - } - }, - "node_modules/vue-visible": { - "version": "1.0.2", - "license": "MIT" - }, "node_modules/vue2-datepicker": { "version": "3.11.0", "resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.11.0.tgz", @@ -21484,17 +21140,6 @@ "dev": true, "requires": {} }, - "@nextcloud/browser-storage": { - "version": "0.1.1", - "requires": { - "core-js": "3.6.1" - }, - "dependencies": { - "core-js": { - "version": "3.6.1" - } - } - }, "@nextcloud/browserslist-config": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@nextcloud/browserslist-config/-/browserslist-config-2.3.0.tgz", @@ -21988,160 +21633,6 @@ } } }, - "@nextcloud/vue-dashboard": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/vue-dashboard/-/vue-dashboard-2.0.1.tgz", - "integrity": "sha512-eLzdK8Ey5rrs3D6i2OAA5jkZ6lklrAbfnRgL40tZLIJ+MEKvRuPOjwrzhJKxHgVp3rU1rEgkaaPvSNXRVGS1mQ==", - "requires": { - "@nextcloud/vue": "^3.1.1", - "core-js": "^3.6.4", - "vue": "^2.6.11" - }, - "dependencies": { - "@nextcloud/auth": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@nextcloud/auth/-/auth-1.3.0.tgz", - "integrity": "sha512-GfwRM9W7hat4psNdAt74UHEV+drEXQ53klCVp6JpON66ZLPeK5eJ1LQuiQDkpUxZpqNeaumXjiB98h5cug/uQw==", - "requires": { - "@nextcloud/event-bus": "^1.1.3", - "@nextcloud/typings": "^0.2.2", - "core-js": "^3.6.4" - } - }, - "@nextcloud/axios": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@nextcloud/axios/-/axios-1.11.0.tgz", - "integrity": "sha512-NyaiSC2GX2CPaH/MUGGMTTTza/TW9ZqWNGWq6LJ+pLER8nqZ9BQkwJ5kXUYGo+i3cka68PO+9WhcDv4fSABpuQ==", - "requires": { - "@nextcloud/auth": "^1.3.0", - "axios": "^0.27.1", - "core-js": "^3.6.4" - } - }, - "@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" - }, - "dependencies": { - "@nextcloud/typings": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@nextcloud/typings/-/typings-1.6.0.tgz", - "integrity": "sha512-5uIsteFy9Z9/ZaNGE8w8SDgJp+FK8/LeRLgfnakC2pU8eNKTPlQfkiYR163oEI5Xu5YzwdIzf6/roIXdNinhrw==", - "requires": { - "@types/jquery": "2.0.60" - } - } - } - }, - "@nextcloud/event-bus": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-1.3.0.tgz", - "integrity": "sha512-+U5MnCvfnNWvf0lvdqJg8F+Nm8wN+s9ayuBjtiEQxTAcootv7lOnlMgfreqF3l2T0Wet2uZh4JbFVUWf8l3w7g==", - "requires": { - "@types/semver": "^7.3.5", - "core-js": "^3.11.2", - "semver": "^7.3.5" - } - }, - "@nextcloud/l10n": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-1.6.0.tgz", - "integrity": "sha512-aKGlgrwN9OiafN791sYus0shfwNeU3PlrH6Oi9ISma6iJSvN6a8aJM8WGKCJ9pqBaTR5PrDuckuM/WnybBWb6A==", - "requires": { - "core-js": "^3.6.4", - "node-gettext": "^3.0.0" - } - }, - "@nextcloud/router": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-1.2.0.tgz", - "integrity": "sha512-kn9QsL9LuhkIMaSSgdiqRL3SZ6PatuAjXUiyq343BbSnI99Oc5eJH8kU6cT2AHije7wKy/tK8Xe3VQuVO32SZQ==", - "requires": { - "core-js": "^3.6.4" - } - }, - "@nextcloud/vue": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-3.10.1.tgz", - "integrity": "sha512-DdnnEFxt5FuZOtAD1x7hSDFVQF9KVVgQtFKwzs2ySNbyIx8rfRfc6noC7JbMAPR1LyPegCst0bVwQIfqsASGog==", - "requires": { - "@nextcloud/auth": "^1.2.3", - "@nextcloud/axios": "^1.3.2", - "@nextcloud/browser-storage": "^0.1.1", - "@nextcloud/capabilities": "^1.0.2", - "@nextcloud/dialogs": "^3.0.0", - "@nextcloud/event-bus": "^1.1.4", - "@nextcloud/l10n": "^1.2.3", - "@nextcloud/router": "^1.0.2", - "core-js": "^3.6.5", - "debounce": "1.2.1", - "emoji-mart-vue-fast": "^7.0.7", - "escape-html": "^1.0.3", - "hammerjs": "^2.0.8", - "linkifyjs": "~2.1.9", - "md5": "^2.2.1", - "regenerator-runtime": "^0.13.5", - "string-length": "^4.0.1", - "striptags": "^3.1.1", - "style-loader": "^2.0.0", - "tributejs": "^5.1.3", - "v-click-outside": "^3.0.1", - "v-tooltip": "^2.0.3", - "vue": "^2.6.11", - "vue-color": "^2.7.1", - "vue-multiselect": "^2.1.6", - "vue-visible": "^1.0.2", - "vue2-datepicker": "^3.6.3" - } - }, - "@types/jquery": { - "version": "2.0.60", - "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-2.0.60.tgz", - "integrity": "sha512-izi6OBEVrAwaHiqWITjOPBbVtcKZKAXTocJqPZsAKA2lvmbpFEyPSAxgcqmisbiMYj9EvrooUEPLHQeQqVMWAg==" - }, - "core-js": { - "version": "3.14.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.14.0.tgz", - "integrity": "sha512-3s+ed8er9ahK+zJpp9ZtuVcDoFzHNiZsPbNAAE4KXgrRHbjSqqNN6xGSXq6bq7TZIbKj4NLrLb6bJ5i+vSVjHA==" - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "style-loader": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-2.0.0.tgz", - "integrity": "sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ==", - "requires": { - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - } - } - }, "@nextcloud/vue-richtext": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@nextcloud/vue-richtext/-/vue-richtext-2.0.4.tgz", @@ -23308,6 +22799,7 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "peer": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -23346,6 +22838,7 @@ }, "ajv-keywords": { "version": "3.5.2", + "peer": true, "requires": {} }, "ansi-colors": { @@ -23373,7 +22866,8 @@ "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true }, "ansi-styles": { "version": "3.2.1", @@ -23801,7 +23295,9 @@ } }, "big.js": { - "version": "5.2.2" + "version": "5.2.2", + "dev": true, + "peer": true }, "binary-extensions": { "version": "2.2.0", @@ -24132,7 +23628,8 @@ } }, "char-regex": { - "version": "1.0.2" + "version": "1.0.2", + "dev": true }, "character-entities": { "version": "2.0.2", @@ -25292,34 +24789,10 @@ "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true }, - "emoji-mart-vue-fast": { - "version": "7.0.7", - "requires": { - "@babel/polyfill": "7.2.5", - "@babel/runtime": "7.3.4", - "vue-virtual-scroller": "^1.0.0-rc.2" - }, - "dependencies": { - "@babel/polyfill": { - "version": "7.2.5", - "requires": { - "core-js": "^2.5.7", - "regenerator-runtime": "^0.12.0" - } - }, - "@babel/runtime": { - "version": "7.3.4", - "requires": { - "regenerator-runtime": "^0.12.0" - } - }, - "regenerator-runtime": { - "version": "0.12.1" - } - } - }, "emojis-list": { - "version": "3.0.0" + "version": "3.0.0", + "dev": true, + "peer": true }, "encodeurl": { "version": "1.0.2", @@ -28935,12 +28408,6 @@ } } }, - "jquery": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz", - "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==", - "peer": true - }, "js-beautify": { "version": "1.11.0", "dev": true, @@ -28966,7 +28433,8 @@ "peer": true }, "js-tokens": { - "version": "4.0.0" + "version": "4.0.0", + "dev": true }, "js-yaml": { "version": "3.14.1", @@ -29007,7 +28475,8 @@ "dev": true }, "json-schema-traverse": { - "version": "0.4.1" + "version": "0.4.1", + "peer": true }, "json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -29023,7 +28492,8 @@ "json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==" + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true }, "jsonfile": { "version": "6.1.0", @@ -29098,10 +28568,6 @@ "uc.micro": "^1.0.1" } }, - "linkifyjs": { - "version": "2.1.9", - "requires": {} - }, "listr2": { "version": "3.14.0", "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.14.0.tgz", @@ -29126,6 +28592,8 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "peer": true, "requires": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", @@ -29292,13 +28760,6 @@ } } }, - "loose-envify": { - "version": "1.4.0", - "peer": true, - "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" - } - }, "lru-cache": { "version": "4.1.5", "dev": true, @@ -30566,9 +30027,6 @@ } } }, - "popper.js": { - "version": "1.16.1" - }, "postcss": { "version": "8.4.18", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz", @@ -30899,25 +30357,6 @@ } } }, - "react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", - "peer": true, - "requires": { - "loose-envify": "^1.1.0" - } - }, - "react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", - "peer": true, - "requires": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" - } - }, "react-is": { "version": "18.2.0", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", @@ -31268,28 +30707,17 @@ "neo-async": "^2.6.2" } }, - "scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", - "peer": true, - "requires": { - "loose-envify": "^1.1.0" - } - }, "schema-utils": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "peer": true, "requires": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } }, - "scrollparent": { - "version": "2.0.1" - }, "select-hose": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", @@ -31739,6 +31167,7 @@ }, "string-length": { "version": "4.0.1", + "dev": true, "requires": { "char-regex": "^1.0.2", "strip-ansi": "^6.0.0" @@ -31785,6 +31214,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "requires": { "ansi-regex": "^5.0.1" } @@ -32682,19 +32112,6 @@ } } }, - "v-click-outside": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/v-click-outside/-/v-click-outside-3.2.0.tgz", - "integrity": "sha512-QD0bDy38SHJXQBjgnllmkI/rbdiwmq9RC+/+pvrFjYJKTn8dtp7Penf9q1lLBta280fYG2q53mgLhQ+3l3z74w==" - }, - "v-tooltip": { - "version": "2.0.3", - "requires": { - "lodash": "^4.17.15", - "popper.js": "^1.16.0", - "vue-resize": "^0.4.5" - } - }, "v8-compile-cache": { "version": "2.3.0", "dev": true, @@ -32935,13 +32352,6 @@ "vue-multiselect": { "version": "2.1.6" }, - "vue-observe-visibility": { - "version": "0.4.6" - }, - "vue-resize": { - "version": "0.4.5", - "requires": {} - }, "vue-router": { "version": "3.6.5", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.6.5.tgz", @@ -33002,17 +32412,6 @@ "version": "1.9.1", "dev": true }, - "vue-virtual-scroller": { - "version": "1.0.10", - "requires": { - "scrollparent": "^2.0.1", - "vue-observe-visibility": "^0.4.4", - "vue-resize": "^0.4.5" - } - }, - "vue-visible": { - "version": "1.0.2" - }, "vue2-datepicker": { "version": "3.11.0", "resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.11.0.tgz", diff --git a/package.json b/package.json index c4be3321b..b44f02c9a 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "@nextcloud/notify_push": "^1.1.3", "@nextcloud/router": "^2.1.1", "@nextcloud/vue": "^7.8.4", - "@nextcloud/vue-dashboard": "^2.0.1", "@nextcloud/vue-richtext": "^2.0.4", "blueimp-md5": "^2.19.0", "dompurify": "^3.0.2", diff --git a/src/init-dashboard.js b/src/init-dashboard.js index 3d36981f3..18be0c35b 100644 --- a/src/init-dashboard.js +++ b/src/init-dashboard.js @@ -33,7 +33,8 @@ document.addEventListener('DOMContentLoaded', () => { OCA.Dashboard.register('deck', async (el) => { const { default: Vue } = await import('vue') const { default: Vuex } = await import('vuex') - const { default: overview } = await import('./store/overview.js') + const { default: dashboard } = await import('./store/dashboard.js') + const { default: Dashboard } = await import('./views/Dashboard.vue') Vue.prototype.t = t Vue.prototype.n = n @@ -42,7 +43,7 @@ document.addEventListener('DOMContentLoaded', () => { const store = new Vuex.Store({ modules: { - overview, + dashboard, }, strict: debug, }) diff --git a/src/store/dashboard.js b/src/store/dashboard.js new file mode 100644 index 000000000..1b173b5ff --- /dev/null +++ b/src/store/dashboard.js @@ -0,0 +1,51 @@ +/* + * @copyright Copyright (c) 2020 Jakob Röhrl + * + * @author Jakob Röhrl + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + +import Vue from 'vue' +import Vuex from 'vuex' +import { OverviewApi } from '../services/OverviewApi.js' + +Vue.use(Vuex) + +const apiClient = new OverviewApi() + +export default { + state: { + assignedCards: [], + }, + getters: { + assignedCardsDashboard: state => { + return Object.values(state.assignedCards).flat() + }, + }, + mutations: { + setAssignedCards(state, assignedCards) { + state.assignedCards = assignedCards + }, + }, + actions: { + async loadUpcoming({ commit }) { + const upcommingCards = await apiClient.get('upcoming') + commit('setAssignedCards', upcommingCards) + }, + }, +}