Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/editor-guest.js')
-rw-r--r--js/editor-guest.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/editor-guest.js b/js/editor-guest.js
index 94f59fb25..727d9fdf5 100644
--- a/js/editor-guest.js
+++ b/js/editor-guest.js
@@ -1,2 +1,2 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[189],{356:function(e,t,a){"use strict";var n=a(69);a.n(n).a},357:function(e,t,a){(e.exports=a(44)(!1)).push([e.i,"form.guest-name-dialog[data-v-754ab6dc] {\n display: flex;\n max-width: 200px;\n margin: auto;\n margin-top: -2px;\n padding: 3px;\n}\nform.guest-name-dialog[data-v-754ab6dc] img {\n margin: 0 !important;\n}\nform.guest-name-dialog input[type=text][data-v-754ab6dc] {\n flex-grow: 1;\n}\nform.guest-name-dialog label[data-v-754ab6dc] {\n padding: 3px;\n height: 32px;\n}\n",""])},362:function(e,t,a){"use strict";a.r(t);var n=a(49),s=a.n(n),i=a(82),o={name:"GuestNameDialog",components:{Avatar:a.n(i).a},directives:{tooltip:s.a},props:{syncService:{type:Object,default:null}},data:function(){return{guestName:"",guestNameBuffered:""}},computed:{avatarUrl:function(){var e=OC.generateUrl("/avatar/guest/{user}/{size}",{user:this.guestNameBuffered,size:32});return window.location.protocol+"//"+window.location.host+e}},beforeMount:function(){this.guestName=this.syncService.session.guestName,this.updateBufferedGuestName()},methods:{setGuestName:function(){var e=this,t=this.syncService.session.guestName;this.syncService.updateSession(this.guestName).then(function(){localStorage.setItem("nick",e.guestName),e.updateBufferedGuestName()}).catch(function(a){e.guestName=t})},updateBufferedGuestName:function(){this.guestNameBuffered=this.guestName}}},u=(a(356),a(5)),r=Object(u.a)(o,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.t("text","Enter your name so other users can see who is editing"),expression:"t('text', 'Enter your name so other users can see who is editing')"}],staticClass:"guest-name-dialog",on:{submit:function(t){return t.preventDefault(),e.setGuestName()}}},[a("label",[a("avatar",{attrs:{url:e.avatarUrl,"disable-tooltip":!0,size:32}})],1),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.guestName,expression:"guestName"}],attrs:{type:"text","aria-label":e.t("text","Edit guest name")},domProps:{value:e.guestName},on:{input:function(t){t.target.composing||(e.guestName=t.target.value)}}}),e._v(" "),a("input",{staticClass:"icon-confirm",attrs:{type:"submit","aria-label":e.t("text","Save guest name")}})])},[],!1,null,"754ab6dc",null);t.default=r.exports},69:function(e,t,a){var n=a(357);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,a(45).default)("2efd7c60",n,!0,{})}}]);
-//# sourceMappingURL=editor-guest.js.map?v=54335c0bb0d08ade4456 \ No newline at end of file
+(window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[189],{356:function(e,t,a){"use strict";var s=a(67);a.n(s).a},357:function(e,t,a){(e.exports=a(46)(!1)).push([e.i,"form.guest-name-dialog[data-v-754ab6dc]{display:flex;max-width:200px;margin:auto;margin-top:-2px;padding:3px}form.guest-name-dialog[data-v-754ab6dc] img{margin:0 !important}form.guest-name-dialog input[type=text][data-v-754ab6dc]{flex-grow:1}form.guest-name-dialog label[data-v-754ab6dc]{padding:3px;height:32px}\n",""])},363:function(e,t,a){"use strict";a.r(t);var s=a(50),n=a.n(s),i=a(82),o={name:"GuestNameDialog",components:{Avatar:a.n(i).a},directives:{tooltip:n.a},props:{syncService:{type:Object,default:null}},data:function(){return{guestName:"",guestNameBuffered:""}},computed:{avatarUrl:function(){var e=OC.generateUrl("/avatar/guest/{user}/{size}",{user:this.guestNameBuffered,size:32});return window.location.protocol+"//"+window.location.host+e}},beforeMount:function(){this.guestName=this.syncService.session.guestName,this.updateBufferedGuestName()},methods:{setGuestName:function(){var e=this,t=this.syncService.session.guestName;this.syncService.updateSession(this.guestName).then(function(){localStorage.setItem("nick",e.guestName),e.updateBufferedGuestName()}).catch(function(a){e.guestName=t})},updateBufferedGuestName:function(){this.guestNameBuffered=this.guestName}}},u=(a(356),a(5)),r=Object(u.a)(o,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.t("text","Enter your name so other users can see who is editing"),expression:"t('text', 'Enter your name so other users can see who is editing')"}],staticClass:"guest-name-dialog",on:{submit:function(t){return t.preventDefault(),e.setGuestName()}}},[a("label",[a("avatar",{attrs:{url:e.avatarUrl,"disable-tooltip":!0,size:32}})],1),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.guestName,expression:"guestName"}],attrs:{type:"text","aria-label":e.t("text","Edit guest name")},domProps:{value:e.guestName},on:{input:function(t){t.target.composing||(e.guestName=t.target.value)}}}),e._v(" "),a("input",{staticClass:"icon-confirm",attrs:{type:"submit","aria-label":e.t("text","Save guest name")}})])},[],!1,null,"754ab6dc",null);t.default=r.exports},67:function(e,t,a){var s=a(357);"string"==typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);(0,a(47).default)("34bcc32a",s,!0,{})}}]);
+//# sourceMappingURL=editor-guest.js.map?v=c86725d2deb898f249f4 \ No newline at end of file