Merge pull request #59121 from nextcloud/dependabot/npm_and_yarn/eslint-10.1.0

chore(deps-dev): Bump eslint from 9.39.2 to 10.1.0
pull/59273/head
github-actions[bot] 4 months ago committed by GitHub
commit aefcd5ffb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 13
      .github/dependabot.yml
  2. 2
      apps/dav/src/components/AbsenceForm.vue
  3. 3
      apps/files/src/components/FilesListVirtual.vue
  4. 2
      apps/files/src/components/FilesNavigationListItem.vue
  5. 3
      apps/files/src/composables/usePreviewImage.ts
  6. 12
      apps/files/src/store/renaming.ts
  7. 3
      apps/files/src/utils/permissions.ts
  8. 4
      apps/files_sharing/src/components/SharingInput.vue
  9. 2
      apps/files_sharing/src/mixins/ShareDetails.js
  10. 6
      apps/files_versions/src/utils/versions.ts
  11. 2
      apps/settings/src/components/WebAuthn/WebAuthnAddDevice.vue
  12. 6
      apps/settings/src/service/WebAuthnRegistrationSerice.ts
  13. 14
      apps/systemtags/src/services/api.ts
  14. 6
      apps/systemtags/src/services/files.ts
  15. 14
      build/eslint-baseline-legacy.json
  16. 3
      core/src/OC/util.js
  17. 11
      core/src/globals.js
  18. 24
      cypress/support/commands.ts
  19. 2
      dist/3796-3796.js
  20. 0
      dist/3796-3796.js.license
  21. 1
      dist/3796-3796.js.map
  22. 1
      dist/3796-3796.js.map.license
  23. 2
      dist/7186-7186.js
  24. 1
      dist/7186-7186.js.map
  25. 1
      dist/7186-7186.js.map.license
  26. 4
      dist/FilesVersionsSidebarTab-0iHH_K8X.chunk.mjs
  27. 0
      dist/FilesVersionsSidebarTab-0iHH_K8X.chunk.mjs.license
  28. 2
      dist/FilesVersionsSidebarTab-0iHH_K8X.chunk.mjs.map
  29. 0
      dist/FilesVersionsSidebarTab-0iHH_K8X.chunk.mjs.map.license
  30. 4
      dist/SystemTagPicker-C5Vmdxzz.chunk.mjs
  31. 0
      dist/SystemTagPicker-C5Vmdxzz.chunk.mjs.license
  32. 2
      dist/SystemTagPicker-C5Vmdxzz.chunk.mjs.map
  33. 0
      dist/SystemTagPicker-C5Vmdxzz.chunk.mjs.map.license
  34. 6
      dist/api-C5oKydJ-.chunk.mjs
  35. 0
      dist/api-C5oKydJ-.chunk.mjs.license
  36. 1
      dist/api-C5oKydJ-.chunk.mjs.map
  37. 0
      dist/api-C5oKydJ-.chunk.mjs.map.license
  38. 1
      dist/api-Ccvyb__w.chunk.mjs.map
  39. 4
      dist/core-login.js
  40. 2
      dist/core-login.js.map
  41. 4
      dist/core-main.js
  42. 2
      dist/core-main.js.map
  43. 2
      dist/dav-dav-settings-personal-availability-BkmjGVZw.chunk.css
  44. 2
      dist/dav-settings-personal-availability.css
  45. 2
      dist/dav-settings-personal-availability.mjs
  46. 2
      dist/dav-settings-personal-availability.mjs.map
  47. 4
      dist/files-main.js
  48. 2
      dist/files-main.js.map
  49. 4
      dist/files_sharing-files_sharing_tab.js
  50. 2
      dist/files_sharing-files_sharing_tab.js.map
  51. 4
      dist/files_versions-sidebar-tab.mjs
  52. 2
      dist/index-Bp9-GhMo.chunk.mjs.license
  53. 2
      dist/index-Bp9-GhMo.chunk.mjs.map
  54. 2
      dist/index-Bp9-GhMo.chunk.mjs.map.license
  55. 4
      dist/settings-vue-settings-personal-webauthn.js
  56. 2
      dist/settings-vue-settings-personal-webauthn.js.map
  57. 2
      dist/systemtags-admin.mjs
  58. 4
      dist/systemtags-init.mjs
  59. 779
      package-lock.json
  60. 6
      package.json

@ -53,7 +53,14 @@ updates:
- "feature: dependencies"
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
cooldown:
default-days: 4
semver-major-days: 8
groups:
eslint:
patterns:
- "eslint*"
- "@nextcloud/eslint-config"
vite:
patterns:
- "vite"
@ -101,6 +108,9 @@ updates:
day: saturday
time: "03:30"
timezone: Europe/Paris
cooldown:
default-days: 4
semver-major-days: 8
open-pull-requests-limit: 20
labels:
- "3. to review"
@ -155,6 +165,9 @@ updates:
day: saturday
time: "04:30"
timezone: Europe/Paris
cooldown:
default-days: 4
semver-major-days: 8
open-pull-requests-limit: 20
labels:
- "3. to review"

