fix(files): breadcrumbs native drop event

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
pull/44652/head
skjnldsv 1 month ago
parent 2a6185e32a
commit b2737451b1

@ -13,7 +13,7 @@
:aria-description="ariaForSection(section)"
@click.native="onClick(section.to)"
@dragover.native="onDragOver($event, section.dir)"
@drop.native="onDrop($event, section.dir)">
@drop="onDrop($event, section.dir)">
<template v-if="index === 0" #icon>
<NcIconSvgWrapper :size="20"
:svg="viewIcon" />

5838
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -47,7 +47,7 @@
"@nextcloud/capabilities": "^1.0.4",
"@nextcloud/dialogs": "^5.1.2",
"@nextcloud/event-bus": "^3.1.0",
"@nextcloud/files": "^3.1.0",
"@nextcloud/files": "^3.1.1",
"@nextcloud/initial-state": "^2.0.0",
"@nextcloud/l10n": "^2.1.0",
"@nextcloud/logger": "^2.5.0",
@ -84,8 +84,8 @@
"libphonenumber-js": "^1.10.41",
"lodash": "^4.17.21",
"marked": "^9.1.5",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
"moment": "^2.30.1",
"moment-timezone": "^0.5.45",
"natural-orderby": "^3.0.2",
"nextcloud-vue-collections": "^0.12.0",
"node-vibrant": "^3.1.6",
@ -103,7 +103,7 @@
"url-search-params-polyfill": "^8.1.1",
"v-click-outside": "^3.2.0",
"v-tooltip": "^2.1.3",
"vue": "^2.7.15",
"vue": "^2.7.16",
"vue-click-outside": "^1.1.0",
"vue-cropperjs": "^4.2.0",
"vue-frag": "^1.4.2",
@ -121,22 +121,22 @@
},
"devDependencies": {
"@babel/node": "^7.22.10",
"@babel/preset-typescript": "^7.23.2",
"@cypress/vue2": "^2.0.1",
"@cypress/webpack-preprocessor": "^6.0.0",
"@babel/preset-typescript": "^7.24.1",
"@cypress/vue2": "^2.1.0",
"@cypress/webpack-preprocessor": "^6.0.1",
"@jest/globals": "^29.7.0",
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/cypress": "^1.0.0-beta.6",
"@nextcloud/eslint-config": "^v8.3.0-beta.2",
"@nextcloud/stylelint-config": "^2.1.2",
"@nextcloud/webpack-vue-config": "^6.0.0",
"@nextcloud/webpack-vue-config": "^6.0.1",
"@pinia/testing": "^0.1.2",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/user-event": "^14.4.3",
"@testing-library/vue": "^5.8.3",
"@types/dockerode": "^3.3.21",
"@types/dockerode": "^3.3.26",
"@types/jest": "^29.5.2",
"@types/wait-on": "^5.3.3",
"@types/wait-on": "^5.3.4",
"@vue/test-utils": "^1.3.5",
"@vue/tsconfig": "^0.4.0",
"@vue/vue2-jest": "^29.2.6",
@ -148,9 +148,9 @@
"cypress": "^13.4.0",
"cypress-axe": "^1.5.0",
"cypress-if": "^1.10.5",
"cypress-split": "^1.15.3",
"cypress-split": "^1.21.0",
"cypress-wait-until": "^2.0.1",
"dockerode": "^4.0.0",
"dockerode": "^4.0.2",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-es": "^4.1.0",
"exports-loader": "^4.0.0",
@ -163,7 +163,7 @@
"jest-fetch-mock": "^3.0.3",
"jest-location-mock": "^1.0.9",
"jsdoc": "^4.0.2",
"karma": "^6.4.2",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.1.1",
"karma-coverage": "2.2.0",
"karma-jasmine": "^1.1.2",
@ -171,24 +171,23 @@
"karma-spec-reporter": "^0.0.36",
"karma-viewport": "^1.0.9",
"mime": "^4.0.1",
"node-polyfill-webpack-plugin": "^2.0.1",
"puppeteer": "^21.4.1",
"raw-loader": "^4.0.2",
"regextras": "^0.8.0",
"sass": "^1.66.1",
"sass": "^1.72.0",
"sass-loader": "^13.2.2",
"sinon": "<= 5.0.7",
"style-loader": "^3.3.1",
"tar": "^6.2.0",
"tar": "^6.2.1",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.0",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"typescript": "^5.4.2",
"vue-loader": "^15.9.8",
"vue-template-compiler": "^2.7.16",
"wait-on": "^7.0.1",
"webpack": "^5.79.0",
"wait-on": "^7.2.0",
"webpack": "^5.91.0",
"webpack-cli": "^5.0.2",
"webpack-merge": "^5.8.0",
"workbox-webpack-plugin": "^7.0.0"

@ -212,6 +212,15 @@ module.exports = {
// Make appName & appVersion available as a constants for '@nextcloud/vue' components
new webpack.DefinePlugin({ appName: JSON.stringify('Nextcloud') }),
new webpack.DefinePlugin({ appVersion: JSON.stringify(appVersion) }),
// @nextcloud/moment since v1.3.0 uses `moment/min/moment-with-locales.js`
// Which works only in Node.js and is not compatible with Webpack bundling
// It has an unused function `localLocale` that requires locales by invalid relative path `./locale`
// Though it is not used, Webpack tries to resolve it with `require.context` and fails
new webpack.IgnorePlugin({
resourceRegExp: /^\.\/locale$/,
contextRegExp: /moment\/min$/,
}),
],
externals: {
OC: 'OC',

Loading…
Cancel
Save