From f41c3d988ad0de1d44d32991b67b2369be1a33d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 24 Oct 2026 01:06:44 +0000 Subject: [PATCH 1/2] Chore(deps): Bump vue-material-design-icons from 5.3.1 to 5.3.2 Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 5.3.1 to 5.3.2. - [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases) - [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/5.3.1...5.3.2) --- updated-dependencies: - dependency-name: vue-material-design-icons dependency-version: 5.3.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 172 +++++++++++++++++++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 155 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index c2fe806e7..b64f373af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "qs": "^6.14.2", "url-parse": "^1.5.10", "vue": "^2.7.14", - "vue-material-design-icons": "^5.3.1", + "vue-material-design-icons": "^5.3.2", "vue-router": "^3.6.5", "vue-template-compiler": "^2.7.14", "vue2-leaflet": "^2.7.1", @@ -1974,6 +1974,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1990,6 +1991,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2006,6 +2008,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2022,6 +2025,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2038,6 +2042,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2054,6 +2059,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2070,6 +2076,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2086,6 +2093,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2102,6 +2110,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2118,6 +2127,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2134,6 +2144,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2150,6 +2161,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2166,6 +2178,7 @@ "cpu": [ "mips64el" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2182,6 +2195,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2198,6 +2212,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2214,6 +2229,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2230,6 +2246,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2246,6 +2263,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2262,6 +2280,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2278,6 +2297,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2294,6 +2314,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2310,6 +2331,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2326,6 +2348,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2342,6 +2365,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2358,6 +2382,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2374,6 +2399,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2847,7 +2873,7 @@ "version": "0.3.6", "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", - "devOptional": true, + "dev": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25" @@ -3659,6 +3685,33 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/@nextcloud/dialogs/node_modules/pinia": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/pinia/-/pinia-4.1.0.tgz", + "integrity": "sha512-+5/HMuVjYQfKlCD5xQ7zfXn1xUzYFEa7pd0DQK5SaMfZCaFRTHlaH/c02N1FoGOdlzSiwf5EOPgJx//1QDw6gw==", + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "nostics": "^1.2.0" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "@vue/devtools-api": "^8.2.1", + "typescript": ">=5.6.0", + "vue": "^3.5.11" + }, + "peerDependenciesMeta": { + "@vue/devtools-api": { + "optional": false + }, + "typescript": { + "optional": true + } + } + }, "node_modules/@nextcloud/dialogs/node_modules/readdirp": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz", @@ -4549,6 +4602,7 @@ "version": "2.6.0", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.6.0.tgz", "integrity": "sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w==", + "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -4588,6 +4642,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4609,6 +4664,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4630,6 +4686,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4651,6 +4708,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4672,6 +4730,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4693,6 +4752,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4714,6 +4774,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4735,6 +4796,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4756,6 +4818,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4777,6 +4840,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4798,6 +4862,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4819,6 +4884,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4837,6 +4903,7 @@ "version": "4.0.7", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, "license": "MIT", "optional": true, "peer": true, @@ -5106,6 +5173,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5119,6 +5187,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5132,6 +5201,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5145,6 +5215,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5158,6 +5229,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5171,6 +5243,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5184,6 +5257,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5197,6 +5271,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5210,6 +5285,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5223,6 +5299,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5236,6 +5313,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5249,6 +5327,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5262,6 +5341,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5275,6 +5355,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5288,6 +5369,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5301,6 +5383,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5314,6 +5397,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5327,6 +5411,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5340,6 +5425,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5353,6 +5439,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5366,6 +5453,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5379,6 +5467,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5392,6 +5481,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5405,6 +5495,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5418,6 +5509,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5849,7 +5941,7 @@ "version": "26.1.1", "resolved": "https://registry.npmjs.org/@types/node/-/node-26.1.1.tgz", "integrity": "sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "undici-types": "~8.3.0" @@ -7916,7 +8008,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/buffer-image-size": { @@ -8272,7 +8364,7 @@ "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/comment-parser": { @@ -8889,6 +8981,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, "license": "Apache-2.0", "optional": true, "peer": true, @@ -9451,6 +9544,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -10453,6 +10547,7 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, "hasInstallScript": true, "optional": true, "os": [ @@ -11243,7 +11338,7 @@ "version": "5.1.9", "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.9.tgz", "integrity": "sha512-m8nVez3rwrgmWxtLMt1ZYXB2Lv7OKYn/disyxAlSDYAlKSlFoPPfIAmAM/M5xqL4m4C/wAPw7S2/CNaUii1Hxg==", - "devOptional": true, + "dev": true, "license": "MIT", "peer": true }, @@ -11570,7 +11665,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -11622,7 +11717,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" @@ -13610,6 +13705,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, "optional": true, "peer": true }, @@ -14775,7 +14871,7 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", - "devOptional": true, + "dev": true, "peer": true, "engines": { "node": ">= 14.18.0" @@ -15472,6 +15568,21 @@ } } }, + "node_modules/rollup-plugin-license/node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -15593,7 +15704,7 @@ "version": "1.85.0", "resolved": "https://registry.npmjs.org/sass/-/sass-1.85.0.tgz", "integrity": "sha512-3ToiC1xZ1Y8aU7+CkgCI/tqyuPXEmYGJXO7H4uqp0xkLXUqp88rQQ4j1HmP37xSJLbCJPaIiv+cT1y+grssrww==", - "devOptional": true, + "dev": true, "peer": true, "dependencies": { "chokidar": "^4.0.0", @@ -15614,7 +15725,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", - "devOptional": true, + "dev": true, "peer": true, "dependencies": { "readdirp": "^4.0.1" @@ -15955,7 +16066,7 @@ "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", @@ -15966,7 +16077,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -17102,7 +17213,7 @@ "version": "5.31.6", "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.6.tgz", "integrity": "sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==", - "devOptional": true, + "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -17593,7 +17704,7 @@ "version": "8.3.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz", "integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { @@ -18320,6 +18431,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18336,6 +18448,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18352,6 +18465,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18368,6 +18482,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18384,6 +18499,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18400,6 +18516,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18416,6 +18533,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18432,6 +18550,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18448,6 +18567,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18464,6 +18584,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18480,6 +18601,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18496,6 +18618,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18512,6 +18635,7 @@ "cpu": [ "mips64el" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18528,6 +18652,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18544,6 +18669,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18560,6 +18686,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18576,6 +18703,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18592,6 +18720,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18608,6 +18737,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18624,6 +18754,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18640,6 +18771,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18656,6 +18788,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18672,6 +18805,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18688,6 +18822,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18704,6 +18839,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -19027,9 +19163,9 @@ } }, "node_modules/vue-material-design-icons": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/vue-material-design-icons/-/vue-material-design-icons-5.3.1.tgz", - "integrity": "sha512-6UNEyhlTzlCeT8ZeX5WbpUGFTTPSbOoTQeoASTv7X4Ylh0pe8vltj+36VMK56KM0gG8EQVoMK/Qw/6evalg8lA==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/vue-material-design-icons/-/vue-material-design-icons-5.3.2.tgz", + "integrity": "sha512-zw/E86MnyxT9U17kCQpta1DUmcSVJwVI0KThqyp9opvSNlbhnih9eDpT1D58mTNHolbG7ASkGjM/BDgdI2t0hg==", "license": "MIT" }, "node_modules/vue-resize": { diff --git a/package.json b/package.json index dc77cfeda..68c12ce4c 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "qs": "^6.14.2", "url-parse": "^1.5.10", "vue": "^2.7.14", - "vue-material-design-icons": "^5.3.1", + "vue-material-design-icons": "^5.3.2", "vue-router": "^3.6.5", "vue-template-compiler": "^2.7.14", "vue2-leaflet": "^2.7.1", From 7042b6be7eaf2f98915391d99dd129d015ddeff5 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Tue, 27 Oct 2026 12:44:35 +0000 Subject: [PATCH 2/2] chore(assets): Recompile assets Signed-off-by: nextcloud-command --- ...-QhM2v.chunk.mjs => ActionFavorite-tobUwJcp.chunk.mjs} | 4 ++-- ....license => ActionFavorite-tobUwJcp.chunk.mjs.license} | 0 ...hunk.mjs.map => ActionFavorite-tobUwJcp.chunk.mjs.map} | 2 +- ...ense => ActionFavorite-tobUwJcp.chunk.mjs.map.license} | 0 ...kok9i02g.chunk.mjs => AlbumContent-BdIjWTeX.chunk.mjs} | 4 ++-- ...js.license => AlbumContent-BdIjWTeX.chunk.mjs.license} | 0 ....chunk.mjs.map => AlbumContent-BdIjWTeX.chunk.mjs.map} | 2 +- ...icense => AlbumContent-BdIjWTeX.chunk.mjs.map.license} | 0 ...rm-Cg--8ztw.chunk.mjs => AlbumForm-BmFTVkx_.chunk.mjs} | 4 ++-- ...k.mjs.license => AlbumForm-BmFTVkx_.chunk.mjs.license} | 0 ...ztw.chunk.mjs.map => AlbumForm-BmFTVkx_.chunk.mjs.map} | 2 +- ...p.license => AlbumForm-BmFTVkx_.chunk.mjs.map.license} | 0 ...w-BOVuDMGZ.chunk.mjs => AlbumsView-CU05UJ-2.chunk.mjs} | 4 ++-- ....mjs.license => AlbumsView-CU05UJ-2.chunk.mjs.license} | 0 ...GZ.chunk.mjs.map => AlbumsView-CU05UJ-2.chunk.mjs.map} | 2 +- ....license => AlbumsView-CU05UJ-2.chunk.mjs.map.license} | 0 ...UW3.chunk.mjs => CollectionContent-DFYcE5op.chunk.mjs} | 4 ++-- ...cense => CollectionContent-DFYcE5op.chunk.mjs.license} | 0 ...k.mjs.map => CollectionContent-DFYcE5op.chunk.mjs.map} | 2 +- ...e => CollectionContent-DFYcE5op.chunk.mjs.map.license} | 0 ...J24dt.chunk.mjs => CollectionsList-BXCxvPBi.chunk.mjs} | 4 ++-- ...license => CollectionsList-BXCxvPBi.chunk.mjs.license} | 0 ...unk.mjs.map => CollectionsList-BXCxvPBi.chunk.mjs.map} | 2 +- ...nse => CollectionsList-BXCxvPBi.chunk.mjs.map.license} | 0 ...unk.mjs => ConflictPicker-BRRUCIWm-CipAh-_O.chunk.mjs} | 4 ++-- ...=> ConflictPicker-BRRUCIWm-CipAh-_O.chunk.mjs.license} | 0 ...map => ConflictPicker-BRRUCIWm-CipAh-_O.chunk.mjs.map} | 2 +- ...onflictPicker-BRRUCIWm-CipAh-_O.chunk.mjs.map.license} | 0 ...-m2GF9qrI.chunk.mjs => FaceContent-C0JWmMHx.chunk.mjs} | 4 ++-- ...mjs.license => FaceContent-C0JWmMHx.chunk.mjs.license} | 0 ...I.chunk.mjs.map => FaceContent-C0JWmMHx.chunk.mjs.map} | 2 +- ...license => FaceContent-C0JWmMHx.chunk.mjs.map.license} | 0 ...er-DGeoDuhi.chunk.mjs => FaceCover-SHoNqREU.chunk.mjs} | 4 ++-- ...k.mjs.license => FaceCover-SHoNqREU.chunk.mjs.license} | 0 ...uhi.chunk.mjs.map => FaceCover-SHoNqREU.chunk.mjs.map} | 2 +- ...p.license => FaceCover-SHoNqREU.chunk.mjs.map.license} | 0 ...Wu1uIu6.chunk.mjs => FaceMergeForm-ACo-tJPz.chunk.mjs} | 4 ++-- ...s.license => FaceMergeForm-ACo-tJPz.chunk.mjs.license} | 0 ...chunk.mjs.map => FaceMergeForm-ACo-tJPz.chunk.mjs.map} | 2 +- ...cense => FaceMergeForm-ACo-tJPz.chunk.mjs.map.license} | 0 ...ew-DzvWssEq.chunk.mjs => FacesView-glfsIpWz.chunk.mjs} | 4 ++-- ...k.mjs.license => FacesView-glfsIpWz.chunk.mjs.license} | 0 ...sEq.chunk.mjs.map => FacesView-glfsIpWz.chunk.mjs.map} | 2 +- ...p.license => FacesView-glfsIpWz.chunk.mjs.map.license} | 0 ...chunk.mjs => FetchCollectionsMixin-c42bb6uZ.chunk.mjs} | 4 ++-- ...e => FetchCollectionsMixin-c42bb6uZ.chunk.mjs.license} | 0 ...s.map => FetchCollectionsMixin-c42bb6uZ.chunk.mjs.map} | 2 +- ... FetchCollectionsMixin-c42bb6uZ.chunk.mjs.map.license} | 0 ...Lntua.chunk.mjs => FetchFilesMixin-CmkBaHcw.chunk.mjs} | 4 ++-- ...license => FetchFilesMixin-CmkBaHcw.chunk.mjs.license} | 0 ...unk.mjs.map => FetchFilesMixin-CmkBaHcw.chunk.mjs.map} | 2 +- ...nse => FetchFilesMixin-CmkBaHcw.chunk.mjs.map.license} | 0 ...7c4Aqj6.chunk.mjs => FileComponent-CvGcLA2E.chunk.mjs} | 8 ++++---- ...s.license => FileComponent-CvGcLA2E.chunk.mjs.license} | 0 ...chunk.mjs.map => FileComponent-CvGcLA2E.chunk.mjs.map} | 2 +- ...cense => FileComponent-CvGcLA2E.chunk.mjs.map.license} | 0 ...r-DoShYqtN.chunk.mjs => FilePicker-NtZc2b8H.chunk.mjs} | 8 ++++---- ....mjs.license => FilePicker-NtZc2b8H.chunk.mjs.license} | 0 ...tN.chunk.mjs.map => FilePicker-NtZc2b8H.chunk.mjs.map} | 2 +- ....license => FilePicker-NtZc2b8H.chunk.mjs.map.license} | 0 ...N.chunk.mjs => FilesSelectionMixin-CWKWQ5RH.chunk.mjs} | 4 ++-- ...nse => FilesSelectionMixin-CWKWQ5RH.chunk.mjs.license} | 0 ...mjs.map => FilesSelectionMixin-CWKWQ5RH.chunk.mjs.map} | 2 +- ...=> FilesSelectionMixin-CWKWQ5RH.chunk.mjs.map.license} | 0 ...-Dpg4ez2X.chunk.mjs => FoldersView-S-YOLBDe.chunk.mjs} | 4 ++-- ...mjs.license => FoldersView-S-YOLBDe.chunk.mjs.license} | 0 ...X.chunk.mjs.map => FoldersView-S-YOLBDe.chunk.mjs.map} | 2 +- ...license => FoldersView-S-YOLBDe.chunk.mjs.map.license} | 0 ...Dh0A.chunk.mjs => HeaderNavigation-DAskPBby.chunk.mjs} | 4 ++-- ...icense => HeaderNavigation-DAskPBby.chunk.mjs.license} | 0 ...nk.mjs.map => HeaderNavigation-DAskPBby.chunk.mjs.map} | 2 +- ...se => HeaderNavigation-DAskPBby.chunk.mjs.map.license} | 0 ... => InvalidFilenameDialog-C-Tc0bjw-DYi6ha85.chunk.mjs} | 4 ++-- ...lidFilenameDialog-C-Tc0bjw-DYi6ha85.chunk.mjs.license} | 0 ...InvalidFilenameDialog-C-Tc0bjw-DYi6ha85.chunk.mjs.map} | 2 +- ...ilenameDialog-C-Tc0bjw-DYi6ha85.chunk.mjs.map.license} | 0 ...-BWKUGaCp.chunk.mjs => LocationMap-Dxj0LCkM.chunk.mjs} | 4 ++-- ...mjs.license => LocationMap-Dxj0LCkM.chunk.mjs.license} | 0 ...p.chunk.mjs.map => LocationMap-Dxj0LCkM.chunk.mjs.map} | 2 +- ...license => LocationMap-Dxj0LCkM.chunk.mjs.map.license} | 0 ...View-DWjxqgQP.chunk.mjs => MapView-C5-CarUk.chunk.mjs} | 4 ++-- ...unk.mjs.license => MapView-C5-CarUk.chunk.mjs.license} | 0 ...xqgQP.chunk.mjs.map => MapView-C5-CarUk.chunk.mjs.map} | 2 +- ...map.license => MapView-C5-CarUk.chunk.mjs.map.license} | 0 ...Y3dUsy-j.chunk.mjs => MemoriesView-ClJFEWIp.chunk.mjs} | 4 ++-- ...js.license => MemoriesView-ClJFEWIp.chunk.mjs.license} | 0 ....chunk.mjs.map => MemoriesView-ClJFEWIp.chunk.mjs.map} | 2 +- ...icense => MemoriesView-ClJFEWIp.chunk.mjs.map.license} | 0 ...Yv1.chunk.mjs => NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs} | 8 ++++---- ...cense => NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs.license} | 0 ...k.mjs.map => NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs.map} | 2 +- ...e => NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs.map.license} | 0 ... => NcCheckboxRadioSwitch-flYu6ojL-BH7m7wKb.chunk.mjs} | 4 ++-- ...eckboxRadioSwitch-flYu6ojL-BH7m7wKb.chunk.mjs.license} | 0 ...NcCheckboxRadioSwitch-flYu6ojL-BH7m7wKb.chunk.mjs.map} | 2 +- ...oxRadioSwitch-flYu6ojL-BH7m7wKb.chunk.mjs.map.license} | 0 ...Du.chunk.mjs => NcContent-PWhlmWNS-CEGBh3qu.chunk.mjs} | 4 ++-- ...ense => NcContent-PWhlmWNS-CEGBh3qu.chunk.mjs.license} | 0 ....mjs.map => NcContent-PWhlmWNS-CEGBh3qu.chunk.mjs.map} | 2 +- ... => NcContent-PWhlmWNS-CEGBh3qu.chunk.mjs.map.license} | 0 ...10gjEE.chunk.mjs => NcEmptyContent-BjCIw6kE.chunk.mjs} | 4 ++-- ....license => NcEmptyContent-BjCIw6kE.chunk.mjs.license} | 0 ...hunk.mjs.map => NcEmptyContent-BjCIw6kE.chunk.mjs.map} | 2 +- ...ense => NcEmptyContent-BjCIw6kE.chunk.mjs.map.license} | 0 ...nk.mjs => NcFormBoxButton-DQYM40Lb-Bw_0-jWq.chunk.mjs} | 4 ++-- ...> NcFormBoxButton-DQYM40Lb-Bw_0-jWq.chunk.mjs.license} | 0 ...ap => NcFormBoxButton-DQYM40Lb-Bw_0-jWq.chunk.mjs.map} | 2 +- ...FormBoxButton-DQYM40Lb-Bw_0-jWq.chunk.mjs.map.license} | 0 ...VJc1V1y.chunk.mjs => NcLoadingIcon-D4y8aRIn.chunk.mjs} | 4 ++-- ...s.license => NcLoadingIcon-D4y8aRIn.chunk.mjs.license} | 0 ...chunk.mjs.map => NcLoadingIcon-D4y8aRIn.chunk.mjs.map} | 2 +- ...cense => NcLoadingIcon-D4y8aRIn.chunk.mjs.map.license} | 0 ...mjs => NcProfileHoverCard-nmkKoCB1-BUqAEQBZ.chunk.mjs} | 8 ++++---- ...cProfileHoverCard-nmkKoCB1-BUqAEQBZ.chunk.mjs.license} | 0 ...=> NcProfileHoverCard-nmkKoCB1-BUqAEQBZ.chunk.mjs.map} | 2 +- ...fileHoverCard-nmkKoCB1-BUqAEQBZ.chunk.mjs.map.license} | 0 ...hunk.mjs => NcProgressBar-D7zYeXBH-Brhxe8vF.chunk.mjs} | 4 ++-- ... => NcProgressBar-D7zYeXBH-Brhxe8vF.chunk.mjs.license} | 0 ....map => NcProgressBar-D7zYeXBH-Brhxe8vF.chunk.mjs.map} | 2 +- ...NcProgressBar-D7zYeXBH-Brhxe8vF.chunk.mjs.map.license} | 0 ...chunk.mjs => NcUserBubble-1YlD_SE1-BbeFKQ-G.chunk.mjs} | 4 ++-- ...e => NcUserBubble-1YlD_SE1-BbeFKQ-G.chunk.mjs.license} | 0 ...s.map => NcUserBubble-1YlD_SE1-BbeFKQ-G.chunk.mjs.map} | 2 +- ... NcUserBubble-1YlD_SE1-BbeFKQ-G.chunk.mjs.map.license} | 0 ...des-jdhrstxP.chunk.mjs => NcVNodes-CEnA-sSH.chunk.mjs} | 4 ++-- ...nk.mjs.license => NcVNodes-CEnA-sSH.chunk.mjs.license} | 0 ...stxP.chunk.mjs.map => NcVNodes-CEnA-sSH.chunk.mjs.map} | 2 +- ...ap.license => NcVNodes-CEnA-sSH.chunk.mjs.map.license} | 0 ...-MKFGWE1K.chunk.mjs => PhotoSearch-BZmG9eoc.chunk.mjs} | 4 ++-- ...mjs.license => PhotoSearch-BZmG9eoc.chunk.mjs.license} | 0 ...K.chunk.mjs.map => PhotoSearch-BZmG9eoc.chunk.mjs.map} | 2 +- ...license => PhotoSearch-BZmG9eoc.chunk.mjs.map.license} | 0 ...KD.chunk.mjs => PhotosFiltersInput-ClKUDRFV.chunk.mjs} | 4 ++-- ...ense => PhotosFiltersInput-ClKUDRFV.chunk.mjs.license} | 0 ....mjs.map => PhotosFiltersInput-ClKUDRFV.chunk.mjs.map} | 2 +- ... => PhotosFiltersInput-ClKUDRFV.chunk.mjs.map.license} | 0 ...CV5D25zd.chunk.mjs => PhotosPicker-BMUQ4xWH.chunk.mjs} | 4 ++-- ...js.license => PhotosPicker-BMUQ4xWH.chunk.mjs.license} | 0 ....chunk.mjs.map => PhotosPicker-BMUQ4xWH.chunk.mjs.map} | 2 +- ...icense => PhotosPicker-BMUQ4xWH.chunk.mjs.map.license} | 0 ...o-ZiPS_3.chunk.mjs => PlaceContent-DeV3V5JU.chunk.mjs} | 4 ++-- ...js.license => PlaceContent-DeV3V5JU.chunk.mjs.license} | 0 ....chunk.mjs.map => PlaceContent-DeV3V5JU.chunk.mjs.map} | 2 +- ...icense => PlaceContent-DeV3V5JU.chunk.mjs.map.license} | 0 ...w-BBPGMqzL.chunk.mjs => PlacesView-B79QP9qf.chunk.mjs} | 4 ++-- ....mjs.license => PlacesView-B79QP9qf.chunk.mjs.license} | 0 ...zL.chunk.mjs.map => PlacesView-B79QP9qf.chunk.mjs.map} | 2 +- ....license => PlacesView-B79QP9qf.chunk.mjs.map.license} | 0 ...r_.chunk.mjs => PublicAlbumContent-MUVf0Dmw.chunk.mjs} | 6 +++--- ...ense => PublicAlbumContent-MUVf0Dmw.chunk.mjs.license} | 0 ....mjs.map => PublicAlbumContent-MUVf0Dmw.chunk.mjs.map} | 2 +- ... => PublicAlbumContent-MUVf0Dmw.chunk.mjs.map.license} | 0 ...pe-BdiPlKw3.chunk.mjs => ShareType-CE2LV4Ez.chunk.mjs} | 4 ++-- ...k.mjs.license => ShareType-CE2LV4Ez.chunk.mjs.license} | 0 ...Kw3.chunk.mjs.map => ShareType-CE2LV4Ez.chunk.mjs.map} | 2 +- ...p.license => ShareType-CE2LV4Ez.chunk.mjs.map.license} | 0 ...4q.chunk.mjs => SharedAlbumContent-susUo8ro.chunk.mjs} | 4 ++-- ...ense => SharedAlbumContent-susUo8ro.chunk.mjs.license} | 0 ....mjs.map => SharedAlbumContent-susUo8ro.chunk.mjs.map} | 2 +- ... => SharedAlbumContent-susUo8ro.chunk.mjs.map.license} | 0 ...COsFG79f.chunk.mjs => SharedAlbums-cpvO7pnd.chunk.mjs} | 4 ++-- ...js.license => SharedAlbums-cpvO7pnd.chunk.mjs.license} | 0 ....chunk.mjs.map => SharedAlbums-cpvO7pnd.chunk.mjs.map} | 2 +- ...icense => SharedAlbums-cpvO7pnd.chunk.mjs.map.license} | 0 ...t-Bw2A3Jg5.chunk.mjs => TagContent-NuNiVcsE.chunk.mjs} | 4 ++-- ....mjs.license => TagContent-NuNiVcsE.chunk.mjs.license} | 0 ...g5.chunk.mjs.map => TagContent-NuNiVcsE.chunk.mjs.map} | 2 +- ....license => TagContent-NuNiVcsE.chunk.mjs.map.license} | 0 ...iew-C-hzbS4l.chunk.mjs => TagsView-NBUBSpqn.chunk.mjs} | 4 ++-- ...nk.mjs.license => TagsView-NBUBSpqn.chunk.mjs.license} | 0 ...bS4l.chunk.mjs.map => TagsView-NBUBSpqn.chunk.mjs.map} | 2 +- ...ap.license => TagsView-NBUBSpqn.chunk.mjs.map.license} | 0 ...CIU2WO1W.chunk.mjs => TimelineView-C5qvl-U1.chunk.mjs} | 4 ++-- ...js.license => TimelineView-C5qvl-U1.chunk.mjs.license} | 0 ....chunk.mjs.map => TimelineView-C5qvl-U1.chunk.mjs.map} | 2 +- ...icense => TimelineView-C5qvl-U1.chunk.mjs.map.license} | 0 ...s5DjJ.chunk.mjs => UnassignedFaces-Ch3Ii-Hj.chunk.mjs} | 4 ++-- ...license => UnassignedFaces-Ch3Ii-Hj.chunk.mjs.license} | 0 ...unk.mjs.map => UnassignedFaces-Ch3Ii-Hj.chunk.mjs.map} | 2 +- ...nse => UnassignedFaces-Ch3Ii-Hj.chunk.mjs.map.license} | 0 ...rM3.chunk.mjs => collectionFetcher-BstAt6tR.chunk.mjs} | 4 ++-- ...cense => collectionFetcher-BstAt6tR.chunk.mjs.license} | 0 ...k.mjs.map => collectionFetcher-BstAt6tR.chunk.mjs.map} | 2 +- ...e => collectionFetcher-BstAt6tR.chunk.mjs.map.license} | 0 ...-pa1CLJyD.chunk.mjs => fileFetcher-HYHSF2Bi.chunk.mjs} | 4 ++-- ...mjs.license => fileFetcher-HYHSF2Bi.chunk.mjs.license} | 0 ...D.chunk.mjs.map => fileFetcher-HYHSF2Bi.chunk.mjs.map} | 2 +- ...license => fileFetcher-HYHSF2Bi.chunk.mjs.map.license} | 0 ...ters-DfjK8Lqb.chunk.mjs => filters-7dDnbv-s.chunk.mjs} | 4 ++-- ...unk.mjs.license => filters-7dDnbv-s.chunk.mjs.license} | 0 ...K8Lqb.chunk.mjs.map => filters-7dDnbv-s.chunk.mjs.map} | 2 +- ...map.license => filters-7dDnbv-s.chunk.mjs.map.license} | 0 js/icons-BogBEt5I.chunk.mjs | 2 -- js/icons-BogBEt5I.chunk.mjs.map | 1 - js/icons-CNMlCj5c.chunk.mjs | 2 ++ ...chunk.mjs.license => icons-CNMlCj5c.chunk.mjs.license} | 2 +- js/icons-CNMlCj5c.chunk.mjs.map | 1 + ...s.map.license => icons-CNMlCj5c.chunk.mjs.map.license} | 2 +- js/{index-CXnC3H5H.chunk.mjs => index-7y3FZjty.chunk.mjs} | 4 ++-- ...chunk.mjs.license => index-7y3FZjty.chunk.mjs.license} | 0 ...XnC3H5H.chunk.mjs.map => index-7y3FZjty.chunk.mjs.map} | 2 +- ...s.map.license => index-7y3FZjty.chunk.mjs.map.license} | 0 js/{index-D6lFrpW2.chunk.mjs => index-C0KOmrEp.chunk.mjs} | 4 ++-- ...chunk.mjs.license => index-C0KOmrEp.chunk.mjs.license} | 0 ...6lFrpW2.chunk.mjs.map => index-C0KOmrEp.chunk.mjs.map} | 2 +- ...s.map.license => index-C0KOmrEp.chunk.mjs.map.license} | 0 js/{index-DiabeboH.chunk.mjs => index-Couj59Xw.chunk.mjs} | 4 ++-- ...chunk.mjs.license => index-Couj59Xw.chunk.mjs.license} | 0 ...iabeboH.chunk.mjs.map => index-Couj59Xw.chunk.mjs.map} | 2 +- ...s.map.license => index-Couj59Xw.chunk.mjs.map.license} | 0 js/{index-DIwsugGN.chunk.mjs => index-DsH3tWlI.chunk.mjs} | 8 ++++---- ...chunk.mjs.license => index-DsH3tWlI.chunk.mjs.license} | 0 ...IwsugGN.chunk.mjs.map => index-DsH3tWlI.chunk.mjs.map} | 2 +- ...s.map.license => index-DsH3tWlI.chunk.mjs.map.license} | 0 ...pkO8OQ.chunk.mjs => index-SPoS3_zU-Cg1sCnvK.chunk.mjs} | 8 ++++---- ....license => index-SPoS3_zU-Cg1sCnvK.chunk.mjs.license} | 0 ...hunk.mjs.map => index-SPoS3_zU-Cg1sCnvK.chunk.mjs.map} | 2 +- ...ense => index-SPoS3_zU-Cg1sCnvK.chunk.mjs.map.license} | 0 js/photos-dashboard.mjs | 2 +- js/photos-main.mjs | 2 +- js/photos-public.mjs | 2 +- ...ey-G5b1hqXc.chunk.mjs => useHotKey-BAg2zeCH.chunk.mjs} | 4 ++-- ...k.mjs.license => useHotKey-BAg2zeCH.chunk.mjs.license} | 0 ...qXc.chunk.mjs.map => useHotKey-BAg2zeCH.chunk.mjs.map} | 2 +- ...p.license => useHotKey-BAg2zeCH.chunk.mjs.map.license} | 0 ...Quvoc.chunk.mjs => useLoadedPhotos-BQOmEcxV.chunk.mjs} | 4 ++-- ...license => useLoadedPhotos-BQOmEcxV.chunk.mjs.license} | 0 ...unk.mjs.map => useLoadedPhotos-BQOmEcxV.chunk.mjs.map} | 2 +- ...nse => useLoadedPhotos-BQOmEcxV.chunk.mjs.map.license} | 0 229 files changed, 186 insertions(+), 186 deletions(-) rename js/{ActionFavorite-DE-QhM2v.chunk.mjs => ActionFavorite-tobUwJcp.chunk.mjs} (87%) rename js/{ActionFavorite-DE-QhM2v.chunk.mjs.license => ActionFavorite-tobUwJcp.chunk.mjs.license} (100%) rename js/{ActionFavorite-DE-QhM2v.chunk.mjs.map => ActionFavorite-tobUwJcp.chunk.mjs.map} (97%) rename js/{ActionFavorite-DE-QhM2v.chunk.mjs.map.license => ActionFavorite-tobUwJcp.chunk.mjs.map.license} (100%) rename js/{AlbumContent-kok9i02g.chunk.mjs => AlbumContent-BdIjWTeX.chunk.mjs} (87%) rename js/{AlbumContent-kok9i02g.chunk.mjs.license => AlbumContent-BdIjWTeX.chunk.mjs.license} (100%) rename js/{AlbumContent-kok9i02g.chunk.mjs.map => AlbumContent-BdIjWTeX.chunk.mjs.map} (99%) rename js/{AlbumContent-kok9i02g.chunk.mjs.map.license => AlbumContent-BdIjWTeX.chunk.mjs.map.license} (100%) rename js/{AlbumForm-Cg--8ztw.chunk.mjs => AlbumForm-BmFTVkx_.chunk.mjs} (97%) rename js/{AlbumForm-Cg--8ztw.chunk.mjs.license => AlbumForm-BmFTVkx_.chunk.mjs.license} (100%) rename js/{AlbumForm-Cg--8ztw.chunk.mjs.map => AlbumForm-BmFTVkx_.chunk.mjs.map} (99%) rename js/{AlbumForm-Cg--8ztw.chunk.mjs.map.license => AlbumForm-BmFTVkx_.chunk.mjs.map.license} (100%) rename js/{AlbumsView-BOVuDMGZ.chunk.mjs => AlbumsView-CU05UJ-2.chunk.mjs} (78%) rename js/{AlbumsView-BOVuDMGZ.chunk.mjs.license => AlbumsView-CU05UJ-2.chunk.mjs.license} (100%) rename js/{AlbumsView-BOVuDMGZ.chunk.mjs.map => AlbumsView-CU05UJ-2.chunk.mjs.map} (98%) rename js/{AlbumsView-BOVuDMGZ.chunk.mjs.map.license => AlbumsView-CU05UJ-2.chunk.mjs.map.license} (100%) rename js/{CollectionContent-DxSAiUW3.chunk.mjs => CollectionContent-DFYcE5op.chunk.mjs} (86%) rename js/{CollectionContent-DxSAiUW3.chunk.mjs.license => CollectionContent-DFYcE5op.chunk.mjs.license} (100%) rename js/{CollectionContent-DxSAiUW3.chunk.mjs.map => CollectionContent-DFYcE5op.chunk.mjs.map} (99%) rename js/{CollectionContent-DxSAiUW3.chunk.mjs.map.license => CollectionContent-DFYcE5op.chunk.mjs.map.license} (100%) rename js/{CollectionsList-gL3J24dt.chunk.mjs => CollectionsList-BXCxvPBi.chunk.mjs} (88%) rename js/{CollectionsList-gL3J24dt.chunk.mjs.license => CollectionsList-BXCxvPBi.chunk.mjs.license} (100%) rename js/{CollectionsList-gL3J24dt.chunk.mjs.map => CollectionsList-BXCxvPBi.chunk.mjs.map} (98%) rename js/{CollectionsList-gL3J24dt.chunk.mjs.map.license => CollectionsList-BXCxvPBi.chunk.mjs.map.license} (100%) rename js/{ConflictPicker-BRRUCIWm-CdTkXjTR.chunk.mjs => ConflictPicker-BRRUCIWm-CipAh-_O.chunk.mjs} (94%) rename js/{ConflictPicker-BRRUCIWm-CdTkXjTR.chunk.mjs.license => ConflictPicker-BRRUCIWm-CipAh-_O.chunk.mjs.license} (100%) rename js/{ConflictPicker-BRRUCIWm-CdTkXjTR.chunk.mjs.map => ConflictPicker-BRRUCIWm-CipAh-_O.chunk.mjs.map} (99%) rename js/{ConflictPicker-BRRUCIWm-CdTkXjTR.chunk.mjs.map.license => ConflictPicker-BRRUCIWm-CipAh-_O.chunk.mjs.map.license} (100%) rename js/{FaceContent-m2GF9qrI.chunk.mjs => FaceContent-C0JWmMHx.chunk.mjs} (89%) rename js/{FaceContent-m2GF9qrI.chunk.mjs.license => FaceContent-C0JWmMHx.chunk.mjs.license} (100%) rename js/{FaceContent-m2GF9qrI.chunk.mjs.map => FaceContent-C0JWmMHx.chunk.mjs.map} (99%) rename js/{FaceContent-m2GF9qrI.chunk.mjs.map.license => FaceContent-C0JWmMHx.chunk.mjs.map.license} (100%) rename js/{FaceCover-DGeoDuhi.chunk.mjs => FaceCover-SHoNqREU.chunk.mjs} (96%) rename js/{FaceCover-DGeoDuhi.chunk.mjs.license => FaceCover-SHoNqREU.chunk.mjs.license} (100%) rename js/{FaceCover-DGeoDuhi.chunk.mjs.map => FaceCover-SHoNqREU.chunk.mjs.map} (99%) rename js/{FaceCover-DGeoDuhi.chunk.mjs.map.license => FaceCover-SHoNqREU.chunk.mjs.map.license} (100%) rename js/{FaceMergeForm-kWu1uIu6.chunk.mjs => FaceMergeForm-ACo-tJPz.chunk.mjs} (84%) rename js/{FaceMergeForm-kWu1uIu6.chunk.mjs.license => FaceMergeForm-ACo-tJPz.chunk.mjs.license} (100%) rename js/{FaceMergeForm-kWu1uIu6.chunk.mjs.map => FaceMergeForm-ACo-tJPz.chunk.mjs.map} (97%) rename js/{FaceMergeForm-kWu1uIu6.chunk.mjs.map.license => FaceMergeForm-ACo-tJPz.chunk.mjs.map.license} (100%) rename js/{FacesView-DzvWssEq.chunk.mjs => FacesView-glfsIpWz.chunk.mjs} (88%) rename js/{FacesView-DzvWssEq.chunk.mjs.license => FacesView-glfsIpWz.chunk.mjs.license} (100%) rename js/{FacesView-DzvWssEq.chunk.mjs.map => FacesView-glfsIpWz.chunk.mjs.map} (99%) rename js/{FacesView-DzvWssEq.chunk.mjs.map.license => FacesView-glfsIpWz.chunk.mjs.map.license} (100%) rename js/{FetchCollectionsMixin-7Jr6CUsx.chunk.mjs => FetchCollectionsMixin-c42bb6uZ.chunk.mjs} (78%) rename js/{FetchCollectionsMixin-7Jr6CUsx.chunk.mjs.license => FetchCollectionsMixin-c42bb6uZ.chunk.mjs.license} (100%) rename js/{FetchCollectionsMixin-7Jr6CUsx.chunk.mjs.map => FetchCollectionsMixin-c42bb6uZ.chunk.mjs.map} (97%) rename js/{FetchCollectionsMixin-7Jr6CUsx.chunk.mjs.map.license => FetchCollectionsMixin-c42bb6uZ.chunk.mjs.map.license} (100%) rename js/{FetchFilesMixin-BLXLntua.chunk.mjs => FetchFilesMixin-CmkBaHcw.chunk.mjs} (92%) rename js/{FetchFilesMixin-BLXLntua.chunk.mjs.license => FetchFilesMixin-CmkBaHcw.chunk.mjs.license} (100%) rename js/{FetchFilesMixin-BLXLntua.chunk.mjs.map => FetchFilesMixin-CmkBaHcw.chunk.mjs.map} (99%) rename js/{FetchFilesMixin-BLXLntua.chunk.mjs.map.license => FetchFilesMixin-CmkBaHcw.chunk.mjs.map.license} (100%) rename js/{FileComponent-47c4Aqj6.chunk.mjs => FileComponent-CvGcLA2E.chunk.mjs} (98%) rename js/{FileComponent-47c4Aqj6.chunk.mjs.license => FileComponent-CvGcLA2E.chunk.mjs.license} (100%) rename js/{FileComponent-47c4Aqj6.chunk.mjs.map => FileComponent-CvGcLA2E.chunk.mjs.map} (99%) rename js/{FileComponent-47c4Aqj6.chunk.mjs.map.license => FileComponent-CvGcLA2E.chunk.mjs.map.license} (100%) rename js/{FilePicker-DoShYqtN.chunk.mjs => FilePicker-NtZc2b8H.chunk.mjs} (99%) rename js/{FilePicker-DoShYqtN.chunk.mjs.license => FilePicker-NtZc2b8H.chunk.mjs.license} (100%) rename js/{FilePicker-DoShYqtN.chunk.mjs.map => FilePicker-NtZc2b8H.chunk.mjs.map} (99%) rename js/{FilePicker-DoShYqtN.chunk.mjs.map.license => FilePicker-NtZc2b8H.chunk.mjs.map.license} (100%) rename js/{FilesSelectionMixin-CAfAZF6N.chunk.mjs => FilesSelectionMixin-CWKWQ5RH.chunk.mjs} (92%) rename js/{FilesSelectionMixin-CAfAZF6N.chunk.mjs.license => FilesSelectionMixin-CWKWQ5RH.chunk.mjs.license} (100%) rename js/{FilesSelectionMixin-CAfAZF6N.chunk.mjs.map => FilesSelectionMixin-CWKWQ5RH.chunk.mjs.map} (99%) rename js/{FilesSelectionMixin-CAfAZF6N.chunk.mjs.map.license => FilesSelectionMixin-CWKWQ5RH.chunk.mjs.map.license} (100%) rename js/{FoldersView-Dpg4ez2X.chunk.mjs => FoldersView-S-YOLBDe.chunk.mjs} (88%) rename js/{FoldersView-Dpg4ez2X.chunk.mjs.license => FoldersView-S-YOLBDe.chunk.mjs.license} (100%) rename js/{FoldersView-Dpg4ez2X.chunk.mjs.map => FoldersView-S-YOLBDe.chunk.mjs.map} (99%) rename js/{FoldersView-Dpg4ez2X.chunk.mjs.map.license => FoldersView-S-YOLBDe.chunk.mjs.map.license} (100%) rename js/{HeaderNavigation-BYegDh0A.chunk.mjs => HeaderNavigation-DAskPBby.chunk.mjs} (89%) rename js/{HeaderNavigation-BYegDh0A.chunk.mjs.license => HeaderNavigation-DAskPBby.chunk.mjs.license} (100%) rename js/{HeaderNavigation-BYegDh0A.chunk.mjs.map => HeaderNavigation-DAskPBby.chunk.mjs.map} (98%) rename js/{HeaderNavigation-BYegDh0A.chunk.mjs.map.license => HeaderNavigation-DAskPBby.chunk.mjs.map.license} (100%) rename js/{InvalidFilenameDialog-C-Tc0bjw-uyiHV9Fu.chunk.mjs => InvalidFilenameDialog-C-Tc0bjw-DYi6ha85.chunk.mjs} (73%) rename js/{InvalidFilenameDialog-C-Tc0bjw-uyiHV9Fu.chunk.mjs.license => InvalidFilenameDialog-C-Tc0bjw-DYi6ha85.chunk.mjs.license} (100%) rename js/{InvalidFilenameDialog-C-Tc0bjw-uyiHV9Fu.chunk.mjs.map => InvalidFilenameDialog-C-Tc0bjw-DYi6ha85.chunk.mjs.map} (99%) rename js/{InvalidFilenameDialog-C-Tc0bjw-uyiHV9Fu.chunk.mjs.map.license => InvalidFilenameDialog-C-Tc0bjw-DYi6ha85.chunk.mjs.map.license} (100%) rename js/{LocationMap-BWKUGaCp.chunk.mjs => LocationMap-Dxj0LCkM.chunk.mjs} (96%) rename js/{LocationMap-BWKUGaCp.chunk.mjs.license => LocationMap-Dxj0LCkM.chunk.mjs.license} (100%) rename js/{LocationMap-BWKUGaCp.chunk.mjs.map => LocationMap-Dxj0LCkM.chunk.mjs.map} (99%) rename js/{LocationMap-BWKUGaCp.chunk.mjs.map.license => LocationMap-Dxj0LCkM.chunk.mjs.map.license} (100%) rename js/{MapView-DWjxqgQP.chunk.mjs => MapView-C5-CarUk.chunk.mjs} (86%) rename js/{MapView-DWjxqgQP.chunk.mjs.license => MapView-C5-CarUk.chunk.mjs.license} (100%) rename js/{MapView-DWjxqgQP.chunk.mjs.map => MapView-C5-CarUk.chunk.mjs.map} (99%) rename js/{MapView-DWjxqgQP.chunk.mjs.map.license => MapView-C5-CarUk.chunk.mjs.map.license} (100%) rename js/{MemoriesView-Y3dUsy-j.chunk.mjs => MemoriesView-ClJFEWIp.chunk.mjs} (94%) rename js/{MemoriesView-Y3dUsy-j.chunk.mjs.license => MemoriesView-ClJFEWIp.chunk.mjs.license} (100%) rename js/{MemoriesView-Y3dUsy-j.chunk.mjs.map => MemoriesView-ClJFEWIp.chunk.mjs.map} (99%) rename js/{MemoriesView-Y3dUsy-j.chunk.mjs.map.license => MemoriesView-ClJFEWIp.chunk.mjs.map.license} (100%) rename js/{NcAvatar-BbHwxwyd-C4gYxYv1.chunk.mjs => NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs} (99%) rename js/{NcAvatar-BbHwxwyd-C4gYxYv1.chunk.mjs.license => NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs.license} (100%) rename js/{NcAvatar-BbHwxwyd-C4gYxYv1.chunk.mjs.map => NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs.map} (99%) rename js/{NcAvatar-BbHwxwyd-C4gYxYv1.chunk.mjs.map.license => NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs.map.license} (100%) rename js/{NcCheckboxRadioSwitch-flYu6ojL-DoA4CvaB.chunk.mjs => NcCheckboxRadioSwitch-flYu6ojL-BH7m7wKb.chunk.mjs} (96%) rename js/{NcCheckboxRadioSwitch-flYu6ojL-DoA4CvaB.chunk.mjs.license => NcCheckboxRadioSwitch-flYu6ojL-BH7m7wKb.chunk.mjs.license} (100%) rename js/{NcCheckboxRadioSwitch-flYu6ojL-DoA4CvaB.chunk.mjs.map => NcCheckboxRadioSwitch-flYu6ojL-BH7m7wKb.chunk.mjs.map} (99%) rename js/{NcCheckboxRadioSwitch-flYu6ojL-DoA4CvaB.chunk.mjs.map.license => NcCheckboxRadioSwitch-flYu6ojL-BH7m7wKb.chunk.mjs.map.license} (100%) rename js/{NcContent-PWhlmWNS-BDSD32Du.chunk.mjs => NcContent-PWhlmWNS-CEGBh3qu.chunk.mjs} (99%) rename js/{NcContent-PWhlmWNS-BDSD32Du.chunk.mjs.license => NcContent-PWhlmWNS-CEGBh3qu.chunk.mjs.license} (100%) rename js/{NcContent-PWhlmWNS-BDSD32Du.chunk.mjs.map => NcContent-PWhlmWNS-CEGBh3qu.chunk.mjs.map} (99%) rename js/{NcContent-PWhlmWNS-BDSD32Du.chunk.mjs.map.license => NcContent-PWhlmWNS-CEGBh3qu.chunk.mjs.map.license} (100%) rename js/{NcEmptyContent-B710gjEE.chunk.mjs => NcEmptyContent-BjCIw6kE.chunk.mjs} (83%) rename js/{NcEmptyContent-B710gjEE.chunk.mjs.license => NcEmptyContent-BjCIw6kE.chunk.mjs.license} (100%) rename js/{NcEmptyContent-B710gjEE.chunk.mjs.map => NcEmptyContent-BjCIw6kE.chunk.mjs.map} (98%) rename js/{NcEmptyContent-B710gjEE.chunk.mjs.map.license => NcEmptyContent-BjCIw6kE.chunk.mjs.map.license} (100%) rename js/{NcFormBoxButton-DQYM40Lb-DM8xsK_-.chunk.mjs => NcFormBoxButton-DQYM40Lb-Bw_0-jWq.chunk.mjs} (98%) rename js/{NcFormBoxButton-DQYM40Lb-DM8xsK_-.chunk.mjs.license => NcFormBoxButton-DQYM40Lb-Bw_0-jWq.chunk.mjs.license} (100%) rename js/{NcFormBoxButton-DQYM40Lb-DM8xsK_-.chunk.mjs.map => NcFormBoxButton-DQYM40Lb-Bw_0-jWq.chunk.mjs.map} (99%) rename js/{NcFormBoxButton-DQYM40Lb-DM8xsK_-.chunk.mjs.map.license => NcFormBoxButton-DQYM40Lb-Bw_0-jWq.chunk.mjs.map.license} (100%) rename js/{NcLoadingIcon-DVJc1V1y.chunk.mjs => NcLoadingIcon-D4y8aRIn.chunk.mjs} (88%) rename js/{NcLoadingIcon-DVJc1V1y.chunk.mjs.license => NcLoadingIcon-D4y8aRIn.chunk.mjs.license} (100%) rename js/{NcLoadingIcon-DVJc1V1y.chunk.mjs.map => NcLoadingIcon-D4y8aRIn.chunk.mjs.map} (98%) rename js/{NcLoadingIcon-DVJc1V1y.chunk.mjs.map.license => NcLoadingIcon-D4y8aRIn.chunk.mjs.map.license} (100%) rename js/{NcProfileHoverCard-nmkKoCB1-BjDIylz8.chunk.mjs => NcProfileHoverCard-nmkKoCB1-BUqAEQBZ.chunk.mjs} (99%) rename js/{NcProfileHoverCard-nmkKoCB1-BjDIylz8.chunk.mjs.license => NcProfileHoverCard-nmkKoCB1-BUqAEQBZ.chunk.mjs.license} (100%) rename js/{NcProfileHoverCard-nmkKoCB1-BjDIylz8.chunk.mjs.map => NcProfileHoverCard-nmkKoCB1-BUqAEQBZ.chunk.mjs.map} (99%) rename js/{NcProfileHoverCard-nmkKoCB1-BjDIylz8.chunk.mjs.map.license => NcProfileHoverCard-nmkKoCB1-BUqAEQBZ.chunk.mjs.map.license} (100%) rename js/{NcProgressBar-D7zYeXBH-Cb1aiO_e.chunk.mjs => NcProgressBar-D7zYeXBH-Brhxe8vF.chunk.mjs} (97%) rename js/{NcProgressBar-D7zYeXBH-Cb1aiO_e.chunk.mjs.license => NcProgressBar-D7zYeXBH-Brhxe8vF.chunk.mjs.license} (100%) rename js/{NcProgressBar-D7zYeXBH-Cb1aiO_e.chunk.mjs.map => NcProgressBar-D7zYeXBH-Brhxe8vF.chunk.mjs.map} (99%) rename js/{NcProgressBar-D7zYeXBH-Cb1aiO_e.chunk.mjs.map.license => NcProgressBar-D7zYeXBH-Brhxe8vF.chunk.mjs.map.license} (100%) rename js/{NcUserBubble-1YlD_SE1-Vet5X-fa.chunk.mjs => NcUserBubble-1YlD_SE1-BbeFKQ-G.chunk.mjs} (93%) rename js/{NcUserBubble-1YlD_SE1-Vet5X-fa.chunk.mjs.license => NcUserBubble-1YlD_SE1-BbeFKQ-G.chunk.mjs.license} (100%) rename js/{NcUserBubble-1YlD_SE1-Vet5X-fa.chunk.mjs.map => NcUserBubble-1YlD_SE1-BbeFKQ-G.chunk.mjs.map} (99%) rename js/{NcUserBubble-1YlD_SE1-Vet5X-fa.chunk.mjs.map.license => NcUserBubble-1YlD_SE1-BbeFKQ-G.chunk.mjs.map.license} (100%) rename js/{NcVNodes-jdhrstxP.chunk.mjs => NcVNodes-CEnA-sSH.chunk.mjs} (91%) rename js/{NcVNodes-jdhrstxP.chunk.mjs.license => NcVNodes-CEnA-sSH.chunk.mjs.license} (100%) rename js/{NcVNodes-jdhrstxP.chunk.mjs.map => NcVNodes-CEnA-sSH.chunk.mjs.map} (98%) rename js/{NcVNodes-jdhrstxP.chunk.mjs.map.license => NcVNodes-CEnA-sSH.chunk.mjs.map.license} (100%) rename js/{PhotoSearch-MKFGWE1K.chunk.mjs => PhotoSearch-BZmG9eoc.chunk.mjs} (95%) rename js/{PhotoSearch-MKFGWE1K.chunk.mjs.license => PhotoSearch-BZmG9eoc.chunk.mjs.license} (100%) rename js/{PhotoSearch-MKFGWE1K.chunk.mjs.map => PhotoSearch-BZmG9eoc.chunk.mjs.map} (99%) rename js/{PhotoSearch-MKFGWE1K.chunk.mjs.map.license => PhotoSearch-BZmG9eoc.chunk.mjs.map.license} (100%) rename js/{PhotosFiltersInput-DPt89_KD.chunk.mjs => PhotosFiltersInput-ClKUDRFV.chunk.mjs} (99%) rename js/{PhotosFiltersInput-DPt89_KD.chunk.mjs.license => PhotosFiltersInput-ClKUDRFV.chunk.mjs.license} (100%) rename js/{PhotosFiltersInput-DPt89_KD.chunk.mjs.map => PhotosFiltersInput-ClKUDRFV.chunk.mjs.map} (99%) rename js/{PhotosFiltersInput-DPt89_KD.chunk.mjs.map.license => PhotosFiltersInput-ClKUDRFV.chunk.mjs.map.license} (100%) rename js/{PhotosPicker-CV5D25zd.chunk.mjs => PhotosPicker-BMUQ4xWH.chunk.mjs} (87%) rename js/{PhotosPicker-CV5D25zd.chunk.mjs.license => PhotosPicker-BMUQ4xWH.chunk.mjs.license} (100%) rename js/{PhotosPicker-CV5D25zd.chunk.mjs.map => PhotosPicker-BMUQ4xWH.chunk.mjs.map} (99%) rename js/{PhotosPicker-CV5D25zd.chunk.mjs.map.license => PhotosPicker-BMUQ4xWH.chunk.mjs.map.license} (100%) rename js/{PlaceContent-o-ZiPS_3.chunk.mjs => PlaceContent-DeV3V5JU.chunk.mjs} (64%) rename js/{PlaceContent-o-ZiPS_3.chunk.mjs.license => PlaceContent-DeV3V5JU.chunk.mjs.license} (100%) rename js/{PlaceContent-o-ZiPS_3.chunk.mjs.map => PlaceContent-DeV3V5JU.chunk.mjs.map} (98%) rename js/{PlaceContent-o-ZiPS_3.chunk.mjs.map.license => PlaceContent-DeV3V5JU.chunk.mjs.map.license} (100%) rename js/{PlacesView-BBPGMqzL.chunk.mjs => PlacesView-B79QP9qf.chunk.mjs} (77%) rename js/{PlacesView-BBPGMqzL.chunk.mjs.license => PlacesView-B79QP9qf.chunk.mjs.license} (100%) rename js/{PlacesView-BBPGMqzL.chunk.mjs.map => PlacesView-B79QP9qf.chunk.mjs.map} (98%) rename js/{PlacesView-BBPGMqzL.chunk.mjs.map.license => PlacesView-B79QP9qf.chunk.mjs.map.license} (100%) rename js/{PublicAlbumContent-DNQF_gr_.chunk.mjs => PublicAlbumContent-MUVf0Dmw.chunk.mjs} (98%) rename js/{PublicAlbumContent-DNQF_gr_.chunk.mjs.license => PublicAlbumContent-MUVf0Dmw.chunk.mjs.license} (100%) rename js/{PublicAlbumContent-DNQF_gr_.chunk.mjs.map => PublicAlbumContent-MUVf0Dmw.chunk.mjs.map} (99%) rename js/{PublicAlbumContent-DNQF_gr_.chunk.mjs.map.license => PublicAlbumContent-MUVf0Dmw.chunk.mjs.map.license} (100%) rename js/{ShareType-BdiPlKw3.chunk.mjs => ShareType-CE2LV4Ez.chunk.mjs} (96%) rename js/{ShareType-BdiPlKw3.chunk.mjs.license => ShareType-CE2LV4Ez.chunk.mjs.license} (100%) rename js/{ShareType-BdiPlKw3.chunk.mjs.map => ShareType-CE2LV4Ez.chunk.mjs.map} (99%) rename js/{ShareType-BdiPlKw3.chunk.mjs.map.license => ShareType-CE2LV4Ez.chunk.mjs.map.license} (100%) rename js/{SharedAlbumContent-CGCuxX4q.chunk.mjs => SharedAlbumContent-susUo8ro.chunk.mjs} (78%) rename js/{SharedAlbumContent-CGCuxX4q.chunk.mjs.license => SharedAlbumContent-susUo8ro.chunk.mjs.license} (100%) rename js/{SharedAlbumContent-CGCuxX4q.chunk.mjs.map => SharedAlbumContent-susUo8ro.chunk.mjs.map} (99%) rename js/{SharedAlbumContent-CGCuxX4q.chunk.mjs.map.license => SharedAlbumContent-susUo8ro.chunk.mjs.map.license} (100%) rename js/{SharedAlbums-COsFG79f.chunk.mjs => SharedAlbums-cpvO7pnd.chunk.mjs} (77%) rename js/{SharedAlbums-COsFG79f.chunk.mjs.license => SharedAlbums-cpvO7pnd.chunk.mjs.license} (100%) rename js/{SharedAlbums-COsFG79f.chunk.mjs.map => SharedAlbums-cpvO7pnd.chunk.mjs.map} (98%) rename js/{SharedAlbums-COsFG79f.chunk.mjs.map.license => SharedAlbums-cpvO7pnd.chunk.mjs.map.license} (100%) rename js/{TagContent-Bw2A3Jg5.chunk.mjs => TagContent-NuNiVcsE.chunk.mjs} (74%) rename js/{TagContent-Bw2A3Jg5.chunk.mjs.license => TagContent-NuNiVcsE.chunk.mjs.license} (100%) rename js/{TagContent-Bw2A3Jg5.chunk.mjs.map => TagContent-NuNiVcsE.chunk.mjs.map} (99%) rename js/{TagContent-Bw2A3Jg5.chunk.mjs.map.license => TagContent-NuNiVcsE.chunk.mjs.map.license} (100%) rename js/{TagsView-C-hzbS4l.chunk.mjs => TagsView-NBUBSpqn.chunk.mjs} (92%) rename js/{TagsView-C-hzbS4l.chunk.mjs.license => TagsView-NBUBSpqn.chunk.mjs.license} (100%) rename js/{TagsView-C-hzbS4l.chunk.mjs.map => TagsView-NBUBSpqn.chunk.mjs.map} (99%) rename js/{TagsView-C-hzbS4l.chunk.mjs.map.license => TagsView-NBUBSpqn.chunk.mjs.map.license} (100%) rename js/{TimelineView-CIU2WO1W.chunk.mjs => TimelineView-C5qvl-U1.chunk.mjs} (92%) rename js/{TimelineView-CIU2WO1W.chunk.mjs.license => TimelineView-C5qvl-U1.chunk.mjs.license} (100%) rename js/{TimelineView-CIU2WO1W.chunk.mjs.map => TimelineView-C5qvl-U1.chunk.mjs.map} (99%) rename js/{TimelineView-CIU2WO1W.chunk.mjs.map.license => TimelineView-C5qvl-U1.chunk.mjs.map.license} (100%) rename js/{UnassignedFaces-bBXs5DjJ.chunk.mjs => UnassignedFaces-Ch3Ii-Hj.chunk.mjs} (78%) rename js/{UnassignedFaces-bBXs5DjJ.chunk.mjs.license => UnassignedFaces-Ch3Ii-Hj.chunk.mjs.license} (100%) rename js/{UnassignedFaces-bBXs5DjJ.chunk.mjs.map => UnassignedFaces-Ch3Ii-Hj.chunk.mjs.map} (99%) rename js/{UnassignedFaces-bBXs5DjJ.chunk.mjs.map.license => UnassignedFaces-Ch3Ii-Hj.chunk.mjs.map.license} (100%) rename js/{collectionFetcher-D42nYrM3.chunk.mjs => collectionFetcher-BstAt6tR.chunk.mjs} (95%) rename js/{collectionFetcher-D42nYrM3.chunk.mjs.license => collectionFetcher-BstAt6tR.chunk.mjs.license} (100%) rename js/{collectionFetcher-D42nYrM3.chunk.mjs.map => collectionFetcher-BstAt6tR.chunk.mjs.map} (99%) rename js/{collectionFetcher-D42nYrM3.chunk.mjs.map.license => collectionFetcher-BstAt6tR.chunk.mjs.map.license} (100%) rename js/{fileFetcher-pa1CLJyD.chunk.mjs => fileFetcher-HYHSF2Bi.chunk.mjs} (97%) rename js/{fileFetcher-pa1CLJyD.chunk.mjs.license => fileFetcher-HYHSF2Bi.chunk.mjs.license} (100%) rename js/{fileFetcher-pa1CLJyD.chunk.mjs.map => fileFetcher-HYHSF2Bi.chunk.mjs.map} (99%) rename js/{fileFetcher-pa1CLJyD.chunk.mjs.map.license => fileFetcher-HYHSF2Bi.chunk.mjs.map.license} (100%) rename js/{filters-DfjK8Lqb.chunk.mjs => filters-7dDnbv-s.chunk.mjs} (98%) rename js/{filters-DfjK8Lqb.chunk.mjs.license => filters-7dDnbv-s.chunk.mjs.license} (100%) rename js/{filters-DfjK8Lqb.chunk.mjs.map => filters-7dDnbv-s.chunk.mjs.map} (99%) rename js/{filters-DfjK8Lqb.chunk.mjs.map.license => filters-7dDnbv-s.chunk.mjs.map.license} (100%) delete mode 100644 js/icons-BogBEt5I.chunk.mjs delete mode 100644 js/icons-BogBEt5I.chunk.mjs.map create mode 100644 js/icons-CNMlCj5c.chunk.mjs rename js/{icons-BogBEt5I.chunk.mjs.license => icons-CNMlCj5c.chunk.mjs.license} (94%) create mode 100644 js/icons-CNMlCj5c.chunk.mjs.map rename js/{icons-BogBEt5I.chunk.mjs.map.license => icons-CNMlCj5c.chunk.mjs.map.license} (94%) rename js/{index-CXnC3H5H.chunk.mjs => index-7y3FZjty.chunk.mjs} (99%) rename js/{index-CXnC3H5H.chunk.mjs.license => index-7y3FZjty.chunk.mjs.license} (100%) rename js/{index-CXnC3H5H.chunk.mjs.map => index-7y3FZjty.chunk.mjs.map} (99%) rename js/{index-CXnC3H5H.chunk.mjs.map.license => index-7y3FZjty.chunk.mjs.map.license} (100%) rename js/{index-D6lFrpW2.chunk.mjs => index-C0KOmrEp.chunk.mjs} (99%) rename js/{index-D6lFrpW2.chunk.mjs.license => index-C0KOmrEp.chunk.mjs.license} (100%) rename js/{index-D6lFrpW2.chunk.mjs.map => index-C0KOmrEp.chunk.mjs.map} (99%) rename js/{index-D6lFrpW2.chunk.mjs.map.license => index-C0KOmrEp.chunk.mjs.map.license} (100%) rename js/{index-DiabeboH.chunk.mjs => index-Couj59Xw.chunk.mjs} (99%) rename js/{index-DiabeboH.chunk.mjs.license => index-Couj59Xw.chunk.mjs.license} (100%) rename js/{index-DiabeboH.chunk.mjs.map => index-Couj59Xw.chunk.mjs.map} (99%) rename js/{index-DiabeboH.chunk.mjs.map.license => index-Couj59Xw.chunk.mjs.map.license} (100%) rename js/{index-DIwsugGN.chunk.mjs => index-DsH3tWlI.chunk.mjs} (99%) rename js/{index-DIwsugGN.chunk.mjs.license => index-DsH3tWlI.chunk.mjs.license} (100%) rename js/{index-DIwsugGN.chunk.mjs.map => index-DsH3tWlI.chunk.mjs.map} (99%) rename js/{index-DIwsugGN.chunk.mjs.map.license => index-DsH3tWlI.chunk.mjs.map.license} (100%) rename js/{index-SPoS3_zU-OYpkO8OQ.chunk.mjs => index-SPoS3_zU-Cg1sCnvK.chunk.mjs} (99%) rename js/{index-SPoS3_zU-OYpkO8OQ.chunk.mjs.license => index-SPoS3_zU-Cg1sCnvK.chunk.mjs.license} (100%) rename js/{index-SPoS3_zU-OYpkO8OQ.chunk.mjs.map => index-SPoS3_zU-Cg1sCnvK.chunk.mjs.map} (99%) rename js/{index-SPoS3_zU-OYpkO8OQ.chunk.mjs.map.license => index-SPoS3_zU-Cg1sCnvK.chunk.mjs.map.license} (100%) rename js/{useHotKey-G5b1hqXc.chunk.mjs => useHotKey-BAg2zeCH.chunk.mjs} (91%) rename js/{useHotKey-G5b1hqXc.chunk.mjs.license => useHotKey-BAg2zeCH.chunk.mjs.license} (100%) rename js/{useHotKey-G5b1hqXc.chunk.mjs.map => useHotKey-BAg2zeCH.chunk.mjs.map} (98%) rename js/{useHotKey-G5b1hqXc.chunk.mjs.map.license => useHotKey-BAg2zeCH.chunk.mjs.map.license} (100%) rename js/{useLoadedPhotos-Ci9Quvoc.chunk.mjs => useLoadedPhotos-BQOmEcxV.chunk.mjs} (95%) rename js/{useLoadedPhotos-Ci9Quvoc.chunk.mjs.license => useLoadedPhotos-BQOmEcxV.chunk.mjs.license} (100%) rename js/{useLoadedPhotos-Ci9Quvoc.chunk.mjs.map => useLoadedPhotos-BQOmEcxV.chunk.mjs.map} (99%) rename js/{useLoadedPhotos-Ci9Quvoc.chunk.mjs.map.license => useLoadedPhotos-BQOmEcxV.chunk.mjs.map.license} (100%) diff --git a/js/ActionFavorite-DE-QhM2v.chunk.mjs b/js/ActionFavorite-tobUwJcp.chunk.mjs similarity index 87% rename from js/ActionFavorite-DE-QhM2v.chunk.mjs rename to js/ActionFavorite-tobUwJcp.chunk.mjs index 0b79f7822..017a29f26 100644 --- a/js/ActionFavorite-DE-QhM2v.chunk.mjs +++ b/js/ActionFavorite-tobUwJcp.chunk.mjs @@ -1,2 +1,2 @@ -import{c as o,t as s}from"./dav-KZmxfkna.chunk.mjs";import{N as i}from"./NcAvatar-BbHwxwyd-C4gYxYv1.chunk.mjs";import{S as r,a,n as l}from"./icons-BogBEt5I.chunk.mjs";const c=o({name:"ActionFavorite",components:{Star:a,StarOutline:r,NcActionButton:i},props:{selectedFileIds:{type:Array,required:!0}},computed:{files(){return this.$store.state.files.files},shouldFavoriteSelection(){return this.selectedFileIds.some(t=>this.files[t].attributes.favorite===0)}},methods:{async favoriteSelection(){await this.$store.dispatch("toggleFavoriteForFiles",{fileIds:this.selectedFileIds,favoriteState:1})},async unFavoriteSelection(){await this.$store.dispatch("toggleFavoriteForFiles",{fileIds:this.selectedFileIds,favoriteState:0})},t:s}});var n=function(){var t=this,e=t._self._c;return t._self._setupProxy,t.shouldFavoriteSelection?e("NcActionButton",{attrs:{"close-after-click":!0,"aria-label":t.t("photos","Mark selection as favorite")},on:{click:t.favoriteSelection}},[t._v(" "+t._s(t.t("photos","Add selection to favorites"))+" "),e("StarOutline",{attrs:{slot:"icon"},slot:"icon"})],1):e("NcActionButton",{attrs:{"close-after-click":!0,"aria-label":t.t("photos","Remove selection from favorites")},on:{click:t.unFavoriteSelection}},[t._v(" "+t._s(t.t("photos","Remove selection from favorites"))+" "),e("Star",{attrs:{slot:"icon"},slot:"icon"})],1)},f=[],v=l(c,n,f,!1,null,null);const h=v.exports;export{h as A}; -//# sourceMappingURL=ActionFavorite-DE-QhM2v.chunk.mjs.map +import{c as o,t as s}from"./dav-KZmxfkna.chunk.mjs";import{N as i}from"./NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs";import{S as r,a,n as l}from"./icons-CNMlCj5c.chunk.mjs";const c=o({name:"ActionFavorite",components:{Star:a,StarOutline:r,NcActionButton:i},props:{selectedFileIds:{type:Array,required:!0}},computed:{files(){return this.$store.state.files.files},shouldFavoriteSelection(){return this.selectedFileIds.some(t=>this.files[t].attributes.favorite===0)}},methods:{async favoriteSelection(){await this.$store.dispatch("toggleFavoriteForFiles",{fileIds:this.selectedFileIds,favoriteState:1})},async unFavoriteSelection(){await this.$store.dispatch("toggleFavoriteForFiles",{fileIds:this.selectedFileIds,favoriteState:0})},t:s}});var n=function(){var t=this,e=t._self._c;return t._self._setupProxy,t.shouldFavoriteSelection?e("NcActionButton",{attrs:{"close-after-click":!0,"aria-label":t.t("photos","Mark selection as favorite")},on:{click:t.favoriteSelection}},[t._v(" "+t._s(t.t("photos","Add selection to favorites"))+" "),e("StarOutline",{attrs:{slot:"icon"},slot:"icon"})],1):e("NcActionButton",{attrs:{"close-after-click":!0,"aria-label":t.t("photos","Remove selection from favorites")},on:{click:t.unFavoriteSelection}},[t._v(" "+t._s(t.t("photos","Remove selection from favorites"))+" "),e("Star",{attrs:{slot:"icon"},slot:"icon"})],1)},f=[],v=l(c,n,f,!1,null,null);const h=v.exports;export{h as A}; +//# sourceMappingURL=ActionFavorite-tobUwJcp.chunk.mjs.map diff --git a/js/ActionFavorite-DE-QhM2v.chunk.mjs.license b/js/ActionFavorite-tobUwJcp.chunk.mjs.license similarity index 100% rename from js/ActionFavorite-DE-QhM2v.chunk.mjs.license rename to js/ActionFavorite-tobUwJcp.chunk.mjs.license diff --git a/js/ActionFavorite-DE-QhM2v.chunk.mjs.map b/js/ActionFavorite-tobUwJcp.chunk.mjs.map similarity index 97% rename from js/ActionFavorite-DE-QhM2v.chunk.mjs.map rename to js/ActionFavorite-tobUwJcp.chunk.mjs.map index 8da4e831e..e21b1e5c7 100644 --- a/js/ActionFavorite-DE-QhM2v.chunk.mjs.map +++ b/js/ActionFavorite-tobUwJcp.chunk.mjs.map @@ -1 +1 @@ -{"version":3,"file":"ActionFavorite-DE-QhM2v.chunk.mjs","sources":["../src/components/Actions/ActionFavorite.vue"],"sourcesContent":["\n\n\n\n"],"names":["_sfc_main","defineComponent","Star","StarOutline","NcActionButton","fileId","t"],"mappings":"uKAkCA,MAAAA,EAAAC,EAAA,CACA,KAAA,iBACA,WAAA,CACA,KAAAC,EACA,YAAAC,EACA,eAAAC,CAAA,EAGA,MAAA,CACA,gBAAA,CACA,KAAA,MACA,SAAA,EAAA,CACA,EAGA,SAAA,CACA,OAAA,CACA,OAAA,KAAA,OAAA,MAAA,MAAA,KACA,EAEA,yBAAA,CAEA,OAAA,KAAA,gBAAA,KAAAC,GAAA,KAAA,MAAAA,CAAA,EAAA,WAAA,WAAA,CAAA,CACA,CAAA,EAGA,QAAA,CACA,MAAA,mBAAA,CACA,MAAA,KAAA,OAAA,SAAA,yBAAA,CAAA,QAAA,KAAA,gBAAA,cAAA,EAAA,CACA,EAEA,MAAA,qBAAA,CACA,MAAA,KAAA,OAAA,SAAA,yBAAA,CAAA,QAAA,KAAA,gBAAA,cAAA,EAAA,CACA,EAAA,EAEAC,CAAA,CAEA,CAAA"} \ No newline at end of file +{"version":3,"file":"ActionFavorite-tobUwJcp.chunk.mjs","sources":["../src/components/Actions/ActionFavorite.vue"],"sourcesContent":["\n\n\n\n"],"names":["_sfc_main","defineComponent","Star","StarOutline","NcActionButton","fileId","t"],"mappings":"uKAkCA,MAAAA,EAAAC,EAAA,CACA,KAAA,iBACA,WAAA,CACA,KAAAC,EACA,YAAAC,EACA,eAAAC,CAAA,EAGA,MAAA,CACA,gBAAA,CACA,KAAA,MACA,SAAA,EAAA,CACA,EAGA,SAAA,CACA,OAAA,CACA,OAAA,KAAA,OAAA,MAAA,MAAA,KACA,EAEA,yBAAA,CAEA,OAAA,KAAA,gBAAA,KAAAC,GAAA,KAAA,MAAAA,CAAA,EAAA,WAAA,WAAA,CAAA,CACA,CAAA,EAGA,QAAA,CACA,MAAA,mBAAA,CACA,MAAA,KAAA,OAAA,SAAA,yBAAA,CAAA,QAAA,KAAA,gBAAA,cAAA,EAAA,CACA,EAEA,MAAA,qBAAA,CACA,MAAA,KAAA,OAAA,SAAA,yBAAA,CAAA,QAAA,KAAA,gBAAA,cAAA,EAAA,CACA,EAAA,EAEAC,CAAA,CAEA,CAAA"} \ No newline at end of file diff --git a/js/ActionFavorite-DE-QhM2v.chunk.mjs.map.license b/js/ActionFavorite-tobUwJcp.chunk.mjs.map.license similarity index 100% rename from js/ActionFavorite-DE-QhM2v.chunk.mjs.map.license rename to js/ActionFavorite-tobUwJcp.chunk.mjs.map.license diff --git a/js/AlbumContent-kok9i02g.chunk.mjs b/js/AlbumContent-BdIjWTeX.chunk.mjs similarity index 87% rename from js/AlbumContent-kok9i02g.chunk.mjs rename to js/AlbumContent-BdIjWTeX.chunk.mjs index 3f7df9be2..f2e6fe393 100644 --- a/js/AlbumContent-kok9i02g.chunk.mjs +++ b/js/AlbumContent-BdIjWTeX.chunk.mjs @@ -1,2 +1,2 @@ -import{c as v,m as n,i as _,x as c,y as C,q as A,A as F,t as g,a as N}from"./dav-KZmxfkna.chunk.mjs";import{N as y,l as w,f as P,e as S,h as k}from"./index-DIwsugGN.chunk.mjs";import{c as I,N as M}from"./NcAvatar-BbHwxwyd-C4gYxYv1.chunk.mjs";import{a as E,N as $}from"./FileComponent-47c4Aqj6.chunk.mjs";import{c as B,N as O}from"./PhotosFiltersInput-DPt89_KD.chunk.mjs";import{N as x}from"./NcEmptyContent-B710gjEE.chunk.mjs";import{N as L}from"./NcLoadingIcon-DVJc1V1y.chunk.mjs";import{n as d,o as R,P as V,i as D,M as H,b as U,D as T,C as z}from"./icons-BogBEt5I.chunk.mjs";import{A as X}from"./ActionFavorite-DE-QhM2v.chunk.mjs";import{F as W,C as Y,A as j}from"./AlbumForm-Cg--8ztw.chunk.mjs";import{C as q}from"./CollectionContent-DxSAiUW3.chunk.mjs";import{H as Z}from"./HeaderNavigation-BYegDh0A.chunk.mjs";import{P as G}from"./PhotosPicker-CV5D25zd.chunk.mjs";import{F as J}from"./FetchFilesMixin-BLXLntua.chunk.mjs";import"./index-DVnmVbOx.chunk.mjs";import"./NcCheckboxRadioSwitch-flYu6ojL-DoA4CvaB.chunk.mjs";import"./NcVNodes-jdhrstxP.chunk.mjs";import"./NcUserBubble-1YlD_SE1-Vet5X-fa.chunk.mjs";import"./FetchCollectionsMixin-7Jr6CUsx.chunk.mjs";import"./collectionFetcher-D42nYrM3.chunk.mjs";import"./AbortControllerMixin-CO6m2W1q.chunk.mjs";import"./floating-ui.utils.dom-Ddqhmmdk.chunk.mjs";import"./he-Dydz4uin.chunk.mjs";import"./ShareType-BdiPlKw3.chunk.mjs";import"./FilesSelectionMixin-CAfAZF6N.chunk.mjs";import"./fileFetcher-pa1CLJyD.chunk.mjs";import"./index-SPoS3_zU-OYpkO8OQ.chunk.mjs";import"./NcProgressBar-D7zYeXBH-Cb1aiO_e.chunk.mjs";import"./useHotKey-G5b1hqXc.chunk.mjs";import"./FilesByMonthMixin-l8QyaDra.chunk.mjs";import"./PhotoSearch-MKFGWE1K.chunk.mjs";const K=v({__name:"AlbumHero",props:{coverFileId:{default:-1},blurhash:{default:void 0},title:null,subtitle:{default:""}},setup(t){const o=t,e=60,a=.35,l=1024,b=n(()=>o.coverFileId>0),u=n(()=>_(`/apps/photos/api/v1/preview/${o.coverFileId}?x=${l}&y=${l}`)),m=c(!1),h=c(!1);C(u,()=>{m.value=!1,h.value=!1});const r=c(0),p=n(()=>({height:`calc(100% + ${e}px)`,transform:`translateY(${r.value}px)`})),s=document.getElementById("app-content-vue")??window;A(()=>{s.addEventListener("scroll",i,{passive:!0}),i()}),F(()=>s.removeEventListener("scroll",i));function i(){const f=s instanceof Window?s.scrollY:s.scrollTop;r.value=Math.min(e,f*a)}return{__sfc:!0,props:o,MAX_PARALLAX_OFFSET:e,PARALLAX_RATIO:a,COVER_PREVIEW_SIZE:l,hasCover:b,coverUrl:u,coverLoaded:m,coverFailed:h,parallaxOffset:r,coverStyle:p,scroller:s,onScroll:i,NcBlurHash:E}}});var Q=function(){var t=this,o=t._self._c,e=t._self._setupProxy;return e.hasCover?o("header",{staticClass:"album-hero",attrs:{"aria-hidden":"true"}},[o("div",{staticClass:"album-hero__cover",style:e.coverStyle},[t.blurhash!==void 0?o(e.NcBlurHash,{staticClass:"album-hero__layer",attrs:{hash:t.blurhash}}):t._e(),e.coverFailed?t._e():o("img",{key:e.coverUrl,staticClass:"album-hero__layer album-hero__photo",class:{"album-hero__photo--visible":e.coverLoaded},attrs:{src:e.coverUrl,alt:"",decoding:"async",fetchpriority:"high"},on:{load:function(a){e.coverLoaded=!0},error:function(a){e.coverFailed=!0}}})],1),o("div",{staticClass:"album-hero__scrim"}),o("div",{staticClass:"album-hero__content"},[o("div",{staticClass:"album-hero__title"},[t._v(" "+t._s(t.title)+" ")]),t.subtitle!==""?o("div",{staticClass:"album-hero__subtitle"},[t._v(" "+t._s(t.subtitle)+" ")]):t._e()])]):t._e()},tt=[],ot=d(K,Q,tt,!1,null,"868386d8");const et=ot.exports;function at(t,o){const e=t.find(a=>a.fileid===o);return e?.attributes.hasPreview?e:t.filter(a=>a.attributes.hasPreview).reduce((a,l)=>a===void 0||l.attributes.timestamp>a.attributes.timestamp?l:a,void 0)??e}const lt={name:"AlbumContent",components:{ActionFavorite:X,AlbumForm:j,AlbumHero:et,Close:z,CollaboratorsSelectionForm:Y,CollectionContent:q,DeleteOutline:T,PhotosPicker:G,HeaderNavigation:Z,ImagePlusOutline:U,MapMarkerOutline:H,NcActionButton:M,NcActions:I,NcActionSeparator:$,NcButton:y,NcDialog:O,NcEmptyContent:x,NcLoadingIcon:L,NcModal:B,PencilOutline:D,Plus:V,ShareVariantOutline:R},mixins:[W,J],props:{albumName:{type:String,default:"/"}},setup(){return{isMobile:k()}},data(){return{showAddPhotosModal:!1,showManageCollaboratorView:!1,showEditAlbumForm:!1,loadingAddCollaborators:!1}},computed:{album(){return this.$store.getters.getAlbum(this.albumName)},albumFileIds(){return this.$store.getters.getAlbumFiles(this.albumName)},sharingEnabled(){return OC.Share!==void 0},albumFileName(){return this.$store.getters.getAlbumName(this.albumName)},albumPhotos(){return this.albumFileIds.map(t=>this.$store.state.files.files[t]).filter(t=>t!==void 0)},coverPhoto(){return at(this.albumPhotos,this.album?.attributes["last-photo"]??-1)},coverFileId(){return this.coverPhoto?.fileid??this.album?.attributes["last-photo"]??-1},coverBlurhash(){return this.coverPhoto?.attributes["metadata-blurhash"]},albumSubtitle(){return this.album===void 0?"":[this.album.attributes.location,N("photos","%n photo","%n photos",this.album.attributes.nbItems)].filter(t=>t!=="").join(" · ")},removableSelectedFiles(){return(this.$refs.collectionContent?.selectedFileIds).map(t=>this.$store.state.files.files[t]).filter(t=>t.attributes["photos-album-file-origin"]!=="filters").map(t=>t.fileid.toString())}},async mounted(){this.fetchAlbum(),this.fetchAlbumContent()},methods:{async fetchAlbum(){await this.fetchCollection(this.albumFileName,S)},async fetchAlbumContent(){await this.fetchCollectionFiles(this.albumFileName,P)},async handleAlbumUpdate({album:t,changes:o}){this.showEditAlbumForm=!1,o.includes("name")&&await this.$router.push(`/albums/${t.basename}`),o.includes("filters")&&this.fetchAlbumContent()},async handleFilesPicked(t){this.showAddPhotosModal=!1,await this.$store.dispatch("addFilesToCollection",{collectionFileName:this.album?.root+this.album?.path,fileIdsToAdd:t}),await this.fetchAlbumContent()},async handleRemoveFilesFromAlbum(t){this.$refs.collectionContent?.onUncheckFiles(t),await this.$store.dispatch("removeFilesFromCollection",{collectionFileName:this.album?.root+this.album?.path,fileIdsToRemove:t})},async handleDeleteAlbum(){await this.$store.dispatch("deleteCollection",{collectionFileName:this.album?.root+this.album?.path})&&this.$router.push("/albums")},async handleSetCollaborators(t){try{this.loadingAddCollaborators=!0,this.showManageCollaboratorView=!1,await this.$store.dispatch("updateCollection",{collectionFileName:this.album?.root+this.album?.path,properties:{collaborators:t}})}catch(o){w.error("Error while setting album collaborators",{error:o})}finally{this.loadingAddCollaborators=!1}},async handleFiltersChange(t){await this.$store.dispatch("updateCollection",{collectionFileName:this.album?.root+this.album?.path,properties:{filters:t}}),this.fetchAlbumContent()},t:g}};var st=function(){var t=this,o=t._self._c;return o("div",{staticClass:"album-container"},[t.album!==void 0?o("AlbumHero",{attrs:{"cover-file-id":t.coverFileId,blurhash:t.coverBlurhash,title:t.albumName,subtitle:t.albumSubtitle}}):t._e(),o("CollectionContent",{ref:"collectionContent",attrs:{collection:t.album,"collection-file-ids":t.albumFileIds,loading:t.loadingCollection||t.loadingCollectionFiles,error:t.errorFetchingCollection||t.errorFetchingCollectionFiles},scopedSlots:t._u([{key:"header",fn:function({selectedFileIds:e,resetSelection:a}){return o("HeaderNavigation",{key:"navigation",attrs:{loading:t.loadingCollectionFiles,params:{albumName:t.albumName},path:"/"+t.albumName,title:t.albumName},on:{refresh:t.fetchAlbumContent}},[t.album!==void 0&&t.album.attributes.location!==""?o("div",{staticClass:"album__location",attrs:{slot:"subtitle"},slot:"subtitle"},[o("MapMarkerOutline"),t._v(t._s(t.album.attributes.location)+" ")],1):t._e(),o("template",{slot:"default"},[e.length>0?o("NcButton",{attrs:{"aria-label":t.t("photos","Unselect all")},on:{click:a},scopedSlots:t._u([{key:"icon",fn:function(){return[o("Close")]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.t("photos","Unselect all"))+" ")]):t._e()],1),t.album!==void 0?o("template",{slot:"right"},[o("NcButton",{on:{click:function(l){t.showAddPhotosModal=!0}},scopedSlots:t._u([{key:"icon",fn:function(){return[o("Plus",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.t("photos","Add photos to this album"))+" ")]),t.sharingEnabled?o("NcButton",{attrs:{variant:"tertiary","aria-label":t.t("photos","Manage collaborators for this album")},on:{click:function(l){t.showManageCollaboratorView=!0}}},[o("ShareVariantOutline",{attrs:{slot:"icon"},slot:"icon"})],1):t._e(),o("NcActions",{attrs:{"aria-label":t.t("photos","Open actions menu")}},[o("NcActionButton",{attrs:{"close-after-click":!0,"aria-label":t.t("photos","Edit album details")},on:{click:function(l){t.showEditAlbumForm=!0}}},[t._v(" "+t._s(t.t("photos","Edit album details"))+" "),o("PencilOutline",{attrs:{slot:"icon"},slot:"icon"})],1),o("NcActionButton",{attrs:{"close-after-click":!0},on:{click:t.handleDeleteAlbum}},[t._v(" "+t._s(t.t("photos","Delete album"))+" "),o("DeleteOutline",{attrs:{slot:"icon"},slot:"icon"})],1),e.length>0?[o("NcActionSeparator"),o("ActionFavorite",{attrs:{"selected-file-ids":e}}),t.removableSelectedFiles.length!==0?o("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(l){return t.handleRemoveFilesFromAlbum(t.removableSelectedFiles)}}},[t._v(" "+t._s(t.t("photos","Remove selection from album"))+" "),o("Close",{attrs:{slot:"icon"},slot:"icon"})],1):t._e()]:t._e()],2)],1):t._e()],2)}}])},[t.album!==void 0&&t.album.attributes.nbItems===0&&!(t.loadingCollectionFiles||t.loadingCollection)?o("NcEmptyContent",{staticClass:"album__empty",attrs:{slot:"empty-content",name:t.t("photos","This album does not have any photos or videos yet!")},slot:"empty-content"},[o("ImagePlusOutline",{attrs:{slot:"icon"},slot:"icon"}),o("NcButton",{staticClass:"album__empty__button",attrs:{slot:"action",variant:"primary","aria-label":t.t("photos","Add photos to this album")},on:{click:function(e){t.showAddPhotosModal=!0}},slot:"action"},[o("Plus",{attrs:{slot:"icon"},slot:"icon"}),t._v(" "+t._s(t.t("photos","Add"))+" ")],1)],1):t._e()],1),t.album!==void 0?o("PhotosPicker",{attrs:{open:t.showAddPhotosModal,"blacklist-ids":t.albumFileIds,destination:t.album.basename,name:t.t("photos","Add photos to {albumName}",{albumName:t.albumName},void 0,{escape:!1,sanitize:!1})},on:{"update:open":function(e){t.showAddPhotosModal=e},"files-picked":t.handleFilesPicked}}):t._e(),t.showManageCollaboratorView&&t.album!==void 0?o("NcModal",{attrs:{name:t.t("photos","Manage collaborators")},on:{close:function(e){t.showManageCollaboratorView=!1}}},[o("CollaboratorsSelectionForm",{attrs:{"album-name":t.album.basename,collaborators:t.album.attributes.collaborators},scopedSlots:t._u([{key:"default",fn:function({collaborators:e}){return[o("NcButton",{attrs:{"aria-label":t.t("photos","Save collaborators for this album."),variant:"primary",disabled:t.loadingAddCollaborators},on:{click:function(a){return t.handleSetCollaborators(e)}},scopedSlots:t._u([{key:"icon",fn:function(){return[t.loadingAddCollaborators?o("NcLoadingIcon"):t._e()]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.t("photos","Save"))+" ")])]}}],null,!1,2061546483)})],1):t._e(),t.showEditAlbumForm?o("NcDialog",{attrs:{name:t.t("photos","Edit album details"),"close-on-click-outside":"",size:"normal"},on:{closing:function(e){t.showEditAlbumForm=!1}}},[o("AlbumForm",{attrs:{album:t.album},on:{done:e=>t.handleAlbumUpdate(e)}})],1):t._e()],1)},it=[],rt=d(lt,st,it,!1,null,"dd86895f");const Dt=rt.exports;export{Dt as default}; -//# sourceMappingURL=AlbumContent-kok9i02g.chunk.mjs.map +import{c as v,m as n,i as _,x as c,y as C,q as A,A as F,t as g,a as N}from"./dav-KZmxfkna.chunk.mjs";import{N as y,l as w,f as P,e as S,h as k}from"./index-DsH3tWlI.chunk.mjs";import{c as I,N as M}from"./NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs";import{a as E,N as $}from"./FileComponent-CvGcLA2E.chunk.mjs";import{c as B,N as O}from"./PhotosFiltersInput-ClKUDRFV.chunk.mjs";import{N as x}from"./NcEmptyContent-BjCIw6kE.chunk.mjs";import{N as L}from"./NcLoadingIcon-D4y8aRIn.chunk.mjs";import{n as d,o as R,P as V,i as D,M as H,b as U,D as T,C as z}from"./icons-CNMlCj5c.chunk.mjs";import{A as X}from"./ActionFavorite-tobUwJcp.chunk.mjs";import{F as W,C as Y,A as j}from"./AlbumForm-BmFTVkx_.chunk.mjs";import{C as q}from"./CollectionContent-DFYcE5op.chunk.mjs";import{H as Z}from"./HeaderNavigation-DAskPBby.chunk.mjs";import{P as G}from"./PhotosPicker-BMUQ4xWH.chunk.mjs";import{F as J}from"./FetchFilesMixin-CmkBaHcw.chunk.mjs";import"./index-DVnmVbOx.chunk.mjs";import"./NcCheckboxRadioSwitch-flYu6ojL-BH7m7wKb.chunk.mjs";import"./NcVNodes-CEnA-sSH.chunk.mjs";import"./NcUserBubble-1YlD_SE1-BbeFKQ-G.chunk.mjs";import"./FetchCollectionsMixin-c42bb6uZ.chunk.mjs";import"./collectionFetcher-BstAt6tR.chunk.mjs";import"./AbortControllerMixin-CO6m2W1q.chunk.mjs";import"./floating-ui.utils.dom-Ddqhmmdk.chunk.mjs";import"./he-Dydz4uin.chunk.mjs";import"./ShareType-CE2LV4Ez.chunk.mjs";import"./FilesSelectionMixin-CWKWQ5RH.chunk.mjs";import"./fileFetcher-HYHSF2Bi.chunk.mjs";import"./index-SPoS3_zU-Cg1sCnvK.chunk.mjs";import"./NcProgressBar-D7zYeXBH-Brhxe8vF.chunk.mjs";import"./useHotKey-BAg2zeCH.chunk.mjs";import"./FilesByMonthMixin-l8QyaDra.chunk.mjs";import"./PhotoSearch-BZmG9eoc.chunk.mjs";const K=v({__name:"AlbumHero",props:{coverFileId:{default:-1},blurhash:{default:void 0},title:null,subtitle:{default:""}},setup(t){const o=t,e=60,a=.35,l=1024,b=n(()=>o.coverFileId>0),u=n(()=>_(`/apps/photos/api/v1/preview/${o.coverFileId}?x=${l}&y=${l}`)),m=c(!1),h=c(!1);C(u,()=>{m.value=!1,h.value=!1});const r=c(0),p=n(()=>({height:`calc(100% + ${e}px)`,transform:`translateY(${r.value}px)`})),s=document.getElementById("app-content-vue")??window;A(()=>{s.addEventListener("scroll",i,{passive:!0}),i()}),F(()=>s.removeEventListener("scroll",i));function i(){const f=s instanceof Window?s.scrollY:s.scrollTop;r.value=Math.min(e,f*a)}return{__sfc:!0,props:o,MAX_PARALLAX_OFFSET:e,PARALLAX_RATIO:a,COVER_PREVIEW_SIZE:l,hasCover:b,coverUrl:u,coverLoaded:m,coverFailed:h,parallaxOffset:r,coverStyle:p,scroller:s,onScroll:i,NcBlurHash:E}}});var Q=function(){var t=this,o=t._self._c,e=t._self._setupProxy;return e.hasCover?o("header",{staticClass:"album-hero",attrs:{"aria-hidden":"true"}},[o("div",{staticClass:"album-hero__cover",style:e.coverStyle},[t.blurhash!==void 0?o(e.NcBlurHash,{staticClass:"album-hero__layer",attrs:{hash:t.blurhash}}):t._e(),e.coverFailed?t._e():o("img",{key:e.coverUrl,staticClass:"album-hero__layer album-hero__photo",class:{"album-hero__photo--visible":e.coverLoaded},attrs:{src:e.coverUrl,alt:"",decoding:"async",fetchpriority:"high"},on:{load:function(a){e.coverLoaded=!0},error:function(a){e.coverFailed=!0}}})],1),o("div",{staticClass:"album-hero__scrim"}),o("div",{staticClass:"album-hero__content"},[o("div",{staticClass:"album-hero__title"},[t._v(" "+t._s(t.title)+" ")]),t.subtitle!==""?o("div",{staticClass:"album-hero__subtitle"},[t._v(" "+t._s(t.subtitle)+" ")]):t._e()])]):t._e()},tt=[],ot=d(K,Q,tt,!1,null,"868386d8");const et=ot.exports;function at(t,o){const e=t.find(a=>a.fileid===o);return e?.attributes.hasPreview?e:t.filter(a=>a.attributes.hasPreview).reduce((a,l)=>a===void 0||l.attributes.timestamp>a.attributes.timestamp?l:a,void 0)??e}const lt={name:"AlbumContent",components:{ActionFavorite:X,AlbumForm:j,AlbumHero:et,Close:z,CollaboratorsSelectionForm:Y,CollectionContent:q,DeleteOutline:T,PhotosPicker:G,HeaderNavigation:Z,ImagePlusOutline:U,MapMarkerOutline:H,NcActionButton:M,NcActions:I,NcActionSeparator:$,NcButton:y,NcDialog:O,NcEmptyContent:x,NcLoadingIcon:L,NcModal:B,PencilOutline:D,Plus:V,ShareVariantOutline:R},mixins:[W,J],props:{albumName:{type:String,default:"/"}},setup(){return{isMobile:k()}},data(){return{showAddPhotosModal:!1,showManageCollaboratorView:!1,showEditAlbumForm:!1,loadingAddCollaborators:!1}},computed:{album(){return this.$store.getters.getAlbum(this.albumName)},albumFileIds(){return this.$store.getters.getAlbumFiles(this.albumName)},sharingEnabled(){return OC.Share!==void 0},albumFileName(){return this.$store.getters.getAlbumName(this.albumName)},albumPhotos(){return this.albumFileIds.map(t=>this.$store.state.files.files[t]).filter(t=>t!==void 0)},coverPhoto(){return at(this.albumPhotos,this.album?.attributes["last-photo"]??-1)},coverFileId(){return this.coverPhoto?.fileid??this.album?.attributes["last-photo"]??-1},coverBlurhash(){return this.coverPhoto?.attributes["metadata-blurhash"]},albumSubtitle(){return this.album===void 0?"":[this.album.attributes.location,N("photos","%n photo","%n photos",this.album.attributes.nbItems)].filter(t=>t!=="").join(" · ")},removableSelectedFiles(){return(this.$refs.collectionContent?.selectedFileIds).map(t=>this.$store.state.files.files[t]).filter(t=>t.attributes["photos-album-file-origin"]!=="filters").map(t=>t.fileid.toString())}},async mounted(){this.fetchAlbum(),this.fetchAlbumContent()},methods:{async fetchAlbum(){await this.fetchCollection(this.albumFileName,S)},async fetchAlbumContent(){await this.fetchCollectionFiles(this.albumFileName,P)},async handleAlbumUpdate({album:t,changes:o}){this.showEditAlbumForm=!1,o.includes("name")&&await this.$router.push(`/albums/${t.basename}`),o.includes("filters")&&this.fetchAlbumContent()},async handleFilesPicked(t){this.showAddPhotosModal=!1,await this.$store.dispatch("addFilesToCollection",{collectionFileName:this.album?.root+this.album?.path,fileIdsToAdd:t}),await this.fetchAlbumContent()},async handleRemoveFilesFromAlbum(t){this.$refs.collectionContent?.onUncheckFiles(t),await this.$store.dispatch("removeFilesFromCollection",{collectionFileName:this.album?.root+this.album?.path,fileIdsToRemove:t})},async handleDeleteAlbum(){await this.$store.dispatch("deleteCollection",{collectionFileName:this.album?.root+this.album?.path})&&this.$router.push("/albums")},async handleSetCollaborators(t){try{this.loadingAddCollaborators=!0,this.showManageCollaboratorView=!1,await this.$store.dispatch("updateCollection",{collectionFileName:this.album?.root+this.album?.path,properties:{collaborators:t}})}catch(o){w.error("Error while setting album collaborators",{error:o})}finally{this.loadingAddCollaborators=!1}},async handleFiltersChange(t){await this.$store.dispatch("updateCollection",{collectionFileName:this.album?.root+this.album?.path,properties:{filters:t}}),this.fetchAlbumContent()},t:g}};var st=function(){var t=this,o=t._self._c;return o("div",{staticClass:"album-container"},[t.album!==void 0?o("AlbumHero",{attrs:{"cover-file-id":t.coverFileId,blurhash:t.coverBlurhash,title:t.albumName,subtitle:t.albumSubtitle}}):t._e(),o("CollectionContent",{ref:"collectionContent",attrs:{collection:t.album,"collection-file-ids":t.albumFileIds,loading:t.loadingCollection||t.loadingCollectionFiles,error:t.errorFetchingCollection||t.errorFetchingCollectionFiles},scopedSlots:t._u([{key:"header",fn:function({selectedFileIds:e,resetSelection:a}){return o("HeaderNavigation",{key:"navigation",attrs:{loading:t.loadingCollectionFiles,params:{albumName:t.albumName},path:"/"+t.albumName,title:t.albumName},on:{refresh:t.fetchAlbumContent}},[t.album!==void 0&&t.album.attributes.location!==""?o("div",{staticClass:"album__location",attrs:{slot:"subtitle"},slot:"subtitle"},[o("MapMarkerOutline"),t._v(t._s(t.album.attributes.location)+" ")],1):t._e(),o("template",{slot:"default"},[e.length>0?o("NcButton",{attrs:{"aria-label":t.t("photos","Unselect all")},on:{click:a},scopedSlots:t._u([{key:"icon",fn:function(){return[o("Close")]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.t("photos","Unselect all"))+" ")]):t._e()],1),t.album!==void 0?o("template",{slot:"right"},[o("NcButton",{on:{click:function(l){t.showAddPhotosModal=!0}},scopedSlots:t._u([{key:"icon",fn:function(){return[o("Plus",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.t("photos","Add photos to this album"))+" ")]),t.sharingEnabled?o("NcButton",{attrs:{variant:"tertiary","aria-label":t.t("photos","Manage collaborators for this album")},on:{click:function(l){t.showManageCollaboratorView=!0}}},[o("ShareVariantOutline",{attrs:{slot:"icon"},slot:"icon"})],1):t._e(),o("NcActions",{attrs:{"aria-label":t.t("photos","Open actions menu")}},[o("NcActionButton",{attrs:{"close-after-click":!0,"aria-label":t.t("photos","Edit album details")},on:{click:function(l){t.showEditAlbumForm=!0}}},[t._v(" "+t._s(t.t("photos","Edit album details"))+" "),o("PencilOutline",{attrs:{slot:"icon"},slot:"icon"})],1),o("NcActionButton",{attrs:{"close-after-click":!0},on:{click:t.handleDeleteAlbum}},[t._v(" "+t._s(t.t("photos","Delete album"))+" "),o("DeleteOutline",{attrs:{slot:"icon"},slot:"icon"})],1),e.length>0?[o("NcActionSeparator"),o("ActionFavorite",{attrs:{"selected-file-ids":e}}),t.removableSelectedFiles.length!==0?o("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(l){return t.handleRemoveFilesFromAlbum(t.removableSelectedFiles)}}},[t._v(" "+t._s(t.t("photos","Remove selection from album"))+" "),o("Close",{attrs:{slot:"icon"},slot:"icon"})],1):t._e()]:t._e()],2)],1):t._e()],2)}}])},[t.album!==void 0&&t.album.attributes.nbItems===0&&!(t.loadingCollectionFiles||t.loadingCollection)?o("NcEmptyContent",{staticClass:"album__empty",attrs:{slot:"empty-content",name:t.t("photos","This album does not have any photos or videos yet!")},slot:"empty-content"},[o("ImagePlusOutline",{attrs:{slot:"icon"},slot:"icon"}),o("NcButton",{staticClass:"album__empty__button",attrs:{slot:"action",variant:"primary","aria-label":t.t("photos","Add photos to this album")},on:{click:function(e){t.showAddPhotosModal=!0}},slot:"action"},[o("Plus",{attrs:{slot:"icon"},slot:"icon"}),t._v(" "+t._s(t.t("photos","Add"))+" ")],1)],1):t._e()],1),t.album!==void 0?o("PhotosPicker",{attrs:{open:t.showAddPhotosModal,"blacklist-ids":t.albumFileIds,destination:t.album.basename,name:t.t("photos","Add photos to {albumName}",{albumName:t.albumName},void 0,{escape:!1,sanitize:!1})},on:{"update:open":function(e){t.showAddPhotosModal=e},"files-picked":t.handleFilesPicked}}):t._e(),t.showManageCollaboratorView&&t.album!==void 0?o("NcModal",{attrs:{name:t.t("photos","Manage collaborators")},on:{close:function(e){t.showManageCollaboratorView=!1}}},[o("CollaboratorsSelectionForm",{attrs:{"album-name":t.album.basename,collaborators:t.album.attributes.collaborators},scopedSlots:t._u([{key:"default",fn:function({collaborators:e}){return[o("NcButton",{attrs:{"aria-label":t.t("photos","Save collaborators for this album."),variant:"primary",disabled:t.loadingAddCollaborators},on:{click:function(a){return t.handleSetCollaborators(e)}},scopedSlots:t._u([{key:"icon",fn:function(){return[t.loadingAddCollaborators?o("NcLoadingIcon"):t._e()]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.t("photos","Save"))+" ")])]}}],null,!1,2061546483)})],1):t._e(),t.showEditAlbumForm?o("NcDialog",{attrs:{name:t.t("photos","Edit album details"),"close-on-click-outside":"",size:"normal"},on:{closing:function(e){t.showEditAlbumForm=!1}}},[o("AlbumForm",{attrs:{album:t.album},on:{done:e=>t.handleAlbumUpdate(e)}})],1):t._e()],1)},it=[],rt=d(lt,st,it,!1,null,"dd86895f");const Dt=rt.exports;export{Dt as default}; +//# sourceMappingURL=AlbumContent-BdIjWTeX.chunk.mjs.map diff --git a/js/AlbumContent-kok9i02g.chunk.mjs.license b/js/AlbumContent-BdIjWTeX.chunk.mjs.license similarity index 100% rename from js/AlbumContent-kok9i02g.chunk.mjs.license rename to js/AlbumContent-BdIjWTeX.chunk.mjs.license diff --git a/js/AlbumContent-kok9i02g.chunk.mjs.map b/js/AlbumContent-BdIjWTeX.chunk.mjs.map similarity index 99% rename from js/AlbumContent-kok9i02g.chunk.mjs.map rename to js/AlbumContent-BdIjWTeX.chunk.mjs.map index 81c58cc20..9ae147f04 100644 --- a/js/AlbumContent-kok9i02g.chunk.mjs.map +++ b/js/AlbumContent-BdIjWTeX.chunk.mjs.map @@ -1 +1 @@ -{"version":3,"file":"AlbumContent-kok9i02g.chunk.mjs","sources":["../src/components/AlbumHero.vue","../src/utils/albumCover.ts","../src/views/AlbumContent.vue"],"sourcesContent":["\n\n\n\n\n\n\n","/**\n * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { PhotoFile } from '../store/files.ts'\n\n/**\n * Pick the photo to show as the cover of an album.\n *\n * The album points at the photo added last, which is not necessarily one a\n * preview can be built for - and a cover without a preview leaves an empty\n * tile. The most recent photo with a preview is used instead in that case,\n * falling back to the photo the album points at when none of them has one.\n *\n * @param files - Photos of the album\n * @param coverFileId - File id the album points at, `-1` when it has no photo\n */\nexport function pickAlbumCover(files: PhotoFile[], coverFileId: number): PhotoFile | undefined {\n\tconst cover = files.find((file) => file.fileid === coverFileId)\n\tif (cover?.attributes.hasPreview) {\n\t\treturn cover\n\t}\n\n\tconst mostRecentWithPreview = files\n\t\t.filter((file) => file.attributes.hasPreview)\n\t\t.reduce(\n\t\t\t(newest, file) => newest === undefined || file.attributes.timestamp > newest.attributes.timestamp ? file : newest,\n\t\t\tundefined,\n\t\t)\n\n\treturn mostRecentWithPreview ?? cover\n}\n","\n\n\n\n\n\n"],"names":["MAX_PARALLAX_OFFSET","PARALLAX_RATIO","COVER_PREVIEW_SIZE","hasCover","computed","props","coverUrl","generateUrl","coverLoaded","ref","coverFailed","watch","parallaxOffset","coverStyle","scroller","onMounted","onScroll","onBeforeUnmount","scrollTop","pickAlbumCover","files","coverFileId","cover","file","newest","_sfc_main","ActionFavorite","AlbumForm","AlbumHero","Close","CollaboratorsSelectionForm","CollectionContent","DeleteOutline","PhotosPicker","HeaderNavigation","ImagePlusOutline","MapMarkerOutline","NcActionButton","NcActions","NcActionSeparator","NcButton","NcDialog","NcEmptyContent","NcLoadingIcon","NcModal","PencilOutline","Plus","ShareVariantOutline","FetchCollectionContentMixin","FetchFilesMixin","useIsMobile","fileId","translatePlural","part","albumsExtraProps","albumFilesExtraProps","album","changes","fileIds","collaborators","error","logger","filters","translate"],"mappings":"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"} \ No newline at end of file +{"version":3,"file":"AlbumContent-BdIjWTeX.chunk.mjs","sources":["../src/components/AlbumHero.vue","../src/utils/albumCover.ts","../src/views/AlbumContent.vue"],"sourcesContent":["\n\n\n\n\n\n\n","/**\n * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { PhotoFile } from '../store/files.ts'\n\n/**\n * Pick the photo to show as the cover of an album.\n *\n * The album points at the photo added last, which is not necessarily one a\n * preview can be built for - and a cover without a preview leaves an empty\n * tile. The most recent photo with a preview is used instead in that case,\n * falling back to the photo the album points at when none of them has one.\n *\n * @param files - Photos of the album\n * @param coverFileId - File id the album points at, `-1` when it has no photo\n */\nexport function pickAlbumCover(files: PhotoFile[], coverFileId: number): PhotoFile | undefined {\n\tconst cover = files.find((file) => file.fileid === coverFileId)\n\tif (cover?.attributes.hasPreview) {\n\t\treturn cover\n\t}\n\n\tconst mostRecentWithPreview = files\n\t\t.filter((file) => file.attributes.hasPreview)\n\t\t.reduce(\n\t\t\t(newest, file) => newest === undefined || file.attributes.timestamp > newest.attributes.timestamp ? file : newest,\n\t\t\tundefined,\n\t\t)\n\n\treturn mostRecentWithPreview ?? cover\n}\n","\n\n\n\n\n\n"],"names":["MAX_PARALLAX_OFFSET","PARALLAX_RATIO","COVER_PREVIEW_SIZE","hasCover","computed","props","coverUrl","generateUrl","coverLoaded","ref","coverFailed","watch","parallaxOffset","coverStyle","scroller","onMounted","onScroll","onBeforeUnmount","scrollTop","pickAlbumCover","files","coverFileId","cover","file","newest","_sfc_main","ActionFavorite","AlbumForm","AlbumHero","Close","CollaboratorsSelectionForm","CollectionContent","DeleteOutline","PhotosPicker","HeaderNavigation","ImagePlusOutline","MapMarkerOutline","NcActionButton","NcActions","NcActionSeparator","NcButton","NcDialog","NcEmptyContent","NcLoadingIcon","NcModal","PencilOutline","Plus","ShareVariantOutline","FetchCollectionContentMixin","FetchFilesMixin","useIsMobile","fileId","translatePlural","part","albumsExtraProps","albumFilesExtraProps","album","changes","fileIds","collaborators","error","logger","filters","translate"],"mappings":"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"} \ No newline at end of file diff --git a/js/AlbumContent-kok9i02g.chunk.mjs.map.license b/js/AlbumContent-BdIjWTeX.chunk.mjs.map.license similarity index 100% rename from js/AlbumContent-kok9i02g.chunk.mjs.map.license rename to js/AlbumContent-BdIjWTeX.chunk.mjs.map.license diff --git a/js/AlbumForm-Cg--8ztw.chunk.mjs b/js/AlbumForm-BmFTVkx_.chunk.mjs similarity index 97% rename from js/AlbumForm-Cg--8ztw.chunk.mjs rename to js/AlbumForm-BmFTVkx_.chunk.mjs index 0d8229e3b..9261f4189 100644 --- a/js/AlbumForm-Cg--8ztw.chunk.mjs +++ b/js/AlbumForm-BmFTVkx_.chunk.mjs @@ -1,2 +1,2 @@ -import{S as o,v as S,I as _,a as d}from"./ShareType-BdiPlKw3.chunk.mjs";import{c as y,x as w,y as $,t as s,E as x,i as B,k as A,b as I,g as M}from"./dav-KZmxfkna.chunk.mjs";import{n as P,q as n,r as V,D as O,E,F as U,s as c,l as u,S as z,N as g,e as T,z as q,m as K,c as f}from"./index-DIwsugGN.chunk.mjs";import{N as R}from"./NcLoadingIcon-DVJc1V1y.chunk.mjs";import{d as D,e as j,P as G,f as H,b as Y,g as J}from"./PhotosFiltersInput-DPt89_KD.chunk.mjs";import{E as W,s as Z,t as Q,C as X,n as k,g as tt,u as et,M as at}from"./icons-BogBEt5I.chunk.mjs";import{G as lt}from"./NcAvatar-BbHwxwyd-C4gYxYv1.chunk.mjs";import{a as ot,b as it}from"./collectionFetcher-D42nYrM3.chunk.mjs";import{A as st}from"./AbortControllerMixin-CO6m2W1q.chunk.mjs";const C="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='mdi-account-group-outline'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M12,5A3.5,3.5%200%200,0%208.5,8.5A3.5,3.5%200%200,0%2012,12A3.5,3.5%200%200,0%2015.5,8.5A3.5,3.5%200%200,0%2012,5M12,7A1.5,1.5%200%200,1%2013.5,8.5A1.5,1.5%200%200,1%2012,10A1.5,1.5%200%200,1%2010.5,8.5A1.5,1.5%200%200,1%2012,7M5.5,8A2.5,2.5%200%200,0%203,10.5C3,11.44%203.53,12.25%204.29,12.68C4.65,12.88%205.06,13%205.5,13C5.94,13%206.35,12.88%206.71,12.68C7.08,12.47%207.39,12.17%207.62,11.81C6.89,10.86%206.5,9.7%206.5,8.5C6.5,8.41%206.5,8.31%206.5,8.22C6.2,8.08%205.86,8%205.5,8M18.5,8C18.14,8%2017.8,8.08%2017.5,8.22C17.5,8.31%2017.5,8.41%2017.5,8.5C17.5,9.7%2017.11,10.86%2016.38,11.81C16.5,12%2016.63,12.15%2016.78,12.3C16.94,12.45%2017.1,12.58%2017.29,12.68C17.65,12.88%2018.06,13%2018.5,13C18.94,13%2019.35,12.88%2019.71,12.68C20.47,12.25%2021,11.44%2021,10.5A2.5,2.5%200%200,0%2018.5,8M12,14C9.66,14%205,15.17%205,17.5V19H19V17.5C19,15.17%2014.34,14%2012,14M4.71,14.55C2.78,14.78%200,15.76%200,17.5V19H3V17.07C3,16.06%203.69,15.22%204.71,14.55M19.29,14.55C20.31,15.22%2021,16.06%2021,17.07V19H24V17.5C24,15.76%2021.22,14.78%2019.29,14.55M12,16C13.53,16%2015.24,16.5%2016.23,17H7.77C8.76,16.5%2010.47,16%2012,16Z'%20/%3e%3c/svg%3e";V(E,O);const rt={model:{prop:"modelValue",event:"update:modelValue"}},nt=y({...rt,__name:"NcSelectUsers",props:{ariaLabelClearSelected:{type:String,default:n("Clear selected")},ariaLabelListbox:{type:String,default:n("Options")},ariaLabelDeselectOption:{type:Function,default:t=>n("Deselect {option}",{option:t})},keepOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},filterBy:{type:Function,default:null},inputId:{type:String,default:()=>lt()},inputLabel:{type:String,default:n("Select account")},labelOutside:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},noWrap:{type:Boolean,default:!1},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},required:{type:Boolean,default:!1},modelValue:{type:Object,default:null}},emits:["search","update:modelValue"],setup(t,{emit:e}){const a=t,l=w("");$(l,()=>{e("search",l.value)});const i=Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--default-clickable-area")),r=Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--default-grid-baseline")),h=i-2*r;function N(p,v,b){if(a.filterBy)return a.filterBy;const F=/[^<]*<([^>]+)/,m=b.match(F),L=p.subname?.toLocaleLowerCase()??"";return m&&L.indexOf(m[1].toLocaleLowerCase())>-1||`${v} ${p.subname}`.toLocaleLowerCase().indexOf(b.toLocaleLowerCase())>-1}return{__sfc:!0,props:a,emit:e,search:l,clickableArea:i,gridBaseLine:r,avatarSize:h,localFilterBy:N,NcListItemIcon:j,NcSelect:D}}});var ct=function(){var t=this,e=t._self._c,a=t._self._setupProxy;return e(a.NcSelect,t._b({staticClass:"nc-select-users",attrs:{"filter-by":a.localFilterBy,label:"displayName"},on:{search:function(l){a.search=l},"update:model-value":function(l){return t.$emit("update:modelValue",l)}},scopedSlots:t._u([{key:"option",fn:function(l){return[e(a.NcListItemIcon,t._b({attrs:{"avatar-size":32,name:l.displayName,search:a.search}},"NcListItemIcon",l,!1))]}},{key:"selected-option",fn:function(l){return[e(a.NcListItemIcon,t._b({attrs:{"avatar-size":a.avatarSize,name:l.displayName,"no-margin":"",search:a.search}},"NcListItemIcon",l,!1))]}}])},"NcSelect",t.$props,!1))},ut=[],ht=P(nt,ct,ut,!1,null,"7f7ecbfe");const dt=ht.exports,pt=y({name:"FetchCollectionContentMixin",data(){return{fetchSemaphore:new z(1),loadingCollection:!1,loadingCollectionFiles:!1,errorFetchingCollection:null,errorFetchingCollectionFiles:null}},mixins:[st],methods:{async fetchCollection(t,e,a){if(this.loadingCollection)return null;try{this.loadingCollection=!0,this.errorFetchingCollection=null;const l=await it(t,{signal:this.abortController.signal},e,a);return this.$store.dispatch("addCollections",{collections:[l]}),l}catch(l){if(l.response?.status===404)return this.errorFetchingCollection=404,null;this.errorFetchingCollection=l,u.error("[PublicCollectionContent] Error fetching collection",{error:l}),c(s("photos","Failed to fetch collection."))}finally{this.loadingCollection=!1}return null},async fetchCollectionFiles(t,e=[],a){if(this.loadingCollectionFiles)return[];e=[...e,...U];const l=await this.fetchSemaphore.acquire();try{this.errorFetchingCollectionFiles=null,this.loadingCollectionFiles=!0;const i=await ot(t,{signal:this.abortController.signal},e,a),r=i.map(h=>h.fileid?.toString());return this.$store.dispatch("appendFiles",i),await this.$store.commit("setCollectionFiles",{collectionFileName:t,fileIds:r}),i}catch(i){if(i.response?.status===404)return this.errorFetchingCollectionFiles=404,[];this.errorFetchingCollectionFiles=i,c(s("photos","Failed to fetch collections list.")),u.error("[PublicCollectionContent] Error fetching collection files",{error:i})}finally{this.loadingCollectionFiles=!1,this.fetchSemaphore.release(l)}return[]}}}),bt={name:"CollaboratorsSelectionForm",components:{Close:X,ContentCopy:Q,Check:Z,Earth:W,NcButton:g,NcSelectUsers:dt},mixins:[pt],props:{albumName:{type:String,required:!0},collaborators:{type:Array,default:()=>[]},allowPublicLink:{type:Boolean,default:!0}},data(){return{availableCollaborators:{},selectedCollaboratorsKeys:[],currentSearchResults:[],loadingCollaborators:!1,randomId:Math.random().toString().substring(2,10),searchSequence:0,publicLinkCopied:!1,collaboratorTypes:o,config:{minSearchStringLength:parseInt(OC.config["sharing.minSearchStringLength"],10)||0}}},computed:{searchResults(){return this.currentSearchResults.filter(({id:t})=>t!==A()?.uid).map(t=>({key:`${t.type}:${t.id}`,id:t.id,user:t.id,displayName:t.label,type:t.type===o.User?"user":"group",iconSvg:t.type===o.Group?C:void 0})).filter(({key:t})=>!this.selectedCollaboratorsKeys.includes(t))},selectedCollaborators(){return this.selectedCollaboratorsKeys.map(t=>this.availableCollaborators[t])},selectedUsers:{get(){return this.selectedCollaborators.filter(({type:t})=>t!==o.Link).map(t=>({key:`${t.type}:${t.id}`,id:t.id,user:t.id,displayName:t.label,type:t.type===o.User?"user":"group",iconSvg:t.type===o.Group?C:void 0}))},set(t){this.selectedCollaboratorsKeys=t.map(({key:e})=>e)}},isPublicLinkSelected(){return this.selectedCollaboratorsKeys.includes(`${o.Link}`)},publicLink(){return this.availableCollaborators[o.Link]},publicLinkURL(){return`${window.location.protocol}//${window.location.host}${B(`apps/photos/public/${this.publicLink.id}`)}`},albumFileName(){return this.$store.getters.getAlbumName(this.albumName)}},watch:{collaborators(t){this.populateCollaborators(t)}},mounted(){this.populateCollaborators(this.collaborators)},methods:{async searchCollaborators(t){if(t===void 0||(t=t.trim(),t.length{switch(l.source){case"users":return{id:l.id,label:l.label,type:o.User};case"groups":return{id:l.id,label:l.label,type:o.Group};default:throw new Error(`Invalid collaborator source ${l.source}`)}}),this.availableCollaborators={...this.availableCollaborators,...this.currentSearchResults.reduce(this.indexCollaborators,{})}}catch(a){if(e!==this.searchSequence)return;this.errorFetchingCollaborators=a,u.error(this.t("photos","Failed to fetch collaborators list."),{error:a}),c(this.t("photos","Failed to fetch collaborators list."))}finally{e===this.searchSequence&&(this.loadingCollaborators=!1)}},populateCollaborators(t){const e=t.reduce(this.indexCollaborators,{});this.selectedCollaboratorsKeys=Object.keys(e),this.availableCollaborators={3:{id:"",label:this.t("photos","Public link"),type:o.Link},...this.availableCollaborators,...e}},indexCollaborators(t,e){return{...t,[`${e.type}${e.type===o.Link?"":":"}${e.type===o.Link?"":e.id}`]:e}},async createPublicLinkForAlbum(){this.selectEntity(`${o.Link}`),await this.updateAlbumCollaborators(),await this.fetchCollection(this.albumFileName,T)},async deletePublicLink(){this.unselectEntity(`${o.Link}`),this.availableCollaborators[3]={id:"",label:this.t("photos","Public link"),type:o.Link},this.publicLinkCopied=!1,await this.updateAlbumCollaborators()},async updateAlbumCollaborators(){try{await this.$store.dispatch("updateCollection",{collectionFileName:this.albumFileName,properties:{collaborators:this.selectedCollaborators}})}catch(t){u.error("[PublicAlbumContent] Error updating album",{error:t}),c(this.t("photos","Failed to update album."))}},async copyPublicLink(){await navigator.clipboard.writeText(this.publicLinkURL),this.publicLinkCopied=!0,setTimeout(()=>{this.publicLinkCopied=!1},1e4)},selectEntity(t){this.selectedCollaboratorsKeys.includes(t)||this.selectedCollaboratorsKeys.push(t)},unselectEntity(t){const e=this.selectedCollaboratorsKeys.indexOf(t);e!==-1&&this.selectedCollaboratorsKeys.splice(e,1)},t:s}};var mt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"manage-collaborators"},[e("h2",{staticClass:"manage-collaborators__title"},[t._v(" "+t._s(t.t("photos","Add collaborators"))+" ")]),e("form",{staticClass:"manage-collaborators__form",on:{submit:function(a){a.preventDefault()}}},[e("NcSelectUsers",{attrs:{"input-id":"sharing-search-input","input-label":t.t("photos","Add people or groups who can edit your album"),loading:t.loadingCollaborators,label:"label",filterable:!1,placeholder:t.t("photos","Search people or groups"),"clear-search-on-blur":()=>!1,multiple:!0,"append-to-body":!1,options:t.searchResults},on:{search:t.searchCollaborators,"option:selected":({key:a})=>t.selectEntity(a)},model:{value:t.selectedUsers,callback:function(a){t.selectedUsers=a},expression:"selectedUsers"}},[t._v(" "+t._s(t.t("photos","No recommendations. Start typing."))+" ")])],1),e("div",{staticClass:"actions"},[t.allowPublicLink?e("div",{staticClass:"actions__public-link"},[t.isPublicLinkSelected&&t.publicLink.id!==""?[e("NcButton",{staticClass:"manage-collaborators__public-link-button",attrs:{"aria-label":t.t("photos","Copy the public link"),title:t.publicLinkURL},on:{click:t.copyPublicLink},scopedSlots:t._u([{key:"icon",fn:function(){return[t.publicLinkCopied?e("Check"):e("ContentCopy")]},proxy:!0}],null,!1,845538853)},[t.publicLinkCopied?[t._v(" "+t._s(t.t("photos","Public link copied!"))+" ")]:[t._v(" "+t._s(t.t("photos","Copy public link"))+" ")]],2),e("NcButton",{attrs:{variant:"tertiary","aria-label":t.t("photos","Delete the public link")},on:{click:t.deletePublicLink}},[e("Close",{attrs:{slot:"icon"},slot:"icon"})],1)]:e("NcButton",{staticClass:"manage-collaborators__public-link-button",attrs:{disabled:t.isPublicLinkSelected&&t.publicLink.id==="","aria-label":t.t("photos","Create public link share")},on:{click:t.createPublicLinkForAlbum}},[e("Earth",{attrs:{slot:"icon"},slot:"icon"}),t._v(" "+t._s(t.t("photos","Share via public link"))+" ")],1)],2):t._e(),e("div",{staticClass:"actions__slot"},[t._t("default",null,{collaborators:t.selectedCollaborators})],2)])])},ft=[],Ct=k(bt,mt,ft,!1,null,"beb979f1");const yt=Ct.exports,gt={name:"AlbumForm",components:{MapMarkerOutline:at,AccountMultiplePlusOutline:et,SendOutline:tt,NcButton:g,NcLoadingIcon:R,NcTextField:Y,CollaboratorsSelectionForm:yt,PhotosFiltersInput:H,PhotosFiltersDisplay:G},props:{album:{type:Object,default:null},filtersValue:{type:Object,default:()=>({})},displayBackButton:{type:Boolean,default:!1}},data(){return{showCollaboratorView:!1,albumName:"",albumLocation:"",albumFilters:J.reduce((t,e)=>({...t,[e.id]:[]}),{}),loading:!1}},computed:{editMode(){return this.album!==null},sharingEnabled(){return OC.Share!==void 0},albumFileName(){return this.$store.getters.getAlbumName(this.albumName)},albumNameValidationError(){const t=this.$store.getters.albums[this.albumFileName];if(t!==void 0&&this.album!==t&&!this.loading)return s("files","This name is already in use.");try{S(this.albumName)}catch(e){if(!(e instanceof _))throw e;switch(e.reason){case d.Character:return s("files",'"{char}" is not allowed inside a filename.',{char:e.segment});case d.ReservedName:return;case d.Extension:return;default:return s("files","Invalid filename.")}}},canSubmit(){return this.albumName!==""&&this.albumNameValidationError===void 0&&!this.loading}},mounted(){this.editMode?(this.albumName=this.album?.basename,this.albumLocation=this.album?.attributes.location??"",this.albumFilters={...this.albumFilters,...structuredClone(this.album?.attributes.filters??{})}):this.albumFilters={...this.albumFilters,...structuredClone(this.filtersValue)},this.$nextTick(()=>{this.$refs.nameInput.$el.getElementsByTagName("input")[0].focus()})},methods:{submit(t=[]){this.canSubmit&&(this.editMode?this.handleUpdateAlbum():this.handleCreateAlbum(t))},async handleCreateAlbum(t=[]){try{this.loading=!0;const e=I({basename:this.albumName,filename:f+"/"+this.albumName,lastmod:"",size:0,type:"directory",etag:null,props:{displayname:this.albumName,resourcetype:{},nbItems:0,location:this.albumLocation,"last-photo":-1,date:K().format("MMMM YYYY"),collaborators:t,filters:this.filtersValue,source:M(`dav/${this.albumFileName}`)}},f);let a=await this.$store.dispatch("createCollection",{collection:e});if(a===void 0)return;const l={};this.albumLocation!==""&&(l.location=this.albumLocation),(this.albumLocation!==""||t.length!==0)&&(l.collaborators=t),Object.keys(this.filtersValue).length>0&&(l.filters=this.filtersValue),a=await this.$store.dispatch("updateCollection",{collectionFileName:this.albumFileName,properties:l}),this.$emit("done",{album:a})}finally{this.loading=!1}},async handleUpdateAlbum(){try{this.loading=!0;let t=this.album?.clone();const e=[];if(this.album!==null&&this.album.basename!==this.albumName&&(e.push("name"),t=await this.$store.dispatch("renameCollection",{collectionFileName:this.album.root+this.album.path,newBaseName:this.albumName}),t===this.album))return;this.album!==null&&this.album.attributes.location!==this.albumLocation&&(e.push("location"),t=await this.$store.dispatch("updateCollection",{collectionFileName:t.root+t.path,properties:{location:this.albumLocation}})),this.album!==null&&JSON.stringify(this.album.attributes.filters)!==JSON.stringify(this.albumFilters)&&(e.push("filters"),t=await this.$store.dispatch("updateCollection",{collectionFileName:t.root+t.path,properties:{filters:this.albumFilters}})),this.$emit("done",{album:t,changes:e})}finally{this.loading=!1}},selectFilter(t){this.albumFilters[t.filterId].push(t.value)},deselectFilter(t){const e=this.albumFilters[t.filterId].indexOf(t.value);e!==-1&&this.albumFilters[t.filterId].splice(e,1)},back(){this.$emit("back")},t:s}};var kt=function(){var t=this,e=t._self._c;return t.showCollaboratorView?e("CollaboratorsSelectionForm",{attrs:{"album-name":t.albumName,"allow-public-link":!1},scopedSlots:t._u([{key:"default",fn:function({collaborators:a}){return[e("span",{staticClass:"left-buttons"},[e("NcButton",{attrs:{variant:"tertiary"},on:{click:function(l){t.showCollaboratorView=!1}}},[t._v(" "+t._s(t.t("photos","Back"))+" ")])],1),e("span",{staticClass:"right-buttons"},[e("NcButton",{attrs:{variant:"primary",disabled:!t.canSubmit},on:{click:function(l){return t.submit(a)}},scopedSlots:t._u([{key:"icon",fn:function(){return[t.loading?e("NcLoadingIcon",{attrs:{size:20}}):e("SendOutline",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.editMode?t.t("photos","Save"):t.t("photos","Create album"))+" ")])],1)]}}])}):e("form",{staticClass:"album-form",on:{submit:function(a){return a.preventDefault(),t.submit()}}},[e("div",{staticClass:"form-inputs"},[e("NcTextField",{ref:"nameInput",attrs:{type:"text",name:"name","helper-text":t.albumNameValidationError,error:t.albumNameValidationError!==void 0,required:!0,label:t.t("photos","Name of the album")},model:{value:t.albumName,callback:function(a){t.albumName=typeof a=="string"?a.trim():a},expression:"albumName"}}),e("NcTextField",{attrs:{name:"location",type:"text",label:t.t("photos","Location of the album")},scopedSlots:t._u([{key:"default",fn:function(){return[e("MapMarkerOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,3863723734),model:{value:t.albumLocation,callback:function(a){t.albumLocation=a},expression:"albumLocation"}})],1),e("PhotosFiltersInput",{attrs:{"selected-filters":t.albumFilters},on:{"select-filter":t.selectFilter}}),e("PhotosFiltersDisplay",{attrs:{"selected-filters":t.albumFilters},on:{"deselect-filter":t.deselectFilter}}),e("div",{staticClass:"form-buttons"},[e("span",{staticClass:"left-buttons"},[t.displayBackButton?e("NcButton",{attrs:{variant:"tertiary"},on:{click:t.back}},[t._v(" "+t._s(t.t("photos","Back"))+" ")]):t._e()],1),e("span",{staticClass:"right-buttons"},[t.sharingEnabled&&!t.editMode?e("NcButton",{attrs:{variant:"secondary",disabled:!t.canSubmit},on:{click:function(a){t.showCollaboratorView=!0}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("AccountMultiplePlusOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,1381680579)},[t._v(" "+t._s(t.t("photos","Add collaborators"))+" ")]):t._e(),e("NcButton",{attrs:{variant:"primary",disabled:!t.canSubmit},on:{click:function(a){return t.submit()}},scopedSlots:t._u([{key:"icon",fn:function(){return[t.loading?e("NcLoadingIcon",{attrs:{size:20}}):e("SendOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,2348760288)},[t._v(" "+t._s(t.editMode?t.t("photos","Save"):t.t("photos","Create album"))+" ")])],1)])],1)},Nt=[],vt=k(gt,kt,Nt,!1,null,"546e550b");const It=vt.exports;export{It as A,yt as C,pt as F}; -//# sourceMappingURL=AlbumForm-Cg--8ztw.chunk.mjs.map +import{S as o,v as S,I as _,a as d}from"./ShareType-CE2LV4Ez.chunk.mjs";import{c as y,x as w,y as $,t as s,E as x,i as B,k as A,b as I,g as M}from"./dav-KZmxfkna.chunk.mjs";import{n as P,q as n,r as V,D as O,E,F as U,s as c,l as u,S as z,N as g,e as T,z as q,m as K,c as f}from"./index-DsH3tWlI.chunk.mjs";import{N as R}from"./NcLoadingIcon-D4y8aRIn.chunk.mjs";import{d as D,e as j,P as G,f as H,b as Y,g as J}from"./PhotosFiltersInput-ClKUDRFV.chunk.mjs";import{E as W,s as Z,t as Q,C as X,n as k,g as tt,u as et,M as at}from"./icons-CNMlCj5c.chunk.mjs";import{G as lt}from"./NcAvatar-BbHwxwyd-O5gDqSD4.chunk.mjs";import{a as ot,b as it}from"./collectionFetcher-BstAt6tR.chunk.mjs";import{A as st}from"./AbortControllerMixin-CO6m2W1q.chunk.mjs";const C="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='mdi-account-group-outline'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M12,5A3.5,3.5%200%200,0%208.5,8.5A3.5,3.5%200%200,0%2012,12A3.5,3.5%200%200,0%2015.5,8.5A3.5,3.5%200%200,0%2012,5M12,7A1.5,1.5%200%200,1%2013.5,8.5A1.5,1.5%200%200,1%2012,10A1.5,1.5%200%200,1%2010.5,8.5A1.5,1.5%200%200,1%2012,7M5.5,8A2.5,2.5%200%200,0%203,10.5C3,11.44%203.53,12.25%204.29,12.68C4.65,12.88%205.06,13%205.5,13C5.94,13%206.35,12.88%206.71,12.68C7.08,12.47%207.39,12.17%207.62,11.81C6.89,10.86%206.5,9.7%206.5,8.5C6.5,8.41%206.5,8.31%206.5,8.22C6.2,8.08%205.86,8%205.5,8M18.5,8C18.14,8%2017.8,8.08%2017.5,8.22C17.5,8.31%2017.5,8.41%2017.5,8.5C17.5,9.7%2017.11,10.86%2016.38,11.81C16.5,12%2016.63,12.15%2016.78,12.3C16.94,12.45%2017.1,12.58%2017.29,12.68C17.65,12.88%2018.06,13%2018.5,13C18.94,13%2019.35,12.88%2019.71,12.68C20.47,12.25%2021,11.44%2021,10.5A2.5,2.5%200%200,0%2018.5,8M12,14C9.66,14%205,15.17%205,17.5V19H19V17.5C19,15.17%2014.34,14%2012,14M4.71,14.55C2.78,14.78%200,15.76%200,17.5V19H3V17.07C3,16.06%203.69,15.22%204.71,14.55M19.29,14.55C20.31,15.22%2021,16.06%2021,17.07V19H24V17.5C24,15.76%2021.22,14.78%2019.29,14.55M12,16C13.53,16%2015.24,16.5%2016.23,17H7.77C8.76,16.5%2010.47,16%2012,16Z'%20/%3e%3c/svg%3e";V(E,O);const rt={model:{prop:"modelValue",event:"update:modelValue"}},nt=y({...rt,__name:"NcSelectUsers",props:{ariaLabelClearSelected:{type:String,default:n("Clear selected")},ariaLabelListbox:{type:String,default:n("Options")},ariaLabelDeselectOption:{type:Function,default:t=>n("Deselect {option}",{option:t})},keepOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},filterBy:{type:Function,default:null},inputId:{type:String,default:()=>lt()},inputLabel:{type:String,default:n("Select account")},labelOutside:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},noWrap:{type:Boolean,default:!1},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},required:{type:Boolean,default:!1},modelValue:{type:Object,default:null}},emits:["search","update:modelValue"],setup(t,{emit:e}){const a=t,l=w("");$(l,()=>{e("search",l.value)});const i=Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--default-clickable-area")),r=Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--default-grid-baseline")),h=i-2*r;function N(p,v,b){if(a.filterBy)return a.filterBy;const F=/[^<]*<([^>]+)/,m=b.match(F),L=p.subname?.toLocaleLowerCase()??"";return m&&L.indexOf(m[1].toLocaleLowerCase())>-1||`${v} ${p.subname}`.toLocaleLowerCase().indexOf(b.toLocaleLowerCase())>-1}return{__sfc:!0,props:a,emit:e,search:l,clickableArea:i,gridBaseLine:r,avatarSize:h,localFilterBy:N,NcListItemIcon:j,NcSelect:D}}});var ct=function(){var t=this,e=t._self._c,a=t._self._setupProxy;return e(a.NcSelect,t._b({staticClass:"nc-select-users",attrs:{"filter-by":a.localFilterBy,label:"displayName"},on:{search:function(l){a.search=l},"update:model-value":function(l){return t.$emit("update:modelValue",l)}},scopedSlots:t._u([{key:"option",fn:function(l){return[e(a.NcListItemIcon,t._b({attrs:{"avatar-size":32,name:l.displayName,search:a.search}},"NcListItemIcon",l,!1))]}},{key:"selected-option",fn:function(l){return[e(a.NcListItemIcon,t._b({attrs:{"avatar-size":a.avatarSize,name:l.displayName,"no-margin":"",search:a.search}},"NcListItemIcon",l,!1))]}}])},"NcSelect",t.$props,!1))},ut=[],ht=P(nt,ct,ut,!1,null,"7f7ecbfe");const dt=ht.exports,pt=y({name:"FetchCollectionContentMixin",data(){return{fetchSemaphore:new z(1),loadingCollection:!1,loadingCollectionFiles:!1,errorFetchingCollection:null,errorFetchingCollectionFiles:null}},mixins:[st],methods:{async fetchCollection(t,e,a){if(this.loadingCollection)return null;try{this.loadingCollection=!0,this.errorFetchingCollection=null;const l=await it(t,{signal:this.abortController.signal},e,a);return this.$store.dispatch("addCollections",{collections:[l]}),l}catch(l){if(l.response?.status===404)return this.errorFetchingCollection=404,null;this.errorFetchingCollection=l,u.error("[PublicCollectionContent] Error fetching collection",{error:l}),c(s("photos","Failed to fetch collection."))}finally{this.loadingCollection=!1}return null},async fetchCollectionFiles(t,e=[],a){if(this.loadingCollectionFiles)return[];e=[...e,...U];const l=await this.fetchSemaphore.acquire();try{this.errorFetchingCollectionFiles=null,this.loadingCollectionFiles=!0;const i=await ot(t,{signal:this.abortController.signal},e,a),r=i.map(h=>h.fileid?.toString());return this.$store.dispatch("appendFiles",i),await this.$store.commit("setCollectionFiles",{collectionFileName:t,fileIds:r}),i}catch(i){if(i.response?.status===404)return this.errorFetchingCollectionFiles=404,[];this.errorFetchingCollectionFiles=i,c(s("photos","Failed to fetch collections list.")),u.error("[PublicCollectionContent] Error fetching collection files",{error:i})}finally{this.loadingCollectionFiles=!1,this.fetchSemaphore.release(l)}return[]}}}),bt={name:"CollaboratorsSelectionForm",components:{Close:X,ContentCopy:Q,Check:Z,Earth:W,NcButton:g,NcSelectUsers:dt},mixins:[pt],props:{albumName:{type:String,required:!0},collaborators:{type:Array,default:()=>[]},allowPublicLink:{type:Boolean,default:!0}},data(){return{availableCollaborators:{},selectedCollaboratorsKeys:[],currentSearchResults:[],loadingCollaborators:!1,randomId:Math.random().toString().substring(2,10),searchSequence:0,publicLinkCopied:!1,collaboratorTypes:o,config:{minSearchStringLength:parseInt(OC.config["sharing.minSearchStringLength"],10)||0}}},computed:{searchResults(){return this.currentSearchResults.filter(({id:t})=>t!==A()?.uid).map(t=>({key:`${t.type}:${t.id}`,id:t.id,user:t.id,displayName:t.label,type:t.type===o.User?"user":"group",iconSvg:t.type===o.Group?C:void 0})).filter(({key:t})=>!this.selectedCollaboratorsKeys.includes(t))},selectedCollaborators(){return this.selectedCollaboratorsKeys.map(t=>this.availableCollaborators[t])},selectedUsers:{get(){return this.selectedCollaborators.filter(({type:t})=>t!==o.Link).map(t=>({key:`${t.type}:${t.id}`,id:t.id,user:t.id,displayName:t.label,type:t.type===o.User?"user":"group",iconSvg:t.type===o.Group?C:void 0}))},set(t){this.selectedCollaboratorsKeys=t.map(({key:e})=>e)}},isPublicLinkSelected(){return this.selectedCollaboratorsKeys.includes(`${o.Link}`)},publicLink(){return this.availableCollaborators[o.Link]},publicLinkURL(){return`${window.location.protocol}//${window.location.host}${B(`apps/photos/public/${this.publicLink.id}`)}`},albumFileName(){return this.$store.getters.getAlbumName(this.albumName)}},watch:{collaborators(t){this.populateCollaborators(t)}},mounted(){this.populateCollaborators(this.collaborators)},methods:{async searchCollaborators(t){if(t===void 0||(t=t.trim(),t.length{switch(l.source){case"users":return{id:l.id,label:l.label,type:o.User};case"groups":return{id:l.id,label:l.label,type:o.Group};default:throw new Error(`Invalid collaborator source ${l.source}`)}}),this.availableCollaborators={...this.availableCollaborators,...this.currentSearchResults.reduce(this.indexCollaborators,{})}}catch(a){if(e!==this.searchSequence)return;this.errorFetchingCollaborators=a,u.error(this.t("photos","Failed to fetch collaborators list."),{error:a}),c(this.t("photos","Failed to fetch collaborators list."))}finally{e===this.searchSequence&&(this.loadingCollaborators=!1)}},populateCollaborators(t){const e=t.reduce(this.indexCollaborators,{});this.selectedCollaboratorsKeys=Object.keys(e),this.availableCollaborators={3:{id:"",label:this.t("photos","Public link"),type:o.Link},...this.availableCollaborators,...e}},indexCollaborators(t,e){return{...t,[`${e.type}${e.type===o.Link?"":":"}${e.type===o.Link?"":e.id}`]:e}},async createPublicLinkForAlbum(){this.selectEntity(`${o.Link}`),await this.updateAlbumCollaborators(),await this.fetchCollection(this.albumFileName,T)},async deletePublicLink(){this.unselectEntity(`${o.Link}`),this.availableCollaborators[3]={id:"",label:this.t("photos","Public link"),type:o.Link},this.publicLinkCopied=!1,await this.updateAlbumCollaborators()},async updateAlbumCollaborators(){try{await this.$store.dispatch("updateCollection",{collectionFileName:this.albumFileName,properties:{collaborators:this.selectedCollaborators}})}catch(t){u.error("[PublicAlbumContent] Error updating album",{error:t}),c(this.t("photos","Failed to update album."))}},async copyPublicLink(){await navigator.clipboard.writeText(this.publicLinkURL),this.publicLinkCopied=!0,setTimeout(()=>{this.publicLinkCopied=!1},1e4)},selectEntity(t){this.selectedCollaboratorsKeys.includes(t)||this.selectedCollaboratorsKeys.push(t)},unselectEntity(t){const e=this.selectedCollaboratorsKeys.indexOf(t);e!==-1&&this.selectedCollaboratorsKeys.splice(e,1)},t:s}};var mt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"manage-collaborators"},[e("h2",{staticClass:"manage-collaborators__title"},[t._v(" "+t._s(t.t("photos","Add collaborators"))+" ")]),e("form",{staticClass:"manage-collaborators__form",on:{submit:function(a){a.preventDefault()}}},[e("NcSelectUsers",{attrs:{"input-id":"sharing-search-input","input-label":t.t("photos","Add people or groups who can edit your album"),loading:t.loadingCollaborators,label:"label",filterable:!1,placeholder:t.t("photos","Search people or groups"),"clear-search-on-blur":()=>!1,multiple:!0,"append-to-body":!1,options:t.searchResults},on:{search:t.searchCollaborators,"option:selected":({key:a})=>t.selectEntity(a)},model:{value:t.selectedUsers,callback:function(a){t.selectedUsers=a},expression:"selectedUsers"}},[t._v(" "+t._s(t.t("photos","No recommendations. Start typing."))+" ")])],1),e("div",{staticClass:"actions"},[t.allowPublicLink?e("div",{staticClass:"actions__public-link"},[t.isPublicLinkSelected&&t.publicLink.id!==""?[e("NcButton",{staticClass:"manage-collaborators__public-link-button",attrs:{"aria-label":t.t("photos","Copy the public link"),title:t.publicLinkURL},on:{click:t.copyPublicLink},scopedSlots:t._u([{key:"icon",fn:function(){return[t.publicLinkCopied?e("Check"):e("ContentCopy")]},proxy:!0}],null,!1,845538853)},[t.publicLinkCopied?[t._v(" "+t._s(t.t("photos","Public link copied!"))+" ")]:[t._v(" "+t._s(t.t("photos","Copy public link"))+" ")]],2),e("NcButton",{attrs:{variant:"tertiary","aria-label":t.t("photos","Delete the public link")},on:{click:t.deletePublicLink}},[e("Close",{attrs:{slot:"icon"},slot:"icon"})],1)]:e("NcButton",{staticClass:"manage-collaborators__public-link-button",attrs:{disabled:t.isPublicLinkSelected&&t.publicLink.id==="","aria-label":t.t("photos","Create public link share")},on:{click:t.createPublicLinkForAlbum}},[e("Earth",{attrs:{slot:"icon"},slot:"icon"}),t._v(" "+t._s(t.t("photos","Share via public link"))+" ")],1)],2):t._e(),e("div",{staticClass:"actions__slot"},[t._t("default",null,{collaborators:t.selectedCollaborators})],2)])])},ft=[],Ct=k(bt,mt,ft,!1,null,"beb979f1");const yt=Ct.exports,gt={name:"AlbumForm",components:{MapMarkerOutline:at,AccountMultiplePlusOutline:et,SendOutline:tt,NcButton:g,NcLoadingIcon:R,NcTextField:Y,CollaboratorsSelectionForm:yt,PhotosFiltersInput:H,PhotosFiltersDisplay:G},props:{album:{type:Object,default:null},filtersValue:{type:Object,default:()=>({})},displayBackButton:{type:Boolean,default:!1}},data(){return{showCollaboratorView:!1,albumName:"",albumLocation:"",albumFilters:J.reduce((t,e)=>({...t,[e.id]:[]}),{}),loading:!1}},computed:{editMode(){return this.album!==null},sharingEnabled(){return OC.Share!==void 0},albumFileName(){return this.$store.getters.getAlbumName(this.albumName)},albumNameValidationError(){const t=this.$store.getters.albums[this.albumFileName];if(t!==void 0&&this.album!==t&&!this.loading)return s("files","This name is already in use.");try{S(this.albumName)}catch(e){if(!(e instanceof _))throw e;switch(e.reason){case d.Character:return s("files",'"{char}" is not allowed inside a filename.',{char:e.segment});case d.ReservedName:return;case d.Extension:return;default:return s("files","Invalid filename.")}}},canSubmit(){return this.albumName!==""&&this.albumNameValidationError===void 0&&!this.loading}},mounted(){this.editMode?(this.albumName=this.album?.basename,this.albumLocation=this.album?.attributes.location??"",this.albumFilters={...this.albumFilters,...structuredClone(this.album?.attributes.filters??{})}):this.albumFilters={...this.albumFilters,...structuredClone(this.filtersValue)},this.$nextTick(()=>{this.$refs.nameInput.$el.getElementsByTagName("input")[0].focus()})},methods:{submit(t=[]){this.canSubmit&&(this.editMode?this.handleUpdateAlbum():this.handleCreateAlbum(t))},async handleCreateAlbum(t=[]){try{this.loading=!0;const e=I({basename:this.albumName,filename:f+"/"+this.albumName,lastmod:"",size:0,type:"directory",etag:null,props:{displayname:this.albumName,resourcetype:{},nbItems:0,location:this.albumLocation,"last-photo":-1,date:K().format("MMMM YYYY"),collaborators:t,filters:this.filtersValue,source:M(`dav/${this.albumFileName}`)}},f);let a=await this.$store.dispatch("createCollection",{collection:e});if(a===void 0)return;const l={};this.albumLocation!==""&&(l.location=this.albumLocation),(this.albumLocation!==""||t.length!==0)&&(l.collaborators=t),Object.keys(this.filtersValue).length>0&&(l.filters=this.filtersValue),a=await this.$store.dispatch("updateCollection",{collectionFileName:this.albumFileName,properties:l}),this.$emit("done",{album:a})}finally{this.loading=!1}},async handleUpdateAlbum(){try{this.loading=!0;let t=this.album?.clone();const e=[];if(this.album!==null&&this.album.basename!==this.albumName&&(e.push("name"),t=await this.$store.dispatch("renameCollection",{collectionFileName:this.album.root+this.album.path,newBaseName:this.albumName}),t===this.album))return;this.album!==null&&this.album.attributes.location!==this.albumLocation&&(e.push("location"),t=await this.$store.dispatch("updateCollection",{collectionFileName:t.root+t.path,properties:{location:this.albumLocation}})),this.album!==null&&JSON.stringify(this.album.attributes.filters)!==JSON.stringify(this.albumFilters)&&(e.push("filters"),t=await this.$store.dispatch("updateCollection",{collectionFileName:t.root+t.path,properties:{filters:this.albumFilters}})),this.$emit("done",{album:t,changes:e})}finally{this.loading=!1}},selectFilter(t){this.albumFilters[t.filterId].push(t.value)},deselectFilter(t){const e=this.albumFilters[t.filterId].indexOf(t.value);e!==-1&&this.albumFilters[t.filterId].splice(e,1)},back(){this.$emit("back")},t:s}};var kt=function(){var t=this,e=t._self._c;return t.showCollaboratorView?e("CollaboratorsSelectionForm",{attrs:{"album-name":t.albumName,"allow-public-link":!1},scopedSlots:t._u([{key:"default",fn:function({collaborators:a}){return[e("span",{staticClass:"left-buttons"},[e("NcButton",{attrs:{variant:"tertiary"},on:{click:function(l){t.showCollaboratorView=!1}}},[t._v(" "+t._s(t.t("photos","Back"))+" ")])],1),e("span",{staticClass:"right-buttons"},[e("NcButton",{attrs:{variant:"primary",disabled:!t.canSubmit},on:{click:function(l){return t.submit(a)}},scopedSlots:t._u([{key:"icon",fn:function(){return[t.loading?e("NcLoadingIcon",{attrs:{size:20}}):e("SendOutline",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.editMode?t.t("photos","Save"):t.t("photos","Create album"))+" ")])],1)]}}])}):e("form",{staticClass:"album-form",on:{submit:function(a){return a.preventDefault(),t.submit()}}},[e("div",{staticClass:"form-inputs"},[e("NcTextField",{ref:"nameInput",attrs:{type:"text",name:"name","helper-text":t.albumNameValidationError,error:t.albumNameValidationError!==void 0,required:!0,label:t.t("photos","Name of the album")},model:{value:t.albumName,callback:function(a){t.albumName=typeof a=="string"?a.trim():a},expression:"albumName"}}),e("NcTextField",{attrs:{name:"location",type:"text",label:t.t("photos","Location of the album")},scopedSlots:t._u([{key:"default",fn:function(){return[e("MapMarkerOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,3863723734),model:{value:t.albumLocation,callback:function(a){t.albumLocation=a},expression:"albumLocation"}})],1),e("PhotosFiltersInput",{attrs:{"selected-filters":t.albumFilters},on:{"select-filter":t.selectFilter}}),e("PhotosFiltersDisplay",{attrs:{"selected-filters":t.albumFilters},on:{"deselect-filter":t.deselectFilter}}),e("div",{staticClass:"form-buttons"},[e("span",{staticClass:"left-buttons"},[t.displayBackButton?e("NcButton",{attrs:{variant:"tertiary"},on:{click:t.back}},[t._v(" "+t._s(t.t("photos","Back"))+" ")]):t._e()],1),e("span",{staticClass:"right-buttons"},[t.sharingEnabled&&!t.editMode?e("NcButton",{attrs:{variant:"secondary",disabled:!t.canSubmit},on:{click:function(a){t.showCollaboratorView=!0}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("AccountMultiplePlusOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,1381680579)},[t._v(" "+t._s(t.t("photos","Add collaborators"))+" ")]):t._e(),e("NcButton",{attrs:{variant:"primary",disabled:!t.canSubmit},on:{click:function(a){return t.submit()}},scopedSlots:t._u([{key:"icon",fn:function(){return[t.loading?e("NcLoadingIcon",{attrs:{size:20}}):e("SendOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,2348760288)},[t._v(" "+t._s(t.editMode?t.t("photos","Save"):t.t("photos","Create album"))+" ")])],1)])],1)},Nt=[],vt=k(gt,kt,Nt,!1,null,"546e550b");const It=vt.exports;export{It as A,yt as C,pt as F}; +//# sourceMappingURL=AlbumForm-BmFTVkx_.chunk.mjs.map diff --git a/js/AlbumForm-Cg--8ztw.chunk.mjs.license b/js/AlbumForm-BmFTVkx_.chunk.mjs.license similarity index 100% rename from js/AlbumForm-Cg--8ztw.chunk.mjs.license rename to js/AlbumForm-BmFTVkx_.chunk.mjs.license diff --git a/js/AlbumForm-Cg--8ztw.chunk.mjs.map b/js/AlbumForm-BmFTVkx_.chunk.mjs.map similarity index 99% rename from js/AlbumForm-Cg--8ztw.chunk.mjs.map rename to js/AlbumForm-BmFTVkx_.chunk.mjs.map index df197d34c..743b5aea1 100644 --- a/js/AlbumForm-Cg--8ztw.chunk.mjs.map +++ b/js/AlbumForm-BmFTVkx_.chunk.mjs.map @@ -1 +1 @@ -{"version":3,"file":"AlbumForm-Cg--8ztw.chunk.mjs","sources":["../node_modules/@mdi/svg/svg/account-group-outline.svg","../node_modules/@nextcloud/vue/dist/chunks/NcSelectUsers-BoPfmCbV.mjs","../src/mixins/FetchCollectionContentMixin.ts","../src/components/Albums/CollaboratorsSelectionForm.vue","../src/components/Albums/AlbumForm.vue"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='mdi-account-group-outline'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M12,5A3.5,3.5%200%200,0%208.5,8.5A3.5,3.5%200%200,0%2012,12A3.5,3.5%200%200,0%2015.5,8.5A3.5,3.5%200%200,0%2012,5M12,7A1.5,1.5%200%200,1%2013.5,8.5A1.5,1.5%200%200,1%2012,10A1.5,1.5%200%200,1%2010.5,8.5A1.5,1.5%200%200,1%2012,7M5.5,8A2.5,2.5%200%200,0%203,10.5C3,11.44%203.53,12.25%204.29,12.68C4.65,12.88%205.06,13%205.5,13C5.94,13%206.35,12.88%206.71,12.68C7.08,12.47%207.39,12.17%207.62,11.81C6.89,10.86%206.5,9.7%206.5,8.5C6.5,8.41%206.5,8.31%206.5,8.22C6.2,8.08%205.86,8%205.5,8M18.5,8C18.14,8%2017.8,8.08%2017.5,8.22C17.5,8.31%2017.5,8.41%2017.5,8.5C17.5,9.7%2017.11,10.86%2016.38,11.81C16.5,12%2016.63,12.15%2016.78,12.3C16.94,12.45%2017.1,12.58%2017.29,12.68C17.65,12.88%2018.06,13%2018.5,13C18.94,13%2019.35,12.88%2019.71,12.68C20.47,12.25%2021,11.44%2021,10.5A2.5,2.5%200%200,0%2018.5,8M12,14C9.66,14%205,15.17%205,17.5V19H19V17.5C19,15.17%2014.34,14%2012,14M4.71,14.55C2.78,14.78%200,15.76%200,17.5V19H3V17.07C3,16.06%203.69,15.22%204.71,14.55M19.29,14.55C20.31,15.22%2021,16.06%2021,17.07V19H24V17.5C24,15.76%2021.22,14.78%2019.29,14.55M12,16C13.53,16%2015.24,16.5%2016.23,17H7.77C8.76,16.5%2010.47,16%2012,16Z'%20/%3e%3c/svg%3e\"","import '../assets/NcSelectUsers-BDh2CSCJ.css';\nimport { defineComponent, ref, watch } from \"vue\";\nimport { N as NcListItemIcon } from \"./NcListItemIcon-6OlDNank.mjs\";\nimport { N as NcSelect } from \"./NcSelect-COY5TV2U.mjs\";\nimport { r as register, x as t47, h as t16, a as t } from \"./_l10n-Dv1YKfKS.mjs\";\nimport { G as GenRandomId } from \"./GenRandomId-F5ebeBB_.mjs\";\nimport { n as normalizeComponent } from \"./_plugin-vue2_normalizer-DU4iP6Vu.mjs\";\nregister(t16, t47);\nconst __default__ = {\n model: {\n prop: \"modelValue\",\n event: \"update:modelValue\"\n }\n};\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n __name: \"NcSelectUsers\",\n props: {\n /**\n * `aria-label` for the clear input button\n */\n ariaLabelClearSelected: {\n type: String,\n default: t(\"Clear selected\")\n },\n /**\n * `aria-label` for the listbox element\n */\n ariaLabelListbox: {\n type: String,\n default: t(\"Options\")\n },\n /**\n * Allows to customize the `aria-label` for the deselect-option button\n * The default is \"Deselect \" + optionLabel\n */\n ariaLabelDeselectOption: {\n type: Function,\n default: (optionLabel) => t(\"Deselect {option}\", { option: optionLabel })\n },\n /**\n * Keep the dropdown open after selecting an entry.\n */\n keepOpen: {\n type: Boolean,\n default: false\n },\n /**\n * Disable the component\n */\n disabled: {\n type: Boolean,\n default: false\n },\n /**\n * Callback to determine if the provided option should match the current search text.\n * Used to determine if the option should be displayed.\n *\n * By default it filters by the `displayName` and `subname` properties of the user\n * option object unless this prop is set explicitly\n */\n filterBy: {\n type: Function,\n default: null\n },\n /**\n * Input element id\n */\n inputId: {\n type: String,\n default: () => GenRandomId()\n },\n /**\n * Visible label for the input element\n *\n * @default 'Select account'\n */\n inputLabel: {\n type: String,\n default: t(\"Select account\")\n },\n /**\n * Pass true if you are using an external label.\n * In this case make sure you set the `for` attribute of your `