mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Merge pull request #51601 from nextcloud/chore/upload-1-9-1
chore: update `@nextcloud/upload` to version 1.9.1
This commit is contained in:
commit
abdb4320a5
31 changed files with 39 additions and 39 deletions
2
dist/2762-2762.js
vendored
2
dist/2762-2762.js
vendored
File diff suppressed because one or more lines are too long
1
dist/2762-2762.js.map.license
vendored
1
dist/2762-2762.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
2762-2762.js.license
|
||||
4
dist/358-358.js
vendored
4
dist/358-358.js
vendored
File diff suppressed because one or more lines are too long
2
dist/358-358.js.license
vendored
2
dist/358-358.js.license
vendored
|
|
@ -82,7 +82,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 0.2.4
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/upload
|
||||
- version: 1.9.0
|
||||
- version: 1.9.1
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.23.1
|
||||
|
|
|
|||
2
dist/358-358.js.map
vendored
2
dist/358-358.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/3632-3632.js
vendored
2
dist/3632-3632.js
vendored
|
|
@ -1,2 +0,0 @@
|
|||
"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[3632],{4466:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(71354),i=a.n(n),r=a(76314),s=a.n(r)()(i());s.push([e.id,"\n.invalid-filename-dialog__input[data-v-3a479259] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n","",{version:3,sources:["webpack://./node_modules/@nextcloud/upload/dist/assets/InvalidFilenameDialog-YDOzIzS6.css"],names:[],mappings:";AACA;CACC,+DAA+D;CAC/D,8EAA8E;AAC/E",sourcesContent:["\n.invalid-filename-dialog__input[data-v-3a479259] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n"],sourceRoot:""}]);const l=s},93632:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var n=a(85072),i=a.n(n),r=a(97825),s=a.n(r),l=a(77659),o=a.n(l),c=a(55056),d=a.n(c),m=a(10540),u=a.n(m),h=a(41113),p=a.n(h),f=a(4466),v={};v.styleTagTransform=p(),v.setAttributes=d(),v.insert=o().bind(null,"head"),v.domAPI=s(),v.insertStyleElement=u(),i()(f.A,v),f.A&&f.A.locals&&f.A.locals;var g=a(35810),w=a(85471),A=a(75612),E=a(94219),b=a(82182),N=a(40083);const y=(0,w.pM)({components:{NcDialog:E.A,NcNoteCard:N.A,NcTextField:b.A},props:{error:{type:g.di,required:!0},validateFilename:{type:Function,required:!0}},setup:()=>({t:A.t}),data:()=>({newName:"",validationError:""}),computed:{isValidName(){return""===this.validationError},isInvalidFileType(){return this.error.reason===g.nF.Extension&&null!==this.error.segment.match(/^\.\w/)},canRename(){return!this.isInvalidFileType},dialogButtons(){const e=[{label:(0,A.t)("Cancel"),type:"error",callback:()=>{this.$emit("close",{cancel:!0})}},{label:(0,A.t)("Skip"),callback:()=>{this.$emit("close",{skip:!0})}}];return this.canRename&&e.push({label:(0,A.t)("Rename"),type:"primary",disabled:!this.isValidName,callback:()=>{this.$emit("close",{rename:this.newName.trimEnd()})}}),e}},watch:{error:{handler(){this.validationError=this.getErrorText(this.error),this.newName=this.error.filename},immediate:!0},newName(){try{this.validateFilename(this.newName.trimEnd()),this.validationError=""}catch(e){this.validationError=this.getErrorText(e)}finally{const e=this.$refs.textfield?.$el.querySelector("input");e&&(e.setCustomValidity(this.validationError),e.reportValidity())}}},methods:{getErrorText(e){switch(e.reason){case g.nF.Character:return(0,A.t)('"{segment}" is not allowed inside a file or folder name.',{segment:e.segment});case g.nF.ReservedName:return(0,A.t)('"{segment}" is a forbidden file or folder name.',{segment:e.segment});case g.nF.Extension:return e.segment.match(/\.\w/)?(0,A.t)('"{segment}" is a forbidden file type.',{segment:e.segment}):(0,A.t)('Filenames must not end with "{segment}".',{segment:e.segment})}}}});var x=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{attrs:{buttons:e.dialogButtons,name:e.t("Invalid filename")},on:{close:function(t){return e.$emit("close",{cancel:!0})}}},[t("NcNoteCard",{attrs:{severity:"error"}},[e._v(" "+e._s(e.getErrorText(e.error))+" "+e._s(e.t("You can either rename the file, skip this file or cancel the whole operation."))+" ")]),e.canRename?t("NcTextField",{ref:"textfield",staticClass:"invalid-filename-dialog__input",attrs:{error:!e.isValidName,"helper-text":e.validationError,label:e.t("New filename"),value:e.newName},on:{"update:value":function(t){e.newName=t}}}):e._e()],1)},C=[];const _=(0,A.n)(y,x,C,!1,null,"3a479259").exports}}]);
|
||||
//# sourceMappingURL=3632-3632.js.map?v=cc7b74c8958462f45def
|
||||
1
dist/3632-3632.js.map.license
vendored
1
dist/3632-3632.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
3632-3632.js.license
|
||||
2
dist/6445-6445.js
vendored
Normal file
2
dist/6445-6445.js
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[6445],{4466:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(71354),i=a.n(n),r=a(76314),s=a.n(r)()(i());s.push([e.id,"\n.invalid-filename-dialog__input[data-v-3a479259] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n","",{version:3,sources:["webpack://./node_modules/@nextcloud/upload/dist/assets/InvalidFilenameDialog-YDOzIzS6.css"],names:[],mappings:";AACA;CACC,+DAA+D;CAC/D,8EAA8E;AAC/E",sourcesContent:["\n.invalid-filename-dialog__input[data-v-3a479259] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n"],sourceRoot:""}]);const l=s},46445:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var n=a(85072),i=a.n(n),r=a(97825),s=a.n(r),l=a(77659),o=a.n(l),c=a(55056),d=a.n(c),m=a(10540),u=a.n(m),h=a(41113),p=a.n(h),f=a(4466),v={};v.styleTagTransform=p(),v.setAttributes=d(),v.insert=o().bind(null,"head"),v.domAPI=s(),v.insertStyleElement=u(),i()(f.A,v),f.A&&f.A.locals&&f.A.locals;var g=a(35810),w=a(85471),A=a(4011),E=a(94219),b=a(82182),N=a(40083);const y=(0,w.pM)({components:{NcDialog:E.A,NcNoteCard:N.A,NcTextField:b.A},props:{error:{type:g.di,required:!0},validateFilename:{type:Function,required:!0}},setup:()=>({t:A.t}),data:()=>({newName:"",validationError:""}),computed:{isValidName(){return""===this.validationError},isInvalidFileType(){return this.error.reason===g.nF.Extension&&null!==this.error.segment.match(/^\.\w/)},canRename(){return!this.isInvalidFileType},dialogButtons(){const e=[{label:(0,A.t)("Cancel"),type:"error",callback:()=>{this.$emit("close",{cancel:!0})}},{label:(0,A.t)("Skip"),callback:()=>{this.$emit("close",{skip:!0})}}];return this.canRename&&e.push({label:(0,A.t)("Rename"),type:"primary",disabled:!this.isValidName,callback:()=>{this.$emit("close",{rename:this.newName.trimEnd()})}}),e}},watch:{error:{handler(){this.validationError=this.getErrorText(this.error),this.newName=this.error.filename},immediate:!0},newName(){try{this.validateFilename(this.newName.trimEnd()),this.validationError=""}catch(e){this.validationError=this.getErrorText(e)}finally{const e=this.$refs.textfield?.$el.querySelector("input");e&&(e.setCustomValidity(this.validationError),e.reportValidity())}}},methods:{getErrorText(e){switch(e.reason){case g.nF.Character:return(0,A.t)('"{segment}" is not allowed inside a file or folder name.',{segment:e.segment});case g.nF.ReservedName:return(0,A.t)('"{segment}" is a forbidden file or folder name.',{segment:e.segment});case g.nF.Extension:return e.segment.match(/\.\w/)?(0,A.t)('"{segment}" is a forbidden file type.',{segment:e.segment}):(0,A.t)('Filenames must not end with "{segment}".',{segment:e.segment})}}}});var x=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{attrs:{buttons:e.dialogButtons,name:e.t("Invalid filename")},on:{close:function(t){return e.$emit("close",{cancel:!0})}}},[t("NcNoteCard",{attrs:{severity:"error"}},[e._v(" "+e._s(e.getErrorText(e.error))+" "+e._s(e.t("You can either rename the file, skip this file or cancel the whole operation."))+" ")]),e.canRename?t("NcTextField",{ref:"textfield",staticClass:"invalid-filename-dialog__input",attrs:{error:!e.isValidName,"helper-text":e.validationError,label:e.t("New filename"),value:e.newName},on:{"update:value":function(t){e.newName=t}}}):e._e()],1)},C=[];const _=(0,A.n)(y,x,C,!1,null,"3a479259").exports}}]);
|
||||
//# sourceMappingURL=6445-6445.js.map?v=9acae0b42cd0cd19da0e
|
||||
|
|
@ -78,7 +78,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 0.2.4
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/upload
|
||||
- version: 1.9.0
|
||||
- version: 1.9.1
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.23.1
|
||||
File diff suppressed because one or more lines are too long
1
dist/6445-6445.js.map.license
vendored
Symbolic link
1
dist/6445-6445.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
6445-6445.js.license
|
||||
2
dist/7527-7527.js
vendored
Normal file
2
dist/7527-7527.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -78,7 +78,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 0.2.4
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/upload
|
||||
- version: 1.9.0
|
||||
- version: 1.9.1
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.23.1
|
||||
File diff suppressed because one or more lines are too long
1
dist/7527-7527.js.map.license
vendored
Symbolic link
1
dist/7527-7527.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
7527-7527.js.license
|
||||
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-common.js.license
vendored
2
dist/core-common.js.license
vendored
|
|
@ -175,7 +175,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 0.2.4
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/upload
|
||||
- version: 1.9.0
|
||||
- version: 1.9.1
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
|
|
|
|||
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-init.js
vendored
4
dist/files-init.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-init.js.license
vendored
2
dist/files-init.js.license
vendored
|
|
@ -103,7 +103,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 0.2.4
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/upload
|
||||
- version: 1.9.0
|
||||
- version: 1.9.1
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.23.1
|
||||
|
|
|
|||
2
dist/files-init.js.map
vendored
2
dist/files-init.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.license
vendored
2
dist/files-main.js.license
vendored
|
|
@ -108,7 +108,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 0.2.4
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/upload
|
||||
- version: 1.9.0
|
||||
- version: 1.9.1
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.23.1
|
||||
|
|
|
|||
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-init-public.js
vendored
4
dist/files_sharing-init-public.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-init-public.js.map
vendored
2
dist/files_sharing-init-public.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-public-file-request.js
vendored
4
dist/files_sharing-public-file-request.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -78,7 +78,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 0.2.4
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/upload
|
||||
- version: 1.9.0
|
||||
- version: 1.9.1
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.23.1
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
10
package-lock.json
generated
10
package-lock.json
generated
|
|
@ -29,7 +29,7 @@
|
|||
"@nextcloud/paths": "^2.2.1",
|
||||
"@nextcloud/router": "^3.0.1",
|
||||
"@nextcloud/sharing": "^0.2.4",
|
||||
"@nextcloud/upload": "^1.9.0",
|
||||
"@nextcloud/upload": "^1.9.1",
|
||||
"@nextcloud/vue": "^8.23.1",
|
||||
"@simplewebauthn/browser": "^12.0.0",
|
||||
"@vueuse/components": "^11.1.0",
|
||||
|
|
@ -4065,9 +4065,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@nextcloud/upload": {
|
||||
"version": "1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/upload/-/upload-1.9.0.tgz",
|
||||
"integrity": "sha512-h/BdM9Vs1RY46I0Fx0N2zB03Oa4K/wnTW9C1V99cbjAa3ajL02I/a/72/2odmrpc2Xcf3yaBgJb2puQKtasIKA==",
|
||||
"version": "1.9.1",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/upload/-/upload-1.9.1.tgz",
|
||||
"integrity": "sha512-WNkwOZyhQLsRYaP+eqvV8abre8aXtwLGTUvdnp9fUXbHlv/Eghw7OJSv8plAYRHpgBbiXpAFbJKxxBXjLh7Blg==",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@nextcloud/auth": "^2.4.0",
|
||||
|
|
@ -4080,7 +4080,7 @@
|
|||
"@nextcloud/paths": "^2.2.1",
|
||||
"@nextcloud/router": "^3.0.0",
|
||||
"@nextcloud/sharing": "^0.2.4",
|
||||
"axios": "^1.8.1",
|
||||
"axios": "^1.8.3",
|
||||
"axios-retry": "^4.5.0",
|
||||
"crypto-browserify": "^3.12.1",
|
||||
"p-cancelable": "^4.0.1",
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
"@nextcloud/paths": "^2.2.1",
|
||||
"@nextcloud/router": "^3.0.1",
|
||||
"@nextcloud/sharing": "^0.2.4",
|
||||
"@nextcloud/upload": "^1.9.0",
|
||||
"@nextcloud/upload": "^1.9.1",
|
||||
"@nextcloud/vue": "^8.23.1",
|
||||
"@simplewebauthn/browser": "^12.0.0",
|
||||
"@vueuse/components": "^11.1.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue