1import{f as Ae}from"./chunk-GCAISGMR.js";import"./chunk-QLDM7PBN.js";import"./chunk-35DGWPJP.js";import"./chunk-OHTCRKG7.js";import{aa as Ne}from"./chunk-5OOYLL4M.js";import"./chunk-JFTXRUF7.js";import{b as He}from"./chunk-DAJCQZY3.js";import"./chunk-OO6J4RUZ.js";import"./chunk-EZ5LIARY.js";import{Ae as Pe,Je as Ee,Ld as ye,Od as j,bf as ze,he as Se,ie as he,kf as Re,te as Ie,ue as we,ve as Te,wf as Ve,ze as Ce}from"./chunk-YTD6TVBI.js";import"./chunk-TVI5IXSR.js";import{$ as Me,L as be,aa as Be,da as De,ea as Fe,fa as ke,k as _e,n as ve,r as fe}from"./chunk-EW2VWUD5.js";import"./chunk-DBVQ7ZIO.js";import{Xa as xe,eb as L}from"./chunk-2FQZ6OWL.js";import{$b as f,$f as le,$g as me,Bb as n,Cb as i,Db as y,Ff as oe,Hb as I,Jb as S,Kb as g,N as G,Nb as H,Pe as ae,Rb as C,Rd as Z,Sb as P,Tb as E,Ua as t,Uc as K,Wc as N,Xb as J,Xc as X,Xf as re,Yf as pe,Za as h,Zd as U,_b as o,ac as m,ag as de,bc as B,bh as ue,ce as ee,ch as ge,dg as ce,ea as R,eb as F,ee as te,eh as $,fb as k,fd as A,he as ie,ib as V,kb as v,kc as z,mc as Q,ob as Y,pb as u,qa as b,ra as x,tb as W,uc as l,vc as d,wa as D,wc as w,wg as se,ze as ne}from"./chunk-3WJST644.js";import"./chunk-DYRRYDWT.js";import"./chunk-CRRX3TQA.js";import"./chunk-T6FOSZ2M.js";import"./chunk-UTS24DIO.js";import"./chunk-7DAD5AFT.js";var $e=["showDetailModal"],qe=["permissionTree"],Ge=()=>({backdrop:"static"});function Ye(e,a){if(e&1&&(n(0,"tr")(1,"td"),o(2),i(),n(3,"td"),o(4),i(),n(5,"td"),o(6),l(7,"number"),i(),n(8,"td"),o(9),l(10,"number"),i()()),e&2){let p=a.$implicit,s=g();t(2),f(p.count),t(2),f(p.description),t(2),B("",s.appSession.application.currencySign,"",w(7,6,p.amount,".2"),""),t(3),B("",s.appSession.application.currencySign,"",w(10,9,p.count*p.amount,".2"),"")}}var Ue=(()=>{let a=class a extends L{constructor(s,c){super(s),this._paymentService=c,this.resettingPermissions=!1}show(s){this._paymentService.getPayment(s).subscribe(c=>{this.products=c.subscriptionPaymentProducts,this.modal.show()})}close(){this.modal.hide()}};a.\u0275fac=function(c){return new(c||a)(h(D),h(U))},a.\u0275cmp=F({type:a,selectors:[["showDetailModal"]],viewQuery:function(c,r){if(c&1&&(C($e,7),C(qe,5)),c&2){let _;P(_=E())&&(r.modal=_.first),P(_=E())&&(r.permissionTree=_.first)}},features:[V],decls:27,vars:16,consts:[["showDetailModal","bs-modal"],["appBsModal","","tabindex","-1","role","dialog","aria-labelledby","showDetailModal","aria-hidden","true",1,"modal","fade",3,"config"],[1,"modal-dialog","modal
1-lg"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button",1,"btn-close",3,"click"],[1,"modal-body"],[1,"table","table-rounded","table-striped","border","gy-7","gs-7"],[1,"fw-semibold","fs-6","text-gray-800","border-bottom","border-gray-200"],[4,"ngFor","ngForOf"]],template:function(c,r){if(c&1){let _=I();n(0,"div",1,0)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h4",5)(6,"span"),o(7),l(8,"localize"),i()(),n(9,"button",6),S("click",function(){return b(_),x(r.close())}),i()(),n(10,"div",7)(11,"table",8)(12,"thead")(13,"tr",9)(14,"th"),o(15,"#"),i(),n(16,"th"),o(17),l(18,"localize"),i(),n(19,"th"),o(20),l(21,"localize"),i(),n(22,"th"),o(23),l(24,"localize"),i()()(),n(25,"tbody"),v(26,Ye,11,12,"tr",10),i()()()()()()}c&2&&(u("config",z(15,Ge)),t(7),f(d(8,7,"Detail")),t(2),Y("aria-label",r.l("Close")),t(8),f(d(18,9,"Item")),t(3),f(d(21,11,"Amount")),t(3),f(d(24,13,"TotalAmount")),t(3),u("ngForOf",r.products))},dependencies:[ye,N,A,j],encapsulation:2});let e=a;return e})();var We=["dataTable"],Je=["paginator"],Ke=()=>({"min-width":"50rem"}),Xe=(e,a)=>({"text-muted":e,"text-success":a}),Ze=()=>["/account/buy"],et=(e,a)=>({editionId:e,tenantId:a});function tt(e,a){e&1&&(n(0,"span",36),o(1),l(2,"localize"),i()),e&2&&(t(),m(" ",d(2,1,"Free")," "))}function it(e,a){e&1&&(n(0,"span",37),o(1),l(2,"localize"),i()),e&2&&(t(),m(" ",d(2,1,"Trial")," "))}function nt(e,a){if(e&1&&(n(0,"div",33)(1,"small",16),o(2),l(3,"localize"),i(),n(4,"h3",17),o(5),i(),v(6,tt,3,3,"span",34)(7,it,3,3,"span",35),i()),e&2){let p=g();t(2),m(" ",d(3,4,"Edition")," "),t(3),m(" ",p.tenant.edition.displayName," "),t(),u("ngIf",p.tenant.edition.isFree),t(),u("ngIf",p.tenant.isInTrialPeriod)}}function at(e,a){e&1&&y(0,"i",42)}function ot(e,a){e&1&&y(0,"i",43)}function rt(e,a){if(e&1&&(n(0,"span"),o(1),i()),e&2){let p=g().$implicit;t(),m(": ",p.value,"")}}function pt(e,a){if(e&1&&(n(0,"span",39),v(1,at,1,0,"i",40)(2,ot,1,0,"i",41),o(3),v(4,rt,2,1,"span",19),i()),e&2){let p=a.$implicit;u("ngClass",Q(5,Xe,p.value=="false",p.value!="false")),t(),u("ngIf",p.value=="false"),t(),u("ngIf",p.value!="false"),t(),m(" ",p.name," "),t(),u("ngIf",p.value!="false"&&p.value!="true")}}function lt(e,a){if(e&1&&(n(0,"div"),v(1,pt,5,8,"span",38),i()),e&2){let p=g();t(),u("ngForOf",p.tenant.featureValues)}}function dt(e,a){e&1&&(n(0,"div")(1,"p"),o(2),l(3,"localize"),i()()),e&2&&(t(2),m(" ",d(3,1,"NoFeaturesInYourPlan")," "))}function ct(e,a){if(e&1){let p=I();n(0,"div",44)(1,"div",22)(2,"a",45),S("click",function(){b(p);let c=g();return x(c.startExtendSubscription())}),o(3),l(4,"localize"),i()()()}e&2&&(t(3),m(" ",d(4,1,"Extend")," "))}function st(e,a){if(e&1&&(n(0,"div",44)(1,"div",22)(2,"a",46),o(3),l(4,"localize"),i()()()),e&2){let p=g();t(2),u("routerLink",z(5,Ze))("queryParams",Q(6,et,p.tenant.edition.id,p.tenant.id)),t(),m(" ",d(4,3,"BuyNow")," ")}}function mt(e,a){if(e&1){let p=I();n(0,"div",48)(1,"a",49),S("click",function(){let c=b(p).$implicit,r=g(3);return x(r.startUpdateSubscription(c.edition.id))}),o(2),i()()}if(e&2){let p=a.$implicit,s=g(3);t(2),m(" ",s.l("UpgradeTo",p.edition.displayName)," ")}}function ut(e,a){if(e&1&&(n(0,"div"),v(1,mt,3,1,"div",47),i()),e&2){let p=g(2);t(),u("ngForOf",p.editions)}}function gt(e,a){if(e&1){let p=I();n(0,"ul",55)(1,"li",56)(2,"a",57),S("click",function(){b(p);let c=g().$implicit,r=g(3);return x(r.startUpdateSubscription(c.edition.id,"Monthly"))}),o(3),l(4,"localize"),i()(),n(5,"li",56)(6,"a",57),S("click",function(){b(p);let c=g().$implicit,r=g(3);return x(r.startUpdateSubscription(c.edition.id,"Annual"))}),o(7),l(8,"localize"),i()()()}e&2&&(t(3),m(" ",d(4,2,"Monthly")," "),t(4),m(" ",d(8,4,"Annual")," "))}function _t(e,a){if(e&1&&(n(0,"div",51)(1,"button",52),o(2),y(3,"span",53),i(),v(4,gt,9,6,"ul",54),i()),e&2){let p=a.$implicit,s=g(3);t(2),m(" ",s.l("UpgradeTo",p.edition.displayName)," ")}}function vt(e,a){if(e&1&&(n(0,"div"),v(1,_t,5,1,"div",50),i()),e&2){let p=g(2);t(),u("ngForOf",p.editions)}}function ft(e,a){if(e&1&&(n(0,"div",44),v(1,ut,2,1,"div",19)(2,vt,2,1,"div",19),i()),e&2){let p=g();t(),u("ngIf",!p.tenant.edition.isFree),t(),u("ngIf",p.tenant.edition.isFree)}}function bt(e,a){e&1&&(n(0,"tr")(1,"th",58),o(2),l(3,"localize"),i(),n(4,"th",59),o(5),l(6,"localize"),y(7,"p-sortIcon",60),i(),n(8,"th",61),o(9),l(10,"localize"),y(11,"p-sortIcon",62),i(),n(12,"th",63),o(13),l(14,"localize"),y(15,"p-sortIcon",64),i(),n(16,"th",65),o(17),l(18,"localize"),y(19,"p-sortIcon",66),i(),n(20,"th",67),o(21),l(22,"localize"),y(23,"p-sortIcon",68),i(),n(24,"th",69),o(25),l(26,"localize"),i(),n(27,"th",70),o(28),l(29,"localize"),i(),n(30,"th",71),o(31),l(32,"localize"),y(33,"p-sortIcon",72),i()()),e&2&&(t(2),f(d(3,9,"Actions")),t(3),m(" ",d(6,11,"ProcessTime")," "),t(4),m(" ",d(10,13,"Gateway")," "),t(4),m(" ",d(14,15,"Amount")," "),t(4),m(" ",d(18,17,"Status")," "),t(4),m(" ",d(22,19,"Period")," "),t(4),f(d(26,21,"DayCount")),t(3),f(d(29,23,"PaymentId")),t(3),m(" ",d(32,25,"InvoiceNo")," "))}function xt(e,a){if(e&1){let p=I();n(0,"li",56)(1,"a",57),S("click",function(){b(p);let c=g(2).$implicit,r=g();return x(r.createOrShowInvoice(c.id,c.invoiceNo))}),o(2),l(3,"localize"),i()()}e&2&&(t(2),m(" ",d(3,1,"ShowInvoice")," "))}function yt(e,a){if(e&1){let p=I();n(0,"ul",79)(1,"li",56)(2,"a",57),S("click",function(){b(p);let c=g().$implicit;g();let r=J(64);return x(r.show(c.id))}),o(3),l(4,"localize"),i()(),v(5,xt,4,3,"li",80),l(6,"permission"),i()}e&2&&(t(3),m(" ",d(4,2,"Detail")," "),t(2),u("ngIf",d(6,4,"Pages.Administration.Users.Edit")))}function St(e,a){if(e&1&&(n(0,"span"),o(1),l(2,"luxonFormat"),l(3,"UserTimezone"),i()),e&2){let p=g().$implicit;t(),m(" ",d(3,4,w(2,1,p.creationTime,"F"))," ")}}function ht(e,a){e&1&&(n(0,"span"),o(1,"-"),i())}function It(e,a){if(e&1&&(n(0,"tr")(1,"td",58)(2,"div",73)(3,"button",74),y(4,"i",75)(5,"span",53),o(6),l(7,"localize"),i(),v(8,yt,7,6,"ul",76),i()(),n(9,"td",77)(10,"span",78),o(11),l(12,"localize"),i(),v(13,St,4,6,"span",19)(14,ht,2,0,"span",19),i(),n(15,"td",77)(16,"span",78),o(17
1),l(18,"localize"),i(),o(19),l(20,"localize"),i(),n(21,"td",69)(22,"span",78),o(23),l(24,"localize"),i(),o(25),l(26,"number"),i(),n(27,"td",77)(28,"span",78),o(29),l(30,"localize"),i(),o(31),l(32,"localize"),i(),n(33,"td",77)(34,"span",78),o(35),l(36,"localize"),i(),o(37),l(38,"localize"),i(),n(39,"td",69)(40,"span",78),o(41),l(42,"localize"),i(),o(43),i(),n(44,"td",70)(45,"span",78),o(46),l(47,"localize"),i(),o(48),i(),n(49,"td",77)(50,"span",78),o(51),l(52,"localize"),i(),o(53),i()()),e&2){let p=a.$implicit,s=g();t(6),m(" ",d(7,19,"Actions")," "),t(5),f(d(12,21,"ProcessTime")),t(2),u("ngIf",p.creationTime),t(),u("ngIf",!p.creationTime),t(3),f(d(18,23,"Gateway")),t(2),m(" ",d(20,25,"SubscriptionPaymentGatewayType_"+p.gateway)," "),t(4),f(d(24,27,"Amount")),t(2),B(" ",s.appSession.application.currencySign," ",w(26,29,p.totalAmount,".2")," "),t(4),f(d(30,32,"Status")),t(2),m(" ",d(32,34,"SubscriptionPaymentStatus_"+p.status)," "),t(4),f(d(36,36,"Period")),t(2),m(" ",d(38,38,"PaymentPeriodType_"+p.paymentPeriodType)," "),t(4),f(d(42,40,"DayCount")),t(2),m(" ",p.dayCount," "),t(3),f(d(47,42,"PaymentId")),t(2),m(" ",p.externalPaymentId," "),t(3),f(d(52,44,"InvoiceNo")),t(2),m(" ",p.invoiceNo," ")}}function wt(e,a){e&1&&(n(0,"div",81),o(1),l(2,"localize"),i()),e&2&&(t(),m(" ",d(2,1,"NoData")," "))}var O=(()=>{let a=class a extends L{constructor(s,c,r,_,T,M,je,Oe){super(s),this._sessionService=c,this._paymentServiceProxy=r,this._invoiceServiceProxy=_,this._subscriptionServiceProxy=T,this._tenantRegistrationAppService=M,this._activatedRoute=je,this._router=Oe,this.subscriptionStartType=de,this.subscriptionPaymentType=le,this.user=new se,this.tenant=new ce,this.application=new ne,this.filterText="",this.filterText=this._activatedRoute.snapshot.queryParams.filterText||""}ngOnInit(){this.getSettings()}createOrShowInvoice(s,c){c?window.open("/app/admin/invoice/"+s,"_blank"):this._invoiceServiceProxy.createInvoice(new ae({subscriptionPaymentId:s})).subscribe(()=>{this.getPaymentHistory(),window.open("/app/admin/invoice/"+s,"_blank")})}getSettings(){this.loading=!0,this.appSession.init().then(()=>{this.loading=!1,this.user=this.appSession.user,this.tenant=this.appSession.tenant,this.application=this.appSession.application}),this._tenantRegistrationAppService.getEditionsForSelect().subscribe(s=>{this.editions=s.editionsWithFeatures})}getPaymentHistory(s){this.primengTableHelper.shouldResetPaging(s)&&(this.paginator.changePage(0),this.primengTableHelper.records&&this.primengTableHelper.records.length>0)||(this.primengTableHelper.showLoadingIndicator(),this._paymentServiceProxy.getPaymentHistory(this.primengTableHelper.getSorting(this.dataTable),this.primengTableHelper.getMaxResultCount(this.paginator,s),this.primengTableHelper.getSkipCount(this.paginator,s)).pipe(G(()=>this.primengTableHelper.hideLoadingIndicator())).subscribe(c=>{this.primengTableHelper.totalRecordsCount=c.totalCount,this.primengTableHelper.records=c.items,this.primengTableHelper.hideLoadingIndicator()}))}disableRecurringPayments(){this._subscriptionServiceProxy.disableRecurringPayments().subscribe(s=>{this.tenant.subscriptionPaymentType=this.subscriptionPaymentType.RecurringManual})}enableRecurringPayments(){this._subscriptionServiceProxy.enableRecurringPayments().subscribe(s=>{this.tenant.subscriptionPaymentType=this.subscriptionPaymentType.RecurringAutomatic})}hasRecurringSubscription(){return this.tenant.subscriptionPaymentType!==this.subscriptionPaymentType.Manual}startUpdateSubscription(s,c){let r=new pe;r.targetEditionId=s,r.paymentPeriodType=oe[c],r.successUrl=abp.appPath+"account/upgrade-succeed",r.errorUrl=abp.appPath+"account/payment-failed",this._subscriptionServiceProxy.startUpgradeSubscription(r).subscribe(_=>{_.upgraded?this.message.success(this.l("YourAccountIsUpgraded")):this._router.navigate(["account/gateway-selection"],{queryParams:{paymentId:_.paymentId}})})}startExtendSubscription(){let s=new re;s.successUrl=abp.appPath+"account/extend-succeed",s.errorUrl=abp.appPath+"account/payment-failed",this._subscriptionServiceProxy.startExtendSubscription(s).subscribe(c=>{this._router.navigate(["account/gateway-selection"],{queryParams:{paymentId:c}})})}};a.\u0275fac=function(c){return new(c||a)(h(D),h(ee),h(U),h(Z),h(te),h(ie),h(me),h(ue))},a.\u0275cmp=F({type:a,selectors:[["ng-component"]],viewQuery:function(c,r){if(c&1&&(C(We,7),C(Je,7)),c&2){let _;P(_=E())&&(r.dataTable=_.first),P(_=E())&&(r.paginator=_.first)}},features:[V],decls:65,vars:54,consts:[["dataTable",""],["paginator",""],["showDetailModal",""],[1,"content","d-flex","flex-column","flex-column-fluid"],[3,"title"],[1,"card","card-custom","gutter-b"],[1,"card-body"],[1,"p-5",3,"heading"],[1,"mb-10"],[1,"card","shadow-sm","col-md-6","col-lg-4"],[1,"card-header"],[1,"container"],[1,"row"],["class","col-md-12 mt-10",4,"ngIf"],[1,"row","my-5"],[1,"col-md-6"],[1,"text-muted","text-uppercase","d-block"],[1,"d-inline"],[1,"text-muted","text-uppercase","d-block","mb-5"],[4,"ngIf"],[1,"card-footer"],[1,"mb-5","row",3,"hidden"],[1,"col-md-12"],["id","btnDisableRecurringPayments",1,"btn","btn-secondary","btn-lg","w-100",3,"click"],["id","btnEnableRecurringPayments",1,"btn","btn-info","btn-lg","w-100",3,"click"],["class","mb-5 row",4,"ngIf"],[1,"primeng-datatable-container",3,"busyIf"],["sortMode","multiple","ScrollWidth","100%",3,"onLazyLoad","value","rows","paginator","lazy","scrollable","tableStyle"],["pTemplate","header"],["pTemplate","body"],["class","primeng-no-data",4,"ngIf"],[1,"primeng-paging-container"],[3,"onPageChange","rows","totalRecords","rowsPerPageOptions","showCurrentPageReport","currentPageReportTemplate"],[1,"col-md-12","mt-10"],["class","badge badge-success",4,"ngIf"],["class","badge badge-warning",4,"ngIf"],[1,"badge","badge-success"],[1,"badge","badge-warning"],["class","text-left d-block mb-2",3,"ngClass",4,"ngFor","ngForOf"],[1,"text-left","d-block","mb-2",3,"ngClass"],["class","far fa-times-circle text-muted",4,"ngIf"],["class","far fa-check-circle text-success",4,"ngIf"],[1,"far","fa-times-circle","text-muted"],[1,"far","fa-check-circle","text-success"],[1,"mb-5","row"],[1,"btn","btn-info","btn-lg","w-100",3,"click"],[1,"btn","btn-info","btn-lg","w-100",3,"routerLink","queryParams"],["class","col-md-12 mb-5",4,"ngFor","ngForOf"],[1,"col-md-12","mb-5"],[1,"btn","btn-warning","btn-lg","w-100",3,"click"],["class","col-md-12 mb-5 btn-group","dropdown","",4,"ngFor","ngForOf"],["dropdown","",1,"col-md-12","mb-5","btn-group"],["dropdownToggle","","type","button",1,"btn","btn-warning","btn-lg","w-100","dropdown-toggle"],[1,"caret"],["class","dropdown-menu","role","menu",4,"dropdownMenu"],["role","menu",1,"dropdown-menu"],["role","menuitem"],[1,"dropdown-item",3,"click"],[2,"width","130px"],["pSortableColumn","creationTime",2,"width","150px"],["field","creationTime"],["pSortableColumn","gateway",2,"width","150px"],["field","gateway"],["pSortableColumn","amount",2,"width","100px"],["field","amount"],["pSortableColumn","status",2,"width","150px"],["field","status"],["pSortableColumn","paymentPeriodType",2,"width","150px"],["field","paymentPeriodType"],[2,"width","100px"],[2,"width","250px"],["pSortableColumn","invoiceNo",2,"width","150px"],["field","invoiceNo"],["dropdown","","placement","bottom left","container","body",1,"btn-group"],["id","dropdownButton","type","button","dropdownToggle","","aria-controls","dropdownMenu",1,"btn","btn-primary","btn-sm","dropdown-toggle"],[1,"fa","fa-cog"],["id","dropdownMenu","class","dropdown-menu","role","menu","aria-labelledby","dropdownButton",4,"dropdownMenu"],[2,"width","150px"],[1,"p-datatable-column-title"],["id","dropdownMenu","role","menu","aria-labelledby","dropdownButton",1,"dropdown-menu"],["role","menuitem",4,"ngIf"],[1,"primeng-no-data"]],template:function(c,r){if(c&1){let _=I();
1n(0,"div")(1,"div",3),y(2,"sub-header",4),l(3,"localize"),n(4,"div")(5,"div",5)(6,"div",6)(7,"tabset")(8,"tab",7),l(9,"localize"),n(10,"form")(11,"h3",8),o(12,"Your Plan"),i(),n(13,"div",9)(14,"div",10)(15,"div",11)(16,"div",12),v(17,nt,8,6,"div",13),i(),n(18,"div",14)(19,"div",15)(20,"small",16),o(21),l(22,"localize"),i(),n(23,"h3",17),o(24),i()(),n(25,"div",15)(26,"small",16),o(27),l(28,"localize"),i(),n(29,"h3",17),o(30),i()()()()(),n(31,"div",6)(32,"small",18),o(33),l(34,"localize"),i(),v(35,lt,2,1,"div",19)(36,dt,4,3,"div",19),i(),n(37,"div",20)(38,"div",21)(39,"div",22)(40,"a",23),S("click",function(){return b(_),x(r.disableRecurringPayments())}),o(41),l(42,"localize"),i()()(),n(43,"div",21)(44,"div",22)(45,"a",24),S("click",function(){return b(_),x(r.enableRecurringPayments())}),o(46),l(47,"localize"),i()()(),v(48,ct,5,3,"div",25)(49,st,5,9,"div",25)(50,ft,3,2,"div",25),i()()()(),n(51,"tab",7),l(52,"localize"),n(53,"div",26)(54,"p-table",27,0),S("onLazyLoad",function(M){return b(_),x(r.getPaymentHistory(M))}),v(56,bt,34,27,"ng-template",28)(57,It,54,46,"ng-template",29),i(),v(58,wt,3,3,"div",30),n(59,"div",31)(60,"p-paginator",32,1),l(62,"localize"),S("onPageChange",function(M){return b(_),x(r.getPaymentHistory(M))}),i()()()()()()()()(),y(63,"showDetailModal",null,2),i()}c&2&&(u("@routerTransition",void 0),t(2),u("title",d(3,34,"Subscription")),t(2),W(r.containerClass),t(4),H("heading",d(9,36,"SubscriptionInformation")),t(9),u("ngIf",r.tenant.edition),t(4),m(" ",d(22,38,"SubscriptionStartDate")," "),t(3),m(" ",r.tenant.creationTimeString," "),t(3),m(" ",d(28,40,"SubscriptionEndDate")," "),t(3),m(" ",r.tenant.subscriptionDateString," "),t(3),m(" ",d(34,42,"WhatsIncludedInYourPlan")," "),t(2),u("ngIf",r.tenant.featureValues&&r.tenant.featureValues.length),t(),u("ngIf",!r.tenant.featureValues||!r.tenant.featureValues.length),t(2),u("hidden",r.tenant.subscriptionPaymentType!=r.subscriptionPaymentType.RecurringAutomatic),t(3),m(" ",d(42,44,"DisableRecurringPayments")," "),t(2),u("hidden",r.tenant.subscriptionPaymentType!=r.subscriptionPaymentType.RecurringManual),t(3),m(" ",d(47,46,"EnableRecurringPayments")," "),t(2),u("ngIf",!r.hasRecurringSubscription()&&r.tenant.edition&&!r.tenant.edition.isFree&&!r.tenant.isInTrialPeriod),t(),u("ngIf",r.tenant.isInTrialPeriod),t(),u("ngIf",r.tenant.edition&&!r.tenant.edition.isHighestEdition&&!r.tenant.isInTrialPeriod),t(),H("heading",d(52,48,"PaymentHistory")),t(2),u("busyIf",r.primengTableHelper.isLoading),t(),H("rows",r.primengTableHelper.defaultRecordsCountPerPage),u("value",r.primengTableHelper.records)("paginator",!1)("lazy",!0)("scrollable",!0)("tableStyle",z(53,Ke)),t(4),u("ngIf",r.primengTableHelper.totalRecordsCount==0),t(2),u("rows",r.primengTableHelper.defaultRecordsCountPerPage)("totalRecords",r.primengTableHelper.totalRecordsCount)("rowsPerPageOptions",r.primengTableHelper.predefinedRecordsCountPerPage)("showCurrentPageReport",!0)("currentPageReportTemplate",w(62,50,"TotalRecordsCount",r.primengTableHelper.totalRecordsCount)))},dependencies:[He,Me,Be,be,fe,_e,ve,X,N,K,ge,De,ke,Fe,Pe,Ce,Ie,xe,we,Te,he,Se,Ue,A,Ee,j,ze,Re],encapsulation:2,data:{animation:[Ve()]}});let e=a;return e})();var Tt=[{path:"",component:O,pathMatch:"full"}],Le=(()=>{let a=class a{};a.\u0275fac=function(c){return new(c||a)},a.\u0275mod=k({type:a}),a.\u0275inj=R({imports:[$.forChild(Tt),$]});let e=a;return e})();var ci=(()=>{let a=class a{};a.\u0275fac=function(c){return new(c||a)},a.\u0275mod=k({type:a}),a.\u0275inj=R({imports:[Ne,Ae,Le,O]});let e=a;return e})();export{ci as SubscriptionManagementModule};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.