mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #59700 from nextcloud/dependabot/npm_and_yarn/stable33/nextcloud/eslint-config-9.0.0-rc.9
[stable33] chore(deps-dev): Bump @nextcloud/eslint-config from 9.0.0-rc.8 to 9.0.0-rc.9
This commit is contained in:
commit
75b03ff5be
61 changed files with 490 additions and 509 deletions
|
|
@ -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
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -510,7 +510,7 @@ const Dialogs = {
|
|||
for (let j = 0; j < H2; j++) {
|
||||
for (let i = 0; i < W2; i++) {
|
||||
const x2 = (i + j * W2) * 4
|
||||
let weight = 0
|
||||
let weight
|
||||
let weights = 0
|
||||
let weights_alpha = 0
|
||||
let gx_r = 0
|
||||
|
|
|
|||
|
|
@ -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,10 +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 */
|
||||
// END TODO
|
||||
import Backbone from 'backbone'
|
||||
import ClipboardJS from 'clipboard'
|
||||
import { dav } from 'davclient.js'
|
||||
|
|
@ -43,9 +42,9 @@ function warnIfNotTesting() {
|
|||
* Mark a function as deprecated and automatically
|
||||
* warn if used!
|
||||
*
|
||||
* @param {Function} func the library to deprecate
|
||||
* @param {string} funcName the name of the library
|
||||
* @param {number} version the version this gets removed
|
||||
* @param {Function} func - The library to deprecate
|
||||
* @param {string} funcName - The name of the library
|
||||
* @param {number} version - The version this gets removed
|
||||
* @return {Function}
|
||||
*/
|
||||
function deprecate(func, funcName, version) {
|
||||
|
|
@ -59,10 +58,11 @@ function deprecate(func, funcName, version) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Mark a global variable as deprecated and automatically
|
||||
*
|
||||
* @param global
|
||||
* @param cb
|
||||
* @param msg
|
||||
* @param global - the global variable to deprecate, can be a string or an array of strings
|
||||
* @param cb - a callback that returns the value of the global variable, this is needed to avoid circular dependencies
|
||||
* @param msg - an optional message to show in the warning, e.g. to suggest an alternative, this will be appended to the default warning message
|
||||
*/
|
||||
function setDeprecatedProp(global, cb, msg) {
|
||||
(Array.isArray(global) ? global : [global]).forEach((global) => {
|
||||
|
|
|
|||
5
core/src/jquery/ocdialog.js
vendored
5
core/src/jquery/ocdialog.js
vendored
|
|
@ -207,11 +207,6 @@ $.widget('oc.ocdialog', {
|
|||
}
|
||||
|
||||
const self = this
|
||||
let contentDiv = $('#content')
|
||||
if (contentDiv.length === 0) {
|
||||
// nextcloud-vue compatibility
|
||||
contentDiv = $('.content')
|
||||
}
|
||||
this.overlay = $('<div>')
|
||||
.addClass('oc-dialog-dim')
|
||||
.insertBefore(this.$dialog)
|
||||
|
|
|
|||
|
|
@ -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/6775-6775.js
vendored
Normal file
2
dist/6775-6775.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/6775-6775.js.map
vendored
Normal file
1
dist/6775-6775.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/6775-6775.js.map.license
vendored
Symbolic link
1
dist/6775-6775.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
6775-6775.js.license
|
||||
2
dist/6984-6984.js
vendored
2
dist/6984-6984.js
vendored
File diff suppressed because one or more lines are too long
1
dist/6984-6984.js.map
vendored
1
dist/6984-6984.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/6984-6984.js.map.license
vendored
1
dist/6984-6984.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
6984-6984.js.license
|
||||
|
|
@ -12,7 +12,7 @@ import{d as j,a as Y}from"./index-C1xmmKTZ-B0K6WZvT.chunk.mjs";import{a as O,g a
|
|||
<nc:version-author />
|
||||
<nc:has-preview />
|
||||
</d:prop>
|
||||
</d:propfind>`,U=ze();async function pi(e){const t=`/versions/${O()?.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/${O()?.uid}/versions/${e.fileId}/${e.fileVersion}`,`/versions/${O()?.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:le("/remote.php/dav",e.filename),source:ue("dav")+ce(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=ze();async function pi(e){const t=`/versions/${O()?.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/${O()?.uid}/versions/${e.fileId}/${e.fileVersion}`,`/versions/${O()?.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:le("/remote.php/dav",e.filename),source:ue("dav")+ce(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-B0K6WZvT.chunk.mjs";import{a as O,g 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"],Ki=R({__name:"FilesVersionsSidebarTab",props:{active:{type:Boolean},node:{},folder:{},view:{}},setup(e){const t=e,i=se(),n=A([]),v=A(!1),r=A(!1),l=A(null);ye(_e(()=>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),z=h(()=>!i.value&&window.OCA.Viewer?.mimetypesCompare?.includes(t.node?.mime));async function L(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(I("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")),I("files:node:updated",u),I("files_versions:restore:restored",{node:u,version:o})}catch{Y(c("files_versions","Could not restore version")),I("files_versions:restore:failed",o)}}function F(o){r.value=!0,l.value=o}async function T(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(Ce,{key:0},ke(g[0].rows,$=>(a(),V(ni,{key:$.items[0].version.mtime,canView:k.value,canCompare:z.value,loadPreview:e.active,version:$.items[0].version,node:e.node,isCurrent:$.items[0].version.mtime===H.value,isFirstVersion:$.items[0].version.mtime===s.value,onClick:K,onCompare:W,onRestore:L,onLabelUpdateRequest:y=>F($.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(ne),{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":T},null,8,["open","label"])):b("",!0)])):b("",!0)}});export{Ki as default};
|
||||
//# sourceMappingURL=FilesVersionsSidebarTab-Cs7hmg7E.chunk.mjs.map
|
||||
//# sourceMappingURL=FilesVersionsSidebarTab-D9OwJdwP.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
1
dist/api-39Z_dRpm.chunk.mjs.map
vendored
1
dist/api-39Z_dRpm.chunk.mjs.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -9,7 +9,7 @@ import{c as u}from"./index-CSlgVGOl.chunk.mjs";import{g as y,e as c}from"./index
|
|||
<d:getetag />
|
||||
<nc:color />
|
||||
</d:prop>
|
||||
</d:propfind>`;async function D(){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 C(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 R(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 T(t){const s="/systemtags/"+t.id,e=`<?xml version="1.0"?>
|
||||
</d:propfind>`;async function D(){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 C(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 R(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 T(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-CSlgVGOl.chunk.mjs";import{g as y,e as c}from"./index
|
|||
<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){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 q(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){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 q(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-CSlgVGOl.chunk.mjs";import{g as y,e as c}from"./index
|
|||
</d:prop>
|
||||
</d:remove>
|
||||
</d:propertyupdate>`),await n.customRequest(i,{method:"PROPPATCH",data:d,headers:{"if-match":a}})}async function H(t){const s=t?"1":"0",e=h("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"systemtags",key:"restrict_creation_to_admin"});await f();const{data:a}=await u.post(e,{value:s});return a}export{_ as a,H as b,R as c,V as d,N as e,D as f,q as g,P as h,C as i,r as l,k as s,T as u};
|
||||
//# sourceMappingURL=api-39Z_dRpm.chunk.mjs.map
|
||||
//# sourceMappingURL=api-CDZNaaKR.chunk.mjs.map
|
||||
1
dist/api-CDZNaaKR.chunk.mjs.map
vendored
Normal file
1
dist/api-CDZNaaKR.chunk.mjs.map
vendored
Normal file
File diff suppressed because one or more lines are too long
4
dist/core-login.js
vendored
4
dist/core-login.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-login.js.map
vendored
2
dist/core-login.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
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)}
|
||||
2
dist/dav-settings-personal-availability.css
vendored
2
dist/dav-settings-personal-availability.css
vendored
|
|
@ -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 './createElementId-DhjFt1I9-C_oBIsvc.chunk.css';
|
||||
@import './ContentCopy-D7mIRwIy.chunk.css';
|
||||
@import './logger-D3RVzcfQ-D7L4ZBkR.chunk.css';
|
||||
|
|
|
|||
2
dist/dav-settings-personal-availability.mjs
vendored
2
dist/dav-settings-personal-availability.mjs
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_versions-sidebar-tab.mjs
vendored
4
dist/files_versions-sidebar-tab.mjs
vendored
|
|
@ -1,3 +1,3 @@
|
|||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/FilesVersionsSidebarTab-Cs7hmg7E.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-B0K6WZvT.chunk.mjs'),window.OC.filePath('', '', 'dist/index-BgmsSgl5.chunk.mjs'),window.OC.filePath('', '', 'dist/index-dyVhIAgS.chunk.mjs'),window.OC.filePath('', '', 'dist/runtime-dom.esm-bundler-B7qd-bQ6.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-DNS0IeQV.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-XUrtIRvk.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Bndk0DrU.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-DMQGvog-.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/mdi-Ci1E3Cqu.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/index-C7zIC0mE.chunk.css'),window.OC.filePath('', '', 'dist/NcNoteCard-CWiO3Dse-6Xt25E8q.chunk.mjs'),window.OC.filePath('', '', 'dist/NcNoteCard-CWiO3Dse-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-Dc3d5j6o.chunk.mjs'),window.OC.filePath('', '', 'dist/folder-29HuacU_-DcJI3kE4.chunk.mjs'),window.OC.filePath('', '', 'dist/index-sH3U_332.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-Cl1SkJ0C.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-DllhCrmw.chunk.mjs'),window.OC.filePath('', '', 'dist/NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-BQJxkj0G.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CSlgVGOl.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-BfjxNgsx-w424rifI.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-C_uB9Nst.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-D_G6wUEW.chunk.css'),window.OC.filePath('', '', 'dist/TrayArrowDown-DOuMsI0Q.chunk.mjs'),window.OC.filePath('', '', 'dist/TrayArrowDown-D79n0IQ6.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-ClRnWKsJ.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-CXr3sWkc.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-Bsffit-T.chunk.css'),window.OC.filePath('', '', 'dist/dav-pWWBXMOJ.chunk.mjs'),window.OC.filePath('', '', 'dist/index-WNohR5U2.chunk.mjs'),window.OC.filePath('', '', 'dist/files_versions-FilesVersionsSidebarTab-Cjl2hr1y.chunk.css')])))=>i.map(i=>d[i]);
|
||||
import{i as s,_ as e}from"./index-BgmsSgl5.chunk.mjs";import{r}from"./index-Dc3d5j6o.chunk.mjs";import{t}from"./translation-DoG5ZELJ-XUrtIRvk.chunk.mjs";import{d as m,a as n}from"./runtime-dom.esm-bundler-B7qd-bQ6.chunk.mjs";import{F as a}from"./folder-29HuacU_-DcJI3kE4.chunk.mjs";import"./index-Bndk0DrU.chunk.mjs";import"./index-sH3U_332.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>',i="files-versions_sidebar-tab";r({id:"files_versions",tagName:i,order:90,displayName:t("files_versions","Versions"),iconSvgInline:d,enabled({node:o}){return!(s()||o.type!==a.File)},async onInit(){const o=n(()=>e(()=>import("./FilesVersionsSidebarTab-Cs7hmg7E.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]),import.meta.url));window.customElements.define(i,m(o,{shadowRoot:!1}))}});
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/FilesVersionsSidebarTab-D9OwJdwP.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-B0K6WZvT.chunk.mjs'),window.OC.filePath('', '', 'dist/index-BgmsSgl5.chunk.mjs'),window.OC.filePath('', '', 'dist/index-dyVhIAgS.chunk.mjs'),window.OC.filePath('', '', 'dist/runtime-dom.esm-bundler-B7qd-bQ6.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-DNS0IeQV.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-XUrtIRvk.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Bndk0DrU.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-DMQGvog-.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/mdi-Ci1E3Cqu.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/index-C7zIC0mE.chunk.css'),window.OC.filePath('', '', 'dist/NcNoteCard-CWiO3Dse-6Xt25E8q.chunk.mjs'),window.OC.filePath('', '', 'dist/NcNoteCard-CWiO3Dse-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-Dc3d5j6o.chunk.mjs'),window.OC.filePath('', '', 'dist/folder-29HuacU_-DcJI3kE4.chunk.mjs'),window.OC.filePath('', '', 'dist/index-sH3U_332.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-Cl1SkJ0C.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-DllhCrmw.chunk.mjs'),window.OC.filePath('', '', 'dist/NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-BQJxkj0G.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CSlgVGOl.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-BfjxNgsx-w424rifI.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-C_uB9Nst.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-D_G6wUEW.chunk.css'),window.OC.filePath('', '', 'dist/TrayArrowDown-DOuMsI0Q.chunk.mjs'),window.OC.filePath('', '', 'dist/TrayArrowDown-D79n0IQ6.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-ClRnWKsJ.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-CXr3sWkc.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-Bsffit-T.chunk.css'),window.OC.filePath('', '', 'dist/dav-pWWBXMOJ.chunk.mjs'),window.OC.filePath('', '', 'dist/index-WNohR5U2.chunk.mjs'),window.OC.filePath('', '', 'dist/files_versions-FilesVersionsSidebarTab-Cjl2hr1y.chunk.css')])))=>i.map(i=>d[i]);
|
||||
import{i as s,_ as e}from"./index-BgmsSgl5.chunk.mjs";import{r}from"./index-Dc3d5j6o.chunk.mjs";import{t}from"./translation-DoG5ZELJ-XUrtIRvk.chunk.mjs";import{d as m,a as n}from"./runtime-dom.esm-bundler-B7qd-bQ6.chunk.mjs";import{F as a}from"./folder-29HuacU_-DcJI3kE4.chunk.mjs";import"./index-Bndk0DrU.chunk.mjs";import"./index-sH3U_332.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>',i="files-versions_sidebar-tab";r({id:"files_versions",tagName:i,order:90,displayName:t("files_versions","Versions"),iconSvgInline:d,enabled({node:o}){return!(s()||o.type!==a.File)},async onInit(){const o=n(()=>e(()=>import("./FilesVersionsSidebarTab-D9OwJdwP.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]),import.meta.url));window.customElements.define(i,m(o,{shadowRoot:!1}))}});
|
||||
//# sourceMappingURL=files_versions-sidebar-tab.mjs.map
|
||||
|
|
|
|||
2
dist/index-Bndk0DrU.chunk.mjs.license
vendored
2
dist/index-Bndk0DrU.chunk.mjs.license
vendored
|
|
@ -25,7 +25,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
|
||||
|
|
|
|||
2
dist/index-Bndk0DrU.chunk.mjs.map
vendored
2
dist/index-Bndk0DrU.chunk.mjs.map
vendored
File diff suppressed because one or more lines are too long
2
dist/index-Bndk0DrU.chunk.mjs.map.license
vendored
2
dist/index-Bndk0DrU.chunk.mjs.map.license
vendored
|
|
@ -25,7 +25,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
2
dist/systemtags-admin.mjs
vendored
2
dist/systemtags-admin.mjs
vendored
File diff suppressed because one or more lines are too long
4
dist/systemtags-init.mjs
vendored
4
dist/systemtags-init.mjs
vendored
File diff suppressed because one or more lines are too long
780
package-lock.json
generated
780
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.4",
|
||||
"eslint-plugin-cypress": "^5.3.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": "^27.4.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue