PageSourceSearch

https://findoctor.my/1916.b30214a6c5ccadc7.js

js findoctor.my collected 2026-10-08 10:19:49 UTC 9,401 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkFinancialDoctorUI=self.webpackChunkFinancialDoctorUI||[]).push([[1916],{71916:(k,c,s)=>{s.r(c),s.d(c,{ApplicationStatusModule:()=>U});var l=s(96814),u=s(45597),p=s(52787),d=s(90590),t=s(65879),x=s(20553),m=s(69862);let h=(()=>{class e{constructor(a){this.http=a,this.finDocMainApiBaseUrl=x.N.finDocMainApiUrl}getApplyLoanForm(a){let n=(new m.LE).set("bankId",a);return this.http.get(`${this.finDocMainApiBaseUrl}/api/Loan/RequestForm`,{params:n})}getApplicationHistory(){return this.http.get(`${this.finDocMainApiBaseUrl}/api/Loan/UserLoanList`)}static{this.\u0275fac=function(n){return new(n||e)(t.LFG(m.eN))}}static{this.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var o=s(25313);function g(e,i){if(1&e&&(t.TgZ(0,"div",19)(1,"div",20)(2,"div",21),t._UZ(3,"img",22),t.qZA(),t.TgZ(4,"div",23),t._uU(5),t.TgZ(6,"div",24),t._uU(7),t.qZA()(),t.TgZ(8,"div",25)(9,"p",26),t._uU(10,"Date Applied"),t.qZA(),t.TgZ(11,"p",27),t._uU(12),t.ALo(13,"date"),t.qZA(),t._UZ(14,"div",28),t.qZA(),t.TgZ(15,"div",29)(16,"p",26),t._uU(17,"Bank"),t.qZA(),t.TgZ(18,"p",27),t._uU(19),t.qZA(),t._UZ(20,"div",28),t.qZA()()()),2&e){const a=i.$implicit,n=t.oxw();t.xp6(3),t.Q6J("src","../../../assets/images/post-login/application-status/bank/"+n.onBankNameDataMassage(a.bankId)+".png",t.LSH),t.xp6(2),t.hij(" ",a.product," "),t.xp6(1),t.Q6J("ngClass",n.onStatusNameDataMassage(a.statusName)),t.xp6(1),t.hij(" ",a.statusName," "),t.xp6(5),t.hij(" ",t.xi3(13,6,a.dateApplied,"dd/MM/yyyy hh:mm a")," "),t.xp6(7),t.hij(" ",n.onBankNameDataMassage(a.bankId)," ")}}function A(e,i){1&e&&(t.TgZ(0,"th",30),t._uU(1," Date Applied "),t.qZA())}function y(e,i){if(1&e&&(t.TgZ(0,"td",31)(1,"div",32),t._uU(2),t.ALo(3,"date"),t.qZA()()),2&e){const a=i.$implicit;t.xp6(2),t.hij(" ",t.xi3(3,1,a.dateApplied,"dd/MM/yyyy hh:mm a")," ")}}function b(e,i){1&e&&(t.TgZ(0,"th",30),t._uU(1," Status "),t.qZA())}function C(e,i){if(1&e&&(t.TgZ(0,"td",31)(1,"div",33),t._uU(2),t.qZA()()),2&e){const a=i.$implicit,n=t.oxw();t.xp6(1),t.Q6J("ngClass",n.onStatusNameDataMassage(a.statusName)),t.xp6(1),t.hij(" ",a.statusName," ")}}function v(e,i){1&e&&(t.TgZ(0,"th",30),t._uU(1," Product "),t.qZA())}function Z(e,i){if(1&e&&(t.TgZ(0,"td",31)(1,"div",32),t._uU(2),t.qZA()()),2&e){const a=i.$implicit;t.xp6(2),t.hij(" ",a.product," ")}}function w(e,i){1&e&&(t.TgZ(0,"th",30),t._uU(1," Bank "),t.qZA())}function _(e,i){if(1&e&&(t.TgZ(0,"td",31)(1,"div",34)(2,"div",35),t._UZ(3,"img",36),t.qZA(),t.TgZ(4,"div",37),t._uU(5),t.qZA()()()),2&e){const a=i.$implicit,n=t.oxw();t.xp6(3),t.Q6J("src","../../../assets/images/post-login/application-status/bank/"+n.onBankNameDataMassage(a.bankId)+".png",t.LSH),t.xp6(2),t.hij(" ",n.onBankNameDataMassage(a.bankId)," ")}}function T(e,i){1&e&&t._UZ(0,"tr",38)}function B(e,i){1&e&&t._UZ(0,"tr",39)}function D(e,i){1&e&&(t.TgZ(0,"div",40),t._uU(1," You don\u2019t have any application yet. "),t.qZA())}let f=(()=>{class e{constructor(a,n){this.router=a,this.applicationService=n,this.faChevronLeft=d.A35,this.faChevronRight=d._tD,this.displayedContent=[],this.displayedColumns=["dateApplied","status","product","bank"],this.finishLoad=!1}ngOnInit(){this.applicationService.getApplicationHistory().subscribe({next:a=>{this.displayedContent=a.loanList,this.finishLoad=!0}})}onBackToDashboard(){this.router.navigate(["/dashboard"])}onStatusNameDataMassage(a){switch(a){case"Reviewing":return"bg-[#FCE38D] text-[#C56E1B]";case"Approved":return"bg-[#CEF3DD] text-[#219970]";case"Rejected":case"Cancelled":return"bg-[#FFC8C9] text-[#E13931]";default:return""}}onBankNameDataMassage(a){switch(a){case 1:return"AFFIN";case 2:return"AIA";case 3:return"ALLIANCE";case 4:return"AL RAJHI";case 5:return"AMBANK";case 6:return"BANK ISLAM";case 7:return"BANK MUAMALAT";case 8:return"BANK RAKYAT";case 9:return"BSN";case 10:return"CIMB";case 11:return"HLB";case 12:return"HSBC";case 13:return"KUWAIT FINANCE";case 14:return"MBB";case 15:return"MBSB";case 16:return"OCBC";case 17:return"PBB";case 18:return"RHB";case 19:return"STANDARD CHARTERED";case 20:return"UOB";default:return"Unknown"}}static{this.\u0275fac=function(n){return new(n||e)(t.Y36(p.F0),t.Y36(h))}}static{this.\u0275cmp=t.Xpm({type:e,selectors:[["app-application-status"]],decls:28,vars:6,consts:[[1,"mx-auto","flex","w-full","max-w-[1440px]","flex-col","items-center","justify-center","px-6","pb-[44.8px]","pt-[31.36px]"],[1,"hidden","w-full","lg:flex","lg:flex-col"],[1,"flex","gap-x-1","text-base/normal","font-normal","text-neutral-dark-grey"],[1,"mt-8","flex","w-fit","cursor-pointer","items-center","justify-center","gap-x-[7.6px]","rounded-[76px]","border-[1.567px]","border-solid","border-primary-blue-800","px-[22.8px]","py-[15.2px]","text-base/normal","font-bold","text-primary-blue-800","hover:bg-primary-blue-800","hover:text-white",3,"click"],[3,"icon"],[1,"w-full","text-left","text-base/normal","font-bold","text-primary-blue-900","lg:mt-[44px]","lg:text-2xl/normal"],[1,"mt-8","flex","w-full","flex-col","items-center","justify-center","gap-y-8","lg:hidden"],["class","flex w-[327px] flex-col rounded-lg bg-white px-10 py-5 shadow-[0_12.8px_28.8px_0px_rgba(0,0,0,0.13),0_2.4px_7.2px_0px_rgba(0,0,0,0.10)]",4,"ngFor","ngForOf"],[1,"mt-8","hidden","lg:flex","lg:w-full"],["mat-table","",3,"dataSource"],["matColumnDef","dateApplied"],["mat-header-cell","","style","\n            height: 60px;\n            padding: 10px 16px;\n            background-color: #e9edf5;\n            font-family: Inter;\n            font-size: 16px;\n            font-style: normal;\n            font-weight: 700;\n            line-height: normal;\n          ",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","status"],["matColumnDef","product"],["matColumnDef","bank"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","hover:!bg-[#edf1f7]",4,"matRowDef","matRowDefColumns"],["class","flex w-full items-center justify-center py-9 text-center text-lg font-medium text-neutral-dark-grey",4,"ngIf"],[1,"flex","w-[327px]","flex-col","rounded-lg","bg-white","px-10","py-5","shadow-[0_12.8px_28.8px_0px_rgba(0,0,0,0.13),0_2.4px_7.2px_0px_rgba(0,0,0,0.10)]"],[1,"flex","w-full","flex-col","items-start","justify-center"],[1,"flex","h-10","w-10","items-center","justify-center","rounded-[4px]","border","border-solid","border-blue-100-b-5-d-4-e-9","bg-white","p-[6px]"],["alt","bank image",1,"h-7","w-7",3,"src"],[1,"mt-3","flex","gap-x-2","text-lg/normal","font-bold","text-[#06304D]"],[1,"flex","items-center","justify-center","rounded-2xl","px-2","py-[2px]","text-xs/[18px]","font-semibold","shadow-[0_1px_4px_0px_rgba(0,0,0,0.25)]",3,"ngClass"],[1,"mt-5","flex","w-full","flex-col","items-start","justify-center"],[1,"text-sm/normal","font-medium","text-[#002060]"],[1,"text-sm/normal","font-normal","text-[#3F8FC6]"],[1,"mt-3","w-full","border","border-[#B5D4E9]"],[1,"mt-4","flex","w-full","flex-col","items-start","justify-center"],["mat-header-cell","",2,"height","60px","padding","10px 16px","background-color","#e9edf5","font-family","Inter","font-size","16px","font-style","normal","font-weight","700","line-height","normal"],["mat-cell",""],[1,"flex","h-[72px]","items-center","justify-start","font-inter","text-base/normal","font-medium"],[1,"flex","w-fit","items-center","justify-center","rounded-2xl","px-4","py-2","text-center","font-inter","text-base/[18px]","font-semibold",3,"ngClass"],[1,"flex","h-[72px]","items-center","gap-x-[10px]"],[1,"flex","h-10","w-10","items-center","justify-center"],["alt","bank image",3,"src"],[1,"font-inter","text-base/normal","font-medium"],["mat-header-row",""],["mat-row","",1,"hover:!bg-[#edf1f7]"],[1,"flex","w-full","items-center","justify-center","py-9","text-center","text-lg","font-medium","text-neutral-dark-grey"]],template:function(n,r){1&n&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3," Dashboard > Application Status "),t.qZA(),t.TgZ(4,"div",3),t.NdJ("click",function(){return r.onBackToDashboard()}),t._UZ(5,"fa-icon",4),t._uU(6," Back to Dashboard "),t.qZA()(),t.TgZ(7,"p",5),t._uU(8," Application Status "),t.qZA(),t.TgZ(9,"div",6),t.YNc(10,g,21,9,"div",7),t.qZA(),t.TgZ(11,"div",8)(12,"table",9),t.ynx(13,10),t.YNc(14,A,2,0,"th",11),t.YNc(15,y,4,4,"td",12),t.BQk(),t.ynx(16,13),t.YNc(17,b,2,0,"th",11),t.YNc(18,C,3,2,"td",12),t.BQk(),t.ynx(19,14),t.YNc(20,v,2,0,"th",11),t.YNc(21,Z,3,1,"td",12),t.BQk(),t.ynx(22,15),t.YNc(23,w,2,0,"th",11),t.YNc(24,_,6,2,"td",12),t.BQk(),t.YNc(25,T,1,0,"tr",16),t.YNc(26,B,1,0,"tr",17),t.qZA()(),t.YNc(27,D,2,0,"div",18),t.qZA()),2&n&&(t.xp6(5),t.Q6J("icon",r.faChevronLeft),t.xp6(5),t.Q6J("ngForOf",r.displayedContent),t.xp6(2),t.Q6J("dataSource",r.displayedContent),t.xp6(13),t.Q6J("matHeaderRowDef",r.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",r.dis
1playedColumns),t.xp6(1),t.Q6J("ngIf",0===r.displayedContent.length&&r.finishLoad))},dependencies:[l.mk,l.sg,l.O5,u.BN,o.BZ,o.fO,o.as,o.w1,o.Dz,o.nj,o.ge,o.ev,o.XQ,o.Gk,l.uU]})}}return e})();const N=[{path:"",component:f}];let S=(()=>{class e{static{this.components=[f]}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275mod=t.oAB({type:e})}static{this.\u0275inj=t.cJS({imports:[p.Bz.forChild(N),p.Bz]})}}return e})(),U=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275mod=t.oAB({type:e})}static{this.\u0275inj=t.cJS({imports:[S,l.ez,u.uH,o.p0]})}}return e})()}}]);

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.