1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[2998],{32480:(J,Z,r)=>{r.d(Z,{y:()=>_});var b=r(54004),N=r(82649),x=r(94650),y=r(80529);const p=class extends N.nb{constructor(f){super("/documentnotificationhistory",d=>`${d.id}`,f)}newInstance(){return super.newInstance()}search(f,d,O,q){return super.search(f,d,O,q)}findIds(f){return super.findIds(f).pipe((0,b.U)(d=>d))}count(f){return super.count(f)}create(f){return super.create(f)}findById(f){return super.findById(f)}update(f){return super.update(f)}delete(f){return super.delete(f)}createElectronicNotice(f){return this.http.post(this.path+"/createElectronicNotice",this.toDto(f),this.httpOptions).pipe((0,b.U)(d=>this.fromDto(d)))}createPostalNotice(f){return this.http.post(this.path+"/createPostalNotice",this.toDto(f),this.httpOptions).pipe((0,b.U)(d=>this.fromDto(d)))}updatePostalNotice(f){return this.http.post(this.path+"/updatePostalNotice",this.toDto(f),this.httpOptions).pipe((0,b.U)(d=>this.fromDto(d)))}checkDeadlines(f){return this.http.post(this.path+"/checkDeadlines",this.toListDto(f),this.httpOptions).pipe((0,b.U)(d=>this.fromListDto(d)))}getPreviousDocumentsNotifications(f){return this.http.post(this.path+"/getPreviousDocumentsNotifications",this.toDto(f),this.httpOptions).pipe((0,b.U)(d=>this.fromListDto(d)))}clearContainer(f){delete f["#ktnotificationstatusbase"],delete f["#ktnotificationtypebase"],delete f["#operationofficialdocument"],delete f["#user"]}mapToDto(f,d){return this.toDocumentNotificationHistoryDto(f,d),d}mapFromDto(f,d){return this.toDocumentNotificationHistoryEntity(f,d),d}toDocumentNotificationHistoryDto(f,d){d.ktNotificationTypeBase&&this.mapAggregation(f,"#ktnotificationtypebase",d,"ktNotificationTypeBase",["baseId"]),d.ktNotificationStatusBase&&this.mapAggregation(f,"#ktnotificationstatusbase",d,"ktNotificationStatusBase",["baseId"]),d.operationOfficialDocument&&this.mapAggregation(f,"#operationofficialdocument",d,"operationOfficialDocument",["id"]),d.user&&this.mapAggregation(f,"#user",d,"user",["id"])}toDocumentNotificationHistoryEntity(f,d){d.ktNotificationTypeBase&&this.unmapAggregation(f,"#ktnotificationtypebase",d,"ktNotificationTypeBase",["baseId"]),d.ktNotificationStatusBase&&this.unmapAggregation(f,"#ktnotificationstatusbase",d,"ktNotificationStatusBase",["baseId"]),d.operationOfficialDocument&&this.unmapAggregation(f,"#operationofficialdocument",d,"operationOfficialDocument",["id"]),d.user&&this.unmapAggregation(f,"#user",d,"user",["id"])}};let U=p;p.\u0275fac=function(d){return new(d||p)(x.LFG(y.eN))},p.\u0275prov=x.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"});const u=class extends U{checkNotificationDeadlinesForDocument(f){return this.http.get(this.path+"/checkNotificationDeadlinesForDocument/"+f,this.httpOptions).pipe((0,b.U)(d=>d))}checkAllNotificationDeadlines(f){return this.http.get(this.path+"/checkAllNotificationDeadlines/"+f,this.httpOptions).pipe((0,b.U)(d=>d))}checkZ415ForActivity(f){return this.http.post(this.path+"/checkZ415ForActivity",null,{...this.httpOptions,params:{activityId:f}})}};let _=u;u.\u0275fac=function(){let f;return function(O){return(f||(f=x.n5z(u)))(O||u)}}(),u.\u0275prov=x.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})},25182:(J,Z,r)=>{r.d(Z,{n:()=>U});var b=r(82649),N=r(54004),x=r(94650),y=r(80529);const _=class extends b.nb{constructor(u){super("/operationofficialdocument",m=>`${m.id}`,u)}search(u,m,f,d){return super.search(u,m,f,d)}findById(u){return super.findById(u)}update(u){return super.update(u)}delete(u){return super.delete(u)}uploadSignedDocument(u){return this.http.post(this.path+"/uploadSignedDocument",this.toDto(u),this.httpOptions).pipe((0,N.U)(m=>this.fromDto(m)))}uploadSignedDocumentForInternal(u,m){return this.http.post(this.path+"/uploadSignedDocumentForInternal",this.toDto(u),{...this.httpOptions,params:{signatureType:m}}).pipe((0,N.U)(f=>this.fromDto(f)))}createElectronicNotice(u){return this.http.post(this.path+"/createElectronicNotice",this.toDto(u),this.httpOptions).pipe((0,N.U)(m=>this.fromDto(m)))}retrieveElectronicNotice(u){let m;if("number"==typeof u)m=this.path+"/"+u.toString()+"/retrieveElectronicNotice";else{if(null==u.id)throw new Error("missing id");m=this.path+"/"+u.id+"/retrieveElectronicNotice"}return this.http.post(m,null,this.httpOptions).pipe((0,N.U)(f=>this.fromDto(f)))}reopenElectronicNotice(u){return this.http.post(this.path+"/reopenElectronicNotice",this.toDto(u),this.httpOptions).pipe((0,N.U)(m=>this.fromDto(m)))}uploadDocumentAfterDecisionInternal(u,m){return this.http.post(this.path+"/uploadDocumentAfterDecisionInternal",this.toDto(u),{...this.httpOptions,params:{signatureType:m}}).pipe((0,N.U)(f=>this.fromDto(f)))}createOfficialDocumentWithoutSignature(u,m,f,d){return this.http.post(this.path+"/createOfficialDocumentWithoutSignature",null,{...this.httpOptions,params:{z183NoticeDate:u,z691NoticeUser:m,ktDocumentTypeId:f,activityId:d}}).pipe((0,N.U)(O=>this.fromDto(O)))}createOperationOfficialDocumentForExport(u){return this.http.post(this.path+"/createOperationOfficialDocumentForExport",null,{...this.httpOptions,params:{activityId:u}}).pipe((0,N.U)(m=>this.fromDto(m)))}clearContainer(u){delete u["#activity"],delete u["#operationofficialdocumentfile"]}mapToDto(u,m){return this.toOperationOfficialDocumentDto(u,m),m}mapFromDto(u,m){return this.toOperationOfficialDocumentEntity(u,m),m}toOperationOfficialDocumentDto(u,m){m.operationOfficialDocumentFile&&this.mapAggregation(u,"#operationofficialdocumentfile",m,"operationOfficialDocumentFile",["id"]),m.activity&&this.mapAggregation(u,"#activity",m,"activity",["id"])}toOperationOfficialDocumentEntity(u,m){m.operationOfficialDocumentFile&&this.unmapAggregation(u,"#operationofficialdocumentfile",m,"operationOfficialDocumentFile",["id"]),m.activity&&this.unmapAggregation(u,"#activity",m,"activity",["id"])}};let U=_;_.\u0275fac=function(m){return new(m||_)(x.LFG(y.eN))},_.\u0275prov=x.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"})},56177:(J,Z,r)=>{r.d(Z,{p:()=>y});var b=r(54004),N=r(25182),x=r(94650);const U=class extends N.n{getActivityDocumentPreview(p,u){return this.http.get(this.path+"/getActivityDocumentPreview/"+p+"/"+u,this.httpOptions).pipe((0,b.U)(m=>this.fromDto(m)))}getAntragAufVzVDocument(p){return this.http.get(this.path+"/getAntragAufVzVDocument/"+p,this.httpOptions).pipe((0,b.U)(u=>this.fromDto(u)))}getRbvDocument(p){return this.http.get(this.path+"/getRbvDocument/"+p,this.httpOptions).pipe((0,b.U)(u=>this.fromDto(u)))}canUploadSignedDocument(p){return this.http.get(this.path+"/canUploadSignedDocument/"+p,this.httpOptions).pipe((0,b.U)(u=>u))}canUploadNotificationDocument(p){return this.http.get(this.path+"/canNotificationDocument/"+p,this.httpOptions).pipe((0,b.U)(u=>u))}};let y=U;U.\u0275fac=function(){let p;return function(m){return(p||(p=x.n5z(U)))(m||U)}}(),U.\u0275prov=x.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"})},71550:(J,Z,r)=>{r.d(Z,{_:()=>d});var b=r(54004),N=r(70262),x=r(39646),y=r(31270),U=r(17489),p=r(94650),u=r(80529),m=r(82649),f=r(27909);const O=class extends y.p{constructor(g,v,A){super(g),this.messageService=v,this.userService=A,r.e(5534).then(r.t.bind(r,35534,19)).then(S=>{this.propertynames=S,r.e(3306).then(r.t.bind(r,33306,19)).then(B=>{this.propertynames=Object.assign({},this.propertynames,B)})})}getLastApprovedActivity(g){return this.http.get(this.path+"/getLastApprovedActivity/"+g,this.httpOptions).pipe((0,b.U)(v=>this.fromDto(v)))}setParentIdForChangeRequest(g,v){return this.http.post(this.path+"/setParentIdForChangeRequest/"+g+"/"+v,this.httpOptions).pipe((0,b.U)(A=>this.fromDto(A)))}canUserEditTvpData(g,v){return this.http.get(this.path+"/canUserEditTvpData/"+g+"/"+v,this.httpOptions)}hasOpenActvity(g,v){return this.http.get(this.path+"/hasOpenActivity/"+g+"/"+v,this.httpOptions)}findByIdAuditProof(g,v){return this.http.get(this.path+"/auditProof/"+g+(null!=v?`?guidLoadingActivity=${v}`:""),this.httpOptions).pipe((0,b.U)(A=>this.fromDto(A)))}getDiff(g){return this.http.get(this.path+"/getDiff/"+g,this.httpOptions).pipe((0,b.U)(v=>
1(v&&v.changes&&v.changes.forEach(A=>{A.property=this.getPropertyName(A)}),v)),(0,N.K)(v=>(console.error("loading version difference failed",v),this.userService.isInternal()&&this.messageService.warn("Ge\xe4nderte Felder f\xfcr Zusammenfassung \xc4nderungsantrag konnten nicht geladen werden"),v.handled(),(0,x.of)({changes:[]}))))}getPropertyName(g){let v=this.propertynames[g.property];return v||(v=g.property),g.index?(g.index.split("|").forEach((A,S)=>{v=v.replace("{"+S+"}",A)}),v):v.replace("{0}","")}findRootActivityAuditProof(g){return this.http.get(this.path+`/auditProof/${g}/rootActivity`,this.httpOptions).pipe((0,b.U)(v=>this.fromDto(v)))}getInitialVaVersion(g){return this.http.get(this.path+`/getInitialVaVersion/${g}`,this.httpOptions).pipe((0,b.U)(v=>v?this.fromDto(v):null))}makeSureNotSendingAuditedData(g){const v=(0,U.cloneDeep)(g);return(v.operation?.operationOrganisationOperationAssignmentList||[]).forEach(A=>{A.operationOrganisation={id:A.operationOrganisation?.id,revision:A.operationOrganisation?.revision}}),(v.operation?.contactpersonOperationAssignmentList||[]).forEach(A=>{A.user={id:A.user?.id,revision:A.user?.revision}}),null!=v.operation?.accountinfo&&(v.operation.accountinfo={id:v.operation?.accountinfo.id,revision:v.operation?.accountinfo.revision}),null!=v.activity&&this.makeSureNotSendingAuditedData(v.activity),v}hasMassProcedure(g){let v;if("number"==typeof g)v=this.path+"/"+g.toString()+"/hasMassProcedure";else{if(null==g.id)throw new Error("missing id");v=this.path+"/"+g.id+"/hasMassProcedure"}return this.http.post(v,null,{...this.httpOptions,responseType:"text"}).pipe((0,b.U)(A=>"true"===A))}findSubActivityOperationBaseIds(g,v){return this.http.get(this.path+`/${"object"==typeof g?g.id:g}/sub-activity-operation-base-ids`+(null!=v&&v.length>0?`?z95=${v}`:""))}getPossibleActivitiesToReference(g,v){return this.http.post(this.path+`/getPossibleActivitiesToReference/${g}/${v}`,{}).pipe((0,b.U)(A=>A.map(S=>({value:+S.value,label:S.label}))))}};let d=O;O.\u0275fac=function(v){return new(v||O)(p.LFG(u.eN),p.LFG(m.ez),p.LFG(f.Cx))},O.\u0275prov=p.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"})},41262:(J,Z,r)=>{r.d(Z,{F:()=>N});var b=r(94650);const x=class{getExtension(U){let _=U.split(".");return _[_.length-1]}isDocumentOfType(U,_){return this.getExtension(U).toLowerCase()===_.toLowerCase()}isAllowedDocument(U){switch(this.getExtension(U).toLowerCase()){case"doc":case"docx":case"pdf":case"ppt":case"pptx":case"xls":case"xlsx":case"zip":return!0;default:return!1}}};let N=x;x.\u0275fac=function(_){return new(_||x)},x.\u0275prov=b.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"})},14165:(J,Z,r)=>{function b(p,u){return{id:p.uidNegNumber,operationFileList:N(u),active:!0,guid:"Wird beim Speichern vergeben",operationExecutionAddressesList:u.operation?.operationBase?.operationExecutionAddressesList}}function N(p){const u=[];return p.operation?.operationBase?.operationFileList?.forEach(m=>{u.push({id:m.id,filename:m.filename,filesize:m.filesize,title:m.title,operationFileData:m.operationFileData,ktAttachmentTypeBase:m.ktAttachmentTypeBase,uploadDate:m.uploadDate})}),u}function x(p,u,m,f){return p.operationOfficialDocumentList.filter(typeof f<"u"&&!0===f&&"Interessenbekundung"===p?.ktActivityTypeBase?.key?d=>function y(p){return!1===p.isExternalDocument&&(2===p.ktDocumentTypeBase?.baseId||1===p.ktDocumentTypeBase?.baseId)}(d):d=>u.isInternal()?function U(p){return!1===p.isExternalDocument&&27!==p.ktDocumentTypeBase?.baseId}(d):_(d,p,m))}function _(p,u,m){return 18===u.ktActivityTypeBase?.baseId&&5===u.ktActivityStatusBase?.baseId?!1===p.isExternalDocument:1===u.ktActivityTypeBase?.baseId?4===u.ktActivityStatusBase?.baseId?!1===p.isExternalDocument&&null!=p.ktSignatureTypeBase:5===u.ktActivityStatusBase?.baseId&&!1===p.isExternalDocument:!1===p.isExternalDocument&&null!=p.ktSignatureTypeBase&&(!0===p.isValid||!0!==m)&&27!==p.ktDocumentTypeBase?.baseId}r.d(Z,{Wx:()=>b,ud:()=>_,xi:()=>x})},62998:(J,Z,r)=>{r.d(Z,{y:()=>pt});var b=r(17489),x=r(79460),y=r(62501),U=r(4707),_=r(39841),p=r(39646),u=r(54004),m=r(18505),f=r(70262),d=r(71884),O=r(63900),q=r(60515),g=r(13099),v=r(39300),A=r(36895),S=r(14165),B=r(89668),rt=r(94209),Q=r(41643),t=r(94650),V=r(25182),j=r(56177),lt=r(27909),w=r(41262),C=r(32480),ct=r(31270),L=r(71550),M=r(93297),H=r(41805),ut=r(48879),Y=r(39481),ft=r(26823),I=r(32137),R=r(58962),mt=r(82594),l=r(87861),h=r(71858),P=r(69362),$=r(25539),X=r(74980),K=r(82649),G=r(48761),_t=r(7839),T=r(64709),tt=r(89556),et=r(21604),F=r(24006),it=r(65648),nt=r(16202),ot=r(86705),Dt=r(55186),Ut=r(23038),At=r(12102),vt=r(3826),st=r(182),xt=r(58505),Tt=r(82484);function Nt(n,i){if(1&n&&(t.TgZ(0,"label",101,102),t._uU(2),t.qZA()),2&n){const e=t.oxw(3);t.Q6J("id",e.vsfForm.pathName+".lblLabel14"),t.xp6(2),t.Oqu(e.labelNoticeTypeInternal)}}function yt(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,103),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,104),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblZ121"),t.xp6(2),t.Oqu("Z121"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblDocumentType"),t.xp6(2),t.Oqu("Dokumententyp")}
1}function Et(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-link",108,109),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw(4);return t.KtG(o.executeCallbackAndCheckBlockUi(s,o.lnkEditDocument_testAction))}),t.qZA()}2&n&&t.Q6J("vsfAriaLabel","Historisierte Bescheidversion. Nicht zum Ausdrucken verwenden!")("vsfLabel","")("vsfTitle","Historisierte Bescheidversion. Nicht zum Ausdrucken verwenden!")}function Ot(n,i){if(1&n){const e=t.EpF();t._uU(0,"\n "),t.YNc(1,Et,2,3,"vsf-link",105),t._uU(2,"\n "),t.TgZ(3,"vsf-link",106,107),t.NdJ("vsfClick",function(s){const c=t.CHM(e).associatedObject,D=t.oxw(3);return t.KtG(D.executeCallbackAndCheckBlockUi(s,D.lnkHyperlinkAction,c))}),t.ALo(5,"async"),t.ALo(6,"vsfKeyTab"),t.qZA(),t._uU(7,"\n ")}if(2&n){const e=i.associatedObject;t.xp6(1),t.Q6J("ngIf",!e.isValid&&(null==e.ktSignatureTypeBase?null:e.ktSignatureTypeBase.baseId)),t.xp6(2),t.Q6J("vsfLabel",t.lcZ(5,3,t.Dn7(6,5,e.ktDocumentTypeBase,"KtDocumentType","value")))("vsfTitle","Datei herunterladen")}}function Ct(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,110),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,111),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblZ97"),t.xp6(2),t.Oqu("Z97"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblLabel6"),t.xp6(2),t.Oqu("Dokumentendatum")}}function Zt(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"span",null,112),t._uU(3),t.ALo(4,"date"),t.qZA(),t._uU(5,"\n ")),2&n){const e=i.associatedObject;t.xp6(3),t.Oqu(t.xi3(4,1,e.z97DocumentDate,"dd.MM.yyyy"))}}function St(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,113),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,114),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblZ96"),t.xp6(2),t.Oqu("Z96"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblOutboxDate"),t.xp6(2),t.Oqu("Postausgangsdatum")}}function kt(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"span",null,115),t._uU(3),t.ALo(4,"date"),t.qZA(),t._uU(5,"\n ")),2&n){const e=i.associatedObject;t.xp6(3),t.Oqu(t.xi3(4,1,e.z96OutboxDate,"dd.MM.yyyy"))}}function Pt(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,116),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,117),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblZ119"),t.xp6(2),t.Oqu("Z119"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lbNotificationDate"),t.xp6(2),t.Oqu("Bekanntgabedatum")}}function It(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"span",null,118),t._uU(3),t.ALo(4,"date"),t.qZA(),t._uU(5,"\n ")),2&n){const e=i.associatedObject;t.xp6(3),t.Oqu(t.xi3(4,1,e.z119NotificationDate,"dd.MM.yyyy"))}}function Bt(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,119),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,120),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblZ183"),t.xp6(2),t.Oqu("Z183"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblZ183NoticeDate"),t.xp6(2),t.Oqu("Bescheiddatum")}}function wt(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"span",null,121),t._uU(3),t.ALo(4,"date"),t.qZA(),t._uU(5,"\n ")),2&n){const e=i.associatedObject;t.xp6(3),t.Oqu(t.xi3(4,1,e.z183NoticeDate,"dd.MM.yyyy"))}}function Lt(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,122),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,123),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblZ369"),t.xp6(2),t.Oqu("Z369"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblSignatureType"),t.xp6(2),t.Oqu("Art der Unterschrift")}}function Mt(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"span",null,124),t._uU(3),t.ALo(4,"async"),t.ALo(5,"vsfKeyTab"),t.qZA(),t._uU(6,"\n ")),2&n){const e=i.associatedObject;t.xp6(3),t.Oqu(null==e.ktSignatureTypeBase?"Nicht unterschrieben":t.lcZ(4,1,t.xi3(5,3,e.ktSignatureTypeBase,"KtSignatureType")))}}function Ft(n,i){1&n&&t._uU(0,"\n ")}function Rt(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-link",126,127),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw().associatedObject;t.oxw(2);const c=t.MAs(255),D=t.oxw();
1return t.KtG(D.executeCallbackAndCheckBlockUi(s,D.lnkEditDocumentAction,o,s,c))}),t.qZA()}if(2&n){const e=t.oxw().associatedObject,a=t.oxw(3);t.Q6J("vsfAriaLabel","bearbeiten")("vsfDisabled",!(a.canEdit&&!a.isInitialDocument(e)&&(!a.showNotificationArea||(null==e||!e.isExported)&&null!=e&&e.isValid&&null!=e&&e.isQes)))("vsfLabel","")}}function Kt(n,i){if(1&n&&(t._uU(0,"\n "),t.YNc(1,Rt,2,3,"vsf-link",125),t._uU(2,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.isIntern||e.isCounselor)}}function Jt(n,i){1&n&&t._uU(0,"\n ")}const dt=function(){return{}},W=function(){return[]};function Qt(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-link",130,131),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw().associatedObject;t.oxw(2);const c=t.MAs(167),D=t.oxw();return t.KtG(D.executeCallbackAndCheckBlockUi(s,D.lnkUploadSignedDocumentAction,o,s,c))}),t.ALo(2,"msgPipe"),t.qZA()}if(2&n){const e=t.oxw(4);t.Q6J("tooltipPosition","left")("vsfAriaLabel","Signiertes Dokument hochladen")("vsfDisabled",!e.canUserUploadSignedDocument)("vsfTitle",t.xi3(2,5,t.DdM(8,dt),t.DdM(9,W)))("vsfTooltip","Signiertes Dokument hochladen")}}function qt(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-link",130,132),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw().associatedObject;t.oxw(2);const c=t.MAs(167),D=t.oxw();return t.KtG(D.executeCallbackAndCheckBlockUi(s,D.lnkUploadSignedDocumentUpdateAction,o,s,c))}),t.ALo(2,"msgPipe"),t.qZA()}if(2&n){const e=t.oxw(4);t.Q6J("tooltipPosition","left")("vsfAriaLabel","Dokument mit ge\xe4nderter Art der Unterschrift f\xfcr Bekanntgabe hochladen")("vsfDisabled",!e.canUploadNotificationDocument)("vsfTitle",t.xi3(2,5,t.DdM(8,dt),t.DdM(9,W)))("vsfTooltip","Dokument mit ge\xe4nderter Art der Unterschrift f\xfcr Bekanntgabe hochladen")}}function Ht(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-link",133,134),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw().associatedObject,c=t.oxw(3);return c.messageService.clear(),t.KtG(c.executeCallbackAndCheckBlockUi(s,c.lnkDeleteSignedDocumentAction,o))}),t.ALo(2,"msgPipe"),t.qZA()}if(2&n){const e=t.oxw().associatedObject,a=t.oxw(3);t.Q6J("tooltipPosition","left")("vsfAriaLabel","Signiertes Dokument l\xf6schen")("vsfDisabled",!(a.canUserDeleteSignedDocument&&(e.isQes||5==(null==e.ktSignatureTypeBase?null:e.ktSignatureTypeBase.baseId))))("vsfTitle",t.xi3(2,5,t.DdM(8,dt),t.DdM(9,W)))("vsfTooltip","Signiertes Dokument l\xf6schen")}}function Wt(n,i){if(1&n&&(t._uU(0,"\n "),t.YNc(1,Qt,3,10,"vsf-link",128),t._uU(2,"\n "),t.YNc(3,qt,3,10,"vsf-link",128),t._uU(4,"\n "),t.YNc(5,Ht,3,10,"vsf-link",129),t._uU(6,"\n ")),2&n){const e=i.associatedObject,a=t.oxw(3);t.xp6(1),t.Q6J("ngIf",null==e.ktSignatureTypeBase&&!e.isQes&&!a.isActivityStateValidForDocumentChange),t.xp6(2),t.Q6J("ngIf",null==e.ktSignatureTypeBase&&!e.isQes&&!0===a.isActivityStateValidForDocumentChange),t.xp6(2),t.Q6J("ngIf",e.isQes||5==(null==e.ktSignatureTypeBase?null:e.ktSignatureTypeBase.baseId))}}function zt(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-button",32,135),t.NdJ("vsfClick",function(s){t.CHM(e),t.oxw(2);const o=t.MAs(135),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnDocumentPreviewAction,s,o))}),t.qZA()}2&n&&t.Q6J("vsfLabel","Dokumentenvorschau")}function Yt(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-button",136,137),t.NdJ("vsfClick",function(s){t.CHM(e),t.oxw(2);const o=t.MAs(167),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnBekanntgabedokumentAction,s,o))}),t.qZA()}if(2&n){const e=t.oxw(3);t.Q6J("vsfDisabled",!(e.isCurrentEditor&&e.hasDocuments&&12==(null==e.boActivityOperation||null==e.boActivityOperation.ktActivityStatusBase?null:e.boActivityOperation.ktActivityStatusBase.baseId)))("vsfLabel","Bekanntgabedokument")}}function Gt(n,i){if(1&n&&(t.TgZ(0,"vsf-fieldset",80,81),t._uU(2,"\n "),t.TgZ(3,"span",82),t._uU(4,"\n "),t.TgZ(5,"h2",83,84),t._uU(7),t.qZA(),t._uU(8,"\n \n "),t.qZA(),t._uU(9,"\n "),t.TgZ(10,"div",3),t._uU(11,"\n "),t.TgZ(12,"div",4),t._uU(13,"\n "),t.YNc(14,Nt,3,2,"label",85),t._uU(15,"\n "),t.qZA(),t._uU(16,"\n "),t.qZA(),t._uU(17,"\n "),t.TgZ(18,"div",3),t._uU(19,"\n "),t.TgZ(20,"div",4),t._uU(21,"\n "),t.TgZ(22,"vsf-table",8
16,87),t._uU(24,"\n "),t.TgZ(25,"vsf-table-column",88),t._uU(26,"\n "),t.YNc(27,yt,9,4,"ng-template",89),t._uU(28,"\n "),t.YNc(29,Ot,8,9,"ng-template",90),t._uU(30,"\n "),t.qZA(),t._uU(31,"\n "),t.TgZ(32,"vsf-table-column",91),t._uU(33,"\n "),t.YNc(34,Ct,9,4,"ng-template",89),t._uU(35,"\n "),t.YNc(36,Zt,6,4,"ng-template",90),t._uU(37,"\n "),t.qZA(),t._uU(38,"\n "),t.TgZ(39,"vsf-table-column",92),t._uU(40,"\n "),t.YNc(41,St,9,4,"ng-template",89),t._uU(42,"\n "),t.YNc(43,kt,6,4,"ng-template",90),t._uU(44,"\n "),t.qZA(),t._uU(45,"\n "),t.TgZ(46,"vsf-table-column",93),t._uU(47,"\n "),t.YNc(48,Pt,9,4,"ng-template",89),t._uU(49,"\n "),t.YNc(50,It,6,4,"ng-template",90),t._uU(51,"\n "),t.qZA(),t._uU(52,"\n "),t.TgZ(53,"vsf-table-column",94),t._uU(54,"\n "),t.YNc(55,Bt,9,4,"ng-template",89),t._uU(56,"\n "),t.YNc(57,wt,6,4,"ng-template",90),t._uU(58,"\n "),t.qZA(),t._uU(59,"\n "),t.TgZ(60,"vsf-table-column",95),t._uU(61,"\n "),t.YNc(62,Lt,9,4,"ng-template",89),t._uU(63,"\n "),t.YNc(64,Mt,7,6,"ng-template",90),t._uU(65,"\n "),t.qZA(),t._uU(66,"\n "),t.TgZ(67,"vsf-table-column",96),t._uU(68,"\n "),t.YNc(69,Ft,1,0,"ng-template",89),t._uU(70,"\n "),t.YNc(71,Kt,3,1,"ng-template",90),t._uU(72,"\n "),t.qZA(),t._uU(73,"\n "),t.TgZ(74,"vsf-table-column",97),t._uU(75,"\n "),t.YNc(76,Jt,1,0,"ng-template",89),t._uU(77,"\n "),t.YNc(78,Wt,7,3,"ng-template",90),t._uU(79,"\n "),t.qZA(),t._uU(80,"\n "),t.qZA(),t._uU(81,"\n "),t.qZA(),t._uU(82,"\n "),t.qZA(),t._uU(83,"\n "),t.TgZ(84,"div",98),t._uU(85,"\n "),t.TgZ(86,"div",4),t._uU(87,"\n "),t.YNc(88,zt,2,1,"vsf-button",99),t._uU(89,"\n "),t.YNc(90,Yt,2,2,"vsf-button",100),t._uU(91,"\n "),t.qZA(),t._uU(92,"\n "),t.qZA(),t._uU(93,"\n "),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("vsfOpen",!0)("vsfToggable",!0),t.xp6(7),t.Oqu("Dokumente"),t.xp6(7),t.Q6J("ngIf",e.isIntern||e.isCounselor),t.xp6(8),t.Q6J("vsfArrayTable",e.operationOfficialDocuments)("vsfEmptyMessage","Keine Dokumente gefunden")("vsfKeyGenerator",e.generateTblDocumentList2RowKey)("vsfReorderableColumns",!1)("vsfResizableColumns",!1)("vsfResponsive",!0),t.xp6(3),t.s9C("label","Z121"),t.xp6(7),t.s9C("label","Z97"),t.xp6(7),t.s9C("label","Z96"),t.xp6(7),t.s9C("label","Z119"),t.xp6(7),t.s9C("label","Z183"),t.xp6(7),t.s9C("label","Z369"),t.xp6(28),t.Q6J("ngIf",e.isIntern),t.xp6(2),t.Q6J("ngIf",e.isIntern&&!e.checkZ403WithWI())}}function Vt(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",16,145),t._uU(3),t.qZA(),t._uU(4,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblReviewNoteAttachmentTitle"),t.xp6(2),t.Oqu("Datei")}}function jt(n,i){if(1&n){const e=t.EpF();t._uU(0,"\n "),t.TgZ(1,"vsf-link",146,147),t.NdJ("vsfClick",function(s){const c=t.CHM(e).associatedObject,D=t.oxw(3);return t.KtG(D.executeCallbackAndCheckBlockUi(s,D.lnkDownloadReviewNoteAttachmentAction,c))}),t.qZA(),t._uU(3,"\n ")}if(2&n){const e=i.associatedObject;t.xp6(1),t.Q6J("vsfLabel",e.title)}}const $t=function(){return{name:"preFilterKtDocumentTypeBaseBaseId",value:27}},Xt=function(n){return[n]};function te(n,i){if(1&n&&(t.TgZ(0,"vsf-fieldset",138,139),t._uU(2,"\n "),t.TgZ(3,"span",82),t._uU(4,"\n "),t.TgZ(5,"h2")(6,"label",140,141),t._uU(8),t.qZA()(),t._uU(9,"\n \n "),t.qZA(),t._uU(10,"\n "),t.TgZ(11,"div",3),t._uU(12,"\n "),t.TgZ(13,"div",4),t._uU(14,"\n "),t.TgZ(15,"vsf-table",142,143),t._uU(17,"\n "),t.TgZ(18,"vsf-table-column",144),t._uU(19,"\n "),t.YNc(20,Vt,5,2,"ng-template",89),t._uU(21,"\n "),t.YNc(22,jt,4,1,"ng-template",90),t._uU(23,"\n "),t.qZA(),t._uU(24,"\n "),t.qZA(),t._uU(25,"\n "),t.qZA(),t._uU(26,"\n "),t.qZA(),t._uU(27,"\n "),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("vsfOpen",!0)("vsfToggable",!0),t.xp6(6),t.Q6J("id",e.vsfForm.pathName+".lblReviewNoteAttachments")("title",e.isIntern?"Anlagen zum Bescheid k\xf6nnen im gleichnamigen Bereich unter Antragspr\xfcfvermerk zugeordnet werden":""),t.xp6(2),t.Oqu("Anlagen zum Bescheid"),t.xp6(7),t.Q6J("vsfArrayTable",null==e.boActivityOperation?null:e.boActivityOperation.operationOfficialDocumentList)("vsfEmptyMessage","Keine Dokumente gefunden")("vsfKeyGenerator",e.generateTblReviewNoteAttachmentsRowKey)("vsfPrefilterValue",t.VKq(14,Xt,t.DdM(13,$t)))("vsfReorderableColumns",!1)("vsfResizableColumns",!1)("vsfResponsive",!0),t.xp6(3),t.s9C("label","Datei")}
1}function ee(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,160),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,161),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel4"),t.xp6(2),t.Oqu("Z541"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblZ541field"),t.xp6(2),t.Oqu("Status der Bekanntgabe")}}function ie(n,i){1&n&&(t.TgZ(0,"vsf-combo",166,167),t._uU(2,"\n "),t.qZA()),2&n&&t.Q6J("vsfDisabled",!0)}function ne(n,i){if(1&n&&(t.TgZ(0,"vsf-combo",168,169),t._uU(2,"\n "),t.qZA()),2&n){const e=t.oxw(4);t.Q6J("vsfKeyTabFilter",e.filterKtNotificationStatus.bind(e))}}function oe(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.YNc(5,ie,3,1,"vsf-combo",164),t._uU(6,"\n "),t.YNc(7,ne,3,1,"vsf-combo",165),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")),2&n){const e=i.index,a=i.associatedIndex,s=i.associatedKey,o=t.oxw(3);t.xp6(3),t.Q6J("formGroupName",a)("vsfKey",s),t.xp6(2),t.Q6J("ngIf",e!==o.indexToEdit),t.xp6(2),t.Q6J("ngIf",e===o.indexToEdit)}}function se(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,170),t._uU(3,"Z542"),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,171),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".Z542"),t.xp6(4),t.Q6J("id",e.vsfForm.pathName+".lblLabel7"),t.xp6(2),t.Oqu("Art der Bekanntgabe")}}function ae(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"vsf-combo",172,173),t._uU(7,"\n "),t.qZA(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")),2&n){const e=i.associatedIndex,a=i.associatedKey;t.xp6(3),t.Q6J("formGroupName",e)("vsfKey",a),t.xp6(2),t.Q6J("vsfDisabled",!0)}}function re(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,174),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,175),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel"),t.xp6(2),t.Oqu("Z96"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblLabel2"),t.xp6(2),t.Oqu("Postausgangsdatum")}}function le(n,i){if(1&n){const e=t.EpF();t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"vsf-date",176,177),t.NdJ("change",function(s){const o=t.CHM(e),c=o.associatedObject,D=o.associatedIndex,E=t.oxw(3);return t.KtG(E.executeCallbackAndCheckBlockUi(s,E.txtZ96OutboxChange,s,c,D))}),t._uU(7,"\n "),t.qZA(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")}if(2&n){const e=i.index,a=i.associatedIndex,s=i.associatedKey,o=t.oxw(3);t.xp6(3),t.Q6J("formGroupName",a)("vsfKey",s),t.xp6(2),t.Q6J("vsfDisabled",!(e===o.indexToEdit&&!o.isFinished))("vsfShowDefaultPatternPlaceholder",!0)}}function ce(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,178),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,179),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel13"),t.xp6(2),t.Oqu("Z119"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblLabel12"),t.xp6(2),t.Oqu("Bekanntgabedatum")}}function ue(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"vsf-date",180,181),t._uU(7,"\n "),t.qZA(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")),2&n){const e=i.index,a=i.associatedIndex,s=i.associatedKey,o=t.oxw(3);t.xp6(3),t.Q6J("formGroupName",a)("vsfKey",s),t.xp6(2),t.Q6J("vsfDisabled",e!==o.indexToEdit)("vsfShowDefaultPatternPlaceholder",!0)}}function fe(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,182),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,183),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel3"),t.xp6(2),t.Oqu("Z544"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblLabel5"),t.xp6(2),t.Oqu("Notiz zum Bekanntgabedatum")}}function _e(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"vsf-textarea",184,185),t._uU(7,"\n "),t.qZA(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")),2&n){const a=i.associatedIndex,s=i.associatedKey;t.oxw(3),t.xp6(3),t.Q6J("formGroupName",a)("vsfKey",s),t.xp6(2),t.Q6J("vsfDisabled",!1)("vsfMaxCharForRemainingDisplay",2e3)}}function de(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,186),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,187),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel9"),t.xp6(2),t.Oqu("Z540"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblLabel8"),t.xp6(2),t.Oqu("Abrufdatum")}}function pe(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"vsf-date",188,189),t._uU(7,"\n "),t.qZA(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")),2&n){const e=i.associatedIndex,a=i.associatedKey;t.xp6(3),t.Q6J("formGroupName",e)("vsfKey",a),t.xp6(2),t.Q6J("vsfDisabled",!0)("vsfShowDefaultPatternPlaceholder",!0)}}function me(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,190),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,191),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel11"),t.xp6(2),t.Oqu("Z543"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblLabel10"),t.xp6(2),t.Oqu("Abrufender Benutzer")}}function ve(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"span",null,192),t._uU(7),t.qZA(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")),2&n){const e=i.associatedObject,a=i.associatedIndex,s=i.associatedKey;t.xp6(3),t.Q6J("formGroupName",a)("vsfKey",s),t.xp6(4),t.Oqu(null==e||null==e.user?null:e.user.z85Username)}
1}function he(n,i){1&n&&t._uU(0,"\n ")}function ge(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-link",194,195),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw(),c=o.associatedObject,D=o.index,E=t.oxw(3);return E.messageService.clear(),t.KtG(E.executeCallbackAndCheckBlockUi(s,E.lnkEditNotiEntryAction,c,D))}),t.qZA()}2&n&&t.Q6J("vsfAriaLabel","bearbeiten")("vsfLabel","")("vsfTitle","\xc4nderungen \xfcbernehmen")}function be(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.YNc(5,ge,2,3,"vsf-link",193),t._uU(6,"\n "),t.BQk(),t._uU(7,"\n "),t.BQk(),t._uU(8,"\n ")),2&n){const e=i.index,a=i.associatedIndex,s=i.associatedKey,o=t.oxw(3);t.xp6(3),t.Q6J("formGroupName",a)("vsfKey",s),t.xp6(2),t.Q6J("ngIf",e===o.indexToEdit||o.canSendBescheide)}}function De(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-button",32,196),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw(3);return t.KtG(o.executeCallbackAndCheckBlockUi(s,o.btnNewElectronicNoticeAction))}),t.qZA()}2&n&&t.Q6J("vsfLabel","Elektronische Bekanntgabe starten")}function Ue(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-button",32,197),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw(3);return t.KtG(o.executeCallbackAndCheckBlockUi(s,o.btnNewPostalAction))}),t.qZA()}2&n&&t.Q6J("vsfLabel","Postalische Bekanntgabe registrieren")}function Ae(n,i){if(1&n&&(t.TgZ(0,"vsf-fieldset",148,149),t._uU(2,"\n "),t.TgZ(3,"vsf-table",150,151),t._uU(5,"\n "),t.TgZ(6,"vsf-table-column",152),t._uU(7,"\n "),t.YNc(8,ee,9,4,"ng-template",89),t._uU(9,"\n "),t.YNc(10,oe,11,4,"ng-template",90),t._uU(11,"\n "),t.qZA(),t._uU(12,"\n "),t.TgZ(13,"vsf-table-column",153),t._uU(14,"\n "),t.YNc(15,se,9,3,"ng-template",89),t._uU(16,"\n "),t.YNc(17,ae,11,3,"ng-template",90),t._uU(18,"\n "),t.qZA(),t._uU(19,"\n "),t.TgZ(20,"vsf-table-column",154),t._uU(21,"\n "),t.YNc(22,re,9,4,"ng-template",89),t._uU(23,"\n "),t.YNc(24,le,11,4,"ng-template",90),t._uU(25,"\n "),t.qZA(),t._uU(26,"\n "),t.TgZ(27,"vsf-table-column",155),t._uU(28,"\n "),t.YNc(29,ce,9,4,"ng-template",89),t._uU(30,"\n "),t.YNc(31,ue,11,4,"ng-template",90),t._uU(32,"\n "),t.qZA(),t._uU(33,"\n "),t.TgZ(34,"vsf-table-column",156),t._uU(35,"\n "),t.YNc(36,fe,9,4,"ng-template",89),t._uU(37,"\n "),t.YNc(38,_e,11,4,"ng-template",90),t._uU(39,"\n "),t.qZA(),t._uU(40,"\n "),t.TgZ(41,"vsf-table-column",157),t._uU(42,"\n "),t.YNc(43,de,9,4,"ng-template",89),t._uU(44,"\n "),t.YNc(45,pe,11,4,"ng-template",90),t._uU(46,"\n "),t.qZA(),t._uU(47,"\n "),t.TgZ(48,"vsf-table-column",158),t._uU(49,"\n "),t.YNc(50,me,9,4,"ng-template",89),t._uU(51,"\n "),t.YNc(52,ve,11,3,"ng-template",90),t._uU(53,"\n "),t.qZA(),t._uU(54,"\n "),t.TgZ(55,"vsf-table-column",159),t._uU(56,"\n "),t.YNc(57,he,1,0,"ng-template",89),t._uU(58,"\n "),t.YNc(59,be,9,3,"ng-template",90),t._uU(60,"\n "),t.qZA(),t._uU(61,"\n "),t.qZA(),t._uU(62,"\n "),t.YNc(63,De,2,1,"vsf-button",99),t._uU(64,"\n "),t.YNc(65,Ue,2,1,"vsf-button",99),t._uU(66,"\n "),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("vsfLegend","Bescheidbekanntgabe")("vsfOpen",!0)("vsfToggable",!0),t.xp6(3),t.Q6J("vsfArrayTable",e.documentNotificationHistory)("vsfKeyGenerator",e.generateTblTablelistRowKey)("vsfReorderableColumns",!1)("vsfResizableColumns",!1)("vsfResponsive",!0),t.xp6(3),t.s9C("label","Z541"),t.xp6(14),t.s9C("label","Z96"),t.xp6(7),t.s9C("label","Z119"),t.xp6(7),t.s9C("label","Z544"),t.xp6(7),t.s9C("label","Z540"),t.xp6(7),t.s9C("label","Z543"),t.xp6(15),t.Q6J("ngIf",e.showButtonNewElectronic),t.xp6(2),t.Q6J("ngIf",e.showButtonNewPostal)}}function xe(n,i){1&n&&(t.TgZ(0,"vsf-date",212,213),t._uU(2,"\n "),t.qZA()),2&n&&t.Q6J("vsfShowDefaultPatternPlaceholder",!0)}function Te(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-button",214,215),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw(3);
1return t.KtG(o.executeCallbackAndCheckBlockUi(s,o.btnGetNoticeAction))}),t.qZA()}if(2&n){const e=t.oxw(3);t.Q6J("vsfAriaLabel",e.labelButtonRetrieveTooltip)("vsfDisabled",!e.canOpenElectronicNotice)("vsfLabel","Bescheid abrufen")("vsfTitle",e.labelButtonRetrieveTooltip)}}function Ne(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",16,216),t._uU(3),t.qZA(),t._uU(4,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel15"),t.xp6(2),t.Oqu("Bescheiddokument")}}function ye(n,i){if(1&n){const e=t.EpF();t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"vsf-link",217,218),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw(3);return t.KtG(o.executeCallbackAndCheckBlockUi(s,o.lnkHyperlink2Action))}),t.qZA(),t._uU(7,"\n "),t.BQk(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n ")}if(2&n){const e=i.associatedObject,a=i.associatedIndex,s=i.associatedKey,o=t.oxw(3);t.xp6(3),t.Q6J("formGroupName",a)("vsfKey",s),t.xp6(2),t.Q6J("vsfAriaLabel",o.labelButtonRetrieveTooltip)("vsfLabel",e.operationOfficialDocument.title)("vsfTitle",o.labelButtonRetrieveTooltip)}}function Ee(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,219),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,220),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel16"),t.xp6(2),t.Oqu("Z540"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblLabel17"),t.xp6(2),t.Oqu("Abrufdatum")}}function Oe(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"vsf-date",221,222),t._uU(7,"\n "),t.qZA(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")),2&n){const e=i.associatedIndex,a=i.associatedKey;t.xp6(3),t.Q6J("formGroupName",e)("vsfKey",a),t.xp6(2),t.Q6J("vsfDisabled",!0)("vsfShowDefaultPatternPlaceholder",!0)}}function Ce(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,223),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,224),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel19"),t.xp6(2),t.Oqu("Z543"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblLabel18"),t.xp6(2),t.Oqu("Abrufender Benutzer")}}function Ze(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"vsf-text",225,226),t._uU(7,"\n "),t.qZA(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")),2&n){const e=i.associatedIndex,a=i.associatedKey;t.xp6(3),t.Q6J("formGroupName",e)("vsfKey",a),t.xp6(2),t.Q6J("vsfDisabled",!0)}}function Se(n,i){if(1&n&&(t._uU(0,"\n "),t.TgZ(1,"label",14,227),t._uU(3),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"label",16,228),t._uU(7),t.qZA(),t._uU(8,"\n ")),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("id",e.vsfForm.pathName+".lblLabel21"),t.xp6(2),t.Oqu("Z541"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblLabel20"),t.xp6(2),t.Oqu("Status der Bekanntgabe")}}function ke(n,i){if(1&n&&(t._uU(0,"\n "),t.ynx(1,162),t._uU(2,"\n "),t.ynx(3,163),t._uU(4,"\n "),t.TgZ(5,"vsf-combo",229,230),t._uU(7,"\n "),t.qZA(),t._uU(8,"\n "),t.BQk(),t._uU(9,"\n "),t.BQk(),t._uU(10,"\n ")),2&n){const e=i.associatedIndex,a=i.associatedKey;t.xp6(3),t.Q6J("formGroupName",e)("vsfKey",a),t.xp6(2),t.Q6J("vsfDisabled",!0)}}function Pe(n,i){if(1&n&&(t.TgZ(0,"vsf-fieldset",198,199),t._uU(2,"\n "),t.TgZ(3,"div",3),t._uU(4,"\n "),t.TgZ(5,"div",4),t._uU(6,"\n "),t.TgZ(7,"label",16,200),t._uU(9),t.qZA(),t._uU(10,"\n "),t.YNc(11,xe,3,1,"vsf-date",201),t._uU(12,"\n "),t.qZA(),t._uU(13,"\n "),t.qZA(),t._uU(14,"\n "),t.TgZ(15,"div",3),t._uU(16,"\n "),t.TgZ(17,"div",4),t._uU(18,"\n "),t.YNc(19,Te,2,4,"vsf-button",202),t._uU(20,"\n "),t.qZA(),t._uU(21,"\n "),t.qZA(),t._uU(22,"\n "),t.TgZ(23,"vsf-div-formbound",203,204),t._uU(25,"\n "),t.TgZ(26,"div",205),t._uU(27,"\n "),t.TgZ(28,"vsf-table",206,207),t._uU(30,"\n "),t.TgZ(31,"vsf-table-column",208),t._uU(32,"\n "),t.YNc(33,Ne,5,2,"ng-template",89),t._uU(34,"\n "),t.YNc(35,ye,10,5,"ng-template",90),t._uU(36,"\n "),t.qZA(),t._uU(37,"\n "),t.TgZ(38,"vsf-table-column",209),t._uU(39,"\n "),t.YNc(40,Ee,9,4,"ng-template",89),t._uU(41,"\n "),t.YNc(42,Oe,11,4,"ng-template",90),t._uU(43,"\n "),t.qZA(),t._uU(44,"\n "),t.TgZ(45,"vsf-table-column",210),t._uU(46,"\n "),t.YNc(47,Ce,9,4,"ng-template",89),t._uU(48,"\n "),t.YNc(49,Ze,11,3,"ng-template",90),t._uU(50,"\n "),t.qZA(),t._uU(51,"\n "),t.TgZ(52,"vsf-table-column",211),t._uU(53,"\n "),t.YNc(54,Se,9,4,"ng-template",89),t._uU(55,"\n "),t.YNc(56,ke,11,3,"ng-template",90),t._uU(57,"\n "),t.qZA(),t._uU(58,"\n "),t.qZA(),t._uU(59,"\n "),t.qZA(),t._uU(60,"\n "),t.qZA(),t._uU(61,"\n "),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("vsfLegend","Bescheidbekanntgabe")("vsfOpen",!0)("vsfToggable",!0),t.xp6(7),t.Q6J("id",e.vsfForm.pathName+".lblExternalInfo"),t.xp6(2),t.Oqu(e.labelExternalInfo),t.xp6(2),t.Q6J("ngIf",e.deadlineElectronicRetrieve),t.xp6(8),t.Q6J("ngIf",e.hasOpenElectronicNotice),t.xp6(7),t.Gre("",e.noticeWasOpenend?"":"pamgd_hide"," gridcell"),t.xp6(2),t.Q6J("vsfArrayTable",e.lastEntry)("vsfEmptyMessage","Keine Eintr\xe4ge gefunden")("vsfKeyGenerator",e.generateTblNoticeDetailsExternalRowKey)("vsfReorderableColumns",!1)("vsfResizableColumns",!1)("vsfResponsive",!0),t.xp6(3),t.s9C("label","Bescheiddokument"),t.xp6(7),t.s9C("label","Z540"),t.xp6(7),t.s9C("label","Z543"),t.xp6(7),t.s9C("label","Z541")}}const at=function(){return{autofocus:"autofocus"}};function Ie(n,i){if(1&n){const e=t.EpF();t._uU(0,"\n "),t.ynx(1,163),t._uU(2,"\n "),t.TgZ(3,"vsf-link",231,232),t.NdJ("vsfClick",function(s){const c=t.CHM(e).associatedObject,D=t.oxw(2);
1return t.KtG(D.executeCallbackAndCheckBlockUi(s,D.lnkDocumentPreviewAction,c))}),t.qZA(),t._uU(5,"\n "),t.BQk(),t._uU(6,"\n ")}if(2&n){const e=i.index,a=i.associatedObject,s=i.associatedKey;t.xp6(1),t.Q6J("formGroupName",e)("vsfKey",s),t.xp6(2),t.Q6J("additionalAttributes",t.DdM(4,at))("vsfLabel",a.value)}}function Be(n,i){if(1&n&&(t.TgZ(0,"div",3),t._uU(1,"\n "),t.TgZ(2,"div",44),t._uU(3,"\n "),t.TgZ(4,"label",16,233),t._uU(6),t.qZA(),t._uU(7,"\n "),t.qZA(),t._uU(8,"\n "),t.TgZ(9,"div",75),t._uU(10,"\n "),t.TgZ(11,"vsf-file",234,235),t._uU(13,"\n "),t.qZA(),t._uU(14,"\n "),t.qZA(),t._uU(15,"\n "),t.qZA()),2&n){const e=t.oxw(2);t.xp6(4),t.Q6J("id",e.vsfForm.pathName+".lblUploadSignedDocument"),t.xp6(2),t.Oqu("Dokument hier hochladen"),t.xp6(5),t.Q6J("vsfBindingType","JSON")("vsfMaxFileSize",20971520)("vsfMultiple",!1)}}function we(n,i){if(1&n&&(t.TgZ(0,"div",3),t._uU(1,"\n "),t.TgZ(2,"div",44),t._uU(3,"\n "),t.TgZ(4,"label",14,236),t._uU(6),t.qZA(),t._uU(7,"\n "),t.TgZ(8,"label",26,237),t._uU(10),t.qZA(),t._uU(11,"\n "),t.qZA(),t._uU(12,"\n "),t.TgZ(13,"div",47),t._uU(14,"\n "),t.TgZ(15,"vsf-date",238,239),t._uU(17,"\n "),t.qZA(),t._uU(18,"\n "),t.qZA(),t._uU(19,"\n "),t.qZA()),2&n){const e=t.MAs(16),a=t.oxw(2);t.xp6(4),t.Q6J("id",a.vsfForm.pathName+".lblZ183Edit_Copy_Copy"),t.xp6(2),t.Oqu("Z183"),t.xp6(2),t.Q6J("for",e.vsfId)("id",a.vsfForm.pathName+".lblZ183NoticeDateEdit"),t.xp6(2),t.Oqu("Bescheiddatum"),t.xp6(5),t.Q6J("vsfShowDefaultPatternPlaceholder",!0)}}function Le(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"div",3),t._uU(1,"\n "),t.TgZ(2,"div",44),t._uU(3,"\n "),t.TgZ(4,"label",14,240),t._uU(6),t.qZA(),t._uU(7,"\n "),t.TgZ(8,"label",16,241),t._uU(10),t.qZA(),t._uU(11,"\n "),t.qZA(),t._uU(12,"\n "),t.TgZ(13,"div",75),t._uU(14,"\n "),t.TgZ(15,"vsf-autocomplete",242,243),t.NdJ("change",function(s){t.CHM(e),t.oxw();const o=t.MAs(167),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.txtSignatoriesChange,s,o))})("click",function(s){t.CHM(e),t.oxw();const o=t.MAs(167),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.txtSignatoriesClick,s,o))}),t._uU(17,"\n "),t.qZA(),t._uU(18,"\n "),t.qZA(),t._uU(19,"\n "),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(4),t.Q6J("id",e.vsfForm.pathName+".lblEditZ691_Copy"),t.xp6(2),t.Oqu("Z691"),t.xp6(2),t.Q6J("id",e.vsfForm.pathName+".lblEditOutboxDate_Copy_Copy"),t.xp6(2),t.Oqu("Unterzeichner"),t.xp6(5),t.Q6J("vsfCallback",e.fetchAndLogUsersWithB14Right.bind(e))("vsfDropDown",!0)("vsfForceSelection",!1)("vsfMinLength",1)("vsfMultipleSelection",!1)("vsfScrollHeight",300)}}function Me(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-button",30,244),t.NdJ("vsfClick",function(s){t.CHM(e),t.oxw();const o=t.MAs(167),c=t.oxw();return c.messageService.clear(),t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnUploadSignedDocumentOverlayAction,s,o))}),t.qZA()}2&n&&t.Q6J("vsfLabel","Hochladen")}function Fe(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-button",30,245),t.NdJ("vsfClick",function(s){t.CHM(e),t.oxw();const o=t.MAs(167),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnAddDocumentAction,s,o))}),t.qZA()}2&n&&t.Q6J("vsfLabel","Ok")}function Re(n,i){if(1&n){const e=t.EpF();t.TgZ(0,"vsf-button",246,247),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.oxw(2);return o.messageService.clear(),t.KtG(o.executeCallbackAndCheckBlockUi(s,o.btnButtonAction))}),t.qZA()}2&n&&t.Q6J("vsfLabel","Dev: DeadlineService")}function Ke(n,i){if(1&n&&(t.TgZ(0,"div",3),t._uU(1,"\n "),t.TgZ(2,"div",44),t._uU(3,"\n "),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"div",47),t._uU(6,"\n "),t.TgZ(7,"label",248,249),t._uU(9),t.qZA(),t._uU(10,"\n "),t.qZA(),t._uU(11,"\n "),t.qZA()),2&n){const e=t.oxw(2);t.xp6(7),t.Q6J("id",e.vsfForm.pathName+".errorDateNull"),t.xp6(2),t.Oqu("Bescheiddatum ist obligatorisch.")}}const Je=function(){return{de:"Postalische Bekanntgabe schlie\xdfen?",en:"Information!"}},qe=function(){return{de:"Mit dem Statuswechsel wird die postalische Bekanntgabe geschlossen und kann nicht mehr editiert werden. Wollen Sie fortfahren?",en:"..."}}
1,He=function(){return{de:"Abbrechen",en:"Cancel"}};function We(n,i){if(1&n){const e=t.EpF();t.ynx(0,1),t._uU(1,"\n "),t.TgZ(2,"p-confirmDialog",2),t._uU(3,"\n "),t.qZA(),t._uU(4,"\n "),t.TgZ(5,"p-confirmDialog",2),t.ALo(6,"msgPipe"),t.ALo(7,"msgPipe"),t.ALo(8,"msgPipe"),t._uU(9,"\n "),t.qZA(),t._uU(10,"\n "),t.TgZ(11,"p-confirmDialog",2),t._uU(12,"\n "),t.qZA(),t._uU(13,"\n "),t.TgZ(14,"p-confirmDialog",2),t._uU(15,"\n "),t.qZA(),t._uU(16,"\n "),t.TgZ(17,"p-confirmDialog",2),t._uU(18,"\n "),t.qZA(),t._uU(19,"\n "),t.TgZ(20,"div",3),t._uU(21,"\n "),t.TgZ(22,"div",4),t._uU(23,"\n "),t.YNc(24,Gt,94,18,"vsf-fieldset",5),t._uU(25,"\n "),t.qZA(),t._uU(26,"\n "),t.qZA(),t._uU(27,"\n "),t.TgZ(28,"div",6),t._uU(29,"\n "),t.YNc(30,te,28,16,"vsf-fieldset",7),t._uU(31,"\n "),t.qZA(),t._uU(32,"\n "),t.TgZ(33,"div",3),t._uU(34,"\n "),t.TgZ(35,"div",4),t._uU(36,"\n "),t.YNc(37,Ae,67,16,"vsf-fieldset",8),t._uU(38,"\n "),t.qZA(),t._uU(39,"\n "),t.qZA(),t._uU(40,"\n "),t.TgZ(41,"div",3),t._uU(42,"\n "),t.TgZ(43,"div",4),t._uU(44,"\n "),t.YNc(45,Pe,62,20,"vsf-fieldset",9),t._uU(46,"\n "),t.qZA(),t._uU(47,"\n "),t.qZA(),t._uU(48,"\n "),t.TgZ(49,"vsf-overlay",10,11),t._uU(51,"\n "),t.TgZ(52,"div",12),t._uU(53,"\n "),t.TgZ(54,"div",4),t._uU(55,"\n "),t.TgZ(56,"div",3),t._uU(57,"\n "),t.TgZ(58,"div",13),t._uU(59,"\n "),t.TgZ(60,"label",14,15),t._uU(62),t.qZA(),t._uU(63,"\n "),t.TgZ(64,"label",16,17),t._uU(66),t.qZA(),t._uU(67,"\n "),t.qZA(),t._uU(68,"\n "),t.TgZ(69,"div",18),t._uU(70,"\n "),t.TgZ(71,"vsf-date",19,20),t._uU(73,"\n "),t.qZA(),t._uU(74,"\n "),t.qZA(),t._uU(75,"\n "),t.qZA(),t._uU(76,"\n "),t.TgZ(77,"div",3),t._uU(78,"\n "),t.TgZ(79,"div",13),t._uU(80,"\n "),t.TgZ(81,"label",14,21),t._uU(83),t.qZA(),t._uU(84,"\n "),t.TgZ(85,"label",16,22),t._uU(87),t.qZA(),t._uU(88,"\n "),t.qZA(),t._uU(89,"\n "),t.TgZ(90,"div",18),t._uU(91,"\n "),t.TgZ(92,"vsf-date",23,24),t._uU(94,"\n "),t.qZA(),t._uU(95,"\n "),t.qZA(),t._uU(96,"\n "),t.qZA(),t._uU(97,"\n "),t.TgZ(98,"div",3),t._uU(99,"\n "),t.TgZ(100,"div",13),t._uU(101,"\n "),t.TgZ(102,"label",14,25),t._uU(104),t.qZA(),t._uU(105,"\n "),t.TgZ(106,"label",26,27),t._uU(108),t.qZA(),t._uU(109,"\n "),t.qZA(),t._uU(110,"\n "),t.TgZ(111,"div",13),t._uU(112,"\n "),t.TgZ(113,"vsf-date",28,29),t._uU(115,"\n "),t.qZA(),t._uU(116,"\n "),t.qZA(),t._uU(117,"\n "),t.qZA(),t._uU(118,"\n "),t.qZA(),t._uU(119,"\n "),t.qZA(),t._uU(120,"\n "),t.TgZ(121,"div",3),t._uU(122,"\n "),t.TgZ(123,"div",4),t._uU(124,"\n "),t.TgZ(125,"vsf-button",30,31),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.MAs(50),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnSave1Action,c.selectedItemToEdit,o))}),t.qZA(),t._uU(127,"\n "),t.TgZ(128,"vsf-button",32,33),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.MAs(50),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnCancelSaveDocumentAction,o))}),t.qZA(),t._uU(130,"\n "),t.qZA(),t._uU(131,"\n "),t.qZA(),t._uU(132,"\n "),t.qZA(),t._uU(133,"\n "),t.TgZ(134,"vsf-overlay",34,35),t._uU(136,"\n "),t.TgZ(137,"div",12),t._uU(138,"\n "),t.TgZ(139,"div",4),t._uU(140,"\n "),t.TgZ(141,"div",3),t._uU(142,"\n "),t.TgZ(143,"div",4),t._uU(144,"\n "),t.TgZ(145,"vsf-iteration",36,37),t._uU(147,"\n "),t.YNc(148,Ie,7,5,"ng-template",null,38,t.W1O),t._uU(150,"\n "),t.qZA(),t._uU(151,"\n "),t.qZA(),t._uU(152,"\n "),t.qZA(),t._uU(153,"\n "),t.qZA(),t._uU(154,"\n "),t.qZA(),t._uU(155,"\n "),t.TgZ(156,"div",39),t._uU(157,"\n "),t.TgZ(158,"div",4),t._uU(159,"\n "),t.TgZ(160,"vsf-button",32,40),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.MAs(135),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnCancelPreviewAction,o))}),t.qZA(),t._uU(162,"\n "),t.qZA(),t._uU(163,"\n "),t.qZA(),t._uU(164,"\n "),t.qZA(),t._uU(165,"\n "),t.TgZ(166,"vsf-overlay",41,42),t._uU(168,"\n "),t.TgZ(169,"div",43),t._uU(170,"\n "),t.TgZ(171,"div",4),t._uU(172,"\n "),t.TgZ(173,"div",3),t._uU(174,"\n "),t.TgZ(175,"div",44),t._uU(176,"\n "),t.TgZ(177,"label",14,45),t._uU(179),t.qZA(),t._uU(180,"\n "),t.TgZ(181,"label",16,46),t._uU(183),t.qZA(),t._uU(184,"\n "),t.qZA(),t._uU(185,"\n "),t.TgZ(186,"div",47),t._uU(187,"\n "),t.TgZ(188,"vsf-combo",48,49),t._uU(190,"\n "),t.qZA(),t._uU(191,"\n "),t.qZA(),t._uU(192,"\n "),t.qZA(),t._uU(193,"\n "),t.YNc(194,Be,16,5,"div",50),t._uU(195,"\n "),t.YNc(196,we,20,6,"div",50),t._uU(197,"\n "),t.YNc(198,Le,20,10,"div",50),t._uU(199,"\n "),t.qZA(),t._uU(200,"\n "),t.qZA(),t._uU(201,"\n "),t.YNc(202,Me,2,1,"vsf-button",51),t._uU(203,"\n "),t.YNc(204,Fe,2,1,"vsf-button",51),t._uU(205,"\n "),t.TgZ(206,"vsf-button",32,52),t.NdJ("vsfClick",function(s){t.CHM(e);
1const o=t.MAs(167),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnCancelUploadDocumentAction,s,o))}),t.qZA(),t._uU(208,"\n "),t.qZA(),t._uU(209,"\n "),t.TgZ(210,"vsf-overlay",53,54),t._uU(212,"\n "),t.TgZ(213,"div",55),t._uU(214,"\n "),t.TgZ(215,"div",3),t._uU(216,"\n "),t.TgZ(217,"div",4),t._uU(218,"\n "),t.TgZ(219,"label",16,56),t._uU(221),t.qZA(),t._uU(222,"\n "),t.qZA(),t._uU(223,"\n "),t.qZA(),t._uU(224,"\n "),t.TgZ(225,"div",3),t._uU(226,"\n "),t.TgZ(227,"div",4),t._uU(228,"\n "),t.TgZ(229,"vsf-file",57,58),t._uU(231,"\n "),t.qZA(),t._uU(232,"\n "),t.qZA(),t._uU(233,"\n "),t.qZA(),t._uU(234,"\n "),t.TgZ(235,"div",3),t._uU(236,"\n "),t.TgZ(237,"div",4),t._uU(238,"\n "),t.TgZ(239,"vsf-button",30,59),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.MAs(211),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnUpdateToPostalNoticeAction,s,o))}),t.qZA(),t._uU(241,"\n "),t.TgZ(242,"vsf-button",32,60),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.MAs(211),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnUpdateToElectronicNoticeAction,s,o))}),t.qZA(),t._uU(244,"\n "),t.TgZ(245,"vsf-button",32,61),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.MAs(211),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnCloseUpdateNoticeDocAction,s,o))}),t.qZA(),t._uU(247,"\n "),t.qZA(),t._uU(248,"\n "),t.qZA(),t._uU(249,"\n "),t.qZA(),t._uU(250,"\n "),t.qZA(),t._uU(251,"\n "),t.YNc(252,Re,2,1,"vsf-button",62),t._uU(253,"\n "),t.TgZ(254,"vsf-overlay",10,63),t._uU(256,"\n "),t.TgZ(257,"div",64),t._uU(258,"\n "),t.TgZ(259,"div",4),t._uU(260,"\n "),t.TgZ(261,"div",3),t._uU(262,"\n "),t.TgZ(263,"div",44),t._uU(264,"\n "),t.TgZ(265,"label",14,65),t._uU(267),t.qZA(),t._uU(268,"\n "),t.TgZ(269,"label",16,66),t._uU(271),t.qZA(),t._uU(272,"\n "),t.qZA(),t._uU(273,"\n "),t.TgZ(274,"div",47),t._uU(275,"\n "),t.TgZ(276,"vsf-combo",67,68),t._uU(278,"\n "),t.qZA(),t._uU(279,"\n "),t.qZA(),t._uU(280,"\n "),t.qZA(),t._uU(281,"\n "),t.TgZ(282,"div",3),t._uU(283,"\n "),t.TgZ(284,"div",44),t._uU(285,"\n "),t.TgZ(286,"label",14,69),t._uU(288),t.qZA(),t._uU(289,"\n "),t.TgZ(290,"label",26,70),t._uU(292),t.qZA(),t._uU(293,"\n "),t.qZA(),t._uU(294,"\n "),t.TgZ(295,"div",47),t._uU(296,"\n "),t.TgZ(297,"vsf-date",71,72),t.NdJ("change",function(s){t.CHM(e);const o=t.oxw();return t.KtG(o.executeCallbackAndCheckBlockUi(s,o.txtZ183NoticeDateEditChange,s))}),t._uU(299,"\n "),t.qZA(),t._uU(300,"\n "),t.qZA(),t._uU(301,"\n "),t.qZA(),t._uU(302,"\n "),t.YNc(303,Ke,12,2,"div",50),t._uU(304,"\n "),t.TgZ(305,"div",3),t._uU(306,"\n "),t.TgZ(307,"div",44),t._uU(308,"\n "),t.TgZ(309,"label",14,73),t._uU(311),t.qZA(),t._uU(312,"\n "),t.TgZ(313,"label",16,74),t._uU(315),t.qZA(),t._uU(316,"\n "),t.qZA(),t._uU(317,"\n "),t.TgZ(318,"div",75),t._uU(319,"\n "),t.TgZ(320,"vsf-autocomplete",76,77),t.NdJ("change",function(s){t.CHM(e);const o=t.oxw();return t.KtG(o.executeCallbackAndCheckBlockUi(s,o.cmbSignatureTypeUpdateChange,s))})("click",function(s){t.CHM(e);const o=t.MAs(255),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.cmbSignatureTypeUpdateClick,s,o))}),t._uU(322,"\n "),t.qZA(),t._uU(323,"\n "),t.qZA(),t._uU(324,"\n "),t.qZA(),t._uU(325,"\n "),t.qZA(),t._uU(326,"\n "),t.qZA(),t._uU(327,"\n "),t.TgZ(328,"div",3),t._uU(329,"\n "),t.TgZ(330,"div",4),t._uU(331,"\n "),t.TgZ(332,"vsf-button",30,78),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.MAs(255),c=t.oxw();return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnSaveAction,c.selectedItemToEdit,s,o))}),t.qZA(),t._uU(334,"\n "),t.TgZ(335,"vsf-button",32,79),t.NdJ("vsfClick",function(s){t.CHM(e);const o=t.MAs(255),c=t.oxw();
1return t.KtG(c.executeCallbackAndCheckBlockUi(s,c.btnCancelEditDocumentDatesUpdateAction,s,o))}),t.qZA(),t._uU(337,"\n "),t.qZA(),t._uU(338,"\n "),t.qZA(),t._uU(339,"\n "),t.qZA(),t._uU(340,"\n"),t.BQk()}if(2&n){const e=t.MAs(114),a=t.MAs(149),s=t.MAs(298),o=t.oxw();t.Q6J("formGroup",o.vsfForm),t.xp6(2),t.Q6J("closable",!1)("closeOnEscape",!1)("key","confirmDeleteSignedDocument_"+(o.controlContainer.name||""))("header","Signiertes Dokument l\xf6schen")("message","M\xf6chten Sie das signierte Dokument wirklich l\xf6schen?")("acceptLabel","Ok")("rejectLabel","Abbrechen"),t.xp6(3),t.Q6J("closable",!1)("closeOnEscape",!1)("key","confirmClosingPostalNotice_"+(o.controlContainer.name||""))("header",t.xi3(6,124,t.DdM(133,Je),t.DdM(134,W)))("message",t.xi3(7,127,t.DdM(135,qe),t.DdM(136,W)))("acceptLabel","Ok")("rejectLabel",t.xi3(8,130,t.DdM(137,He),t.DdM(138,W))),t.xp6(6),t.Q6J("closable",!1)("closeOnEscape",!1)("key","confirmRetrievingElectronicNotice_"+(o.controlContainer.name||""))("header","Bescheid abrufen")("message","M\xf6chten Sie den elektronischen Bescheid abrufen? Der Zeitpunkt des Abrufs und der Abrufer werden im System vermerkt.")("acceptLabel","Ok")("rejectLabel","Abbrechen"),t.xp6(3),t.Q6J("closable",!1)("closeOnEscape",!1)("key","confirmNewElectronicNotification_"+(o.controlContainer.name||""))("header","Neues Bekanntgabeverfahren beginnen")("message","M\xf6chten Sie ein neues elektronisches Bekanntgabeverfahren beginnen?")("acceptLabel","Ok")("rejectLabel","Abbrechen"),t.xp6(3),t.Q6J("closable",!1)("closeOnEscape",!1)("key","confirmNewPostalNotification_"+(o.controlContainer.name||""))("header","Neues Bekanntgabeverfahren beginnen")("message","M\xf6chten Sie ein neues postalisches Bekanntgabeverfahren beginnen?")("acceptLabel","Ok")("rejectLabel","Abbrechen"),t.xp6(7),t.Q6J("ngIf",(o.isIntern||o.isCounselor)&&o.showNotificationArea||!o.showNotificationArea),t.xp6(6),t.Q6J("ngIf",o.isIntern||(null==o.boActivityOperation||null==o.boActivityOperation.operation?null:o.boActivityOperation.operation.reviewnotecomplete)),t.xp6(7),t.Q6J("ngIf",(o.isIntern||o.isCounselor)&&o.showNotificationArea),t.xp6(8),t.Q6J("ngIf",!(o.isIntern||o.isCounselor)&&o.showNotificationArea),t.xp6(4),t.Q6J("vsfDismissable",!1)("vsfShowIconClose",!1),t.xp6(11),t.Q6J("id",o.vsfForm.pathName+".lblZ1192"),t.xp6(2),t.Oqu("Z119"),t.xp6(2),t.Q6J("id",o.vsfForm.pathName+".lblEditNotificationDate"),t.xp6(2),t.Oqu("Bekanntgabedatum"),t.xp6(5),t.Q6J("additionalAttributes",t.DdM(139,at))("vsfAriaLabel","Z119 Benachrichtigungsdatum")("vsfDisabled",!(o.canEdit&&!o.showNotificationArea))("vsfShowDefaultPatternPlaceholder",!0),t.xp6(10),t.Q6J("id",o.vsfForm.pathName+".lblEditZ96"),t.xp6(2),t.Oqu("Z96"),t.xp6(2),t.Q6J("id",o.vsfForm.pathName+".lblEditOutboxDate"),t.xp6(2),t.Oqu("Postausgangsdatum"),t.xp6(5),t.Q6J("vsfAriaLabel","Z96 Postausgangsdatum")("vsfDisabled",!(o.canEdit&&!o.showNotificationArea))("vsfShowDefaultPatternPlaceholder",!0),t.xp6(10),t.Q6J("id",o.vsfForm.pathName+".lblZ183Edit"),t.xp6(2),t.Oqu("Z183"),t.xp6(2),t.Q6J("for",e.vsfId)("id",o.vsfForm.pathName+".lblZ183NoticeDateEdit_copy"),t.xp6(2),t.Oqu("Bescheiddatum"),t.xp6(5),t.Q6J("vsfDisabled",!(o.canEdit&&(null==o.selectedItemToEdit||!o.selectedItemToEdit.isExported)&&null!=o.selectedItemToEdit&&o.selectedItemToEdit.isValid&&null!=o.selectedItemToEdit&&o.selectedItemToEdit.isQes))("vsfShowDefaultPatternPlaceholder",!0),t.xp6(12),t.Q6J("vsfLabel","\xdcbernehmen"),t.xp6(3),t.Q6J("vsfLabel","Abbrechen"),t.xp6(6),t.Q6J("vsfDismissable",!0)("vsfShowIconClose",!0),t.xp6(11),t.Q6J("vsfIterationTemplate",a),t.xp6(15),t.Q6J("vsfLabel","Abbrechen"),t.xp6(6),t.Q6J("vsfAppendTo","body")("vsfDismissable",!0),t.xp6(11),t.Q6J("id",o.vsfForm.pathName+".lblZ690"),t.xp6(2),t.Oqu("Z690"),t.xp6(2),t.Q6J("id",o.vsfForm.pathName+".lblLabel23"),t.xp6(2),t.Oqu("Art der Unterschrift"),t.xp6(5),t.Q6J("additionalAttributes",t.DdM(140,at))("vsfDisabled",!o.disableZ690)("vsfKeyTabFilter",o.filterSignatureTypeForInternalUsers.bind(o)),t.xp6(6),t.Q6J("ngIf",!o.noSignature),t.xp6(2),t.Q6J("ngIf",o.noSignature),t.xp6(2),t.Q6J("ngIf",o.noSignature),t.xp6(4),t.Q6J("ngIf",!o.noSignature),t.xp6(2),t.Q6J("ngIf",o.noSignature),t.xp6(2),t.Q6J("vsfLabel","Abbrechen"),t.xp6(4),t.Q6J("vsfDismissable",!0),t.xp6(9),t.Q6J("id",o.vsfForm.pathName+".lblLabel22"),t.xp6(2),t.Oqu("W\xe4hlen Sie eine Datei f\xfcr die Bekanntgabe aus und w\xe4hlen Sie die Art der Unterschrift."),t.xp6(8),t.Q6J("additionalAttributes",t.DdM(141,at))("vsfBindingType","JSON")("vsfMultiple",!1),t.xp6(10),t.Q6J("vsfLabel","Manuell unterschrieben"),t.xp6(3),t.Q6J("vsfLabel","QES-signiert"),t.xp6(3),t.Q6J("vsfLabel","Abbrechen"),t.xp6(7),t.Q6J("ngIf",!1),t.xp6(2),t.Q6J("vsfDismissable",!0)("vsfShowIconClose",!1),t.xp6(11),t.Q6J("id",o.vsfForm.pathName+".lblZ690_Copy"),t.xp6(2),t.Oqu("Z690"),t.xp6(2),t.Q6J("id",o.vsfForm.pathName+".lblLabel23_update"),t.xp6(2),t.Oqu("Art der Unterschrift"),t.xp6(5),t.Q6J("vsfDisabled",!0)("vsfKeyTabFilter",o.filterSignatureTypeForInternalUsers.bind(o)),t.xp6(10),t.Q6J("id",o.vsfForm.pathName+".lblZ183Edit_Copy"),t.xp6(2),t.Oqu("Z183"),t.xp6(2),t.Q6J("for",s.vsfId)("id",o.vsfForm.pathName+".lblZ183NoticeDateEdit_Copy"),t.xp6(2),t.Oqu("Bescheiddatum"),t.xp6(5),t.Q6J("vsfDisabled",!(o.canEdit&&(null==o.selectedItemToEdit||!o.selectedItemToEdit.isExported)&&null!=o.selectedItemToEdit&&o.selectedItemToEdit.isValid&&null!=o.selectedItemToEdit&&o.selectedItemToEdit.isQes))("vsfShowDefaultPatternPlaceholder",!0),t.xp6(6),t.Q6J("ngIf",o.z183isnull),t.xp6(6),t.Q6J("id",o.vsfForm.pathName+".lblEditZ691"),t.xp6(2),t.Oqu("Z691"),t.xp6(2),t.Q6J("id",o.vsfForm.pathName+".lblEditOutboxDate_Copy"),t.xp6(2),t.Oqu("Unterzeichner"),t.xp6(5),t.Q6J("vsfCallback",o.fetchAndLogUsersWithB14Right.bind(o))("vsfDisabled",!0)("vsfDropDown",!0)("vsfForceSelection",!1)("vsfMinLength",1)("vsfMultipleSelection",!1)("vsfScrollHeight",300),t.xp6(12),t.Q6J("vsfLabel","Ok"),t.xp6(3),t.Q6J("vsfLabel","Abbrechen")}}const z=class extends x.e_{constructor(i,e,a,s,o,c,D,E,k,ht,gt,bt,ze,Ye,Ge){super(e),this.cdRef=i,this.officialDocumentService=a,this.officialDocumentServiceExt=s,this.userService=o,this.documentUploadHelper=c,this.documentDownloadHelper=D,this.boOperationOfficialDocumentService=E,this.boOperationOfficialDocumentServiceExt=k,this.boDocumentNotificationHistory=ht,this.boReadActivityOperationService=gt,this.boReadActivityOperationServiceext=bt,this.rightService=ze,this.infoService=Ye,this.keyTabService=Ge,this.filteredNotificationStatus=["2","6","7","8"],this.finalStates=["6","7","8"],this.notificationDatePlusDays=3,this.Qes=!1,this.noSignature=!1,this.manuelSignature=!1,this.disableZ690=!0,this.activityId$=new U.t,this.z183isnull=!1,this.enableUploadBtn=!0,this.lastSignInUser={value:{},label:""},this.cmbSignatureType=[],this.setDefaultValues()}ngOnInit(){super.ngOnInit(),this.verifSignturType(),this.loadKtSignature()}initByInputParamsAndLoadedData(i,e,a,s,o,c,D){this.underwriterList=(e??[]).map(E=>({value:E,label:E.d84Firstname+" "+E.d85Lastname})),this.vsfForm.controls.fldDocuments.controls.tblDocumentList2.changeState(E=>{const k=new Array;k.push("documentType"),k.push("documentDate"),k.push("postalDate"),k.push("notificationDate"),(this.isIntern||this.isCounselor)&&k.push("noticeDate"),k.push("signatureType"),(this.isIntern||this.isCounselor)&&(k.push("editInfo"),k.push("uploadDocs")),E.columns=k}),null!=this.boActivityOperation?.operationOfficialDocumentList&&(this.operationOfficialDocuments=!0===this.isCounselor?(0,S.xi)(this.boActivityOperation,this.userService,!1,!0):(0,S.xi)(this.boActivityOperation,this.userService,!1),this.initialDocumentId=this.findInitialDocumentId(this.operationOfficialDocuments)),this.subscriptions.push(this.infoService.getInfo().subscribe(E=>{this.notificationDatePlusDays=E.notificationDatePlusDays})),this.hasDocuments=this.operationOfficialDocuments&&this.operationOfficialDocuments.length>0}loadDataByParamBoActivityOperation(i){if(null!=i){if(null!=i.operationOfficialDocumentList?(this.updateDocumentNotificationHistory(i),0==this.setRecentDocument()?(this.loggingService.logInfo("Kein signiertes Bescheiddokument f\xfcr die Bekanntgabe vorhanden."),this.initByZ415(i)):this.recentDocument.documentNotificationHistoryList?this.subscriptions.push(this.boDocumentNotificationHistory.checkDeadlines(this.recentDocument.documentNotificationHistoryList).subscribe(e=>{this.documentNotificationHistory=e,this.recentDocument.documentNotificationHistoryList=e,this.initByZ415(i)},e=>{console.error("Error during boDocumentNotificationHistory.checkDeadlines",e),e.handled()})):this.initByZ415(i)):this.initByZ415(i),null!=i.id){const e=[this.boOperationOfficialDocumentServiceExt.canUploadSignedDocument(i.id),this.boOperationOfficialDocumentServiceExt.canUploadNotificationDocument(i.id)];this.subscriptions.push((0,_.a)(e).subscribe(a=>{if(2==a.length){{const[s,o]=a;this.canUserUploadSignedDocument=this.canUserDeleteSignedDocument=s,this.canUploadNotificationDocument=o;const c=this.boActivityOperation?.ktActivityStatusBase?.baseId,D=this.boActivityOperation?.ktActivityTypeBase?.baseId,E=this.boActivityOperation?.z552DissentLegallyValid,k=21===c;17===D&&k&&!E?(this.canUserUploadSignedDocument=!0,this.canUploadNotificationDocument=!0,this.canEdit=!0):k&&(17!==D||E)&&(this.canUserUploadSignedDocument=!1,this.canUploadNotificationDocument=!1,this.canEdit=!1)}this.mapContextToForm()}else this.loggingService.logWarning("Could not get canUserUploadSignedDocument ord/and canUploadNotificationDocument")}))}return this.getUsersWithB14Right()}return(0,p.of)(null)}initDialogCommons(){this.updateDocumentNotificationHistory(this.boActivityOperation),this.checkForOpenNotices(),this.subscriptions.push(this.setRightsOnDialog().subscribe(()=>{this.setDynamicLabels(),this.setTableEditingStatus(this.documentNotificationHistory),this.mapContextToForm()}))}loadDataByParamBeforeStoreEmitter(i){return this.subscriptions.push(this.beforeStoreEmitter.subscribe(()=>{const e=this.vsfForm.controls.fldDocumentNotificationHistory.controls.tblTablelist;if(null==e)return void this.messageService.error("Tabelle der Dokument-Benachrichtigungshistorie konnte nicht gefunden werden.");if(this.indexToEdit<0)return;let a=e.controls.rows.controls[this.indexToEdit],s=this.documentNotificationHistory.filter(c=>c.id===a.associatedObject.id)[0],o=a.controls.cmbZ541StatusFiltered.value.baseId;console.log("Save: ",a,s,o),!this.vsfForm.pristine&&this.checkPostalNoticeStatusChange(o)&&o!=s.ktNotificationStatusBase?.baseId&&(this.messageService.warn("\xc4nderungen zum Status der postalischen Bekanntmachung bitte separat \xfcber das Diskettensymbol unter der Bescheidbekanntgabe best\xe4tigen."),this.mapContextToForm()),this.mapFormToContext(),this.recentDocument.z96OutboxDate=s.z96OutboxDate,this.recentDocument.z119NotificationDate=s.z119NotificationDate,console.log("boActivityOperation to store",this.boActivityOperation)})),(0,p.of)(null)}reloadWithNewActivity(){this.subscriptions.push(this.boReadActivityOperationService.findById(this.boActivityOperation.id.toString()).subscribe(i=>{null!=i?(this.boActivityOperation=i,this.loadDataByParamBoActivityOperation(i)):this.messageService.error(this.appMsgService.dlg_interest_administration_not_found_error)}))}setDefaultValues(){this.useElectronicNotice=!1,this.canUserUploadSignedDocument=!1,this.canUserDeleteSignedDocument=!1,this.canOpenElectronicNotice=!1,this.hasOpenElectronicNotice=!1,this.noticeWasOpenend=!1,this.isFinished=!1,this.showButtonNewElectronic=!1,this.showButtonNewPostal=!1,this.showNotificationArea=!1,this.lastEntry=[],this.openNotificationExists=!1,this.canSendBescheide=!1,this.noticeIsElectronical=!1,this.canUploadNotificationDocument=!1,this.labelExternalInfo="",this.labelNoticeTypeInternal="",this.labelButtonRetrieveTooltip=""}setRightsOnDialog(){const i=[this.rightService.hasRightOnObject(y.L.A31,Q.r.programme,this.boActivityOperation.operation.programme.id),this.rightService.hasRightOnObject(y.L.A14,Q.r.programme,this.boActivityOperation.operation.programme.id),this.rightService.hasRightOnObject(y.L.B13,Q.r.programme,this.boActivityOperation.operation.programme.id),this.rightService.hasRightOnObject(y.L.A43,Q.r.programme,this.boActivityOperation.operation.programme.id),this.rightService.hasRightOnObject(y.L.B115,Q.r.programme,this.boActivityOperation.operation.programme.id)];return(0,_.a)(i).pipe((0,u.U)(([e,a,s,o,c])=>{this.isCurrentEditor=this.boActivityOperation.user?.id==this.userService.getUserId(),this.canSendBescheide=((s||a||[17,1e4].includes(this.boActivityOperation.ktActivityTypeBase?.baseId)&&c)&&this.isIntern||o)&&this.isCurrentEditor,this.canOpenElectronicNotice=!this.isIntern&&e,this.hasOpenElectronicNotice=this.openNotificationExists&&this.noticeIsElectronical,this.showNotificationArea=this.checkActivityType(),this.showButtonNewPostal=this.canSendBescheide&&!this.openNotificationExists&&!this.isFinished&&this.checkActivityTypeAndStateForActive()&&void 0!==this.recentDocument,this.showButtonNewElectronic=this.canSendBescheide&&!this.openNotificationExists&&!this.isFinished&&this.useElectronicNotice&&this.checkActivityTypeAndStateForActive()&&void 0!==this.recentDocument}))}initByZ415(i){const a=i.ktActivityTypeBase?.baseId;null!=a&&[1,2,3,4,17,18,24,1e4].includes(a)&&this.boActivityOperation.hasOwnProperty("vtUsesZ415")&&null!=this.boActivityOperation?.vtUsesZ415?(this.useElectronicNotice=i?.vtUsesZ415,this.initDialogCommons()):19!=i.ktActivityTypeBase?.baseId&&this.boActivityOperation.hasOwnProperty("vtUsesZ415")&&null!=this.boActivityOperation?.vtUsesZ415?(this.useElectronicNotice=!1,this.initDialogCommons()):this.subscriptions.push(this.boDocumentNotificationHistory.checkZ415ForActivity(i?.id+"").subscribe(s=>{this.useElectronicNotice=s,this.initDialogCommons()},s=>{this.loggingService.logWarning("boDocumentNotificationHistory.checkZ415ForActivity failed. Setting default false."),s.handled(),this.useElectronicNotice=!1,this.initDialogCommons()}))}setRecentDocument(){if(null!=this.boActivityOperation.operationOfficialDocumentList){let i=this.boActivityOperation.operationOfficialDocumentList.filter(e=>(0,S.ud)(e,this.boActivityOperation,!1)&&e.isValid&&25!==e.ktDocumentTypeBase?.baseId);return 0!==i.length&&(this.recentDocument=i[i.length-1],console.log("this.recentDocument : ",this.recentDocument),!0)}return!1}
1updateDocumentNotificationHistory(i){i?.operationOfficialDocumentList&&(this.documentNotificationHistory=[],i.operationOfficialDocumentList.forEach(e=>{e.documentNotificationHistoryList&&this.documentNotificationHistory.push(...(0,b.cloneDeep)(e.documentNotificationHistoryList))}),this.vsfForm.controls.fldDocumentNotificationHistory.controls.tblTablelist.refresh())}updateDocumentNotificationState(){this.setRecentDocument(),this.checkForOpenNotices(),this.subscriptions.push(this.setRightsOnDialog().subscribe(()=>{})),this.updateDocumentNotificationHistory(this.boActivityOperation)}checkActivityTypeAndStateForActive(){let i=this.boActivityOperation?.ktActivityStatusBase?.baseId,e=this.boActivityOperation?.ktActivityTypeBase?.baseId;return 2===e&&(4===i||7===i)||3===e&&(4===i||7===i)||1===e&&4===i||19===e&&7===i||17===e&&21===i||24===e&&36===i||1e4===e&&21===i}checkBestandskraft(){let i=this.boActivityOperation?.ktActivityStatusBase?.baseId;return 8===i||9===i}checkActivityType(){let i=this.boActivityOperation?.ktActivityTypeBase?.baseId,e=this.boActivityOperation?.ktActivityStatusBase?.baseId;return 2===i||3===i||24===i||1===i&&5!==e||19===i||17===i&&30!==e||1e4===i&&30!==e}checkZ403WithWI(){let i=this.boActivityOperation?.ktActivityTypeBase?.baseId,e=this.boActivityOperation?.applicationReviewNote?.z403ApproveActivity;return(17===i||1e4===i)&&!e}checkForOpenNotices(){this.documentNotificationHistory&&this.documentNotificationHistory.length>0?(this.lastEntry=[],this.lastEntry.push(this.documentNotificationHistory[this.documentNotificationHistory.length-1]),console.info("Notification : ",this.lastEntry),this.vsfForm.controls.fldReceiveNotice.controls.ctrlNotificationDetailsExternal.controls.tblNoticeDetailsExternal.refresh(),2===this.lastEntry[0].ktNotificationStatusBase?.baseId&&1===this.lastEntry[0].ktNotificationTypeBase?.baseId?(console.info("Found an open electronic notification : ",this.lastEntry),this.openNotificationExists=!0,this.noticeWasOpenend=!1,this.isFinished=!1,this.noticeIsElectronical=!0):2===this.lastEntry[0].ktNotificationStatusBase?.baseId&&2===this.lastEntry[0].ktNotificationTypeBase?.baseId?(console.info("Found an open postal notification : ",this.lastEntry),this.openNotificationExists=!0,this.noticeWasOpenend=!1,this.isFinished=!1,this.noticeIsElectronical=!1):3===this.lastEntry[0].ktNotificationStatusBase?.baseId&&1===this.lastEntry[0].ktNotificationTypeBase?.baseId?(console.info("Found a retrieved electronical notification.",this.lastEntry),this.noticeWasOpenend=!0,this.openNotificationExists=!1,this.noticeIsElectronical=!0,this.isFinished=!0):7!==this.lastEntry[0].ktNotificationStatusBase?.baseId&&8!==this.lastEntry[0].ktNotificationStatusBase?.baseId||2!==this.lastEntry[0].ktNotificationTypeBase?.baseId?(this.openNotificationExists=!1,this.noticeIsElectronical=!1,this.noticeWasOpenend=!1,this.isFinished=!1):(console.info("Found a postally retrieved notification.",this.lastEntry),this.noticeWasOpenend=!0,this.noticeIsElectronical=!1,this.openNotificationExists=!1,this.isFinished=!0)):(this.openNotificationExists=!1,this.noticeIsElectronical=!1,this.noticeWasOpenend=!1,this.isFinished=!1)}setDynamicLabels(){let i,e;if(this.lastEntry)if(i=this.lastEntry[0]?.ktNotificationTypeBase?.baseId,e=this.lastEntry[0]?.ktNotificationStatusBase?.baseId,2===i)switch(e){case 2:case 7:case 8:this.labelExternalInfo="Ein Bescheid wurde per Post versandt.";break;case 3:this.labelExternalInfo="Ein Bescheid wurde Ihnen per Post zugestellt.";break;case 5:case 6:this.labelExternalInfo="F\xfcr diesen Vorgang liegt kein Bescheiddokument vor.";break;default:this.labelExternalInfo=""}else if(1===i)switch(e){case 2:if(this.labelExternalInfo="F\xfcr Sie liegt ein Bescheiddokument zum elektronischen Abruf bereit.",this.lastEntry[0].z96OutboxDate){let s=" Der Abruf ist m\xf6glich bis: ";this.deadlineToRetrieve=this.lastEntry[0].z96OutboxDate;var a=new Date(this.deadlineToRetrieve);a.setHours(0,0,0),a.setDate(a.getDate()+10),this.deadlineElectronicRetrieve=a.toJSON(),this.labelExternalInfo=this.labelExternalInfo.concat(s),console.info("this.deadlineToRetrieve : ",this.deadlineElectronicRetrieve)}break;case 3:this.labelExternalInfo="Das elektronische Bescheiddokument wurde erfolgreich abgerufen.",this.deadlineElectronicRetrieve="";break;case 4:this.labelExternalInfo="Die Frist zum Abruf des bereitgestellten Bescheiddokuments ist abgelaufen.";break;default:this.labelExternalInfo=""}else this.labelExternalInfo="";else this.labelExternalInfo="F\xfcr diesen Vorgang liegt kein Bescheiddokument vor.";this.labelNoticeTypeInternal=this.useElectronicNotice?"Der Antragssteller hat einer elektronischen Bekanntgabe des Bescheids zugestimmt (Z415)":"Der Antragssteller hat einer elektronischen Bekanntgabe des Bescheids nicht zugestimmt (Z415). Postalische Zustellung erforderlich.",this.canOpenElectronicNotice||(this.labelButtonRetrieveTooltip="Zum Abruf von Bescheiden ben\xf6tigen Sie das Recht A.3.1.")}get isActivityStateValidForDocumentChange(){return 2==this.boActivityOperation?.ktActivityTypeBase?.baseId||3==this.boActivityOperation?.ktActivityTypeBase?.baseId||17==this.boActivityOperation?.ktActivityTypeBase?.baseId||19==this.boActivityOperation?.ktActivityTypeBase?.baseId?1==this.boActivityOperation?.operation?.reviewnotecomplete:1==this.boActivityOperation?.ktActivityTypeBase?.baseId&&4==this.boActivityOperation?.ktActivityStatusBase?.baseId}btnDocumentPreviewAction(i,e){switch(this.boActivityOperation.ktActivityTypeBase?.baseId){case 1:this.documentPreviewList=[{value:"Zusageschreiben",templateId:1},{value:"Absageschreiben",templateId:2}];break;case 2:this.documentPreviewList=[{value:"Bewilligungsbescheid",templateId:3},{value:"Ablehnungsbescheid",templateId:4}];break;case 3:this.documentPreviewList=[{value:"\xc4nderungsbescheid",templateId:5},{value:"Ablehnungsbescheid",templateId:19}];break;case 17:case 1e4:this.documentPreviewList=[{value:"Widerspruchsbescheid",templateId:21}];break;case 4:this.documentPreviewList=[{value:"Zusageschreiben",templateId:6}];break;case 19:this.documentPreviewList=[{value:"Schlussbescheid",templateId:23},{value:"Schlussbescheid-Pr\xfcfvermerk",templateId:24}];break;case 24:this.documentPreviewList=[{value:"Aufhebungsbescheid",templateId:28}];break;default:this.documentPreviewList=[{value:"Noch keine Dokumente vorhanden"}]}this.mapContextToForm(),e.toggle(i)}btnCancelUploadDocumentAction(i,e){e.hide(i),this.vsfForm.controls.uplSignedDocuments.reset(),this.vsfForm.markAsPristine()}createClonedDocument(i,e){return{id:this.uidService.uidNegNumber,filename:i.name,title:i.name,isQes:!0,isExternalDocument:!1,isExported:!1,operationOfficialDocumentFile:{id:-Number(this.uidService.uid),filedata:i.content},activity:this.boActivityOperation,z97DocumentDate:(new Date).toJSON(),z96OutboxDate:this.selectedItemToEdit.z96OutboxDate,z119NotificationDate:e.z119NotificationDate,ktDocumentTypeBase:e.ktDocumentTypeBase,ktSignatureTypeBase:e.ktSignatureTypeBase}}uploadSignedDocumentInternal(i,e,a){this.officialDocumentService.uploadSignedDocumentForInternal(i,a).subscribe(s=>{i.z97DocumentDate=(new Date).toJSON(),this.boActivityOperation.operationOfficialDocumentList.filter(o=>o.id===this.selectedItemToEdit.id)[0]=s,null==this.boActivityOperation.operationOfficialDocumentList&&(this.boActivityOperation.operationOfficialDocumentList=[]),this.boActivityOperation.operationOfficialDocumentList.push(s),this.operationOfficialDocuments.push(s),this.vsfForm.controls.fldDocuments.controls.tblDocumentList2.refresh(),this.vsfForm.controls.uplSignedDocuments.setValue(null),e.hide(event),this.messageService.success(this.appMsgService.signed_document_uploaded_successfuly),this.updateDocumentNotificationState(),null!=this.reloadPageCallback$.value&&this.reloadPageCallback()},s=>{this.vsfForm.controls.uplSignedDocuments.setValue(null),e.hide(event)})}btnAddDocumentAction(i,e){const a=this.vsfForm.controls.txtZ183NoticeDateEdit_copy?.value,s=this.vsfForm.controls.txtSignatories?.value.value?.id;if(!a)return void this.messageService.error(this.appMsgService.z183NoticeDateMissing);if(!s)return void this.messageService.error(this.appMsgService.z691NoticeUserMissing);if(null==this.boActivityOperation.id)throw new Error("ID is required and cannot be null or undefined");if(null==this.selectedItemToEdit.ktDocumentTypeBase)throw new Error("ktDocumentTypeBase is required and cannot be null or undefined");const o=this.selectedItemToEdit.ktDocumentTypeBase.baseId?.toString()??"",c=this.boActivityOperation.id.toString();if(!o)throw new Error("ktDocumentTypeId cannot be empty or undefined");this.subscriptions.push(this.boOperationOfficialDocumentService.createOfficialDocumentWithoutSignature(a,s,o,c).pipe((0,m.b)(D=>{this.operationOfficialDocuments.push(D),this.boActivityOperation.operationOfficialDocumentList||(this.boActivityOperation.operationOfficialDocumentList=[]),this.boActivityOperation.operationOfficialDocumentList.push(D),this.vsfForm.controls.fldDocuments.controls.tblDocumentList2.refresh(),e.hide(i),this.updateDocumentNotificationState(),this.vsfForm.markAsPristine(),this.messageService.success("Dokument erfolgreich zum Aufklappbereich Dokumente hinzugef\xfcgt.")}),(0,f.K)(D=>(console.error("Error creating document:",D),this.messageService.error("Das Dokument konnte nicht erstellt werden. Bitte versuchen Sie es erneut."),(0,p.of)(null)))).subscribe())}btnUploadSignedDocumentOverlayAction(i,e){if(null!=this.vsfForm.controls.uplSignedDocuments.value){const a=this.vsfForm.controls.uplSignedDocuments.value[0];if(!this.documentUploadHelper.isDocumentOfType(a.name,"pdf"))return void this.messageService.error(this.appMsgService.signed_documents_only_pdf);const s=this.vsfForm.controls.cmbSignatureType.value,o=this.createClonedDocument(a,this.selectedItemToEdit);o.ktSignatureTypeBase=this.vsfForm.controls.cmbSignatureType.value,this.uploadSignedDocumentInternal(o,e,s.key),this.updateDocumentNotificationState()}else this.messageService.error(this.appMsgService.dlg_document_edit_file_missing_error);this.vsfForm.markAsPristine()}deleteSignedDocument(){this.messageService.clear();let i=!1;5==this.selectedItemToEdit.ktSignatureTypeBase?.baseId&&(i=!0),this.selectedItemToEdit.isQes||i?null!=this.selectedItemToEdit&&this.subscriptions.push(this.boOperationOfficialDocumentService.delete(this.selectedItemToEdit).subscribe(()=>{this.operationOfficialDocuments=this.operationOfficialDocuments.filter(e=>e!==this.selectedItemToEdit),this.boActivityOperation.operationOfficialDocumentList=this.boActivityOperation.operationOfficialDocumentList?.filter(e=>e!==this.selectedItemToEdit),this.vsfForm.controls.fldDocuments.controls.tblDocumentList2.refresh(),this.vsfForm.markAsPristine(),this.messageService.success(this.appMsgService.signed_document_deleti
1on_successfuly),null!=this.reloadPageCallback$.value&&this.reloadPageCallback(),this.updateDocumentNotificationState(),this.mapContextToForm()})):this.messageService.error(this.appMsgService.sdlg_documents_administration_cannot_delete_generated_documents)}doPostUploadDifferentNotification(i,e){i.z97DocumentDate=(new Date).toJSON(),this.boActivityOperation.operationOfficialDocumentList.filter(a=>a.id===this.selectedItemToEdit.id)[0]=e,null==this.boActivityOperation.operationOfficialDocumentList&&(this.boActivityOperation.operationOfficialDocumentList=[]),this.boActivityOperation.operationOfficialDocumentList.push(e),this.operationOfficialDocuments.push(e),this.vsfForm.controls.fldDocuments.controls.tblDocumentList2.refresh(),this.recentDocument=e,e.documentNotificationHistoryList&&(this.documentNotificationHistory=e.documentNotificationHistoryList),this.vsfForm.controls.uplNoticeUpdade.setValue(null),this.vsfForm.controls.fldDocumentNotificationHistory.controls.tblTablelist.refresh(),this.mapContextToForm(),this.messageService.success(this.appMsgService.signed_document_uploaded_successfuly),this.updateDocumentNotificationState()}uploadUDifferentNotifiactionDocument(i,e,a){if(this.messageService.clear(),null==this.vsfForm.controls.uplNoticeUpdade.value)this.messageService.error(this.appMsgService.dlg_document_edit_file_missing_error);else{const s=this.vsfForm.controls.uplNoticeUpdade.value[0];if(!this.documentUploadHelper.isDocumentOfType(s.name,"pdf"))return void this.messageService.error(this.appMsgService.signed_documents_only_pdf);const o=this.createClonedDocument(s,this.selectedItemToEdit);this.officialDocumentService.uploadDocumentAfterDecisionInternal(o,a).subscribe(c=>{this.doPostUploadDifferentNotification(o,c),this.vsfForm.controls.uplNoticeUpdade.setValue(null)},c=>{this.vsfForm.controls.uplNoticeUpdade.setValue(null)})}this.updateDocumentNotificationState()}btnUpdateToPostalNoticeAction(i,e){this.uploadUDifferentNotifiactionDocument(i,e,"manual"),this.vsfForm.markAsPristine(),e.hide(i)}btnUpdateToElectronicNoticeAction(i,e){this.uploadUDifferentNotifiactionDocument(i,e,"electronic"),this.vsfForm.markAsPristine(),e.hide(i)}isDocumentSigned(i){return null!=i.isQes&&i.isQes}btnSaveAction(i,e,a){const s=this.vsfForm.controls.txtZ119NotificationDate.value,o=this.vsfForm.controls.txtZ96OutboxDate.value;var c=this.vsfForm.controls.txtZ183NoticeDateEdit.value;null==c?this.z183isnull=!0:(i.z119NotificationDate=null!=s&&""!=s?new Date(s).toJSON():"",i.z96OutboxDate=null!=o&&""!=o?new Date(o).toJSON():"",i.z183NoticeDate=null!=c&&""!=c?new Date(c).toJSON():"",this.boActivityOperation.operationOfficialDocumentList.filter(D=>D.id===i.id)[0]=i,this.mapContextToForm(),a.hide())}txtZ183NoticeDateEditChange(i){this.z183isnull=!1}btnCancelSaveDocumentAction(i){i.hide()}btnCancelPreviewAction(i){i.hide()}lnkHyperlinkAction(i){this.documentDownloadHelper.downloadDocumentWithContent(i,B.e.OPERATION_OFFICIAL_DOCUMENT)}lnkDocumentPreviewAction(i){console.log(i),this.messageService.clear(),this.messageService.info(this.appMsgService.sdlg_documents_administration_generation_info),this.officialDocumentServiceExt.getActivityDocumentPreview(this.boActivityOperation.id,i.templateId).subscribe(e=>{this.documentDownloadHelper.downloadDocumentWithContent(e,B.e.OPERATION_OFFICIAL_DOCUMENT)},e=>{this.messageService.clear(),this.messageService.error("com.pass.project.zeus.common.config.ZeusErrorCode.TEMPLATE_NOT_FOUND"===e?.error?.errorCode?this.appMsgService.sldg_documents_administration_generation_error+` F\xfcr diesen Vorgang ${["Interessenbekundung","R\xfccknahme"].includes(this.boActivityOperation.ktActivityTypeBase?.key)?"in der":"im"} ${this.boActivityOperation.ktActivityTypeBase?.key} ist keine Vorlage vorhanden.`:this.appMsgService.sldg_documents_administration_generation_error+` ${null!=e.error?e.error.message:""}`),e.handled()})}lnkDownloadReviewNoteAttachmentAction(i){this.documentDownloadHelper.downloadDocumentWithContent(i,B.e.OPERATION_OFFICIAL_DOCUMENT)}createElectronicNoticeJson(){return{id:this.uidService.uidNegNumber,z96OutboxDate:(new Date).toJSON(),operationOfficialDocument:{id:this.recentDocument.id},createBy:"system",createDate:(new Date).toJSON(),modifyBy:"system",modifyDate:(new Date).toJSON(),ktNotificationTypeBase:{baseId:1}
1,ktNotificationStatusBase:{baseId:2}}}createPostalNoticeJson(){return{id:this.uidService.uidNegNumber,operationOfficialDocument:{id:this.recentDocument.id},createBy:"system",createDate:(new Date).toJSON(),modifyBy:"system",modifyDate:(new Date).toJSON(),ktNotificationTypeBase:{baseId:2},ktNotificationStatusBase:{baseId:2}}}setTableEditingStatus(i){return this.indexToEdit=-1,null==i||i.forEach((e,a)=>{if(a+1===i.length&&2===e.ktNotificationTypeBase?.baseId&&(2===e.ktNotificationStatusBase?.baseId||8===e.ktNotificationStatusBase?.baseId)&&this.canSendBescheide&&!this.checkBestandskraft())return this.indexToEdit=a,void console.log("Edit: ",this.indexToEdit,e.ktNotificationTypeBase?.baseId)}),this.indexToEdit}checkPostalNoticeClosing(i){return 6==i||7==i}checkPostalNoticeStatusChange(i){return 3==i||6==i||7==i||8==i}filterKtNotificationStatus(i){return!(!this.filteredNotificationStatus.includes(i.id.toString())||this.lastEntry[0]?.ktNotificationStatusBase?.baseId&&this.finalStates.includes(this.lastEntry[0].ktNotificationStatusBase.baseId.toString())&&"2"==i.id.toString())}txtZ96OutboxChange(i,e,a){const s=this.vsfForm.controls.fldDocumentNotificationHistory.controls.tblTablelist.controls.rows.controls[a],o=s.controls.txtZ96Outbox.value;if(s.controls?.txtZ119NoticeDate?.value&&0!=s.controls?.txtZ119NoticeDate?.value.length)s.controls.txtZ96Outbox.value||(s.controls.txtZ119NoticeDate.setValue(null),8===s.controls.cmbZ541StatusFiltered.value.baseId&&(!this.lastEntry[0]?.ktNotificationStatusBase?.baseId||!this.finalStates.includes(this.lastEntry[0].ktNotificationStatusBase.baseId.toString()))&&s.controls.cmbZ541StatusFiltered.setValue({baseId:2}));else{var c=new Date(o);c.setDate(c.getDate()+this.notificationDatePlusDays),s.controls.txtZ119NoticeDate.setValue(c)}}
1newElectronicNoticeAction(){this.setRecentDocument();const i=this.vsfForm.controls.fldDocumentNotificationHistory.controls.tblTablelist;if(null==i)return void this.messageService.error("Tabelle der Dokument-Benachrichtigungshistorie konnte nicht gefunden werden.");if(null==this.recentDocument?.ktSignatureTypeBase||3==this.recentDocument?.ktSignatureTypeBase?.baseId)return void this.messageService.error("Sie versuchen mit einem manuell unterschriebenen Dokument eine elektronische Bekanntgabe zu starten. Bitte laden Sie als aktuellstes ein mit QES signiertes oder Ohne Schriftform Dokument hoch.");let a=this.createElectronicNoticeJson();this.subscriptions.push(this.boDocumentNotificationHistory.createElectronicNotice(a).subscribe(s=>{this.updateOfficialDocument(s),this.messageService.clear(),this.messageService.success("Neue elektronische Bekanntmachung erfolgreich gestartet."),console.info("New notification after save : ",s),this.createNewNotificationRow(s,i)},s=>{console.error("Error in newElectronicNoticeAction.boDocumentNotificationHistory.createElectronicNotice",s),this.messageService.error("Fehler beim Erstellen der neuen elektronischen Bekanntgabe.")}))}newPostalAction(){this.setRecentDocument();const i=this.vsfForm.controls.fldDocumentNotificationHistory.controls.tblTablelist;if(null==i)return void this.messageService.error("Tabelle der Dokument-Benachrichtigungshistorie konnte nicht gefunden werden.");if(1==this.recentDocument.ktSignatureTypeBase?.baseId)return void this.messageService.error("Sie k\xf6nnen mit dem QES Dokument kein neues postalisches Bekanntgabeverfahren starten.");const a=this.createPostalNoticeJson();this.subscriptions.push(this.boDocumentNotificationHistory.createPostalNotice(a).subscribe(s=>{this.updateOfficialDocument(s),this.messageService.clear(),this.messageService.success("Neue postalische Bekanntmachung erfolgreich gestartet."),this.createNewNotificationRow(s,i)},s=>{console.error("Error in newPostalAction.boDocumentNotificationHistory.createPostalNoticeJson",s),this.messageService.error("Fehler beim Erstellen der neuen postalischen Bekanntgabe.")}))}updateOfficialDocument(i){if(i?.operationOfficialDocument&&this.boActivityOperation.operationOfficialDocumentList){const e=this.boActivityOperation.operationOfficialDocumentList.findIndex(a=>a.id===i.operationOfficialDocument.id);-1!==e&&(this.boActivityOperation.operationOfficialDocumentList[e]=i.operationOfficialDocument)}}createNewNotificationRow(i,e){this.recentDocument.documentNotificationHistoryList||(this.recentDocument.documentNotificationHistoryList=[]),this.recentDocument.z119NotificationDate=i.operationOfficialDocument?.z119NotificationDate,this.recentDocument.z96OutboxDate=i.operationOfficialDocument?.z96OutboxDate,this.recentDocument.documentNotificationHistoryList.push(i),this.documentNotificationHistory.push(i),e.controls.rows.add().associatedObject=i,this.boActivityOperation.operationOfficialDocumentList.filter(s=>s.id===this.recentDocument.id)[0]=this.recentDocument,this.checkForOpenNotices(),this.subscriptions.push(this.setRightsOnDialog().subscribe(()=>{this.setTableEditingStatus(this.documentNotificationHistory),this.mapContextToForm()}))}lnkEditNotiEntryAction(i,e){this.mapFormToContext();const a=this.vsfForm.controls.fldDocumentNotificationHistory.controls.tblTablelist;if(null==a)return void this.messageService.error("Tabelle der Dokument-Benachrichtigungshistorie konnte nicht gefunden werden.");let s=a.controls.rows.controls[e];s.controls.cmbZ541StatusFiltered.value.baseId&&(i.user?.id||(delete i.user,console.log("delete selectedItem['user']")),console.log("selectedItem",i,s),this.checkPostalNoticeClosing(s.controls.cmbZ541StatusFiltered.value.baseId)?this.triggerPopupConfirmClosingPostalNotice(()=>{i.z96OutboxDate&&i.z119NotificationDate||7!=s.controls?.cmbZ541StatusFiltered?.value?.baseId?(i.ktNotificationStatusBase.baseId=s.controls.cmbZ541StatusFiltered.value.baseId,console.log("this.documentNotificationHistory when changing Z541",this.documentNotificationHistory),this.editNotiEntry(i,s),this.setTableEditingStatus(this.documentNotificationHistory),this.mapContextToForm(),a.refresh(),this.vsfForm.markAsPristine()):this.messageService.error("Bevor die Bekanntgabe abgeschlossen werden kann, m\xfcssen ein Postausgangsdatum (Z96) und Bekanntgabedatum (Z119) eingetragen werden.")},()=>{}):(i.ktNotificationStatusBase.baseId=s.controls.cmbZ541StatusFiltered.value.baseId,this.editNotiEntry(i,s),this.setTableEditingStatus(this.documentNotificationHistory),this.mapContextToForm(),a.refresh(),this.vsfForm.markAsPristine()))}editNotiEntry(i,e){this.subscriptions.push(this.boDocumentNotificationHistory.updatePostalNotice(i).subscribe(a=>{this.messageService.clear(),this.messageService.success("\xc4nderungen an der aktuellen Bekanntgabe erfolgreich gespeichert."),this.updateNotificationHistory(i,a),this.updateRecentDocumentNotificationHistoryList(i,a),this.updateRelatedNotificationDocument(i,a),e.controls.txtZ119NoticeDate&&(e.controls.txtZ119NoticeDate.value=a.z119NotificationDate),this.checkForOpenNotices(),this.subscriptions.push(this.setRightsOnDialog().subscribe(()=>{this.setTableEditingStatus(this.documentNotificationHistory);const s=this.vsfForm.controls.fldDocumentNotificationHistory.controls.tblTablelist;null!=s?(["DELIVERED","DELIVERYFICTION"].includes(a.ktNotificationStatusBase?.key+"")&&(this.boActivityOperation.z120RetrievalDate=a.z119NotificationDate),s.refresh(),this.sendDialogEvent("SdlgNoticeProvider.updateNotice",{activity:this.boActivityOperation})):this.messageService.error("Tabelle der Dokument-Benachrichtigungshistorie konnte nicht gefunden werden.")}))},a=>{console.error("boDocumentNotificationHistory.updatePostalNotice",a)}))}updateRecentDocumentNotificationHistoryList(i,e){if(this.recentDocument.documentNotificationHistoryList)for(let a=0;a<this.recentDocument.documentNotificationHistoryList.length;
1a++)this.recentDocument.documentNotificationHistoryList[a].id===i.id&&(this.recentDocument.documentNotificationHistoryList[a]=e)}updateNotificationHistory(i,e){const a=this.documentNotificationHistory.findIndex(s=>s.id===i.id);-1!==a&&(this.documentNotificationHistory[a]=e)}updateRelatedNotificationDocument(i,e){const a=i.operationOfficialDocument?.id,s=this.boActivityOperation.operationOfficialDocumentList?.find(o=>o.id===a);e.operationOfficialDocument&&s&&(this.updateDocumentFields(s,e.operationOfficialDocument),this.updateActivityDocumentList(e.operationOfficialDocument)),this.recentDocument.id===a&&e.operationOfficialDocument&&this.updateDocumentFields(this.recentDocument,e.operationOfficialDocument)}updateDocumentFields(i,e){i.z119NotificationDate=e.z119NotificationDate,i.z96OutboxDate=e.z96OutboxDate,i.revision=e.revision}updateActivityDocumentList(i){!this.boActivityOperation.operationOfficialDocumentList||!i.id||(this.boActivityOperation.operationOfficialDocumentList=this.boActivityOperation.operationOfficialDocumentList.map(e=>e.id===i.id?i:e))}doRetrieveNotice(){this.messageService.clear(),this.lastEntry[0].operationOfficialDocument&&this.subscriptions.push(this.officialDocumentService.retrieveElectronicNotice(this.lastEntry[0].operationOfficialDocument).subscribe(i=>{this.documentDownloadHelper.downloadDocumentWithContent(i,B.e.OPERATION_OFFICIAL_DOCUMENT),this.messageService.success("Sie haben den Bescheid erfolgreich abgerufen."),this.reloadWithNewActivity()}))}lnkHyperlink2Action(){this.messageService.clear(),this.lastEntry[0].operationOfficialDocument&&this.subscriptions.push(this.officialDocumentService.reopenElectronicNotice(this.lastEntry[0].operationOfficialDocument).subscribe(i=>{this.documentDownloadHelper.downloadDocumentWithContent(i,B.e.OPERATION_OFFICIAL_DOCUMENT)}))}btnButtonAction(){this.subscriptions.push(this.boDocumentNotificationHistory.checkAllNotificationDeadlines(1).subscribe(i=>{this.messageService.clear(),this.loadDataByParamBoActivityOperation(this.boActivityOperation)},i=>{this.messageService.error(i)}))}filterSignatureTypeForInternalUsers(i){return"EID"!==i.key&&"TAN"!==i.key&&(!this.checkZ403WithWI()||"NO_SIGNATURE"!==i.key)}verifSignturType(){this.vsfForm.controls.cmbSignatureType.valueChanges.subscribe(i=>{if(!i||!i.key)return this.noSignature=!1,this.Qes=!1,void(this.manuelSignature=!1);switch(i.key){case"NO_SIGNATURE":this.noSignature=!0,this.Qes=!1,this.manuelSignature=!1,this.findLastSignInUser(),this.vsfForm.controls.txtSignatories.setValue(this.lastSignInUser);break;case"QES":this.Qes=!0,this.manuelSignature=!1,this.noSignature=!1;break;case"MANUAL":this.manuelSignature=!0,this.noSignature=!1,this.Qes=!1;break;default:this.noSignature=!1,this.Qes=!1,this.manuelSignature=!1}})}getUsersWithB14Right(){return this.boActivityOperation&&this.boActivityOperation.id?(this.activityId$.next(this.boActivityOperation.id?.toString()??""),this.activityId$.pipe((0,d.x)(),(0,O.w)(e=>this.boReadActivityOperationServiceext.findByIdAuditProof(e).pipe((0,f.K)(a=>((0,rt.showErrorMsg)(this.messageService,this.changeDetector,"Error while Reading from Database"),console.error(a),q.E)))),(0,g.B)(),(0,u.U)(e=>this.boActivityOperation.operation&&this.boActivityOperation.operation.programme?this.boActivityOperation.operation.programme.id:(console.error("Operation or Programme is null"),null)),(0,v.h)(e=>null!==e),(0,d.x)(),(0,O.w)(e=>this.rightService.findSubjectsWithAnyRightOnProgramme(e,[y.L.B14,y.L.A14])))):(console.error("boActivityOperation is null or undefined"),(0,p.of)(null))}fetchAndLogUsersWithB14Right(i,e){return(this.underwriterList??[]).filter(s=>String(s.label).toLowerCase().includes(i.toLowerCase()))}txtSignatoriesClick(i,e){i.stopPropagation()}cmbSignatureTypeUpdateClick(i,e){i.stopPropagation()}lnkEditDocumentAction(i,e,a){super.lnkEditDocumentAction(i,e,a),this.vsfForm.controls.cmbSignatureType_update.setValue(i.ktSignatureTypeBase?.baseId)}loadKtSignature(){this.subscriptions.push(this.keyTabService.loadKeyTab("KtSignatureType").pipe((0,u.U)(this.mapKtToFilterSelectItem())).subscribe(i=>{this.ktSignatureTypes=i}))}mapKtToFilterSelectItem(){return i=>{const e=[];for(const a in i)i.hasOwnProperty(a)&&e.push({value:i[a].id,label:i[a].value});return e}}btnBekanntgabedokumentAction(i,e){super.btnBekanntgabedokumentAction(i,e),e.show(i),this.disableZ690=!1,this.vsfForm.controls.cmbSignatureType.setValue(5),this.noSignature=!0,this.Qes=!1,this.manuelSignature=!1,this.selectedItemToEdit={ktDocumentTypeBase:this.operationOfficialDocuments[0].ktDocumentTypeBase}}lnkUploadSignedDocumentAction(i,e,a){this.selectedItemToEdit=i,this.disableZ690=!0,a.show(e)}findLastSignInUser(){const e=(this.boActivityOperation.operation?.operationBase?.noteList??[]).filter(a=>void 0!==a.signInDate&&a.z146HasSigned&&2==a.signinglevel).reduce((a,s)=>new Date(s.signInDate)>new Date(a?.signInDate??0)?s:a,null);this.lastSignInUser=e?.user?.d84Firstname&&e?.user?.d85Lastname?{value:e.user,label:`${e.user.d84Firstname} ${e.user.d85Lastname}`}:{value:{},label:""}}
1findInitialDocumentId(i){return i.reduce((a,s)=>{const o=new Date(a.createDate??0);return new Date(s.createDate??0)<o?s:a},i[0])?.id??null}isInitialDocument(i){return i.id===this.initialDocumentId}};let pt=z;z.\u0275fac=function(e){return new(e||z)(t.Y36(t.sBO),t.Y36(t.zs3),t.Y36(V.n),t.Y36(j.p),t.Y36(lt.Cx),t.Y36(w.F),t.Y36(B.O),t.Y36(V.n),t.Y36(j.p),t.Y36(C.y),t.Y36(ct.p),t.Y36(L._),t.Y36(M.K),t.Y36(H.C),t.Y36(ut.j))},z.\u0275cmp=t.Xpm({type:z,selectors:[["sdlg-notice-provider_overwrite"]],standalone:!0,features:[t._Bn([A.uU]),t.qOj,t.jDz],decls:3,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],["icon","pi pi-question-circle",3,"closable","closeOnEscape","key","header","message","acceptLabel","rejectLabel"],[1,"gridrow"],[1,"gridcell",2,"flex","100 100 0px"],["formGroupName","fldDocuments","vsfName","fldDocuments",3,"vsfOpen","vsfToggable",4,"ngIf"],[1,"area"],["formGroupName","fldReviewNoteAttachments","vsfName","fldReviewNoteAttachments",3,"vsfOpen","vsfToggable",4,"ngIf"],["formGroupName","fldDocumentNotificationHistory","vsfName","fldDocumentNotificationHistory",3,"vsfLegend","vsfOpen","vsfToggable",4,"ngIf"],["formGroupName","fldReceiveNotice","vsfName","fldReceiveNotice",3,"vsfLegend","vsfOpen","vsfToggable",4,"ngIf"],["appendTo","body",3,"vsfDismissable","vsfShowIconClose"],["opEditDocumentDates",""],[1,"form_box","gridrow"],[1,"gridcell",2,"flex","50 50 0px"],[1,"field_num",3,"id"],["lblZ1192",""],[3,"id"],["lblEditNotificationDate",""],[1,"gridcell",2,"height","100%","flex","50 50 0px"],["formControlName","txtZ119NotificationDate","vsfFormat","date",3,"additionalAttributes","vsfAriaLabel","vsfDisabled","vsfShowDefaultPatternPlaceholder"],["txtZ119NotificationDate",""],["lblEditZ96",""],["lblEditOutboxDate",""],["formControlName","txtZ96OutboxDate","vsfFormat","date",3,"vsfAriaLabel","vsfDisabled","vsfShowDefaultPatternPlaceholder"],["txtZ96OutboxDate",""],["lblZ183Edit",""],[3,"for","id"],["lblZ183NoticeDateEdit_copy",""],["formControlName","txtZ183NoticeDateEdit1","vsfFormat","date",3,"vsfDisabled","vsfShowDefaultPatternPlaceholder"],["txtZ183NoticeDateEdit1",""],["vsfStyleClass","button default","vsfType","button",3,"vsfLabel","vsfClick"],["btnSave1",""],["vsfStyleClass","button","vsfType","button",3,"vsfLabel","vsfClick"],["btnCancelSaveDocument",""],[3,"vsfDismissable","vsfShowIconClose"],["opDocumentPreview",""],["formArrayName","tblDocumentPreviewList","vsfName","tblDocumentPreviewList",3,"vsfIterationTemplate"],["tblDocumentPreviewList",""],["tblDocumentPreviewListTemplate",""],[1,"center","gridrow"],["btnCancelPreview",""],[3,"vsfAppendTo","vsfDismissable"],["opSignedDocumentUpload",""],[1,"form_box","gridrow",2,"width","501px"],[1,"gridcell",2,"flex","45 45 0px"],["lblZ690",""],["lblLabel23",""],[1,"gridcell",2,"flex","55 55 0px"],["formControlName","cmbSignatureType","vsfKeyTabSelectItems","KtSignatureType",1,"",3,"additionalAttributes","vsfDisabled","vsfKeyTabFilter"],["cmbSignatureType",""],["class","gridrow",4,"ngIf"],["vsfStyleClass","button default","vsfType","button",3,"vsfLabel","vsfClick",4,"ngIf"],["btnCancelUploadDocument",""],[3,"vsfDismissable"],["opUpdateNotice",""],[1,"area",2,"width","500px"],["lblLabel22",""],["formControlName","uplNoticeUpdade",1,"pamgd_inlineBlock",3,"additionalAttributes","vsfBindingType","vsfMultiple"],["uplNoticeUpdade",""],["btnUpdateToPostalNotice",""],["btnUpdateToElectronicNotice",""],["btnCloseUpdateNoticeDoc",""],["vsfType","button",3,"vsfLabel","vsfClick",4,"ngIf"],["opEditDocumentDatesUpdate",""],[1,"form_box","gridrow",2,"width","500px"],["lblZ690_Copy",""],["lblLabel23_update",""],["formControlName","cmbSignatureType_update","vsfKeyTabSelectItems","KtSignatureType",1,"",3,"vsfDisabled","vsfKeyTabFilter"],["cmbSignatureType_update",""],["lblZ183Edit_Copy",""],["lblZ183NoticeDateEdit_Copy",""],["formControlName","txtZ183NoticeDateEdit","vsfFormat","date",1,"pflichtfeld",3,"vsfDisabled","vsfShowDefaultPatternPlaceholder","change"],["txtZ183NoticeDateEdit",""],["lblEditZ691",""],["lblEditOutboxDate_Copy",""],[1,"gridcell",2,"height","100%","flex","55 55 0px"],["formControlName","cmbSignatureTypeUpdate","vsfLabelField","label",1,"autolookup",3,"vsfCallback","vsfDisabled","vsfDropDown","vsfForceSelection","vsfMinLength","vsfMultipleSelection","vsfScrollHeight","change","click"],["cmbSignatureTypeUpdate",""],["btnSave",""],["btnCancelEditDocumentDatesUpdate",""],["formGroupName","fldDocuments","vsfName","fldDocuments",3,"vsfOpen","vsfToggable"],["fldDocuments",""],[1,"p_fieldset_custom_legend_content"],[1,"h2HeaderFieldset"],["disDokumente",""],["class","bold",3,"id",4,"ngIf"],["formGroupName","tblDocumentList2","vsfName","tblDocumentList2",3,"vsfArrayTable","vsfEmptyMessage","vsfKeyGenerator","vsfReorderableColumns","vsfResizableColumns","vsfResponsive"],["tblDocumentList2",""],["attribute","documentType","colId","0","width","16%",3,"label"],["vsfTableColumnLabel",""],["vsfTableColumnRow",""],["attribute","documentDate","colId","1","width","16%",3,"label"],["attribute","postalDate","colId","2","width","16%",3,"label"],["attribute","notificationDate","colId","3","width","16%",3,"label"],["attribute","noticeDate","colId","4","width","16%",3,"label"],["attribute","signatureType","colId","5","width","16%",3,"label"],["attribute","editInfo","colId","6","width","10%"],["attribute","uploadDocs","colId","7","width","10%"],[1,"space_top_small","gridrow"],["vsfStyleClass","button","vsfType","button",3,"vsfLabel","vsfClick",4,"ngIf"],["vsfStyleClass","button","vsfType","button",3,"vsfDisabled","vsfLabel","vsfClick",4,"ngIf"],[1,"bold",3,"id"],["lblLabel14",""],["lblZ121",""],["lblDocumentType",""],["vsfStyleClass","fas fa-exclamation-triangle fleft",3,"vsfAriaLabel","vsfLabel","vsfTitle","vsfClick",4,"ngIf"],[3,"vsfLabel","vsfTitle","vsfClick"],["lnkHyperlink",""],["vsfStyleClass","fas fa-exclamation-triangle fleft",3,"vsfAriaLabel","vsfLabel","vsfTitle","vsfClick"],["lnkEditDocument_test",""],["lblZ97",""],["lblLabel6",""],["disZ97DocumentDate",""],["lblZ96",""],["lblOutboxDate",""],["disZ96OutboxDate",""],["lblZ119",""],["lbNotificationDate",""],["disZ119NotificationDate",""],["lblZ183",""],["lblZ183NoticeDate",""],["disZ183NoticeDate",""],["lblZ369",""],["lblSignatureType",""],["disSignatureType",""],["vsfStyleClass","fa fa-pencil-alt center-link-in-table-cell",3,"vsfAriaLabel","vsfDisabled","vsfLabel","vsfClick",4,"ngIf"],["vsfStyleClass","fa fa-pencil-alt center-link-in-table-cell",3,"vsfAriaLabel","vsfDisabled","vsfLabel","vsfClick"],["lnkEditDocument",""],["vsfStyleClass","fa fa-upload center-link-in-table-cell",3,"tooltipPosition","vsfAriaLabel","vsfDisabled","vsfTitle","vsfTooltip","vsfClick",4,"ngIf"],["vsfStyleClass","fa fa-tras
1h center-link-in-table-cell",3,"tooltipPosition","vsfAriaLabel","vsfDisabled","vsfTitle","vsfTooltip","vsfClick",4,"ngIf"],["vsfStyleClass","fa fa-upload center-link-in-table-cell",3,"tooltipPosition","vsfAriaLabel","vsfDisabled","vsfTitle","vsfTooltip","vsfClick"],["lnkUploadSignedDocument",""],["lnkUploadSignedDocumentUpdate",""],["vsfStyleClass","fa fa-trash center-link-in-table-cell",3,"tooltipPosition","vsfAriaLabel","vsfDisabled","vsfTitle","vsfTooltip","vsfClick"],["lnkDeleteSignedDocument",""],["btnDocumentPreview",""],["vsfStyleClass","button","vsfType","button",3,"vsfDisabled","vsfLabel","vsfClick"],["btnBekanntgabedokument",""],["formGroupName","fldReviewNoteAttachments","vsfName","fldReviewNoteAttachments",3,"vsfOpen","vsfToggable"],["fldReviewNoteAttachments",""],[1,"h2HeaderFieldset",3,"id","title"],["lblReviewNoteAttachments",""],["formGroupName","tblReviewNoteAttachments","vsfName","tblReviewNoteAttachments",3,"vsfArrayTable","vsfEmptyMessage","vsfKeyGenerator","vsfPrefilterValue","vsfReorderableColumns","vsfResizableColumns","vsfResponsive"],["tblReviewNoteAttachments",""],["colId","0","width","16%",3,"label"],["lblReviewNoteAttachmentTitle",""],[3,"vsfLabel","vsfClick"],["lnkDownloadReviewNoteAttachment",""],["formGroupName","fldDocumentNotificationHistory","vsfName","fldDocumentNotificationHistory",3,"vsfLegend","vsfOpen","vsfToggable"],["fldDocumentNotificationHistory",""],["formGroupName","tblTablelist","vsfName","tblTablelist",3,"vsfArrayTable","vsfKeyGenerator","vsfReorderableColumns","vsfResizableColumns","vsfResponsive"],["tblTablelist",""],["colId","0","width","14%",3,"label"],["colId","1","label","Z542","width","14%"],["colId","2","width","14%",3,"label"],["colId","3","width","14%",3,"label"],["colId","4","width","14%",3,"label"],["colId","5","width","14%",3,"label"],["colId","6","width","14%",3,"label"],["colId","7","width","35px"],["lblLabel4",""],["lblZ541field",""],["formArrayName","rows"],[3,"formGroupName","vsfKey"],["class","","formControlName","cmbZ541Status","vsfKeyTabSelectItems","KtNotificationStatus",3,"vsfDisabled",4,"ngIf"],["class","","formControlName","cmbZ541StatusFiltered","vsfKeyTabSelectItems","KtNotificationStatus",3,"vsfKeyTabFilter",4,"ngIf"],["formControlName","cmbZ541Status","vsfKeyTabSelectItems","KtNotificationStatus",1,"",3,"vsfDisabled"],["cmbZ541Status",""],["formControlName","cmbZ541StatusFiltered","vsfKeyTabSelectItems","KtNotificationStatus",1,"",3,"vsfKeyTabFilter"],["cmbZ541StatusFiltered",""],["Z542",""],["lblLabel7",""],["formControlName","cmbZ542Type","vsfKeyTabSelectItems","KtNotificationType",1,"",3,"vsfDisabled"],["cmbZ542Type",""],["lblLabel",""],["lblLabel2",""],["formControlName","txtZ96Outbox","vsfFormat","date",3,"vsfDisabled","vsfShowDefaultPatternPlaceholder","change"],["txtZ96Outbox",""],["lblLabel13",""],["lblLabel12",""],["formControlName","txtZ119NoticeDate","vsfFormat","date",3,"vsfDisabled","vsfShowDefaultPatternPlaceholder"],["txtZ119NoticeDate",""],["lblLabel3",""],["lblLabel5",""],["formControlName","txtZ544Note",3,"vsfDisabled","vsfMaxCharForRemainingDisplay"],["txtZ544Note",""],["lblLabel9",""],["lblLabel8",""],["formControlName","txtZ540Opening","vsfFormat","date",3,"vsfDisabled","vsfShowDefaultPatternPlaceholder"],["txtZ540Opening",""],["lblLabel11",""],["lblLabel10",""],["disDisplayfield",""],["vsfStyleClass","fas fa-save center-link-in-table-cell",3,"vsfAriaLabel","vsfLabel","vsfTitle","vsfClick",4,"ngIf"],["vsfStyleClass","fas fa-save center-link-in-table-cell",3,"vsfAriaLabel","vsfLabel","vsfTitle","vsfClick"],["lnkEditNotiEntry",""],["btnNewElectronicNotice",""],["btnNewPostal",""],["formGroupName","fldReceiveNotice","vsfName","fldReceiveNotice",3,"vsfLegend","vsfOpen","vsfToggable"],["fldReceiveNotice",""],["lblExternalInfo",""],["class","pamgd_prop_small_width","formControlName","txtTextfield3","vsfFormat","date",3,"vsfShowDefaultPatternPlaceholder",4,"ngIf"],["vsfStyleClass","button","vsfType","button",3,"vsfAriaLabel","vsfDisabled","vsfLabel","vsfTitle","vsfClick",4,"ngIf"],["formGroupName","ctrlNotificationDetailsExternal","vsfStyleClass"," gridrow "],["ctrlNotificationDetail
1sExternal",""],[2,"flex","100 100 0px"],["formGroupName","tblNoticeDetailsExternal","vsfName","tblNoticeDetailsExternal",3,"vsfArrayTable","vsfEmptyMessage","vsfKeyGenerator","vsfReorderableColumns","vsfResizableColumns","vsfResponsive"],["tblNoticeDetailsExternal",""],["colId","0","width","25%",3,"label"],["colId","1","width","25%",3,"label"],["colId","2","width","25%",3,"label"],["colId","3","width","25%",3,"label"],["formControlName","txtTextfield3","vsfFormat","date",1,"pamgd_prop_small_width",3,"vsfShowDefaultPatternPlaceholder"],["txtTextfield3",""],["vsfStyleClass","button","vsfType","button",3,"vsfAriaLabel","vsfDisabled","vsfLabel","vsfTitle","vsfClick"],["btnGetNotice",""],["lblLabel15",""],[3,"vsfAriaLabel","vsfLabel","vsfTitle","vsfClick"],["lnkHyperlink2",""],["lblLabel16",""],["lblLabel17",""],["formControlName","txtTextfield","vsfFormat","date",3,"vsfDisabled","vsfShowDefaultPatternPlaceholder"],["txtTextfield",""],["lblLabel19",""],["lblLabel18",""],["formControlName","txtTextfield2",3,"vsfDisabled"],["txtTextfield2",""],["lblLabel21",""],["lblLabel20",""],["formControlName","cmbZ541StatusExternal","vsfKeyTabSelectItems","KtNotificationStatus",1,"",3,"vsfDisabled"],["cmbZ541StatusExternal",""],["vsfStyleClass","pamgd_block",3,"additionalAttributes","vsfLabel","vsfClick"],["lnkDocumentPreview",""],["lblUploadSignedDocument",""],["formControlName","uplSignedDocuments","vsfAccept","application/pdf",1,"pamgd_inlineBlock",3,"vsfBindingType","vsfMaxFileSize","vsfMultiple"],["uplSignedDocuments",""],["lblZ183Edit_Copy_Copy",""],["lblZ183NoticeDateEdit",""],["formControlName","txtZ183NoticeDateEdit_copy","vsfFormat","date",1,"pflichtfeld",3,"vsfShowDefaultPatternPlaceholder"],["txtZ183NoticeDateEdit_copy",""],["lblEditZ691_Copy",""],["lblEditOutboxDate_Copy_Copy",""],["formControlName","txtSignatories","vsfLabelField","label",1,"autolookup","&&","pflichtfeld",3,"vsfCallback","vsfDropDown","vsfForceSelection","vsfMinLength","vsfMultipleSelection","vsfScrollHeight","change","click"],["txtSignatories",""],["btnUploadSignedDocumentOverlay",""],["btnAddDocument",""],["vsfType","button",3,"vsfLabel","vsfClick"],["btnButton",""],[1,"error",3,"id"],["errorDateNull",""]],template:function(e,a){1&e&&(t._uU(0,"\n"),t.YNc(1,We,341,142,"ng-container",0),t._uU(2,"\n")),2&e&&(t.xp6(1),t.Q6J("ngIf",null!=(null==a.vsfForm?null:a.vsfForm.context)))},dependencies:[Y.r,ft.q,I.D,I.Q,R.a,mt.e,l.L,h.K,P.t,$.m,X.i,K.QK,G.uV,G.lp,_t.B,T.N,K.Yw,tt.B,et.m,A.O5,F.JJ,F.JL,F.sg,F.u,F.x0,F.CE,K.hc,K.Yu,it.R,nt.v,ot.a,Dt.dB,Ut.z,At.H,A.Ov,A.uU,K.kl,vt.U$,st.Z8,st.Xd,st.wE,st.Tj,vt.ac,xt.R,Tt.X],encapsulation:2,changeDetection:0})},79460:(J,Z,r)=>{r.d(Z,{Eb:()=>ut,e_:()=>Y,yT:()=>ft});var b=r(98452),N=r(96284),x=r(7839),y=r(21604),U=r(24006),_=r(82649),p=r(182),u=r(39481),m=r(26823),f=r(82594),d=r(89556),O=r(3826),q=r(58962),g=r(69362),v=r(87861),A=r(25539),S=r(58505),B=r(71858),rt=r(74980),Q=r(48761),t=r(64709),V=r(82484),j=r(10805),lt=r(32137),w=r(61135),C=r(39646),ct=r(39841),L=r(78372),M=r(63900),H=r(94650);const ut=[u.r,m.q,lt.D,q.a,f.e,v.L,B.K,g.t,A.m,rt.i,_.QK,Q.uV,x.B,t.N,_.Yw,d.B,y.m,O.U$,S.R,V.X],R=class extends _.v2{constructor(l){super(l),this.isIntern$=new w.X(void 0),this.boActivityOperation$=new w.X(void 0),this.reloadPageCallback$=new w.X(null),this.canEdit$=new w.X(void 0),this.beforeStoreEmitter$=new w.X(null),this.z415State$=new w.X(null),this.isCounselor$=new w.X(null),this.knownLocalContextObjectNames=["isIntern","boActivityOperation","selectedItemToEdit","documentPreviewList","canUserUploadSignedDocument","canUserDeleteSignedDocument","operationOfficialDocuments","reloadPageCallback","canEdit","documentNotificationHistory","recentDocument","indexToEdit","notiItemToEdit","labelExternalInfo","labelNoticeTypeInternal","useElectronicNotice","openNotificationExists","hasOpenElectronicNotice","canOpenElectronicNotice","labelButtonRetrieveTooltip","lastEntry","noticeWasOpenend","isFinished","deadlineElectronicRetrieve","showButtonNewPostal","showButtonNewElectronic","showNotificationArea","canSendBescheide","beforeStoreEmitter","z415State","canUploadNotificationDocument","isCounselor","lst","reassignUserList","reassignUser","underwriterList","initialValueSignatureType","z183isnull","disableZ690","isCurrentEditor","lastSignInUser","initialDocumentId"],this.generateTblDocumentList2RowKey=(new I).generateTblDocumentList2RowKey,this.generateTblReviewNoteAttachmentsRowKey=(new I).generateTblReviewNoteAttachmentsRowKey,this.generateTblTablelistRowKey=(new I).generateTblTablelistRowKey,this.generateTblNoticeDetailsExternalRowKey=(new I).generateTblNoticeDetailsExternalRowKey,this.generateTblDocumentPreviewListRowKey=(new I).generateTblDocumentPreviewListRowKey,this.appMsgService=this.injector.get(N.g),this.confirmationService=l.get(j.YP),this.dateToDatetimeConverterService=l.get(b.DateToDatetimeConverterService),this.controlContainer=l.get(U.x0);const h=this.isIntern$.pipe((0,L.b)(50),(0,M.w)(T=>void 0!==T?this.loadDataByParamIsIntern(T):(0,C.of)(void 0))),P=this.boActivityOperation$.pipe((0,L.b)(50),(0,M.w)(T=>void 0!==T?this.loadDataByParamBoActivityOperation(T):(0,C.of)(void 0))),$=this.reloadPageCallback$.pipe((0,L.b)(50),(0,M.w)(T=>void 0!==T?this.loadDataByParamReloadPageCallback(T):(0,C.of)(void 0))),X=this.canEdit$.pipe((0,L.b)(50),(0,M.w)(T=>void 0!==T?this.loadDataByParamCanEdit(T):(0,C.of)(void 0))),K=this.beforeStoreEmitter$.pipe((0,L.b)(50),(0,M.w)(T=>void 0!==T?this.loadDataByParamBeforeStoreEmitter(T):(0,C.of)(void 0))),G=this.z415State$.pipe((0,L.b)(50),(0,M.w)(T=>void 0!==T?this.loadDataByParamZ415State(T):(0,C.of)(void 0))),_t=this.isCounselor$.pipe((0,L.b)(50),(0,M.w)(T=>void 0!==T?this.loadDataByParamIsCounselor(T):(0,C.of)(void 0)));this.subscriptions.push((0,ct.a)([h,P,$,X,K,G,_t]).subscribe(([T,tt,et,F,it,nt,ot])=>{void 0!==T&&void 0!==tt&&void 0!==et&&void 0!==F&&void 0!==it&&void 0!==nt&&void 0!==ot&&this.initByInputParamsAndLoadedData(T,tt,et,F,it,nt,ot)},T=>{this.handleLoadDataError(T)}))}set isIntern(l){this.isIntern$.next(l)}get isIntern(){return this.isIntern$.value}loadDataByParamIsIntern(l){return(0,C.of)(null)}set boActivityOperation(l){this.boActivityOperation$.next(l)}get boActivityOperation(){return this.boActivityOperation$.value}loadDataByParamBoActivityOperation(l){return(0,C.of)(null)}set reloadPageCallback(l){this.reloadPageCallback$.next(l)}get reloadPageCallback(){return this.reloadPageCallback$.value}loadDataByParamReloadPageCallback(l){return(0,C.of)(null)}set canEdit(l){this.canEdit$.next(l)}get canEdit(){return this.canEdit$.value}loadDataByParamCanEdit(l){return(0,C.of)(null)}set beforeStoreEmitter(l){this.beforeStoreEmitter$.next(l)}get beforeStoreEmitter(){return this.beforeStoreEmitter$.value}loadDataByParamBeforeStoreEmitter(l){return(0,C.of)(null)}set z415State(l){this.z415State$.next(l)}get z415State(){return this.z415State$.value}loadDataByParamZ415State(l){return(0,C.of)(null)}set isCounselor(l){this.isCounselor$.next(l)}get isCounselor(){return this.isCounselor$.value}loadDataByParamIsCounselor(l){return(0,C.of)(null)}initByInputParamsAndLoadedData(l,h,P,$,X,K,G){}handleLoadDataError(l){throw this.loggingService.logDebug("An error happend by processing loadD
1ataByParam methods, implement proper error handling in handleLoadDataError method in dialog component for SDlgNoticeProvider"),l}triggerPopupConfirmDeleteSignedDocument(l,h){this.confirmationService.confirm({key:"confirmDeleteSignedDocument_"+(this.controlContainer.name||""),accept:()=>{null!=l?l():this.executeCallbackAndCheckBlockUi(window.event,()=>this.deleteSignedDocument())},reject:()=>{h?.()}})}deleteSignedDocument(){}triggerPopupConfirmClosingPostalNotice(l,h){this.confirmationService.confirm({key:"confirmClosingPostalNotice_"+(this.controlContainer.name||""),accept:()=>{l?.()},reject:()=>{h?.()}})}triggerPopupConfirmRetrievingElectronicNotice(l,h){this.confirmationService.confirm({key:"confirmRetrievingElectronicNotice_"+(this.controlContainer.name||""),accept:()=>{null!=l?l():this.executeCallbackAndCheckBlockUi(window.event,()=>this.doRetrieveNotice())},reject:()=>{h?.()}})}doRetrieveNotice(){}triggerPopupConfirmNewElectronicNotification(l,h){this.confirmationService.confirm({key:"confirmNewElectronicNotification_"+(this.controlContainer.name||""),accept:()=>{null!=l?l():this.executeCallbackAndCheckBlockUi(window.event,()=>this.newElectronicNoticeAction())},reject:()=>{h?.()}})}newElectronicNoticeAction(){}triggerPopupConfirmNewPostalNotification(l,h){this.confirmationService.confirm({key:"confirmNewPostalNotification_"+(this.controlContainer.name||""),accept:()=>{null!=l?l():this.executeCallbackAndCheckBlockUi(window.event,()=>this.newPostalAction())},reject:()=>{h?.()}})}newPostalAction(){}lnkEditDocument_testAction(){}lnkHyperlinkAction(l){}lnkEditDocumentAction(l,h,P){this.selectedItemToEdit=l,this.vsfForm.controls.txtZ119NotificationDate.enable(),this.vsfForm.controls.txtZ96OutboxDate.enable(),this.mapContextToForm(),P.show(h)}lnkUploadSignedDocumentAction(l,h,P){this.selectedItemToEdit=l,P.show(h)}lnkUploadSignedDocumentUpdateAction(l,h,P){this.selectedItemToEdit=l,P.show(h)}lnkDeleteSignedDocumentAction(l){this.selectedItemToEdit=l,this.triggerPopupConfirmDeleteSignedDocument()}btnDocumentPreviewAction(l,h){h.show(l)}btnBekanntgabedokumentAction(l,h){h.show(l)}lnkDownloadReviewNoteAttachmentAction(l){}filterKtNotificationStatus(l){return!0}txtZ96OutboxChange(l,h,P){}lnkEditNotiEntryAction(l,h){}btnNewElectronicNoticeAction(){this.triggerPopupConfirmNewElectronicNotification()}btnNewPostalAction(){this.triggerPopupConfirmNewPostalNotification()}btnGetNoticeAction(){this.triggerPopupConfirmRetrievingElectronicNotice()}lnkHyperlink2Action(){}btnSave1Action(l,h){}btnCancelSaveDocumentAction(l){}lnkDocumentPreviewAction(l){}btnCancelPreviewAction(l){}filterSignatureTypeForInternalUsers(l){return!0}txtSignatoriesChange(l,h){h.show(l)}txtSignatoriesClick(l,h){h.show(l)}fetchAndLogUsersWithB14Right(l,h){}btnUploadSignedDocumentOverlayAction(l,h){h.hide(l)}btnAddDocumentAction(l,h){h.hide(l)}btnCancelUploadDocumentAction(l,h){h.hide(l)}btnUpdateToPostalNoticeAction(l,h){h.hide(l)}btnUpdateToElectronicNoticeAction(l,h){h.hide(l)}btnCloseUpdateNoticeDocAction(l,h){h.hide(l)}btnButtonAction(){}txtZ183NoticeDateEditChange(l){}cmbSignatureTypeUpdateChange(l){}cmbSignatureTypeUpdateClick(l,h){h.show(l)}btnSaveAction(l,h,P){P.hide(h)}btnCancelEditDocumentDatesUpdateAction(l,h){h.hide(l)}};let Y=R;function ft(){return new _.TH({fldDocuments:new f.t({tblDocumentList2:new p.iy({filter:new _._Z({})},{state:{filters:[]}})}),fldReviewNoteAttachments:new f.t({tblReviewNoteAttachments:new p.iy({filter:new _._Z({preFilterKtDocumentTypeBaseBaseId:new _.H0("",{ignoreDirty:!0,ignoreDisable:!0})})},{state:{filters:[{column:"ktDocumentTypeBase.baseId",control:"preFilterKtDocumentTypeBaseBaseId",filtering:"EQUALS"}]}})}),fldDocumentNotificationHistory:new f.t({tblTablelist:new p.iy({filter:new _._Z({}),rows:new _.dn([],{mapping:"documentNotificationHistory",keyGenerator:(new I).generateTblTablelistRowKey,creator:()=>new _.d6({cmbZ541Status:new _.H0(null,{mapping:"item.ktNotificationStatusBase"}),cmbZ541StatusFiltered:new _.H0(null,{mapping:"item.ktNotificationStatusBase"}),cmbZ542Type:new _.H0(null,{mapping:"item.ktNotificationTypeBase"}),txtZ96Outbox:new _.H0("",{mappingConverter:_.VR.customService("dateToDatetimeConverterService"),mapping:"item.z96OutboxDate"}),txtZ119NoticeDate:new _.H0("",{mappingConverter:_.VR.customService("dateToDatetimeConverterService"),mapping:"item.z119NotificationDate"}
1),txtZ544Note:new _.H0("",{validators:[U.kI.maxLength(2e3)],mapping:"item.z544DelayedNotice"}),txtZ540Opening:new _.H0("",{mapping:"item.z540AccessingDate"})})})},{state:{filters:[]}})}),fldReceiveNotice:new f.t({txtTextfield3:new _.H0("",{mapping:"deadlineElectronicRetrieve"}),ctrlNotificationDetailsExternal:new q.d({tblNoticeDetailsExternal:new p.iy({filter:new _._Z({}),rows:new _.dn([],{mapping:"lastEntry",keyGenerator:(new I).generateTblNoticeDetailsExternalRowKey,creator:()=>new _.d6({txtTextfield:new _.H0("",{mapping:"item.z540AccessingDate"}),txtTextfield2:new _.H0("",{mapping:"item.user.z85Username"}),cmbZ541StatusExternal:new _.H0(null,{mapping:"item.ktNotificationStatusBase"})})})},{state:{filters:[]}})})}),txtZ119NotificationDate:new _.H0("",{mapping:"selectedItemToEdit.z119NotificationDate"}),txtZ96OutboxDate:new _.H0("",{mapping:"selectedItemToEdit.z96OutboxDate"}),txtZ183NoticeDateEdit1:new _.H0("",{mapping:"selectedItemToEdit.z183NoticeDate"}),tblDocumentPreviewList:new _.dn([],{mapping:"documentPreviewList",keyGenerator:(new I).generateTblDocumentPreviewListRowKey,creator:()=>new _.d6({})}),cmbSignatureType:new _.H0(null,{}),uplSignedDocuments:new _.H0(null,{}),txtZ183NoticeDateEdit_copy:new _.H0("",{mapping:"selectedItemToEdit.z183NoticeDate"}),txtSignatories:new _.H0("",{}),uplNoticeUpdade:new _.H0(null,{}),cmbSignatureType_update:new _.H0(null,{}),txtZ183NoticeDateEdit:new _.H0("",{mapping:"selectedItemToEdit.z183NoticeDate"}),cmbSignatureTypeUpdate:new _.H0("",{})},{dialogName:"SDlgNoticeProvider"})}R.\u0275fac=function(h){return new(h||R)(H.Y36(H.zs3))},R.\u0275dir=H.lG2({type:R,inputs:{isIntern:"isIntern",boActivityOperation:"boActivityOperation",reloadPageCallback:"reloadPageCallback",canEdit:"canEdit",beforeStoreEmitter:"beforeStoreEmitter",z415State:"z415State",isCounselor:"isCounselor"},features:[H.qOj]});class I{generateTblDocumentList2RowKey(l){return null==l.id?(_.ed.staticlogger.logDebug("PROBLEM: no id Attribute on table row data (type OperationOfficialDocument) found in default keygenerator implementation. Overwrite keygenerator -generateTblDocumentList2RowKey- in dialog component subclass to implement returning a proper ID per data row there. Otherwise certain aspects of table like expansion row handling may not work properly!JSON.stringify(item) is used as fallback now to generate unique row key.",!0),JSON.stringify(l)):""+l.id}generateTblReviewNoteAttachmentsRowKey(l){return null==l.id?(_.ed.staticlogger.logDebug("PROBLEM: no id Attribute on table row data (type OperationOfficialDocument) found in default keygenerator implementation. Overwrite keygenerator -generateTblReviewNoteAttachmentsRowKey- in dialog component subclass to implement returning a proper ID per data row there. Otherwise certain aspects of table like expansion row handling may not work properly!JSON.stringify(item) is used as fallback now to generate unique row key.",!0),JSON.stringify(l)):""+l.id}generateTblTablelistRowKey(l){return null==l.id?(_.ed.staticlogger.logDebug("PROBLEM: no id Attribute on table row data (type DocumentNotificationHistory) found in default keygenerator implementation. Overwrite keygenerator -generateTblTablelistRowKey- in dialog component subclass to implement returning a proper ID per data row there. Otherwise certain aspects of table like expansion row handling may not work properly!JSON.stringify(item) is used as fallback now to generate unique row key.",!0),JSON.stringify(l)):""+l.id}generateTblNoticeDetailsExternalRowKey(l){return null==l.id?(_.ed.staticlogger.logDebug("PROBLEM: no id Attribute on table row data (type DocumentNotificationHistory) found in default keygenerator implementation. Overwrite keygenerator -generateTblNoticeDetailsExternalRowKey- in dialog component subclass to implement returning a proper ID per data row there. Otherwise certain aspects of table like expansion row handling may not work properly!JSON.stringify(item) is used as fallback now to generate unique row key.",!0),JSON.stringify(l)):""+l.id}generateTblDocumentPreviewListRowKey(l){return null==l.id?(_.ed.staticlogger.logDebug("PROBLEM: no id Attribute on table row data (type any) found in default keygenerator implementation. Overwrite keygenerator -generateTblDocumentPreviewListRowKey- in dialog component subclass to implement returning a proper ID per data row there. Otherwise certain aspects of table like expansion row handling may not work properly!JSON.stringify(item) is used as fallback now to generate unique row key.",!0),JSON.stringify(l)):""+l.id}}}}]);
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.