Обновление клиента

This commit is contained in:
root
2026-03-05 13:40:40 +00:00
parent 34bcd34979
commit b8905de237
4147 changed files with 748711 additions and 7 deletions
@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkfiles_pdfviewer=self.webpackChunkfiles_pdfviewer||[]).push([["node_modules_nextcloud_dialogs_dist_chunks_PublicAuthPrompt-ecDAsnUN_mjs"],{3564:(t,e,a)=>{a.r(e),a.d(e,{default:()=>b});var n=a(5471),i=a(3053),s=a(1777),r=a(5168),l=a(7356),o=a(1133),c=a(2182),u=a(3095),m=a(9535);const d=(0,i.c0)("public").build(),p=(0,n.pM)({name:"PublicAuthPrompt",components:{NcDialog:l.A,NcNoteCard:o.A,NcTextField:c.A},props:{nickname:{type:String,default:""},title:{type:String,default:(0,u.t)("Guest identification")},text:{type:String,default:""},notice:{type:String,default:""},submitLabel:{type:String,default:(0,u.t)("Submit name")},cancellable:{type:Boolean,default:!1}},setup:()=>({t:u.t}),emits:["close"],data:()=>({name:""}),computed:{dialogButtons(){const t={label:(0,u.t)("Cancel"),variant:"tertiary",callback:()=>this.$emit("close")},e={label:this.submitLabel,type:"submit",variant:"primary"};return this.cancellable?[t,e]:[e]},defaultNotice(){return this.notice?this.notice:this.nickname?(0,u.t)("You are currently identified as {nickname}.",{nickname:this.nickname}):(0,u.t)("You are currently not identified.")}},watch:{nickname:{handler(){this.name=this.nickname},immediate:!0},name(){const t=this.name.trim?.()||"",e=this.$refs.input?.$el.querySelector("input");if(!e)return;const a=function(t){if(""===t.trim())return(0,u.t)("Names must not be empty.");if(t.startsWith("."))return(0,u.t)("Names must not start with a dot.");if(t.length>64)return(0,u.t)("Names may be at most 64 characters long.");try{return(0,m.KT)(t),""}catch(t){if(!(t instanceof m.di))throw t;switch(t.reason){case m.nF.Character:return(0,u.t)('"{char}" is not allowed inside a name.',{char:t.segment});case m.nF.ReservedName:return(0,u.t)('"{segment}" is a reserved name and not allowed.',{segment:t.segment});case m.nF.Extension:return t.segment.match(/\.[a-z]/i)?(0,u.t)('"{extension}" is not an allowed name.',{extension:t.segment}):(0,u.t)('Names must not end with "{extension}".',{extension:t.segment});default:return(0,u.t)("Invalid name.")}}}(t);e.setCustomValidity(a),e.reportValidity()}},methods:{onSubmit(){const t=this.$refs.input,e=this.name.trim();if(""===e)return t.setCustomValidity((0,u.t)("You cannot leave the name empty.")),t.reportValidity(),void t.focus();if(e.length<2)return t.setCustomValidity((0,u.t)("Please enter a name with at least 2 characters.")),t.reportValidity(),void t.focus();try{(0,s.L$)(e)}catch(e){return(0,r.Qg)((0,u.t)("Failed to set nickname.")),console.error("Failed to set nickname",e),void t.focus()}d.setItem("public-auth-prompt-shown","true"),this.$emit("close",this.name)}}});var h=function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcDialog",{staticClass:"public-auth-prompt",attrs:{buttons:t.dialogButtons,"data-cy-public-auth-prompt-dialog":"","is-form":"","no-close":"",name:t.title},on:{submit:t.onSubmit}},[t.text?e("p",{staticClass:"public-auth-prompt__text"},[t._v(" "+t._s(t.text)+" ")]):t._e(),e("NcNoteCard",{staticClass:"public-auth-prompt__header",attrs:{text:t.defaultNotice,type:"info"}}),e("NcTextField",{ref:"input",staticClass:"public-auth-prompt__input",attrs:{"data-cy-public-auth-prompt-dialog-name":"",label:t.t("Name"),placeholder:t.t("Enter your name"),required:!t.cancellable,minlength:"2",maxlength:"64",name:"name"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1)},f=[];const b=(0,u.n)(p,h,f,!1,null,"414f7090").exports}}]);
//# sourceMappingURL=files_pdfviewer-node_modules_nextcloud_dialogs_dist_chunks_PublicAuthPrompt-ecDAsnUN_mjs.js.map?v=409d709517ccf15f029a
@@ -0,0 +1,123 @@
SPDX-License-Identifier: MIT
SPDX-License-Identifier: ISC
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: BSD-3-Clause
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0)
SPDX-FileCopyrightText: string_decoder developers
SPDX-FileCopyrightText: escape-html developers
SPDX-FileCopyrightText: Varun A P
SPDX-FileCopyrightText: Tobias Koppers @sokra
SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
SPDX-FileCopyrightText: Roeland Jago Douma
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
SPDX-FileCopyrightText: James Halliday
SPDX-FileCopyrightText: GitHub Inc.
SPDX-FileCopyrightText: Feross Aboukhadijeh
SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
SPDX-FileCopyrightText: David Clark
SPDX-FileCopyrightText: Christoph Wurst
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu>
SPDX-FileCopyrightText: Alkemics
SPDX-FileCopyrightText: @nextcloud/dialogs developers
This file is generated from multiple sources. Included packages:
- @nextcloud/auth
- version: 2.5.3
- license: GPL-3.0-or-later
- @nextcloud/browser-storage
- version: 0.5.0
- license: GPL-3.0-or-later
- @nextcloud/capabilities
- version: 1.2.0
- license: GPL-3.0-or-later
- @nextcloud/dialogs
- version: 6.4.1
- license: AGPL-3.0-or-later
- semver
- version: 7.7.1
- license: ISC
- @nextcloud/event-bus
- version: 3.3.2
- license: GPL-3.0-or-later
- @nextcloud/files
- version: 3.12.0
- license: AGPL-3.0-or-later
- @nextcloud/initial-state
- version: 2.2.0
- license: GPL-3.0-or-later
- @nextcloud/l10n
- version: 3.4.0
- license: GPL-3.0-or-later
- @nextcloud/logger
- version: 3.0.2
- license: GPL-3.0-or-later
- @nextcloud/paths
- version: 2.2.1
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 3.0.1
- license: GPL-3.0-or-later
- @nextcloud/sharing
- version: 0.2.5
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 8.34.0
- license: AGPL-3.0-or-later
- @vueuse/core
- version: 11.3.0
- license: MIT
- @vueuse/shared
- version: 11.3.0
- license: MIT
- base64-js
- version: 1.5.1
- license: MIT
- buffer
- version: 6.0.3
- license: MIT
- cancelable-promise
- version: 4.3.1
- license: MIT
- css-loader
- version: 7.1.2
- license: MIT
- dompurify
- version: 3.3.0
- license: (MPL-2.0 OR Apache-2.0)
- escape-html
- version: 1.0.3
- license: MIT
- focus-trap
- version: 7.6.6
- license: MIT
- ieee754
- version: 1.2.1
- license: BSD-3-Clause
- path-browserify
- version: 1.0.1
- license: MIT
- process
- version: 0.11.10
- license: MIT
- safe-buffer
- version: 5.2.1
- license: MIT
- string_decoder
- version: 1.3.0
- license: MIT
- style-loader
- version: 4.0.0
- license: MIT
- tabbable
- version: 6.3.0
- license: MIT
- toastify-js
- version: 1.12.0
- license: MIT
- vue
- version: 2.7.16
- license: MIT
@@ -0,0 +1 @@
files_pdfviewer-node_modules_nextcloud_dialogs_dist_chunks_PublicAuthPrompt-ecDAsnUN_mjs.js.license
@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkfiles_pdfviewer=self.webpackChunkfiles_pdfviewer||[]).push([["node_modules_nextcloud_dialogs_dist_chunks_index-hTwX2gcC_mjs"],{3278:(e,d,s)=>{s.d(d,{FilePickerVue:()=>_});const _=(0,s(5471).$V)((()=>Promise.all([s.e("vendors-node_modules_nextcloud_files_dist_index_mjs-node_modules_nextcloud_vue_dist_Component-c57add"),s.e("vendors-node_modules_nextcloud_dialogs_dist_chunks_FilePicker-lO8J1a0C_mjs")]).then(s.bind(s,2900))))}}]);
//# sourceMappingURL=files_pdfviewer-node_modules_nextcloud_dialogs_dist_chunks_index-hTwX2gcC_mjs.js.map?v=3b117a6eca6151d5266e
@@ -0,0 +1,13 @@
SPDX-License-Identifier: MIT
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: @nextcloud/dialogs developers
This file is generated from multiple sources. Included packages:
- @nextcloud/dialogs
- version: 6.4.1
- license: AGPL-3.0-or-later
- vue
- version: 2.7.16
- license: MIT
@@ -0,0 +1 @@
{"version":3,"file":"files_pdfviewer-node_modules_nextcloud_dialogs_dist_chunks_index-hTwX2gcC_mjs.js?v=3b117a6eca6151d5266e","mappings":"0MACA,MAAMA,GAAgB,E,QAAA,KAAqB,IAAM,mO","sources":["webpack:///files_pdfviewer/node_modules/@nextcloud/dialogs/dist/chunks/index-hTwX2gcC.mjs"],"sourcesContent":["import { defineAsyncComponent } from \"vue\";\nconst FilePickerVue = defineAsyncComponent(() => import(\"./FilePicker-lO8J1a0C.mjs\"));\nexport {\n FilePickerVue\n};\n//# sourceMappingURL=index-hTwX2gcC.mjs.map\n"],"names":["FilePickerVue"],"sourceRoot":""}
@@ -0,0 +1 @@
files_pdfviewer-node_modules_nextcloud_dialogs_dist_chunks_index-hTwX2gcC_mjs.js.license
@@ -0,0 +1,170 @@
SPDX-License-Identifier: MIT
SPDX-License-Identifier: ISC
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: BSD-3-Clause
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0)
SPDX-FileCopyrightText: string_decoder developers
SPDX-FileCopyrightText: escape-html developers
SPDX-FileCopyrightText: debounce developers
SPDX-FileCopyrightText: Varun A P
SPDX-FileCopyrightText: Tobias Koppers @sokra
SPDX-FileCopyrightText: Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
SPDX-FileCopyrightText: Roeland Jago Douma
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
SPDX-FileCopyrightText: James Halliday
SPDX-FileCopyrightText: GitHub Inc.
SPDX-FileCopyrightText: Feross Aboukhadijeh
SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris)
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
SPDX-FileCopyrightText: David Clark
SPDX-FileCopyrightText: Christoph Wurst
SPDX-FileCopyrightText: Arnout Kazemier
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu>
SPDX-FileCopyrightText: Alkemics
SPDX-FileCopyrightText: @nextcloud/dialogs developers
This file is generated from multiple sources. Included packages:
- @nextcloud/auth
- version: 2.5.3
- license: GPL-3.0-or-later
- @nextcloud/axios
- version: 2.5.2
- license: GPL-3.0-or-later
- @nextcloud/browser-storage
- version: 0.5.0
- license: GPL-3.0-or-later
- @nextcloud/capabilities
- version: 1.2.0
- license: GPL-3.0-or-later
- eventemitter3
- version: 5.0.1
- license: MIT
- @nextcloud/dialogs
- version: 6.4.1
- license: AGPL-3.0-or-later
- semver
- version: 7.7.1
- license: ISC
- @nextcloud/event-bus
- version: 3.3.2
- license: GPL-3.0-or-later
- @nextcloud/files
- version: 3.12.0
- license: AGPL-3.0-or-later
- @nextcloud/initial-state
- version: 2.2.0
- license: GPL-3.0-or-later
- @nextcloud/l10n
- version: 3.4.0
- license: GPL-3.0-or-later
- @nextcloud/logger
- version: 3.0.2
- license: GPL-3.0-or-later
- @nextcloud/paths
- version: 2.2.1
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 3.0.1
- license: GPL-3.0-or-later
- @nextcloud/sharing
- version: 0.2.5
- license: GPL-3.0-or-later
- @nextcloud/vue-select
- version: 3.26.0
- license: MIT
- @nextcloud/vue
- version: 8.34.0
- license: AGPL-3.0-or-later
- @vueuse/core
- version: 11.3.0
- license: MIT
- @vueuse/shared
- version: 11.3.0
- license: MIT
- base64-js
- version: 1.5.1
- license: MIT
- buffer
- version: 6.0.3
- license: MIT
- cancelable-promise
- version: 4.3.1
- license: MIT
- charenc
- version: 0.0.2
- license: BSD-3-Clause
- crypt
- version: 0.0.2
- license: BSD-3-Clause
- css-loader
- version: 7.1.2
- license: MIT
- debounce
- version: 2.2.0
- license: MIT
- dompurify
- version: 3.3.0
- license: (MPL-2.0 OR Apache-2.0)
- escape-html
- version: 1.0.3
- license: MIT
- focus-trap
- version: 7.6.6
- license: MIT
- ieee754
- version: 1.2.1
- license: BSD-3-Clause
- is-buffer
- version: 1.1.6
- license: MIT
- md5
- version: 2.3.0
- license: BSD-3-Clause
- path-browserify
- version: 1.0.1
- license: MIT
- process
- version: 0.11.10
- license: MIT
- safe-buffer
- version: 5.2.1
- license: MIT
- string_decoder
- version: 1.3.0
- license: MIT
- striptags
- version: 3.2.0
- license: MIT
- style-loader
- version: 4.0.0
- license: MIT
- tabbable
- version: 6.3.0
- license: MIT
- toastify-js
- version: 1.12.0
- license: MIT
- unist-builder
- version: 4.0.0
- license: MIT
- unist-util-is
- version: 6.0.0
- license: MIT
- unist-util-visit-parents
- version: 6.0.1
- license: MIT
- unist-util-visit
- version: 5.0.0
- license: MIT
- vue
- version: 2.7.16
- license: MIT
@@ -0,0 +1 @@
files_pdfviewer-vendors-node_modules_nextcloud_dialogs_dist_chunks_FilePicker-lO8J1a0C_mjs.js.license