diff options
Diffstat (limited to 'js/editor-guest.js')
-rw-r--r-- | js/editor-guest.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/editor-guest.js b/js/editor-guest.js index 7598030a3..b61928fd9 100644 --- a/js/editor-guest.js +++ b/js/editor-guest.js @@ -1,2 +1,2 @@ -"use strict";(self.webpackChunktext=self.webpackChunktext||[]).push([["editor-guest"],{1892:(n,e,t)=>{t.d(e,{Z:()=>r});var a=t(87537),s=t.n(a),i=t(23645),o=t.n(i)()(s());o.push([n.id,"form.guest-name-dialog[data-v-5d2c4450]{display:flex;align-items:center;padding:6px}form.guest-name-dialog[data-v-5d2c4450] img{margin:0 !important}form.guest-name-dialog input[type=text][data-v-5d2c4450]{flex-grow:1}form.guest-name-dialog label[data-v-5d2c4450]{padding-right:3px;height:32px}","",{version:3,sources:["webpack://./src/components/GuestNameDialog.vue"],names:[],mappings:"AA4FA,wCACC,YAAA,CACA,kBAAA,CACA,WAAA,CAEA,4CACC,mBAAA,CAGD,yDACC,WAAA,CAED,8CACC,iBAAA,CACA,WAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nform.guest-name-dialog {\n\tdisplay: flex;\n\talign-items: center;\n\tpadding: 6px;\n\n\t&::v-deep img {\n\t\tmargin: 0 !important;\n\t}\n\n\tinput[type=text] {\n\t\tflex-grow: 1;\n\t}\n\tlabel {\n\t\tpadding-right: 3px;\n\t\theight: 32px;\n\t}\n}\n"],sourceRoot:""}]);const r=o},94998:(n,e,t)=>{t.r(e),t.d(e,{default:()=>b});var a=t(15168),s=t.n(a),i=t(28017),o=t.n(i),r=t(79753);const u={name:"GuestNameDialog",components:{Avatar:o()},directives:{tooltip:s()},props:{syncService:{type:Object,default:null}},data:function(){return{guestName:"",guestNameBuffered:""}},computed:{avatarUrl:function(){var n=(0,r.generateUrl)("/avatar/guest/{user}/{size}",{user:this.guestNameBuffered,size:32});return window.location.protocol+"//"+window.location.host+n}},beforeMount:function(){this.guestName=this.syncService.session.guestName,this.updateBufferedGuestName()},methods:{setGuestName:function(){var n=this,e=this.syncService.session.guestName;this.syncService.updateSession(this.guestName).then((function(){localStorage.setItem("nick",n.guestName),n.updateBufferedGuestName()})).catch((function(t){n.guestName=e}))},updateBufferedGuestName:function(){this.guestNameBuffered=this.guestName}}};var l=t(93379),m=t.n(l),c=t(7795),d=t.n(c),g=t(90569),p=t.n(g),A=t(3565),f=t.n(A),v=t(19216),h=t.n(v),C=t(44589),N=t.n(C),x=t(1892),y={};y.styleTagTransform=N(),y.setAttributes=f(),y.insert=p().bind(null,"head"),y.domAPI=d(),y.insertStyleElement=h();m()(x.Z,y);x.Z&&x.Z.locals&&x.Z.locals;const b=(0,t(51900).Z)(u,(function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("form",{directives:[{name:"tooltip",rawName:"v-tooltip",value:n.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(e){return e.preventDefault(),n.setGuestName()}}},[t("label",[t("Avatar",{attrs:{url:n.avatarUrl,"disable-tooltip":!0,size:32}})],1),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.guestName,expression:"guestName"}],attrs:{type:"text","aria-label":n.t("text","Edit guest name")},domProps:{value:n.guestName},on:{input:function(e){e.target.composing||(n.guestName=e.target.value)}}}),n._v(" "),t("input",{staticClass:"icon-confirm",attrs:{type:"submit","aria-label":n.t("text","Save guest name"),value:""}})])}),[],!1,null,"5d2c4450",null).exports}}]); -//# sourceMappingURL=editor-guest.js.map?v=5c4bcb98a569fb886f9a
\ No newline at end of file +"use strict";(self.webpackChunktext=self.webpackChunktext||[]).push([["editor-guest"],{17848:(n,e,t)=>{t.d(e,{Z:()=>r});var a=t(87537),s=t.n(a),i=t(23645),o=t.n(i)()(s());o.push([n.id,"form.guest-name-dialog[data-v-145145b1]{display:flex;align-items:center;padding:6px}form.guest-name-dialog[data-v-145145b1] img{margin:0 !important}form.guest-name-dialog input[type=text][data-v-145145b1]{flex-grow:1}form.guest-name-dialog label[data-v-145145b1]{padding-right:3px;height:32px}","",{version:3,sources:["webpack://./src/components/GuestNameDialog.vue"],names:[],mappings:"AAwFA,wCACC,YAAA,CACA,kBAAA,CACA,WAAA,CAEA,4CACC,mBAAA,CAGD,yDACC,WAAA,CAED,8CACC,iBAAA,CACA,WAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nform.guest-name-dialog {\n\tdisplay: flex;\n\talign-items: center;\n\tpadding: 6px;\n\n\t&::v-deep img {\n\t\tmargin: 0 !important;\n\t}\n\n\tinput[type=text] {\n\t\tflex-grow: 1;\n\t}\n\tlabel {\n\t\tpadding-right: 3px;\n\t\theight: 32px;\n\t}\n}\n"],sourceRoot:""}]);const r=o},81094:(n,e,t)=>{t.r(e),t.d(e,{default:()=>y});var a=t(15168),s=t.n(a),i=t(28017),o=t.n(i),r=t(79753),u=t(13721);const m={name:"GuestNameDialog",components:{Avatar:o()},directives:{tooltip:s()},mixins:[u.BG],data:function(){return{guestName:"",guestNameBuffered:""}},computed:{avatarUrl:function(){var n=(0,r.generateUrl)("/avatar/guest/{user}/{size}",{user:this.guestNameBuffered,size:32});return window.location.protocol+"//"+window.location.host+n}},beforeMount:function(){this.guestName=this.$syncService.session.guestName,this.updateBufferedGuestName()},methods:{setGuestName:function(){var n=this,e=this.$syncService.session.guestName;this.$syncService.updateSession(this.guestName).then((function(){localStorage.setItem("nick",n.guestName),n.updateBufferedGuestName()})).catch((function(t){n.guestName=e}))},updateBufferedGuestName:function(){this.guestNameBuffered=this.guestName}}};var l=t(93379),g=t.n(l),d=t(7795),c=t.n(d),p=t(90569),A=t.n(p),f=t(3565),v=t.n(f),h=t(19216),C=t.n(h),N=t(44589),x=t.n(N),b=t(17848),w={};w.styleTagTransform=x(),w.setAttributes=v(),w.insert=A().bind(null,"head"),w.domAPI=c(),w.insertStyleElement=C();g()(b.Z,w);b.Z&&b.Z.locals&&b.Z.locals;const y=(0,t(51900).Z)(m,(function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("form",{directives:[{name:"tooltip",rawName:"v-tooltip",value:n.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(e){return e.preventDefault(),n.setGuestName()}}},[t("label",[t("Avatar",{attrs:{url:n.avatarUrl,"disable-tooltip":!0,size:32}})],1),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.guestName,expression:"guestName"}],attrs:{type:"text","aria-label":n.t("text","Edit guest name")},domProps:{value:n.guestName},on:{input:function(e){e.target.composing||(n.guestName=e.target.value)}}}),n._v(" "),t("input",{staticClass:"icon-confirm",attrs:{type:"submit","aria-label":n.t("text","Save guest name"),value:""}})])}),[],!1,null,"145145b1",null).exports}}]); +//# sourceMappingURL=editor-guest.js.map?v=4b25957b88caa0bbd979
\ No newline at end of file |