Deploying to gh-pages from @ openMF/web-app@0a8aa1d5e9 🚀
2726
3rdpartylicenses.txt
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
@ -1 +0,0 @@
|
||||
import{C as i,Cf as n,F as p,h as u,sb as c,ub as d}from"./chunk-SR4VE5NL.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};
|
||||
@ -1 +0,0 @@
|
||||
import{C as r,Ef as n,F as i}from"./chunk-SR4VE5NL.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};
|
||||
@ -1 +0,0 @@
|
||||
function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
|
||||
@ -1 +0,0 @@
|
||||
var v=Object.create;var n=Object.defineProperty,w=Object.defineProperties,x=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,A=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var l=(a,b)=>(b=Symbol[a])?b:Symbol.for("Symbol."+a),B=a=>{throw TypeError(a)};var r=(a,b,c)=>b in a?n(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,D=(a,b)=>{for(var c in b||={})o.call(b,c)&&r(a,c,b[c]);if(m)for(var c of m(b))s.call(b,c)&&r(a,c,b[c]);return a},E=(a,b)=>w(a,y(b));var F=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var G=(a,b)=>{var c={};for(var d in a)o.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&m)for(var d of m(a))b.indexOf(d)<0&&s.call(a,d)&&(c[d]=a[d]);return c};var H=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),I=(a,b)=>{for(var c in b)n(a,c,{get:b[c],enumerable:!0})},C=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of z(b))!o.call(a,e)&&e!==c&&n(a,e,{get:()=>b[e],enumerable:!(d=x(b,e))||d.enumerable});return a};var J=(a,b,c)=>(c=a!=null?v(A(a)):{},C(b||!a||!a.__esModule?n(c,"default",{value:a,enumerable:!0}):c,a));var K=(a,b,c)=>new Promise((d,e)=>{var f=g=>{try{i(c.next(g))}catch(j){e(j)}},h=g=>{try{i(c.throw(g))}catch(j){e(j)}},i=g=>g.done?d(g.value):Promise.resolve(g.value).then(f,h);i((c=c.apply(a,b)).next())}),t=function(a,b){this[0]=a,this[1]=b},L=(a,b,c)=>{var d=(h,i,g,j)=>{try{var p=c[h](i),q=(i=p.value)instanceof t,u=p.done;Promise.resolve(q?i[0]:i).then(k=>q?d(h==="return"?h:"next",i[1]?{done:k.done,value:k.value}:k,g,j):g({value:k,done:u})).catch(k=>d("throw",k,g,j))}catch(k){j(k)}},e=h=>f[h]=i=>new Promise((g,j)=>d(h,i,g,j)),f={};return c=c.apply(a,b),f[l("asyncIterator")]=()=>f,e("next"),e("throw"),e("return"),f},M=a=>{var b=a[l("asyncIterator")],c=!1,d,e={};return b==null?(b=a[l("iterator")](),d=f=>e[f]=h=>b[f](h)):(b=b.call(a),d=f=>e[f]=h=>{if(c){if(c=!1,f==="throw")throw h;return h}return c=!0,{done:!1,value:new t(new Promise(i=>{var g=b[f](h);g instanceof Object||B("Object expected"),i(g)}),1)}}),e[l("iterator")]=()=>e,d("next"),"throw"in b?d("throw"):e.throw=f=>{throw f},"return"in b&&d("return"),e},N=(a,b,c)=>(b=a[l("asyncIterator")])?b.call(a):(a=a[l("iterator")](),b={},c=(d,e)=>(e=a[d])&&(b[d]=f=>new Promise((h,i,g)=>(f=e.call(a,f),g=f.done,Promise.resolve(f.value).then(j=>h({value:j,done:g}),i)))),c("next"),c("return"),b);export{D as a,E as b,F as c,G as d,H as e,I as f,J as g,K as h,t as i,L as j,M as k,N as l};
|
||||
@ -1 +0,0 @@
|
||||
import{C as f,F as l,rb as m,sb as a,ub as N,x as g,xc as i}from"./chunk-SR4VE5NL.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,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-SR4VE5NL.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 +0,0 @@
|
||||
import{C as r,Ef as a,F as c}from"./chunk-SR4VE5NL.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,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-SR4VE5NL.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};
|
||||
41618
browser/main.js
1
common.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["common"],{39259:(l,c,n)=>{n.d(c,{W:()=>r});var t=n(54438),o=n(44320);let r=(()=>{class a{constructor(s){this.savingsService=s}resolve(s){const e=s.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||a)(t.KVO(o.J))}}static{this.\u0275prov=t.jDH({token:a,factory:a.\u0275fac})}}return a})()},37812:(l,c,n)=>{n.d(c,{O:()=>r});var t=n(54438),o=n(44320);let r=(()=>{class a{constructor(s){this.savingsService=s}resolve(s){const e=s.parent.parent.paramMap.get("savingAccountId")||s.parent.parent.paramMap.get("fixedDepositAccountId")||s.parent.parent.paramMap.get("recurringDepositAccountId"),g=s.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(e,g)}static{this.\u0275fac=function(e){return new(e||a)(t.KVO(o.J))}}static{this.\u0275prov=t.jDH({token:a,factory:a.\u0275fac})}}return a})()},48197:(l,c,n)=>{n.d(c,{B:()=>r});var t=n(54438),o=n(44320);let r=(()=>{class a{constructor(s){this.savingsService=s}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(e){return new(e||a)(t.KVO(o.J))}}static{this.\u0275prov=t.jDH({token:a,factory:a.\u0275fac})}}return a})()},76942:(l,c,n)=>{n.d(c,{w:()=>s});var t=n(54438),o=n(75351),r=n(88834),a=n(68018);const u=()=>({confirm:!0});let s=(()=>{class e{constructor(_){this.dialogRef=_}static{this.\u0275fac=function(i){return new(i||e)(t.rXU(o.CP))}}static{this.\u0275cmp=t.VBU({type:e,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(i,d){1&i&&(t.j41(0,"h1",0),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.EFF(3,"\n"),t.j41(4,"div",1),t.EFF(5,"\n "),t.j41(6,"p"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n"),t.k0s(),t.EFF(10,"\n"),t.j41(11,"mat-dialog-actions",2),t.EFF(12,"\n "),t.j41(13,"button",3),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.EFF(16,"\n "),t.j41(17,"button",4),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.EFF(20,"\n"),t.k0s(),t.EFF(21,"\n")),2&i&&(t.R7$(),t.JRh(t.bMT(2,5,"labels.heading.Undo Transaction")),t.R7$(6),t.JRh(t.bMT(8,7,"labels.text.Are you sure you want to undo this transaction")),t.R7$(7),t.JRh(t.bMT(15,9,"labels.buttons.Cancel")),t.R7$(3),t.Y8G("mat-dialog-close",t.lJ4(13,u)),t.R7$(),t.SpI("\n ",t.bMT(19,11,"labels.buttons.Confirm"),"\n "))},dependencies:[r.$z,o.tx,o.BI,o.E7,o.Yi,a.D9]})}}return e})()}}]);
|
||||
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
50
index.html
Normal file
1
mifosx-theme.css
Normal file
1
node_modules_canvg_lib_index_es_js.js
Normal file
1
node_modules_dompurify_dist_purify_es_mjs.js
Normal file
1
node_modules_html2canvas_dist_html2canvas_js.js
Normal file
1
polyfills.js
Normal file
1
runtime.js
Normal file
@ -0,0 +1 @@
|
||||
(()=>{"use strict";var e,_={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=_,e=[],r.O=(n,t,i,o)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,i,o]=e[f],l=!0,s=0;s<t.length;s++)(!1&o||a>=o)&&Object.keys(r.O).every(b=>r.O[b](t[s]))?t.splice(s--,1):(l=!1,o<a&&(a=o));if(l){e.splice(f--,1);var d=i();void 0!==d&&(n=d)}}return n}o=o||0;for(var f=e.length;f>0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[t,i,o]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,i){if(1&i&&(t=this(t)),8&i||"object"==typeof t&&t&&(4&i&&t.__esModule||16&i&&"function"==typeof t.then))return t;var o=Object.create(null);r.r(o);var f={};n=n||[null,e({}),e([]),e(e)];for(var a=2&i&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>f[l]=()=>t[l]);return f.default=()=>t,r.d(o,f),o}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="mifosx-web-app:";r.l=(t,i,o,f)=>{if(e[t])e[t].push(i);else{var a,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),d=0;d<s.length;d++){var u=s[d];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==n+o){a=u;break}}a||(l=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",n+o),a.src=r.tu(t)),e[t]=[i];var p=(g,b)=>{a.onerror=a.onload=null,clearTimeout(c);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(m=>m(b)),g)return g(b)},c=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={runtime:0};r.f.j=(i,o)=>{var f=r.o(e,i)?e[i]:void 0;if(0!==f)if(f)o.push(f[2]);else if("runtime"!=i){var a=new Promise((u,p)=>f=e[i]=[u,p]);o.push(f[2]=a);var l=r.p+r.u(i),s=new Error;r.l(l,u=>{if(r.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var p=u&&("load"===u.type?"missing":u.type),c=u&&u.target&&u.target.src;s.message="Loading chunk "+i+" failed.\n("+p+": "+c+")",s.name="ChunkLoadError",s.type=p,s.request=c,f[1](s)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,o)=>{var s,d,[f,a,l]=o,u=0;if(f.some(c=>0!==e[c])){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var p=l(r)}for(i&&i(o);u<f.length;u++)r.o(e,d=f[u])&&e[d]&&e[d][0](),e[d]=0;return r.O(p)},t=self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})();
|
||||
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["src_app_account-transfers_account-transfers_service_ts"],{93088:(f,m,c)=>{c.d(m,{z:()=>l});var a=c(21626),i=c(20546),g=c(25558),d=c(54438);let l=(()=>{class u{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){const n=(new a.Nl).set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){const s=(new a.Nl).set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=(new a.Nl).set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){const o=Object.getOwnPropertyNames(e);for(let p=0;p<o.length;p++){const h=o[p];r=r.set(h,e[h])}}return this.http.get("/standinginstructions/template",{params:r})}createStandingInstructions(t){return this.http.post("/standinginstructions",t)}newAccountTranferResource(t,n,s){let e=(new a.Nl).set("fromAccountId",t).set("fromAccountType",n);if(s){const r=Object.getOwnPropertyNames(s);for(let o=0;o<r.length;o++){const 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.Nl;const s=Object.getOwnPropertyNames(t);for(let e=0;e<s.length;e++){const r=s[e];""===t[r]||null==t[r]||(n=n.set(r,t[r]))}return this.http.get("/standinginstructions",{params:n})}deleteStandingInstrucions(t){const n=(new a.Nl).set("command","delete");return this.http.delete(`/standinginstructions/${t}`,{params:n})}getStandingInstructionsTransactions(t,n,s){const e=(new a.Nl).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){const s={partyId:t,partyIdType:"MSISDN",currencyCode:n},e=new a.Lr({"Content-Type":"application/json"});return this.http.post(`${i.c.vNextApiUrl}${i.c.vNextApiVersion}${i.c.vNextApiProvider}/participant`,JSON.stringify(s),{headers:e}).pipe((0,g.n)(r=>{const o=JSON.stringify({...s,ownerFspId:r.fspId});return this.http.post(`${i.c.vNextApiUrl}${i.c.vNextApiVersion}${i.c.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){const n=new a.Lr({"Content-Type":"application/json"});return this.http.post(`${i.c.vNextApiUrl}${i.c.vNextApiVersion}${i.c.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||u)(d.KVO(a.Qq))}}static{this.\u0275prov=d.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()}}]);
|
||||