%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/js/Static/
Upload File :
Create Path :
Current File : /www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/js/Static/QrCode.f23833717f895398e858.js

(self.webpackChunkncpasswords=self.webpackChunkncpasswords||[]).push([[3413],{12520:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});const r={}},6211:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});const r={}},16091:(t,e,s)=>{"use strict";s.d(e,{A:()=>l});var r=function(){var t=this;return(0,t._self._c)("qr-code",{staticClass:"passwords-qr-code",style:t.style,attrs:{text:t.text,color:t.color,size:t.codeSize,bgColor:t.bgColor,errorLevel:"Q"}})};r._withStripped=!0;var a=s(7443),o=s(89843),i=s(90512);const n={components:{QrCode:a.A},props:{text:{type:String},size:{type:Number,default:256}},computed:{color(){let t=o.A.get("server.theme.color.primary");return i.A.getColorLuma(o.A.get("server.theme.color.background"))-i.A.getColorLuma(t)<50?"#000":t},bgColor:()=>o.A.get("server.theme.color.background"),style(){return{"border-color":this.bgColor,width:`${this.size}px`,height:`${this.size}px`}},codeSize(){return this.size-8}}};s(8131);const l=(0,s(14486).A)(n,r,[],!1,null,null,null).exports},67771:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>w});var r=function(){var t=this,e=t._self._c;return e("nc-modal",{attrs:{container:t.container,size:"small"},on:{close:t.close}},[e("div",{staticClass:"password-share-qrcode"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.property,expression:"property"}],attrs:{id:"password-details-qrcode"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.property=e.target.multiple?s:s[0]}}},[t.password.username?e("translate",{attrs:{tag:"option",value:"username",say:"Username"}}):t._e(),t._v(" "),e("translate",{attrs:{tag:"option",value:"password",say:"Password"}}),t._v(" "),t.password.url?e("translate",{attrs:{tag:"option",value:"url",say:"Website"}}):t._e(),t._v(" "),e("translate",{attrs:{tag:"option",value:"hash",say:"SHA-1"}})],1),t._v(" "),e("div",{staticClass:"password-share-qrcode-box",class:{"has-warning":t.showWarning}},[e("qr-code",{attrs:{text:t.text}}),t._v(" "),t.showWarning?e("div",{staticClass:"password-share-qrcode-warning",on:{click:t.hideWarning}},[e("eye-off-icon",{attrs:{size:64}}),t._v(" "),e("translate",{attrs:{say:"Make sure this QR code is only visible to people you trust."}}),t._v(" "),e("translate",{attrs:{say:"Click to show the QR code."}}),t._v(" "),e("translate",{staticClass:"disable-warning",attrs:{say:"Don't warn me again"},on:{click:function(e){return e.stopPropagation(),t.disableWarning.apply(null,arguments)}}})],1):t._e()],1)])])};r._withStripped=!0;var a=s(53024),o=s(16091),i=s(13441),n=s(94493),l=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon eye-off-icon",attrs:{"aria-hidden":!t.title||null,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])};l._withStripped=!0;const c={name:"EyeOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var d=s(14486);const p=(0,d.A)(c,l,[],!1,null,null,null).exports;var u=s(90512),h=s(89843),g=s(80444);const v={components:{EyeOffIcon:p,Icon:i.A,QrCode:o.A,Translate:a.A,NcModal:n.A},props:{password:{type:Object}},data(){let t=h.A.get("client.sharing.qrcode.warning",!0);return{text:t?g.A.translate("What did you expect?"):this.password.password,property:"password",container:u.A.popupContainer(!0),warning:t}},computed:{showWarning(){return this.warning}},methods:{hideWarning(){this.text=this.password[this.property],this.$nextTick((()=>{this.warning=!1}))},disableWarning(){h.A.set("client.sharing.qrcode.warning",!1),this.hideWarning()},close(){this.$destroy(),this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},watch:{password(t){this.text=t[this.property]},property(t){this.text=this.password[t]}}};s(59608);const w=(0,d.A)(v,r,[],!1,null,null,null).exports},8131:(t,e,s)=>{var r=s(12520);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals),(0,s(70534).A)("4dddf3fe",r,!1,{})},59608:(t,e,s)=>{var r=s(6211);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals),(0,s(70534).A)("36cb15c8",r,!1,{})}}]);

Zerion Mini Shell 1.0