diff --git a/package-lock.json b/package-lock.json index 39fc3ec4c..e73450621 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@nextcloud/axios": "^2.4.0", "@nextcloud/capabilities": "^1.1.0", "@nextcloud/cdav-library": "^1.1.0", - "@nextcloud/dialogs": "^3.2.0", + "@nextcloud/dialogs": "^4.1.0", "@nextcloud/event-bus": "^3.1.0", "@nextcloud/initial-state": "^2.1.0", "@nextcloud/l10n": "^2.2.0", @@ -2906,27 +2906,28 @@ } }, "node_modules/@nextcloud/dialogs": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-3.2.0.tgz", - "integrity": "sha512-notaHF8LXPJINBbILCbRe+dgXnJPe7NQTIrN1vwfaGUSG9GUfEf+v367yyg2brCgV6ulE/HmNhYjTQwW5AqSJA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-4.1.0.tgz", + "integrity": "sha512-7e0QMdJKL1Pn/RxOA6Fjm2PMSEUSvhRXuyoZqNFN/rvvVK9mXOCvkRI+vYwuCBCzoTi1Bv3k12BoXxB2UHAufQ==", "dependencies": { - "@nextcloud/l10n": "^1.3.0", - "@nextcloud/typings": "^1.0.0", - "core-js": "^3.6.4", + "@nextcloud/l10n": "^2.1.0", + "@nextcloud/typings": "^1.7.0", + "core-js": "^3.31.0", "toastify-js": "^1.12.0" }, "engines": { - "node": "^16.0.0", - "npm": "^7.0.0 || ^8.0.0" + "node": "^20.0.0", + "npm": "^9.0.0" } }, - "node_modules/@nextcloud/dialogs/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/dialogs/node_modules/core-js": { + "version": "3.32.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.32.1.tgz", + "integrity": "sha512-lqufgNn9NLnESg5mQeYsxQP5w7wrViSj0jr/kv6ECQiByzQkrn1MKvV0L3acttpDqfQrHLwr2KCMgX5b8X+lyQ==", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" } }, "node_modules/@nextcloud/eslint-config": { @@ -3200,30 +3201,6 @@ "@floating-ui/core": "^1.0.5" } }, - "node_modules/@nextcloud/vue/node_modules/@nextcloud/dialogs": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-4.0.1.tgz", - "integrity": "sha512-jgIJdxTpc3suHkuZBRge6/dU6krG7x9emMGTxKY5qRQqFwn9r4rCqjV7Cys7VMn1QLlHmEDdqHcYZFRtN/XVNA==", - "dependencies": { - "@nextcloud/l10n": "^1.3.0", - "@nextcloud/typings": "^1.4.3", - "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/node_modules/@nextcloud/dialogs/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/node_modules/linkify-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/linkify-string/-/linkify-string-4.0.0.tgz", @@ -19844,24 +19821,20 @@ } }, "@nextcloud/dialogs": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-3.2.0.tgz", - "integrity": "sha512-notaHF8LXPJINBbILCbRe+dgXnJPe7NQTIrN1vwfaGUSG9GUfEf+v367yyg2brCgV6ulE/HmNhYjTQwW5AqSJA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-4.1.0.tgz", + "integrity": "sha512-7e0QMdJKL1Pn/RxOA6Fjm2PMSEUSvhRXuyoZqNFN/rvvVK9mXOCvkRI+vYwuCBCzoTi1Bv3k12BoXxB2UHAufQ==", "requires": { - "@nextcloud/l10n": "^1.3.0", - "@nextcloud/typings": "^1.0.0", - "core-js": "^3.6.4", + "@nextcloud/l10n": "^2.1.0", + "@nextcloud/typings": "^1.7.0", + "core-js": "^3.31.0", "toastify-js": "^1.12.0" }, "dependencies": { - "@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" - } + "core-js": { + "version": "3.32.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.32.1.tgz", + "integrity": "sha512-lqufgNn9NLnESg5mQeYsxQP5w7wrViSj0jr/kv6ECQiByzQkrn1MKvV0L3acttpDqfQrHLwr2KCMgX5b8X+lyQ==" } } }, @@ -20066,28 +20039,6 @@ "@floating-ui/core": "^1.0.5" } }, - "@nextcloud/dialogs": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-4.0.1.tgz", - "integrity": "sha512-jgIJdxTpc3suHkuZBRge6/dU6krG7x9emMGTxKY5qRQqFwn9r4rCqjV7Cys7VMn1QLlHmEDdqHcYZFRtN/XVNA==", - "requires": { - "@nextcloud/l10n": "^1.3.0", - "@nextcloud/typings": "^1.4.3", - "core-js": "^3.6.4", - "toastify-js": "^1.12.0" - }, - "dependencies": { - "@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" - } - } - } - }, "linkify-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/linkify-string/-/linkify-string-4.0.0.tgz", diff --git a/package.json b/package.json index 248a5e657..6563199c7 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@nextcloud/axios": "^2.4.0", "@nextcloud/capabilities": "^1.1.0", "@nextcloud/cdav-library": "^1.1.0", - "@nextcloud/dialogs": "^3.2.0", + "@nextcloud/dialogs": "^4.1.0", "@nextcloud/event-bus": "^3.1.0", "@nextcloud/initial-state": "^2.1.0", "@nextcloud/l10n": "^2.2.0", diff --git a/src/main.js b/src/main.js index 3806703c3..04fe6b912 100644 --- a/src/main.js +++ b/src/main.js @@ -38,7 +38,7 @@ import { Tooltip as VTooltip } from '@nextcloud/vue' import '../css/contacts.scss' // Dialogs css -import '@nextcloud/dialogs/styles/toast.scss' +import '@nextcloud/dialogs/dist/index.css' // CSP config for webpack dynamic chunk loading // eslint-disable-next-line