You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/angular/1.bd61e6826dbafb306978.js

1 line
9.1 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{Ysfc:function(t,e,n){"use strict";n.d(e,"a",(function(){return V}));var c=n("4lrr"),i=n("wHSu"),r=n("7o2P"),a=n("cpEJ"),o=n("7nzP"),s=n("CcnG"),u=n("KELG"),d=n("21Lb"),b=n("Ip0R"),l=n("hUWP"),f=n("yN8u"),p=n("qLAh"),m=n("Hf/j"),y=n("M4kG"),g=n("FZ+F"),v=n("O4ig"),h=n("dEYt");function x(t,e){if(1&t&&(s.Wb(0,"div",13),s.Wb(1,"div",14),s.Wb(2,"h4",15),s.Hc(3,"Address Type"),s.Vb(),s.Wb(4,"span",20),s.Hc(5),s.Vb(),s.Vb(),s.Vb()),2&t){var n=s.ic();s.Db(5),s.Ic(n.addressType)}}function S(t,e){1&t&&s.Rb(0,"mat-divider",17)}var C=function(t){return{"display-none":t}},V=function(){function t(t,e,n,c,r){this.dialogRef=t,this.data=e,this.logger=n,this.commonService=c,this.snackBar=r,this.faReceipt=i.A,this.address="",this.addressType="",this.qrWidth=230,this.screenSize="",this.screenSizeEnum=o.o}return t.prototype.ngOnInit=function(){this.address=this.data.address,this.addressType=this.data.addressType,this.screenSize=this.commonService.getScreenSize()},t.prototype.onClose=function(){this.dialogRef.close(!1)},t.prototype.onCopyAddress=function(t){this.snackBar.open("Generated address copied."),this.logger.info("Copied Text: "+t)},t.\u0275fac=function(e){return new(e||t)(s.Qb(c.f),s.Qb(c.a),s.Qb(a.b),s.Qb(r.a),s.Qb(u.b))},t.\u0275cmp=s.Kb({type:t,selectors:[["rtl-on-chain-generated-address"]],decls:27,vars:22,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"qrdata","margin","width","errorCorrectionLevel","allowEmptyString"],["fxFlex","65",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header","mb-2"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","2","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],["fxLayout","row",4,"ngIf"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"overflow-wrap","foreground-secondary-text"],[1,"w-100","my-1"],["fxLayout","row","fxLayoutAlign","end center",1,"mt-2"],["autoFocus","","mat-flat-button","","color","primary","tabindex","1","type","submit","rtlClipboard","",3,"payload","copied"],[1,"foreground-secondary-text"]],template:function(t,e){1&t&&(s.Wb(0,"div",0),s.Wb(1,"div",1),s.Rb(2,"qrcode",2),s.Vb(),s.Wb(3,"div",3),s.Wb(4,"mat-card-header",4),s.Wb(5,"div",5),s.Rb(6,"fa-icon",6),s.Wb(7,"span",7),s.Hc(8),s.Vb(),s.Vb(),s.Wb(9,"button",8),s.ec("click",(function(){return e.onClose()})),s.Hc(10,"X"),s.Vb(),s.Vb(),s.Wb(11,"mat-card-content"),s.Wb(12,"div",9),s.Wb(13,"div",10),s.Rb(14,"qrcode",2),s.Vb(),s.Fc(15,x,6,1,"div",11),s.Fc(16,S,1,0,"mat-divider",12),s.Wb(17,"div",13),s.Wb(18,"div",14),s.Wb(19,"h4",15),s.Hc(20,"Address"),s.Vb(),s.Wb(21,"span",16),s.Hc(22),s.Vb(),s.Vb(),s.Vb(),s.Rb(23,"mat-divider",17),s.Wb(24,"div",18),s.Wb(25,"button",19),s.ec("copied",(function(t){return e.onCopyAddress(t)})),s.Hc(26,"Copy Address"),s.Vb(),s.Vb(),s.Vb(),s.Vb(),s.Vb(),s.Vb()),2&t&&(s.Db(1),s.pc("ngClass",s.tc(18,C,e.screenSize===e.screenSizeEnum.XS||e.screenSize===e.screenSizeEnum.SM)),s.Db(1),s.pc("qrdata",e.address)("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),s.Db(4),s.pc("icon",e.faReceipt),s.Db(2),s.Ic(e.screenSize===e.screenSizeEnum.XS?"Address":"Generated Address"),s.Db(5),s.pc("ngClass",s.tc(20,C,e.screenSize!==e.screenSizeEnum.XS&&e.screenSize!==e.screenSizeEnum.SM)),s.Db(1),s.pc("qrdata",e.address)("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),s.Db(1),s.pc("ngIf",""!==e.addressType),s.Db(1),s.pc("ngIf",""!==e.addressType),s.Db(6),s.Ic(e.address),s.Db(3),s.pc("payload",e.address))},directives:[d.c,d.b,d.a,b.l,l.a,f.a,p.c,m.a,y.a,p.b,b.n,g.a,v.a,h.a],styles:[""]}),t}()},hNFU:function(t,e