2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-15 18:13:00 +00:00
RTL/angular/1.9bb271dd8dffd2d994a5.js
ShahanaFarooqui d953277d83
Release 0.8.4 (#404)
Material tables numeric sorting fix
Show channel visibility to open channel table (#359)
Removing host value from config for BTCPayServer
2020-08-06 19:47:19 -04:00

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("bwdU"),p=n("qLAh"),m=n("Nv++"),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.B,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,n){"use strict";n.d(e,"a",(function(){return r}));var c=n("gIcY"),i=n("CcnG"),r=function(){function t(){}return t.prototype.validate=function(t){return this.max?c.s.max(+this.max)(t):null},t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Lb({type:t,selectors:[["input","max",""]],inputs:{max:"max"},features:[i.Cb([{provide:c.i,useExisting:t,multi:!0}])]}),t}()},mNcL:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var c=n("ihYY"),i=[Object(c.n)("newlyAddedRowAnimation",[Object(c.k)("notAdded, void",Object(c.l)({transform:"translateX(0%)"})),Object(c.k)("added",Object(c.l)({transform:"translateX(100%)"})),Object(c.m)("added <=> notAdded",Object(c.e)("1000ms ease-out")),Object(c.m)("added <=> void",Object(c.e)("0ms ease-out"))])]},qmev:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var c=n("K9Ia"),i=n("P6uZ"),r=n("ny24"),a=n("7nzP"),o=n("7o2P"),s=n("CcnG"),u=n("yGQT"),d=n("VkXI"),b=n("Ip0R"),l=n("21Lb"),f=n("v/zR");function p(t,e){if(1&t&&(s.Wb(0,"span",7),s.Hc(1),s.jc(2,"number"),s.Vb()),2&t){var n=s.ic().$implicit;s.Db(1),s.Ic(s.kc(2,1,n.dataValue))}}function m(t,e){if(1&t&&(s.Wb(0,"span",7),s.Hc(1),s.jc(2,"number"),s.Vb()),2&t){var n=s.ic().$implicit,c=s.ic(2);s.Db(1),s.Ic(s.lc(2,1,n[c.currencyUnitEnum.BTC],c.currencyUnitFormats.BTC))}}function y(t,e){if(1&t&&(s.Wb(0,"span",7),s.Hc(1),s.jc(2,"number"),s.Vb()),2&t){var n=s.ic().$implicit,c=s.ic(2);s.Db(1),s.Ic(s.lc(2,1,n[c.currencyUnitEnum.OTHER],c.currencyUnitFormats.OTHER))}}function g(t,e){if(1&t&&(s.Wb(0,"div",4),s.Wb(1,"div",5),s.Hc(2),s.Vb(),s.Fc(3,p,3,3,"span",6),s.Fc(4,m,3,4,"span",6),s.Fc(5,y,3,4,"span",6),s.Vb()),2&t){var n=e.$implicit,c=s.ic().$implicit,i=s.ic();s.pc("matTooltip",n.tooltip)("matTooltipPosition","below"),s.Db(2),s.Ic(n.title),s.Db(1),s.pc("ngIf",c===i.currencyUnitEnum.SATS),s.Db(1),s.pc("ngIf",c===i.currencyUnitEnum.BTC),s.Db(1),s.pc("ngIf",i.fiatConversion&&c!==i.currencyUnitEnum.SATS&&c!==i.currencyUnitEnum.BTC)}}function v(t,e){if(1&t&&(s.Wb(0,"mat-tab",1),s.Wb(1,"div",2),s.Fc(2,g,6,6,"div",3),s.Vb(),s.Vb()),2&t){var n=e.$implicit,c=s.ic();s.qc("label",n),s.Db(2),s.pc("ngForOf",c.values)}}var h=function(){function t(t,e){this.commonService=t,this.store=e,this.values=[],this.currencyUnitEnum=a.g,this.currencyUnitFormats=a.f,this.currencyUnits=[],this.fiatConversion=!1,this.unSubs=[new c.a,new c.a]}return t.prototype.ngOnInit=function(){var t=this;this.store.select("root").pipe(Object(i.a)()).subscribe((function(e){t.fiatConversion=e.selNode.settings.fiatConversion,t.currencyUnits=e.selNode.settings.currencyUnits,t.fiatConversion||t.currencyUnits.splice(2,1),t.currencyUnits.length>1&&t.values[0].dataValue>=0&&t.getCurrencyValues(t.values)}))},t.prototype.ngOnChanges=function(){this.currencyUnits.length>1&&this.values[0].dataValue>=0&&this.getCurrencyValues(this.values)},t.prototype.getCurrencyValues=function(t){var e=this;t.forEach((function(t){t.dataValue>0?e.commonService.convertCurrency(t.dataValue,a.g.SATS,e.currencyUnits[2],e.fiatConversion).pipe(Object(r.a)(e.unSubs[1])).subscribe((function(e){t[a.g.BTC]=e.BTC,t[a.g.OTHER]=e.OTHER})):(t[a.g.BTC]=t.dataValue,t[a.g.OTHER]=t.dataValue)}))},t.prototype.ngOnDestroy=function(){this.unSubs.forEach((function(t){t.next(),t.complete()}))},t.\u0275fac=function(e){return new(e||t)(s.Qb(o.a),s.Qb(u.h))},t.\u0275cmp=s.Kb({type:t,selectors:[["rtl-currency-unit-converter"]],inputs:{values:"values"},features:[s.Bb],decls:2,vars:1,consts:[[3,"label",4,"ngFor","ngForOf"],[3,"label"],["fxLayout","row","fxFlex","100"],["fxLayout","column","class","cc-data-block",3,"matTooltip","matTooltipPosition",4,"ngFor","ngForOf"],["fxLayout","column",1,"cc-data-block",3,"matTooltip","matTooltipPosition"],[1,"cc-data-title"],["class","cc-data-value",4,"ngIf"],[1,"cc-data-value"]],template:function(t,e){1&t&&(s.Wb(0,"mat-tab-group"),s.Fc(1,v,3,2,"mat-tab",0),s.Vb()),2&t&&(s.Db(1),s.pc("ngForOf",e.currencyUnits))},directives:[d.c,b.m,d.a,l.c,l.a,f.a,b.n],pipes:[b.e],styles:[""]}),t}()},"twK/":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return i}));var c={prefix:"far",iconName:"frown",icon:[496,512,[],"f119","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"]},i={prefix:"far",iconName:"smile",icon:[496,512,[],"f118","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"]}}}]);