mirror of
https://github.com/openMF/web-app.git
synced 2026-02-06 13:36:45 +00:00
Deploying to gh-pages from @ openMF/web-app@6ee9897bd1 🚀
This commit is contained in:
parent
d960ec5665
commit
a3cbc78b04
@ -251,7 +251,7 @@ License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
|
||||
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -277,7 +277,7 @@ License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
|
||||
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -303,7 +303,7 @@ License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
|
||||
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -1644,7 +1644,7 @@ License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
|
||||
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -1906,7 +1906,7 @@ License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
|
||||
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -1932,7 +1932,7 @@ License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2024 Google LLC.
|
||||
Copyright (c) 2025 Google LLC.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -1958,7 +1958,33 @@ License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2024 Google LLC.
|
||||
Copyright (c) 2025 Google LLC.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Package: @angular/router
|
||||
License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -2174,32 +2200,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Package: @angular/router
|
||||
License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Package: @fortawesome/free-solid-svg-icons
|
||||
License: "(CC-BY-4.0 AND MIT)"
|
||||
@ -2402,7 +2402,7 @@ License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
|
||||
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -2428,7 +2428,7 @@ License: "MIT"
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2010-2024 Google LLC. https://angular.io/license
|
||||
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,11 +0,0 @@
|
||||
import{$ as n,Da as t,Ea as s,Fa as u,H as m,Oa as g,Ra as a,Sa as o,_b as x,aa as p,ha as c,kc as f,la as e,ma as i,nc as v,oc as b,pc as D,qc as M,vc as C}from"./chunk-B6LWVGEU.js";var h=()=>({confirm:!0}),I=(()=>{class l{constructor(d){this.dialogRef=d}static{this.\u0275fac=function(r){return new(r||l)(p(f))}}static{this.\u0275cmp=m({type:l,selectors:[["mifosx-undo-transaction-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,y){r&1&&(e(0,"h1",0),t(1),a(2,"translate"),i(),t(3,`
|
||||
`),e(4,"div",1),t(5,`
|
||||
`),e(6,"p"),t(7),a(8,"translate"),i(),t(9,`
|
||||
`),i(),t(10,`
|
||||
`),e(11,"mat-dialog-actions",2),t(12,`
|
||||
`),e(13,"button",3),t(14),a(15,"translate"),i(),t(16,`
|
||||
`),e(17,"button",4),t(18),a(19,"translate"),i(),t(20,`
|
||||
`),i(),t(21,`
|
||||
`)),r&2&&(n(),s(o(2,5,"labels.heading.Undo Transaction")),n(6),s(o(8,7,"labels.text.Are you sure you want to undo this transaction")),n(7),s(o(15,9,"labels.buttons.Cancel")),n(3),c("mat-dialog-close",g(13,h)),n(),u(`
|
||||
`,o(19,11,"labels.buttons.Confirm"),`
|
||||
`))},dependencies:[x,v,b,M,D,C]})}}return l})();export{I as a};
|
||||
@ -1 +1 @@
|
||||
import{C as r,Ef as a,F as c}from"./chunk-B6LWVGEU.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a};
|
||||
import{C as r,F as c,Gf as a}from"./chunk-KS5LOSMR.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a};
|
||||
@ -1 +1 @@
|
||||
import{C as f,F as l,rb as m,sb as a,ub as N,x as g,xc as i}from"./chunk-B6LWVGEU.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p<o.length;p++){let u=o[p];r=r.set(u,e[u])}}return this.http.get("/standinginstructions/template",{params:r})}createStandingInstructions(t){return this.http.post("/standinginstructions",t)}newAccountTranferResource(t,n,s){let e=new a().set("fromAccountId",t).set("fromAccountType",n);if(s){let r=Object.getOwnPropertyNames(s);for(let o=0;o<r.length;o++){let p=r[o];e=e.set(p,s[p])}}return this.http.get("/accounttransfers/template",{params:e})}createAccountTransfer(t){return this.http.post("/accounttransfers",t)}getStandingInstructions(t){let n=new a,s=Object.getOwnPropertyNames(t);for(let e=0;e<s.length;e++){let r=s[e];t[r]===""||t[r]===void 0||t[r]===null||(n=n.set(r,t[r]))}return this.http.get("/standinginstructions",{params:n})}deleteStandingInstrucions(t){let n=new a().set("command","delete");return this.http.delete(`/standinginstructions/${t}`,{params:n})}getStandingInstructionsTransactions(t,n,s){let e=new a().set("associations","transactions").set("dateFormat",n).set("limit","14").set("locale",s).set("offset","0");return this.http.get(`/standinginstructions/${t}`,{params:e})}getViewAccountTransferDetails(t){return this.http.get(`/accounttransfers/${t}`)}getAccountByNumber(t,n){let s={partyId:t,partyIdType:"MSISDN",currencyCode:n},e=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/participant`,JSON.stringify(s),{headers:e}).pipe(g(r=>{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a};
|
||||
import{C as f,F as l,tb as m,tc as i,ub as a,wb as N,x as g}from"./chunk-KS5LOSMR.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p<o.length;p++){let u=o[p];r=r.set(u,e[u])}}return this.http.get("/standinginstructions/template",{params:r})}createStandingInstructions(t){return this.http.post("/standinginstructions",t)}newAccountTranferResource(t,n,s){let e=new a().set("fromAccountId",t).set("fromAccountType",n);if(s){let r=Object.getOwnPropertyNames(s);for(let o=0;o<r.length;o++){let p=r[o];e=e.set(p,s[p])}}return this.http.get("/accounttransfers/template",{params:e})}createAccountTransfer(t){return this.http.post("/accounttransfers",t)}getStandingInstructions(t){let n=new a,s=Object.getOwnPropertyNames(t);for(let e=0;e<s.length;e++){let r=s[e];t[r]===""||t[r]===void 0||t[r]===null||(n=n.set(r,t[r]))}return this.http.get("/standinginstructions",{params:n})}deleteStandingInstrucions(t){let n=new a().set("command","delete");return this.http.delete(`/standinginstructions/${t}`,{params:n})}getStandingInstructionsTransactions(t,n,s){let e=new a().set("associations","transactions").set("dateFormat",n).set("limit","14").set("locale",s).set("offset","0");return this.http.get(`/standinginstructions/${t}`,{params:e})}getViewAccountTransferDetails(t){return this.http.get(`/accounttransfers/${t}`)}getAccountByNumber(t,n){let s={partyId:t,partyIdType:"MSISDN",currencyCode:n},e=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/participant`,JSON.stringify(s),{headers:e}).pipe(g(r=>{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a};
|
||||
@ -1 +1 @@
|
||||
import{C as i,Cf as n,F as p,h as u,sb as c,ub as d}from"./chunk-B6LWVGEU.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d};
|
||||
import{C as i,Ef as n,F as p,h as u,ub as c,wb as d}from"./chunk-KS5LOSMR.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d};
|
||||
File diff suppressed because one or more lines are too long
11
browser/chunk-CG4R3ELU.js
Normal file
11
browser/chunk-CG4R3ELU.js
Normal file
@ -0,0 +1,11 @@
|
||||
import{Da as t,Ea as m,Fa as u,Na as f,Qa as o,Ra as a,Xb as x,Xc as E,Y as n,aa as p,ba as d,gc as v,ha as c,jc as D,kc as M,la as e,lc as b,ma as i,mb as g,mc as C,rc as S}from"./chunk-KS5LOSMR.js";var T=()=>({confirm:!0}),O=(()=>{class l{constructor(s){this.dialogRef=s}static{this.\u0275fac=function(r){return new(r||l)(p(v))}}static{this.\u0275cmp=d({type:l,selectors:[["mifosx-undo-transaction-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,h){r&1&&(e(0,"h1",0),t(1),o(2,"translate"),i(),t(3,`
|
||||
`),e(4,"div",1),t(5,`
|
||||
`),e(6,"p"),t(7),o(8,"translate"),i(),t(9,`
|
||||
`),i(),t(10,`
|
||||
`),e(11,"mat-dialog-actions",2),t(12,`
|
||||
`),e(13,"button",3),t(14),o(15,"translate"),i(),t(16,`
|
||||
`),e(17,"button",4),t(18),o(19,"translate"),i(),t(20,`
|
||||
`),i(),t(21,`
|
||||
`)),r&2&&(n(),m(a(2,5,"labels.heading.Undo Transaction")),n(6),m(a(8,7,"labels.text.Are you sure you want to undo this transaction")),n(7),m(a(15,9,"labels.buttons.Cancel")),n(3),c("mat-dialog-close",f(13,T)),n(),u(`
|
||||
`,a(19,11,"labels.buttons.Confirm"),`
|
||||
`))},dependencies:[g,E,x,S,M,b,C,D],encapsulation:2})}}return l})();export{O as a};
|
||||
1707
browser/chunk-KS5LOSMR.js
Normal file
1707
browser/chunk-KS5LOSMR.js
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{C as r,Ef as n,F as i}from"./chunk-B6LWVGEU.js";var m=(()=>{class t{constructor(e){this.savingsService=e}resolve(e){let a=e.parent.parent.paramMap.get("savingAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId"),c=e.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(a,c)}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();var S=(()=>{class t{constructor(e){this.savingsService=e}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{m as a,S as b};
|
||||
import{C as r,F as i,Gf as n}from"./chunk-KS5LOSMR.js";var m=(()=>{class t{constructor(e){this.savingsService=e}resolve(e){let a=e.parent.parent.paramMap.get("savingAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId"),c=e.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(a,c)}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();var S=(()=>{class t{constructor(e){this.savingsService=e}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{m as a,S as b};
|
||||
File diff suppressed because one or more lines are too long
103
browser/collaterals.module-I7OUDLD6.js
Normal file
103
browser/collaterals.module-I7OUDLD6.js
Normal file
@ -0,0 +1,103 @@
|
||||
import{$c as H,Bc as et,C as E,Cc as it,Cd as bt,Cf as Pt,D as y,Da as t,Dc as at,Ea as c,Ec as nt,F as w,Fa as h,Ga as b,I as Q,J as z,Jc as lt,Je as vt,Ke as gt,Le as _t,Lf as Tt,Mc as ot,Na as B,Ne as St,Ob as F,Oe as Dt,Pc as rt,Qa as m,Qe as It,Ra as p,Rb as O,Re as Mt,Sb as V,Sc as mt,Te as Et,Ub as U,Ue as yt,Vc as pt,We as wt,Xb as L,Xc as A,Y as o,Yc as j,aa as f,ab as W,ba as R,bd as st,ca as P,eg as Bt,fa as d,fd as ct,gd as dt,ha as C,ic as Z,kd as ut,la as i,ma as a,mb as g,md as Ct,na as u,oa as D,pa as I,ra as J,rc as N,sa as T,ta as K,ub as X,ud as ft,wb as Y,wd as xt,xc as tt,zd as ht,zf as Rt}from"./chunk-KS5LOSMR.js";import"./chunk-O7S4L63H.js";var _=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let S=new X().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(S=S.set("officeId",v)),this.http.get("/clients",{params:S})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(w(Y))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ht=()=>["edit"];function qt(e,s){e&1&&(i(0,"button",16),t(1,`
|
||||
`),u(2,"fa-icon",17),t(3),m(4,"translate"),a()),e&2&&(C("routerLink",B(4,Ht)),o(3),h(`
|
||||
`,p(4,2,"labels.buttons.Edit"),`
|
||||
`))}function kt(e,s){if(e&1){let n=J();i(0,"button",18),T("click",function(){Q(n);let r=K();return z(r.deleteCollateral())}),t(1,`
|
||||
`),u(2,"fa-icon",19),t(3),m(4,"translate"),a()}e&2&&(o(3),h(`
|
||||
`,p(4,1,"labels.buttons.Delete"),`
|
||||
`))}function $t(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.ID")))}function Ut(e,s){if(e&1&&(i(0,"td",21),t(1),a()),e&2){let n=s.$implicit;o(),h(`
|
||||
`,n.loanId,`
|
||||
`)}}function Gt(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Last Repayment")))}function Qt(e,s){if(e&1&&(i(0,"td",21),t(1),a()),e&2){let n=s.$implicit;o(),c(n.lastRepayment)}}function zt(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Remaining Amount")))}function Jt(e,s){if(e&1&&(i(0,"td",21),t(1),m(2,"formatNumber"),a()),e&2){let n=s.$implicit;o(),c(p(2,1,n.remainingAmount))}}function Kt(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Last Repayment Date")))}function Wt(e,s){if(e&1&&(i(0,"td",21),t(1),m(2,"dateFormat"),a()),e&2){let n=s.$implicit;o(),c(p(2,1,n.lastRepaymentDate))}}function Xt(e,s){e&1&&u(0,"tr",22)}function Yt(e,s){e&1&&u(0,"tr",23)}var q=(()=>{class e{constructor(n,l,r,x){this.route=n,this.collateralsService=l,this.router=r,this.dialog=x,this.collateralColumns=["ID","Last Repayment","Remaining Amount","Last Repayment Date"],this.route.data.subscribe(v=>{this.clientCollateralData=v.clientCollateralData})}deleteCollateral(){this.dialog.open(bt,{data:{deleteContext:`collateral ${this.clientCollateralData.id}`}}).afterClosed().subscribe(l=>{l.delete&&this.collateralsService.deleteCollateral(this.clientCollateralData.clientId,this.clientCollateralData.id).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}static{this.\u0275fac=function(l){return new(l||e)(f(F),f(_),f(O),f(Z))}}static{this.\u0275cmp=R({type:e,selectors:[["mifosx-view-collateral"]],decls:78,vars:27,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",3,"click",4,"mifosxHasPermission"],[1,"client-collateral-card"],[1,"content"],[1,"tab-container","mat-typography"],[1,"layout-row","gap-32px","group-details-container","m-b-30"],["mat-table","",1,"mat-elevation-z1","m-b-30",3,"dataSource"],["matColumnDef","ID"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Last Repayment"],["matColumnDef","Remaining Amount"],["matColumnDef","Last Repayment Date"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","warn",3,"click"],["icon","trash",1,"m-r-10"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(l,r){l&1&&(i(0,"div",0),t(1,`
|
||||
`),d(2,qt,5,5,"button",1),t(3,`
|
||||
`),d(4,kt,5,3,"button",2),t(5,`
|
||||
`),a(),t(6,`
|
||||
|
||||
`),i(7,"mat-card",3),t(8,`
|
||||
`),i(9,"mat-card-content",4),t(10,`\\
|
||||
|
||||
`),i(11,"div",5),t(12,`
|
||||
`),i(13,"h3"),t(14),m(15,"translate"),a(),t(16,`
|
||||
|
||||
`),i(17,"div",6),t(18,`
|
||||
`),i(19,"p"),t(20),m(21,"translate"),u(22,"br"),t(23),m(24,"translate"),u(25,"br"),t(26),m(27,"translate"),u(28,"br"),t(29),m(30,"translate"),u(31,"br"),t(32,`
|
||||
`),a(),t(33,`
|
||||
`),a(),t(34,`
|
||||
|
||||
`),i(35,"h3"),t(36),m(37,"translate"),a(),t(38,`
|
||||
|
||||
`),i(39,"table",7),t(40,`
|
||||
`),D(41,8),t(42,`
|
||||
`),d(43,$t,3,3,"th",9),t(44,`
|
||||
`),d(45,Ut,2,1,"td",10),t(46,`
|
||||
`),I(),t(47,`
|
||||
|
||||
`),D(48,11),t(49,`
|
||||
`),d(50,Gt,3,3,"th",9),t(51,`
|
||||
`),d(52,Qt,2,1,"td",10),t(53,`
|
||||
`),I(),t(54,`
|
||||
|
||||
`),D(55,12),t(56,`
|
||||
`),d(57,zt,3,3,"th",9),t(58,`
|
||||
`),d(59,Jt,3,3,"td",10),t(60,`
|
||||
`),I(),t(61,`
|
||||
|
||||
`),D(62,13),t(63,`
|
||||
`),d(64,Kt,3,3,"th",9),t(65,`
|
||||
`),d(66,Wt,3,3,"td",10),t(67,`
|
||||
`),I(),t(68,`
|
||||
|
||||
`),t(69,`
|
||||
`),d(70,Xt,1,0,"tr",14),t(71,`
|
||||
`),d(72,Yt,1,0,"tr",15),t(73,`
|
||||
`),a(),t(74,`
|
||||
`),a(),t(75,`
|
||||
`),a(),t(76,`
|
||||
`),a(),t(77,`
|
||||
`)),l&2&&(o(2),C("mifosxHasPermission","UPDATE_CLIENT_COLLATERAL_PRODUCT"),o(2),C("mifosxHasPermission","DELETE_CLIENT_COLLATERAL_PRODUCT"),o(10),c(p(15,15,"labels.heading.Client Collateral Details")),o(6),b(`
|
||||
`,p(21,17,"labels.inputs.name"),": ",r.clientCollateralData.name,""),o(3),b(`
|
||||
`,p(24,19,"labels.inputs.Quantity"),": ",r.clientCollateralData.quantity,""),o(3),b(`
|
||||
`,p(27,21,"labels.inputs.Total Value"),": ",r.clientCollateralData.total,""),o(3),b(`
|
||||
`,p(30,23,"labels.inputs.Total Collateral Value"),": ",r.clientCollateralData.totalCollateral,""),o(7),c(p(37,25,"labels.heading.Transaction Details")),o(3),C("dataSource",r.clientCollateralData.loanTransactionData),o(31),C("matHeaderRowDef",r.collateralColumns),o(2),C("matRowDefColumns",r.collateralColumns))},dependencies:[g,A,V,j,H,L,ft,xt,N,ht,vt,St,_t,Dt,gt,It,Mt,yt,Et,wt,Rt],styles:[".client-collateral-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%;padding:0}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .group-details-container[_ngcontent-%COMP%]{border:1px solid;padding:1%}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.select-row[_ngcontent-%COMP%]:hover, .tab-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}}return e})();var k=(()=>{class e{constructor(n){this.collateralsService=n}resolve(n){let l=n.parent.paramMap.get("clientId"),r=n.parent.paramMap.get("collateralId");return this.collateralsService.getClientCollateral(l,r)}static{this.\u0275fac=function(l){return new(l||e)(w(_))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();var Zt=()=>["../../"];function te(e,s){e&1&&(i(0,"mat-error"),t(1),m(2,"translate"),m(3,"translate"),i(4,"strong"),t(5),m(6,"translate"),a(),t(7,`
|
||||
`),a()),e&2&&(o(),b(`
|
||||
`,p(2,3,"labels.inputs.Quantity")," ",p(3,5,"labels.commons.is"),`
|
||||
`),o(4),c(p(6,7,"labels.commons.required")))}var $=(()=>{class e{constructor(n,l,r,x,v){this.formBuilder=n,this.route=l,this.router=r,this.settingsService=x,this.collateralService=v,this.route.data.subscribe(S=>{this.collateralDetails=S.clientCollateralData}),this.clientId=this.route.parent.snapshot.params.clientId}ngOnInit(){this.createClientCollateralForm()}createClientCollateralForm(){this.clientCollateralForm=this.formBuilder.group({quantity:["",it.required],name:[{value:"",disabled:!0}],total:[{value:"",disabled:!0}],totalCollateral:[{value:"",disabled:!0}]}),this.clientCollateralForm.patchValue({name:this.collateralDetails.name,quantity:this.collateralDetails.quantity,total:this.collateralDetails.total,totalCollateral:this.collateralDetails.totalCollateral})}submit(){let n=this.collateralDetails.id,l=this.clientCollateralForm.value.quantity,r=this.settingsService.language.code,x={quantity:l,locale:r};this.collateralService.updateClientCollateral(this.clientId,n,x).subscribe(()=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(f(pt),f(F),f(O),f(tt),f(_))}}static{this.\u0275cmp=R({type:e,selectors:[["mifosx-edit-collateral"]],decls:67,vars:23,consts:[[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],["matInput","","required","","formControlName","name"],["matInput","","required","","formControlName","quantity"],[4,"ngIf"],["matInput","","required","","formControlName","total"],["matInput","","required","","formControlName","totalCollateral"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,r){l&1&&(i(0,"div",0),t(1,`
|
||||
`),i(2,"mat-card"),t(3,`
|
||||
`),i(4,"form",1),T("ngSubmit",function(){return r.submit()}),t(5,`
|
||||
`),i(6,"mat-card-content"),t(7,`
|
||||
`),i(8,"div",2),t(9,`
|
||||
`),i(10,"div",2),t(11,`
|
||||
`),i(12,"mat-form-field"),t(13,`
|
||||
`),i(14,"mat-label"),t(15),m(16,"translate"),a(),t(17,`
|
||||
`),u(18,"input",3),t(19,`
|
||||
`),a(),t(20,`
|
||||
|
||||
`),i(21,"mat-form-field"),t(22,`
|
||||
`),i(23,"mat-label"),t(24),m(25,"translate"),a(),t(26,`
|
||||
`),u(27,"input",4),t(28,`
|
||||
`),d(29,te,8,9,"mat-error",5),t(30,`
|
||||
`),a(),t(31,`
|
||||
|
||||
`),i(32,"mat-form-field"),t(33,`
|
||||
`),i(34,"mat-label"),t(35),m(36,"translate"),a(),t(37,`
|
||||
`),u(38,"input",6),t(39,`
|
||||
`),a(),t(40,`
|
||||
|
||||
`),i(41,"mat-form-field"),t(42,`
|
||||
`),i(43,"mat-label"),t(44),m(45,"translate"),a(),t(46,`
|
||||
`),u(47,"input",7),t(48,`
|
||||
`),a(),t(49,`
|
||||
`),a(),t(50,`
|
||||
`),a(),t(51,`
|
||||
`),a(),t(52,`
|
||||
|
||||
`),i(53,"mat-card-actions",8),t(54,`
|
||||
`),i(55,"button",9),t(56),m(57,"translate"),a(),t(58,`
|
||||
`),i(59,"button",10),t(60),m(61,"translate"),a(),t(62,`
|
||||
`),a(),t(63,`
|
||||
`),a(),t(64,`
|
||||
`),a(),t(65,`
|
||||
`),a(),t(66,`
|
||||
`)),l&2&&(o(4),C("formGroup",r.clientCollateralForm),o(11),c(p(16,10,"labels.inputs.name")),o(9),c(p(25,12,"labels.inputs.Quantity")),o(5),C("ngIf",r.clientCollateralForm.controls.quantity.hasError("required")),o(6),c(p(36,14,"labels.inputs.Total")),o(9),c(p(45,16,"labels.inputs.Total Collateral Value")),o(11),C("routerLink",B(22,Zt)),o(),h(`
|
||||
`,p(57,18,"labels.buttons.Cancel"),`
|
||||
`),o(3),C("disabled",!r.clientCollateralForm.valid),o(),h(`
|
||||
`,p(61,20,"labels.buttons.Submit"),`
|
||||
`))},dependencies:[g,W,A,lt,et,at,nt,mt,ot,rt,V,j,H,st,ut,ct,dt,Ct,L,N],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return e})();var ee=[{path:"",data:{title:"Collateral",breadcrumb:"Collateral",routeParamBreadcrumb:!1},children:[{path:":collateralId",data:{title:"Collateral View",routeParamBreadcrumb:"collateralId"},children:[{path:"",component:q,resolve:{clientCollateralData:k}},{path:"edit",data:{title:"edit",routeParamBreadcrumb:"edit"},component:$,resolve:{clientCollateralData:k}}]}]}],Ft=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=P({type:e})}static{this.\u0275inj=y({providers:[k],imports:[U.forChild(ee),U]})}}return e})();var Qe=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=P({type:e})}static{this.\u0275inj=y({imports:[g,Ft,Bt,Tt,Pt,q,$]})}}return e})();export{Qe as CollateralsModule};
|
||||
@ -1,103 +0,0 @@
|
||||
import{$ as o,Af as Mt,Bc as X,C as y,D as M,Da as t,Ea as c,F as E,Fa as h,Ga as b,Gc as Y,H as w,He as Ct,Hf as Et,I as R,Ic as Z,Ie as ft,Jc as tt,Je as xt,Kc as et,Kf as wt,L as k,Lc as it,Le as ht,M as $,Me as bt,Oa as T,Oe as vt,Pb as B,Pe as gt,Qc as at,Ra as m,Re as _t,Sa as p,Sb as V,Se as St,Tb as F,Tc as nt,Ue as It,Vb as A,Wc as lt,Zc as ot,_b as O,_d as j,aa as f,ad as rt,be as N,cb as Q,cg as Rt,dd as mt,de as ut,ed as pt,fa as d,ha as C,id as st,kd as ct,la as i,ma as a,mc as W,na as u,oa as S,ob as z,pa as I,qd as dt,ra as U,sa as P,sb as J,ta as G,ub as K,uf as Dt,vc as L,xf as yt}from"./chunk-B6LWVGEU.js";import"./chunk-O7S4L63H.js";var g=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let _=new J().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(_=_.set("officeId",v)),this.http.get("/clients",{params:_})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(E(K))}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var jt=()=>["edit"];function Nt(e,s){e&1&&(i(0,"button",16),t(1,`
|
||||
`),u(2,"fa-icon",17),t(3),m(4,"translate"),a()),e&2&&(C("routerLink",T(4,jt)),o(3),h(`
|
||||
`,p(4,2,"labels.buttons.Edit"),`
|
||||
`))}function qt(e,s){if(e&1){let n=U();i(0,"button",18),P("click",function(){k(n);let r=G();return $(r.deleteCollateral())}),t(1,`
|
||||
`),u(2,"fa-icon",19),t(3),m(4,"translate"),a()}e&2&&(o(3),h(`
|
||||
`,p(4,1,"labels.buttons.Delete"),`
|
||||
`))}function At(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.ID")))}function Ht(e,s){if(e&1&&(i(0,"td",21),t(1),a()),e&2){let n=s.$implicit;o(),h(`
|
||||
`,n.loanId,`
|
||||
`)}}function kt(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Last Repayment")))}function $t(e,s){if(e&1&&(i(0,"td",21),t(1),a()),e&2){let n=s.$implicit;o(),c(n.lastRepayment)}}function Ut(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Remaining Amount")))}function Gt(e,s){if(e&1&&(i(0,"td",21),t(1),m(2,"formatNumber"),a()),e&2){let n=s.$implicit;o(),c(p(2,1,n.remainingAmount))}}function Qt(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Last Repayment Date")))}function zt(e,s){if(e&1&&(i(0,"td",21),t(1),m(2,"dateFormat"),a()),e&2){let n=s.$implicit;o(),c(p(2,1,n.lastRepaymentDate))}}function Jt(e,s){e&1&&u(0,"tr",22)}function Kt(e,s){e&1&&u(0,"tr",23)}var Pt=(()=>{class e{constructor(n,l,r,x){this.route=n,this.collateralsService=l,this.router=r,this.dialog=x,this.collateralColumns=["ID","Last Repayment","Remaining Amount","Last Repayment Date"],this.route.data.subscribe(v=>{this.clientCollateralData=v.clientCollateralData})}deleteCollateral(){this.dialog.open(dt,{data:{deleteContext:`collateral ${this.clientCollateralData.id}`}}).afterClosed().subscribe(l=>{l.delete&&this.collateralsService.deleteCollateral(this.clientCollateralData.clientId,this.clientCollateralData.id).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}static{this.\u0275fac=function(l){return new(l||e)(f(B),f(g),f(V),f(W))}}static{this.\u0275cmp=w({type:e,selectors:[["mifosx-view-collateral"]],decls:78,vars:27,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",3,"click",4,"mifosxHasPermission"],[1,"client-collateral-card"],[1,"content"],[1,"tab-container","mat-typography"],[1,"layout-row","gap-32px","group-details-container","m-b-30"],["mat-table","",1,"mat-elevation-z1","m-b-30",3,"dataSource"],["matColumnDef","ID"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Last Repayment"],["matColumnDef","Remaining Amount"],["matColumnDef","Last Repayment Date"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","warn",3,"click"],["icon","trash",1,"m-r-10"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(l,r){l&1&&(i(0,"div",0),t(1,`
|
||||
`),d(2,Nt,5,5,"button",1),t(3,`
|
||||
`),d(4,qt,5,3,"button",2),t(5,`
|
||||
`),a(),t(6,`
|
||||
|
||||
`),i(7,"mat-card",3),t(8,`
|
||||
`),i(9,"mat-card-content",4),t(10,`\\
|
||||
|
||||
`),i(11,"div",5),t(12,`
|
||||
`),i(13,"h3"),t(14),m(15,"translate"),a(),t(16,`
|
||||
|
||||
`),i(17,"div",6),t(18,`
|
||||
`),i(19,"p"),t(20),m(21,"translate"),u(22,"br"),t(23),m(24,"translate"),u(25,"br"),t(26),m(27,"translate"),u(28,"br"),t(29),m(30,"translate"),u(31,"br"),t(32,`
|
||||
`),a(),t(33,`
|
||||
`),a(),t(34,`
|
||||
|
||||
`),i(35,"h3"),t(36),m(37,"translate"),a(),t(38,`
|
||||
|
||||
`),i(39,"table",7),t(40,`
|
||||
`),S(41,8),t(42,`
|
||||
`),d(43,At,3,3,"th",9),t(44,`
|
||||
`),d(45,Ht,2,1,"td",10),t(46,`
|
||||
`),I(),t(47,`
|
||||
|
||||
`),S(48,11),t(49,`
|
||||
`),d(50,kt,3,3,"th",9),t(51,`
|
||||
`),d(52,$t,2,1,"td",10),t(53,`
|
||||
`),I(),t(54,`
|
||||
|
||||
`),S(55,12),t(56,`
|
||||
`),d(57,Ut,3,3,"th",9),t(58,`
|
||||
`),d(59,Gt,3,3,"td",10),t(60,`
|
||||
`),I(),t(61,`
|
||||
|
||||
`),S(62,13),t(63,`
|
||||
`),d(64,Qt,3,3,"th",9),t(65,`
|
||||
`),d(66,zt,3,3,"td",10),t(67,`
|
||||
`),I(),t(68,`
|
||||
|
||||
`),t(69,`
|
||||
`),d(70,Jt,1,0,"tr",14),t(71,`
|
||||
`),d(72,Kt,1,0,"tr",15),t(73,`
|
||||
`),a(),t(74,`
|
||||
`),a(),t(75,`
|
||||
`),a(),t(76,`
|
||||
`),a(),t(77,`
|
||||
`)),l&2&&(o(2),C("mifosxHasPermission","UPDATE_CLIENT_COLLATERAL_PRODUCT"),o(2),C("mifosxHasPermission","DELETE_CLIENT_COLLATERAL_PRODUCT"),o(10),c(p(15,15,"labels.heading.Client Collateral Details")),o(6),b(`
|
||||
`,p(21,17,"labels.inputs.name"),": ",r.clientCollateralData.name,""),o(3),b(`
|
||||
`,p(24,19,"labels.inputs.Quantity"),": ",r.clientCollateralData.quantity,""),o(3),b(`
|
||||
`,p(27,21,"labels.inputs.Total Value"),": ",r.clientCollateralData.total,""),o(3),b(`
|
||||
`,p(30,23,"labels.inputs.Total Collateral Value"),": ",r.clientCollateralData.totalCollateral,""),o(7),c(p(37,25,"labels.heading.Transaction Details")),o(3),C("dataSource",r.clientCollateralData.loanTransactionData),o(31),C("matHeaderRowDef",r.collateralColumns),o(2),C("matRowDefColumns",r.collateralColumns))},dependencies:[F,Y,O,j,N,Ct,xt,gt,ht,ft,_t,bt,vt,St,It,Et,L,Dt,yt],styles:[".client-collateral-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%;padding:0}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .group-details-container[_ngcontent-%COMP%]{border:1px solid;padding:1%}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.select-row[_ngcontent-%COMP%]:hover, .tab-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}}return e})();var q=(()=>{class e{constructor(n){this.collateralsService=n}resolve(n){let l=n.parent.paramMap.get("clientId"),r=n.parent.paramMap.get("collateralId");return this.collateralsService.getClientCollateral(l,r)}static{this.\u0275fac=function(l){return new(l||e)(E(g))}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac})}}return e})();var Wt=()=>["../../"];function Xt(e,s){e&1&&(i(0,"mat-error"),t(1),m(2,"translate"),m(3,"translate"),i(4,"strong"),t(5),m(6,"translate"),a(),t(7,`
|
||||
`),a()),e&2&&(o(),b(`
|
||||
`,p(2,3,"labels.inputs.Quantity")," ",p(3,5,"labels.commons.is"),`
|
||||
`),o(4),c(p(6,7,"labels.commons.required")))}var Tt=(()=>{class e{constructor(n,l,r,x,v){this.formBuilder=n,this.route=l,this.router=r,this.settingsService=x,this.collateralService=v,this.route.data.subscribe(_=>{this.collateralDetails=_.clientCollateralData}),this.clientId=this.route.parent.snapshot.params.clientId}ngOnInit(){this.createClientCollateralForm()}createClientCollateralForm(){this.clientCollateralForm=this.formBuilder.group({quantity:["",tt.required],name:[{value:"",disabled:!0}],total:[{value:"",disabled:!0}],totalCollateral:[{value:"",disabled:!0}]}),this.clientCollateralForm.patchValue({name:this.collateralDetails.name,quantity:this.collateralDetails.quantity,total:this.collateralDetails.total,totalCollateral:this.collateralDetails.totalCollateral})}submit(){let n=this.collateralDetails.id,l=this.clientCollateralForm.value.quantity,r=this.settingsService.language.code,x={quantity:l,locale:r};this.collateralService.updateClientCollateral(this.clientId,n,x).subscribe(()=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(f(rt),f(B),f(V),f(X),f(g))}}static{this.\u0275cmp=w({type:e,selectors:[["mifosx-edit-collateral"]],decls:67,vars:23,consts:[[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],["matInput","","required","","formControlName","name"],["matInput","","required","","formControlName","quantity"],[4,"ngIf"],["matInput","","required","","formControlName","total"],["matInput","","required","","formControlName","totalCollateral"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,r){l&1&&(i(0,"div",0),t(1,`
|
||||
`),i(2,"mat-card"),t(3,`
|
||||
`),i(4,"form",1),P("ngSubmit",function(){return r.submit()}),t(5,`
|
||||
`),i(6,"mat-card-content"),t(7,`
|
||||
`),i(8,"div",2),t(9,`
|
||||
`),i(10,"div",2),t(11,`
|
||||
`),i(12,"mat-form-field"),t(13,`
|
||||
`),i(14,"mat-label"),t(15),m(16,"translate"),a(),t(17,`
|
||||
`),u(18,"input",3),t(19,`
|
||||
`),a(),t(20,`
|
||||
|
||||
`),i(21,"mat-form-field"),t(22,`
|
||||
`),i(23,"mat-label"),t(24),m(25,"translate"),a(),t(26,`
|
||||
`),u(27,"input",4),t(28,`
|
||||
`),d(29,Xt,8,9,"mat-error",5),t(30,`
|
||||
`),a(),t(31,`
|
||||
|
||||
`),i(32,"mat-form-field"),t(33,`
|
||||
`),i(34,"mat-label"),t(35),m(36,"translate"),a(),t(37,`
|
||||
`),u(38,"input",6),t(39,`
|
||||
`),a(),t(40,`
|
||||
|
||||
`),i(41,"mat-form-field"),t(42,`
|
||||
`),i(43,"mat-label"),t(44),m(45,"translate"),a(),t(46,`
|
||||
`),u(47,"input",7),t(48,`
|
||||
`),a(),t(49,`
|
||||
`),a(),t(50,`
|
||||
`),a(),t(51,`
|
||||
`),a(),t(52,`
|
||||
|
||||
`),i(53,"mat-card-actions",8),t(54,`
|
||||
`),i(55,"button",9),t(56),m(57,"translate"),a(),t(58,`
|
||||
`),i(59,"button",10),t(60),m(61,"translate"),a(),t(62,`
|
||||
`),a(),t(63,`
|
||||
`),a(),t(64,`
|
||||
`),a(),t(65,`
|
||||
`),a(),t(66,`
|
||||
`)),l&2&&(o(4),C("formGroup",r.clientCollateralForm),o(11),c(p(16,10,"labels.inputs.name")),o(9),c(p(25,12,"labels.inputs.Quantity")),o(5),C("ngIf",r.clientCollateralForm.controls.quantity.hasError("required")),o(6),c(p(36,14,"labels.inputs.Total")),o(9),c(p(45,16,"labels.inputs.Total Collateral Value")),o(11),C("routerLink",T(22,Wt)),o(),h(`
|
||||
`,p(57,18,"labels.buttons.Cancel"),`
|
||||
`),o(3),C("disabled",!r.clientCollateralForm.valid),o(),h(`
|
||||
`,p(61,20,"labels.buttons.Submit"),`
|
||||
`))},dependencies:[Q,F,O,j,ut,N,st,mt,pt,ct,at,Z,et,it,ot,nt,lt,L],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return e})();var Yt=[{path:"",data:{title:"Collateral",breadcrumb:"Collateral",routeParamBreadcrumb:!1},children:[{path:":collateralId",data:{title:"Collateral View",routeParamBreadcrumb:"collateralId"},children:[{path:"",component:Pt,resolve:{clientCollateralData:q}},{path:"edit",data:{title:"edit",routeParamBreadcrumb:"edit"},component:Tt,resolve:{clientCollateralData:q}}]}]}],Bt=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=R({type:e})}static{this.\u0275inj=M({providers:[q],imports:[A.forChild(Yt),A]})}}return e})();var He=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=R({type:e})}static{this.\u0275inj=M({imports:[z,Bt,Rt,wt,Mt]})}}return e})();export{He as CollateralsModule};
|
||||
2270
browser/fixed-deposits.module-EZOBUTWE.js
Normal file
2270
browser/fixed-deposits.module-EZOBUTWE.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
5972
browser/loans.module-QI5KZLRJ.js
Normal file
5972
browser/loans.module-QI5KZLRJ.js
Normal file
File diff suppressed because one or more lines are too long
42112
browser/main.js
42112
browser/main.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2462
browser/recurring-deposits.module-FW3B6WWD.js
Normal file
2462
browser/recurring-deposits.module-FW3B6WWD.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
3
prerendered-routes.json
Normal file
3
prerendered-routes.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"routes": {}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user