From 4be99a93c83e42e208db49602e6a8b163aae1406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sat, 20 Aug 2022 11:50:27 +0200 Subject: [PATCH 1/6] Bump to @nextcloud/vue@6.0.0-beta.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- package-lock.json | 520 ++++++++++-------- package.json | 2 +- src/App.vue | 20 +- src/BoardSelector.vue | 8 +- src/CardCreateDialog.vue | 30 +- src/CardSelector.vue | 18 +- src/components/ActivityEntry.vue | 4 +- src/components/AttachmentDragAndDrop.vue | 8 +- src/components/Controls.vue | 68 +-- src/components/board/Board.vue | 8 +- src/components/board/BoardSidebar.vue | 26 +- src/components/board/SharingTabSidebar.vue | 26 +- src/components/board/Stack.vue | 32 +- src/components/board/TagsTabSidebar.vue | 48 +- src/components/boards/BoardItem.vue | 8 +- src/components/card/AttachmentList.vue | 30 +- src/components/card/CardSidebar.vue | 40 +- .../card/CardSidebarTabComments.vue | 6 +- src/components/card/CardSidebarTabDetails.vue | 34 +- src/components/card/CommentForm.vue | 10 +- src/components/card/CommentItem.vue | 46 +- src/components/card/Description.vue | 32 +- src/components/cards/AvatarList.vue | 16 +- src/components/cards/CardBadges.vue | 6 +- src/components/cards/CardMenu.vue | 42 +- src/components/icons/DeckIcon.vue | 19 + src/components/navigation/AppNavigation.vue | 49 +- .../navigation/AppNavigationAddBoard.vue | 12 +- .../navigation/AppNavigationBoard.vue | 76 +-- .../navigation/AppNavigationBoardCategory.vue | 13 +- src/components/search/GlobalSearchResults.vue | 10 +- src/main.js | 1 + src/views/Dashboard.vue | 8 +- 33 files changed, 680 insertions(+), 596 deletions(-) create mode 100644 src/components/icons/DeckIcon.vue diff --git a/package-lock.json b/package-lock.json index 5690dcf3b..944f5ede1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@nextcloud/l10n": "^1.6.0", "@nextcloud/moment": "^1.2.1", "@nextcloud/router": "^2.0.0", - "@nextcloud/vue": "^5.4.0", + "@nextcloud/vue": "^6.0.0-beta.3", "@nextcloud/vue-dashboard": "^2.0.1", "blueimp-md5": "^2.19.0", "dompurify": "^2.3.10", @@ -1965,6 +1965,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@floating-ui/core": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-0.3.1.tgz", + "integrity": "sha512-ensKY7Ub59u16qsVIFEo2hwTCqZ/r9oZZFh51ivcLGHfUwTn8l1Xzng8RJUe91H/UP8PeqeBronAGx0qmzwk2g==" + }, + "node_modules/@floating-ui/dom": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-0.1.10.tgz", + "integrity": "sha512-4kAVoogvQm2N0XE0G6APQJuCNuErjOfPW8Ux7DFxh8+AfugWflwVJ5LDlHOwrwut7z/30NUvdtHzQ3zSip4EzQ==", + "dependencies": { + "@floating-ui/core": "^0.3.0" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.9.5", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", @@ -2955,8 +2968,9 @@ } }, "node_modules/@nextcloud/capabilities": { - "version": "1.0.2", - "license": "GPL-3.0-or-later", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@nextcloud/capabilities/-/capabilities-1.0.4.tgz", + "integrity": "sha512-xsmwPPUJ8NN7YfLcq0gpDTibeb9lMBvY/bffMFnHcZi8hMGOouPiEY+CWAgJ5I9W6I2vNeacHUuTanEN5Ncb2A==", "dependencies": { "@nextcloud/initial-state": "^1.1.2", "core-js": "^3.6.4" @@ -3136,12 +3150,11 @@ } }, "node_modules/@nextcloud/logger": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@nextcloud/logger/-/logger-2.0.0.tgz", - "integrity": "sha512-C3vb8I1z67c5FhSWUNB21U6gzzD7RVgjyVUeK+QVz5nYQt1UWTp9yGyqE8G+R5QAyFFWfuOw1RHHkHJ/CWQ4YA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@nextcloud/logger/-/logger-2.2.1.tgz", + "integrity": "sha512-MP2/5ZdjDfcTPO5ASfqV5fVU6TYeaa2QOsi2yXBHrmlJ34+HlDdsoVzDGPrbutGCToAuBDSu7nh0WW2aLOp/9A==", "dependencies": { "@nextcloud/auth": "^1.2.2", - "babel-plugin-transform-class-properties": "^6.24.1", "core-js": "^3.6.4" } }, @@ -3166,9 +3179,9 @@ } }, "node_modules/@nextcloud/logger/node_modules/core-js": { - "version": "3.16.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.16.3.tgz", - "integrity": "sha512-lM3GftxzHNtPNUJg0v4pC2RC6puwMd6VZA7vXUczi+SKmCWSf4JwO89VJGMqbzmB7jlK7B5hr3S64PqwFL49cA==", + "version": "3.24.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.24.1.tgz", + "integrity": "sha512-0QTBSYSUZ6Gq21utGzkfITDylE8jWC9Ne1D2MrhvlsZBI1x39OdDIVbzSqtgMndIy6BlHxBXpMGqzZmnztg2rg==", "hasInstallScript": true, "funding": { "type": "opencollective", @@ -3267,43 +3280,43 @@ } }, "node_modules/@nextcloud/vue": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-5.4.0.tgz", - "integrity": "sha512-YybOMuStBKtCwbssxMNEd0A8k/Qr5+zm9vnSOaLaMxeB8iaUU+PgBNiYGo8O24UJjSS6FqFwg02V4XzI1Sd6Lw==", + "version": "6.0.0-beta.3", + "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-6.0.0-beta.3.tgz", + "integrity": "sha512-Fnenptz/55KIcXP8kDcjUz8Xcm0EARfSkvnpgQvJh12fd1Xkf8B8ziHQAfAPozsV3RmXDbTeGiuQ4VQCQ/rSzw==", "dependencies": { - "@nextcloud/auth": "^1.2.3", - "@nextcloud/axios": "^1.3.2", + "@nextcloud/auth": "^1.3.0", + "@nextcloud/axios": "^1.10.0", "@nextcloud/browser-storage": "^0.1.1", "@nextcloud/calendar-js": "^3.0.0", - "@nextcloud/capabilities": "^1.0.2", - "@nextcloud/dialogs": "^3.0.0", - "@nextcloud/event-bus": "^2.0.0", - "@nextcloud/l10n": "^1.2.3", - "@nextcloud/logger": "^2.0.0", + "@nextcloud/capabilities": "^1.0.4", + "@nextcloud/dialogs": "^3.1.4", + "@nextcloud/event-bus": "^2.1.1", + "@nextcloud/l10n": "^1.6.0", + "@nextcloud/logger": "^2.2.1", "@nextcloud/router": "^2.0.0", "debounce": "1.2.1", - "emoji-mart-vue-fast": "^10.2.1", + "emoji-mart-vue-fast": "^11.1.1", "escape-html": "^1.0.3", - "focus-trap": "^6.8.1", + "floating-vue": "^1.0.0-beta.18", + "focus-trap": "^6.9.4", "hammerjs": "^2.0.8", - "linkify-string": "^3.0.2", - "md5": "^2.2.1", - "splitpanes": "^2.3.6", - "string-length": "^5.0.0", - "striptags": "^3.1.1", + "linkify-string": "^3.0.4", + "md5": "^2.3.0", + "splitpanes": "^2.4.1", + "string-length": "^5.0.1", + "striptags": "^3.2.0", "style-loader": "^3.3.1", "tributejs": "^5.1.3", - "v-click-outside": "^3.0.1", - "v-tooltip": "^2.0.3", - "vue": "^2.6.14", - "vue-color": "^2.7.1", - "vue-material-design-icons": "^5.0.0", + "v-click-outside": "^3.2.0", + "vue": "^2.7.8", + "vue-color": "^2.8.1", + "vue-material-design-icons": "^5.1.2", "vue-multiselect": "^2.1.6", - "vue2-datepicker": "^3.6.3" + "vue2-datepicker": "^3.11.0" }, "engines": { - "node": "^14.0.0", - "npm": "^7.0.0" + "node": "^16.0.0", + "npm": "^7.0.0 || ^8.0.0" } }, "node_modules/@nextcloud/vue-dashboard": { @@ -3519,9 +3532,9 @@ } }, "node_modules/@nextcloud/vue/node_modules/ansi-regex": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.0.tgz", - "integrity": "sha512-tAaOSrWCHF+1Ear1Z4wnJCXA9GGox4K6Ic85a5qalES2aeEwQGr7UC93mwef49536PkCYjzkp0zIxfFvexJ6zQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "engines": { "node": ">=12" }, @@ -3530,9 +3543,9 @@ } }, "node_modules/@nextcloud/vue/node_modules/char-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.0.tgz", - "integrity": "sha512-oGu2QekBMXgyQNWPDRQ001bjvDnZe4/zBTz37TMbiKz1NbNiyiH5hRkobe7npRN6GfbGbxMYFck/vQ1r9c1VMA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.1.tgz", + "integrity": "sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw==", "engines": { "node": ">=12.20" } @@ -3548,12 +3561,12 @@ } }, "node_modules/@nextcloud/vue/node_modules/emoji-mart-vue-fast": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/emoji-mart-vue-fast/-/emoji-mart-vue-fast-10.2.1.tgz", - "integrity": "sha512-PtKihhsXBEEw1jHwnoRyJAnJP1OlK4EJrEze58EbUUV7iHWGLub+yuiNSj2Uo1JBHraz4fw/pH98nFysVoe0qg==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/emoji-mart-vue-fast/-/emoji-mart-vue-fast-11.1.1.tgz", + "integrity": "sha512-mMN49N2lCQCjanSzLYBS1PlBO+7Do092FnrsWwogwmOo4p+L8N3L8TjcDk30ByXMCjSEcCDsjupCxIcaBpVNKg==", "dependencies": { "@babel/polyfill": "^7.12.1", - "@babel/runtime": "^7.16.3", + "@babel/runtime": "^7.18.6", "vue-virtual-scroller": "^1.0.10" }, "peerDependencies": { @@ -3561,17 +3574,17 @@ } }, "node_modules/@nextcloud/vue/node_modules/linkify-string": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/linkify-string/-/linkify-string-3.0.2.tgz", - "integrity": "sha512-e6sa4WYslcwuNA0ciRo7KPAb4VpTIOxsGPAXeSR8XlORtKak8WMleuvrt5iRZwulHAd6dI+BO7b94lNW8lbMUQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/linkify-string/-/linkify-string-3.0.4.tgz", + "integrity": "sha512-OnNqqRjlYXaXipIAbBC8sDXsSumI1ftatzFg141Pw9HEXWjTVLFcMZoKbFupshqWRavtNJ6QHLa+u6AlxxgeRw==", "peerDependencies": { "linkifyjs": "^3.0.0" } }, "node_modules/@nextcloud/vue/node_modules/linkifyjs": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-3.0.1.tgz", - "integrity": "sha512-HwXVwdNH1wESBfo2sH7Bkl+ywzbGA3+uJEfhquCyi/bMCa49bFUvd/re1NT1Lox/5jdnpQXzI9O/jykit71idg==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-3.0.5.tgz", + "integrity": "sha512-1Y9XQH65eQKA9p2xtk+zxvnTeQBG7rdAXSkUG97DmuI/Xhji9uaUzaWxRj6rf9YC0v8KKHkxav7tnLX82Sz5Fg==", "peer": true }, "node_modules/@nextcloud/vue/node_modules/lru-cache": { @@ -3600,12 +3613,12 @@ } }, "node_modules/@nextcloud/vue/node_modules/string-length": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.0.tgz", - "integrity": "sha512-1qjpci3h1G7BUi6dt5uAVyrO2FMUdjj3XWU970/eQh0YKhlYZ8bJMC/+BUpD21YdEhmuHv2nnbUUn024+cC7YQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz", + "integrity": "sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==", "dependencies": { "char-regex": "^2.0.0", - "strip-ansi": "^7.0.0" + "strip-ansi": "^7.0.1" }, "engines": { "node": ">=12.20" @@ -3615,11 +3628,11 @@ } }, "node_modules/@nextcloud/vue/node_modules/strip-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.0.tgz", - "integrity": "sha512-UhDTSnGF1dc0DRbUqr1aXwNoY3RgVkSWG8BrpnuFIxhP57IqbS7IRta2Gfiavds4yCxc5+fEAVVOgBZWnYkvzg==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", "dependencies": { - "ansi-regex": "^6.0.0" + "ansi-regex": "^6.0.1" }, "engines": { "node": ">=12" @@ -4607,6 +4620,7 @@ }, "node_modules/ansi-regex": { "version": "2.1.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -4867,6 +4881,7 @@ }, "node_modules/babel-code-frame": { "version": "6.26.0", + "dev": true, "license": "MIT", "dependencies": { "chalk": "^1.1.3", @@ -4876,6 +4891,7 @@ }, "node_modules/babel-code-frame/node_modules/ansi-styles": { "version": "2.2.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -4883,6 +4899,7 @@ }, "node_modules/babel-code-frame/node_modules/chalk": { "version": "1.1.3", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^2.2.1", @@ -4897,10 +4914,12 @@ }, "node_modules/babel-code-frame/node_modules/js-tokens": { "version": "3.0.2", + "dev": true, "license": "MIT" }, "node_modules/babel-code-frame/node_modules/supports-color": { "version": "2.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=0.8.0" @@ -4991,27 +5010,6 @@ "jsesc": "bin/jsesc" } }, - "node_modules/babel-helper-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", - "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", - "dependencies": { - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-get-function-arity": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", - "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, "node_modules/babel-helpers": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", @@ -5155,6 +5153,7 @@ }, "node_modules/babel-messages": { "version": "6.23.0", + "dev": true, "license": "MIT", "dependencies": { "babel-runtime": "^6.22.0" @@ -5252,22 +5251,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/babel-plugin-syntax-class-properties": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", - "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=" - }, - "node_modules/babel-plugin-transform-class-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz", - "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=", - "dependencies": { - "babel-helper-function-name": "^6.24.1", - "babel-plugin-syntax-class-properties": "^6.8.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, "node_modules/babel-plugin-transform-es2015-modules-commonjs": { "version": "6.26.2", "dev": true, @@ -5355,6 +5338,7 @@ }, "node_modules/babel-runtime": { "version": "6.26.0", + "dev": true, "license": "MIT", "dependencies": { "core-js": "^2.4.0", @@ -5363,10 +5347,12 @@ }, "node_modules/babel-runtime/node_modules/regenerator-runtime": { "version": "0.11.1", + "dev": true, "license": "MIT" }, "node_modules/babel-template": { "version": "6.26.0", + "dev": true, "license": "MIT", "dependencies": { "babel-runtime": "^6.26.0", @@ -5378,6 +5364,7 @@ }, "node_modules/babel-traverse": { "version": "6.26.0", + "dev": true, "license": "MIT", "dependencies": { "babel-code-frame": "^6.26.0", @@ -5393,6 +5380,7 @@ }, "node_modules/babel-traverse/node_modules/debug": { "version": "2.6.9", + "dev": true, "license": "MIT", "dependencies": { "ms": "2.0.0" @@ -5400,6 +5388,7 @@ }, "node_modules/babel-traverse/node_modules/globals": { "version": "9.18.0", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -5407,6 +5396,7 @@ }, "node_modules/babel-types": { "version": "6.26.0", + "dev": true, "license": "MIT", "dependencies": { "babel-runtime": "^6.26.0", @@ -5417,6 +5407,7 @@ }, "node_modules/babel-types/node_modules/to-fast-properties": { "version": "1.0.3", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -5424,6 +5415,7 @@ }, "node_modules/babylon": { "version": "6.18.0", + "dev": true, "license": "MIT", "bin": { "babylon": "bin/babylon.js" @@ -7238,6 +7230,11 @@ "node": ">=0.10" } }, + "node_modules/date-format-parse": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/date-format-parse/-/date-format-parse-0.2.7.tgz", + "integrity": "sha512-/+lyMUKoRogMuTeOVii6lUwjbVlesN9YRYLzZT/g3TEZ3uD9QnpjResujeEqUW+OSNbT7T1+SYdyEkTcRv+KDQ==" + }, "node_modules/dayjs": { "version": "1.11.2", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.2.tgz", @@ -7989,6 +7986,7 @@ }, "node_modules/escape-string-regexp": { "version": "1.0.5", + "dev": true, "license": "MIT", "engines": { "node": ">=0.8.0" @@ -8891,6 +8889,7 @@ }, "node_modules/esutils": { "version": "2.0.2", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -9398,6 +9397,29 @@ "license": "ISC", "peer": true }, + "node_modules/floating-vue": { + "version": "1.0.0-beta.18", + "resolved": "https://registry.npmjs.org/floating-vue/-/floating-vue-1.0.0-beta.18.tgz", + "integrity": "sha512-mRFc78szc1BTbhlCa4okb7wAGPuH/IID+yqJ+yrTMQ038H8WIAsPV/WFgWCaXqe8d1Z12LkMqiHDVorCJy8M2A==", + "dependencies": { + "@floating-ui/dom": "^0.1.10", + "vue-resize": "^1.0.0" + }, + "peerDependencies": { + "vue": "^2.6.10" + } + }, + "node_modules/floating-vue/node_modules/vue-resize": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-1.0.1.tgz", + "integrity": "sha512-z5M7lJs0QluJnaoMFTIeGx6dIkYxOwHThlZDeQnWZBizKblb99GSejPnK37ZbNE/rVwDcYcHY+Io+AxdpY952w==", + "dependencies": { + "@babel/runtime": "^7.13.10" + }, + "peerDependencies": { + "vue": "^2.6.0" + } + }, "node_modules/focus-trap": { "version": "6.9.4", "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-6.9.4.tgz", @@ -9857,6 +9879,7 @@ }, "node_modules/has-ansi": { "version": "2.0.0", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^2.0.0" @@ -10423,6 +10446,7 @@ }, "node_modules/invariant": { "version": "2.2.4", + "dev": true, "license": "MIT", "dependencies": { "loose-envify": "^1.0.0" @@ -13493,12 +13517,13 @@ } }, "node_modules/md5": { - "version": "2.2.1", - "license": "BSD-3-Clause", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", + "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", "dependencies": { - "charenc": "~0.0.1", - "crypt": "~0.0.1", - "is-buffer": "~1.1.1" + "charenc": "0.0.2", + "crypt": "0.0.2", + "is-buffer": "~1.1.6" } }, "node_modules/md5.js": { @@ -14092,6 +14117,7 @@ }, "node_modules/ms": { "version": "2.0.0", + "dev": true, "license": "MIT" }, "node_modules/multicast-dns": { @@ -16690,9 +16716,9 @@ } }, "node_modules/splitpanes": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/splitpanes/-/splitpanes-2.3.8.tgz", - "integrity": "sha512-eM/qZ1v7U5BMV8FQR7oeqVlllz3sTGTm0//g/eJMa0hZ4s+A1VK68j26FWzcaVlw2P5+dCXk7/X6ZRjjwcbrgw==" + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/splitpanes/-/splitpanes-2.4.1.tgz", + "integrity": "sha512-kpEo1WuMXuc6QfdQdO2V/fl/trONlkUKp+pputsLTiW9RMtwEvjb4/aYGm2m3+KAzjmb+zLwr4A4SYZu74+pgQ==" }, "node_modules/sprintf-js": { "version": "1.0.3", @@ -16927,6 +16953,7 @@ }, "node_modules/strip-ansi": { "version": "3.0.1", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^2.0.0" @@ -18080,8 +18107,9 @@ } }, "node_modules/v-click-outside": { - "version": "3.0.1", - "license": "MIT", + "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" } @@ -18223,8 +18251,9 @@ "license": "MIT" }, "node_modules/vue-color": { - "version": "2.7.1", - "license": "MIT", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/vue-color/-/vue-color-2.8.1.tgz", + "integrity": "sha512-BoLCEHisXi2QgwlhZBg9UepvzZZmi4176vbr+31Shen5WWZwSLVgdScEPcB+yrAtuHAz42309C0A4+WiL9lNBw==", "dependencies": { "clamp": "^1.0.1", "lodash.throttle": "^4.0.0", @@ -18478,19 +18507,16 @@ "license": "MIT" }, "node_modules/vue2-datepicker": { - "version": "3.8.2", - "license": "MIT", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.11.0.tgz", + "integrity": "sha512-zbMkAjYwDTXZozZtkpSwqxq7nEeBt7zoHL+oQcdjEXAqzJHhmatE6sl6JSr58PMIx2WOK0c6QBXozSqT32iQAQ==", "dependencies": { - "date-format-parse": "^0.2.6" + "date-format-parse": "^0.2.7" }, "peerDependencies": { "vue": "^2.5.0" } }, - "node_modules/vue2-datepicker/node_modules/date-format-parse": { - "version": "0.2.6", - "license": "MIT" - }, "node_modules/vuex": { "version": "3.6.2", "license": "MIT", @@ -20556,6 +20582,19 @@ } } }, + "@floating-ui/core": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-0.3.1.tgz", + "integrity": "sha512-ensKY7Ub59u16qsVIFEo2hwTCqZ/r9oZZFh51ivcLGHfUwTn8l1Xzng8RJUe91H/UP8PeqeBronAGx0qmzwk2g==" + }, + "@floating-ui/dom": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-0.1.10.tgz", + "integrity": "sha512-4kAVoogvQm2N0XE0G6APQJuCNuErjOfPW8Ux7DFxh8+AfugWflwVJ5LDlHOwrwut7z/30NUvdtHzQ3zSip4EzQ==", + "requires": { + "@floating-ui/core": "^0.3.0" + } + }, "@humanwhocodes/config-array": { "version": "0.9.5", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", @@ -21295,7 +21334,9 @@ "requires": {} }, "@nextcloud/capabilities": { - "version": "1.0.2", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@nextcloud/capabilities/-/capabilities-1.0.4.tgz", + "integrity": "sha512-xsmwPPUJ8NN7YfLcq0gpDTibeb9lMBvY/bffMFnHcZi8hMGOouPiEY+CWAgJ5I9W6I2vNeacHUuTanEN5Ncb2A==", "requires": { "@nextcloud/initial-state": "^1.1.2", "core-js": "^3.6.4" @@ -21416,12 +21457,11 @@ } }, "@nextcloud/logger": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@nextcloud/logger/-/logger-2.0.0.tgz", - "integrity": "sha512-C3vb8I1z67c5FhSWUNB21U6gzzD7RVgjyVUeK+QVz5nYQt1UWTp9yGyqE8G+R5QAyFFWfuOw1RHHkHJ/CWQ4YA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@nextcloud/logger/-/logger-2.2.1.tgz", + "integrity": "sha512-MP2/5ZdjDfcTPO5ASfqV5fVU6TYeaa2QOsi2yXBHrmlJ34+HlDdsoVzDGPrbutGCToAuBDSu7nh0WW2aLOp/9A==", "requires": { "@nextcloud/auth": "^1.2.2", - "babel-plugin-transform-class-properties": "^6.24.1", "core-js": "^3.6.4" }, "dependencies": { @@ -21446,9 +21486,9 @@ } }, "core-js": { - "version": "3.16.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.16.3.tgz", - "integrity": "sha512-lM3GftxzHNtPNUJg0v4pC2RC6puwMd6VZA7vXUczi+SKmCWSf4JwO89VJGMqbzmB7jlK7B5hr3S64PqwFL49cA==" + "version": "3.24.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.24.1.tgz", + "integrity": "sha512-0QTBSYSUZ6Gq21utGzkfITDylE8jWC9Ne1D2MrhvlsZBI1x39OdDIVbzSqtgMndIy6BlHxBXpMGqzZmnztg2rg==" }, "lru-cache": { "version": "6.0.0", @@ -21519,39 +21559,39 @@ } }, "@nextcloud/vue": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-5.4.0.tgz", - "integrity": "sha512-YybOMuStBKtCwbssxMNEd0A8k/Qr5+zm9vnSOaLaMxeB8iaUU+PgBNiYGo8O24UJjSS6FqFwg02V4XzI1Sd6Lw==", + "version": "6.0.0-beta.3", + "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-6.0.0-beta.3.tgz", + "integrity": "sha512-Fnenptz/55KIcXP8kDcjUz8Xcm0EARfSkvnpgQvJh12fd1Xkf8B8ziHQAfAPozsV3RmXDbTeGiuQ4VQCQ/rSzw==", "requires": { - "@nextcloud/auth": "^1.2.3", - "@nextcloud/axios": "^1.3.2", + "@nextcloud/auth": "^1.3.0", + "@nextcloud/axios": "^1.10.0", "@nextcloud/browser-storage": "^0.1.1", "@nextcloud/calendar-js": "^3.0.0", - "@nextcloud/capabilities": "^1.0.2", - "@nextcloud/dialogs": "^3.0.0", - "@nextcloud/event-bus": "^2.0.0", - "@nextcloud/l10n": "^1.2.3", - "@nextcloud/logger": "^2.0.0", + "@nextcloud/capabilities": "^1.0.4", + "@nextcloud/dialogs": "^3.1.4", + "@nextcloud/event-bus": "^2.1.1", + "@nextcloud/l10n": "^1.6.0", + "@nextcloud/logger": "^2.2.1", "@nextcloud/router": "^2.0.0", "debounce": "1.2.1", - "emoji-mart-vue-fast": "^10.2.1", + "emoji-mart-vue-fast": "^11.1.1", "escape-html": "^1.0.3", - "focus-trap": "^6.8.1", + "floating-vue": "^1.0.0-beta.18", + "focus-trap": "^6.9.4", "hammerjs": "^2.0.8", - "linkify-string": "^3.0.2", - "md5": "^2.2.1", - "splitpanes": "^2.3.6", - "string-length": "^5.0.0", - "striptags": "^3.1.1", + "linkify-string": "^3.0.4", + "md5": "^2.3.0", + "splitpanes": "^2.4.1", + "string-length": "^5.0.1", + "striptags": "^3.2.0", "style-loader": "^3.3.1", "tributejs": "^5.1.3", - "v-click-outside": "^3.0.1", - "v-tooltip": "^2.0.3", - "vue": "^2.6.14", - "vue-color": "^2.7.1", - "vue-material-design-icons": "^5.0.0", + "v-click-outside": "^3.2.0", + "vue": "^2.7.8", + "vue-color": "^2.8.1", + "vue-material-design-icons": "^5.1.2", "vue-multiselect": "^2.1.6", - "vue2-datepicker": "^3.6.3" + "vue2-datepicker": "^3.11.0" }, "dependencies": { "@nextcloud/auth": { @@ -21597,14 +21637,14 @@ } }, "ansi-regex": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.0.tgz", - "integrity": "sha512-tAaOSrWCHF+1Ear1Z4wnJCXA9GGox4K6Ic85a5qalES2aeEwQGr7UC93mwef49536PkCYjzkp0zIxfFvexJ6zQ==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" }, "char-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.0.tgz", - "integrity": "sha512-oGu2QekBMXgyQNWPDRQ001bjvDnZe4/zBTz37TMbiKz1NbNiyiH5hRkobe7npRN6GfbGbxMYFck/vQ1r9c1VMA==" + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.1.tgz", + "integrity": "sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw==" }, "core-js": { "version": "3.24.1", @@ -21612,25 +21652,25 @@ "integrity": "sha512-0QTBSYSUZ6Gq21utGzkfITDylE8jWC9Ne1D2MrhvlsZBI1x39OdDIVbzSqtgMndIy6BlHxBXpMGqzZmnztg2rg==" }, "emoji-mart-vue-fast": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/emoji-mart-vue-fast/-/emoji-mart-vue-fast-10.2.1.tgz", - "integrity": "sha512-PtKihhsXBEEw1jHwnoRyJAnJP1OlK4EJrEze58EbUUV7iHWGLub+yuiNSj2Uo1JBHraz4fw/pH98nFysVoe0qg==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/emoji-mart-vue-fast/-/emoji-mart-vue-fast-11.1.1.tgz", + "integrity": "sha512-mMN49N2lCQCjanSzLYBS1PlBO+7Do092FnrsWwogwmOo4p+L8N3L8TjcDk30ByXMCjSEcCDsjupCxIcaBpVNKg==", "requires": { "@babel/polyfill": "^7.12.1", - "@babel/runtime": "^7.16.3", + "@babel/runtime": "^7.18.6", "vue-virtual-scroller": "^1.0.10" } }, "linkify-string": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/linkify-string/-/linkify-string-3.0.2.tgz", - "integrity": "sha512-e6sa4WYslcwuNA0ciRo7KPAb4VpTIOxsGPAXeSR8XlORtKak8WMleuvrt5iRZwulHAd6dI+BO7b94lNW8lbMUQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/linkify-string/-/linkify-string-3.0.4.tgz", + "integrity": "sha512-OnNqqRjlYXaXipIAbBC8sDXsSumI1ftatzFg141Pw9HEXWjTVLFcMZoKbFupshqWRavtNJ6QHLa+u6AlxxgeRw==", "requires": {} }, "linkifyjs": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-3.0.1.tgz", - "integrity": "sha512-HwXVwdNH1wESBfo2sH7Bkl+ywzbGA3+uJEfhquCyi/bMCa49bFUvd/re1NT1Lox/5jdnpQXzI9O/jykit71idg==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-3.0.5.tgz", + "integrity": "sha512-1Y9XQH65eQKA9p2xtk+zxvnTeQBG7rdAXSkUG97DmuI/Xhji9uaUzaWxRj6rf9YC0v8KKHkxav7tnLX82Sz5Fg==", "peer": true }, "lru-cache": { @@ -21650,20 +21690,20 @@ } }, "string-length": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.0.tgz", - "integrity": "sha512-1qjpci3h1G7BUi6dt5uAVyrO2FMUdjj3XWU970/eQh0YKhlYZ8bJMC/+BUpD21YdEhmuHv2nnbUUn024+cC7YQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz", + "integrity": "sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==", "requires": { "char-regex": "^2.0.0", - "strip-ansi": "^7.0.0" + "strip-ansi": "^7.0.1" } }, "strip-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.0.tgz", - "integrity": "sha512-UhDTSnGF1dc0DRbUqr1aXwNoY3RgVkSWG8BrpnuFIxhP57IqbS7IRta2Gfiavds4yCxc5+fEAVVOgBZWnYkvzg==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", "requires": { - "ansi-regex": "^6.0.0" + "ansi-regex": "^6.0.1" } }, "yallist": { @@ -22634,7 +22674,8 @@ "peer": true }, "ansi-regex": { - "version": "2.1.1" + "version": "2.1.1", + "dev": true }, "ansi-styles": { "version": "3.2.1", @@ -22830,6 +22871,7 @@ }, "babel-code-frame": { "version": "6.26.0", + "dev": true, "requires": { "chalk": "^1.1.3", "esutils": "^2.0.2", @@ -22837,10 +22879,12 @@ }, "dependencies": { "ansi-styles": { - "version": "2.2.1" + "version": "2.2.1", + "dev": true }, "chalk": { "version": "1.1.3", + "dev": true, "requires": { "ansi-styles": "^2.2.1", "escape-string-regexp": "^1.0.2", @@ -22850,10 +22894,12 @@ } }, "js-tokens": { - "version": "3.0.2" + "version": "3.0.2", + "dev": true }, "supports-color": { - "version": "2.0.0" + "version": "2.0.0", + "dev": true } } }, @@ -22937,27 +22983,6 @@ } } }, - "babel-helper-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", - "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", - "requires": { - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "babel-helper-get-function-arity": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", - "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", - "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, "babel-helpers": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", @@ -23064,6 +23089,7 @@ }, "babel-messages": { "version": "6.23.0", + "dev": true, "requires": { "babel-runtime": "^6.22.0" } @@ -23143,22 +23169,6 @@ "@babel/helper-define-polyfill-provider": "^0.2.2" } }, - "babel-plugin-syntax-class-properties": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", - "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=" - }, - "babel-plugin-transform-class-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz", - "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=", - "requires": { - "babel-helper-function-name": "^6.24.1", - "babel-plugin-syntax-class-properties": "^6.8.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, "babel-plugin-transform-es2015-modules-commonjs": { "version": "6.26.2", "dev": true, @@ -23237,18 +23247,21 @@ }, "babel-runtime": { "version": "6.26.0", + "dev": true, "requires": { "core-js": "^2.4.0", "regenerator-runtime": "^0.11.0" }, "dependencies": { "regenerator-runtime": { - "version": "0.11.1" + "version": "0.11.1", + "dev": true } } }, "babel-template": { "version": "6.26.0", + "dev": true, "requires": { "babel-runtime": "^6.26.0", "babel-traverse": "^6.26.0", @@ -23259,6 +23272,7 @@ }, "babel-traverse": { "version": "6.26.0", + "dev": true, "requires": { "babel-code-frame": "^6.26.0", "babel-messages": "^6.23.0", @@ -23273,17 +23287,20 @@ "dependencies": { "debug": { "version": "2.6.9", + "dev": true, "requires": { "ms": "2.0.0" } }, "globals": { - "version": "9.18.0" + "version": "9.18.0", + "dev": true } } }, "babel-types": { "version": "6.26.0", + "dev": true, "requires": { "babel-runtime": "^6.26.0", "esutils": "^2.0.2", @@ -23292,12 +23309,14 @@ }, "dependencies": { "to-fast-properties": { - "version": "1.0.3" + "version": "1.0.3", + "dev": true } } }, "babylon": { - "version": "6.18.0" + "version": "6.18.0", + "dev": true }, "bail": { "version": "1.0.5" @@ -24658,6 +24677,11 @@ "assert-plus": "^1.0.0" } }, + "date-format-parse": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/date-format-parse/-/date-format-parse-0.2.7.tgz", + "integrity": "sha512-/+lyMUKoRogMuTeOVii6lUwjbVlesN9YRYLzZT/g3TEZ3uD9QnpjResujeEqUW+OSNbT7T1+SYdyEkTcRv+KDQ==" + }, "dayjs": { "version": "1.11.2", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.2.tgz", @@ -25248,7 +25272,8 @@ "version": "1.0.3" }, "escape-string-regexp": { - "version": "1.0.5" + "version": "1.0.5", + "dev": true }, "eslint": { "version": "8.14.0", @@ -25893,7 +25918,8 @@ "peer": true }, "esutils": { - "version": "2.0.2" + "version": "2.0.2", + "dev": true }, "etag": { "version": "1.8.1", @@ -26284,6 +26310,25 @@ } } }, + "floating-vue": { + "version": "1.0.0-beta.18", + "resolved": "https://registry.npmjs.org/floating-vue/-/floating-vue-1.0.0-beta.18.tgz", + "integrity": "sha512-mRFc78szc1BTbhlCa4okb7wAGPuH/IID+yqJ+yrTMQ038H8WIAsPV/WFgWCaXqe8d1Z12LkMqiHDVorCJy8M2A==", + "requires": { + "@floating-ui/dom": "^0.1.10", + "vue-resize": "^1.0.0" + }, + "dependencies": { + "vue-resize": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-1.0.1.tgz", + "integrity": "sha512-z5M7lJs0QluJnaoMFTIeGx6dIkYxOwHThlZDeQnWZBizKblb99GSejPnK37ZbNE/rVwDcYcHY+Io+AxdpY952w==", + "requires": { + "@babel/runtime": "^7.13.10" + } + } + } + }, "focus-trap": { "version": "6.9.4", "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-6.9.4.tgz", @@ -26601,6 +26646,7 @@ }, "has-ansi": { "version": "2.0.0", + "dev": true, "requires": { "ansi-regex": "^2.0.0" } @@ -27007,6 +27053,7 @@ }, "invariant": { "version": "2.2.4", + "dev": true, "requires": { "loose-envify": "^1.0.0" } @@ -29212,11 +29259,13 @@ "peer": true }, "md5": { - "version": "2.2.1", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", + "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", "requires": { - "charenc": "~0.0.1", - "crypt": "~0.0.1", - "is-buffer": "~1.1.1" + "charenc": "0.0.2", + "crypt": "0.0.2", + "is-buffer": "~1.1.6" } }, "md5.js": { @@ -29640,7 +29689,8 @@ "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" }, "ms": { - "version": "2.0.0" + "version": "2.0.0", + "dev": true }, "multicast-dns": { "version": "6.2.3", @@ -31571,9 +31621,9 @@ "peer": true }, "splitpanes": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/splitpanes/-/splitpanes-2.3.8.tgz", - "integrity": "sha512-eM/qZ1v7U5BMV8FQR7oeqVlllz3sTGTm0//g/eJMa0hZ4s+A1VK68j26FWzcaVlw2P5+dCXk7/X6ZRjjwcbrgw==" + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/splitpanes/-/splitpanes-2.4.1.tgz", + "integrity": "sha512-kpEo1WuMXuc6QfdQdO2V/fl/trONlkUKp+pputsLTiW9RMtwEvjb4/aYGm2m3+KAzjmb+zLwr4A4SYZu74+pgQ==" }, "sprintf-js": { "version": "1.0.3", @@ -31761,6 +31811,7 @@ }, "strip-ansi": { "version": "3.0.1", + "dev": true, "requires": { "ansi-regex": "^2.0.0" } @@ -32600,7 +32651,9 @@ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" }, "v-click-outside": { - "version": "3.0.1" + "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", @@ -32704,7 +32757,9 @@ "version": "1.1.0" }, "vue-color": { - "version": "2.7.1", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/vue-color/-/vue-color-2.8.1.tgz", + "integrity": "sha512-BoLCEHisXi2QgwlhZBg9UepvzZZmi4176vbr+31Shen5WWZwSLVgdScEPcB+yrAtuHAz42309C0A4+WiL9lNBw==", "requires": { "clamp": "^1.0.1", "lodash.throttle": "^4.0.0", @@ -32896,14 +32951,11 @@ "version": "1.0.2" }, "vue2-datepicker": { - "version": "3.8.2", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.11.0.tgz", + "integrity": "sha512-zbMkAjYwDTXZozZtkpSwqxq7nEeBt7zoHL+oQcdjEXAqzJHhmatE6sl6JSr58PMIx2WOK0c6QBXozSqT32iQAQ==", "requires": { - "date-format-parse": "^0.2.6" - }, - "dependencies": { - "date-format-parse": { - "version": "0.2.6" - } + "date-format-parse": "^0.2.7" } }, "vuex": { diff --git a/package.json b/package.json index 89a40f83e..00a170fd2 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@nextcloud/l10n": "^1.6.0", "@nextcloud/moment": "^1.2.1", "@nextcloud/router": "^2.0.0", - "@nextcloud/vue": "^5.4.0", + "@nextcloud/vue": "^6.0.0-beta.3", "@nextcloud/vue-dashboard": "^2.0.1", "blueimp-md5": "^2.19.0", "dompurify": "^2.3.10", diff --git a/src/App.vue b/src/App.vue index b1d044f38..1f2e6e90f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,13 +21,13 @@ --> \ No newline at end of file diff --git a/src/components/navigation/AppNavigation.vue b/src/components/navigation/AppNavigation.vue index 0b8449eeb..a954017a5 100644 --- a/src/components/navigation/AppNavigation.vue +++ b/src/components/navigation/AppNavigation.vue @@ -21,18 +21,25 @@ --> \ No newline at end of file + diff --git a/src/main.js b/src/main.js index 86f30320a..cacbf01aa 100644 --- a/src/main.js +++ b/src/main.js @@ -76,8 +76,9 @@ window.addEventListener('DOMContentLoaded', () => { /* eslint-disable-next-line no-new */ new Vue({ - name: 'Deck', el: '#content', + // eslint-disable-next-line vue/match-component-file-name + name: 'Deck', router, store, data() { From 7c5601eed66a20e5d16a1d0f16db04ee0ab6e145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 26 Aug 2022 12:42:07 +0200 Subject: [PATCH 4/6] Bump to beta.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- package-lock.json | 216 +++++++--------------------------------------- package.json | 2 +- 2 files changed, 34 insertions(+), 184 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6df873fcc..cc33459ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@nextcloud/l10n": "^1.6.0", "@nextcloud/moment": "^1.2.1", "@nextcloud/router": "^2.0.0", - "@nextcloud/vue": "^6.0.0-beta.3", + "@nextcloud/vue": "^6.0.0-beta.4", "@nextcloud/vue-dashboard": "^2.0.1", "blueimp-md5": "^2.19.0", "dompurify": "^2.3.10", @@ -3280,17 +3280,17 @@ } }, "node_modules/@nextcloud/vue": { - "version": "6.0.0-beta.3", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-6.0.0-beta.3.tgz", - "integrity": "sha512-Fnenptz/55KIcXP8kDcjUz8Xcm0EARfSkvnpgQvJh12fd1Xkf8B8ziHQAfAPozsV3RmXDbTeGiuQ4VQCQ/rSzw==", + "version": "6.0.0-beta.4", + "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-6.0.0-beta.4.tgz", + "integrity": "sha512-1TdzH0++/gIcBzot8iNT3AnweR/1EykpCfBwkJNhMgoiY4HlMLxBj7bpe2D4ul24XTCoXVEdGMYyB32GNVc9WA==", "dependencies": { - "@nextcloud/auth": "^1.3.0", - "@nextcloud/axios": "^1.10.0", + "@nextcloud/auth": "^2.0.0", + "@nextcloud/axios": "^2.0.0", "@nextcloud/browser-storage": "^0.1.1", "@nextcloud/calendar-js": "^3.0.0", "@nextcloud/capabilities": "^1.0.4", "@nextcloud/dialogs": "^3.1.4", - "@nextcloud/event-bus": "^2.1.1", + "@nextcloud/event-bus": "^3.0.0", "@nextcloud/l10n": "^1.6.0", "@nextcloud/logger": "^2.2.1", "@nextcloud/router": "^2.0.0", @@ -3298,14 +3298,13 @@ "emoji-mart-vue-fast": "^11.1.1", "escape-html": "^1.0.3", "floating-vue": "^1.0.0-beta.18", - "focus-trap": "^6.9.4", + "focus-trap": "^7.0.0", "hammerjs": "^2.0.8", "linkify-string": "^3.0.4", "md5": "^2.3.0", "splitpanes": "^2.4.1", "string-length": "^5.0.1", "striptags": "^3.2.0", - "style-loader": "^3.3.1", "tributejs": "^5.1.3", "v-click-outside": "^3.2.0", "vue": "^2.7.8", @@ -3487,50 +3486,6 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, - "node_modules/@nextcloud/vue/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/node_modules/@nextcloud/auth/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/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/node_modules/@nextcloud/event-bus": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-2.1.1.tgz", - "integrity": "sha512-YEui6N+23uyjBSIUZhf8rEjG9vol7UGgxcgxMddEbO0HS7M/sh1cocRqtn+ZVi/yPybeToGmt68SDPCgwHQHKw==", - "dependencies": { - "@types/semver": "^7.1.0", - "core-js": "^3.6.2", - "semver": "^7.3.2" - } - }, "node_modules/@nextcloud/vue/node_modules/ansi-regex": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", @@ -3550,16 +3505,6 @@ "node": ">=12.20" } }, - "node_modules/@nextcloud/vue/node_modules/core-js": { - "version": "3.24.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.24.1.tgz", - "integrity": "sha512-0QTBSYSUZ6Gq21utGzkfITDylE8jWC9Ne1D2MrhvlsZBI1x39OdDIVbzSqtgMndIy6BlHxBXpMGqzZmnztg2rg==", - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, "node_modules/@nextcloud/vue/node_modules/emoji-mart-vue-fast": { "version": "11.1.1", "resolved": "https://registry.npmjs.org/emoji-mart-vue-fast/-/emoji-mart-vue-fast-11.1.1.tgz", @@ -3587,31 +3532,6 @@ "integrity": "sha512-1Y9XQH65eQKA9p2xtk+zxvnTeQBG7rdAXSkUG97DmuI/Xhji9uaUzaWxRj6rf9YC0v8KKHkxav7tnLX82Sz5Fg==", "peer": true }, - "node_modules/@nextcloud/vue/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/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@nextcloud/vue/node_modules/string-length": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz", @@ -3641,11 +3561,6 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/@nextcloud/vue/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/webpack-vue-config": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/@nextcloud/webpack-vue-config/-/webpack-vue-config-5.3.0.tgz", @@ -9421,11 +9336,11 @@ } }, "node_modules/focus-trap": { - "version": "6.9.4", - "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-6.9.4.tgz", - "integrity": "sha512-v2NTsZe2FF59Y+sDykKY+XjqZ0cPfhq/hikWVL88BqLivnNiEffAsac6rP6H45ff9wG9LL5ToiDqrLEP9GX9mw==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.0.0.tgz", + "integrity": "sha512-uT4Bl8TwU+5vVAx/DHil/1eVS54k9unqhK/vGy2KSh7esPmqgC0koAB9J2sJ+vtj8+vmiFyGk2unLkhNLQaxoA==", "dependencies": { - "tabbable": "^5.3.3" + "tabbable": "^6.0.0" } }, "node_modules/follow-redirects": { @@ -17007,6 +16922,8 @@ "version": "3.3.1", "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.1.tgz", "integrity": "sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ==", + "dev": true, + "peer": true, "engines": { "node": ">= 12.13.0" }, @@ -17385,9 +17302,9 @@ "peer": true }, "node_modules/tabbable": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-5.3.3.tgz", - "integrity": "sha512-QD9qKY3StfbZqWOPLp0++pOrAVb/HbUi5xCc8cUo4XjP19808oaMiDzn0leBY5mCespIBM0CIZePzZjgzR83kA==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.0.tgz", + "integrity": "sha512-SxhZErfHc3Yozz/HLAl/iPOxuIj8AtUw13NRewVOjFW7vbsqT1f3PuiHrPQbUkRcLNEgAedAv2DnjLtzynJXiw==" }, "node_modules/table": { "version": "6.8.0", @@ -21559,17 +21476,17 @@ } }, "@nextcloud/vue": { - "version": "6.0.0-beta.3", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-6.0.0-beta.3.tgz", - "integrity": "sha512-Fnenptz/55KIcXP8kDcjUz8Xcm0EARfSkvnpgQvJh12fd1Xkf8B8ziHQAfAPozsV3RmXDbTeGiuQ4VQCQ/rSzw==", + "version": "6.0.0-beta.4", + "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-6.0.0-beta.4.tgz", + "integrity": "sha512-1TdzH0++/gIcBzot8iNT3AnweR/1EykpCfBwkJNhMgoiY4HlMLxBj7bpe2D4ul24XTCoXVEdGMYyB32GNVc9WA==", "requires": { - "@nextcloud/auth": "^1.3.0", - "@nextcloud/axios": "^1.10.0", + "@nextcloud/auth": "^2.0.0", + "@nextcloud/axios": "^2.0.0", "@nextcloud/browser-storage": "^0.1.1", "@nextcloud/calendar-js": "^3.0.0", "@nextcloud/capabilities": "^1.0.4", "@nextcloud/dialogs": "^3.1.4", - "@nextcloud/event-bus": "^2.1.1", + "@nextcloud/event-bus": "^3.0.0", "@nextcloud/l10n": "^1.6.0", "@nextcloud/logger": "^2.2.1", "@nextcloud/router": "^2.0.0", @@ -21577,14 +21494,13 @@ "emoji-mart-vue-fast": "^11.1.1", "escape-html": "^1.0.3", "floating-vue": "^1.0.0-beta.18", - "focus-trap": "^6.9.4", + "focus-trap": "^7.0.0", "hammerjs": "^2.0.8", "linkify-string": "^3.0.4", "md5": "^2.3.0", "splitpanes": "^2.4.1", "string-length": "^5.0.1", "striptags": "^3.2.0", - "style-loader": "^3.3.1", "tributejs": "^5.1.3", "v-click-outside": "^3.2.0", "vue": "^2.7.8", @@ -21594,48 +21510,6 @@ "vue2-datepicker": "^3.11.0" }, "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" - }, - "dependencies": { - "@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/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/event-bus": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-2.1.1.tgz", - "integrity": "sha512-YEui6N+23uyjBSIUZhf8rEjG9vol7UGgxcgxMddEbO0HS7M/sh1cocRqtn+ZVi/yPybeToGmt68SDPCgwHQHKw==", - "requires": { - "@types/semver": "^7.1.0", - "core-js": "^3.6.2", - "semver": "^7.3.2" - } - }, "ansi-regex": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", @@ -21646,11 +21520,6 @@ "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.1.tgz", "integrity": "sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw==" }, - "core-js": { - "version": "3.24.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.24.1.tgz", - "integrity": "sha512-0QTBSYSUZ6Gq21utGzkfITDylE8jWC9Ne1D2MrhvlsZBI1x39OdDIVbzSqtgMndIy6BlHxBXpMGqzZmnztg2rg==" - }, "emoji-mart-vue-fast": { "version": "11.1.1", "resolved": "https://registry.npmjs.org/emoji-mart-vue-fast/-/emoji-mart-vue-fast-11.1.1.tgz", @@ -21673,22 +21542,6 @@ "integrity": "sha512-1Y9XQH65eQKA9p2xtk+zxvnTeQBG7rdAXSkUG97DmuI/Xhji9uaUzaWxRj6rf9YC0v8KKHkxav7tnLX82Sz5Fg==", "peer": true }, - "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.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "requires": { - "lru-cache": "^6.0.0" - } - }, "string-length": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz", @@ -21705,11 +21558,6 @@ "requires": { "ansi-regex": "^6.0.1" } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, @@ -26330,11 +26178,11 @@ } }, "focus-trap": { - "version": "6.9.4", - "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-6.9.4.tgz", - "integrity": "sha512-v2NTsZe2FF59Y+sDykKY+XjqZ0cPfhq/hikWVL88BqLivnNiEffAsac6rP6H45ff9wG9LL5ToiDqrLEP9GX9mw==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.0.0.tgz", + "integrity": "sha512-uT4Bl8TwU+5vVAx/DHil/1eVS54k9unqhK/vGy2KSh7esPmqgC0koAB9J2sJ+vtj8+vmiFyGk2unLkhNLQaxoA==", "requires": { - "tabbable": "^5.3.3" + "tabbable": "^6.0.0" } }, "follow-redirects": { @@ -31845,6 +31693,8 @@ "version": "3.3.1", "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.1.tgz", "integrity": "sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ==", + "dev": true, + "peer": true, "requires": {} }, "style-search": { @@ -32116,9 +31966,9 @@ "peer": true }, "tabbable": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-5.3.3.tgz", - "integrity": "sha512-QD9qKY3StfbZqWOPLp0++pOrAVb/HbUi5xCc8cUo4XjP19808oaMiDzn0leBY5mCespIBM0CIZePzZjgzR83kA==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.0.tgz", + "integrity": "sha512-SxhZErfHc3Yozz/HLAl/iPOxuIj8AtUw13NRewVOjFW7vbsqT1f3PuiHrPQbUkRcLNEgAedAv2DnjLtzynJXiw==" }, "table": { "version": "6.8.0", diff --git a/package.json b/package.json index 3a207d4a8..76630f4c5 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@nextcloud/l10n": "^1.6.0", "@nextcloud/moment": "^1.2.1", "@nextcloud/router": "^2.0.0", - "@nextcloud/vue": "^6.0.0-beta.3", + "@nextcloud/vue": "^6.0.0-beta.4", "@nextcloud/vue-dashboard": "^2.0.1", "blueimp-md5": "^2.19.0", "dompurify": "^2.3.10", From 74d9e63888de66a9132bd57d320835ba5167cc0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 26 Aug 2022 12:45:46 +0200 Subject: [PATCH 5/6] Use proper type for size prop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/card/CardSidebar.vue | 2 +- src/components/cards/CardBadges.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index b389892da..dc546850f 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -59,7 +59,7 @@ :order="1" :name="t('deck', 'Attachments')"> diff --git a/src/components/cards/CardBadges.vue b/src/components/cards/CardBadges.vue index 06476618a..61a79049f 100644 --- a/src/components/cards/CardBadges.vue +++ b/src/components/cards/CardBadges.vue @@ -26,8 +26,8 @@ v-tooltip="commentsHint" class="icon-badge" @click.stop="openComments"> - - + + {{ card.commentsCount }} @@ -36,10 +36,10 @@ {{ checkListCheckedCount }}/{{ checkListCount }} - +
- + {{ card.attachmentCount }}
From a0c47f811550fff318e5500212989d6fcbcbc9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sun, 28 Aug 2022 14:37:11 +0200 Subject: [PATCH 6/6] Some cypress test cleanup and fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- cypress/e2e/boardFeatures.js | 54 ++++++------ cypress/e2e/cardFeatures.js | 87 ++++++++++++------- cypress/e2e/deckDashboard.js | 11 ++- cypress/e2e/stackFeatures.js | 33 ++++--- cypress/plugins/index.js | 4 +- cypress/support/commands.js | 164 ++++++++++++++++++++++------------- cypress/utils/index.js | 2 +- 7 files changed, 213 insertions(+), 142 deletions(-) diff --git a/cypress/e2e/boardFeatures.js b/cypress/e2e/boardFeatures.js index 058da5e8b..79e960be5 100644 --- a/cypress/e2e/boardFeatures.js +++ b/cypress/e2e/boardFeatures.js @@ -1,10 +1,10 @@ -import { randHash } from "../utils" +import { randHash } from '../utils' const randUser = randHash() -describe('Board', function () { - const password = 'pass123' - - before(function () { +describe('Board', function() { + const password = 'pass123' + + before(function() { cy.nextcloudCreateUser(randUser, password) }) @@ -12,30 +12,30 @@ describe('Board', function () { cy.login(randUser, password) }) - it('Can create a board', function () { - let board = 'Test' + it('Can create a board', function() { + const board = 'Test' - cy.intercept({ - method: 'POST', - url: '/index.php/apps/deck/boards', - }).as('createBoardRequest') - - // Click "Add board" - cy.openLeftSidebar() - cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry') - .eq(3).find('a').first().click({force: true}) + cy.intercept({ + method: 'POST', + url: '/index.php/apps/deck/boards', + }).as('createBoardRequest') - // Type the board title - cy.get('.board-create form input[type=text]') - .type(board, {force: true}) + // Click "Add board" + cy.openLeftSidebar() + cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry') + .eq(3).find('a').first().click({ force: true }) - // Submit - cy.get('.board-create form input[type=submit]') - .first().click({force: true}) + // Type the board title + cy.get('.board-create form input[type=text]') + .type(board, { force: true }) - cy.wait('@createBoardRequest').its('response.statusCode').should('equal', 200) - - cy.get('.app-navigation__list .app-navigation-entry__children .app-navigation-entry') - .contains(board).should('be.visible') + // Submit + cy.get('.board-create form input[type=submit]') + .first().click({ force: true }) + + cy.wait('@createBoardRequest').its('response.statusCode').should('equal', 200) + + cy.get('.app-navigation__list .app-navigation-entry__children .app-navigation-entry') + .contains(board).should('be.visible') }) -}) \ No newline at end of file +}) diff --git a/cypress/e2e/cardFeatures.js b/cypress/e2e/cardFeatures.js index 5a413e203..d5449440c 100644 --- a/cypress/e2e/cardFeatures.js +++ b/cypress/e2e/cardFeatures.js @@ -1,38 +1,67 @@ import { randHash } from '../utils' const randUser = randHash() -describe('Card', function () { - const board = 'TestBoard' - const list = 'TestList' - const password = 'pass123' +const testBoardData = { + title: 'MyBoardTest', + color: '00ff00', + stacks: [ + { + title: 'TestList', + cards: [ + { + title: 'Hello world', + }, + ], + }, + ], +} - before(function () { - cy.nextcloudCreateUser(randUser, password) - cy.deckCreateBoard({ user: randUser, password }, board) - cy.deckCreateList({ user: randUser, password }, list) - }) +describe('Card', function() { + before(function() { + cy.nextcloudCreateUser(randUser, randUser) + cy.createExampleBoard({ + user: randUser, + password: randUser, + board: testBoardData, + }) + }) - beforeEach(function () { - cy.login(randUser, password) - }) + beforeEach(function() { + cy.login(randUser, randUser) + }) - it('Can add a card', function () { - let card = 'Card 1' + it('Can show card details modal', function() { + cy.openLeftSidebar() + cy.getNavigationEntry(testBoardData.title) + .first().click({ force: true }) - cy.openLeftSidebar() - cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry') - .eq(3).find('a.app-navigation-entry-link') - .first().click({force: true}) + cy.get('.board .stack').eq(0).within(() => { + cy.get('.card:contains("Hello world")').should('be.visible').click() + }) - cy.get('.board .stack').eq(0).within(() => { - cy.get('button.action-item.action-item--single.icon-add') - .first().click() + cy.get('.modal__card').should('be.visible') + cy.get('.app-sidebar-header__maintitle').contains('Hello world') + }) - cy.get('.stack__card-add form input#new-stack-input-main') - .type(card) - cy.get('.stack__card-add form input[type=submit]') - .first().click() - cy.get('.card').first().contains(card).should('be.visible') - }) - }) -}) \ No newline at end of file + it('Can add a card', function() { + const newCardTitle = 'Write some cypress tests' + + cy.openLeftSidebar() + cy.getNavigationEntry(testBoardData.title) + .first().click({ force: true }) + + cy.get('.board .stack').eq(0).within(() => { + cy.get('.card:contains("Hello world")').should('be.visible') + + cy.get('.button-vue[aria-label*="Add card"]') + .first().click() + + cy.get('.stack__card-add form input#new-stack-input-main') + .type(newCardTitle) + cy.get('.stack__card-add form input[type=submit]') + .first().click() + cy.get(`.card:contains("${newCardTitle}")`).should('be.visible') + }) + }) + +}) diff --git a/cypress/e2e/deckDashboard.js b/cypress/e2e/deckDashboard.js index ce85d43cb..f61e744e3 100644 --- a/cypress/e2e/deckDashboard.js +++ b/cypress/e2e/deckDashboard.js @@ -4,7 +4,7 @@ const randUser = randHash() describe('Deck dashboard', function() { const password = 'pass123' - before(function () { + before(function() { cy.nextcloudCreateUser(randUser, password) }) @@ -18,15 +18,14 @@ describe('Deck dashboard', function() { .should('have.text', 'Upcoming cards') }) - it('Can see the default "Personal Board" created for user by default', function () { + it('Can see the default "Personal Board" created for user by default', function() { const defaultBoard = 'Personal' cy.openLeftSidebar() - cy.get('.app-navigation__list .app-navigation-entry') - .eq(1) - .find('ul.app-navigation-entry__children li.app-navigation-entry') + cy.get('.app-navigation-entry-wrapper[icon=icon-deck]') + .find('ul.app-navigation-entry__children .app-navigation-entry:contains(' + defaultBoard + ')') .first() .contains(defaultBoard) .should('be.visible') }) -}) \ No newline at end of file +}) diff --git a/cypress/e2e/stackFeatures.js b/cypress/e2e/stackFeatures.js index 3ce09fa20..7754643ec 100644 --- a/cypress/e2e/stackFeatures.js +++ b/cypress/e2e/stackFeatures.js @@ -1,33 +1,30 @@ -import { randHash } from "../utils"; -const randUser = randHash(); +import { randHash } from '../utils' +const randUser = randHash() -describe("Stack", function () { - const board = "TestBoard"; - const password = "pass123"; - const stack = "List 1"; +describe('Stack', function() { + const board = 'TestBoard' + const password = 'pass123' + const stack = 'List 1' - before(function () { + before(function() { cy.nextcloudCreateUser(randUser, password) cy.deckCreateBoard({ user: randUser, password }, board) }) - beforeEach(function () { + beforeEach(function() { cy.logout() cy.login(randUser, password) }) - it("Can create a stack", function () { + it('Can create a stack', function() { cy.openLeftSidebar() - cy.get("#app-navigation-vue .app-navigation__list .app-navigation-entry") - .eq(3) - .find("a.app-navigation-entry-link") - .first() + cy.getNavigationEntry(board) .click({ force: true }) - cy.get("#stack-add button").first().click() - cy.get("#stack-add form input#new-stack-input-main").type(stack) - cy.get("#stack-add form input[type=submit]").first().click() + cy.get('#stack-add button').first().click() + cy.get('#stack-add form input#new-stack-input-main').type(stack) + cy.get('#stack-add form input[type=submit]').first().click() - cy.get(".board .stack").eq(0).contains(stack).should("be.visible") + cy.get('.board .stack').eq(0).contains(stack).should('be.visible') }) -}); +}) diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index 59b2bab6e..96e295355 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -17,6 +17,6 @@ */ // eslint-disable-next-line no-unused-vars module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config + // `on` is used to hook into various events Cypress emits + // `config` is the resolved Cypress config } diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 19815e16f..ff69e2344 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -20,94 +20,140 @@ * */ -const url = Cypress.config("baseUrl").replace(/\/index.php\/?$/g, ""); -Cypress.env("baseUrl", url); +const url = Cypress.config('baseUrl').replace(/\/index.php\/?$/g, '') +Cypress.env('baseUrl', url) -Cypress.Commands.add("login", (user, password, route = "/apps/deck/") => { - let session = `${user}-${Date.now()}`; - cy.session(session, function () { - cy.visit(route); - cy.get("input[name=user]").type(user); - cy.get("input[name=password]").type(password); - cy.get("form[name=login] [type=submit]").click(); - cy.url().should("include", route); - }); - // in case the session already existed but we are on a different route... - cy.visit(route); -}); +Cypress.Commands.add('login', (user, password, route = '/apps/deck/') => { + const session = `${user}-${Date.now()}` + cy.session(session, function() { + cy.visit(route) + cy.get('input[name=user]').type(user) + cy.get('input[name=password]').type(password) + cy.get('form[name=login] [type=submit]').click() + cy.url().should('include', route) + }) + cy.visit(route) +}) -Cypress.Commands.add("logout", (route = "/") => { - cy.session("_guest", function () {}); -}); +Cypress.Commands.add('logout', (route = '/') => { + cy.session('_guest', function() {}) +}) -Cypress.Commands.add("nextcloudCreateUser", (user, password) => { - cy.clearCookies(); +Cypress.Commands.add('nextcloudCreateUser', (user, password) => { + cy.clearCookies() cy.request({ - method: "POST", - url: `${Cypress.env("baseUrl")}/ocs/v1.php/cloud/users?format=json`, + method: 'POST', + url: `${Cypress.env('baseUrl')}/ocs/v1.php/cloud/users?format=json`, form: true, body: { userid: user, - password: password, + password, }, - auth: { user: "admin", pass: "admin" }, + auth: { user: 'admin', pass: 'admin' }, headers: { - "OCS-ApiRequest": "true", - "Content-Type": "application/x-www-form-urlencoded", + 'OCS-ApiRequest': 'true', + 'Content-Type': 'application/x-www-form-urlencoded', }, }).then((response) => { - cy.log(`Created user ${user}`, response.status); - }); -}); + cy.log(`Created user ${user}`, response.status) + }) +}) -Cypress.Commands.add("nextcloudUpdateUser", (user, password, key, value) => { +Cypress.Commands.add('nextcloudUpdateUser', (user, password, key, value) => { cy.request({ - method: "PUT", - url: `${Cypress.env("baseUrl")}/ocs/v2.php/cloud/users/${user}`, + method: 'PUT', + url: `${Cypress.env('baseUrl')}/ocs/v2.php/cloud/users/${user}`, form: true, body: { key, value }, auth: { user, pass: password }, headers: { - "OCS-ApiRequest": "true", - "Content-Type": "application/x-www-form-urlencoded", + 'OCS-ApiRequest': 'true', + 'Content-Type': 'application/x-www-form-urlencoded', }, }).then((response) => { - cy.log(`Updated user ${user} ${key} to ${value}`, response.status); - }); -}); + cy.log(`Updated user ${user} ${key} to ${value}`, response.status) + }) +}) -Cypress.Commands.add("openLeftSidebar", () => { - cy.get(".app-navigation button.app-navigation-toggle").click(); -}); +Cypress.Commands.add('openLeftSidebar', () => { + cy.get('.app-navigation button.app-navigation-toggle').click() +}) -Cypress.Commands.add("deckCreateBoard", ({ user, password }, title) => { - cy.login(user, password); +Cypress.Commands.add('deckCreateBoard', ({ user, password }, title) => { + cy.login(user, password) - cy.get(".app-navigation button.app-navigation-toggle").click(); - cy.get("#app-navigation-vue .app-navigation__list .app-navigation-entry") + cy.get('.app-navigation button.app-navigation-toggle').click() + cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry') .eq(3) - .find("a") + .find('a') .first() - .click({ force: true }); + .click({ force: true }) - cy.get(".board-create form input[type=text]").type(title, { force: true }); + cy.get('.board-create form input[type=text]').type(title, { force: true }) - cy.get(".board-create form input[type=submit]") + cy.get('.board-create form input[type=submit]') .first() - .click({ force: true }); -}); + .click({ force: true }) +}) -Cypress.Commands.add("deckCreateList", ({ user, password }, title) => { - cy.login(user, password); +Cypress.Commands.add('deckCreateList', ({ user, password }, title) => { + cy.login(user, password) - cy.get(".app-navigation button.app-navigation-toggle").click(); - cy.get("#app-navigation-vue .app-navigation__list .app-navigation-entry") + cy.get('.app-navigation button.app-navigation-toggle').click() + cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry') .eq(3) - .find("a.app-navigation-entry-link") + .find('a.app-navigation-entry-link') .first() - .click({ force: true }); + .click({ force: true }) - cy.get("#stack-add button").first().click(); - cy.get("#stack-add form input#new-stack-input-main").type(title); - cy.get("#stack-add form input[type=submit]").first().click(); -}); + cy.get('#stack-add button').first().click() + cy.get('#stack-add form input#new-stack-input-main').type(title) + cy.get('#stack-add form input[type=submit]').first().click() +}) + +Cypress.Commands.add('createExampleBoard', ({ user, password, board }) => { + cy.request({ + method: 'POST', + url: `${Cypress.env('baseUrl')}/index.php/apps/deck/api/v1.0/boards`, + auth: { + user, + password, + }, + body: { title: board.title, color: board.color ?? 'ff0000' }, + }).then((boardResponse) => { + expect(boardResponse.status).to.eq(200) + const boardData = boardResponse.body + for (const stackIndex in board.stacks) { + const stack = board.stacks[stackIndex] + cy.request({ + method: 'POST', + url: `${Cypress.env('baseUrl')}/index.php/apps/deck/api/v1.0/boards/${boardData.id}/stacks`, + auth: { + user, + password, + }, + body: { title: stack.title, order: 0 }, + }).then((stackResponse) => { + const stackData = stackResponse.body + for (const cardIndex in stack.cards) { + const card = stack.cards[cardIndex] + cy.request({ + method: 'POST', + url: `${Cypress.env('baseUrl')}/index.php/apps/deck/api/v1.0/boards/${boardData.id}/stacks/${stackData.id}/cards`, + auth: { + user, + password, + }, + body: { title: card.title }, + }) + } + }) + } + }) +}) + +Cypress.Commands.add('getNavigationEntry', (boardTitle) => { + return cy.get('.app-navigation-entry-wrapper[icon=icon-deck]') + .find('ul.app-navigation-entry__children .app-navigation-entry:contains(' + boardTitle + ')') + .find('a.app-navigation-entry-link') +}) diff --git a/cypress/utils/index.js b/cypress/utils/index.js index 1ace84aaa..aa46b9f07 100644 --- a/cypress/utils/index.js +++ b/cypress/utils/index.js @@ -1 +1 @@ -export const randHash = () => Math.random().toString(36).replace(/[^a-z]+/g, '').slice(0, 10) \ No newline at end of file +export const randHash = () => Math.random().toString(36).replace(/[^a-z]+/g, '').slice(0, 10)