From 642c22fdf23bf2af92d6838eb3b3fc622c963159 Mon Sep 17 00:00:00 2001 From: bharathcgowda <65952533+bharathcgowda@users.noreply.github.com> Date: Tue, 9 Dec 2025 14:12:45 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20openMF/w?= =?UTF-8?q?eb-app@de5357bd5a68ed755d0f488d5524cde23ca085e9=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdpartylicenses.txt | 421 +- browser/account-transfers.module-DTZIXBPU.js | 1 - browser/account-transfers.module-TGNDFZLG.js | 1095 + browser/assets/env.js | 1 - browser/assets/env.template.js | 1 - browser/chunk-2SUJNV7X.js | 11 + browser/chunk-2XMOXFGE.js | 1 + browser/chunk-6HXPBYGB.js | 1 + browser/chunk-CHOIP7GK.js | 1 + browser/chunk-FK6H3RFT.js | 1 + browser/chunk-HD44E7CW.js | 703 - browser/chunk-HE54EJZ7.js | 1 - browser/chunk-IAWMDBG2.js | 1868 + browser/chunk-K35EMHET.js | 1 - browser/chunk-KCCGCK7Q.js | 1 - browser/chunk-S475MXRW.js | 1 - browser/chunk-T4ILKKY7.js | 1 - browser/chunk-XKBVDS5U.js | 1 + browser/chunk-YZICF2LY.js | 1 + browser/chunk-ZRPNO5CN.js | 1 - browser/collaterals.module-66UDFG5T.js | 103 + browser/collaterals.module-HXPPIWDJ.js | 1 - browser/fixed-deposits.module-QR3TIWFG.js | 2270 + browser/fixed-deposits.module-X3INNRVX.js | 2 - browser/html2canvas-6CDFJ2RM.js | 5 - browser/html2canvas-MQUY4XON.js | 5 + browser/index.es-ISZ2UBJA.js | 5 + browser/index.es-KX24PUJY.js | 5 - browser/index.html | 4 +- browser/loans.module-2HMWG7HU.js | 6311 +++ browser/loans.module-RPRQWZ3O.js | 80 - browser/main.js | 35313 +++++++++++++++- browser/mifosx-theme.css | 2 +- browser/polyfills.js | 4 +- browser/purify.es-EB55ZFU5.js | 2 + browser/purify.es-PSACIFBT.js | 2 - browser/recurring-deposits.module-KYS2NLSS.js | 1 - browser/recurring-deposits.module-X4FGHNIB.js | 2480 ++ browser/savings.module-LV4RFMKE.js | 2463 ++ browser/savings.module-ZH2SXBPF.js | 2 - browser/shares.module-7TA45HQH.js | 1 - browser/shares.module-P7NVQ33P.js | 1111 + browser/styles.css | 2 +- 43 files changed, 53192 insertions(+), 1095 deletions(-) delete mode 100644 browser/account-transfers.module-DTZIXBPU.js create mode 100644 browser/account-transfers.module-TGNDFZLG.js create mode 100644 browser/chunk-2SUJNV7X.js create mode 100644 browser/chunk-2XMOXFGE.js create mode 100644 browser/chunk-6HXPBYGB.js create mode 100644 browser/chunk-CHOIP7GK.js create mode 100644 browser/chunk-FK6H3RFT.js delete mode 100644 browser/chunk-HD44E7CW.js delete mode 100644 browser/chunk-HE54EJZ7.js create mode 100644 browser/chunk-IAWMDBG2.js delete mode 100644 browser/chunk-K35EMHET.js delete mode 100644 browser/chunk-KCCGCK7Q.js delete mode 100644 browser/chunk-S475MXRW.js delete mode 100644 browser/chunk-T4ILKKY7.js create mode 100644 browser/chunk-XKBVDS5U.js create mode 100644 browser/chunk-YZICF2LY.js delete mode 100644 browser/chunk-ZRPNO5CN.js create mode 100644 browser/collaterals.module-66UDFG5T.js delete mode 100644 browser/collaterals.module-HXPPIWDJ.js create mode 100644 browser/fixed-deposits.module-QR3TIWFG.js delete mode 100644 browser/fixed-deposits.module-X3INNRVX.js delete mode 100644 browser/html2canvas-6CDFJ2RM.js create mode 100644 browser/html2canvas-MQUY4XON.js create mode 100644 browser/index.es-ISZ2UBJA.js delete mode 100644 browser/index.es-KX24PUJY.js create mode 100644 browser/loans.module-2HMWG7HU.js delete mode 100644 browser/loans.module-RPRQWZ3O.js create mode 100644 browser/purify.es-EB55ZFU5.js delete mode 100644 browser/purify.es-PSACIFBT.js delete mode 100644 browser/recurring-deposits.module-KYS2NLSS.js create mode 100644 browser/recurring-deposits.module-X4FGHNIB.js create mode 100644 browser/savings.module-LV4RFMKE.js delete mode 100644 browser/savings.module-ZH2SXBPF.js delete mode 100644 browser/shares.module-7TA45HQH.js create mode 100644 browser/shares.module-P7NVQ33P.js diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index e34584d6f..59e1bd9a2 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -1247,7 +1247,7 @@ Exhibit B - “Incompatible With Secondary Licenses” Notice Package: core-js License: "MIT" -Copyright (c) 2014-2025 Denis Pushkarev, 2025 CoreJS Company +Copyright (c) 2014-2025 Denis Pushkarev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -1398,33 +1398,6 @@ Package: stackblur-canvas License: "MIT" --------------------------------------------------------------------------------- -Package: @babel/runtime -License: "MIT" - -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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: fflate License: "MIT" @@ -2032,202 +2005,6 @@ as SVG and JS file types. In the Font Awesome Free download, the SIL OFL license applies to all icons packaged as web and desktop font files. -Copyright (c) 2025 Fonticons, Inc. (https://fontawesome.com) -with Reserved Font Name: "Font Awesome". - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - -SIL OPEN FONT LICENSE -Version 1.1 - 26 February 2007 - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting — in part or in whole — any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. - --------------------------------------------------------------------------------- - -# Code: MIT License (https://opensource.org/licenses/MIT) - -In the Font Awesome Free download, the MIT license applies to all non-font and -non-icon files. - -Copyright 2025 Fonticons, Inc. - -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. - --------------------------------------------------------------------------------- - -# Attribution - -Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font -Awesome Free files already contain embedded comments with sufficient -attribution, so you shouldn't need to do anything additional when using these -files normally. - -We've kept attribution comments terse, so we ask that you do not actively work -to remove them from files, especially code. They're a great way for folks to -learn about Font Awesome. - --------------------------------------------------------------------------------- - -# Brand Icons - -All brand icons are trademarks of their respective owners. The use of these -trademarks does not indicate endorsement of the trademark holder by Font -Awesome, nor vice versa. **Please do not use brand logos for any purpose except -to represent the company, product, or service to which they refer.** - --------------------------------------------------------------------------------- -Package: @fortawesome/angular-fontawesome -License: "MIT" - -MIT License - -Copyright (c) 2018 Fonticons, Inc. and contributors - -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)" - -Fonticons, Inc. (https://fontawesome.com) - --------------------------------------------------------------------------------- - -Font Awesome Free License - -Font Awesome Free is free, open source, and GPL friendly. You can use it for -commercial projects, open source projects, or really almost whatever you want. -Full Font Awesome Free license: https://fontawesome.com/license/free. - --------------------------------------------------------------------------------- - -# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) - -The Font Awesome Free download is licensed under a Creative Commons -Attribution 4.0 International License and applies to all icons packaged -as SVG and JS file types. - --------------------------------------------------------------------------------- - -# Fonts: SIL OFL 1.1 License - -In the Font Awesome Free download, the SIL OFL license applies to all icons -packaged as web and desktop font files. - Copyright (c) 2024 Fonticons, Inc. (https://fontawesome.com) with Reserved Font Name: "Font Awesome". @@ -2369,6 +2146,202 @@ trademarks does not indicate endorsement of the trademark holder by Font Awesome, nor vice versa. **Please do not use brand logos for any purpose except to represent the company, product, or service to which they refer.** +-------------------------------------------------------------------------------- +Package: @fortawesome/angular-fontawesome +License: "MIT" + +MIT License + +Copyright (c) 2018 Fonticons, Inc. and contributors + +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)" + +Fonticons, Inc. (https://fontawesome.com) + +-------------------------------------------------------------------------------- + +Font Awesome Free License + +Font Awesome Free is free, open source, and GPL friendly. You can use it for +commercial projects, open source projects, or really almost whatever you want. +Full Font Awesome Free license: https://fontawesome.com/license/free. + +-------------------------------------------------------------------------------- + +# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) + +The Font Awesome Free download is licensed under a Creative Commons +Attribution 4.0 International License and applies to all icons packaged +as SVG and JS file types. + +-------------------------------------------------------------------------------- + +# Fonts: SIL OFL 1.1 License + +In the Font Awesome Free download, the SIL OFL license applies to all icons +packaged as web and desktop font files. + +Copyright (c) 2022 Fonticons, Inc. (https://fontawesome.com) +with Reserved Font Name: "Font Awesome". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +SIL OPEN FONT LICENSE +Version 1.1 - 26 February 2007 + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting — in part or in whole — any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +-------------------------------------------------------------------------------- + +# Code: MIT License (https://opensource.org/licenses/MIT) + +In the Font Awesome Free download, the MIT license applies to all non-font and +non-icon files. + +Copyright 2022 Fonticons, Inc. + +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. + +-------------------------------------------------------------------------------- + +# Attribution + +Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font +Awesome Free files already contain embedded comments with sufficient +attribution, so you shouldn't need to do anything additional when using these +files normally. + +We've kept attribution comments terse, so we ask that you do not actively work +to remove them from files, especially code. They're a great way for folks to +learn about Font Awesome. + +-------------------------------------------------------------------------------- + +# Brand Icons + +All brand icons are trademarks of their respective owners. The use of these +trademarks does not indicate endorsement of the trademark holder by Font +Awesome, nor vice versa. **Please do not use brand logos for any purpose except +to represent the company, product, or service to which they refer.** + -------------------------------------------------------------------------------- Package: ngx-mat-select-search License: "MIT" diff --git a/browser/account-transfers.module-DTZIXBPU.js b/browser/account-transfers.module-DTZIXBPU.js deleted file mode 100644 index 199d5c43d..000000000 --- a/browser/account-transfers.module-DTZIXBPU.js +++ /dev/null @@ -1 +0,0 @@ -import{a as B}from"./chunk-ZRPNO5CN.js";import{$a as he,$d as Pe,Bd as X,Cd as st,Da as P,Dc as Ee,Dd as we,De as Ne,Ea as N,Ee as qe,Fb as q,Fd as ct,G,Ga as w,Gd as Z,H as qt,Hd as Lt,Ia as x,Id as tt,Ja as h,Jd as mt,K as T,Kg as Ue,L as b,Ld as pt,M as S,Mc as V,Na as Dt,Nd as Oe,Oa as At,Oc as De,Od as dt,Pa as Mt,Pd as ut,Qa as M,Qd as ft,Qe as yt,Rc as xt,Sc as Y,Sd as Ct,Ua as r,Ud as Q,Va as c,Wa as u,Wc as J,Xa as g,Xc as I,Xd as _t,Ya as Ie,Yc as K,Zc as it,_ as se,_a as Te,_f as Ve,ab as xe,ad as Bt,ag as Re,bb as Rt,bd as Ae,bg as Le,ca as e,cd as nt,cg as He,dd as bt,de as vt,eb as U,ed as Me,fb as et,fd as at,hb as o,hc as H,hf as Ht,ib as l,id as rt,if as $t,ja as O,jb as kt,jf as Ut,ka as Vt,kc as ht,kd as ke,lc as W,ld as ot,lf as Gt,mf as jt,na as y,nc as ce,nd as Be,of as zt,pb as be,pd as St,pf as Qt,pg as $e,qb as Se,qd as Fe,ra as _,rc as j,rd as R,rf as Wt,sa as v,sd as $,sf as Yt,ta as E,ua as D,uf as Jt,va as A,vd as z,wa as d,xa as n,xd as lt,xf as Ft,ya as i,za as C,zb as ye}from"./chunk-HD44E7CW.js";import{a as Pt,b as Nt}from"./chunk-PHUH23IY.js";var Qe=()=>["../","edit"],We=()=>["../","list-account-transactions"];function Ye(t,m){t&1&&(n(0,"button",1),r(1),o(2,"translate"),i()),t&2&&(d("routerLink",U(4,We)),e(),u(" ",l(2,2,"labels.buttons.View Transactions History")," "))}function Je(t,m){t&1&&(n(0,"span"),r(1),o(2,"translate"),i()),t&2&&(e(),u(" ",l(2,1,"labels.inputs.Within Bank")," "))}function Ke(t,m){t&1&&(n(0,"span"),r(1),o(2,"translate"),i()),t&2&&(e(),u(" ",l(2,1,"labels.inputs.Own Account")," "))}var Xt=(()=>{class t{constructor(){this.route=T(H),this.allowclientedit=!1,this.route.data.subscribe(a=>{this.standingInstructionsData=a.standingInstructionsData,this.standingInstructionsData.fromClient.id===this.standingInstructionsData.toClient.id&&(this.allowclientedit=!1)})}static{this.\u0275fac=function(p){return new(p||t)}}static{this.\u0275cmp=O({type:t,selectors:[["mifosx-view-standing-instructions"]],decls:125,vars:90,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],[1,"container"],[1,"layout-row-wrap","responsive-column"],[1,"mat-h2","flex-fill"],[3,"inset"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"]],template:function(p,s){p&1&&(n(0,"div",0)(1,"button",1),C(2,"fa-icon",2),r(3),o(4,"translate"),i(),y(5,Ye,3,5,"button",3),i(),n(6,"div",4)(7,"mat-card")(8,"mat-card-content")(9,"div",5)(10,"h2",6),r(11),i(),C(12,"mat-divider",7),n(13,"div",8)(14,"span",9),r(15),o(16,"translate"),i(),n(17,"span",10),r(18),i()(),n(19,"div",8)(20,"span",9),r(21),o(22,"translate"),i(),n(23,"span",10),r(24),i()(),n(25,"div",8)(26,"span",9),r(27),o(28,"translate"),i(),n(29,"span",10),r(30),i()(),n(31,"div",8)(32,"span",9),r(33),o(34,"translate"),i(),n(35,"span",10),r(36),i()(),n(37,"div",8)(38,"span",9),r(39),o(40,"translate"),i(),n(41,"span",10),r(42),i()(),n(43,"div",8)(44,"span",9),r(45),o(46,"translate"),i(),n(47,"span",10),r(48),i()(),n(49,"div",8)(50,"span",9),r(51),o(52,"translate"),i(),n(53,"span",10),_(54,Je,3,3,"span"),_(55,Ke,3,3,"span"),i()(),n(56,"div",8)(57,"span",9),r(58),o(59,"translate"),i(),n(60,"span",10),r(61),i()(),n(62,"div",8)(63,"span",9),r(64),o(65,"translate"),i(),n(66,"span",10),r(67),i()(),n(68,"div",8)(69,"span",9),r(70),o(71,"translate"),i(),n(72,"span",10),r(73),i()(),n(74,"div",8)(75,"span",9),r(76),o(77,"translate"),i(),n(78,"span",10),r(79),i()(),n(80,"div",8)(81,"span",9),r(82),o(83,"translate"),i(),n(84,"span",10),r(85),i()(),n(86,"div",8)(87,"span",9),r(88),o(89,"translate"),i(),n(90,"span",10),r(91),i()(),n(92,"div",8)(93,"span",9),r(94),o(95,"translate"),i(),n(96,"span",10),r(97),o(98,"dateFormat"),o(99,"dateFormat"),i()(),n(100,"div",8)(101,"span",9),r(102),o(103,"translate"),i(),n(104,"span",10),r(105),i()(),n(106,"div",8)(107,"span",9),r(108),o(109,"translate"),i(),n(110,"span",10),r(111),i()(),n(112,"div",8)(113,"span",9),r(114),o(115,"translate"),i(),n(116,"span",10),r(117),i()(),n(118,"div",8)(119,"span",9),r(120),o(121,"translate"),i(),n(122,"span",10),r(123),o(124,"dateFormat"),i()()()()()()),p&2&&(e(),d("routerLink",U(89,Qe)),e(2),u(" ",l(4,45,"labels.buttons.Edit")," "),e(2),d("mifosxHasPermission","READ_ACCOUNTTRANSFER"),e(6),c(s.standingInstructionsData.name),e(),d("inset",!0),e(3),u("",l(16,47,"labels.inputs.Applicant"),":"),e(3),c(s.standingInstructionsData.fromClient.displayName),e(3),u("",l(22,49,"labels.inputs.Type"),":"),e(3),c(s.standingInstructionsData.transferType.value),e(3),u("",l(28,51,"labels.inputs.Priority"),":"),e(3),c(s.standingInstructionsData.priority.value),e(3),u("",l(34,53,"labels.inputs.Status"),":"),e(3),c(s.standingInstructionsData.status.value),e(3),u("",l(40,55,"labels.inputs.From Account Type"),":"),e(3),c(s.standingInstructionsData.fromAccountType.value),e(3),u("",l(46,57,"labels.inputs.From Account"),":"),e(3),g("",s.standingInstructionsData.fromAccount.productName," - ",s.standingInstructionsData.fromAccount.accountNo),e(3),u("",l(52,59,"labels.inputs.Destination"),":"),e(3),v(s.allowclientedit?54:-1),e(),v(s.allowclientedit?-1:55),e(3),u("",l(59,61,"labels.inputs.To Office"),":"),e(3),c(s.standingInstructionsData.toOffice.name),e(3),u("",l(65,63,"labels.inputs.Beneficiary"),":"),e(3),c(s.standingInstructionsData.toClient.displayName),e(3),u("",l(71,65,"labels.inputs.To Account Type"),":"),e(3),c(s.standingInstructionsData.toAccountType.value),e(3),u("",l(77,67,"labels.inputs.To Account"),":"),e(3),g("",s.standingInstructionsData.toAccount.productName," - ",s.standingInstructionsData.toAccount.accountNo),e(3),u("",l(83,69,"labels.inputs.Standing Instruction Type"),":"),e(3),c(s.standingInstructionsData.instructionType.value),e(3),u("",l(89,71,"labels.inputs.Amount"),":"),e(3),c(s.standingInstructionsData.amount),e(3),u("",l(95,73,"labels.inputs.Validity"),":"),e(3),g("",l(98,75,s.standingInstructionsData.validFrom)," - ",l(99,77,s.standingInstructionsData.validTill)),e(5),u("",l(103,79,"labels.inputs.Recurrence Type"),":"),e(3),c(s.standingInstructionsData.recurrenceType.value),e(3),u("",l(109,81,"labels.inputs.Interval"),":"),e(3),c(s.standingInstructionsData.recurrenceInterval),e(3),u("",l(115,83,"labels.inputs.Recurrence Frequency"),":"),e(3),c(s.standingInstructionsData.recurrenceFrequency.value),e(3),u("",l(121,85,"labels.inputs.On Month Day"),":"),e(3),c(l(124,87,s.standingInstructionsData.recurrenceOnMonthDay)))},dependencies:[q,R,W,$,z,j,Q,_t,vt,Ct,V],styles:[".mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}.margin-t[_ngcontent-%COMP%]{margin-top:1em}mat-divider[_ngcontent-%COMP%]{margin:0 0 1em}"]})}}return t})();var Xe=()=>["../view"];function Ze(t,m){if(t&1&&(n(0,"mat-option",12),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function ti(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Priority")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function ei(t,m){if(t&1&&(n(0,"mat-option",12),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function ii(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Status")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function ni(t,m){if(t&1&&(n(0,"mat-option",12),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function ai(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Valid From Date")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function ri(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Valid Till Date")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function oi(t,m){if(t&1&&(n(0,"mat-option",12),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function li(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Recurrence Type")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function si(t,m){if(t&1&&(n(0,"mat-option",12),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function ci(t,m){if(t&1){let a=w();n(0,"button",33),x("click",function(){b(a);let s=h();return S(s.submit())}),r(1),o(2,"translate"),i()}if(t&2){let a=h();d("disabled",!a.editStandingInstructionsForm.valid),e(),u(" ",l(2,2,"labels.buttons.Submit")," ")}}var ee=(()=>{class t{constructor(){this.formBuilder=T(St),this.route=T(H),this.router=T(ht),this.accountTransfersService=T(B),this.settingsService=T(Y),this.dateUtils=T(xt),this.allowclientedit=!1,this.minDate=new Date(2e3,0,1),this.maxDate=new Date(2100,0,1),this.route.data.subscribe(a=>{this.standingInstructionsData=a.standingInstructionsDataAndTemplate,this.standingInstructionsId=a.standingInstructionsDataAndTemplate.id,this.standingInstructionsData.fromClient.id===this.standingInstructionsData.toClient.id&&(this.allowclientedit=!1),this.setOptions()})}ngOnInit(){this.createEditStandingInstructionsForm();let p=new Date().getFullYear();this.standingInstructionsData.recurrenceOnMonthDay&&this.standingInstructionsData.recurrenceOnMonthDay.push(p),this.editStandingInstructionsForm.patchValue({name:this.standingInstructionsData.name,applicant:this.standingInstructionsData.fromClient.displayName,type:this.standingInstructionsData.transferType.value,priority:this.standingInstructionsData.priority.id,status:this.standingInstructionsData.status.id,fromAccountType:this.standingInstructionsData.fromAccountType.value,fromAccount:this.standingInstructionsData.fromAccount.productName,destination:this.allowclientedit?"Within Bank":"Own Account",toOffice:this.standingInstructionsData.toOffice.name,toClientId:this.standingInstructionsData.toClient.displayName,toAccountType:this.standingInstructionsData.toAccountType.value,toAccount:this.standingInstructionsData.toAccount.productName,instructionType:this.standingInstructionsData.instructionType.id,amount:this.standingInstructionsData.amount,validFrom:this.standingInstructionsData.validFrom&&new Date(this.standingInstructionsData.validFrom),validTill:this.standingInstructionsData.validTill&&new Date(this.standingInstructionsData.validTill),recurrenceType:this.standingInstructionsData.recurrenceType.id,recurrenceInterval:this.standingInstructionsData.recurrenceInterval,recurrenceFrequency:this.standingInstructionsData.recurrenceFrequency.id,recurrenceOnMonthDay:this.standingInstructionsData.recurrenceOnMonthDay&&new Date(this.standingInstructionsData.recurrenceOnMonthDay)})}createEditStandingInstructionsForm(){this.editStandingInstructionsForm=this.formBuilder.group({name:[{value:"",disabled:!0}],applicant:[{value:"",disabled:!0}],type:[{value:"",disabled:!0}],priority:["",I.required],status:["",I.required],fromAccountType:[{value:"",disabled:!0}],fromAccount:[{value:"",disabled:!0}],destination:[{value:"",disabled:!0}],toOffice:[{value:"",disabled:!0}],toClientId:[{value:"",disabled:!0}],toAccountType:[{value:"",disabled:!0}],toAccount:[{value:"",disabled:!0}],instructionType:"",amount:"",validFrom:["",I.required],validTill:["",I.required],recurrenceType:["",I.required],recurrenceInterval:"",recurrenceFrequency:"",recurrenceOnMonthDay:""})}setOptions(){this.priorityTypeData=this.standingInstructionsData.priorityOptions,this.statusTypeData=this.standingInstructionsData.statusOptions,this.instructionTypeData=this.standingInstructionsData.instructionTypeOptions,this.recurrenceTypeData=this.standingInstructionsData.recurrenceTypeOptions,this.recurrenceFrequencyTypeData=this.standingInstructionsData.recurrenceFrequencyOptions}submit(){let a=this.settingsService.dateFormat,p=this.settingsService.language.code,s={amount:this.editStandingInstructionsForm.value.amount,dateFormat:a,instructionType:this.editStandingInstructionsForm.value.instructionType,locale:p,monthDayFormat:"dd MMMM",priority:this.editStandingInstructionsForm.value.priority,recurrenceFrequency:this.editStandingInstructionsForm.value.recurrenceFrequency,recurrenceInterval:this.editStandingInstructionsForm.value.recurrenceInterval,recurrenceOnMonthDay:this.dateUtils.formatDate(this.editStandingInstructionsForm.value.recurrenceOnMonthDay,"dd MMMM"),recurrenceType:this.editStandingInstructionsForm.value.recurrenceType,status:this.editStandingInstructionsForm.value.status,validFrom:this.dateUtils.formatDate(this.editStandingInstructionsForm.value.validFrom,a),validTill:this.dateUtils.formatDate(this.editStandingInstructionsForm.value.validTill,a)};this.accountTransfersService.updateStandingInstructionsData(this.standingInstructionsId,s).subscribe(f=>{this.router.navigate(["../view"],{relativeTo:this.route})})}static{this.\u0275fac=function(p){return new(p||t)}}static{this.\u0275cmp=O({type:t,selectors:[["mifosx-edit-standing-instructions"]],decls:134,vars:84,consts:[["validFromDatePicker",""],["validTillDatePicker",""],["recurrenceOnMonthDayDatePicker",""],[1,"container"],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],["matInput","","formControlName","name"],["matInput","","formControlName","applicant"],["matInput","","formControlName","type"],["matInput","","formControlName","fromAccountType"],["required","","formControlName","priority"],[3,"value"],["required","","formControlName","status"],["matInput","","formControlName","fromAccount"],["matInput","","formControlName","destination"],["matInput","","formControlName","toOffice"],["matInput","","formControlName","toClientId"],["matInput","","formControlName","toAccountType"],["matInput","","formControlName","toAccount"],["formControlName","instructionType"],["matInput","","formControlName","amount"],[1,"flex-48",3,"click"],["matInput","","required","","formControlName","validFrom",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["matInput","","required","","formControlName","validTill",3,"min","max","matDatepicker"],["required","","formControlName","recurrenceType"],["matInput","","formControlName","recurrenceInterval"],["formControlName","recurrenceFrequency"],["matInput","","formControlName","recurrenceOnMonthDay",3,"min","max","matDatepicker"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled","click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(p,s){if(p&1){let f=w();n(0,"div",3)(1,"mat-card")(2,"form",4)(3,"mat-card-content")(4,"div",5)(5,"mat-form-field",6)(6,"mat-label"),r(7),o(8,"translate"),i(),C(9,"input",7),i(),n(10,"mat-form-field",6)(11,"mat-label"),r(12),o(13,"translate"),i(),C(14,"input",8),i(),n(15,"mat-form-field",6)(16,"mat-label"),r(17),o(18,"translate"),i(),C(19,"input",9),i(),n(20,"mat-form-field",6)(21,"mat-label"),r(22),o(23,"translate"),i(),C(24,"input",10),i(),n(25,"mat-form-field",6)(26,"mat-label"),r(27),o(28,"translate"),i(),n(29,"mat-select",11),D(30,Ze,2,2,"mat-option",12,E),i(),_(32,ti,7,9,"mat-error"),i(),n(33,"mat-form-field",6)(34,"mat-label"),r(35),o(36,"translate"),i(),n(37,"mat-select",13),D(38,ei,2,2,"mat-option",12,E),i(),_(40,ii,7,9,"mat-error"),i(),n(41,"mat-form-field",6)(42,"mat-label"),r(43),o(44,"translate"),i(),C(45,"input",14),i(),n(46,"mat-form-field",6)(47,"mat-label"),r(48),o(49,"translate"),i(),C(50,"input",15),i(),n(51,"mat-form-field",6)(52,"mat-label"),r(53),o(54,"translate"),i(),C(55,"input",16),i(),n(56,"mat-form-field",6)(57,"mat-label"),r(58),o(59,"translate"),i(),C(60,"input",17),i(),n(61,"mat-form-field",6)(62,"mat-label"),r(63),o(64,"translate"),i(),C(65,"input",18),i(),n(66,"mat-form-field",6)(67,"mat-label"),r(68),o(69,"translate"),i(),C(70,"input",19),i(),n(71,"mat-form-field",6)(72,"mat-label"),r(73),o(74,"translate"),i(),n(75,"mat-select",20),D(76,ni,2,2,"mat-option",12,E),i()(),n(78,"mat-form-field",6)(79,"mat-label"),r(80),o(81,"translate"),i(),C(82,"input",21),i(),n(83,"mat-form-field",22),x("click",function(){b(f);let F=M(90);return S(F.open())}),n(84,"mat-label"),r(85),o(86,"translate"),i(),C(87,"input",23)(88,"mat-datepicker-toggle",24)(89,"mat-datepicker",null,0),_(91,ai,7,9,"mat-error"),i(),n(92,"mat-form-field",22),x("click",function(){b(f);let F=M(99);return S(F.open())}),n(93,"mat-label"),r(94),o(95,"translate"),i(),C(96,"input",25)(97,"mat-datepicker-toggle",24)(98,"mat-datepicker",null,1),_(100,ri,7,9,"mat-error"),i(),n(101,"mat-form-field",6)(102,"mat-label"),r(103),o(104,"translate"),i(),n(105,"mat-select",26),D(106,oi,2,2,"mat-option",12,E),i(),_(108,li,7,9,"mat-error"),i(),n(109,"mat-form-field",6)(110,"mat-label"),r(111),o(112,"translate"),i(),C(113,"input",27),i(),n(114,"mat-form-field",6)(115,"mat-label"),r(116),o(117,"translate"),i(),n(118,"mat-select",28),D(119,si,2,2,"mat-option",12,E),i()(),n(121,"mat-form-field",22),x("click",function(){b(f);let F=M(128);return S(F.open())}),n(122,"mat-label"),r(123),o(124,"translate"),i(),C(125,"input",29)(126,"mat-datepicker-toggle",24)(127,"mat-datepicker",null,2),i()()(),n(129,"mat-card-actions",30)(130,"button",31),r(131),o(132,"translate"),i(),y(133,ci,3,4,"button",32),i()()()()}if(p&2){let f=M(90),k=M(99),F=M(128);e(2),d("formGroup",s.editStandingInstructionsForm),e(5),c(l(8,41,"labels.inputs.name")),e(5),c(l(13,43,"labels.inputs.Applicant")),e(5),c(l(18,45,"labels.inputs.Type")),e(5),c(l(23,47,"labels.inputs.From Account Type")),e(5),c(l(28,49,"labels.inputs.Priority")),e(3),A(s.priorityTypeData),e(2),v(s.editStandingInstructionsForm.controls.priority.hasError("required")?32:-1),e(3),c(l(36,51,"labels.inputs.Status")),e(3),A(s.statusTypeData),e(2),v(s.editStandingInstructionsForm.controls.status.hasError("required")?40:-1),e(3),c(l(44,53,"labels.inputs.From Account")),e(5),c(l(49,55,"labels.inputs.Destination")),e(5),c(l(54,57,"labels.inputs.To Office")),e(5),c(l(59,59,"labels.inputs.Beneficiary")),e(5),c(l(64,61,"labels.inputs.To Account Type")),e(5),c(l(69,63,"labels.inputs.To Account")),e(5),c(l(74,65,"labels.inputs.Standing Instruction Type")),e(3),A(s.instructionTypeData),e(4),c(l(81,67,"labels.inputs.Amount")),e(5),c(l(86,69,"labels.inputs.Validity from")),e(2),d("min",s.minDate)("max",s.maxDate)("matDatepicker",f),e(),d("for",f),e(3),v(s.editStandingInstructionsForm.controls.validFrom.hasError("required")?91:-1),e(3),c(l(95,71,"labels.inputs.Validity To")),e(2),d("min",s.minDate)("max",s.maxDate)("matDatepicker",k),e(),d("for",k),e(3),v(s.editStandingInstructionsForm.controls.validTill.hasError("required")?100:-1),e(3),c(l(104,73,"labels.inputs.Recurrence Type")),e(3),A(s.recurrenceTypeData),e(2),v(s.editStandingInstructionsForm.controls.recurrenceType.hasError("required")?108:-1),e(3),c(l(112,75,"labels.inputs.Interval")),e(5),c(l(117,77,"labels.inputs.Recurrence Frequency")),e(3),A(s.recurrenceFrequencyTypeData),e(4),c(l(124,79,"labels.inputs.On Month Day")),e(2),d("min",s.minDate)("max",s.maxDate)("matDatepicker",F),e(),d("for",F),e(4),d("routerLink",U(83,Xe)),e(),u(" ",l(132,81,"labels.buttons.Cancel")," "),e(2),d("mifosxHasPermission","UPDATE_STANDINGINSTRUCTION")}},dependencies:[q,R,nt,J,K,it,ot,at,rt,W,$,z,lt,Z,X,st,ct,tt,pt,mt,ut,ft,dt,j,Q,V],encapsulation:2})}}return t})();var mi=()=>["../"];function pi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.name")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.inputs.required")))}function di(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function ui(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Transfer Type")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.inputs.required")))}function fi(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function Ci(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Priority")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function _i(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function vi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Status")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function gi(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function Ii(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.From Account Type")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Ti(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),g(" ",a.productName," - ",a.accountNo," ")}}function hi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.From Account")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function xi(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function bi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Destination")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Si(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.name," ")}}function yi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.To Office")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Ei(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.displayName," ")}}function Di(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Beneficiary")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Ai(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function Mi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.To Account Type")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function ki(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),g(" ",a.productName," - ",a.accountNo," ")}}function Bi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.To Account")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Fi(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function wi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Standing Instruction Type")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Oi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Amount")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Pi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Valid From Date")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Ni(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Valid Till Date")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function qi(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function Vi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Recurrence Type")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Ri(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Recurrence Interval")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Li(t,m){if(t&1&&(n(0,"mat-option",10),r(1),i()),t&2){let a=m.$implicit;d("value",a.id),e(),u(" ",a.value," ")}}function Hi(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.Recurrence Frequency")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function $i(t,m){t&1&&(n(0,"mat-error"),r(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),r(5),o(6,"translate"),i()()),t&2&&(e(),g(" ",l(2,3,"labels.inputs.On Month Day")," ",l(3,5,"labels.commons.is")," "),e(4),c(l(6,7,"labels.commons.required")))}function Ui(t,m){if(t&1){let a=w();n(0,"button",33),x("click",function(){b(a);let s=h();return S(s.submit())}),r(1),o(2,"translate"),i()}if(t&2){let a=h();d("disabled",!a.createStandingInstructionsForm.valid),e(),u(" ",l(2,2,"labels.buttons.Submit")," ")}}var ie=(()=>{class t{constructor(){this.formBuilder=T(St),this.route=T(H),this.router=T(ht),this.accountTransfersService=T(B),this.settingsService=T(Y),this.dateUtils=T(xt),this.minDate=new Date(2e3,0,1),this.maxDate=new Date(2100,0,1),this.allowclientedit=!0,this.route.data.subscribe(a=>{this.standingIntructionsTemplate=a.standingIntructionsTemplate,this.setParams(),this.setOptions()})}setParams(){switch(this.officeId=this.route.snapshot.queryParams.officeId,this.accountType=this.route.snapshot.queryParams.accountType,this.clientId=this.route.parent.snapshot.params.clientId,this.accountType){case"fromloans":this.accountTypeId="1";break;case"fromsavings":this.accountTypeId="2";break;default:this.accountTypeId="0"}}ngOnInit(){this.createCreateStandingInstructionsForm(),this.buildDependencies(),this.createStandingInstructionsForm.patchValue({applicant:this.standingIntructionsTemplate.fromClient.displayName})}createCreateStandingInstructionsForm(){this.createStandingInstructionsForm=this.formBuilder.group({name:["",I.required],applicant:[{value:"",disabled:!0}],transferType:["",I.required],priority:["",I.required],status:["",I.required],fromAccountType:["",I.required],fromAccountId:["",I.required],destination:["",I.required],toOfficeId:["",I.required],toClientId:["",I.required],toAccountType:["",I.required],toAccountId:["",I.required],instructionType:["",I.required],amount:["",I.required],validFrom:["",I.required],validTill:["",I.required],recurrenceType:["",I.required],recurrenceInterval:["",I.required],recurrenceFrequency:["",I.required],recurrenceOnMonthDay:["",I.required]})}setOptions(){this.transferTypeData=this.standingIntructionsTemplate.transferTypeOptions,this.priorityTypeData=this.standingIntructionsTemplate.priorityOptions,this.statusTypeData=this.standingIntructionsTemplate.statusOptions,this.fromAccountTypeData=this.standingIntructionsTemplate.fromAccountTypeOptions,this.fromAccountData=this.standingIntructionsTemplate.fromAccountOptions,this.destinationTypeData=[{id:1,value:"own account"},{id:2,value:"with in bank"}],this.toOfficeTypeData=this.standingIntructionsTemplate.toOfficeOptions,this.toClientTypeData=this.standingIntructionsTemplate.toClientOptions,this.toAccountTypeData=this.standingIntructionsTemplate.toAccountTypeOptions,this.toAccountData=this.standingIntructionsTemplate.toAccountOptions,this.instructionTypeData=this.standingIntructionsTemplate.instructionTypeOptions,this.recurrenceTypeData=this.standingIntructionsTemplate.recurrenceTypeOptions,this.recurrenceFrequencyTypeData=this.standingIntructionsTemplate.recurrenceFrequencyOptions}buildDependencies(){this.createStandingInstructionsForm.get("destination").valueChanges.subscribe(a=>{a===1?(this.allowclientedit=!1,this.createStandingInstructionsForm.patchValue({toOfficeId:this.officeId,toClientId:this.clientId}),this.ToOfficeId=!0,this.ToClientId=!0,this.changeEvent()):(this.allowclientedit=!0,this.createStandingInstructionsForm.patchValue({toOfficeId:"",toClientId:""}),this.createStandingInstructionsForm.controls.toOfficeId.enable(),this.createStandingInstructionsForm.controls.toClientId.enable())})}changeEvent(){let a=this.refineObject(this.createStandingInstructionsForm.value);this.accountTransfersService.getStandingInstructionsTemplate(this.clientId,this.officeId,this.accountTypeId,a).subscribe(p=>{this.standingIntructionsTemplate=p,this.setOptions()})}refineObject(a){let p=Object.getOwnPropertyNames(a);for(let s=0;s