summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-05-02 17:09:53 +0200
committerGitHub <noreply@github.com>2024-05-02 17:09:53 +0200
commit321900d03238308029c503493594704275f0ea1a (patch)
treea8bc413497a899c3ffeabe0575c36364af3f75b4
parent8694675a2635f06a5cac59253aa1ec45a019ee8a (diff)
parentc53e4a8b96419bcb8b86d22061bf7675fdce6ee5 (diff)
Merge pull request #44819 from raphj/issue42689
-rw-r--r--apps/files/src/components/FileEntry/FileEntryName.vue2
-rw-r--r--dist/files-main.js4
-rw-r--r--dist/files-main.js.map2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryName.vue b/apps/files/src/components/FileEntry/FileEntryName.vue
index 3b2faa4e506..c8de61cdfe8 100644
--- a/apps/files/src/components/FileEntry/FileEntryName.vue
+++ b/apps/files/src/components/FileEntry/FileEntryName.vue
@@ -22,7 +22,7 @@
<template>
<!-- Rename input -->
<form v-if="isRenaming"
- v-on-click-outside="stopRenaming"
+ v-on-click-outside="onRename"
:aria-label="t('files', 'Rename file')"
class="files-list__row-rename"
@submit.prevent.stop="onRename">
diff --git a/dist/files-main.js b/dist/files-main.js
index b89d2aa4619..bee47558aa3 100644
--- a/dist/files-main.js
+++ b/dist/files-main.js
@@ -1,3 +1,3 @@
/*! For license information please see files-main.js.LICENSE.txt */
-(()=>{var e,n,s,i={9052:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n="~";function s(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function r(t,e,s,r,a){if("function"!=typeof s)throw new TypeError("The listener must be a function");var o=new i(s,r||t,a),l=n?n+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],o]:t._events[l].push(o):(t._events[l]=o,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new s:delete t._events[e]}function o(){this._events=new s,this._eventsCount=0}Object.create&&(s.prototype=Object.create(null),(new s).__proto__||(n=!1)),o.prototype.eventNames=function(){var t,s,i=[];if(0===this._eventsCount)return i;for(s in t=this._events)e.call(t,s)&&i.push(n?s.slice(1):s);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},o.prototype.listeners=function(t){var e=n?n+t:t,s=this._events[e];if(!s)return[];if(s.fn)return[s.fn];for(var i=0,r=s.length,a=new Array(r);i<r;i++)a[i]=s[i].fn;return a},o.prototype.listenerCount=function(t){var e=n?n+t:t,s=this._events[e];return s?s.fn?1:s.length:0},o.prototype.emit=function(t,e,s,i,r,a){var o=n?n+t:t;if(!this._events[o])return!1;var l,c,u=this._events[o],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,s),!0;case 4:return u.fn.call(u.context,e,s,i),!0;case 5:return u.fn.call(u.context,e,s,i,r),!0;case 6:return u.fn.call(u.context,e,s,i,r,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var m,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(t,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,e);break;case 3:u[c].fn.call(u[c].context,e,s);break;case 4:u[c].fn.call(u[c].context,e,s,i);break;default:if(!l)for(m=1,l=new Array(d-1);m<d;m++)l[m-1]=arguments[m];u[c].fn.apply(u[c].context,l)}}return!0},o.prototype.on=function(t,e,n){return r(this,t,e,n,!1)},o.prototype.once=function(t,e,n){return r(this,t,e,n,!0)},o.prototype.removeListener=function(t,e,s,i){var r=n?n+t:t;if(!this._events[r])return this;if(!e)return a(this,r),this;var o=this._events[r];if(o.fn)o.fn!==e||i&&!o.once||s&&o.context!==s||a(this,r);else{for(var l=0,c=[],u=o.length;l<u;l++)(o[l].fn!==e||i&&!o[l].once||s&&o[l].context!==s)&&c.push(o[l]);c.length?this._events[r]=1===c.length?c[0]:c:a(this,r)}return this},o.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&a(this,e)):(this._events=new s,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=n,o.EventEmitter=o,t.exports=o},11993:(e,n,s)=>{"use strict";var i={};s.r(i),s.d(i,{exclude:()=>I,extract:()=>k,parse:()=>L,parseUrl:()=>N,pick:()=>P,stringify:()=>E,stringifyUrl:()=>F});var r=s(65899),a=s(35810),o=s(92457),l=s(85471);const c=(0,r.Ey)();var u=s(63814);const d="%[a-f0-9]{2}",m=new RegExp("("+d+")|([^%]+?)","gi"),p=new RegExp("("+d+")+","gi");function f(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;e=e||1;const n=t.slice(0,e),s=t.slice(e);return Array.prototype.concat.call([],f(n),f(s))}function g(t){try{return decodeURIComponent(t)}catch{let e=t.match(m)||[];for(let n=1;n<e.length;n++)e=(t=f(e,n).join("")).match(m)||[];return t}}function h(t,e){if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===t||""===e)return[];const n=t.indexOf(e);return-1===n?[]:[t.slice(0,n),t.slice(n+e.length)]}function v(t,e){const n={};if(Array.isArray(e))for(const s of e){const e=Object.getOwnPropertyDescriptor(t,s);e?.enumerable&&Object.defineProperty(n,s,e)}else for(const s of Reflect.ownKeys(t)){const i=Object.getOwnPropertyDescriptor(t,s);i.enumerable&&e(s,t[s],t)&&Object.defineProperty(n,s,i)}return n}const w=t=>null==t,y=t=>encodeURIComponent(t).replaceAll(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),A=Symbol("encodeFragmentIdentifier");function b(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function _(t,e){return e.encode?e.strict?y(t):encodeURIComponent(t):t}function x(t,e){return e.decode?function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return decodeURIComponent(t)}catch{return function(t){const e={"%FE%FF":"��","%FF%FE":"��"};let n=p.exec(t);for(;n;){try{e[n[0]]=decodeURIComponent(n[0])}catch{const t=g(n[0]);t!==n[0]&&(e[n[0]]=t)}n=p.exec(t)}e["%C2"]="�";const s=Object.keys(e);for(const n of s)t=t.replace(new RegExp(n,"g"),e[n]);return t}(t)}}(t):t}function C(t){return Array.isArray(t)?t.sort():"object"==typeof t?C(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function T(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function S(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function k(t){const e=(t=T(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function L(t,e){b((e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...e}).arrayFormatSeparator);const n=function(t){let e;switch(t.arrayFormat){case"index":return(t,n,s)=>{e=/\[(\d*)]$/.exec(t),t=t.replace(/\[\d*]$/,""),e?(void 0===s[t]&&(s[t]={}),s[t][e[1]]=n):s[t]=n};case"bracket":return(t,n,s)=>{e=/(\[])$/.exec(t),t=t.replace(/\[]$/,""),e?void 0!==s[t]?s[t]=[...s[t],n]:s[t]=[n]:s[t]=n};case"colon-list-separator":return(t,n,s)=>{e=/(:list)$/.exec(t),t=t.replace(/:list$/,""),e?void 0!==s[t]?s[t]=[...s[t],n]:s[t]=[n]:s[t]=n};case"comma":case"separator":return(e,n,s)=>{const i="string"==typeof n&&n.includes(t.arrayFormatSeparator),r="string"==typeof n&&!i&&x(n,t).includes(t.arrayFormatSeparator);n=r?x(n,t):n;const a=i||r?