PageSourceSearch

https://vallalati-ugyintezes.granitbank.hu/chunk-65X4J2RI.js

js granitbank.hu collected 2026-10-01 12:37:29 UTC 11,881 bytes, 1 lines download raw bytes

1import{a as Ie}from"./chunk-QT2MSLWY.js";import{a as _e,g as be,i as Re}from"./chunk-CWJMEXF6.js";import{a as xe,b as we}from"./chunk-GWYMBWCM.js";import{a as E}from"./chunk-JAJSBIID.js";import"./chunk-YOEBSEAG.js";import"./chunk-24PPBZQV.js";import"./chunk-Y5GCHSTJ.js";import"./chunk-EKQVVUR6.js";import{a as Se}from"./chunk-GAOHYVM2.js";import{a as ye}from"./chunk-AXSPCE2V.js";import{a as ve}from"./chunk-OS24DUCA.js";import{a as ue}from"./chunk-C5QGCK2L.js";import{a as B}from"./chunk-KHGA7Q7M.js";import"./chunk-GGQ7LRWG.js";import"./chunk-W4BNGQYG.js";import{a as de}from"./chunk-QR3NBMXK.js";import{a as ge}from"./chunk-UA5JQQYG.js";import"./chunk-TGK75GYT.js";import{a as he}from"./chunk-ESSDFMON.js";import{a as fe}from"./chunk-QADQAQIO.js";import{a as Ce}from"./chunk-XJWYZCG5.js";import"./chunk-5MEKF4II.js";import"./chunk-54AMK74R.js";import{b as ce}from"./chunk-DJN2ZATH.js";import{P,u as me}from"./chunk-W5NK66F5.js";import"./chunk-DGYZ5OOB.js";import{d as D,g as te,h as ie,o as ne,q as oe,r as re,t as se,u as ae}from"./chunk-NGF6IVEY.js";import"./chunk-H4HDWUFA.js";import"./chunk-SJQ53YJP.js";import"./chunk-RS4YFAXQ.js";import{a as N}from"./chunk-DHOJFGCW.js";import"./chunk-LFN27QFP.js";import{g as pe}from"./chunk-EIWXG4QX.js";import"./chunk-Z5EYTOZC.js";import"./chunk-YPZ4WJ2N.js";import"./chunk-WECZVP32.js";import"./chunk-L6TR5JYN.js";import{H as M,a as O,ca as k,o as w,wb as le}from"./chunk-ZA7ME7NX.js";import"./chunk-CO66P2KO.js";import{b as Z}from"./chunk-35TTWY4P.js";import{Ab as l,Ac as p,Ba as C,Ca as g,Hb as U,Jb as H,Kb as Y,La as $,Lb as z,Mb as n,Nb as s,Ob as m,Pb as J,Qb as K,Ra as V,Sb as j,Ub as y,Vb as v,Za as q,cb as r,da as A,e as S,fc as h,fd as X,gb as f,gc as x,ge as F,hc as R,k as L,mb as _,od as I,qb as b,rc as Q,sb as G,sc as W,wd as ee,xd as T,zc as a}from"./chunk-T5IY4XSS.js";function Te(o,d){let t=o.group({connectionSystem:o.group({relationshipType:[w.NoManagementRelationship,[D.required]],startOfRelationship:["",[D.required]],endOfRelationship:["",[]],personalDataProcessingConsent:[null,[]]}),confirmDataCorrectness:[!1,[D.requiredTrue]]});return d&&t.controls.connectionSystem.patchValue(d),d?.relationshipType||t.controls.connectionSystem.controls.relationshipType.patchValue(w.NoManagementRelationship),t}var ke=(o,d)=>({"text-secondary-120":o,"text-error":d});function Pe(o,d){if(o&1&&(n(0,"div",14),m(1,"app-select-input",25),a(2,"translate"),m(3,"div",16),s()),o&2){let t=v();r(),l("label",p(2,2,"client.connection-system.personalDataProcessingConsent"))("options",t.yesOrNoOptions)}}var De=(()=>{class o extends we{get connectionSystemForm(){return this.form.controls.connectionSystem}constructor(t,i){super(k.CloseRelationshipConnectionSystem),this.translateService=t,this.connectionSystemService=i,this.isLoading=!1,this.expanded=!1,this.formValid=!0,this.closeRelationshipDeleted=new $,this.relationshipTypeOptions=[],this.yesOrNoOptions=Se(this.translateService),this.startOfRelationshipMaxDate=me(new Date,-1),this.endOfRelationshipMinDate=new Date,this.YesNoStatus=le,this.getConnectionSystemName=be,this.isPartnerANaturalPerson=Re}ngOnInit(){super.ngOnInit(),this.subscribeToFeedbacks(this.data?.id),this.initSelectOptions()}buildDataRequest(){return _e(this.form,this.data.id)}initForm(){return Te(this.formBuilder,this.data)}openDeletePersonDialog(t){t.stopPropagation(),this.closeRelationshipDeleted.emit(this.data.id)}initSelectOptions(){this.relationshipTypeOptions=he(w,"enum.close-relationship-connection-type",this.translateService)}static{this.\u0275fac=function(i){return new(i||o)(f(ee),f(E))}}static{this.\u0275cmp=_({type:o,selectors:[["app-close-relationship-form"]],inputs:{isLoading:"isLoading",expanded:"expanded",formValid:"formValid"},outputs:{closeRelationshipDeleted:"closeRelationshipDeleted"},features:[b],decls:42,vars:43,consts:[[3,"expanded"],["title","",1,"flex","flex-row","flex-wrap","items-center","gap-5"],[1,"w-6","h-6",3,"ngClass","name"],[1,"text-xl","font-medium"],[1,"flex","flex-wrap","gap-3"],[3,"chipText"],["subtitle","",1,"flex","flex-wrap","justify-between","items-center","gap-3","mt-6"],[1,"p-0","cursor-pointer","!text-error","!hover:text-error-100","duration-300","ease","ml-auto",3,"click"],[1,"flex","items-center","gap-2"],["name","icons/action/trash-can",1,"w-6","h-6","text-error"],["content","",1,"mt-10"],["content",""],[3,"ngSubmit","formGroup"],["formGroupName","connectionSystem"],[1,"flex","flex-wrap","gap-8","justify-center","items-center","overflow-hidden","transition-all","ease","duration-300"],["formControlName","relationshipType",1,"w-full","md:w-[478px]",3,"label","disabled","options","required"],[1,"w-full","md:w-[478px]"],[1,"flex","flex-wrap","gap-8","justify-center","items-center","mb-5"],["formControlName","startOfRelationship",1,"w-full","md:w-[478px]",3,"label","placeholder","max"],["formControlName","endOfRelationship",1,"w-full","md:w-[478px]",3,"label","placeholder","min"],[1,"flex","justify-between","items-center","w-full","md:w-[478px]"],["formControlName","confirmDataCorrectness"],["mat-button","","type","submit",1,"button-secondary","text-primary-180","w-full","md:w-auto","mx-auto","mt-10",3,"loading","disabled"],[1,"flex","justify-center","items-center","gap-4"],["name","icons/document/save",1,"w-6","h-6","text-primary-180"],["formControlName","personalDataProcessingConsent",1,"w-full","md:w-[478px]",3,"label","options"]],template:function(i,e){i&1&&(n(0,"app-vosz-accordion",0)(1,"div",1),m(2,"app-svg-asset",2),n(3,"div")(4,"div",3),h(5),s()(),n(6,"div",4),m(7,"app-info-chip",5),a(8,"translate"),s()(),n(9,"div",6)(10,"div",7),y("click",function(u){return e.openDeletePersonDialog(u)}),n(11,"div",8),m(12,"app-svg-asset",9),n(13,"div"),h(14),a(15,"translate"),s()()()(),n(16,"div",10),J(1
17,11),n(18,"form",12),y("ngSubmit",function(){return e.submit()}),n(19,"div",13)(20,"div",14),m(21,"app-select-input",15),a(22,"translate"),m(23,"div",16),s(),n(24,"div",17),m(25,"app-date-input",18),a(26,"translate"),a(27,"translate"),m(28,"app-date-input",19),a(29,"translate"),a(30,"translate"),s(),G(31,Pe,4,4,"div",14),s(),n(32,"div",20)(33,"app-checkbox-input",21),h(34),a(35,"translate"),s()(),n(36,"button",22)(37,"div",23),m(38,"app-svg-asset",24),n(39,"span"),h(40),a(41,"translate"),s()()()(),K(),s()()),i&2&&(l("expanded",!e.formValid||e.expanded),r(2),l("ngClass",W(40,ke,e.connectionSystemForm.valid,!e.connectionSystemForm.valid))("name",e.connectionSystemForm.valid?"icons/information/check-circle":"icons/information/x-circle"),r(3),R(" ",e.getConnectionSystemName(e.data.partnerName)," "),r(2),l("chipText",p(8,22,"enum.connection-system-partner-type."+e.data.partnerType)),r(7),R(" ",p(15,24,"common.form.action.delete")," "),r(4),l("formGroup",e.form),r(3),l("label",p(22,26,"client.connection-system.relationshipType"))("disabled",!0)("options",e.relationshipTypeOptions)("required",!0),r(4),l("label",p(26,28,"client.connection-system.startOfRelationship"))("placeholder",p(27,30,"common.form.placeholder.date"))("max",e.startOfRelationshipMaxDate),r(3),l("label",p(29,32,"client.connection-system.endOfRelationship"))("placeholder",p(30,34,"common.form.placeholder.date"))("min",e.endOfRelationshipMinDate),r(3),U(e.isPartnerANaturalPerson(e.data.partnerType)?31:-1),r(3),R(" ",p(35,36,"client.dashboard.company.confirm")," "),r(2),l("loading",e.connectionSystemService.isLoading())("disabled",e.connectionSystemService.isLoading()),r(4),x(p(41,38,"client.dashboard.company.save")))},dependencies:[I,X,O,P,ne,te,ie,ae,F,oe,se,re,T,de,ve,N,ue,fe,ye],styles:["@media (min-width: 1279px){.container[_ngcontent-%COMP%]{width:1080px}}"],data:{animation:[B]}})}}return o})();var Be=o=>({type:o,numberOfRows:6,delay:750});function Ee(o,d){if(o&1){let t=j();n(0,"app-close-relationship-form",12),y("dataUpdated",function(e){let c=C(t).$index,u=v();return g(u.updateConnectionSystem(e,c))})("closeRelationshipDeleted",function(e){let c=C(t).$index,u=v();return g(u.deleteConnectionSystem(e,c))}),s()}if(o&2){let t=d.$implicit,i=d.$index,e=v();l("data",t)("errors",e.errors[i])}}var Dt=(()=>{class o extends ce{constructor(t,i,e,c){super(),this.connectionSystemService=t,this.dialog=i,this.route=e,this.formManagementService=c,this.isLoading=!1,this.closeRelationshipSystems=V([]),this.initialLoading=V(!0),this.errors=[],this.unsubscribe$=new L,this.SkeletonType=Ce}ngOnInit(){return S(this,null,function*(){this.issueId=Number(this.route.parent?.snapshot.paramMap.get("issueId")),yield this.loadConnectionSystems(),this.initialLoading.set(!1)})}loadConnectionSystems(){return S(this,null,function*(){let t=yield this.connectionSystemService.getCloseRelationshipD
1ata(this.issueId);this.closeRelationshipSystems.set(t.connectionSystems)})}addConnectionSystem(){return S(this,null,function*(){this.dialog.open(Ie,{data:{issueId:this.issueId,type:M.CloseRelationship,canCreateNewPerson:!1},autoFocus:!1}).afterClosed().pipe(A(this.unsubscribe$)).subscribe(i=>S(this,null,function*(){i&&(yield this.connectionSystemService.createConnectionSystems(this.issueId,M.CloseRelationship,i),yield this.connectionSystemService.refreshPreload(this.issueId),yield this.connectionSystemService.getIssueLoanFeedback(this.issueId),yield this.loadConnectionSystems())}))})}updateConnectionSystem(t,i){let{request:e,onUpdateResult:c}=t;this.connectionSystemService.updateCloseRelationshipConnection(this.issueId,e).then(()=>{this.connectionSystemService.refreshPreload(this.issueId),this.formManagementService.fetchFormFeedbacks(this.issueId),this.formManagementService.markAsPristine(k.CloseRelationshipConnectionSystem,i),c(!0)},u=>{c(!1),this.errors[i]=u})}deleteConnectionSystem(t,i){return S(this,null,function*(){t&&(yield this.connectionSystemService.deleteConnectionSystem(M.CloseRelationship,this.issueId,t),yield this.connectionSystemService.refreshPreload(this.issueId)),this.closeRelationshipSystems().splice(i,1)})}ngOnDestroy(){this.unsubscribe$.unsubscribe()}static{this.\u0275fac=function(i){return new(i||o)(f(E),f(pe),f(Z),f(xe))}}static{this.\u0275cmp=_({type:o,selectors:[["app-close-relationship"]],inputs:{issueId:"issueId"},features:[b],decls:24,vars:13,consts:[["content",""],[1,"text-sm","font-normal","border-2","border-primary","rounded-xl","p-2","bg-white","my-5"],[1,"p-2","mb-2"],[1,"text-base",3,"innerHTML"],["appSkeleton","",3,"loading","config"],[1,"flex","flex-col"],[3,"data","errors"],[1,"flex","flex-col","gap-y-4","md:flex-row-reverse","flex-wrap","justify-between","mt-10"],["mat-button","","type","submit",1,"button-primary","text-primary-180","w-full","md:w-auto",3,"click"],[1,"flex","justify-center","items-center","gap-4"],["mat-button","","type","submit",1,"button-secondary","text-primary-180","w-full","md:w-auto",3,"click"],["name","icons/information/plus-circle",1,"w-6","h-6"],[3,"dataUpdated","closeRelationshipDeleted","data","errors"]],template:function(i,e){if(i&1){let c=j();n(0,"div")(1,"div",1)(2,"div",2),m(3,"div",3),a(4,"translate"),s()(),n(5,"div",4)(6,"div",5,0),Y(8,Ee,1,2,"app-close-relationship-form",6,H),n(10,"div",7)(11,"div")(12,"button",8),y("click",function(){return C(c),g(e.nextPageFromGivenUrl(["connection-system"]))}),n(13,"div",9)(14,"span"),h(15),a(16,"translate"),s()()()(),n(17,"div")(18,"button",10),y("click",function(){return C(c),g(e.addConnectionSystem())}),n(19,"div",9),m(20,"app-svg-asset",11),n(21,"span"),h(22),a(23,"translate"),s()()()()()()()()}i&2&&(r(3),l("innerHTML",p(4,5,"client.connection-system.close-relationship.disclaimer"),q),r(2),l("loading",e.initialLoading())("config",Q(11,Be,e.SkeletonType.BLOGPOST)),r(3),z(e.closeRelationshipSystems()),r(7),x(p(16,7,"common.form.action.next")),r(7),x(p(23,9,"client.connection-system.add-more")))},dependencies:[I,P,F,T,O,N,De,ge],styles:["@media (min-width: 1279px){.container[_ngcontent-%COMP%]{width:1080px}}"],data:{animation:[B]}})}}return o})();export{Dt as default};

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.