mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge branch 'master' into fix/57669/show-theming-image-upload-errors
Signed-off-by: Cristian Scheid <74515775+cristianscheid@users.noreply.github.com>
This commit is contained in:
commit
8a703c95ec
380 changed files with 953 additions and 703 deletions
|
|
@ -35,7 +35,7 @@ addPasswordConfirmationInterceptors(axios)
|
|||
async function setCredentials(node: INode, login: string, password: string): Promise<null | true> {
|
||||
const configResponse = await axios.request({
|
||||
method: 'PUT',
|
||||
url: generateUrl('apps/files_external/userglobalstorages/{id}', { id: node.attributes.id }),
|
||||
url: generateUrl('apps/files_external/userglobalstorages/{id}', { id: node.id }),
|
||||
confirmPassword: PwdConfirmationMode.Strict,
|
||||
data: {
|
||||
backendOptions: { user: login, password },
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ export const action: IFileAction = {
|
|||
|
||||
let config: IStorage | undefined
|
||||
try {
|
||||
const { data } = await getStatus(node.attributes.id, node.attributes.scope === 'system')
|
||||
const { data } = await getStatus(node.id, node.attributes.scope === 'system')
|
||||
config = data
|
||||
node.attributes.config = config
|
||||
emit('files:node:updated', node)
|
||||
|
|
|
|||
|
|
@ -144,13 +144,12 @@ describe('Accept share action execute tests', () => {
|
|||
vi.spyOn(eventBus, 'emit')
|
||||
|
||||
const file = new File({
|
||||
id: 1,
|
||||
id: 123,
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foobar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
|
|
@ -176,13 +175,12 @@ describe('Accept share action execute tests', () => {
|
|||
vi.spyOn(eventBus, 'emit')
|
||||
|
||||
const file = new File({
|
||||
id: 1,
|
||||
id: 123,
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foobar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
remote: 3,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
|
|
@ -209,26 +207,24 @@ describe('Accept share action execute tests', () => {
|
|||
vi.spyOn(eventBus, 'emit')
|
||||
|
||||
const file1 = new File({
|
||||
id: 1,
|
||||
id: 123,
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foo.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
})
|
||||
|
||||
const file2 = new File({
|
||||
id: 2,
|
||||
id: 456,
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/bar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 456,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
|
|
@ -257,13 +253,12 @@ describe('Accept share action execute tests', () => {
|
|||
})
|
||||
|
||||
const file = new File({
|
||||
id: 1,
|
||||
id: 123,
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foobar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ export const action: IFileAction = {
|
|||
const isRemote = !!node.attributes.remote
|
||||
const url = generateOcsUrl('apps/files_sharing/api/v1/{shareBase}/pending/{id}', {
|
||||
shareBase: isRemote ? 'remote_shares' : 'shares',
|
||||
id: node.attributes.id,
|
||||
id: node.id,
|
||||
})
|
||||
await axios.post(url)
|
||||
|
||||
|
|
|
|||
|
|
@ -188,13 +188,12 @@ describe('Reject share action execute tests', () => {
|
|||
vi.spyOn(eventBus, 'emit')
|
||||
|
||||
const file = new File({
|
||||
id: 1,
|
||||
id: '123',
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foobar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
|
|
@ -220,13 +219,12 @@ describe('Reject share action execute tests', () => {
|
|||
vi.spyOn(eventBus, 'emit')
|
||||
|
||||
const file = new File({
|
||||
id: 1,
|
||||
id: '123',
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foobar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
remote: 3,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
|
|
@ -253,26 +251,24 @@ describe('Reject share action execute tests', () => {
|
|||
vi.spyOn(eventBus, 'emit')
|
||||
|
||||
const file1 = new File({
|
||||
id: 1,
|
||||
id: '123',
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foo.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
})
|
||||
|
||||
const file2 = new File({
|
||||
id: 2,
|
||||
id: '456',
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/bar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 456,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
|
|
@ -301,13 +297,12 @@ describe('Reject share action execute tests', () => {
|
|||
})
|
||||
|
||||
const file = new File({
|
||||
id: 1,
|
||||
id: 123,
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foobar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ export const action: IFileAction = {
|
|||
const node = nodes[0]
|
||||
const isRemote = !!node.attributes.remote
|
||||
const shareBase = isRemote ? 'remote_shares' : 'shares'
|
||||
const id = node.attributes.id
|
||||
const id = node.id
|
||||
let url: string
|
||||
if (node.attributes.accepted === 0) {
|
||||
url = generateOcsUrl('apps/files_sharing/api/v1/{shareBase}/pending/{id}', {
|
||||
|
|
|
|||
|
|
@ -145,13 +145,12 @@ describe('Restore share action execute tests', () => {
|
|||
vi.spyOn(eventBus, 'emit')
|
||||
|
||||
const file = new File({
|
||||
id: 1,
|
||||
id: '123',
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foobar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
|
|
@ -177,26 +176,24 @@ describe('Restore share action execute tests', () => {
|
|||
vi.spyOn(eventBus, 'emit')
|
||||
|
||||
const file1 = new File({
|
||||
id: 1,
|
||||
id: '123',
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foo.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
})
|
||||
|
||||
const file2 = new File({
|
||||
id: 2,
|
||||
id: '456',
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/bar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 456,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
|
|
@ -224,13 +221,12 @@ describe('Restore share action execute tests', () => {
|
|||
.mockImplementation(() => { throw new Error('Mock error') })
|
||||
|
||||
const file = new File({
|
||||
id: 1,
|
||||
id: '123',
|
||||
source: 'https://cloud.domain.com/remote.php/dav/files/admin/foobar.txt',
|
||||
owner: 'admin',
|
||||
mime: 'text/plain',
|
||||
permissions: Permission.READ,
|
||||
attributes: {
|
||||
id: 123,
|
||||
share_type: ShareType.User,
|
||||
},
|
||||
root: '/files/admin',
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ export const action: IFileAction = {
|
|||
try {
|
||||
const node = nodes[0]
|
||||
const url = generateOcsUrl('apps/files_sharing/api/v1/deletedshares/{id}', {
|
||||
id: node.attributes.id,
|
||||
id: node.id,
|
||||
})
|
||||
await axios.post(url)
|
||||
|
||||
|
|
|
|||
183
build/frontend-legacy/package-lock.json
generated
183
build/frontend-legacy/package-lock.json
generated
|
|
@ -19,7 +19,7 @@
|
|||
"@nextcloud/capabilities": "^1.2.1",
|
||||
"@nextcloud/dialogs": "^7.2.0",
|
||||
"@nextcloud/event-bus": "^3.3.3",
|
||||
"@nextcloud/files": "^4.0.0-rc.3",
|
||||
"@nextcloud/files": "^4.0.0",
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
"@nextcloud/l10n": "^3.4.1",
|
||||
"@nextcloud/logger": "^3.0.3",
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
"@nextcloud/password-confirmation": "^6.0.2",
|
||||
"@nextcloud/paths": "^3.0.0",
|
||||
"@nextcloud/router": "^3.1.0",
|
||||
"@nextcloud/sharing": "^0.3.0",
|
||||
"@nextcloud/sharing": "^0.4.0",
|
||||
"@nextcloud/upload": "^1.11.0",
|
||||
"@nextcloud/vue": "^8.36.0",
|
||||
"@simplewebauthn/browser": "^13.2.2",
|
||||
|
|
@ -3035,6 +3035,22 @@
|
|||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/dialogs/node_modules/@nextcloud/sharing": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/sharing/-/sharing-0.3.0.tgz",
|
||||
"integrity": "sha512-kV7qeUZvd1fTKeFyH+W5Qq5rNOqG9rLATZM3U9MBxWXHJs3OxMqYQb8UQ3NYONzsX3zDGJmdQECIGHm1ei2sCA==",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
"is-svg": "^6.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@nextcloud/files": "^3.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/dialogs/node_modules/@nextcloud/vue": {
|
||||
"version": "9.3.3",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-9.3.3.tgz",
|
||||
|
|
@ -3319,9 +3335,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@nextcloud/files": {
|
||||
"version": "4.0.0-rc.3",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-4.0.0-rc.3.tgz",
|
||||
"integrity": "sha512-1uiiGaUHrx5wd/U+vOf/mta+Xx1aXl20/LEL3DqNQxMQvRQ6j9GgTtns32Tvs4owbcHHPOJTwk3g8ME0ZQrWYg==",
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-4.0.0.tgz",
|
||||
"integrity": "sha512-TmecnZIS+PGWGtRh7RpGEboCT4K6iTbHULUcfR6hs3eEzjDVsCc1Ldf8popGY/70lbpdlfYle8xbXnPIo3qaXA==",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@nextcloud/auth": "^2.5.3",
|
||||
|
|
@ -3339,6 +3355,45 @@
|
|||
"node": "^24.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/files/node_modules/@nextcloud/files": {
|
||||
"version": "3.12.2",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.12.2.tgz",
|
||||
"integrity": "sha512-vBo8tf3Xh6efiF8CrEo3pKj9AtvAF6RdDGO1XKL65IxV8+UUd9Uxl2lUExHlzoDRRczCqfGfaWfRRaFhYqce5Q==",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"@nextcloud/auth": "^2.5.3",
|
||||
"@nextcloud/capabilities": "^1.2.1",
|
||||
"@nextcloud/l10n": "^3.4.1",
|
||||
"@nextcloud/logger": "^3.0.3",
|
||||
"@nextcloud/paths": "^3.0.0",
|
||||
"@nextcloud/router": "^3.1.0",
|
||||
"@nextcloud/sharing": "^0.3.0",
|
||||
"cancelable-promise": "^4.3.1",
|
||||
"is-svg": "^6.1.0",
|
||||
"typescript-event-target": "^1.1.1",
|
||||
"webdav": "^5.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/files/node_modules/@nextcloud/sharing": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/sharing/-/sharing-0.3.0.tgz",
|
||||
"integrity": "sha512-kV7qeUZvd1fTKeFyH+W5Qq5rNOqG9rLATZM3U9MBxWXHJs3OxMqYQb8UQ3NYONzsX3zDGJmdQECIGHm1ei2sCA==",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
"is-svg": "^6.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@nextcloud/files": "^3.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/initial-state": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/initial-state/-/initial-state-3.0.0.tgz",
|
||||
|
|
@ -3421,6 +3476,45 @@
|
|||
"vue": "^3.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/password-confirmation/node_modules/@nextcloud/files": {
|
||||
"version": "3.12.2",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.12.2.tgz",
|
||||
"integrity": "sha512-vBo8tf3Xh6efiF8CrEo3pKj9AtvAF6RdDGO1XKL65IxV8+UUd9Uxl2lUExHlzoDRRczCqfGfaWfRRaFhYqce5Q==",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"@nextcloud/auth": "^2.5.3",
|
||||
"@nextcloud/capabilities": "^1.2.1",
|
||||
"@nextcloud/l10n": "^3.4.1",
|
||||
"@nextcloud/logger": "^3.0.3",
|
||||
"@nextcloud/paths": "^3.0.0",
|
||||
"@nextcloud/router": "^3.1.0",
|
||||
"@nextcloud/sharing": "^0.3.0",
|
||||
"cancelable-promise": "^4.3.1",
|
||||
"is-svg": "^6.1.0",
|
||||
"typescript-event-target": "^1.1.1",
|
||||
"webdav": "^5.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/password-confirmation/node_modules/@nextcloud/sharing": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/sharing/-/sharing-0.3.0.tgz",
|
||||
"integrity": "sha512-kV7qeUZvd1fTKeFyH+W5Qq5rNOqG9rLATZM3U9MBxWXHJs3OxMqYQb8UQ3NYONzsX3zDGJmdQECIGHm1ei2sCA==",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
"is-svg": "^6.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@nextcloud/files": "^3.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/password-confirmation/node_modules/@nextcloud/vue": {
|
||||
"version": "9.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-9.2.0.tgz",
|
||||
|
|
@ -3755,9 +3849,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@nextcloud/sharing": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/sharing/-/sharing-0.3.0.tgz",
|
||||
"integrity": "sha512-kV7qeUZvd1fTKeFyH+W5Qq5rNOqG9rLATZM3U9MBxWXHJs3OxMqYQb8UQ3NYONzsX3zDGJmdQECIGHm1ei2sCA==",
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/sharing/-/sharing-0.4.0.tgz",
|
||||
"integrity": "sha512-1hUNyc7uJdBpnimOnEshJjEtAPAjzDYVl6qmWqF5ZxoN9wOvbExw0QjX3xFIbHbX2dmvbRNLBj0RzLzipmZyeg==",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
|
|
@ -3767,30 +3861,7 @@
|
|||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@nextcloud/files": "^3.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/sharing/node_modules/@nextcloud/files": {
|
||||
"version": "3.12.2",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.12.2.tgz",
|
||||
"integrity": "sha512-vBo8tf3Xh6efiF8CrEo3pKj9AtvAF6RdDGO1XKL65IxV8+UUd9Uxl2lUExHlzoDRRczCqfGfaWfRRaFhYqce5Q==",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"@nextcloud/auth": "^2.5.3",
|
||||
"@nextcloud/capabilities": "^1.2.1",
|
||||
"@nextcloud/l10n": "^3.4.1",
|
||||
"@nextcloud/logger": "^3.0.3",
|
||||
"@nextcloud/paths": "^3.0.0",
|
||||
"@nextcloud/router": "^3.1.0",
|
||||
"@nextcloud/sharing": "^0.3.0",
|
||||
"cancelable-promise": "^4.3.1",
|
||||
"is-svg": "^6.1.0",
|
||||
"typescript-event-target": "^1.1.1",
|
||||
"webdav": "^5.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
"@nextcloud/files": "^3.12.2 || ^4.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/typings": {
|
||||
|
|
@ -4107,6 +4178,29 @@
|
|||
"vue": "2.x"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/vue/node_modules/@nextcloud/files": {
|
||||
"version": "3.12.2",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.12.2.tgz",
|
||||
"integrity": "sha512-vBo8tf3Xh6efiF8CrEo3pKj9AtvAF6RdDGO1XKL65IxV8+UUd9Uxl2lUExHlzoDRRczCqfGfaWfRRaFhYqce5Q==",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"@nextcloud/auth": "^2.5.3",
|
||||
"@nextcloud/capabilities": "^1.2.1",
|
||||
"@nextcloud/l10n": "^3.4.1",
|
||||
"@nextcloud/logger": "^3.0.3",
|
||||
"@nextcloud/paths": "^3.0.0",
|
||||
"@nextcloud/router": "^3.1.0",
|
||||
"@nextcloud/sharing": "^0.3.0",
|
||||
"cancelable-promise": "^4.3.1",
|
||||
"is-svg": "^6.1.0",
|
||||
"typescript-event-target": "^1.1.1",
|
||||
"webdav": "^5.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/vue/node_modules/@nextcloud/initial-state": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/initial-state/-/initial-state-2.2.0.tgz",
|
||||
|
|
@ -4117,6 +4211,31 @@
|
|||
"npm": "^10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/vue/node_modules/@nextcloud/sharing": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/sharing/-/sharing-0.3.0.tgz",
|
||||
"integrity": "sha512-kV7qeUZvd1fTKeFyH+W5Qq5rNOqG9rLATZM3U9MBxWXHJs3OxMqYQb8UQ3NYONzsX3zDGJmdQECIGHm1ei2sCA==",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
"is-svg": "^6.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@nextcloud/files": "^3.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/vue/node_modules/@nextcloud/sharing/node_modules/@nextcloud/initial-state": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/initial-state/-/initial-state-3.0.0.tgz",
|
||||
"integrity": "sha512-cV+HBdkQJGm8FxkBI5rFT/FbMNWNBvpbj6OPrg4Ae4YOOsQ15CL8InPOAw1t4XkOkQK2NEdUGQLVUz/19wXbdQ==",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"engines": {
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/vue/node_modules/debounce": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/debounce/-/debounce-2.2.0.tgz",
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
"@nextcloud/capabilities": "^1.2.1",
|
||||
"@nextcloud/dialogs": "^7.2.0",
|
||||
"@nextcloud/event-bus": "^3.3.3",
|
||||
"@nextcloud/files": "^4.0.0-rc.3",
|
||||
"@nextcloud/files": "^4.0.0",
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
"@nextcloud/l10n": "^3.4.1",
|
||||
"@nextcloud/logger": "^3.0.3",
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
"@nextcloud/password-confirmation": "^6.0.2",
|
||||
"@nextcloud/paths": "^3.0.0",
|
||||
"@nextcloud/router": "^3.1.0",
|
||||
"@nextcloud/sharing": "^0.3.0",
|
||||
"@nextcloud/sharing": "^0.4.0",
|
||||
"@nextcloud/upload": "^1.11.0",
|
||||
"@nextcloud/vue": "^8.36.0",
|
||||
"@simplewebauthn/browser": "^13.2.2",
|
||||
|
|
|
|||
8
dist/1035-1035.js.license
vendored
8
dist/1035-1035.js.license
vendored
|
|
@ -55,8 +55,11 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.3
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 4.0.0-rc.3
|
||||
- version: 4.0.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 3.0.0
|
||||
|
|
@ -73,9 +76,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.36.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
7
dist/1598-1598.js.license
vendored
7
dist/1598-1598.js.license
vendored
|
|
@ -90,8 +90,11 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.3
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 4.0.0-rc.3
|
||||
- version: 4.0.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 3.0.0
|
||||
|
|
@ -109,7 +112,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- version: 0.4.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
|
|
|
|||
7
dist/2915-2915.js.license
vendored
7
dist/2915-2915.js.license
vendored
|
|
@ -83,8 +83,11 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.3
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 4.0.0-rc.3
|
||||
- version: 4.0.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 3.0.0
|
||||
|
|
@ -102,7 +105,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- version: 0.4.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.36.0
|
||||
|
|
|
|||
4
dist/7394-7394.js → dist/3169-3169.js
vendored
4
dist/7394-7394.js → dist/3169-3169.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -63,6 +63,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/files
|
||||
- version: 3.12.2
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.3.3
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -108,9 +111,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @vue/devtools-api
|
||||
- version: 6.6.4
|
||||
- license: MIT
|
||||
1
dist/3169-3169.js.map
vendored
Normal file
1
dist/3169-3169.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/3169-3169.js.map.license
vendored
Symbolic link
1
dist/3169-3169.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
3169-3169.js.license
|
||||
6
dist/4471-4471.js.license
vendored
6
dist/4471-4471.js.license
vendored
|
|
@ -46,6 +46,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/files
|
||||
- version: 3.12.2
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.3.3
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -88,9 +91,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @vue/devtools-api
|
||||
- version: 6.6.4
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/4508-4508.js
vendored
2
dist/4508-4508.js
vendored
|
|
@ -1 +1 @@
|
|||
"use strict";(globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[]).push([[4508],{64508(e,r,i){i.r(r),i.d(r,{NcCustomPickerRenderResult:()=>s.N,NcReferenceList:()=>c.a,NcReferencePicker:()=>t.N,NcReferencePickerModal:()=>t.e,NcReferenceWidget:()=>t.f,NcRichText:()=>c.N,NcSearch:()=>t.h,anyLinkProviderId:()=>t.a,default:()=>c.N,getLinkWithPicker:()=>t.g,getProvider:()=>t.b,getProviders:()=>t.c,isCustomPickerElementRegistered:()=>s.c,isWidgetRegistered:()=>s.i,registerCustomPickerElement:()=>s.e,registerWidget:()=>s.r,renderCustomPickerElement:()=>s.f,renderWidget:()=>s.a,searchProvider:()=>t.s,sortProviders:()=>t.d});var c=i(63121),t=i(65139),s=i(52781)}}]);
|
||||
"use strict";(globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[]).push([[4508],{64508(e,r,i){i.r(r),i.d(r,{NcCustomPickerRenderResult:()=>s.N,NcReferenceList:()=>c.a,NcReferencePicker:()=>t.N,NcReferencePickerModal:()=>t.e,NcReferenceWidget:()=>t.f,NcRichText:()=>c.N,NcSearch:()=>t.h,anyLinkProviderId:()=>t.a,default:()=>c.N,getLinkWithPicker:()=>t.g,getProvider:()=>t.b,getProviders:()=>t.c,isCustomPickerElementRegistered:()=>s.c,isWidgetRegistered:()=>s.i,registerCustomPickerElement:()=>s.e,registerWidget:()=>s.r,renderCustomPickerElement:()=>s.f,renderWidget:()=>s.a,searchProvider:()=>t.s,sortProviders:()=>t.d});var c=i(40490),t=i(65139),s=i(52781)}}]);
|
||||
6
dist/4508-4508.js.license
vendored
6
dist/4508-4508.js.license
vendored
|
|
@ -90,15 +90,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.26.0
|
||||
- license: MIT
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 3.0.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.36.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
9
dist/5528-5528.js.license
vendored
9
dist/5528-5528.js.license
vendored
|
|
@ -94,15 +94,18 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.26.0
|
||||
- license: MIT
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 3.0.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- debounce
|
||||
- version: 2.2.0
|
||||
- license: MIT
|
||||
|
|
|
|||
6
dist/7004-7004.js.license
vendored
6
dist/7004-7004.js.license
vendored
|
|
@ -54,6 +54,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/files
|
||||
- version: 3.12.2
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.3.3
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -96,9 +99,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @vue/devtools-api
|
||||
- version: 6.6.4
|
||||
- license: MIT
|
||||
|
|
|
|||
1
dist/7394-7394.js.map
vendored
1
dist/7394-7394.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/7394-7394.js.map.license
vendored
1
dist/7394-7394.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
7394-7394.js.license
|
||||
6
dist/8127-8127.js.license
vendored
6
dist/8127-8127.js.license
vendored
|
|
@ -39,6 +39,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/files
|
||||
- version: 3.12.2
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.3.3
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -72,9 +75,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @vue/devtools-api
|
||||
- version: 6.6.4
|
||||
- license: MIT
|
||||
|
|
|
|||
4
dist/8577-8577.js
vendored
4
dist/8577-8577.js
vendored
File diff suppressed because one or more lines are too long
7
dist/8577-8577.js.license
vendored
7
dist/8577-8577.js.license
vendored
|
|
@ -107,8 +107,11 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.3
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 4.0.0-rc.3
|
||||
- version: 4.0.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 3.0.0
|
||||
|
|
@ -129,7 +132,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- version: 0.4.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.26.0
|
||||
|
|
|
|||
2
dist/8577-8577.js.map
vendored
2
dist/8577-8577.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/9396-9396.js
vendored
4
dist/9396-9396.js
vendored
File diff suppressed because one or more lines are too long
9
dist/9396-9396.js.license
vendored
9
dist/9396-9396.js.license
vendored
|
|
@ -110,15 +110,18 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.1.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.26.0
|
||||
- license: MIT
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 3.0.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- debounce
|
||||
- version: 2.2.0
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/9396-9396.js.map
vendored
2
dist/9396-9396.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{b as g,q as y,s as v,c as p,u as o,o as n,L as h,w as _,g as V,t as b,v as x,r as M,j as d,e as f,F as q,C as w,E as K,G as U}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{c as j}from"./index-DUuegQtr.chunk.mjs";import{a as C}from"./index-JpgrUA2Z-dtMSW_2P.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{c as L}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as S}from"./NcSelect-Czzsi3P_-7VXJuGva.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BCSKF7Tk-BDM2s1GW.chunk.mjs";import{N}from"./NcPasswordField-djttkA5Q-BBVavEKu.chunk.mjs";import{_ as z}from"./TrashCanOutline-DKx7CxBb.chunk.mjs";import{C as c,a as k}from"./types-DD622x-I.chunk.mjs";import{l as B}from"./logger-CrDakPzW.chunk.mjs";const P=g({__name:"ConfigurationEntry",props:y({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue");return(t,i)=>e.configOption.type!==o(c).Boolean?(n(),p(h(e.configOption.type===o(c).Password?o(N):o(z)),{key:0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=l=>a.value=l),name:e.configKey,required:!(e.configOption.flags&o(k).Optional),label:e.configOption.value,title:e.configOption.tooltip},null,8,["modelValue","name","required","label","title"])):(n(),p(o(A),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=l=>a.value=l),type:"switch",title:e.configOption.tooltip},{default:_(()=>[V(b(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=g({__name:"AuthMechanismRsa",props:y({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue"),t=M();x(t,()=>{t.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:l}=await j.post(E("/apps/files_external/ajax/public_key.php"),{keyLength:t.value});a.value.private_key=l.data.private_key,a.value.public_key=l.data.public_key}catch(l){B.error("Error generating RSA key pair",{error:l}),C(s("files_external","Error generating key pair"))}}return(l,m)=>(n(),d("div",null,[(n(!0),d(q,null,w(e.authMechanism.configuration,(r,u)=>K((n(),p(P,{key:r.value,modelValue:a.value[u],"onUpdate:modelValue":O=>a.value[u]=O,configKey:u,configOption:r},null,8,["modelValue","onUpdate:modelValue","configKey","configOption"])),[[U,!(r.flags&o(k).Hidden)]])),128)),f(o(S),{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=r=>t.value=r),clearable:!1,inputLabel:o(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","inputLabel"]),f(o(L),{disabled:!t.value,wide:"",onClick:i},{default:_(()=>[V(b(o(s)("files_external","Generate keys")),1)]),_:1},8,["disabled"])]))}}),$=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{$ as A,P as _};
|
||||
//# sourceMappingURL=AuthMechanismRsa-DfIit3DL.chunk.mjs.map
|
||||
import{b as g,q as y,s as v,c as p,u as o,o as n,L as h,w as _,g as V,t as b,v as x,r as M,j as d,e as f,F as q,C as w,E as K,G as U}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{c as j}from"./index-DKddA51s.chunk.mjs";import{a as C}from"./index-JpgrUA2Z-CjbNveLz.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-DnDDFk77.chunk.mjs";import{c as L}from"./logger-D3RVzcfQ-u5jICcTJ.chunk.mjs";import{N as S}from"./NcSelect-Czzsi3P_-DQ1pX7Ad.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BCSKF7Tk-C_RQDZ7j.chunk.mjs";import{N}from"./NcPasswordField-djttkA5Q-PkdHfBrA.chunk.mjs";import{_ as z}from"./TrashCanOutline-MY5RRFZ7.chunk.mjs";import{C as c,a as k}from"./types-Bf04JA8q.chunk.mjs";import{l as B}from"./logger-CrDakPzW.chunk.mjs";const P=g({__name:"ConfigurationEntry",props:y({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue");return(t,i)=>e.configOption.type!==o(c).Boolean?(n(),p(h(e.configOption.type===o(c).Password?o(N):o(z)),{key:0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=l=>a.value=l),name:e.configKey,required:!(e.configOption.flags&o(k).Optional),label:e.configOption.value,title:e.configOption.tooltip},null,8,["modelValue","name","required","label","title"])):(n(),p(o(A),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=l=>a.value=l),type:"switch",title:e.configOption.tooltip},{default:_(()=>[V(b(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=g({__name:"AuthMechanismRsa",props:y({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue"),t=M();x(t,()=>{t.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:l}=await j.post(E("/apps/files_external/ajax/public_key.php"),{keyLength:t.value});a.value.private_key=l.data.private_key,a.value.public_key=l.data.public_key}catch(l){B.error("Error generating RSA key pair",{error:l}),C(s("files_external","Error generating key pair"))}}return(l,m)=>(n(),d("div",null,[(n(!0),d(q,null,w(e.authMechanism.configuration,(r,u)=>K((n(),p(P,{key:r.value,modelValue:a.value[u],"onUpdate:modelValue":O=>a.value[u]=O,configKey:u,configOption:r},null,8,["modelValue","onUpdate:modelValue","configKey","configOption"])),[[U,!(r.flags&o(k).Hidden)]])),128)),f(o(S),{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=r=>t.value=r),clearable:!1,inputLabel:o(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","inputLabel"]),f(o(L),{disabled:!t.value,wide:"",onClick:i},{default:_(()=>[V(b(o(s)("files_external","Generate keys")),1)]),_:1},8,["disabled"])]))}}),$=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{$ as A,P as _};
|
||||
//# sourceMappingURL=AuthMechanismRsa-DzDNnSKp.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{r as g,_ as p,t as h}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{b as C,j as i,o as e,k as o,l as s,m as _,g as k,t as r,u as d,e as y,z as f}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{a as H}from"./index-xFugdZPW.chunk.mjs";const b={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},A=["aria-hidden","aria-label"],v=["fill","width","height"],z={d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},V={key:0};function w(a,l,t,c,m,u){return e(),i("span",f(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon help-circle-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",z,[t.title?(e(),i("title",V,r(t.title),1)):s("",!0)])],8,v))],16,A)}const M=p(b,[["render",w]]);g();const S={class:"settings-section"},x={class:"settings-section__name"},$=["aria-label","href","title"],I={key:0,class:"settings-section__desc"},N=C({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=h("External documentation");return(t,c)=>(e(),i("div",S,[o("h2",x,[k(r(t.name)+" ",1),t.docUrl?(e(),i("a",{key:0,"aria-label":d(l),class:"settings-section__info",href:t.docUrl,rel:"noreferrer nofollow",target:"_blank",title:d(l)},[y(M,{size:20})],8,$)):s("",!0)]),t.description?(e(),i("p",I,r(t.description),1)):s("",!0),_(t.$slots,"default",{},void 0,!0)]))}}),T=p(N,[["__scopeId","data-v-9cedb949"]]),U={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},B=["aria-hidden","aria-label"],L=["fill","width","height"],Z={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},j={key:0};function E(a,l,t,c,m,u){return e(),i("span",f(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon content-copy-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",Z,[t.title?(e(),i("title",j,r(t.title),1)):s("",!0)])],8,L))],16,B)}const F=H(U,[["render",E]]);export{F as I,T as N};
|
||||
//# sourceMappingURL=ContentCopy-caJ7vqeg.chunk.mjs.map
|
||||
import{r as g,_ as p,t as h}from"./createElementId-DhjFt1I9-DnDDFk77.chunk.mjs";import{b as C,j as i,o as e,k as o,l as s,m as _,g as k,t as r,u as d,e as y,z as f}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{a as H}from"./index-DCpg1aui.chunk.mjs";const b={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},A=["aria-hidden","aria-label"],v=["fill","width","height"],z={d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},V={key:0};function w(a,l,t,c,m,u){return e(),i("span",f(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon help-circle-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",z,[t.title?(e(),i("title",V,r(t.title),1)):s("",!0)])],8,v))],16,A)}const M=p(b,[["render",w]]);g();const S={class:"settings-section"},x={class:"settings-section__name"},$=["aria-label","href","title"],I={key:0,class:"settings-section__desc"},N=C({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=h("External documentation");return(t,c)=>(e(),i("div",S,[o("h2",x,[k(r(t.name)+" ",1),t.docUrl?(e(),i("a",{key:0,"aria-label":d(l),class:"settings-section__info",href:t.docUrl,rel:"noreferrer nofollow",target:"_blank",title:d(l)},[y(M,{size:20})],8,$)):s("",!0)]),t.description?(e(),i("p",I,r(t.description),1)):s("",!0),_(t.$slots,"default",{},void 0,!0)]))}}),T=p(N,[["__scopeId","data-v-9cedb949"]]),U={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},B=["aria-hidden","aria-label"],L=["fill","width","height"],Z={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},j={key:0};function E(a,l,t,c,m,u){return e(),i("span",f(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon content-copy-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",Z,[t.title?(e(),i("title",j,r(t.title),1)):s("",!0)])],8,L))],16,B)}const F=H(U,[["render",E]]);export{F as I,T as N};
|
||||
//# sourceMappingURL=ContentCopy-BuXj5niD.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{N as u}from"./index-dSOqvlAc.chunk.mjs";import{N as d}from"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import{N as p}from"./NcPasswordField-djttkA5Q-BBVavEKu.chunk.mjs";import{_ as c}from"./TrashCanOutline-DKx7CxBb.chunk.mjs";import{b as g,c as f,o as h,w as x,e as s,u as e,r as n}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./index-DUuegQtr.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./index-xFugdZPW.chunk.mjs";import"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";const k=g({__name:"CredentialsDialog",emits:["close"],setup(_){const o=n(""),r=n(""),m=[{label:t("files_external","Confirm"),type:"submit",variant:"primary"}];return(i,a)=>(h(),f(e(u),{buttons:m,class:"external-storage-auth",closeOnClickOutside:"","data-cy-external-storage-auth":"",isForm:"",name:e(t)("files_external","Storage credentials"),outTransition:"",onSubmit:a[2]||(a[2]=l=>i.$emit("close",{login:o.value,password:r.value})),"onUpdate:open":a[3]||(a[3]=l=>i.$emit("close"))},{default:x(()=>[s(e(d),{class:"external-storage-auth__header",text:e(t)("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"},null,8,["text"]),s(e(c),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),autofocus:"",class:"external-storage-auth__login","data-cy-external-storage-auth-dialog-login":"",label:e(t)("files_external","Login"),placeholder:e(t)("files_external","Enter the storage login"),minlength:"2",name:"login",required:""},null,8,["modelValue","label","placeholder"]),s(e(p),{modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=l=>r.value=l),class:"external-storage-auth__password","data-cy-external-storage-auth-dialog-password":"",label:e(t)("files_external","Password"),placeholder:e(t)("files_external","Enter the storage password"),name:"password",required:""},null,8,["modelValue","label","placeholder"])]),_:1},8,["name"]))}});export{k as default};
|
||||
//# sourceMappingURL=CredentialsDialog-CaIhC5zD.chunk.mjs.map
|
||||
import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{N as u}from"./index-RbJ3SLsu.chunk.mjs";import{N as d}from"./NcNoteCard-CVhtNL04-xecBaCCz.chunk.mjs";import{N as p}from"./NcPasswordField-djttkA5Q-PkdHfBrA.chunk.mjs";import{_ as c}from"./TrashCanOutline-MY5RRFZ7.chunk.mjs";import{b as g,c as f,o as h,w as x,e as s,u as e,r as n}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./createElementId-DhjFt1I9-DnDDFk77.chunk.mjs";import"./logger-D3RVzcfQ-u5jICcTJ.chunk.mjs";import"./mdi-Dg3BMFGG.chunk.mjs";import"./index-DKddA51s.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./index-DCpg1aui.chunk.mjs";import"./NcInputField-Bwsh2aHY-CQ8dmik7.chunk.mjs";const k=g({__name:"CredentialsDialog",emits:["close"],setup(_){const o=n(""),r=n(""),m=[{label:t("files_external","Confirm"),type:"submit",variant:"primary"}];return(i,a)=>(h(),f(e(u),{buttons:m,class:"external-storage-auth",closeOnClickOutside:"","data-cy-external-storage-auth":"",isForm:"",name:e(t)("files_external","Storage credentials"),outTransition:"",onSubmit:a[2]||(a[2]=l=>i.$emit("close",{login:o.value,password:r.value})),"onUpdate:open":a[3]||(a[3]=l=>i.$emit("close"))},{default:x(()=>[s(e(d),{class:"external-storage-auth__header",text:e(t)("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"},null,8,["text"]),s(e(c),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),autofocus:"",class:"external-storage-auth__login","data-cy-external-storage-auth-dialog-login":"",label:e(t)("files_external","Login"),placeholder:e(t)("files_external","Enter the storage login"),minlength:"2",name:"login",required:""},null,8,["modelValue","label","placeholder"]),s(e(p),{modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=l=>r.value=l),class:"external-storage-auth__password","data-cy-external-storage-auth-dialog-password":"",label:e(t)("files_external","Password"),placeholder:e(t)("files_external","Enter the storage password"),name:"password",required:""},null,8,["modelValue","label","placeholder"])]),_:1},8,["name"]))}});export{k as default};
|
||||
//# sourceMappingURL=CredentialsDialog-BTayl4rb.chunk.mjs.map
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"CredentialsDialog-CaIhC5zD.chunk.mjs","sources":["../build/frontend/apps/files_external/src/views/CredentialsDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport { t } from '@nextcloud/l10n'\nimport { ref } from 'vue'\nimport NcDialog from '@nextcloud/vue/components/NcDialog'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\nimport NcPasswordField from '@nextcloud/vue/components/NcPasswordField'\nimport NcTextField from '@nextcloud/vue/components/NcTextField'\n\ndefineEmits<{\n\tclose: [payload?: { login: string, password: string }]\n}>()\n\nconst login = ref('')\nconst password = ref('')\n\nconst dialogButtons: InstanceType<typeof NcDialog>['buttons'] = [{\n\tlabel: t('files_external', 'Confirm'),\n\ttype: 'submit',\n\tvariant: 'primary',\n}]\n</script>\n\n<template>\n\t<NcDialog\n\t\t:buttons=\"dialogButtons\"\n\t\tclass=\"external-storage-auth\"\n\t\tcloseOnClickOutside\n\t\tdata-cy-external-storage-auth\n\t\tisForm\n\t\t:name=\"t('files_external', 'Storage credentials')\"\n\t\toutTransition\n\t\t@submit=\"$emit('close', { login, password })\"\n\t\t@update:open=\"$emit('close')\">\n\t\t<!-- Header -->\n\t\t<NcNoteCard\n\t\t\tclass=\"external-storage-auth__header\"\n\t\t\t:text=\"t('files_external', 'To access the storage, you need to provide the authentication credentials.')\"\n\t\t\ttype=\"info\" />\n\n\t\t<!-- Login -->\n\t\t<NcTextField\n\t\t\tv-model=\"login\"\n\t\t\tautofocus\n\t\t\tclass=\"external-storage-auth__login\"\n\t\t\tdata-cy-external-storage-auth-dialog-login\n\t\t\t:label=\"t('files_external', 'Login')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage login')\"\n\t\t\tminlength=\"2\"\n\t\t\tname=\"login\"\n\t\t\trequired />\n\n\t\t<!-- Password -->\n\t\t<NcPasswordField\n\t\t\tv-model=\"password\"\n\t\t\tclass=\"external-storage-auth__password\"\n\t\t\tdata-cy-external-storage-auth-dialog-password\n\t\t\t:label=\"t('files_external', 'Password')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage password')\"\n\t\t\tname=\"password\"\n\t\t\trequired />\n\t</NcDialog>\n</template>\n"],"names":["login","ref","password","dialogButtons","t","_createBlock","_unref","NcDialog","_cache","$event","$emit","_createVNode","NcNoteCard","NcTextField","NcPasswordField"],"mappings":"sxBAiBA,MAAMA,EAAQC,EAAI,EAAE,EACdC,EAAWD,EAAI,EAAE,EAEjBE,EAA0D,CAAC,CAChE,MAAOC,EAAE,iBAAkB,SAAS,EACpC,KAAM,SACN,QAAS,SAAA,CACT,oBAIAC,EAqCWC,EAAAC,CAAA,EAAA,CApCT,QAASJ,EACV,MAAM,wBACN,oBAAA,GACA,gCAAA,GACA,OAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,cAAA,GACC,SAAMI,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEC,EAAAA,MAAK,QAAA,CAAA,MAAYV,EAAA,eAAOE,EAAA,MAAQ,GACxC,+BAAaQ,EAAAA,MAAK,OAAA,EAAA,aAEnB,IAGe,CAHfC,EAGeL,EAAAM,CAAA,EAAA,CAFd,MAAM,gCACL,KAAMN,EAAAF,CAAA,EAAC,iBAAA,4EAAA,EACR,KAAK,MAAA,mBAGNO,EASYL,EAAAO,CAAA,EAAA,YARFb,EAAA,2CAAAA,EAAK,MAAAS,GACd,UAAA,GACA,MAAM,+BACN,6CAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,OAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,yBAAA,EACf,UAAU,IACV,KAAK,QACL,SAAA,EAAA,+CAGDO,EAOYL,EAAAQ,CAAA,EAAA,YANFZ,EAAA,2CAAAA,EAAQ,MAAAO,GACjB,MAAM,kCACN,gDAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,UAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,4BAAA,EACf,KAAK,WACL,SAAA,EAAA"}
|
||||
{"version":3,"file":"CredentialsDialog-BTayl4rb.chunk.mjs","sources":["../build/frontend/apps/files_external/src/views/CredentialsDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport { t } from '@nextcloud/l10n'\nimport { ref } from 'vue'\nimport NcDialog from '@nextcloud/vue/components/NcDialog'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\nimport NcPasswordField from '@nextcloud/vue/components/NcPasswordField'\nimport NcTextField from '@nextcloud/vue/components/NcTextField'\n\ndefineEmits<{\n\tclose: [payload?: { login: string, password: string }]\n}>()\n\nconst login = ref('')\nconst password = ref('')\n\nconst dialogButtons: InstanceType<typeof NcDialog>['buttons'] = [{\n\tlabel: t('files_external', 'Confirm'),\n\ttype: 'submit',\n\tvariant: 'primary',\n}]\n</script>\n\n<template>\n\t<NcDialog\n\t\t:buttons=\"dialogButtons\"\n\t\tclass=\"external-storage-auth\"\n\t\tcloseOnClickOutside\n\t\tdata-cy-external-storage-auth\n\t\tisForm\n\t\t:name=\"t('files_external', 'Storage credentials')\"\n\t\toutTransition\n\t\t@submit=\"$emit('close', { login, password })\"\n\t\t@update:open=\"$emit('close')\">\n\t\t<!-- Header -->\n\t\t<NcNoteCard\n\t\t\tclass=\"external-storage-auth__header\"\n\t\t\t:text=\"t('files_external', 'To access the storage, you need to provide the authentication credentials.')\"\n\t\t\ttype=\"info\" />\n\n\t\t<!-- Login -->\n\t\t<NcTextField\n\t\t\tv-model=\"login\"\n\t\t\tautofocus\n\t\t\tclass=\"external-storage-auth__login\"\n\t\t\tdata-cy-external-storage-auth-dialog-login\n\t\t\t:label=\"t('files_external', 'Login')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage login')\"\n\t\t\tminlength=\"2\"\n\t\t\tname=\"login\"\n\t\t\trequired />\n\n\t\t<!-- Password -->\n\t\t<NcPasswordField\n\t\t\tv-model=\"password\"\n\t\t\tclass=\"external-storage-auth__password\"\n\t\t\tdata-cy-external-storage-auth-dialog-password\n\t\t\t:label=\"t('files_external', 'Password')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage password')\"\n\t\t\tname=\"password\"\n\t\t\trequired />\n\t</NcDialog>\n</template>\n"],"names":["login","ref","password","dialogButtons","t","_createBlock","_unref","NcDialog","_cache","$event","$emit","_createVNode","NcNoteCard","NcTextField","NcPasswordField"],"mappings":"sxBAiBA,MAAMA,EAAQC,EAAI,EAAE,EACdC,EAAWD,EAAI,EAAE,EAEjBE,EAA0D,CAAC,CAChE,MAAOC,EAAE,iBAAkB,SAAS,EACpC,KAAM,SACN,QAAS,SAAA,CACT,oBAIAC,EAqCWC,EAAAC,CAAA,EAAA,CApCT,QAASJ,EACV,MAAM,wBACN,oBAAA,GACA,gCAAA,GACA,OAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,cAAA,GACC,SAAMI,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEC,EAAAA,MAAK,QAAA,CAAA,MAAYV,EAAA,eAAOE,EAAA,MAAQ,GACxC,+BAAaQ,EAAAA,MAAK,OAAA,EAAA,aAEnB,IAGe,CAHfC,EAGeL,EAAAM,CAAA,EAAA,CAFd,MAAM,gCACL,KAAMN,EAAAF,CAAA,EAAC,iBAAA,4EAAA,EACR,KAAK,MAAA,mBAGNO,EASYL,EAAAO,CAAA,EAAA,YARFb,EAAA,2CAAAA,EAAK,MAAAS,GACd,UAAA,GACA,MAAM,+BACN,6CAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,OAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,yBAAA,EACf,UAAU,IACV,KAAK,QACL,SAAA,EAAA,+CAGDO,EAOYL,EAAAQ,CAAA,EAAA,YANFZ,EAAA,2CAAAA,EAAQ,MAAAO,GACjB,MAAM,kCACN,gDAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,UAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,4BAAA,EACf,KAAK,WACL,SAAA,EAAA"}
|
||||
77
dist/FilePicker-W-IYpVkn-I2miG68_.chunk.mjs
vendored
Normal file
77
dist/FilePicker-W-IYpVkn-I2miG68_.chunk.mjs
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,5 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
SPDX-License-Identifier: MIT
|
||||
SPDX-FileCopyrightText: @nextcloud/dialogs developers
|
||||
SPDX-FileCopyrightText: Alkemics
|
||||
|
|
@ -12,6 +13,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/files
|
||||
- version: 3.12.2
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.3.1
|
||||
- license: AGPL-3.0-or-later
|
||||
1
dist/FilePicker-W-IYpVkn-I2miG68_.chunk.mjs.map
vendored
Normal file
1
dist/FilePicker-W-IYpVkn-I2miG68_.chunk.mjs.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,5 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
SPDX-License-Identifier: MIT
|
||||
SPDX-FileCopyrightText: @nextcloud/dialogs developers
|
||||
SPDX-FileCopyrightText: Alkemics
|
||||
|
|
@ -12,6 +13,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/files
|
||||
- version: 3.12.2
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.3.1
|
||||
- license: AGPL-3.0-or-later
|
||||
77
dist/FilePicker-W-IYpVkn-rTTf6KPb.chunk.mjs
vendored
77
dist/FilePicker-W-IYpVkn-rTTf6KPb.chunk.mjs
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
26
dist/FilesVersionsSidebarTab-BAW-ITSA.chunk.mjs
vendored
Normal file
26
dist/FilesVersionsSidebarTab-BAW-ITSA.chunk.mjs
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
26
dist/FilesVersionsSidebarTab-BkLoi30S.chunk.mjs
vendored
26
dist/FilesVersionsSidebarTab-BkLoi30S.chunk.mjs
vendored
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
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{N as u,m as g}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as k}from"./PencilOutline-SCYr0J4h.chunk.mjs";import{a as y}from"./index-dSOqvlAc.chunk.mjs";import{r as P,t as b,_ as x}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{b as N,i as S,j as f,o as s,l as n,k as $,c as i,m as c,g as h,t as m,p as z,w as e,e as L,u as j,n as w}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";P();const B={key:0,class:"nc-chip__icon"},I={class:"nc-chip__text"},A=N({__name:"NcChip",props:{ariaLabelClose:{default:b("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(v,{emit:_}){const t=v,C=_,l=S(),o=z(()=>!t.noClose),r=()=>!!l.actions,p=()=>!!(t.iconPath||t.iconSvg||l.icon);return(a,d)=>(s(),f("div",{class:w(["nc-chip",{[`nc-chip--${a.variant}`]:!0,"nc-chip--no-actions":a.noClose&&!r(),"nc-chip--no-icon":!p()}])},[p()?(s(),f("span",B,[c(a.$slots,"icon",{},()=>[a.iconPath||a.iconSvg?(s(),i(u,{key:0,inline:"",path:a.iconPath,svg:a.iconPath?void 0:a.iconSvg,size:18},null,8,["path","svg"])):n("",!0)],!0)])):n("",!0),$("span",I,[c(a.$slots,"default",{},()=>[h(m(a.text),1)],!0)]),o.value||r()?(s(),i(y,{key:1,class:"nc-chip__actions",container:a.actionsContainer,"force-menu":!o.value,variant:"tertiary-no-background"},{default:e(()=>[o.value?(s(),i(k,{key:0,"close-after-click":"",onClick:d[0]||(d[0]=D=>C("close"))},{icon:e(()=>[L(u,{path:j(g),size:20},null,8,["path"])]),default:e(()=>[h(" "+m(a.ariaLabelClose),1)]),_:1})):n("",!0),c(a.$slots,"actions",{},void 0,!0)]),_:3},8,["container","force-menu"])):n("",!0)],2))}}),F=x(A,[["__scopeId","data-v-2aa1d7ea"]]);export{F as N};
|
||||
//# sourceMappingURL=NcChip-D8tGFzRl-wpz3RwJM.chunk.mjs.map
|
||||
import{N as u,m as g}from"./logger-D3RVzcfQ-u5jICcTJ.chunk.mjs";import{N as k}from"./PencilOutline-BbbiWpuA.chunk.mjs";import{a as y}from"./index-RbJ3SLsu.chunk.mjs";import{r as P,t as b,_ as x}from"./createElementId-DhjFt1I9-DnDDFk77.chunk.mjs";import{b as N,i as S,j as f,o as s,l as n,k as $,c as i,m as c,g as h,t as m,p as z,w as e,e as L,u as j,n as w}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";P();const B={key:0,class:"nc-chip__icon"},I={class:"nc-chip__text"},A=N({__name:"NcChip",props:{ariaLabelClose:{default:b("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(v,{emit:_}){const t=v,C=_,l=S(),o=z(()=>!t.noClose),r=()=>!!l.actions,p=()=>!!(t.iconPath||t.iconSvg||l.icon);return(a,d)=>(s(),f("div",{class:w(["nc-chip",{[`nc-chip--${a.variant}`]:!0,"nc-chip--no-actions":a.noClose&&!r(),"nc-chip--no-icon":!p()}])},[p()?(s(),f("span",B,[c(a.$slots,"icon",{},()=>[a.iconPath||a.iconSvg?(s(),i(u,{key:0,inline:"",path:a.iconPath,svg:a.iconPath?void 0:a.iconSvg,size:18},null,8,["path","svg"])):n("",!0)],!0)])):n("",!0),$("span",I,[c(a.$slots,"default",{},()=>[h(m(a.text),1)],!0)]),o.value||r()?(s(),i(y,{key:1,class:"nc-chip__actions",container:a.actionsContainer,"force-menu":!o.value,variant:"tertiary-no-background"},{default:e(()=>[o.value?(s(),i(k,{key:0,"close-after-click":"",onClick:d[0]||(d[0]=D=>C("close"))},{icon:e(()=>[L(u,{path:j(g),size:20},null,8,["path"])]),default:e(()=>[h(" "+m(a.ariaLabelClose),1)]),_:1})):n("",!0),c(a.$slots,"actions",{},void 0,!0)]),_:3},8,["container","force-menu"])):n("",!0)],2))}}),F=x(A,[["__scopeId","data-v-2aa1d7ea"]]);export{F as N};
|
||||
//# sourceMappingURL=NcChip-D8tGFzRl-Hh2_NyPj.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,2 +1,2 @@
|
|||
import{a as d}from"./PencilOutline-SCYr0J4h.chunk.mjs";import{d as _,A as C,B as S}from"./index-dSOqvlAc.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{j as a,o,k as n,m as x,l as g,N as k,n as y,t as l,f as I,e as v,w as h,b as w,u as T,p as m,Z as p}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";const L={name:"NcActionLink",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{href:{type:String,required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null}}},M=["role"],N=["download","href","aria-label","target","title","role"],U={key:0,class:"action-link__longtext-wrapper"},j={class:"action-link__name"},$=["textContent"],A=["textContent"],B={key:2,class:"action-link__text"};function R(e,t,i,u,c,r){return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[n("a",{download:i.download,href:i.href,"aria-label":e.ariaLabel,target:i.target,title:i.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...s)=>e.onClick&&e.onClick(...s))},[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",U,[n("strong",j,l(e.name),1),t[1]||(t[1]=n("br",null,null,-1)),n("span",{class:"action-link__longtext",textContent:l(e.text)},null,8,$)])):e.isLongText?(o(),a("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,A)):(o(),a("span",B,l(e.text),1)),g("",!0)],8,N)],8,M)}const V=f(L,[["render",R],["__scopeId","data-v-32f01b7a"]]),W={name:"NcActionRouter",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{to:{type:[String,Object],required:!0}}},q=["role"],O={key:0,class:"action-router__longtext-wrapper"},D={class:"action-router__name"},Z=["textContent"],z=["textContent"],E={key:2,class:"action-router__text"};function F(e,t,i,u,c,r){const s=I("RouterLink");return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[v(s,{"aria-label":e.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",title:e.title,to:i.to,onClick:e.onClick},{default:h(()=>[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",O,[n("strong",D,l(e.name),1),t[0]||(t[0]=n("br",null,null,-1)),n("span",{class:"action-router__longtext",textContent:l(e.text)},null,8,Z)])):e.isLongText?(o(),a("span",{key:1,class:"action-router__longtext",textContent:l(e.text)},null,8,z)):(o(),a("span",E,l(e.text),1)),g("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,q)}const X=f(W,[["render",F],["__scopeId","data-v-87267750"]]),G=["data-timestamp","title","textContent"],Y=w({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){const t=e,i=m(()=>({format:t.format})),u=m(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),c=S(p(()=>t.timestamp),i),r=C(p(()=>t.timestamp),u),s=m(()=>t.relativeTime?r.value:c.value);return(b,H)=>(o(),a("span",{class:"nc-datetime",dir:"auto","data-timestamp":b.timestamp,title:T(c),textContent:l(s.value)},null,8,G))}});export{V as N,Y as _,X as a};
|
||||
//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-DdXL_Mtm.chunk.mjs.map
|
||||
import{a as d}from"./PencilOutline-BbbiWpuA.chunk.mjs";import{d as _,A as C,B as S}from"./index-RbJ3SLsu.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-DnDDFk77.chunk.mjs";import{j as a,o,k as n,m as x,l as g,N as k,n as y,t as l,f as I,e as v,w as h,b as w,u as T,p as m,Z as p}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";const L={name:"NcActionLink",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{href:{type:String,required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null}}},M=["role"],N=["download","href","aria-label","target","title","role"],U={key:0,class:"action-link__longtext-wrapper"},j={class:"action-link__name"},$=["textContent"],A=["textContent"],B={key:2,class:"action-link__text"};function R(e,t,i,u,c,r){return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[n("a",{download:i.download,href:i.href,"aria-label":e.ariaLabel,target:i.target,title:i.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...s)=>e.onClick&&e.onClick(...s))},[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",U,[n("strong",j,l(e.name),1),t[1]||(t[1]=n("br",null,null,-1)),n("span",{class:"action-link__longtext",textContent:l(e.text)},null,8,$)])):e.isLongText?(o(),a("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,A)):(o(),a("span",B,l(e.text),1)),g("",!0)],8,N)],8,M)}const V=f(L,[["render",R],["__scopeId","data-v-32f01b7a"]]),W={name:"NcActionRouter",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{to:{type:[String,Object],required:!0}}},q=["role"],O={key:0,class:"action-router__longtext-wrapper"},D={class:"action-router__name"},Z=["textContent"],z=["textContent"],E={key:2,class:"action-router__text"};function F(e,t,i,u,c,r){const s=I("RouterLink");return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[v(s,{"aria-label":e.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",title:e.title,to:i.to,onClick:e.onClick},{default:h(()=>[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",O,[n("strong",D,l(e.name),1),t[0]||(t[0]=n("br",null,null,-1)),n("span",{class:"action-router__longtext",textContent:l(e.text)},null,8,Z)])):e.isLongText?(o(),a("span",{key:1,class:"action-router__longtext",textContent:l(e.text)},null,8,z)):(o(),a("span",E,l(e.text),1)),g("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,q)}const X=f(W,[["render",F],["__scopeId","data-v-87267750"]]),G=["data-timestamp","title","textContent"],Y=w({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){const t=e,i=m(()=>({format:t.format})),u=m(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),c=S(p(()=>t.timestamp),i),r=C(p(()=>t.timestamp),u),s=m(()=>t.relativeTime?r.value:c.value);return(b,H)=>(o(),a("span",{class:"nc-datetime",dir:"auto","data-timestamp":b.timestamp,title:T(c),textContent:l(s.value)},null,8,G))}});export{V as N,Y as _,X as a};
|
||||
//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-BZtT1htT.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,2 +1,2 @@
|
|||
import{b as j,q as h,s as q,D as F,x as L,j as n,o as i,k as p,l as u,E as z,c as t,z as A,p as d,t as v,G as D,m as y,w as E,u as s,g as G,n as M}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{c as S,d as g,N as o,e as m,i as x}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{_ as H,c as J}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";const K={class:"input-field__main-wrapper"},P=["id","aria-describedby","disabled","placeholder","type","value"],Q=["for"],R={class:"input-field__icon input-field__icon--leading"},U={key:2,class:"input-field__icon input-field__icon--trailing"},W=["id"],X=j({inheritAttrs:!1,__name:"NcInputField",props:h({class:{default:""},inputClass:{default:""},id:{default:()=>J()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:h(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:k,emit:B}){const r=q(c,"modelValue"),l=c,$=B;k({focus:O,select:I});const f=F(),b=L("input"),T=d(()=>l.showTrailingButton||l.success),w=d(()=>{if(l.placeholder)return l.placeholder;if(l.label)return x?l.label:""}),_=d(()=>l.label||l.labelOutside),C=d(()=>{const e=[];return l.helperText&&e.push(`${l.id}-helper-text`),f["aria-describedby"]&&e.push(String(f["aria-describedby"])),e.join(" ")||void 0});function O(e){b.value.focus(e)}function I(){b.value.select()}function N(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),n("div",{class:M(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!_.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":T.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":s(x)},e.$props.class]])},[p("div",K,[p("input",A(e.$attrs,{id:e.id,ref:"input","aria-describedby":C.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:w.value,type:e.type,value:r.value.toString(),onInput:N}),null,16,P),!e.labelOutside&&_.value?(i(),n("label",{key:0,class:"input-field__label",for:e.id},v(e.label),9,Q)):u("",!0),z(p("div",R,[y(e.$slots,"icon",{},void 0,!0)],512),[[D,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(S,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=V=>$("trailingButtonClick",V))},{icon:E(()=>[y(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),n("div",U,[e.success?(i(),t(o,{key:0,path:s(g)},null,8,["path"])):(i(),t(o,{key:1,path:s(m)},null,8,["path"]))])):u("",!0)]),e.helperText?(i(),n("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?(i(),t(o,{key:0,class:"input-field__helper-text-message__icon",path:s(g),inline:""},null,8,["path"])):e.error?(i(),t(o,{key:1,class:"input-field__helper-text-message__icon",path:s(m),inline:""},null,8,["path"])):u("",!0),G(" "+v(e.helperText),1)],8,W)):u("",!0)],2))}}),le=H(X,[["__scopeId","data-v-a0e80f48"]]);export{le as N};
|
||||
//# sourceMappingURL=NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs.map
|
||||
import{b as j,q as h,s as q,D as F,x as L,j as n,o as i,k as p,l as u,E as z,c as t,z as A,p as d,t as v,G as D,m as y,w as E,u as s,g as G,n as M}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{c as S,d as g,N as o,e as m,i as x}from"./logger-D3RVzcfQ-u5jICcTJ.chunk.mjs";import{_ as H,c as J}from"./createElementId-DhjFt1I9-DnDDFk77.chunk.mjs";const K={class:"input-field__main-wrapper"},P=["id","aria-describedby","disabled","placeholder","type","value"],Q=["for"],R={class:"input-field__icon input-field__icon--leading"},U={key:2,class:"input-field__icon input-field__icon--trailing"},W=["id"],X=j({inheritAttrs:!1,__name:"NcInputField",props:h({class:{default:""},inputClass:{default:""},id:{default:()=>J()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:h(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:k,emit:B}){const r=q(c,"modelValue"),l=c,$=B;k({focus:O,select:I});const f=F(),b=L("input"),T=d(()=>l.showTrailingButton||l.success),w=d(()=>{if(l.placeholder)return l.placeholder;if(l.label)return x?l.label:""}),_=d(()=>l.label||l.labelOutside),C=d(()=>{const e=[];return l.helperText&&e.push(`${l.id}-helper-text`),f["aria-describedby"]&&e.push(String(f["aria-describedby"])),e.join(" ")||void 0});function O(e){b.value.focus(e)}function I(){b.value.select()}function N(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),n("div",{class:M(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!_.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":T.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":s(x)},e.$props.class]])},[p("div",K,[p("input",A(e.$attrs,{id:e.id,ref:"input","aria-describedby":C.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:w.value,type:e.type,value:r.value.toString(),onInput:N}),null,16,P),!e.labelOutside&&_.value?(i(),n("label",{key:0,class:"input-field__label",for:e.id},v(e.label),9,Q)):u("",!0),z(p("div",R,[y(e.$slots,"icon",{},void 0,!0)],512),[[D,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(S,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=V=>$("trailingButtonClick",V))},{icon:E(()=>[y(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),n("div",U,[e.success?(i(),t(o,{key:0,path:s(g)},null,8,["path"])):(i(),t(o,{key:1,path:s(m)},null,8,["path"]))])):u("",!0)]),e.helperText?(i(),n("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?(i(),t(o,{key:0,class:"input-field__helper-text-message__icon",path:s(g),inline:""},null,8,["path"])):e.error?(i(),t(o,{key:1,class:"input-field__helper-text-message__icon",path:s(m),inline:""},null,8,["path"])):u("",!0),G(" "+v(e.helperText),1)],8,W)):u("",!0)],2))}}),le=H(X,[["__scopeId","data-v-a0e80f48"]]);export{le as N};
|
||||
//# sourceMappingURL=NcInputField-Bwsh2aHY-CQ8dmik7.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{r as T,o as B,p as I,q as N,s as O,t as h,N as S,i as V,u as D,v as $,w as j,x as q}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{b as E,I as L,K as v,a6 as P,p as i,u as l,j as m,o as y,m as x,k as _,e as R,n as A,l as M,t as b}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{_ as z}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";function C(t){const n=v(T),a=v(B),r=i(()=>{const s=l(t.to);return n.resolve(s)}),e=i(()=>{const{matched:s}=r.value,{length:c}=s,f=s[c-1],u=a.matched;if(!f||!u.length)return-1;const p=u.findIndex(h.bind(null,f));if(p>-1)return p;const g=k(s[c-2]);return c>1&&k(f)===g&&u[u.length-1].path!==g?u.findIndex(h.bind(null,s[c-2])):p}),o=i(()=>e.value>-1&&J(a.params,r.value.params)),d=i(()=>e.value>-1&&e.value===a.matched.length-1&&N(a.params,r.value.params));function K(s={}){if(H(s)){const c=n[l(t.replace)?"replace":"push"](l(t.to)).catch(I);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:i(()=>r.value.href),isActive:o,isExactActive:d,navigate:K}}function F(t){return t.length===1?t[0]:t}const G=E({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:C,setup(t,{slots:n}){const a=L(C(t)),{options:r}=v(T),e=i(()=>({[w(t.activeClass,r.linkActiveClass,"router-link-active")]:a.isActive,[w(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const o=n.default&&F(n.default(a));return t.custom?o:P("a",{"aria-current":a.isExactActive?t.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:e.value},o)}}}),et=G;function H(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function J(t,n){for(const a in n){const r=n[a],e=t[a];if(typeof r=="string"){if(r!==e)return!1}else if(!O(e)||e.length!==r.length||r.some((o,d)=>o!==e[d]))return!1}return!0}function k(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const w=(t,n,a)=>t??n??a,Q=["role"],U={key:0,class:"notecard__heading"},W={class:"notecard__text"},X=E({__name:"NcNoteCard",props:{heading:{default:void 0},showAlert:{type:Boolean},text:{default:void 0},type:{default:"warning"}},setup(t){const n=t,a=i(()=>n.showAlert||n.type==="error"),r=i(()=>{switch(n.type){case"error":return q;case"success":return j;case"info":return $;default:return D}});return(e,o)=>(y(),m("div",{class:A(["notecard",{[`notecard--${e.type}`]:e.type,"notecard--legacy":l(V)}]),role:a.value?"alert":"note"},[x(e.$slots,"icon",{},()=>[R(l(S),{path:r.value,class:A(["notecard__icon",{"notecard__icon--heading":e.heading}]),inline:""},null,8,["path","class"])],!0),_("div",null,[e.heading?(y(),m("p",U,b(e.heading),1)):M("",!0),x(e.$slots,"default",{},()=>[_("p",W,b(e.text),1)],!0)])],10,Q))}}),at=z(X,[["__scopeId","data-v-7e4656f9"]]);export{at as N,et as R};
|
||||
//# sourceMappingURL=NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs.map
|
||||
import{r as T,o as B,p as I,q as N,s as O,t as h,N as S,i as V,u as D,v as $,w as j,x as q}from"./logger-D3RVzcfQ-u5jICcTJ.chunk.mjs";import{b as E,I as L,K as v,a6 as P,p as i,u as l,j as m,o as y,m as x,k as _,e as R,n as A,l as M,t as b}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{_ as z}from"./createElementId-DhjFt1I9-DnDDFk77.chunk.mjs";function C(t){const n=v(T),a=v(B),r=i(()=>{const s=l(t.to);return n.resolve(s)}),e=i(()=>{const{matched:s}=r.value,{length:c}=s,f=s[c-1],u=a.matched;if(!f||!u.length)return-1;const p=u.findIndex(h.bind(null,f));if(p>-1)return p;const g=k(s[c-2]);return c>1&&k(f)===g&&u[u.length-1].path!==g?u.findIndex(h.bind(null,s[c-2])):p}),o=i(()=>e.value>-1&&J(a.params,r.value.params)),d=i(()=>e.value>-1&&e.value===a.matched.length-1&&N(a.params,r.value.params));function K(s={}){if(H(s)){const c=n[l(t.replace)?"replace":"push"](l(t.to)).catch(I);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:i(()=>r.value.href),isActive:o,isExactActive:d,navigate:K}}function F(t){return t.length===1?t[0]:t}const G=E({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:C,setup(t,{slots:n}){const a=L(C(t)),{options:r}=v(T),e=i(()=>({[w(t.activeClass,r.linkActiveClass,"router-link-active")]:a.isActive,[w(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const o=n.default&&F(n.default(a));return t.custom?o:P("a",{"aria-current":a.isExactActive?t.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:e.value},o)}}}),et=G;function H(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function J(t,n){for(const a in n){const r=n[a],e=t[a];if(typeof r=="string"){if(r!==e)return!1}else if(!O(e)||e.length!==r.length||r.some((o,d)=>o!==e[d]))return!1}return!0}function k(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const w=(t,n,a)=>t??n??a,Q=["role"],U={key:0,class:"notecard__heading"},W={class:"notecard__text"},X=E({__name:"NcNoteCard",props:{heading:{default:void 0},showAlert:{type:Boolean},text:{default:void 0},type:{default:"warning"}},setup(t){const n=t,a=i(()=>n.showAlert||n.type==="error"),r=i(()=>{switch(n.type){case"error":return q;case"success":return j;case"info":return $;default:return D}});return(e,o)=>(y(),m("div",{class:A(["notecard",{[`notecard--${e.type}`]:e.type,"notecard--legacy":l(V)}]),role:a.value?"alert":"note"},[x(e.$slots,"icon",{},()=>[R(l(S),{path:r.value,class:A(["notecard__icon",{"notecard__icon--heading":e.heading}]),inline:""},null,8,["path","class"])],!0),_("div",null,[e.heading?(y(),m("p",U,b(e.heading),1)):M("",!0),x(e.$slots,"default",{},()=>[_("p",W,b(e.text),1)],!0)])],10,Q))}}),at=z(X,[["__scopeId","data-v-7e4656f9"]]);export{at as N,et as R};
|
||||
//# sourceMappingURL=NcNoteCard-CVhtNL04-xecBaCCz.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{l as k,N as S,a as C,b as N}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{c as F}from"./index-DUuegQtr.chunk.mjs";import{g as M}from"./index-xFugdZPW.chunk.mjs";import{r as $,_ as q,a as z,t as n}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{d as H}from"./index-6_gsQFyp.chunk.mjs";import{N as I}from"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";import{b as L,q as c,s as v,v as O,x as U,r as m,c as j,o as A,y as D,w as f,m as E,e as G,u as o,z as J,p as h}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";$();const K=L({__name:"NcPasswordField",props:c({class:{},inputClass:{default:""},id:{},label:{},labelOutside:{type:Boolean},placeholder:{},showTrailingButton:{type:Boolean,default:!0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},checkPasswordStrength:{type:Boolean},minlength:{default:void 0},asText:{type:Boolean}},{modelValue:{default:""},modelModifiers:{},visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:c(["valid","invalid"],["update:modelValue","update:visible"]),setup(l,{expose:y,emit:w}){const s=v(l,"modelValue"),a=v(l,"visible"),t=l,d=w;O(s,H(B,500)),y({focus:T,select:P});const{password_policy:b}=M(),u=U("inputField"),r=m(""),i=m(),g=h(()=>{const e={...t};return delete e.checkPasswordStrength,delete e.minlength,delete e.asText,delete e.error,delete e.helperText,delete e.inputClass,delete e.success,e}),x=h(()=>t.minlength??(t.checkPasswordStrength?b?.minLength:void 0)??void 0);async function B(){if(t.checkPasswordStrength)try{const{data:e}=await F.post(z("apps/password_policy/api/v1/validate"),{password:s.value});if(i.value=e.ocs.data.passed,e.ocs.data.passed){r.value=n("Password is secure"),d("valid");return}r.value=e.ocs.data.reason,d("invalid")}catch(e){k.error("Password policy returned an error",{error:e})}}function _(){a.value=!a.value}function T(e){u.value.focus(e)}function P(){u.value.select()}return(e,p)=>(A(),j(I,J(g.value,{ref:"inputField",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=V=>s.value=V),error:e.error||i.value===!1,"helper-text":e.helperText||r.value,"input-class":[e.inputClass,{"password-field__input--secure-text":!a.value&&e.asText}],minlength:x.value,success:e.success||i.value===!0,"trailing-button-label":a.value?o(n)("Hide password"):o(n)("Show password"),type:a.value||e.asText?"text":"password",onTrailingButtonClick:_}),D({"trailing-button-icon":f(()=>[G(S,{path:a.value?o(C):o(N)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:f(()=>[E(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helper-text","input-class","minlength","success","trailing-button-label","type"]))}}),ae=q(K,[["__scopeId","data-v-b2684de6"]]);export{ae as N};
|
||||
//# sourceMappingURL=NcPasswordField-djttkA5Q-BBVavEKu.chunk.mjs.map
|
||||
import{l as k,N as S,a as C,b as N}from"./logger-D3RVzcfQ-u5jICcTJ.chunk.mjs";import{c as F}from"./index-DKddA51s.chunk.mjs";import{g as M}from"./index-DCpg1aui.chunk.mjs";import{r as $,_ as q,a as z,t as n}from"./createElementId-DhjFt1I9-DnDDFk77.chunk.mjs";import{d as H}from"./index-6_gsQFyp.chunk.mjs";import{N as I}from"./NcInputField-Bwsh2aHY-CQ8dmik7.chunk.mjs";import{b as L,q as c,s as v,v as O,x as U,r as m,c as j,o as A,y as D,w as f,m as E,e as G,u as o,z as J,p as h}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";$();const K=L({__name:"NcPasswordField",props:c({class:{},inputClass:{default:""},id:{},label:{},labelOutside:{type:Boolean},placeholder:{},showTrailingButton:{type:Boolean,default:!0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},checkPasswordStrength:{type:Boolean},minlength:{default:void 0},asText:{type:Boolean}},{modelValue:{default:""},modelModifiers:{},visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:c(["valid","invalid"],["update:modelValue","update:visible"]),setup(l,{expose:y,emit:w}){const s=v(l,"modelValue"),a=v(l,"visible"),t=l,d=w;O(s,H(B,500)),y({focus:T,select:P});const{password_policy:b}=M(),u=U("inputField"),r=m(""),i=m(),g=h(()=>{const e={...t};return delete e.checkPasswordStrength,delete e.minlength,delete e.asText,delete e.error,delete e.helperText,delete e.inputClass,delete e.success,e}),x=h(()=>t.minlength??(t.checkPasswordStrength?b?.minLength:void 0)??void 0);async function B(){if(t.checkPasswordStrength)try{const{data:e}=await F.post(z("apps/password_policy/api/v1/validate"),{password:s.value});if(i.value=e.ocs.data.passed,e.ocs.data.passed){r.value=n("Password is secure"),d("valid");return}r.value=e.ocs.data.reason,d("invalid")}catch(e){k.error("Password policy returned an error",{error:e})}}function _(){a.value=!a.value}function T(e){u.value.focus(e)}function P(){u.value.select()}return(e,p)=>(A(),j(I,J(g.value,{ref:"inputField",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=V=>s.value=V),error:e.error||i.value===!1,"helper-text":e.helperText||r.value,"input-class":[e.inputClass,{"password-field__input--secure-text":!a.value&&e.asText}],minlength:x.value,success:e.success||i.value===!0,"trailing-button-label":a.value?o(n)("Hide password"):o(n)("Show password"),type:a.value||e.asText?"text":"password",onTrailingButtonClick:_}),D({"trailing-button-icon":f(()=>[G(S,{path:a.value?o(C):o(N)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:f(()=>[E(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helper-text","input-class","minlength","success","trailing-button-label","type"]))}}),ae=q(K,[["__scopeId","data-v-b2684de6"]]);export{ae as N};
|
||||
//# sourceMappingURL=NcPasswordField-djttkA5Q-PkdHfBrA.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,4 +1,5 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
SPDX-License-Identifier: ISC
|
||||
SPDX-License-Identifier: MIT
|
||||
SPDX-FileCopyrightText: Andrea Giammarchi
|
||||
|
|
@ -14,6 +15,9 @@ SPDX-FileCopyrightText: inline-style-parser developers
|
|||
SPDX-FileCopyrightText: rhysd <lin90162@yahoo.co.jp>
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.3.1
|
||||
- license: AGPL-3.0-or-later
|
||||
1
dist/NcRichText-CBMtJzE_-Dhx6yDK3.chunk.mjs.map
vendored
Normal file
1
dist/NcRichText-CBMtJzE_-Dhx6yDK3.chunk.mjs.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,5 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
SPDX-License-Identifier: ISC
|
||||
SPDX-License-Identifier: MIT
|
||||
SPDX-FileCopyrightText: Andrea Giammarchi
|
||||
|
|
@ -14,6 +15,9 @@ SPDX-FileCopyrightText: inline-style-parser developers
|
|||
SPDX-FileCopyrightText: rhysd <lin90162@yahoo.co.jp>
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.3.1
|
||||
- license: AGPL-3.0-or-later
|
||||
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue