PageSourceSearch

https://www.evonetonline.com/2752.da7d97cd04b36479.js

js evonetonline.com collected 2026-09-24 12:19:46 UTC 28,444 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkevoportal=self.webpackChunkevoportal||[]).push([[2752],{42752:(ce,L,l)=>{l.r(L),l.d(L,{EvoFeeCollectionModule:()=>le});var T=l(69808),n=l(22327),h=l(64447),i=l(5e3),S=l(42378),C=l(49727),A=l(18392),y=l(81276);let g=(()=>{class a extends n.Cfb{constructor(){super(new n.Lcd)}updateValue(e){const t=(0,y.p$)(this.value);Object.assign(t,e),this.setValue(t)}reset(){this.setValue(new n.Lcd)}setData(e){this.setValue(e)}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=i.Yz7({token:a,factory:a.\u0275fac}),a})();var w=l(70655),N=l(62843),O=l(54004),v=l(70262),U=l(40520);class u{constructor(o,e,t){this.http=o,this.filterPaneService=e,this.publicService=t}getList(o,e){return this.http.get(`${n.oHM}/customizeconfigs?${e}`).pipe((0,O.U)(s=>s),(0,v.K)(s=>(0,N._)(s)))}getOne(o,e){return this.http.get(`${n.oHM}/customizeconfig/${o}/${e}`,{withCredentials:!0}).pipe((0,O.U)(s=>s),(0,v.K)(s=>(0,N._)(s)))}delete(o,e){return this.http.delete(`${n.oHM}/customizeconfig/${o}/${e}`)}create(o){return this.http.post(`${n.oHM}/customizeconfig`,o)}update(o,e,t){return this.http.put(`${n.oHM}/customizeconfig/${o}/${e}`,t)}getMopSpecicalType(o){return this.http.get(`${n.oHM}/mop/${o}?fields=specialType`,{withCredentials:!0}).pipe((0,O.U)(t=>t),(0,v.K)(t=>(0,N._)(t)))}getMop(o){return this.http.get(`${n.oHM}/mop/${o}`,{withCredentials:!0}).pipe((0,O.U)(t=>t),(0,v.K)(t=>(0,N._)(t)))}initFilter(){const o=[{name:"wopID",label:"GENERAL.FIELD.P_WOPID",type:"fixed",value:"",applied:!1,controlType:n.yuL.newAsyncSelection,level:n.VKc.wop},{name:"mopID",label:"GENERAL.FIELD.P_MOPID",type:"fixed",value:"",applied:!1,controlType:n.yuL.newAsyncSelection,level:n.VKc.mop},{name:"settleMode",label:"BUSINESS.PUBLIC.SETTLEMENT_MODE",type:"dynamic",value:"",applied:!1,controlType:n.yuL.selection,options:n.cDv},{name:"transCurrencies",label:"BUSINESS.PUBLIC.TRANSACTION_CURRENCY",type:"dynamic",value:"",applied:!1,controlType:n.yuL.newAsyncSelection,level:n.VKc.currency},{name:"settleCurrency",label:"BUSINESS.PUBLIC.SETTLEMENT_CURRENCY",type:"dynamic",value:"",applied:!1,controlType:n.yuL.newAsyncSelection,level:n.VKc.currency}];this.publicService.addNodeIDFilter("fixed",o,"tyo"),this.filterPaneService.cacheDataWithSetFilter(o)}}u.\u0275fac=function(o){return new(o||u)(i.LFG(U.eN),i.LFG(n.tg5),i.LFG(n.OT))},u.\u0275prov=i.Yz7({token:u,factory:u.\u0275fac}),(0,w.gn)([(0,n.vCv)(),(0,n.hKV)()],u.prototype,"getList",null);var R=l(86220),D=l(99590),B=l(45257),_=l(41894),x=l(72081),G=l(5127),Y=l(26992),V=l(77579),H=l(93075),j=l(89907),W=l(29953),Q=l(54283);const z=function(a){return{"min-width":a}};let b=(()=>{class a extends n.Klr{constructor(e,t,s,c,p,r){super(t,s),this.fb=e,this.msg=t,this.i18n=s,this.settings=c,this.feeCollectionDataService=p,this.feeCollectionService=r,this.isUpdateModal=!1,this.feeFieldList=["wccr","wopTransactionProcessingFeeRate","wopFxProcessingFeeRate","mopTransactionProcessingFeeRate","mopFxProcessingFeeRate","cpmInterchangeFeeRate","mpmInterchangeFeeRate"],this.bilateralFileds=["settleCurrency","cpmInterchangeFeeRate","mpmInterchangeFeeRate","specialCategory"],this.objectFileds={wopFee:["wopTransactionProcessingFeeRate","wopFxProcessingFeeRate"],mopFee:["mopTransactionProcessingFeeRate","mopFxProcessingFeeRate"]}}ngOnInit(){super.ngOnInit()}applyData(){var e;let t=(0,y.p$)(this.feeCollectionDataService.value)||{};t=(0,n.zaY)(t,this.feeFieldList),t.transactionType=this.getTransactionTypes(t),t.transCurrencies=null===(e=t.transCurrencies)||void 0===e?void 0:e.map(s=>({currency:{currentID:s.currency},mccr:(0,n.WQg)(s.mccr,2)})),"bilateral"===t.settlementMode&&(t.bilateral={},this.bilateralFileds.forEach(s=>{t.bilateral[s]=t[s]})),Object.keys(this.objectFileds).forEach(s=>{const p=this.objectFileds[s].reduce((r,E)=>(r[E]=t[E],r),{});t[s]={[s]:p}}),this.formData=t}handleWopChange(e){var t;if(!this.sf||this.isUpdateModal)return;const s=null===(t=this.sf)||void 0===t?void 0:t.getProperty("/mopID");s.schema.readOnly=!e,s.ui.item.asyncSelectParams={level:n.VKc.mop,filterParams:{type:n.xtg.mopID,wopID:e}},s.setValue(null,!0),setTimeout(()=>s.setErrors())}handleMopChange(e){if(!this.sf)return;const t=this.sf.getProperty("/bilateral/specialCategory"),s=this.sf.getProperty("/transCurrencies"),c=this.sf.getProperty("/settlementMode"),p=this.sf.getProperty("/wopID"),r=this.sf.getProperty("/bilateral/settleCurrency"),E=this.sf.getProperty("/wccr");e?this.feeCollectionService.getOne(p.value,e.currentID).subscribe(d=>{t.ui.showRequired="UPI"===(null==e?void 0:e.specialType);const m=this.getTransactionTypes(d);this.resetPropertyValue("transactionType",m),s.setValue((d.transCurrencies||[]).map(f=>Object.assign(Object.assign({},f),{mccr:(0,n.WQg)(f.mccr,2)})),!0),c.setValue(d.settlementMode,!0),c.widget.reset(d.settlementMode),E.setErrors(),"bilateral"===d.settlementMode&&(r.widget.setValue(d.settleCurrency),r.widget.detectChanges())}):t.ui.showRequired=!1}buildScheme(){this.schema={properties:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.getHtmlOfTextWidget("GENERAL.MESSAGE.BASIC_INFO")),this.getHtmlOfSubHeaderWidget("MOP.FIELD.IDENTITY_INFO")),{wopID:{type:"string",title:this.trans("GENERAL.FIELD.P_WOPID"),readOnly:this.isUpdateModal,ui:{widget:"evo-async-select",item:{asyncSelectParams:{level:n.VKc.wop},valueChange:(e,t)=>
1this.handleWopChange(e)}}},mopID:{type:"string",title:this.trans("GENERAL.FIELD.P_MOPID"),readOnly:this.isUpdateModal,ui:{widget:"evo-async-select",item:{asyncSelectParams:{level:n.VKc.mop},valueChange:(e,t)=>this.handleMopChange(t)}}}}),this.getDividerWidget()),this.getHtmlOfSubHeaderWidget("MOP.FIELD.TRANSACTION_INFO")),{transactionType:{type:"string",title:this.trans("BUSINESS.MOP.TRANSACTION.FAILED.TRANSACTION_TYPE"),enum:n.RBD,readOnly:!0,ui:{widget:"select",mode:"multiple",showArrow:!0,errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.MOP.TRANSACTION.FAILED.TRANSACTION_TYPE")})}}},transCurrencies:{type:"array",title:this.trans("BUSINESS.MOP.TRANSACTION.FAILED.TRANSACTION_CURRENCIES"),defaultItems:this.getDefaultItems("transCurrencies"),readOnly:!0,items:{type:"object",properties:{currency:{type:"string",title:this.trans("BUSINESS.PUBLIC.TRANSACTION_CURRENCY"),readOnly:!0,ui:{widget:"evo-async-select",item:{asyncSelectParams:{level:n.VKc.currency}},grid:{span:12},errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.PUBLIC.TRANSACTION_CURRENCY")})}}},mccr:{type:"number",title:this.trans("BUSINESS.PUBLIC.MCCR"),maximum:100,default:0,ui:{widget:"evo-amount-input",addOnAfter:"%",grid:{span:12},errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.PUBLIC.MCCR")})}}}},ui:{grid:{span:12,gutter:12}}},ui:{widget:"evo-array"}}}),this.getDividerWidget()),this.getHtmlOfSubHeaderWidget("BUSINESS.MOP.TAB.SETTLEMENT")),{settlementMode:{type:"string",title:this.trans("BUSINESS.PUBLIC.SETTLEMENT_MODE"),enum:n.cDv,readOnly:!0,ui:{widget:"select",errors:{required:this.trans("VALIDATION.REQUIRED.SELECT",{name:this.trans("BUSINESS.PUBLIC.SETTLEMENT_MODE")})}}},bilateral:{title:"",type:"object",properties:{settleCurrency:{type:"string",title:this.trans("BUSINESS.PUBLIC.SETTLEMENT_CURRENCY"),readOnly:!0,ui:{widget:"evo-async-select",item:{asyncSelectParams:{level:n.VKc.currency}}}},cpmInterchangeFeeRate:{type:"number",title:this.trans("BUSINESS.WOP.SETTLEMENT.CPM_INTERCHANGE_FEE_RATE"),maximum:10,minimum:0,ui:{widget:"evo-amount-input",addOnAfter:"%",precision:2,errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.WOP.SETTLEMENT.CPM_INTERCHANGE_FEE_RATE")})}}},mpmInterchangeFeeRate:{type:"number",title:this.trans("BUSINESS.WOP.SETTLEMENT.MPM_INTERCHANGE_FEE_RATE"),maximum:10,minimum:0,ui:{widget:"evo-amount-input",addOnAfter:"%",precision:2,errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.WOP.SETTLEMENT.MPM_INTERCHANGE_FEE_RATE")})}}},specialCategory:{type:"string",title:this.trans("BUSINESS.RELATIONINFO.SPECIAL_CATEGORY"),enum:n.r9g,ui:{widget:"select",showRequired:!1,errors:{required:this.trans("VALIDATION.REQUIRED.SELECT",{name:this.trans("BUSINESS.RELATIONINFO.SPECIAL_CATEGORY")})}}}},ui:{visibleIf:{settlementMode:e=>"bilateral"===e},widget:"evo-object",timeline:!0}}}),this.getDividerWidget()),this.getHtmlOfSubHeaderWidget("MOP.FIELD.FX_INFO",{visibleIf:{settlementMode:e=>"evonet"===e}})),{wccr:{type:"number",title:this.trans("BUSINESS.PUBLIC.WCCR"),maximum:10,minimum:0,ui:{widget:"evo-amount-input",addOnAfter:"%",precision:2,visibleIf:{settlementMode:e=>"evonet"===e},errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.PUBLIC.WCCR")})}}}}),this.getDividerWidget()),this.getHtmlOfSubHeaderWidget("MOP.FIELD.SERVICE_FEE_INFO")),{wopFee:{title:this.trans("GENERAL.FIELD.WOP"),type:"object",properties:{wopFee:{title:"",type:"object",properties:{wopTransactionProcessingFeeRate:{type:"number",title:this.trans("BUSINESS.WOP.FIELD.TRANSACTION_PROCESSING_FEE_RATE"),maximum:10,minimum:0,ui:{widget:"evo-amount-input",addOnAfter:"%",precision:2,grid:{span:12},errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.WOP.FIELD.TRANSACTION_PROCESSING_FEE_RATE")})}}},wopFxProcessingFeeRate:{type:"number",title:this.trans("BUSINESS.WOP.FIELD.FX_PROCESSING_FEE_RATE"),maximum:10,minimum:0,ui:{widget:"evo-amount-input",addOnAfter:"%",precision:2,grid:{span:12},errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.WOP.FIELD.FX_PROCESSING_FEE_RATE")})}}}},ui:{background:!0,widget:"evo-object",grid:{gutter:8,span:24}}}},ui:{showRequired:!1,widget:"evo-object"}},mopFee:{title:this.trans("GENERAL.FIELD.MOP"),type:"object",properties:{mopFee:{title:"",type:"object",properties:{mopTransactionProcessingFeeRate:{type:"number",title:this.trans("BUSINESS.MOP.FIELD.TRANSACTION_PROCESSING_FEE_RATE"),maximum:10,minimum:0,ui:{widget:"evo-amount-input",addOnAfter:"%",precision:2,grid:{span:12},errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.MOP.FIELD.TRANSACTION_PROCESSING_FEE_RATE")})}}},mopFxProcessingFeeRate:{type:"number",title:this.trans("BUSINESS.MOP.FIELD.FX_PROCESSING_FEE_RATE"),maximum:10,minimum:0,ui:{widget:"evo-amount-input",addOnAfter:"%",precision:2,grid:{span:12},errors:{required:this.trans("VALIDATION.REQUIRED",{name:this.trans("BUSINESS.MOP.FIELD.FX_PROCESSING_FEE_RATE")})}}}},ui:{background:!0,widget:"evo-object",grid:{gutter:8,span:24}}}},ui:{showRequired:!1,widget:"evo-object"}},transProcessingFeeCollectionMethod:{type:"string",title:this.trans("BUSINESS.WOP.SETTLEMENT.TRANSACTION_PROCESSING_FEE_COLLECTION_METHOD"),enum:n.r1l,default:"monthly",readOnly:!0,ui:{widget:"select",errors:{required:this.trans("VALIDATION.REQUIRED.SELECT",{name:this.trans("BUSINESS.WOP.SETTLEMENT.TRANSACTION_PROCESSING_FEE_COLLECTION_METHOD")})},visibleIf:{settlementMode:e=>"bilateral"===e}}},transProcessingFeeCalculatedMethod:{type:"string",title:this.trans("BUSINESS.SETTLEMENT.TRANSACTION_PROCESSING_FEE_MONTHLY_COLLECTION_METHOD"),enum:n.e1J,readOnly:this.isUpdateModal,ui:{widget:"select",change:e=>{this.resetPropertyValue("fxProcessingFeeCalculatedMethod",e)},errors:{required:this.trans("VALIDATION.REQUIRED.SELECT",{name:this.trans("BUSINESS.SETTLEMENT.TRANSACTION_PROCESSING_FEE_MONTHLY_COLLECTION_METHOD")})},visibleIf:{settlementMode:e=>"bilateral"===e}}},fxProcessingFeeCollectionMethod:{type:"string",title:this.trans("BUSINESS.WOP.SETTLEMENT.FX_PROCESSING_FEE_COLLECTION_METHOD"),enum:n.r1l,default:"monthly",readOnly:!0,ui:{widget:"select",errors:{required:this.trans("VALIDATION.REQUIRED.SELECT",{name:this.trans("BUSINESS.WOP.SETTLEMENT.FX_PROCESSING_FEE_COLLECTION_METHOD")})},visibleIf:{settlementMode:e=>"bilateral"===e}}},fxProcessingFeeCalculatedMethod:{type:"string",title:this.trans("BUSINESS.SETTLEMENT.FX_PROCESSING_FEE_MONTHLY_COLLECTION_METHOD"),enum:n.e1J,readOnly:this.isUpdateModal,ui:{widget:"select",change:e=>{this.resetPropertyValue("transProcessingFeeCalculatedMethod",e)},errors:{required:this.trans("VALIDATION.REQUIRED.SELECT",{name:this.trans("BUSINESS.SETTLEMENT.FX_PROCESSING_FEE_MONTHLY_COLLECTION_METHOD")})},visibleIf:{settlementMode:e=>"bilateral"===e}}}}),this.getTipTextWidget())}}beforePushDataToStore(){var e;let t=null===(e=this.sf)||void 0===e?void 0:e.value;t=(0,n.sqW)(t,this.feeFieldList);const s=t.transactionType||[];return t.isCPMSupported=s.includes("isCPMSupported"),t.isMPMSupported=s.includes("isMPMSupported"),t.isRefundSupported=s.includes("isRefundSupported"),t.fxRateOwner&&"customized"===t.fxRateOwner&&(t.fxRateOwner=`${t.wopID}_${t.mopID}`),"bilateral"===t.settlementMode&&(this.bilateralFileds.forEach(c=>{t[c]=t.bilateral[c]}),delete t.bilateral,t=(0,n.sqW)(t,["cpmInterchangeFeeRate","mpmInterchangeFeeRate"])),Object.keys(this.objectFileds).forEac
1h(c=>{const p=this.objectFileds[c];p.forEach(r=>{t[r]=t[c][c][r]}),t=(0,n.sqW)(t,p),delete t[c]}),t.transCurrencies=t.transCurrencies.map(c=>Object.assign(Object.assign({},c),{mccr:(0,n.WQg)(c.mccr,-2)})),t.operationalNode=this.settings.user.operationalNode,t}pushDataToStore(){const e=this.beforePushDataToStore();this.feeCollectionDataService.updateValue(e)}trans(e,t){return this.i18n.fanyi(e,t)}getTransactionTypes(e){return["isCPMSupported","isMPMSupported","isRefundSupported"].filter(s=>!!e[s])}resetPropertyValue(e,t){var s;const c=null===(s=this.sf)||void 0===s?void 0:s.getProperty(`/${e}`);c.setValue(t,!1),c.widget.reset(t)}}return a.\u0275fac=function(e){return new(e||a)(i.Y36(H.qu),i.Y36(C.dD),i.Y36(h.Oi),i.Y36(h.gb),i.Y36(g),i.Y36(u))},a.\u0275cmp=i.Xpm({type:a,selectors:[["evo-fee-collection-new-base"]],features:[i.qOj],decls:3,vars:7,consts:[[3,"isDrawer"],["layout","vertical",3,"schema","formData","button","ngStyle"],["sf",""]],template:function(e,t){1&e&&(i.TgZ(0,"evo-new-pane",0),i._UZ(1,"sf",1,2),i.qZA()),2&e&&(i.Q6J("isDrawer",t.isUpdateModal),i.xp6(1),i.Q6J("schema",t.schema)("formData",t.formData)("button",null)("ngStyle",i.VKq(5,z,t.isUpdateModal?"390px":"auto")))},directives:[j.$,W.kJ,T.PC],encapsulation:2}),a})();var J=l(1787);function $(a,o){1&a&&i._UZ(0,"app-content-header")}function Z(a,o){1&a&&i._UZ(0,"nz-spin")}function X(a,o){if(1&a){const e=i.EpF();i.TgZ(0,"app-new-module",2),i.NdJ("cancel",function(){return i.CHM(e),i.oxw().cancel()})("selfSubmit",function(){return i.CHM(e),i.oxw().submit()}),i.qZA()}if(2&a){const e=i.oxw();i.Q6J("currentStep",e.currentStep)("pages",e.pages)("submitLoading",e.saveLoading)("isUpdateModal",e.isUpdateModal)("editDrawerModule",!0)}}let F=(()=>{class a{constructor(e,t,s,c,p,r,E,d){this.msgSrv=e,this.router=t,this.route=s,this.pageService=c,this.i18n=p,this.commonAcquirerService=r,this.relationInfoService=E,this.relationInfoDataService=d,this.pages=[],this.valid=new V.x,this.loading=!1,this.saveLoading=!1,this.isUpdateModal=!1,this.currentStep=0,this.handleSubmit=new i.vpe,this.handleCancel=new i.vpe}ngOnInit(){this.initModule()}ngOnDestroy(){this.isUpdateModal||this.relationInfoDataService.reset()}initModule(){this.initColumns()}initColumns(){const e=[{component:new n.kI0(b),stepTitle:this.i18n.fanyi("GENERAL.MESSAGE.OTHER.BASIC"),key:n.iIq.base}];this.pages=e}cancel(){this.isUpdateModal?this.handleCancel.emit():this.router.navigate([".."],{relativeTo:this.route})}submit(){const t=(0,n.GVo)(this.relationInfoDataService.value);if(!this.saveLoading){if(this.saveLoading=!0,this.isUpdateModal)return void this.handleSubmit.emit({editData:t,callback:()=>{this.saveLoading=!1}});this.relationInfoService.update(t.wopID,t.mopID,t).subscribe(()=>{this.pageService.triggerGuardAlive(!1),this.saveLoading=!1,this.pageService._moduleResultStore$.next({code:"success",callBack:()=>{this.router.navigateByUrl("/participants/personalization")}})},s=>{this.saveLoading=!1,this.pageService.triggerGuardAlive(!1)})}}trans(e,t){return this.i18n.fanyi(e,t)}}return a.\u0275fac=function(e){return new(e||a)(i.Y36(C.dD),i.Y36(S.F0),i.Y36(S.gz),i.Y36(n.PhL),i.Y36(Q.t$),i.Y36(n.HCF),i.Y36(u),i.Y36(g))},a.\u0275cmp=i.Xpm({type:a,selectors:[["evo-fee-collection-new"]],inputs:{isUpdateModal:"isUpdateModal",currentStep:"currentStep"},outputs:{handleSubmit:"handleSubmit",handleCancel:"handleCancel"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"currentStep","pages","submitLoading","isUpdateModal","editDrawerModule","cancel","selfSubmit",4,"ngIf"],[3,"currentStep","pages","submitLoading","isUpdateModal","editDrawerModule","cancel","selfSubmit"]],template:function(e,t){1&e&&(i.YNc(0,$,1,0,"app-content-header",0),i.YNc(1,Z,1,0,"nz-spin",0),i.YNc(2,X,1,5,"app-new-module",1)),2&e&&(i.Q6J("ngIf",!t.isUpdateModal),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[T.O5,R.e,D.W,J.Y],encapsulation:2}),a})();function K(a,o){if(1&a){const e=i.EpF();i.TgZ(0,"div",3)(1,"div",4),i._UZ(2,"evo-back-to-list",5),i.TgZ(3,"evo-detail-pane",6),i.NdJ("editClick",function(){return i.CHM(e),i.oxw().handleEdit()}),i.ALo(4,"i18n"),i.qZA()()()}if(2&a){const e=i.oxw();i.xp6(3),i.Q6J("title",i.lcZ(4,2,"GENERAL.MESSAGE.BASIC_INFO"))("itemGroups",e.basicInfoRows)}}function q(a,o){if(1&a){const e=i.EpF();i.ynx(0),i.TgZ(1,"app-drawer-module",7),i.NdJ("handleDrawerClose",function(){return i.CHM(e),i.oxw().drawerClose()}),i.TgZ(2,"evo-fee-collection-new",8),i.NdJ("handleSubmit",function(s){return i.CHM(e),i.oxw().handleSubmit(s)})("handleCancel",function(){return i.CHM(e),i.oxw().handleCancel()}),i.qZA()(),i.BQk()}if(2&a){const e=i.oxw();i.xp6(1),i.Q6J("drawerVisible",e.drawerVisible),i.xp6(1),i.Q6J("isUpdateModal",!0)("currentStep",e.currentStep)}}let M=(()=>{class a extends n.vqR{constructor(e,t,s,c,p,r,E,d,m,I,f){super(s),this.route=e,this.msg=t,this.pageService=s,this.commonAcquirerService=c,this.aclService=p,this.publicService=r,this.detailPaneService=E,this.modalService=d,this.i18n=m,this.relationInfoDataService=I,this.relationInfoService=f,this.drawerVisible=!1,this.currentStep=0,this.basicInfoRows=[]}get isEditable(){return this.aclService.canAbility("api.put.evonet.customizeconfig")}get isEvonet(){var e;return"evonet"===(null===(e=this.detailData)||void 0===e?void 0:e.settlementMode)}ngOnInit(){this.getInitialData()}getInitialData(){this.loading=!0;
1const e=this.route.snapshot.params.wopID,t=this.route.snapshot.params.mopID;!e||!t||(this.loading=!0,this.relationInfoService.getOne(e,t).subscribe(s=>{this.setDetailData(s),this.initialColumns(),this.initColumns(),this.loading=!1}))}ngOnDestroy(){this.relationInfoDataService.reset()}initialColumns(){var e;const t=[[{span:1,labelI18n:"MOP.FIELD.IDENTITY_INFO",displayType:"subheader"}],[{span:1,index:"wopID",labelI18n:"GENERAL.FIELD.P_WOPID"},{span:1,index:"mopID",labelI18n:"GENERAL.FIELD.P_MOPID"}],[{span:1,displayType:"line"}],[{span:1,labelI18n:"MOP.FIELD.TRANSACTION_INFO",displayType:"subheader"}],[{span:1,index:"transactionType",labelI18n:"BUSINESS.MOP.TRANSACTION.FAILED.TRANSACTION_TYPE",pipe:()=>this.handleTransactionType()}],...this.detailPaneService.buildArrayTypeItems("MOP",(null===(e=this.detailData)||void 0===e?void 0:e.transCurrencies)||[],["currency","mccr"],"transCurrencies"),[{span:1,displayType:"line",classname:"mt-xxl"}],[{span:1,labelI18n:"BUSINESS.MOP.TAB.SETTLEMENT",displayType:"subheader"}],[{span:1,index:"settlementMode",labelI18n:"BUSINESS.PUBLIC.SETTLEMENT_MODE",pipe:r=>this.handleSettleMode(r),children:this.isEvonet?null:[[{span:1,index:"specialCategory",labelI18n:"BUSINESS.RELATIONINFO.SPECIAL_CATEGORY",pipe:r=>this.handleSpecialCategory(r),timeline:!0},{span:1,index:"settleCurrency",labelI18n:"BUSINESS.PUBLIC.SETTLEMENT_CURRENCY",timeline:!0},{span:1,index:"cpmInterchangeFeeRate",labelI18n:"BUSINESS.RELATIONINFO.CPM_INTERCHANGE_FEE_RATE",timeline:!0},{span:1,index:"mpmInterchangeFeeRate",labelI18n:"BUSINESS.RELATIONINFO.MPM_INTERCHANGE_FEE_RATE",timeline:!0}]]}]],c=[[{span:1,displayType:"line"}],[{span:1,labelI18n:"MOP.FIELD.SERVICE_FEE_INFO",displayType:"subheader",classname:"mt-xl"}],[{span:2,index:"wopTransactionProcessingFeeRate",labelI18n:"BUSINESS.RELATIONINFO.TRANSACTION_PROCESSING_FEE_RATE",pipe:r=>r?(0,n.G7n)(r):"-",displayType:"array",titleLabelI18n:"GENERAL.FIELD.WOP",timeline:!1},{span:2,index:"wopFxProcessingFeeRate",labelI18n:"BUSINESS.RELATIONINFO.FX_PROCESSING_FEE_RATE",pipe:r=>r?(0,n.G7n)(r):"-",displayType:"array",titleLabelI18n:"GENERAL.FIELD.WOP"}],[{span:2,index:"mopTransactionProcessingFeeRate",labelI18n:"BUSINESS.RELATIONINFO.TRANSACTION_PROCESSING_FEE_RATE",pipe:r=>r?(0,n.G7n)(r):"-",displayType:"array",titleLabelI18n:"GENERAL.FIELD.MOP",timeline:!1},{span:2,index:"mopFxProcessingFeeRate",labelI18n:"BUSINESS.RELATIONINFO.FX_PROCESSING_FEE_RATE",pipe:r=>r?(0,n.G7n)(r):"-",displayType:"array",titleLabelI18n:"GENERAL.FIELD.MOP"}]],p=[[{span:1,displayType:"line"}],[{span:1,index:"transProcessingFeeCollectionMethod",labelI18n:"BUSINESS.WOP.SETTLEMENT.TRANSACTION_PROCESSING_FEE_COLLECTION_METHOD",pipe:r=>n.ki5[r]?this.trans(n.ki5[r]):"-"},{span:1,index:"transProcessingFeeCalculatedMethod",labelI18n:"BUSINESS.SETTLEMENT.TRANSACTION_PROCESSING_FEE_MONTHLY_COLLECTION_METHOD",pipe:r=>{const E=n.e1J.find(d=>d.value===r);return E?E.label:"-"}}],[{span:1,index:"fxProcessingFeeCollectionMethod",labelI18n:"BUSINESS.WOP.SETTLEMENT.FX_PROCESSING_FEE_COLLECTION_METHOD",pipe:r=>n.ki5[r]?this.trans(n.ki5[r]):"-"},{span:1,index:"fxProcessingFeeCalculatedMethod",labelI18n:"BUSINESS.SETTLEMENT.FX_PROCESSING_FEE_MONTHLY_COLLECTION_METHOD",pipe:r=>{const E=n.e1J.find(d=>d.value===r);return E?E.label:"-"}}]];this.basicInfoRows=[...t],this.isEvonet&&(this.basicInfoRows=this.basicInfoRows.concat([[{span:1,displayType:"line"}],[{span:1,labelI18n:"MOP.FIELD.FX_INFO",displayType:"subheader"}],[{span:1,index:"wccr",labelI18n:"BUSINESS.PUBLIC.WCCR"}]])),this.basicInfoRows=this.basicInfoRows.concat(c),this.isEvonet||(this.basicInfoRows=this.basicInfoRows.concat(p)),this.totalColumnsRows=[...this.basicInfoRows]}setDetailData(e){this.detailData=e,this.relationInfoDataService.setValue((0,n.GVo)(e))}handleSpecialCategory(e){var t;return e&&(null===(t=n.r9g.find(s=>s.value===e))||void 0===t?void 0:t.label)||"-"}handleSettleMode(e){var t;return(null===(t=n.gTK.find(s=>s.value===e))||void 0===t?void 0:t.label)||"-"}handleTransactionType(){const e=[];return n.RBD.forEach(t=>{this.detailData[t.value]&&e.push(t.label)}),e.join()}handleEdit(e=0){this.drawerVisible=!0,this.currentStep=e}closeCallBack(){this.drawerVisible=!1}drawerClose(){this.modalService.editLeaveConfirm(this.closeCallBack.bind(this))}handleCancel(){this.drawerClose()}handleSubmitCallback(){this.closeCallBack(),this.relationInfoDataService.reset(),this.getInitialData()}handleSubmit({editData:e,callback:t}){this.relationInfoService.update(e.wopID,e.mopID,e).subscribe(()=>{this.pageService._moduleResultStore$.next({code:"success",callBack:this.handleSubmitCallback.bind(this)})},s=>{this.pageService._moduleResultStore$.next({code:"error",msg:s.error.msg,status:s.status,callBack:this.handleSubmitCallback.bind(this)})}).add(()=>{this.pageService.triggerGuardAlive(!1),t&&t()})}trans(e,t){return this.i18n.fanyi(e,t)}}return a.\u0275fac=function(e){return new(e||a)(i.Y36(S.gz),i.Y36(C.dD),i.Y36(n.PhL),i.Y36(n.HCF),i.Y36(A._8),i.Y36(n.OT),i.Y36(n.wlJ),i.Y36(n.Z7U),i.Y36(h.Oi),i.Y36(g),i.Y36(u))},a.\u0275cmp=i.Xpm({type:a,selectors:[["evo-fee-collection-detail"]],features:[i.qOj],decls:5,vars:3,consts:[[3,"nzSpinning"],["nz-row","","class","bg-white",4,"ngIf"],[4,"ngIf"],["nz-row","",1,"bg-white"],["nz-col",""],[1,"p-md","mx-md"],[3,"title","itemGroups","editClick"],[3,"drawerVisible","handleDrawerClose"],[3,"isUpdateModal","currentStep","handleSubmit","handleCancel"]],template:function(e,t){1&e&&(i._UZ(0,"app-content-header")(1,"nz-spin",0)(2,"nz-back-top"),i.YNc(3,K,5,4,"div",1),i.YNc(4,q,3,3,"ng-container",2)),2&e&&(i.xp6(1),i.Q6J("nzSpinning",t.loading),i.xp6(2),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.drawerVisible))},directives:[R.e,D.W,B.o,T.O5,_.SK,_.t3,x.H,G.E,Y._,F],pipes:[h.Ck],encapsulation:2}),a})();var k=l(69614),ee=l(63102),te=l(36709);const ie=["tplEvoTable"],ne=["tplButton"],se=["tplTransCurrency"];function ae(a,o){if(1&a&&(i.TgZ(0,"span",6),i._uU(1),i.qZA()),2&a){const e=o.$implicit,t=i.oxw();i.Q6J("title",t.handleTableTransCurrency(e.transCurrencies)),i.xp6(1),i.hij(" ",t.handleTableTransCurrency(e.transCurrencies)," ")}}const oe=[{path:"",redirectTo:"list",pathMatch:"full"},{path:"list",component:(()=>{class a extends n.RQ8{constructor(e,t,s,c,p,r,E,d,m,I){super(e,t,c,s,p,I),this.msg=e,this.i18n=t,this.router=s,this.route=c,this.settings=p,this.aclService=r,this.publicService=E,this.modalService=d,this.relationInfoService=m,this.cacheService=I,this.searchSchema=[],this.customSchema=[],this.data=[],this.columns=[]}ngOnInit(){this.initColumns(),this.relationInfoService.initFilter()}initColumns(){const e=this.aclService.canAbility("api.delete.evonet.customizeconfig");this.columns=[{type:"link",title:{text:"GENERAL.FIELD.P_WOPID",i18n:"GENERAL.FIELD.P_WOPID"},index:"wopID",width:"220px",fixed:"left",click:this.goDetail.bind(this)},{title:{text:"GENERAL.FIELD.P_MOPID",i18n:"GENERAL.FIELD.P_MOPID"},index:"mopID",width:"220px"},{title:{text:"BUSINESS.PUBLIC.SETTLEMENT_MODE",i18n:"BUSINESS.PUBLIC.SETTLEMENT_MODE"},index:"settlementMode",width:"180px"},{title:{text:"BUSINESS.PUBLIC.TRANSACTION_CURRENCY",i18n:"BUSINESS.PUBLIC.TRANSACTION_CURRENCY"},index:"transCurrencies",width:"180px",render:this.tplTransCurrency},{title:{text:"BUSINESS.PUBLIC.SETTLEMENT_CURRENCY",i18n:"BUSINESS.PUBLIC.SETTLEMENT_CURRENCY"},index:"settleCurrency",width:"180px"},{title:{text:"GENERAL.MESSAGE.OPERATION",i18n:"GENERAL.MESSAGE.OPERATION"},width:"180px",fixed:"right",className:"text-center",iif:()=>e,type:"widget",widget:{type:"evo-custom-button",params:({record:t})=>({mapping:{[n.ojf.DELETE]:{acl:e,url:`/customizeconfig/${t.wopID}/${t.mopID}`,record:Object.assign({},t)}},evoTable:this.tplEvoTable})}}]}handleTableTransCurrency(e){return(e||[]).map(t=>t.currency).join()}goAdd(){this.router.navigate(["../new"],{relativeTo:this.route})}goDetail(e){const{wopID:t,mopID:s}=e;this.router.navigate([`../${t}/${s}`],{relativeTo:this.route})}queryTableDataWithParams(){this.loading||(this.loading=!0,this.relationInfoService.getList(this.params).subscribe(this.renderList.bind(this),this.getListError.bind(this)))}}return a.\u0275fac=function(e){return new(e||a)(i.Y36(C.dD),i.Y36(h.Oi),i.Y36(S.F0),i.Y36(S.gz),i.Y36(h.gb),i.Y36(A._8),i.Y36(n.OT),i.Y36(n.Z7U),i.Y36(u),i.Y36(k.Q))}
1,a.\u0275cmp=i.Xpm({type:a,selectors:[["evo-fee-collection-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(ie,7),i.Gf(ne,7),i.Gf(se,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.tplEvoTable=s.first),i.iGM(s=i.CRH())&&(t.tplButton=s.first),i.iGM(s=i.CRH())&&(t.tplTransCurrency=s.first)}},features:[i.qOj],decls:7,vars:10,consts:[[3,"iconfont"],[3,"showCreateBtn","showExportBtn","createClick"],[1,"cil-table-block"],[3,"data","columns","ps","pi","page","total","loading","change"],["tplEvoTable",""],["tplTransCurrency",""],[3,"title"]],template:function(e,t){1&e&&(i._UZ(0,"app-content-header",0),i.TgZ(1,"evo-action-pane",1),i.NdJ("createClick",function(){return t.goAdd()}),i.qZA(),i.TgZ(2,"div",2)(3,"evo-table",3,4),i.NdJ("change",function(c){return t.onChange(c)}),i.YNc(5,ae,2,2,"ng-template",null,5,i.W1O),i.qZA()()),2&e&&(i.Q6J("iconfont","icon-back-grey"),i.xp6(1),i.Q6J("showCreateBtn",t.aclService.canAbility("api.post.evonet.customizeconfig"))("showExportBtn",!1),i.xp6(2),i.Q6J("data",t.data)("columns",t.columns)("ps",t.ps)("pi",t.pi)("page",t.stPage)("total",t.total)("loading",t.loading))},directives:[R.e,ee.V,te.h],encapsulation:2}),a})(),canActivate:[n.X5x,n.JQ4],pathMatch:"full",data:{titleI18n:"MENUS.RELATIONS_INFO",reuse:!0}},{path:"new",component:F,canDeactivate:[n.J47],data:{breadcrumb:"GENERAL.MESSAGE.CREATE",titleI18n:"GENERAL.MESSAGE.CREATE"}},{path:":wopID/:mopID",component:M,data:{breadcrumb:"GENERAL.MESSAGE.DETAILS",titleI18n:"GENERAL.MESSAGE.DETAILS"}}];let re=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=i.oAB({type:a}),a.\u0275inj=i.cJS({imports:[[S.Bz.forChild(oe)],S.Bz]}),a})(),le=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=i.oAB({type:a}),a.\u0275inj=i.cJS({providers:[u,g],imports:[[n.m81,T.ez,re]]}),a})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.