-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path935.33f11d5ac651947f.js
1 lines (1 loc) · 6.67 KB
/
935.33f11d5ac651947f.js
1
"use strict";(self.webpackChunkcashwarden_web_ng=self.webpackChunkcashwarden_web_ng||[]).push([[935],{6935:(nn,u,a)=>{a.r(u),a.d(u,{PricingModule:()=>W}),a(655);var n=a(4650),c=(a(9300),a(174),a(4913),a(3567),a(3353),a(6895));let O=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[c.ez]}),t})();var D=a(8418),m=a(2577),f=a(8800),s=a(9094),y=(a(5156),a(9651)),v=a(7044);a(1102),a(409);var x=a(2604),z=a(3679),S=a(6616),q=a(1811),L=a(1971),p=a(6675);function N(t,o){1&t&&(n.TgZ(0,"span"),n._uU(1,"Free"),n.qZA())}function k(t,o){if(1&t&&(n.TgZ(0,"span",16),n._uU(1),n.ALo(2,"uppercase"),n.qZA()),2&t){const i=n.oxw(2);n.xp6(1),n.hij(" ",n.lcZ(2,1,i.record.plan_slug),"")}}function E(t,o){if(1&t&&(n.TgZ(0,"sv",17),n._uU(1),n.ALo(2,"_date"),n.qZA()),2&t){const i=n.oxw(2);n.xp6(1),n.Oqu(n.lcZ(2,1,i.record.ended_at))}}function w(t,o){if(1&t&&(n.TgZ(0,"th"),n._uU(1),n.qZA()),2&t){const i=o.$implicit;n.xp6(1),n.AsE(" ",i.name," ($",i.price,"/Year)")}}function j(t,o){if(1&t&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA(),n.TgZ(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td"),n._uU(10),n.qZA()()),2&t){const i=o.$implicit;n.xp6(2),n.Oqu(i.action),n.xp6(2),n.Oqu(i.free),n.xp6(2),n.Oqu(i.pro),n.xp6(2),n.Oqu(i.family),n.xp6(2),n.Oqu(i.team)}}function $(t,o){if(1&t&&(n.TgZ(0,"td")(1,"a",18)(2,"button",19),n._uU(3),n.qZA()()()),2&t){const i=o.$implicit;n.xp6(1),n.Q6J("href",i.plink,n.LSH),n.xp6(2),n.hij(" Start ",i.name,"")}}function H(t,o){if(1&t&&(n.ynx(0),n.TgZ(1,"div",3)(2,"div",4),n._UZ(3,"img",5),n.qZA(),n.TgZ(4,"sv-container",6)(5,"sv")(6,"span",7),n._uU(7),n.qZA()(),n.TgZ(8,"sv",8),n.YNc(9,N,2,0,"span",2),n.YNc(10,k,3,3,"span",9),n.qZA(),n.YNc(11,E,3,3,"sv",10),n.qZA()(),n.TgZ(12,"p"),n._uU(13),n.ALo(14,"i18n"),n.qZA(),n._UZ(15,"nz-divider",11),n.TgZ(16,"div",12)(17,"nz-table",13,14)(19,"thead")(20,"tr")(21,"th"),n._uU(22),n.ALo(23,"i18n"),n.qZA(),n.TgZ(24,"th"),n._uU(25,"Free"),n.qZA(),n.YNc(26,w,2,2,"th",15),n.qZA()(),n.TgZ(27,"tbody"),n.YNc(28,j,11,5,"tr",15),n.TgZ(29,"tr"),n._UZ(30,"td")(31,"td"),n.YNc(32,$,4,2,"td",15),n.qZA()()()(),n.BQk()),2&t){const i=n.MAs(18),e=n.oxw();n.xp6(3),n.s9C("src",e.user.avatar,n.LSH),n.xp6(4),n.Oqu(e.user.name),n.xp6(2),n.Q6J("ngIf",!e.record.id),n.xp6(1),n.Q6J("ngIf",e.record.id),n.xp6(1),n.Q6J("ngIf",e.record.id),n.xp6(2),n.hij("\u{1f497} ",n.lcZ(14,12,"app.pricing.description"),""),n.xp6(4),n.Q6J("nzData",e.listOfData)("nzFrontPagination",!1),n.xp6(5),n.hij(" ",n.lcZ(23,14,"app.vip.action"),""),n.xp6(4),n.Q6J("ngForOf",e.plans),n.xp6(2),n.Q6J("ngForOf",i.data),n.xp6(4),n.Q6J("ngForOf",e.plans)}}a(9553);let Z=(()=>{class t{constructor(i,e,r,l,G,K){this.settings=i,this.msg=e,this.modalHelper=r,this.http=l,this.cdr=G,this.i18n=K,this.listOfData=[{key:"1",action:this.i18n.fanyi("app.vip.action.record"),pro:"\u267e\ufe0f",free:"\u267e\ufe0f",family:"\u267e\ufe0f",team:"\u267e\ufe0f"},{key:"1",action:this.i18n.fanyi("app.vip.action.export"),pro:"\u2705",free:"\u2705",family:"\u2705",team:"\u2705"},{key:"1",action:this.i18n.fanyi("app.vip.action.telegram_private_input"),pro:"\u2705",free:"\u2705",family:"\u2705",team:"\u2705"},{key:"1",action:this.i18n.fanyi("app.vip.action.analysis"),pro:"\u2705",free:"\u2705",family:"\u2705",team:"\u2705"},{key:"1",action:this.i18n.fanyi("app.vip.action.calendar"),pro:"\u2705",free:"\u2705",family:"\u2705",team:"\u2705"},{key:"1",action:this.i18n.fanyi("app.vip.action.ledger"),pro:"\u267e\ufe0f",free:"1",family:"\u267e\ufe0f",team:"\u267e\ufe0f"},{key:"1",action:this.i18n.fanyi("app.vip.action.account"),pro:"\u267e\ufe0f",free:"5",family:"\u267e\ufe0f",team:"\u267e\ufe0f"},{key:"1",action:this.i18n.fanyi("app.vip.action.recurrence"),pro:"\u267e\ufe0f",free:"1",family:"\u267e\ufe0f",team:"\u267e\ufe0f"},{key:"1",action:this.i18n.fanyi("app.vip.action.rule"),pro:"\u267e\ufe0f",free:"5",family:"\u267e\ufe0f",team:"\u267e\ufe0f"},{key:"1",action:this.i18n.fanyi("app.vip.action.member"),pro:"\u274c",free:"\u274c",family:"5",team:"\u267e\ufe0f"},{key:"1",action:this.i18n.fanyi("app.vip.action.telegram_group_input"),pro:"\u274c",free:"\u274c",family:"\u2705",team:"\u2705"},{key:"1",action:this.i18n.fanyi("app.vip.action.rule"),pro:"\u267e\ufe0f",free:"5",family:"\u267e\ufe0f",team:"\u267e\ufe0f"},{key:"1",action:this.i18n.fanyi("app.vip.action.budget"),pro:"\u2705",free:"\u274c",family:"\u2705",team:"\u2705"},{key:"1",action:this.i18n.fanyi("app.vip.action.wish_list"),pro:"\u2705",free:"\u274c",family:"\u2705",team:"\u2705"},{key:"1",action:this.i18n.fanyi("app.vip.action.currency"),pro:"\u2705",free:"\u274c",family:"\u2705",team:"\u2705"},{key:"1",action:this.i18n.fanyi("app.vip.action.custom_widget"),pro:"\u2705",free:"\u274c",family:"\u2705",team:"\u2705"}],this.plans=[]}get user(){return this.settings.user}ngOnInit(){this.getData(),this.getPlans()}getPlans(){this.http.get("/api/plans").subscribe(i=>{this.plans=i,this.cdr.detectChanges()})}getData(){this.http.get("/api/users/vip").subscribe(i=>{this.record=i,this.cdr.detectChanges()})}buy(){this.msg.info("Come soon")}}return t.\u0275fac=function(i){return new(i||t)(n.Y36(s.gb),n.Y36(y.dD),n.Y36(s.Te),n.Y36(s.lP),n.Y36(n.sBO),n.Y36(s.Oi))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-pricing-index"]],decls:3,vars:2,consts:[[1,"pt-lg"],[3,"nzBordered"],[4,"ngIf"],["nz-row","",1,"avatar-holder"],[1,"pr-md"],[3,"src"],["size","small","col","1"],[1,"name"],["label","VIP Level"],["class","badge-vip",4,"ngIf"],["label","VIP DueDate",4,"ngIf"],["nzDashed",""],["nz-col","","nzMd","24","nzLg","12"],["nzSize","small",3,"nzData","nzFrontPagination"],["basicTable",""],[4,"ngFor","ngForOf"],[1,"badge-vip"],["label","VIP DueDate"],["target","_blank",3,"href"],["nz-button","","nzType","primary"]],template:function(i,e){1&i&&(n.TgZ(0,"div",0)(1,"nz-card",1),n.YNc(2,H,33,16,"ng-container",2),n.qZA()()),2&i&&(n.xp6(1),n.Q6J("nzBordered",!1),n.xp6(1),n.Q6J("ngIf",e.user))},dependencies:[c.sg,c.O5,x.vb,x.sE,z.t3,z.SK,S.ix,v.w,q.dQ,L.bd,p.N8,p.Uo,p._C,p.Om,p.p0,p.$Z,m.g,c.gd,s.uU,s.Ck],styles:["[_nghost-%COMP%] .avatar-holder[_ngcontent-%COMP%]{margin-bottom:24px}[_nghost-%COMP%] .avatar-holder[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px;height:60px}[_nghost-%COMP%] .avatar-holder[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-bottom:4px;font-weight:500;font-size:20px;line-height:28px}"],changeDetection:0}),t})();var C=a(9132);const V=[{path:"index",component:Z,data:{titleI18n:"Pricing"}}];let X=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[C.Bz.forChild(V),C.Bz]}),t})(),W=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[D.m8,X,m.S,O,f.ZJ]}),t})()}}]);