parent
c4027bebd8
commit
72cc00d05a
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
|
@ -29,25 +29,24 @@
|
|||
"e2e": "playwright test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nextcloud/l10n": "^2.0.0",
|
||||
"@nextcloud/l10n": "^2.1.0",
|
||||
"@nextcloud/paths": "^2.1.0",
|
||||
"@nextcloud/sharing": "^0.1.0",
|
||||
"@nextcloud/vue": "7.4.0",
|
||||
"@nextcloud/vue": "7.8.0",
|
||||
"camelcase": "^7.0.1",
|
||||
"filerobot-image-editor": "^4.3.7",
|
||||
"filerobot-image-editor": "^4.3.8",
|
||||
"fuse.js": "^6.6.2",
|
||||
"justified-layout": "^4.1.0",
|
||||
"leaflet": "^1.9.3",
|
||||
"leaflet-edgebuffer": "^1.0.6",
|
||||
"moment": "^2.29.4",
|
||||
"path-posix": "^1.0.0",
|
||||
"photoswipe": "^5.3.4",
|
||||
"plyr": "^3.7.3",
|
||||
"photoswipe": "^5.3.6",
|
||||
"plyr": "^3.7.7",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"video.js": "^7.21.1",
|
||||
"videojs-contrib-quality-levels": "^3.0.0",
|
||||
"video.js": "^8.2.0",
|
||||
"vue": "^2.7.14",
|
||||
"vue-material-design-icons": "^5.1.2",
|
||||
"vue-material-design-icons": "^5.2.0",
|
||||
"vue-router": "^3.6.5",
|
||||
"vue-virtual-scroller": "1.1.2",
|
||||
"vue2-leaflet": "^2.7.1",
|
||||
|
@ -63,12 +62,11 @@
|
|||
"devDependencies": {
|
||||
"@nextcloud/browserslist-config": "^2.3.0",
|
||||
"@nextcloud/webpack-vue-config": "^5.4.0",
|
||||
"@playwright/test": "^1.29.2",
|
||||
"@playwright/test": "^1.31.2",
|
||||
"@types/url-parse": "^1.4.8",
|
||||
"@types/video.js": "^7.3.50",
|
||||
"playwright": "^1.29.2",
|
||||
"playwright": "^1.31.2",
|
||||
"ts-loader": "^9.4.2",
|
||||
"typescript": "^4.9.4",
|
||||
"typescript": "^4.9.5",
|
||||
"workbox-webpack-plugin": "^6.5.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -125,7 +125,9 @@ export default defineComponent({
|
|||
);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
showError(this.t("memories", "Error while moving {basename}", p));
|
||||
showError(
|
||||
this.t("memories", "Error while moving {basename}", <any>p)
|
||||
);
|
||||
failures++;
|
||||
} finally {
|
||||
this.processing++;
|
||||
|
|
|
@ -126,7 +126,9 @@ export default defineComponent({
|
|||
return photoMap.get(p.fileid);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
showError(this.t("memories", "Error while moving {basename}", p));
|
||||
showError(
|
||||
this.t("memories", "Error while moving {basename}", <any>p)
|
||||
);
|
||||
}
|
||||
});
|
||||
for await (const resp of dav.runInParallel(calls, 10)) {
|
||||
|
@ -148,4 +150,4 @@ export default defineComponent({
|
|||
.outer {
|
||||
margin-top: 15px;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
@ -189,7 +189,7 @@ class VideoContentSetup {
|
|||
}));
|
||||
|
||||
vjs.on("error", () => {
|
||||
if (vjs.error().code === 4 && vjs.src().includes("m3u8")) {
|
||||
if (vjs.src(undefined).includes("m3u8")) {
|
||||
// HLS could not be streamed
|
||||
console.error("Video.js: HLS stream could not be opened.");
|
||||
|
||||
|
|
|
@ -478,8 +478,8 @@ export default defineComponent({
|
|||
globalThis.photoswipe = this.photoswipe;
|
||||
|
||||
// Monkey patch for focus trapping in sidebar
|
||||
const _onFocusIn = this.photoswipe.keyboard._onFocusIn;
|
||||
this.photoswipe.keyboard._onFocusIn = (e: FocusEvent) => {
|
||||
const _onFocusIn = this.photoswipe.keyboard['_onFocusIn'];
|
||||
this.photoswipe.keyboard['_onFocusIn'] = (e: FocusEvent) => {
|
||||
if (e.target instanceof HTMLElement) {
|
||||
if (
|
||||
e.target.closest("aside.app-sidebar") ||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import videojs from "video.js";
|
||||
globalThis.vidjs = videojs;
|
||||
|
||||
import "videojs-contrib-quality-levels";
|
||||
import "video.js/dist/video-js.min.css";
|
||||
|
||||
import Plyr from "plyr";
|
||||
|
|
Loading…
Reference in New Issue