diff --git a/cypress/components/UploadPicker.cy.ts b/cypress/components/UploadPicker.cy.ts index a502cca8..a37e1d19 100644 --- a/cypress/components/UploadPicker.cy.ts +++ b/cypress/components/UploadPicker.cy.ts @@ -25,7 +25,7 @@ describe('UploadPicker rendering', () => { } cy.mount(UploadPicker, { propsData }) cy.get('[data-cy-upload-picker]').should('be.visible') - cy.get('[data-cy-upload-picker]').should('have.text', 'New') + cy.get('[data-cy-upload-picker]').should('have.text', ' New ') cy.get('[data-cy-upload-picker] [data-cy-upload-picker-input]').should('exist') }) @@ -54,7 +54,7 @@ describe('UploadPicker valid uploads', () => { cy.mount(UploadPicker, { propsData }).as('uploadPicker') // Label is displayed before upload - cy.get('[data-cy-upload-picker]').should('have.text', 'New') + cy.get('[data-cy-upload-picker]').should('have.text', ' New ') // Check and init aliases cy.get('[data-cy-upload-picker] [data-cy-upload-picker-input]').as('input').should('exist') @@ -99,7 +99,7 @@ describe('UploadPicker valid uploads', () => { .should('not.be.visible') // Label is displayed again after upload - cy.get('[data-cy-upload-picker] button').should('have.text', 'New') + cy.get('[data-cy-upload-picker] button').should('have.text', ' New ') }) }) }) diff --git a/package-lock.json b/package-lock.json index c299565c..de144a89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3395,11 +3395,6 @@ "unist-util-is": "^3.0.0" } }, - "node_modules/@mdi/svg": { - "version": "7.3.67", - "resolved": "https://registry.npmjs.org/@mdi/svg/-/svg-7.3.67.tgz", - "integrity": "sha512-KNr7D8jbu8DEprgRckVywVBkajsGGqocFjOzlekv35UedLjpkMDTkFO8VYnhnLySL0QaPBa568fe8BZsB0TBJQ==" - }, "node_modules/@microsoft/api-extractor": { "version": "7.38.0", "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.38.0.tgz", @@ -3552,27 +3547,16 @@ } }, "node_modules/@nextcloud/browser-storage": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/browser-storage/-/browser-storage-0.2.0.tgz", - "integrity": "sha512-qRetNoCMHzfJyuQ7uvlwUXNwXlm5eSy4h8hI0Oa9HKbej57WGBYxRqsHElFzipSPh7mBUdFnz5clGpzIQx8+HQ==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@nextcloud/browser-storage/-/browser-storage-0.3.0.tgz", + "integrity": "sha512-vqc26T4WQ3y9EbFpHh4dl/FN7ahEfEoc0unQmsdJ2YSZNTxTvAXAasWI6HFNcHi10b5rEYxxEYjAwKF34th3Aw==", "peer": true, "dependencies": { - "core-js": "3.25.5" + "core-js": "3.33.0" }, "engines": { - "node": "^16.0.0", - "npm": "^7.0.0 || ^8.0.0" - } - }, - "node_modules/@nextcloud/browser-storage/node_modules/core-js": { - "version": "3.25.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.25.5.tgz", - "integrity": "sha512-nbm6eZSjm+ZuBQxCUPQKQCoUEfFOXjUZ8dTTyikyKaWrTYmAVbykQfwsKE5dBK88u3QCkCrzsx/PPlKfhsvgpw==", - "hasInstallScript": true, - "peer": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" + "node": "^20.0.0", + "npm": "^9.0.0" } }, "node_modules/@nextcloud/browserslist-config": { @@ -3682,19 +3666,19 @@ } }, "node_modules/@nextcloud/dialogs": { - "version": "5.0.0-beta.6", - "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-5.0.0-beta.6.tgz", - "integrity": "sha512-22mIGMtV9uOB04pJ5r+f97GmVFJ24PNALLlcNh6Ti9NASCLOZDRIlqRxHv/ExrQxW4ZCT9QGGNJSPiXjaUlMHg==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-5.0.3.tgz", + "integrity": "sha512-eF0wIJ9p+kij6U357jAxYZ6eRVpdMLrbfMwVoUC5nGcJcsFTpiGn3/F4kK/045jTdMaPW6YyyiEVXyiM7lVfGA==", "dependencies": { - "@mdi/svg": "^7.3.67", "@nextcloud/axios": "^2.4.0", - "@nextcloud/files": "^3.0.0-beta.26", + "@nextcloud/event-bus": "^3.1.0", + "@nextcloud/files": "^3.0.0", "@nextcloud/initial-state": "^2.1.0", "@nextcloud/l10n": "^2.2.0", - "@nextcloud/router": "^2.1.2", + "@nextcloud/router": "^2.2.0", "@nextcloud/typings": "^1.7.0", - "@types/toastify-js": "^1.12.1", - "@vueuse/core": "^10.5.0", + "@types/toastify-js": "^1.12.3", + "@vueuse/core": "^10.6.1", "toastify-js": "^1.12.0", "vue-frag": "^1.4.3", "webdav": "^5.3.0" @@ -3704,23 +3688,23 @@ "npm": "^9.0.0" }, "peerDependencies": { - "@nextcloud/vue": "^8.0.0-beta.8", - "vue": "^2.7.14" + "@nextcloud/vue": "^8.2.0", + "vue": "^2.7.15" } }, "node_modules/@nextcloud/dialogs/node_modules/@types/web-bluetooth": { - "version": "0.0.18", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.18.tgz", - "integrity": "sha512-v/ZHEj9xh82usl8LMR3GarzFY1IrbXJw5L4QfQhokjRV91q+SelFqxQWSep1ucXEZ22+dSTwLFkXeur25sPIbw==" + "version": "0.0.20", + "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz", + "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==" }, "node_modules/@nextcloud/dialogs/node_modules/@vueuse/core": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.5.0.tgz", - "integrity": "sha512-z/tI2eSvxwLRjOhDm0h/SXAjNm8N5ld6/SC/JQs6o6kpJ6Ya50LnEL8g5hoYu005i28L0zqB5L5yAl8Jl26K3A==", + "version": "10.6.1", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.6.1.tgz", + "integrity": "sha512-Pc26IJbqgC9VG1u6VY/xrXXfxD33hnvxBnKrLlA2LJlyHII+BSrRoTPJgGYq7qZOu61itITFUnm6QbacwZ4H8Q==", "dependencies": { - "@types/web-bluetooth": "^0.0.18", - "@vueuse/metadata": "10.5.0", - "@vueuse/shared": "10.5.0", + "@types/web-bluetooth": "^0.0.20", + "@vueuse/metadata": "10.6.1", + "@vueuse/shared": "10.6.1", "vue-demi": ">=0.14.6" }, "funding": { @@ -3753,17 +3737,17 @@ } }, "node_modules/@nextcloud/dialogs/node_modules/@vueuse/metadata": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.5.0.tgz", - "integrity": "sha512-fEbElR+MaIYyCkeM0SzWkdoMtOpIwO72x8WsZHRE7IggiOlILttqttM69AS13nrDxosnDBYdyy3C5mR1LCxHsw==", + "version": "10.6.1", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.6.1.tgz", + "integrity": "sha512-qhdwPI65Bgcj23e5lpGfQsxcy0bMjCAsUGoXkJ7DsoeDUdasbZ2DBa4dinFCOER3lF4gwUv+UD2AlA11zdzMFw==", "funding": { "url": "https://github.com/sponsors/antfu" } }, "node_modules/@nextcloud/dialogs/node_modules/@vueuse/shared": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.5.0.tgz", - "integrity": "sha512-18iyxbbHYLst9MqU1X1QNdMHIjks6wC7XTVf0KNOv5es/Ms6gjVFCAAWTVP2JStuGqydg3DT+ExpFORUEi9yhg==", + "version": "10.6.1", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.6.1.tgz", + "integrity": "sha512-TECVDTIedFlL0NUfHWncf3zF9Gc4VfdxfQc8JFwoVZQmxpONhLxFrlm0eHQeidHj4rdTPL3KXJa0TZCk1wnc5Q==", "dependencies": { "vue-demi": ">=0.14.6" }, @@ -4001,15 +3985,15 @@ } }, "node_modules/@nextcloud/vue": { - "version": "8.0.0-beta.8", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-8.0.0-beta.8.tgz", - "integrity": "sha512-Sbq1l5cH5SU2eE/b/w+99t3mcGHLOTjgJYf2ltxbDEuYcgfn+Ihz0RGxcp5s1KNI8S9eifKSI9/bts7nQMHj8g==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-8.2.0.tgz", + "integrity": "sha512-rfnB8yOhNce1RxBoHZWu9Kgf2IHwtdM7/dzoAyl/cseht4Mvk8+4aJAPuvKFHJaNjIbdNU4JfpK1GR653zOeQQ==", "peer": true, "dependencies": { "@floating-ui/dom": "^1.1.0", "@nextcloud/auth": "^2.0.0", "@nextcloud/axios": "^2.0.0", - "@nextcloud/browser-storage": "^0.2.0", + "@nextcloud/browser-storage": "^0.3.0", "@nextcloud/calendar-js": "^6.0.0", "@nextcloud/capabilities": "^1.0.4", "@nextcloud/event-bus": "^3.0.0", @@ -4017,11 +4001,11 @@ "@nextcloud/l10n": "^2.0.1", "@nextcloud/logger": "^2.2.1", "@nextcloud/router": "^2.0.0", - "@nextcloud/vue-select": "^3.23.0", + "@nextcloud/vue-select": "^3.24.0", "@vueuse/components": "^10.0.2", "@vueuse/core": "^10.1.2", "clone": "^2.1.2", - "debounce": "1.2.1", + "debounce": "2.0.0", "dompurify": "^3.0.5", "emoji-mart-vue-fast": "^15.0.0", "escape-html": "^1.0.3", @@ -4045,7 +4029,6 @@ "vue": "^2.7.14", "vue-color": "^2.8.1", "vue-frag": "^1.4.3", - "vue-material-design-icons": "^5.1.2", "vue2-datepicker": "^3.11.0" }, "engines": { @@ -4054,9 +4037,9 @@ } }, "node_modules/@nextcloud/vue-select": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@nextcloud/vue-select/-/vue-select-3.23.0.tgz", - "integrity": "sha512-TerpWxDtbdwda32xtrLcqN8CjcQwVwCrEdHIHIAPQ2y3Ktl/dcjQxGn0onRZqk9+4ZxPGMYdX7LIWRKCHUlrmQ==", + "version": "3.24.0", + "resolved": "https://registry.npmjs.org/@nextcloud/vue-select/-/vue-select-3.24.0.tgz", + "integrity": "sha512-+TQYaqB57OcwG3XSKpUtVcbUZIkX8KHzjTCWRFAiRqwryXTuBvY/JHzB5i31BFHJ6CK+l8WyBu8LgmtQW8ktrw==", "peer": true, "peerDependencies": { "vue": "2.x" @@ -4819,9 +4802,9 @@ "peer": true }, "node_modules/@types/toastify-js": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/@types/toastify-js/-/toastify-js-1.12.2.tgz", - "integrity": "sha512-wA0+1kG5Td0O7B/+ahHJgz5ZRFTYGNp8DmZ2z9LPm56+OrSikcfdqggtIlmbWKAssGgSR5sdyQaDyMoprvfNdA==" + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/@types/toastify-js/-/toastify-js-1.12.3.tgz", + "integrity": "sha512-9RjLlbAHMSaae/KZNHGv19VG4gcLIm3YjvacCXBtfMfYn26h76YP5oxXI8k26q4iKXCB9LNfv18lsoS0JnFPTg==" }, "node_modules/@types/unist": { "version": "2.0.7", @@ -5410,9 +5393,9 @@ } }, "node_modules/@vue/compiler-sfc": { - "version": "2.7.14", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-2.7.14.tgz", - "integrity": "sha512-aNmNHyLPsw+sVvlQFQ2/8sjNuLtK54TC6cuKnVzAY93ks4ZBrvwQSnkkIh7bsbNhum5hJBS00wSDipQ937f5DA==", + "version": "2.7.15", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-2.7.15.tgz", + "integrity": "sha512-FCvIEevPmgCgqFBH7wD+3B97y7u7oj/Wr69zADBf403Tui377bThTjBvekaZvlRr4IwUAu3M6hYZeULZFJbdYg==", "dependencies": { "@babel/parser": "^7.18.4", "postcss": "^8.4.14", @@ -7930,9 +7913,9 @@ "peer": true }, "node_modules/core-js": { - "version": "3.31.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.31.1.tgz", - "integrity": "sha512-2sKLtfq1eFST7l7v62zaqXacPc7uG8ZAya8ogijLhTtaKNcpzpB4TMoTw2Si+8GYKRwFPMMtUT0263QFWFfqyQ==", + "version": "3.33.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.33.0.tgz", + "integrity": "sha512-HoZr92+ZjFEKar5HS6MC776gYslNOKHt75mEBKWKnPeFDpZ6nH5OeF3S6HFT1mUAUZKrzkez05VboaX8myjSuw==", "hasInstallScript": true, "funding": { "type": "opencollective", @@ -8556,10 +8539,16 @@ "dev": true }, "node_modules/debounce": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz", - "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==", - "peer": true + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/debounce/-/debounce-2.0.0.tgz", + "integrity": "sha512-xRetU6gL1VJbs85Mc4FoEGSjQxzpdxRyFhe3lmWFyy2EzydIcD4xzUvRJMD+NPDfMwKNhxa3PvsIOU32luIWeA==", + "peer": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/debug": { "version": "4.3.4", @@ -20615,11 +20604,11 @@ "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==" }, "node_modules/vue": { - "version": "2.7.14", - "resolved": "https://registry.npmjs.org/vue/-/vue-2.7.14.tgz", - "integrity": "sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==", + "version": "2.7.15", + "resolved": "https://registry.npmjs.org/vue/-/vue-2.7.15.tgz", + "integrity": "sha512-a29fsXd2G0KMRqIFTpRgpSbWaNBK3lpCTOLuGLEDnlHWdjB8fwl6zyYZ8xCrqkJdatwZb4mGHiEfJjnw0Q6AwQ==", "dependencies": { - "@vue/compiler-sfc": "2.7.14", + "@vue/compiler-sfc": "2.7.15", "csstype": "^3.1.0" } }, @@ -20786,7 +20775,8 @@ "node_modules/vue-material-design-icons": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/vue-material-design-icons/-/vue-material-design-icons-5.2.0.tgz", - "integrity": "sha512-fcdcJHQ9fQw2CAytuLAzWSELcxH138sCdMItVhvmO7Lu9afIgojB/UCWv7XHt/lURsnq/n6O+muM4AQgw8yfig==" + "integrity": "sha512-fcdcJHQ9fQw2CAytuLAzWSELcxH138sCdMItVhvmO7Lu9afIgojB/UCWv7XHt/lURsnq/n6O+muM4AQgw8yfig==", + "dev": true }, "node_modules/vue-resize": { "version": "1.0.1",