@ -149,7 +149,7 @@ export default {
ShareType.User,
]
let request = null
let request
try {
request = await axios.get(generateOcsUrl('apps/files_sharing/api/v1/sharees'), {
params: {

@ -428,8 +428,7 @@ export default defineComponent({
}
if (event.key !== 'ArrowUp' && event.key !== 'ArrowDown'
&& (!this.userConfig.grid_view || (event.key !== 'ArrowLeft' && event.key !== 'ArrowRight'))
) {
&& (!this.userConfig.grid_view || (event.key !== 'ArrowLeft' && event.key !== 'ArrowRight'))) {
// not an arrow key we handle
return
}

@ -141,7 +141,7 @@ export default {
allow-collapse
:loading="isLoading"
:data-cy-files-navigation-item="view.id"
:exact="hasChildViews /* eslint-disable-line @nextcloud/vue/no-deprecated-props */"
:exact="hasChildViews"
:name="view.name"
:open="isExpanded"
:pinned="view.sticky"

@ -38,8 +38,7 @@ export function usePreviewImage(
const fallback = toValue(options).fallback ?? true
if (source.attributes['has-preview'] !== true
&& source.mime !== undefined
&& source.mime !== 'application/octet-stream'
) {
&& source.mime !== 'application/octet-stream') {
if (!fallback) {
return
}

@ -66,8 +66,7 @@ export const useRenamingStore = defineStore('renaming', () => {
// Check for extension change for files
if (node.type === FileType.File
&& oldExtension !== newExtension
&& !(await showFileExtensionDialog(oldExtension, newExtension))
) {
&& !(await showFileExtensionDialog(oldExtension, newExtension))) {
// user selected to use the old extension
newName = basename(newName, newExtension) + oldExtension
if (oldName === newName) {
@ -78,8 +77,7 @@ export const useRenamingStore = defineStore('renaming', () => {
if (!userConfig.userConfig.show_hidden
&& newName.startsWith('.')
&& !oldName.startsWith('.')
&& !(await showHiddenFileDialog(newName))
) {
&& !(await showHiddenFileDialog(newName))) {
return false
}
}
@ -126,7 +124,7 @@ export const useRenamingStore = defineStore('renaming', () => {
if (isAxiosError(error)) {
// TODO: 409 means current folder does not exist, redirect ?
if (error?.response?.status === 404) {
throw new Error(t('files', 'Could not rename "{oldName}", it does not exist any more', { oldName }))
throw new Error(t('files', 'Could not rename "{oldName}", it does not exist any more', { oldName }), { cause: error })
} else if (error?.response?.status === 412) {
throw new Error(t(
'files',
@ -135,11 +133,11 @@ export const useRenamingStore = defineStore('renaming', () => {
newName,
dir: basename(renamingNode.value!.dirname),
},
))
), { cause: error })
}
}
// Unknown error
throw new Error(t('files', 'Could not rename "{oldName}"', { oldName }))
throw new Error(t('files', 'Could not rename "{oldName}"', { oldName }), { cause: error })
} finally {
Vue.set(node, 'status', undefined)
isRenaming.value = false

@ -21,8 +21,7 @@ export function isDownloadable(node: INode): boolean {
// check hide-download property of shares
if (node.attributes['hide-download'] === true
|| node.attributes['hide-download'] === 'true'
) {
|| node.attributes['hide-download'] === 'true') {
return false
}

@ -231,7 +231,7 @@ export default {
shareType.push(...remoteTypes)
}
let request = null
let request
try {
request = await axios.get(generateOcsUrl('apps/files_sharing/api/v1/sharees'), {
params: {
@ -321,7 +321,7 @@ export default {
async getRecommendations() {
this.loading = true
let request = null
let request
try {
request = await axios.get(generateOcsUrl('apps/files_sharing/api/v1/sharees_recommended'), {
params: {

@ -11,7 +11,7 @@ import logger from '../services/logger.ts'
export default {
methods: {
async openSharingDetails(shareRequestObject) {
let share = {}
let share
// handle externalResults from OCA.Sharing.ShareSearch
// TODO : Better name/interface for handler required
// For example `externalAppCreateShareHook` with proper documentation

@ -98,11 +98,11 @@ export async function restoreVersion(version: Version) {
*/
function formatVersion(version: Required<FileStat>, node: INode): Version {
const mtime = Date.parse(version.lastmod)
let previewUrl = ''
let previewUrl: string
if (mtime === node.mtime?.getTime()) { // Version is the current one
previewUrl = generateUrl('/core/preview?fileId={fileId}&c={fileEtag}&x=250&y=250&forceIcon=0&a=0&forceIcon=1&mimeFallback=1', {
fileId: node.fileid,
fileId: node.id,
fileEtag: node.attributes.etag,
})
} else {
@ -113,7 +113,7 @@ function formatVersion(version: Required<FileStat>, node: INode): Version {
}
return {
fileId: node.fileid!.toString(),
fileId: node.id!,
// If version-label is defined make sure it is a string (prevent issue if the label is a number an PHP returns a number then)
label: version.props['version-label'] ? String(version.props['version-label']) : '',
author: version.props['version-author'] ? String(version.props['version-author']) : null,

@ -170,7 +170,7 @@ export default {
this.$emit('added', device)
} catch (err) {
logger.error('Error persisting webauthn registration', { error: err })
throw new Error(t('settings', 'Server error while trying to complete WebAuthn device registration'))
throw new Error(t('settings', 'Server error while trying to complete WebAuthn device registration'), { cause: err })
}
},

@ -28,11 +28,11 @@ export async function startRegistration() {
} catch (e) {
logger.error(e as Error)
if (isAxiosError(e)) {
throw new Error(t('settings', 'Could not register device: Network error'))
throw new Error(t('settings', 'Could not register device: Network error'), { cause: e })
} else if ((e as Error).name === 'InvalidStateError') {
throw new Error(t('settings', 'Could not register device: Probably already registered'))
throw new Error(t('settings', 'Could not register device: Probably already registered'), { cause: e })
}
throw new Error(t('settings', 'Could not register device'))
throw new Error(t('settings', 'Could not register device'), { cause: e })
}
}

@ -43,7 +43,7 @@ export async function fetchTags(): Promise<TagWithId[]> {
return parseTags(tags)
} catch (error) {
logger.error(t('systemtags', 'Failed to load tags'), { error })
throw new Error(t('systemtags', 'Failed to load tags'))
throw new Error(t('systemtags', 'Failed to load tags'), { cause: error })
}
}
@ -62,7 +62,7 @@ export async function fetchTag(tagId: number): Promise<TagWithId> {
return parseTags([tag])[0]!
} catch (error) {
logger.error(t('systemtags', 'Failed to load tag'), { error })
throw new Error(t('systemtags', 'Failed to load tag'))
throw new Error(t('systemtags', 'Failed to load tag'), { cause: error })
}
}
@ -76,7 +76,7 @@ export async function fetchLastUsedTagIds(): Promise<number[]> {
return lastUsedTagIds.map(Number)
} catch (error) {
logger.error(t('systemtags', 'Failed to load last used tags'), { error })
throw new Error(t('systemtags', 'Failed to load last used tags'))
throw new Error(t('systemtags', 'Failed to load last used tags'), { cause: error })
}
}
@ -103,10 +103,10 @@ export async function createTag(tag: Tag | ServerTag): Promise<number> {
} catch (error) {
if ((error as WebDAVClientError)?.response?.status === 409) {
logger.error(t('systemtags', 'A tag with the same name already exists'), { error })
throw new Error(t('systemtags', 'A tag with the same name already exists'))
throw new Error(t('systemtags', 'A tag with the same name already exists'), { cause: error })
}
logger.error(t('systemtags', 'Failed to create tag'), { error })
throw new Error(t('systemtags', 'Failed to create tag'))
throw new Error(t('systemtags', 'Failed to create tag'), { cause: error })
}
}
@ -137,7 +137,7 @@ export async function updateTag(tag: TagWithId): Promise<void> {
emit('systemtags:tag:updated', tag)
} catch (error) {
logger.error(t('systemtags', 'Failed to update tag'), { error })
throw new Error(t('systemtags', 'Failed to update tag'))
throw new Error(t('systemtags', 'Failed to update tag'), { cause: error })
}
}
@ -153,7 +153,7 @@ export async function deleteTag(tag: TagWithId): Promise<void> {
emit('systemtags:tag:deleted', tag)
} catch (error) {
logger.error(t('systemtags', 'Failed to delete tag'), { error })
throw new Error(t('systemtags', 'Failed to delete tag'))
throw new Error(t('systemtags', 'Failed to delete tag'), { cause: error })
}
}

@ -28,7 +28,7 @@ export async function fetchTagsForFile(fileId: number): Promise<TagWithId[]> {
return parseTags(tags)
} catch (error) {
logger.error(t('systemtags', 'Failed to load tags for file'), { error })
throw new Error(t('systemtags', 'Failed to load tags for file'))
throw new Error(t('systemtags', 'Failed to load tags for file'), { cause: error })
}
}
@ -66,7 +66,7 @@ export async function setTagForFile(tag: TagWithId | ServerTagWithId, fileId: nu
})
} catch (error) {
logger.error(t('systemtags', 'Failed to set tag for file'), { error })
throw new Error(t('systemtags', 'Failed to set tag for file'))
throw new Error(t('systemtags', 'Failed to set tag for file'), { cause: error })
}
}
@ -82,6 +82,6 @@ export async function deleteTagForFile(tag: TagWithId, fileId: number): Promise<
await davClient.deleteFile(path)
} catch (error) {
logger.error(t('systemtags', 'Failed to delete tag for file'), { error })
throw new Error(t('systemtags', 'Failed to delete tag for file'))
throw new Error(t('systemtags', 'Failed to delete tag for file'), { cause: error })
}
}

@ -1,11 +1,11 @@
{
"apps/files/src/components/FilesNavigationItem.vue": {
"@nextcloud/vue/no-deprecated-props": {
"apps/files/src/components/FilesNavigationListItem.vue": {
"@nextcloud/no-deprecated-library-props": {
"count": 1
}
},
"apps/files/src/components/TransferOwnershipDialogue.vue": {
"@nextcloud/vue/no-deprecated-props": {
"@nextcloud/no-deprecated-library-props": {
"count": 1
}
},
@ -15,7 +15,7 @@
}
},
"apps/files_sharing/src/components/SharingInput.vue": {
"@nextcloud/vue/no-deprecated-props": {
"@nextcloud/no-deprecated-library-props": {
"count": 1
}
},
@ -30,12 +30,12 @@
}
},
"apps/settings/src/components/GroupListItem.vue": {
"@nextcloud/vue/no-deprecated-props": {
"@nextcloud/no-deprecated-library-props": {
"count": 1
}
},
"apps/settings/src/components/Users/NewUserDialog.vue": {
"@nextcloud/vue/no-deprecated-props": {
"@nextcloud/no-deprecated-library-props": {
"count": 1
},
"vue/no-mutating-props": {
@ -43,7 +43,7 @@
}
},
"apps/settings/src/views/UserManagementNavigation.vue": {
"@nextcloud/vue/no-deprecated-props": {
"@nextcloud/no-deprecated-library-props": {
"count": 4
}
},

@ -64,8 +64,6 @@ export default {
}
const s = string.toLowerCase().trim()
let bytes = null
const bytesArray = {
b: 1,
k: 1024,
@ -80,6 +78,7 @@ export default {
p: 1024 * 1024 * 1024 * 1024 * 1024,
}
let bytes
const matches = s.match(/^[\s+]?([0-9]*)(\.([0-9]+))?( +)?([kmgtp]?b?)$/i)
if (matches !== null) {
bytes = parseFloat(s)

@ -1,9 +1,9 @@
/**
/* eslint-disable @nextcloud/no-deprecated-globals */
/*!
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
/* eslint-disable @nextcloud/no-deprecations */
import ClipboardJS from 'clipboard'
import { dav } from 'davclient.js'
import Handlebars from 'handlebars'
@ -26,10 +26,9 @@ function warnIfNotTesting() {
}
/**
*
* @param global
* @param cb
* @param msg
* @param {string|string[]} global - a string or array of strings with the name of the global variable(s) to deprecate
* @param {function} cb - a callback that returns the value of the global variable when accessed
* @param {string} msg - an optional message to show in the warning
*/
function setDeprecatedProp(global, cb, msg) {
(Array.isArray(global) ? global : [global]).forEach((global) => {

@ -88,9 +88,9 @@ Cypress.Commands.add('setFileAsFavorite', (user: User, target: string, favorite
</d:propertyupdate>`,
})
cy.log(`Created directory ${target}`, response)
} catch (error) {
cy.log('error', error)
throw new Error('Unable to process fixture')
} catch (cause) {
cy.log('error', cause)
throw new Error('Unable to process fixture', { cause })
}
})
})
@ -111,9 +111,9 @@ Cypress.Commands.add('mkdir', (user: User, target: string) => {
})
cy.log(`Created directory ${target}`, response)
return response
} catch (error) {
cy.log('error', error)
throw new Error('Unable to create directory')
} catch (cause) {
cy.log('error', cause)
throw new Error('Unable to create directory', { cause })
}
})
})
@ -133,9 +133,9 @@ Cypress.Commands.add('rm', (user: User, target: string) => {
},
})
cy.log(`delete file or directory ${target}`, response)
} catch (error) {
cy.log('error', error)
throw new Error('Unable to delete file or directory')
} catch (cause) {
cy.log('error', cause)
throw new Error('Unable to delete file or directory', { cause })
}
})
})
@ -174,9 +174,9 @@ Cypress.Commands.add('uploadContent', (user: User, blob: Blob, mimeType: string,
})
cy.log(`Uploaded content as ${fileName}`, response)
return response
} catch (error) {
cy.log('error', error)
throw new Error('Unable to process fixture')
} catch (cause) {
cy.log('error', cause)
throw new Error('Unable to process fixture', { cause })
}
})
})

2
dist/3796-3796.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
3796-3796.js.license

2
dist/7186-7186.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
7186-7186.js.license

@ -12,7 +12,7 @@ import{d as j,a as Y}from"./index-C1xmmKTZ-wrp6s74e.chunk.mjs";import{a as B,q a
<nc:version-author />
<nc:has-preview />
</d:prop>
</d:propfind>`,U=Ae();async function pi(e){const t=`/versions/${B()?.uid}/versions/${e.fileid}`;try{const i=(await U.getDirectoryContents(t,{data:mi,details:!0})).data.filter(({mime:r})=>r!=="").map(r=>hi(r,e)),n=new Set(i.map(r=>String(r.author))),v=await He.post(J("/displaynames"),{users:[...n]});for(const r of i){const l=v.data.users[r.author??""];l&&(r.authorName=l)}return i}catch(i){throw D.error("Could not fetch version",{exception:i}),i}}async function fi(e){try{D.debug("Restoring version",{url:e.url}),await U.moveFile(`/versions/${B()?.uid}/versions/${e.fileId}/${e.fileVersion}`,`/versions/${B()?.uid}/restore/target`)}catch(t){throw D.error("Could not restore version",{exception:t}),t}}function hi(e,t){const i=Date.parse(e.lastmod);let n="";return i===t.mtime?.getTime()?n=J("/core/preview?fileId={fileId}&c={fileEtag}&x=250&y=250&forceIcon=0&a=0&forceIcon=1&mimeFallback=1",{fileId:t.fileid,fileEtag:t.attributes.etag}):n=J("/apps/files_versions/preview?file={file}&version={fileVersion}&mimeFallback=1",{file:t.path,fileVersion:e.basename}),{fileId:t.fileid.toString(),label:e.props["version-label"]?String(e.props["version-label"]):"",author:e.props["version-author"]?String(e.props["version-author"]):null,authorName:null,filename:e.filename,basename:new Date(i).toLocaleString([P(),P().split("-")[0]],{timeStyle:"long",dateStyle:"medium"}),mime:e.mime,etag:`${e.props.getetag}`,size:e.size,type:e.type,mtime:i,permissions:"R",previewUrl:n,url:re("/remote.php/dav",e.filename),source:se("dav")+ne(e.filename),fileVersion:e.basename}}async function gi(e,t){return await U.customRequest(e.filename,{method:"PROPPATCH",data:`<?xml version="1.0"?>
</d:propfind>`,U=Ae();async function pi(e){const t=`/versions/${B()?.uid}/versions/${e.fileid}`;try{const i=(await U.getDirectoryContents(t,{data:mi,details:!0})).data.filter(({mime:r})=>r!=="").map(r=>hi(r,e)),n=new Set(i.map(r=>String(r.author))),v=await He.post(J("/displaynames"),{users:[...n]});for(const r of i){const l=v.data.users[r.author??""];l&&(r.authorName=l)}return i}catch(i){throw D.error("Could not fetch version",{exception:i}),i}}async function fi(e){try{D.debug("Restoring version",{url:e.url}),await U.moveFile(`/versions/${B()?.uid}/versions/${e.fileId}/${e.fileVersion}`,`/versions/${B()?.uid}/restore/target`)}catch(t){throw D.error("Could not restore version",{exception:t}),t}}function hi(e,t){const i=Date.parse(e.lastmod);let n;return i===t.mtime?.getTime()?n=J("/core/preview?fileId={fileId}&c={fileEtag}&x=250&y=250&forceIcon=0&a=0&forceIcon=1&mimeFallback=1",{fileId:t.id,fileEtag:t.attributes.etag}):n=J("/apps/files_versions/preview?file={file}&version={fileVersion}&mimeFallback=1",{file:t.path,fileVersion:e.basename}),{fileId:t.id,label:e.props["version-label"]?String(e.props["version-label"]):"",author:e.props["version-author"]?String(e.props["version-author"]):null,authorName:null,filename:e.filename,basename:new Date(i).toLocaleString([P(),P().split("-")[0]],{timeStyle:"long",dateStyle:"medium"}),mime:e.mime,etag:`${e.props.getetag}`,size:e.size,type:e.type,mtime:i,permissions:"R",previewUrl:n,url:re("/remote.php/dav",e.filename),source:se("dav")+ne(e.filename),fileVersion:e.basename}}async function gi(e,t){return await U.customRequest(e.filename,{method:"PROPPATCH",data:`<?xml version="1.0"?>
<d:propertyupdate xmlns:d="DAV:"
xmlns:oc="http://owncloud.org/ns"
xmlns:nc="http://nextcloud.org/ns"
@ -23,4 +23,4 @@ import{d as j,a as Y}from"./index-C1xmmKTZ-wrp6s74e.chunk.mjs";import{a as B,q a
</d:prop>
</d:set>
</d:propertyupdate>`})}async function bi(e){await U.deleteFile(e.filename)}const wi={key:0,class:"versions-tab__container"},yi=["aria-label"],Wi=O({__name:"FilesVersionsSidebarTab",props:{active:{type:Boolean},node:{},folder:{},view:{}},setup(e){const t=e,i=ae(),n=x([]),v=x(!1),r=x(!1),l=x(null);we(Ce(()=>t.node),async()=>{if(t.node)try{v.value=!0,n.value=await pi(t.node)}finally{v.value=!1}},{immediate:!0});const H=h(()=>t.node?.mtime?.getTime()??0),p=h(()=>[...n.value].sort((o,u)=>t.node?o.mtime===t.node.mtime?.getTime()?-1:u.mtime===t.node.mtime?.getTime()?1:u.mtime-o.mtime:0)),w=h(()=>[{key:"versions",rows:p.value.map(o=>({key:o.mtime.toString(),height:68,sectionKey:"versions",items:[{id:o.mtime.toString(),version:o}]})),height:68*p.value.length}]),s=h(()=>n.value.map(o=>o.mtime).reduce((o,u)=>Math.min(o,u))),k=h(()=>t.node?window.OCA.Viewer?.mimetypes?.includes(t.node?.mime):!1),A=h(()=>!i.value&&window.OCA.Viewer?.mimetypesCompare?.includes(t.node?.mime));async function z(o){if(!t.node)return;const u=t.node.clone();u.attributes.etag=o.etag,u.size=o.size,u.mtime=new Date(o.mtime);const g={preventDefault:!1,node:u,version:o};if(T("files_versions:restore:requested",g),!g.preventDefault)try{await fi(o),o.label?j(c("files_versions",`${o.label} restored`)):o.mtime===s.value?j(c("files_versions","Initial version restored")):j(c("files_versions","Version restored")),T("files:node:updated",u),T("files_versions:restore:restored",{node:u,version:o})}catch{Y(c("files_versions","Could not restore version")),T("files_versions:restore:failed",o)}}function F(o){r.value=!0,l.value=o}async function N(o){if(l.value===null)throw new Error("editedVersion should be set at that point");const u=l.value.label;l.value.label=o,r.value=!1;try{await gi(l.value,o),l.value=null}catch(g){l.value.label=u,Y(c("files_versions","Could not set version label")),D.error("Could not set version label",{exception:g})}}async function q(o){const u=n.value.indexOf(o);n.value.splice(u,1);try{await bi(o)}catch{n.value.push(o),Y(c("files_versions","Could not delete version"))}}function K(o){if(t.node!==null){if(o.mtime===t.node?.mtime?.getTime()){window.OCA.Viewer.open({path:t.node.path});return}window.OCA.Viewer.open({fileInfo:{...o,filename:o.filename,previewUrl:void 0},enableSidebar:!1})}}function W(o){const u=n.value.map(g=>({...g,previewUrl:void 0}));window.OCA.Viewer.compare({path:t.node.path},u.find(g=>g.source===o.source))}return(o,u)=>e.node?(a(),m("div",wi,[S(vi,{sections:w.value,headerHeight:0},{default:f(({visibleSections:g})=>[C("ul",{"aria-label":d(c)("files_versions","File versions"),"data-files-versions-versions-list":""},[g.length===1?(a(!0),m(ye,{key:0},_e(g[0].rows,L=>(a(),V(ni,{key:L.items[0].version.mtime,canView:k.value,canCompare:A.value,loadPreview:e.active,version:L.items[0].version,node:e.node,isCurrent:L.items[0].version.mtime===H.value,isFirstVersion:L.items[0].version.mtime===s.value,onClick:K,onCompare:W,onRestore:z,onLabelUpdateRequest:y=>F(L.items[0].version),onDelete:q},null,8,["canView","canCompare","loadPreview","version","node","isCurrent","isFirstVersion","onLabelUpdateRequest"]))),128)):b("",!0)],8,yi)]),loader:f(()=>[v.value?(a(),V(d(le),{key:0,class:"files-list-viewer__loader"})):b("",!0)]),_:1},8,["sections"]),l.value?(a(),V(li,{key:0,open:r.value,"onUpdate:open":u[0]||(u[0]=g=>r.value=g),label:l.value.label,"onUpdate:label":N},null,8,["open","label"])):b("",!0)])):b("",!0)}});export{Wi as default};
//# sourceMappingURL=FilesVersionsSidebarTab-0jkC71Jd.chunk.mjs.map
//# sourceMappingURL=FilesVersionsSidebarTab-0iHH_K8X.chunk.mjs.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -9,7 +9,7 @@ import{c as u}from"./index-DqG-5vGV.chunk.mjs";import{g as y,f as c,c as f}from"
<d:getetag />
<nc:color />
</d:prop>
</d:propfind>`;async function P(){const t="/systemtags";try{const{data:s}=await n.getDirectoryContents(t,{data:l,details:!0,glob:"/systemtags/*"});return p(s)}catch(s){throw r.error(o("systemtags","Failed to load tags"),{error:s}),new Error(o("systemtags","Failed to load tags"))}}async function D(t){const s="/systemtags/"+t;try{const{data:e}=await n.stat(s,{data:l,details:!0});return p([e])[0]}catch(e){throw r.error(o("systemtags","Failed to load tag"),{error:e}),new Error(o("systemtags","Failed to load tag"))}}async function C(t){const s="/systemtags",e=v(t);try{const{headers:a}=await n.customRequest(s,{method:"POST",data:e}),i=a.get("content-location");if(i)return c("systemtags:tag:created",t),w(i);throw r.error(o("systemtags",'Missing "Content-Location" header')),new Error(o("systemtags",'Missing "Content-Location" header'))}catch(a){throw a?.response?.status===409?(r.error(o("systemtags","A tag with the same name already exists"),{error:a}),new Error(o("systemtags","A tag with the same name already exists"))):(r.error(o("systemtags","Failed to create tag"),{error:a}),new Error(o("systemtags","Failed to create tag")))}}async function R(t){const s="/systemtags/"+t.id,e=`<?xml version="1.0"?>
</d:propfind>`;async function P(){const t="/systemtags";try{const{data:s}=await n.getDirectoryContents(t,{data:l,details:!0,glob:"/systemtags/*"});return p(s)}catch(s){throw r.error(o("systemtags","Failed to load tags"),{error:s}),new Error(o("systemtags","Failed to load tags"),{cause:s})}}async function D(t){const s="/systemtags/"+t;try{const{data:e}=await n.stat(s,{data:l,details:!0});return p([e])[0]}catch(e){throw r.error(o("systemtags","Failed to load tag"),{error:e}),new Error(o("systemtags","Failed to load tag"),{cause:e})}}async function C(t){const s="/systemtags",e=v(t);try{const{headers:a}=await n.customRequest(s,{method:"POST",data:e}),i=a.get("content-location");if(i)return c("systemtags:tag:created",t),w(i);throw r.error(o("systemtags",'Missing "Content-Location" header')),new Error(o("systemtags",'Missing "Content-Location" header'))}catch(a){throw a?.response?.status===409?(r.error(o("systemtags","A tag with the same name already exists"),{error:a}),new Error(o("systemtags","A tag with the same name already exists"),{cause:a})):(r.error(o("systemtags","Failed to create tag"),{error:a}),new Error(o("systemtags","Failed to create tag"),{cause:a}))}}async function R(t){const s="/systemtags/"+t.id,e=`<?xml version="1.0"?>
<d:propertyupdate xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
<d:set>
<d:prop>
@ -19,7 +19,7 @@ import{c as u}from"./index-DqG-5vGV.chunk.mjs";import{g as y,f as c,c as f}from"
<nc:color>${t?.color||null}</nc:color>
</d:prop>
</d:set>
</d:propertyupdate>`;try{await n.customRequest(s,{method:"PROPPATCH",data:e}),c("systemtags:tag:updated",t)}catch(a){throw r.error(o("systemtags","Failed to update tag"),{error:a}),new Error(o("systemtags","Failed to update tag"))}}async function T(t){const s="/systemtags/"+t.id;try{await n.deleteFile(s),c("systemtags:tag:deleted",t)}catch(e){throw r.error(o("systemtags","Failed to delete tag"),{error:e}),new Error(o("systemtags","Failed to delete tag"))}}async function _(t,s){const e=`/systemtags/${t.id}/${s}`,a=await n.stat(e,{data:`<?xml version="1.0"?>
</d:propertyupdate>`;try{await n.customRequest(s,{method:"PROPPATCH",data:e}),c("systemtags:tag:updated",t)}catch(a){throw r.error(o("systemtags","Failed to update tag"),{error:a}),new Error(o("systemtags","Failed to update tag"),{cause:a})}}async function T(t){const s="/systemtags/"+t.id;try{await n.deleteFile(s),c("systemtags:tag:deleted",t)}catch(e){throw r.error(o("systemtags","Failed to delete tag"),{error:e}),new Error(o("systemtags","Failed to delete tag"),{cause:e})}}async function _(t,s){const e=`/systemtags/${t.id}/${s}`,a=await n.stat(e,{data:`<?xml version="1.0"?>
<d:propfind xmlns:d="DAV:" xmlns:nc="http://nextcloud.org/ns">
<d:prop>
<nc:object-ids />
@ -40,4 +40,4 @@ import{c as u}from"./index-DqG-5vGV.chunk.mjs";import{g as y,f as c,c as f}from"
</d:prop>
</d:remove>
</d:propertyupdate>`),await n.customRequest(i,{method:"PROPPATCH",data:d,headers:{"if-match":a}})}async function k(t){const s=t?"1":"0",e=f("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"systemtags",key:"restrict_creation_to_admin"});await h();const{data:a}=await u.post(e,{value:s});return a}export{T as a,k as b,C as c,O as d,V as e,P as f,_ as g,N as h,D as i,r as l,q as s,R as u};
//# sourceMappingURL=api-Ccvyb__w.chunk.mjs.map
//# sourceMappingURL=api-C5oKydJ-.chunk.mjs.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
.absence[data-v-272f0392]{display:flex;flex-direction:column;gap:5px}.absence__dates[data-v-272f0392]{display:flex;gap:10px;width:100%}.absence__dates__picker[data-v-272f0392]{flex:1 auto}.absence__dates__picker[data-v-272f0392] .native-datetime-picker--input{margin-bottom:0}.absence__buttons[data-v-272f0392]{display:flex;gap:5px}.availability-day[data-v-3ef03e87]{padding:0 10px;position:absolute}.availability-slots[data-v-3ef03e87]{max-width:332px;width:100%;display:flex;justify-content:flex-start;white-space:nowrap}.availability-slot[data-v-3ef03e87]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-3ef03e87]{display:flex;flex-direction:column}.time-zone[data-v-3ef03e87]{padding:32px 12px 12px 0}.week-day-container[data-v-3ef03e87]{box-sizing:border-box;margin-bottom:32px;max-width:500px;width:100%;display:flex;flex-direction:column;align-items:flex-start}.button[data-v-3ef03e87]{align-self:flex-end}.label-weekday[data-v-3ef03e87]{position:relative;display:flex;align-items:flex-start;min-width:77px;width:77px}.label-weekday>span[data-v-3ef03e87]{height:50px;display:flex;align-items:center}.add-another[data-v-3ef03e87]{background-color:transparent;border:none;opacity:.5;display:inline-flex;padding:0;margin:0 0 3px}.add-another[data-v-3ef03e87]:hover{opacity:1}.to-text[data-v-3ef03e87]{padding-right:12px}.time-zone-text[data-v-3ef03e87]{padding-left:22px}.empty-content[data-v-3ef03e87]{color:var(--color-text-lighter);display:inline-flex;align-items:center}.start-date[data-v-3ef03e87]{padding-right:12px}.day-container[data-v-3ef03e87]{display:flex;max-width:500px;width:100%;gap:24px;border-top:1px solid var(--color-border);padding-top:calc(3 * var(--default-grid-baseline));margin-top:calc(2 * var(--default-grid-baseline));align-items:center}.day-container>button[data-v-3ef03e87]{align-self:center}[data-v-3ad7b763] .availability-day{padding:0 10px;position:absolute}[data-v-3ad7b763] .availability-slots{display:flex;white-space:normal}[data-v-3ad7b763] .availability-slot{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}[data-v-3ad7b763] .availability-slot-group{display:flex;flex-direction:column}[data-v-3ad7b763] .mx-input-wrapper{width:85px}[data-v-3ad7b763] .mx-datepicker{width:97px}.time-zone[data-v-3ad7b763]{padding-block:32px 12px;padding-inline:0 12px;display:flex;flex-wrap:wrap}.time-zone__heading[data-v-3ad7b763]{margin-inline-end:calc(var(--default-grid-baseline) * 2);line-height:var(--default-clickable-area);font-weight:700}.grid-table[data-v-3ad7b763]{display:grid;margin-bottom:32px;column-gap:24px;row-gap:6px;grid-template-columns:min-content auto min-content;max-width:500px}.button[data-v-3ad7b763]{align-self:flex-end}[data-v-3ad7b763] .label-weekday{position:relative;display:inline-flex;padding-top:4px;align-self:center}[data-v-3ad7b763] .delete-slot{padding-bottom:unset}[data-v-3ad7b763] .add-another{align-self:center}.to-text[data-v-3ad7b763]{padding-inline-end:12px}.empty-content[data-v-3ad7b763]{align-self:center;color:var(--color-text-maxcontrast);margin-block-start:var(--default-grid-baseline)}
.absence[data-v-874ddb72]{display:flex;flex-direction:column;gap:5px}.absence__dates[data-v-874ddb72]{display:flex;gap:10px;width:100%}.absence__dates__picker[data-v-874ddb72]{flex:1 auto}.absence__dates__picker[data-v-874ddb72] .native-datetime-picker--input{margin-bottom:0}.absence__buttons[data-v-874ddb72]{display:flex;gap:5px}.availability-day[data-v-3ef03e87]{padding:0 10px;position:absolute}.availability-slots[data-v-3ef03e87]{max-width:332px;width:100%;display:flex;justify-content:flex-start;white-space:nowrap}.availability-slot[data-v-3ef03e87]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-3ef03e87]{display:flex;flex-direction:column}.time-zone[data-v-3ef03e87]{padding:32px 12px 12px 0}.week-day-container[data-v-3ef03e87]{box-sizing:border-box;margin-bottom:32px;max-width:500px;width:100%;display:flex;flex-direction:column;align-items:flex-start}.button[data-v-3ef03e87]{align-self:flex-end}.label-weekday[data-v-3ef03e87]{position:relative;display:flex;align-items:flex-start;min-width:77px;width:77px}.label-weekday>span[data-v-3ef03e87]{height:50px;display:flex;align-items:center}.add-another[data-v-3ef03e87]{background-color:transparent;border:none;opacity:.5;display:inline-flex;padding:0;margin:0 0 3px}.add-another[data-v-3ef03e87]:hover{opacity:1}.to-text[data-v-3ef03e87]{padding-right:12px}.time-zone-text[data-v-3ef03e87]{padding-left:22px}.empty-content[data-v-3ef03e87]{color:var(--color-text-lighter);display:inline-flex;align-items:center}.start-date[data-v-3ef03e87]{padding-right:12px}.day-container[data-v-3ef03e87]{display:flex;max-width:500px;width:100%;gap:24px;border-top:1px solid var(--color-border);padding-top:calc(3 * var(--default-grid-baseline));margin-top:calc(2 * var(--default-grid-baseline));align-items:center}.day-container>button[data-v-3ef03e87]{align-self:center}[data-v-3ad7b763] .availability-day{padding:0 10px;position:absolute}[data-v-3ad7b763] .availability-slots{display:flex;white-space:normal}[data-v-3ad7b763] .availability-slot{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}[data-v-3ad7b763] .availability-slot-group{display:flex;flex-direction:column}[data-v-3ad7b763] .mx-input-wrapper{width:85px}[data-v-3ad7b763] .mx-datepicker{width:97px}.time-zone[data-v-3ad7b763]{padding-block:32px 12px;padding-inline:0 12px;display:flex;flex-wrap:wrap}.time-zone__heading[data-v-3ad7b763]{margin-inline-end:calc(var(--default-grid-baseline) * 2);line-height:var(--default-clickable-area);font-weight:700}.grid-table[data-v-3ad7b763]{display:grid;margin-bottom:32px;column-gap:24px;row-gap:6px;grid-template-columns:min-content auto min-content;max-width:500px}.button[data-v-3ad7b763]{align-self:flex-end}[data-v-3ad7b763] .label-weekday{position:relative;display:inline-flex;padding-top:4px;align-self:center}[data-v-3ad7b763] .delete-slot{padding-bottom:unset}[data-v-3ad7b763] .add-another{align-self:center}.to-text[data-v-3ad7b763]{padding-inline-end:12px}.empty-content[data-v-3ad7b763]{align-self:center;color:var(--color-text-maxcontrast);margin-block-start:var(--default-grid-baseline)}

@ -1,5 +1,5 @@
/* extracted by css-entry-points-plugin */
@import './dav-dav-settings-personal-availability-qiHUaXbZ.chunk.css';
@import './dav-dav-settings-personal-availability-BkmjGVZw.chunk.css';
@import './NcIconSvgWrapper-De-2-ukl-C_oBIsvc.chunk.css';
@import './ContentCopy-D7mIRwIy.chunk.css';
@import './mdi-D7L4ZBkR.chunk.css';

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/FilesVersionsSidebarTab-0jkC71Jd.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-wrp6s74e.chunk.mjs'),window.OC.filePath('', '', 'dist/preload-helper-D9xEqq8S.chunk.mjs'),window.OC.filePath('', '', 'dist/NcDialog-nDc1gW50-CemQ38cj.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-CFwrTiPT.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BF7eC8Q9.chunk.mjs'),window.OC.filePath('', '', 'dist/NcIconSvgWrapper-De-2-ukl-B6qQ4Ht8.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-8aobdbPK.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Bp9-GhMo.chunk.mjs'),window.OC.filePath('', '', 'dist/NcIconSvgWrapper-De-2-ukl-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/public-CvthP4YJ.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-DgqchLjq.chunk.css'),window.OC.filePath('', '', 'dist/Web-ntlQm11c.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/NcDialog-nDc1gW50-DYA_tnKg.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DM-940fB.chunk.mjs'),window.OC.filePath('', '', 'dist/TrashCanOutline-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-D_p0eG38.chunk.mjs'),window.OC.filePath('', '', 'dist/folder-29HuacU_-GslSi8fz.chunk.mjs'),window.OC.filePath('', '', 'dist/util-Caafb9Jl.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-8OpTcQyK.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-CsIYVxdu.chunk.mjs'),window.OC.filePath('', '', 'dist/NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-oj3i3QJl.chunk.mjs'),window.OC.filePath('', '', 'dist/index-DqG-5vGV.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-BfjxNgsx-DsyJhBit.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-B7UWORGO.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-CVm1ngoc.chunk.css'),window.OC.filePath('', '', 'dist/TrayArrowDown-CC8Bngso.chunk.mjs'),window.OC.filePath('', '', 'dist/TrayArrowDown-D79n0IQ6.chunk.css'),window.OC.filePath('', '', 'dist/NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-2kJ5jYaj.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-BAJHUAoH.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-Bsffit-T.chunk.css'),window.OC.filePath('', '', 'dist/dav-Bv_kKKqR.chunk.mjs'),window.OC.filePath('', '', 'dist/index-6X1fPKhd.chunk.mjs'),window.OC.filePath('', '', 'dist/files_versions-FilesVersionsSidebarTab-Cjl2hr1y.chunk.css')])))=>i.map(i=>d[i]);
import{d as i,a as r,_ as e}from"./preload-helper-D9xEqq8S.chunk.mjs";import{r as t}from"./index-D_p0eG38.chunk.mjs";import{t as m}from"./translation-DoG5ZELJ-8aobdbPK.chunk.mjs";import{i as n}from"./public-CvthP4YJ.chunk.mjs";import{F as a}from"./folder-29HuacU_-GslSi8fz.chunk.mjs";import"./index-Bp9-GhMo.chunk.mjs";import"./util-Caafb9Jl.chunk.mjs";const d='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-backup-restore" viewBox="0 0 24 24"><path d="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z" /></svg>',s="files-versions_sidebar-tab";t({id:"files_versions",tagName:s,order:90,displayName:m("files_versions","Versions"),iconSvgInline:d,enabled({node:o}){return!(n()||o.type!==a.File)},async onInit(){const o=r(()=>e(()=>import("./FilesVersionsSidebarTab-0jkC71Jd.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38]),import.meta.url));window.customElements.define(s,i(o,{shadowRoot:!1}))}});
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/FilesVersionsSidebarTab-0iHH_K8X.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-wrp6s74e.chunk.mjs'),window.OC.filePath('', '', 'dist/preload-helper-D9xEqq8S.chunk.mjs'),window.OC.filePath('', '', 'dist/NcDialog-nDc1gW50-CemQ38cj.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-CFwrTiPT.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BF7eC8Q9.chunk.mjs'),window.OC.filePath('', '', 'dist/NcIconSvgWrapper-De-2-ukl-B6qQ4Ht8.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-8aobdbPK.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Bp9-GhMo.chunk.mjs'),window.OC.filePath('', '', 'dist/NcIconSvgWrapper-De-2-ukl-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/public-CvthP4YJ.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-DgqchLjq.chunk.css'),window.OC.filePath('', '', 'dist/Web-ntlQm11c.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/NcDialog-nDc1gW50-DYA_tnKg.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DM-940fB.chunk.mjs'),window.OC.filePath('', '', 'dist/TrashCanOutline-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-D_p0eG38.chunk.mjs'),window.OC.filePath('', '', 'dist/folder-29HuacU_-GslSi8fz.chunk.mjs'),window.OC.filePath('', '', 'dist/util-Caafb9Jl.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-8OpTcQyK.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-CsIYVxdu.chunk.mjs'),window.OC.filePath('', '', 'dist/NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-oj3i3QJl.chunk.mjs'),window.OC.filePath('', '', 'dist/index-DqG-5vGV.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-BfjxNgsx-DsyJhBit.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-B7UWORGO.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-CVm1ngoc.chunk.css'),window.OC.filePath('', '', 'dist/TrayArrowDown-CC8Bngso.chunk.mjs'),window.OC.filePath('', '', 'dist/TrayArrowDown-D79n0IQ6.chunk.css'),window.OC.filePath('', '', 'dist/NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-2kJ5jYaj.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-BAJHUAoH.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-Bsffit-T.chunk.css'),window.OC.filePath('', '', 'dist/dav-Bv_kKKqR.chunk.mjs'),window.OC.filePath('', '', 'dist/index-6X1fPKhd.chunk.mjs'),window.OC.filePath('', '', 'dist/files_versions-FilesVersionsSidebarTab-Cjl2hr1y.chunk.css')])))=>i.map(i=>d[i]);
import{d as i,a as r,_ as e}from"./preload-helper-D9xEqq8S.chunk.mjs";import{r as t}from"./index-D_p0eG38.chunk.mjs";import{t as m}from"./translation-DoG5ZELJ-8aobdbPK.chunk.mjs";import{i as n}from"./public-CvthP4YJ.chunk.mjs";import{F as a}from"./folder-29HuacU_-GslSi8fz.chunk.mjs";import"./index-Bp9-GhMo.chunk.mjs";import"./util-Caafb9Jl.chunk.mjs";const d='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-backup-restore" viewBox="0 0 24 24"><path d="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z" /></svg>',s="files-versions_sidebar-tab";t({id:"files_versions",tagName:s,order:90,displayName:m("files_versions","Versions"),iconSvgInline:d,enabled({node:o}){return!(n()||o.type!==a.File)},async onInit(){const o=r(()=>e(()=>import("./FilesVersionsSidebarTab-0iHH_K8X.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38]),import.meta.url));window.customElements.define(s,i(o,{shadowRoot:!1}))}});
//# sourceMappingURL=files_versions-sidebar-tab.mjs.map

@ -31,7 +31,7 @@ This file is generated from multiple sources. Included packages:
- version: 3.0.0
- license: MIT
- semver
- version: 7.7.3
- version: 7.7.4
- license: ISC
- vite
- version: 7.3.2

File diff suppressed because one or more lines are too long

@ -31,7 +31,7 @@ This file is generated from multiple sources. Included packages:
- version: 3.0.0
- license: MIT
- semver
- version: 7.7.3
- version: 7.7.4
- license: ISC
- vite
- version: 7.3.2

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

779
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -69,7 +69,7 @@
"devDependencies": {
"@nextcloud/browserslist-config": "^3.1.2",
"@nextcloud/e2e-test-server": "^0.4.0",
"@nextcloud/eslint-config": "^9.0.0-rc.8",
"@nextcloud/eslint-config": "^9.0.0-rc.9",
"@nextcloud/stylelint-config": "^3.2.1",
"@nextcloud/typings": "^1.10.0",
"@nextcloud/vite-config": "^2.5.2",
@ -88,8 +88,8 @@
"cypress-split": "^1.24.31",
"cypress-vite": "^1.8.0",
"cypress-wait-until": "^3.0.2",
"eslint": "^9.39.2",
"eslint-plugin-cypress": "^6.2.0",
"eslint": "^10.2.1",
"eslint-plugin-cypress": "^6.3.1",
"eslint-plugin-no-only-tests": "^3.3.0",
"is-svg": "^6.1.0",
"jsdom": "^29.0.1",

Loading…
Cancel
Save