(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["insurance-detail","FondsVergleich~RetirementScenario~TarifdatenVorgabe~Vergleichsrechner~allekundenwertpapiere~anlageem~9d337095","FondsVergleich~RetirementScenario~TarifdatenVorgabe~Vergleichsrechner~allekundenwertpapiere~anlageem~86436414","AnlageempfehlungMail~Anmerkungen~AnsprechpartnerMail~AntragMail~AppointmentMail~BeratungsmappenMail~~e9a6ab7d","chunk-4bf3d0a6","chunk-5d32af79","AbschlussPortale~Anmerkungen~EditBeratung~Vergleichsrechner~deckblat~fahrzeugdaten~insurance-deeplin~c901a262","RetirementScenario~TarifdatenVorgabe~configuration~customer-data~dynamic-documents-edit~fondsinfo~ge~119c91d7","Appointment~Spar-/Entnahmepläne~activities-termine~beteiligungen~sprod-weitere-vermoegen-search~vers~de5b4387","bipro~eingegangeneDokumentePruefung~mrmoney~suitabilityTest","chunk-c0f26dd2","Aenderungslog","fahrzeugdaten","chunk-6c45befd","chunk-5caf3008","chunk-2d0ab6e8"],{"0121":function(e,t,n){"use strict";n("7ea3")},"037c":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Table",{attrs:{tableId:"579b1932-470b-4522-8482-1266152082a3",tableData:e.tableData,cardViewEnabled:!1,filterEnabled:!1,exportEnabled:!1,paginationEnabled:!1,rowsPerPage:e.tableData.records.length}})},i=[],s=(n("d81d"),n("e260"),n("d3b7"),n("ddb0"),n("13d5"),n("22de")),r={props:{depotPositions:{type:Object,default:function(){return{}}}},computed:{headers:function(){var e,t=(null===(e=this.depotPositions)||void 0===e?void 0:e.headers)||[];return t.reduce((function(e,t){return t.visible=!0,t.sortable=!0,e[t.key]=t,e}),{})},records:function(){var e,t,n=(null===(e=this.depotPositions)||void 0===e?void 0:e.headers)||[],a=(null===(t=this.depotPositions)||void 0===t?void 0:t.records)||[];return a.map((function(e){var t=(null===e||void 0===e?void 0:e.values)||[];return t.reduce((function(e,t,a){return e[n[a].key]=t,e}),{})}))},tableData:function(){return{headers:this.headers,records:this.records}}},components:{Table:s["a"]}},o=r,l=n("2877"),c=Object(l["a"])(o,a,i,!1,null,null,null);t["a"]=c.exports},"066f":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.renderComponent?n("div",{staticClass:"container"},[e._l(e.stepsComputed,(function(t,a){return n("div",{key:"nav"+a+e.lastUpdated,staticClass:"stepper-row"},[n("div",{staticClass:"box__container"},[n("div",{staticClass:"stepper-section",on:{click:function(n){return e.onClickStep(t.stepKey)}}},[e.getSubsteps(t).length<=1?n("div",{staticClass:"stepper-section__arrow"},[n("PhCaretRight",{attrs:{size:20}})],1):e._e(),n("div",{staticClass:"stepper-section__label"},["default"===e.stepperStatus(t)?n("ph-circle",{staticClass:"color-primary status__icon",attrs:{size:16}}):"success"===e.stepperStatus(t)?n("ph-check-circle",{staticClass:"color-success status__icon",attrs:{size:16}}):"warning"===e.stepperStatus(t)?n("ph-warning-circle",{staticClass:"color-danger status__icon",attrs:{size:16}}):e._e(),n("div",{class:["clickable",{"font-bold":e.selectedStepKey==t.stepKey},{"substep-sm":e.isMobileNativeContext}],domProps:{innerHTML:e._s(e.sanitize(t.label))}})],1)]),e.getSubsteps(t).length>1?e._l(e.getSubsteps(t),(function(i,s){return n("span",{key:"sub"+s+e.lastUpdated,staticClass:"stepper-substep",on:{click:function(n){return e.onClickSubstep(t.stepKey,i.substepKey)}}},[n("div",{staticClass:"line-separator-substeps",class:["clickable",{"font-bold":e.selectedSubstepKey==i.stepKey},{"substep-sm":e.isMobileNativeContext}]},[e.showLastSubstep(a,t)&&!i.hidden?n("div",{staticClass:"substep-label",class:{"substep-label__warning":e.hasSubstepWarning(i)}},[e.hasSubstepWarning(i)?n("ph-warning-circle",{staticClass:"color-danger substep-warning__icon",attrs:{size:12}}):e._e(),n("span",{domProps:{innerHTML:e._s(e.sanitize(i.title))}})],1):e._e(),n("span",{staticClass:"substep-arrow",class:["btn-clear","d-block","d-lg-none"],attrs:{type:"button"}},[n("PhCaretRight",{attrs:{size:20}})],1)])])})):e._e()],2)])}))],2):e._e()])},i=[],s=n("5530"),r=(n("7db0"),n("c740"),n("99af"),n("9911"),n("bb48")),o=n("c0a4"),l=n("c1a1"),c=n("5c70"),d=n("b20b"),u=n("e029"),p=n("e008"),h=n("2f62"),f=n("2684"),m={mixins:[u["a"]],props:{steps:{type:Array,default:function(){return[]}},currentStep:{type:Object,default:function(){return{}}},stepperName:{type:String,default:""},stepType:{type:String,default:"step"},selectedStepKey:{type:String,default:""},visible:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},disabledUpdate:{type:Boolean,default:!1},stepperService:{default:function(){return null}},antragData:{},selectedSubstepKey:{type:String,default:""},collapsed:{type:Boolean,default:!1},isCurrent:{type:Boolean,default:!1}},data:function(){return{subs:[],stepsComputed:[],renderComponent:!0,lastUpdated:Date.now()}},watch:{steps:function(){this.updateSteps()},currentStep:function(e){e.step&&this.progress(e.step.stepKey),this.updateSteps()},selectedStepKey:{handler:function(e){this.progress(e),this.updateSteps()},immediate:!0},"stepperService.stepListSource":{handler:function(){this.updateSteps()}},stepperService:function(){this.updateSteps()},antragData:function(){this.updateSteps()}},mounted:function(){this.updateSteps(),this.currentStep.step&&this.progress(this.currentStep.step.stepKey)},computed:Object(s["a"])(Object(s["a"])({},Object(h["b"])({isMobileNativeContext:f["default"].GETTERS.IS_MOBILE_NATIVE_CONTEXT})),{},{getSelectedStepLabel:function(){var e=this;if(!this.stepperService)return"";if(this.selectedStepKey){var t,n,a=this.stepperService.getCurrentStep(this.selectedStepKey);return this.selectedSubstepKey?(null===a||void 0===a||null===(t=a.substeps)||void 0===t||null===(n=t.find((function(t){return t.substepKey===e.selectedSubstepKey})))||void 0===n?void 0:n.title)||"":(null===a||void 0===a?void 0:a.label)||""}return this.stepperService.currentStep&&this.stepperService.currentStep.label?this.stepperService.currentStep.label:this.stepperService.getFirstStep().label},percentage:function(){var e=this.stepsComputed.findIndex((function(e){return e.current}));return(e+1)/this.stepsComputed.length*100},labelProgress:function(){var e=this.stepsComputed.findIndex((function(e){return e.current}));return"".concat(e+1," / ").concat(this.stepsComputed.length)}}),methods:{sanitize:function(e){return Object(d["b"])(e)},updateSteps:function(){var e=this.stepperService.getCurrentStepList(),t=Object(l["e"])(e,this.antragData);this.stepsComputed=t,this.lastUpdated=Date.now(),this.forceRerender()},forceRerender:function(){var e=this;this.renderComponent=!1,this.$nextTick().then((function(){e.renderComponent=!0}))},isActive:function(e){return this.currentStep&&this.currentStep.step.stepKey===e},isLastStep:function(e){return this.steps.length-1===e},subscribeToCurrentStepperList:function(){if(!this.stepperService)return"";this.stepsComputed=this.stepperService.getCurrentStepList()},progress:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.stepperService){if(this.stepperService.progress(e,t,this.disabledUpdate),this.stepperService.currentStep){this.stepperService.currentStep.actionFunc&&this.stepperService.currentStep.actionFunc();var n=this.stepperService.currentStep.link;n&&n!==this.$route.path&&this.$router.push({path:n})}this.updateSteps()}},onClickSubstep:function(e,t){t&&!this.disabled&&(this.$emit("setSubstep",{stepKey:e,substepKey:t}),this.progress(e,t),this.stepClicked=e)},showLastSubstep:function(e,t){var n,a=e===(null===(n=this.stepsComputed)||void 0===n?void 0:n.length)-1;if(!a)return!0;var i=this.getSubsteps(t);return i.length>0&&i[0].title},onClickStep:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.disabled||(this.$emit("setStep",e,t),this.progress(e,n))},getSubsteps:function(e){var t;return(null===e||void 0===e||null===(t=e.substeps)||void 0===t?void 0:t.length)>0?e.substeps:[{}]},stepperStatus:function(e){var t=this.stepType;return"tab"===t?e.warning?"warning":"default":e.warning?"warning":e.success?"success":"default"},hasSubstepWarning:function(e){return!(null===e||void 0===e||!e.warning)}},components:{BaseDropdownMenu:r["a"],PhCaretDown:o["PhCaretDown"],DoughnutProgress:c["a"],BaseCollapsable:p["a"],PhCaretRight:o["PhCaretRight"],PhCircle:o["PhCircle"],PhCheckCircle:o["PhCheckCircle"],PhWarningCircle:o["PhWarningCircle"]}},b=m,v=(n("5850"),n("2877")),g=Object(v["a"])(b,a,i,!1,null,"d90a9422",null);t["a"]=g.exports},"0772":function(e,t,n){"use strict";n("188f")},"095b":function(e,t,n){"use strict";n("1b74")},"0cc2":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.rowsEmail.length?n("div",{staticClass:"box__container"},[!e.loading&&e.rowsEmail.length?n("Table",{attrs:{tableId:"9e599a44-66b5-4178-8fd7-6a98b658feb0",title:"E-Mails",headers:e.headers,rows:e.rowsEmail,rowId:"rowid",rowsPerPage:30,selected:e.isInsurance?null:e.selectedRowsEmail,exportConfig:{roottext:"Postfach"}},on:{selected:e.selected,"click-Subject":e.clickBetreff,"action-WEITERLEITEN":e.handleActionWeiterleiten,"action-WEITERLEITEN_USER":e.handleActionWeiterleitenUser,"action-WEITERLEITEN_COMPANY":e.handleActionWeiterleitenCompany,"action-DELETE":e.handleActionDelete,"action-KUNDEN_OFFNEN":e.openCustomerNewTab,"click-Name":e.openCustomerNewTab},scopedSlots:e._u([{key:"Subject",fn:function(t){return[e._v(" Von "+e._s(t.FROM)+" an "+e._s(t.TO)+" "),"Schriftverkehr"!==t.category?n("a",{key:"Subject",attrs:{tid:e._generateTidFromString("9e599a44-66b5-4178-8fd7-6a98b658feb0:Subject:"+t.id)},on:{click:function(n){return e.clickBetreff(t)}}},[n("div",{staticClass:"subject-column--content text-cell cell"},[e._v(" "+e._s(t.Subject)+" "),"success"!==t.status&&"Keine Angaben"!==t.status?[n("span",{staticClass:"mx-2"},[e._v(" | ")]),n("ph-warning",{class:"color-"+t.status,attrs:{size:16}})]:e._e()],2)]):n("div",{staticClass:"subject-column--content text-cell cell"},[n("DownloadLink",{attrs:{title:t.Subject,disabled:!t.commId,downloadServicePath:"/get_simple_file",filename:t.Subject.includes(".pdf")?t.Subject:t.Subject+".pdf",queryParams:{fileId:t.commId}}})],1)]}}],null,!1,2134318746)}):e.loading?n("GhostLoading",{attrs:{type:"table",title:"E-Mails"}}):n("NoData",{attrs:{title:"E-Mails"}})],1):e._e(),e.rowsAktivitaet.length?n("div",{staticClass:"box__container"},[!e.loading&&e.rowsAktivitaet.length?n("Table",{attrs:{tableId:"c390bddb-e0b9-49dc-a211-266555a47b94",title:"Aktivitäten",headers:e.headers,rows:e.rowsAktivitaet,rowId:"rowid",rowsPerPage:30,selected:e.isInsurance?null:e.selectedRowsAktivitaet,exportConfig:{roottext:"Postfach"}},on:{selected:e.selected,"click-Subject":e.clickBetreff,"action-WEITERLEITEN":e.handleActionWeiterleiten,"action-WEITERLEITEN_USER":e.handleActionWeiterleitenUser,"action-WEITERLEITEN_COMPANY":e.handleActionWeiterleitenCompany,"action-DELETE":e.handleActionDelete,"action-KUNDEN_OFFNEN":e.openCustomerNewTab,"click-Name":e.openCustomerNewTab},scopedSlots:e._u([{key:"Subject",fn:function(t){return[e._v(" "+e._s(e.getTitleForActivity(t))+" "),"Schriftverkehr"!==t.category?n("a",{key:"Subject",attrs:{tid:e._generateTidFromString("9e599a44-66b5-4178-8fd7-6a98b658feb0:Subject:"+t.id)},on:{click:function(n){return e.clickBetreff(t)}}},[n("div",{staticClass:"subject-column--content text-cell cell"},["Schriftverkehr"!==t.category?n("a",{key:"Subject",attrs:{tid:e._generateTidFromString("9e599a44-66b5-4178-8fd7-6a98b658feb0:Subject:"+t.id)},on:{click:function(n){return e.clickBetreff(t)}}},[e._v(" "+e._s(t.Subject))]):e._e(),"success"!==t.status&&"Keine Angaben"!==t.status?[n("span",{staticClass:"mx-2"},[e._v(" | ")]),n("ph-warning",{class:"color-"+t.status,attrs:{size:16}})]:e._e()],2)]):n("div",{staticClass:"subject-column--content text-cell cell"},[n("DownloadLink",{attrs:{title:t.Subject,disabled:!t.commId,downloadServicePath:"/get_simple_file",filename:t.Subject.includes(".pdf")?t.Subject:t.Subject+".pdf",queryParams:{fileId:t.commId}}})],1)]}}],null,!1,3448474214)}):e.loading?n("GhostLoading",{attrs:{type:"table",title:"Aktivitäten"}}):n("NoData",{attrs:{title:"Aktivitäten"}})],1):e._e(),n("BaseModal",{ref:"confirm",attrs:{modalTitle:e.confirmWarning,labelButtonConfirm:"Ok",labelButtonCancel:"Abbrechen"},on:{onConfirmButton:e.confirmDelete}}),n("BaseModal",{ref:"mailContacts",attrs:{modalTitle:"Kontakte",size:"lg",showCancelButton:!1,labelButtonConfirm:"Auswahl übernehmen"},on:{onConfirmButton:e.confirmContactsToSend}},[n("InsuranceCompanyMailContacts",{attrs:{records:e.mailUsers},on:{selectedRows:e.selectRowsContacts}})],1)],1)},i=[],s=n("5530"),r=(n("4de4"),n("caad"),n("2532"),n("d81d"),n("b0c0"),n("64c5")),o=n("998a"),l=n("de6c"),c=n("41d3"),d=n("2f62"),u=n("689f"),p=n("d53f"),h=n("c0a4"),f=n("a871"),m=n("cee4"),b=n("26b3"),v=(n("9ee4"),n("bc9e")),g=n("6eb5"),E=n("b1a7"),_=(n("5a0c"),n("d7f4")),S=n("7a11"),T=n("b967"),x=n("5a29"),y=n("2841"),k={mixins:[T["a"]],components:{Table:u["a"],PhPaperclip:h["PhPaperclip"],PhPencilLine:h["PhPencilLine"],PhEnvelope:h["PhEnvelope"],PhEnvelopeOpen:h["PhEnvelopeOpen"],PhArrowLeft:h["PhArrowLeft"],PhArrowRight:h["PhArrowRight"],BaseModal:f["a"],AppointmentEditCreate:v["default"],GhostLoading:g["a"],NoData:E["a"],InsuranceCompanyMailContacts:S["a"],DownloadLink:x["default"],PhWarning:h["PhWarning"]},props:{title:{type:String,required:!0},records:{type:Array,default:null},loading:{type:Boolean,default:!1},disabledColumns:{type:Array,default:function(){return[]}},parentId:{type:String},isInsurance:{type:Boolean,default:!1}},computed:Object(s["a"])(Object(s["a"])({},Object(d["b"])({initMailData:_["default"].GETTERS.GET_INIT,isCustomerView:r["default"].GETTERS.IS_CUSTOMER})),{},{headers:function(){var e=this,t=[];return this.isCustomerView?t=[Object(p["SlotColumn"])("Subject","Betreff",200,1).makeAlwaysVisible(),Object(p["DateTimeColumn"])("date","Datum")]:this.rowsEmail.length?t=[Object(p["SlotColumn"])("Subject","Betreff",200,1).makeAlwaysVisible(),Object(p["DateTimeColumn"])("date","Datum"),Object(p["IconColumn"])("statusIcon","Status").setColorFn((function(e){return"color-".concat(e.status.type)})),Object(p["TextColumn"])("EXTERN","Quelle")]:this.rowsAktivitaet.length&&(t=[Object(p["SlotColumn"])("Subject","Betreff",200,1).makeAlwaysVisible(),Object(p["DateTimeColumn"])("date","Datum"),Object(p["PillColumn"])("STATUS","Status"),Object(p["TextColumn"])("EXTERN","Quelle")]),{lockedLeft:t.filter((function(t){return!e.disabledColumns.includes(t.key)})),center:[Object(p["TextColumn"])("name","Name").makeConditionalLink("hasNummer"),Object(p["TextColumn"])("contact","Kontakt")].filter((function(t){return!e.disabledColumns.includes(t.key)})),lockedRight:[Object(p["ActionColumn"])("actions","Aktionen")].filter((function(t){return!e.disabledColumns.includes(t.key)}))}},rows:function(){var e=this;return this.records?this.records.map((function(t){var n=Object(s["a"])({},t),a=Object(s["a"])(Object(s["a"])({},n),{},{rowid:n.commId+n.category+n.date,cat:{label:n.category,type:"default"},Subject:n.subject||"[kein Betreff]",status:n.status,Attachment:n.hasAttachment?[Object(p["Icon"])(h["PhPaperclip"],"Ja",16)]:null,hasNummer:!(null===n||void 0===n||!n.nummer)&&Object(y["f"])(null===n||void 0===n?void 0:n.nummer),actions:e.makeActions(n)});switch(n.STATUS){case"Ok":a.STATUS={label:"versendet",type:"success"};break;case"Error":a.STATUS={label:"senden fehlgeschlagen",type:"danger"};break;case"Sending":a.STATUS={label:"wird versendet",type:"warning"};break;case"Bereitgestellt":a.STATUS={label:"bereitgestellt",type:"success"};break}return null!=n.EXTERN&&(a.EXTERN=n.EXTERN?"extern":"intern"),a})):[]},rowsEmail:function(){return this.rows.filter((function(e){var t;return"E-Mail"==(null===e||void 0===e||null===(t=e.cat)||void 0===t?void 0:t.label)}))},rowsAktivitaet:function(){return this.rows.filter((function(e){var t;return"Aktivität"==(null===e||void 0===e||null===(t=e.cat)||void 0===t?void 0:t.label)}))},currentInsuranceId:function(){return this.$route.params.id||this.parentId}}),data:function(){return{apiAddress:"/MSC3/restful",isTerminModalActivity:!1,confirmWarning:"",confirmRow:{},selectedRowsEmail:[],mailUsers:[],selectedRowsContacts:[],rowSelected:{},insuranceId:""}},mounted:function(){this.insuranceId=this.$route.params.id||this.parentId},watch:{initMailData:function(){var e;this.mailUsers=null===(e=this.initMailData)||void 0===e?void 0:e.participants}},methods:{makeActions:function(e){var t,n,a,i,s=[];"E-Mail"===e.category&&(this.isInsurance||null!==(t=e.subject)&&void 0!==t&&t.toLowerCase().includes("pol.nr.")||null!==(n=e.subject)&&void 0!==n&&n.toLowerCase().includes("pol. nr.")||null!==(a=e.subject)&&void 0!==a&&a.toLowerCase().includes("[[fkv")||null!==(i=e.subject)&&void 0!==i&&i.toLowerCase().includes("{{fkv")?(s.push(Object(p["SimpleAction"])("WEITERLEITEN_COMPANY","PhShare","Weiterleiten an Gesellschaft")),s.push(Object(p["SimpleAction"])("WEITERLEITEN_USER","PhShare","Weiterleiten an Kunde"))):s.push(Object(p["SimpleAction"])("WEITERLEITEN","PhShare","Weiterleiten")));return e.deletable&&s.push(Object(p["SimpleAction"])("DELETE","PhTrash","Löschen")),s},clickBetreff:function(e){if(e.category)switch(e.category){case"Nachricht":this.$router.push({name:"ticket",params:{chatId:parseInt(e.chatId),channelId:parseInt(e.channelId)}});break;case"E-Mail":this.$router.push("/communication/postfach/emails/email/".concat(e.commId));break;case"SMS":this.$router.push("/communication/postfach/smses/sms/".concat(e.commId));break;case"Gespräch":this.$router.push("/communication/postfach/talks/talk/".concat(e.commId));break;case"Bemerkung":this.$router.push("/communication/postfach/bemerkungen/bemerkung/".concat(e.commId));break;case"Fax":this.openFax(e);break;case"Aufgabe":case"Termin":case"Aktivität":this.isTerminModalActivity="Aktivität"==e.category,this.$store.dispatch(c["default"].ACTIONS.RETRIEVE_SELECTED_APPOINTMENT,e.commId),this.openAppointment();break}},openFax:function(e){var t=this;m["a"].post(this.apiAddress+"/../mrsmailviewer",{commId:e.commId,commType:"fax"},{defaultSpinner:!0,responseType:"arraybuffer"}).then((function(e){var n=new Blob([e.data],{type:"application/pdf"}),a=Object(b["e"])();Object(b["g"])(n,a,t.modalViewerService,"Fax.pdf")})).catch((function(e){t.$store.dispatch(l["default"].ACTIONS.ERROR,{message:"error opening Fax",error:e})}))},handleActionWeiterleiten:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mailcomposer-postfach";this.$store.dispatch(o["default"].ACTIONS.LOAD_EMAIL,e.commId).then((function(a){t.$router.push({name:n,params:{subject:"Fwd: "+e.Subject,copiedFiles:a.attachments,content:"<br><br>-------- Weitergeleitete Nachricht --------<br><i><u>Betreff:</u> "+e.Subject+"<br><u>Datum:</u> "+a.dateSend+"<br><u>Von:</u> "+a.fromAddress+"<br><u>An:</u> "+a.toAddress+"</i><br>"+(a.ccAddress?"<u>CC:</u> ".concat(a.ccAddress,"<br>"):"")+a.text}})}))},handleActionWeiterleitenUser:function(e){var t=this;this.$store.commit(_["default"].MUTATIONS.SET_MAILCOMPOSER_CONFIG,{type:"mailcomposer-insurance",action:"clear"}),this.$store.commit(_["default"].MUTATIONS.SET_ATTACHMENTS,{type:"mailcomposer-insurance",action:"clear"}),this.$store.commit(_["default"].MUTATIONS.SET_MAIL_LINKED_OBJECT,{data:[this.currentInsuranceId],toCompany:!1,participants:void 0}),this.$store.dispatch(o["default"].ACTIONS.LOAD_EMAIL,e.commId).then((function(n){t.$router.push({name:"mailcomposer-insurance",params:{subject:"Fwd: "+e.Subject,copiedFiles:n.attachments,content:"<br><br>-------- Weitergeleitete Nachricht --------<br><i><u>Betreff:</u> "+e.Subject+"<br><u>Datum:</u> "+n.dateSend+"<br><u>Von:</u> "+n.fromAddress+"<br><u>An:</u> "+n.toAddress+"</i><br>"+n.text}})}))},handleActionWeiterleitenCompany:function(e){var t=this;this.rowSelected=e,this.isInsurance?this.startCompanySelector(this.currentInsuranceId):m["a"].post(this.apiAddress+"/../mrsmailviewer",{commId:e.commId,commType:"email"},{defaultSpinner:!0}).then((function(n){n.data.insurance?t.startCompanySelector(n.data.insurance):t.handleActionWeiterleiten(e)})).catch((function(e){t.$store.dispatch(l["default"].ACTIONS.ERROR,{message:"Error opening E-Mail",error:e})}))},startCompanySelector:function(e){var t=this;this.insuranceId=e,this.$store.dispatch(_["default"].ACTIONS.GET_INIT,{insurance:e,toCompany:!0}).then((function(e){var n,a,i;null!==e&&void 0!==e&&null!==(n=e.data)&&void 0!==n&&n.participants&&null!==e&&void 0!==e&&null!==(a=e.data)&&void 0!==a&&null!==(i=a.participants)&&void 0!==i&&i.length?t.$refs.mailContacts.open():t.handleActionWeiterleiten(row,"mailcomposer-insurance")}))},confirmContactsToSend:function(){this.$refs.mailContacts.close(),this.sendMailWeiterleitenCompany()},selectRowsContacts:function(e){this.selectedRowsContacts=e},sendMailWeiterleitenCompany:function(){var e=this;this.$store.commit(_["default"].MUTATIONS.SET_ATTACHMENTS,{type:"mailcomposer-insurance",action:"clear"}),this.$store.commit(_["default"].MUTATIONS.SET_MAILCOMPOSER_CONFIG,{type:"mailcomposer-insurance",action:"clear"}),this.$store.commit(_["default"].MUTATIONS.SET_MAIL_LINKED_OBJECT,{data:[this.insuranceId],toCompany:!0,participants:this.selectedRowsContacts||[]});var t=this.isInsurance?this.selectedRowsContacts||[]:null;this.$store.dispatch(o["default"].ACTIONS.LOAD_EMAIL,this.rowSelected.commId).then((function(n){e.$router.push({name:"mailcomposer-insurance",params:{subject:"Fwd: "+e.rowSelected.Subject,copiedFiles:n.attachments,receiver:t,content:"<br><br>-------- Weitergeleitete Nachricht --------<br><i><u>Betreff:</u> "+e.rowSelected.Subject+"<br><u>Datum:</u> "+n.dateSend+"<br><u>Von:</u> "+n.fromAddress+"<br><u>An:</u> "+n.toAddress+"</i><br>"+n.text}})}))},handleActionDelete:function(e){switch(this.confirmRow=e,this.confirmWarning="Soll der Eintrag '"+e.Subject+"' wirklich gelöscht werden?",e.category){case"E-Mail":this.confirmWarning="Soll die E-Mail für Sie gelöscht werden?";break;case"Gespräch":this.confirmWarning="Soll das Gespräch '"+e.Subject+"' gelöscht werden?";break;case"Bemerkung":this.confirmWarning="Soll die Bemerkung '"+e.Subject+"' gelöscht werden?";break;case"Schriftverkehr":this.confirmWarning="Soll der Brief '"+e.Subject+"' gelöscht werden?";break}this.$refs.confirm.open()},confirmDelete:function(){var e=this;this.$store.dispatch(o["default"].ACTIONS.DELETE_FROM_POSTFACH,{id:this.confirmRow.commId,url:this.getUrlForCategory(this.confirmRow)}).then((function(t){e.parentId&&e.$store.dispatch(o["default"].ACTIONS.LOAD_COMMUNICATION_INSURANCE_LISTS,e.parentId)})),this.$refs.confirm.close()},getUrlForCategory:function(e){if(e.category)switch(e.category){case"Schriftverkehr":return"schriftverkehr";case"Nachricht":return"chat";case"E-Mail":return"email";case"SMS":return"sms";case"Gespräch":return"talk";case"Bemerkung":return"bemerkung";case"Fax":return"fax";case"Aufgabe":case"Termin":case"Aktivität":return"termin"}},openAppointment:function(){this.$store.commit(c["default"].MUTATIONS.SET_APPOINTMENT_CONFIG,{title:"".concat(this.isTerminModalActivity?"Aufgabe":"Termin"," bearbeiten"),isActivity:this.isTerminModalActivity,selectedDate:null,back:this.$router.currentRoute.fullPath}),this.$router.push({path:"/communication/appointment"})},selected:function(e){this.selectedRows=e,this.$emit("selected",e)},openCustomerNewTab:function(e){null!==e&&void 0!==e&&e.nummer&&this.$store.dispatch(r["default"].ACTIONS.OPEN_CUSTOMER_NEW_TAB,{customerId:e.nummer})},getTitleForActivity:function(e){var t;if(null!==(t=e.participants)&&void 0!==t&&t.length)return e.participants[0].name}}},I=k,C=(n("c9fa"),n("2877")),A=Object(C["a"])(I,a,i,!1,null,"1651ead6",null);t["a"]=A.exports},"0d91":function(e,t,n){"use strict";n("b7d2")},"0dcd":function(e,t,n){var a=n("89d1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("87b0e6be",a,!0,{sourceMap:!1,shadowMode:!1})},"10e3":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isBrokerOrBypass&&e.canEditAnmerkung?n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("BaseButton",{on:{click:function(t){return e.openAddModal()}}},[e._v("Neue Anmerkung")])],1)]):e._e(),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[e.loading?n("GhostLoading",{attrs:{type:"table"}}):e.rows.length?n("Table",{attrs:{headers:e.headers,rows:e.rows,rowsPerPage:10},on:{"click-betreff":e.openEditModal,"action-EDIT":e.openEditModal,"action-DELETE":e.openDeleteModal}}):n("NoData")],1)]),n("BaseModal",{ref:"anmerkungDataModal",attrs:{modalTitle:"Anmerkung editieren",size:"md",showDefaultButtons:!1},scopedSlots:e._u([{key:"default",fn:function(){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("DatePickerField",{attrs:{isValueAsString:"",label:"Datum",validateUntouched:"",disabled:!e.isBrokerOrBypass||!e.canEditAnmerkung},model:{value:e.form.datum,callback:function(t){e.$set(e.form,"datum",t)},expression:"form.datum"}})],1),n("div",{staticClass:"col-12"},[n("InputField",{attrs:{label:"Erstellt am",disabled:!0},model:{value:e.form.dateCreated,callback:function(t){e.$set(e.form,"dateCreated",t)},expression:"form.dateCreated"}})],1),n("div",{staticClass:"col-12"},[n("InputField",{attrs:{label:"Zuletzt geändert am",disabled:!0},model:{value:e.form.dateModified,callback:function(t){e.$set(e.form,"dateModified",t)},expression:"form.dateModified"}})],1),n("div",{staticClass:"col-12"},[n("InputField",{attrs:{label:"Thema",validateUntouched:"",disabled:!e.isBrokerOrBypass||!e.canEditAnmerkung},model:{value:e.form.betreff,callback:function(t){e.$set(e.form,"betreff",t)},expression:"form.betreff"}})],1),n("div",{staticClass:"col-12"},[n("InputTextArea",{attrs:{label:"Text",rows:5,disabled:!e.isBrokerOrBypass||!e.canEditAnmerkung},model:{value:e.form.text,callback:function(t){e.$set(e.form,"text",t)},expression:"form.text"}})],1),n("div",{staticClass:"col-12"},[n("InputRadioBoxGroup",{attrs:{title:"Sichtbar für",values:e.radioboxGroupData,disabled:!e.isBrokerOrBypass||!e.canEditAnmerkung},model:{value:e.form.sichtbar,callback:function(t){e.$set(e.form,"sichtbar",t)},expression:"form.sichtbar"}})],1),n("InputField",{attrs:{label:"Ersteller",disabled:""},model:{value:e.form.ersteller,callback:function(t){e.$set(e.form,"ersteller",t)},expression:"form.ersteller"}})],1)]},proxy:!0},{key:"footer",fn:function(){return[n("BaseButton",{staticClass:"mr-3",attrs:{isSecondary:""},on:{click:function(t){return e.closeAnmerkungDataModal()}}},[e._v(e._s(e.canEditAnmerkung?"Abbrechen":"Schließen"))]),e.isBrokerOrBypass&&e.canEditAnmerkung?n("BaseButton",{attrs:{disabled:e.validation.isInvalid("form")},on:{click:function(t){e.saveAndUpdate(),e.closeAnmerkungDataModal()}}},[e._v("Speichern")]):e._e()]},proxy:!0}])}),n("BaseModal",{ref:"anmerkungDeleteModal",attrs:{size:"sm",modalTitle:"Anmerkung löschen",labelButtonConfirm:"Anmerkungen löschen"},on:{onConfirmButton:function(t){return e.deleteAnmerkung()}},scopedSlots:e._u([{key:"default",fn:function(){return[e._v(" Soll die Anmerkung für den "+e._s(e.anmerkungToDelete.datum)+" wirklich gelöscht werden? ")]},proxy:!0}])})],1)},i=[],s=n("1da1"),r=n("5530"),o=(n("96cf"),n("a434"),n("d81d"),n("99af"),n("d3b7"),n("e6cf"),n("a79d"),n("2f62")),l=n("64c5"),c=n("d4b0"),d=n("5a0c"),u=n.n(d),p=n("689f"),h=n("d53f"),f=n("04bc"),m=n("c704"),b=n("4567"),v=n("0054"),g=n("d9f5"),E=n("9aaa"),_=n("a871"),S=n("6eb5"),T=n("b1a7"),x=n("d3ac"),y=n("6ce5"),k={mixins:[x["a"]],components:{Table:p["a"],BaseButton:f["default"],InputField:m["default"],InputRadioBoxGroup:b["default"],DatePickerField:v["default"],InputTextArea:g["default"],InputToggleSwitch:E["default"],BaseModal:_["a"],GhostLoading:S["a"],NoData:T["a"]},data:function(){return{loading:!1,form:{},anmerkungToDelete:{}}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({anmerkungen:c["default"].GETTERS.INSURANCE_ANMERKUNG_GET,isIntern:l["default"].GETTERS.IS_INTERN,isCustomer:l["default"].GETTERS.IS_CUSTOMER,isBrokerOrBypass:l["default"].GETTERS.IS_BROKER_OR_BYPASS,canEditAnmerkung:c["default"].GETTERS.CAN_EDIT_ANMERKUNG,originalUser:l["default"].GETTERS.ORIGINAL_USER})),{},{radioboxGroupData:function(){var e=[{value:"POOL",label:"Pool"},{value:"MAKLER",label:"Vermittler"},{value:"KUNDE",label:"Kunde"}];return this.isIntern&&e.splice(0,0,{value:"INTERN",label:"Intern"}),e},headers:function(){var e={center:[Object(h["DateColumn"])("datum","Datum"),Object(h["TextColumn"])("betreff","Thema").makeLink(),Object(h["TextColumn"])("text","Text"),Object(h["TextColumn"])("ersteller","Ersteller")],lockedRight:[]};return this.isBrokerOrBypass&&this.canEditAnmerkung&&e.lockedRight.push(Object(h["ActionColumn"])("actions")),e},rows:function(){var e=this;return(this.anmerkungen||[]).map((function(t){var n=e.makeActions(t);return Object(r["a"])(Object(r["a"])({},t),{},{actions:n})}))},userIdUnterNr:function(){var e,t,n;return null!==(e=this.originalUser)&&void 0!==e&&e.unternr?"".concat(null===(t=this.originalUser)||void 0===t?void 0:t.userid,"-").concat(this.originalUser.unternr):null===(n=this.originalUser)||void 0===n?void 0:n.userid}}),methods:{makeActions:function(e){var t=[];return e.betreff||t.push(Object(h["SimpleAction"])("EDIT","PhPencilLine","Bearbeiten")),t.push(Object(h["SimpleAction"])("DELETE","PhTrash","Löschen")),t},openAnmerkungDataModal:function(){this.$refs.anmerkungDataModal.open()},closeAnmerkungDataModal:function(){this.$refs.anmerkungDataModal.close()},openAddModal:function(){this.form={datum:u()(new Date).format("DD.MM.YYYY"),dateCreated:u()(new Date).format("DD.MM.YYYY"),dateModified:null,betreff:null,text:null,sichtbar:"MAKLER",ersteller:this.userIdUnterNr},this.openAnmerkungDataModal()},openEditModal:function(e){this.form=Object(r["a"])({},e),this.openAnmerkungDataModal()},findAnmerkung:function(){var e=this;this.loading=!0,this.$store.dispatch(c["default"].ACTIONS.INSURANCE_ANMERKUNG_GET,this.$route.params.versicherungId).finally((function(){return e.loading=!1}))},saveAndUpdate:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.saveForm();case 2:e.findAnmerkung();case 3:case"end":return t.stop()}}),t)})))()},saveForm:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=Object(r["a"])(Object(r["a"])({},e.form),{},{owner:e.$route.params.versicherungId}),t.next=3,e.$store.dispatch(c["default"].ACTIONS.INSURANCE_ANMERKUNG_SAVE,n);case 3:a=t.sent,e.form=Object(r["a"])({},a);case 5:case"end":return t.stop()}}),t)})))()},openDeleteModal:function(e){this.anmerkungToDelete=Object(r["a"])({},e),this.$refs.anmerkungDeleteModal.open()},deleteAnmerkung:function(){var e;this.$store.dispatch(c["default"].ACTIONS.INSURANCE_ANMERKUNG_DELETE,null===(e=this.anmerkungToDelete)||void 0===e?void 0:e.id)}},mounted:function(){this.findAnmerkung()},validators:{form:{datum:[Object(y["s"])("Datum ist erforderlich!")],betreff:[Object(y["s"])("Thema ist erforderlich!")]}}},I=k,C=n("2877"),A=Object(C["a"])(I,a,i,!1,null,null,null);t["a"]=A.exports},"12d3":function(e,t,n){"use strict";n("a5a4")},"14f5":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("InputField",{attrs:{validation_path:e.validation_path,label:e.label,disabled:e.disabled,isComponentHalfSize:e.isComponentHalfSize},on:{input:function(t){return e.checkIbanAndUpdateValue(t)},change:e.showError,focus:function(t){e.isInputActive=!0}},model:{value:e.iban,callback:function(t){e.iban=t},expression:"iban"}})},i=[],s=(n("99af"),n("159b"),n("cee4")),r=n("d3ac"),o=n("c704"),l={mixins:[r["a"]],validators:{},components:{InputField:o["default"]},props:{label:{type:String},type:{type:String},componentData:{},disabled:{type:Boolean,default:!1},validation_path:{type:String},isComponentHalfSize:{type:Boolean,default:!1}},data:function(){return{iban:"",errorMessage:null,isInputActive:!0,timeoutRef:null}},watch:{componentData:{handler:function(e){this.iban=e},immediate:!0}},methods:{checkIbanAndUpdateValue:function(e){var t=this;e&&this.type?(this.errorMessage=null,clearTimeout(this.timeoutRef),this.timeoutRef=setTimeout((function(){s["a"].get("".concat("/MSC3/restful","/../mrscheckformat?type=").concat(t.type,"&value=").concat(e)).then((function(n){if(n.data)if(t.errorMessage=n.data.text,n.data.text)t.isInputActive||t.$pushErrors(t.validation_path,n.data.text);else{var a=t.validation.getErrors(t.validation_path,!1);a&&a.length&&a.forEach((function(e){return t.validation.removeError(t.validation_path,e)})),t.$emit("change",e)}}))}),300)):this.$emit("change",e)},showError:function(){this.isInputActive=!1,this.errorMessage&&this.$pushErrors(this.validation_path,this.errorMessage)}}},c=l,d=n("2877"),u=Object(d["a"])(c,a,i,!1,null,null,null);t["default"]=u.exports},1653:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseModal",{ref:"showOldPoliceNumbersModal",attrs:{modalTitle:"Alte Police Nummern",showCloseButton:!0,showCancelButton:!1,showConfirmButton:!1}},[e.loading?n("GhostLoading",{attrs:{type:"table",useBoxContainer:""}}):n("Table",{staticClass:"box__container",attrs:{headers:e.headers,rows:e.rows,hidePagination:""}})],1)],1)},i=[],s=(n("d3b7"),n("99af"),n("e6cf"),n("a79d"),n("a871")),r=n("cee4"),o=n("6eb5"),l=n("689f"),c=n("d53f"),d={defaultSpinner:!0},u={components:{BaseModal:s["a"],Table:l["a"],GhostLoading:o["a"]},data:function(){return{rows:{},loading:!1}},computed:{headers:function(){var e={lockedLeft:[Object(c["TextColumn"])("polNr","Police Nummer"),Object(c["DateTimeColumn"])("dateChanged","Bis")],center:[],lockedRight:[]};return e}},methods:{open:function(e){var t=this,n=e.vertragId;this.$refs.showOldPoliceNumbersModal.open(),this.loading=!0,r["a"].get("".concat("/MSC3/restful","/insurances/police_nr_history?vertragId=").concat(n),d).then((function(e){200===e.status&&e.data&&(t.rows=e.data)})).finally((function(){t.loading=!1}))}}},p=u,h=n("2877"),f=Object(h["a"])(p,a,i,!1,null,null,null);t["a"]=f.exports},"16d2":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".container[data-v-054ae8a6]{margin:0;padding:0}.cell[data-v-054ae8a6]{display:table-cell}.icon[data-v-054ae8a6]{vertical-align:text-bottom}",""]),e.exports=t},"17b1":function(e,t,n){"use strict";n("3dd5")},"17d64":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-forms__container"},[n("label",{staticClass:"input-forms__label-container"},[e.label?n("div",{staticClass:"input-forms__label-content"},[e._v(e._s(e.label))]):e._e(),n("div",{staticClass:"layout__negative-margin--8 d-flex",class:{"forms__input--half-size":this.isComponentHalfSize}},[n("div",{staticClass:"entity-selector__combobox-container"},[n("ComboBox",{attrs:{renderDanger:e.isValidationConfigured()&&e.validation.isInvalid(this.validationPath)&&e.validation.isDirty(this.validationPath),isEntitySelector:"",values:e.values,value:e.internalValue,disabled:e.disabled,firstEmpty:e.firstEmpty,sortComboboxValues:e.sortComboboxValues,isEmbedded:""},on:{input:e.onChange}})],1),e.hideNewButton?e._e():n("div",{staticClass:"entity-selector__button input-forms__buttons--line-height d-flex clickable"},[n("div",{staticClass:"d-flex",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.doClick("new")}}},["default"===e.iconNew?n("ph-file-plus",{attrs:{size:24}}):e._e(),"person"===e.iconNew?n("ph-user-plus",{attrs:{size:24}}):e._e()],1)]),e.isSomethingSelected&&e.hasEditButton?n("div",{staticClass:"entity-selector__button input-forms__buttons--line-height d-flex clickable"},[n("ph-pencil-line",{attrs:{size:24},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.$emit("edit",e.internalValue)}}})],1):e._e()]),e.isValidationConfigured()&&!e.suppressValidationMessage&&e.validation.isInvalid(this.validationPath,this.validateUntouched)?n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{key:e.validation.updated},e._l(e.validation.getErrors(this.validationPath,this.validateUntouched),(function(t){return n("div",{key:t,staticClass:"fc-form-danger"},[e._v(" "+e._s(t)+" ")])})),0)])]):e._e()])])},i=[],s=n("9131"),r=n("c0a4"),o=n("7bf0"),l={mixins:[o["a"]],components:{ComboBox:s["default"],PhFilePlus:r["PhFilePlus"],PhPencilLine:r["PhPencilLine"],PhUserPlus:r["PhUserPlus"]},props:{label:{},value:{},values:{type:[Array,String],default:function(){return[]}},textNewButton:{type:String,default:""},textEditButton:{type:String,default:""},hasEditButton:{type:Boolean,default:!0},hideNewButton:{type:Boolean,default:!1},validateUntouched:{type:Boolean,default:!1},suppressValidationMessage:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isComponentHalfSize:{type:Boolean,default:!1},isPersonPicker:{type:Boolean,default:!1},firstEmpty:{type:Boolean,default:!1},sortComboboxValues:{type:Boolean,default:!0}},watch:{value:function(e){this.internalValue=e,this.$runValidator(this.internalValue)},disabled:function(){this.disabled?this.$reset():this.$runValidator(this.internalValue)}},data:function(){return{internalValue:null}},mounted:function(){this.internalValue=this.value},computed:{iconNew:function(){return this.isPersonPicker?"person":"default"},isSomethingSelected:function(){return this.internalValue&&"NICHT_VERWENDEN"!==this.internalValue}},methods:{onChange:function(e){this.$emit("change",e),this.$emit("input",e),this.$runValidator(e),this.$setDirty()},doClick:function(e){this.disabled||this.$emit(e,this.internalValue)}}},c=l,d=(n("0772"),n("2877")),u=Object(d["a"])(c,a,i,!1,null,"5dce6aaa",null);t["default"]=u.exports},"188f":function(e,t,n){var a=n("f155");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("4bd20d99",a,!0,{sourceMap:!1,shadowMode:!1})},1906:function(e,t,n){"use strict";n("b9fd")},"1b74":function(e,t,n){var a=n("73d2b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("9e4debfa",a,!0,{sourceMap:!1,shadowMode:!1})},"1d11":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".subject[data-v-1651ead6]{display:inline-block;max-width:700px}.subject[data-v-1651ead6],.text-cell[data-v-1651ead6]{overflow:hidden;text-overflow:ellipsis}.text-cell[data-v-1651ead6]{word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical}.subject-column--content[data-v-1651ead6]{-webkit-line-clamp:1}@media (max-width:767px){.subject-column--content[data-v-1651ead6]{-webkit-line-clamp:2}}",""]),e.exports=t},"1ec9":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".rail[data-v-f8102502]{display:-webkit-box;display:-ms-flexbox;display:flex;height:2px;width:100%;-webkit-box-flex:2;-ms-flex:2 100%;flex:2 100%}.step[data-v-f8102502]{margin:0 1px;height:100%;width:100%;-webkit-transition:width .3s ease-in-out;transition:width .3s ease-in-out;outline:none}.step[data-v-f8102502]:hover{height:500%;-webkit-transform:translateY(-50%);transform:translateY(-50%);cursor:pointer}.step-progress[data-v-f8102502]{background:#28a745;-webkit-box-shadow:0 0 5px 0 rgba(0,0,0,.1);box-shadow:0 0 5px 0 rgba(0,0,0,.1)}.step-empty[data-v-f8102502]{background:#000}.step-warning[data-v-f8102502]{background:#dc3545;-webkit-box-shadow:0 0 5px 0 rgba(0,0,0,.1);box-shadow:0 0 5px 0 rgba(0,0,0,.1)}@media (min-width:768px){.rail[data-v-f8102502]{padding:0 10px}.step[data-v-f8102502]{margin:0 2px}}",""]),e.exports=t},"215a":function(e,t,n){var a=n("f72e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("6790527a",a,!0,{sourceMap:!1,shadowMode:!1})},"223c":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseModal",{ref:"askOptionBaseModal",attrs:{labelButtonConfirm:e.confirmButtonLabel,size:e.modalSize,modalTitle:e.title,showCancelButton:!1,showConfirmButton:!e.isSoftfair,actions:e.modalActions},on:{onConfirmButton:function(t){return e.$emit("onConfirmButton",e.form)},onCancelButton:function(t){return e.$emit("close")},onCloseButton:function(t){return e.$emit("close")},onEscButton:function(t){return e.$emit("close")},"action-DOWNLOAD":e.closeModal}},e._l(e.askOptions,(function(t){return n("div",{key:t,staticClass:"pb-2"},["USER_ANONYMOUS"===t?[n("InputRadioBoxGroup",{attrs:{values:[{label:"Kundendaten übertragen",value:!1},{label:"Kundendaten anonymisieren (Name, Adresse)",value:!0}]},model:{value:e.form.userAnonymous,callback:function(t){e.$set(e.form,"userAnonymous",t)},expression:"form.userAnonymous"}})]:e._e(),"INNOSYSTEMS_BUTTONS"===t?[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e._v("Vergleichsrechner Sachversicherung")])]),n("div",{staticClass:"externezugang__button-container layout__negative-margin--8"},[n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_BAUHERRENHAFTPFLICHT")}}},[e._v("Bauherrenhaftpflicht")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_GEWAESSERSCHADEN")}}},[e._v("Gewässerschaden")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_HAUSUNDGRUNDBESITZER")}}},[e._v("Haus und Grundbesitzer")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_HAUSRAT")}}},[e._v("Hausrat")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_HUNDEHAFTPFLICHT")}}},[e._v("Hundehaftpflicht")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_PFERDEHAFTPFLICHT")}}},[e._v("Pferdehaftpflicht")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_PRIVATHAFTPFLICHT")}}},[e._v("Privathaftpflicht")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_RECHTSSCHUTZ")}}},[e._v("Rechtschutz")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_UNFALL")}}},[e._v("Unfall")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_WOHNGEBAEUDE")}}},[e._v("Wohngebäude")])],1),n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e._v("Vergleichsrechner Gewerbeversicherung")])]),n("div",{staticClass:"externezugang__button-container layout__negative-margin--8"},[n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_RECHTSSCHUTZSELBST")}}},[e._v("Rechtsschutz für Selbstständige/ Firmen")])],1),n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e._v("Vergleichsrechner Krankenversicherung")])]),n("div",{staticClass:"externezugang__button-container layout__negative-margin--8"},[n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_KRANKENHAUSTAGEGELD")}}},[e._v("Krankenhaustagegeld")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_KRANKENTAGEGELD")}}},[e._v("Krankentagegeld")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_KRANKENVOLLVERSICHERUNG")}}},[e._v("Krankenvollversicherung")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_KRANKENZUSATZVERSICHERUNG")}}},[e._v("Krankenzusatzversicherung")])],1),n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e._v("Vergleichsrechner Krankenzusatzversicherung Zahn")])]),n("div",{staticClass:"externezugang__button-container layout__negative-margin--8"},[n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_KRANKENZUSATZVERSICHERUNGZAHN")}}},[e._v("Krankenzusatzversicherung Zahn")])],1),n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e._v("Vergleichsrechner PKW-Versicherung und Motorrad-Versicherung")])]),n("div",{staticClass:"externezugang__button-container layout__negative-margin--8"},[n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_PKW")}}},[e._v("PKW und Motorrad (zum Auswahlmenu)")]),n("BaseButton",{on:{click:function(t){return e.clickInnosystemsButtom("BUTTON_EVBSERVICE")}}},[e._v("EVB-Service")])],1)]:e._e(),"MR_MONEY_BUTTONS"===t?[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e._v("Angebots-Center")])]),n("div",{staticClass:"externezugang__button-container layout__negative-margin--8"},[n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_ANGEBOT")}}},[e._v("Angebot")])],1),n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e._v("Privat")])]),n("div",{staticClass:"externezugang__button-container layout__negative-margin--8"},[n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_BAU")}}},[e._v("Bau-Versicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_FAHRRADVERGLEICH")}}},[e._v("E-Bike/Fahrrad-Versicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_HAUSUNDGRUNDBESITZER")}}},[e._v("Haus- und Grundbesitzerhaft")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_HAUSRAT")}}},[e._v("Hausrat-Versicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_PRIVATHAFTPFLICHT")}}},[e._v("Privat-Haftpflicht-Versicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_PHOTOVOLTAIK")}}},[e._v("Photovoltaik-Versicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_RECHTSSCHUTZ")}}},[e._v("Rechtsschutz-Versicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_RISIKOLEBEN")}}},[e._v("Risikolebens-Versicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_TIERHALTERHAFTPLICHT")}}},[e._v("Tierhalter-Haftpflicht")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_UNFALL")}}},[e._v("Unfall-Versicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_WOHNGEBAEUDE")}}},[e._v("Wohngebäude-Versicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_OELTANKHAFTPFLICHT")}}},[e._v("Öltank-Haftpflicht-Versicherung")])],1),n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e._v("Gewerbe")])]),n("div",{staticClass:"externezugang__button-container layout__negative-margin--8"},[n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_BETRIEBSINHALT")}}},[e._v("Betriebs-Inhaltsversicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_BETRIEBSHAFTPLICHT")}}},[e._v("Betriebs-Haftpflichtversicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_BUERO")}}},[e._v("Büroversicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_ELEKTRONIK")}}},[e._v("Elektronikversicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_GEWERBERECHTSSCHUTZ")}}},[e._v("Gewerbe-Rechtsschutz")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_GEWERBEGEBAEUDE")}}},[e._v("Gewerbe-Gebäudeversicherung")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_MASCHINENABMG")}}},[e._v("Maschinenversicherung ABMG")]),n("BaseButton",{on:{click:function(t){return e.clickMrMoneyButton("BUTTON_MASCHINENAMB")}}},[e._v("Maschinenversicherung AMB")])],1)]:e._e(),"SOFTFAIR_FORM"===t?[n("div",[e._v("Sehr geehrte Damen und Herren,")]),n("div",[e._v("Sie haben noch keinen Zugang für den Vergleichsrechner von Softfair. Sehr gerne bieten wir Ihnen einen Zugang zu Softfair an. Hierfür bitten wir Sie das Bestellformular auszufüllen.")]),n("div",{staticClass:"box__title mt-3"},[e._v("Softfair Registrierung")]),n("InputField",{attrs:{label:"Firma",disabled:""},model:{value:e.form.firma,callback:function(t){e.$set(e.form,"firma",t)},expression:"form.firma"}}),n("InputField",{attrs:{label:"Vorname"},model:{value:e.form.vorname,callback:function(t){e.$set(e.form,"vorname",t)},expression:"form.vorname"}}),n("InputField",{attrs:{label:"Name"},model:{value:e.form.nachname,callback:function(t){e.$set(e.form,"nachname",t)},expression:"form.nachname"}}),n("InputField",{attrs:{label:"Straße"},model:{value:e.form.strasse,callback:function(t){e.$set(e.form,"strasse",t)},expression:"form.strasse"}}),n("InputZIP",{attrs:{label:"PLZ"},model:{value:e.form.plz,callback:function(t){e.$set(e.form,"plz",t)},expression:"form.plz"}}),n("InputField",{attrs:{label:"Ort"},model:{value:e.form.ort,callback:function(t){e.$set(e.form,"ort",t)},expression:"form.ort"}}),n("InputField",{attrs:{label:"Telefon",inputmode:"tel"},model:{value:e.form.telefon,callback:function(t){e.$set(e.form,"telefon",t)},expression:"form.telefon"}}),n("div",{staticClass:"font-bold mb-2"},[e._v("Bankdaten")]),n("InputField",{attrs:{label:"Bankinstitut"},model:{value:e.form.bank,callback:function(t){e.$set(e.form,"bank",t)},expression:"form.bank"}}),n("InputIbanBic",{attrs:{validation_path:"form.iban",label:"IBAN",type:"IBAN",componentData:e.form.iban},on:{change:e.updateIban}}),n("InputIbanBic",{attrs:{validation_path:"form.bic",label:"BIC",type:"BIC",componentData:e.form.bic},on:{change:function(t){e.form.bic=t}}}),n("InputField",{attrs:{label:"Kontoinhaber"},model:{value:e.form.kontoinhaber,callback:function(t){e.$set(e.form,"kontoinhaber",t)},expression:"form.kontoinhaber"}})]:e._e(),"COVOMO"===t?[n("p",[n("b",[e._v("Covomo")]),e._v(" ist das marktführende Vergleichs- und Abschlussportal für "),n("b",[e._v("Spezial- und Nieschenversicherungen.")])]),n("p",[e._v("Falls Sie noch keinen Zugang besitzen oder Ihr Account noch nicht mit der FondsKonzept verknüpft ist, melden Sie sich bitte bei einem Mitarbeiter des FondsKonzept-Versicherungsbereichs.")]),n("p",[n("b",[e._v("Hinweis: ")]),e._v("Es findet eine automatische Vertragsanlage im smartMSC statt, sofern der Kundendatensatz eindeutig mit den übermittelten Daten übereinstimmt. Bitte stellen Sie lediglich sicher, dass der Kunde mit seiner aktuellen Adresse angelegt ist.")])]:e._e(),"OCC"===t?[n("p",[n("b",[e._v("Wichtig:")]),e._v(" Verträge werden nicht automatisch im smartMSC angelegt! Dies muss beim Abschluss manuell vom Vermittler erfolgen. ")])]:e._e()],2)})),0)],1)},i=[],s=(n("caad"),n("2532"),n("cca6"),n("a871")),r=n("4567"),o=n("04bc"),l=n("c704"),c=n("5e50"),d=n("14f5"),u=n("2810"),p={components:{BaseModal:s["a"],InputRadioBoxGroup:r["default"],BaseButton:o["default"],InputField:l["default"],InputZIP:c["a"],InputIbanBic:d["default"]},props:{askOptions:{type:Array,required:!0},title:{type:String,default:""},confirmButtonLabel:{type:String,default:"Kunde anlegen"},data:{type:Object,default:null}},data:function(){return{form:{userAnonymous:!1,innosystemsAction:"",firma:"",vorname:"",nachname:"",strasse:"",ort:"",plz:"",telefon:"",bank:"",iban:"",bic:"",kontoinhaber:""}}},computed:{modalSize:function(){var e=this;return["INNOSYSTEMS_BUTTONS","MR_MONEY_BUTTONS"].some((function(t){return e.askOptions.includes(t)}))?"lg":"md"},isSoftfair:function(){var e;return"SOFTFAIR_FORM"===(null===(e=this.askOptions)||void 0===e?void 0:e[0])},modalActions:function(){var e=this;return[Object(u["a"])("DOWNLOAD","Bestellformular anlegen","SoftfairAntrag","/get_softfair_form",this.form).withVisible((function(){return e.isSoftfair}))]}},methods:{clickMrMoneyButton:function(e){this.form.mrmoneyAction=e,this.$emit("onConfirmButton",this.form),this.$refs.askOptionBaseModal.close()},clickInnosystemsButtom:function(e){this.form.innosystemsAction=e,this.$emit("onConfirmButton",this.form),this.$refs.askOptionBaseModal.close()},updateIban:function(e){this.form.iban=e},closeModal:function(){this.$refs.askOptionBaseModal.close(),this.$router.go(-1)}},mounted:function(){this.$refs.askOptionBaseModal.open(),this.data&&(this.form=Object.assign(this.form,this.data)),console.log("askOptions",this.askOptions&&JSON.parse(JSON.stringify(this.askOptions)))}},h=p,f=(n("ccb9"),n("2877")),m=Object(f["a"])(h,a,i,!1,null,"d352baf0",null);t["a"]=m.exports},"22de":function(e,t,n){"use strict";var a=function(){var e=this,t=this,n=t.$createElement,a=t._self._c||n;return t.tableData&&t.headers?a("div",{ref:"tableContainer",staticClass:"table-container",attrs:{id:t.componentId}},[t.cardViewEnabled?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"mode-selector"},[a("BaseButton",{staticClass:"mode-selector-item",attrs:{isPrimary:"list"===t.activeView},on:{click:function(e){return t.setActiveView("list")}}},[a("ph-text-align-justify",{attrs:{size:16}})],1),a("BaseButton",{staticClass:"mode-selector-item",attrs:{isPrimary:"cards"===t.activeView},on:{click:function(e){return t.setActiveView("cards")}}},[a("ph-table",{attrs:{size:16}})],1)],1)])]):t._e(),"list"===t.activeView?a("div",[a("div",{staticClass:"table--header"},[a("div",{staticClass:"box__title"},[t._v(t._s(t.title))]),t.showOpenColumnsConfig||t.showExport||t.paginationEnabled&&t.rows.length>10?a("div",{staticClass:"export-links-align-right"},[a("BaseContextMenu",[t.showOpenColumnsConfig?a("ContextMenuGroup",[a("ContextMenuItem",{on:{click:function(e){return t.openColumnsConfig()}}},[t._v("Spalten anpassen")])],1):t._e(),t.showExport?a("ContextMenuGroup",[t.exportTbl.pdf.show?a("ContextMenuItem",{on:{click:function(e){return t.exportPDF()}}},[a("span",[t._v("PDF")])]):t._e(),t.exportTbl.xls.show?a("ContextMenuItem",{on:{click:function(e){return t.exportTableToExcel()}}},[a("span",[t._v("Excel")])]):t._e()],1):t._e(),a("ContextMenuGroup",[t._l(t.menuRowsPerPage,(function(e){return[a("ContextMenuItem",{key:e.value},[e.value==t.pageSize?a("div",{staticClass:"mr-1 menu-disabled"},[a("PhList",{staticClass:"mr-1",attrs:{size:16}}),a("span",[t._v(t._s(e.label))])],1):a("div",{staticClass:"mr-1 clickable",on:{click:function(n){t.tablePageSize=e.value}}},[a("PhList",{staticClass:"mr-1",attrs:{size:16}}),a("span",[t._v(t._s(e.label))])],1)])]}))],2)],1)],1):t._e()]),t.allowColumnsPriorities?a("div",{staticClass:"row"},[a("div",{staticClass:"col-auto"},[a("BaseButton",{attrs:{"is-secondary":""},on:{click:function(e){return t.openColumnsConfig()}}},[a("ph-sort-ascending",{attrs:{size:16}})],1)],1)]):t._e(),t.filterEnabled?a("div",{staticClass:"row mb-0"},[a("div",{staticClass:"col-12 col-sm-6"},[a("InputField",{staticClass:"table-header__input-search mb-2",attrs:{placeholder:t.searchPlaceHolder},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1)]):t._e(),a("table",{ref:"table",staticClass:"table__table-list",attrs:{id:t._f("lowercase")(t.title)}},[a("thead",[a("th",{staticClass:"table__control-col",class:{hide:!t.getIsSomeExpanded},attrs:{"data-table-col-key":"collapse"}}),t.showCheckBoxBulkAction?a("th",{staticClass:"table__control-col",attrs:{"data-table-col-key":"checkbox","data-col-checkbox":""}},[a("InputCheckBoxItem",{staticClass:"my-0",attrs:{value:t.isAllRowsSelected,indeterminate:!t.isAllRowsSelected&&t.hasSomeRowsSelected},on:{input:function(e){return t.toggleSelectAllRows(e)}}})],1):t._e(),t._l(t.headers,(function(e,n,i){return[e.visible?[a("th",{key:n+i,class:{hide:t.headersHiddenSmallScreen[n],"actions-column":"actions"===e.key},attrs:{"data-table-col-key":n,"data-col-checkbox":"Boolean"===e.dataType}},[a("div",{class:{"tab-head-cell":"actions"!==e.key,"text-right":"right"===e.align||"Currency"===e.dataType||"Procent"===e.dataType,"text-left":"right"!==e.align&&("String"===e.dataType||"Slot"===e.dataType)},style:t.columnStyle(n)},["Boolean"===e.dataType?[a("InputCheckBoxItem",{staticClass:"my-0 table__control-col",attrs:{value:t.isAllRowsSelectedByKey(n),indeterminate:!t.isAllRowsSelectedByKey(n)&&t.hasSomeRowsSelectedByKey(n)},on:{input:function(e){return t.toggleSelectAllRowsByKey(n,e)}}})]:t._e(),"_slot"===e.label?[t._t("_"+n,null,{data:{col:e}})]:[a("span",{staticClass:"table__table-th-labels mr-1",class:{clickable:"actions"!==e.key&&e.sortable},attrs:{tid:e&&e.key?t._generateTidFromString(e.key):t._generateTidFromString(e.label)},on:{click:function(a){return t.toggleSort(e.sortKey||n,e.sortable)}}},[t._v(" "+t._s(e.label)+" ")]),"actions"!==e.key?a("span",{staticClass:"table__control-icon"},[a("ph-caret-up",{directives:[{name:"show",rawName:"v-show",value:t.showArrowUp(e.sortKey||n),expression:"showArrowUp(col.sortKey || key)"}],attrs:{size:16}}),a("ph-caret-down",{directives:[{name:"show",rawName:"v-show",value:t.showArrowDown(e.sortKey||n),expression:"showArrowDown(col.sortKey || key)"}],attrs:{size:16}})],1):t._e()]],2)])]:t._e()]}))],2),a("tbody",[t._l(t.currentPageData,(function(e,n){return[a("DragnDropArea",{key:n,style:t.rowStyle(e),attrs:{id:"tr"+t.componentId+n,element:"tr",hoverText:"Datei hier ablegen",disabled:!t.dragnDropFilesOnRow},on:{files:function(n){return t.handleRowFilesDropped(e,n)}}},[a("td",{staticClass:"clickable table__control-col",class:{hide:!t.getIsSomeExpanded},attrs:{"data-table-col-key":"collapse"}},[a("span",{staticClass:"table__control-icon"},[t.isExpanded(n)?t._e():a("ph-caret-right",{attrs:{size:16},on:{click:function(e){return t.collapse(t.collapsedItems,n)}}}),t.isExpanded(n)?a("ph-caret-down",{attrs:{size:16},on:{click:function(e){return t.collapse(t.collapsedItems,n)}}}):t._e()],1)]),t.showCheckBoxBulkAction?a("td",{staticClass:"table__control-col",attrs:{"data-table-col-key":"checkbox"}},[(!t.listEnabledCheckBoxBulkAction||t.listEnabledCheckBoxBulkAction&&t.listEnabledCheckBoxBulkAction[e.id])&&!e.customCheckBoxDisabled?[a("InputCheckBoxItem",{staticClass:"my-0",on:{input:function(a){return t.onChangeSelected(a,n+t.selectRowIndexPadding,e)}},model:{value:t.selectedRows[n+t.selectRowIndexPadding],callback:function(e){t.$set(t.selectedRows,n+t.selectRowIndexPadding,e)},expression:"selectedRows[index+selectRowIndexPadding]"}})]:t._e()],2):t._e(),t._l(t.headers,(function(i,s,r){return[i.visible?[a("td",{key:s+"-"+r,staticClass:"tab-rows-cell",class:{hide:t.headersHiddenSmallScreen[s]},attrs:{valign:t.valign,"data-table-col-key":s,"data-label":t.headers[s]&&t.headers[s].label}},[a("Cell",{style:t.columnStyle(s),attrs:{content:t.rowContent(e,s,n+t.selectRowIndexPadding),header:t.headers[s],tableData:t.tableData,row:e,actions:t.actions.length?t.actions:e["actions"],rowIndex:n},on:{"execute-action":t.clickAction,"selected-cell":function(a){return t.selectedRowKey(e,n+t.selectRowIndexPadding,s,a)},input:function(a){return t.$emit("input",{event:a,row:e,key:s,index:n})}},scopedSlots:t._u(["Slot"===t.headers[s].dataType?{key:s,fn:function(){return[a("div",{staticClass:"tab-rows-cell",class:["right"===t.headers[s].align?"text-right":"text-left"]},[t._t(s,null,{data:{tableData:t.tableData,row:e,index:n}})],2)]},proxy:!0}:null],null,!0)},[t.actions.length?t._e():t._t("action",null,{data:{content:e[s],key:s,row:e}})],2)],1)]:t._e()]}))],2),t.isExpanded(n)&&t.getIsSomeExpanded?a("tr",{key:"collapse"+n},[a("td",{attrs:{colspan:t.calculateColspan()}},[a("div",{staticClass:"collapsed collapsed--col-sm-2 collapsed--col-md-3 collapsed--col-lg-4"},[t._l(t.headers,(function(n,i,s){return[n.visible&&t.headersHiddenSmallScreen[i]&&(t.showIds||"nodeId"!==n.key&&"id"!==n.key)?[a("div",{key:s,staticClass:"card-row"},[a("CardLabel",{attrs:{label:n.label}},[a("Cell",{attrs:{content:e[i],header:n,keepTextLeft:!0,actions:t.actions.length?t.actions:e["actions"]},scopedSlots:t._u(["Slot"===t.headers[i].dataType?{key:i,fn:function(){return[t._t(i,null,{data:{tableData:t.tableData,row:e,colIndex:s}})]},proxy:!0}:null],null,!0)},[t.actions.length?t._e():t._t("action",null,{data:{content:e[i],key:i,row:e}})],2)],1)],1)]:t._e()]})),t._t("additionalCollapsed",null,{data:{tableData:t.tableData,row:e,index:n}})],2)])]):t._e()]}))],2),t.getIsSomeSum||t.getIsSomeAutoSum?a("tfoot",[a("tr",{staticClass:"sum"},[t.getIsSomeExpanded?a("td",{staticClass:"table__control-col"}):t._e(),t.showCheckBoxBulkAction?a("td",{staticClass:"table__control-col"}):t._e(),t._l(t.headers,(function(e,n,i){return[e.visible?a("td",{key:i,class:{hide:t.headersHiddenSmallScreen[n]},attrs:{"data-label":t.headers[n]&&t.headers[n].label}},[t.getIsSum(n)?a("span",{staticClass:"no-wrap"},[a("Cell",{attrs:{content:+t.getSum(n),header:t.headers[n],tableData:t.tableData,row:{}}})],1):t._e(),t.getIsAutoSum(n)?a("span",{staticClass:"no-wrap"},[a("Cell",{attrs:{content:t.getAutoSum(n),header:t.headers[n],tableData:t.tableData,row:{}}})],1):t._e()]):t._e()]}))],2)]):t._e()]),t.paginationEnabled?a("div",{staticClass:"table-footer"},[a("Pagination",{attrs:{totalPages:Math.round(t.pagesNumber),total:t.count||t.rows.length,perPage:t.pageSize,displayedItens:t.displayedItens,currentPage:t.currentPageIndex},on:{pagechanged:t.onPageChange}})],1):t._e()]):t._e(),a("ModalColumnConfig",{ref:"columnsConfig",attrs:{title:t.configModalTitle,tableHeaders:t.tableHeadersList,lockedColumns:t.lockedColumns},on:{orderChanged:t.setConfiguredHeaders,onFinishConfig:t.onFinishColumnsConfig,onRestoreDefault:t.restoreDefaultColumnConfiguration}}),a("BaseModal",{ref:"modalDownloadPin",attrs:{modalTitle:"Download PIN geschützte Datei",showConfirmButton:!0,labelButtonConfirm:"Herunterladen",labelButtonCancel:"Abbrechen",autoClose:!1},on:{onConfirmButton:t.downloadPinFile,close:function(){e.tempFilePin="",e.errorPinFile=""}}},[a("div",[a("InputField",{attrs:{label:"Bitte geben Sie die PIN ein",placeholder:"Pin"},model:{value:t.tempFilePin,callback:function(e){t.tempFilePin=e},expression:"tempFilePin"}})],1),a("div",{staticClass:"fc-form-danger"},[t._v(" "+t._s(t.errorPinFile)+" ")])])],1):t._e()},i=[],s=n("ade3"),r=n("1da1"),o=n("53ca"),l=n("2909"),c=n("3835"),d=n("5530"),u=(n("96cf"),n("ac1f"),n("a9e3"),n("159b"),n("b64b"),n("d3b7"),n("25f0"),n("5319"),n("b680"),n("d81d"),n("4de4"),n("4fad"),n("caad"),n("2532"),n("7db0"),n("07ac"),n("4e82"),n("13d5"),n("c740"),n("5db7"),n("73d9"),n("fb6a"),n("a15b"),n("ddb0"),n("1276"),n("b0c0"),n("a434"),n("e260"),n("cca6"),n("2f62")),p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isInputField(e.header,e.content)?n("div",[n("InputField",{on:{input:function(t){return e.$emit("input",{header:e.header,value:t})}},model:{value:e.content.value,callback:function(t){e.$set(e.content,"value",t)},expression:"content.value"}})],1):"String"===e.header.dataType&&e.content&&Object.keys(e.content).some((function(e){return"value"===e}))?n("div",{class:[e.header.align?"text-"+e.header.align:"text-left"]},[e._v(" "+e._s(e.content.value)+" ")]):"String"===e.header.dataType?n("div",{class:[e.header.align?"text-"+e.header.align:"text-left"]},[e._v(" "+e._s(e.content)+" ")]):"Link"===e.header.dataType?n("div",{staticClass:"text-left"},[n("a",{attrs:{href:e.content,target:"_blank"}},[e._v(e._s(e.content))])]):"Currency"===e.header.dataType?n("div",{staticClass:"currency-collumn",class:[e.keepTextLeft?"text-left":"text-right"]},[e.isNumber(e.content||0)?n("span",[n("CurrencyLabel",{attrs:{value:e.strToNumber(e.content)}})],1):e._e()]):"CurrencyNoLabel"===e.header.dataType?n("div",{staticClass:"currency-collumn",class:[e.keepTextLeft?"text-left":"text-right"]},[e.isNumber(e.content||0)?n("span",[n("CurrencyLabel",{attrs:{value:e.strToNumber(e.content),symb:""}})],1):e._e()]):"NumberInt"===e.header.dataType||"Integer"===e.header.dataType?n("div",{class:[e.keepTextLeft?"text-left":"text-right"]},[e._v(" "+e._s(e._f("numberInt")(e.content))+" ")]):"Number"===e.header.dataType||"Double"===e.header.dataType?n("div",{class:[e.keepTextLeft?"text-left":"text-right"]},[e._v(" "+e._s(e._f("number")(e.content))+" ")]):"Procent"===e.header.dataType?n("div",{class:[e.keepTextLeft?"text-left":"text-right"]},[e.isNumber(e.content)?n("span",[n("CurrencyLabel",{attrs:{value:e.content,symb:"%"}})],1):n("span",[e._v(e._s(e.content))])]):/Decimal\d.*/.test(e.header.dataType)?n("div",{class:[e.keepTextLeft?"text-left":"text-right"]},[e._v(" "+e._s(e.getDecimal(e.content,e.header.dataType))+" ")]):"DateYMD"===e.header.dataType?n("div",[e._v(" "+e._s(e._f("dateYMD")(e.content))+" ")]):"ComboBoxSelection"===e.header.dataType?n("div",{class:[e.keepTextLeft?"text-left":"text-right"]},[e._v(" "+e._s(e.comboBoxLabel(e.header,e.content))+" ")]):"Image"===e.header.dataType?n("div",{staticClass:"text-left"},[n("div",{staticClass:"image",style:{background:e.content}})]):"Action"===e.header.dataType?n("div",[e._t("default")],2):"tableAction"===e.header.dataType?n("div",[n("TableActions",{attrs:{element:e.row,actions:e.actions,rowIndex:e.rowIndex},on:{"execute-action":e.clickAction}})],1):"Slot"===e.header.dataType?n("div",[e._t(e.header.key,null,{data:{tableData:e.tableData,row:e.row}})],2):"Company"===e.header.dataType?n("div",[e.content.logoUrl?n("img",{attrs:{alt:e.content.shortName,src:e.apiAddress+e.content.logoUrl,title:e.content.shortName,width:"40"}}):e._e()]):"Boolean"===e.header.dataType?n("div",[n("InputCheckBoxItem",{staticClass:"my-0",attrs:{value:e.content,checked:e.content},on:{input:function(t){return e.$emit("selected-cell",t)}}})],1):n("div",["string"===typeof e.content&&e.content?n("div",[e._v(" "+e._s(e.content)+" ")]):n("div",[n("p")])])},h=[],f=n("5818"),m=n("c704"),b=n("7cc5"),v=n("454f"),g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"actions_container"},[e.actions&&e.actions.length?n("div",{staticClass:"action-icons"},[e._l(e.buttonsAllwaysVisible,(function(t){return[e.showDownloadLink(t)?[e.showDownloadLink(t)?n("DownloadLink",{key:t.legend.label,attrs:{href:t.legend.link||t.value,title:e.getTitle(t.legend.label)}}):n("a",{key:t.legend.label,attrs:{target:"_blank",href:t.legend.link}},[t.loading&&t.loading(e.element)?n("AnimatedSpinner",e._b({},"AnimatedSpinner",e.iconProperties(t),!1)):n(e.dynamicIconComponent(t.legend.icon),e._b({tag:"component"},"component",e.iconProperties(t),!1)),n("span",[e._v(e._s(t.legend.label))])],1)]:n("button",{key:t.legend.label,staticClass:"btn-clean clickable",attrs:{type:"button",tid:e._generateTidFromString(t.legend.label+e.rowIndex),disabled:t.disabled&&t.disabled(e.element)||t.loading&&t.loading(e.element),title:t.legend.label},on:{click:function(n){return e.executeAction(t)}}},[t.loading&&t.loading(e.element)?n("AnimatedSpinner",e._b({},"AnimatedSpinner",e.iconProperties(t),!1)):n(e.dynamicIconComponent(t.legend.icon,t),e._b({tag:"component"},"component",e.iconProperties(t),!1)),t.legend.labelShowAlways?n("span",[e._v(e._s(t.legend.label))]):e._e()],1)]})),e.remainingButtons.length>0?n("BaseContextMenu",{attrs:{tid:e._generateTidFromString("ph-dots-three-vertical"+e.rowIndex),placement:"bottom-right"},scopedSlots:e._u([{key:"default",fn:function(){return[e._l(e.remainingButtons,(function(t){return[e.showDownloadLink(t)?n("ContextMenuItem",{key:t.legend.label},[e.showDownloadLink(t)?n("DownloadLink",{staticClass:"btn-clean clickable",attrs:{href:t.legend.link||t.value,title:e.getTitle(t.legend.label)}},[t.loading&&t.loading(e.element)?n("AnimatedSpinner",e._b({},"AnimatedSpinner",e.iconProperties(t),!1)):n(e.dynamicIconComponent(t.legend.icon),e._b({tag:"component"},"component",e.iconProperties(t),!1)),n("span",[e._v(e._s(t.legend.label))])],1):n("a",{key:t.legend.label,staticClass:"btn-clean clickable",attrs:{target:"_blank",href:t.legend.link}},[t.loading&&t.loading(e.element)?n("AnimatedSpinner",e._b({},"AnimatedSpinner",e.iconProperties(t),!1)):n(e.dynamicIconComponent(t.legend.icon),e._b({tag:"component"},"component",e.iconProperties(t),!1)),n("span",[e._v(e._s(t.legend.label))])],1)],1):n("ContextMenuItem",{key:t.legend.label,attrs:{tid:e._generateTidFromString("BaseDropdownMenu"+t.legend.label+e.rowIndex),disabled:t.disabled&&t.disabled(e.element)||t.loading&&t.loading(e.element)},on:{click:function(n){return e.executeAction(t,!0)}}},[t.loading&&t.loading(e.element)?n("AnimatedSpinner",e._b({},"AnimatedSpinner",e.iconProperties(t),!1)):n(e.dynamicIconComponent(t.legend.icon),e._b({tag:"component"},"component",e.iconProperties(t),!1)),n("span",{domProps:{innerHTML:e._s(e.createColorizedLabel(t.legend))}})],1)]}))]},proxy:!0}],null,!1,204747875)}):e._e()],2):e._e()])},E=[],_=(n("9911"),n("c0a4")),S=n("2f23"),T=n("4619"),x=n("2042"),y=n("b967"),k=n("64c5"),I=n("5a29"),C={name:"TableActions",mixins:[y["a"]],props:{element:{default:null},rowIndex:{tpy:Number,default:-1},actions:{default:[]}},components:{BaseContextMenu:S["a"],ContextMenuItem:T["a"],AnimatedSpinner:x["a"],DownloadLink:I["default"]},data:function(){return{showDropdown:!1,defaultIconProps:{size:24}}},computed:Object(d["a"])(Object(d["a"])({},Object(u["b"])({hasRoles:k["default"].GETTERS.HAS_ROLES})),{},{actionList:function(){var e,t,n=this,a=null===(e=this.actions)||void 0===e?void 0:e.filter((function(e){var t,a,i,s,r=!0;return null!==(t=e.roles)&&void 0!==t&&t.allowed||null!==(a=e.roles)&&void 0!==a&&a.denied?(null!==(i=e.roles)&&void 0!==i&&i.allowed&&(r=n.hasRoles(e.roles.allowed)),r&&null!==(s=e.roles)&&void 0!==s&&s.denied&&(r=!n.hasRoles(e.roles.denied)),r):r}));return null===a||void 0===a||null===(t=a.filter((function(e){return!e.visible||e.visible(n.element)})))||void 0===t?void 0:t.sort((function(e,t){return e.legend.index<t.legend.index?-1:1}))},buttonsAllwaysVisible:function(){return[]},remainingButtons:function(){var e,t=this;return null!==(e=this.actionList)&&void 0!==e&&e.length?this.actionList.filter((function(e){return!t.buttonsAllwaysVisible.some((function(t){return e===t}))&&(!e.legend||e.legend&&!e.legend.hidden)})):[]}}),methods:{getTitle:function(e){return"KID"===e?"PRIIP-BIB":e},showDownloadLink:function(e){return["DOWNLOAD","KID","FACTSHEET_KAG","FACTSHEET"].includes(e.legend.key)&&(e.legend.link||e.value)},iconProperties:function(e){var t,n,a=(null===e||void 0===e||null===(t=e.legend)||void 0===t?void 0:t.iconProps)||this.defaultIconProps;return Object(d["a"])(Object(d["a"])({},a),{},{"data-svg-action-key":null===e||void 0===e||null===(n=e.legend)||void 0===n?void 0:n.key})},toggleDropdown:function(){this.showDropdown=!this.showDropdown},executeAction:function(e,t){t&&this.toggleDropdown(),this.$emit("execute-action",{action:e,value:this.element})},selectElement:function(e){this.$emit("select-element",e)},createColorizedLabel:function(e){if(e&&e.label&&e.sub1&&e.sub2&&e.color){var t=this.getColorized(e.label,e.sub1,e.sub2,e.color),n="";return t.forEach((function(e){n+=e})),n}return e.label},dynamicIconComponent:function(e){return"string"===typeof e?_[e]:e},getFromBetween:function(e,t){if(this.string.indexOf(e)<0||this.string.indexOf(t)<0)return!1;var n=this.string.indexOf(e)+e.length,a=this.string.substr(0,n),i=this.string.substr(n),s=a.length+i.indexOf(t),r=this.string.substr(0,this.string.indexOf(e));return this.isEmpty(r)||this.results.push("<span>"+r+"</span>"),this.string.substring(n,s)},removeFromBetween:function(e,t,n){if(this.string.indexOf(t)<0||this.string.indexOf(n)<0)return!1;var a=this.string.indexOf(n)+n.length,i=this.string.substr(0,a);this.string=this.string.replace(i,"")},getAllResults:function(e,t){if(this.string.indexOf(e)<0||this.string.indexOf(t)<0)this.results.push(this.string);else{var n=this.getFromBetween(e,t);this.results.push('<span style="color:'+this.color+'">'+n+"</span>"),this.removeFromBetween(n,e,t),this.string.indexOf(e)>-1&&this.string.indexOf(t)>-1?this.getAllResults(e,t):this.isEmpty(this.string)||this.results.push("<span>"+this.string+"</span>")}},getColorized:function(e,t,n,a){return this.results=[],this.string=e,this.color=a,this.getAllResults(t,n),this.results},isEmpty:function(e){return!e||0===e.length}}},A=C,w=(n("12d3"),n("2877")),O=Object(w["a"])(A,g,E,!1,null,"8eb71570",null),D=O.exports,N={props:{content:{default:"",required:!0},header:{type:Object,default:function(){},required:!0},keepTextLeft:{type:Boolean,default:!1},tableData:{type:Object,default:function(){return{headers:{},records:[]}}},row:{},rowIndex:{tpy:Number,default:-1},actions:{type:Array,default:function(){return[]}}},computed:Object(d["a"])(Object(d["a"])({},Object(u["b"])({apiAddress:k["default"].GETTERS.API_ADDRESS_LEGACY})),{},{comboBoxLabel:function(){return function(e,t){return t&&"ComboBoxSelection"===e["dataType"]?e.validDataSelection.find((function(e){return e.value===t})).label:t}},isInputField:function(){return function(e,t){var n="String"===e.dataType&&t&&Object.keys(t).some((function(e){return"value"===e}))&&(t.editable||t.isEditable);return n}}}),methods:{isNumber:function(e){var t=this.strToNumber(e);return"number"===typeof t&&!isNaN(t)},strToNumber:function(e){return v["b"].convertStringToNumber(e)},clickAction:function(e){this.$emit("execute-action",e)},getDecimal:function(e,t){if(null===e||void 0===e||""===e)return"";if("string"===typeof e)if(isNaN(e)){if(isNaN(e.replace(",",".")))return e;e=parseFloat(e.replace(",","."))}else e=parseFloat(e);var n=parseInt(t.substr(7,1),10);return e.toLocaleString("de-DE",{style:"decimal",maximumFractionDigits:n,minimumFractionDigits:n})+t.substr(8)}},filters:{currency:function(e){if(isNaN(e))return e;var t=(e/1).toFixed(2).replace(".",",");return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")+"€"},number:function(e){if(isNaN(e))return e;var t=(e/1).toFixed(2).replace(".",",");return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")},numberInt:function(e){if(isNaN(e))return e;var t=(e/1).toFixed(0);return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")},percent:function(e){if(isNaN(e))return e;var t=(e/1).toFixed(2).replace(".",",");return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")+"%"},dateYMD:function(e){return e&&8===e.length?e.substr(6,2)+"."+e.substr(4,2)+"."+e.substr(0,4):e}},components:{InputCheckBoxItem:f["a"],CurrencyLabel:b["a"],InputField:m["default"],TableActions:D}},R=N,M=(n("fe3c"),Object(w["a"])(R,p,h,!1,null,"9bc516f4",null)),P=M.exports,B=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container"},[n("span",{staticClass:"pagination-text text-centered d-flex align-items-center"},[e._v("Anzahl angezeigter Datensätze: "+e._s(1==e.totalPages?e.total:e.itensOnPage)+" von "+e._s(e.total||0))]),e.totalPages>1?n("ul",{staticClass:"fc-pagination justify-content-end m-0"},[n("li",{class:{"page-disabled":e.currentPage<=0}},[n("a",{on:{click:e.onClickPreviousPage}},[n("PhCaretLeft",{staticClass:"mr-2",attrs:{size:16}}),n("span",{staticClass:"hide-on-small-screen"},[e._v("zurück")])],1)]),e._l(e.pages,(function(t){return[n("li",{key:t,class:{"page-disabled":e.currentPage==t,"page-active":e.currentPage==t}},[t<0?n("span",{staticClass:"elipsis"},[e._v("...")]):n("a",{on:{click:function(n){return e.onClickPage(t)}}},[e._v(" "+e._s(t+1)+" ")])])]})),n("li",{class:{"page-disabled":e.currentPage>=e.totalPages-1}},[n("a",{on:{click:e.onClickNextPage}},[n("span",{staticClass:"hide-on-small-screen"},[e._v("weiter")]),n("PhCaretRight",{staticClass:"ml-2",attrs:{size:16}})],1)])],2):e._e()])},L=[],U={props:{totalPages:{type:Number,required:!0},currentPage:{type:Number,required:!0},total:{type:Number,required:!0},perPage:{type:Number,required:!0},displayedItens:{type:Number,default:0}},computed:{pages:function(){for(var e=[],t=!1,n=-12,a=0;a<this.totalPages;a++){var i=Math.min(a,this.totalPages-1-a,Math.abs(this.currentPage-a))<2;i?(e.push(a),t=!1):t||(t=!0,e.push(n--))}return e},itensOnPage:function(){return this.displayedItens||this.perPage||0}},methods:{onClickPage:function(e){this.$emit("pagechanged",e)},onClickPreviousPage:function(){this.onClickPage(this.currentPage-1)},onClickNextPage:function(){this.onClickPage(this.currentPage+1)}},components:{PhCaretLeft:_["PhCaretLeft"],PhCaretRight:_["PhCaretRight"]}},F=U,z=(n("83a3"),Object(w["a"])(F,B,L,!1,null,"ac76562e",null)),j=z.exports,$=n("04bc"),G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card-label__container"},[e.label?n("div",{staticClass:"card-label__label"},[n("span",[e._v(e._s(e.label))])]):e._e(),n("div",{staticClass:"card-label__value"},[e._t("default")],2)])},V=[],K={props:{label:{type:String,default:""}}},H=K,W=(n("23b8"),Object(w["a"])(H,G,V,!1,null,"05c083ac",null)),Z=W.exports,Y=n("7fb1"),X=n("a871"),q=n("8d3d"),J=n("64a1"),Q=n("d175"),ee=n("a2c9"),te=n("11e7"),ne=n("fc66"),ae=n("5a0c"),ie=n.n(ae),se=(n("a9e4"),n("b075"));function re(e){return""===e||"string"!==typeof e&&"number"!==typeof e?0:Object(ee["c"])(e,2)}function oe(e){var t=/\d{2}\.\d{2}\.\d{4}/g;if(e&&t.exec(e)){var n=ie()(e,"DD.MM.YYYY");return n.isValid()}return!1}var le={mixins:[Q["a"],y["a"]],props:{cardViewEnabled:{type:Boolean,default:!0},filterEnabled:{type:Boolean,default:!1},searchFieldKeys:{type:Array,default:function(){return[]}},exportEnabled:{type:Boolean,default:!0},exportConfig:{type:Object,default:function(){}},title:{type:String,default:""},tableData:{type:Object,default:function(){return{headers:{},records:[]}}},tablePriorities:{type:Array,default:function(){return[]}},scrollable:{type:Boolean,default:!0},paginationEnabled:{type:Boolean,default:!0},additionalCollapsed:{type:Boolean,default:!0},rowsPerPage:{type:Number,default:10},count:{type:Number},displayedItens:{type:Number},hasNext:{type:Boolean,default:!1},allowColumnsPriorities:{type:Boolean,default:!1},showCheckBoxBulkAction:{type:Boolean,default:!1},listEnabledCheckBoxBulkAction:{type:Object,default:function(){return null}},configModalTitle:{type:String,default:"Einstellungen"},tableId:{type:String},showIds:{type:Boolean,default:!1},actions:{type:Array,default:function(){return[]}},dragnDropFilesOnRow:{type:Boolean,default:!1},selectedRows:{type:Object,default:function(){return{}}},lockedColumns:{type:Object,default:function(){return{}}},defaultSortKey:{type:String,default:null},defaultSortDirectionAscending:{type:Boolean,default:!1},clearSelectedRowsBeforeDestroy:{type:Boolean,default:!0},valign:{type:String,default:"center"},initialPage:{type:Number,default:0},selectAllRowsByDefault:{type:Boolean,default:!1}},data:function(){return{activeView:"list",componentId:"",searchValue:"",searchFieldValues:{},sortDirection:this.defaultSortKey?this.defaultSortDirectionAscending?"asc":"desc":null,sortKey:this.defaultSortKey,currentPageIndex:this.initialPage,collapsedItems:[],dataTableExport:void 0,customHeader:null,window:{size:null},headersHiddenSmallScreen:{},headersInitialWidth:{},loading:!1,selectedRowsInternal:{},selectedRowsByKey:{},tableInitialised:0,tempXlsxId:0,tempPdfId:0,tempFilePin:"",errorPinFile:"",exportTbl:{pdf:{show:!1},xls:{show:!1}},showExport:!1,tablePageSize:25,menuRowsPerPage:[{value:10,label:"10 Zeilen pro Seite"},{value:25,label:"25 Zeilen pro Seite"},{value:50,label:"50 Zeilen pro Seite"},{value:100,label:"100 Zeilen pro Seite"}]}},watch:{tableData:{handler:function(){var e=this;this.$nextTick((function(){return e.updateTableResponsiveness(!0)}))},deep:!0},savedTableHeaders:function(){var e=this;this.$nextTick((function(){return e.updateTableResponsiveness()}))},selectedRows:{handler:function(e){var t={};Object.keys(e).forEach((function(n){return t[n]=e[n]})),this.selectedRowsInternal=t},immediate:!0},"tableData.records":function(){this.selectedRows&&Object.keys(this.selectedRows).length||(this.clearSelectedRows(),this.clearSelectedRowsByKey())},exportConfig:"getExportConfig"},filters:{lowercase:function(e){return e.toString&&e.toString().toLowerCase().replace(/ /g,"-")},currency:function(e){if(isNaN(e))return e;var t=(e/1).toFixed(2).replace(".",",");return t.toString&&t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")+" €"},percent:function(e){if(isNaN(e))return e;var t=(e/1).toFixed(2).replace(".",",");return t.toString&&t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")+" %"},someNumber:function(e){if(isNaN(e))return e;var t=(e/1).toFixed(2).replace(".",",");return t.toString&&t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}},computed:Object(d["a"])(Object(d["a"])({},Object(u["b"])({columnsConfig:q["default"].GETTERS.GET_FC_CONFIG_TABLE_COLUMN,searchConfigs:ne["default"].GETTERS.TABLE_SORT_OPTIONS,hasRoles:k["default"].GETTERS.HAS_ROLES,fullname:k["default"].GETTERS.GET_USER_FULL_NAME,isConfigurationReadOnly:q["default"].GETTERS.IS_CONFIGURATION_READ_ONLY})),{},{pageSize:function(){return this.tablePageSize>0&&this.rowsPerPage?this.tablePageSize:this.rowsPerPage},savedTableHeaders:function(){if(!this.tableId||!this.columnsConfig)return null;var e=this.columnsConfig[this.tableId];return null!==e&&void 0!==e&&e.content?JSON.parse(e.content):null},columns:function(){var e=this;return Object.keys(this.headers).map((function(t){return Object(d["a"])(Object(d["a"])({},e.headers[t]),{},{key:t})}))},rows:function(){var e,t=this,n=this.visibleColumns,a=this.searchValue.toLowerCase(),i=JSON.parse(JSON.stringify(this.tableData.records));!a||null!==(e=this.searchFieldKeys)&&void 0!==e&&e.length||(i=i.filter((function(e){return Object.entries(e).filter((function(e){var t=Object(c["a"])(e,2),a=t[0];t[1];return n.includes(a)})).some((function(e){var t=Object(c["a"])(e,2),n=(t[0],t[1]);return n&&n.toString&&n.toString().toLowerCase().includes(a)}))})));var s=this.searchFieldKeys;if(s.length&&(i=i.filter((function(e){return s.every((function(t){return e[t]&&e[t].toString&&e[t].toString().toLowerCase().includes(a)}))}))),this.sortDirection&&this.sortKey){var r,o=this.headers[this.sortKey],l=o?o.dataType:null===(r=Object.values(this.headers).find((function(e){return e.sortKey===t.sortKey})))||void 0===r?void 0:r.dataType;i.sort(this.compareValues({key:this.sortKey,order:this.sortDirection,dataType:l}))}return i},headersNeverConfigured:function(){var e=this;return this.savedTableHeaders&&this.tableData.headers?Object.keys(this.tableData.headers).filter((function(t){return!e.savedTableHeaders[t]})).reduce((function(t,n){return t[n]=e.tableData.headers[n],t}),{}):{}},headersConfiguredWasRemovedKeys:function(){var e=this;return this.savedTableHeaders&&this.tableData.headers&&Object.keys(this.savedTableHeaders).filter((function(t){return!e.tableData.headers[t]}))||[]},headersAlwaysVisibleKeys:function(){var e=this;return Object.keys(this.tableData.headers).filter((function(t){var n,a,i,s;return!0===e.tableData.headers[t].alwaysVisible||(null===(n=e.lockedColumns)||void 0===n||null===(a=n.toLeft)||void 0===a?void 0:a.findIndex((function(e){return e.key===t})))>=0||(null===(i=e.lockedColumns)||void 0===i||null===(s=i.toRight)||void 0===s?void 0:s.findIndex((function(e){return e.key===t})))>=0}))},headers:function(){var e=this;if(this.loading)return null;var t=Object(d["a"])(Object(d["a"])({},this.customHeader||this.savedTableHeaders||this.tableData&&this.tableData.headers||{}),this.headersNeverConfigured);if(this.headersAlwaysVisibleKeys.forEach((function(n){t[n]=t[n]||e.tableData.headers[n]||{label:n},t[n].visible=!0,t[n].alwaysVisible=!0})),this.headersConfiguredWasRemovedKeys.forEach((function(e){return delete t[e]})),this.assignMultableHeadersProps(t),null!=t)for(var n=0,a=Object.entries(t);n<a.length;n++){var i=Object(c["a"])(a[n],2),s=(i[0],i[1]);s.sortable=void 0===s.sortable||s.sortable}var r=this.sortLockedColumns(t),o=Object.values(this.lockedColumns).flatMap((function(e){return e}));return o.forEach((function(e){e.width&&r[e.key]&&(r[e.key].width=e.width)})),r||t},columnsTopPriority:function(){var e=this;return Object.keys(this.headers).filter((function(t){return e.headers[t].filterable})).map((function(t){return Object(d["a"])(Object(d["a"])({},e.headers[t]),{},{key:t})}))},currentPageData:function(){var e,t,n=(null===(e=this.rows)||void 0===e?void 0:e.length)>this.pageSize?null===(t=this.rows)||void 0===t?void 0:t.slice(this.currentPageIndex*this.pageSize,(this.currentPageIndex+1)*this.pageSize):this.rows;return this.$emit("pageloaded",n),null!==n&&void 0!==n&&n.length&&this.selectAllRowsByDefault&&this.tableInitialised<2&&this.selectAllRows(),n},pagesNumber:function(){return this.count?Math.max(1,Math.ceil(this.count/this.pageSize)):Math.max(1,Math.ceil(this.rows.length/this.pageSize))},getIsSomeSum:function(){var e=this;return Object.keys(this.headers).some((function(t){return e.headers[t].sum}))},getIsSomeAutoSum:function(){var e=this;return Object.keys(this.headers).some((function(t){return"number"===typeof e.headers[t].autoSum}))},tableHeadersList:function(){return Object.values(this.headers)},visibleColumns:function(){var e=Object.entries(this.headers).filter((function(e){var t=Object(c["a"])(e,2),n=(t[0],t[1]);return n.visible}));e.map((function(e){var t=Object(c["a"])(e,2),n=t[0];t[1];return n}));return Object.entries(this.headers).filter((function(e){var t=Object(c["a"])(e,2),n=(t[0],t[1]);return n.visible})).map((function(e){var t=Object(c["a"])(e,2),n=t[0];t[1];return n}))},getIsSomeExpanded:function(){var e=this.visibleColumns,t=Object.entries(this.headersHiddenSmallScreen).filter((function(t){var n=Object(c["a"])(t,2),a=n[0],i=n[1];return e.includes(a)&&1==i}));return this.additionalCollapsed&&t.length},isAllRowsSelected:function(){var e,t=this;return(null===(e=this.rows)||void 0===e?void 0:e.length)>0&&this.rows.every((function(e,n){return t.selectedRowsInternal[n]}))},hasSomeRowsSelected:function(){var e,t=this;return(null===(e=this.rows)||void 0===e?void 0:e.length)>0&&this.rows.some((function(e,n){return t.selectedRowsInternal[n]}))},searchPlaceHolder:function(){var e,t=this,n="Suchen";if(this.filterEnabled&&null!==(e=this.searchFieldKeys)&&void 0!==e&&e.length&&!this.searchValue){var a=this.searchFieldKeys.map((function(e){var n;return null===(n=t.headers[e])||void 0===n?void 0:n.label})).join(", ");n+=" nach "+a}return n},selectRowIndexPadding:function(){return this.currentPageIndex*this.pageSize},showOpenColumnsConfig:function(){return this.title&&this.tableId&&!this.isConfigurationReadOnly}}),methods:{columnStyle:function(e){return this.headers&&this.headers[e]&&this.headers[e].width?{width:this.headers[e].width}:""},rowStyle:function(e){return(null===e||void 0===e?void 0:e.customRowStyle)||""},handleResize:function(e){var t=this;e&&(this.window.size=e,this.$nextTick((function(){return t.updateTableResponsiveness()})))},getIsSum:function(e){return this.headers[e].sum},getIsAutoSum:function(e){return"number"===typeof this.headers[e].autoSum},isInHeaders:function(e){return!!this.headers[e]},getSum:function(e){var t=this.rows.map((function(t){return re(t[e])})).reduce((function(e,t){return e+t}),0);return"number"===typeof t?t.toFixed(2):""},getAutoSum:function(e){return this.headers[e].autoSum},getTypeSign:function(e){return this.rows[0]&&this.rows[0][e]&&"string"===typeof this.rows[0][e]?isNaN(this.rows[0][e][this.rows[0][e].length-1])?this.rows[0][e][this.rows[0][e].length-1]:"":this.headers&&this.headers[e]&&this.headers[e]["dataSymbol"]?this.headers[e]["dataSymbol"]:""},collapse:function(e,t){e[t]?e[t]=!e[t]:e[t]=!0,this.collapsedItems=Object(l["a"])(e)},isExpanded:function(e){return this.collapsedItems[e]},setActiveView:function(e){this.activeView=e},gotoFirstPage:function(){this.onPageChange(0)},gotoPrevPage:function(){this.onPageChange(Math.max(0,this.currentPageIndex-1))},gotoNextPage:function(){this.onPageChange(Math.min(this.pagesNumber-1,this.currentPageIndex+1))},gotoLastPage:function(){this.onPageChange(this.pagesNumber-1)},onPageChange:function(e){this.currentPageIndex=Math.max(0,Math.min(this.pagesNumber-1,e)),this.$emit("pagechanged",{index:this.currentPageIndex})},compareValues:function(e){var t=e.key,n=e.order,a=e.dataType,i=void 0===a?void 0:a;return function(e,a){if(!e.hasOwnProperty(t)||!a.hasOwnProperty(t))return 0;var s=e[t],r=a[t];if(oe(s)&&oe(r)){s=ie()(s,"DD.MM.YYYY HH:mm:ss"),r=ie()(r,"DD.MM.YYYY HH:mm:ss");var o=0;return o=s.isBefore(r)?-1:1,"desc"===n?-1*o:o}if("boolean"===typeof s&&"boolean"===typeof r)return"desc"===n?s-r:r-s;if(i&&("Currency"===i||"Procent"===i||"Number"===i))return s=re(s),r=re(r),"desc"===n?s-r:r-s;s=String(s),r=String(r);var l=new Intl.Collator([],{numeric:!0});return"desc"===n?l.compare(r,s):l.compare(s,r)}},toggleSort:function(e,t){var n=this;if(t){switch(this.sortDirection){case"asc":this.sortDirection="desc";break;case"desc":this.sortDirection=null;break;default:this.sortDirection="asc";break}this.sortKey=e;var a={sortDirection:this.sortDirection,key:e};this.$emit("onSort",a),this.saveCachedSortOptions({tableId:this.tableId,onSortPayload:a}),this.$nextTick((function(){return n.updateTableResponsiveness()})),this.clearSelectedRows(),this.clearSelectedRowsByKey(),this.gotoFirstPage()}},showArrowUp:function(e){return this.sortKey===e&&"asc"===this.sortDirection},showArrowDown:function(e){return this.sortKey===e&&"desc"===this.sortDirection},exportColumn:function(e,t){var n=2;/Decimal\d/.test(e)&&(n=parseInt(e.substr(7,1),10),e="Decimal");var a={NumberInt:1,Integer:1,Currency:1,CurrencyNoLabel:1,Number:1,Double:1,Procent:1,Decimal:1};switch(void 0!==t&&("string"===typeof t&&a[e]&&isNaN(t)?e="String":null===t&&(e="String",t=""),"boolean"===typeof t&&"Boolean"!==e&&(t=t?"Ja":"Nein"),t instanceof Date?t=ie()(t,"DD.MM.YYYY"):"object"===Object(o["a"])(t)&&(t=void 0!==t.label&&void 0!==t.value?t.label:void 0!==t.value?t.value:"")),e){case"Slot":case"String":return void 0===t||t;case"Boolean":return void 0===t||(t?"1":"0");case"NumberInt":case"Integer":return void 0===t||Object(ee["a"])(t,0);case"Currency":case"CurrencyNoLabel":case"Number":case"Double":case"Procent":case"Decimal":return void 0===t||Object(ee["a"])(t,n);case"DateYMD":return void 0===t||(8!==t.length?t:t.substr(6,2)+"."+t.substr(4,2)+"."+t.substr(0,4));default:return void 0!==t&&""}},exportTableToExcel:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var n,a,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=null,null!==(n=e.exportTbl.xls)&&void 0!==n&&n.keys&&("string"===typeof e.exportTbl.xls.keys?a=e.exportTbl.xls.keys.split(",").filter((function(t){return!!e.headers[t]})):Array.isArray(e.exportTbl.xls.keys)?a=e.exportTbl.pdf.keys.filter((function(t){return!!e.headers[t]})):"function"===typeof e.exportTbl.xls.keys&&(a=e.exportTbl.xls.keys())),null===a&&(a=e.columns.filter((function(t){return e.exportColumn(t.dataType)&&t.visible})).map((function(e){return e.key}))),i=e.exportTbl.xls.name||"Dokument",s=e.exportTbl.xls.title||"",-1!==s.indexOf("FULLNAME")&&(s=s.replace(/FULLNAME/g,e.fullname)),t.next=8,e.$store.dispatch(k["default"].ACTIONS.CREATE_XLS_OR_PDF,{create:"xls",filename:i+".xls",title:s,columns:a.map((function(t){return e.headers[t].label})),rows:e.exportData(a)});case 8:r=t.sent,r.data.bytes?Object(I["viewDocument"])({data:r.data.bytes,filename:i,contentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",fileExtension:"xlsx"},!0):r.data.tempFileId&&(e.tempXlsxId=r.data.tempFileId,e.$refs.modalDownloadPin.open());case 10:case"end":return t.stop()}}),t)})))()},exportData:function(e){var t=this,n=this.rows.map((function(n){return e.map((function(e){return""+t.exportColumn(t.headers[e].dataType,n[e]||"")}))}));if(this.getIsSomeSum||this.getIsSomeAutoSum){var a=[];e.forEach((function(e){t.getIsSum(e)?a.push(""+t.exportColumn(t.headers[e].dataType,t.getSum(e)||"")):t.getIsAutoSum(e)?a.push(""+t.exportColumn(t.headers[e].dataType,t.getAutoSum(e)||"")):a.push("")})),n.push(a)}return n},exportPDF:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var n,a,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=null,null!==(n=e.exportTbl.pdf)&&void 0!==n&&n.keys&&("string"===typeof e.exportTbl.pdf.keys?a=e.exportTbl.pdf.keys.split(",").filter((function(t){return!!e.headers[t]})):Array.isArray(e.exportTbl.pdf.keys)?a=e.exportTbl.pdf.keys.filter((function(t){return!!e.headers[t]})):"function"===typeof e.exportTbl.pdf.keys&&(a=e.exportTbl.pdf.keys())),null===a&&(a=e.columns.filter((function(t){return e.exportColumn(t.dataType)&&t.visible})).map((function(e){return e.key}))),i=e.exportTbl.pdf.name||"Dokument",s=e.exportTbl.pdf.title||"",-1!==s.indexOf("FULLNAME")&&(s=s.replace(/FULLNAME/g,e.fullname)),t.next=8,e.$store.dispatch(k["default"].ACTIONS.CREATE_XLS_OR_PDF,{create:"pdf",filename:i+".pdf",title:s,columns:a.map((function(t){return e.headers[t].label})),rows:e.exportData(a)});case 8:r=t.sent,r.data.bytes?Object(I["viewDocument"])({data:r.data.bytes,filename:i,contentType:"application/pdf"},!0):r.data.tempFileId&&(e.tempPdfId=r.data.tempFileId,e.$refs.modalDownloadPin.open());case 10:case"end":return t.stop()}}),t)})))()},downloadPinFile:function(){var e=this.tempXlsxId?this.tempXlsxId:this.tempPdfId,t=this.tempXlsxId?"xlsx":"pdf",n=this.tempXlsxId?"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"application/pdf";/\d\d\d/.test(this.tempFilePin)?(this.$store.dispatch(k["default"].ACTIONS.GET_PIN_DATA,{id:e,pin:parseInt(this.tempFilePin),type:t,contenttype:n}),this.$refs.modalDownloadPin.close()):this.errorPinFile="Bitte eine 3-steligen Nummer als Pin eingeben"},exportPDF_cards:function(){},openColumnsConfig:function(){this.$refs.columnsConfig.open()},setConfiguredHeaders:function(e){var t=this;this.customHeader=e.map((function(e){return e.key})).reduce((function(t,n,a){return t[n]=e[a],t}),{}),this.$nextTick((function(){return t.updateTableResponsiveness()}))},onFinishColumnsConfig:function(e){if(this.tableId&&this.customHeader){var t={configId:this.tableId,configType:J["c"].TABLE_COLUMN_CONFIG,content:JSON.stringify(this.customHeader),userLevel:e||null};this.$store.dispatch(q["default"].ACTIONS.SAVE_FC_CONFIG,t)}},restoreDefaultColumnConfiguration:function(e){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.customHeader=null,!t.tableId){n.next=6;break}return a={configId:t.tableId,configType:J["c"].TABLE_COLUMN_CONFIG,userLevel:e||null},n.next=5,t.$store.dispatch(q["default"].ACTIONS.DELETE_FC_CONFIG,a);case 5:t.$nextTick((function(){return t.updateTableResponsiveness()}));case 6:case"end":return n.stop()}}),n)})))()},isLockedColumnNeverHiden:function(e){return!!Object.values(this.lockedColumns).flatMap((function(e){return e})).filter((function(t){return t.key===e&&t.neverHide})).length},updateTableResponsiveness:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.headers&&this.$refs.table&&this.$refs.tableContainer){var n=this.$refs.tableContainer.clientWidth-10,a=this.$refs.table;a.classList.remove("table-full"),a.classList.remove("table-fixed");var i=Object(l["a"])(this.$refs.table.querySelectorAll("tbody tr:first-child > td")),r=0,o=i.reduce((function(e,t){var n;return Object(d["a"])(Object(d["a"])({},e),{},Object(s["a"])({},null===t||void 0===t||null===(n=t.dataset)||void 0===n?void 0:n.tableColKey,t))}),{});o["collapse"]&&(r+=this.headersInitialWidth["collapse"]||o["collapse"].offsetWidth),o["checkbox"]&&(r+=this.headersInitialWidth["checkbox"]||o["checkbox"].offsetWidth),o["actions"]&&(r+=this.headersInitialWidth["actions"]||o["actions"].offsetWidth);var u=Object.values(this.lockedColumns).flatMap((function(e){return e})).map((function(e){return e.key}));null!==u&&void 0!==u&&u.length&&u.forEach((function(t){o[t]&&(r+=e.headersInitialWidth[t]||o[t].offsetWidth)}));for(var p=0,h=Object.entries(o);p<h.length;p++){var f=Object(c["a"])(h[p],2),m=f[0],b=f[1];if(this.headersInitialWidth[m]&&!t||(this.headersInitialWidth[m]=parseInt(b.offsetWidth)),["collapse","checkbox"].includes(m)||u.includes(m)||"actions"===m)this.$set(this.headersHiddenSmallScreen,m,!1);else{r+=this.headersInitialWidth[m];var v=this.headers[m].visible,g=0===this.headersInitialWidth[m];this.$set(this.headersHiddenSmallScreen,m,!v||g||r>n)}}var E=0;this.getIsSomeExpanded&&E++,this.showCheckBoxBulkAction&&E++;var _=0;null!==u&&void 0!==u&&u.length&&(_=(null===u||void 0===u?void 0:u.length)+E,o["actions"]&&_++);var S=Object.values(this.headersHiddenSmallScreen).filter((function(e){return!e})),T=!1;if(S.length===_){var x=this.headersInitialWidth["collapse"]||0+this.headersInitialWidth["checkbox"]||0+this.headersInitialWidth["actions"]||0;u.forEach((function(t){x+=e.headersInitialWidth[t];var a=x>n,i=e.isLockedColumnNeverHiden(t);T=T||a&&i,e.$set(e.headersHiddenSmallScreen,t,a&&!i)})),S=Object.values(this.headersHiddenSmallScreen).filter((function(e){return!e}))}var y=this.showCheckBoxBulkAction?4:3;(T||i.length>0&&(S.length<y||Object.keys(o).length<=y||!this.currentPageData.length))&&(this.$set(this.headersHiddenSmallScreen,Object.keys(o)[E],!1),a.classList.add("table-fixed")),a&&!a.classList.contains("table-full")&&a.classList.add("table-full")}},calculateColspan:function(){var e=Object.values(this.headersHiddenSmallScreen).filter((function(e){return!e})).length;return this.getIsSomeExpanded&&e++,this.showCheckBoxBulkAction&&e++,e},clickAction:function(e){this.$emit("execute-action",e)},onChangeSelected:function(e,t,n){var a=!!e&&n;this.selectedRowsInternal=Object(d["a"])(Object(d["a"])({},this.selectedRowsInternal),{},Object(s["a"])({},t,a)),this.selectedRows[t]=a,this.selectedRowsEmit(this.selectedRows),e?this.$emit("selectedRow",Object(d["a"])({},n)):this.$emit("unselectedRow",Object(d["a"])({},n))},handleRowFilesDropped:function(e,t){this.$emit("row-files",{row:e,files:t})},assignMultableHeadersProps:function(e){var t=this;this.savedTableHeaders&&this.tableData.headers&&Object.keys(e).forEach((function(n){var a=e[n],i=t.tableData.headers[n];a.label=i.label,a.sortable=i.sortable,a.filterable=i.filterable,a.dataType=i.dataType}))},rowContent:function(e,t,n){var a=this.selectedRowsByKey[n];return a&&t in a?!!a[t]:e[t]},toggleSelectAllRows:function(e){var t=this,n=this.rows,a={};n.forEach((function(n,i){var s=!!e&&n;a[i]=s,t.selectedRows[i]=s})),this.selectedRowsInternal=a,this.selectedRowsEmit(this.selectedRows),e?this.$emit("selectedAllRows",Object(l["a"])(n)):this.$emit("unselectedAllRows",Object(l["a"])(n))},selectedRowsEmit:function(e){this.$emit("selectedRows",e)},clearSelectedRows:function(){var e=this;this.selectedRowsInternal={},Object.keys(this.selectedRows).forEach((function(t){delete e.selectedRows[t]})),this.selectedRowsEmit(this.selectedRows),this.$emit("clearSelectedRows")},selectedRowByKeyObject:function(e,t,n){return Object(s["a"])({},t,!!n&&e)},toggleSelectAllRowsByKey:function(e,t){var n=this,a=this.rows;this.selectedRowsByKey=a.reduce((function(a,i,s){return a[s]=n.selectedRowByKeyObject(i,e,t),a}),{}),t?this.$emit("selectedAllRowsByKey",{rows:Object(l["a"])(a),key:e}):this.$emit("unselectedAllRowsByKey",{rows:Object(l["a"])(a),key:e})},selectedRowKey:function(e,t,n,a){this.selectedRowsByKey=Object(d["a"])(Object(d["a"])({},this.selectedRowsByKey),{},Object(s["a"])({},t,this.selectedRowByKeyObject(e,n,a)));var i={row:e,key:n};a?this.$emit("selectedRowByKey",i):this.$emit("unselectedRowByKey",i)},isAllRowsSelectedByKey:function(e){var t,n=this;return(null===(t=this.rows)||void 0===t?void 0:t.length)>0&&this.rows.every((function(t,a){var i=n.selectedRowsByKey[a];return i?!!i[e]:t[e]}))},hasSomeRowsSelectedByKey:function(e){var t,n=this;return(null===(t=this.rows)||void 0===t?void 0:t.length)>0&&this.rows.some((function(t,a){var i=n.selectedRowsByKey[a];return i?!!i[e]:t[e]}))},clearSelectedRowsByKey:function(){this.selectedRowsByKey={},this.$emit("clearSelectedRowsByKey")},sortLockedColumns:function(e){var t=null,n=Object.entries(e),a=n.findIndex((function(e){return"actions"===e[0]})),i=a>=0?n.splice(a,1)[0]:null,r=[],o=[];if(Object.values(this.lockedColumns).length){var l,c,u,p;null!==(l=this.lockedColumns)&&void 0!==l&&null!==(c=l.toLeft)&&void 0!==c&&c.length&&this.lockedColumns.toLeft.forEach((function(e){var t=n.findIndex((function(t){return t[0]===e.key}));t<0||r.push(n.splice(t,1)[0])}));var h=(null===(u=this.lockedColumns)||void 0===u||null===(p=u.toRight)||void 0===p?void 0:p.length)||0;if(h){o=new Array(h);var f=o.length-1;this.lockedColumns.toRight.forEach((function(e){var t=n.findIndex((function(t){return t[0]===e.key}));t<0||(o.splice(f,1,n.splice(t,1)[0]),f--)}))}var m=r.reduce((function(e,t){return Object(d["a"])(Object(d["a"])({},e),{},Object(s["a"])({},t[0],t[1]))}),{}),b=o.reduce((function(e,t){return Object(d["a"])(Object(d["a"])({},e),{},Object(s["a"])({},t[0],t[1]))}),{}),v=n.reduce((function(e,t){return Object(d["a"])(Object(d["a"])({},e),{},Object(s["a"])({},t[0],t[1]))}),{});t=Object(d["a"])(Object(d["a"])(Object(d["a"])({},m),v),b),i&&(t=Object(d["a"])(Object(d["a"])({},t),{},Object(s["a"])({},i[0],i[1])))}return t},saveCachedSortOptions:function(e){this.$store.dispatch(ne["default"].ACTIONS.SAVE_TABLE_SORT_OPTIONS,e)},loadCachedSortOptions:function(){var e;if(null!==(e=this.$route.query)&&void 0!==e&&e.backAction&&this.tableId){var t,n=null===(t=this.searchConfigs)||void 0===t?void 0:t.call(this,this.tableId);this.sortKey=null===n||void 0===n?void 0:n.key,this.sortDirection=null===n||void 0===n?void 0:n.sortDirection}},selectAllRows:function(){this.toggleSelectAllRows(!0),this.tableInitialised+=1},getExportConfig:function(){var e,t,n;this.exportConfig&&(this.showExport=this.exportEnabled,null!==(e=this.exportConfig)&&void 0!==e&&e.roottext&&(this.exportTbl.pdf={show:!0,name:this.exportConfig.roottext+" "+ie()(new Date).format("DD-MMM-YYYY HH mm"),title:this.exportConfig.roottext+" - FULLNAME"},this.exportTbl.xls={show:!0,name:this.exportConfig.roottext+" "+ie()(new Date).format("DD-MMM-YYYY HH mm"),title:this.exportConfig.roottext+" - FULLNAME"}),null!==(t=this.exportConfig)&&void 0!==t&&t.pdf&&(this.exportTbl.pdf=Object.assign(this.exportTbl.pdf||{},this.exportConfig.pdf)),null!==(n=this.exportConfig)&&void 0!==n&&n.xls&&(this.exportTbl.xls=Object.assign(this.exportTbl.xls||{},this.exportConfig.xls)))},forceUnselectRows:function(){this.clearSelectedRows()}},created:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.tableId){t.next=6;break}return n={configId:e.tableId,configType:J["c"].TABLE_COLUMN_CONFIG},e.loading=!0,t.next=5,e.$store.dispatch(q["default"].ACTIONS.LOAD_FC_CONFIG,n);case 5:e.loading=!1;case 6:e.$nextTick((function(){e.screenSizeData.throttleLimit=200,e.handleResize(e.screenSizeData.initialSize),e.$addResizeListener((function(t,n){return e.handleResize(n)}))}));case 7:case"end":return t.stop()}}),t)})))()},mounted:function(){this.componentId=this.title,this.loadCachedSortOptions(),this.exportEnabled&&(this.exportTbl={pdf:{show:!0,name:"Dokument",keys:""},xls:{show:!0,name:"Dokument",title:"",keys:""}},this.getExportConfig())},beforeDestroy:function(){this.clearSelectedRowsBeforeDestroy&&(this.clearSelectedRows(),this.clearSelectedRowsByKey())},components:{Pagination:j,Cell:P,InputField:m["default"],BaseButton:$["default"],CardLabel:Z,PhCaretRight:_["PhCaretRight"],PhCaretUp:_["PhCaretUp"],PhCaretDown:_["PhCaretDown"],ModalColumnConfig:Y["a"],InputCheckBoxItem:f["a"],DragnDropArea:te["a"],BaseModal:X["a"],PhSortAscending:_["PhSortAscending"],PhList:_["PhList"],PhTextAlignJustify:_["PhTextAlignJustify"],PhTable:_["PhTable"],BaseContextMenu:S["a"],ContextMenuGroup:se["a"],ContextMenuItem:T["a"]}},ce=le,de=(n("6fc8"),n("3129"),Object(w["a"])(ce,a,i,!1,null,"562286d0",null));t["a"]=de.exports},"23b8":function(e,t,n){"use strict";n("ed27")},"247a":function(e,t,n){var a=n("8472");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("2c0d43dc",a,!0,{sourceMap:!1,shadowMode:!1})},2519:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".insurance__table--company[data-v-c0758182]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.insurance__table--company__logo[data-v-c0758182]{margin:0 8px 0 0;max-width:40px;height:auto}",""]),e.exports=t},"271a":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".components__container>*[data-v-758fd6c4]{margin-bottom:16px}.components__container[data-v-758fd6c4]>:last-child{margin-bottom:0}",""]),e.exports=t},"27b2":function(e,t,n){"use strict";n("5367")},2943:function(e,t,n){"use strict";n("a4a6")},"29b9":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".form-container[data-v-b9e74b14]{display:-webkit-box;display:-ms-flexbox;display:flex}.form-container .form-container__stepper[data-v-b9e74b14]{display:none;margin:0 24px 0 0;-webkit-transition:width .5s ease;transition:width .5s ease}.form-container .form-container__stepper>*[data-v-b9e74b14]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:100%}.form-container .form-container__content[data-v-b9e74b14]{width:100%;-webkit-transition:width .5s ease;transition:width .5s ease}.form-container.form-container--transition-active .form-container__content[data-v-b9e74b14]{overflow:hidden}@media screen and (min-width:992px){.form-container .form-container__stepper[data-v-b9e74b14]{display:-webkit-box;display:-ms-flexbox;display:flex;width:350px;position:sticky;top:0;-ms-flex-item-align:start;align-self:flex-start;max-height:1000px;overflow-y:auto}.form-container .form-container__content[data-v-b9e74b14]{width:calc(100% - 324px)}.form-container .form-container__content.form-container__content--full[data-v-b9e74b14]{width:100%}.form-container.form-container__stepper-collapsed .form-container__stepper[data-v-b9e74b14]{width:68px}.form-container.form-container__stepper-collapsed .form-container__content[data-v-b9e74b14]{width:calc(100% - 92px)}}@media screen and (min-width:3840px){.app--is-test-user-context .form-container .form-container__stepper[data-v-b9e74b14]{display:-webkit-box;display:-ms-flexbox;display:flex;width:400px}.app--is-test-user-context .form-container .form-container__content[data-v-b9e74b14]{width:calc(100% - 424px)}}",""]),e.exports=t},"29e8":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"box__container",staticStyle:{display:"flex","flex-direction":"column"}},[n("div",{staticClass:"row",style:e.styleOrder("kennzeichen")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{ref:"kennzeichenInput",attrs:{label:"Kennzeichen",disabled:e.disabled},model:{value:e.fahrzeugdaten.kennzeichen,callback:function(t){e.$set(e.fahrzeugdaten,"kennzeichen",t)},expression:"fahrzeugdaten.kennzeichen"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("fzgart")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Fahrzeugart (WKZ)",values:e.vertragsdatenFieldsDefinition&&e.vertragsdatenFieldsDefinition.fzgart.value,disabled:e.disabled},model:{value:e.fahrzeugdaten.fzgart,callback:function(t){e.$set(e.fahrzeugdaten,"fzgart",t)},expression:"fahrzeugdaten.fzgart"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("marke")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Marke",disabled:e.disabled},model:{value:e.fahrzeugdaten.marke,callback:function(t){e.$set(e.fahrzeugdaten,"marke",t)},expression:"fahrzeugdaten.marke"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("handelsbez")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Handelsbezeichnung",disabled:e.disabled},model:{value:e.fahrzeugdaten.handelsbez,callback:function(t){e.$set(e.fahrzeugdaten,"handelsbez",t)},expression:"fahrzeugdaten.handelsbez"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("leistung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{type:"number",isInteger:"",label:"Leistung (kW)",disabled:e.disabled},model:{value:e.fahrzeugdaten.leistung,callback:function(t){e.$set(e.fahrzeugdaten,"leistung",t)},expression:"fahrzeugdaten.leistung"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("hubraum")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{type:"number",isInteger:"",label:"Hubraum (cm³)",disabled:e.disabled},model:{value:e.fahrzeugdaten.hubraum,callback:function(t){e.$set(e.fahrzeugdaten,"hubraum",t)},expression:"fahrzeugdaten.hubraum"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("plaetze")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{type:"number",isInteger:"",label:"Plätze",disabled:e.disabled},model:{value:e.fahrzeugdaten.plaetze,callback:function(t){e.$set(e.fahrzeugdaten,"plaetze",t)},expression:"fahrzeugdaten.plaetze"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("nutzlast")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{type:"number",isInteger:"",label:"Nutzlast in kg",disabled:e.disabled},model:{value:e.fahrzeugdaten.nutzlast,callback:function(t){e.$set(e.fahrzeugdaten,"nutzlast",t)},expression:"fahrzeugdaten.nutzlast"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("verwendzweck")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Nutzung",disabled:e.disabled},model:{value:e.fahrzeugdaten.verwendzweck,callback:function(t){e.$set(e.fahrzeugdaten,"verwendzweck",t)},expression:"fahrzeugdaten.verwendzweck"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("nutzerkreis")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Nutzerkreis",disabled:e.disabled},model:{value:e.fahrzeugdaten.nutzerkreis,callback:function(t){e.$set(e.fahrzeugdaten,"nutzerkreis",t)},expression:"fahrzeugdaten.nutzerkreis"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("antriebsart")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Antriebsart",values:e.vertragsdatenFieldsDefinition&&e.vertragsdatenFieldsDefinition.antriebsart.value,disabled:e.disabled},model:{value:e.fahrzeugdaten.antriebsart,callback:function(t){e.$set(e.fahrzeugdaten,"antriebsart",t)},expression:"fahrzeugdaten.antriebsart"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("erstzulassdat")},[n("div",{staticClass:"col-12 col-sm-6"},[n("DatePickerField",{attrs:{label:"Erstzulassung",isValueAsString:"",disabled:e.disabled},model:{value:e.fahrzeugdaten.erstzulassdat,callback:function(t){e.$set(e.fahrzeugdaten,"erstzulassdat",t)},expression:"fahrzeugdaten.erstzulassdat"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("zulassung_vn_seit")},[n("div",{staticClass:"col-12 col-sm-6"},[n("DatePickerField",{attrs:{label:"Zulassung auf VN seit",isValueAsString:"",disabled:e.disabled},model:{value:e.fahrzeugdaten.zulassung_vn_seit,callback:function(t){e.$set(e.fahrzeugdaten,"zulassung_vn_seit",t)},expression:"fahrzeugdaten.zulassung_vn_seit"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("kilometerstand")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Kilometerstand",disabled:e.disabled,type:"number",isInteger:""},model:{value:e.fahrzeugdaten.kilometerstand,callback:function(t){e.$set(e.fahrzeugdaten,"kilometerstand",t)},expression:"fahrzeugdaten.kilometerstand"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("kilometerstand_am")},[n("div",{staticClass:"col-12 col-sm-6"},[n("DatePickerField",{attrs:{label:"Kilometerstand am",isValueAsString:"",disabled:e.disabled},model:{value:e.fahrzeugdaten.kilometerstand_am,callback:function(t){e.$set(e.fahrzeugdaten,"kilometerstand_am",t)},expression:"fahrzeugdaten.kilometerstand_am"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("kilometerleistung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Kilometerleistung",disabled:e.disabled,type:"number",isInteger:""},model:{value:e.fahrzeugdaten.kilometerleistung,callback:function(t){e.$set(e.fahrzeugdaten,"kilometerleistung",t)},expression:"fahrzeugdaten.kilometerleistung"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("leasing")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Leasing",disabled:e.disabled},model:{value:e.fahrzeugdaten.leasing,callback:function(t){e.$set(e.fahrzeugdaten,"leasing",t)},expression:"fahrzeugdaten.leasing"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("kat")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"KAT",disabled:e.disabled},model:{value:e.fahrzeugdaten.kat,callback:function(t){e.$set(e.fahrzeugdaten,"kat",t)},expression:"fahrzeugdaten.kat"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("abs")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"ABS",disabled:e.disabled},model:{value:e.fahrzeugdaten.abs,callback:function(t){e.$set(e.fahrzeugdaten,"abs",t)},expression:"fahrzeugdaten.abs"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("neuwert")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Neuwert",disabled:e.disabled,type:"currency"},model:{value:e.fahrzeugdaten.neuwert,callback:function(t){e.$set(e.fahrzeugdaten,"neuwert",t)},expression:"fahrzeugdaten.neuwert"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("zeitwert")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Zeitwert",disabled:e.disabled,type:"currency"},model:{value:e.fahrzeugdaten.zeitwert,callback:function(t){e.$set(e.fahrzeugdaten,"zeitwert",t)},expression:"fahrzeugdaten.zeitwert"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("zeitwert_vom")},[n("div",{staticClass:"col-12 col-sm-6"},[n("DatePickerField",{attrs:{label:"Zeitwert vom",isValueAsString:"",disabled:e.disabled},model:{value:e.fahrzeugdaten.zeitwert_vom,callback:function(t){e.$set(e.fahrzeugdaten,"zeitwert_vom",t)},expression:"fahrzeugdaten.zeitwert_vom"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("motornr")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Motornummer",disabled:e.disabled},model:{value:e.fahrzeugdaten.motornr,callback:function(t){e.$set(e.fahrzeugdaten,"motornr",t)},expression:"fahrzeugdaten.motornr"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("stellplatz")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Stellplatz",disabled:e.disabled},model:{value:e.fahrzeugdaten.stellplatz,callback:function(t){e.$set(e.fahrzeugdaten,"stellplatz",t)},expression:"fahrzeugdaten.stellplatz"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("wegfahrsperre")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Wegfahrsperre",disabled:e.disabled},model:{value:e.fahrzeugdaten.wegfahrsperre,callback:function(t){e.$set(e.fahrzeugdaten,"wegfahrsperre",t)},expression:"fahrzeugdaten.wegfahrsperre"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("fahrgestnr")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Fahrzeug-Ident-Nr",disabled:e.disabled},model:{value:e.fahrzeugdaten.fahrgestnr,callback:function(t){e.$set(e.fahrzeugdaten,"fahrgestnr",t)},expression:"fahrzeugdaten.fahrgestnr"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("schluesselnr_fzg")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Schlüsselnr (1)",disabled:e.disabled},model:{value:e.fahrzeugdaten.schluesselnr_fzg,callback:function(t){e.$set(e.fahrzeugdaten,"schluesselnr_fzg",t)},expression:"fahrzeugdaten.schluesselnr_fzg"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("schluesselnr_herst")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Hersteller-Schlüsselnr(2)",disabled:e.disabled},model:{value:e.fahrzeugdaten.schluesselnr_herst,callback:function(t){e.$set(e.fahrzeugdaten,"schluesselnr_herst",t)},expression:"fahrzeugdaten.schluesselnr_herst"}})],1)]),n("div",{staticClass:"row",style:e.styleOrder("schluesselnr_typ")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Typ-Schlüsselnr(3)",disabled:e.disabled},model:{value:e.fahrzeugdaten.schluesselnr_typ,callback:function(t){e.$set(e.fahrzeugdaten,"schluesselnr_typ",t)},expression:"fahrzeugdaten.schluesselnr_typ"}})],1)])])])},i=[],s=n("1da1"),r=n("5530"),o=(n("96cf"),n("7db0"),n("a4d3"),n("e01a"),n("159b"),n("d3b7"),n("e6cf"),n("a79d"),n("2f62")),l=n("b888"),c=n("d4b0"),d=n("9131"),u=n("c704"),p=n("0054"),h=n("9aaa"),f=n("4621"),m=n("6ce5"),b=n("d3ac"),v=n("8d3d"),g=n("64c5"),E={mixins:[b["a"]],props:{versicherungId:{type:String,default:null}},validators:{fahrzeugdaten:{leistung:[Object(m["n"])(0,"Die Leistung (kW) muss eine positive ganze Zahl sein",{emptyAllowed:!0}),Object(m["k"])(1e4,"Die Leistung (kW) sollte weniger als 10000",{emptyAllowed:!0})],plaetze:[Object(m["n"])(0,"Die Plätze muss eine positive ganze Zahl sein",{emptyAllowed:!0}),Object(m["k"])(1e3,"Die Plätze sollte weniger als 1000",{emptyAllowed:!0})],hubraum:[Object(m["n"])(0,"Die Hubraum (cm³) muss eine positive ganze Zahl sein",{emptyAllowed:!0}),Object(m["k"])(1e9,"Die Hubraum (cm³) sollte weniger als 1000000000",{emptyAllowed:!0})],kilometerstand:[Object(m["n"])(0,"Der kilometerstand muss eine positive ganze Zahl sein",{emptyAllowed:!0}),Object(m["k"])(1e9,"Der kilometerstand sollte weniger als 1000000000",{emptyAllowed:!0})],kilometerleistung:[Object(m["n"])(0,"Der kilometerleistung muss eine positive ganze Zahl sein",{emptyAllowed:!0}),Object(m["k"])(1e9,"Der kilometerleistung sollte weniger als 1000000000",{emptyAllowed:!0})],nutzlast:[Object(m["n"])(0,"Die Nutzlast in kg muss eine positive ganze Zahl sein",{emptyAllowed:!0}),Object(m["k"])(1e9,"Der Nutzlast in kg sollte weniger als 1000000000",{emptyAllowed:!0})],neuwert:[Object(m["n"])(0,"Der Neuwert muss eine positive ganze Zahl sein",{emptyAllowed:!0}),Object(m["k"])(1e8,"Der Neuwert sollte weniger als 100000000,00",{emptyAllowed:!0})],zeitwert:[Object(m["n"])(0,"Der Zeitwert muss eine positive ganze Zahl sein",{emptyAllowed:!0}),Object(m["k"])(1e9,"Der Zeitwert sollte weniger als 1000000000,00",{emptyAllowed:!0})],motornr:[Object(m["j"])(20,"Die Motornummer darf maximal 20 Zeichen lang sein")],kennzeichen:[Object(m["j"])(12,"Das Kennzeichen darf maximal 12 Zeichen lang sein")],marke:[Object(m["j"])(50,"Die Marke darf maximal 50 Zeichen lang sein")],handelsbez:[Object(m["j"])(50,"Die Handelsbezeichnung darf maximal 50 Zeichen lang sein")]}},components:{ComboBox:d["default"],InputField:u["default"],DatePickerField:p["default"],InputToggleSwitch:h["default"],InsuranceOptionMenu:f["a"]},data:function(){return{loading:!1,fahrzeugdaten:{fzgart:null,marke:null,handelsbez:null,leistung:null,hubraum:null,plaetze:null,nutzlast:null,verwendzweck:null,nutzerkreis:null,antriebsart:null,erstzulassdat:null,zulassung_vn_seit:null,kilometerstand:null,kilometerstand_am:null,kilometerleistung:null,leasing:null,kat:null,abs:null,neuwert:null,zeitwert:null,zeitwert_vom:null,motornr:null,kennzeichen:null,stellplatz:null,wegfahrsperre:null,fahrgestnr:null,schluesselnr_fzg:null,schluesselnr_herst:null,schluesselnr_typ:null},radioValues:[{value:"true",label:"Ja"},{value:"false",label:"Nein"},{value:"null",label:"Unbekannt"}]}},watch:{fahrzeugdatenList:{handler:function(e){null!==e&&void 0!==e&&e.length&&this.$set(this,"fahrzeugdaten",e[0])},immediate:!0}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({vertragsdatenFieldsDefinition:c["default"].GETTERS.INSURANCE_VERTRAGSDATEN_FIELDS_DEFINITION,fahrzeugdatenList:c["default"].GETTERS.FAHRZEUGDATEN_LIST,versicherungenDetails:c["default"].GETTERS.INSURANCE_DETAILS,fcConfig:v["default"].GETTERS.GET_FC_CONFIG,isKunde:g["default"].GETTERS.IS_CUSTOMER_ONLY,isInternOrBroker:g["default"].GETTERS.IS_BROKER_OR_BYPASS,loginData:g["default"].GETTERS.GET_LOGIN_DATA})),{},{tableId:function(){var e,t,n,a=this,i="549f5cf5-abb4-485d-b29f-a4bab99e75b0",s=null===(e=this.vertragsdatenFieldsDefinition)||void 0===e||null===(t=e.vertragssparte)||void 0===t||null===(n=t.value)||void 0===n?void 0:n.find((function(e){var t,n,i;return e.value==(null===(t=a.versicherungenDetails)||void 0===t||null===(n=t.insurance)||void 0===n||null===(i=n.description)||void 0===i?void 0:i.id)}));return"".concat(i,"-").concat(null===s||void 0===s?void 0:s.label)},currentFieldOrder:function(){var e,t,n,a=null===(e=this.fcConfig["TABLE_COLUMN_CONFIG"])||void 0===e||null===(t=e[this.tableId])||void 0===t?void 0:t["content"],i={};a&&(null===(n=JSON.parse(a))||void 0===n||n.forEach((function(e,t){i[e.key]=t})));return i},disabled:function(){var e,t,n;return this.isKunde&&(null===(e=this.versicherungenDetails)||void 0===e||null===(t=e.insurance)||void 0===t?void 0:t.creatorUserId)!==(null===(n=this.loginData)||void 0===n?void 0:n.userid)}}),methods:{saveOrUpdate:function(){var e;if(this.validation.invalid)return Promise.reject("Form invalid");var t={fahrzeugdaten:this.fahrzeugdaten,versicherungId:this.versicherungId};return null!==(e=this.fahrzeugdaten)&&void 0!==e&&e.id?this.$store.dispatch(l["default"].ACTIONS.UPDATE_FAHRZEUGDATEN,t):this.$store.dispatch(l["default"].ACTIONS.CREATE_FAHRZEUGDATEN,t)},retrieveInsuranceDetails:function(){return this.$store.dispatch(c["default"].ACTIONS.RETRIEVE_INSURANCE_DETAILS,{versVertrag:this.versicherungId})},styleOrder:function(e){var t=this.currentFieldOrder[e];return"undefined"===typeof t&&(t=999),"order:".concat(t)}},mounted:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.$store.commit(l["default"].MUTATIONS.CLEAN_FAHRZEUGDATEN_EDIT),t.next=3,e.$store.dispatch(c["default"].ACTIONS.GET_FAHRZEUGDATEN_LIST,{vertragId:e.versicherungId});case 3:e.$refs.kennzeichenInput.focus();case 4:case"end":return t.stop()}}),t)})))()},beforeDestroy:function(){var e=this,t=Promise.resolve();this.disabled||(t=this.saveOrUpdate()),t.finally((function(){e.$store.commit(l["default"].MUTATIONS.CLEAN_FAHRZEUGDATEN_EDIT),e.retrieveInsuranceDetails()}))}},_=E,S=n("2877"),T=Object(S["a"])(_,a,i,!1,null,null,null);t["default"]=T.exports},"2b3f":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".doughnut-progress__container[data-v-42a55d81]{height:180px;width:180px}",""]),e.exports=t},"2c01":function(e,t,n){var a=n("5e3f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("4dc55198",a,!0,{sourceMap:!1,shadowMode:!1})},"2ddc":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isVisible?n("div",{ref:"popup",class:["popup",{popup__minimized:this.isMinimized}],style:{zIndex:e.zIndex,top:e.top+"px",left:e.left+"px"}},[n("div",{staticClass:"header",attrs:{"data-draggable":"true"},on:{mousedown:e.startDrag,touchstart:e.handleTouchStart}},[n("span",{staticClass:"modal__title",attrs:{"data-draggable":"true"}},[e._v(e._s(e.modalTitle))]),n("div",{staticClass:"hearder__buttons"},[0==e.isMinimized?n("button",{staticClass:"base-modal__header--button clickable",attrs:{type:"button"},on:{click:function(t){return e.minimizePopup()}}},[n("PhArrowLineDown",{attrs:{size:"20"}})],1):e._e(),n("button",{staticClass:"base-modal__header--button clickable",attrs:{type:"button"},on:{click:function(t){return e.restorePopup()}}},[0==e.isMinimized?n("PhArrowsInSimple",{attrs:{size:"20"}}):n("PhArrowLineUp",{attrs:{size:"20"}})],1),e.isMaximized?e._e():n("button",{staticClass:"base-modal__header--button clickable",attrs:{type:"button"},on:{click:function(t){return e.maximizePopup()}}},[n("PhFrameCorners",{attrs:{size:"20"}})],1),n("button",{staticClass:"base-modal__header--button clickable",attrs:{type:"button"},on:{click:function(t){return e.closePopup()}}},[n("PhXCircle",{attrs:{size:"20"}})],1)])]),n("div",{staticClass:"content"},[e._t("default")],2),e.isSafariOniOS?n("div",{staticClass:"resizable-handle",on:{touchstart:e.startResizing,touchmove:e.resize,touchend:e.stopResizing}}):e._e()]):e._e()},i=[],s=n("b85c"),r=n("1da1"),o=n("5530"),l=(n("96cf"),n("a9e3"),n("caad"),n("498a"),n("2532"),n("99af"),n("c0a4")),c=n("3170"),d=n("8d3d"),u=n("64a1"),p=n("64c5"),h=n("2f62"),f=!!c["a"].supportsPassive&&{passive:!0,capture:!1},m=395,b=42,v=25,g=25,E=8,_=12,S=24,T={name:"ResizablePopup",components:{PhXCircle:l["PhXCircle"],PhFrameCorners:l["PhFrameCorners"],PhArrowsInSimple:l["PhArrowsInSimple"],PhArrowLineDown:l["PhArrowLineDown"],PhArrowLineUp:l["PhArrowLineUp"]},props:{modalTitle:{default:"Modal Title"},initialHeight:{type:Number,default:400},initialWidth:{type:Number,default:600},sizeIsPercentage:{type:Boolean,default:!1},fullClientHeight:{type:Boolean,default:!1},startPosition:{type:String,default:"TOP_LEFT",validator:function(e){return["TOP_RIGHT","TOP_LEFT","BOTTOM_RIGHT","BOTTOM_LEFT"].includes(e)}},saveLastPosition:{type:Boolean,default:!0},id:{type:String,required:!0,validator:function(e){var t=!!e&&!!e.trim();return t}}},data:function(){return{isVisible:!1,isMaximized:!1,isMinimized:!1,resizeObserver:null,isDragging:!1,isLongPress:!1,initialTouch:null,initialMouseX:0,initialMouseY:0,initialPopupX:0,initialPopupY:0,zIndex:9999,top:0,left:0,longPressTimeout:null,isResizing:!1,startX:0,startY:0,startWidth:0,startHeight:0,currentWindowHeight:window.innerHeight}},watch:{isVisible:function(e){e?this.setupResizeObserver():this.teardownResizeObserver()}},computed:Object(o["a"])(Object(o["a"])({},Object(h["b"])({fcConfigResizableModal:d["default"].GETTERS.GET_FC_CONFIG_RESIZABLE_MODAL,isIntern:p["default"].GETTERS.IS_INTERN,isBroker:p["default"].GETTERS.IS_BROKER,isKunde:p["default"].GETTERS.IS_CUSTOMER_ONLY,userLevelDefault:d["default"].GETTERS.GET_FC_CONFIG_USER_LEVEL_DEFAULT})),{},{savedModalPosition:function(){var e;if(!1===this.saveLastPosition)return null;var t=null===(e=this.fcConfigResizableModal[this.id])||void 0===e?void 0:e.content;return t?JSON.parse(t):null},computedInitialWidth:function(){return Math.max(this.initialWidth,this.sizeIsPercentage?g:m)},computedInitialHeight:function(){if(this.fullClientHeight){var e=this.currentWindowHeight-_;return Math.max(e,this.sizeIsPercentage?v:b)}return Math.max(this.initialHeight,this.sizeIsPercentage?v:b)},isSafariOniOS:function(){var e=/iPad|iPhone|iPod/.test(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,t=navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")&&!navigator.userAgent.includes("CriOS")&&!navigator.userAgent.includes("FxiOS");return e&&t},isIOS:function(){return/iPad|iPhone|iPod/.test(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}}),methods:{startResizing:function(e){this.isResizing=!0,this.startWidth=this.startWidth||this.computedInitialWidth,this.startHeight=this.startHeight||this.computedInitialHeight,this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY},resize:function(e){if(this.isResizing){var t=e.touches[0].clientX,n=e.touches[0].clientY,a=this.$refs.popup;a.style.width="".concat(this.startWidth+(t-this.startX),"px"),a.style.height="".concat(this.startHeight+(n-this.startY),"px"),e.preventDefault()}},stopResizing:function(){this.isResizing=!1;var e=this.$refs.popup,t=window.getComputedStyle(e),n=parseInt(t.getPropertyValue("width")),a=parseInt(t.getPropertyValue("height"));this.startWidth=n,this.startHeight=a},showPopup:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.saveLastPosition){t.next=3;break}return t.next=3,e.loadModalSettings();case 3:e.isVisible=!0,e.$nextTick((function(){e.currentWindowHeight=window.innerHeight;var t=e.$refs.popup;t&&(t.style.width="".concat(e.computedInitialWidth).concat(e.sizeIsPercentage?"%":"px"),t.style.height="".concat(e.computedInitialHeight).concat(e.sizeIsPercentage?"%":"px"),t.style.minWidth="".concat(m,"px"),t.style.minHeight="".concat(b,"px")),e.setupResizeObserver(),e.ensurePopupVisible(),e.setInitialPosition()}));case 5:case"end":return t.stop()}}),t)})))()},setInitialPosition:function(){var e=this.savedModalPosition,t=this.$refs.popup,n=window.getComputedStyle(t),a=parseInt(n.getPropertyValue("width")),i=parseInt(n.getPropertyValue("height")),s=window.innerWidth,r=window.innerHeight,o=E,l=E;switch(this.startPosition){case"TOP_RIGHT":o=s-a-S;break;case"BOTTOM_LEFT":l=r-i-E;break;case"BOTTOM_RIGHT":o=s-a-S,l=r-i-E;break;default:o=E;break}this.left=(null===e||void 0===e?void 0:e.left)||o,this.top=this.fullClientHeight?l:(null===e||void 0===e?void 0:e.top)||l},closePopup:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.isVisible=!1,e.isMaximized=!1,e.isMinimized=!1,!e.saveLastPosition){t.next=6;break}return t.next=6,e.saveModalSettings();case 6:case"end":return t.stop()}}),t)})))()},maximizePopup:function(){this.left=8,this.top=8;var e=this.$refs.popup;if(e){e.style.width="calc(100vw - ".concat(S,"px)"),e.style.height="calc(100vh -  ".concat(_,"px)"),this.isMaximized=!0,this.isMinimized=!1;var t=window.getComputedStyle(e),n=parseInt(t.getPropertyValue("width")),a=parseInt(t.getPropertyValue("height"));this.$emit("onMaximize",{width:n,height:a})}},restorePopup:function(){var e=this.$refs.popup;e&&(e.style.width="".concat(this.computedInitialWidth).concat(this.sizeIsPercentage?"%":"px"),e.style.height="".concat(this.computedInitialHeight).concat(this.sizeIsPercentage?"%":"px"),this.isMaximized=!1,this.isMinimized=!1,this.$emit("onRestore",{width:this.computedInitialWidth,height:this.computedInitialHeight}),this.ensurePopupVisible(),this.setInitialPosition())},minimizePopup:function(){var e=this.$refs.popup;if(e){e.style.width="".concat(this.computedInitialWidth).concat(this.sizeIsPercentage?"%":"px"),e.style.height="".concat(b,"px");var t=window.getComputedStyle(e),n=parseInt(t.getPropertyValue("height")),a=window.innerHeight,i=a-n-E;this.top=i,this.isMaximized=!1,this.isMinimized=!0,this.$emit("onMinimize",{width:this.computedInitialWidth,height:b}),this.ensurePopupVisible()}},ensurePopupVisible:function(){if(this.isVisible){var e=this.$refs.popup;if(e){var t=window.innerWidth,n=window.innerHeight,a=e.getBoundingClientRect();if(a.left<0)this.left=this.left+-1*a.x;else if(a.right>t){var i=a.right-t;this.left=this.left-i}if(a.top<0)this.top=this.top+-1*a.y;else if(a.bottom>n){var s=a.bottom-n;this.top=this.top-s}}}},disableResizing:function(){var e=this.$refs.popup;e.style.resize="none",setTimeout((function(){e.style.resize="both"}),500)},setupResizeObserver:function(){var e=this;this.$refs.popup&&!this.resizeObserver&&(this.resizeObserver=new ResizeObserver((function(t){var n,a=Object(s["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value,r=null===i||void 0===i?void 0:i.target;if(r){var o,l,c,d,u,p,h=null===i||void 0===i||null===(o=i.borderBoxSize)||void 0===o||null===(l=o[0])||void 0===l?void 0:l.blockSize,f=null===i||void 0===i||null===(c=i.borderBoxSize)||void 0===c||null===(d=c[0])||void 0===d?void 0:d.inlineSize,m=r.getBoundingClientRect(),b=window.innerWidth,v=window.innerHeight,g=b,E=v;m.y<0&&(e.top=e.top+-1*m.y,e.initialPopupY=e.top),m.x<0&&(e.left=e.left+-1*m.x,e.initialPopupX=e.left);var T=b-m.left-S,x=v-m.top-_,y=Math.min(f,g,T),k=Math.min(h,E,x),I=null===i||void 0===i||null===(u=i.contentRect)||void 0===u?void 0:u.width,C=null===i||void 0===i||null===(p=i.contentRect)||void 0===p?void 0:p.height;(I>=g||C>=E)&&e.disableResizing(),r.style.width="".concat(y,"px"),r.style.height="".concat(k,"px"),e.$emit("onResize",{width:y,height:k}),e.isMaximized=y>=g&&k>=E,e.initialMouseX=0,e.initialMouseY=0}}}catch(A){a.e(A)}finally{a.f()}})),this.resizeObserver.observe(this.$refs.popup))},teardownResizeObserver:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)},handleTouchStart:function(e){var t=this;this.initialTouch=e.touches[0],this.longPressTimeout=setTimeout((function(){t.isLongPress=!0,t.startDrag(e)}),200),document.addEventListener("touchmove",this.handleTouchMove,{passive:!1}),document.addEventListener("touchend",this.handleTouchEnd)},handleTouchMove:function(e){this.isLongPress?this.handleDrag(e):clearTimeout(this.longPressTimeout)},handleTouchEnd:function(){clearTimeout(this.longPressTimeout),this.isLongPress=!1,this.endDrag(),document.removeEventListener("touchmove",this.handleTouchMove),document.removeEventListener("touchend",this.handleTouchEnd)},startDrag:function(e){e.preventDefault();var t="touchstart"===e.type?e.touches[0]:e;if("true"===e.target.getAttribute("data-draggable")){this.initialMouseX=t.clientX,this.initialMouseY=t.clientY,this.isDragging=!0;var n=this.$refs.popup;this.initialPopupX=n.offsetLeft,this.initialPopupY=n.offsetTop,document.addEventListener("mousemove",this.throttledHandleDrag,{passive:!1}),document.addEventListener("mouseup",this.endDrag,f)}},handleDrag:function(e){if(e.preventDefault(),0!==e.buttons){var t="touchmove"===e.type?e.touches[0]:e;if(this.isDragging){var n=t.clientX-this.initialMouseX,a=t.clientY-this.initialMouseY;this.top=this.initialPopupY+a,this.left=this.initialPopupX+n;var i=this.$refs.popup,s=document.documentElement.clientWidth,r=document.documentElement.clientHeight,o=i.offsetWidth,l=i.offsetHeight,c=0,d=0;this.top=Math.min(Math.max(d+window.scrollY,this.initialPopupY+a),r-l+window.scrollY),this.left=Math.min(Math.max(c+window.scrollX,this.initialPopupX+n),s-o+window.scrollX)}}else this.endDrag()},endDrag:function(){this.isDragging=!1,document.removeEventListener("mousemove",this.throttledHandleDrag),document.removeEventListener("mouseup",this.endDrag)},throttle:function(e,t){var n,a;return function(){var i=this,s=arguments;a?(clearTimeout(n),n=setTimeout((function(){Date.now()-a>=t&&(e.apply(i,s),a=Date.now())}),t-(Date.now()-a))):(e.apply(i,s),a=Date.now())}},saveModalSettings:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var n,a,i,s,r,o,l,c,p,h;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.id,a=e.left,i=e.top,s=e.isIntern,r=e.isBroker,o=e.isKunde,l=e.$store,c=s?u["b"].INTERN:r?u["b"].MAKLER:o?u["b"].KUNDE:e.userLevelDefault,p=JSON.stringify({left:a,top:i}),h={configId:n,configType:u["c"].RESIZABLE_MODAL_CONFIG,content:p,userLevel:c},t.prev=4,t.next=7,l.dispatch(d["default"].ACTIONS.SAVE_FC_CONFIG,h);case 7:t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](4),console.error("Error saving modal settings:",t.t0);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})))()},loadModalSettings:function(){var e=arguments,t=this;return Object(r["a"])(regeneratorRuntime.mark((function n(){var a,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=!(e.length>0&&void 0!==e[0])||e[0],t.id){n.next=3;break}return n.abrupt("return");case 3:return i={configId:t.id,configType:u["c"].RESIZABLE_MODAL_CONFIG,forceReload:a},n.next=6,t.$store.dispatch(d["default"].ACTIONS.LOAD_FC_CONFIG,i);case 6:case"end":return n.stop()}}),n)})))()}},created:function(){this.throttledHandleDrag=this.throttle(this.handleDrag,10)},mounted:function(){window.addEventListener("scroll",this.ensurePopupVisible),window.addEventListener("resize",this.ensurePopupVisible)},beforeUnmount:function(){this.teardownResizeObserver(),document.removeEventListener("mousemove",this.throttledHandleDrag),document.removeEventListener("mouseup",this.endDrag),window.removeEventListener("scroll",this.ensurePopupVisible),window.removeEventListener("resize",this.ensurePopupVisible)}},x=T,y=(n("798e"),n("2877")),k=Object(y["a"])(x,a,i,!1,null,"0c0cc4ca",null);t["a"]=k.exports},3129:function(e,t,n){"use strict";n("d864")},"35df":function(e,t,n){var a=n("16d2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("07c87688",a,!0,{sourceMap:!1,shadowMode:!1})},"36d0":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"row my-0"},[n("div",{staticClass:"col-12"},e._l(e.listOfComponentsByDivider,(function(t,a){return n("div",{key:a},[n("div",{staticClass:"box__container"},[e._l(t,(function(t,a){return[e.isComponentHidden(t)?e._e():n("div",{key:a+t.id,class:{indented:t.config&&t.config.indented,indented2:t.config&&t.config.indented2}},[n("AntragComponent",{ref:t.id,refInFor:!0,attrs:{component:t,comboboxSelection:e.comboboxValues&&e.comboboxValues[t.id]||[],data:e.data||{},disabled:e.disabled,foreignCurrenciesProp:e.foreignCurrencies,isComponentHalfSizeEnabled:"",validateUntouched:""},on:{change:function(n){return e.doChange(t.id,n)}}})],1)]}))],2)])})),0)])])},i=[],s=n("ade3"),r=n("b85c"),o=(n("d81d"),n("4de4"),n("159b"),n("b64b"),n("caad"),n("2532"),n("55d3")),l=n("d3ac"),c=n("c1a1"),d={mixins:[l["a"]],validators:{},components:{AntragComponent:o["a"]},props:{components:{type:Array,default:function(){return[]}},data:{type:Object,default:function(){}},comboboxValues:{type:Object,default:function(){}},warnings:{type:Object,default:function(){}},disabled:{type:Boolean,default:!1},foreignCurrencies:{type:Object,default:function(){}}},data:function(){return{form:{}}},mounted:function(){this.initForm()},watch:{dynamicValidators:{immediate:!0,handler:function(e){var t,n=Object(r["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;a&&this.$configureValidators&&this.$configureValidators(Object(s["a"])({},a.componentId,a.validators))}}catch(i){n.e(i)}finally{n.f()}}}},computed:{dynamicValidators:function(){var e,t=this.components.filter((function(e){var t;return e.id&&(null===(t=e.validators)||void 0===t?void 0:t.length)})).map((function(e){return{componentId:e.id,validators:e.validators.map(c["b"])}}));return this.$emit("isValid",null===(e=this.validation)||void 0===e?void 0:e.valid),t},listOfComponentsByDivider:function(){if(Array.isArray(this.components)&&this.components.length){var e=[],t=[];e.push(t);var n,a=Object(r["a"])(this.components);try{for(a.s();!(n=a.n()).done;){var i=n.value;"DIVIDER"===i.type?(t=[],e.push(t)):t.push(i)}}catch(s){a.e(s)}finally{a.f()}return this.updateWarnings(),e.filter(this.hasVisibleComponents)}return[]}},methods:{initForm:function(){var e,t=this;null!==(e=this.components)&&void 0!==e&&e.length&&(this.components.forEach((function(e){e.id&&t.data&&(t.form[e.id]=t.data[e.id])})),this.updateWarnings())},doChange:function(e,t){this.form[e]=t,this.$emit("change",{componentId:e,value:t})},updateWarnings:function(){var e=this;this.warnings&&Object.keys(this.warnings).length&&Object.keys(this.warnings).filter((function(t){return Object.keys(e.form).includes(t)})).forEach((function(t){var n;null!==(n=e.validation)&&void 0!==n&&n.isTouched(t)||
//!this.form[key]){
e.$pushErrors(t,[e.warnings[t].message])}))},isComponentHidden:function(e){var t=e&&e.hidden&&Object(c["g"])(e.hidden,this.data);return t||t},hasVisibleComponents:function(e){var t=this;return(null===e||void 0===e?void 0:e.length)&&e.some((function(e){return!(e.hidden&&Object(c["g"])(e.hidden,t.data))}))}}},u=d,p=(n("958c"),n("2877")),h=Object(p["a"])(u,a,i,!1,null,"758fd6c4",null);t["a"]=h.exports},"3a44":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("OptionMenu",{attrs:{id:e.$appNavigation.currentOptionMenuId,defaultMenu:e.$appNavigation.currentOptionMenu}}),n("PageHeaderTitleNavigation",{attrs:{title:"Gesellschaftsinfos",subtitle:e.gesellschaftName,id:e.$appNavigation.currentOptionMenuId,defaultMenu:e.customOptionMenu,actions:e.actions}}),e.gesellschaftsInfos?n("div",{staticClass:"box__container"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"PLZ",disabled:""},model:{value:e.gesellschaftsInfos.plz,callback:function(t){e.$set(e.gesellschaftsInfos,"plz",t)},expression:"gesellschaftsInfos.plz"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Ort",disabled:""},model:{value:e.gesellschaftsInfos.org,callback:function(t){e.$set(e.gesellschaftsInfos,"org",t)},expression:"gesellschaftsInfos.org"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Strasse",disabled:""},model:{value:e.gesellschaftsInfos.strasse,callback:function(t){e.$set(e.gesellschaftsInfos,"strasse",t)},expression:"gesellschaftsInfos.strasse"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Strasse",disabled:""},model:{value:e.gesellschaftsInfos.strasse,callback:function(t){e.$set(e.gesellschaftsInfos,"strasse",t)},expression:"gesellschaftsInfos.strasse"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Land",disabled:""},model:{value:e.gesellschaftsInfos.land,callback:function(t){e.$set(e.gesellschaftsInfos,"land",t)},expression:"gesellschaftsInfos.land"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Postfach",disabled:""},model:{value:e.gesellschaftsInfos.postfach,callback:function(t){e.$set(e.gesellschaftsInfos,"postfach",t)},expression:"gesellschaftsInfos.postfach"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"PLZ für Postfach",disabled:""},model:{value:e.gesellschaftsInfos.plzPostfach,callback:function(t){e.$set(e.gesellschaftsInfos,"plzPostfach",t)},expression:"gesellschaftsInfos.plzPostfach"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Beschreibung",disabled:""},model:{value:e.gesellschaftsInfos.beschreibung,callback:function(t){e.$set(e.gesellschaftsInfos,"beschreibung",t)},expression:"gesellschaftsInfos.beschreibung"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Vermittlernummer",disabled:""},model:{value:e.gesellschaftsInfos.vermittlerNummer,callback:function(t){e.$set(e.gesellschaftsInfos,"vermittlerNummer",t)},expression:"gesellschaftsInfos.vermittlerNummer"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Vermittlernr. AK",disabled:""},model:{value:e.gesellschaftsInfos.vermittlerNummerAK,callback:function(t){e.$set(e.gesellschaftsInfos,"vermittlerNummerAK",t)},expression:"gesellschaftsInfos.vermittlerNummerAK"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Hauptnummer",disabled:""},model:{value:e.gesellschaftsInfos.hauptNummer,callback:function(t){e.$set(e.gesellschaftsInfos,"hauptNummer",t)},expression:"gesellschaftsInfos.hauptNummer"}})],1)])]):e._e(),n("div",{staticClass:"box__container"},[e.rows&&e.rows.length?n("Table",{attrs:{tableId:"3ff275df-3245-4ea1-872f-c91731ab6962",title:e.TABLE_TITLE,rows:e.rows,headers:e.headers,rowsPerPage:20},scopedSlots:e._u([{key:"telefon",fn:function(t){return[e.isTelefon?n("a",{attrs:{tid:e._generateTidFromString(t.telefon)},on:{click:function(n){return e.tapiCall(t.telefon)}}},[e._v(e._s(t.telefon))]):n("label",{attrs:{tid:e._generateTidFromString(t.telefon)}},[e._v(e._s(t.telefon))])]}},{key:"mobil",fn:function(t){return[e.isTelefon?n("a",{attrs:{tid:e._generateTidFromString(t.mobil)},on:{click:function(n){return e.tapiCall(t.mobil)}}},[e._v(e._s(t.mobil))]):n("label",{attrs:{tid:e._generateTidFromString(t.mobil)}},[e._v(e._s(t.mobil))])]}}],null,!1,3942056681)}):e.loading?n("GhostLoading",{attrs:{type:"table",title:e.TABLE_TITLE}}):n("NoData",{attrs:{title:e.TABLE_TITLE,content:"Keine Ansprechpartner hinterlegt"}})],1)],1)},i=[],s=n("1da1"),r=n("5530"),o=(n("96cf"),n("7db0"),n("2f62")),l=n("abb2"),c=n("64c5"),d=n("3931"),u=n("8103"),p=n("4e5f"),h=n("689f"),f=n("d53f"),m=n("b1a7"),b=n("6eb5"),v=n("5a3e"),g=n("b967"),E=n("c704"),_=n("d4b0"),S="Ansprechpartner ",T={mixins:[g["a"]],components:{OptionMenu:d["a"],PageHeaderTitleNavigation:u["a"],Table:h["a"],GhostLoading:b["a"],NoData:m["a"],InputField:E["default"]},data:function(){return{TABLE_TITLE:S,loading:!1}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({isCustomer:c["default"].GETTERS.IS_CUSTOMER,isFK:c["default"].GETTERS.IS_FK,isFA:c["default"].GETTERS.IS_FA,isIntern:c["default"].GETTERS.IS_INTERN,gesellschaftsInfos:l["default"].GETTERS.GESELLSCHAFTS_INFOS,isTelefon:v["default"].GETTERS.CAN_OUT_CALL,gesellschaftList:_["default"].GETTERS.GESELLSCHAFT_LIST,versicherungenDetails:_["default"].GETTERS.INSURANCE_DETAILS})),{},{customOptionMenu:function(){return[]},actions:function(){var e=this,t=[];return"ansprechpartner"===this.page&&(t.push(Object(p["h"])("NEW_ANSPRECHPARTNER","Neuen Ansprechpartner anlegen").withVisible((function(){var t;return null===(t=e.$refs.gesellAp)||void 0===t?void 0:t.canEdit}))),t.push(Object(p["h"])("SHOW_PDF","Ansprechpartner dieser Gesellschaft"))),"eigeneDokumente"===this.page&&t.push(Object(p["h"])("DOCUMENT_UPLOAD","Dokumente hochladen")),t},rows:function(){var e;return null===(e=this.gesellschaftsInfos)||void 0===e?void 0:e.rows},headers:function(){var e={lockedLeft:[Object(f["TextColumn"])("name","Name").makeConditionalLink("editable")],center:[Object(f["TextColumn"])("typ","Typ"),Object(f["TextColumn"])("email","E-Mail"),Object(f["SlotColumn"])("telefon","Telefon",void 0,1).makeSortable(),Object(f["SlotColumn"])("mobil","Mobil",void 0,1).makeSortable(),Object(f["TextColumn"])("fax","Fax"),Object(f["TextColumn"])("beschreibung","Beschreibung")],lockedRight:[]};return e},gesellschaftName:function(){var e,t=this,n=null===(e=this.gesellschaftList)||void 0===e?void 0:e.find((function(e){var n,a;return e.value==(null===(n=t.versicherungenDetails)||void 0===n||null===(a=n.insurance)||void 0===a?void 0:a.gesellschaft.id)}));return null===n||void 0===n?void 0:n.label}}),methods:{},mounted:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.$route.params.gesellschaftId){t.next=3;break}return t.next=3,e.$store.dispatch(l["default"].ACTIONS.GET_GESELLSCHAFTS_INFOS,{gesellschaftId:e.$route.params.gesellschaftId});case 3:case"end":return t.stop()}}),t)})))()}},x=T,y=n("2877"),k=Object(y["a"])(x,a,i,!1,null,null,null);t["default"]=k.exports},"3dd5":function(e,t,n){var a=n("cc84");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("3185cbfb",a,!0,{sourceMap:!1,shadowMode:!1})},"3e90":function(e,t,n){var a=n("9e95");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("0140fb8c",a,!0,{sourceMap:!1,shadowMode:!1})},4035:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"stepper-item__container",class:{"stepper-item--selected":e.isCurrent,clickable:e.substep&&e.substep.title},attrs:{tid:e._generateTidFromString(e.substep.title)},on:{click:function(t){return e.$emit("click",t)},mouseover:function(t){return e.handleMouseOver(t)},mouseleave:function(t){return e.handleMouseLeave(t)}}},[n("div",{staticClass:"stepper-item__icon"},[n("div",{staticClass:"vertical-substep__icon-container"},[n("span",{class:e.substepIconClass}),!e.collapsed&&e.hasWarning?n("PhWarningCircle",{staticClass:"color-danger vertical-stop__icon",attrs:{size:16}}):e._e()],1)]),n("span",{staticClass:"vertical-substep__label",class:{"vertical-substep__label--selected":e.isCurrent}},[n("span",{domProps:{innerHTML:e._s(e.sanitize(e.substep.title))}})])])},i=[],s=n("e029"),r=n("b967"),o=n("b20b"),l=n("c0a4"),c={mixins:[s["a"],r["a"]],props:{substep:{},isCurrent:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!1}},components:{PhWarningCircle:l["PhWarningCircle"]},computed:{hasWarning:function(){var e,t;return(null===(e=this.substep)||void 0===e?void 0:e.title)&&(null===(t=this.substep)||void 0===t?void 0:t.warning)||!1},substepIconClass:function(){return this.collapsed&&this.hasWarning?"vertical-stop__substep__warning-pipe":"vertical-stop__substep-pipe"}},methods:{sanitize:function(e){return Object(o["b"])(e)}}},d=c,u=(n("eaed"),n("2877")),p=Object(u["a"])(d,a,i,!1,null,"c010bc4e",null);t["a"]=p.exports},"423e":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".top-component[data-v-2bdcddd5]{position:relative}.disable-component-arrea[data-v-2bdcddd5]{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.4;background-color:var(--color-background);cursor:not-allowed;padding:0}",""]),e.exports=t},"443a":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".actions_container[data-v-8eb71570]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;min-width:-webkit-max-content!important;min-width:-moz-max-content!important;min-width:max-content!important}.action-texts[data-v-8eb71570],.actions_container[data-v-8eb71570]{display:-webkit-box;display:-ms-flexbox;display:flex}.action-texts[data-v-8eb71570]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:2px;color:var(--color-text);-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;font-size:.85rem}.action-icons[data-v-8eb71570]{display:-webkit-box;display:-ms-flexbox;display:flex;white-space:nowrap;min-width:-webkit-max-content!important;min-width:-moz-max-content!important;min-width:max-content!important;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.btn-clean[data-v-8eb71570]{color:var(--color-text);background:none;border:none;outline:none;text-align:left;width:-webkit-max-content;width:-moz-max-content;width:max-content;display:block}a.btn-clean[data-v-8eb71570]{padding:1px 6px}a.btn-clean[data-v-8eb71570]:hover{text-decoration:none}",""]),e.exports=t},"45bb":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseModal",{ref:"copyInsuranceConfirmationModal",attrs:{modalTitle:"Versicherung kopieren Bestätigung",showCancelButton:!0,showCloseButton:!0,labelButtonConfirm:"Ok"},on:{onConfirmButton:function(t){return e.versicherungKopieren()}}},[e._v(" Möchten Sie diese Versicherung wirklich kopieren? ")])],1)},i=[],s=n("a871"),r=n("d4b0"),o={components:{BaseModal:s["a"]},data:function(){return{}},computed:{},methods:{open:function(){this.$refs.copyInsuranceConfirmationModal.open()},versicherungKopieren:function(){var e=this;return this.$store.dispatch(r["default"].ACTIONS.COPY_INSURANCE,{vertragId:this.$route.params.id}).then((function(t){e.$store.dispatch(r["default"].ACTIONS.RETRIEVE_INSURANCE_DETAILS,{versVertrag:null===t||void 0===t?void 0:t.value}).then((function(t){var n=null===t||void 0===t?void 0:t.insurance;e.$emit("open-item",n)}))}))}}},l=o,c=n("2877"),d=Object(c["a"])(l,a,i,!1,null,null,null);t["a"]=d.exports},4611:function(e,t,n){"use strict";n("8208")},4621:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"insurance-option-menu__container"},[n("OptionMenu",e._b({attrs:{id:e.$appNavigation.currentOptionMenuId,defaultMenu:e.$appNavigation.currentOptionMenu}},"OptionMenu",e.$attrs,!1)),n("PageHeaderTitleNavigation",e._g({attrs:{id:e.$appNavigation.currentOptionMenuId,actions:e.headerActions,defaultMenu:e.customOptionsMenu,noPrimaryAction:e.noPrimaryAction},scopedSlots:e._u([{key:"title",fn:function(){return[e._t("title",(function(){return[e._v(e._s(e.title))]}))]},proxy:!0},e.$slots.subtitle?{key:"subtitle",fn:function(){return[e._t("subtitle")]},proxy:!0}:null],null,!0)},e.$listeners)),e.askOptions?n("ExterneZugangAskOptions",{attrs:{askOptions:e.askOptions,title:e.externeZugang.companyLabel},on:{close:function(t){return e.resetExterneZugang()},onConfirmButton:function(t){return e.askOptionsConfirmed(t)}}}):e._e(),n("BaseModal",{ref:"dokumenteAbholenModal",attrs:{modalTitle:"Dokumente abholen",showDefaultButtons:!1,size:"lg"}},[e._v(" "+e._s(e.dokumenteAbholenResult.value)+" ")])],1)},i=[],s=n("5530"),r=(n("4de4"),n("99af"),n("d81d"),n("7db0"),n("2f62")),o=n("a738"),l=n("09de"),c=n("64c5"),d=n("d4b0"),u=n("3931"),p=n("d590"),h=n("27bf"),f=n("53f7"),m=n("a482"),b=n("a871"),v=n("8103"),g=n("ca9c"),E=n("c17d"),_={mixins:[f["a"]],props:{title:{type:String,default:"Versicherungen"},headerActions:{type:Array,default:function(){return[]}},insuranceId:{type:String,default:null},noPrimaryAction:{type:Boolean,default:!1}},computed:Object(s["a"])(Object(s["a"])({},Object(r["b"])({externeZugangVergleichList:o["default"].GETTERS.EXTERNE_ZUGANG_VERGLEICH_LIST,antragList:l["default"].GETTERS.ANTRAG_LIST,isCustomerOnly:c["default"].GETTERS.IS_CUSTOMER_ONLY,versicherungenDetails:d["default"].GETTERS.INSURANCE_DETAILS})),{},{customOptionsMenu:function(){var e,t,n,a,i,s=this.insuranceId,r=this.isCustomerOnly;if(!s)return[];var o=null===(e=this.$route)||void 0===e||null===(t=e.query)||void 0===t?void 0:t.fromOverview,l=Object(E["q"])({fromOverview:o}),c=null!==(n=null===(a=this.versicherungenDetails)||void 0===a||null===(i=a.insurance)||void 0===i?void 0:i.isDeeplinkAvailable)&&void 0!==n&&n;return[o?Object(g["d"])("/home/versicherungen/insurance-group/overview/".concat(s),"Übersicht"):Object(g["d"])("/home/versicherungen/insurance-group/details/".concat(s),"Details"),r?null:Object(g["d"])(Object(E["b"])("/home/versicherungen/insurance-group/insurancePostfach/".concat(s),l),"E-Mails & Aktivitäten"),Object(g["d"])(Object(E["b"])("/home/versicherungen/insurance-group/dokumente/".concat(s),l),"Dokumente"),Object(g["d"])(Object(E["b"])("/home/versicherungen/insurance-group/anmerkungen/".concat(s),l),"Anmerkungen"),c?Object(g["d"])(Object(E["b"])("/home/versicherungen/insurance-group/deeplinks/".concat(s),l),"Versicherungsportal"):null].filter((function(e){return!!e}))},extraOptionMenu:function(){return[].concat(this.externeZugangOptions).concat(this.versicherungenFormOptions)},externeZugangOptions:function(){var e,t=this;if(null===(e=this.externeZugangVergleichList)||void 0===e||!e.length)return[];var n=this.externeZugangVergleichList.map((function(e){return Object(s["a"])(Object(s["a"])({},e),{},{parent:{path:"/home/versicherungen"},label:(null===e||void 0===e?void 0:e.labelHtml)||(null===e||void 0===e?void 0:e.itemLabel),component:p["a"],action:function(){return t.askOptionsExterneZugang(e)}})}));return n||[]},versicherungenFormOptions:function(){var e,t,n,a,i=this;if(null===(e=this.antragList)||void 0===e||null===(t=e.formGroups)||void 0===t||!t.length)return[];var s=this.antragList.formGroups.find((function(e){return"VERSICHERUNG"===e.path})),r=null===s||void 0===s||null===(n=s.children)||void 0===n||null===(a=n.filter((function(e){return!e.hideForm})))||void 0===a?void 0:a.map((function(e){return{parent:{path:"/home/versicherungen"},path:null===e||void 0===e?void 0:e.label,label:(null===e||void 0===e?void 0:e.labelHtml)||(null===e||void 0===e?void 0:e.label),component:h["a"],action:function(){return i.$router.push({path:"/beratung/formulare/antrag/".concat(s.path,"/").concat(e.path),query:{hideBeratungsmappepopup:e.hideBeratungsmappepopup,dynamicFormId:null===e||void 0===e?void 0:e.dynamicFormId}})}}}));return r||[]}}),data:function(){return{dokumenteAbholenResult:{}}},mounted:function(){this.$store.dispatch(l["default"].ACTIONS.RETRIEVE_ANTRAG_LIST)},methods:{dokumenteAbholen:function(){var e=this;this.$store.dispatch(m["default"].ACTIONS.DO_DOWNLOAD_DOKUMENT_SMART_MSC).then((function(t){e.dokumenteAbholenResult=t,e.$refs.dokumenteAbholenModal.open()}))}},components:{OptionMenu:u["a"],BaseModal:b["a"],PageHeaderTitleNavigation:v["a"]}},S=_,T=n("2877"),x=Object(T["a"])(S,a,i,!1,null,null,null);t["a"]=x.exports},"4bd7":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.nodeId?n("div",{staticClass:"documents-table__container"},[e.isLoading&&!e.scrollLoading?n("GhostLoading",{attrs:{type:"table",title:e.title,config:{table:{rows:5}}}}):[n("PaginatedTable",{key:e.nodeId,attrs:{title:e.title,tableId:e.tableId,headers:e.headers,pages:e.pages,pageCount:e.pageCount,rowCount:e.resultCount,hidePagination:e.pageCount<=1,page:e.currentPage,selectionAsBlacklist:e.isSelectedAllInFolder,selected:e.showCheckboxes()?e.selectedRows:null,noDataIcon:e.showNoDataMessageWithIcon,noDataContent:e.NO_DATA_MESSAGE,mobileConfig:{title:"bezeichnung",headers:e.mobileHeaders,selectionActive:!0},headerActions:e.tableHeaderActions,sorted:e.sorted},on:{selectionAsBlacklist:function(t){return e.setInvertedList(t)},headerAction:e.executeHeaderAction,selected:e.setRowSelection,requestPage:e.onRequestPage,page:e.setPageIndex,"click-sichtbar":e.handleClickVisible,"click-vertragsnr":e.openVertrag,"click-schadensnr":e.openSchaden,action:e.handleAction,sort:e.onSort,scrollLoading:function(t){e.scrollLoading=t},onScroll:e.onScroll},scopedSlots:e._u([{key:"bezeichnung",fn:function(t){return[t.mobileTableContext?n("span",{staticStyle:{"vertical-align":"middle"}},[t.exists?e._e():n("ph-trash",{staticClass:"color-danger mr-1 icon",attrs:{size:16}}),e._v(e._s(t.bezeichnung||t.fileName||"unbenannt")+" ")],1):!t.data.fileWithSignedAttachments&&e.listHasAction(t.data.actions,"DOKUMENT_ANZEIGEN")?n("span",[t.exists?e._e():n("ph-trash",{staticClass:"color-danger mr-1 icon",attrs:{size:16}}),e.$isSmallScreen||!e.canPreviewFile(t)?n("DownloadLink",{attrs:{target:"_blank",rel:"noopener noreferer",title:t.bezeichnung,filename:t.data.fileName||t.data.bezeichnung,downloadServicePath:"/docInfo",queryParams:{nodeId:t.nodeId,idFile:encodeURIComponent(t.id)}}}):[n("DownloadLink",{attrs:{target:"_blank",rel:"noopener noreferer",title:"In neuem Tab öffnen",filename:t.data.fileName||t.data.bezeichnung,downloadServicePath:"/docInfo",queryParams:{nodeId:t.nodeId,idFile:encodeURIComponent(t.id)}}},[e.looksLikePDFFile(t)?n("PhFilePdf",{attrs:{size:16}}):n("PhFile",{attrs:{size:16}}),e._v("  ")],1),n("a",{on:{click:function(n){return e.fetchObject(t)}}},[e._v(e._s(t.bezeichnung))])]],2):e.listHasAction(t.data.actions,t.data.actionOnClick)?n("span",e._l(t.data.actions,(function(a){return n("span",{key:a.legend.label+e.uuidv4()},[a.legend.key===t.data.actionOnClick?n("a",{on:{click:function(n){return e.handleExecuteAction({action:a,value:t})}}},[t.exists?e._e():n("ph-trash",{staticClass:"color-danger mr-1 icon",attrs:{size:16}}),e._v(" "+e._s(t.bezeichnung||t.fileName||"unbenannt")+" ")],1):e._e()])})),0):n("span",{staticStyle:{"vertical-align":"middle"}},[t.exists?e._e():n("ph-trash",{staticClass:"color-danger mr-1 icon",attrs:{size:16}}),e._v(e._s(t.bezeichnung||t.fileName||"unbenannt")+" ")],1)]}},{key:"vorlagestatus",fn:function(e){return[n("WorkflowPill",{attrs:{currentStatusIcons:e.data.statusActions,statusType:"VORLAGE"}})]}},{key:"signaturstatus",fn:function(e){return[n("WorkflowPill",{attrs:{currentStatusIcons:e.data.statusActions,statusType:"SIGNATUR"}})]}}],null,!1,2896318286)}),e.showCheckboxes()&&(e.selectedRows.length||e.isSelectedAllInFolder)?n("span",[e._v(" Insgesamt "+e._s(e.isSelectedAllInFolder?e.resultCount-e.selectedRows.length:e.selectedRows.length)+" ausgewählt ")]):e._e()],n("BaseModal",{ref:"signoFilesModal",attrs:{labelButtonCancel:"Zurück",showCancelButton:!1,showConfirmButton:!1},scopedSlots:e._u([{key:"modalTitle",fn:function(){return[e.signoFiles&&e.signoFiles.length?n("b",[e._v("Mehrere Dateien zu signieren")]):n("b",[e._v("Keine Dokumente zur Unterschrift")])]},proxy:!0},{key:"default",fn:function(){return[e.signoFiles&&e.signoFiles.length?n("p",[n("b",[e._v("Es liegen folgende Dokumente zur Unterschrift bereit:")])]):n("p",[e._v("Es liegen keine Dokumente zur Unterschrift bereit.")]),e._l(e.signoFiles,(function(t){return n("div",{key:t.url},[n("div",{staticClass:"grid"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e.signoModalLoading?n("AnimatedSpinner"):e._e(),t.signaturStatus&&"KOMPLETT"===t.signaturStatus?n("div",[e._v(" "+e._s(t.fileName)+" (bereits eingereicht) ")]):t.isPictureAttach?n("a",{on:{click:function(n){!e.signoModalLoading&&e.openZusatzDokModal(t)}}},[e._v(" "+e._s(t.fileName)+" ")]):n("DownloadLink",{attrs:{href:t.url,title:t.fileName}})],1)])])])}))]},proxy:!0},{key:"footer",fn:function(){return[n("BaseButton",{attrs:{label:"Zurück",disabled:e.signoModalLoading,animated:e.signoModalLoading},on:{click:function(t){return e.$refs.signoFilesModal.close()}}})]},proxy:!0}],null,!1,485879750)}),n("BaseModal",{ref:"noSignoFilesModal",attrs:{labelButtonCancel:"Zurück",showConfirmButton:!1},scopedSlots:e._u([{key:"modalTitle",fn:function(){return[n("b",[e._v("Das Dokument ist nicht zur e-Signatur geeignet")])]},proxy:!0},{key:"default",fn:function(){return[n("p",[e._v("Sie können jedoch das Dokument herunterladen")]),n("div",{staticClass:"grid"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[e.currentActionData&&e.currentActionData.document?n("DownloadLink",{attrs:{title:e.currentActionData.document.bezeichnung||e.currentActionData.document.fileName||"unbenannt",filename:e.currentActionData.document.fileName||e.currentActionData.document.bezeichnung,downloadServicePath:"/docInfo",queryParams:{nodeId:e.currentActionData.document.nodeId,idFile:encodeURIComponent(e.currentActionData.document.id)}}}):e._e()],1)])])]},proxy:!0}],null,!1,2881857561)}),n("EditDocumentModal",{ref:"editDokumentModal",attrs:{additionalInputs:e.currentEditDocumentInputs},on:{confirm:e.saveDokument}}),n("PictureAttachmentsModal",{ref:"pictureAttachmentsModal",attrs:{selectedDoc:e.selectedDoc},on:{updateLoadingStatus:function(t){return e.updateLoadingStatus(t)}}}),n("BaseModal",{ref:"showCallRecordsModal",attrs:{modalTitle:"Aufgezeichnetes Beratungsgespräch",showConfirmButton:!1,labelButtonCancel:"Zurück"}},[n("p",[e._v(e._s(e.additionalDocuments&&e.additionalDocuments.tableTitle||""))]),n("p",[n("b",[e._v("Video")])]),e._l(e.callRecordList,(function(t,a){return n("div",{key:a},[n("DownloadLink",{attrs:{href:e.makeCallRecordLink(t),title:t.bezeichnung}})],1)}))],2),n("BaseModal",{ref:"multipleFilesModal",attrs:{modalTitle:e.currentFilename,showCancelButton:!1,showConfirmButton:!1}},[n("FileAttachmentsModal",{attrs:{signedAttachments:e.signedAttachments,unsignedAttachments:e.unsignedAttachments},on:{close:function(t){return e.$refs.multipleFilesModal.close()}}})],1),n("BaseModal",{ref:"downloadErrorModal",attrs:{modalTitle:"Fehler",labelButtonConfirm:"Ok",showCancelButton:!1}},[n("label",[e._v(e._s(e.downloadErrorMessage))])]),n("BaseModal",{ref:"confirmationModal",attrs:{modalTitle:"Bestätigung",labelButtonConfirm:"Ok",showCancelButton:!0},on:{onConfirmButton:function(t){return e.onConfirmHeaderActionModal()}}},[n("label",[e._v(e._s(e.confirmationMessage))])]),n("BaseModal",{ref:"sendEmailModal",attrs:{modalTitle:"Dokumente versenden",showDefaultButtons:!1},scopedSlots:e._u([{key:"footer",fn:function(){return[n("BaseButton",{attrs:{isSecondary:""},on:{click:function(t){return e.closeSendEmailModal()}}},[e._v("Abbrechen")]),n("BaseButton",{on:{click:function(t){return e.confirmSendEmail()}}},[e._v("An Kunden")]),n("BaseButton",{on:{click:function(t){return e.confirmSendEmail(!0)}}},[e._v("An Gesellschaft")])]},proxy:!0}],null,!1,1266622414)},[e._v(" An wen möchten Sie die ausgewählten Dokumente versenden? ")]),n("EmailVersand",{attrs:{unregisterEventsBeforeDestroy:e.unregisterEmailEventsBeforeDestroy}}),e.files&&e.currentAdditionalInputs?n("DocumentsUploadModal",{attrs:{files:e.files,additionalInputs:e.currentAdditionalInputs,parentId:e.nodeId,versicherungId:e.versicherungId,schadenId:e.schadenId,uploadType:e.filesFromDokumentenarchiv.length?5:null,showOnlySchadenDocs:e.showOnlySchadenDocs,maxFileSizeMB:e.maxFileSizeMB},on:{close:function(t){e.files=null}}}):e._e(),n("PreviewObject",{ref:"resizablePopup",attrs:{fullClientHeight:!0,modalTitle:e.modalTitle,objectUrl:e.objectUrl,id:"d4fbef9a-7577-47f1-b0a4-38b111f7f426"}})],2):e._e()},i=[],s=n("1da1"),r=n("3835"),o=n("5530"),l=(n("96cf"),n("4e82"),n("fb6a"),n("a9e3"),n("159b"),n("4de4"),n("c1f9"),n("d81d"),n("4fad"),n("caad"),n("7db0"),n("a15b"),n("b0c0"),n("ac1f"),n("5319"),n("d3b7"),n("25f0"),n("99af"),n("c740"),n("9911"),n("2532"),n("e260"),n("c0a4")),c=n("cee4"),d=n("2f62"),u=n("64c5"),p=n("0169"),h=n("09de"),f=n("3c57"),m=n("de6c"),b=n("91ca"),v=n("d53f"),g=n("7c1f"),E=n("025b"),_=n("a871"),S=n("5a75"),T=n("2042"),x=n("6eb5"),y=n("04bc"),k=n("9b31"),I=n("690c"),C=n("586d"),A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseModal",{ref:"editDocumentModal",attrs:{modalTitle:"Datei bearbeiten"},on:{onConfirmButton:e.confirmButton}},[e.additionalInputs&&e.additionalInputs.length?n("UploadInputList",{attrs:{inputs:e.additionalInputs},model:{value:e.formData,callback:function(t){e.formData=t},expression:"formData"}}):e._e()],1)],1)},w=[],O=n("f989"),D=n("98fc"),N={mixins:[],components:{UploadInputList:O["a"],BaseModal:_["a"]},props:{additionalInputs:{required:!0,type:Array}},data:function(){return{formData:{}}},watch:{additionalInputs:function(){this.formData=this.getFormData()}},methods:{getFormData:function(){var e={};return this.additionalInputs.forEach((function(t){"DATE"==t.type?e[t.key]=Object(D["b"])(t.value):"LABEL"!=t.type&&(e[t.key]=t.value)})),e},open:function(){this.$refs.editDocumentModal.open()},confirmButton:function(){this.$emit("confirm",this.formData)}}},R=N,M=n("2877"),P=Object(M["a"])(R,A,w,!1,null,null,null),B=P.exports,L=n("5a29"),U=n("8fb3"),F=n("b20b"),z=n("4349"),j=n("9af6"),$=n("f60f"),G=n("4e5f"),V=n("c17d"),K=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TeleportToBody",[n("ResizableModal",{ref:"resizablePopup",attrs:{modalTitle:e.modalTitle,initialWidth:e.initialWidth,initialHeight:e.initialHeight,sizeIsPercentage:e.sizeIsPercentage,startPosition:e.startPosition,id:e.id,fullClientHeight:e.fullClientHeight},on:{onMinimize:e.resizeObjectContainer,onMaximize:e.resizeObjectContainer,onResize:e.resizeObjectContainer}},[e.loading?n("GhostLoading",[n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}}),n("Block",{attrs:{type:"paragraph"}})],1):e._e(),n("div",{ref:"objectContainer",staticClass:"object-container"},[n("iframe",{directives:[{name:"show",rawName:"v-show",value:e.objectUrl&&!e.loading,expression:"objectUrl && !loading"}],attrs:{src:e.objectUrl,width:"100%",height:"100%"},on:{load:e.onFileLoaded}},[e._v(" Der Browser unterstützt das Format nicht. Bitte laden Sie die Datei herunter: "),n("a",{attrs:{href:e.objectUrl}},[e._v("Herunterladen")]),e._v(". ")])])],1)],1)},H=[],W=(n("498a"),n("2ddc")),Z=n("2ab8"),Y=n("b07d"),X={name:"PreviewPDF",components:{ResizableModal:W["a"],GhostLoading:x["a"],Block:Z["a"],TeleportToBody:Y["a"]},props:{modalTitle:{default:"Objekt-Vorschau"},initialHeight:{type:Number,default:400},initialWidth:{type:Number,default:600},objectUrl:{type:String},sizeIsPercentage:{type:Boolean,default:!1},startPosition:{type:String,default:"TOP_LEFT",validator:function(e){return["TOP_RIGHT","TOP_LEFT","BOTTOM_RIGHT","BOTTOM_LEFT"].includes(e)}},fullClientHeight:{type:Boolean,default:!1},id:{type:String,required:!0,validator:function(e){var t=!!e&&!!e.trim();return t}}},data:function(){return{loading:!0}},methods:{onFileLoaded:function(){this.loading=!1},resizeObjectContainer:function(e){var t=document.querySelector(".object-container");t.style.setProperty("min-height","".concat((null===e||void 0===e?void 0:e.height)-80,"px"),"important")},showPopup:function(){this.loading=!0,this.$refs.resizablePopup.showPopup()}}},q=X,J=(n("0d91"),Object(M["a"])(q,K,H,!1,null,"37e7d273",null)),Q=J.exports,ee="/MSC3/restful",te={defaultSpinner:!0},ne="Keine Dokumente vorhanden",ae=function(e){return e.slice().sort((function(e,t){return e.index>t.index?1:-1}))},ie="/download_service",se={mixins:[$["a"]],components:{PhEye:l["PhEye"],PhEyeSlash:l["PhEyeSlash"],PhCheck:l["PhCheck"],PhWarning:l["PhWarning"],PaginatedTable:b["a"],WorkflowPill:g["a"],Pill:E["a"],BaseModal:_["a"],FileAttachmentsModal:C["a"],PictureAttachmentsModal:S["a"],AnimatedSpinner:T["a"],BaseButton:y["default"],DownloadLink:L["default"],GhostLoading:x["a"],PhPencil:l["PhPencil"],PhTrash:l["PhTrash"],EditDocumentModal:B,DocumentsUploadModal:j["a"],EmailVersand:k["a"],PreviewObject:Q,PhFilePdf:l["PhFilePdf"],PhFile:l["PhFile"]},props:{title:{type:String},tableId:{type:String},nodeId:{type:[String,Number]},versicherungId:{type:[String,Number],default:null,required:!1},schadenId:{type:[String,Number],default:null,required:!1},showNoDataMessageWithIcon:{type:Boolean,default:!1},rowsPerPage:{default:20},showActionColumn:{type:Boolean,default:!0},loadAntraege:{type:Boolean,default:!1},linkVertrag:{type:Boolean,default:!1},enableDraggable:{type:Boolean,default:!1},isModal:{type:Boolean,default:!1},filterFunc:{type:Function,default:function(e){return e}},noHeaderActions:{type:Boolean,default:!1},unregisterEmailEventsBeforeDestroy:{type:Boolean,default:!0},maxFileSizeMB:{type:Number,default:0}},data:function(){return{NO_DATA_MESSAGE:ne,currentActionData:null,signoFiles:[],fileId:null,unsignedAttachments:[],signedAttachments:[],currentFilename:null,downloadErrorMessage:null,downloadLink:{},selectedDoc:null,signoModalLoading:!1,currentEditDocumentInputs:[],scrollLoading:!1,objectUrl:null,modalTitle:"Vorschau"}},computed:Object(o["a"])(Object(o["a"])({},Object(d["b"])({selectedNode:p["default"].GETTERS.DOCUMENTS,currentPage:p["default"].GETTERS.DOCUMENT_PAGE,loginData:u["default"].GETTERS.GET_LOGIN_DATA,getCoreUserID:u["default"].GETTERS.GET_USER_ID,antragList:h["default"].GETTERS.ANTRAG_LIST,selectedRows:p["default"].GETTERS.SELECTED_ROWS,simpleFileLinkGenerator:f["default"].GETTERS.GET_ANTRAG_SCANS_LINK_MAKER,isLoadingNode:p["default"].GETTERS.IS_LOADING_NODE,additionalDocuments:p["default"].GETTERS.ADDITIONAL_DOCUMENTS,isBrokerOrBypass:u["default"].GETTERS.IS_BROKER_OR_BYPASS,isIntern:u["default"].GETTERS.ORIGINAL_USER_IS_INTERN,showDeleted:p["default"].GETTERS.SHOW_DELETED_DOCUMENTS,documentsFilter:p["default"].GETTERS.DOCUMENTS_FILTER,isSelectedAllInFolder:p["default"].GETTERS.IS_SELECTED_ALL_IN_FOLDER,sorted:p["default"].GETTERS.SORTING,isAnlageBeispiel:u["default"].GETTERS.IS_ANLAGE_BEISPIEL,isDropActionActive:p["default"].GETTERS.IS_DROP_ACTION_ACTIVE,isCustomerLogin:u["default"].GETTERS.IS_CUSTOMER_ONLY})),{},{isLoading:function(){return this.isLoadingNode||this.isDropActionActive},headers:function(){var e,t={lockedLeft:[Object(v["SlotColumn"])("bezeichnung",(null===(e=this.selectedNode)||void 0===e?void 0:e.downloadColumnLabel)||"Bezeichnung",250,1).makeAlwaysVisible().makeSortable((function(e){return Object(v["textToSortable"])(e)}))],center:[],lockedRight:[]};return this.selectedNode&&this.selectedNode.headers&&this.selectedNode.headers.filter((function(e){return e.visible})).forEach((function(e){switch(e.lockedColumn){case"left":t.lockedLeft.push(Object(v["oldToNewColumn"])(e.key,e.label,e.dataType,e.cellProps,null,e.clickable,e.sortable));break;case"right":t.lockedRight.push(Object(v["oldToNewColumn"])(e.key,e.label,e.dataType,e.cellProps,null,e.clickable,e.sortable));break;default:t.center.push(Object(v["oldToNewColumn"])(e.key,e.label,e.dataType,e.cellProps,null,e.clickable,e.sortable).addCellProps({lineClamp:4}));break}})),this.hasStatusAction("VORLAGE_STATUS")&&t.lockedRight.push(Object(v["SlotColumn"])("vorlagestatus","Vorlage",200,0)),this.hasAction("DOKUMENTE_HINZUFUGEN")&&t.lockedRight.push(Object(v["PillColumn"])("dokumente","Dokumente",120)),this.hasStatusAction("FREIGABE_KUNDE")&&t.lockedRight.push(Object(v["IconColumn"])("sichtbar","Sichtbar").makeConditionalLink("exists")),this.hasAction("GETEILT_MIT_KUNDE")&&t.lockedRight.push(Object(v["PillColumn"])("geteilt","Geteilt")),!this.versicherungId||this.isBrokerOrBypass?(this.hasStatusAction("ANTRAG_STATUS")&&t.lockedRight.push(Object(v["IconColumn"])("status","Status")),this.hasStatusAction("ANLEGERPROFIL_BESTATIGT")&&t.lockedRight.push(Object(v["IconColumn"])("apstatus","Status")),this.hasStatusAction("SIGN_STATUS")&&t.lockedRight.push(Object(v["SlotColumn"])("signaturstatus","e-Signatur",200,0)),this.showActionColumn&&t.lockedRight.push(Object(v["ActionColumn"])("actions","Aktionen"))):t.center=t.center.filter((function(e){return"bemerkung"!==e.key})),t},pageCount:function(){var e;return(null===(e=this.selectedNode)||void 0===e?void 0:e.numberOfPages)||0},pages:function(){var e,t,n=this;return null!==(e=this.selectedNode)&&void 0!==e&&e.documents?Object.fromEntries(Object.entries(null===(t=this.selectedNode)||void 0===t?void 0:t.documents).map((function(e){var t=Object(r["a"])(e,2),a=t[0],i=t[1];return[a,i.map((function(e){return n.mapDocument(e)}))]}))):{}},resultCount:function(){return this.selectedNode.numberOfRecords||0},callRecordList:function(){return this.additionalDocuments&&this.additionalDocuments.tableRows||[]},mobileHeaders:function(){return this.selectedNode.mobileHeaders||[]},tableHeaderActions:function(){var e,t=this;return this.noHeaderActions?[]:ae(this.filterFunc((null===(e=this.selectedNode)||void 0===e?void 0:e.headerActions)||[])).map((function(e){return Object(G["h"])(e.key,e.label).withDisabled((function(){return t.buttonDisabled(e.key)})).withValue(e).withAsPrimary((function(){return"DATEI_HOCHLADEN"===e.key||"DATEI_HINZUFUGEN"===e.key}))}))},isLoadingComplete:function(){var e;return!this.isLoadingNode&&!(null===(e=this.tableHeaderActions)||void 0===e||!e.length)}}),watch:{nodeId:{handler:function(e){e&&!this.isModal&&this.getNextPageDocuments(e,0)},immediate:!0},documentsFilter:{handler:function(){this.isModal||this.getNextPageDocuments(this.nodeId,0,!1,!0)}}},methods:{canPreviewFile:function(e){if(!e||!e.data||!e.data.originalFileName)return!1;var t=e.data.originalFileName,n=[".pdf",".txt",".html",".png",".jpg",".jpeg",".wav",".mp3",".mp4",".gif"],a=t.substring(t.lastIndexOf(".")).toLowerCase();return n.includes(a)},looksLikePDFFile:function(e){var t,n=(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.originalFileName)||"",a=n.slice(n.lastIndexOf(".")).toLowerCase();return".pdf"===a},fetchObject:function(e){var t,n,a=(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.fileName)||(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.bezeichnung),i={nodeId:null===e||void 0===e?void 0:e.nodeId,idFile:encodeURIComponent(null===e||void 0===e?void 0:e.id)},s="/docInfo",r=Object(V["f"])(this.$store.getters,"".concat(ie).concat(s),a,i);this.objectUrl=r,this.modalTitle=a,this.$refs.resizablePopup.showPopup()},onScroll:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.onRequestPage(t.currentPage+1);case 3:return n.prev=3,e(),n.finish(3);case 6:case"end":return n.stop()}}),n,null,[[0,,3,6]])})))()},mapDocument:function(e){var t,n=this,a=Object(o["a"])({data:e},e);if(this.selectedNode.headers&&e.additionalColumns&&(a=Object(o["a"])(Object(o["a"])({},a),e.additionalColumns)),a.bezeichnung=(null===(t=a.data)||void 0===t?void 0:t.bezeichnung)||a.bezeichnung||a.fileName||"unbenannt",this.hasAction("DOKUMENTE_HINZUFUGEN")&&(a.dokumente=a.documentCount?{type:"info",label:a.documentCount+(1==a.documentCount?" Dokument":" Dokumente")}:{type:"info",label:"keine Dokumente"}),this.hasStatusAction("FREIGABE_KUNDE")&&(a.sichtbar=null,e.statusActions.find((function(e){return"FREIGABE_KUNDE_VERWEIGERT"==e.legend.key||"FREIGABE_MAKLER_VERWEIGERT"==e.legend.key}))?a.sichtbar=[Object(v["Icon"])(l["PhEyeSlash"],"Freigabe verweigert",16,"bold","color-danger")]:e.statusActions.find((function(e){return"FREIGABE_KUNDE_VORHANDEN"==e.legend.key||"FREIGABE_MAKLER_VORHANDEN"==e.legend.key}))&&(a.sichtbar=[Object(v["Icon"])(l["PhEye"],"freigegeben",16,"bold","color-text")])),this.hasAction("GETEILT_MIT_KUNDE")){var i=e.actions.find((function(e){return"ANTRAG_TEILEN"==e.specificAction}));i&&(a.geteilt="NICHT_MIT_KUNDE_TEILEN"==i.legend.key?{type:"success",label:i.additionalData.pillLabel}:{type:"danger",label:i.additionalData.pillLabel})}if(this.hasStatusAction("ANTRAG_STATUS")&&(a.status=null,e.statusActions.find((function(e){return"ANTRAG_ORDNUNG"==e.legend.key}))?a.status=[Object(v["Icon"])(l["PhCheck"],"Gut",16,"bold","color-success")]:e.statusActions.find((function(e){return"ANTRAG_FEHLER"==e.legend.key}))&&(a.status=[Object(v["Icon"])(l["PhWarning"],"Fehler",16,"bold","color-danger")])),this.hasStatusAction("ANLEGERPROFIL_BESTATIGT")&&(a.apstatus=null,e.statusActions.find((function(e){return"ANLEGERPROFIL_FEHLERHAFT"==e.legend.key}))?a.apstatus=[Object(v["Icon"])(l["PhWarning"],"fehlerhaft",16,"bold","color-danger")]:e.statusActions.find((function(e){return"ANLEGERPROFIL_BESTATIGT"==e.legend.key}))?a.apstatus=[Object(v["Icon"])(l["PhCheck"],"bestätigt",16,"bold","color-success")]:e.statusActions.find((function(e){return"ANLEGERPROFIL_BESTATIGT_OK"==e.legend.key}))?a.apstatus=[Object(v["Icon"])(l["PhChecks"],"bestätigt",16,"bold","color-success")]:e.statusActions.find((function(e){return"ANLEGERPROFIL_BESTATIGT_PENDING"==e.legend.key}))&&(a.apstatus=[Object(v["Icon"])(l["PhCheck"],"unbestätigt",16,"bold","color-warning")])),a.actions=[],e.actions&&e.actions.forEach((function(t){t.legend.key===e.actionOnClick||n.isIntern&&!a.exists&&!t.showIfDeleted||a.actions.push(Object(v["SimpleAction"])(t.legend.key,t.legend.icon,t.legend.label))})),this.enableDraggable){var s=[a.bezeichnung,a.name].filter((function(e){return!!e})).join(" | ");a.$draggable=a.draggable?Object(z["a"])(a,s):null}return a},sanitize:function(e){return Object(F["b"])(e)},setInvertedList:function(e){this.$store.commit(p["default"].MUTATIONS.SET_SELECTED_ALL_IN_FOLDER,e)},makeCallRecordLink:function(e){for(var t=[],n=0,a=Object.entries(e.sendData);n<a.length;n++){var i=Object(r["a"])(a[n],2),s=i[0],o=i[1];t.push(s),t.push(o)}return this.simpleFileLinkGenerator(e.bezeichnung,this.nodeId,t)},uuidv4:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"==e?t:3&t|8;return n.toString(16)}))},hasAction:function(e){var t;return!(null===(t=this.selectedNode)||void 0===t||!t.availableActions)&&this.selectedNode.availableActions.some((function(t){return t.key==e}))},hasStatusAction:function(e){var t;return!(null===(t=this.selectedNode)||void 0===t||!t.availableStatusIcons)&&this.selectedNode.availableStatusIcons.some((function(t){return t.key==e}))},setRowSelection:function(e){this.$store.commit(p["default"].MUTATIONS.SET_ROW_SELECTION,e)},getDownloadURL:function(e){if(e){var t=this.loginData.token;return"".concat(ee,"/documents/docInfo?docInfo=").concat(this.nodeId,"&docInfo=").concat(encodeURIComponent(e.id),"&token=").concat(t)}},onSort:function(e){var t=e.key,n=e.sortDirection;this.$store.dispatch(p["default"].ACTIONS.SORT_DOCUMENTS,{sortKey:t,ascending:"asc"==n})},handleExecuteAction:function(e){var t={action:e.action,document:e.value,nodeId:this.nodeId,offset:this.currentPage,fileName:e.fileName,bezeichnung:e.bezeichnung};this.currentActionData=t,this.executeAction(t)},handleClickVisible:function(e){var t=e.data.statusActions.find((function(e){return"FREIGABE_KUNDE_VERWEIGERT"==e.legend.key||"FREIGABE_MAKLER_VERWEIGERT"==e.legend.key||"FREIGABE_KUNDE_VORHANDEN"==e.legend.key||"FREIGABE_MAKLER_VORHANDEN"==e.legend.key}));t&&this.handleAction({key:t.legend.key,row:e})},handleAction:function(e){var t=e.key,n=e.row,a={action:n.data.actions.find((function(e){return e.legend.key==t})),document:n.data,nodeId:this.nodeId,offset:this.currentPage};this.currentActionData=a,this.executeAction(a)},executeAction:function(e){var t,n,a,i,s=this;switch(null===e||void 0===e||null===(t=e.action)||void 0===t||null===(n=t.legend)||void 0===n?void 0:n.key){case"DOKUMENT_ANZEIGEN":this.viewDocument(e.document);break;case"DOKUMENT_BEARBEITEN":this.editDocument(e);break;case"DOKUMENT_UNTERSCHREIBEN":this.signDocument(e);break;case"KEINE_DOKUMENTE":case"DOKUMENTE_HINZUFUGEN":case"DOKUMENTE_HINZUFUGEN_KUNDENLOGIN":case"KREDIT_DARLEHENSVERTRAG_ANZEIGEN":case"DOKUMENT_ABSCHLIESSEN_SUBNODE":this.$router.push({path:"/communication/documents/zusaetzlichedokumente",query:{nodeId:e.nodeId,fileId:encodeURIComponent(e.document.id)}});break;case"KREDIT_DARLEHENSVERTRAG_OFFNEN":var r=e.action.sendData.find((function(e){return"PARAM_KREDIT_ID"===e.key}));if(r){var o=r.value,l="/home/verbindlichkeiten/credit/edit/".concat(o);this.$router.push({path:l}).catch((function(){}))}break;case"DOKUMENT_LOSCHEN":case"DOKUMENT_WIEDERHERSTELLEN":case"FREIGABE_MAKLER_VERWEIGERT":case"FREIGABE_MAKLER_VORHANDEN":case"FREIGABE_KUNDE_VORHANDEN":case"FREIGABE_KUNDE_VERWEIGERT":case"DOKUMENT_VORLEGEN":case"DOKUMENT_NICHT_VORLEGEN":case"DOKUMENT_KUNDE_NICHT_VORLEGEN":case"DOKUMENT_VERMITTLER_NICHT_VORLEGEN":case"DOKUMENT_ABSCHLIESSEN":case"DOKUMENT_MULTIPLE_VORLAGE":case"DOKUMENT_REMOVE_MULTIPLE_REMOVE_VORLAGE":case"DOKUMENT_VORLEGEN_TEILWEISE":case"DOKUMENT_NICHT_VORLEGEN_TEILWEISE":case"MIT_KUNDE_TEILEN":case"NICHT_MIT_KUNDE_TEILEN":e.action.confirmationMessage?this.$confirmModal({title:e.action.confirmationTitle||"Bestätigung",message:e.action.confirmationMessage,labelButtonConfirm:"Ok"}).then((function(){var t;if("DOKUMENT_LOSCHEN"===(null===(t=e.action.legend)||void 0===t?void 0:t.key)&&!s.showDeleted){var n,a=null===(n=s.pages[s.currentPage])||void 0===n?void 0:n.length;1===a&&e.offset>0&&(e.offset=e.offset-1)}s.executeConfirmedAction(e)})).catch((function(){})):this.executeConfirmedAction(e);break;case"CALL_RECORDS_ANZEIGEN":this.$store.dispatch(p["default"].ACTIONS.RETRIEVE_ADDITIONAL_DOCUMENTS,{showDeleted:this.showDeleted,nodeId:e.nodeId,fileId:encodeURIComponent(e.document.id)}).then((function(){return s.$refs.showCallRecordsModal.open()}));break;case"ANDERUNGSHISTORIE":this.$router.push("/communication/documents/aenderungshistorie?docInfo=".concat(encodeURIComponent(e.document.id)));break;case"ANLEGERPROFIL_BESTATIGT":c["a"].post("".concat("/MSC3/restful","/dokumentenarchiv/confirmAnlegerprofil&docInfo=").concat(e.nodeId,"&docInfo=").concat(encodeURIComponent(e.document.id)));break;default:this.$store.dispatch(m["default"].ACTIONS.WARN,{message:"action not yet implemented: "+(null===e||void 0===e||null===(a=e.action)||void 0===a||null===(i=a.legend)||void 0===i?void 0:i.key),actionData:e})}},executeConfirmedAction:function(e){var t=this;e.action.specificAction&&this.$store.dispatch(p["default"].ACTIONS.EXECUTE_ACTION,{action:e.action,nodeId:e.nodeId,documentId:e.document.id,offset:e.offset,limit:this.rowsPerPage,schadenId:this.schadenId}).then((function(n){null!==n&&void 0!==n&&n.warningMessage&&t.$confirmModal({title:n.warningTitle,message:n.warningMessage,labelButtonConfirm:"Ja",labelButtonCancel:"Nein"}).then((function(){e.action.sendData&&(e.action.sendData.push({key:"PARAM_IS_CONFIRMED_SUBMIT_MIT_BLANK_SIGNATURES",value:"1"}),t.executeConfirmedAction(e))})).catch((function(){}))}))},saveDokument:function(e){this.currentActionData.action.additionalData=e,this.$store.dispatch(p["default"].ACTIONS.EXECUTE_ACTION,{action:this.currentActionData.action,nodeId:this.currentActionData.nodeId,documentId:this.currentActionData.document.id,offset:this.currentActionData.offset,limit:this.rowsPerPage})},viewDocument:function(e){var t=this,n=e.nodeId,a=e.id;this.$store.dispatch(p["default"].ACTIONS.GET_FILE_DATA,{nodeId:n,id:encodeURIComponent(a)}).then((function(e){null!==e&&void 0!==e&&e.length?(t.signedAttachments=e.filter((function(e){return!0===e.signed})),t.unsignedAttachments=e.filter((function(e){return!0===e.unsigned})),t.$refs.multipleFilesModal.open()):null!==e&&void 0!==e&&e.errorMessage&&(t.downloadErrorMessage=null===e||void 0===e?void 0:e.errorMessage,t.$refs.downloadErrorModal.open())}))},editDocument:function(e){var t,n=this,a=(null===e||void 0===e||null===(t=e.action)||void 0===t?void 0:t.specificAction)||"";if("BERATUNGSMAPPE_OFFNEN"===a&&this.openBeratungsmappe(e.action),"ANTRAG_OFFNEN"===a&&this.openAntrag(e.action),"MAKLERANTRAG_OFFNEN"===a&&this.openMaklerAntrag(e.action),"ANLEGERPROFIL_OFFNEN"===a&&this.openAnlegerprofil(e.action),"BERATUNGSDOK_OFFNEN"===a&&this.openBeratungsdokVers(e.action),"DOKUMENT_BEARBEITEN"===a){var i="/dokumentenarchiv/getEditDocumentInputs?docInfo=".concat(this.nodeId,"&docInfo=").concat(encodeURIComponent(this.currentActionData.document.id));c["a"].get("".concat("/MSC3/restful").concat(i),te).then((function(e){e&&e.data&&(n.currentEditDocumentInputs=e.data,n.$refs.editDokumentModal.open())}))}if("ANLAGEEMPFEHLUNG_OFFNEN"===a){var s=e.action.sendData.find((function(e){return"PARAM_ANLAGEEMPFEHLUNG_ID"===e.key}));if(s){var r=s.value,o=this.isAnlageBeispiel?"anlagebeispiel":"anlageempfehlung",l="/beratung/".concat(o,"/details?adviceId=").concat(r);this.$router.push({path:l}).catch((function(){}))}}},openBeratungsmappe:function(e){var t=e.sendData.findIndex((function(e){return"PARAMETER_NAME_MAPPE_ID"===e.key})),n=e.sendData[t].value;t=e.sendData.findIndex((function(e){return"art"===e.key}));var a=e.sendData[t].value;t=e.sendData.findIndex((function(e){return"datum_erstellt"===e.key}));var i=e.sendData[t].value;this.$router.push({path:"/beratung/beratung/bearbeiten",query:{id:n,art:a,datum:i,investementAdviceReferrer:this.investementAdviceReferrer&&!this.$route.query.backAction}})},openVertrag:function(e){this.$router.push({path:"/home/versicherungen/insurance-group/overview/".concat(e.vertragId)})},openSchaden:function(e){this.$router.push("/home/versicherungen/insurance-group/schadensmeldung/".concat(this.versicherungId,"/").concat(e.schadenId))},openAntrag:function(e){var t=this,n=e.sendData.findIndex((function(e){return"PARAMETER_NAME_ANTRAGDATEN_ID"===e.key}));if(!(n<=-1)){var a=this;c["a"].get("".concat(ee,"/../mrskundenzugang?userType=KUNDE&userid=").concat(this.getCoreUserID)).then((function(n){if(n.data.link){var i,s,r,o,l,c,d,u={beratungsMappeId:null===(i=e.sendData.find((function(e){return"PARAMETER_NAME_MAPPE_ID"===e.key})))||void 0===i?void 0:i.value,bezeichnung:null===(s=e.sendData.find((function(e){return"bezeichnung"===e.key})))||void 0===s?void 0:s.value,gesellschaft:null===(r=e.sendData.find((function(e){return"gesellschaft"===e.key})))||void 0===r?void 0:r.value,antragsdatenId:null===(o=e.sendData.find((function(e){return"PARAMETER_NAME_ANTRAGDATEN_ID"===e.key})))||void 0===o?void 0:o.value,antragModus:null===(l=e.sendData.find((function(e){return"antragModus"===e.key})))||void 0===l?void 0:l.value,servicePath:null===(c=e.sendData.find((function(e){return"servicePath"===e.key})))||void 0===c?void 0:c.value,hideBeratungsmappepopup:null===(d=e.sendData.find((function(e){return"hideBeratungsmappepopup"===e.key})))||void 0===d?void 0:d.value},p=I["a"].getLoadURL(u,a.antragList.formGroups,a.isCustomerLogin);p?t.$router.push({path:p}).catch((function(){})):t.$router.push({path:"/role-forbidden"})}}))}},openMaklerAntrag:function(e){var t,n,a=null===(t=e.sendData.find((function(e){return"PARAMETER_NAME_ANTRAGDATEN_ID"===e.key})))||void 0===t?void 0:t.value,i=null===(n=e.sendData.find((function(e){return"ANTRAG_TYP"===e.key})))||void 0===n?void 0:n.value;if(i&&a){var s=null;"WK_KUNDENBESCHWERDE"===i?s="/beratung/vv/beschwerde?antragsdatenId=".concat(a):"WK_FRAGEBOGEN"===i?s="/beratung/vv/advisor-fragebogen/wealthkonzept/wk_advisor_fragebogen/fragebogen?bmOptChosen=true&antragsdatenId=".concat(a):"FA_CHECKLISTE"==i&&(s="/intern/jahrescheckliste?antragsdatenId=".concat(a)),s?this.$router.push({path:s}).catch((function(){})):this.$router.push({path:"/role-forbidden"})}},openAnlegerprofil:function(e){var t=this,n=e.sendData.findIndex((function(e){return"PARAM_PRUEFNUMMER"===e.key})),a=e.sendData[n].value;c["a"].get("".concat("/MSC3/restful","/../mrskundenzugang?userType=KUNDE&userid=").concat(this.getCoreUserID)).then((function(n){if(n.data.link){var i,s,r="WEALTH_KONZEPT"===(null===(i=e.sendData)||void 0===i||null===(s=i.find((function(e){return"schiene"===(null===e||void 0===e?void 0:e.key)})))||void 0===s?void 0:s.value)?"WEALTH_KONZEPT":"",o="/beratung/".concat("WEALTH_KONZEPT"===r?"anlegerprofilWK":"anlegerprofil","/person1/auswahl/personenauswahl?pruefnummer=").concat(a);t.$router.push({path:o,query:{schiene:r}}).catch((function(){}))}}))},openBeratungsdokVers:function(e){var t=this,n=e.sendData.findIndex((function(e){return"PARAMETER_PROTOKOLL_ID"===e.key})),a=e.sendData[n].value;c["a"].get("".concat("/MSC3/restful","/../mrskundenzugang?userType=KUNDE&userid=").concat(this.getCoreUserID)).then((function(e){if(e.data.link){var n="/beratung/formulare/antrag/VERSICHERUNG/beratungsdokumentationVersicherungen/?protokollId=".concat(a,"&hideBeratungsmappepopup=true");t.$router.push({path:n}).catch((function(){}))}}))},signDocument:function(e){var t,n=this,a=(null===e||void 0===e||null===(t=e.action)||void 0===t?void 0:t.specificAction)||"";if("SIGNOVIEWER_OFFNEN"===a){var i=null,s=e.action.sendData.findIndex((function(e){return"fileId"===e.key}));if(s>-1&&(i=e.action.sendData[s]),e.nodeId&&i){var r,o="/dokumentenarchivSign/documentSignAction?docInfo=".concat(e.nodeId,"&docInfo=").concat(encodeURIComponent(i.value));c["a"].post("".concat("/MSC3/restful").concat(o),null===(r=e.action)||void 0===r?void 0:r.sendData,te).then((function(e){e&&e.data&&(n.signoFiles=e.data.signatureOutputs,n.handleSignature())}))}}},handleSignature:function(){if(this.signoFiles&&1===this.signoFiles.length)this.signoFiles[0].isPictureAttach?this.openZusatzDokModal(this.signoFiles[0]):"KOMPLETT"===this.signoFiles[0].signaturStatus?(this.downloadErrorMessage="Das Dokument wurde bereits eingereicht",this.$refs.downloadErrorModal.open()):this.signoFiles[0].url?Object(U["b"])(this.signoFiles[0].url,this.signoFiles[0].fileName):this.$refs.noSignoFilesModal.open();else if(this.signoFiles&&this.signoFiles.length>1)this.$refs.signoFilesModal.open();else{var e;null===(e=this.$refs.noSignoFilesModal)||void 0===e||e.open()}},setPageIndex:function(e){this.$store.commit(p["default"].MUTATIONS.SET_PAGE,e)},onRequestPage:function(e){return this.getNextPageDocuments(this.nodeId,e,!0)},getNextPageDocuments:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.setPageIndex(t),this.$store.dispatch(p["default"].ACTIONS.RETRIEVE_DOCUMENTS,{nodeId:e,offset:t,limit:this.rowsPerPage,schadenId:this.schadenId,keepOldPages:n,linkVertrag:this.linkVertrag,doAlwaysLoad:a})},retrieveAntragList:function(){this.$store.dispatch(h["default"].ACTIONS.RETRIEVE_ANTRAG_LIST)},clearSelectedRows:function(){this.$store.commit(p["default"].MUTATIONS.SET_SELECTED_ALL_IN_FOLDER,!1),this.$store.commit(p["default"].MUTATIONS.SET_ROW_SELECTION,[])},listHasAction:function(e,t){return e&&e.some((function(e){return e.legend.key==t}))},openZusatzDokModal:function(e){var t=this;e.signoElement&&(this.selectedDoc=e.signoElement,setTimeout((function(){t.$refs.pictureAttachmentsModal.open()}),100))},updateLoadingStatus:function(e){this.signoModalLoading=e},showCheckboxes:function(){return!!this.$route.path.includes("mailcomposer-dokumentenarchiv")||!(!this.selectedNode||!this.selectedNode.headerActions)&&this.selectedNode.headerActions.some((function(e){return"MARKIERTE_MAIL_VERSCHICKEN"===e.key||"MARKIERTE_LOSCHEN"===e.key}))}},mounted:function(){this.loadAntraege&&this.retrieveAntragList()},beforeDestroy:function(){this.clearSelectedRows()}},re=se,oe=(n("6d53"),Object(M["a"])(re,a,i,!1,null,"054ae8a6",null));t["a"]=oe.exports},"4be6":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".autocomplete[data-v-dde07fe2]{position:relative;width:100%;padding-bottom:16px}.results-container[data-v-dde07fe2]{position:absolute;z-index:99999;background:var(--color-box);border:rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.5);box-shadow:0 2px 6px rgba(0,0,0,.5);width:100%}.results-container.half[data-v-dde07fe2]{width:calc(50% - 32px)}.results-container-no-results[data-v-dde07fe2]{padding-top:16px}.result-link.selected[data-v-dde07fe2]{text-decoration:underline}.block[data-v-dde07fe2]{border-top:1px solid #e5e5e5;padding:4px 16px 16px 16px;margin-top:16px}.autocomplete-results[data-v-dde07fe2]{padding:5px;margin:0;border:1px solid #eee;max-height:400px;overflow:auto;width:100%;background-color:var(--color-top-nav-background);color:var(--color-top-nav-text);position:absolute;min-width:420px;z-index:1}.autocomplete-result[data-v-dde07fe2]{list-style:none;text-align:left}",""]),e.exports=t},"4c81":function(e,t,n){var a=n("dd0b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("57ad21c4",a,!0,{sourceMap:!1,shadowMode:!1})},"4d13":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".align-end[data-v-49250007]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:end;align-self:flex-end;padding:0 0 16px 5px;color:var(--color-text)}.form-control[data-v-49250007]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-align:center;-ms-flex-align:center;align-items:center}",""]),e.exports=t},"4e17":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-container",class:{"form-container__stepper-collapsed":e.stepperCollapsed}},[e.$slots.stepper?n("div",{staticClass:"form-container__stepper"},[e._t("stepper")],2):e._e(),e.$slots.content?n("div",{staticClass:"form-container__content",class:{"form-container__content--full":!e.$slots.stepper},on:{transitionstart:function(t){return t.target!==t.currentTarget?null:e.handleTransitionStart(t)},transitionend:function(t){return t.target!==t.currentTarget?null:e.handleTransitionEnd(t)}}},[e._t("content")],2):e._e()])},i=[],s="form-container--transition-active",r={props:{stepperCollapsed:{type:Boolean,default:!1}},methods:{handleTransitionStart:function(e){"width"===(null===e||void 0===e?void 0:e.propertyName)&&this.$el.classList.add(s)},handleTransitionEnd:function(e){"width"===(null===e||void 0===e?void 0:e.propertyName)&&(this.$el.classList.remove(s),dispatchEvent(new Event("resize")))}}},o=r,l=(n("b4fe"),n("2877")),c=Object(l["a"])(o,a,i,!1,null,"b9e74b14",null);t["a"]=c.exports},"4e2b1":function(e,t,n){var a=n("7c72");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("754a06ec",a,!0,{sourceMap:!1,shadowMode:!1})},"50ca":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vertical-stepper",class:{"vertical-stepper--collapsed":e.collapsed,"vertical-stepper--collapsable":e.showCollapse}},[e.showCollapse?n("div",{staticClass:"vertical-stepper--collapse-toggle__container"},[n("button",{staticClass:"vertical-stepper--collapse-toggle btn-clear clickable",attrs:{type:"button"},on:{click:function(t){return e.toggleCollapse()}}},[n("PhCaretLeft",{attrs:{size:24}})],1)]):e._e(),n("div",{staticClass:"vertical-stepper--items"},[n("div",{staticClass:"vertical-stepper--items__wrap"},[e.stepsComputed&&e.stepsComputed.length?e._l(e.stepsComputed,(function(t,a){return n("div",{key:a+e.lastUpdated,staticClass:"vertical-stepper--item"},[n("VerticalStepItem",{attrs:{step:t,stepType:e.stepType,isCurrent:e.selectedStepKey===t.stepKey,showSaveSpinner:e.showSaveSpinner&&e.stepClicked===t.stepKey,collapsed:e.collapsed},on:{click:function(n){return e.onClickStop(t.stepKey)}}}),e._l(e.getSubsteps(t),(function(i,s){return n("VerticalSubstepItem",{directives:[{name:"show",rawName:"v-show",value:e.showLastSubstep(a,t)&&!i.hidden,expression:"showLastSubstep(index, step) && !substep.hidden"}],key:s+e.lastUpdated,attrs:{isCurrent:e.selectedSubstepKey===i.substepKey,substep:i,collapsed:e.collapsed},on:{click:function(n){return e.onClickSubstep(t.stepKey,i.substepKey)}}})}))],2)})):n("GhostLoading",{attrs:{type:"block",config:{block:{height:24}},repeat:10}})],2)])])},i=[],s=(n("9911"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"stepper-item__container clickable",class:{"stepper-item--selected":e.isCurrent},attrs:{tid:e._generateTidFromString(e.step.label)},on:{click:function(t){return e.$emit("click",t)},mouseover:function(t){return e.handleMouseOver(t)},mouseleave:function(t){return e.handleMouseLeave(t)}}},[n("div",{staticClass:"stepper-item__icon"},[n("VerticalStepIcon",{attrs:{stepperStatus:e.stepperStatus,isCurrent:e.isCurrent,collapsed:e.collapsed}})],1),n("span",{staticClass:"vertical-stop__label",class:{"vertical-stop__label--selected":e.isCurrent}},[n("span",{domProps:{innerHTML:e._s(e.sanitize(e.step.label))}}),e._v(" "),e.showSaveSpinner?n("AnimatedSpinner"):e._e()],1)])}),r=[],o=n("e029"),l=n("2042"),c=n("6bcb"),d=n("b967"),u=n("b20b"),p={mixins:[o["a"],d["a"]],props:{step:{},showSaveSpinner:{type:Boolean,default:!1},isCurrent:{type:Boolean,default:!1},stepType:{type:String,default:"step"},collapsed:{type:Boolean,default:!1}},computed:{stepperStatus:function(){return"tab"===this.stepType?this.step.warning?"warning":"default":this.step.warning?"warning":this.step.success?"success":"default"}},methods:{sanitize:function(e){return Object(u["b"])(e)}},components:{AnimatedSpinner:l["a"],VerticalStepIcon:c["a"]}},h=p,f=(n("a023"),n("2877")),m=Object(f["a"])(h,s,r,!1,null,"512c6b79",null),b=m.exports,v=n("4035"),g=n("c0a4"),E=n("c1a1"),_=n("6eb5"),S=n("2ab8"),T={props:{currentStep:{type:Object,default:function(){return{}}},stepperName:{type:String,default:""},stepType:{type:String,default:"step"},selectedStepKey:{type:String,default:""},selectedSubstepKey:{type:String,default:""},visible:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},stepperService:{default:function(){return null}},antragData:{},showSaveSpinner:{type:Boolean,default:!1},showCollapse:{type:Boolean,default:!1}},watch:{selectedStepKey:function(e){this.progress(e),this.updateStepList()},selectedSubstepKey:function(e){this.progress(this.selectedStepKey,e),this.updateStepList()},showSaveSpinner:function(e){e||(this.stepClicked=null)},stepperService:function(){var e=this.selectedStepKey;e&&!this.eventEmitted&&this.progress(e),this.updateStepList()},"stepperService.stepListSource":{handler:function(){this.updateStepList()}},collapsed:{handler:function(e){this.$emit("collapsed",e)},immediate:!0}},data:function(){return{stepsComputed:null,lastUpdated:Date.now(),stepClicked:null,collapsed:!1,eventEmitted:!1}},methods:{showLastSubstep:function(e,t){var n,a=e===(null===(n=this.stepsComputed)||void 0===n?void 0:n.length)-1;if(!a)return!0;var i=this.getSubsteps(t);return i.length>0&&i[0].title},getSubsteps:function(e){var t;return(null===e||void 0===e||null===(t=e.substeps)||void 0===t?void 0:t.length)>0?e.substeps:[{}]},onClickStop:function(e){this.disabled||(this.$emit("setStep",e),this.stepClicked=e)},onClickSubstep:function(e,t){t&&!this.disabled&&(this.$emit("setSubstep",{stepKey:e,substepKey:t}),this.stepClicked=e)},progress:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.stepperService&&(this.stepperService.progress(e,t,"fixed"===this.stepType),this.stepperService.currentStep)){this.stepperService.currentStep.actionFunc&&this.stepperService.currentStep.actionFunc(),"aktionen"==e&&(this.$emit("zusammenfassung",e),this.eventEmitted=!0);var n=this.stepperService.currentStep.link;n&&n!==this.$route.path&&this.$router.push({path:n})}},updateStepList:function(){var e=this.stepperService.getCurrentStepList(),t=Object(E["e"])(e,this.antragData);this.stepsComputed=t,this.lastUpdated=Date.now()},toggleCollapse:function(){this.collapsed=!this.collapsed}},mounted:function(){this.updateStepList()},beforeDestroy:function(){this.collapsed=!1},components:{VerticalStepItem:b,VerticalSubstepItem:v["a"],PhCaretLeft:g["PhCaretLeft"],GhostLoading:_["a"],Block:S["a"]}},x=T,y=(n("ddcf"),n("1906"),Object(f["a"])(x,a,i,!1,null,"7749c895",null));t["a"]=y.exports},5189:function(e,t,n){var a=n("53a6");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("37aba76f",a,!0,{sourceMap:!1,shadowMode:!1})},5316:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".externezugang__button-container[data-v-d352baf0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}",""]),e.exports=t},5367:function(e,t,n){var a=n("423e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("6898737e",a,!0,{sourceMap:!1,shadowMode:!1})},"53a6":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".main__container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:0}.main__container .header,.main__container .item{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0px}.main__container .item{border:1px solid var(--color-text);padding:4px}.main__container .control{-webkit-box-flex:0.2;-ms-flex:0.2 1 0px;flex:0.2 1 0px;-ms-flex-item-align:center;align-self:center;justify-self:center;text-align:center}",""]),e.exports=t},"53f7":function(e,t,n){"use strict";var a=n("2909"),i=n("1da1"),s=n("5530"),r=(n("96cf"),n("a738")),o=n("2f62"),l=n("223c");t["a"]={components:{ExterneZugangAskOptions:l["a"]},data:function(){return{askOptions:null,externeZugang:null,loading:!1,data:null,actionLabel:"Kunde anlegen"}},computed:Object(s["a"])({},Object(o["b"])({externeZugangList:r["default"].GETTERS.EXTERNE_ZUGANG_VERGLEICH_LIST})),methods:{getList:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.loading=!0,t.next=4,e.$store.dispatch(r["default"].ACTIONS.GET_EXTERNE_ZUGANG_VERGLEICH_LIST);case 4:return t.prev=4,e.loading=!1,t.finish(4);case 7:case"end":return t.stop()}}),t,null,[[0,,4,7]])})))()},askOptionsExterneZugang:function(e){switch(null===e||void 0===e?void 0:e.itemLabel){case"Nafi-KFZ":case"Finanzportal24":case"Franke & Bornberg fb-tools":case"Tarifrechner Nürnberger BT4All":case"Innosystems":e.askOptions&&(this.externeZugang=Object(s["a"])({},e),this.askOptions=Object(a["a"])(e.askOptions)),this.$router.push({path:"/beratung/vergleichsrechner/".concat(encodeURIComponent(e.itemLabel)),query:{path:e.path}});break;case"Chegg.net":this.openExterneZugang(e.path);break;case"Chegg.net Dokumente abholen":this.dokumenteAbholen();break;default:this.actionLabel=e.actionLabel,e.askOptions?(this.externeZugang=Object(s["a"])({},e),this.askOptions=Object(a["a"])(e.askOptions)):this.openExterneZugang(e.path)}},openExterneZugang:function(e){this.$store.dispatch(r["default"].ACTIONS.OPEN_EXTERNE_ZUGANG,{path:e})},openExterneZugangWithIdList:function(e,t,n){return this.$store.dispatch(r["default"].ACTIONS.OPEN_EXTERNE_ZUGANG,{path:e,idList:t,options:n})},askOptionsConfirmed:function(e){var t;this.$store.dispatch(r["default"].ACTIONS.OPEN_EXTERNE_ZUGANG,{path:null===(t=this.externeZugang)||void 0===t?void 0:t.path,options:e}),this.resetExterneZugang()},resetExterneZugang:function(){this.externeZugang=null,this.askOptions=null}},mounted:function(){this.getList()}}},"55d3":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"top-component"},[e.showComponentAsDisabled?n("div",{staticClass:"disable-component-arrea"}):e._e(),e.dynamicTemplate?n(e.dynamicTemplate,e._g(e._b({ref:"antragComponent",tag:"component",class:e.dynamicBindings.class||""},"component",e.dynamicBindings.props,!1),e.dynamicBindings.events)):e._e()],1)},i=[],s=n("5530"),r=n("ade3"),o=(n("7db0"),n("159b"),n("b64b"),n("caad"),n("2532"),n("a15b"),n("ac1f"),n("1276"),n("2ca0"),n("d81d"),n("d3b7"),n("ddb0"),n("25f0"),n("13d5"),n("3ca3"),n("e260"),n("e6cf"),n("2f62")),l=n("09de"),c=n("6758"),d=n("c1a1"),u=n("454f"),p=n("8839"),h=["TEXT","TEXT_CURRENCY","TEXT_FOREIGN_CURRENCY","TEXT_PROZENT","TEXT_NUMBER","TEXT_NUMBER_INTEGER","PERSON_PICKER","BANKVERBINDUNG_PICKER","COMBOBOX","DATE_PICKER","DEPOTNUMMER_ANFORDERN_BUTTON","TEXT_FORM_PERCENT","KONTOFUEHRUNGSGEBUEHREN","SERVICEGEBUEHREN","TEXT_IBAN","TEXT_BIC","TEXT_PASSWORD"],f={mixins:[p["a"]],props:{component:{},components:{type:Array,default:null},comboboxSelection:{},multiSelectionsTabledata:{},antragId:{},data:{},isComponentHalfSizeEnabled:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},foreignCurrenciesProp:{type:Object,default:function(){}},validateUntouched:{type:Boolean,default:!1}},data:function(){return{componentData:null,caretPosition:null}},mounted:function(){this.loadAntragDataComponent()},watch:{originalData:function(e,t){this.loadAntragDataComponent()}},methods:{getRelationship:function(e){var t={relation:{}};switch(e){case"DEPOTINHABER_PRIMAER":case"DEPOTINHABER_PRIMAER_MIT_ANSCHRIFT":case"DEPOTINHABER_ZUSATZ":t["isExtraDepotOwner"]=!0;break;case"EHEPARTNER":t.relation["value"]="EHE";break;case"ARBEITGEBER":t.relation["value"]="ARBEITGEBER";break;case"GESV":t["isLegalAgent"]=!0;break;case"KIND":t.relation["value"]="KIND";break;case"VOLLMACHT":t["isMandatory"]=!0;break;default:return null}return t},loadAntragDataComponent:function(){this.componentData=this.originalData},commitUpdateAntragData:function(){var e=this;if(this.componentData!==this.originalData&&!this.isDisabled){var t,n,a,i,o=this.convertValueToSave(this.componentData),l={componentType:this.component.type,id:this.antragId,data:Object(r["a"])({},this.component.id,o)};if("TEXT_AREA"===this.component.type)this.caretPosition=null===(t=this.$refs)||void 0===t||null===(n=t.antragComponent)||void 0===n||null===(a=n.$refs)||void 0===a||null===(i=a.innerTextarea)||void 0===i?void 0:i.selectionStart,(this.caretPosition||0===this.caretPosition)&&(l.data.caretPosition=this.caretPosition);this.component.config&&this.component.config.placeholder&&this.comboboxSelection&&this.comboboxSelection.length&&(l.data[this.component.config.placeholder]=(this.comboboxSelection.find((function(t){return t.value===e.componentData}))||{}).label||""),this.data&&this.component.config&&this.component.config.linkedInputs&&this.updateLinkedInputs(this.data,l.data,this.component.id),this.$emit("updateStore",l),this.$emit("change",o),this.$emit("dataChange",Object(s["a"])({},l.data))}},updateLinkedInputs:function(e,t,n){var a=this,i=[n],r=[];while(i.length>0)e=Object(s["a"])(Object(s["a"])({},e),t),i.forEach((function(n){var i=n==a.component.id?a.component:a.components.find((function(e){return e.id==n}));i&&i.config&&i.config.linkedInputs&&Object.keys(i.config.linkedInputs).forEach((function(n){void 0===t[n]&&(a.components&&!r.includes(n)&&r.push(n),t[n]=a.evaluateExpression(e,i.config.linkedInputs[n]))}))})),i=r,r=[]},commitUpdateAntragDataDeckblattEvent:function(e){var t=Object(s["a"])(Object(s["a"])({},e),{},{button:this.component.config.type});this.commitUpdateAntragDataFromEvent(t)},commitUpdateAntragDataControlEvent:function(e){var t=this.component.config.control_component,n=Object(s["a"])(Object(s["a"])({},e),{},{button:this.component.config.type,submitData:this.antragData[t]?this.antragData[t]:"",submitDataName:t});this.commitUpdateAntragDataFromEvent(n)},commitUpdateAntragDataFromEvent:function(e){var t={componentType:this.component.type,id:this.antragId,data:Object(s["a"])({},e)};this.$emit("updateStore",t),this.$emit("change",e),this.$emit("dataChange",Object(s["a"])({},t.data))},convertValueToSave:function(e){var t,n;return"number"===typeof e?u["b"].toGermanFormat(e,null===(n=this.component.config)||void 0===n?void 0:n.precision):e instanceof Date&&null!==(t=this.component.config)&&void 0!==t&&t.monthPicker?e.getMonth()+"."+e.getFullYear():e},convertValueToForm:function(e){if(e&&"number"!==typeof e&&["TEXT_NUMBER","TEXT_PROZENT","TEXT_CURRENCY"].includes(this.component.type)){var t=e.split(".").join("").split(",").join(".");e.length>0&&"-"===e.charAt(0)&&!t.startsWith("-")&&(t="-"+t),e=parseFloat(t)}return e}},computed:Object(s["a"])(Object(s["a"])({},Object(o["b"])({antraegeData:l["default"].GETTERS.ANTRAEGE_DATA,antraege:l["default"].GETTERS.ANTRAEGE})),{},{isComponentShowHalfScreen:function(){var e=this;return this.isComponentHalfSizeEnabled&&h.some((function(t){return t===e.component.type}))},originalData:function(){var e=null;return this.component&&this.component.id&&(this.data?(e=this.data[this.component.id],e||""===e||(e=this.data[this.component.id.toUpperCase()]),e||""===e||(e=this.data[this.component.id.toLowerCase()])):this.antragId&&this.antragData&&(e=this.antragData[this.component.id]||this.antragData[this.component.id.toUpperCase()]||this.antragData[this.component.id.toLowerCase()])),e=this.convertValueToForm(e),e},componentValidators:function(){var e=this.component.validators;return e&&0!==e.length?e.map(d["b"]):[]},antrag:function(){return this.antraege&&this.antraege[this.antragId]?this.antraege[this.antragId]:null},antragData:function(){return this.antraegeData&&this.antraegeData[this.antragId]?this.antraegeData[this.antragId]:this.data&&Object.keys(this.data).length?this.data:null},warnings:function(){return this.antrag&&this.antrag.warnings?this.antrag.warnings:null},antragWarnings:function(){return this.warnings&&this.warnings.antragWarnings?this.warnings.antragWarnings:null},positionWarnings:function(){return this.warnings&&this.warnings.positionWarnings?this.warnings.positionWarnings:null},foreignCurrencies:function(){return this.foreignCurrenciesProp||{}},isDisabled:function(){return this.disabled||this.isDataReadOnly||this.isUnterschrift||this.component&&this.component.disabled&&Object(d["g"])(this.component.disabled,this.antragData?this.antragData:this.data)},isUnterschrift:function(){var e;return"1"===(null===(e=this.antragData)||void 0===e?void 0:e.isSigniert)},componentValues:function(){return this.antrag&&this.antrag.comboboxSelections&&this.antrag.comboboxSelections[this.component.id]?this.antrag.comboboxSelections[this.component.id]:[]},beratungsMappeId:function(){return this.antrag&&this.antrag.beratungsMappeData&&this.antrag.beratungsMappeData.id},isDataReadOnly:function(){return!(!this.antragData||!0!==this.antragData["READ_ONLY"])},dynamicBindings:function(){var e,t,n,a,i,o,u,p,h,f,m,b,v,g,E,_,S,T,x,y,k,I,C,A,w,O,D,N,R,M,P,B,L,U,F,z=this;if(this.component&&this.component.type)switch(this.component.type){case"TEXT":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,placeholder:this.component.placeholder,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,validateUntouched:this.validateUntouched||(null===(e=this.component.config)||void 0===e?void 0:e.validateUntouched),autocomplete:null===(t=this.component.config)||void 0===t?void 0:t.autocomplete},events:{input:function(e){z.componentData=e},change:function(){return z.commitUpdateAntragData()}}};case"TEXT_AREA":var j,$,G="";try{var V;G=this.componentData&&null!==(V=this.component.config)&&void 0!==V&&V.useEncodedValue?decodeURIComponent(this.componentData):this.componentData}catch(W){G=this.componentData}return{props:{id:this.component.id,label:this.component.label,value:G,placeholder:this.component.placeholder,disabled:this.isDisabled,useEncodedValue:null===(j=this.component)||void 0===j||null===($=j.config)||void 0===$?void 0:$.useEncodedValue,autoGrow:!!this.componentData},events:{input:function(e){var t;z.componentData=e&&null!==(t=z.component.config)&&void 0!==t&&t.useEncodedValue?encodeURIComponent(e):e},change:function(){return z.commitUpdateAntragData()},keyup:function(e){var t,n,a,i;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"].includes(e.key)&&(z.caretPosition=null===(t=z.$refs)||void 0===t||null===(n=t.antragComponent)||void 0===n||null===(a=n.$refs)||void 0===a||null===(i=a.innerTextarea)||void 0===i?void 0:i.selectionStart)}}};case"TEXT_HTML":return{props:{id:this.component.id,label:this.component.label,value:this.componentData&&null!==(n=this.component.config)&&void 0!==n&&n.useEncodedValue?decodeURIComponent(this.componentData):this.componentData,placeholder:this.component.placeholder,disabled:this.isDisabled,useEncodedValue:null===(a=this.component)||void 0===a||null===(i=a.config)||void 0===i?void 0:i.useEncodedValue},events:{input:function(e){var t;z.componentData=e&&null!==(t=z.component.config)&&void 0!==t&&t.useEncodedValue?encodeURIComponent(e):e,z.commitUpdateAntragData()}}};case"TEXT_CHIPS":return{props:{id:this.component.id,label:this.component.label,value:this.componentData?JSON.parse(this.componentData):[],supportCustomValue:null===(o=this.component.config)||void 0===o?void 0:o.supportCustomValue,disableInput:this.isDisabled},events:{input:function(e){z.componentData=JSON.stringify(e),z.commitUpdateAntragData()}}};case"COMBOBOX":return{props:{id:this.component.id,label:this.component.label,values:this.comboboxSelection,value:this.componentData,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,firstEmpty:null===(u=this.component.config)||void 0===u?void 0:u.firstEmpty,boldValues:null===(p=this.component.config)||void 0===p?void 0:p.boldValues,sortComboboxValues:null===(h=this.component.config)||void 0===h||!h.disableSorting,validateUntouched:this.validateUntouched},events:{change:function(e){var t;z.componentData=e,z.commitUpdateAntragData(),"updateKonsorteEbaseAab"===(null===(t=z.component.config)||void 0===t?void 0:t.action)&&z.$store.dispatch(l["default"].ACTIONS.UPDATE_KONSORTE_EBASE_AAB,{antragId:z.antragId,bgsNr:e})}}};case"BUTTON_DECKBLATT":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,disabled:this.isDisabled,config:this.component.config,isSecondary:!0},events:{click:function(e){z.commitUpdateAntragDataDeckblattEvent(e)}}};case"BUTTON":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,disabled:this.isDisabled,config:this.component.config},events:{click:function(e){z.commitUpdateAntragDataControlEvent(e)}}};case"ATTACHMENTS":return{props:{componentId:this.component.id,label:this.component.label,value:this.componentData,disabled:this.isDisabled,config:this.component.config,acceptFileTypes:".pdf",antragId:this.antragId,antragData:this.antragData,antrag:this.antrag}};case"DIVIDER":return{props:{}};case"SWITCHER":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,inLineLabel:!0,disabled:this.isDisabled,config:this.component.config,switchHandlerTopAlign:!0},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"SINGLE_SELECTION":return{props:{id:this.component.id,title:this.component.label,values:this.component.values,name:this.component.id,value:this.componentData,disabled:this.isDisabled,config:this.component.config},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"SINGLE_SELECTION_DYNAMIC_VALUE":return{props:{id:this.component.id,label:this.component.label,values:this.component.values,name:this.component.id,value:this.componentData,disabled:this.isDisabled,config:this.component.config},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"MULTIPLE_SELECTION":return{props:{id:this.component.id||(null===(f=this.component.config)||void 0===f?void 0:f.validationMessageID)||Math.random().toString(36).substr(2,10),title:this.component.label,componentFields:null===(m=this.component.config)||void 0===m?void 0:m.componentFields,showButtonsSelectDeselect:null===(b=this.component.config)||void 0===b?void 0:b.showButtonsSelectDeselect,antragData:this.antragData,disabled:this.isDisabled},events:{input:function(e){z.commitUpdateAntragDataFromEvent(e)}}};case"MULTIPLE_SELECTION_TABLE":return{props:{id:this.component.id,title:this.component.label,tableData:this.multiSelectionsTabledata,tableRecords:this.componentData,antragData:this.antragData,name:this.component.id,config:this.component.config},events:{input:function(e){if(null!==(null===e||void 0===e?void 0:e.index)||void 0!==(null===e||void 0===e?void 0:e.index)){var t=z.antragData[z.component.id][e.index].myItems.map((function(e){return e.headerKey})).indexOf(e.key);t>=0&&(z.antragData[z.component.id][e.index].myItems[t].value=e.event.value)}},delete:function(e){z.commitUpdateAntragDataFromEvent(e)}}};case"MULTIPLE_SELECTION_CHECKBOX":return{props:{id:this.component.id,title:this.component.label,value:this.componentData,values:this.component.values,disabled:this.isDisabled},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"DATE_PICKER":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,isValueAsString:!0,placeholder:this.component.placeholder,monthPicker:this.component.config&&this.component.config.monthPicker,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,validateUntouched:this.validateUntouched||(null===(v=this.component.config)||void 0===v?void 0:v.validateUntouched),showSofortOption:null===(g=this.component.config)||void 0===g?void 0:g.showSofortOption},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}},class:""};case"TEXT_CURRENCY":return{props:{id:this.component.id,label:this.component.label,type:"currency",placeholder:this.component.placeholder,value:this.componentData,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,validateUntouched:this.validateUntouched,precision:null===(E=this.component.config)||void 0===E?void 0:E.precision},events:{input:function(e){z.componentData=e},change:function(){return z.commitUpdateAntragData()}}};case"TEXT_FOREIGN_CURRENCY":return{props:{id:this.component.id,label:this.component.label,type:"currency",foreign_currency:null===(_=this.foreignCurrencies)||void 0===_?void 0:_[this.component.id],placeholder:this.component.placeholder,value:this.componentData,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,validateUntouched:this.validateUntouched},events:{input:function(e){z.componentData=e},change:function(){return z.commitUpdateAntragData()}}};case"TEXT_PROZENT":return{props:{precision:this.component.config&&this.component.config.precision,id:this.component.id,label:this.component.label,type:"percent",placeholder:this.component.placeholder,value:this.componentData,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,validateUntouched:this.validateUntouched},events:{input:function(e){z.componentData=e},change:function(){return z.commitUpdateAntragData()}}};case"TEXT_FORM_PERCENT":return{props:{precision:this.component.config&&this.component.config.precision,id:this.component.id,label:this.component.label,type:"formpercent",placeholder:this.component.placeholder,value:this.componentData,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,validateUntouched:this.validateUntouched},events:{input:function(e){z.componentData=e},change:function(){return z.commitUpdateAntragData()}}};case"TEXT_NUMBER":case"TEXT_NUMBER_INTEGER":return{props:{id:this.component.id,label:this.component.label,type:"number",isInteger:"TEXT_NUMBER_INTEGER"==this.component.type,placeholder:this.component.placeholder,value:this.componentData,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,precision:null===(S=this.component.config)||void 0===S?void 0:S.precision,validateUntouched:this.validateUntouched},events:{input:function(e){z.componentData=e},change:function(){return z.commitUpdateAntragData()}}};case"TEXT_IBAN":return{props:{validation_path:this.component.id,label:this.component.label,type:"IBAN",componentData:this.componentData,isComponentHalfSize:this.isComponentShowHalfScreen},events:{change:function(e){z.componentData=e,z.commitUpdateAntragData(e)}}};case"TEXT_BIC":return{props:{validation_path:this.component.id,label:this.component.label,type:"BIC",componentData:this.componentData,isComponentHalfSize:this.isComponentShowHalfScreen},events:{change:function(e){z.componentData=e,z.commitUpdateAntragData(e)}}};case"LABEL":return{props:{label:this.component.label,config:this.component.config}};case"HEADER":return{props:{label:this.component.label}};case"PERSON_PICKER":return{props:{id:this.component.id,label:this.component.label,values:this.comboboxSelection,value:this.componentData,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,isPersonPicker:!0,sortComboboxValues:!1},events:{change:function(e){if(z.componentData=e,z.commitUpdateAntragData(),z.componentData&&z.component.config&&z.component.config.vertretung&&Object.keys(z.component.config.vertretung).length){var t=Object.keys(z.component.config.vertretung).find((function(e){return z.component.config.vertretung[e]&&z.component.config.vertretung[e].length&&z.component.config.vertretung[e].some((function(e){return e===z.componentData}))}));t&&z.commitUpdateAntragDataFromEvent({INPUT_MINDERJAEHRIG:t})}},new:function(e){var t,n,a,i="neue_person";null!==(t=z.antragData)&&void 0!==t&&t.personenAuswahl.hasOwnProperty(z.component.id)&&(n=null===(a=z.antragData)||void 0===a?void 0:a.personenAuswahl[z.component.id]);z.$store.commit(c["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,i),n&&(z.$store.commit(c["default"].MUTATIONS.SET_SELECTED_EXTRA_DATA,{relationship:z.getRelationship(n)}),"ARBEITGEBER"===n&&(z.backButtonPayload.relation=n)),z.$store.dispatch(c["default"].ACTIONS.GOTO_CUSTOMER_DATA,z.backButtonPayload);var s={id:z.antragId,data:{}};z.$store.commit(l["default"].MUTATIONS.UPDATE_ANTRAG_DATA,s)},edit:function(e){if(e){z.$store.commit(c["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,e),z.$store.dispatch(c["default"].ACTIONS.GOTO_CUSTOMER_DATA,z.backButtonPayload);var t={id:z.antragId,data:{}};z.$store.commit(l["default"].MUTATIONS.UPDATE_ANTRAG_DATA,t)}}}};case"SLIDER":return{props:{id:this.component.id,label:this.component.label,values:this.component.values,value:this.componentData,disabled:this.isDisabled},events:{input:function(e){z.commitUpdateAntragDataFromEvent(Object(r["a"])({},z.component.id,e))}}};case"SORTABLE_OPTIONS":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,useCheckBox:!(null===(T=this.component)||void 0===T||null===(x=T.config)||void 0===x||!x.useCheckBox),disabled:this.isDisabled,config:this.component.config},events:{input:function(e){z.commitUpdateAntragDataFromEvent(Object(r["a"])({},z.component.id,e))}}};case"SORTABLE_INPUT_ITEMS":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,antragData:this.antragData,disabled:this.isDisabled,config:this.component.config,componentFields:null===(y=this.component.config)||void 0===y?void 0:y.componentFields},events:{input:function(e){z.commitUpdateAntragDataFromEvent(Object(r["a"])({},z.component.id,e))},inputItem:function(e){z.commitUpdateAntragDataFromEvent(e)}}};case"TIME_PICKER":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,disabled:this.isDisabled,timeUnit:null===(k=this.component.config)||void 0===k?void 0:k.setTimeUnit,validateUntouched:!0},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}},class:""};case"BANKVERBINDUNG_PICKER":return{props:{id:this.component.id,label:this.component.label,values:this.comboboxSelection,value:this.componentData,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen},events:{change:function(e){z.componentData=e,z.commitUpdateAntragData()},new:function(e){var t="person1";z.$store.commit(c["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,t),z.$store.dispatch(c["default"].ACTIONS.GOTO_BANKVERBINDUNG,z.backButtonPayload)},edit:function(e){var t="person1";z.$store.commit(c["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,t),z.$store.dispatch(c["default"].ACTIONS.GOTO_BANKVERBINDUNG,z.backButtonPayload)}}};case"VERMITTLER_AUSWAHL":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,disabled:this.isDisabled},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"WERTPAPIER_AUSWAHL_FFB_DEPOT":return{props:{title:this.component.label,categoryId:this.component.id,config:this.component.config,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,componentType:this.component.type,disabled:this.isDisabled}};case"WERTPAPIER_AUSWAHL_FFB_TAUSCH":return{props:{title:this.component.label,categoryId:this.component.id,config:this.component.config,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,componentType:this.component.type,disabled:this.isDisabled}};case"WERTPAPIER_AUSWAHL_CAPITALBANK_AEVER":return{props:{label:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,componentType:this.component.type,aenderungTyp:this.component.config.aenderungTyp}};case"WERTPAPIER_AUSWAHL_CAPITALBANK_ABBUCHUNG":return{props:{label:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,componentType:this.component.type}};case"WERTPAPIER_AUSWAHL_CAPITALBANK_REDUKTION":return{props:{label:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,componentType:this.component.type}};case"WERTPAPIER_AUSWAHL_CAPITALBANK_AUSSETZUNG":return{props:{label:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,componentType:this.component.type}};case"WERTPAPIER_AUSWAHL_CAPITALBANK_BEENDEN":return{props:{label:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,componentType:this.component.type}};case"WERTPAPIER_AUSWAHL_CAPITALBANK_INVESTMENT":case"WERTPAPIER_AUSWAHL":case"WERTPAPIER_AUSWAHL_DIREKT":case"WERTPAPIER_AUSWAHL_MAX_COUNT":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,componentId:this.component.id,antragTyp:this.antrag&&this.antrag.antragTyp,componentType:this.component.type,disabled:this.isDisabled}};case"WERTPAPIER_AUSWAHL_EBASE":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp}};case"WERTPAPIER_AUSWAHL_EBASE_CARDVIEW":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,disabled:this.isDisabled}};case"WERTPAPIER_AUSWAHL_EBASE_WEITERE_DEPOTS_CARDVIEW":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,disabled:this.isDisabled,positionWarnings:this.positionWarnings,antragWarnings:this.antragWarnings}};case"WERTPAPIER_AUSWAHL_EBASE_TL200":return{props:{title:this.component.label,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp}};case"WERTPAPIER_AUSWAHL_EBASE_TL200_AENDERUNG":return{props:{title:this.component.label,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,antragCategory:"Serviceformular"}};case"WERTPAPIER_AUSWAHL_EBASE_DEPOT_INTERN":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,warnings:this.positionWarnings}};case"WERTPAPIER_AUSWAHL_EBASE_DJE_BAV":return{props:{label:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,warnings:this.positionWarnings,disabled:this.isDisabled}};case"EBASE_BANKDEPOT":return{props:{id:this.component.id,config:this.component.config,antragData:this.antragData,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,warnings:this.warnings},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"DEPOTNUMMER_ANFORDERN_BUTTON":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,antragId:this.antragId,additionalValidators:this.componentValidators,isComponentHalfSize:this.isComponentShowHalfScreen},events:{input:function(e){return z.componentData=e},change:function(e){return z.commitUpdateAntragData()},requested:function(e){z.componentData=e[z.component.id],z.commitUpdateAntragDataFromEvent(e)}}};case"ANLAGESTRATEGIEN_ANFORDERN_BUTTON":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,antragId:this.antragId,config:this.component.config,additionalValidators:this.componentValidators,isComponentHalfSize:this.isComponentShowHalfScreen},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"AENDEUNGSFORMULAR_LEGI_BUTTON":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,config:this.component.config,additionalValidators:this.componentValidators,isComponentHalfSize:this.isComponentShowHalfScreen}};case"DOWNLOAD_BUTTON":return{props:{label:this.component.label,config:this.component.config}};case"UPLOAD_BUTTON":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,antragId:this.antragId,config:this.component.config},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"PERSON_CHECKS":return{props:{id:this.component.id,antragId:this.antragId,config:this.component.config},events:{update:function(e){z.isDataReadOnly||z.commitUpdateAntragDataFromEvent(e)}}};case"GESELLSCHAFT_AUSWAHL":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,antragName:this.antrag.label,beratungsMappeId:this.beratungsMappeId,values:this.componentValues,disabled:this.isDisabled}};case"WERTPAPIER_AUSWAHL_TAUSCH":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp}};case"ENTGELT":var K=this.component.config&&this.component.config.componentFields||[];return{props:{id:this.component.id,label:this.component.label,config:this.component.config,values:K.reduce((function(e,t){return e[t.config.entgeltType]=z.antragData[t.id],e}),{}),disabled:this.isDisabled},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"AUSGABEAUFSCHLAG":return{props:{config:this.component.config,antragData:this.antragData},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"DEPOTUEBERTRAGUNG":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,warnings:this.warnings,disabled:this.isDisabled},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()},change:function(e){z.componentData=e,z.commitUpdateAntragDataFromEvent(e)}}};case"WERTPAPIER_AUSWAHL_UNIQUE_WITHOUT_POSITION":return{props:{id:this.component.id,label:this.component.label,antragWarnings:this.antragWarnings,data:this.antragData,antragId:this.antragId,disabled:this.isDisabled,config:this.component.config},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"WERTPAPIER_AUSWAHL_UNIQUE_WITH_POSITION":return{props:{id:this.component.id,label:this.component.label,antragWarnings:this.antragWarnings,data:this.antragData,antragId:this.antragId,disabled:this.isDisabled,config:this.component.config,position:this.positions},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"ORIGIN_OF_FUNDS":var H=this.component.config&&this.component.config.componentFields||[];return{props:{id:this.component.id,label:this.component.label,config:this.component.config,values:H.reduce((function(e,t){return e[t.id]=z.antragData[t.id],e}),{}),disabled:H.reduce((function(e,t){return e[t.id]=Object(d["g"])(t.disabled,z.antragData),e}),{})},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"ANLAGE_ZIELE":return{props:{id:this.component.id,label:this.component.label,values:this.component.values,config:this.component.config,type:this.component.type,antragData:this.antragData},events:{save:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"RISIKO_ANALYSE_TABLE":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,antragName:this.antrag.label,antragTyp:this.antrag&&this.antrag.antragTyp,config:this.component.config,data:this.antragData}};case"RISIKO_ANALYSE_POSITIONEN":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,antragName:this.antrag.label,config:this.component.config,data:this.antragData}};case"ZIELMARKT_NEW":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,antragName:this.antrag.label,config:this.component.config,comboboxSelections:this.antrag.comboboxSelections,antragData:this.antragData,disabled:this.isDisabled},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"FFB_VERTRAGSNUMMER_COMBO":return{props:{value:this.componentData,id:this.component.id,label:this.component.label,comboboxSelections:this.antrag.comboboxSelections,antragData:this.antragData,disabled:this.isDisabled},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"BESPROCHENE":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,antragName:this.antrag.label,antragTyp:this.antrag&&this.antrag.antragTyp,config:this.component.config,data:this.antragData,isDataReadOnly:this.isDataReadOnly},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"PORTFOLIO_STRUKTUR":return{props:{title:this.component.label,config:this.component.config,values:this.comboboxSelection,antragData:this.antragData,id:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"FODB_KAUF":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,disabled:this.isDisabled}};case"FODB_VERKAUF":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,antragName:this.antrag.label,categoryId:this.component.id,antragTyp:this.antrag&&this.antrag.antragTyp,config:this.component.config,antragData:this.antragData,disabled:this.isDisabled}};case"CAPITALBANK_VERKAUF":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,antragName:this.antrag.label,categoryId:this.component.id,antragTyp:this.antrag&&this.antrag.antragTyp,config:this.component.config,data:this.antragData}};case"CAPITALBANK_SPARPLAN":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,antragName:this.antrag.label,categoryId:this.component.id,antragTyp:this.antrag&&this.antrag.antragTyp,config:this.component.config,data:this.antragData}};case"FODB_DEPOT":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,disabled:this.isDisabled}};case"TEMPLETON_DEPPOT":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,disabled:this.isDisabled}};case"DWS_SPAR_ENTNAHMEPLAN":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp}};case"EBASE_FREMDWAEHRUNG_DEPOT":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp}};case"FODB_TAUSCH":return{props:{title:this.component.label,id:this.component.id,antragId:this.antragId,antragData:this.antragData,antragName:this.antrag.label,categoryId:this.component.id,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,config:this.component.config,data:this.antragData},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"FODB_TAUSCH_DIMENSIONAL":return{props:{title:this.component.label,id:this.component.id,antragId:this.antragId,antragData:this.antragData,antragName:this.antrag.label,categoryId:this.component.id,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,config:this.component.config,data:this.antragData,disabled:this.isDisabled},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"FODB_VERKAUF_ETF":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,antragData:this.antragData,antragName:this.antrag.label,categoryId:this.component.id,antragTyp:this.antrag&&this.antrag.antragTyp,comboboxSelections:this.antrag.comboboxSelections,config:this.component.config,data:this.antragData}};case"WERTPAPIER_AUSWAHL_DWS":return{props:{title:this.component.label,config:this.component.config,antragData:this.antragData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp}};case"INVESTIERTE_BETRAGE":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,config:this.component.config,antragData:this.antragData,disabled:this.isDisabled},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"FODB_FONDS_AUSWAHL":return{props:{label:this.component.label,antragId:this.antragId,antragData:this.antragData},events:{input:function(e){z.componentData=e,z.commitUpdateAntragDataFromEvent(e)}}};case"AUFTRAGSERTEILUNG":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,config:this.component.config,antragData:this.antragData,beratungsmappeId:this.beratungsMappeId,disabled:this.isDisabled},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"ANGEBOTENE_GESELLSCHAFTEN":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,config:this.component.config,antragData:this.antragData},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"TABLE_RYSIKO_PRUFUNG_DETAILS":return{props:{id:this.component.id,label:this.component.label,antragId:this.antragId,config:this.component.config,antragData:this.antragData,beratungsmappeId:this.beratungsMappeId},events:{change:function(e){return z.commitUpdateAntragDataFromEvent(e)}}};case"COMDIRECT_DEPOTUEBERTRAGUNG_BUTTON":return{props:{label:this.component.label,config:this.component.config,value:this.componentData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"FODB_DEPOTUEBERTRAGUNG_INN":return{props:{label:this.component.label,config:this.component.config,value:this.componentData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"EBASE_FONDSUMSCHICHTUNG":return{props:{label:this.component.label,config:this.component.config,comboboxSelections:this.antrag.comboboxSelections,antragData:this.antragData,value:this.antragData["INPUT_DEPOTPOSTIONEN"],antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp,positionWarnings:this.positionWarnings}};case"EBASE_EDELMETAL_DEPOTUEBERTRAGUNG_INN":return{props:{label:this.component.label,config:this.component.config,value:this.componentData,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"SHORTTEXT_EDITOR_COMPONENT":return{props:{label:this.component.label,config:this.component.config,value:this.componentData,initialValues:this.component.config.initialValues,placeholder:this.component.config.placeholder,categoryId:this.component.id,antragId:this.antragId,antragTyp:this.antrag&&this.antrag.antragTyp},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()},change:function(){return z.commitUpdateAntragData()}}};case"COLOR_PICKER_FULL":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,disabled:this.isDisabled,showAutomaticColorButton:this.component.config.showAutomaticColorButton,isDefaultColorAsTextColor:this.component.config.isDefaultColorAsTextColor},events:{input:function(e){z.componentData=e},change:function(){return z.commitUpdateAntragData()}}};case"COLOR_PICKER":return{props:{id:this.component.id,label:this.component.label,value:this.componentData,disabled:this.isDisabled,showAutomaticColorButton:this.component.config.showAutomaticColorButton,isDefaultColorAsTextColor:this.component.config.isDefaultColorAsTextColor},events:{input:function(e){z.componentData=e},change:function(){return z.commitUpdateAntragData()}}};case"INDEX_KOMBINATION":return{props:{id:this.component.id,label:this.component.label,name:null===(I=this.component.config)||void 0===I?void 0:I.kombinationName,value:this.componentData,indexValues:this.comboboxSelection,disabled:this.isDisabled},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"DOK_NODE_PERMISSION":return{props:{id:this.component.id,label:this.component.label,value:this.antragData,componentFields:null===(C=this.component.config)||void 0===C?void 0:C.componentFields,disabled:this.isDisabled},events:{input:function(e){z.commitUpdateAntragDataFromEvent(e)}}};case"FONDSAMPEL_SLIDER":return{props:{id:this.component.id,label:this.component.label,value:this.antragData,min:null===(A=this.component.config)||void 0===A?void 0:A.min,max:null===(w=this.component.config)||void 0===w?void 0:w.max,disabled:this.isDisabled},events:{input:function(e){z.commitUpdateAntragDataFromEvent(e)}}};case"KONTOFUEHRUNGSGEBUEHREN":return{props:{id:this.component.id,label:this.component.label,value:this.antragData,componentFields:null===(O=this.component.config)||void 0===O?void 0:O.componentFields,isComponentHalfSize:this.isComponentShowHalfScreen,disabled:this.isDisabled},events:{input:function(e){z.commitUpdateAntragDataFromEvent(e)}}};case"SERVICEGEBUEHREN":return{props:{id:this.component.id,label:this.component.label,value:this.antragData,componentFields:null===(D=this.component.config)||void 0===D?void 0:D.componentFields,isComponentHalfSize:this.isComponentShowHalfScreen,disabled:this.isDisabled},events:{input:function(e){z.commitUpdateAntragDataFromEvent(e)}}};case"BUTTON_APPLY_TO_STRUCTURE":return{props:{id:this.component.id,label:this.component.label,value:this.antragData,componentFields:null===(N=this.component.config)||void 0===N?void 0:N.componentFields,isComponentHalfSize:this.isComponentShowHalfScreen,disabled:this.isDisabled},events:{click:function(e){z.$emit("saveChangedConfigs")}}};case"CONFIG_BUTTON":return{props:{id:this.component.id,label:this.component.label,config:this.component.config,disabled:this.isDisabled},events:{executeConfigButton:function(e){z.$emit("executeConfigButton",e)}}};case"DOWNLOAD_LINK":return{props:Object(s["a"])(Object(s["a"])({id:this.component.id,title:this.component.label,disabled:this.isDisabled},null===(R=this.component)||void 0===R||null===(M=R.config)||void 0===M?void 0:M.downloadLinkAttributes),{},{queryParams:Object(s["a"])({},null===(P=this.component)||void 0===P||null===(B=P.config)||void 0===B?void 0:B.queryParams)})};case"TABLE_BIPRO_SIBLING_GESELLSCHAFTEN":return{props:{id:this.component.id,title:this.component.label,gesellschaft:null===(L=this.component.config)||void 0===L?void 0:L.gesellschaft,disabled:this.isDisabled},events:{}};case"TEXT_PASSWORD":return{props:{id:this.component.id,label:this.component.label,type:"password",value:this.componentData,placeholder:this.component.placeholder,disabled:this.isDisabled,isComponentHalfSize:this.isComponentShowHalfScreen,validateUntouched:null===(U=this.component.config)||void 0===U?void 0:U.validateUntouched,autocomplete:null===(F=this.component.config)||void 0===F?void 0:F.autocomplete},events:{input:function(e){z.componentData=e},change:function(){return z.commitUpdateAntragData()}}};case"SELECT_FILE_BUTTON":return{props:{id:this.component.id,label:this.component.label,value:this.componentData},events:{input:function(e){z.componentData=e,z.commitUpdateAntragData()}}};case"CONFIRM_BUTTON":return{props:{id:this.component.id,label:this.component.label,disabled:this.isDisabled,config:this.component.config},events:{confirmed:function(e){z.commitUpdateAntragDataControlEvent(e)}}};case"NACHHALTIGKEIT":return{props:{values:this.antragData,erlaubeEsgSchwach:!0},events:{updateStore:function(e){z.commitUpdateAntragDataFromEvent(Object(r["a"])({},null===e||void 0===e?void 0:e.componentId,e.value))}}};case"CAPITALBANK_WIRTSCHAFT_EIGENTUEMER":return{props:{data:this.antragData,comboboxSelection:this.antrag.comboboxSelections},events:{updateStore:function(e){z.commitUpdateAntragDataFromEvent(Object(r["a"])({},null===e||void 0===e?void 0:e.componentId,e.value))}}};default:return{props:{label:this.component.label,componentType:this.component.type}}}return null},dynamicTemplate:function(){if(this.component&&this.component.type)switch(this.component.type){case"BUTTON":return function(){return Promise.resolve().then(n.bind(null,"04bc"))};case"BUTTON_DECKBLATT":return function(){return Promise.resolve().then(n.bind(null,"04bc"))};case"ATTACHMENTS":return function(){return n.e("chunk-76ee6fbd").then(n.bind(null,"a11a3"))};case"TEXT_AREA":return function(){return Promise.resolve().then(n.bind(null,"d9f5"))};case"TEXT_HTML":return function(){return n.e("chunk-2d21aebf").then(n.bind(null,"be28"))};case"TEXT_CHIPS":return function(){return n.e("chunk-58979324").then(n.bind(null,"85ed"))};case"COMBOBOX":return function(){return Promise.resolve().then(n.bind(null,"9131"))};case"DIVIDER":return function(){return n.e("chunk-546fe5d1").then(n.bind(null,"0f16"))};case"SWITCHER":return function(){return Promise.resolve().then(n.bind(null,"9aaa"))};case"SINGLE_SELECTION":return function(){return Promise.resolve().then(n.bind(null,"4567"))};case"SINGLE_SELECTION_DYNAMIC_VALUE":return function(){return n.e("chunk-3ff8dc4d").then(n.bind(null,"b77d"))};case"MULTIPLE_SELECTION":return function(){return n.e("chunk-13e3a524").then(n.bind(null,"ddd5"))};case"MULTIPLE_SELECTION_TABLE":return function(){return Promise.all([n.e("chunk-4bf3d0a6"),n.e("chunk-f6f79ba4")]).then(n.bind(null,"6671"))};case"MULTIPLE_SELECTION_CHECKBOX":return function(){return n.e("chunk-9e380804").then(n.bind(null,"1c70"))};case"DATE_PICKER":return function(){return n.e("chunk-5d0f2870").then(n.bind(null,"0054"))};case"TEXT":case"TEXT_CURRENCY":case"TEXT_FOREIGN_CURRENCY":case"TEXT_PROZENT":case"TEXT_FORM_PERCENT":case"TEXT_NUMBER":case"TEXT_NUMBER_INTEGER":case"TEXT_PASSWORD":return function(){return Promise.resolve().then(n.bind(null,"c704"))};case"TEXT_IBAN":case"TEXT_BIC":return function(){return n.e("chunk-2d0ab6e8").then(n.bind(null,"14f5"))};case"LABEL":return function(){return n.e("chunk-1549df1a").then(n.bind(null,"6eb2"))};case"HEADER":return function(){return n.e("chunk-2d213f09").then(n.bind(null,"af8f"))};case"PERSON_PICKER":return function(){return n.e("chunk-c0f26dd2").then(n.bind(null,"17d64"))};case"SLIDER":return function(){return n.e("chunk-8339f256").then(n.bind(null,"9712"))};case"SORTABLE_OPTIONS":return function(){return n.e("chunk-a40e02fc").then(n.bind(null,"066a"))};case"SORTABLE_INPUT_ITEMS":return function(){return n.e("chunk-535fbba0").then(n.bind(null,"4d636"))};case"TIME_PICKER":return function(){return n.e("chunk-5caf3008").then(n.bind(null,"59ab"))};case"BANKVERBINDUNG_PICKER":return function(){return n.e("chunk-c0f26dd2").then(n.bind(null,"17d64"))};case"VERMITTLER_AUSWAHL":return function(){return n.e("chunk-2d0a3704").then(n.bind(null,"01d1"))};case"WERTPAPIER_AUSWAHL_CAPITALBANK_AEVER":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-4bf3d0a6"),n.e("chunk-1e19273c"),n.e("chunk-746ef142")]).then(n.bind(null,"9fb5"))};case"WERTPAPIER_AUSWAHL_CAPITALBANK_ABBUCHUNG":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-1e19273c"),n.e("chunk-622a3c49")]).then(n.bind(null,"8a782"))};case"WERTPAPIER_AUSWAHL_CAPITALBANK_REDUKTION":return function(){return n.e("chunk-59b51f36").then(n.bind(null,"d662"))};case"WERTPAPIER_AUSWAHL_CAPITALBANK_AUSSETZUNG":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-2d5e95ed")]).then(n.bind(null,"9289"))};case"WERTPAPIER_AUSWAHL_CAPITALBANK_BEENDEN":return function(){return n.e("chunk-1b404652").then(n.bind(null,"ec80"))};case"WERTPAPIER_AUSWAHL_FFB_DEPOT":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-14bc5265")]).then(n.bind(null,"c780"))};case"WERTPAPIER_AUSWAHL_CAPITALBANK_INVESTMENT":case"WERTPAPIER_AUSWAHL_FFB_TAUSCH":case"WERTPAPIER_AUSWAHL":case"WERTPAPIER_AUSWAHL_MAX_COUNT":case"WERTPAPIER_AUSWAHL_DIREKT":return function(){return Promise.all([n.e("chunk-4bf3d0a6"),n.e("chunk-1e19273c"),n.e("chunk-755cdfcc")]).then(n.bind(null,"9900"))};case"WERTPAPIER_AUSWAHL_EBASE":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-8175cb80")]).then(n.bind(null,"9908"))};case"WERTPAPIER_AUSWAHL_EBASE_CARDVIEW":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-55c0ceeb")]).then(n.bind(null,"871d9"))};case"WERTPAPIER_AUSWAHL_EBASE_WEITERE_DEPOTS_CARDVIEW":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-7b5c730f")]).then(n.bind(null,"f209"))};case"WERTPAPIER_AUSWAHL_EBASE_TL200":case"WERTPAPIER_AUSWAHL_EBASE_TL200_AENDERUNG":return function(){return n.e("chunk-b06bab72").then(n.bind(null,"b38f"))};case"WERTPAPIER_AUSWAHL_EBASE_DEPOT_INTERN":return function(){return n.e("chunk-1dc5201c").then(n.bind(null,"ebd4"))};case"WERTPAPIER_AUSWAHL_EBASE_DJE_BAV":return function(){return Promise.all([n.e("chunk-4bf3d0a6"),n.e("chunk-4fdea298"),n.e("chunk-2d5d95d2")]).then(n.bind(null,"ff2a"))};case"EBASE_BANKDEPOT":return function(){return n.e("chunk-2d20ee15").then(n.bind(null,"b0f7"))};case"DAB_AUSFUELLHIFLE_BUTTON":return function(){return n.e("chunk-2d0b7260").then(n.bind(null,"1fd9"))};case"DAB_NAMENSAENDERUNG_BUTTON":return function(){return n.e("chunk-2d0d7ab5").then(n.bind(null,"7897"))};case"DEPOTNUMMER_ANFORDERN_BUTTON":return function(){return n.e("chunk-2d0aa197").then(n.bind(null,"1024"))};case"ANLAGESTRATEGIEN_ANFORDERN_BUTTON":return function(){return n.e("chunk-2d217aad").then(n.bind(null,"c868"))};case"AENDEUNGSFORMULAR_LEGI_BUTTON":return function(){return n.e("chunk-2d207813").then(n.bind(null,"a18e"))};case"DOWNLOAD_BUTTON":return function(){return n.e("chunk-2d0c5510").then(n.bind(null,"3f29"))};case"UPLOAD_BUTTON":return function(){return n.e("chunk-2d229029").then(n.bind(null,"dc2f"))};case"PERSON_CHECKS":return function(){return n.e("chunk-0450e257").then(n.bind(null,"22d0"))};case"GESELLSCHAFT_AUSWAHL":return function(){return n.e("chunk-56df71a4").then(n.bind(null,"7641"))};case"WERTPAPIER_AUSWAHL_TAUSCH":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-a6eee016")]).then(n.bind(null,"b765"))};case"CAPITALBANK_VERKAUF":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-0db59550")]).then(n.bind(null,"6c83"))};case"CAPITALBANK_SPARPLAN":return function(){return Promise.all([n.e("chunk-4bf3d0a6"),n.e("chunk-2f101b3f")]).then(n.bind(null,"9575"))};case"ENTGELT":return function(){return n.e("chunk-b3f5cf4e").then(n.bind(null,"cdf91"))};case"AUSGABEAUFSCHLAG":return function(){return n.e("chunk-2d217e28").then(n.bind(null,"c940"))};case"DEPOTUEBERTRAGUNG":return function(){return n.e("chunk-ad046e6c").then(n.bind(null,"b98e"))};case"WERTPAPIER_AUSWAHL_UNIQUE_WITHOUT_POSITION":return function(){return n.e("chunk-79a92798").then(n.bind(null,"2aa6"))};case"WERTPAPIER_AUSWAHL_UNIQUE_WITH_POSITION":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-238b9459")]).then(n.bind(null,"a22a"))};case"WERTPAPIER_AUSWAHL_DWS":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-50e349bf")]).then(n.bind(null,"2646"))};case"ORIGIN_OF_FUNDS":return function(){return n.e("chunk-37427ce6").then(n.bind(null,"cc783"))};case"ANLAGE_ZIELE":return function(){return n.e("chunk-4c75fca0").then(n.bind(null,"ae2a"))};case"RISIKO_ANALYSE_TABLE":return function(){return n.e("chunk-258b1421").then(n.bind(null,"5aa3"))};case"RISIKO_ANALYSE_POSITIONEN":return function(){return n.e("chunk-2d216bc9").then(n.bind(null,"c479"))};case"ZIELMARKT_NEW":return function(){return n.e("chunk-107a1932").then(n.bind(null,"d6f1"))};case"FFB_VERTRAGSNUMMER_COMBO":return function(){return n.e("chunk-2d213c4a").then(n.bind(null,"ada2"))};case"BESPROCHENE":return function(){return Promise.all([n.e("chunk-4bf3d0a6"),n.e("chunk-1e19273c"),n.e("chunk-755cdfcc"),n.e("chunk-69f9fdcd")]).then(n.bind(null,"4ff3"))};case"PORTFOLIO_STRUKTUR":return function(){return Promise.all([n.e("chunk-4bf3d0a6"),n.e("chunk-4fdea298"),n.e("chunk-ce763b46")]).then(n.bind(null,"fa64"))};case"FODB_KAUF":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-d52f80ac")]).then(n.bind(null,"5ee7f"))};case"FODB_VERKAUF":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-0699c738")]).then(n.bind(null,"0bb8"))};case"FODB_VERKAUF_ETF":return function(){return Promise.all([n.e("chunk-4bf3d0a6"),n.e("chunk-1e19273c"),n.e("chunk-ca345096")]).then(n.bind(null,"c64b"))};case"INVESTIERTE_BETRAGE":return function(){return n.e("chunk-6779da7f").then(n.bind(null,"03cf"))};case"FODB_FONDS_AUSWAHL":return function(){return n.e("chunk-e0d46a1e").then(n.bind(null,"d4e9"))};case"FODB_DEPOT":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-4fd1a565")]).then(n.bind(null,"46f9"))};case"FODB_TAUSCH":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-2f79a33a")]).then(n.bind(null,"aaa5b"))};case"FODB_TAUSCH_DIMENSIONAL":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-63301c23")]).then(n.bind(null,"ee76"))};case"TEMPLETON_DEPPOT":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-1e19273c"),n.e("chunk-28e8b9d9")]).then(n.bind(null,"db11"))};case"EBASE_FREMDWAEHRUNG_DEPOT":return function(){return n.e("chunk-eaaf94ee").then(n.bind(null,"3f919"))};case"DWS_SPAR_ENTNAHMEPLAN":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-331c6222")]).then(n.bind(null,"bc08"))};case"AUFTRAGSERTEILUNG":return function(){return n.e("chunk-0bd0f08b").then(n.bind(null,"aebf"))};case"ANGEBOTENE_GESELLSCHAFTEN":return function(){return n.e("chunk-2740073f").then(n.bind(null,"cb55"))};case"TABLE_RYSIKO_PRUFUNG_DETAILS":return function(){return n.e("chunk-2d221b5f").then(n.bind(null,"cc09"))};case"COMDIRECT_DEPOTUEBERTRAGUNG_BUTTON":return function(){return n.e("chunk-2d0d0f2b").then(n.bind(null,"69c5"))};case"FODB_DEPOTUEBERTRAGUNG_INN":return function(){return n.e("chunk-de10664a").then(n.bind(null,"9b5d"))};case"EBASE_FONDSUMSCHICHTUNG":return function(){return Promise.all([n.e("chunk-1e19273c"),n.e("chunk-4332599d")]).then(n.bind(null,"62cf6"))};case"EBASE_EDELMETAL_DEPOTUEBERTRAGUNG_INN":return function(){return n.e("chunk-3ffe9cb8").then(n.bind(null,"34ed"))};case"SHORTTEXT_EDITOR_COMPONENT":return function(){return Promise.all([n.e("chunk-4bf3d0a6"),n.e("chunk-dac2aa60")]).then(n.bind(null,"f682"))};case"COLOR_PICKER_FULL":return function(){return n.e("chunk-6d7ddb3d").then(n.bind(null,"2581"))};case"COLOR_PICKER":return function(){return Promise.resolve().then(n.bind(null,"39bd"))};case"INDEX_KOMBINATION":return function(){return n.e("chunk-20c26307").then(n.bind(null,"1fdb"))};case"DOK_NODE_PERMISSION":return function(){return n.e("chunk-4ccd9882").then(n.bind(null,"ae2c"))};case"FONDSAMPEL_SLIDER":return function(){return n.e("chunk-5b7111f2").then(n.bind(null,"9643"))};case"KONTOFUEHRUNGSGEBUEHREN":return function(){return n.e("chunk-2d0c86a3").then(n.bind(null,"557d"))};case"BUTTON_APPLY_TO_STRUCTURE":return function(){return n.e("chunk-2d0c77bb").then(n.bind(null,"518a"))};case"CONFIG_BUTTON":return function(){return n.e("chunk-2d22ccc0").then(n.bind(null,"f583"))};case"DOWNLOAD_LINK":return function(){return Promise.resolve().then(n.bind(null,"5a29"))};case"SERVICEGEBUEHREN":return function(){return n.e("chunk-2d0c49f9").then(n.bind(null,"3c2e"))};case"TABLE_BIPRO_SIBLING_GESELLSCHAFTEN":return function(){return n.e("chunk-2d0d6574").then(n.bind(null,"71ae"))};case"SELECT_FILE_BUTTON":return function(){return n.e("chunk-2d217ea8").then(n.bind(null,"c984"))};case"CONFIRM_BUTTON":return function(){return n.e("chunk-2d2217cb").then(n.bind(null,"cb0f"))};case"NACHHALTIGKEIT":return function(){return Promise.all([n.e("chunk-4bb18cea"),n.e("chunk-2d237e94")]).then(n.bind(null,"fcab"))};case"CAPITALBANK_WIRTSCHAFT_EIGENTUEMER":return function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-b451077e")]).then(n.bind(null,"303d"))};default:return function(){return n.e("chunk-2d0f06bd").then(n.bind(null,"9bfd"))}}return null},backButtonPayload:function(){return{backButton:!0}},showComponentAsDisabled:function(){var e,t,n,a;return 1!=(null===(e=this.dynamicBindings)||void 0===e||null===(t=e.props)||void 0===t?void 0:t.isDiabled)&&(null===(n=this.component)||void 0===n||null===(a=n.disabled)||void 0===a?void 0:a.IMMER)}})},m=f,b=(n("27b2"),n("2877")),v=Object(b["a"])(m,a,i,!1,null,"2bdcddd5",null);t["a"]=v.exports},"55e0":function(e,t,n){var a=n("b663");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("d21449c2",a,!0,{sourceMap:!1,shadowMode:!1})},5850:function(e,t,n){"use strict";n("bf86")},"586d":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("p",[e._v("Die Dokumente können nicht zu einer Datei zusammengefasst werden, da sie z.T. digital signiert wurden. Sie können die Dateien hier einzeln abrufen:")]),e._m(0),e._l(e.unsignedAttachments,(function(t){return n("div",{key:t.label},[n("DownloadLink",{attrs:{href:e.linkGenerator(t.fileName||t.bezeichnung,t.id,t.tempFileId||0),title:t.bezeichnung||t.fileName}})],1)})),e._m(1),e._l(e.signedAttachments,(function(t){return n("div",{key:t.label},[n("DownloadLink",{attrs:{href:e.linkGenerator(t.fileName||t.bezeichnung,t.id,t.tempFileId||0),title:t.bezeichnung||t.fileName}})],1)})),e.isEmptyFile?n("div",{staticClass:"color-danger mt-2"},[e._v("Dokument kann nicht geöffnet werden")]):e._e()],2)},i=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[n("b",[e._v("Nicht digital signierte Dokumente / Scans")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[n("b",[e._v("Digital signierte Dokument")])])}],s=n("5530"),r=n("0169"),o=n("26b3"),l=n("2f62"),c=n("5a29"),d={components:{DownloadLink:c["default"]},data:function(){return{isEmptyFile:!1}},props:{unsignedAttachments:{type:Array,default:function(){return[]}},signedAttachments:{type:Array,default:function(){return[]}}},computed:Object(s["a"])({},Object(l["b"])({linkGenerator:r["default"].GETTERS.GET_ATTACHMENT_LINK_BY_ID})),methods:{downloadDocument:function(e){var t=this;this.isEmptyFile=!1,this.$store.dispatch(r["default"].ACTIONS.DOWNLOAD_ATTACHMENT,{paramDisplayPDFData:e}).then((function(e){var n;null!==e&&void 0!==e&&e.bytes?(t.$emit("close"),Object(o["f"])(e.bytes,null===e||void 0===e||null===(n=e.contentType)||void 0===n?void 0:n.mimeType,null===e||void 0===e?void 0:e.fileName)):t.isEmptyFile=!0}))}}},u=d,p=n("2877"),h=Object(p["a"])(u,a,i,!1,null,null,null);t["a"]=h.exports},5948:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".stepper-container[data-v-bef2afe0]{display:none;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 16px 24px}.stepper-container .rail[data-v-bef2afe0]:last-child{display:none}.labels-container[data-v-bef2afe0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stepper-label[data-v-bef2afe0]{white-space:nowrap}.stepper-label[data-v-bef2afe0],.stop-container[data-v-bef2afe0]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.d-none[data-v-bef2afe0]{display:none}.stepper-container-sm[data-v-bef2afe0]{display:block}.stepper-container-tab[data-v-bef2afe0]{display:block;padding-bottom:10px;padding-left:0;margin-bottom:0}@media (min-width:992px){.stepper-container-sm[data-v-bef2afe0]{display:none}}li[data-v-bef2afe0]{cursor:pointer;background:var(--color-box);list-style:none;border:1px solid #ccc;padding:10px;border-radius:5px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin-right:6px}li.active[data-v-bef2afe0]{border-bottom:none}.step-sm-wrap[data-v-bef2afe0]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:0 12px 0 0}.step-doughnut-chart[data-v-bef2afe0],.step-sm-wrap[data-v-bef2afe0]{width:80px;height:80px}.stepper-liner-sm[data-v-bef2afe0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:85%}.step-num[data-v-bef2afe0]{position:absolute;font-size:19px;padding-top:8px}.container-sm[data-v-bef2afe0]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.step-title[data-v-bef2afe0]{min-width:0;overflow:hidden;text-overflow:ellipsis}.step-title-arrow[data-v-bef2afe0]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:16px}.substep-sm[data-v-bef2afe0]{font-size:12px;margin-bottom:2px;margin-top:2px}.stepper2-dropdown-menu__content[data-v-bef2afe0]{min-width:250px}.stepper2-steps[data-v-bef2afe0],.stepper2-steps *[data-v-bef2afe0]{-webkit-box-sizing:border-box;box-sizing:border-box}.stepper2-step--name[data-v-bef2afe0],.stepper2-substep[data-v-bef2afe0]{padding:6px 0}.app--is-mobile-native-context .stepper2-step--name[data-v-bef2afe0],.app--is-mobile-native-context .stepper2-substep[data-v-bef2afe0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px 0;min-height:44px}",""]),e.exports=t},"59ab":function(e,t,n){"use strict";n.r(t),n.d(t,"keysToCloseComponent",(function(){return o})),n.d(t,"nullish",(function(){return l}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-forms__container"},[e.label?n("div",{staticClass:"input-forms__label-content"},[e._v(e._s(e.label))]):e._e(),n("div",{staticClass:"timepicker-container",class:{"forms__input--half-size":this.isComponentHalfSize}},[n("BaseDropdownMenu",{ref:"dropdown",attrs:{placement:"bottom-right",closeWithInnerClick:!1},on:{onShow:e.onShowDropdown},scopedSlots:e._u([{key:"hook-target",fn:function(){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.currentTime,expression:"currentTime"}],staticClass:"fc-input input-forms__input-field",class:e.inputClass,attrs:{type:"text",disabled:e.disabled,inputmode:"numeric"},domProps:{value:e.currentTime},on:{keydown:e.onKeyDown,keyup:function(t){return e.format(t)},input:function(t){t.target.composing||(e.currentTime=t.target.value)}}}),e.timeUnit&&e.currentTime?n("span",{staticClass:"inputfield__input-icon inputfield__input-icon--right-side"},[e._v(" "+e._s(e.timeUnit)+" ")]):e._e()]},proxy:!0}])},[e.disabled?e._e():n("div",{staticClass:"tp-selector__container"},[n("div",{ref:"columnHour",staticClass:"tp-column__selector"},e._l(e.hours,(function(t){return n("div",{key:t,staticClass:"tp-cell__selector tp-cell__hour",class:{"tp-cell__selector--selected":e.isSelected(e.currentHour,t)},on:{click:function(n){return e.selectHour(t)}}},[e._v(" "+e._s(t)+" ")])})),0),n("div",{ref:"columnMinute",staticClass:"tp-column__selector"},e._l(e.minutes,(function(t){return n("div",{key:t,staticClass:"tp-cell__selector tp-cell__minute",class:{"tp-cell__selector--selected":e.isSelected(e.currentMinute,t)},on:{click:function(n){return e.selectMinute(t)}}},[e._v(" "+e._s(t)+" ")])})),0),e.withSeconds?n("div",{ref:"columnSecond",staticClass:"tp-column__selector"},e._l(e.minutes,(function(t){return n("div",{key:t,staticClass:"tp-cell__selector tp-cell__second",class:{"tp-cell__selector--selected":e.isSelected(e.currentSecond,t)},on:{click:function(n){return e.selectSecond(t)}}},[e._v(" "+e._s(t)+" ")])})),0):e._e()])]),e.isValidationConfigDone?n("div",[e.validation?n("div",{key:e.validation.updated,staticClass:"input-forms__errors-container"},e._l(e.validation.getErrors(e.validationPath,e.validateUntouched),(function(t){return n("div",{key:t,staticClass:"fc-form-danger"},[e._v(" "+e._s(t)+" ")])})),0):e._e()]):e._e()],1)])},i=[],s=(n("caad"),n("99af"),n("ac1f"),n("1276"),n("4d90"),n("2532"),n("466d"),n("d81d"),n("cb29"),n("fb6a"),n("bb48")),r=n("7bf0"),o=["Escape","Esc",27,"Enter",13,"Tab",9],l=[void 0,null,""],c=["Backspace",8,"Delete",46],d="08:00",u=["00","15","30","45"],p={mixins:[r["a"]],components:{BaseDropdownMenu:s["a"]},props:{value:{type:String,default:""},label:{type:String},timeUnit:{type:String},isComponentHalfSize:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},withSeconds:{type:Boolean,default:!1},showQuarterHourAsMinute:{type:Boolean,default:!0},defaultPopUpTime:{type:[Date,String],default:function(){return new Date}},ignoreDefaultPopUpTime:{type:Boolean,default:!1},validateUntouched:{type:Boolean,default:!1}},computed:{timePattern:function(){return this.withSeconds?/^([01]?[0-9]|2[0-3])[\D]+([0-5][0-9])[\D]+([0-5][0-9])$/i:/^([01]?[0-9]|2[0-3])[\D]+([0-5][0-9])$/i},hours:function(){return this.createNumberList(24)},minutes:function(){return this.showQuarterHourAsMinute?u:this.createNumberList(60)},currentTime:{get:function(){if(l.includes(this.currentHour)||l.includes(this.currentMinute))return null;var e="".concat(this.currentHour,":").concat(this.currentMinute);return this.withSeconds&&(e+=":".concat(this.currentSecond)),e},set:function(e){this.copyTime(e)}},defaultPopUpHour:function(){var e,t;return this.defaultPopUpTime?null!==(e=this.defaultPopUpTime)&&void 0!==e&&e.getHours?String(this.defaultPopUpTime.getHours()).padStart(2,"0"):(null!==(t=this.defaultPopUpTime)&&void 0!==t&&t.includes(":")&&this.defaultPopUpTime.split(":")[0],this.defaultPopUpTime):d.split(":")[0]},defaultPopUpMinute:function(){var e,t;if(!this.defaultPopUpTime)return d.split(":")[1];if(null!==(e=this.defaultPopUpTime)&&void 0!==e&&e.getMinutes){var n=this.defaultPopUpTime.getMinutes();return n=this.showQuarterHourAsMinute?15*Math.round(n/15)%60:n,String(n).padStart(2,"0")}return null!==(t=this.defaultPopUpTime)&&void 0!==t&&t.includes(":")&&this.defaultPopUpTime.split(":")[1],this.defaultPopUpTime},inputClass:function(){return{"fc-form-danger":this.isValidationConfigDone&&this.validation.isInvalid(this.validationPath,this.validateUntouched)}}},watch:{value:{immediate:!0,handler:function(e){e&&this.copyTime(e)}}},data:function(){for(var e=[],t=0;t<60;t++)e.push((t<10?"0":"")+t);return{currentHour:"",currentMinute:"",currentSecond:""}},mounted:function(){this.firstValidation=!0,this.copyTime(this.value)},methods:{onShowDropdown:function(){var e=this;if(!this.disabled){this.currentTime||this.ignoreDefaultPopUpTime||(this.selectHour(this.defaultPopUpHour),this.selectMinute(this.defaultPopUpMinute),this.withSeconds&&this.selectSecond("00"));var t=this.$refs.columnHour,n=this.$refs.columnMinute;setTimeout((function(){var a,i,s=null===(a=t.querySelector(".tp-cell__hour.tp-cell__selector--selected"))||void 0===a?void 0:a.offsetTop,r=null===(i=n.querySelector(".tp-cell__minute.tp-cell__selector--selected"))||void 0===i?void 0:i.offsetTop;e.$refs.columnHour.scrollTop=s,e.$refs.columnMinute.scrollTop=r}),0)}},onKeyDown:function(e){var t=e.key||e.keyCode;o.indexOf(t)>-1&&this.$refs.dropdown.hideContainer()},format:function(e){e.target.value||(this.resetTime(),this.emitTime());var t=e.key||e.keyCode;if(!(c.indexOf(t)>-1)){var n=e.target.value;n.match(/^[0-9]{2}$/)&&(e.target.value="".concat(n,":")),n.match(/^[0-9]{2}:[0-9]{2}$/)&&this.withSeconds&&(e.target.value="".concat(n,":")),this.timePattern.test(e.target.value)&&(this.copyTime(e.target.value),this.emitTime())}},resetTime:function(){this.currentHour=null,this.currentMinute=null,this.currentSecond=null},createNumberList:function(e){return Array(e).fill().map((function(e,t){return("00"+t).slice(-2)}))},isSelected:function(e,t){return+e===+t},copyTime:function(e){var t=this.timePattern.exec(e);t&&(this.currentHour=t[1],this.currentMinute=t[2],this.withSeconds&&(this.currentSecond=t[3])),this.runValidation()},selectHour:function(e){this.currentHour=e,this.emitTime()},selectMinute:function(e){this.currentMinute=e,this.emitTime()},selectSecond:function(e){this.currentSecond=e,this.emitTime()},emitTime:function(){this.$emit("input",this.currentTime),this.$emit("change",this.currentTime)},runValidation:function(){this.$runValidator(this.value,this.firstValidation),this.firstValidation=!1}}},h=p,f=(n("4611"),n("2877")),m=Object(f["a"])(h,a,i,!1,null,"ef7c4f88",null);t["default"]=m.exports},"59ec":function(e,t,n){var a=n("1d11");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("10d5d25b",a,!0,{sourceMap:!1,shadowMode:!1})},"5a75":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseModal",{ref:"zusatzDok",attrs:{labelButtonConfirm:"Weiter zur Unterschrift",labelButtonCancel:"Abbrechen",size:"lg"},on:{onConfirmButton:e.sendZusatzDoks,onCancelButton:e.closeZusatzListModal},scopedSlots:e._u([{key:"modalTitle",fn:function(){return[n("ph-warning",{staticClass:"mr-2",staticStyle:{color:"orangered"},attrs:{size:16}}),e._v(" Zusätzliche Dokumente ")]},proxy:!0}])},[e.pictureAttachMsg?n("div",{staticClass:"mb-1"},[e._v(" "+e._s(e.pictureAttachMsg)+" ")]):e._e(),n("div",{staticClass:"font-strong mb-1"},[e._v(" Wenn Sie möchten können Sie hier Dokumente auswählen, die vor der e-Signatur zum Antrag hinzugefügt werden. ")]),n("div",{staticClass:"font-strong mb-1"},[e._v(" Andernfalls können Sie direkt mit der Unterschrift fortfahren. ")]),e._l(e.bodyMessages,(function(t,a){return n("div",{key:"body"+a},[n("div",{staticClass:"mb-1"},[e._v(" "+e._s(t)+" ")])])})),n("div",{staticClass:"mb-1"},[e._v(" Bitte beachten Sie, dass das Anfügen der Dokumente dauerhaft ist, auch wenn Sie den Antrag doch nicht signieren. ")]),e.webServiceMsg?n("div",{staticClass:"font-strong mb-1"},[e._v(" "+e._s(e.webServiceMsg)+" ")]):e._e(),e._l(e.zusatzList,(function(t,a){return n("div",{key:a,staticClass:"row"},[n("div",{staticClass:"col"},[n("div",{staticClass:"container"},[n("InputCheckBoxItem",{attrs:{disabled:t.appended},model:{value:e.zusatzDokForm[t.id],callback:function(n){e.$set(e.zusatzDokForm,t.id,n)},expression:"zusatzDokForm[dok.id]"}}),n("div",{staticClass:"ml-1"},[t.id?n("DownloadLink",{attrs:{href:e.attachmentLinkMaker(t.filename,t.id),title:t.bezeichnung+" ("+t.herkunft+")"}}):n("div",[e._v(e._s(t.bezeichnung)+" ("+e._s(t.herkunft))])],1)],1)])])}))],2),n("BaseModal",{ref:"errorModal",attrs:{labelButtonConfirm:"Ok",showCancelButton:!1},scopedSlots:e._u([{key:"modalTitle",fn:function(){return[n("ph-warning",{staticClass:"mr-2",staticStyle:{color:"orangered"},attrs:{size:16}}),e._v(" Fehler ")]},proxy:!0}])},[n("label",[e._v(e._s(e.errorMessage))])])],1)},i=[],s=n("5530"),r=(n("4de4"),n("b64b"),n("d3b7"),n("99af"),n("a15b"),n("d81d"),n("159b"),n("e6cf"),n("a79d"),n("cee4")),o=n("3c57"),l=n("04bc"),c=n("a871"),d=n("2f62"),u=n("5818"),p=n("c0a4"),h=n("5a29"),f=n("8fb3"),m=n("81f6"),b=n("09de"),v={mixins:[],components:{BaseButton:l["default"],BaseModal:c["a"],InputCheckBoxItem:u["a"],PhWarning:p["PhWarning"],DownloadLink:h["default"]},props:{selectedDoc:{},emitClose:{type:Boolean,default:!1}},data:function(){return{apiAddress:"/MSC3/restful",zusatzDokForm:{},zusatzList:[],pictureAttachMsg:null,webServiceMsg:null,bodyMessages:null,errorMessage:""}},computed:Object(s["a"])({},Object(d["b"])({attachmentLinkMaker:o["default"].GETTERS.GET_SIMPLE_FILE_LINK_MAKER})),mounted:function(){},methods:{closeZusatzListModal:function(){this.$refs.zusatzDok.close(),this.zusatzList=null,this.pictureAttachMsg=null,this.webServiceMsg=null,this.bodyMessages=null,this.zusatzDokForm={}},sendZusatzDoks:function(){var e,t=this;if(this.zusatzDokForm&&(e=Object.keys(this.zusatzDokForm).filter((function(e){return!0===t.zusatzDokForm[e]})),this.zusatzDokForm={}),this.selectedDoc){var n={concatIds:e,dokId:this.selectedDoc["PARAMETER_DOK_ID"],antragsnrIntern:this.selectedDoc["PARAMETER_ANTRAGSNR_INTERN"],antragsdatenPdfId:this.selectedDoc["PARAMETER_ANTRAGSDATEN_PDF_ID"]};this.$store.commit(b["default"].MUTATIONS.START_ANTRAG_ACTION_LOADING,"zusatzDok"),r["a"].post("".concat("/MSC3/restful","/dokumentenarchivSign/additionalDocumentsConcatSign"),n,{headers:{"Content-Type":"application/json"},defaultSpinner:!0}).then((function(e){var a=e.data;a.signoUri?(Object(f["b"])(a.signoUri,"Zusaetzliche Dokumente ".concat(n.dokId)),t.emitClose&&m["u"].$emit(m["b"])):a.errorMessage&&(t.errorMessage=a.errorMessage,t.$refs.errorModal.open())})).finally((function(){return t.$store.commit(b["default"].MUTATIONS.STOP_ANTRAG_ACTION_LOADING,"zusatzDok")}))}this.closeZusatzListModal()},open:function(){var e=this;if(this.selectedDoc){this.$emit("updateLoadingStatus",!0);var t=[];for(var n in this.selectedDoc)t.push(n),t.push(this.selectedDoc[n]);r["a"].get("".concat("/MSC3/restful","/dokumentenarchivSign/getPictureAttachments?").concat(t.map((function(e){return"sendData=".concat(e)})).join("&")),{headers:{"Content-Type":"application/json"},defaultSpinner:!0}).then((function(t){t&&t.data&&(e.zusatzDokForm={},e.zusatzList=t.data.attachments,e.pictureAttachMsg=t.data.pictureAttachMsg,e.webServiceMsg=t.data.webServiceMsg,e.bodyMessages=t.data.messages,e.zusatzList.forEach((function(t){return e.zusatzDokForm[t.id]=t.appended||!1})),e.$emit("updateLoadingStatus",!1),e.$refs.zusatzDok.open())}))}}}},g=v,E=(n("cac7"),n("2877")),_=Object(E["a"])(g,a,i,!1,null,"2015b4da",null);t["a"]=_.exports},"5b2c":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".availableStatusIcons__container[data-v-4d76bacc]{display:inline}",""]),e.exports=t},"5c70":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"doughnut-progress__container"},[n("v-chart",{staticClass:"chart",attrs:{option:e.option,theme:e.themeKey,autoresize:""}})],1)},i=[],s=(n("a9e3"),n("22b4")),r=n("f95e"),o=n("49bb"),l=n("a0c6"),c=n("5c7f"),d=n("a6ea");Object(s["a"])([r["a"],o["a"],l["a"]]);var u={name:"DoughnutProgress",mixins:[d["a"]],components:{VChart:c["b"]},props:{percentage:{type:Number,default:0},labelProgress:{type:String,default:""}},computed:{checkedChartData:function(){var e=[];return e.push({value:Math.abs(this.percentage)}),e.push({value:100-Math.abs(this.percentage)}),e},option:function(){return{color:["#28a745","#d9d9d9"],title:{show:!1},tooltip:{show:!1},legend:{show:!1},series:[{name:"",type:"pie",radius:["80%","100%"],data:this.checkedChartData,label:{show:!1},markPoint:{tooltip:{show:!1},label:{color:document.documentElement.style.getPropertyValue("--color-text")||"#000000",show:!0,fontSize:14},data:[{name:this.labelProgress,value:this.labelProgress,symbol:"circle",itemStyle:{color:"transparent"},x:"50%",y:"50%"}]}}]}}}},p=u,h=(n("6a5f"),n("2877")),f=Object(h["a"])(p,a,i,!1,null,"42a55d81",null);t["a"]=f.exports},"5c7f":function(e,t,n){"use strict";n.d(t,"a",(function(){return L})),n.d(t,"b",(function(){return U}));var a=n("a026"),i=n("ed09");function s(e){e=e||a["default"],e&&!e["__composition_api_installed__"]&&e.use(i["b"])}s(a["default"]);var r=a["default"],o=(a["default"].version,n("1be7")),l=n("88b3"),c=null;function d(e){return c||(c=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,16)}).bind(window)),c(e)}var u=null;function p(e){u||(u=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}).bind(window)),u(e)}function h(e){var t=document.createElement("style");return t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}function f(e,t){void 0===t&&(t={});var n=document.createElement(e);return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function m(e,t,n){var a=window.getComputedStyle(e,n||null)||{display:"none"};return a[t]}function b(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};var t=e;while(t!==document){if("none"===m(t,"display"))return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var v='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',g=0,E=null;function _(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=x.bind(e));var n=e.__resize_listeners__;if(!n)if(e.__resize_listeners__=[],window.ResizeObserver){var a=e.offsetWidth,i=e.offsetHeight,s=new ResizeObserver((function(){(e.__resize_observer_triggered__||(e.__resize_observer_triggered__=!0,e.offsetWidth!==a||e.offsetHeight!==i))&&k(e)})),r=b(e),o=r.detached,l=r.rendered;e.__resize_observer_triggered__=!1===o&&!1===l,e.__resize_observer__=s,s.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){k(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(g||(E=h(v)),I(e),e.__resize_rendered__=b(e).rendered,window.MutationObserver){var c=new MutationObserver(e.__resize_mutation_handler__);c.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=c}e.__resize_listeners__.push(t),g++}function S(e,t){var n=e.__resize_listeners__;if(n){if(t&&n.splice(n.indexOf(t),1),!n.length||!t){if(e.detachEvent&&e.removeEventListener)return e.detachEvent("onresize",e.__resize_legacy_resize_handler__),void document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",y),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--g&&E&&E.parentNode.removeChild(E)}}function T(e){var t=e.__resize_last__,n=t.width,a=t.height,i=e.offsetWidth,s=e.offsetHeight;return i!==n||s!==a?{width:i,height:s}:null}function x(){var e=b(this),t=e.rendered,n=e.detached;t!==this.__resize_rendered__&&(!n&&this.__resize_triggers__&&(C(this),this.addEventListener("scroll",y,!0)),this.__resize_rendered__=t,k(this))}function y(){var e=this;C(this),this.__resize_raf__&&p(this.__resize_raf__),this.__resize_raf__=d((function(){var t=T(e);t&&(e.__resize_last__=t,k(e))}))}function k(e){e&&e.__resize_listeners__&&e.__resize_listeners__.forEach((function(t){t.call(e,e)}))}function I(e){var t=m(e,"position");t&&"static"!==t||(e.style.position="relative"),e.__resize_old_position__=t,e.__resize_last__={};var n=f("div",{className:"resize-triggers"}),a=f("div",{className:"resize-expand-trigger"}),i=f("div"),s=f("div",{className:"resize-contract-trigger"});a.appendChild(i),n.appendChild(a),n.appendChild(s),e.appendChild(n),e.__resize_triggers__={triggers:n,expand:a,expandChild:i,contract:s},C(e),e.addEventListener("scroll",y,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function C(e){var t=e.__resize_triggers__,n=t.expand,a=t.expandChild,i=t.contract,s=i.scrollWidth,r=i.scrollHeight,o=n.offsetWidth,l=n.offsetHeight,c=n.scrollWidth,d=n.scrollHeight;i.scrollLeft=s,i.scrollTop=r,a.style.width=o+1+"px",a.style.height=l+1+"px",n.scrollLeft=c,n.scrollTop=d}var A=function(){return A=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},A.apply(this,arguments)},w=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"];function O(e){return t=Object.create(null),w.forEach((function(n){t[n]=function(t){return function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(!e.value)throw new Error("ECharts is not initialized yet.");return e.value[t].apply(e.value,n)}}(n)})),t;var t}var D={autoresize:Boolean},N={loading:Boolean,loadingOptions:Object},R=/^on[^a-z]/,M=function(e){return R.test(e)},P=[],B=[];!function(e,t){if(e&&"undefined"!=typeof document){var n,a=!0===t.prepend?"prepend":"append",i=!0===t.singleTag,s="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(i){var r=P.indexOf(s);-1===r&&(r=P.push(s)-1,B[r]={}),n=B[r]&&B[r][a]?B[r][a]:B[r][a]=o()}else n=o();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function o(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),i=0;i<n.length;i++)e.setAttribute(n[i],t.attributes[n[i]]);var r="prepend"===a?"afterbegin":"beforeend";return s.insertAdjacentElement(r,e),e}}("x-vue-echarts{display:block;width:100%;height:100%}\n",{}),r&&r.config.ignoredElements.push("x-vue-echarts");var L="ecInitOptions",U=Object(i["c"])({name:"echarts",props:A(A({option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean},D),N),inheritAttrs:!1,setup:function(e,t){var n=t.attrs,a=Object(i["j"])(),s=Object(i["j"])(),r=Object(i["j"])(),c=Object(i["f"])("ecTheme",null),d=Object(i["f"])("ecInitOptions",null),u=Object(i["f"])("ecUpdateOptions",null),p=Object(i["k"])(e),h=p.autoresize,f=p.manualUpdate,m=p.loading,b=p.loadingOptions,v=Object(i["a"])((function(){return r.value||e.option||null})),g=Object(i["a"])((function(){return e.theme||Object(i["l"])(c)||{}})),E=Object(i["a"])((function(){return e.initOptions||Object(i["l"])(d)||{}})),T=Object(i["a"])((function(){return e.updateOptions||Object(i["l"])(u)||{}})),x=Object(i["a"])((function(){return function(e){var t={};for(var n in e)M(n)||(t[n]=e[n]);return t}(n)})),y=Object(i["d"])().proxy.$listeners;function k(t){if(a.value){var r=s.value=Object(o["l"])(a.value,g.value,E.value);e.group&&(r.group=e.group);var l=y;l||(l={},Object.keys(n).filter((function(e){return 0===e.indexOf("on")&&e.length>2})).forEach((function(e){var t=e.charAt(2).toLowerCase()+e.slice(3);"Once"===t.substring(t.length-4)&&(t="~".concat(t.substring(0,t.length-4))),l[t]=n[e]}))),Object.keys(l).forEach((function(e){var t=l[e];if(t){var n=e.toLowerCase();"~"===n.charAt(0)&&(n=n.substring(1),t.__once__=!0);var a=r;if(0===n.indexOf("zr:")&&(a=r.getZr(),n=n.substring(3)),t.__once__){delete t.__once__;var i=t;t=function(){for(var e=[],s=0;s<arguments.length;s++)e[s]=arguments[s];i.apply(void 0,e),a.off(n,t)}}a.on(n,t)}})),h.value?Object(i["g"])((function(){r&&!r.isDisposed()&&r.resize(),c()})):c()}function c(){var e=t||v.value;e&&r.setOption(e,T.value)}}function I(){s.value&&(s.value.dispose(),s.value=void 0)}var C=null;Object(i["m"])(f,(function(t){"function"==typeof C&&(C(),C=null),t||(C=Object(i["m"])((function(){return e.option}),(function(e,t){e&&(s.value?s.value.setOption(e,A({notMerge:e.value!==(null==t?void 0:t.value)},T.value)):k())}),{deep:!0}))}),{immediate:!0}),Object(i["m"])([g,E],(function(){I(),k()}),{deep:!0}),Object(i["n"])((function(){e.group&&s.value&&(s.value.group=e.group)}));var w=O(s);return function(e,t,n){var a=Object(i["f"])("ecLoadingOptions",{}),s=Object(i["a"])((function(){return A(A({},Object(i["l"])(a)),null==n?void 0:n.value)}));Object(i["n"])((function(){var n=e.value;n&&(t.value?n.showLoading(s.value):n.hideLoading())}))}(s,m,b),function(e,t,n){var a=null;Object(i["m"])([n,e,t],(function(e,t,n){var i=e[0],s=e[1],r=e[2];i&&s&&r&&(a=Object(l["c"])((function(){s.resize()}),100),_(i,a)),n((function(){a&&i&&S(i,a)}))}))}(s,h,a),Object(i["h"])((function(){k()})),Object(i["i"])(I),A({chart:s,root:a,setOption:function(t,n){e.manualUpdate&&(r.value=t),s.value?s.value.setOption(t,n||{}):k(t)},nonEventAttrs:x},w)},render:function(){var e=r?{attrs:this.nonEventAttrs}:A({},this.nonEventAttrs);return e.ref="root",e.class=e.class?["echarts"].concat(e.class):"echarts",Object(i["e"])("x-vue-echarts",e)}})},"5c95":function(e,t,n){var a=n("2519");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("247bcefa",a,!0,{sourceMap:!1,shadowMode:!1})},"5e3f":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".modal__title[data-v-0c0cc4ca]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.base-modal__header--button[data-v-0c0cc4ca]{background:none;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:0 0 0 6px;padding:0;width:20px;height:20px}.box__shadow[data-v-0c0cc4ca],.popup[data-v-0c0cc4ca]{-webkit-box-shadow:0 4px 16px rgba(85,85,85,.1);box-shadow:0 4px 16px rgba(85,85,85,.1)}.popup[data-v-0c0cc4ca]{position:absolute;top:50%;left:50%;border-radius:8px;border:1px solid var(--color-background);background-color:var(--color-box);z-index:9999;resize:both;overflow:hidden;border:1px solid var(--color-box-neutral)}.popup__dragging[data-v-0c0cc4ca]{border:1px solid var(--color-box-neutral)}.header[data-v-0c0cc4ca]{padding:10px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:sticky;top:0;z-index:1000;background-color:var(--color-box);cursor:-webkit-grab;cursor:grab}.header[data-v-0c0cc4ca],.header>.hearder__buttons[data-v-0c0cc4ca]{display:-webkit-box;display:-ms-flexbox;display:flex}.header>.hearder__buttons[data-v-0c0cc4ca]{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.content[data-v-0c0cc4ca]{padding:20px}.resizable-handle[data-v-0c0cc4ca]{position:absolute;bottom:0;right:0;width:16px;height:16px;background:repeating-linear-gradient(-45deg,transparent,transparent 1px,#000 0,#000 2px);cursor:nwse-resize}.popup__minimized[data-v-0c0cc4ca]{border:1px solid var(--color-box-neutral)}",""]),e.exports=t},"5e50":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"autocomplete"},[n("form",{on:{submit:function(t){return t.preventDefault(),e.checkZIPAndUpdateValue(e.zip)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:e.selectNext.apply(null,arguments)}}},[n("InputField",{attrs:{label:e.label,disabled:e.disabled,labelClass:e.labelClass,validateUntouched:e.validateUntouched,placeholder:e.placeholder,suppressValidationMessage:e.suppressValidationMessage,id:e.id,isEmbedded:e.isEmbedded,small:e.small,precision:e.precision,showConfirmationIcon:e.showConfirmationIcon,isComponentHalfSize:e.isComponentHalfSize,foreign_currency:e.foreign_currency,isNotReactive:e.isNotReactive},on:{input:function(t){return e.checkZIPAndUpdateValue(e.zip)},searchAction:e.onEnter,blur:e.onBlur},model:{value:e.zip,callback:function(t){e.zip=t},expression:"zip"}})],1),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],class:{"results-container":!0,half:e.isComponentHalfSize}},[n("div",{staticClass:"block"},[e.isLoading?n("div",{staticClass:"loading"},[n("AnimatedSpinner"),e._v(" Bitte warten... ")],1):e._l(e.results,(function(t,a){return n("div",{key:"zip"+a,staticClass:"autocomplete-result"},[n("a",{class:{"result-link":!0,selected:e.indexSelected===a},on:{click:function(n){e.setResult(t),e.indexSelected=a}}},[e._v(" "+e._s(t.zip)+", "+e._s(t.city)),t.state?n("span",[e._v(", "+e._s(t.state))]):e._e(),e.land?n("span",[e._v(", "+e._s(t.land))]):e._e()])])}))],2)]),e.isValidationConfigured()?[!e.suppressValidationMessage&&e.validation?n("div",{key:e.validation.updated,staticClass:"input-forms__errors-container"},e._l(e.validation.getErrors(this.validationPath,this.validateUntouched),(function(t){return n("div",{key:t,staticClass:"fc-form-danger"},[e._v(" "+e._s(t)+" ")])})),0):e._e()]:e._e()],2)},i=[],s=n("5530"),r=(n("a9e3"),n("99af"),n("d81d"),n("a15b"),n("4de4"),n("ac1f"),n("1276"),n("2ca0"),n("7db0"),n("cee4")),o=n("7bf0"),l=n("c704"),c=n("2042"),d={mixins:[o["a"]],validators:{},components:{InputField:l["default"],AnimatedSpinner:c["a"]},props:{value:{type:[String,Number,Boolean]},label:{type:String},type:{type:String},componentData:{},disabled:{type:Boolean,default:!1},land:{type:String,default:""},labelClass:{type:String},validateUntouched:{type:Boolean},placeholder:{type:String},suppressValidationMessage:{type:Boolean},id:{type:String},isEmbedded:{type:Boolean},small:{type:Boolean},precision:{type:[String,Number]},showConfirmationIcon:{type:Boolean},isComponentHalfSize:{type:Boolean},foreign_currency:{type:String},isNotReactive:{type:Boolean}},data:function(){return{modifiedValue:void 0,results:[],isOpen:!1,isLoading:!1,timeoutRef:0,indexSelected:-1,prevValue:""}},watch:{componentData:function(e){this.zip=e},value:function(){this.modifiedValue=void 0}},computed:{zip:{get:function(){return this.modifiedValue||this.value||""},set:function(e){this.$emit("input",e),this.$emit("change",e),this.$setDirty(),this.$runValidator(e),this.modifiedValue=e}}},methods:{checkZIPAndUpdateValue:function(e){var t=this;if(this.timeoutRef&&clearTimeout(this.timeoutRef),e&&!(e.length<2)){var n=e+"|"+this.land;this.prevValue!=n?this.timeoutRef=setTimeout((function(){t.isLoading=!0,r["a"].get("".concat("/MSC3/restful","/QuickSearch/getCity?zip=").concat(e,"&land=").concat(t.land)).then((function(a){a.data&&(t.results=a.data.map((function(t){return Object(s["a"])(Object(s["a"])({},t),{},{zip:t.zip.split(",").filter((function(t){return t.startsWith(e)})).join(",")})})),t.isOpen=!0,a.data.text)?t.$pushErrors("zip",a.data.text):(t.isLoading=!1,t.timeoutRef&&clearTimeout(t.timeoutRef),t.indexSelected=-1,t.prevValue=n)}))}),1e3):this.isOpen=!0}},onEnter:function(){this.indexSelected>=0?this.setResult(this.results[this.indexSelected]):this.checkZIPAndUpdateValue(this.zip)},selectNext:function(e){e.preventDefault(),e.stopPropagation(),this.indexSelected=(this.indexSelected+1)%this.results.length},setResult:function(e){var t=this;this.isOpen=!1;var n=(e.zip||"").split(",");this.zip=n.find((function(e){return e.startsWith(t.zip)}))||(n.length?n[0]:this.zip),this.$emit("change",this.zip),this.$emit("input",this.zip),this.$emit("city",e.city)},handleClickOutside:function(e){this.$el.contains(e.target)||(this.isOpen=!1)},onBlur:function(){this.$setTouched(),this.$emit("change",this.zip)}},mounted:function(){document.addEventListener("click",this.handleClickOutside)},destroyed:function(){document.removeEventListener("click",this.handleClickOutside)}},u=d,p=(n("0121"),n("2877")),h=Object(p["a"])(u,a,i,!1,null,"dde07fe2",null);t["a"]=h.exports},"60e0":function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseFilter",{ref:"baseFilter",attrs:{showSaveButton:"",hasSmartSearch:e.hasSmartSearch,filterId:e.saveKey,title:e.title,metadata:e.metadata,configFilter:e.configFilter,extraButton:e.extraButton,predefinedFilter:e.predefinedFilter,showButtons:e.showButtons,immidiateSearch:e.immidiateSearch,isCustomerSearch:e.isCustomerSearch,defaultOptions:e.defaultOptions,searchFromParam:e.searchFromParam,showSearchButton:e.showSearchButton,isCache:e.isCache},on:{onFilter:function(t){return e.filterForm(t)},extraButtonClick:function(t){return e.$emit("extraButtonClick")},changeCombobox:e.onComboboxChange,onFilterZurucksetzen:function(t){return e.onFilterZurucksetzen()}}})],1)},i=[],s=n("5530"),r=(n("d3b7"),n("3ca3"),n("ddb0"),n("2b3d"),n("159b"),n("7db0"),n("4de4"),n("d81d"),n("e260"),n("e6cf"),n("2f62"));function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"text/csv;charset=utf-8;",a={type:n},i=new File([t],e,a),s=document.createElement("a"),r=URL.createObjectURL(i);s.setAttribute("href",r),void 0!==s.download?s.setAttribute("download",e):s.target="_blank",s.style.visibility="hidden",document.body.appendChild(s),s.click(),setTimeout((function(){return document.body.removeChild(s)}),0)}var l={props:{title:{type:String},saveKey:{type:String},metadata:{type:Array,default:function(){return[]}},predefinedFilter:{type:Object,default:function(){}},configFilter:{type:Object,default:function(){}},showButtons:{type:Boolean,default:!0},extraButton:{type:Object,default:function(){return null}},isCustomerSearch:{type:Boolean,default:!0},filterId:{type:String},defaultOptions:{type:Object,default:function(){return{}}},searchFromParam:{type:String},immidiateSearch:{type:Boolean,default:!1},hasSmartSearch:{type:Boolean,default:!0},showSearchButton:{type:Boolean,default:!0},isCache:{type:Boolean,default:!1}},emits:["search"],data:function(){return{}},computed:Object(s["a"])({},Object(r["b"])({})),methods:{filterForm:function(e){var t={},n=[],a=[];e.forEach((function(i){if("boolean"===typeof i.value)"fremdGesellschaft"==i.group?(n.push(i.key),t[i.group]=n):"vertragGesellschaft"==i.group?(a.push(i.key),t[i.group]=a):t[i.key]=i.value;else{var s=e.find((function(e){return"pers_daten"==e.group})),r=e.find((function(e){return"Adresse_Geburtsdatum"==e.group})),o=e.find((function(e){return"adresse"==e.group})),l=e.find((function(e){return"courtage"==e.group})),c=e.find((function(e){return"vertragFK"==e.group})),d=e.find((function(e){return"vertragAK"==e.group})),u=e.find((function(e){return"diverses1"==e.group})),p=e.find((function(e){return"diverses2"==e.group})),h=e.find((function(e){return"Versicherungen"==e.group})),f=e.find((function(e){return"Depot"==e.group})),m=e.find((function(e){return"allgemein"==e.group})),b=e.filter((function(e){return"Zusätzliche_Kriterien"==e.group}));if(m&&"dateCreated"==i.key)t["dateCreatedMin"]=i.value.find((function(e){return"min"==e.key})).value,t["dateCreatedMax"]=i.value.find((function(e){return"max"==e.key})).value;else if(s&&"alter"==i.key)t["alterMin"]=i.value.find((function(e){return"min"==e.key})).value,t["alterMax"]=i.value.find((function(e){return"max"==e.key})).value;else if(s&&"gehalt"==i.key)t["gehaltMin"]=i.value.find((function(e){return"min"==e.key})).value,t["gehaltMax"]=i.value.find((function(e){return"max"==e.key})).value;else if((o||r)&&"plzVonBis"==i.key)t["plzBis"]=i.value.find((function(e){return"max"==e.key})).value,t["plzVon"]=i.value.find((function(e){return"min"==e.key})).value;else if(r&&"dayOfBirth"===i.key){var v;t["dayOfBirth"]=null===(v=i.value)||void 0===v?void 0:v.replaceAll(/t|m|j|%/g,"_")}else if(r&&"dayOfBirthVonBis"===i.key)t["dayOfBirthBis"]=i.value.find((function(e){return"max"==e.key})).value,t["dayOfBirthVon"]=i.value.find((function(e){return"min"==e.key})).value;else if(l&&"courtageAbschlussWpVonBis"==i.key)t["courtageAbschlussWp"]=i.value.find((function(e){return"min"==e.key})).value,t["courtageAbschlussWpBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(l&&"courtageBestandVonBis"==i.key)t["courtageBestand"]=i.value.find((function(e){return"min"==e.key})).value,t["courtageBestandBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(l&&"courtageVWLVonBis"==i.key)t["courtageVWL"]=i.value.find((function(e){return"min"==e.key})).value,t["courtageVWLBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(l&&"courtageAbschlussVersVonBis"==i.key)t["courtageAbschlussVers"]=i.value.find((function(e){return"min"==e.key})).value,t["courtageAbschlussVersBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(l&&"courtageBestandVersVonBis"==i.key)t["courtageBestandVers"]=i.value.find((function(e){return"min"==e.key})).value,t["courtageBestandVersBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(c&&"vertragVonBis"==i.key)t["vertragVon"]=i.value.find((function(e){return"min"==e.key})).value,t["vertragBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(c&&"vertragZuruekVonBis"==i.key)t["vertragZuruekVon"]=i.value.find((function(e){return"min"==e.key})).value,t["vertragZuruekBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(d&&"vertragVonBisAK"==i.key)t["vertragVonAK"]=i.value.find((function(e){return"min"==e.key})).value,t["vertragBisAK"]=i.value.find((function(e){return"max"==e.key})).value;else if(c&&"vertragZuruekVonBisAK"==i.key)t["vertragZuruekVonAK"]=i.value.find((function(e){return"min"==e.key})).value,t["vertragZuruekBisAK"]=i.value.find((function(e){return"max"==e.key})).value;else if(u&&"uebertragskontoVonBis"==i.key)t["uebertragskontoVon"]=i.value.find((function(e){return"min"==e.key})).value,t["uebertragskontoBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(p&&"besuchtsberichtVonBis"==i.key)t["besuchtsberichtVon"]=i.value.find((function(e){return"min"==e.key})).value,t["besuchtsberichtBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(h&&"Vertragsbegin"==i.key)t["vertragsbeginMin"]=i.value.find((function(e){return"min"==e.key})).value,t["vertragsbeginMax"]=i.value.find((function(e){return"max"==e.key})).value;else if(h&&"Vertragsende"==i.key)t["vertragsendeMin"]=i.value.find((function(e){return"min"==e.key})).value,t["vertragsendeMax"]=i.value.find((function(e){return"max"==e.key})).value;else if(h&&"Gesamt"==i.key)t["gesamtMin"]=i.value.find((function(e){return"min"==e.key})).value,t["gesamtMax"]=i.value.find((function(e){return"max"==e.key})).value;else if(f&&"Depotwert"==i.key)t["depotMin0"]=i.value.find((function(e){return"min"==e.key})).value,t["depotMax0"]=i.value.find((function(e){return"max"==e.key})).value;else if(h&&"Beteiligungen"==i.key)t["beteiligungenMin"]=i.value.find((function(e){return"min"==e.key})).value,t["beteiligungenMax"]=i.value.find((function(e){return"max"==e.key})).value;else if(h&&"Bankkonto"==i.key)t["bankkontoMin"]=i.value.find((function(e){return"min"==e.key})).value,t["bankkontoMax"]=i.value.find((function(e){return"max"==e.key})).value;else if(h&&"Jahresbeitrag"==i.key)t["jahresBetragMin"]=i.value.find((function(e){return"min"==e.key})).value,t["jahresBetragMax"]=i.value.find((function(e){return"max"==e.key})).value;else if(h&&"Kundbarzum"==i.key)t["vFaeligkeitAb"]=i.value.find((function(e){return"min"==e.key})).value,t["vFaeligkeitBis"]=i.value.find((function(e){return"max"==e.key})).value;else if(h&&"vertragGesellschaft"==i.key)a.push(i.value),t[i.key]=a;else if(h&&"fremdGesellschaft"==i.key)a.push(i.value),t[i.key]=a;else if(!u||"kategorie"!=i.key&&"potential"!=i.key){if("zustimmung"==i.key){var g,E,_,S;t["zustimmGrund"]=(null===(g=i.value)||void 0===g||null===(E=g[0])||void 0===E?void 0:E.value)||"",t["zustimmStatus"]=(null===(_=i.value)||void 0===_||null===(S=_[1])||void 0===S?void 0:S.value)||""}else if("versSparten"===i.group&&i.value)t[i.group]?t[i.group].push(i):t[i.group]=[i];else if("Versicherungen"===i.group&&"vertragStatus"===i.key)t[i.key]?t[i.key].push(i.value):t[i.key]=[i.value];else if("Depot"===i.group&&"vvWK"===i.key)t[i.key]?t[i.key].push(i.value):t[i.key]=[i.value];else if(b&&"zusInformationenFreitext"==i.key)t["zusInformationenFreitext"]=b.filter((function(e){return"zusInformationenFreitext"===e.key})).map((function(e){return e.value}));else if(i.key)if(t[i.key])if(Array.isArray(t[i.key]))t[i.key].push(i.value);else{var T=t[i.key];t[i.key]=[T,i.value]}else t[i.key]=i.value}else t[i.key]?t[i.key]+=","+i.value:t[i.key]=i.value}null!==i&&void 0!==i&&i.filterNot&&(t["filterNot"]||(t["filterNot"]=[]),t["filterNot"].push(i.key))})),this.$emit("search",t)},createItem:function(){return{menuGroupKey:"",menuItemKey:"",menuItemValue:"",type:"",invertedWithParameter:"",menuItemsComboOptions:[],comboOptions:[],footnotes:[],emptyDenied:!1}},onFilterZurucksetzen:function(){this.$emit("onFilterZurucksetzen")},onComboboxChange:function(e,t,n){this.$emit("comboboxChange",e,t,n)}},components:{BaseFilter:function(){return Promise.all([n.e("chunk-5d0f2870"),n.e("chunk-58979324"),n.e("chunk-716c0882")]).then(n.bind(null,"0f82"))}}},c=l,d=n("2877"),u=Object(d["a"])(c,a,i,!1,null,null,null);t["a"]=u.exports},6205:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"participants-input"},[n("div",{staticClass:"w-100"},[n("div",{staticClass:"label-content"},[n("span",{staticClass:"pr-3"},[e._v(e._s(e.label))]),e.warning?n("span",{staticClass:"color-danger"},[e._v(e._s(e.warning))]):e._e()]),!e.isUsersPreview||e.combinedDisplay?[e.multipleReceivers?n("div",[n("InputChips",{attrs:{availableOptions:e.availableUsers,supportCustomValue:!0,warning:e.warning,disableInput:e.disabled,isClickable:e.isReceiveUserClickable,maxItemsVisible:e.maxItemsVisible,isMaklerOnly:e.isMaklerOnly,notRemovableItem:"...",redFlagWhenDifferentLabelValue:"",loading:e.loading},on:{inputText:function(t){return e.searchReceiverUsers(t)},clickItem:function(t){return e.clickReceiveUsers(t)},removeItem:function(t){return e.deleteReceiveUsers(t)},addItem:function(t){return e.$emit("addItem",t)}},model:{value:e.receiver,callback:function(t){e.receiver=t},expression:"receiver"}})],1):n("div",[n("InputField",{attrs:{supportCustomValue:!0},model:{value:e.receiverStr,callback:function(t){e.receiverStr=t},expression:"receiverStr"}})],1)]:e._e()],2),n("div",[n("div",{staticClass:"participants-actions"},[!e.combinedDisplay||e.isUserSelect?n("BaseDropdownMenu",{attrs:{placement:"bottom-right"},scopedSlots:e._u([{key:"hook-target",fn:function(){return[n("ph-dots-three-vertical",{staticClass:"clickable",attrs:{size:24},on:{click:function(t){e.showDropdown=!e.showDropdown}}})]},proxy:!0},{key:"default",fn:function(){return[n("div",{staticClass:"dropdown-content"},[e.isUserSelect&&!e.isMaklerOnly?n("div",{staticClass:"pr-2 clickable",on:{click:function(t){return e.$emit("createManualReceiver")}}},[n("PhUserPlus",{attrs:{size:"20"}}),e.isMaklerOnly?e._e():n("span",{staticClass:"pl-2"},[e._v("Empfänger hinzufügen")])],1):e._e(),e.isUserSelect&&!e.isMaklerOnly?n("div",{staticClass:"pr-2 clickable",on:{click:e.handleAddUsers}},[n("PhBookOpen",{attrs:{size:"20"}}),n("span",{staticClass:"pl-2"},[e._v("Empfängersuche")])],1):e._e(),!e.isUserSelect&&e.isMaklerOnly?n("div",{staticClass:"pr-2 clickable",on:{click:e.handleAddMakler}},[n("PhBookOpen",{attrs:{size:"20"}}),n("span",{staticClass:"pl-2"},[e._v("Maklersuche")])],1):e._e(),e.isTableViewOnly||e.combinedDisplay?e._e():n("div",{staticClass:"clickable"},[n("div",{on:{click:function(t){return e.toggleUserPreview()}}},[e.isUsersPreview||e.isMaklerOnly?e._e():n("PhRows",{attrs:{size:"20"}}),e.isUsersPreview||e.isMaklerOnly?e._e():n("span",{staticClass:"pl-2"},[e._v("zur Tabellenansicht wechseln")])],1),n("div",{on:{click:function(t){return e.toggleUserPreview()}}},[e.isUsersPreview?n("PhColumns",{attrs:{size:"20"}}):e._e(),e.isUsersPreview?n("span",{staticClass:"pl-2"},[e._v("zur Einfügeansicht wechseln")]):e._e()],1)]),e.isUserSelect||e.isMaklerOnly?n("div",{staticClass:"pr-2 clickable",on:{click:e.handleDeleteAllUsers}},[n("PhXCircle",{attrs:{size:"20"}}),n("span",{staticClass:"pl-2"},[e._v("Empfängerliste leeren")])],1):e._e()])]},proxy:!0}],null,!1,4103508097)}):e._e()],1)])]),e.isUsersPreview||e.combinedDisplay?n("div",{staticClass:"mt-4"},[n("Table",{attrs:{hidePagination:e.hidePagination,headers:e.headers,rows:e.rows,rowsPerPage:e.maxItemsVisible},on:{"click-name":function(t){return e.clickReceiveUsers(t.data)},"action-EDIT":e.handleEdit,"action-DELETE":e.handleDelete,"action-COPY_ADDRESS":e.handleCopyAddress,"action-SEND_EMAIL":e.handleSendEmail,"action-SEND_EMAIL_SINGLE":e.handleSendEmailSingle,"action-SET_ADDRESS":e.handleSetAddress,"click-handleSendEmailSingle":e.handleSendEmailSingle,"click-handleSetAddress":e.handleSetAddress},scopedSlots:e._u([{key:"role",fn:function(t){return[n("ComboBox",{attrs:{disabled:t.data.disabled,label:"",value:t.rolle,values:e.rolleOptions,firstEmpty:!1},on:{change:function(n){return e.onChange(t,n,"rolle")}}})]}},{key:"canChange",fn:function(t){return[n("InputCheckBoxItem",{attrs:{label:"Ändern",value:t.canChange},on:{input:function(n){return e.onChange(t,n,"canChange")}}})]}},{key:"alarmMsc",fn:function(t){return[n("InputCheckBoxItem",{attrs:{label:"anzeigen",value:t.data.alarmMsc,disabled:!t.canChangeValues},on:{input:function(n){return e.onChange(t,n,"alarmMsc")}}})]}},{key:"alarmMail",fn:function(t){return[n("InputCheckBoxItem",{attrs:{label:"versenden",value:t.alarmMail,disabled:!t.canChangeValues},on:{input:function(n){return e.onChange(t,n,"alarmMail")}}})]}},{key:"alarmDailyMail",fn:function(t){return[n("InputCheckBoxItem",{attrs:{label:"versenden",value:t.alarmDailyMail,disabled:!t.canChangeValues},on:{input:function(n){return e.onChange(t,n,"alarmDailyMail")}}})]}}],null,!1,904577088)})],1):e._e(),n("BaseModal",{ref:"editModal",attrs:{modalTitle:"",showDefaultButtons:!1}},[n("InputField",{attrs:{label:"Name",placeholder:"Name",type:"text"},model:{value:e.form.label,callback:function(t){e.$set(e.form,"label",t)},expression:"form.label"}}),n("InputField",{attrs:{label:e.isFax?"Fax":"E-Mail",placeholder:e.isFax?"Fax":"E-Mail",type:"text"},model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}}),n("div",{staticClass:"modal-footer"},[n("BaseButton",{attrs:{type:"submit"},on:{click:e.saveParticipant}},[e._v("Ok")])],1)],1)],1)},i=[],s=n("2909"),r=n("ade3"),o=n("5530"),l=(n("a9e3"),n("c740"),n("498a"),n("a434"),n("99af"),n("d81d"),n("b0c0"),n("b64b"),n("2f62")),c=n("85ed"),d=n("c704"),u=n("c0a4"),p=n("689f"),h=n("d53f"),f=n("9131"),m=n("5818"),b=n("41d3"),v=n("a871"),g=n("04bc"),E=n("bb48"),_=(n("876f"),n("de6c"),n("64c5")),S=n("a9e4"),T=15,x={components:{InputChips:c["default"],InputField:d["default"],PhUserPlus:u["PhUserPlus"],PhRows:u["PhRows"],PhColumns:u["PhColumns"],PhBookOpen:u["PhBookOpen"],PhDotsThreeVertical:u["PhDotsThreeVertical"],PhXCircle:u["PhXCircle"],PhHouseSimple:u["PhHouseSimple"],PhEnvelopeSimple:u["PhEnvelopeSimple"],Table:p["a"],ComboBox:f["default"],InputCheckBoxItem:m["a"],BaseModal:v["a"],BaseButton:g["default"],BaseDropdownMenu:E["a"]},props:{label:{type:String,default:""},warning:{type:String,default:""},isUserSelect:{type:Boolean,default:!0},isRole:{type:Boolean,default:!1},value:{type:Array,default:function(){return[]}},availableUsers:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},multipleReceivers:{type:Boolean,default:!0},isReceiveUserClickable:{type:Function},maxItemsVisible:{type:Number,default:T},isTableViewOnly:{type:Boolean,default:!1},combinedDisplay:{type:Boolean,default:!1},hidePagination:{type:Boolean,default:!1},showMailAndAddressActions:{type:Boolean,default:!1},isFax:{type:Boolean,default:!1},isMaklerOnly:{type:Boolean,default:!1},bereich:{type:String,default:""},loading:{type:Boolean,default:!1}},data:function(){return{isUsersPreview:!1,form:{label:"",email:""},selectedParticipant:0,showDropdown:!1,isMultipleBesitzerRolles:!1}},mounted:function(){this.isUsersPreview=this.isTableViewOnly,this.isRole&&this.$store.dispatch(b["default"].ACTIONS.RETRIEVE_APPOINTMENT_COMBOS)},methods:{onChange:function(e,t,n){var a,i;if("rolle"!==n)this.isMultipleBesitzerRolles="BESITZER"===t&&this.value.some((function(e){return"BESITZER"===e.rolle})),this.$emit("setBesitzer",this.isMultipleBesitzerRolles),"BESITZER"!==t?this.$emit("onChange",{field:n,value:t,id:null===e||void 0===e||null===(a=e.data)||void 0===a?void 0:a.id,data:Object(o["a"])(Object(o["a"])({},(null===e||void 0===e||null===(i=e.data)||void 0===i?void 0:i.beteiligte)||(null===e||void 0===e?void 0:e.data)),{},Object(r["a"])({},n,t))}):this.$store.commit(b["default"].MUTATIONS.UPDATE_BETEILIGTE,Object(o["a"])(Object(o["a"])({},null===e||void 0===e?void 0:e.data),{},{rolle:"BESITZER"}));else{var s;switch(e.data.rolle=t,t){case"BESITZER":case"BEARBEITER":e.data.canChange=!0,e.data.alarmMail=!0,e.data.alarmDailyMail=!0,e.data.alarmMsc=!0;break;case"TEILNEHMER":"Termin"===this.bereich?(e.data.canChange=!0,e.data.alarmMail=!0,e.data.alarmDailyMail=!0,e.data.alarmMsc=!0):(e.data.canChange=!1,e.data.alarmMail=!1,e.data.alarmDailyMail=!1,e.data.alarmMsc=!1);break;default:e.data.canChange=!1,e.data.alarmMail=!1,e.data.alarmDailyMail=!1,e.data.alarmMsc=!1;break}this.$emit("onChange",{field:n,value:t,id:null===e||void 0===e||null===(s=e.data)||void 0===s?void 0:s.id,data:Object(o["a"])({},null===e||void 0===e?void 0:e.data)})}},clickReceiveUsers:function(e){"..."===e.value?this.isUsersPreview=!0:this.$emit("clickReceiveUsers",e)},deleteReceiveUsers:function(e){this.$emit("deleteReceiveUsers",e)},searchReceiverUsers:function(e){this.$emit("searchReceiverUsers",e)},handleAddUsers:function(e){this.$emit("handleAddUsers",e)},handleAddMakler:function(e){this.$emit("handleAddMakler",e)},handleDeleteAllUsers:function(){this.$emit("deleteAllReceiveUsers",this.receiver)},handleEdit:function(e){var t=e.index;e.nummer&&(t=this.receiver.findIndex((function(t){return t.value===e.nummer}))),this.selectedParticipant=t,this.form={label:(this.receiver[t].label||"").trim(),email:(this.receiver[t].email||"").trim()},this.$refs.editModal.open()},handleDelete:function(e){var t=e.index;if(t>-1){var n=this.receiver[t];this.receiver.splice(t,1),this.deleteReceiveUsers(n)}},handleCopyAddress:function(e){this.$emit("copyAddress",e)},handleSendEmail:function(e){this.$emit("sendEmail",e)},handleSendEmailSingle:function(e){var t;this.$emit("sendEmailSingle",[null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.beteiligte])},handleSetAddress:function(e){var t;this.$emit("setAddress",null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.address)},saveParticipant:function(){var e=this.form.label||"";e||(e=this.form.email);var t=Object(o["a"])(Object(o["a"])({},this.value[this.selectedParticipant]),{},{data:Object(o["a"])(Object(o["a"])({},this.value[this.selectedParticipant].data),{},{name:this.form.label}),label:e,name:e,email:this.form.email,value:this.value[this.selectedParticipant].value||""});t.value&&-1!==t.value.indexOf("@")&&(t.value=t.email),this.value[this.selectedParticipant]=t;var n=Object(s["a"])(this.value);this.$emit("input",n),this.$emit("onChange",{data:Object(o["a"])(Object(o["a"])({},t),{},{index:this.selectedParticipant})}),this.$refs.editModal.close()},toggleUserPreview:function(){this.isUsersPreview=!this.isUsersPreview,this.$emit("userPreview",this.isUsersPreview)}},computed:Object(o["a"])(Object(o["a"])({},Object(l["b"])({getAppointmentCombos:b["default"].GETTERS.GET_APPOINTMENT_COMBOS,loginData:_["default"].GETTERS.GET_LOGIN_DATA,hasRoles:_["default"].GETTERS.HAS_ROLES})),{},{headers:function(){var e={lockedLeft:[Object(h["TextColumn"])("nummerText","Nummer"),Object(h["TextColumn"])("name","Name").makeConditionalLink("isReceiveUserClickable")].concat(Object(s["a"])(this.showMailAndAddressActions?[Object(h["IconColumn"])("handleSetAddress","").makeLink(),Object(h["IconColumn"])("handleSendEmailSingle","").makeLink()]:[])),center:[Object(h["TextColumn"])("email",this.isFax?"Fax":"E-Mail")],lockedRight:[Object(h["ActionColumn"])("actions","")]};return this.isRole&&(e.center.push(Object(h["SlotColumn"])("role","Rolle")),e.center.push(Object(h["SlotColumn"])("canChange","Ändern")),e.center.push(Object(h["SlotColumn"])("alarmMsc","Nachricht Popup")),e.center.push(Object(h["SlotColumn"])("alarmMail","Nachricht E-Mail")),e.center.push(Object(h["SlotColumn"])("alarmDailyMail","E-Mail aktueller Tag"))),e},rows:function(){var e=this,t=[Object(h["SimpleAction"])("EDIT","PhPencilLine","Bearbeiten"),Object(h["SimpleAction"])("DELETE",u["PhTrash"],"Löschen")].concat(Object(s["a"])(this.showMailAndAddressActions?[Object(h["SimpleAction"])("SET_ADDRESS","PhHouseSimple","Anschrift als Ort übernehmen"),Object(h["SimpleAction"])("SEND_EMAIL_SINGLE","PhEnvelopeSimple","Eine Terminbestätigung-E-Mail schicken")]:[]));return this.hasRoles(S["g"].TEST_USER&&this.$listeners.copyAddress&&this.$listeners.sendEmail)&&(t.splice(1,0,Object(h["SimpleAction"])("COPY_ADDRESS","PhMapPin","Anschrift als Ort verwenden")),t.splice(1,0,Object(h["SimpleAction"])("SEND_EMAIL","PhEnvelope","Eine Terminbestätigungs-E-Mail schicken"))),(this.value||[]).map((function(n,a){var i,s,r,o;return{index:a,id:n.value+" -- "+n.label+" -- "+n.email,nummer:n.value,nummerText:n.nummerText||n.value,name:n.name||n.label,email:n.email||(n.label===n.value?n.value:"")||n.fax,rolle:(null===(i=n.beteiligte)||void 0===i?void 0:i.rolle)||n.rolle,data:n,canChange:void 0!==n.canChange?n.canChange:n.value!==(null===(s=e.loginData)||void 0===s?void 0:s.loginUserid),canChangeValues:n.canChange||n.value!==(null===(r=e.loginData)||void 0===r?void 0:r.loginUserid),alarmMail:n.alarmMail,alarmMsc:n.alarmMsc,alarmDailyMail:n.alarmDailyMail,isReceiveUserClickable:null===(o=e.isReceiveUserClickable)||void 0===o?void 0:o.call(e,n),address:n.address,handleSetAddress:Object(h["Icon"])(u["PhHouseSimple"],"Anschrift als Ort übernehmen",20),handleSendEmailSingle:Object(h["Icon"])(u["PhEnvelopeSimple"],"Eine Terminbestätigung-E-Mail schicken",20),actions:t}}))},receiver:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},receiverStr:{get:function(){var e,t;return"string"===typeof this.value?this.value:(null===(e=this.value)||void 0===e?void 0:e.length)&&(null===(t=this.value[0])||void 0===t?void 0:t.label)||""},set:function(e){this.$emit("input",[e])}},rolleOptions:function(){var e=this;return this.getAppointmentCombos&&this.getAppointmentCombos.rolleCombo&&Object.keys(this.getAppointmentCombos.rolleCombo).map((function(t){return{value:t,label:e.getAppointmentCombos.rolleCombo[t]}}))||[]}})},y=x,k=(n("62a8"),n("2877")),I=Object(k["a"])(y,a,i,!1,null,"445f2461",null);t["a"]=I.exports},"62a8":function(e,t,n){"use strict";n("6870")},"62d6":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.stepperMediator?n("div",{staticClass:"container"},[e.isSmallOrMediumScreen?n("div",{class:["template-top",e.stepperClass,e.stepType]},[e.$slots.headerTemplate?n("div",{class:["template-top",e.stepperClass,e.stepType]},[e._t("headerTemplate")],2):e._e(),n("Stepper3",{ref:"stepper3",attrs:{steps:e.stepperMediator.getCurrentStepList(),stepType:"step",disabledUpdate:"fixed"===e.stepType,visible:e.showStepper,stepperName:e.stepperName,selectedStepKey:e.currentStepKey,selectedSubstepKey:e.currentSubstepKey,stepperService:e.stepperMediator},on:{setStep:e.setStepOnMobile,setSubstep:e.setSubstepOnMobile}})],1):e._e(),e.$slots.headerTemplate&&!e.isSmallOrMediumScreen?n("div",{class:["template-top",e.stepperClass,e.stepType]},[e._t("headerTemplate")],2):e._e(),e.isSmallOrMediumScreen?e._e():n("ContentWithStepper",{attrs:{stepperCollapsed:e.stepperCollapsed},scopedSlots:e._u([e.showVerticalStepper?{key:"stepper",fn:function(){return[n("div",{staticClass:"box__container"},[e.isDynamicDocument?n("DynamicVerticalStepper",{ref:"stepper",staticClass:"responsive-stepper",attrs:{stepType:e.stepType,stepperName:e.stepperName,selectedStepKey:e.currentStepKey,selectedSubstepKey:e.currentSubstepKey,stepperService:e.stepperMediator,showCollapse:!0,showSaveSpinner:e.showSaveSpinner},on:{setStep:e.setStep,setSubstep:e.setSubstep,collapsed:function(t){e.stepperCollapsed=t},addStep:function(t){return e.$emit("addStep")},removeStep:function(t){return e.$emit("removeStep",t)},copyStep:function(t){return e.$emit("copyStep",t)},orderChanged:function(t){return e.$emit("orderChanged",t)}}}):n("VerticalStepper",{ref:"stepper",staticClass:"responsive-stepper",attrs:{stepType:e.stepType,stepperName:e.stepperName,selectedStepKey:e.currentStepKey,selectedSubstepKey:e.currentSubstepKey,stepperService:e.stepperMediator,showCollapse:!0,showSaveSpinner:e.showSaveSpinner},on:{setStep:e.setStep,setSubstep:e.setSubstep,collapsed:function(t){e.stepperCollapsed=t}}})],1)]},proxy:!0}:null,{key:"content",fn:function(){return[n("div",{staticClass:"row my-0 template-middle",class:[e.stepperClass,e.stepType]},[n("div",{staticClass:"col-12 template-content",class:[e.stepperClass,e.getTemplateContentClass()]},[e._t("contentTemplate",null,{data:e.currentStep,currentSubstep:e.currentSubstep}),e.$slots.footerTemplate?n("div",{staticClass:"template-bottom"},[e._t("footerTemplate")],2):e._e()],2),e.hasSidetextTemplate?n("div",{staticClass:"col-md-3 col-12",class:[e.getSideTextClass()]},[e._t("sidetextTemplate")],2):e._e()]),e.hideNavigationButtons?e._e():n("div",{staticClass:"template-navigation-buttons"},[n("div",{staticClass:"box__container"},[e.$slots.customBottomButtons?n("div",{staticClass:"m-0 mr-3"},[e._t("customBottomButtons")],2):e._e(),e._t("buttonsTemplate",(function(){return[e.zuruckEnabled||e.zuruckEnabledSubsteps?n("BaseButton",{staticClass:"m-0 mr-3",attrs:{disabled:e.showSaveSpinner,isSecondary:""},on:{click:function(t){return e.backStep()}}},[e._v(" Zurück "),e.showSaveSpinner&&e.lastBottomButtonAction===e.ACTION_PREV?n("AnimatedSpinner"):e._e()],1):e._e(),e.weiterEnabled||e.weiterEnabledSubsteps?n("BaseButton",{staticClass:"m-0 mr-3",attrs:{disabled:e.showSaveSpinner,"is-primary":""},on:{click:function(t){return e.nextStep()}}},[e._v(" Weiter "),e.showSaveSpinner&&e.lastBottomButtonAction===e.ACTION_NEXT?n("AnimatedSpinner"):e._e()],1):e._e(),e.hasFertig&&e.isLastStep?n("BaseButton",{staticClass:"m-0",attrs:{disabled:e.showSaveSpinner,"is-primary":""},on:{click:function(t){return e.fertig()}}},[e._v(" Schließen "),e.showSaveSpinner&&e.lastBottomButtonAction===e.ACTION_FINISH?n("AnimatedSpinner"):e._e()],1):e._e()]}))],2)])]},proxy:!0}],null,!0)}),n("BaseModal",{ref:"editModal",attrs:{modalTitle:e.editModalTitle,size:"lg",showCancelButton:!1,actions:e.baseModalActions,showConfirmButton:!1,autoCloseOnRouteNavigation:!1,backNavigationOnClose:e.backNavigationOnClose},on:{onCloseButton:function(t){return e.onCloseEditModal()},"action-WEITER":function(t){return e.nextStep()},"action-ZURUCK":function(t){return e.backStep()},action:e.emitAction}},[e.loadingStep?e._e():n("div",{staticClass:"modal__container"},[n("div",{staticClass:"row my-0 template-middle",class:[e.stepperClass,e.stepType]},[n("div",{staticClass:"col-12 template-content",class:[e.stepperClass,e.getTemplateContentClass()]},[e._t("contentTemplate",null,{data:e.currentStep,currentSubstep:e.currentSubstep}),e.$slots.footerTemplate?n("div",{staticClass:"template-bottom"},[e._t("footerTemplate")],2):e._e()],2),e.hasSidetextTemplate?n("div",{staticClass:"col-md-3 col-12",class:[e.getSideTextClass()]},[e._t("sidetextTemplate")],2):e._e()])])])],1):e._e()},i=[],s=n("1da1"),r=n("2909"),o=n("5530"),l=(n("96cf"),n("4de4"),n("fb6a"),n("c740"),n("99af"),n("a15b"),n("7db0"),n("04bc")),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"rail"},[e._l(e.getTotalProgressArray(),(function(t,a){return[n("div",{key:a,class:["step",e.isShowProgress(t)?"step-progress":"",e.isShowEmpty(t)?"step-empty":"",e.isShowWarning(t)?"step-warning":""],on:{click:function(n){e.$emit("click",{stepKey:e.step.stepKey,substepKey:e.getSubstepKey(a),index:t})}}})]}))],2)},d=[],u=(n("d81d"),n("cb29"),n("9911"),{props:{step:{type:Object,default:function(){}},currentStep:{type:Object,default:function(){return{}}}},mounted:function(){},computed:{},methods:{isActive:function(e){return this.currentStep&&this.currentStep.step.stepKey===e},getTotalProgressArray:function(){return Array(this.step.totalProgress).fill(0).map((function(e,t){return t}))},onClickStep:function(e){this.step&&this.step.alreadyVisitedStep&&this.step.substeps&&this.step.substeps[e]&&(this.step.substeps[e].actionFunc&&this.step.substeps[e].actionFunc(),this.step.substeps[e].link&&this.router.navigate([this.step.substeps[e].link]))},getVisibleSubsteps:function(){return this.step&&this.step.substeps&&this.step.substeps.length&&this.step&&this.step.substeps&&this.step.substeps.filter((function(e){return!e.hidden}))||[]},getSubstepKey:function(e){var t=this.getVisibleSubsteps();return t.length>e?t[e].substepKey:""},isShowProgress:function(e){var t=!0,n=this.getVisibleSubsteps();return n.length>e&&n[e]&&(t=!n[e].warning),this.step.current?t&&this.step.currentProgress>e:this.step.before?t:void 0},isShowWarning:function(e){var t=!1,n=this.getVisibleSubsteps();return n.length>e&&n[e]&&(t=n[e].warning),this.step.current?t&&this.step.currentProgress>e:this.step.before?t:void 0},isShowEmpty:function(e){return this.step.current?this.step.currentProgress<=e:!!this.step.after||!this.step.before}}}),p=u,h=(n("f605"),n("2877")),f=Object(h["a"])(p,c,d,!1,null,"f8102502",null),m=f.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container",on:{click:function(t){return e.$emit("click",e.step.stepkey)}}},[n("span",{staticClass:"stop-content clickable",class:[e.step.current&&"stop-content__current"]},[e.step.loading?[n("svg",{staticClass:"stop-loading",style:{"animation-delay":100*e.index+"ms"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 52"}},[n("circle",{staticClass:"stop-loading__circle",style:{"animation-delay":100*e.index+"ms"},attrs:{cx:"26",cy:"26",r:"18","stroke-width":"6","stroke-dasharray":"86",fill:"none"}})]),n("div",{staticClass:"stop-loading-small"})]:[e.step.success?[n("svg",{staticClass:"stop-checkmark",style:{"animation-delay":100*e.index+"ms"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 52"}},[n("circle",{staticClass:"stop-checkmark__circle",style:{"animation-delay":100*e.index+"ms"},attrs:{cx:"26",cy:"26",r:"25",fill:"none"}}),n("path",{staticClass:"stop-checkmark__content",style:{"animation-delay":100*e.index+"ms"},attrs:{fill:"none","stroke-width":"5",d:"M14.1 27.2l7.1 7.2 16.7-16.8"}})]),n("div",{staticClass:"stop-checkmark-small"})]:e._e(),e.step.warning?[n("svg",{staticClass:"stop-exclamation-mark",style:{"animation-delay":100*e.index+"ms"},attrs:{viewBox:"0 0 52 52",xmlns:"http://www.w3.org/2000/svg"}},[n("circle",{staticClass:"stop-exclamation-mark__circle",style:{"animation-delay":100*e.index+"ms"},attrs:{cx:"26",cy:"26",r:"25",fill:"none"}}),n("path",{staticClass:"stop-exclamation-mark__content",style:{"animation-delay":100*e.index+"ms"},attrs:{fill:"none",d:"m28.836 39.219q0 1.1484-0.82031 1.9922-0.79688 0.84375-2.0156 0.84375t-2.0391-0.84375q-0.79688-0.84375-0.79688-1.9922 0-1.1953 0.82031-2.0156 0.82031-0.82031 2.0156-0.82031 1.1953 0 2.0156 0.82031 0.82031 0.82031 0.82031 2.0156zm-5.3906-29.273h5.1094l-1.4531 22.312h-2.2031z"}})]),n("div",{staticClass:"stop-exclamation-mark-small"})]:e._e()]],2),n("div",{class:["stop-label clickable",e.first&&"stop-label--left",!e.first&&!e.last&&"class.stop-label--center",e.last&&"class.stop-label--right",e.step.current&&"class.stop-label__current"]},[e._v(e._s(e.step.label))])])},v=[],g=(n("a9e3"),{props:{step:{type:Object,default:function(){}},first:{type:Boolean,default:!1},last:{type:Boolean,default:!1},index:{type:Number,default:0},currentStep:{type:Object,default:function(){return{}}}},mounted:function(){},computed:{},methods:{isActive:function(e){return this.currentStep&&this.currentStep.step.stepKey===e}}}),E=g,_=(n("6bb9"),Object(h["a"])(E,b,v,!1,null,"44a6ff20",null)),S=_.exports,T=n("6301"),x=n("066f"),y=n("50ca"),k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vertical-stepper",class:{"vertical-stepper--collapsed":e.collapsed,"vertical-stepper--collapsable":e.showCollapse}},[e.showCollapse?n("div",{staticClass:"vertical-stepper--collapse-toggle__container"},[n("button",{staticClass:"vertical-stepper--collapse-toggle btn-clear clickable",attrs:{type:"button"},on:{click:function(t){return e.toggleCollapse()}}},[n("PhCaretLeft",{attrs:{size:24}})],1)]):e._e(),n("div",{staticClass:"vertical-stepper--items"},[n("div",{staticClass:"vertical-stepper--items__wrap"},[e.stepsComputed&&e.stepsComputed.length?[n("SortableList",{attrs:{items:e.stepsComputed},on:{orderChanged:function(t){return e.onOrderChanged(t)}}},[n("ul",{staticClass:"list-bordered",attrs:{"data-sortable-container":""}},e._l(e.stepsComputed,(function(t){return n("li",{key:t.stepKey,staticClass:"vertical-stepper--item",attrs:{"data-sortable-item":""}},[n("div",{staticStyle:{display:"flex"}},[n("DynamicVerticalStepItem",{staticClass:"mr-2",attrs:{step:t,stepType:e.stepType,isCurrent:e.selectedStepKey===t.stepKey,showSaveSpinner:e.showSaveSpinner&&e.stepClicked===t.stepKey,collapsed:e.collapsed},on:{click:function(n){return e.onClickStop(t.stepKey)}}}),e.collapsed?e._e():n("div",{staticClass:"vertical-step__action-container ml-2"},[n("ph-copy",{staticClass:"color-info vertical-stop__action mr-1 clickable",attrs:{weight:"fill",size:22},on:{click:function(n){return e.copyStep(t)}}}),n("ph-x",{staticClass:"color-danger vertical-stop__action mr-1 ml-1 clickable",attrs:{weight:"fill",size:22},on:{click:function(n){return e.removeStep(t)}}}),n("ph-list",{staticClass:"vertical-stop__action ml-1 clickable",attrs:{"data-sortable-item-handler":"",weight:"fill",size:22}})],1)],1),e._l(e.getSubsteps(t),(function(a,i){return n("VerticalSubstepItem",{key:i+e.lastUpdated,attrs:{isCurrent:e.selectedSubstepKey===a.substepKey,substep:a,collapsed:e.collapsed},on:{click:function(n){return e.onClickSubstep(t.stepKey,a.substepKey)}}})}))],2)})),0)])]:n("GhostLoading",{attrs:{type:"block",config:{block:{height:24}},repeat:1}}),e.collapsed?e._e():n("div",{staticClass:"vertical-step__icon-container clickable",staticStyle:{"font-size":"30px","background-color":"lightgrey"},on:{click:function(t){return e.addStep()}}},[n("ph-plus")],1)],2)])])},I=[],C=n("c0a4"),A=n("c1a1"),w=n("6eb5"),O=n("2ab8"),D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"stepper-item__container clickable",class:{"stepper-item--selected":e.isCurrent},staticStyle:{width:"100%"},attrs:{tid:e._generateTidFromString(e.step.label)},on:{click:function(t){return e.$emit("click",t)},mouseover:function(t){return e.handleMouseOver(t)},mouseleave:function(t){return e.handleMouseLeave(t)}}},[n("div",{staticClass:"stepper-item__icon"},[n("VerticalStepIcon",{attrs:{stepperStatus:e.stepperStatus,isCurrent:e.isCurrent,collapsed:e.collapsed}})],1),n("span",{staticClass:"vertical-stop__label",class:{"vertical-stop__label--selected":e.isCurrent}},[n("span",{domProps:{innerHTML:e._s(e.sanitize(e.step.label))}}),e._v(" "),e.showSaveSpinner?n("AnimatedSpinner"):e._e()],1)])},N=[],R=n("e029"),M=n("2042"),P=n("6bcb"),B=n("b967"),L=n("b20b"),U={mixins:[R["a"],B["a"]],props:{step:{},showSaveSpinner:{type:Boolean,default:!1},isCurrent:{type:Boolean,default:!1},stepType:{type:String,default:"step"},collapsed:{type:Boolean,default:!1}},computed:{stepperStatus:function(){return"tab"===this.stepType?this.step.warning?"warning":"default":this.step.warning?"warning":this.step.success?"success":"default"}},methods:{sanitize:function(e){return Object(L["b"])(e)}},components:{AnimatedSpinner:M["a"],VerticalStepIcon:P["a"]}},F=U,z=(n("a263"),Object(h["a"])(F,D,N,!1,null,"bbf160a0",null)),j=z.exports,$=n("4035"),G=n("1fe6"),V={components:{DynamicVerticalStepItem:j,PhCaretLeft:C["PhCaretLeft"],PhPlus:C["PhPlus"],GhostLoading:w["a"],Block:O["a"],VerticalStepIcon:P["a"],PhX:C["PhX"],VerticalSubstepItem:$["a"],SortableList:G["a"],PhList:C["PhList"],PhCopy:C["PhCopy"]},props:{currentStep:{type:Object,default:function(){return{}}},stepperName:{type:String,default:""},stepType:{type:String,default:"step"},selectedStepKey:{type:String,default:""},selectedSubstepKey:{type:String,default:""},visible:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},stepperService:{default:function(){return null}},antragData:{},showSaveSpinner:{type:Boolean,default:!1},showCollapse:{type:Boolean,default:!1}},watch:{selectedStepKey:function(e){this.progress(e),this.updateStepList()},showSaveSpinner:function(e){e||(this.stepClicked=null)},stepperService:function(){var e=this.selectedStepKey;e&&this.progress(e),this.updateStepList()},"stepperService.stepListSource":{handler:function(){this.updateStepList()}},collapsed:{handler:function(e){this.$emit("collapsed",e)},immediate:!0}},data:function(){return{stepsComputed:null,lastUpdated:Date.now(),stepClicked:null,collapsed:!1}},methods:{getSubsteps:function(e){var t;return(null===e||void 0===e||null===(t=e.substeps)||void 0===t?void 0:t.length)>0?e.substeps:[{}]},onClickStop:function(e){this.disabled||(this.$emit("setStep",e),this.progress(e),this.stepClicked=e)},onClickSubstep:function(e,t){t&&!this.disabled&&(this.$emit("setSubstep",{stepKey:e,substepKey:t}),this.progress(e,t),this.stepClicked=e)},progress:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.stepperService&&(this.stepperService.progress(e,t,"fixed"===this.stepType),this.stepperService.currentStep)){this.stepperService.currentStep.actionFunc&&this.stepperService.currentStep.actionFunc();var n=this.stepperService.currentStep.link;n&&n!==this.$route.path&&this.$router.push({path:n})}},updateStepList:function(){var e=this.stepperService.getCurrentStepList(),t=Object(A["e"])(e,this.antragData);this.stepsComputed=t,this.lastUpdated=Date.now()},toggleCollapse:function(){this.collapsed=!this.collapsed},copyStep:function(e){this.$emit("copyStep",e)},removeStep:function(e){this.$emit("removeStep",e)},addStep:function(){this.$emit("addStep")},onOrderChanged:function(e){this.$emit("orderChanged",e)}},mounted:function(){this.updateStepList()},beforeDestroy:function(){this.collapsed=!1}},K=V,H=(n("7cd0"),n("a947"),Object(h["a"])(K,k,I,!1,null,"0b306da5",null)),W=H.exports,Z=n("4e17"),Y=n("64c5"),X=n("8767"),q=n("2f62"),J=n("a871"),Q=n("2810"),ee=n("2684"),te="next",ne="prev",ae="finish",ie={props:{stepperName:{type:String,default:"default"},stepperClass:{type:String,default:""},stepType:{type:String,default:"step"},showStepper:{type:Boolean,default:!0},stepperMediator:{default:function(){return null}},hasFertig:{type:Boolean,default:!0},selectedStepKey:{type:String,default:""},selectedSubstepKey:{type:String,default:""},showVerticalStepper:{type:Boolean,default:!0},showSaveSpinner:{type:Boolean,default:!1},isDynamicDocument:{type:Boolean,default:!1},hideNavigationButtons:{type:Boolean,default:!1},additionalActionsForMobile:{type:Array,default:function(){return[]}},backNavigationOnClose:{type:Boolean,default:!1},ignoreOpenModalOnMount:{type:Boolean,default:!1}},data:function(){return{currentStep:{},currentSubstep:{},stepperCollapsed:!1,lastBottomButtonAction:"",ACTION_NEXT:te,ACTION_PREV:ne,ACTION_FINISH:ae,loadingStep:!1}},computed:Object(o["a"])(Object(o["a"])({},Object(q["b"])({isSmallScreen:Y["default"].GETTERS.IS_SMALL_SCREEN,shouldReopenAppModal:X["default"].GETTERS.SHOULD_REOPEN_APP_MODAL,isMobileNativeContext:ee["default"].GETTERS.IS_MOBILE_NATIVE_CONTEXT,screenSize:Y["default"].GETTERS.SCREEN_WIDTH})),{},{editModalTitle:function(){var e,t;return(null===(e=this.currentSubstep)||void 0===e?void 0:e.label)||(null===(t=this.currentStep)||void 0===t?void 0:t.label)||""},isSmallOrMediumScreen:function(){return this.isSmallScreen||this.isMediumScreen},isMediumScreen:function(){return"md"===this.screenSize},currentStepKey:function(){var e;return null===(e=this.currentStep)||void 0===e?void 0:e.stepKey},currentSubstepKey:function(){var e;return null===(e=this.currentSubstep)||void 0===e?void 0:e.substepKey},hasSidetextTemplate:function(){return!!this.$slots.sidetextTemplate},zuruckEnabled:function(){var e=this.stepperMediator.getCurrentStepIndex(this.currentStepKey);return e>0},zuruckEnabledSubsteps:function(){var e,t;if(null===(e=this.currentStep)||void 0===e||null===(t=e.substeps)||void 0===t||!t.length)return!1;var n=this.stepperMediator.getCurrentSubStepIndex(this.currentStepKey,this.currentSubstepKey);return n>0},weiterEnabled:function(){var e=this.stepperMediator.getCurrentStepIndex(this.currentStepKey),t=this.stepperMediator.getCurrentStepList().slice(e+1).filter((function(e){return!e.hidden})).length;return t>0},weiterEnabledSubsteps:function(){var e,t=this,n=this.currentStep;if(null===n||void 0===n||null===(e=n.substeps)||void 0===e||!e.length)return!1;var a=n.substeps.findIndex((function(e){return e.substepKey===t.currentSubstepKey})),i=n.substeps.slice(a+1).filter((function(e){return!e.hidden})).length;return i>0},isLastStep:function(){var e=this.stepperMediator.getLastStep();return(null===e||void 0===e?void 0:e.stepKey)===this.currentStepKey},baseModalActions:function(){var e=this,t=!this.hideNavigationButtons,n=[Object(Q["c"])("WEITER","Weiter").withPrimary((function(){return!0})).withVisible((function(){return t&&(e.weiterEnabled||e.weiterEnabledSubsteps)})),Object(Q["c"])("ZURUCK","Zurück").withPrimary((function(){return!1})).withVisible((function(){return t&&(e.zuruckEnabled||e.zuruckEnabledSubsteps)}))];return[].concat(n,Object(r["a"])(this.additionalActionsForMobile))}}),watch:{"stepperMediator.stepListSource":{handler:function(e){e.length>0&&this.setStepObj({stepKey:this.selectedStepKey,substepKey:this.selectedSubstepKey},!1)},immediate:!0},selectedStepKey:{handler:function(e){this.currentStepKey!==e&&this.setStepObj({stepKey:e,substepKey:this.selectedSubstepKey},!1)},immediate:!0},selectedSubstepKey:{handler:function(e){this.currentSubstepKey!==e&&this.setSubstep({stepKey:this.selectedStepKey,substepKey:e},!1)},immediate:!0},steps:function(){this.currentStepKey!==this.selectedStepKey&&this.setStepObj({stepKey:this.selectedStepKey,substepKey:this.selectedSubstepKey},!1)},showSaveSpinner:function(e){e||(this.lastBottomButtonAction="")}},methods:{getSideTextClass:function(){return"template-sidetext "+this.stepperClass},openEditModal:function(){this.$refs.editModal.isOpen||this.$refs.editModal.open()},getTemplateContentClass:function(){var e=[];return this.hasSidetextTemplate&&e.push("col-md-9"),e.join(" ")},setStepOnMobile:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.setStep(e,!0);case 2:case"end":return n.stop()}}),n)})))()},setSubstepOnMobile:function(e){this.setSubstep(e,!0),this.displayEditModal()},displayEditModal:function(){this.isSmallOrMediumScreen&&(this.shouldReopenAppModal?this.openEditModal():this.$store.commit(X["default"].MUTATIONS.SET_SHOULD_REOPEN_APP_MODAL,{shouldReopenAppModal:!0}))},setStep:function(e){var t=arguments,n=this;return Object(s["a"])(regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return i=!(t.length>1&&void 0!==t[1])||t[1],a.next=3,n.setStepObj({stepKey:e},i);case 3:case"end":return a.stop()}}),a)})))()},setStepObj:function(e){var t=arguments,n=this;return Object(s["a"])(regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:i=!(t.length>1&&void 0!==t[1])||t[1],i?(n.$emit("set-step",null===e||void 0===e?void 0:e.stepKey),n.displayEditModal()):(n.setStepByKey(null===e||void 0===e?void 0:e.stepKey),n.setSubstepByKey(null===e||void 0===e?void 0:e.stepKey,null===e||void 0===e?void 0:e.substepKey));case 2:case"end":return a.stop()}}),a)})))()},setSubstep:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t?(this.$emit("set-substep",e),this.isSmallOrMediumScreen&&this.$store.commit(X["default"].MUTATIONS.SET_SHOULD_REOPEN_APP_MODAL,{shouldReopenAppModal:!0})):(this.setStepByKey(null===e||void 0===e?void 0:e.stepKey),this.setSubstepByKey(null===e||void 0===e?void 0:e.stepKey,null===e||void 0===e?void 0:e.substepKey)),this.isSmallOrMediumScreen&&this.$store.commit(X["default"].MUTATIONS.SET_SHOULD_REOPEN_APP_MODAL,{shouldReopenAppModal:!0})},setStepByKey:function(e){var t=this.stepperMediator.getCurrentStep(e);t&&(this.currentStep=Object(o["a"])({},t))},setSubstepByKey:function(e,t){var n;this.currentSubstep={};var a=this.stepperMediator.getCurrentStep(e);if(null!==a&&void 0!==a&&null!==(n=a.substeps)&&void 0!==n&&n.length){var i=t&&a.substeps.find((function(e){return e.substepKey===t}))||a.substeps[0];i&&(this.currentSubstep={stepKey:null===a||void 0===a?void 0:a.stepKey,substepKey:null===i||void 0===i?void 0:i.substepKey})}},nextStep:function(){this.lastBottomButtonAction=te;var e=this.stepperMediator.getNextSubstep(this.currentStepKey,this.currentSubstepKey);if(e){var t=this.stepperMediator.getCurrentSubStepIndex(null===e||void 0===e?void 0:e.stepKey,null===e||void 0===e?void 0:e.substepKey);null!==e&&void 0!==e&&e.substepKey&&t>=0?this.setSubstep(e):this.setStep(null===e||void 0===e?void 0:e.stepKey),this.$emit("next-step",e)}},backStep:function(){this.lastBottomButtonAction=ne;var e=this.stepperMediator.getPreviousSubstep(this.currentStepKey,this.currentSubstepKey);if(e){var t=this.stepperMediator.getCurrentSubStepIndex(null===e||void 0===e?void 0:e.stepKey,null===e||void 0===e?void 0:e.substepKey);null!==e&&void 0!==e&&e.substepKey&&t>=0?this.setSubstep(e):this.setStep(null===e||void 0===e?void 0:e.stepKey),this.$emit("previous-step",e)}},emitAction:function(e){this.$emit("handleOtherActions",e)},fertig:function(){this.lastBottomButtonAction=ae,this.$emit("on-fertig")},setStepHidden:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.stepperMediator.setStepHidden(e,t),this.updateStepper()},updateStepper:function(){var e;null===(e=this.$refs.stepper)||void 0===e||e.updateStepList()},setSubstepHidden:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.stepperMediator.setSubstepHidden(e,t,n)},removeStep:function(e){this.$emit("removeStep",e)},addStep:function(){this.$emit("addStep")},onCloseEditModal:function(){this.showingEditModal=!1,this.backNavigationOnClose&&this.$goToLastPage()}},components:{BaseButton:l["default"],Step:m,Stop:S,Stepper2:T["a"],Stepper3:x["a"],VerticalStepper:y["a"],ContentWithStepper:Z["a"],AnimatedSpinner:M["a"],DynamicVerticalStepper:W,BaseModal:J["a"]},mounted:function(){this.isSmallOrMediumScreen&&this.shouldReopenAppModal&&!this.ignoreOpenModalOnMount&&this.openEditModal()}},se=ie,re=(n("c270"),Object(h["a"])(se,a,i,!1,null,"6633bc2d",null));t["a"]=re.exports},6301:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.renderComponent?n("div",{staticClass:"container"},["step"===e.stepType&&"tab"!==e.stepType?[n("div",{staticClass:"layout__negative-margin--8 color-text"},[n("BaseCollapsable",{staticClass:"mt-1 mb-1",scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticClass:"stepper-liner-sm"},e._l(e.stepsComputed,(function(t,a){return n("div",{key:"nav"+a+e.lastUpdated},[n("div",{staticClass:"stepper-item__icon",on:{click:function(n){return e.onClickStop(t.stepKey)}}},[n("VerticalStepIcon",{staticClass:"clickable",attrs:{stepperStatus:e.stepperStatus(t),isCurrent:e.selectedStepKey==t.stepKey,collapsed:!0}})],1)])})),0)]},proxy:!0},{key:"content",fn:function(){return[n("div",{staticClass:"antrag-sidetext__container mt-8px"},[n("div",{staticClass:"layout__negative-margin--8 color-text"},e._l(e.stepsComputed,(function(t,a){return n("div",{key:"nav"+a+e.lastUpdated},[n("div",{class:["clickable",{"font-bold":e.selectedStepKey==t.stepKey},{"substep-sm":e.isMobileNativeContext}],domProps:{innerHTML:e._s(e.sanitize(t.label))},on:{click:function(n){return e.onClickStop(t.stepKey)}}}),e.getSubsteps(t)[0].substepKey?e._l(e.getSubsteps(t),(function(i,s){return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showLastSubstep(a,t)&&!i.hidden,expression:"showLastSubstep(index, step) && !substep.hidden"}],key:"sub"+s+e.lastUpdated,class:["clickable pl-3",{"font-bold":e.selectedSubstepKey==i.substepKey},{"substep-sm":e.isMobileNativeContext}],domProps:{innerHTML:e._s(e.sanitize(i.title))},on:{click:function(n){return e.onClickSubstep(t.stepKey,i.substepKey)}}})})):e._e()],2)})),0)])]},proxy:!0}],null,!1,629485609)})],1)]:e._e(),"tab"===e.stepType?n("div",{staticClass:"stepper-container stepper-container-tab"},[n("ul",{staticClass:"nav nav-tabs tabs-line d-none d-sm-flex pl-0"},[e._l(e.stepsComputed,(function(t,a){return[n("li",{key:"nav"+a+e.lastUpdated,class:["nav-item",t.current&&"active"]},[n("a",{staticClass:"nav-link",class:[t.current&&"active"],attrs:{"data-toggle":"tab"},on:{click:function(n){return e.onClickStop(t.stepKey)}}},[e._v(e._s(t.label))])])]}))],2),n("div",{staticClass:"nav nav-tabs tabs-line d-sm-none"},[e._l(e.stepsComputed,(function(t,a){return[n("li",{key:"nav"+a+e.lastUpdated,class:["nav-item",t.current&&"active"]},[n("a",{staticClass:"nav-link",class:[t.current&&"active"],attrs:{"data-toggle":"tab"},on:{click:function(n){return e.onClickStop(t.stepKey)}}},[e._v(e._s(t.label))])])]}))],2)]):e._e()],2):e._e()])},i=[],s=n("5530"),r=(n("7db0"),n("c740"),n("99af"),n("9911"),n("bb48")),o=n("c0a4"),l=n("c1a1"),c=n("5c70"),d=n("b20b"),u=n("6bcb"),p=n("e029"),h=n("e008"),f=n("2f62"),m=n("2684"),b={mixins:[p["a"]],props:{steps:{type:Array,default:function(){return[]}},currentStep:{type:Object,default:function(){return{}}},stepperName:{type:String,default:""},stepType:{type:String,default:"step"},selectedStepKey:{type:String,default:""},visible:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},disabledUpdate:{type:Boolean,default:!1},stepperService:{default:function(){return null}},antragData:{},selectedSubstepKey:{type:String,default:""},collapsed:{type:Boolean,default:!1},isCurrent:{type:Boolean,default:!1}},data:function(){return{subs:[],stepsComputed:[],renderComponent:!0,lastUpdated:Date.now()}},watch:{steps:function(){this.updateSteps()},currentStep:function(e){e.step&&this.progress(e.step.stepKey),this.updateSteps()},selectedStepKey:{handler:function(e){this.progress(e),this.updateSteps()},immediate:!0},"stepperService.stepListSource":{handler:function(){this.updateSteps()}},stepperService:function(){this.updateSteps()},antragData:function(){this.updateSteps()}},mounted:function(){this.updateSteps(),this.currentStep.step&&this.progress(this.currentStep.step.stepKey)},computed:Object(s["a"])(Object(s["a"])({},Object(f["b"])({isMobileNativeContext:m["default"].GETTERS.IS_MOBILE_NATIVE_CONTEXT})),{},{getSelectedStepLabel:function(){var e=this;if(!this.stepperService)return"";if(this.selectedStepKey){var t,n,a=this.stepperService.getCurrentStep(this.selectedStepKey);return this.selectedSubstepKey?(null===a||void 0===a||null===(t=a.substeps)||void 0===t||null===(n=t.find((function(t){return t.substepKey===e.selectedSubstepKey})))||void 0===n?void 0:n.title)||"":(null===a||void 0===a?void 0:a.label)||""}return this.stepperService.currentStep&&this.stepperService.currentStep.label?this.stepperService.currentStep.label:this.stepperService.getFirstStep().label},percentage:function(){var e=this.stepsComputed.findIndex((function(e){return e.current}));return(e+1)/this.stepsComputed.length*100},labelProgress:function(){var e=this.stepsComputed.findIndex((function(e){return e.current}));return"".concat(e+1," / ").concat(this.stepsComputed.length)}}),methods:{sanitize:function(e){return Object(d["b"])(e)},updateSteps:function(){var e=this.stepperService.getCurrentStepList(),t=Object(l["e"])(e,this.antragData);this.stepsComputed=t,this.lastUpdated=Date.now(),this.forceRerender()},forceRerender:function(){var e=this;this.renderComponent=!1,this.$nextTick().then((function(){e.renderComponent=!0}))},isActive:function(e){return this.currentStep&&this.currentStep.step.stepKey===e},isLastStep:function(e){return this.steps.length-1===e},subscribeToCurrentStepperList:function(){if(!this.stepperService)return"";this.stepsComputed=this.stepperService.getCurrentStepList()},progress:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.stepperService){if(this.stepperService.progress(e,t,this.disabledUpdate),this.stepperService.currentStep){this.stepperService.currentStep.actionFunc&&this.stepperService.currentStep.actionFunc();var n=this.stepperService.currentStep.link;n&&n!==this.$route.path&&this.$router.push({path:n})}this.updateSteps()}},onClickStop:function(e){this.disabled||(this.$emit("setStep",e),this.progress(e))},onClickSubstep:function(e,t){t&&!this.disabled&&(this.$emit("setSubstep",{stepKey:e,substepKey:t}),this.progress(e,t),this.stepClicked=e)},showLastSubstep:function(e,t){var n,a=e===(null===(n=this.stepsComputed)||void 0===n?void 0:n.length)-1;if(!a)return!0;var i=this.getSubsteps(t);return i.length>0&&i[0].title},onClickStep:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.disabled||(this.$emit("setStep",e,t),this.progress(e,n))},getSubsteps:function(e){var t;return(null===e||void 0===e||null===(t=e.substeps)||void 0===t?void 0:t.length)>0?e.substeps:[{}]},stepperStatus:function(e){return e.warning?"warning":e.success?"success":"default"}},components:{BaseDropdownMenu:r["a"],PhCaretDown:o["PhCaretDown"],DoughnutProgress:c["a"],VerticalStepIcon:u["a"],BaseCollapsable:h["a"]}},v=b,g=(n("9ce7"),n("2877")),E=Object(g["a"])(v,a,i,!1,null,"bef2afe0",null);t["a"]=E.exports},"6315d":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".w-100[data-v-445f2461]{width:100%}.d-flex .grow-1[data-v-445f2461]:last-child{padding-right:0}.grow-1[data-v-445f2461]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding-right:.5em}.participants-input[data-v-445f2461]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.no-label[data-v-445f2461]{padding:1.5rem 0 0 1rem;min-width:40px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.table-container[data-v-445f2461]{margin-bottom:16px}.participants-actions[data-v-445f2461]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:.2rem}.participants-actions div[data-v-445f2461]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem}.text-danger[data-v-445f2461]{color:var(--color-danger)}.dropdown-content[data-v-445f2461]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.dropdown-content[data-v-445f2461],.label-content[data-v-445f2461]{display:-webkit-box;display:-ms-flexbox;display:flex}.label-content[data-v-445f2461]{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:stretch;align-content:stretch}.mt-4[data-v-445f2461]{margin-top:4rem}",""]),e.exports=t},"63af":function(e,t,n){"use strict";n("a6f4")},"66ae":function(e,t,n){var a=n("c898");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("8fa44258",a,!0,{sourceMap:!1,shadowMode:!1})},"66fd":function(e,t,n){var a=n("5948");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("57d5d830",a,!0,{sourceMap:!1,shadowMode:!1})},6870:function(e,t,n){var a=n("6315d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("e1f5e506",a,!0,{sourceMap:!1,shadowMode:!1})},6903:function(e,t,n){var a=n("9946");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("409a9112",a,!0,{sourceMap:!1,shadowMode:!1})},"6a3e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.editable?n("BaseButton",{on:{click:function(t){return e.openAddModal()}}},[e._v("Neue")]):e._e(),!e.loading&&e.rows.length?n("Table",{attrs:{title:"Courtagezubringer",headers:e.headers,rows:e.rows,rowsPerPage:10},on:{"click-bereich":e.openEditModal,"action-DELETE":function(t){return e.deleteCourtage(t)}},model:{value:e.selectedRows,callback:function(t){e.selectedRows=t},expression:"selectedRows"}}):e.loading?n("GhostLoading",{attrs:{type:"table"}}):n("div",[e._v("Keine Daten")]),n("BaseModal",{ref:"courtageDataModal",attrs:{size:"md",modalTitle:"Zubringercourtage bearbeiten",showDefaultButtons:!1},scopedSlots:e._u([{key:"default",fn:function(){return[n("p",[e._v("Bitte tragen Sie hier den Prozentsatz ein den der Zubringer in Relation zu der Courtage des Vermittlers bekommen soll, dem der Kunde zugeordnet ist.")]),n("div",{staticClass:"input-forms__container"},[n("div",{staticClass:"col-md-3 col-12"},[n("InputField",{attrs:{label:"Bereich",disabled:""},model:{value:e.form.bereich,callback:function(t){e.$set(e.form,"bereich",t)},expression:"form.bereich"}})],1),n("div",{staticClass:"row mt-0 mb-0"},[n("div",{staticClass:"col-md-3 col-12"},[n("InputField",{attrs:{label:"Zubringer",validateUntouched:""},on:{input:function(t){return e.findZubringerDataDebounce(t)},onBlur:function(t){return e.checkIfZubringerDataIsValid()}},model:{value:e.form.zubringer,callback:function(t){e.$set(e.form,"zubringer",t)},expression:"form.zubringer"}})],1),n("div",{staticClass:"col-md-9 col-12 mt-md-24px mt-3"},[n("InputField",{attrs:{disabled:!0},model:{value:e.form.zubringerFullName,callback:function(t){e.$set(e.form,"zubringerFullName",t)},expression:"form.zubringerFullName"}})],1),e.isZubringerInvalid?n("div",{staticClass:"col-12 color-danger"},[e._v(" Die Vermittlernummer des Zubringers ist nicht korrekt! ")]):e._e()])]),e.isIntern?[n("ComboBox",{attrs:{label:"Courtage",values:e.absolutValues},model:{value:e.form.absolut,callback:function(t){e.$set(e.form,"absolut",t)},expression:"form.absolut"}})]:e._e(),n("InputField",{attrs:{label:"Abschluss / Einmalige VV-Strategiegebühr",type:"percent",precision:e.PRECISION},model:{value:e.form.provAbschluss,callback:function(t){e.$set(e.form,"provAbschluss",t)},expression:"form.provAbschluss"}}),n("InputField",{attrs:{label:"Bestand",type:"percent",precision:e.PRECISION},model:{value:e.form.provBestand,callback:function(t){e.$set(e.form,"provBestand",t)},expression:"form.provBestand"}}),n("InputField",{attrs:{label:"MwSt",type:"percent",validateUntouched:"",disabled:!e.insuranceCourtageConfig.hatZubringerOhneMwSt,precision:2},model:{value:e.form.mwst,callback:function(t){e.$set(e.form,"mwst",t)},expression:"form.mwst"}}),n("p",{staticClass:"m-0"},[n("b",[n("u",[e._v("Achtung:")]),e._v(' Wenn Ihr Zubringer keine 34f/h Lizenz besitzt, muss er als Untervermittler unter Ihrer Vermittlernummer angelegt und unter "Vermittlerdaten - Zulassung" deklariert werden. Ansonsten kann keine Auszahlung erfolgen.')])])]},proxy:!0},{key:"footer",fn:function(){return[n("BaseButton",{staticClass:"mr-3",attrs:{isSecondary:""},on:{click:function(t){return e.closeCourtageDataModal()}}},[e._v("Abbrechen")]),n("BaseButton",{attrs:{disabled:!e.editable||e.validation.isInvalid("form")||e.isZubringerInvalid},on:{click:function(t){e.saveForm(),e.closeCourtageDataModal()}}},[e._v("Speichern")])]},proxy:!0}])}),n("BaseModal",{ref:"courtageDeleteModal",attrs:{size:"sm",modalTitle:"Courtage Zubringer löschen",labelButtonConfirm:"Löschen"},on:{onConfirmButton:function(t){return e.deleteCourtageItem()}},scopedSlots:e._u([{key:"default",fn:function(){return[e._v(" Soll die Zubringercourtage für den Vermittler "+e._s(e.courtageItemToDelete.zubringer)+" wirklich gelöscht werden? ")]},proxy:!0}])})],1)},i=[],s=n("1da1"),r=n("2909"),o=n("5530"),l=(n("96cf"),n("d81d"),n("498a"),n("99af"),n("b680"),n("2f62")),c=n("d4b0"),d=n("6758"),u=n("64c5"),p=n("04bc"),h=n("689f"),f=n("d53f"),m=n("a871"),b=n("9131"),v=n("c704"),g=n("d3ac"),E=n("6ce5"),_=n("626a"),S=n("c0a4"),T=n("6eb5"),x=5,y="form.zubringer",k=4,I={mixins:[g["a"]],components:{BaseButton:p["default"],Table:h["a"],BaseModal:m["a"],ComboBox:b["default"],InputField:v["default"],PhTrash:S["PhTrash"],GhostLoading:T["a"]},props:{editable:{type:Boolean,default:!1}},data:function(){return{PRECISION:k,loading:!1,isZubringerInvalid:!1,findZubingerDataDebounce:null,absolutValues:[{label:"absolut zur Eingangscourtage",value:!0},{label:"relativ zur Courtage des Abschlussvermittlers",value:!1}],form:{},courtageItemToDelete:{},headers:{lockedLeft:[Object(f["TextColumn"])("bereich","Bereich").makeLink()],center:[Object(f["TextColumn"])("zubringerText","Zubringer"),Object(f["PercentageColumn"])("provAbschluss","Abschluss / Einmalige VV-Strategiegebühr"),Object(f["PercentageColumn"])("provBestand","Bestand"),Object(f["PercentageColumn"])("mwst","MwSt")],lockedRight:[Object(f["ActionColumn"])("actions","Aktionen")]},selectedRows:null}},computed:Object(o["a"])(Object(o["a"])({},Object(l["b"])({courtage:c["default"].GETTERS.INSURANCE_COURTAGE,customerDataConfig:d["default"].GETTERS.CUSTOMER_DATA_CONFIG,isIntern:u["default"].GETTERS.ORIGINAL_USER_IS_INTERN,insuranceCourtageConfig:c["default"].GETTERS.INSURANCE_COURTAGE_CONFIG})),{},{rows:function(){var e=this;if(!this.courtage)return[];var t=[Object(f["SimpleAction"])("DELETE",S["PhTrash"],"Löschen")];return Object(r["a"])(this.courtage).map((function(n){var a=Object(o["a"])(Object(o["a"])({},n),{},{actions:t});return a.zubringerText="".concat(n.zubringerFullName||"","/").concat(n.zubringer||"").trim(),a.provAbschluss=(n.provAbschluss||0).toFixed(k),a.provBestand=(n.provBestand||0).toFixed(k),e.isIntern&&(a.absolut=!0===n.absolut?"Ja":"Nein"),a}))}}),methods:{openCourtageDataModal:function(){this.$refs.courtageDataModal.open()},closeCourtageDataModal:function(){this.$refs.courtageDataModal.close()},openAddModal:function(){var e;this.form={id:null,zubringer:null,zubringerFullName:null,absolut:!1,bereich:"Versicherungen",provAbschluss:null,provBestand:null,mwst:null===(e=this.customerDataConfig)||void 0===e?void 0:e.mwstValue},this.openCourtageDataModal()},openEditModal:function(e){this.form=Object(o["a"])({},e),this.openCourtageDataModal()},openDeleteModal:function(e){this.courtageItemToDelete=Object(o["a"])({},e),this.$refs.courtageDeleteModal.open()},deleteCourtageItem:function(){var e,t;null!==(e=this.courtageItemToDelete)&&void 0!==e&&e.id&&this.$store.dispatch(c["default"].ACTIONS.INSURANCE_COURTAGE_DELETE,{courtageId:null===(t=this.courtageItemToDelete)||void 0===t?void 0:t.id})},findZubringerDataDebounce:Object(_["c"])(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.form.zubringerFullName=null,e.prev=1,(null===t||void 0===t?void 0:t.length)!==x){e.next=8;break}return e.next=5,this.$store.dispatch(d["default"].ACTIONS.GET_ZUBRINGER_DATA,{maklernr:t});case 5:n=e.sent,this.form.zubringer=null===n||void 0===n?void 0:n.maklernr,this.form.zubringerFullName=null===n||void 0===n?void 0:n.fullName;case 8:e.next=12;break;case 10:e.prev=10,e.t0=e["catch"](1);case 12:this.checkIfZubringerDataIsValid();case 13:case"end":return e.stop()}}),e,this,[[1,10]])})));function t(t){return e.apply(this,arguments)}return t}()),deleteCourtage:function(e){e&&this.openDeleteModal(e)},checkIfZubringerDataIsValid:function(){var e;this.validation.reset(y),this.isZubringerInvalid=!1,null!==(e=this.form)&&void 0!==e&&e.zubringerFullName||(this.isZubringerInvalid=!0,this.$pushErrors(y))},saveForm:function(){var e,t,n;if(this.editable){var a=Object(o["a"])(Object(o["a"])({},this.form),{},{provAbschluss:(null===(e=this.form)||void 0===e?void 0:e.provAbschluss)||0,provBestand:(null===(t=this.form)||void 0===t?void 0:t.provBestand)||0,mwst:(null===(n=this.form)||void 0===n?void 0:n.mwst)||0,vertragId:this.$route.params.id});a.id?this.$store.dispatch(c["default"].ACTIONS.INSURANCE_COURTAGE_UPDATE,a):this.$store.dispatch(c["default"].ACTIONS.INSURANCE_COURTAGE_SAVE,a)}}},mounted:function(){this.$store.dispatch(c["default"].ACTIONS.FIND_ALL_INSURANCE_COURTAGE,{vertragId:this.$route.params.id}),this.$store.dispatch(d["default"].ACTIONS.GET_CUSTOMER_DATA_CONFIG),this.$store.dispatch(c["default"].ACTIONS.INSURANCE_COURTAGE_CONFIG)},validators:{form:{bereich:[Object(E["s"])()],zubringer:[Object(E["s"])()],mwst:[Object(E["s"])(),Object(E["q"])(0,25)]}}},C=I,A=n("2877"),w=Object(A["a"])(C,a,i,!1,null,null,null);t["a"]=w.exports},"6a5f":function(e,t,n){"use strict";n("9dde")},"6a99":function(e,t,n){"use strict";n("6bf8")},"6bb9":function(e,t,n){"use strict";n("fbc0")},"6bcb":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vertical-step__icon-container"},[e.isCurrent&&e.collapsed?[n("ph-circle",{staticClass:"color-primary vertical-stop__icon",attrs:{weight:"fill",size:16}})]:["default"===e.stepperStatus?n("ph-circle",{staticClass:"color-primary vertical-stop__icon",attrs:{size:16}}):e._e(),"success"===e.stepperStatus?n("ph-check-circle",{staticClass:"color-success vertical-stop__icon",attrs:{size:16}}):e._e(),"warning"===e.stepperStatus?n("ph-warning-circle",{staticClass:"color-danger vertical-stop__icon",attrs:{size:16}}):e._e()]],2)},i=[],s=n("c0a4"),r={props:{stepperStatus:{},isCurrent:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!1}},components:{PhCircle:s["PhCircle"],PhCheckCircle:s["PhCheckCircle"],PhWarningCircle:s["PhWarningCircle"]}},o=r,l=(n("dad7"),n("2877")),c=Object(l["a"])(o,a,i,!1,null,"4507d7b7",null);t["a"]=c.exports},"6bf8":function(e,t,n){var a=n("cd4c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("4a6d6a23",a,!0,{sourceMap:!1,shadowMode:!1})},"6d53":function(e,t,n){"use strict";n("35df")},"6e22":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseModal",{ref:"modalAdd",attrs:{modalTitle:"Aufgabe bearbeiten",showDefaultButtons:!1,size:"lg"}},[n("AppointmentEditCreate",{attrs:{closeModal:e.onCancelModal,subject:e.gesellschaftName+" "+((e.nummer||e.bereichId||e.bezeichnung)&&"("+(e.nummer||e.bereichId||e.bezeichnung)+")"),status:"OFFEN",isActivity:!0,bereich:"VersVertrag",bereichId:e.bereichId,bereichText:e.bereichText}})],1)],1)},i=[],s=n("a871"),r=n("bc9e"),o={components:{BaseModal:s["a"],AppointmentEditCreate:r["default"]},props:{bereichId:{type:String,default:function(){return null}},gesellschaftName:{type:String,default:function(){return null}},nummer:{type:String,default:function(){return null}},bezeichnung:{type:String,default:function(){return null}},bereichText:{type:String,default:function(){return null}}},data:function(){return{selectedRowsValues:[]}},computed:{},methods:{open:function(){this.$refs.modalAdd.open()},close:function(){this.$refs.modalAdd.close()},onConfirmModal:function(){},onCancelModal:function(){this.$refs.modalAdd.close()},selectedRows:function(e){this.selectedRowsValues=e},confirmContactsToSend:function(){this.$emit("select-contacts",this.selectedRowsValues),this.$refs.mailContacts.close()}}},l=o,c=n("2877"),d=Object(c["a"])(l,a,i,!1,null,null,null);t["a"]=d.exports},"6fc8":function(e,t,n){"use strict";n("247a")},7200:function(e,t,n){"use strict";n("ca1f")},7261:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".vertical-stepper--collapsable[data-v-7749c895]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle__container[data-v-7749c895]{-ms-flex-item-align:end;align-self:flex-end;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin:0 8px 8px 0}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle[data-v-7749c895]{margin:0;-webkit-transition:-webkit-transform .5s ease;transition:-webkit-transform .5s ease;transition:transform .5s ease;transition:transform .5s ease,-webkit-transform .5s ease}.vertical-stepper--collapsable .vertical-stepper--items[data-v-7749c895]{width:100%;max-width:268px;overflow:hidden;-webkit-transition:max-width .5s ease;transition:max-width .5s ease}.vertical-stepper--collapsable .vertical-stepper--items__wrap[data-v-7749c895]{min-width:268px}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--collapse-toggle[data-v-7749c895]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--items[data-v-7749c895]{max-width:32px}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep-pipe[data-v-7749c895]{border-color:#999}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep__warning-pipe[data-v-7749c895]{border:2px solid var(--color-danger)}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-7749c895],.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-7749c895]{font-weight:400}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-7749c895]{font-size:inherit}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-7749c895]{font-size:.8rem}.vertical-stepper__container[data-v-7749c895]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:-8px}.vertical-stepper__container>*[data-v-7749c895]{margin:8px}.vertical-stop__substep-pipe[data-v-7749c895]{border:1px solid #ccc;min-height:1rem}.vertical-stop__substep__warning-pipe[data-v-7749c895]{border:1px solid var(--color-danger);min-height:1rem}.vertical-stop__label--selected[data-v-7749c895]{font-weight:510;font-size:1.05rem}.vertical-stop__label[data-v-7749c895]{margin-left:8px}.vertical-stop__icon[data-v-7749c895]{-ms-flex-negative:0;flex-shrink:0}.stepper-item__container[data-v-7749c895]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stepper-item__container.disabled[data-v-7749c895]{cursor:not-allowed;opacity:.8}.stepper-item__icon[data-v-7749c895]{-webkit-box-flex:0;-ms-flex:0 0 32px;flex:0 0 32px;height:32px}.stepper-item__label[data-v-7749c895]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vertical-step__icon-container[data-v-7749c895]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vertical-step__icon-container[data-v-7749c895],.vertical-substep__icon-container[data-v-7749c895]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.vertical-substep__icon-container[data-v-7749c895]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-left:45%;gap:5px}.vertical-substep__label[data-v-7749c895]{font-size:.8rem;margin-left:16px}.vertical-substep__label--selected[data-v-7749c895]{font-weight:510;font-size:.85rem}@media screen and (min-width:3840px){.app--is-test-user-context .vertical-stepper--collapsable .vertical-stepper--items[data-v-7749c895]{max-width:368px}}",""]),e.exports=t},"73d2b":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".mr-16[data-v-794d0ee4]{margin-right:16px}.fieldset_class[data-v-794d0ee4]{max-width:100%;min-width:10%}.event-header[data-v-794d0ee4]{font-size:large;font-weight:700}.limited_inputfield[data-v-794d0ee4]{max-width:100%;min-width:10%}.inputtext__input[data-v-794d0ee4]{border-radius:2px;padding:.5em;width:95%}.large_inputfield[data-v-794d0ee4]{width:100%}.gridcheck[data-v-794d0ee4]{justify-self:center}.gridcheck[data-v-794d0ee4],.gridlabel[data-v-794d0ee4]{-ms-flex-item-align:center;align-self:center}.gridlabel[data-v-794d0ee4]{justify-self:end;text-align:end;padding-right:.5em}.data-row[data-v-794d0ee4]{padding-top:1em;display:grid;grid-template-columns:1fr 4fr;justify-self:end}.data-double[data-v-794d0ee4]{display:grid;grid-template-columns:1fr 1fr;min-width:10%;justify-self:stretch;-webkit-column-gap:.5em;-moz-column-gap:.5em;column-gap:.5em;grid-gap:1rem}.flex_grow_1[data-v-794d0ee4]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.items-center[data-v-794d0ee4]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.data-triple[data-v-794d0ee4]{padding-top:1em;display:grid;grid-template-columns:1fr 1fr 1fr;min-width:10%;-webkit-column-gap:.5em;-moz-column-gap:.5em;column-gap:.5em;justify-self:stretch}.pl-all>div[data-v-794d0ee4]:first-child{padding-right:.5rem}.pl-3[data-v-794d0ee4]{padding-left:3rem}.pr-3[data-v-794d0ee4]{padding-right:3rem}.padding-top[data-v-794d0ee4]{padding-top:0}.upload-btn[data-v-794d0ee4]{position:relative}.upload-btn input[data-v-794d0ee4]{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0}.overflow-x-scroll[data-v-794d0ee4]{overflow-x:scroll}@media only screen and (max-width:1024px){.data-double[data-v-794d0ee4]{grid-template-columns:1fr;grid-template-rows:auto;justify-self:center;grid-gap:0;widows:100%}.action-buttons>button[data-v-794d0ee4]{margin-top:1rem;width:100%}.gridlabel[data-v-794d0ee4]{-ms-flex-item-align:start;align-self:start;justify-self:center}.padding-top[data-v-794d0ee4]{padding-top:1rem}.mr-16[data-v-794d0ee4]{margin-right:0}.justify-between[data-v-794d0ee4]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}}@media only screen and (max-width:1200px){.event-body[data-v-794d0ee4]{margin-left:0}.large_inputfield[data-v-794d0ee4]{max-width:70%}.fieldset_class[data-v-794d0ee4]{padding:.3em;margin:.3em}.data-double[data-v-794d0ee4]{justify-self:center;width:100%}.data-row[data-v-794d0ee4],.data-triple[data-v-794d0ee4]{padding-top:.3em;grid-template-columns:1fr;grid-template-rows:auto}.data-row[data-v-794d0ee4]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.gridlabel[data-v-794d0ee4]{-ms-flex-item-align:start;align-self:start;justify-self:center}.gridcheck[data-v-794d0ee4]{padding-top:.3em}}",""]),e.exports=t},"792a":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".align-end[data-v-53d695df]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:end;align-self:flex-end;padding:0 0 16px 5px}.form-control[data-v-53d695df]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-align:center;-ms-flex-align:center;align-items:center}",""]),e.exports=t},"798e":function(e,t,n){"use strict";n("2c01")},"7ad7":function(e,t,n){var a=n("1ec9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("f678c442",a,!0,{sourceMap:!1,shadowMode:!1})},"7c1f":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"availableStatusIcons__container"},e._l(e.currentStatusIcons,(function(t){return n("span",{key:t.legend.label+e.uuidv4()},["VORLAGE"===e.statusType?n("span",["DOKUMENT_VORLEGEN"===t.legend.key?n("span",["VORLAGE"===e.statusType?n("Pill",{attrs:{label:"nicht vorgelegt",type:"danger"}}):e._e()],1):"DOKUMENT_NICHT_VORLEGEN"===t.legend.key?n("span",[n("Pill",{attrs:{label:"vorgelegt",type:"info"}})],1):"DOKUMENT_VORLEGEN_TEILWEISE"===t.legend.key?n("span",[n("Pill",{attrs:{label:"teilweise vorgelegt",type:"warning"}})],1):"DOKUMENT_VERMITTLER_NICHT_VORLEGEN"===t.legend.key?n("span",[n("Pill",{attrs:{label:"Makler vorgelegt",type:"info"}})],1):"DOKUMENT_KUNDE_NICHT_VORLEGEN"===t.legend.key?n("span",[n("Pill",{attrs:{label:"Kunde vorgelegt",type:"info"}})],1):e._e()]):e._e(),"SIGNATUR"===e.statusType?n("span",["EINGEREICHT_ABGELEGT"===t.legend.key?n("span",[n("Pill",{attrs:{label:"eingereicht",type:"success"}})],1):"UNTERSCHRIEBEN"===t.legend.key?n("span",[n("Pill",{attrs:{label:"unterschrieben",type:"success"}})],1):"TEILWEISE_UNTERSCHRIEBEN"===t.legend.key?n("span",[n("Pill",{attrs:{label:t.legend.label,type:"warning"}})],1):"TEILWEISE_EINGEREICHT"===t.legend.key?n("span",[n("Pill",{attrs:{label:t.legend.label,type:"success"}})],1):e._e()]):e._e()])})),0)},i=[],s=(n("ac1f"),n("5319"),n("d3b7"),n("25f0"),n("c0a4")),r=n("025b"),o={name:"AvailableActionIcons",props:{currentStatusIcons:{default:null},statusType:{default:null}},computed:{},components:{PhMinus:s["PhMinus"],PhPlus:s["PhPlus"],PhIntersect:s["PhIntersect"],PhX:s["PhX"],PhPencilLine:s["PhPencilLine"],PhTrash:s["PhTrash"],PhList:s["PhList"],PhEye:s["PhEye"],PhEyeSlash:s["PhEyeSlash"],Pill:r["a"]},data:function(){return{}},watch:{currentStatusIcons:function(e,t){}},methods:{hasAction:function(e){return this.currentStatusIcons&&this.currentStatusIcons.some((function(t){return t.legend.key==e}))},uuidv4:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"==e?t:3&t|8;return n.toString(16)}))}}},l=o,c=(n("7200"),n("2877")),d=Object(c["a"])(l,a,i,!1,null,"4d76bacc",null);t["a"]=d.exports},"7c72":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".container[data-v-6633bc2d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.template-top[data-v-6633bc2d]{margin-left:0;margin-right:0}.template-bottom[data-v-6633bc2d],.template-top[data-v-6633bc2d]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.template-bottom[data-v-6633bc2d]{margin:1rem 0;padding:1rem 0}.template-sidetext[data-v-6633bc2d]{-webkit-box-flex:0;-ms-flex:0;flex:0;overflow:hidden}.d-lg-flex>.box__container[data-v-6633bc2d]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.template-navigation-buttons>.box__container[data-v-6633bc2d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.modal__container[data-v-6633bc2d]{padding:0 24px}@media (min-width:768px){.template-sidetext[data-v-6633bc2d]{-webkit-box-flex:0;-ms-flex:0 1 350px;flex:0 1 350px;padding:1rem;padding-top:0}}@media (min-width:768px){.warnings-small-screen[data-v-6633bc2d]{display:none}}@media only screen and (max-width:768px){.modal__container[data-v-6633bc2d]{padding:0 8px}}",""]),e.exports=t},"7cd0":function(e,t,n){"use strict";n("a77e")},"7e84c":function(e,t,n){var a=n("99dd");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("3da39aff",a,!0,{sourceMap:!1,shadowMode:!1})},"7ea3":function(e,t,n){var a=n("4be6");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("427298ad",a,!0,{sourceMap:!1,shadowMode:!1})},8208:function(e,t,n){var a=n("c924");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("84bd0270",a,!0,{sourceMap:!1,shadowMode:!1})},"83a3":function(e,t,n){"use strict";n("0dcd")},8472:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,"table tr[data-v-562286d0]{border-top:1px solid #c4c4c4}table td[data-v-562286d0]{-webkit-box-sizing:border-box;box-sizing:border-box}.export-links-align-right[data-v-562286d0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:right;float:right}.export-links-align-right>button[data-v-562286d0]{margin-right:0}.export-links-align-right>button[data-v-562286d0] :last-child{padding-right:0!important}.mode-selector[data-v-562286d0]{font-size:1.5em;text-align:right;padding:10px;float:right}.mode-selector .mode-selector-item[data-v-562286d0]{border-radius:0;font-size:1.5rem;margin:0;padding:4px 8px}.mode-selector .mode-selector-item[data-v-562286d0]:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.mode-selector .mode-selector-item[data-v-562286d0]:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.mode-selector .mode-selector-item svg[data-v-562286d0]{margin:0}.table-container[data-v-562286d0]{border-radius:4px;width:100%;height:auto}table th[data-v-562286d0]{white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box}.tab-head-cell[data-v-562286d0]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;min-height:24px;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.tab-head-cell[data-v-562286d0],.tab-head-cell .tab-head-cell-icons[data-v-562286d0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tab-head-cell .tab-head-cell-icons[data-v-562286d0]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.tab-rows-cell[data-v-562286d0]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.table-footer[data-v-562286d0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 0 12px}.table-footer select[data-v-562286d0]{border-radius:4px;padding:4px}.card-container[data-v-562286d0]{clear:both}.card[data-v-562286d0]{width:30%}.card[data-v-562286d0],.customerCard[data-v-562286d0]{border:1px solid #ccc;border-radius:3px;margin:10px;padding:15px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box}.customerCard[data-v-562286d0]{width:47%}.customerCard table tr td.title[data-v-562286d0]{font-size:16px;color:var(--color-primary);border-bottom:1px solid #ccc;padding-bottom:10px}.customerCard table tr td.dataRight[data-v-562286d0]{margin-right:10px;text-align:right}.customerCard table tr td.dataLeft[data-v-562286d0]{margin-right:10px;text-align:left}.card .title[data-v-562286d0],.collapsed .title[data-v-562286d0],.customerCard .title[data-v-562286d0]{display:table-cell;font-size:13px;text-transform:uppercase;font-weight:700;text-align:left}.card .col[data-v-562286d0],.collapsed .col[data-v-562286d0],.customerCard .col[data-v-562286d0]{display:table-cell;text-align:right}.collapsed[data-v-562286d0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start;overflow:hidden;list-style:none;margin:8px -12px;padding:8px 12px;width:100%}.card-row[data-v-562286d0]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:100%;padding:5px}.sum[data-v-562286d0]{font-weight:700}.sum td[data-v-562286d0],.text-right[data-v-562286d0]{text-align:right}.text-right[data-v-562286d0]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.text-left[data-v-562286d0]{text-align:left;-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.actions-column[data-v-562286d0]{text-align:right;width:100px}.no-wrap[data-v-562286d0]{white-space:nowrap}.hide[data-v-562286d0]{display:none}.table__table-list[data-v-562286d0]{table-layout:auto;border-collapse:collapse;border-spacing:0;font-size:.9em}.table-fixed[data-v-562286d0]{table-layout:fixed}.table-fixed td div>*[data-v-562286d0]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.table__table-list th[data-col-checkbox][data-v-562286d0]{padding-right:4px;padding-left:4px}.table__table-list td[data-v-562286d0]{padding:8px 4px}.table__table-th-labels[data-v-562286d0]{color:var(--color-text);font-size:.9rem;font-weight:500;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.table__control-icon[data-v-562286d0]{color:var(--color-text);font-size:1rem;white-space:nowrap;width:-webkit-max-content;width:-moz-max-content;width:max-content;display:block}.graph-cell[data-v-562286d0]{min-width:100px}.table__control-col[data-v-562286d0]{width:32px}.table-full[data-v-562286d0]{width:100%}.table-header__input-search[data-v-562286d0]{font-weight:400}@media screen and (min-width:576px){.collapsed--col-sm-2>.card-row[data-v-562286d0]{width:40%}.collapsed--col-sm-3>.card-row[data-v-562286d0]{width:30%}.collapsed--col-sm-4>.card-row[data-v-562286d0]{width:20%}}@media screen and (min-width:768px){.collapsed--col-md-2>.card-row[data-v-562286d0]{width:40%}.collapsed--col-md-3>.card-row[data-v-562286d0]{width:30%}.collapsed--col-md-4>.card-row[data-v-562286d0]{width:20%}}@media screen and (min-width:992px){.collapsed--col-md-2>.card-row[data-v-562286d0]{width:40%}.collapsed--col-md-3>.card-row[data-v-562286d0]{width:30%}.collapsed--col-md-4>.card-row[data-v-562286d0]{width:20%}}@media screen and (min-width:1200px){.collapsed--col-md-2>.card-row[data-v-562286d0]{width:40%}.collapsed--col-md-3>.card-row[data-v-562286d0]{width:30%}.collapsed--col-md-4>.card-row[data-v-562286d0]{width:20%}}",""]),e.exports=t},"85e3":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),!e.loadingDisabled&&e.scrollLoading?n("GhostLoading",{attrs:{type:"block",config:{block:{height:200}}}}):e._e()],2)},i=[],s=n("6eb5"),r={components:{GhostLoading:s["a"]},props:{loadingDisabled:{type:Boolean,default:!1},hasScroll:{type:Boolean,default:!1}},data:function(){return{scrollLoading:!1}},mounted:function(){var e=this.$el,t=e.closest("[data-scroll-container]")||document;t.addEventListener("scroll",this.onScroll)},destroyed:function(){var e=this.$el,t=e.closest("[data-scroll-container]")||document;t.removeEventListener("scroll",this.onScroll)},methods:{onScroll:function(){if(this.hasScroll&&!this.scrollLoading){var e=this.$el,t=e.closest("[data-scroll-container]")||document.documentElement,n=t.scrollTop+t.clientHeight>t.scrollHeight-100;n&&(this.onScrollBeginn(),this.$emit("scroll",this.onScrollEnd))}},onScrollBeginn:function(){this.scrollLoading=!0,this.emitLoading()},onScrollEnd:function(){this.scrollLoading=!1,this.emitLoading()},emitLoading:function(){this.$emit("loading",this.scrollLoading)}}},o=r,l=n("2877"),c=Object(l["a"])(o,a,i,!1,null,null,null);t["a"]=c.exports},8839:function(e,t,n){"use strict";var a=n("2909"),i=n("5530"),s=(n("99af"),n("ac1f"),n("5319"),n("b680"),n("4d63"),n("25f0"),n("a9e3"),n("7db0"),n("2f62")),r=n("6758"),o=n("de6c"),l={computed:Object(i["a"])(Object(i["a"])({},Object(s["b"])({_expression_customerData:r["default"].GETTERS.CUSTOMER_DATA,_expression_additionalPersons:r["default"].GETTERS.CUSTOMER_DATA_ADDITIONAL_PERSONS})),{},{_expression_persons:function(){var e=this._expression_additionalPersons||[];return[this._expression_customerData].concat(Object(a["a"])(e))}}),methods:{evaluateExpression:function(e,t){var n=this;switch(t.type){case"AND":return this.evaluateExpression(e,t.left)&&this.evaluateExpression(e,t.right);case"CONSTANT_BOOL":case"CONSTANT_DOUBLE":case"CONSTANT_INT":case"CONSTANT_STRING":return t.value;case"EQUALS":return this.evaluateExpression(e,t.left)==this.evaluateExpression(e,t.right);case"DOUBLE_TO_STRING":var a=this.evaluateExpression(e,t.parameter),i=this.evaluateExpression(e,t.digits);return a.toFixed(i).replace(".",",");case"INPUT_BOOLEAN":return e[t.inputName];case"INPUT_STRING":return e[t.inputName];case"IS_IN":a=this.evaluateExpression(e,t.value);return t.list.some((function(t){return n.evaluateExpression(e,t)==a}));case"MATCHES_REGEX":a=this.evaluateExpression(e,t.value);return new RegExp(t.regex).test(a);case"MULTIPLY":return this.evaluateExpression(e,t.left)*this.evaluateExpression(e,t.right);case"PARSE_DOUBLE":a=this.evaluateExpression(e,t.string);return a||0===a||(a="0"),a=Number(a.replace(",",".")),isNaN(a)?this.evaluateExpression(e,t.defaultResult):a;case"PERSON_ANREDE":var s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataAddress&&s.personalDataAddress.title||"";case"PERSON_AUSWEIS_AUSSTELLUNGSBEHOERDE":s=this.evaluateExpression(e,t.personExpression);return s&&s.legitimation&&s.legitimation.authority||"";case"PERSON_AUSWEIS_AUSSTELLUNGSDATUM":s=this.evaluateExpression(e,t.personExpression);return s&&s.legitimation&&s.legitimation.dateOfIssue||"";case"PERSON_AUSWEIS_NUMMER":s=this.evaluateExpression(e,t.personExpression);return s&&s.legitimation&&s.legitimation.legitimNumber||"";case"PERSON_AUSWEIS_TYP":s=this.evaluateExpression(e,t.personExpression);return s&&s.legitimation&&s.legitimation.legitimType||"";case"PERSON_EMAIL":s=this.evaluateExpression(e,t.personExpression);if(s&&s.contacts){var r=s.contacts.find((function(e){return"E-Mail"==e.type}));return r&&r.value||""}return"";case"PERSON_FROM_ID":var l=this.evaluateExpression(e,t.idString);return this._expression_persons.find((function(e){return e.personId==l}));case"PERSON_FAMILIENKASSE":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataTax&&s.personalDataTax.familyBenefitsOffice||"";case"PERSON_GEBURTSLAND":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataBirth&&s.personalDataBirth.countryOfBirth||"";case"PERSON_GEBURTSNAME":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataBirth&&s.personalDataBirth.nameAtBirth||"";case"PERSON_GEBURTSORT":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataBirth&&s.personalDataBirth.placeOfBirth||"";case"PERSON_HAUSNR":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataAddress&&s.personalDataAddress.streetnumber||"";case"PERSON_KINDERGELD_NR":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataTax&&s.personalDataTax.childrenBenefitsNr||"";case"PERSON_LAND":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataAddress&&s.personalDataAddress.country||"";case"PERSON_MOBIL":s=this.evaluateExpression(e,t.personExpression);if(s&&s.contacts){r=s.contacts.find((function(e){return"Mobil"==e.type}));return r&&r.value||""}return"";case"PERSON_NAME":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataAddress&&s.personalDataAddress.firstName||"";case"PERSON_ORT":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataAddress&&s.personalDataAddress.city||"";case"PERSON_PLZ":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataAddress&&s.personalDataAddress.zip||"";case"PERSON_STAATSANGEHOERIGKEIT":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataBirth&&s.personalDataBirth.nationality||"";case"PERSON_STRASSEOHNEHNR":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataAddress&&s.personalDataAddress.streetwithoutnumber||"";case"PERSON_TAX_ID":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataTax&&s.personalDataTax.taxID||"";case"TO_STRING":return""+this.evaluateExpression(e,t.parameter);case"PERSON_TITEL":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataAddress&&s.personalDataAddress.titles||"";case"PERSON_VORNAME":s=this.evaluateExpression(e,t.personExpression);return s&&s.personalDataAddress&&s.personalDataAddress.lastName||"";default:return this.$store.dispatch(o["default"].ACTIONS.LOG,"unknown expression type: "+t.type),null}}}};t["a"]=l},"88ff":function(e,t,n){var a=n("aead");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("8221f3e4",a,!0,{sourceMap:!1,shadowMode:!1})},"89d1":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".fc-pagination[data-v-ac76562e]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.page-active[data-v-ac76562e]{font-weight:700}li.page-disabled a[data-v-ac76562e]{cursor:auto}li a[data-v-ac76562e]{cursor:pointer}li.elipsis[data-v-ac76562e]{padding:5px}.pagination-container[data-v-ac76562e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}.pagination-text[data-v-ac76562e]{-webkit-box-flex:0;-ms-flex:0 0 330px;flex:0 0 330px}",""]),e.exports=t},"8d03":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".object-container[data-v-37e7d273]{position:relative;min-width:100%;min-height:100vh;width:100%;height:100%;overflow:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.object-container iframe[data-v-37e7d273]{position:absolute;top:0;left:0;width:100%;height:100%;border:none}",""]),e.exports=t},"8dbd":function(e,t,n){"use strict";n("5189")},"8eb3":function(e,t,n){var a=n("b543");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("f002bcb6",a,!0,{sourceMap:!1,shadowMode:!1})},"8ee7":function(e,t,n){"use strict";n("5c95")},9066:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.typ?e._e():n("OptionMenu",{attrs:{id:e.$appNavigation.currentOptionMenuId,defaultMenu:e.$appNavigation.currentOptionMenu}}),n("PageHeaderTitleNavigation",{attrs:{id:e.$appNavigation.currentOptionMenuId,title:"Änderungslog"}}),n("BaseFilter",{attrs:{filterId:"2fc8bb01-73b9-4b9b-99bc-b591d586acc3",title:"Suchen",metadata:e.filterMetadata,defaultOptions:e.defaultOptionsData,immidiateSearch:""},on:{onFilter:function(t){return e.filterForm(t)}}}),e.filtered?n("div",{staticClass:"box__container"},["vers"==e.typ?n("InputCheckboxItem",{attrs:{label:"mit Schadensmeldung"},model:{value:e.mitSchadensmeldung,callback:function(t){e.mitSchadensmeldung=t},expression:"mitSchadensmeldung"}}):e._e(),!e.loading&&e.rows&&e.rows.length?n("Table",{staticClass:"table-container",attrs:{title:e.typ?e.TABLE_TITLE_VERMITTLER_KUNDEN:e.TABLE_TITLE,tableId:"86ecad57-0325-44c3-b6e8-00a1364e7e7d",configModalTitle:"'Änderungslog für Maklerauftrag",headers:e.headers,rows:e.rows,rowsPerPage:25},on:{"click-aeunderung":function(t){return e.loadAenderung(t)}}}):e.loading?n("GhostLoading",{attrs:{type:"table",title:e.typ?e.TABLE_TITLE_VERMITTLER_KUNDEN:e.TABLE_TITLE}}):n("NoData",{attrs:{title:e.typ?e.TABLE_TITLE_VERMITTLER_KUNDEN:e.TABLE_TITLE}})],1):e._e(),n("BaseModal",{ref:"infoModal",attrs:{showDefaultButtons:!1},scopedSlots:e._u([{key:"modalTitle",fn:function(){return[e._v(" Änderung: ")]},proxy:!0}])},[n("div",[n("span",[e._v(e._s(e.fullText))])])])],1)},i=[],s=n("1da1"),r=n("5530"),o=(n("96cf"),n("4de4"),n("7db0"),n("689f")),l=n("d53f"),c=n("6852"),d=n("64c5"),u=n("2f62"),p=n("3931"),h=n("8103"),f=n("6eb5"),m=n("b1a7"),b=n("0f82"),v=n("5a0c"),g=n.n(v),E=n("5818"),_=n("a871"),S="Änderungslog für Maklerauftrag",T="Änderungslog",x={props:{typ:{type:String}},components:{Table:o["a"],OptionMenu:p["a"],PageHeaderTitleNavigation:h["a"],GhostLoading:f["a"],NoData:m["a"],BaseFilter:b["default"],InputCheckboxItem:E["a"],BaseModal:_["a"]},data:function(){return{TABLE_TITLE:S,TABLE_TITLE_VERMITTLER_KUNDEN:T,rowsPerPage:20,loading:!1,filtered:!1,bemerkungFurStatus:"",statusData:{},uebertragVertragId:null,mitSchadensmeldung:!1,fullText:""}},mounted:function(){},computed:Object(r["a"])(Object(r["a"])({},Object(u["b"])({isFA:d["default"].GETTERS.IS_FA,hasRoles:d["default"].GETTERS.HAS_ROLES,aenderungsLog:c["default"].GETTERS.AENDERUNGS_LOG})),{},{defaultOptionsData:function(){return{DATUM:g()().subtract(1,"month").format("DD.MM.YYYY")}},filterMetadata:function(){var e="vermittlerdaten"==this.typ||"kundendaten"==this.typ||"vers"==this.typ?[{type:"group",key:"allgemein",label:"Allgemein",menuItems:[{type:"datepicker",label:"Ab Datum",key:"DATUM"},{type:"text",label:"Suchen",key:"FILTER"}]}]:[{type:"group",key:"allgemein",label:"Allgemein",menuItems:[{type:"text",label:"Suchen",key:"FILTER"}]}];return e},headers:function(){var e={lockedLeft:[Object(l["DateTimeColumn"])("datum","Datum")],center:[Object(l["TextColumn"])("nutzer","Nutzer"),Object(l["TextColumn"])("eintrag","Eintrag")],lockedRight:[Object(l["TextColumn"])("aeunderung","Änderung").makeLink()]};return e},rows:function(){return this.aenderungsLog}}),methods:{filterForm:function(){var e=arguments,t=this;return Object(s["a"])(regeneratorRuntime.mark((function n(){var a,i,s,r,o,l,d,u;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.length>0&&void 0!==e[0]?e[0]:{},n.prev=1,t.filtered=!0,t.loading=!0,o=a.filter((function(e){return"allgemein"==e.group})),l=o&&(null===(i=o.find((function(e){return"DATUM"==e.key})))||void 0===i?void 0:i.value)||"",d={searchkeyId:null===(s=t.$route.query)||void 0===s?void 0:s.versUebertragId,filter:o&&(null===(r=o.find((function(e){return"FILTER"==e.key})))||void 0===r?void 0:r.value),datum:l instanceof Date?t.formatDate(l):l,typ:t.typ,versVetragId:t.$route.params.id,mitSchadensmeldung:t.mitSchadensmeldung},"vers"==t.typ?a.searchkeyId=t.$route.params.id:a.searchkeyId=null===(u=t.$route.query)||void 0===u?void 0:u.versUebertragId,n.next=10,t.$store.dispatch(c["default"].ACTIONS.GET_AENDERUNGS_LOG,d);case 10:return n.prev=10,t.loading=!1,n.finish(10);case 13:case"end":return n.stop()}}),n,null,[[1,,10,13]])})))()},retrieveData:function(){var e;this.$store.dispatch(c["default"].ACTIONS.GET_AENDERUNGS_LOG,{searchkeyId:null===(e=this.$route.query)||void 0===e?void 0:e.versUebertragId}).then((function(e){console.log(e)}))},formatDate:function(e){return g()(e).format("DD.MM.YYYY")},loadAenderung:function(e){this.fullText=e.aeunderung,this.$refs.infoModal.open()}},beforeRouteLeave:function(e,t,n){this.$addBreadcrumb({label:"zurück zu den Änderungslog",to:e,from:t}),n()}},y=x,k=n("2877"),I=Object(k["a"])(y,a,i,!1,null,null,null);t["default"]=I.exports},"91ca":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"table-container paginated-table__container"},[e.$isSmallScreen&&e.mobileConfig?[n("ScrollLoading",{attrs:{hasScroll:e.rowsWithId.length!==e.rowCount},on:{loading:function(t){return e.$emit("scrollLoading",t)},scroll:function(t){return e.$emit("onScroll",t)}}},[n("MobileTable",e._g({ref:"sortableTable",attrs:{tableId:e.tableId,rowId:e.rowId,title:e.title,headers:e.headerMap,rows:e.rowsWithId,titleActions:e.headerActions,config:e.mobileConfig,selected:e.selected,selectionAsBlacklist:e.selectionAsBlacklist,noDataIcon:e.noDataIcon,noDataContent:e.noDataContent},on:{selected:function(t){return e.$emit("selected",t)},selectionAsBlacklist:function(t){return e.$emit("selectionAsBlacklist",t)},clickCell:e.handleClick,action:e.handleAction,files:e.handleFile,headerAction:e.handleHeaderAction,configColumn:e.columnConfigChanged,orderChanged:e.onOrderChanged},scopedSlots:e._u([e._l(e.headersFlat,(function(t){var n=t.key,a=t.rowElement;return{key:n,fn:function(t){var i=t.row,s=t.mobileTableContext;return[a||"__SELECT__"===n?e._e():e._t(n,null,{mobileTableContext:s},i)]}}})),e._l(e.headersFlatLabelNull,(function(t){return{key:t.headerKey,fn:function(){return[e._t(t.headerKey,null,null,t)]},proxy:!0}}))],null,!0)},e.$listeners["clickRow"]?{clickRow:function(t){return e.$emit("clickRow",t)}}:{}))],1)]:[n("SortableTable",{ref:"sortableTable",attrs:{cardView:e.cardView,tableId:e.tableId,title:e.title,headers:e.headerMap,rows:e.displayedPage,sortedManually:e.sortConfig,maxHeaderLines:e.maxHeaderLines,enableToggleHorizontalScrollingConfig:e.enableToggleHorizontalScrollingConfig,exportConfig:e.exportConfig,headerActions:e.headerActions,loadingCollapsed:e.loadingCollapsed,sortableRows:e.sortableRows,showColumnsConfigEvenNoTitle:e.showColumnsConfigEvenNoTitle,thHoverDisabled:e.thHoverDisabled,noDataIcon:e.noDataIcon,noDataContent:e.noDataContent},on:{sort:e.handleSort,localSort:function(t){return e.$emit("localSort",t)},clickCell:e.handleClick,action:e.handleAction,files:e.handleFile,headerAction:e.handleHeaderAction,configColumn:e.columnConfigChanged,shownHeaders:function(t){return e.$emit("shownHeaders",t)},allHeaders:function(t){return e.$emit("allHeaders",t)},toggleRow:function(t){return e.$emit("toggleRow",t)},isColumnsConfigOpen:function(t){return e.$emit("isColumnsConfigOpen",t)},orderChanged:e.onOrderChanged},scopedSlots:e._u([e.menuRowsPerPage&&e.menuRowsPerPage.length?{key:"dropdown_menu",fn:function(){return[n("SelectRowPerPage",{attrs:{pageSize:e.pageSize,rowSteps:e.menuRowsPerPage},on:{tablePageSize:e.onPageSizeChange}})]},proxy:!0}:null,{key:"header___SELECT__",fn:function(){return[null!=e.selectionAsBlacklist?n("InputCheckBoxItem",{staticStyle:{"margin-left":"3px"},attrs:{value:e.areAllSelected,indeterminate:e.areOnlySomeSelected,tid:e._generateTidFromString(e.tableId+":__SELECT__")},on:{input:e.onSelectAll}}):e._e()]},proxy:!0},e._l(e.headersFlat,(function(t){var a=t.key,i=t.rowElement;return{key:a,fn:function(t){var s=t.row,r=t.id;return[i||"__SELECT__"!=a||null==r||s.selectedHidden?i||"__SELECT__"==a?e._e():e._t(a,null,null,s):n("InputCheckBoxItem",{key:a,attrs:{value:e.isCheckmarked(r),tid:e._generateTidFromString(e.tableId+":__SELECT__:"+r)},on:{input:function(t){return e.onSelect(r)}}})]}}}))],null,!0)}),e.displayedItems>0?n("div",{staticClass:"table-pagination"},[n("div",{staticClass:"table-pagination--left"},[n("PageRowCount",{attrs:{displayedItems:e.displayedItems,totalRows:e.rowCount}}),n("SelectRowPerPage",{attrs:{short:"",pageSize:e.pageSize,rowSteps:e.menuRowsPerPage},on:{tablePageSize:e.onPageSizeChange}})],1),e.displayedItems<e.rowCount?n("div",{staticClass:"table-pagination--right"},[n("Pagination",{attrs:{totalPages:e.pageCount,currentPage:e.displayedPageIndex},on:{pagechanged:e.onPageChange}})],1):e._e()]):e._e()]],2)},i=[],s=n("2909"),r=n("5530"),o=(n("a9e3"),n("d81d"),n("0481"),n("07ac"),n("159b"),n("4de4"),n("be3c")),l=n("c454"),c=n("46bc"),d=n("85e3"),u=n("2f62"),p={mixins:[o["a"]],components:{MobileTable:c["a"],ScrollLoading:d["a"]},model:{prop:"selected",event:"selected"},props:{tableId:{type:String},title:{type:String,default:""},headers:{type:Object,default:function(){},required:!0},pages:{type:Object,default:function(){},required:!0},rowId:{type:String,default:"id"},pageCount:{type:Number,required:!0},rowCount:{type:Number,required:!0},page:{type:Number,default:void 0},sorted:{type:Object,default:function(){}},dragnDropFilesOnRow:{type:Boolean,default:!1},selected:{type:Array,default:function(){return null}},selectionAsBlacklist:{type:Boolean,default:void 0},maxHeaderLines:{type:Number,default:1},enableToggleHorizontalScrollingConfig:{type:Boolean,default:!1},exportConfig:{type:Object,default:function(){return null}},headerActions:{type:Array,default:function(){return[]}},menuRowsPerPage:{type:Array,default:function(){return[]}},pageSize:{type:Number,default:25},loadingCollapsed:{type:Object,default:function(){}},sortableRows:{type:Boolean,default:!1},showColumnsConfigEvenNoTitle:{type:Boolean,default:!1},cardView:{type:Boolean,default:!1},thHoverDisabled:{type:Boolean,default:!1},noDataIcon:{type:Boolean,default:!1},noDataContent:{type:String},mobileConfig:{type:Object,default:function(){return null}}},data:function(){return{scrollHorizontally:!1,localSortConfig:null}},computed:Object(r["a"])(Object(r["a"])({},Object(u["b"])({pageTableCount:l["default"].GETTERS.GET_BROKER_PAGE_TABLE_SIZE})),{},{displayedPageIndex:function(){return void 0!=this.page?this.page:this.pageIndex},displayedPage:function(){var e=this;return this.pages[this.displayedPageIndex]?this.pages[this.displayedPageIndex].map((function(t){return{id:e.constructRowId(t),row:t,acceptsFile:e.dragnDropFilesOnRow,customRowStyle:t.customRowStyle||{}}})):[]},rowsWithId:function(){var e=this;return Object.values(this.pages).flat().map((function(t){return{id:e.constructRowId(t),row:t,acceptsFile:e.dragnDropFilesOnRow,customRowStyle:t.customRowStyle||{}}}))},displayedItems:function(){return this.displayedPage.length},canSortLocally:function(){return this.areAllRowsLoaded},sortConfig:function(){var e,t;return this.canSortLocally?this.localSortConfig:{key:null===(e=this.sorted)||void 0===e?void 0:e.key,ascending:"desc"!=(null===(t=this.sorted)||void 0===t?void 0:t.sortDirection)}},isSelected:function(){var e=this;if(this.selected){var t={};return this.selected.forEach((function(n){t[e.constructRowId(n)]=!0})),t}},areAllSelected:function(){return this.selectionAsBlacklist&&!this.selected.length||!this.selectionAsBlacklist&&this.selected.length==this.rowCount},areOnlySomeSelected:function(){return this.selected.length>0&&!this.areAllSelected},areAllRowsLoaded:function(){return this.rowCount==Object.values(this.pages).flat().length}}),watch:{canSortLocally:function(e){var t,n,a;e&&null!==(t=this.sorted)&&void 0!==t&&t.key?this.localSortConfig={key:null===(n=this.sorted)||void 0===n?void 0:n.key,ascending:"desc"!=(null===(a=this.sorted)||void 0===a?void 0:a.sortDirection)}:this.localSortConfig=void 0},pageTableCount:{handler:function(){-1===this.pageTableCount&&this.$store.dispatch(l["default"].ACTIONS.LOAD_BROKER_PAGE_TABLE_SIZE)},immediate:!0},$isSmallScreen:function(e){this.onPageSizeChange(this.pageSize)}},mounted:function(){var e,t,n;this.canSortLocally&&null!==(e=this.sorted)&&void 0!==e&&e.key&&(this.localSortConfig={key:null===(t=this.sorted)||void 0===t?void 0:t.key,ascending:"desc"!=(null===(n=this.sorted)||void 0===n?void 0:n.sortDirection)})},methods:{onPageChange:function(e){this.pageIndex=Math.max(0,Math.min(this.pageCount-1,e)),this.$emit("page",this.pageIndex),this.pages[this.pageIndex]||this.$emit("requestPage",this.pageIndex)},onPageSizeChange:function(e){this.$emit("rowsPerPage",e),this.pageIndex=0,this.$emit("page",this.pageIndex)},handleSort:function(e){var t=e.key,n=e.ascending;this.canSortLocally?t&&this.localSortConfig?this.localSortConfig={key:t,ascending:n}:this.localSortConfig=void 0:(this.$emit("sort",{key:t,sortDirection:n?"asc":"desc"}),this.pageIndex=0,this.$emit("page",this.pageIndex))},isCheckmarked:function(e){return!this.isSelected[e]!==!this.selectionAsBlacklist},onSelect:function(e){var t=Object(r["a"])({},this.isSelected);t[e]?delete t[e]:t[e]=!0,this.emitSelected(t)},onSelectAll:function(e){this.$emit("selectionAsBlacklist",e),this.$emit("selected",[])},emitSelected:function(e){var t=this,n=Object.values(this.pages).flat(),a=n.filter((function(n){return e[t.constructRowId(n)]}));this.$emit("selected",a)},onOrderChanged:function(e){var t=this.pageIndex;this.$emit("orderChanged",{pageIndex:t,rows:Object(s["a"])(e)})}}},h=p,f=(n("6a99"),n("2877")),m=Object(f["a"])(h,a,i,!1,null,"00ef267f",null);t["a"]=m.exports},"94bf":function(e,t,n){var a=n("7261");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("d72b4f4e",a,!0,{sourceMap:!1,shadowMode:!1})},"951f":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".invalid[data-v-1513d866]{color:var(--color-danger)}label[data-v-1513d866]{display:block;margin-top:8px}.label-item[data-v-1513d866]{margin-top:8px;margin-bottom:8px}",""]),e.exports=t},"958c":function(e,t,n){"use strict";n("ea1b")},9946:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".align-end[data-v-7c2d63a8]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:end;align-self:flex-end;padding:0 0 16px 5px}.form-control[data-v-7c2d63a8]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-align:center;-ms-flex-align:center;align-items:center}",""]),e.exports=t},"99c8":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".card-label__container[data-v-05c083ac]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.card-label__label[data-v-05c083ac]{font-size:.75em;color:var(--color-primary);margin:0 0 5px 0}.card-label__value[data-v-05c083ac]{word-break:break-all;white-space:normal}",""]),e.exports=t},"99dd":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".container[data-v-2015b4da]{display:-webkit-box;display:-ms-flexbox;display:flex}",""]),e.exports=t},"9af6":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseModal",{ref:"uploadModal",attrs:{modalTitle:"Datei hochladen",confirmDisabled:!e.canUpload,labelButtonConfirm:"Hochladen"},on:{onConfirmButton:e.doUpload,close:e.close}},[n("div",[e.additionalInputs?n("div",{staticClass:"grid"},[e.uploadType!=e.upload_Type.FROM_DOKUMENTENARCHIV&&e.cameraAvailable&&e.allowFotoUpload?n("FotoButton",{staticClass:"mb-1",staticStyle:{float:"left"},attrs:{isSecondary:"",edgeCorrection:"",highQuality:"",camera:"back"},on:{file:e.onFoto}},[e._v(" Fotografieren ")]):e._e(),e.multipleFileUpload?n("MultiFileSelect",{attrs:{disabled:e.uploadType==e.upload_Type.FROM_DOKUMENTENARCHIV,maxFileSizeMB:e.maxFileSizeMB,accept:e.accept},on:{input:e.dropFiles},model:{value:e.fileList,callback:function(t){e.fileList=t},expression:"fileList"}}):n("BaseFileSelect",{attrs:{disabled:e.uploadType==e.upload_Type.FROM_DOKUMENTENARCHIV,accept:e.accept},on:{files:e.dropFiles}}),e.additionalInputs.length?n("UploadInputList",{attrs:{inputs:e.additionalInputs},model:{value:e.formData,callback:function(t){e.formData=t},expression:"formData"}}):e._e()],1):e._e()])])],1)},i=[],s=n("5530"),r=(n("dca8"),n("a9e3"),n("b64b"),n("7db0"),n("caad"),n("2532"),n("b0c0"),n("ac1f"),n("5319"),n("159b"),n("d137")),o=n("e411"),l=n("0169"),c=n("f989"),d=n("8839"),u=n("a871"),p=n("00cb"),h=n("a388"),f=n("a482"),m=n("de6c"),b=n("876f"),v=n("98fc"),g=n("a2c3"),E=Object.freeze({DEFAULT:1,DOKUMENTE_HINZUFUGEN:2,CUSTOM:3,BEDARFSERMITTLUNG:4,FROM_DOKUMENTENARCHIV:5}),_={mixins:[d["a"]],components:{MultiFileSelect:r["a"],UploadInputList:c["a"],BaseModal:u["a"],BaseFileSelect:p["a"],FotoButton:h["a"]},props:{files:{default:null,type:Array},accept:{default:"*",type:String},additionalInputs:{required:!0,type:Array},parentId:{type:String},openOnMount:{type:Boolean,default:!0},uploadType:{type:Number,default:1},documentString:{type:String},multipleFileUpload:{type:Boolean,default:!0},customUpload:{type:Function},versicherungId:{type:[String,Number],default:null,required:!1},schadenId:{type:[String,Number],default:null,required:!1},showOnlySchadenDocs:{type:Boolean,default:!1},allowFotoUpload:{type:Boolean,default:!0},suppressReload:{type:Boolean,default:!1},maxFileSizeMB:{type:Number,default:0}},data:function(){var e=this.getFormData();return Object(s["a"])(Object(s["a"])({fileList:this.files},e&&Object.keys(e).length?{formData:e}:{}),{},{cameraAvailable:!1,bezeichnungFields:["input_bezeichnung","INPUT_BEZEICHNUNG"]})},computed:{upload_Type:function(){return E},canUpload:function(){var e,t=this;return 0!=(null===(e=this.fileList)||void 0===e?void 0:e.length)&&!this.additionalInputs.some((function(e){return e.valid&&!t.evaluateUploadExpression(e.valid)}))}},watch:{additionalInputs:function(){this.formData=this.getFormData()}},mounted:function(){var e,t=this;this.openOnMount&&(this.$refs.uploadModal.open(),this.guessBezeichnung()),navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices&&navigator.mediaDevices.enumerateDevices().then((function(e){t.cameraAvailable=e.some((function(e){return"videoinput"==e.kind}))})),null!==(e=this.formData)&&void 0!==e&&e.INPUT_KATEGORIE&&this.showOnlySchadenDocs&&(this.formData.INPUT_KATEGORIE="SCHADENMELDUNG")},methods:{dropFiles:function(e){this.fileList=e,this.guessBezeichnung()},guessBezeichnung:function(){var e=this;if(this.additionalInputs&&this.fileList&&1===this.fileList.length){var t,n=this.additionalInputs.find((function(t){return e.bezeichnungFields.includes(t.key)}));if(n&&!this.formData[n.key])this.formData[n.key]=(null===(t=this.fileList[0].name)||void 0===t?void 0:t.replace(/\.[^/.]+$/,""))||""}},evaluateUploadExpression:function(e){return this.evaluateExpression(this.formData,e)},getFormData:function(){var e={};return this.additionalInputs.forEach((function(t){"DATE"==t.type?e[t.key]=Object(v["b"])(t.value):"LABEL"!=t.type&&(e[t.key]=t.value)})),e},onFoto:function(e){this.multipleFileUpload?this.fileList.push(e):this.fileList=[e],this.guessBezeichnung()},doUpload:function(){var e=this,t=Object(s["a"])({},this.formData);this.additionalInputs.forEach((function(n){n.ignore&&e.evaluateUploadExpression(n.ignore)&&(t[n.key]=null)})),this.fileList.forEach((function(n,a){switch(e.uploadType){case E.DOKUMENTE_HINZUFUGEN:Object(o["c"])(n).then((function(n){e.$store.dispatch(l["default"].ACTIONS.DOKUMENTE_HINZUFUGEN_UPLOAD,Object(s["a"])({documentString:decodeURIComponent(e.documentString),parentId:e.parentId,fileId:n},t&&Object.keys(t).length?{formData:t}:{}))}));break;case E.CUSTOM:e.customUpload?Object(o["c"])(n).then((function(n){e.customUpload({id:n,formData:t})})).catch((function(t){e.$store.dispatch(m["default"].ACTIONS.ADD_MESSAGE,Object(b["b"])("Die Datei kann nicht hochgeladen werden.","danger"))})):console.error("customUpload -> not valid function");break;case E.BEDARFSERMITTLUNG:Object(o["c"])(n).then((function(n){e.$store.dispatch(f["default"].ACTIONS.FINANZPORTAL24_ONLINE_FILELINK,{fileId:n,formData:t}).then((function(e){console.log(e),window.open(e,"_blank")}))}));break;case E.FROM_DOKUMENTENARCHIV:e.$store.dispatch(l["default"].ACTIONS.UPLOAD_DOCUMENT,{fileId:null===n||void 0===n?void 0:n.id,parentId:null===n||void 0===n?void 0:n.nodeId,formData:t,versicherungId:null===n||void 0===n?void 0:n.insuranceId,schadenId:null===n||void 0===n?void 0:n.schadenId}),e.$store.commit(g["default"].MUTATIONS.SET_ATTACHMENTS,{action:"clear"});break;default:Object(o["c"])(n).then((function(n){e.$store.dispatch(l["default"].ACTIONS.UPLOAD_DOCUMENT,{fileId:n,parentId:e.parentId,formData:t,versicherungId:e.versicherungId,schadenId:e.schadenId,suppressReload:e.fileList.length-1!==a||e.suppressReload}).then((function(){e.fileList.length-1==a&&e.$emit("uploadComplete")}))}));break}}))},close:function(){var e=this;this.$nextTick((function(){e.$store.commit(l["default"].MUTATIONS.RETRIEVE_ADDITIONAL_UPLOAD_INPUTS_SUCCESS,null),e.$emit("close")}))},open:function(){this.$refs.uploadModal.open()}}},S=_,T=n("2877"),x=Object(T["a"])(S,a,i,!1,null,null,null);t["a"]=x.exports},"9ce7":function(e,t,n){"use strict";n("66fd")},"9dde":function(e,t,n){var a=n("2b3f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("e49a117a",a,!0,{sourceMap:!1,shadowMode:!1})},"9e95":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".align-end[data-v-0c705a26]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:end;align-self:flex-end;padding:0 0 16px 5px}.form-control[data-v-0c705a26]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-align:center;-ms-flex-align:center;align-items:center}",""]),e.exports=t},a023:function(e,t,n){"use strict";n("66ae")},a0cd1:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".multi-file-primary[data-v-44c0adea]{border:1px solid var(--color-primary);color:var(--color-primary);background-color:var(--color-top-nav-background)}.multi-file-secondary[data-v-44c0adea]{border:1px solid var(--color-secondary);color:var(--color-secondary);background-color:var(--color-workspaces-nav-background)}.multi-file-primary[data-v-44c0adea],.multi-file-secondary[data-v-44c0adea]{text-align:center;font-size:1em;display:-webkit-box;display:-ms-flexbox;display:flex}.multi-file-primary>span[data-v-44c0adea],.multi-file-secondary>span[data-v-44c0adea]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.multi-file-primary>i[data-v-44c0adea],.multi-file-secondary>i[data-v-44c0adea]{border-left:inherit;color:#e00;padding:3px;cursor:pointer}.upload-btn[data-v-44c0adea]{position:relative}.upload-btn--label[data-v-44c0adea]{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0}.upload-btn--label input[data-v-44c0adea]{display:none}.flex-layout[data-v-44c0adea]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-flow:wrap;flex-flow:wrap;margin-top:8px}.flex-layout div[data-v-44c0adea]{margin-bottom:8px}.pill__container[data-v-44c0adea]{margin-right:8px}hr[data-v-44c0adea]{margin-top:8px;margin-bottom:8px}",""]),e.exports=t},a182:function(e,t,n){"use strict";n("88ff")},a263:function(e,t,n){"use strict";n("fe94")},a3a8:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".vertical-stepper--collapsable[data-v-c010bc4e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle__container[data-v-c010bc4e]{-ms-flex-item-align:end;align-self:flex-end;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin:0 8px 8px 0}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle[data-v-c010bc4e]{margin:0;-webkit-transition:-webkit-transform .5s ease;transition:-webkit-transform .5s ease;transition:transform .5s ease;transition:transform .5s ease,-webkit-transform .5s ease}.vertical-stepper--collapsable .vertical-stepper--items[data-v-c010bc4e]{width:100%;max-width:268px;overflow:hidden;-webkit-transition:max-width .5s ease;transition:max-width .5s ease}.vertical-stepper--collapsable .vertical-stepper--items__wrap[data-v-c010bc4e]{min-width:268px}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--collapse-toggle[data-v-c010bc4e]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--items[data-v-c010bc4e]{max-width:32px}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep-pipe[data-v-c010bc4e]{border-color:#999}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep__warning-pipe[data-v-c010bc4e]{border:2px solid var(--color-danger)}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-c010bc4e],.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-c010bc4e]{font-weight:400}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-c010bc4e]{font-size:inherit}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-c010bc4e]{font-size:.8rem}.vertical-stepper__container[data-v-c010bc4e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:-8px}.vertical-stepper__container>*[data-v-c010bc4e]{margin:8px}.vertical-stop__substep-pipe[data-v-c010bc4e]{border:1px solid #ccc;min-height:1rem}.vertical-stop__substep__warning-pipe[data-v-c010bc4e]{border:1px solid var(--color-danger);min-height:1rem}.vertical-stop__label--selected[data-v-c010bc4e]{font-weight:510;font-size:1.05rem}.vertical-stop__label[data-v-c010bc4e]{margin-left:8px}.vertical-stop__icon[data-v-c010bc4e]{-ms-flex-negative:0;flex-shrink:0}.stepper-item__container[data-v-c010bc4e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stepper-item__container.disabled[data-v-c010bc4e]{cursor:not-allowed;opacity:.8}.stepper-item__icon[data-v-c010bc4e]{-webkit-box-flex:0;-ms-flex:0 0 32px;flex:0 0 32px;height:32px}.stepper-item__label[data-v-c010bc4e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vertical-step__icon-container[data-v-c010bc4e]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vertical-step__icon-container[data-v-c010bc4e],.vertical-substep__icon-container[data-v-c010bc4e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.vertical-substep__icon-container[data-v-c010bc4e]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-left:45%;gap:5px}.vertical-substep__label[data-v-c010bc4e]{font-size:.8rem;margin-left:16px}.vertical-substep__label--selected[data-v-c010bc4e]{font-weight:510;font-size:.85rem}@media screen and (min-width:3840px){.app--is-test-user-context .vertical-stepper--collapsable .vertical-stepper--items[data-v-c010bc4e]{max-width:368px}}",""]),e.exports=t},a4a6:function(e,t,n){var a=n("a0cd1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("082a2cce",a,!0,{sourceMap:!1,shadowMode:!1})},a5a4:function(e,t,n){var a=n("443a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("1a84ae2b",a,!0,{sourceMap:!1,shadowMode:!1})},a63d:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,'.vertical-stepper-item--title{background:var(--color-box);border-radius:4px;-webkit-box-shadow:-2px 2px 3px rgba(85,85,85,.1);box-shadow:-2px 2px 3px rgba(85,85,85,.1);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--color-text);margin:-20px 0 0 44px;padding:8px 16px;pointer-events:none;position:absolute;top:0;left:0;height:40px}.vertical-stepper-item--title.vertical-stepper-item--title--selected{font-weight:510}.vertical-stepper-item--title:after{content:"";-webkit-box-sizing:border-box;box-sizing:border-box;border:.5em solid #000;border-color:transparent transparent var(--color-box) var(--color-box);-webkit-box-shadow:-1px 1px 3px 0 rgba(85,85,85,.1);box-shadow:-1px 1px 3px 0 rgba(85,85,85,.1);margin-top:-.75rem;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;left:0;top:50%;width:0;height:0}',""]),e.exports=t},a6ea:function(e,t,n){"use strict";var a=n("5530"),i=(n("ac1f"),n("5319"),n("b680"),n("d3b7"),n("25f0"),n("a9e3"),n("b0c0"),n("d81d"),n("4de4"),n("99af"),n("a15b"),n("caad"),n("5a0c")),s=n.n(i),r=n("de6c"),o=n("a2c9"),l=n("2f62"),c=n("2684"),d=n("8942"),u=n("97bc"),p=["short","decimal-short","full"];function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(isNaN(e))return e;var a=0!==t?(e/1).toFixed(t).replace(".",","):parseInt(e/1).toString().replace(".",",");return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")+" ".concat(n,"€")}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(isNaN(e))return e;var a=0!==t?(e/1).toFixed(t).replace(".",","):parseInt(e/1).toString().replace(".",",");return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")+" ".concat(n,"%")}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return isNaN(e)||"number"!==typeof e?e||"":e.toLocaleString("de-DE",{minimumFractionDigits:0,maximumFractionDigits:t})}t["a"]={props:{chartDataName:{type:String,default:""},format:{type:String,default:"currency"},height:{type:String,default:"200px"},numberFixed:{type:Number,default:2},isTooltip:{type:Boolean,default:!0},isLegend:{type:Boolean,default:!1},showXaxis:{type:Boolean,default:!0},showYaxis:{type:Boolean,default:!0},customColors:{type:Array,default:null},axisLabelFormatterShowOption:{type:String|Number,default:"short"}},data:function(){return{themeKey:Object(d["b"])(),themeColors:Object(u["f"])()}},computed:{style:function(){var e=this.height;if(this.isMobileNativeContext){var t=parseInt(this.height);e="".concat(t/1.33,"px")}return Object(a["a"])({width:"100%",height:e},Object(l["b"])({isMobileNativeContext:c["default"].GETTERS.IS_MOBILE_NATIVE_CONTEXT}))}},methods:{formattedValue:function(e){return"currency"===this.format?h(e||0,this.numberFixed):"percent"===this.format?f(e||0,this.numberFixed):e},formattedXValue:function(e,t){return"xAxis.time"===t?s()(e).format("DD.MM.YYYY"):e},yValue:function(e){return Array.isArray(e)?e[1]:e},tooltipFormatter:function(e){var t=this;if(Array.isArray(e)){var n,a=e[0],i=this.chartSeries.length&&(null===(n=this.chartSeries[0].config)||void 0===n?void 0:n.tooltipRow),s=a.name||this.formattedXValue(a.axisValueLabel,a.axisType)||"",r=e.filter((function(e){return Array.isArray(e.value)||!isNaN(e.value)})).map((function(e){if(i)return i(e,t.chartSeries);var n=e.marker,a=e.seriesName,s=e.value,r=t.formattedValue(t.yValue(s));return"<div><span>".concat(n,"</span> <span>").concat(a,":</span> <b>").concat(r,"</b></div>")}));return'\n          <div class="tooltip-series">\n            <div><b>'.concat(s,'</b></div>\n            <div class="tooltip-series-table">').concat(r.join(""),"</div>\n          </div>\n        ")}var o=e.marker,l=e.seriesName,c=e.name,d=e.value,u=this.formattedValue(this.yValue(d));return"\n          <div>\n            <div><b>".concat(l,'</b></div>\n            <div class="tooltip-series-label">\n              <div><span>').concat(o,"</span>").concat(c,':<wbr>\n                <span style="white-space: nowrap;"><b>').concat(u,"</b></span>\n              </div>\n            </div>\n          </div>")},axisLabelFormatter:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"short";return p.includes(t)||this.$store.dispatch(r["default"].ACTIONS.WARN,'axisLabelFormatter got invalid value as showOption: "'.concat(t,'"')),function(n){var a="",i=n,s=2;if("full"!==t)if(n>=1e6||n<=-1e6?(i/=1e6,a="M"):(n>=1e3||n<=-1e3)&&(i/=1e3,a="T"),"short"===t)s=1;else if("number"===typeof t)return"currency"===e.format?a+="€":"percent"===e.format&&(a+="%"),m(i,t)+" "+a;return"currency"===e.format?m(i,s)+" "+a+"€":"percent"===e.format?m(i,s)+" "+a+"%":"integer"===e.format?Object(o["a"])(i,0)+(a?" "+a:""):i}},dispatchAction:function(e){var t,n;null!==(t=this.$refs)&&void 0!==t&&t.chart&&(null===(n=this.$refs.chart)||void 0===n||n.dispatchAction(e))},handleColorSchemeChanged:function(){var e=this;this.$nextTick((function(){return requestAnimationFrame((function(){e.themeKey=Object(d["b"])(),e.themeColors=Object(u["f"])()}))}))}},mounted:function(){window.addEventListener(d["a"].name,this.handleColorSchemeChanged)},destroyed:function(){window.removeEventListener(d["a"].name,this.handleColorSchemeChanged)}}},a6f4:function(e,t,n){var a=n("4d13");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("1558284b",a,!0,{sourceMap:!1,shadowMode:!1})},a77e:function(e,t,n){var a=n("c920");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("77645d7e",a,!0,{sourceMap:!1,shadowMode:!1})},a845:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".stepper-section[data-v-d90a9422]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;padding:4px 4px;border-bottom:1px solid #c4c4c4;font-size:1em;line-height:24px}.stepper-section .stepper-section__arrow[data-v-d90a9422]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.stepper-section>.stepper-section__label[data-v-d90a9422]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%}.stepper-section .stepper-section__arrow+.stepper-section__label[data-v-d90a9422]{max-width:calc(100% - 20px)}.stepper-section>.stepper-section__label>div[data-v-d90a9422]:nth-child(2){font-weight:500;word-break:keep-all;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}div.stepper-section[data-v-d90a9422]:last-child{border-bottom:none}.status-icon[data-v-d90a9422]{padding:4px 4px}.stepper-row>div>div[data-v-d90a9422]{word-break:keep-all;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}div.line-separator-substeps[data-v-d90a9422]{display:-webkit-box;display:-ms-flexbox;display:flex}div.line-separator-substeps[data-v-d90a9422]:not(:empty){border-bottom:1px solid #c4c4c4;padding:4px 4px;line-height:24px}.box__container>span:last-child>div[data-v-d90a9422]{border-bottom:none}.substep-label[data-v-d90a9422]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;font-weight:500;word-break:keep-all;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding-left:16px}.substep-label__warning[data-v-d90a9422]{padding-left:0}.substep-arrow[data-v-d90a9422]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:right;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content}.status__icon[data-v-d90a9422]{margin:4px 4px}.status__icon[data-v-d90a9422],.substep-warning__icon[data-v-d90a9422]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.substep-warning__icon[data-v-d90a9422]{margin:0 2px 5px 0}.modal__container[data-v-d90a9422]{padding:0 24px}@media only screen and (max-width:720px){.stepper-section>.stepper-section__label>div[data-v-d90a9422]:nth-child(2){font-size:1.2rem}}",""]),e.exports=t},a947:function(e,t,n){"use strict";n("8eb3")},aa367:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"row"},[e.canViewCourtageStep?n("div",{staticClass:"col-12"},[n("InputField",{attrs:{id:"courtageBemerkung",label:e.isIntern&&!e.isMaklerzugang?"Bemerkung zur Courtage (Sichtbar für Vermittler)":"Bemerkung zur Courtage",disabled:e.cannotEditAPBemerkung},on:{input:function(t){return e.dataChanged("courtageBemerkung",t)}},model:{value:e.versicherungenDetails.insurance.courtageBemerkung,callback:function(t){e.$set(e.versicherungenDetails.insurance,"courtageBemerkung",t)},expression:"versicherungenDetails.insurance.courtageBemerkung"}})],1):e._e()]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("InputField",{attrs:{id:"produktbezeichnung",label:"Produktbezeichnung",disabled:""},model:{value:e.versicherungenDetails.produktbez,callback:function(t){e.$set(e.versicherungenDetails,"produktbez",t)},expression:"versicherungenDetails.produktbez"}})],1)]),e.isIntern?n("div",{staticClass:"row"},[n("div",{staticClass:"col-6"},[n("InputCheckBoxItem",{attrs:{label:"ThinkSurance Vergleichsrechner"},model:{value:e.form.thinksuranceVergleich,callback:function(t){e.$set(e.form,"thinksuranceVergleich",t)},expression:"form.thinksuranceVergleich"}})],1)]):e._e(),e.isIntern?n("div",{staticClass:"row"},[n("div",{staticClass:"col-6"},[n("InputCheckBoxItem",{attrs:{label:"ThinkSurance Angebotserstellung"},model:{value:e.form.thinksuranceAngebot,callback:function(t){e.$set(e.form,"thinksuranceAngebot",t)},expression:"form.thinksuranceAngebot"}})],1)]):e._e(),e.editable?n("div",{staticClass:"row"},[n("div",{staticClass:"col 12"},[n("BaseButton",{on:{click:function(t){return e.openNewBuchung()}}},[e._v("Neue")])],1)]):e._e(),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[!e.loading&&e.rows.length?n("Table",{attrs:{title:"Abrechnungen",headers:e.headers,rows:e.rows,rowsPerPage:10,rowId:"buchungsnr",exportConfig:{roottext:"Abrechnungen"}},on:{"click-buchungsnr":e.openEditBuchung,"action-DELETE":function(t){return e.deleteAbrechnung(t)},"action-STRUKTUR":function(t){return e.openVerteilungAufDieStruktur(t)},"action-COPY":function(t){return e.copyVersicherungBuchung(t)},"action-STORNO":function(t){return e.stornierenVersicherungBuchung(t)}},model:{value:e.selectedRowsAbrechnungTable,callback:function(t){e.selectedRowsAbrechnungTable=t},expression:"selectedRowsAbrechnungTable"}}):e.loading?n("GhostLoading",{attrs:{type:"table"}}):n("NoData",{attrs:{content:"Es wurden keine Einträge gefunden"}})],1)]),n("BaseModal",{ref:"buchungDeleteModal",attrs:{size:"sm",modalTitle:"Buchung löschen",labelButtonConfirm:"Löschen"},on:{onConfirmButton:function(t){return e.deleteBuchungItem()}},scopedSlots:e._u([{key:"default",fn:function(){return[e._v(" Soll die Buchung "+e._s(e.abrechnungItemToDelete.buchungsnr)+" wirklich gelöscht werden? ")]},proxy:!0}])}),n("BaseModal",{ref:"buchungCopyModal",attrs:{size:"sm",modalTitle:"Buchung kopieren",labelButtonConfirm:"kopieren"},on:{onConfirmButton:function(t){return e.copyBuchungItem()}},scopedSlots:e._u([{key:"default",fn:function(){return[n("h3",{staticClass:"color-danger"},[e._v("ACHTUNG!")]),n("p",[e._v("Die Courtagesätze werden gemäß der Verteilung des Originals ebenfalls kopiert!")]),n("p",[e._v("Dies gilt allerdings nur solange Sie die Verteilung nicht neu berechnen lassen!")]),n("p",[e._v("Möchten Sie mit dem Kopieren fortfahren?")])]},proxy:!0}])}),n("BaseModal",{ref:"buchungStornierenModal",attrs:{size:"sm",modalTitle:"Buchung Stornieren",labelButtonConfirm:"Stornieren"},on:{onConfirmButton:function(t){return e.stornierenBuchungItem()}},scopedSlots:e._u([{key:"default",fn:function(){return[n("h3",{staticClass:"color-danger"},[e._v("ACHTUNG!")]),n("p",[e._v("Die Courtagesätze werden gemäß der Verteilung des Originals ebenfalls kopiert und ins Minus gesetzt!")]),n("p",[e._v("Dies gilt allerdings nur solange Sie die Verteilung nicht neu berechnen lassen!")]),n("p",[e._v("Möchten Sie mit dem Stornieren fortfahren?")])]},proxy:!0}])})],1)},i=[],s=n("2909"),r=n("5530"),o=(n("a434"),n("d81d"),n("b680"),n("99af"),n("2f62")),l=n("d4b0"),c=n("cd68"),d=n("64c5"),u=n("a871"),p=n("04bc"),h=n("689f"),f=n("d53f"),m=n("c0a4"),b=n("6eb5"),v=n("5818"),g=n("c704"),E=n("a9e4"),_=n("04ad"),S=n("b1a7"),T=2,x={mixins:[_["a"]],components:{BaseModal:u["a"],BaseButton:p["default"],Table:h["a"],PhTrash:m["PhTrash"],PhArrowsLeftRight:m["PhArrowsLeftRight"],PhCopy:m["PhCopy"],PhArrowBendDoubleUpRight:m["PhArrowBendDoubleUpRight"],GhostLoading:b["a"],InputCheckBoxItem:v["a"],InputField:g["default"],NoData:S["a"]},props:{editable:{type:Boolean,default:!1}},data:function(){return{loading:!1,abrechnungItemToDelete:{},abrechnungItemToCopy:{},deleteLoading:!1,deleteId:null,form:{},selectedRowsAbrechnungTable:null,copyLoading:null,copyBuchungID:null,newAPBemerkung:null}},watch:{versicherungenDetails:function(e){var t,n;this.newAPBemerkung=!(null!==e&&void 0!==e&&null!==(t=e.insurance)&&void 0!==t&&null!==(n=t.courtageBemerkung)&&void 0!==n&&n.length)}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({abrechnungen:l["default"].GETTERS.INSURANCE_ABRECHNUNGEN,versicherungenDetails:l["default"].GETTERS.INSURANCE_DETAILS,isIntern:d["default"].GETTERS.ORIGINAL_USER_IS_INTERN,isMaklerzugang:d["default"].GETTERS.IS_MAKLERZUGANG,isFpPlus:d["default"].GETTERS.IS_FPP_PLUS,isHauptstrukturleitenr:d["default"].GETTERS.IS_HAUPTSTRUKTURLEITENR,hasRoles:d["default"].GETTERS.HAS_ROLES,isFA:d["default"].GETTERS.IS_FA,isFK:d["default"].GETTERS.IS_FK})),{},{hasSpecialPermission:function(){var e=this.hasRoles([[E["f"].VIEW_CUSTOMER,E["f"].VIEW_CUSTOMER_AS_INTERN]]),t=!this.hasRoles([[E["f"].VIEW_CUSTOMER_AS_BROKER]]);return e||t},headers:function(){var e=[Object(f["TextColumn"])("zeichnungsdatum","Z.-Datum"),Object(f["TextColumn"])("courtageeingDatum","Prov. Eingang"),Object(f["TextColumn"])("courtageart","Prov. Art"),Object(f["PercentageColumn"])("provisionsSatzProzent","Prov. Satz %"),Object(f["NumberColumn"])("bewertungssumme","Bew.Summe",T),Object(f["NumberColumn"])("courtagesumme","Courtagesumme",T),Object(f["TextColumn"])("status","Status"),Object(f["TextColumn"])("automatisch","Auto"),Object(f["TextColumn"])("rechDatum","Abr. Datum"),Object(f["TextColumn"])("istOverhead","Overhead"),Object(f["TextColumn"])("userId","Bearbeiter"),Object(f["TextColumn"])("bemerkung","Bemerkung")],t=[Object(f["TextColumn"])("zeichnungsdatum","Z.-Datum"),Object(f["TextColumn"])("courtageeingDatum","Prov. Eingang"),Object(f["TextColumn"])("courtageart","Prov. Art"),Object(f["NumberColumn"])("bewertungssumme","Bew.Summe",T),Object(f["NumberColumn"])("provBetrag","Prov. Betrag",T),Object(f["TextColumn"])("status","Status"),Object(f["TextColumn"])("automatisch","Auto"),Object(f["TextColumn"])("rechDatum","Abr. Datum"),Object(f["TextColumn"])("userId","Bearbeiter"),Object(f["TextColumn"])("bemerkung","Bemerkung")],n={center:[Object(f["TextColumn"])("zeichnungsdatum","Z.-Datum"),Object(f["TextColumn"])("courtageart","Prov. Art"),Object(f["NumberColumn"])("bewertungssumme","Bew.Summe",T),Object(f["TextColumn"])("rechDatum","Abr. Datum"),Object(f["TextColumn"])("bemerkung","Bemerkung")]},a=[],i=[];return this.hasSpecialPermission&&(a=[Object(f["TextColumn"])("buchungsnr","Buchungsnr").makeLink().makeAlwaysVisible()],n.center.splice(1,0,Object(f["TextColumn"])("courtageeingDatum","Prov. Eingang")),n.center.splice(5,0,Object(f["TextColumn"])("status","Status"))),i=[Object(f["ActionColumn"])("actions","Aktionen")],n["lockedLeft"]=a,n["lockedRight"]=i,this.isIntern?n.center=e:this.editable&&(n.center=t),n},rows:function(){var e=this;if(!this.abrechnungen)return[];var t=function(t){return t.status<3&&t.allowNewBuchung&&!e.isIntern},n=function(n){var a=[Object(f["SimpleAction"])("STRUKTUR",m["PhArrowsLeftRight"],"Verteilung auf die Struktur")];return e.isIntern&&a.unshift(Object(f["LoadingAction"])("DELETE",m["PhTrash"],"Löschen",t(n),(function(t){return e.deleteLoading&&e.deleteId==t.id}))),e.editable&&a.push(Object(f["LoadingAction"])("COPY",m["PhCopy"],"Copy",(function(){return n.allowNewBuchung})),Object(f["LoadingAction"])("STORNO",m["PhArrowBendDoubleUpRight"],"Stornieren",(function(){return n.allowNewBuchung}))),a};return Object(s["a"])(this.abrechnungen).map((function(e){var t=Object(r["a"])(Object(r["a"])({},e),{},{actions:n(e)});return t.bewertungssumme=(e.bewertungssumme||0).toFixed(T),t.courtagesumme=(e.courtagesumme||0).toFixed(T),t.istOverhead=!0===e.istOverhead?"Ja":"Nein",t}))},canViewCourtageStep:function(){return this.hasRoles([[E["f"].VIEW_BROKER],[E["f"].VIEW_CUSTOMER_AS_BROKER],[E["f"].VIEW_CUSTOMER_AS_INTERN]])},cannotEditAPBemerkung:function(){return!this.newAPBemerkung&&!this.isIntern&&!this.isHauptstrukturleitenr}}),methods:{openNewBuchung:function(){this.$router.push("/home/versicherungen/insurance-group/versicherung-buchungs/".concat(this.$route.params.id,"/neuesBuchung"))},openEditBuchung:function(e){this.$router.push("/home/versicherungen/insurance-group/versicherung-buchungs/".concat(this.$route.params.id,"/").concat(e.buchungsnr))},openVerteilungAufDieStruktur:function(e){this.$store.commit(c["default"].MUTATIONS.SELECTED_INSURANCE_BUCHUNG,e),this.$router.push("/home/versicherungen/insurance-group/versicherung-verteilung-struktur/".concat(this.$route.params.id,"/").concat(e.buchungsnr))},deleteAbrechnung:function(e){e&&this.openModal("delete",e)},deleteBuchungItem:function(){var e,t,n,a=this;null!==(e=this.abrechnungItemToDelete)&&void 0!==e&&e.buchungsnr&&(this.deleteLoading=!0,this.deleteId=null===(t=this.abrechnungItemToDelete)||void 0===t?void 0:t.buchungsnr,this.$store.dispatch(l["default"].ACTIONS.INSURANCE_BUCHUNG_DELETE,{buchungsnr:null===(n=this.abrechnungItemToDelete)||void 0===n?void 0:n.buchungsnr}).then((function(){a.deleteLoading=!1,a.deleteId=null,a.abrechnungItemToDelete=null})))},openModal:function(e,t){"delete"===e&&(this.abrechnungItemToDelete=Object(r["a"])({},t),this.$refs.buchungDeleteModal.open()),"copy"===e&&(this.abrechnungItemToCopy=Object(r["a"])({},t),this.$refs.buchungCopyModal.open()),"storno"===e&&(this.abrechnungItemToCopy=Object(r["a"])({},t),this.$refs.buchungStornierenModal.open())},copyVersicherungBuchung:function(e){e&&this.openModal("copy",e)},stornierenVersicherungBuchung:function(e){e&&this.openModal("storno",e)},copyBuchungItem:function(){var e,t,n,a=this;null!==(e=this.abrechnungItemToCopy)&&void 0!==e&&e.buchungsnr&&(this.copyLoading=!0,this.copyBuchungID=null===(t=this.abrechnungItemToCopy)||void 0===t?void 0:t.buchungsnr,this.$store.dispatch(l["default"].ACTIONS.INSURANCE_BUCHUNG_COPY,{vertragId:this.$route.params.id,buchungsnr:null===(n=this.abrechnungItemToCopy)||void 0===n?void 0:n.buchungsnr}).then((function(){a.copyLoading=!1,a.copyBuchungID=null,a.abrechnungItemToCopy=null})))},stornierenBuchungItem:function(){var e,t,n,a=this;null!==(e=this.abrechnungItemToCopy)&&void 0!==e&&e.buchungsnr&&(this.copyLoading=!0,this.copyBuchungID=null===(t=this.abrechnungItemToCopy)||void 0===t?void 0:t.buchungsnr,this.$store.dispatch(l["default"].ACTIONS.INSURANCE_BUCHUNG_STORNO,{vertragId:this.$route.params.id,buchungsnr:null===(n=this.abrechnungItemToCopy)||void 0===n?void 0:n.buchungsnr}).then((function(){a.copyLoading=!1,a.copyBuchungID=null,a.abrechnungItemToCopy=null})))}},mounted:function(){var e=this;this.loading=!0,this.$store.dispatch(l["default"].ACTIONS.FIND_ALL_INSURANCE_ABRECHNUNGEN,{vertragId:this.$route.params.id}).then((function(t){e.loading=!1}))}},y=x,k=n("2877"),I=Object(k["a"])(y,a,i,!1,null,null,null);t["a"]=I.exports},abb1:function(e,t,n){"use strict";n("4c81")},aead:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".align-end[data-v-afd2ac2e]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:end;align-self:flex-end;padding:0 0 16px 5px}.form-control[data-v-afd2ac2e]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-align:center;-ms-flex-align:center;align-items:center}",""]),e.exports=t},b0c5:function(e,t,n){"use strict";n("3e90")},b0e2:function(e,t,n){var a=n("792a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("329889a4",a,!0,{sourceMap:!1,shadowMode:!1})},b379:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.files&&e.additionalUploadInputs?n("DocumentsUploadModal",{attrs:{parentId:e.nodeId,files:e.files,additionalInputs:e.additionalUploadInputs,versicherungId:e.versicherungId},on:{close:function(t){return e.close()}}}):e._e()},i=[],s=n("2909"),r=n("5530"),o=(n("a9e3"),n("2f62")),l=n("0169"),c=n("a871"),d=n("9af6"),u={props:{nodeId:{type:[String,Number],default:null},versicherungId:{type:[String,Number],default:null,required:!1}},emits:["close"],data:function(){return{files:null}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({additionalUploadInputsData:l["default"].GETTERS.ADDITIONAL_UPLOAD_INPUTS})),{},{additionalUploadInputs:function(){var e;return(null===(e=this.additionalUploadInputsData)||void 0===e?void 0:e.additionalUploadInputs)||null}}),methods:{open:function(e){this.files=Object(s["a"])(e),this.retrieveAdditionalUploadInputs()},close:function(){this.files=null,this.$emit("close")},retrieveAdditionalUploadInputs:function(){this.$store.dispatch(l["default"].ACTIONS.RETRIEVE_ADDITIONAL_UPLOAD_INPUTS,{nodeId:this.nodeId})}},components:{BaseModal:c["a"],DocumentsUploadModal:d["a"]}},p=u,h=n("2877"),f=Object(h["a"])(p,a,i,!1,null,null,null);t["a"]=f.exports},b4fe:function(e,t,n){"use strict";n("fb6b")},b543:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,'.vertical-step__action-container{display:contents}.vertical-stop__action{-ms-flex-negative:0;flex-shrink:0}.vertical-stepper-item--title{background:var(--color-box);border-radius:4px;-webkit-box-shadow:-2px 2px 3px rgba(85,85,85,.1);box-shadow:-2px 2px 3px rgba(85,85,85,.1);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--color-text);margin:-20px 0 0 44px;padding:8px 16px;pointer-events:none;position:absolute;top:0;left:0;height:40px}.vertical-stepper-item--title.vertical-stepper-item--title--selected{font-weight:510}.vertical-stepper-item--title:after{content:"";-webkit-box-sizing:border-box;box-sizing:border-box;border:.5em solid #000;border-color:transparent transparent var(--color-box) var(--color-box);-webkit-box-shadow:-1px 1px 3px 0 rgba(85,85,85,.1);box-shadow:-1px 1px 3px 0 rgba(85,85,85,.1);margin-top:-.75rem;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;left:0;top:50%;width:0;height:0}',""]),e.exports=t},b663:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".vertical-stepper--collapsable[data-v-4507d7b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle__container[data-v-4507d7b7]{-ms-flex-item-align:end;align-self:flex-end;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin:0 8px 8px 0}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle[data-v-4507d7b7]{margin:0;-webkit-transition:-webkit-transform .5s ease;transition:-webkit-transform .5s ease;transition:transform .5s ease;transition:transform .5s ease,-webkit-transform .5s ease}.vertical-stepper--collapsable .vertical-stepper--items[data-v-4507d7b7]{width:100%;max-width:268px;overflow:hidden;-webkit-transition:max-width .5s ease;transition:max-width .5s ease}.vertical-stepper--collapsable .vertical-stepper--items__wrap[data-v-4507d7b7]{min-width:268px}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--collapse-toggle[data-v-4507d7b7]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--items[data-v-4507d7b7]{max-width:32px}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep-pipe[data-v-4507d7b7]{border-color:#999}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep__warning-pipe[data-v-4507d7b7]{border:2px solid var(--color-danger)}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-4507d7b7],.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-4507d7b7]{font-weight:400}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-4507d7b7]{font-size:inherit}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-4507d7b7]{font-size:.8rem}.vertical-stepper__container[data-v-4507d7b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:-8px}.vertical-stepper__container>*[data-v-4507d7b7]{margin:8px}.vertical-stop__substep-pipe[data-v-4507d7b7]{border:1px solid #ccc;min-height:1rem}.vertical-stop__substep__warning-pipe[data-v-4507d7b7]{border:1px solid var(--color-danger);min-height:1rem}.vertical-stop__label--selected[data-v-4507d7b7]{font-weight:510;font-size:1.05rem}.vertical-stop__label[data-v-4507d7b7]{margin-left:8px}.vertical-stop__icon[data-v-4507d7b7]{-ms-flex-negative:0;flex-shrink:0}.stepper-item__container[data-v-4507d7b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stepper-item__container.disabled[data-v-4507d7b7]{cursor:not-allowed;opacity:.8}.stepper-item__icon[data-v-4507d7b7]{-webkit-box-flex:0;-ms-flex:0 0 32px;flex:0 0 32px;height:32px}.stepper-item__label[data-v-4507d7b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vertical-step__icon-container[data-v-4507d7b7]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vertical-step__icon-container[data-v-4507d7b7],.vertical-substep__icon-container[data-v-4507d7b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.vertical-substep__icon-container[data-v-4507d7b7]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-left:45%;gap:5px}.vertical-substep__label[data-v-4507d7b7]{font-size:.8rem;margin-left:16px}.vertical-substep__label--selected[data-v-4507d7b7]{font-weight:510;font-size:.85rem}@media screen and (min-width:3840px){.app--is-test-user-context .vertical-stepper--collapsable .vertical-stepper--items[data-v-4507d7b7]{max-width:368px}}",""]),e.exports=t},b67f:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".container[data-v-44a6ff20]{height:24px;width:24px;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.stop-content[data-v-44a6ff20]{border-radius:50%;width:100%;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 5px 0 rgba(0,0,0,.2);box-shadow:0 0 5px 0 rgba(0,0,0,.2);outline:none}.stop-content[data-v-44a6ff20]:hover{-webkit-box-shadow:0 0 5px 0 #000;box-shadow:0 0 5px 0 #000}.stop-label[data-v-44a6ff20]{position:absolute;top:16px;font-size:.75rem;display:none;color:var(--text-etikett);outline:none}.stop-content__current[data-v-44a6ff20]{-webkit-box-shadow:0 0 5px 0 #000;box-shadow:0 0 5px 0 #000}.stop-label__current[data-v-44a6ff20]{font-size:.93rem;display:inherit;color:var(--text-primaer)}.stop-checkmark-small[data-v-44a6ff20]{background-color:#28a745;width:100%;height:100%;border-radius:50%}.stop-exclamation-mark-small[data-v-44a6ff20]{background-color:#dc3545;width:100%;height:100%;border-radius:50%}.stop-label--center[data-v-44a6ff20]{text-align:center;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.stop-label--right[data-v-44a6ff20]{text-align:right;right:0}.stop-label--left[data-v-44a6ff20]{text-align:left;left:0}.stop-checkmark[data-v-44a6ff20]{display:none;width:24px;height:24px;border-radius:50%;stroke-width:2;stroke:var(--color-box);stroke-miterlimit:10;-webkit-box-shadow:inset 0 0 0 #28a745;box-shadow:inset 0 0 0 #28a745;-webkit-animation:fill-data-v-44a6ff20 .4s ease-in-out .4s forwards,scale-data-v-44a6ff20 .3s ease-in-out .9s both;animation:fill-data-v-44a6ff20 .4s ease-in-out .4s forwards,scale-data-v-44a6ff20 .3s ease-in-out .9s both}.stop-checkmark__circle[data-v-44a6ff20]{stroke-dasharray:166;stroke-dashoffset:166;stroke-width:2;stroke-miterlimit:10;stroke:#28a745;fill:none;-webkit-animation:stroke-data-v-44a6ff20 .6s cubic-bezier(.65,0,.45,1) forwards;animation:stroke-data-v-44a6ff20 .6s cubic-bezier(.65,0,.45,1) forwards}.stop-checkmark__content[data-v-44a6ff20]{-webkit-transform-origin:50% 50%;transform-origin:50% 50%;stroke-dasharray:48;stroke-dashoffset:48;stroke:var(--color-box);-webkit-animation:stroke-data-v-44a6ff20 .3s cubic-bezier(.65,0,.45,1) .8s forwards;animation:stroke-data-v-44a6ff20 .3s cubic-bezier(.65,0,.45,1) .8s forwards}.stop-exclamation-mark[data-v-44a6ff20]{display:none;width:24px;height:24px;border-radius:50%;stroke-width:2;stroke:var(--color-box);stroke-miterlimit:10;-webkit-box-shadow:inset 0 0 0 #dc3545;box-shadow:inset 0 0 0 #dc3545;-webkit-animation:fill-warning-data-v-44a6ff20 .4s ease-in-out .4s forwards,scale-data-v-44a6ff20 .3s ease-in-out .9s both;animation:fill-warning-data-v-44a6ff20 .4s ease-in-out .4s forwards,scale-data-v-44a6ff20 .3s ease-in-out .9s both}.stop-exclamation-mark__circle[data-v-44a6ff20]{stroke-dasharray:166;stroke-dashoffset:166;stroke-width:2;stroke-miterlimit:10;stroke:#dc3545;fill:none;-webkit-animation:stroke-data-v-44a6ff20 .6s cubic-bezier(.65,0,.45,1) forwards;animation:stroke-data-v-44a6ff20 .6s cubic-bezier(.65,0,.45,1) forwards}.stop-exclamation-mark__content[data-v-44a6ff20]{-webkit-transform-origin:50% 50%;transform-origin:50% 50%;fill:var(--color-box);-webkit-animation:shake-data-v-44a6ff20 .3s cubic-bezier(.65,0,.45,1) .8s forwards;animation:shake-data-v-44a6ff20 .3s cubic-bezier(.65,0,.45,1) .8s forwards}.stop-loading[data-v-44a6ff20]{display:none}.stop-loading-small[data-v-44a6ff20]{border-radius:50%;background:#666;border:1px solid #666;-webkit-animation:pulse-data-v-44a6ff20 .8s linear infinite;animation:pulse-data-v-44a6ff20 .8s linear infinite;width:100%;height:100%}.stop-loading__circle[data-v-44a6ff20]{-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-animation:infinite-rotate-data-v-44a6ff20 .8s linear infinite;animation:infinite-rotate-data-v-44a6ff20 .8s linear infinite;stroke:#666}svg[data-v-44a6ff20]{vertical-align:inherit}@-webkit-keyframes pulse-data-v-44a6ff20{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@keyframes pulse-data-v-44a6ff20{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@-webkit-keyframes infinite-rotate-data-v-44a6ff20{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes infinite-rotate-data-v-44a6ff20{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes shake-data-v-44a6ff20{0%,to{-webkit-transform:none;transform:none}20%,60%{-webkit-transform:rotate(7deg);transform:rotate(7deg)}40%,80%{-webkit-transform:rotate(-7deg);transform:rotate(-7deg)}}@keyframes shake-data-v-44a6ff20{0%,to{-webkit-transform:none;transform:none}20%,60%{-webkit-transform:rotate(7deg);transform:rotate(7deg)}40%,80%{-webkit-transform:rotate(-7deg);transform:rotate(-7deg)}}@-webkit-keyframes stroke-data-v-44a6ff20{to{stroke-dashoffset:0}}@keyframes stroke-data-v-44a6ff20{to{stroke-dashoffset:0}}@-webkit-keyframes scale-data-v-44a6ff20{0%,to{-webkit-transform:none;transform:none}50%{-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}@keyframes scale-data-v-44a6ff20{0%,to{-webkit-transform:none;transform:none}50%{-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}@-webkit-keyframes fill-data-v-44a6ff20{to{-webkit-box-shadow:inset 0 0 0 30px #28a745;box-shadow:inset 0 0 0 30px #28a745}}@keyframes fill-data-v-44a6ff20{to{-webkit-box-shadow:inset 0 0 0 30px #28a745;box-shadow:inset 0 0 0 30px #28a745}}@-webkit-keyframes fill-warning-data-v-44a6ff20{to{-webkit-box-shadow:inset 0 0 0 30px #dc3545;box-shadow:inset 0 0 0 30px #dc3545}}@keyframes fill-warning-data-v-44a6ff20{to{-webkit-box-shadow:inset 0 0 0 30px #dc3545;box-shadow:inset 0 0 0 30px #dc3545}}@media (min-width:992px){.stop-label[data-v-44a6ff20]{display:inherit}}@media (min-width:768px){[data-v-44a6ff20]:host{height:24px;width:24px}.stop-checkmark[data-v-44a6ff20],.stop-loading[data-v-44a6ff20]{display:inline}.stop-checkmark-small[data-v-44a6ff20],.stop-loading-small[data-v-44a6ff20]{display:none}.stop-exclamation-mark[data-v-44a6ff20]{display:inline}.stop-exclamation-mark-small[data-v-44a6ff20]{display:none}.stop-label[data-v-44a6ff20]{top:34px}}",""]),e.exports=t},b772:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".vertical-stepper--collapsable[data-v-bbf160a0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle__container[data-v-bbf160a0]{-ms-flex-item-align:end;align-self:flex-end;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin:0 8px 8px 0}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle[data-v-bbf160a0]{margin:0;-webkit-transition:-webkit-transform .5s ease;transition:-webkit-transform .5s ease;transition:transform .5s ease;transition:transform .5s ease,-webkit-transform .5s ease}.vertical-stepper--collapsable .vertical-stepper--items[data-v-bbf160a0]{width:100%;max-width:268px;overflow:hidden;-webkit-transition:max-width .5s ease;transition:max-width .5s ease}.vertical-stepper--collapsable .vertical-stepper--items__wrap[data-v-bbf160a0]{min-width:268px}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--collapse-toggle[data-v-bbf160a0]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--items[data-v-bbf160a0]{max-width:32px}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep-pipe[data-v-bbf160a0]{border-color:#999}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep__warning-pipe[data-v-bbf160a0]{border:2px solid var(--color-danger)}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-bbf160a0],.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-bbf160a0]{font-weight:400}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-bbf160a0]{font-size:inherit}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-bbf160a0]{font-size:.8rem}.vertical-stepper__container[data-v-bbf160a0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:-8px}.vertical-stepper__container>*[data-v-bbf160a0]{margin:8px}.vertical-stop__substep-pipe[data-v-bbf160a0]{border:1px solid #ccc;min-height:1rem}.vertical-stop__substep__warning-pipe[data-v-bbf160a0]{border:1px solid var(--color-danger);min-height:1rem}.vertical-stop__label--selected[data-v-bbf160a0]{font-weight:510;font-size:1.05rem}.vertical-stop__label[data-v-bbf160a0]{margin-left:8px}.vertical-stop__icon[data-v-bbf160a0]{-ms-flex-negative:0;flex-shrink:0}.stepper-item__container[data-v-bbf160a0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stepper-item__container.disabled[data-v-bbf160a0]{cursor:not-allowed;opacity:.8}.stepper-item__icon[data-v-bbf160a0]{-webkit-box-flex:0;-ms-flex:0 0 32px;flex:0 0 32px;height:32px}.stepper-item__label[data-v-bbf160a0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vertical-step__icon-container[data-v-bbf160a0]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vertical-step__icon-container[data-v-bbf160a0],.vertical-substep__icon-container[data-v-bbf160a0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.vertical-substep__icon-container[data-v-bbf160a0]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-left:45%;gap:5px}.vertical-substep__label[data-v-bbf160a0]{font-size:.8rem;margin-left:16px}.vertical-substep__label--selected[data-v-bbf160a0]{font-weight:510;font-size:.85rem}@media screen and (min-width:3840px){.app--is-test-user-context .vertical-stepper--collapsable .vertical-stepper--items[data-v-bbf160a0]{max-width:368px}}",""]),e.exports=t},b7d2:function(e,t,n){var a=n("8d03");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("0727d5a2",a,!0,{sourceMap:!1,shadowMode:!1})},b9fd:function(e,t,n){var a=n("a63d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("40da199a",a,!0,{sourceMap:!1,shadowMode:!1})},bc9e:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"event-body"},[e.isLoadingAppoiment?[n("GhostLoading",{attrs:{useBoxContainer:""}},[n("Block",{attrs:{type:"title"}}),n("Block",{attrs:{height:"250"}})],1)]:"Empfänger"===e.modus?[e.rowsEmpf.length?n("Table",{attrs:{rowId:"label",headers:e.empfHeaders,rows:e.rowsEmpf,hidePagination:""},scopedSlots:e._u([{key:"rolle",fn:function(t){return[n("div",{staticStyle:{"min-width":"9em"}},[n("ComboBox",{attrs:{label:"",value:t.rolle,values:e.rolleOptions},on:{input:function(n){t.rolle=n,e.onChangeEmpf(t.index,"rolle",n)}}})],1)]}}],null,!1,3527917488),model:{value:e.selectedEmpf,callback:function(t){e.selectedEmpf=t},expression:"selectedEmpf"}}):n("NoData",{attrs:{noIcon:"",content:"Keine Empfänger vorhanden"}}),n("BaseButton",{attrs:{isSecondary:"",label:"Zurück"},on:{click:function(t){e.showEmpfaenger=!1}}}),e.rowsEmpf.length?n("BaseButton",{attrs:{isSecondary:"",label:"Markierte Empfänger hinzufügen",disabled:!e.selectedEmpf.length},on:{click:e.setEmpfaenger}}):e._e(),n("BaseButton",{attrs:{isSecondary:"",label:"Empfängersuche"},on:{click:e.handleAddUsers}})]:[n("div",{staticClass:"d-flex"},[n("span",[e._v("Titel")]),e.versId?n("span",{staticClass:"pl-2"},[e._v(" | Interne Nummer: "),n("a",{on:{click:e.openInsurance}},[e._v(e._s(e.versId))])]):e._e(),e.versId&&e.schadenId?n("span",{staticClass:"pl-2"},[e._v(" | Schaden-Nr. "),n("a",{on:{click:e.openSchaden}},[e._v(e._s(e.schadenId))])]):e._e()]),e.preview?e._e():n("ShortcutInputField",{attrs:{label:"",validateUntouched:"",id:"title"},model:{value:e.label,callback:function(t){e.label=t},expression:"label"}}),e.preview?n("ShortcutInputField",{attrs:{label:"Titel",disabled:"",id:"preview_title",validateUntouched:""},model:{value:e.previewSubject,callback:function(t){e.previewSubject=t},expression:"previewSubject"}}):e._e(),"Aktivität"===e.modus?n("div",[n("InputField",{attrs:{label:"Bereich",value:e.additionalParamsBereich,disabled:!0}})],1):e._e(),n("hr"),n("div",{staticClass:"d-flex"},["Termin"===e.modus?n("InputToggleSwitch",{staticClass:"pr-3",attrs:{label:"Ganztägig"},model:{value:e.fullDay,callback:function(t){e.fullDay=t},expression:"fullDay"}}):e._e(),"Aktivität"!==e.modus?n("InputColorPicker",{attrs:{label:"Farbe"},model:{value:e.color,callback:function(t){e.color=t},expression:"color"}}):e._e()],1),"Aufgabe"===e.modus?n("div",{staticClass:"data-triple"},[n("div",{staticClass:"padding-top"},[n("label",{staticClass:"gridlabel"},[e._v("Von")]),n("div",[n("DatePickerField",{attrs:{dateFormat:"DD.MM.YYYY"},model:{value:e.beginDate,callback:function(t){e.beginDate=t},expression:"beginDate"}})],1)]),n("div",{staticClass:"padding-top"},[n("label",{staticClass:"gridlabel"},[e._v("Fälligkeit")]),n("div",[n("DatePickerField",{attrs:{dateFormat:"DD.MM.YYYY"},model:{value:e.endDate,callback:function(t){e.endDate=t},expression:"endDate"}})],1)]),n("ComboBox",{staticClass:"padding-top",attrs:{label:"Status",values:e.statusOptions},model:{value:e.additionalParamsstatus,callback:function(t){e.additionalParamsstatus=t},expression:"additionalParamsstatus"}})],1):e._e(),"Aktivität"===e.modus?n("ComboBox",{attrs:{label:"Verkaufsphase",values:e.sellingOptions},model:{value:e.additionalParamssellingPhase,callback:function(t){e.additionalParamssellingPhase=t},expression:"additionalParamssellingPhase"}}):e._e(),"Termin"===e.modus?n("div",{staticClass:"data-double"},[n("div",{staticClass:"padding-top"},[n("label",{staticClass:"gridlabel"},[e._v("Von")]),n("div",{staticClass:"data-double"},[n("DatePickerField",{attrs:{dateFormat:"DD.MM.YYYY"},model:{value:e.beginDate,callback:function(t){e.beginDate=t},expression:"beginDate"}}),e.beginDate?n("TimePicker",{attrs:{label:"",disabled:e.fullDay},model:{value:e.beginTime,callback:function(t){e.beginTime=t},expression:"beginTime"}}):e._e()],1)]),n("div",{staticClass:"padding-top"},[n("label",{staticClass:"gridlabel"},[e._v("Bis")]),n("div",{staticClass:"data-double"},[n("DatePickerField",{attrs:{dateFormat:"DD.MM.YYYY"},model:{value:e.endDate,callback:function(t){e.endDate=t},expression:"endDate"}}),e.endDate?n("TimePicker",{attrs:{label:"",disabled:e.fullDay},model:{value:e.endTime,callback:function(t){e.endTime=t},expression:"endTime"}}):e._e()],1)])]):e._e(),"Aktivität"===e.modus?n("div",{staticClass:"data-double"},[n("ComboBox",{attrs:{label:"Wiederholung",values:e.retryCombo},model:{value:e.retry,callback:function(t){e.retry=t},expression:"retry"}}),n("ComboBox",{staticClass:"padding-top",attrs:{label:"Art",values:e.artOptions},model:{value:e.additionalParamsart,callback:function(t){e.additionalParamsart=t},expression:"additionalParamsart"}})],1):e._e(),"Termin"===e.modus?n("div",{staticClass:"data-triple"},[n("ComboBox",{staticClass:"padding-top",attrs:{label:"Wiederholung",values:e.retryCombo},model:{value:e.retry,callback:function(t){e.retry=t},expression:"retry"}}),n("InputField",{staticClass:"padding-top",attrs:{label:"Anzahl Termine",disabled:"Keine"===e.retry},model:{value:e.retryCount,callback:function(t){e.retryCount=t},expression:"retryCount"}}),n("DatePickerField",{attrs:{label:"Höchstens bis zum",dateFormat:"DD.MM.YYYY",disabled:"Keine"===e.retry},model:{value:e.retryMaxDate,callback:function(t){e.retryMaxDate=t},expression:"retryMaxDate"}})],1):e._e(),"Aktivität"===e.modus?[n("div",{staticClass:"data-double"},[n("div",{staticClass:"padding-top"},[n("label",{staticClass:"gridlabel"},[e._v("Fälligkeit")]),n("div",[n("DatePickerField",{attrs:{dateFormat:"DD.MM.YYYY"},model:{value:e.beginDate,callback:function(t){e.beginDate=t},expression:"beginDate"}})],1)]),n("ComboBox",{staticClass:"padding-top",attrs:{label:"Status",values:e.statusOptions},model:{value:e.additionalParamsstatus,callback:function(t){e.additionalParamsstatus=t},expression:"additionalParamsstatus"}})],1),n("div",{staticClass:"data-double padding-top"},[n("InputField",{attrs:{label:"Produkt"},model:{value:e.additionalParamsprodukt,callback:function(t){e.additionalParamsprodukt=t},expression:"additionalParamsprodukt"}}),n("InputField",{attrs:{label:"Geschätzter Geschäftswert",type:"number"},model:{value:e.additionalParamsgeschaeftwert,callback:function(t){e.additionalParamsgeschaeftwert=t},expression:"additionalParamsgeschaeftwert"}})],1)]:e._e(),n("ParticipantInput",{staticClass:"mb-1 padding-top",attrs:{label:"Teilnehmer",combinedDisplay:!0,hidePagination:!0,maxItemsVisible:e.maxItemsVisible,value:e.beteiligteValue,availableUsers:e.availableUsers,isUserSelect:!1,isRole:!0,isReceiveUserClickable:e.isReceiveUserClickable,showMailAndAddressActions:"Termin"===e.modus,bereich:e.bereich,loading:e.searchReceiverUsersLoading},on:{searchReceiverUsers:function(t){return e.searchUsers(t)},deleteReceiveUsers:function(t){return e.deleteUsers(t)},onChange:e.onChange,input:e.onAddParticipant,clickReceiveUsers:function(t){return e.openReceiveUser(t)},setBesitzer:e.setBesitzer,copyAddress:e.copyAddress,sendEmail:function(t){return e.mailSend()},sendEmailSingle:e.mailSend,setAddress:e.setAddress}}),"Aktivität"===e.modus?n("div",{staticClass:"d-flex input-forms__container"},[n("BaseButton",{staticClass:"mr-16",attrs:{isSecondary:""},on:{click:e.getEmpfaenger}},[e._v("Empfänger")])],1):n("div",{staticClass:"d-flex input-forms__container justify-between overflow-x-scroll"},[n("BaseButton",{staticClass:"mr-16",attrs:{isSecondary:""},on:{click:e.addUserVermittler}},[e._v("Vermittler")]),n("BaseButton",{staticClass:"mr-16",attrs:{isSecondary:""},on:{click:e.addUserKunde}},[e._v("Kunde")]),n("BaseButton",{staticClass:"mr-16",attrs:{isSecondary:""},on:{click:e.addUserGesellschaft}},[e._v("Gesellschaft")]),n("BaseButton",{staticClass:"mr-16",attrs:{isSecondary:""},on:{click:e.addUserKontakt}},[e._v("Kontakt")])],1),"Aktivität"!==e.modus?n("div",{staticClass:"d-flex items-center "},[n("InputField",{staticClass:"flex_grow_1",attrs:{label:"Ort"},model:{value:e.place,callback:function(t){e.place=t},expression:"place"}}),n("InputToggleSwitch",{staticClass:"pl-3",attrs:{label:"Privattermin"},model:{value:e.additionalParamsprivate,callback:function(t){e.additionalParamsprivate=t},expression:"additionalParamsprivate"}})],1):e._e(),n("InputTextArea",{attrs:{label:"Beschreibung"},model:{value:e.text,callback:function(t){e.text=t},expression:"text"}}),n("hr"),n("div",{staticClass:"data-double"},[n("ComboBox",{attrs:{label:"Benachrichtigung per Popup",values:e.durationOptions,sortComboboxValues:!1},model:{value:e.popup,callback:function(t){e.popup=t},expression:"popup"}}),n("ComboBox",{attrs:{label:"Benachrichtigung per E-Mail",values:e.durationOptions,sortComboboxValues:!1},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}})],1),n("div",{staticClass:"mb-3"},[n("DragnDropArea",{attrs:{hoverText:"Datei hier ablegen"},on:{files:function(t){return e.addDocument(t)}}},[n("div",{staticClass:"d-block justify-content-between"},[e.allAttachments.length?n("Table",{attrs:{headers:e.headers,rows:e.rows,hidePagination:""},on:{"action-DELETE":e.actionDelete},scopedSlots:e._u([{key:"dateiname",fn:function(t){return[e.appointmentSid?n("DownloadLink",{attrs:{title:t.dateiname,downloadServicePath:"/termin_attachment",filename:t.dateiname,queryParams:{sid:e.appointmentSid,fileId:t.id}}}):n("span",[e._v(e._s(t.dateiname))])]}}],null,!1,727560957)}):e._e(),n("div",{staticClass:"d-flex d-md-block mt-1 layout__negative-margin--8 antrag-action-button__container justify-content-center"},[n("BaseButton",{staticClass:"upload-btn",attrs:{isSecondary:""}},[e._t("default",(function(){return[e._v("Datei hochladen")]})),n("input",{attrs:{type:"file",accept:e.acceptFileTypes,multiple:""},on:{change:e.onAddFiles}})],2),n("BaseButton",{attrs:{isPrimary:""},on:{click:e.handleAddDocuments}},[e._v(" Dokumentenarchiv ")])],1)],1)])],1),n("div",{staticClass:"action-buttons mb-3"},[n("BaseButton",{staticClass:"mr-16",attrs:{disabled:!(e.getSelectedEvent.appointment&&e.getSelectedEvent.appointment.sid),isSecondary:""},on:{click:function(t){return e.mailSend()}}},[e._v("Terminbestätigung")]),n("BaseButton",{staticClass:"mr-16",attrs:{isSecondary:""},on:{click:e.discardChanges}},[e._v("Änderungen verwerfen")]),e.getSelectedEvent.appointment&&e.getSelectedEvent.appointment.sid?n("BaseButton",{staticClass:"mr-16",attrs:{isSecondary:"",disabled:!e.canEdit||e.loading},on:{click:e.deleteAppointment}},[e._v("Löschen")]):e._e(),n("BaseButton",{attrs:{disabled:e.isDisabled},on:{click:e.saveAppointment}},[e._v("Speichern")])],1)]],2)},i=[],s=n("1da1"),r=n("2909"),o=n("5530"),l=(n("96cf"),n("a9e3"),n("caad"),n("2532"),n("d81d"),n("ac1f"),n("1276"),n("b0c0"),n("159b"),n("b64b"),n("99af"),n("4de4"),n("d3b7"),n("7db0"),n("07ac"),n("c740"),n("a434"),n("6062"),n("3ca3"),n("ddb0"),n("e6cf"),n("a79d"),n("cca6"),n("e260"),n("2f62")),c=n("5a0c"),d=n.n(c),u=n("41d3"),p=n("c2dc"),h=n("d3ac"),f=n("c704"),m=n("0054"),b=n("6ce5"),v=n("04bc"),g=n("59ab"),E=n("9aaa"),_=n("d9f5"),S=n("9131"),T=n("39bd"),x=n("cee4"),y=n("64c5"),k=n("de6c"),I=n("b7e4"),C=n("6205"),A=n("11e7"),w=n("e411"),O=n("c0a4"),D=n("689f"),N=n("d53f"),R=n("d7f4"),M=n("876f"),P=n("6eb5"),B=n("2ab8"),L=n("5a29"),U=n("b1a7"),F=n("97bc"),z=n("038b"),j=15,$={name:"AppointmentEditCreate",components:{InputField:f["default"],DatePickerField:m["default"],BaseButton:v["default"],TimePicker:g["default"],GhostLoading:P["a"],InputToggleSwitch:E["default"],InputTextArea:_["default"],ComboBox:S["default"],InputColorPicker:T["default"],ParticipantInput:C["a"],DragnDropArea:A["a"],Table:D["a"],Block:B["a"],DownloadLink:L["default"],NoData:U["a"],ShortcutInputField:z["a"]},props:{isActivity:{type:Boolean,default:!0},discardChanges:{},isEmbeded:{type:Boolean,default:!1},user:{},subject:{},previewSubject:{},preview:{type:Boolean,default:!1},selectedDate:{},bereich:{type:String,default:null},bereichId:{type:[String,Number],default:null},bereichText:{type:String,default:null},status:{type:String,default:""},mode:{type:String,default:""},attachCustomer:{type:Boolean,default:!0},noInitialise:{type:Boolean,default:!1},additionalBeteiligte:{type:Array},vsnr:{type:String,default:null}},data:function(){return{durationOptions:[{label:"keine Benachrichtigung",value:""},{label:"0 Min.",value:"0"},{label:"15 Min.",value:"15"},{label:"30 Min",value:"30"},{label:"1 Stunde",value:"60"},{label:"1.5 Stunden",value:"90"},{label:"3 Stunden",value:"180"},{label:"4 Stunden",value:"240"},{label:"5 Stunden",value:"300"},{label:"6 Stunden",value:"360"},{label:"1 Tag",value:"1440"},{label:"2 Tage",value:"2880"},{label:"3 Tage",value:"4320"},{label:"4 Tage",value:"5760"},{label:"5 Tage",value:"7200"},{label:"6 Tage",value:"8640"},{label:"1 Woche",value:"10080"}],kunden:"",emailCount:"",popupCount:"",timeoutRef:null,availableUsers:[],allAttachments:[],acceptFileTypes:"*/*",loading:!1,showEmpfaenger:!1,empfaenger:[],rowsEmpf:[],selectedEmpf:[],empfHeaders:{lockedLeft:[Object(N["TextColumn"])("label","Empfänger",100).makeAlwaysVisible(),Object(N["TextColumn"])("name","Name",150)],center:[Object(N["SlotColumn"])("rolle","Rolle",150),Object(N["TextColumn"])("email","E-Mail",150)],lockedRight:[]},isMultipleBesitzerRolles:!1,customerNr:"",maxItemsVisible:j,canEdit:!0,searchReceiverUsersLoading:!1}},mixins:[h["a"]],validators:{label:[Object(b["s"])()]},computed:Object(o["a"])(Object(o["a"])({},Object(l["b"])({getSelectedEvent:u["default"].GETTERS.GET_SELECTED_APPOINTMENT_DATA,getAppointmentCombos:u["default"].GETTERS.GET_APPOINTMENT_COMBOS,getAppointmentBeginDate:u["default"].GETTERS.GET_APPOINTMENT_BEGIN_DATE,getAppointmentBeginTime:u["default"].GETTERS.GET_APPOINTMENT_BEGIN_TIME,getAppointmentEndDate:u["default"].GETTERS.GET_APPOINTMENT_END_DATE,getAppointmentEndTime:u["default"].GETTERS.GET_APPOINTMENT_END_TIME,getEmptyAppointment:u["default"].GETTERS.GET_EMPTY_APPOINTMENT,getAppointment:u["default"].GETTERS.GET_APPOINTMENT,isBroker:y["default"].GETTERS.IS_BROKER,isIntern:y["default"].GETTERS.IS_INTERN,isCustomer:y["default"].GETTERS.IS_CUSTOMER,loginData:y["default"].GETTERS.GET_LOGIN_DATA,selectedCustomersExternal:I["default"].GETTERS.SET_SELECTED_CUSTOMERS,presavedAppointment:u["default"].GETTERS.PRESAVE_APPOINTMET,beteiligte:u["default"].GETTERS.GET_BETEILIGTE_FOR_UPDATE,attachments:R["default"].GETTERS.SET_ATTACHMENTS,isLoadingAppoiment:u["default"].GETTERS.LOAD_APPOINTMENT,hasRoles:y["default"].GETTERS.HAS_ROLES})),{},{isDisabled:function(){return!this.label||!this.beginDate||this.loading||this.isMultipleBesitzerRolles||!this.canEdit},alarmConfig:function(){var e;return(null===(e=this.getAppointmentCombos)||void 0===e?void 0:e.alarmConfig)||{}},modus:function(){var e,t;if(this.showEmpfaenger)return"Empfänger";var n=this.mode||(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.bereich);if(!n)return"";switch(n){case"Termin":return"Termin";case"Aufgabe":return"Aufgabe"}return"Aktivität"},getShowModal:function(){return this.showModal},duration:{get:function(){var e,t;e=d()(this.beginDate).isValid()?d()(this.beginDate).format("DD.MM.YYYY"):this.beginDate,t=d()(this.endDate).isValid()?d()(this.endDate).format("DD.MM.YYYY"):this.endDate;var n=d()(e+" "+this.beginTime,"DD.MM.YYYY HH:mm"),a=d()(t+" "+this.endTime,"DD.MM.YYYY HH:mm"),i=a.diff(n,"m");return i<0&&(alert("Endezeit kann nicht vor der Beginzeit sein! Wir kehren die Zeiten um."),this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_BEGIN_DATE,d()(a).format("DD.MM.YYYY")),this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_BEGIN_TIME,d()(a).format("HH:mm"))),i},set:function(e){var t;t=d()(this.beginDate).isValid()?d()(this.beginDate).format("DD.MM.YYYY"):this.beginDate;""!==this.beginTime&&this.beginTime;var n=d()(t+" "+this.beginTime,"DD.MM.YYYY HH:mm"),a=d()(n).add(e,"m");this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_END_DATE,d()(a).format("DD.MM.YYYY")),this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_END_TIME,d()(a).format("HH:mm"))}},beginDate:{get:function(){return this.getAppointmentBeginDate},set:function(e){var t=e instanceof Date?d()(e).format("DD.MM.YYYY"):e;this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_BEGIN_DATE,t),"Termin"!==this.modus&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_BEGIN_TIME,"23:59"),this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_END_DATE,e)}},beginTime:{get:function(){return this.fullDay?"0:00":this.getAppointmentBeginTime},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_BEGIN_TIME,e),this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_END_TIME,"");var t=d()(e,"HH:mm").add(1,"hour");this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_END_TIME,t.format("HH:mm"))}},endDate:{get:function(){return this.getAppointmentEndDate},set:function(e){var t=e instanceof Date?d()(e).format("DD.MM.YYYY"):e;this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_END_DATE,t),"Termin"!==this.modus&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_END_TIME,"23:59"),this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_DURATION,0)}},endTime:{get:function(){return this.fullDay?"23:59":this.getAppointmentEndTime},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_END_TIME,e),this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_DURATION,0)}},email:{get:function(){var e,t,n,a,i=1;switch(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.alarmModuEmail){case"TAG":i=1440;break;case"MINUTEN":i=1;break;case"STUNDEN":i=60;break;case"WOCHE":i=10080;break;case"MONAT":i=43200;break;case"JAHR":i=525600;break}return"".concat((null===(n=this.getSelectedEvent)||void 0===n||null===(a=n.appointment)||void 0===a?void 0:a.alarmEmail)*i)},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_EMAIL,e)}},popup:{get:function(){var e,t,n,a,i=1;switch(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.alarmModusMSC){case"TAG":i=1440;break;case"MINUTEN":i=1;break;case"STUNDEN":i=60;break;case"WOCHE":i=10080;break;case"MONAT":i=43200;break;case"JAHR":i=525600;break}return"".concat((null===(n=this.getSelectedEvent)||void 0===n||null===(a=n.appointment)||void 0===a?void 0:a.alarmMsc)*i)},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_POPUP,e)}},color:{get:function(){var e,t,n=null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.color;return n||(n=document.documentElement.style.getPropertyValue("--color-primary")),Object(F["l"])(n)},set:function(e){e&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{color:e})}},additionalParamsstatus:{get:function(){var e,t;return(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.status)||""},set:function(e){e&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{status:e})}},additionalParamssellingPhase:{get:function(){var e,t;return(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.sellingPhase)||"KEINE_ANGABEN"},set:function(e){e&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{sellingPhase:e})}},additionalParamsgeschaeftwert:{get:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.geschaeftwert},set:function(e){e&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{geschaeftwert:"".concat(e)})}},additionalParamsprodukt:{get:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.produkt},set:function(e){e&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{produkt:e})}},additionalParamsbestaetigt:{get:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.bestaetigt},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{bestaetigt:e})}},additionalParamsprivate:{get:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.private},set:function(e){e&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{private:e})}},additionalParamsart:{get:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.art},set:function(e){e&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{art:e})}},additionalParamsBereich:function(){var e,t,n,a;return(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.bereichDisplay)||(null===(n=this.getSelectedEvent)||void 0===n||null===(a=n.appointment)||void 0===a?void 0:a.bereich)||""},isBereichId:function(){var e,t,n,a;return!(null!==(e=this.getSelectedEvent)&&void 0!==e&&null!==(t=e.appointment)&&void 0!==t&&t.sid)||(null===(n=this.getSelectedEvent)||void 0===n||null===(a=n.appointment)||void 0===a?void 0:a.bereichId)},appointmentSid:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.sid},versId:function(){var e,t,n,a;return"VersVertrag"===(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.bereich)&&(null===(n=this.getSelectedEvent)||void 0===n||null===(a=n.appointment)||void 0===a?void 0:a.bereichId)},schadenId:function(){if(this.label&&this.label.includes(" Schaden-Nr.")){var e=this.label.split(" Schaden-Nr.").map((function(e){return e.replaceAll(" ","").replaceAll(",","")}));return e[e.length-1]}return!1},beteiligteValue:function(){return this.beteiligte.map((function(e){var t,n,a,i,s,r=Object(o["a"])(Object(o["a"])({},e.beteiligte?e.beteiligte:e),{},{beteiligte:e.beteiligte,nummerText:e.userId||(null===(t=e.beteiligte)||void 0===t?void 0:t.userId),value:e.id||(null===e||void 0===e?void 0:e.customerId)||(null===e||void 0===e?void 0:e.brokerId)||(null===e||void 0===e?void 0:e.personId)||(null===(n=e.beteiligte)||void 0===n?void 0:n.id)||(null===(a=e.beteiligte)||void 0===a?void 0:a.customerId)||(null===(i=e.beteiligte)||void 0===i?void 0:i.brokerId)||(null===(s=e.beteiligte)||void 0===s?void 0:s.personId),label:e.name});return Object.keys(r).forEach((function(t){null===r[t]&&(r[t]=e[t])})),r}))},label:{get:function(){var e,t;return(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.label)||this.subject||this.insuranceNumber},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_LABEL,e)}},text:{get:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.text},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_TEXT,e)}},place:{get:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.place},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_PLACE,e)}},fullDay:{get:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.fullDay},set:function(){var e,t;this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_FULL_DAY,!(null!==(e=this.getSelectedEvent)&&void 0!==e&&null!==(t=e.appointment)&&void 0!==t&&t.fullDay))}},retry:{get:function(){var e,t;return(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.retry)||"Keine"},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_RETRY,e)}},retryCount:{get:function(){var e,t;return null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.retryCount},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_RETRY_COUNT,e)}},retryMaxDate:{get:function(){var e,t,n,a;return"Invalid Date"===(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.retryMaxDate)?null:null===(n=this.getSelectedEvent)||void 0===n||null===(a=n.appointment)||void 0===a?void 0:a.retryMaxDate},set:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_RETRY_MAX_DATE,d()(e).format("DD.MM.YYYY"))}},insuranceNumber:function(){return this.vsnr?"VSNR ".concat(this.vsnr):null},existsEvent:function(){var e,t;return null!=(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t?void 0:t.sid)},getTitle:function(){return this.existsEvent?"Termin verarbeiten":"Termin erstellen"},retryCombo:function(){var e=this;if(!this.getAppointmentCombos||this.getAppointmentCombos&&!this.getAppointmentCombos.retryCombo)return[];var t=Object.keys(this.getAppointmentCombos.retryCombo);return t.map((function(t){return{label:e.getAppointmentCombos.retryCombo[t],value:t}}))},statusOptions:function(){if(!this.getAppointmentCombos||this.getAppointmentCombos&&!this.getAppointmentCombos.statusComboAufgabe)return[];var e="Aufgabe"===this.modus?this.getAppointmentCombos.statusComboAufgabe:this.getAppointmentCombos.statusComboWV,t=Object.keys(e),n=[].concat(t.map((function(t){return{label:e[t],value:t}})));return n.filter((function(e){return"Keine Angaben"===e.label})).length||n.unshift({label:"Keine Angaben",value:""}),n},sellingOptions:function(){var e=this;if(!this.getAppointmentCombos||this.getAppointmentCombos&&!this.getAppointmentCombos.verkaufsphaseWVCombo)return[];var t=Object.keys(this.getAppointmentCombos.verkaufsphaseWVCombo);return t.map((function(t){return{label:e.getAppointmentCombos.verkaufsphaseWVCombo[t],value:t}}))},artOptions:function(){var e=this;if(!this.getAppointmentCombos||this.getAppointmentCombos&&!this.getAppointmentCombos.artComboWV)return[];var t=Object.keys(this.getAppointmentCombos.artComboWV);return t.map((function(t){return{label:e.getAppointmentCombos.artComboWV[t],value:t}}))},headers:function(){return{lockedLeft:[Object(N["SlotColumn"])("dateiname","Dateiname").makeAlwaysVisible()],lockedRight:[Object(N["ActionColumn"])("actions","")]}},rows:function(){if(!this.allAttachments)return[];var e=[Object(N["SimpleAction"])("DELETE",O["PhTrash"],"Löschen")];return this.allAttachments.map((function(t){return Object(o["a"])(Object(o["a"])({},t),{},{dateiname:t.fileName||t.label,grosse:"",previewLink:!0!==t.id,actions:e})}))},rolleOptions:function(){var e=this;if(!this.getAppointmentCombos||this.getAppointmentCombos&&!this.getAppointmentCombos.artComboWV)return[];var t=Object.keys(this.getAppointmentCombos.rolleCombo);return t.map((function(t){return{label:e.getAppointmentCombos.rolleCombo[t],value:t}}))}}),watch:{getAppointment:function(e){var t,n,a,i,s,r,l,c,d,p,h,f,m,b,v,g,E,_=this;(e.files&&e.files.length&&e.files.map((function(e){_.allAttachments.push({id:e.id,label:e.fileName,fileName:e.fileName,uploaded:!0})})),null!==(t=this.getSelectedEvent)&&void 0!==t&&t.appointment)&&(null!==(n=this.getSelectedEvent)&&void 0!==n&&null!==(a=n.appointment)&&void 0!==a&&a.sid?this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{bereich:(null===(i=this.getSelectedEvent)||void 0===i||null===(s=i.appointment)||void 0===s?void 0:s.bereich)||"",bereichId:(null===(r=this.getSelectedEvent)||void 0===r||null===(l=r.appointment)||void 0===l?void 0:l.bereichId)||""}):this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{bereich:this.isBroker?"Termin"==(null===(c=this.getSelectedEvent)||void 0===c||null===(d=c.appointment)||void 0===d?void 0:d.bereich)||"Aufgabe"===(null===(p=this.getSelectedEvent)||void 0===p||null===(h=p.appointment)||void 0===h?void 0:h.bereich)?null===(f=this.getSelectedEvent)||void 0===f||null===(m=f.appointment)||void 0===m?void 0:m.bereich:"Makler":this.bereich||(null===(b=this.getSelectedEvent)||void 0===b||null===(v=b.appointment)||void 0===v?void 0:v.bereich)||"Kunde",bereichId:this.bereichId||(null===(g=this.getSelectedEvent)||void 0===g||null===(E=g.appointment)||void 0===E?void 0:E.bereichId)||this.loginData.userid}));this.customerNr=e.customerNr,e.beteiligteOutput&&(this.$store.commit(u["default"].MUTATIONS.SET_BETEILIGTE_FOR_UPDATE,[]),e.beteiligteOutput.filter((function(e){var t;return null===(t=e.beteiligte)||void 0===t?void 0:t.id})).map((function(e){_.$store.commit(u["default"].MUTATIONS.ADD_BETEILIGTE_FOR_UPDATE,Object(o["a"])({},e))})),this.canEdit=e.updateable,this.getModalTitle())},getAppointmentCombos:function(e){var t,n,a=this;if((null===(t=this.getSelectedEvent)||void 0===t||null===(n=t.appointment)||void 0===n||!n.sid)&&!this.beteiligte.length&&null!==e&&void 0!==e&&e.initBeteiligte){var i=e.initBeteiligte||[];this.isBereichId&&this.isCustomer&&!this.attachCustomer&&(i=i.filter((function(e){return e.customerId!==a.loginData.userid}))),i=i.map((function(e){return Object(o["a"])(Object(o["a"])({},e),{},{canChange:"BESITZER"===e.rolle||"BEARBEITER"===e.rolle||e.canChange,alarmMail:("BESITZER"===e.rolle||"BEARBEITER"===e.rolle||e.alarmMail)&&!e.customerID,alarmMsc:("BESITZER"===e.rolle||"BEARBEITER"===e.rolle||e.alarmMsc)&&!e.customerID,alarmDailyMail:("BESITZER"===e.rolle||"BEARBEITER"===e.rolle||e.alarmDailyMail)&&!e.customerID})})),this.$store.commit(u["default"].MUTATIONS.SET_BETEILIGTE_FOR_UPDATE,[].concat(Object(r["a"])(i),Object(r["a"])(this.additionalBeteiligte||[])))}},modus:"getModalTitle",subject:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_LABEL,e)}},methods:{handleAddUsers:function(){this.presaveAppointmentData(),this.navigateTo("/communication/calendar-customer-search/?back="+this.getCurrentRoute())},searchUsers:function(e){var t=this;this.timeoutRef&&clearTimeout(this.timeoutRef),this.timeoutRef=setTimeout((function(){e&&e.length>2&&(t.searchReceiverUsersLoading=!0,x["a"].get("".concat("/MSC3/restful","/QuickSearch/getQuickSearch?searchParam=").concat(e)).then((function(n){t.availableUsers=n.data.cusomers.map((function(e){return{value:e.customerID,label:"".concat(e.firstName?e.firstName+" ":"").concat(e.lastName),email:e.email,data:e}}));var a=t.isBroker&&t.loginData.userid||t.isCustomer&&t.loginData.maklernr;x["a"].get("".concat("/MSC3/restful","/calendarService/getEmpfaenger?maklernr=").concat(a)).then((function(n){t.availableUsers=t.availableUsers.concat(n.data.filter((function(t){return t.personId&&t.name.toLowerCase().includes(e.toLowerCase())}))).map((function(e){return e.value?e:{value:e.personId,label:"".concat(e.name),data:e,email:e.email}}))})).finally((function(){t.searchReceiverUsersLoading=!1}))})))}),300)},deleteUsers:function(e){if(e.id&&null!=e.id){var t={beteiligte:{}};t.beteiligte.id=e.id,this.$store.dispatch(u["default"].ACTIONS.DELETE_BETEILIGTE,t)}else this.$store.commit(u["default"].MUTATIONS.DELETE_BETEILIGTE_BY_VALUE,e.name)},getModalTitle:function(){var e;if(void 0!==(null===(e=this.$parent.$data)||void 0===e?void 0:e.titleSetFromChild)){var t,n,a=this.modus+" ";"Empfänger"===this.modus?a+="auswählen":this.modus?null!==(t=this.getAppointment)&&void 0!==t&&null!==(n=t.appointment)&&void 0!==n&&n.sid||this.isLoadingAppoiment?a+="bearbeiten":a+="erstellen":a=" ",this.$parent.$data.titleSetFromChild=a}},getEmpfaenger:function(){var e,t=this,n=this.isBroker&&this.loginData.userid||this.isCustomer&&this.loginData.maklernr;n&&(null!==(e=this.empfaenger)&&void 0!==e&&e.length&&this.empfaenger[0].maklernr===n?(this.empfValues(),this.showEmpfaenger=!0):this.$store.dispatch(u["default"].ACTIONS.GET_EMPFAENGER,n).then((function(e){var a;null!==(a=e.data)&&void 0!==a&&a.length&&(t.empfaenger=e.data.map((function(e){return e.maklernr=n,e.personId=e.personId||-1,e.rolle="TEILNEHMER",e.label=n+(-1!==e.unternr?"-"+e.unternr:""),e})),t.empfValues(),t.showEmpfaenger=!0)})))},empfValues:function(){var e;if(null!==(e=this.empfaenger)&&void 0!==e&&e.length){var t=",";this.beteiligteValue.forEach((function(e){t+=(e.personId||-1)+","}));var n=[],a=0;this.empfaenger.forEach((function(e){-1===t.indexOf(","+e.personId+",")&&n.push(Object(o["a"])(Object(o["a"])({},e),{},{index:a++}))})),this.rowsEmpf=n}else this.rowsEmpf=[]},onChangeEmpf:function(e,t,n){this.rowsEmpf[e][t]=n},setEmpfaenger:function(){var e=this;this.showEmpfaenger=!1;var t=this.alarmConfig,n=t.alarmMail,a=t.alarmMSC,i=t.alarmTagesmail;this.selectedEmpf.forEach((function(t){var s={id:null,name:t.name,email:t.email,personId:-1===t.personId?null:t.personId,brokerId:-1===t.personId?t.maklernr:null,canChange:void 0!==t.canChange?t.canChange:"BESITZER"===t.rolle||"BEARBEITER"===t.rolle,alarmMail:void 0!==t.alarmMail?t.alarmMail:("BESITZER"===t.rolle||"BEARBEITER"===t.rolle||n)&&!t.customerID,alarmMsc:void 0!==t.alarmMsc?t.alarmMsc:("BESITZER"===t.rolle||"BEARBEITER"===t.rolle||a)&&!t.customerID,alarmDailyMail:void 0!==t.alarmDailyMail?t.alarmDailyMail:("BESITZER"===t.rolle||"BEARBEITER"===t.rolle||i)&&!t.customerID,rolle:t.rolle||"TEILNEHMER"};e.$store.commit(u["default"].MUTATIONS.ADD_BETEILIGTE_FOR_UPDATE,s)})),this.selectedEmpf=[]},shallowCopy:function(e){return Object.assign({},e)},createAppointment:function(){var e,t,n=this;if(null===(e=this.getSelectedEvent)||void 0===e||null===(t=e.appointment)||void 0===t||!t.sid){var a,i,s,l,c;if(null!==(a=this.getAppointmentCombos)&&void 0!==a&&a.initBeteiligte){var d=this.getAppointmentCombos.initBeteiligte||[];this.isBereichId&&this.isCustomer&&!this.attachCustomer&&(d=d.filter((function(e){return e.customerId!==n.loginData.userid}))),d=d.map((function(e){return Object(o["a"])(Object(o["a"])({},e),{},{canChange:"BESITZER"===e.rolle||"BEARBEITER"===e.rolle||e.canChange,alarmMail:("BESITZER"===e.rolle||"BEARBEITER"===e.rolle||e.alarmMail)&&!e.customerID,alarmMsc:("BESITZER"===e.rolle||"BEARBEITER"===e.rolle||e.alarmMsc)&&!e.customerID,alarmDailyMail:("BESITZER"===e.rolle||"BEARBEITER"===e.rolle||e.alarmDailyMail)&&!e.customerID})})),this.$store.commit(u["default"].MUTATIONS.SET_BETEILIGTE_FOR_UPDATE,[].concat(Object(r["a"])(d),Object(r["a"])(this.additionalBeteiligte||[])))}else this.$store.commit(u["default"].MUTATIONS.SET_BETEILIGTE_FOR_UPDATE,[]);if(null===(i=this.getSelectedEvent)||void 0===i||null===(s=i.appointment)||void 0===s||!s.begin)this.$store.commit(u["default"].MUTATIONS.SET_SELECTED_APPOINTMENT_DATA,{appointment:{appointment:Object(o["a"])(Object(o["a"])({},this.getEmptyAppointment),{},{bereich:null===(l=this.getSelectedEvent)||void 0===l||null===(c=l.appointment)||void 0===c?void 0:c.bereich})},day:this.thisday})}},saveAppointment:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,e.$store.commit(u["default"].MUTATIONS.SET_ATTACHMENT,e.allAttachments),n=null,t.next=5,e.$store.dispatch(u["default"].ACTIONS.SAVE_APPOINTMENT).then((function(t){var a,i;e.$emit("renew-view",!0),e.$store.commit(u["default"].MUTATIONS.SET_SELECTED_APPOINTMENT_DATA,{appointment:{appointment:Object(o["a"])({},e.getEmptyAppointment)},day:e.thisday}),n=null===t||void 0===t||null===(a=t.data)||void 0===a||null===(i=a.appointment)||void 0===i?void 0:i.sid,e.discardChanges()})).finally((function(){return e.loading=!1}));case 5:return t.abrupt("return",n);case 6:case"end":return t.stop()}}),t)})))()},navigateTo:function(e){this.$router.push({path:"".concat(e)})},getCurrentRoute:function(){return this.$router.currentRoute.path},presaveAppointmentData:function(){this.$store.commit(u["default"].MUTATIONS.PRESAVE_APPOINTMET,Object(o["a"])(Object(o["a"])({},this.getSelectedEvent),{},{appointment:Object(o["a"])(Object(o["a"])({activity:this.isActivity},this.getSelectedEvent.appointment),{},{begin:"".concat("string"===typeof this.beginDate?this.beginDate:d()(this.beginDate).format("DD.MM.YYYY")," ").concat(this.beginTime),end:"".concat("string"===typeof this.endDate?this.endDate:d()(this.endDate).format("DD.MM.YYYY")," ").concat(this.endTime)}),allAttachments:this.allAttachments,beteiligte:this.beteiligteValue}))},addUserVermittler:function(){this.presaveAppointmentData(),this.navigateTo("/communication/calendar-customer-search/broker?back="+this.getCurrentRoute())},addUserKunde:function(){this.presaveAppointmentData(),this.navigateTo("/communication/calendar-customer-search/?back="+this.getCurrentRoute())},addUserGesellschaft:function(){var e,t;this.presaveAppointmentData(),this.$addBreadcrumb({label:"zurück zu ".concat(null===(e=this.$route.meta)||void 0===e||null===(t=e.breadcrumb)||void 0===t?void 0:t.label),fullPath:this.$route.fullPath,breadcrumb:"Ansprechpartner hinzufügen"}),this.navigateTo("/communication/calendar-customer-search/company?back="+this.getCurrentRoute())},addUserKontakt:function(){var e,t;this.presaveAppointmentData(),this.$addBreadcrumb({label:"zurück zu ".concat(null===(e=this.$route.meta)||void 0===e||null===(t=e.breadcrumb)||void 0===t?void 0:t.label),fullPath:this.$route.fullPath,breadcrumb:"Kontakte hinzufügen"}),this.navigateTo("/communication/calendar-customer-search/contact?back="+this.getCurrentRoute())},onChange:function(e){e.data&&this.$store.commit(u["default"].MUTATIONS.UPDATE_BETEILIGTE,e.data)},setBesitzer:function(e){},copyAddress:function(e){null!==e&&void 0!==e&&e.address?this.place=e.address:this.$store.dispatch(k["default"].ACTIONS.ADD_MESSAGE,Object(M["b"])("".concat(e.name," hat keine Adresse hinterlegt"),"warning"))},onAddParticipant:function(e){var t=e.findLast((function(e){return!e.id}));if(t){var n=this.availableUsers.find((function(e){return e.value===t.value||!t.value&&e.email===t.email}));if(n){var a=function(e){return e.street||e.zip||e.city?"".concat(e.street,", ").concat(e.zip," ").concat(e.city):null},i=this.alarmConfig,s=i.alarmMail,r=i.alarmMSC,o=i.alarmTagesmail;if(n.data){var l=n.data;if(!l.personId&&!l.customerID&&!l.userId)return;n.data={id:l.id,name:n.label,email:n.email,personId:l.personId,customerId:l.customerID,brokerId:l.userId,canChange:void 0!==l.canChange?l.canChange:"BESITZER"===l.rolle||"BEARBEITER"===l.rolle,alarmMail:void 0!==l.alarmMail?l.alarmMail:("BESITZER"===l.rolle||"BEARBEITER"===l.rolle||s)&&!l.customerID,alarmMsc:void 0!==l.alarmMsc?l.alarmMsc:("BESITZER"===l.rolle||"BEARBEITER"===l.rolle||r)&&!l.customerID,alarmDailyMail:void 0!==l.alarmDailyMail?l.alarmDailyMail:("BESITZER"===l.rolle||"BEARBEITER"===l.rolle||o)&&!l.customerID,rolle:l.rolle||"TEILNEHMER",address:a(l)},this.$store.commit(u["default"].MUTATIONS.ADD_BETEILIGTE_FOR_UPDATE,n.data)}}}},addDocument:function(e){var t=this;e&&e.map((function(e){Object(w["c"])(e).then((function(n){t.allAttachments.push({id:n,label:e.name,fileName:e.name,uploaded:!0})}))}))},handleAddDocuments:function(){this.presaveAppointmentData(),this.navigateTo("/communication/mailcomposer-dokumentenarchiv/calendar?back="+this.getCurrentRoute())},onAddFiles:function(e){var t=this;this.allAttachments=this.allAttachments||[];var n=Object.values(e.target.files);n.map((function(e){Object(w["c"])(e).then((function(n){t.allAttachments.push({id:n,label:e.name,fileName:e.name,uploaded:!0}),t.allAttachments=Object(r["a"])(t.allAttachments)}))})),e.target.value=""},actionDelete:function(e){var t=this.allAttachments.findIndex((function(t){return t.id===e.id&&t.copyFileId===e.copyFileId}));this.$store.dispatch(u["default"].ACTIONS.DELETE_ATTACHMENT,e.id),t>-1&&this.allAttachments.splice(t,1)},deleteAppointment:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch(u["default"].ACTIONS.DELETE_APPOINTMENT);case 3:e.loading=!1,e.discardChanges(),e.$emit("renew-view",!0);case 6:case"end":return t.stop()}}),t)})))()},mailSend:function(){var e=arguments,t=this;return Object(s["a"])(regeneratorRuntime.mark((function n(){var a,i,s,r,o,l;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return s=e.length>0&&void 0!==e[0]?e[0]:[],r=s&&s.length?s:t.beteiligteValue,n.next=4,t.saveAppointment();case 4:o=n.sent,l=r.map((function(e){return e.id||e.value}))||t.getSelectedEvent.appointment.beteiligtes.map((function(e){return e.id||e.value})),t.$store.commit(R["default"].MUTATIONS.SET_MAILCOMPOSER_CONFIG,{type:"mailcomposer-appointment",action:"clear",receiver:[]}),t.$store.commit(R["default"].MUTATIONS.SET_ATTACHMENTS,{type:"mailcomposer-appointment",action:"clear-cache"}),t.$store.commit(R["default"].MUTATIONS.SET_MAIL_LINKED_OBJECT,{data:l,toCompany:!1,participants:s&&s.length?s:void 0,place:t.place}),t.$router.push("/communication/mailcomposer-appointment/".concat((null===(a=t.getSelectedEvent)||void 0===a||null===(i=a.appointment)||void 0===i?void 0:i.sid)||o));case 10:case"end":return n.stop()}}),n)})))()},setAddress:function(e){this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_PLACE,e)},isReceiveUserClickable:function(e){return"..."===e.value||!(null===e||void 0===e||!e.customerId)&&e.customerId!==this.loginData.userid},openReceiveUser:function(e){this.openCustomer(e)},openCustomer:function(e){null!==e&&void 0!==e&&e.customerId&&this.$store.dispatch(y["default"].ACTIONS.OPEN_CUSTOMER_NEW_TAB,{customerId:null===e||void 0===e?void 0:e.customerId})},openInsurance:function(){this.isBroker||this.isIntern?this.$store.dispatch(y["default"].ACTIONS.OPEN_CUSTOMER_NEW_TAB,{customerId:this.customerNr,insurances:!0,path:"/home/versicherungen/insurance-group/overview/".concat(this.versId)}):this.$router.push("/home/versicherungen/insurance-group/overview/".concat(this.versId))},openSchaden:function(){this.isBroker||this.isIntern?this.$store.dispatch(y["default"].ACTIONS.OPEN_CUSTOMER_NEW_TAB,{customerId:this.customerNr,insurances:!0,path:"/home/versicherungen/insurance-group/schadensmeldung/".concat(this.versId,"/schadennr/").concat(this.schadenId)}):this.$router.push("/home/versicherungen/insurance-group/schadensmeldung/".concat(this.versId,"/schadennr/").concat(this.schadenId))},getDefaultPermission:function(e){return"Termin"===this.bereich&&"TEILNEHMER"===e||("BEARBEITER"===e||"BESITZER"===e)}},mounted:function(){var e=this;if(this.$route.params.id&&this.$store.dispatch(u["default"].ACTIONS.RETRIEVE_SELECTED_APPOINTMENT,this.$route.params.id),!this.noInitialise){var t;if(this.presavedAppointment){if(this.$store.commit(u["default"].MUTATIONS.SET_SELECTED_APPOINTMENT_DATA,{appointment:{appointment:null===(t=this.presavedAppointment)||void 0===t?void 0:t.appointment},day:this.presavedAppointment.day||this.thisday}),this.allAttachments=this.presavedAppointment.allAttachments,this.$store.commit(u["default"].MUTATIONS.SET_BETEILIGTE_FOR_UPDATE,this.presavedAppointment.beteiligte),this.selectedCustomersExternal&&Array.isArray(this.selectedCustomersExternal)&&this.selectedCustomersExternal.length){var n=this.alarmConfig,a=n.alarmMail,i=n.alarmMSC,s=n.alarmTagesmail;this.selectedCustomersExternal.forEach((function(t){var n,r={id:null,name:t.email&&t.name&&"".concat(t.name)||t.fullName&&"".concat(t.fullName).concat(t.email?" <"+t.email+">":"")||t.data&&(null===(n=t.data)||void 0===n?void 0:n.fullName)||t.name,email:t.email,personId:t.personId,customerId:t.customerID,brokerId:t.userId,canChange:void 0!==t.canChange?t.canChange:e.getDefaultPermission(t.rolle||"TEILNEHMER"),alarmMail:void 0!==t.alarmMail?t.alarmMail:(e.getDefaultPermission(t.rolle||"TEILNEHMER")||a)&&!t.customerID,alarmMsc:void 0!==t.alarmMsc?t.alarmMsc:(e.getDefaultPermission(t.rolle||"TEILNEHMER")||i)&&!t.customerID,alarmDailyMail:void 0!==t.alarmDailyMail?t.alarmDailyMail:(e.getDefaultPermission(t.rolle||"TEILNEHMER")||s)&&!t.customerID,rolle:t.rolle||"TEILNEHMER",address:t.adresse||"".concat(t.street,", ").concat(t.plz," ").concat(t.location)};e.$store.commit(u["default"].MUTATIONS.ADD_BETEILIGTE_FOR_UPDATE,r)})),this.$store.commit(I["default"].MUTATIONS.SET_SELECTED_CUSTOMERS,[])}}else this.createAppointment();if(this.subject&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_LABEL,this.subject),this.attachments&&this.attachments&&this.attachments.length){var o=this.attachments.filter((function(e){return(null===e||void 0===e?void 0:e.node)&&!e.uploaded})).map((function(e){return{nodeId:null===e||void 0===e?void 0:e.node,fileId:null===e||void 0===e?void 0:e.id}}));o.length?x["a"].post("".concat("/MSC3/restful","/documents/getTempFiles"),o).then((function(t){var n;null===t||void 0===t||null===(n=t.data)||void 0===n||n.map((function(t){e.allAttachments.push({id:t.id,label:t.name,fileName:t.name})}))})).catch((function(t){e.$store.dispatch(k["default"].ACTIONS.ADD_MESSAGE,Object(M["b"])("Beim importieren des Filters ist ein Fehler aufgetreten.","danger"))})):this.attachments.filter((function(e){return null===e||void 0===e?void 0:e.preloaded})).map((function(t){e.allAttachments.push({id:t.id,label:t.name,fileName:t.name})})),this.$store.commit(R["default"].MUTATIONS.SET_ATTACHMENTS,null)}this.allAttachments&&this.allAttachments.length&&(this.allAttachments=Object(r["a"])(new Set(this.allAttachments.map((function(e){return e.id||0})))).map((function(t){return e.allAttachments.find((function(e){return e.id===t}))}))),this.$store.commit(p["default"].MUTATIONS.RENEW_SELECTED_CUSTOMERS),this.presavedAppointment?this.$store.commit(u["default"].MUTATIONS.PRESAVE_APPOINTMET,null):this.createAppointment(),this.selectedDate&&(this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_BEGIN_DATE,d()(this.selectedDate).format("DD.MM.YYYY")),this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_END_DATE,d()(this.selectedDate).format("DD.MM.YYYY"))),this.subject&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT_LABEL,this.subject),this.status&&this.$store.commit(u["default"].MUTATIONS.SET_APPOINTMENT,{status:this.status}),this.getModalTitle()}},beforeDestroy:function(){this.$store.commit(u["default"].MUTATIONS.SET_SELECTED_APPOINTMENT_DATA,{appointment:{appointment:Object(o["a"])({},this.getEmptyAppointment)},day:this.thisday}),this.$store.commit(u["default"].MUTATIONS.SET_BETEILIGTE_FOR_UPDATE,[])}},G=$,V=(n("095b"),n("2877")),K=Object(V["a"])(G,a,i,!1,null,"794d0ee4",null);t["default"]=K.exports},bf86:function(e,t,n){var a=n("a845");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("5c4f6d4a",a,!0,{sourceMap:!1,shadowMode:!1})},c16a:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"box__container"},[n("div",{staticClass:"box__title"},[e._v("Eingebundene Wertpapiere")]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("BaseButton",{on:{click:function(t){return e.neuEigebundeneWertpapiere()}}},[e._v("Neues Wertpapier anlegen")])],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[e.loading?n("GhostLoading",{attrs:{type:"table"}}):e.eigebundeneWertpapiere&&0==e.eigebundeneWertpapiere.rows.length?n("NoData"):n("Table",{attrs:{tableId:"1a4fb9da-4982-4f0f-98fc-8514438eb29a",headers:e.eigebundeneWertpapiereHeaders,rows:e.eigebundeneWertpapiere.rows},on:{"action-EDIT":function(t){return e.editEingebundeneWertpapiere(t)},"action-DELETE":function(t){return e.deleteEingebundeneWertpapiere(t)}}})],1)])]),n("div",{staticClass:"box__container"},[n("div",{staticClass:"box__title"},[e._v("Rückkaufswerte")]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("BaseButton",{on:{click:function(t){return e.newRueckkaufswerte()}}},[e._v("Neuen Rückkaufswert anlegen")])],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[e.loading?n("GhostLoading",{attrs:{type:"table"}}):e.ruckkaufswerte&&0==e.ruckkaufswerte.rows.length?n("NoData"):n("Table",{attrs:{tableId:"1a4fb9da-4982-4f0f-98fc-8514438eb29a",headers:e.ruckkaufswerteHeaders,rows:e.ruckkaufswerte.rows},on:{"action-EDIT":function(t){return e.editRueckkaufswerte(t)},"action-DELETE":function(t){return e.deleteRueckkaufswerte(t)}}})],1)])]),n("div",[n("BaseModal",{ref:"ruckkaufswerteEditModal",attrs:{labelButtonCancel:"Abbrechen"},on:{onConfirmButton:e.saveRuckkaufswerte,onCancelButton:function(t){return e.closeModal("ruckkaufswerteEditModal")}},scopedSlots:e._u([{key:"modalTitle",fn:function(){return[e._v(" Rückkaufswert ")]},proxy:!0}])},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("InputField",{attrs:{type:"number",isInteger:"",label:"Jahr",validateUntouched:!0},model:{value:e.ruckkaufswerteEdit.jahr,callback:function(t){e.$set(e.ruckkaufswerteEdit,"jahr",t)},expression:"ruckkaufswerteEdit.jahr"}})],1),n("div",{staticClass:"col-12"},[n("InputField",{attrs:{type:"currency",label:"Rückkaufswerte",precision:2,validateUntouched:!0},model:{value:e.ruckkaufswerteEdit.betrag,callback:function(t){e.$set(e.ruckkaufswerteEdit,"betrag",t)},expression:"ruckkaufswerteEdit.betrag"}})],1)])])],1)])},i=[],s=n("5530"),r=(n("7db0"),n("159b"),n("99af"),n("2f62")),o=n("689f"),l=n("d53f"),c=n("6eb5"),d=n("b1a7"),u=n("d4b0"),p=n("bbc3"),h=n("a871"),f=n("c704"),m=n("04bc"),b=n("6ce5"),v=n("d3ac"),g={mixins:[v["a"]],validators:{ruckkaufswerteEdit:{jahr:[Object(b["s"])("Jahr ist erforderlich!"),Object(b["n"])(1900,"Das Jahr sollte größer sein als 1900"),Object(b["k"])(2101,"Das Jahr sollte weniger als 2100")],betrag:[Object(b["s"])("Betrag ist erforderlich!")]}},components:{Table:o["a"],GhostLoading:c["a"],NoData:d["a"],InputField:f["default"],BaseModal:h["a"],BaseButton:m["default"]},data:function(){return{loading:!1,ruckkaufswerteEdit:{id:null,jahr:null,betrag:null}}},computed:Object(s["a"])(Object(s["a"])({},Object(r["b"])({ruckkaufswerte:u["default"].GETTERS.RUCKKAUFSWERTE_LIST,versicherungenDetails:u["default"].GETTERS.INSURANCE_DETAILS})),{},{ruckkaufswerteHeaders:function(){return{lockedLeft:[Object(l["TextColumn"])("jahr","Jahr")],center:[Object(l["CurrencyColumn"])("betrag","Betrag")],lockedRight:[Object(l["ActionColumn"])("actions","Aktionen")]}},eigebundeneWertpapiereHeaders:function(){return{lockedLeft:[Object(l["TextColumn"])("isin","ISIN")],center:[Object(l["TextColumn"])("wertpapiername","Wertpapiername"),Object(l["TextColumn"])("anlageart","Anlageart"),Object(l["DateColumn"])("anteileDatum","Stand Anteile"),Object(l["NumberColumn"])("anteile","Anteile",2),Object(l["CurrencyColumn"])("anlagesumme","Anlagesumme"),Object(l["CurrencyColumn"])("fondswert","Wert (Wp.whrg.)"),Object(l["CurrencyColumn"])("fondswertEuro","Wert").withSumFooter()],lockedRight:[Object(l["ActionColumn"])("actions","Aktionen")]}},ruckkaufswerte:function(){var e,t,n,a,i,s=null===(e=this.versicherungenDetails)||void 0===e||null===(t=e.steps)||void 0===t?void 0:t.find((function(e){var t;return null===e||void 0===e||null===(t=e.config)||void 0===t?void 0:t.primary}));if(null!==(n=this.versicherungenDetails)&&void 0!==n&&null!==(a=n.insurance)&&void 0!==a&&null!==(i=a.sparten)&&void 0!==i&&i.length&&s){var r=this.versicherungenDetails.insurance.sparten.find((function(e){return e.sparteId===s.stepKey}));if(null!==r&&void 0!==r&&r.rueckkaufswerte)return null===r||void 0===r||r.rueckkaufswerte.forEach((function(e){e.actions=[Object(l["SimpleAction"])("EDIT","PhPencilLine","Bearbeiten"),Object(l["SimpleAction"])("DELETE","PhTrash","Löschen")]})),{rows:null===r||void 0===r?void 0:r.rueckkaufswerte}}return{rows:[]}},eigebundeneWertpapiere:function(){var e,t,n,a,i,s=null===(e=this.versicherungenDetails)||void 0===e||null===(t=e.steps)||void 0===t?void 0:t.find((function(e){var t;return null===e||void 0===e||null===(t=e.config)||void 0===t?void 0:t.primary}));if(null!==(n=this.versicherungenDetails)&&void 0!==n&&null!==(a=n.insurance)&&void 0!==a&&null!==(i=a.sparten)&&void 0!==i&&i.length&&s){var r=this.versicherungenDetails.insurance.sparten.find((function(e){return e.sparteId===s.stepKey}));if(null!==r&&void 0!==r&&r.eigebundeneWertpapiere)return null===r||void 0===r||r.eigebundeneWertpapiere.forEach((function(e){e.actions=[Object(l["SimpleAction"])("EDIT","PhPencilLine","Bearbeiten"),Object(l["SimpleAction"])("DELETE","PhTrash","Löschen")]})),{rows:null===r||void 0===r?void 0:r.eigebundeneWertpapiere}}return{rows:[]}},currentSparte:function(){var e,t,n,a,i,s=null===(e=this.versicherungenDetails)||void 0===e||null===(t=e.steps)||void 0===t?void 0:t.find((function(e){var t;return null===e||void 0===e||null===(t=e.config)||void 0===t?void 0:t.primary}));if(null!==(n=this.versicherungenDetails)&&void 0!==n&&null!==(a=n.insurance)&&void 0!==a&&null!==(i=a.sparten)&&void 0!==i&&i.length&&s){var r=this.versicherungenDetails.insurance.sparten.find((function(e){return e.sparteId===s.stepKey}));return null===r||void 0===r?void 0:r.id}return null},versicherungId:function(){var e,t,n;return(null===(e=this.versicherungenDetails)||void 0===e?void 0:e.id)||(null===(t=this.$route)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.id)}}),methods:{saveRuckkaufswerte:function(){var e;if(this.validation.invalid)this.resetModel();else{var t={ruckkaufswerteEdit:this.ruckkaufswerteEdit,sparteId:this.currentSparte,versicherungId:this.versicherungId};null!==(e=this.ruckkaufswerteEdit)&&void 0!==e&&e.id?this.$store.dispatch(u["default"].ACTIONS.UPDATE_RUECKKAUFSWERTE,t):this.$store.dispatch(u["default"].ACTIONS.SAVE_RUECKKAUFSWERTE,t)}},deleteRueckkaufswerte:function(e){var t=this,n={ruckkaufswerteId:e.id,sparteId:this.currentSparte,versicherungId:this.versicherungId};this.$confirmModal({title:"Ordner löschen",message:"Soll der Rückkaufswert für das Jahr <b>".concat(e.jahr,"</b> wirklich gelöscht werden?"),labelButtonConfirm:"Löschen"}).then((function(){return t.$store.dispatch(u["default"].ACTIONS.DELETE_RUECKKAUFSWERTE,n)}))},closeModal:function(e){var t;null===(t=this.$refs[e])||void 0===t||t.close()},editRueckkaufswerte:function(e){this.ruckkaufswerteEdit.id=e.id,this.ruckkaufswerteEdit.jahr=e.jahr,this.ruckkaufswerteEdit.betrag=e.betrag,this.$refs.ruckkaufswerteEditModal.open()},editEingebundeneWertpapiere:function(e){e&&(this.$store.commit(p["default"].MUTATIONS.EINGEBUNDENE_WERTPAPIERE_EDIT,e),this.$router.push("/home/versicherungen/insurance-group/versicherung-eingebundene-wertpapiere/".concat(this.versicherungId,"/").concat(this.currentSparte)))},deleteEingebundeneWertpapiere:function(e){e.id&&this.$store.dispatch(u["default"].ACTIONS.DELETE_EINGEBUNDENE_WERTPAPIERE,{eingebundeneWertpapiereId:e.id,versicherungId:this.versicherungId,sparteId:this.currentSparte})},newRueckkaufswerte:function(){this.resetModel(),this.$refs.ruckkaufswerteEditModal.open()},neuEigebundeneWertpapiere:function(){this.$router.push("/home/versicherungen/insurance-group/versicherung-eingebundene-wertpapiere/".concat(this.versicherungId,"/").concat(this.currentSparte))},resetModel:function(){this.ruckkaufswerteEdit={id:null,jahr:null,betrag:null}}}},E=g,_=n("2877"),S=Object(_["a"])(E,a,i,!1,null,null,null);t["a"]=S.exports},c1e4:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("EntitySelector",{attrs:{isPersonPicker:"",label:e.label,value:e.value,isComponentHalfSize:e.isComponentHalfSize,values:e.values,disabled:e.disabled,sortComboboxValues:!1},on:{input:function(t){return e.$emit("input",t)},change:function(t){return e.$emit("change",t)},new:function(t){return e.newPerson()},edit:function(t){return e.editPerson(t)}}})},i=[],s=n("6758"),r=n("17d64"),o={props:{label:{type:String,value:""},value:{},isComponentHalfSize:{type:Boolean,default:!1},values:{type:[Array,String],default:function(){return[]}},disabled:{type:Boolean,default:!1}},computed:{backButtonPayload:function(){return{backButton:!0}}},methods:{newPerson:function(){var e="neue_person";this.$store.commit(s["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,e),this.$store.dispatch(s["default"].ACTIONS.GOTO_CUSTOMER_DATA,this.backButtonPayload)},editPerson:function(e){this.$store.commit(s["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,e),this.$store.dispatch(s["default"].ACTIONS.GOTO_CUSTOMER_DATA,this.backButtonPayload)}},components:{EntitySelector:r["default"]}},l=o,c=n("2877"),d=Object(c["a"])(l,a,i,!1,null,null,null);t["a"]=d.exports},c270:function(e,t,n){"use strict";n("4e2b1")},c630:function(e,t,n){"use strict";n("6903")},c78c:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.vertragsdatenFieldsDefinition?n("div",[n("div",{staticStyle:{display:"flex","flex-direction":"column"}},[e.vertragsdatenFieldsDefinition.pramieBruttoJahr.visible?n("div",{staticClass:"row",style:e.styleOrder("pramieBruttoJahr")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{type:"currency",precision:2,label:"Prämie Brutto (Jahr)",disabled:e.vertragsdatenFieldsDefinition.pramieBruttoJahr.disabled},model:{value:e.pramieBruttoJahr,callback:function(t){e.pramieBruttoJahr=t},expression:"pramieBruttoJahr"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.vertragssumme.visible?n("div",{staticClass:"row",style:e.styleOrder("vertragssumme")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{type:"currency",precision:2,label:"Vertragssumme",disabled:e.vertragsdatenFieldsDefinition.vertragssumme.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.vertragssumme,callback:function(t){e.$set(e.versicherung,"vertragssumme",t)},expression:"versicherung.vertragssumme"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.pramieNetto.visible?n("div",{staticClass:"row",style:e.styleOrder("pramieNetto")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{type:"currency",precision:2,label:"Prämie Netto",disabled:e.vertragsdatenFieldsDefinition.pramieNetto.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.praemiento_zahlweise,callback:function(t){e.$set(e.versicherung,"praemiento_zahlweise",t)},expression:"versicherung.praemiento_zahlweise"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.pramieNettoJahr.visible?n("div",{staticClass:"row",style:e.styleOrder("pramieNettoJahr")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{type:"currency",precision:2,label:"Prämie Netto (Jahr)",disabled:e.vertragsdatenFieldsDefinition.pramieNettoJahr.disabled},model:{value:e.pramieNettoJahr,callback:function(t){e.pramieNettoJahr=t},expression:"pramieNettoJahr"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.zahlungsart.visible?n("div",{staticClass:"row",style:e.styleOrder("zahlungsart")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Zahlungsart",firstEmpty:!0,values:e.vertragsdatenFieldsDefinition.zahlungsart.value,disabled:e.vertragsdatenFieldsDefinition.zahlungsart.disabled},on:{change:function(t){return e.dataChanged("zahlungsart",t)}},model:{value:e.versicherung.zahlungsart,callback:function(t){e.$set(e.versicherung,"zahlungsart",t)},expression:"versicherung.zahlungsart"}})],1)]):e._e(),n("div",{staticClass:"row",style:e.styleOrder("bankverbindung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("EntitySelector",{attrs:{label:"Bankverbindung",values:e.vertragsdatenFieldsDefinition.bankverbindung.value},on:{change:function(t){return e.dataChanged("bankverbindung",t)},new:function(t){return e.newBankverbindung()},edit:function(t){return e.editBankverbindung()}},model:{value:e.versicherung.bankverbindung,callback:function(t){e.$set(e.versicherung,"bankverbindung",t)},expression:"versicherung.bankverbindung"}})],1)]),e.vertragsdatenFieldsDefinition.letzteAnderung.visible?n("div",{staticClass:"row",style:e.styleOrder("letzteAnderung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Letzte Änderung",disabled:e.vertragsdatenFieldsDefinition.letzteAnderung.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.letzteAnderung,callback:function(t){e.$set(e.versicherung,"letzteAnderung",t)},expression:"versicherung.letzteAnderung"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.letzteGDVAnderung.visible?n("div",{staticClass:"row",style:e.styleOrder("letzteGDVAnderung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Letzte "+(e.isFA?"OMDS":"GDV")+" Änderung",disabled:e.vertragsdatenFieldsDefinition.letzteGDVAnderung.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.dateUpdatetdGDV,callback:function(t){e.$set(e.versicherung,"dateUpdatetdGDV",t)},expression:"versicherung.dateUpdatetdGDV"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.autoUpdate.visible?n("div",{staticClass:"row",style:e.styleOrder("autoUpdate")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:e.vertragsdatenFieldsDefinition.autoUpdate.value,disabled:e.vertragsdatenFieldsDefinition.autoUpdate.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.einlesen_updaten,callback:function(t){e.$set(e.versicherung,"einlesen_updaten",t)},expression:"versicherung.einlesen_updaten"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.externeKennung.visible?n("div",{staticClass:"row",style:e.styleOrder("externeKennung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Ext. Kennung",disabled:e.vertragsdatenFieldsDefinition.externeKennung.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.externeKennung,callback:function(t){e.$set(e.versicherung,"externeKennung",t)},expression:"versicherung.externeKennung"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.erfassungsdatum.visible?n("div",{staticClass:"row",style:e.styleOrder("erfassungsdatum")},[n("div",{staticClass:"col-12 col-sm-6"},[n("DatePickerField",{attrs:{label:"Erfassungsdatum",disabled:!e.isNewVertrag||e.vertragsdatenFieldsDefinition.erfassungsdatum.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.erfassungsdatum,callback:function(t){e.$set(e.versicherung,"erfassungsdatum",t)},expression:"versicherung.erfassungsdatum"}})],1)]):e._e()])]):e._e()},i=[],s=n("b85c"),r=n("1da1"),o=n("5530"),l=(n("96cf"),n("7db0"),n("a4d3"),n("e01a"),n("c740"),n("caad"),n("2532"),n("a434"),n("6758")),c=n("d856"),d=n("5818"),u=n("1f4d"),p=n("4567"),h=n("9131"),f=n("c704"),m=n("0054"),b=n("c0a4"),v=n("17d64"),g=n("04ad"),E=n("64c5"),_=n("2f62"),S=n("9aaa"),T=n("d3ac"),x=n("d4b0"),y={mixins:[g["a"],T["a"]],components:{BoxContainer:c["a"],InputCheckBoxItem:d["a"],InputRadioBoxItem:u["a"],InputRadioBoxGroup:p["default"],ComboBox:h["default"],InputField:f["default"],DatePickerField:m["default"],PhNotePencil:b["PhNotePencil"],PhCopy:b["PhCopy"],PhInfo:b["PhInfo"],PhNoteBlank:b["PhNoteBlank"],EntitySelector:v["default"],InputToggleSwitch:S["default"]},props:{details:{type:Object,default:function(){}}},computed:Object(o["a"])(Object(o["a"])({},Object(_["b"])({isFA:E["default"].GETTERS.IS_FA})),{},{tableId:function(){var e,t,n,a=this,i="87a21185-5360-4f71-b7f8-583d23be53df",s=null===(e=this.vertragsdatenFieldsDefinition)||void 0===e||null===(t=e.vertragssparte)||void 0===t||null===(n=t.value)||void 0===n?void 0:n.find((function(e){var t,n,i;return e.value==(null===(t=a.versicherungenDetails)||void 0===t||null===(n=t.insurance)||void 0===n||null===(i=n.description)||void 0===i?void 0:i.id)}));return"".concat(i,"-").concat(null===s||void 0===s?void 0:s.label)}}),methods:{newBankverbindung:function(){var e="person1";this.$store.commit(l["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,e),this.$store.dispatch(l["default"].ACTIONS.GOTO_BANKVERBINDUNG,this.backButtonPayload)},editBankverbindung:function(){var e="person1";this.$store.commit(l["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,e),this.$store.dispatch(l["default"].ACTIONS.GOTO_BANKVERBINDUNG,this.backButtonPayload)},validateNummer:function(e){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function n(){var a,i,r,o,l,c,d,u,p,h,f;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(l="versicherung.nummer",t.validation.reset(l),t.versicherung.gesellschaft.id){n.next=4;break}return n.abrupt("return");case 4:if(c=t.fieldsValidators.versicherung.nummer,!e){n.next=8;break}return t.$pushErrors(l,e),n.abrupt("return");case 8:d=Object(s["a"])(c),n.prev=9,d.s();case 11:if((u=d.n()).done){n.next=19;break}return u.value,n.next=15,t.$store.dispatch(x["default"].ACTIONS.INSURANCE_VERTRAGSDATEN_POLNR_RUN_VALIDATION,{gesellschaftId:t.versicherung.gesellschaft.id,polNummer:t.versicherung.nummer});case 15:p=n.sent,t.versicherung.nummer&&!p?t.$pushErrors(l,t.vertragsdatenFieldsDefinition.polNr.validationMessage):t.validation.reset(l);case 17:n.next=11;break;case 19:n.next=24;break;case 21:n.prev=21,n.t0=n["catch"](9),d.e(n.t0);case 24:return n.prev=24,d.f(),n.finish(24);case 27:null!==t&&void 0!==t&&null!==(a=t.versicherungFormValidation)&&void 0!==a&&null!==(i=a.versicherung)&&void 0!==i&&i.nummer.valid&&null!==(r=t.versicherung)&&void 0!==r&&null!==(o=r.fehler)&&void 0!==o&&o.length&&(f=null===(h=t.versicherung)||void 0===h?void 0:h.fehler.findIndex((function(e){return e.includes("Nummer")})),f>-1&&t.versicherung.fehler.splice(f,1));case 28:case"end":return n.stop()}}),n,null,[[9,21,24,27]])})))()}},mounted:function(){var e,t,n;this.$configureValidators(this.fieldsValidators),null!==(e=this.versicherung)&&void 0!==e&&null!==(t=e.gesellschaft)&&void 0!==t&&t.id&&null!==(n=this.vertragsdatenFieldsDefinition)&&void 0!==n&&n.polNr&&this.validateNummer()},validators:{}},k=y,I=(n("b0c5"),n("2877")),C=Object(I["a"])(k,a,i,!1,null,"0c705a26",null);t["a"]=C.exports},c898:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".vertical-stepper--collapsable[data-v-512c6b79]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle__container[data-v-512c6b79]{-ms-flex-item-align:end;align-self:flex-end;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin:0 8px 8px 0}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle[data-v-512c6b79]{margin:0;-webkit-transition:-webkit-transform .5s ease;transition:-webkit-transform .5s ease;transition:transform .5s ease;transition:transform .5s ease,-webkit-transform .5s ease}.vertical-stepper--collapsable .vertical-stepper--items[data-v-512c6b79]{width:100%;max-width:268px;overflow:hidden;-webkit-transition:max-width .5s ease;transition:max-width .5s ease}.vertical-stepper--collapsable .vertical-stepper--items__wrap[data-v-512c6b79]{min-width:268px}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--collapse-toggle[data-v-512c6b79]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--items[data-v-512c6b79]{max-width:32px}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep-pipe[data-v-512c6b79]{border-color:#999}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep__warning-pipe[data-v-512c6b79]{border:2px solid var(--color-danger)}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-512c6b79],.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-512c6b79]{font-weight:400}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-512c6b79]{font-size:inherit}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-512c6b79]{font-size:.8rem}.vertical-stepper__container[data-v-512c6b79]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:-8px}.vertical-stepper__container>*[data-v-512c6b79]{margin:8px}.vertical-stop__substep-pipe[data-v-512c6b79]{border:1px solid #ccc;min-height:1rem}.vertical-stop__substep__warning-pipe[data-v-512c6b79]{border:1px solid var(--color-danger);min-height:1rem}.vertical-stop__label--selected[data-v-512c6b79]{font-weight:510;font-size:1.05rem}.vertical-stop__label[data-v-512c6b79]{margin-left:8px}.vertical-stop__icon[data-v-512c6b79]{-ms-flex-negative:0;flex-shrink:0}.stepper-item__container[data-v-512c6b79]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stepper-item__container.disabled[data-v-512c6b79]{cursor:not-allowed;opacity:.8}.stepper-item__icon[data-v-512c6b79]{-webkit-box-flex:0;-ms-flex:0 0 32px;flex:0 0 32px;height:32px}.stepper-item__label[data-v-512c6b79]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vertical-step__icon-container[data-v-512c6b79]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vertical-step__icon-container[data-v-512c6b79],.vertical-substep__icon-container[data-v-512c6b79]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.vertical-substep__icon-container[data-v-512c6b79]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-left:45%;gap:5px}.vertical-substep__label[data-v-512c6b79]{font-size:.8rem;margin-left:16px}.vertical-substep__label--selected[data-v-512c6b79]{font-weight:510;font-size:.85rem}@media screen and (min-width:3840px){.app--is-test-user-context .vertical-stepper--collapsable .vertical-stepper--items[data-v-512c6b79]{max-width:368px}}",""]),e.exports=t},c920:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".vertical-stepper--collapsable[data-v-0b306da5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle__container[data-v-0b306da5]{-ms-flex-item-align:end;align-self:flex-end;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin:0 8px 8px 0}.vertical-stepper--collapsable .vertical-stepper--collapse-toggle[data-v-0b306da5]{margin:0;-webkit-transition:-webkit-transform .5s ease;transition:-webkit-transform .5s ease;transition:transform .5s ease;transition:transform .5s ease,-webkit-transform .5s ease}.vertical-stepper--collapsable .vertical-stepper--items[data-v-0b306da5]{width:100%;max-width:268px;overflow:hidden;-webkit-transition:max-width .5s ease;transition:max-width .5s ease}.vertical-stepper--collapsable .vertical-stepper--items__wrap[data-v-0b306da5]{min-width:268px}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--collapse-toggle[data-v-0b306da5]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vertical-stepper--collapsable.vertical-stepper--collapsed .vertical-stepper--items[data-v-0b306da5]{max-width:32px}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep-pipe[data-v-0b306da5]{border-color:#999}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__substep__warning-pipe[data-v-0b306da5]{border:2px solid var(--color-danger)}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-0b306da5],.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-0b306da5]{font-weight:400}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-stop__label--selected[data-v-0b306da5]{font-size:inherit}.vertical-stepper--collapsable.vertical-stepper--collapsed .stepper-item--selected .vertical-substep__label--selected[data-v-0b306da5]{font-size:.8rem}.vertical-stepper__container[data-v-0b306da5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:-8px}.vertical-stepper__container>*[data-v-0b306da5]{margin:8px}.vertical-stop__substep-pipe[data-v-0b306da5]{border:1px solid #ccc;min-height:1rem}.vertical-stop__substep__warning-pipe[data-v-0b306da5]{border:1px solid var(--color-danger);min-height:1rem}.vertical-stop__label--selected[data-v-0b306da5]{font-weight:510;font-size:1.05rem}.vertical-stop__label[data-v-0b306da5]{margin-left:8px}.vertical-stop__icon[data-v-0b306da5]{-ms-flex-negative:0;flex-shrink:0}.stepper-item__container[data-v-0b306da5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stepper-item__container.disabled[data-v-0b306da5]{cursor:not-allowed;opacity:.8}.stepper-item__icon[data-v-0b306da5]{-webkit-box-flex:0;-ms-flex:0 0 32px;flex:0 0 32px;height:32px}.stepper-item__label[data-v-0b306da5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vertical-step__icon-container[data-v-0b306da5]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vertical-step__icon-container[data-v-0b306da5],.vertical-substep__icon-container[data-v-0b306da5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.vertical-substep__icon-container[data-v-0b306da5]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-left:45%;gap:5px}.vertical-substep__label[data-v-0b306da5]{font-size:.8rem;margin-left:16px}.vertical-substep__label--selected[data-v-0b306da5]{font-weight:510;font-size:.85rem}@media screen and (min-width:3840px){.app--is-test-user-context .vertical-stepper--collapsable .vertical-stepper--items[data-v-0b306da5]{max-width:368px}}",""]),e.exports=t},c924:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".tp-selector__container[data-v-ef7c4f88]{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.tp-column__selector[data-v-ef7c4f88]{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;height:250px;overflow-y:auto;padding-right:16px}.tp-cell__selector[data-v-ef7c4f88]{height:36px;width:36px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.inputfield__input-icon--right-side[data-v-ef7c4f88]{padding:0 1rem;right:0;padding-left:4px}.inputfield__input-icon[data-v-ef7c4f88]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;height:100%}.tp-cell__selector--selected[data-v-ef7c4f88]{font-weight:700;color:var(--color-active)}.tp-cell__selector[data-v-ef7c4f88]:hover{background-color:rgba(0,0,0,.1)}.timepicker-container[data-v-ef7c4f88]{display:-webkit-box;display:-ms-flexbox;display:flex}@media (max-width:1024px){.timepicker-container[data-v-ef7c4f88]{display:block}}@media (hover:hover){.tp-column__selector[data-v-ef7c4f88]{overflow:hidden}.tp-column__selector[data-v-ef7c4f88]:hover{overflow-y:auto}}",""]),e.exports=t},c9fa:function(e,t,n){"use strict";n("59ec")},ca1f:function(e,t,n){var a=n("5b2c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("910ee7d2",a,!0,{sourceMap:!1,shadowMode:!1})},cac7:function(e,t,n){"use strict";n("7e84c")},cc64:function(e,t,n){var a=n("a3a8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("17ab6c91",a,!0,{sourceMap:!1,shadowMode:!1})},cc84:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".title[data-v-629d2744]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.title[data-v-629d2744],span i[data-v-629d2744]{cursor:pointer}.title i[data-v-629d2744]{font-size:.9em}.bearbeiten[data-v-629d2744]{float:right}.collapsable-title[data-v-629d2744]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.collapsable-toggle-icon[data-v-629d2744]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.collapsed .title[data-v-629d2744]{margin-bottom:0}",""]),e.exports=t},ccb9:function(e,t,n){"use strict";n("e760")},cd4c:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".table-container[data-v-00ef267f]{border-radius:4px;width:100%;height:auto}.table-pagination[data-v-00ef267f]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:16px 0 12px}.table-pagination[data-v-00ef267f],.table-pagination .table-pagination--left[data-v-00ef267f],.table-pagination .table-pagination--right[data-v-00ef267f]{display:-webkit-box;display:-ms-flexbox;display:flex}",""]),e.exports=t},d059:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("DragnDropArea",{attrs:{hoverText:"Datei hier ablegen"},on:{files:function(t){return e.openAddDocumentModal(t)}}},[n("InsuranceOptionMenu",{attrs:{headerActions:e.headerActions,insuranceId:e.$route.params.id},on:{"action-NEW-ACTIVITY":function(t){return e.newAppointment()},"action-OLD-POLICE-NUMBERS":function(t){return e.showOldPoliceNumbers()},"action-SCHADEN-MELDEN":function(t){return e.createSchaden()},"action-EMAIL-KUNDE":function(t){return e.emailStart(!1)},"action-EMAIL-GESELLSCHAFT":function(t){return e.emailStart(!0)},"action-BRIEF-ERSTELLEN":function(t){return e.briefStart()},"action-KUENDIGUNG-VERSICHERUNGEN":function(t){return e.emailCancel()},"action-AUFGABE-HINZUFUEGEN":function(t){return e.handleAddActivity()},"action-VERSICHERUNG-KOPIEREN":function(t){return e.versicherungKopierenBestaetigung()},"action-DOKUMENTE-HOCHLADEN":function(t){return e.dateiHochladen()},"action-EXTERNEN-ZUGANG-AUFRUFEN":function(t){return e.externenZugangOeffnen()},"action-VERS-ADMIN-A":function(t){return e.versAdminn("A")},"action-VERS-ADMIN-M":function(t){return e.versAdminn("M")}},scopedSlots:e._u([{key:"title",fn:function(){return[n("a",{on:{click:function(t){return e.navigateToGesellschaft()}}},[e._v(e._s(e.gesellschaftName))])]},proxy:!0},{key:"subtitle",fn:function(){return[e.bezeichnung?[n("span",[e._v(e._s(e.bezeichnung))]),e.nummer||e.statusAktuell||e.showKennzeichen?n("span",[e._v(" | ")]):e._e()]:e._e(),e.nummer?[n("router-link",{attrs:{to:e.overviewLink(e.$route.params.id)}},[e._v(e._s(e.nummer))]),e.statusAktuell||e.showKennzeichen?n("span",[e._v(" | ")]):e._e()]:e._e(),e.statusAktuell?[n("span",[n("Pill",{attrs:{label:e.statusAktuell,type:e.statusToPillType[e.statusAktuell]}})],1),e.showKennzeichen?n("span",[e._v(" | ")]):e._e()]:e._e(),e.showKennzeichen?[n("span",[e._v(e._s(e.kennzeichen))])]:e._e()]},proxy:!0}])}),n("div",{staticClass:"box__container"},[n("BaseCollapsable",{scopedSlots:e._u([{key:"title",fn:function(){return[n("span",{staticClass:"box__title"},[e._v(" Hinweise und Fehler ")])]},proxy:!0},{key:"content",fn:function(){return[e.hasHinweis?n("div",[n("div",{staticClass:"font-bold mt-2"},[e._v("Hinweise:")]),e._l(e.hinweise,(function(t,a){return n("div",{key:a,staticClass:"row"},[n("div",{staticClass:"col-12"},[t&&t.label?n("span",{staticClass:"font-bold"},[e._v(e._s(t.label+" : "))]):e._e(),e._v(" "+e._s(t.text)+" ")])])}))],2):n("div",{staticClass:"antrag-sidetext__container mt-8px"},[n("div",{staticClass:"row"},[n("label",{staticClass:"col-12"},[e._v(" Keine Hinweise vorhanden. ")])])]),e.errorsAndWarnings&&e.errorsAndWarnings.length?n("div",{staticClass:"antrag-sidetext__container mt-8px"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("span",{staticClass:"font-bold"},[e._v("Fehler:")])])]),n("ul",e._l(e.errorsAndWarnings,(function(t,a){return n("div",{key:a,staticClass:"row"},[n("div",{staticClass:"col-12 color-danger",on:{click:function(t){return e.navigateToStepWithWarning()}}},[n("li",[n("span",[e._v(e._s(t))]),n("span",[n("PhPencilLine",{attrs:{size:16}})],1)])])])})),0)]):e._e()]},proxy:!0}])})],1),n("StepperForm",{ref:"stepperForm",attrs:{stepType:"tab",stepperName:"insurance-detail",stepperMediator:e.tabsStepperMediator,hasFertig:!1,selectedStepKey:e.selectedStepKey,selectedSubstepKey:e.selectedSubstepKey,additionalActionsForMobile:e.baseModalActions},on:{"set-step":e.setStepByKey,"set-substep":e.setSubstepByKey,handleOtherActions:e.handleOtherActions},scopedSlots:e._u([{key:"contentTemplate",fn:function(){return["allgemeine"===e.selectedStepKey?n("div",[n("div",{staticClass:"box__container"},[n("AllgemeineVertragsdaten",{ref:"allgemeine",attrs:{canChangeVertragKundennr:e.canChangeVertragKundennr},on:{changeStep:function(t){return e.setStepByKey(t)}}})],1),e.versicherungsSummen.length?n("div",{staticClass:"box__container"},[n("VersicherungenSummen")],1):e._e()]):"weitere-vertragsdetails"===e.selectedStepKey?n("div",[n("div",{staticClass:"box__container"},[n("WeitereVertragsdetails")],1)]):"versichertes-objekt"===e.selectedStepKey?n("div",{staticClass:"box__container"},[n("VersichertesObjekt")],1):"vertrags-personen"===e.selectedStepKey?n("div",{staticClass:"box__container"},[n("VertragsPersonen")],1):"sparteUbersicht"===e.selectedStepKey?n("div",[n("SparteUbersicht")],1):"fahrzeugDaten"===e.selectedStepKey?n("div",[n("FahrzeugDatenEdit",{attrs:{versicherungId:e.$route.params.id}})],1):"aenderungslog"===e.selectedStepKey?n("div",[n("Aenderungslog",{attrs:{typ:"vers"}})],1):"sparten"===e.selectedStepKey?n("div",{staticClass:"box__container"},[n("AuswahlSparten",{attrs:{spartenSteps:e.versicherungenDetails&&e.versicherungenDetails.steps,spartenValues:e.getSpartenData,comboboxValues:e.getSpartenComboboxValues},on:{changeStepVisibility:function(t){return e.changeStepVisibility(t)}}})],1):"activities"===e.selectedStepKey?n("div",{staticClass:"box__container"},[n("PostfachOverviewTable",{attrs:{title:"E-Mails & Aktivitäten",isInsurance:"",records:e.records,loading:e.loadingActivities,parentId:e.$route.params.id,disabledColumns:["name","contact"]}})],1):"dokumente"===e.selectedStepKey?n("div",[n("DocumentsFilter"),n("div",{staticClass:"box__container"},[n("DocumentsTable",{attrs:{title:"Dokumente",nodeId:e.nodeId,versicherungId:e.$route.params.id,rowsPerPage:e.rowsPerPage,unregisterEmailEventsBeforeDestroy:!1},on:{sendEmail:function(t){return e.emailStart(t.toCompany,t.attachments)}}})],1)],1):"anmerkungen"===e.selectedStepKey?n("div",{staticClass:"box__container"},[n("Anmerkungen")],1):"schadensmeldungen"===e.selectedStepKey?n("div",{staticClass:"box__container"},[e.detailsData?n("div",[n("InsuranceDetailSchadensmeldungenTable",{attrs:{schadenInfos:e.detailsData.schadenInfos,isCalledFromMrMoneyPdfbox:e.isCalledFromMrMoneyPdfbox,mrMoneyId:e.mrMoneyId,vSNR:e.vSNR,gesellName:e.versicherungenDetails.insurance.gesellschaft.zweigstelleName}})],1):e._e()]):"wertpapiere"===e.selectedStepKey?n("div",{staticClass:"box__container"},[e.hasDepotPositions?n("div",[n("InsuranceDetailDepotPositionsTable",{attrs:{depotPositions:e.depotPositions}})],1):e._e()]):"abrechnungDetails"===e.selectedSubstepKey?n("div",{staticClass:"box__container"},[n("InsuranceAbrechnungDetails",{attrs:{editable:e.detailsData.insurance.allowNewBuchung}})],1):"zubringercourtage"===e.selectedSubstepKey?n("div",{staticClass:"box__container"},[n("InsuranceZubringercourtage",{attrs:{editable:e.detailsData.insurance.allowEditCourtage}})],1):e.isSpartenStepSelected?n("div",[n("SparteSubstep",{attrs:{spartenComponents:e.spartenComponents,hasHauptdaten:e.hasHauptdaten,spartenValues:e.getSpartenData,comboboxValues:e.getSpartenComboboxValues,sparteId:e.selectedStepKey,stepConfig:e.getSparteStepConfig}})],1):e._e()]},proxy:!0}])}),e._e()],1),n("EmailVersand"),n("AufgabeBearbeitenModal",{ref:"modalAdd",attrs:{bereichId:e.$route.params.id,gesellschaftName:e.gesellschaftName,nummer:e.nummer,bezeichnung:e.bezeichnung,bereichText:e.bereichText}}),n("AddDocument",{ref:"addDocumentModal",attrs:{nodeId:e.nodeId,versicherungId:e.$route.params.id},on:{close:function(t){return e.goToDownloadArea(e.$route.params.id)}}}),n("CopyInsuranceConfirmationModal",{ref:"copyInsuranceConfirmationModal",on:{"open-item":e.openItemSelectedDetail}}),n("ShowOldPoliceNumbersModal",{ref:"showOldPoliceNumbersModal",on:{"open-item":e.openItemSelectedDetail}})],1)},i=[],s=n("1da1"),r=n("5530"),o=(n("96cf"),n("159b"),n("7db0"),n("d3b7"),n("3ca3"),n("ddb0"),n("b64b"),n("99af"),n("caad"),n("2532"),n("e260"),n("e6cf"),n("2f62")),l=n("d4b0"),c=n("04bc"),d=n("e008"),u=n("ebb4"),p=n("037c"),h=n("b379"),f=n("11e7"),m=n("4bd7"),b=n("f9c6"),v=n("025b"),g=n("d7f4"),E=n("64c5"),_=n("d856"),S=n("04ad"),T=n("62d6"),x=n("7044"),y=n("fe1a"),k=n("c78c"),I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Table",{attrs:{tableId:"47e82852-2bbf-4e87-9a9d-8ce3cafee39b",title:"Versicherungssumme",headers:e.versicherungsSummenHeaders,rows:e.versicherungsSummenRows,rowId:"id",headerActions:e.headerActions,hidePagination:""},on:{headerAction:e.handleHeaderAction,"action-EDIT":e.editRow,"action-DELETE":e.removeRow}}),n("BaseModal",{ref:"modalAdd",attrs:{modalTitle:"Versicherungssumme",size:"lg"},on:{onConfirmButton:e.saveOrUpdateRow}},[e.form.id?e._e():n("ComboBox",{attrs:{label:"Sparte",values:e.availableSparten},model:{value:e.form.sparteId,callback:function(t){e.$set(e.form,"sparteId",t)},expression:"form.sparteId"}}),n("InputField",{attrs:{label:"Bezeichnung"},model:{value:e.form.bezeichnung,callback:function(t){e.$set(e.form,"bezeichnung",t)},expression:"form.bezeichnung"}}),n("InputField",{attrs:{type:"currency",precision:2,label:"Versicherungssumme"},model:{value:e.form.betrag,callback:function(t){e.$set(e.form,"betrag",t)},expression:"form.betrag"}})],1)],1)},C=[],A=(n("d81d"),n("cca6"),n("c0a4")),w=n("d53f"),O=n("689f"),D=n("4e5f"),N=n("a871"),R=n("c704"),M=n("9131"),P={mixins:[S["a"]],components:{BoxContainer:_["a"],PhNotePencil:A["PhNotePencil"],PhCopy:A["PhCopy"],PhInfo:A["PhInfo"],PhNoteBlank:A["PhNoteBlank"],Table:O["a"],BaseModal:N["a"],InputField:R["default"],ComboBox:M["default"]},data:function(){return{form:{id:null,betrag:null,bezeichnung:null,sparte:null,sparteId:null}}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({isFA:E["default"].GETTERS.IS_FA,versicherungenDetails:l["default"].GETTERS.INSURANCE_DETAILS,versicherungsSummen:l["default"].GETTERS.VERSICHERUNGSSUMMEN})),{},{versicherungsSummenHeaders:function(){var e={lockedLeft:[Object(w["TextColumn"])("id","Id").makeHidden(),Object(w["TextColumn"])("sparte","Sparte").makeAlwaysVisible()],center:[Object(w["TextColumn"])("bezeichnung","Beschreibung"),Object(w["CurrencyColumn"])("betrag","Wert")],lockedRight:[Object(w["ActionColumn"])("actions","Aktionen")]};return e},versicherungsSummenRows:function(){var e=[Object(w["SimpleAction"])("EDIT","PhPencil","Bearbeiten"),Object(w["ConfirmedAction"])("DELETE","PhTrash","Löschen","Soll die Versicherungssumme wirklich gelöscht werden?","Versicherungssumme löschen","Löschen")];return this.versicherungsSummen.map((function(t){return Object(r["a"])(Object(r["a"])({},t),{},{actions:e})}))},headerActions:function(){return[Object(D["h"])("NEW","Hinzufügen")]},availableSparten:function(){var e,t,n;return null===(e=this.versicherungenDetails)||void 0===e||null===(t=e.insurance)||void 0===t||null===(n=t.sparten)||void 0===n?void 0:n.map((function(e){return{label:e.beschreibung,value:e.id}}))}}),methods:{editRow:function(e){var t={id:null===e||void 0===e?void 0:e.id,sparte:null===e||void 0===e?void 0:e.sparte,betrag:null===e||void 0===e?void 0:e.betrag,bezeichnung:null===e||void 0===e?void 0:e.bezeichnung,sparteId:null===e||void 0===e?void 0:e.sparteId,vertragId:this.versicherungenDetails.insurance.id};Object.assign(this.form,t),this.$refs.modalAdd.open()},saveOrUpdateRow:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch(l["default"].ACTIONS.SAVE_OR_UPDATE_VERSICHERUNG_SUMME,e.form);case 2:return t.next=4,e.$store.dispatch(l["default"].ACTIONS.RETRIEVE_VERSICHERUNGSSUMMEN,{vertragId:null===(n=e.versicherungenDetails)||void 0===n||null===(a=n.insurance)||void 0===a?void 0:a.id});case 4:case"end":return t.stop()}}),t)})))()},removeRow:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function n(){var a,i,s,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$store.dispatch(l["default"].ACTIONS.DELETE_VERSICHERUNG_SUMME,{id:null===e||void 0===e?void 0:e.id,vertragId:null===(a=t.versicherungenDetails)||void 0===a||null===(i=a.insurance)||void 0===i?void 0:i.id});case 2:return n.next=4,t.$store.dispatch(l["default"].ACTIONS.RETRIEVE_VERSICHERUNGSSUMMEN,{vertragId:null===(s=t.versicherungenDetails)||void 0===s||null===(r=s.insurance)||void 0===r?void 0:r.id});case 4:case"end":return n.stop()}}),n)})))()},handleHeaderAction:function(e){var t=e.key,n=e.value,a={id:null,betrag:null,bezeichnung:null,sparte:null,sparteId:null,vertragId:this.versicherungenDetails.insurance.id};switch(t){case"NEW":Object.assign(this.form,a),this.$refs.modalAdd.open();break;default:break}this.$emit("headerAction-".concat(t),n)}}},B=P,L=(n("a182"),n("2877")),U=Object(L["a"])(B,I,C,!1,null,"afd2ac2e",null),F=U.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._l(e.spartenForm,(function(t,a){return n("div",{key:a,staticStyle:{"margin-bottom":"8px"}},[n("InputToggleSwitch",{staticClass:"mt-2",attrs:{value:e.selection[t.stepKey],label:t.label,inLineLabel:"",suppressValidationMessage:"",disabled:e.getDisableRule(t.stepKey,t.config&&t.config.primary)},on:{input:function(n){return e.selectionChanged(t.stepKey,n)}}})],1)})),e.canAddNewSparten?n("BaseButton",{on:{click:e.neueSparteAnlegen}},[e._v(" Neue Sparte anlegen ")]):e._e(),n("AddSparte",{ref:"addSparteModal"})],2)},j=[],$=n("ade3"),G=(n("4e82"),n("4de4"),n("07ac"),n("9aaa")),V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseModal",{ref:"addSparteModal",attrs:{modalTitle:"Neue Sparte anlegen",labelButtonConfirm:"Sparte hinzufügen"},on:{onConfirmButton:function(t){return e.addNewSparte()},close:function(t){return e.close()}}},[n("InputField",{attrs:{label:"Neue Sparte",disabled:""},model:{value:e.beschreibung,callback:function(t){e.beschreibung=t},expression:"beschreibung"}}),n("ComboBox",{attrs:{label:"Sparte",values:e.sparteValues},model:{value:e.sparteId,callback:function(t){e.sparteId=t},expression:"sparteId"}})],1)],1)},K=[],H={components:{ComboBox:M["default"],InputField:R["default"],BaseModal:N["a"]},data:function(){return{sparteId:null,beschreibung:null,vertragId:null}},mounted:function(){},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({isFA:E["default"].GETTERS.IS_FA,hasRoles:E["default"].GETTERS.HAS_ROLES,sparten:l["default"].GETTERS.GET_SPARTEN})),{},{sparteValues:function(){var e,t;return(null===(e=this.sparten)||void 0===e||null===(t=e.rows)||void 0===t?void 0:t.map((function(e){return{value:e.key,label:e.value}})))||[]}}),methods:{open:function(e){var t=this;this.vertragId=e,this.$store.dispatch(l["default"].ACTIONS.GET_SPARTEN,{vertragId:e}).then((function(e){t.beschreibung=null===e||void 0===e?void 0:e.beschreibung,t.$refs.addSparteModal.open()}))},addNewSparte:function(){var e=this;this.$store.dispatch(l["default"].ACTIONS.ADD_SPARTE,{vertragId:this.vertragId,sparteId:this.sparteId}).then((function(){e.retrievetAllData()}))},close:function(){this.$emit("close")},retrievetAllData:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.retrieveInsuranceDetails(),e.retrieveDepotPositions()]);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},retrieveInsuranceDetails:function(){return this.$store.dispatch(l["default"].ACTIONS.RETRIEVE_INSURANCE_DETAILS,{versVertrag:this.$route.params.id})},retrieveDepotPositions:function(){return this.$store.dispatch(l["default"].ACTIONS.GET_DEPOT_POSITIONS,{vertragsNr:this.$route.params.id})}},beforeRouteLeave:function(e,t,n){this.$addBreadcrumb({label:"zurück zu Neue Sparte anlegen",to:e,from:t}),n()}},W=H,Z=Object(L["a"])(W,V,K,!1,null,null,null),Y=Z.exports,X=n("a9e4"),q={mixins:[S["a"]],components:{InputToggleSwitch:G["default"],InputField:R["default"],AddSparte:Y,BaseButton:c["default"]},props:{spartenSteps:{type:Array,default:function(){return[]}},spartenValues:{type:Array,default:function(){return[]}}},data:function(){return{selection:{},primarySparte:null}},mounted:function(){var e,t=this;this.selection={},null===(e=this.spartenSteps)||void 0===e||e.forEach((function(e){var n;t.$set(t.selection,e.stepKey,t.hasSparte(t.spartenValues,e)),null!==(n=e.config)&&void 0!==n&&n.primary&&(t.primarySparte=e)}))},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({hasRoles:E["default"].GETTERS.HAS_ROLES})),{},{spartenForm:function(){var e,t=this;return((null===(e=this.spartenSteps)||void 0===e?void 0:e.map((function(e){var n,a=(null===(n=t.spartenValues)||void 0===n?void 0:n.find((function(t){return t.sparteId===e.stepKey})))||{};return Object.assign({},e,{selected:t.hasSparte(t.spartenValues,e),onlyActivTarif:!0},a)})))||[]).sort((function(e,n){var a,i;return e.stepKey===(null===(a=t.primarySparte)||void 0===a?void 0:a.stepKey)?-1:n.stepKey===(null===(i=t.primarySparte)||void 0===i?void 0:i.stepKey)?1:e.selected&&n.selected||!e.selected&&!n.selected?(e.label||"").localeCompare(n.label):e.selected?-1:1}))},getSelection:function(){return this.selection},vertragId:function(){var e,t;return null===(e=this.$route)||void 0===e||null===(t=e.params)||void 0===t?void 0:t.id},canAddNewSparten:function(){return this.hasRoles(X["e"].CAN_ADD_NEW_SPARTEN)}}),methods:{selectionChanged:function(e,t){var n,a,i=this,s=Promise.resolve(),r=null===(n=this.versicherungenDetails)||void 0===n||null===(a=n.schadenInfos)||void 0===a?void 0:a.filter((function(t){return e===t.spartenTypId}));e&&0==t&&null!==r&&void 0!==r&&r.length&&(s=this.$confirmModal({message:"Sie haben die Sparte deaktiviert, beim Speichern werden alle eingetragenen Daten - auch sämtliche dazugehörige Schadensdaten - gelöscht.\n\n          Diese Aktion ist unumkehrbar!",title:"Hinweis",labelButtonConfirm:"Trotzdem speichern"})),this.$set(this.selection,e,t),s.then((function(){i.$emit("changeStepVisibility",{sparteId:e,value:t}),i.selection=Object.assign({},i.selection,Object($["a"])({},e,t)),i.$store.commit(l["default"].MUTATIONS.UPDATE_STORE_SELECTED_SPARTEN,{id:e,value:t})})).catch((function(n){i.$set(i.selection,e,!t)}))},neueSparteAnlegen:function(){this.$refs.addSparteModal.open(this.vertragId)},getDisableRule:function(e,t){return this.selection[e]&&(t||1===Object.values(this.selection).filter((function(e){return!!e})).length)}}},J=q,Q=Object(L["a"])(J,z,j,!1,null,"f4989dfc",null),ee=Q.exports,te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.hasHauptdaten?n("div",{staticClass:"box__container"},[n("Hauptdaten",{attrs:{disabled:!1,data:e.getSpartenDataHauptdata,sparteId:e.getSparteId,comboboxValues:e.comboboxValues,stepConfig:e.stepConfig}})],1):e._e(),e.components&&e.components.length?n("div",[n("ComponentList",{attrs:{components:e.components,data:e.getSpartenData,comboboxValues:e.getComboboxValues,disabled:!1},on:{change:function(t){return e.inputChanged(t)}}})],1):e._e()])},ne=[],ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("InputField",{attrs:{type:"currency",label:"Prämie",isComponentHalfSize:""},on:{change:function(t){return e.inputCurrencyChanged("praemieBtoZahlweise",t,e.getSparteId)}},model:{value:e.praemieBtoZahlweise,callback:function(t){e.praemieBtoZahlweise=t},expression:"praemieBtoZahlweise"}}),n("InputField",{attrs:{type:"currency",isComponentHalfSize:"",precision:2,label:"Prämie (Jahr)",disabled:!0},model:{value:e.praemieBtoPa,callback:function(t){e.praemieBtoPa=t},expression:"praemieBtoPa"}}),n("InputField",{attrs:{type:"currency",isComponentHalfSize:"",precision:2,label:"Prämie Netto",disabled:e.disabled},on:{change:function(t){return e.inputCurrencyChanged("praemieNtoZahlweise",t,e.getSparteId)}},model:{value:e.praemieNtoZahlweise,callback:function(t){e.praemieNtoZahlweise=t},expression:"praemieNtoZahlweise"}}),n("InputField",{attrs:{type:"currency",isComponentHalfSize:"",precision:2,label:"Prämie Netto (Jahr)",disabled:!0},model:{value:e.praemieNtoPa,callback:function(t){e.praemieNtoPa=t},expression:"praemieNtoPa"}}),n("DatePickerField",{attrs:{value:e.data&&e.data.begin,isComponentHalfSize:"",label:"Sparte Beginn",disabled:!0}}),n("EntitySelector",{attrs:{label:"Tarif",values:e.getComboboxTarif(e.data),firstEmpty:!0,hasEditButton:!1,isComponentHalfSize:""},on:{input:function(t){return e.inputHauptdataChanged({componentId:"tarif",value:t},e.getSparteId)},new:function(t){return e.newTarif()}},model:{value:e.tarif,callback:function(t){e.tarif=t},expression:"tarif"}}),n("InputToggleSwitch",{attrs:{label:"nur vertriebene Tarife",inLineLabel:"",suppressValidationMessage:""},on:{input:function(t){return e.inputHauptdataChanged({componentId:"onlyActivTarif",value:t},e.getSparteId)}},model:{value:e.onlyActivTarif,callback:function(t){e.onlyActivTarif=t},expression:"onlyActivTarif"}}),e.stepConfig&&e.stepConfig.erlaubePerson?n("EntitySelectorPersonPicker",{attrs:{label:"Versicherte Person",isComponentHalfSize:"",values:e.getComboboxVersichertePerson()},on:{change:function(t){return e.inputHauptdataChanged({componentId:"versichertePerson",value:t},e.getSparteId)}},model:{value:e.versichertePerson,callback:function(t){e.versichertePerson=t},expression:"versichertePerson"}}):e._e(),n("BaseModal",{ref:"tarif",attrs:{labelButtonCancel:"Zurück"},on:{onCancelButton:function(t){return e.closeTarifModal()},onConfirmButton:function(t){return e.addTarif()}},scopedSlots:e._u([{key:"modalTitle",fn:function(){return[e._v(" Daten Versicherungstarif ")]},proxy:!0}])},[n("div",[n("InputField",{attrs:{label:"Bezeichnung"},model:{value:e.form.bezeichnung,callback:function(t){e.$set(e.form,"bezeichnung",t)},expression:"form.bezeichnung"}}),n("ComboBox",{attrs:{label:"Gesellschaft",values:e.comboboxValues?e.comboboxValues.gesellschaft:[],disabled:!1},on:{change:function(t){return e.inputCurrencyChanged(t,null,e.zeithorizontStr)}},model:{value:e.form.gesellschaft,callback:function(t){e.$set(e.form,"gesellschaft",t)},expression:"form.gesellschaft"}}),n("ComboBox",{attrs:{label:"Sparte",values:e.comboboxValues?e.comboboxValues.gesellschaft:[],disabled:!1},on:{change:function(t){return e.inputCurrencyChanged(t,null,e.zeithorizontStr)}},model:{value:e.form.sparteTarif,callback:function(t){e.$set(e.form,"sparteTarif",t)},expression:"form.sparteTarif"}}),e.isIntern||e.isBroker?n("div",[n("InputField",{attrs:{label:"Sichtbar für",disabled:e.isBroker},model:{value:e.form.visibility,callback:function(t){e.$set(e.form,"visibility",t)},expression:"form.visibility"}}),n("InputToggleSwitch",{attrs:{label:"inclusive Struktur",inLineLabel:"",suppressValidationMessage:"",disabled:e.isBroker},model:{value:e.form.struktur,callback:function(t){e.$set(e.form,"struktur",t)},expression:"form.struktur"}}),n("BaseButton",{attrs:{isSecondary:""},on:{click:function(t){return e.vorgabeTarifdaten()}}},[n("span",[e._v("Vorgabe Tarifdaten")])]),n("InputToggleSwitch",{attrs:{label:"Tarif wird nicht mehr vertrieben",inLineLabel:"",suppressValidationMessage:""},model:{value:e.form.inactive,callback:function(t){e.$set(e.form,"inactive",t)},expression:"form.inactive"}})],1):e._e()],1)])],1)},ie=[],se=n("0054"),re=n("17d64"),oe=n("e56e"),le=n("c1e4"),ce={mixins:[S["a"]],components:{InputField:R["default"],DatePickerField:se["default"],EntitySelector:re["default"],InputToggleSwitch:G["default"],ComboBox:M["default"],BaseModal:N["a"],BaseButton:c["default"],EntitySelectorPersonPicker:le["a"]},props:{disabled:{type:Boolean,default:!1},data:{type:Object,default:function(){}},sparteId:{type:String,default:""},comboboxValues:{type:Object,default:function(){}},stepConfig:{type:Object,default:function(){}}},data:function(){return{form:{},praemieBtoZahlweise:"",praemieNtoZahlweise:"",tarif:"",onlyActivTarif:!1,versichertePerson:""}},mounted:function(){this.initValues()},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({isIntern:E["default"].GETTERS.ORIGINAL_USER_IS_INTERN,isBroker:E["default"].GETTERS.ORIGINAL_USER_IS_BROKER,selectedTarif:oe["default"].GETTERS.SELECTED_VERSICHERUNGSTARIF,originalUser:E["default"].GETTERS.ORIGINAL_USER,userId:E["default"].GETTERS.GET_USER_ID,loginData:E["default"].GETTERS.GET_LOGIN_DATA})),{},{getSparteId:function(){return this.initValues(),this.sparteId},praemieBtoPa:function(){return this.getPraemieJahr(this.praemieBtoZahlweise)},praemieNtoPa:function(){return this.getPraemieJahr(this.praemieNtoZahlweise)}}),methods:{initValues:function(){var e,t,n,a,i;this.praemieBtoZahlweise=null===(e=this.data)||void 0===e?void 0:e.praemieBtoZahlweise,this.praemieNtoZahlweise=null===(t=this.data)||void 0===t?void 0:t.praemieNtoZahlweise,this.tarif=null===(n=this.data)||void 0===n?void 0:n.tarif,this.onlyActivTarif=null===(a=this.data)||void 0===a?void 0:a.onlyActivTarif,this.versichertePerson=null===(i=this.data)||void 0===i?void 0:i.versichertePerson},praemieChanges:function(e,t,n){this.inputCurrencyChanged(e,t,this.getSparteId)},getComboboxTarif:function(){var e,t=this.getSparteId&&this.comboboxValues[this.getSparteId]||{};return null!==(e=this.data)&&void 0!==e&&e.onlyActivTarif?(null===t||void 0===t?void 0:t.tarifOnlyAktiv)||[]:(null===t||void 0===t?void 0:t.tarifAll)||[]},getComboboxVersichertePerson:function(){return this.getSparteId?this.comboboxValues[this.getSparteId].versichertePerson:[]},newTarif:function(){var e,t,n,a,i,s,r,o,l,c,d,u,p,h={gesellschaft:{id:null===(e=this.versicherung)||void 0===e||null===(t=e.gesellschaft)||void 0===t?void 0:t.id},sparte:{id:null===(n=this.data)||void 0===n?void 0:n.sparteId,values:[{type:"default",label:null===(a=this.data)||void 0===a?void 0:a.bezeichnung,key:null===(i=this.data)||void 0===i?void 0:i.sparteId,value:null===(s=this.data)||void 0===s?void 0:s.sparteId}]},besitzer:this.isBroker?null===(r=this.originalUser)||void 0===r?void 0:r.userid:null===(o=this.loginData)||void 0===o?void 0:o.maklernr},f=[{label:null===(l=this.versicherung)||void 0===l||null===(c=l.gesellschaft)||void 0===c?void 0:c.zweigstelleName,value:null===(d=this.versicherung)||void 0===d||null===(u=d.gesellschaft)||void 0===u?void 0:u.id}];this.$store.commit(oe["default"].MUTATIONS.RESET_TARIFE_DOKUMENTE),this.$store.commit(oe["default"].MUTATIONS.SELECTED_VERSICHERUNGSTARIF,h),this.$store.commit(oe["default"].MUTATIONS.VERSICHERUNGSTARIFE_GESELLSCHAFTEN,f),this.$router.push({path:"/beratung/tarifBearbeiten",query:{insuranceStep:null===(p=this.data)||void 0===p?void 0:p.sparteId}})},closeTarifModal:function(){this.$refs.tarif.close()},addTarif:function(){var e;this.$store.commit(oe["default"].MUTATIONS.RESET_TARIFE_DOKUMENTE),this.$store.commit(oe["default"].MUTATIONS.SELECTED_VERSICHERUNGSTARIF,{gesellschaft:{id:null},sparte:{values:[]}}),this.$router.push({path:"/beratung/tarifBearbeiten",query:{insuranceStep:null===(e=this.data)||void 0===e?void 0:e.sparteId}})},vorgabeTarifdaten:function(){}}},de=ce,ue=Object(L["a"])(de,ae,ie,!1,null,"e97649f0",null),pe=ue.exports,he=n("36d0"),fe={mixins:[S["a"]],components:{Hauptdaten:pe,ComponentList:he["a"]},props:{spartenValues:{type:Array,default:function(){return[]}},comboboxValues:{type:Object,default:function(){}},spartenComponents:{type:Array,default:function(){return[]}},hasHauptdaten:{type:Boolean,default:!1},sparteId:{type:String,default:""},stepConfig:{type:Object,default:function(){}}},data:function(){return{selection:{}}},mounted:function(){},computed:{getSparteId:function(){return this.sparteId},components:function(){return this.spartenComponents||[]},isEditable:function(){var e,t=this;return this.getSparteId&&this.spartenComponents&&(null===(e=this.spartenValues)||void 0===e?void 0:e.some((function(e){return e.sparteId===t.getSparteId})))},getComboboxValues:function(){return this.comboboxValues&&this.comboboxValues[this.getSparteId]||{}},getSpartenData:function(){var e,t,n=this,a={},i=(null===(e=(null===(t=this.spartenValues)||void 0===t?void 0:t.find((function(e){return e.sparteId===n.getSparteId})))||{})||void 0===e?void 0:e.parameters)||{};return Object.keys(i).forEach((function(e){return a[e]="true"===i[e]||"false"!==i[e]&&i[e]})),a},getSpartenDataHauptdata:function(){var e,t=this;return(null===(e=this.spartenValues)||void 0===e?void 0:e.find((function(e){return e.sparteId===t.getSparteId})))||{}}},methods:{inputChanged:function(e){null!==e&&void 0!==e&&e.componentId&&this.$store.commit(l["default"].MUTATIONS.UPDATE_STORE_SPARTEN_DATA,Object.assign(e,{sparteId:this.getSparteId}))}}},me=fe,be=Object(L["a"])(me,te,ne,!1,null,"45650e02",null),ve=be.exports,ge=(n("0f4c"),n("b967")),Ee=n("bc9e"),_e=n("10e3"),Se=n("0cc2"),Te=n("998a"),xe=n("aa367"),ye=n("6a3e"),ke=n("c17d"),Ie=n("c16a"),Ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.vertragsdatenFieldsDefinition?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Art",values:e.artValues},on:{change:function(t){return e.insuranceObjectPropertyDataChanged("versichertesObjekt","verssache",t)}},model:{value:e.versicherung.versichertesObjekt.verssache,callback:function(t){e.$set(e.versicherung.versichertesObjekt,"verssache",t)},expression:"versicherung.versichertesObjekt.verssache"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Zusatz"},on:{input:function(t){return e.insuranceObjectPropertyDataChanged("versichertesObjekt","zusatz",t)}},model:{value:e.versicherung.versichertesObjekt.zusatz,callback:function(t){e.$set(e.versicherung.versichertesObjekt,"zusatz",t)},expression:"versicherung.versichertesObjekt.zusatz"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Straße"},on:{input:function(t){return e.insuranceObjectPropertyDataChanged("versichertesObjekt","strasse",t)}},model:{value:e.versicherung.versichertesObjekt.strasse,callback:function(t){e.$set(e.versicherung.versichertesObjekt,"strasse",t)},expression:"versicherung.versichertesObjekt.strasse"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Hausnummer"},on:{input:function(t){return e.insuranceObjectPropertyDataChanged("versichertesObjekt","hausnr",t)}},model:{value:e.versicherung.versichertesObjekt.hausnr,callback:function(t){e.$set(e.versicherung.versichertesObjekt,"hausnr",t)},expression:"versicherung.versichertesObjekt.hausnr"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"PLZ"},on:{input:function(t){return e.insuranceObjectPropertyDataChanged("versichertesObjekt","plz",t)}},model:{value:e.versicherung.versichertesObjekt.plz,callback:function(t){e.$set(e.versicherung.versichertesObjekt,"plz",t)},expression:"versicherung.versichertesObjekt.plz"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Ort"},on:{input:function(t){return e.insuranceObjectPropertyDataChanged("versichertesObjekt","ort",t)}},model:{value:e.versicherung.versichertesObjekt.ort,callback:function(t){e.$set(e.versicherung.versichertesObjekt,"ort",t)},expression:"versicherung.versichertesObjekt.ort"}})],1)]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Land"},on:{input:function(t){return e.insuranceObjectPropertyDataChanged("versichertesObjekt","land",t)}},model:{value:e.versicherung.versichertesObjekt.land,callback:function(t){e.$set(e.versicherung.versichertesObjekt,"land",t)},expression:"versicherung.versichertesObjekt.land"}})],1)])]):e._e()},Ae=[],we=n("6758"),Oe=n("5818"),De=n("1f4d"),Ne=n("4567"),Re={mixins:[S["a"]],components:{BoxContainer:_["a"],InputCheckBoxItem:Oe["a"],InputRadioBoxItem:De["a"],InputRadioBoxGroup:Ne["default"],ComboBox:M["default"],InputField:R["default"],DatePickerField:se["default"],PhNotePencil:A["PhNotePencil"],PhCopy:A["PhCopy"],PhInfo:A["PhInfo"],PhNoteBlank:A["PhNoteBlank"],EntitySelector:re["default"]},props:{details:{type:Object,default:function(){}}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({isFA:E["default"].GETTERS.IS_FA})),{},{artValues:function(){var e,t,n;return null===(e=this.versicherung)||void 0===e||null===(t=e.versichertesObjekt)||void 0===t||null===(n=t.verssacheValues)||void 0===n?void 0:n.map((function(e){return{label:e.value,value:e.key}}))}}),methods:{}},Me=Re,Pe=(n("c630"),Object(L["a"])(Me,Ce,Ae,!1,null,"7c2d63a8",null)),Be=Pe.exports,Le=n("4621"),Ue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[n("div",{staticClass:"mt-2 mb-5"},[n("BaseButton",{on:{click:function(t){return e.hinzufugen()}}},[e._v("Hinzufügen")])],1),e.rows.length?n("Table",{attrs:{tableId:"00479a60-4c16-4305-adc3-32a31d55a9f2",headers:e.headers,rows:e.rows,rowsPerPage:20},on:{"click-name":function(t){return e.openRow(t)},"action-delete":function(t){return e.confirmDeletePerson(t)}}}):n("NoData"),n("VertragsPersonenModal",{ref:"vertragsPersonenModal"}),n("BaseModal",{ref:"deletePersonConfirmation",attrs:{modalTitle:"Vertragsperson löschen",labelButtonConfirm:"Löschen"},on:{onConfirmButton:function(t){return e.deletePerson()}}},[e._v(" "+e._s(e.deletePersonMessage)+" ")])],1)},Fe=[],ze=(n("b0c0"),n("6eb5")),je=n("b1a7"),$e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseModal",{ref:"vertragsPersonenModal",attrs:{modalTitle:"Vertragspersondaten",labelButtonConfirm:"Fertig "},on:{onConfirmButton:function(t){return e.onConfirmModal()},onCancelButton:function(t){return e.onCancelModal()},onCloseButton:function(t){return e.onCancelModal()}}},[e.form.selectedPerson||e.form.vertragId?n("div",[n("InputField",{attrs:{disabled:!0,label:"Vertrag"},model:{value:e.form.vertragBeschreibung,callback:function(t){e.$set(e.form,"vertragBeschreibung",t)},expression:"form.vertragBeschreibung"}}),n("ComboBox",{attrs:{label:"Rolle",firstEmpty:!0,values:e.vertragsPersonenData.availableRoles},model:{value:e.form.rolle,callback:function(t){e.$set(e.form,"rolle",t)},expression:"form.rolle"}}),n("EntitySelector",{attrs:{isPersonPicker:"",label:"Person",value:e.form.selectedPerson,values:e.vertragsPersonenData.availablePersons},on:{new:function(t){return e.newPerson()},change:function(t){return e.updateForm(t)}}})],1):e._e()])},Ge=[],Ve={mixins:[S["a"]],components:{BaseButton:c["default"],EntitySelector:re["default"],BaseModal:N["a"],InputField:R["default"],ComboBox:M["default"]},data:function(){return{form:{id:null,vertragBeschreibung:null,vertrag:null,selectedPerson:null,rolle:null,vertragId:null}}},props:{details:{type:Object,default:function(){}}},mounted:function(){},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({vertragsPersonenData:l["default"].GETTERS.VERTRAGSPERSONENDATA})),{},{backButtonPayload:function(){return{backButton:!0}}}),methods:{closeModal:function(){},open:function(){var e,t,n,a,i,s;this.form.id=null===(e=this.vertragsPersonenData)||void 0===e?void 0:e.id,this.form.vertragBeschreibung=null===(t=this.vertragsPersonenData)||void 0===t?void 0:t.vertragBeschreibung,this.form.selectedPerson=null===(n=this.vertragsPersonenData)||void 0===n||null===(a=n.selectedPerson)||void 0===a?void 0:a.value,this.form.rolle=null===(i=this.vertragsPersonenData)||void 0===i?void 0:i.rolle,this.form.vertragId=null===(s=this.vertragsPersonenData)||void 0===s?void 0:s.vertragId,this.$refs.vertragsPersonenModal.open()},onConfirmModal:function(){var e=this;this.$store.dispatch(l["default"].ACTIONS.SAVE_VERTRAG_PERSONEN_DATA,this.form).then((function(t){e.$store.dispatch(l["default"].ACTIONS.RETRIEVE_VERTRAGPERSONEN_LIST,e.form)}))},onCancelModal:function(){},updateForm:function(e){this.form.selectedPerson=e},newPerson:function(){var e="neue_person";this.$store.commit(we["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,e),this.$store.dispatch(we["default"].ACTIONS.GOTO_CUSTOMER_DATA,this.backButtonPayload)}}},Ke=Ve,He=(n("abb1"),Object(L["a"])(Ke,$e,Ge,!1,null,"3946e5f0",null)),We=He.exports,Ze={mixins:[S["a"]],components:{GhostLoading:ze["a"],NoData:je["a"],Table:O["a"],BaseButton:c["default"],VertragsPersonenModal:We,BaseModal:N["a"]},props:{details:{type:Object,default:function(){}}},data:function(){return{selectedPerson:null,deletePersonMessage:null}},mounted:function(){var e,t=this;this.$store.dispatch(l["default"].ACTIONS.RETRIEVE_VERTRAGPERSONEN_LIST,{vertragId:null===(e=this.versicherung)||void 0===e?void 0:e.id}).then((function(e){t.versicherung.vertragsPersonen=e}))},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({isFA:E["default"].GETTERS.IS_FA,vertragPersonenList:l["default"].GETTERS.VERTRAGPERSONEN_LIST})),{},{rows:function(){var e,t=[Object(w["SimpleAction"])("delete",A["PhTrash"],"Löschen")];return(null===(e=this.vertragPersonenList)||void 0===e?void 0:e.map((function(e){var n,a,i,s,r,o,l,c;return{id:e.id,rolle:e.vtgrolle,name:null===(n=e.person)||void 0===n?void 0:n.name,vorname:null===(a=e.person)||void 0===a?void 0:a.vorname,strasse:null===(i=e.person)||void 0===i||null===(s=i.addresse)||void 0===s?void 0:s.strasse,plz:null===(r=e.person)||void 0===r||null===(o=r.addresse)||void 0===o?void 0:o.plz,ort:null===(l=e.person)||void 0===l||null===(c=l.addresse)||void 0===c?void 0:c.ort,canEdit:e.canEdit,actions:e.canEdit?t:[]}})))||[]},headers:function(){return{lockedLeft:[Object(w["TextColumn"])("id","Id").makeHidden(),Object(w["TextColumn"])("rolle","Rolle"),Object(w["TextColumn"])("name","Name").makeLink(),Object(w["TextColumn"])("vorname","Vorname")],center:[Object(w["TextColumn"])("strasse","Straße"),Object(w["TextColumn"])("plz","PLZ"),Object(w["TextColumn"])("ort","Ort")],lockedRight:[Object(w["ActionColumn"])("actions","Aktionen")]}}}),methods:{openRow:function(e){var t,n=this;null!==e&&void 0!==e&&e.canEdit&&this.$store.dispatch(l["default"].ACTIONS.RETRIEVE_VERTRAGSPERSONENDATA,{vertragId:null===(t=this.versicherung)||void 0===t?void 0:t.id,vertragsPersonId:null===e||void 0===e?void 0:e.id}).then((function(e){null!==e&&void 0!==e&&e.availableRoles&&n.$refs.vertragsPersonenModal.open()}))},confirmDeletePerson:function(e){this.selectedPerson=e,this.deletePersonMessage="Soll die Vertragsperson ".concat(e.name," wirklich gelöscht werden? (Es wird nur die Zuordnung zum Vertrag gelöscht, die Person selbst bleibt bei den Personendaten erhalten.)"),this.$refs.deletePersonConfirmation.open()},deletePerson:function(){var e,t=this;this.$store.dispatch(l["default"].ACTIONS.DELETE_VERTRAG_PERSON,{vertragsPersonId:null===(e=this.selectedPerson)||void 0===e?void 0:e.id}).then((function(e){var n;null!==e&&void 0!==e&&e.key&&t.$store.dispatch(l["default"].ACTIONS.RETRIEVE_VERTRAGPERSONEN_LIST,{vertragId:null===(n=t.versicherung)||void 0===n?void 0:n.id})}))},hinzufugen:function(){var e,t=this;this.$store.dispatch(l["default"].ACTIONS.RETRIEVE_VERTRAGSPERSONENDATA,{vertragId:null===(e=this.versicherung)||void 0===e?void 0:e.id,vertragsPersonId:null}).then((function(e){null!==e&&void 0!==e&&e.availableRoles&&t.$refs.vertragsPersonenModal.open()}))}}},Ye=Ze,Xe=(n("ee62"),Object(L["a"])(Ye,Ue,Fe,!1,null,"53d695df",null)),qe=Xe.exports,Je=n("29e8"),Qe=n("b7e4"),et=n("9b31"),tt=n("6e22"),nt=n("45bb"),at=n("1653"),it=n("9066"),st=n("2810"),rt="Vorsorge",ot={mixins:[S["a"],ge["a"]],components:{BaseButton:c["default"],BaseCollapsable:d["a"],InsuranceDetailSchadensmeldungenTable:u["a"],InsuranceDetailDepotPositionsTable:p["a"],AddDocument:h["a"],DragnDropArea:f["a"],DocumentsTable:m["a"],DocumentsFilter:b["a"],Pill:v["a"],BoxContainer:_["a"],StepperForm:T["a"],AllgemeineVertragsdaten:y["a"],WeitereVertragsdetails:k["a"],VersicherungenSummen:F,AuswahlSparten:ee,SparteSubstep:ve,PhPencilLine:A["PhPencilLine"],AppointmentEditCreate:Ee["default"],BaseModal:N["a"],Anmerkungen:_e["a"],PostfachOverviewTable:Se["a"],InsuranceAbrechnungDetails:xe["a"],InsuranceZubringercourtage:ye["a"],SparteUbersicht:Ie["a"],VersichertesObjekt:Be,InsuranceOptionMenu:Le["a"],VertragsPersonen:qe,FahrzeugDatenEdit:Je["default"],EmailVersand:et["a"],AufgabeBearbeitenModal:tt["a"],Aenderungslog:it["default"],CopyInsuranceConfirmationModal:nt["a"],ShowOldPoliceNumbersModal:at["a"]},data:function(){return{vertragsdaten:{},selectedSubstepKey:"",newVertrag:!1,loadingActivities:!1,mailUsers:[],selectedRowsValues:[],isCancelable:!1}},watch:{deletedSchadensmeldungId:function(){this.retrievetAllData()},"$route.query.newVertrag":{handler:function(e){this.newVertrag="true"===e,this.tabsStepperMediator.setStepHidden("schadensmeldungen",this.newVertrag)},immediate:!0},"$route.params.id":function(){var e=this;this.retrievetAllData().then((function(){return e.openAddDocumentModalTempFiles()}))},versicherungenDetails:function(e){this.addDefaultBreadcrumbIfNotExists(null===e||void 0===e?void 0:e.insurance),this.isCancelable=this.isCancelableInsurance()},isOriginalUserBroker:{handler:function(){this.tabsStepperMediator.setStepHidden("weitere-vertragsdetails",!this.isOriginalUserBroker&&!this.isOriginalUserIntern)},immediate:!0},initMailData:function(){var e;this.mailUsers=null===(e=this.initMailData)||void 0===e?void 0:e.participants}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({versicherungenDetails:l["default"].GETTERS.INSURANCE_DETAILS,versicherungDetailsEdited:l["default"].GETTERS.RETRIEVE_VERSICHERUNG_DETAILS_EDITED,filteredCategory:l["default"].GETTERS.FILTERED_CATEGORY,editingDetails:l["default"].GETTERS.EDITING_DETAILS,depotPositions:l["default"].GETTERS.DEPOT_POSITIONS,tempFiles:l["default"].GETTERS.TEMP_FILES,isCustomer:E["default"].GETTERS.IS_CUSTOMER,isOriginalUserBroker:E["default"].GETTERS.ORIGINAL_USER_IS_BROKER,isOriginalUserIntern:E["default"].GETTERS.ORIGINAL_USER_IS_INTERN,deletedSchadensmeldungId:l["default"].GETTERS.LAST_DELETED_SCHADENSMELDUNG,insuranceList:l["default"].GETTERS.INSURANCES_FILTERED,backToPreviousData:E["default"].GETTERS.GET_SAVE_BACK_TO_PREVIOUS_PAGE,isFK:E["default"].GETTERS.IS_FK,isFA:E["default"].GETTERS.IS_FA,isIntern:E["default"].GETTERS.IS_INTERN,records:Te["default"].GETTERS.COMMUNICATION_INSURANCE_RECORDS,initMailData:g["default"].GETTERS.GET_INIT,hasRoles:E["default"].GETTERS.HAS_ROLES,versicherungsSummen:l["default"].GETTERS.VERSICHERUNGSSUMMEN})),{},{baseModalActions:function(){var e=[];return"dokumente"===this.selectedStepKey&&e.push(Object(st["c"])("DOKUMENTE-HOCHLADEN","Dokumente hochladen")),e},isSpartenStepSelected:function(){var e=this;return this.dynamicSteps.some((function(t){return t.stepKey===e.selectedStepKey}))},hasDepotPositions:function(){var e,t;return null===(e=this.depotPositions)||void 0===e||null===(t=e.records)||void 0===t?void 0:t.length},showRueckkaufsWert:function(){var e,t;return(null===(e=this.detailsData)||void 0===e||null===(t=e.insurance)||void 0===t?void 0:t.vtgGruppe)===rt},tabsStepperMediator:function(){return new x["a"](JSON.parse(JSON.stringify(this.steps)))},errorsAndWarnings:function(){return this.versicherung.fehler},hasHinweis:function(){var e;return null===(e=this.hinweise)||void 0===e?void 0:e.length},hinweise:function(){return this.getHinweise(this.selectedStepKey)},spartenComponents:function(){var e,t;return this.selectedSubstepKey&&null!==(e=this.versicherungenDetails)&&void 0!==e&&e.components&&(null===(t=this.versicherungenDetails)||void 0===t?void 0:t.components[this.selectedSubstepKey])||[]},hasHauptdaten:function(){var e,t,n=this.tabsStepperMediator.getCurrentStep(this.selectedStepKey);return!(null!==n&&void 0!==n&&null!==(e=n.substeps)&&void 0!==e&&e.length)||(null===n||void 0===n||null===(t=n.substeps[0])||void 0===t?void 0:t.substepKey)===this.selectedSubstepKey},getSpartenData:function(){var e,t;return null===(e=this.versicherungenDetails)||void 0===e||null===(t=e.insurance)||void 0===t?void 0:t.sparten},getSpartenComboboxValues:function(){var e;return(null===(e=this.versicherungenDetails)||void 0===e?void 0:e.comboboxValues)||{}},initSpartenSteps:function(){var e,t,n=this;if(null!==(e=this.versicherungenDetails)&&void 0!==e&&null!==(t=e.steps)&&void 0!==t&&t.length){var a,i,s=3;null===(a=this.versicherungenDetails)||void 0===a||a.steps.forEach((function(e){var t,a,i,r,o=!(null!==(t=n.versicherungenDetails)&&void 0!==t&&null!==(a=t.insurance)&&void 0!==a&&null!==(i=a.sparten)&&void 0!==i&&i.some((function(t){return t.sparteId===e.stepKey})));n.tabsStepperMediator.addStep({stepKey:e.stepKey,label:e.label,hidden:o},s++),null!==(r=e.substeps)&&void 0!==r&&r.length&&e.substeps.forEach((function(t){return n.tabsStepperMediator.addSubStep(e.stepKey,{substepKey:t.substepKey,title:t.label,hidden:o})}))})),null===(i=this.$refs.stepperForm)||void 0===i||i.updateStepper()}},hatZugriffsrecht:function(){var e;return(null===(e=this.detailsData())||void 0===e?void 0:e.hatZugriffsrecht)||!1},canChangeVertragKundennr:function(){return this.hasRoles([X["e"].SONDERRECHT_KUNDENNR,[X["e"].FK,X["f"].VIEW_CUSTOMER_AS_BROKER]])},shouldHideAenderungslog:function(){return this.hasRoles([[X["e"].IS_FPP_PLUS_MASTER],[X["e"].IS_FPP_PLUS],[X["e"].IS_BAVARIA],[X["e"].IS_SVM],[X["f"].VIEW_CUSTOMER_AS_INTERN]])},getSparteStepConfig:function(){var e,t,n=this;return null===(e=this.steps)||void 0===e||null===(t=e.find((function(e){return n.selectedStepKey===e.stepKey})))||void 0===t?void 0:t.config},versicherungId:function(){return this.$route.params.id},isCalledFromMrMoneyPdfbox:function(){var e,t;return"true"===(null===(e=this.$route)||void 0===e||null===(t=e.query)||void 0===t?void 0:t.isCalledFromMrMoneyPdfbox)},mrMoneyId:function(){var e,t;return null===(e=this.$route)||void 0===e||null===(t=e.query)||void 0===t?void 0:t.mrMoneyId},vSNR:function(){var e,t;return null===(e=this.$route)||void 0===e||null===(t=e.query)||void 0===t?void 0:t.VSNR}}),methods:{handleOtherActions:function(e){"DOKUMENTE-HOCHLADEN"==(null===e||void 0===e?void 0:e.key)&&this.dateiHochladen()},setSubstepByKey:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(null===e||void 0===e||!e.stepKey||null===e||void 0===e||!e.substepKey||t.selectedSubstepKey===e.substepKey){n.next=3;break}return n.next=3,t.saveBeforeLeave().then((function(n){n&&(t.selectedStepKey=e.stepKey,t.selectedSubstepKey=e.substepKey)}));case 3:case"end":return n.stop()}}),n)})))()},retrievetAllData:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.retrieveInsuranceDetails(),e.retrieveDepotPositions()]);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},retrieveInsuranceDetails:function(){return this.$store.dispatch(l["default"].ACTIONS.RETRIEVE_INSURANCE_DETAILS,{versVertrag:this.$route.params.id})},retrieveDepotPositions:function(){return this.$store.dispatch(l["default"].ACTIONS.GET_DEPOT_POSITIONS,{vertragsNr:this.$route.params.id})},openAddDocumentModalTempFiles:function(){var e;null!==(e=this.tempFiles)&&void 0!==e&&e.length&&this.openAddDocumentModal(this.tempFiles),this.$store.commit(l["default"].MUTATIONS.CLEAR_TEMP_FILES)},addDefaultBreadcrumbIfNotExists:function(e){var t;e&&Object.keys(e).length>0&&(null===(t=this.backToPreviousData)||void 0===t||!t.length)&&this.$addBreadcrumb({label:"zurück zu Versicherungen",fullPath:"/home/versicherungen/insurance-group",breadcrumb:"".concat(null===e||void 0===e?void 0:e.kategorieName," | ").concat(null===e||void 0===e?void 0:e.bezeichnung)})},navigateTo:function(e){this.$router.push({path:"".concat(e)})},navigateToStepWithWarning:function(){this.setStepByKey("allgemeine")},changeStepVisibility:function(e){var t=this;if(null!==e&&void 0!==e&&e.sparteId){var n;this.$refs.stepperForm.setStepHidden(e.sparteId,!e.value);var a=this.tabsStepperMediator.getCurrentStep(e.sparteId);null!==a&&void 0!==a&&null!==(n=a.substeps)&&void 0!==n&&n.length&&a.substeps.forEach((function(n){return t.$refs.stepperForm.setSubstepHidden(e.sparteId,n.substepKey,!e.value)}))}},resetAppointment:function(){try{this.loadingActivities=!0,this.$store.dispatch(Te["default"].ACTIONS.LOAD_COMMUNICATION_INSURANCE_LISTS,this.$route.params.id)}finally{this.loadingActivities=!1}},selectedRows:function(e){this.selectedRowsValues=e},isCancelableInsurance:function(){var e,t,n;return!(null===(e=this.versicherungenDetails)||void 0===e||!e.insurance||!this.versicherungenDetails.insurance.kuendiegungsMailPojo)&&((null===(t=this.versicherungenDetails.insurance.kuendiegungsMailPojo)||void 0===t?void 0:t.canMail)&&!(null!==(n=this.versicherungenDetails.insurance.kuendiegungsMailPojo)&&void 0!==n&&n.kuendiegungLeuft))},goBack:function(){console.log("clicked"),this.$router.go(-1)}},beforeRouteLeave:function(e,t,n){var a=this;return Object(s["a"])(regeneratorRuntime.mark((function i(){var s,r,o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return o=t.fullPath,o=t.fullPath.includes("stepKey")?t.fullPath.replaceAll(/stepKey\=.*(\&)/gi,"stepKey=".concat(a.selectedStepKey,"$1")):Object(ke["b"])(t.fullPath,"stepKey=".concat(a.selectedStepKey)),a.$addBreadcrumb({label:"zurück zu Details",fullPath:o,breadcrumb:null===e||void 0===e||null===(s=e.meta)||void 0===s||null===(r=s.breadcrumb)||void 0===r?void 0:r.label}),i.next=5,a.saveBeforeLeave();case 5:a.resetExternalUrl(),a.$store.commit(l["default"].MUTATIONS.NODE_ID,{nodeId:a.nodeId}),a.$store.commit(l["default"].MUTATIONS.EDITING_DETAILS_STOP),a.$store.commit(l["default"].MUTATIONS.CLEAR_DEPOT_POSITIONS),a.$store.commit(l["default"].MUTATIONS.CLEAR_TEMP_FILES),a.$store.commit(l["default"].MUTATIONS.CLEAR_VERSICHERUNG_FORM_VALIDATION),a.$store.commit(l["default"].MUTATIONS.CLEAR_INSURANCE_VERTRAGSDATEN_FIELDS_DEFINITION),a.$store.commit(l["default"].MUTATIONS.GET_FAHRZEUGDATEN_LIST_SUCCESS,[]),a.$store.commit(Qe["default"].MUTATIONS.SET_SELECTED_CUSTOMERS,[]),n();case 15:case"end":return i.stop()}}),i)})))()},beforeCreate:function(){this.$store.commit(l["default"].MUTATIONS.CLEAR_VERSICHERUNG_FORM_VALIDATION)},mounted:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.selectedStepKey=e.getSteps[0].stepKey,t.next=3,e.retrievetAllData().then((function(){return e.openAddDocumentModalTempFiles()}));case 3:return e.$route.query.stepKey&&e.setStepByKey(e.$route.query.stepKey),e.isCancelable=e.isCancelableInsurance(),t.next=7,e.$store.dispatch(l["default"].ACTIONS.RETRIEVE_VERSICHERUNGSSUMMEN,{vertragId:e.$route.params.id});case 7:case"end":return t.stop()}}),t)})))()}},lt=ot,ct=Object(L["a"])(lt,a,i,!1,null,null,null);t["default"]=ct.exports},d137:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",[n("BaseButton",{staticClass:"upload-btn",attrs:{isPrimary:e.isPrimary,disabled:e.disabled}},[e._t("default",(function(){return[e._v("Datei hinzufügen")]})),n("label",{staticClass:"upload-btn--label",class:{clickable:!e.disabled}},[n("input",{attrs:{type:"file",accept:e.accept,multiple:"",disabled:e.disabled},on:{change:e.onAddFiles}})])],2)],1),e.value&&e.value.length?n("hr"):e._e(),n("div",{staticClass:"flex-layout"},[e._l(e.value,(function(t){return[n("div",{key:t.name+t.size+t.lastModified,staticClass:"pill__container"},[n("Pill",{attrs:{label:t.name,type:"default",showCloseIcon:!0},on:{removePill:function(n){return e.onRemoveFile(t)}}})],1)]}))],2),e.value&&e.value.length?n("hr"):e._e()])},i=[],s=(n("a9e3"),n("fb6a"),n("159b"),n("a434"),n("04bc")),r=n("025b"),o=n("876f"),l=n("de6c"),c={props:{accept:{type:String,default:"*"},value:{type:Array,default:function(){return[]}},isPrimary:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},maxFileSizeMB:{type:Number,default:0}},methods:{onAddFiles:function(e){var t=this.value.slice(),n=[],a=1024*this.maxFileSizeMB*1024;e.target.files.forEach((function(e){a&&e.size>a?n.push(e):t.push(e)})),n.length?this.$store.dispatch(l["default"].ACTIONS.ADD_MESSAGE,Object(o["b"])("Diese Dateien überschreiten die Größenbegrenzung von ".concat(this.maxFileSizeMB," MB. Bitte laden Sie erneut eine kleinere Datei hoch."),"warning")):(this.$emit("input",t),e.target.value="")},onRemoveFile:function(e){var t=this.value.slice();t.splice(t.indexOf(e),1),this.$emit("input",t)}},components:{BaseButton:s["default"],Pill:r["a"]}},d=c,u=(n("2943"),n("2877")),p=Object(u["a"])(d,a,i,!1,null,"44c0adea",null);t["a"]=p.exports},d864:function(e,t,n){var a=n("da0d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("3704aa40",a,!0,{sourceMap:!1,shadowMode:!1})},da0d:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".menu-disabled[data-v-562286d0]{opacity:.5}.table--header[data-v-562286d0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}",""]),e.exports=t},dad7:function(e,t,n){"use strict";n("55e0")},dd0b:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".align-end[data-v-3946e5f0]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:end;align-self:flex-end;padding:0 0 16px 5px}.form-control[data-v-3946e5f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-align:center;-ms-flex-align:center;align-items:center}",""]),e.exports=t},ddcf:function(e,t,n){"use strict";n("94bf")},e008:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"section",class:{collapsed:!e.mutatedSection}},[n("span",{directives:[{name:"show",rawName:"v-show",value:e.showEditButton,expression:"showEditButton"}],staticClass:"btn bearbeiten",staticStyle:{"background-color":"transparent"},on:{click:function(t){return e.onEditItem()}}},[n("ph-pencil-line",{attrs:{size:16}})],1),n("span",{directives:[{name:"show",rawName:"v-show",value:e.showDeleteButton,expression:"showDeleteButton"}],staticClass:"btn bearbeiten",staticStyle:{"background-color":"transparent"},on:{click:function(t){return e.onDeleteItem()}}},[n("ph-trash",{attrs:{size:16}})],1),n("div",{staticClass:"title",on:{click:e.toggle}},[n("div",{staticClass:"collapsable-title"},[e._t("title")],2),e._v("   "),n("div",{staticClass:"collapsable-toggle-icon"},[n("ph-caret-down",{directives:[{name:"show",rawName:"v-show",value:!e.mutatedSection,expression:"!mutatedSection"}],attrs:{size:16,weight:"bold"}}),n("ph-caret-up",{directives:[{name:"show",rawName:"v-show",value:e.mutatedSection,expression:"mutatedSection"}],attrs:{size:16,weight:"bold"}})],1)]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.mutatedSection,expression:"mutatedSection"}],staticClass:"body"},[e._t("content")],2)])},i=[],s=n("c0a4"),r={name:"collapsable",props:{showEditButton:{type:Boolean,default:!1},showDeleteButton:{type:Boolean,default:!1},showSection:{type:Boolean,default:!1},visibile:{type:Boolean,default:void 0}},model:{prop:"visibile",event:"change"},data:function(){return{mutatedSection:this.showSection}},computed:{visibileValue:{get:function(){return this.visibile},set:function(e){this.$emit("change",e)}}},methods:{toggle:function(){this.mutatedSection=!this.mutatedSection,this.visibileValue=this.mutatedSection},expand:function(){this.mutatedSection=!0},collapse:function(){this.mutatedSection=!1},onEditItem:function(e){this.showSection=!1,this.$emit("edit-item")},onDeleteItem:function(e){this.showSection=!1,this.$emit("delete-item")}},watch:{visibile:function(){this.mutatedSection=this.visibile}},created:function(){void 0!==this.visibile&&(this.mutatedSection=this.visibile)},components:{PhCaretDown:s["PhCaretDown"],PhCaretUp:s["PhCaretUp"],PhPencilLine:s["PhPencilLine"],PhTrash:s["PhTrash"]}},o=r,l=(n("17b1"),n("2877")),c=Object(l["a"])(o,a,i,!1,null,"629d2744",null);t["a"]=c.exports},e029:function(e,t,n){"use strict";n("99af");t["a"]={data:function(){return{textEl:null}},methods:{createOrGetTexEl:function(){if(!this.textEl){var e=document.createElement("span");e.classList.add("vertical-stepper-item--title"),e.textContent=this.$el.title,this.textEl=e}return this.isCurrent&&this.textEl.classList.add("vertical-stepper-item--title--selected"),this.textEl},removeTextEl:function(){var e=this.createOrGetTexEl();e&&e.parentNode===document.body&&document.body.removeChild(e)},handleMouseOver:function(e){var t;if(this.collapsed&&null!==(t=this.$el)&&void 0!==t&&t.title){var n=this.$el.getBoundingClientRect(),a=this.createOrGetTexEl();a.style.transform="translate(".concat(n.x,"px, ").concat(n.y+n.height/2+window.scrollY,"px)"),document.body.appendChild(a)}},handleMouseLeave:function(e){this.removeTextEl()}},beforeDestroy:function(){this.removeTextEl()}}},e370:function(e,t,n){var a=n("951f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("1d93ea07",a,!0,{sourceMap:!1,shadowMode:!1})},e760:function(e,t,n){var a=n("5316");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("34cc9f90",a,!0,{sourceMap:!1,shadowMode:!1})},ea1b:function(e,t,n){var a=n("271a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("e4cd7960",a,!0,{sourceMap:!1,shadowMode:!1})},eaed:function(e,t,n){"use strict";n("cc64")},ebb4:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.rows.length?n("Table",{attrs:{tableId:"dbbdcfe4-b5c1-4386-86d8-efac26962b2c",headers:e.headers,rows:e.rows,rowsPerPage:10,headerActions:e.tableHeaderActions,mobileConfig:{title:"meldedatum",headers:["schadennr","sparte","schadensursacheText","bearbstandLabel"]},rowId:"schadenId"},on:{"click-meldedatum":e.openSchaden,"headerAction-Schaden-VEREINIGEN":function(t){return e.openVertragVereinigenModal()},"action-DELETE":e.deleteSchadensmeldung},scopedSlots:e._u([e.insuranceAssigned?null:{key:"zurdnenAktion",fn:function(t){return[n("div",{staticClass:"insurance__table--company",attrs:{title:"Schaden übernehmen und Dokument direkt zuordnen"}},[n("PhArrowFatRight",{staticClass:"clickable",attrs:{size:24},on:{click:function(n){return e.confirmAssignInsurance(t)}}})],1)]}}],null,!0),model:{value:e.selectedRows,callback:function(t){e.selectedRows=t},expression:"selectedRows"}}):n("div",[e._v("Keine Daten")]),n("SchadenVereinigenModal",{ref:"SchadenVereinigenModal",attrs:{vertragList:e.selectedRows},on:{save:function(t){return e.mergeSchaden(t)}}}),n("BaseModal",{ref:"assignInsuranceConfirmation",attrs:{modalTitle:"Schaden übernehmen und Dokument direkt zuordnen",labelButtonConfirm:"Bestätigen"},on:{onConfirmButton:function(t){return e.assignInsurance()}}},[e._v(" Bitte bestätigen Sie, dass Sie den Schaden annehmen und die Dokumente direkt zuordnen möchten. ")])],1)},i=[],s=n("1da1"),r=n("5530"),o=(n("96cf"),n("d81d"),n("99af"),n("2f62")),l=n("a2c3"),c=n("d4b0"),d=n("689f"),u=n("d53f"),p=n("b967"),h=n("64c5"),f=(n("a9e4"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("BaseModal",{ref:"SchadenVereinigenModal",attrs:{modalTitle:"Schadensmeldungen vereinigen",labelButtonConfirm:"Vereinigen "},on:{onConfirmButton:function(t){return e.onConfirmModal()},onCancelButton:function(t){return e.onCancelModal()},onCloseButton:function(t){return e.onCancelModal()}}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("p",[e._v("Hier können Sie zwei Schadensmeldungen vereinigen.")])])]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("hr"),n("p",[n("span",{staticClass:"color-danger font-bold"},[e._v("ACHTUNG!")])]),n("p",[n("span",{staticClass:"color-danger font-bold"},[e._v('Vereinigte Schadensmeldungen können im Nachgang nicht mehr "getrennt" werden. Sind Sie sich sicher, dass Sie die Verträge vereinigen möchten?')])]),n("hr")])]),n("div",{staticClass:"main__container"},[n("div",{staticClass:"header"},[e._v(" Quell-Schadensmeldung ")]),n("div",{staticClass:"control"},[e._v("   ")]),n("div",{staticClass:"header"},[e._v(" Ziel-Schadensmeldungen ")])]),e.vertragList&&2==e.vertragList.length&&!e.changingPosition?n("div",{staticClass:"main__container"},[n("div",{staticClass:"item"},[e._v(" "+e._s(e.vertragList[0]["schadenId"])+" "),n("br"),e._v(" "+e._s(e.bezechnug(e.vertragList[0]))+" ")]),n("div",{staticClass:"clickable control"},[n("ph-arrows-clockwise",{attrs:{size:16,weight:"bold"},on:{click:function(t){return e.changePositions()}}})],1),n("div",{staticClass:"item"},[e._v(" "+e._s(e.vertragList[1]["schadenId"])+" "),n("br"),e._v(" "+e._s(e.bezechnug(e.vertragList[1]))+" ")])]):e._e()])],1)}),m=[],b=n("a871"),v=n("c0a4"),g={props:{vertragList:{type:Array,default:function(){return[]}}},components:{BaseModal:b["a"],PhArrowsClockwise:v["PhArrowsClockwise"]},data:function(){return{schadens:null,changingPosition:!1}},computed:Object(r["a"])({},Object(o["b"])({insurancesByCustomer:c["default"].GETTERS.INSURANCES_BY_CUSTOMER})),methods:{bezechnug:function(e){var t=e.ereignisdatum;return null==t&&(t=e.meldedatum),null==t&&(t="xx.xx.xxxx"),t+" "+e.schadennr},open:function(){this.$refs.SchadenVereinigenModal.open()},onConfirmModal:function(){console.log("vert0",this.vertragList[0]),console.log("vert0id",this.vertragList[0].id),console.log("vert0shid",this.vertragList[0].schadenId),this.schadens={toRemove:{schadenId:this.vertragList[0].schadenId},toKeep:{schadenId:this.vertragList[1].schadenId}},this.$emit("save",this.schadens),this.$refs.SchadenVereinigenModal.close()},onCancelModal:function(){this.$refs.SchadenVereinigenModal.close()},changePositions:function(){this.changingPosition=!0;var e=this.vertragList[0],t=this.vertragList[1];this.vertragList[0]=t,this.vertragList[1]=e,this.schadens={toRemove:{schadenId:e.schadenId},toKeep:{schadenId:t.schadenId}},this.changingPosition=!1}},mounted:function(){}},E=g,_=(n("8dbd"),n("2877")),S=Object(_["a"])(E,f,m,!1,null,null,null),T=S.exports,x=n("4e5f"),y=n("4360"),k=n("e98f"),I={mixins:[p["a"]],props:{schadenInfos:{type:Array,default:function(){return[]}},isCalledFromMrMoneyPdfbox:{type:Boolean,default:!1},mrMoneyId:{type:String,default:0},gesellName:{type:String,default:null},vSNR:{type:String,default:null}},mounted:function(){y["a"].getters[h["default"].GETTERS.IS_ALLOWED_MERGE_SCHADEN]||(this.selectedRows=null)},data:function(){return{selectedRows:[],selectedSchadennr:null,insuranceAssigned:!1}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({schadensmeldungen:l["default"].GETTERS.SCHADENSMELDUNG,configData:l["default"].GETTERS.CONFIG_DATA,isBypass:h["default"].GETTERS.IS_BYPASS,hasRoles:h["default"].GETTERS.HAS_ROLES,isOriginalUserBroker:h["default"].GETTERS.ORIGINAL_USER_IS_BROKER,isOriginalUserIntern:h["default"].GETTERS.ORIGINAL_USER_IS_INTERN})),{},{headers:function(){var e={center:[Object(u["DateColumn"])("meldedatum","Meldung vom").makeLink(),Object(u["TextColumn"])("schadennr","Schadensnummer"),Object(u["TextColumn"])("sparte","Sparte"),Object(u["DateColumn"])("ereignisdatum","Ereignisdatum"),Object(u["TextColumn"])("schadensursacheText","Ursache"),Object(u["TextColumn"])("bearbstandLabel","Bearbeitungsstand")],lockedRight:[]};return this.isBypass&&e.lockedRight.push(Object(u["ActionColumn"])("actions","Aktionen")),this.isCalledFromMrMoneyPdfbox&&e.center.unshift(Object(u["SlotColumn"])("zurdnenAktion","")),e},tableHeaderActions:function(){var e=this;return[Object(x["h"])("Schaden-VEREINIGEN","Schaden vereinigen").withDisabled((function(){return e.selectedRows&&2!=e.selectedRows.length}))]},rows:function(){return this.schadenInfos.map((function(e){return Object(r["a"])(Object(r["a"])({},e),{},{actions:[Object(u["ConfirmedAction"])("DELETE","PhTrash","Löschen","Möchten Sie die Meldung vom ".concat(e.meldedatum," wirklich löschen?"),"Eintrag löschen","Löschen")]})}))}}),methods:{confirmAssignInsurance:function(e){this.selectedSchadennr=e.schadennr,this.$refs.assignInsuranceConfirmation.open()},assignInsurance:function(){var e=this;this.$store.dispatch(k["default"].ACTIONS.ASSIGN_INSURANCE,{mrMoneyId:this.mrMoneyId,mscInternalId:this.$route.params.id,insuranceId:this.vSNR,gesellName:this.gesellName,schadennr:this.selectedSchadennr,mscCategory:"SCHADENSDOKUMENT"}).then((function(t){null!==t&&void 0!==t&&t.message&&(e.insuranceAssigned=!0)}))},openSchaden:function(e){this.$router.push("/home/versicherungen/insurance-group/schadensmeldung/".concat(this.$route.params.id,"/").concat(e.schadenId))},handleSelected:function(e){},deleteSchadensmeldung:function(e){var t=e.schadenId;this.$store.dispatch(c["default"].ACTIONS.DELETE_SCHADENSMELDUNG,{schadenId:t})},openVertragVereinigenModal:function(){this.$refs.SchadenVereinigenModal.open()},mergeSchaden:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return console.log("mergeSchaden",e),n.next=3,t.$store.dispatch(l["default"].ACTIONS.MERGE_SCHADEN,e);case 3:t.$router.push("/home/versicherungen/insurance-group/schadensmeldung/".concat(t.$route.params.id,"/").concat(e.toKeep.schadenId));case 4:case"end":return n.stop()}}),n)})))()}},beforeRouteLeave:function(e,t,n){this.$addBreadcrumb({label:"zurück zu Details",fullPath:t.fullPath,breadcrumb:"Schadensmeldung"}),n()},components:{Table:d["a"],SchadenVereinigenModal:T,PhArrowFatRight:v["PhArrowFatRight"],BaseModal:b["a"]}},C=I,A=(n("8ee7"),Object(_["a"])(C,a,i,!1,null,"c0758182",null));t["a"]=A.exports},ed27:function(e,t,n){var a=n("99c8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("44462869",a,!0,{sourceMap:!1,shadowMode:!1})},ee62:function(e,t,n){"use strict";n("b0e2")},f12e:function(e,t,n){"use strict";n("e370")},f155:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".entity-selector__combobox-container[data-v-5dce6aaa]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.entity-selector__button[data-v-5dce6aaa]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}",""]),e.exports=t},f605:function(e,t,n){"use strict";n("7ad7")},f60f:function(e,t,n){"use strict";var a=n("3835"),i=n("1da1"),s=n("5530"),r=(n("96cf"),n("a9e3"),n("c1f9"),n("d81d"),n("4fad"),n("4de4"),n("b0c0"),n("caad"),n("2532"),n("e260"),n("cee4")),o=n("2f62"),l=n("0169"),c=n("a2c3"),d=n("81f6"),u=n("a871"),p=n("9af6");t["a"]={props:{nodeId:{type:[String,Number]},versicherungId:{type:[String,Number],default:null,required:!1},showOnlySchadenDocs:{type:Boolean,default:!1},schadenId:{type:[String,Number],default:null,required:!1}},data:function(){return{files:null,currentHeaderAction:null}},computed:Object(s["a"])(Object(s["a"])({},Object(o["b"])({selectedNode:l["default"].GETTERS.DOCUMENTS,selectedRows:l["default"].GETTERS.SELECTED_ROWS,additionalUploadInputs:l["default"].GETTERS.ADDITIONAL_UPLOAD_INPUTS,isSelectedAllInFolder:l["default"].GETTERS.IS_SELECTED_ALL_IN_FOLDER,isLoadingNode:l["default"].GETTERS.IS_LOADING_NODE,filesFromDokumentenarchiv:c["default"].GETTERS.FILES_FROM_DOKUMENTENARCHIV})),{},{currentAdditionalInputs:function(){var e;return(null===(e=this.additionalUploadInputs)||void 0===e?void 0:e.additionalUploadInputs)||null},confirmationMessage:function(){var e;return null===(e=this.currentHeaderAction)||void 0===e?void 0:e.confirmationMessage}}),watch:{filesFromDokumentenarchiv:{handler:function(e){this.files=(null===e||void 0===e?void 0:e.length)>0?e:null},immediate:!0}},methods:{buttonDisabled:function(e){return"DOKUMENTENARCHIV"!==e&&"DATEI_HOCHLADEN"!==e&&"DATEI_HINZUFUGEN"!==e&&!this.isSelectedAllInFolder&&(!this.selectedRows.length||this.selectedRows.some((function(e){return!e.exists})))},closeSendEmailModal:function(){this.$refs.sendEmailModal.close()},executeHeaderAction:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(null!==e&&void 0!==e&&e.key){n.next=2;break}return n.abrupt("return");case 2:t.currentHeaderAction=(null===e||void 0===e?void 0:e.value)||e,n.t0=null===e||void 0===e?void 0:e.key,n.next="CONFIRM_SELECTION"===n.t0?6:"DATEI_HOCHLADEN"===n.t0?11:"DATEI_HINZUFUGEN"===n.t0?13:"MARKIERTE_MAIL_VERSCHICKEN"===n.t0?15:"MARKIERTE_MAIL_KUNDE_GESELL_VERSCHICKEN"===n.t0?17:"MARKIERTE_MAIL_KUNDE_VERSCHICKEN"===n.t0?19:"MARKIERTE_MAIL_GESELLSCHAFT_VERSCHICKEN"===n.t0?21:"DOKUMENTENARCHIV"===n.t0?23:25;break;case 6:return n.next=8,t.retrieveSelectedRowsAsTempFiles();case 8:return a=n.sent,a.length&&(t.$emit("headerAction",{key:e.actionKey,value:a}),t.$emit("headerAction-".concat(e.actionKey),a)),n.abrupt("break",27);case 11:return t.dateiHochladen(),n.abrupt("break",27);case 13:return t.$router.push({path:"/communication/documents/zusaetzlichedokumente",query:{nodeId:t.nodeId,fileId:null}}),n.abrupt("break",27);case 15:return t.sendEmail(!1),n.abrupt("break",27);case 17:return t.$refs.sendEmailModal.open(),n.abrupt("break",27);case 19:return t.sendEmail(!1),n.abrupt("break",27);case 21:return t.sendEmail(!0),n.abrupt("break",27);case 23:return t.$router.push({path:"/communication/schadensmeldung-dokumentenarchiv",query:{back:t.$route.fullPath,nodeId:t.nodeId,fileId:null,insuranceId:t.insuranceId,schadenId:t.schadenId}}),n.abrupt("break",27);case 25:e.actionKey&&(t.$emit("headerAction",{key:e.actionKey,value:e}),t.$emit("headerAction-".concat(e.actionKey),e)),(t.selectedRows.length&&!t.isSelectedAllInFolder||t.isSelectedAllInFolder)&&t.$refs.confirmationModal.open();case 27:case"end":return n.stop()}}),n)})))()},confirmSendEmail:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.closeSendEmailModal(),this.sendEmail(e)},retrieveSelectedRows:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.selectedRows,!e.isSelectedAllInFolder){t.next=5;break}return t.next=4,e.$store.dispatch(l["default"].ACTIONS.RETRIEVE_DOCUMENTS,{nodeId:e.nodeId,offset:0,limit:200,schadenId:e.schadenId,keepOldPages:!1,reloadTree:!1,linkVertrag:!0,doAlwaysLoad:!0});case 4:null!==(i=e.selectedNode)&&void 0!==i&&i.documents&&(n=[],Object.fromEntries(Object.entries(null===(s=e.selectedNode)||void 0===s?void 0:s.documents).map((function(e){var t=Object(a["a"])(e,2),i=t[0],s=t[1];return[i,s.map((function(e){n.push(e)}))]}))));case 5:return t.abrupt("return",n);case 6:case"end":return t.stop()}}),t)})))()},retrieveSelectedRowsAsTempFiles:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,a,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.retrieveSelectedRows();case 2:return n=t.sent,a=[],i=n.filter((function(e){return((null===e||void 0===e?void 0:e.node)||(null===e||void 0===e?void 0:e.nodeId))&&!e.uploaded})).map((function(e){return{nodeId:(null===e||void 0===e?void 0:e.node)||(null===e||void 0===e?void 0:e.nodeId),fileId:null===e||void 0===e?void 0:e.id}})),t.next=7,r["a"].post("".concat("/MSC3/restful","/documents/getTempFiles"),i).then((function(e){var t;null===e||void 0===e||null===(t=e.data)||void 0===t||t.map((function(e){a.push({id:e.id,name:e.name})}))})).catch((function(t){e.downloadErrorMessage=null===t||void 0===t?void 0:t.errorMessage,e.$refs.downloadErrorModal.open()}));case 7:return t.abrupt("return",a);case 8:case"end":return t.stop()}}),t)})))()},sendEmail:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var a,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.retrieveSelectedRowsAsTempFiles();case 2:a=n.sent,a.length&&(t.$route.path.includes("schadensmeldung")||t.versicherungId?t.$emit("sendEmail",{toCompany:e,attachments:a}):(i=t.selectedRows&&t.selectedRows[0].vertragId,d["u"].$emit(d["s"],{insuranceId:i,attachments:a,toCompany:e})));case 4:case"end":return n.stop()}}),n)})))()},getBackOptions:function(){return this.$route.query.back.includes("pruefstatus")||this.$route.query.back.includes("mailcomposer-insurance")?"?backAction=true":this.$route.params.type&&this.$route.params.type.includes("calendar")?"?usersselected=true":""},dateiHochladen:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.files=e,this.$store.dispatch(l["default"].ACTIONS.RETRIEVE_ADDITIONAL_UPLOAD_INPUTS,{nodeId:this.nodeId,showOnlySchadenDocs:this.showOnlySchadenDocs})},onConfirmHeaderActionModal:function(){var e={headerAction:this.currentHeaderAction.key,nodeId:this.nodeId,documentIds:this.selectedRows.map((function(e){return e.id}))};this.$store.dispatch(l["default"].ACTIONS.EXECUTE_HEADER_ACTION,e),this.currentHeaderAction=null}},components:{BaseModal:u["a"],DocumentsUploadModal:p["a"]}}},f72e:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".image[data-v-9bc516f4]{width:50px;height:50px;border-radius:25px}.currency-collumn[data-v-9bc516f4]{white-space:nowrap}",""]),e.exports=t},f989:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.inputs?n("div",{staticClass:"grid",staticStyle:{width:"100%"}},[e._l(e.inputs,(function(t){return[t.visible&&!e.evaluateUploadExpression(e.value,t.visible)||t.ignore&&e.evaluateUploadExpression(e.value,t.ignore)?e._e():n("label",{key:t.key?t.key:t.label,class:{invalid:t.valid&&!e.evaluateUploadExpression(e.value,t.valid)}},["LABEL"==t.type?n("div",{staticClass:"label-item"},[n("span",{class:e.fixedColor(t.labelFixedColor)},[e._v(e._s(t.label))])]):e._e(),"BOOLEAN"==t.type?n("InputCheckBoxItem",{staticStyle:{width:"100%"},attrs:{value:e.value[t.key],disabled:e.isDisabled(e.value,t),label:t.label},on:{input:function(n){return e.emitChange(t.key,n)}}}):e._e(),"SWITCHER"==t.type?n("InputToggleSwitch",{staticStyle:{width:"100%"},attrs:{value:e.value[t.key],disabled:e.isDisabled(e.value,t),label:t.label},on:{input:function(n){return e.emitChange(t.key,n)}}}):e._e(),"STRING"==t.type?n("InputField",{staticStyle:{width:"100%"},attrs:{value:e.value[t.key],disabled:e.isDisabled(e.value,t),label:t.label},on:{change:function(n){return e.emitChange(t.key,n)}}}):e._e(),"INTEGER"==t.type?n("InputField",{staticStyle:{width:"100%"},attrs:{type:"number",value:e.value[t.key],disabled:e.isDisabled(e.value,t),label:t.label},on:{change:function(n){return e.emitInteger(t.key,n)}}}):e._e(),"DATE"==t.type?n("DatePickerField",{staticStyle:{width:"100%"},attrs:{value:e.value[t.key],isValueAsString:"",disabled:e.isDisabled(e.value,t),label:t.label},on:{change:function(n){return e.emitChange(t.key,n)}}}):e._e(),"COMBOBOX"==t.type?n("ComboBox",{staticStyle:{width:"100%"},attrs:{sortComboboxValues:!1,value:e.value[t.key],renderDanger:t.valid&&!e.evaluateUploadExpression(e.value,t.valid),disabled:e.isDisabled(e.value,t),values:t.options,label:t.label,customizable:!0},on:{change:function(n){return e.emitChange(t.key,n)}}}):e._e(),"RADIO"==t.type?n("InputRadioBoxGroup",{staticStyle:{width:"100%"},attrs:{value:e.value[t.key],disabled:e.isDisabled(e.value,t),values:t.options,title:t.label},on:{input:function(n){return e.emitChange(t.key,n)}}}):e._e(),"TEXT"==t.type?n("InputTextArea",{staticStyle:{width:"100%"},attrs:{value:e.value[t.key],disabled:e.isDisabled(e.value,t),label:t.label},on:{input:function(n){return e.emitChange(t.key,n)}}}):e._e()],1)]}))],2):e._e()},i=[],s=n("ade3"),r=n("5530"),o=(n("159b"),n("0054")),l=n("9131"),c=n("c704"),d=n("4567"),u=n("8839"),p=n("5818"),h=n("d9f5"),f=n("9aaa"),m={mixins:[u["a"]],components:{DatePickerField:o["default"],ComboBox:l["default"],InputField:c["default"],InputRadioBoxGroup:d["default"],InputCheckBoxItem:p["a"],InputTextArea:h["default"],InputToggleSwitch:f["default"]},props:{value:{required:!0,type:Object},inputs:{required:!0,type:Array},disabled:{default:!1,type:Boolean}},data:function(){return{}},methods:{fixedColor:function(e){switch(e){case"SUCCESS":return"color-success";case"INFO":return"color-info";case"WARNING":return"color-warning";case"DANGER":return"color-danger"}return"color-text"},evaluateUploadExpression:function(e,t){return this.evaluateExpression(e,t)},emitInteger:function(e,t){this.$emit("input",Object(r["a"])(Object(r["a"])({},this.value),{},Object(s["a"])({},e,parseInt(t)||0)))},emitChange:function(e,t){var n=Object(r["a"])(Object(r["a"])({},this.value),{},Object(s["a"])({},e,t));this.setCalculatedValues(n,e),this.$emit("input",n)},setCalculatedValues:function(e,t){var n=this;this.inputs.forEach((function(a){a.updateTriggers&&a.updateTriggers.forEach((function(i){i.key===t&&n.evaluateUploadExpression(e,i.expression)&&(e[a.key]=i.value)}))}))},isDisabled:function(e,t){return this.disabled||t.disabled&&this.evaluateUploadExpression(e,t.disabled)}}},b=m,v=(n("f12e"),n("2877")),g=Object(v["a"])(b,a,i,!1,null,"1513d866",null);t["a"]=g.exports},f9c6:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseFilter",{attrs:{filterId:"cae8986d-61ae-49d1-9eac-62082d86ba0a",metadata:e.searchMetadata,defaultOptions:e.defaultOptions,configFilter:e.configFilter,openFilterOnMount:!1,showSaveButton:"",hasSmartSearch:""},on:{onFilter:e.search}})},i=[],s=n("ade3"),r=n("5530"),o=(n("99af"),n("13d5"),n("7db0"),n("2f62")),l=n("64c5"),c=n("0169"),d=n("9ee4"),u=n("0f82"),p={components:{BaseFilter:u["default"]},data:function(){return{configFilter:{placeholderForDefSearchInput:"Bezeichnung",hideFirstColumn:!0,checkDefaultSearchInput:!1}}},computed:Object(r["a"])(Object(r["a"])({},Object(o["b"])({isIntern:l["default"].GETTERS.ORIGINAL_USER_IS_INTERN,showSchaden:c["default"].GETTERS.SHOW_SCHADEN_DOCUMENTS,showDeleted:c["default"].GETTERS.SHOW_DELETED_DOCUMENTS,docFilter:c["default"].GETTERS.DOCUMENTS_FILTER})),{},{searchMetadata:function(){var e=[];return e.push({type:"default",label:"Schadensdokumente anzeigen",key:"showSchaden"}),this.isIntern&&e.push({type:"default",label:"Gelöschte Dokumente anzeigen",key:"showDeleted"}),e.push({type:"dateRange",label:"Zeitraum",key:"zeitraum"}),[{type:"group",key:"allgemein",label:"Allgemein",menuItems:[].concat(e)}]},defaultOptions:function(){var e;return Object(r["a"])(Object(r["a"])(Object(r["a"])({},this.showSchaden?{showSchaden:{value:!0}}:{}),this.showDeleted&&this.isIntern?{showDeleted:{value:!0}}:{}),null!==(e=this.docFilter)&&void 0!==e&&e.fromDate&&this.docFilter.toDate?{zeitraum:{value:[{key:"min",value:this.docFilter.fromDate},{key:"max",value:this.docFilter.toDate}]}}:{})}}),methods:{search:function(e){var t=e.reduce((function(e,t){return"zeitraum"===t.key?Object(r["a"])(Object(r["a"])({},e),{},{fromDate:d["a"].toDateStr(t.value.find((function(e){return"min"==e.key})).value),toDate:d["a"].toDateStr(t.value.find((function(e){return"max"==e.key})).value)}):"defaultSearchInput"===t.key?Object(r["a"])(Object(r["a"])({},e),{},{docLabel:t.value}):Object(r["a"])(Object(r["a"])({},e),{},Object(s["a"])({},t.key,t.value))}),{});this.$store.commit(c["default"].MUTATIONS.SET_DOCUMENTS_FILTER,t),this.$emit("onFilter")}}},h=p,f=n("2877"),m=Object(f["a"])(h,a,i,!1,null,null,null);t["a"]=m.exports},fb6b:function(e,t,n){var a=n("29b9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("9f5d0a86",a,!0,{sourceMap:!1,shadowMode:!1})},fbc0:function(e,t,n){var a=n("b67f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("662e4948",a,!0,{sourceMap:!1,shadowMode:!1})},fe1a:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.vertragsdatenFieldsDefinition?n("div",[n("div",{staticStyle:{display:"flex","flex-direction":"column"}},[e.vertragsdatenFieldsDefinition.korrespondenz.visible?n("div",{staticClass:"row",style:e.styleOrder("korrespondenz")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Korrespondenz",disabled:e.vertragsdatenFieldsDefinition.korrespondenz.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.korrespondenz,callback:function(t){e.$set(e.versicherung,"korrespondenz",t)},expression:"versicherung.korrespondenz"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.buAbgelehnt.visible?n("div",{staticClass:"row",style:e.styleOrder("buAbgelehnt")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"BÜ abgelehnt",disabled:e.vertragsdatenFieldsDefinition.buAbgelehnt.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.buAbgelehnt,callback:function(t){e.$set(e.versicherung,"buAbgelehnt",t)},expression:"versicherung.buAbgelehnt"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.zahlrhythmus.visible?n("div",{staticClass:"row",style:e.styleOrder("zahlrhythmus")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Zahlweise",firstEmpty:!0,values:e.vertragsdatenFieldsDefinition.zahlrhythmus.value,disabled:e.vertragsdatenFieldsDefinition.zahlrhythmus.disabled},on:{change:function(t){return e.dataChanged("zahlrhythm",t)}},model:{value:e.versicherung.zahlrhythm,callback:function(t){e.$set(e.versicherung,"zahlrhythm",t)},expression:"versicherung.zahlrhythm"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.kundennr.visible?n("div",{staticClass:"row",style:e.styleOrder("kundennr")},[n("div",{staticClass:"col-12 col-sm-6 form-control"},[n("InputField",{staticClass:"align-end",attrs:{label:"Kundennummer",disabled:e.vertragsdatenFieldsDefinition.kundennr.disabled},model:{value:e.versicherung.kundennr,callback:function(t){e.$set(e.versicherung,"kundennr",t)},expression:"versicherung.kundennr"}}),e.canChangeVertragKundennr?n("a",{staticClass:"align-end",staticStyle:{"flex-grow":"0"},on:{click:function(t){return e.kundennrAendern()}}},[n("PhPencilLine",{attrs:{size:24}})],1):e._e()],1)]):e._e(),n("div",{staticClass:"row",style:e.styleOrder("vertragssparte")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Vertragssparte",values:e.vertragsdatenFieldsDefinition.vertragssparte.value,disabled:e.vertragsdatenFieldsDefinition.vertragssparte.disabled,validateUntouched:!0},on:{change:function(t){return e.dataChanged("vertragssparte",t)}},model:{value:e.versicherung.description.id,callback:function(t){e.$set(e.versicherung.description,"id",t)},expression:"versicherung.description.id"}})],1)]),e.vertragsdatenFieldsDefinition.pramieBrutto.visible?n("div",{staticClass:"row",style:e.styleOrder("pramieBrutto")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{id:"input__field__pramieBrutto",type:"currency",precision:2,label:"Prämie",disabled:e.vertragsdatenFieldsDefinition.pramieBrutto.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.praemiebto_zahlweise,callback:function(t){e.$set(e.versicherung,"praemiebto_zahlweise",t)},expression:"versicherung.praemiebto_zahlweise"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.gesellschaft.visible?n("div",{staticClass:"row",style:e.styleOrder("gesellschaft")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Gesellschaft",values:e.gesellschaftList,disabled:e.vertragsdatenFieldsDefinition.gesellschaft.disabled,validateUntouched:!0},on:{change:function(t){return e.dataChanged("gesellschaft",t)}},model:{value:e.versicherung.gesellschaft.id,callback:function(t){e.$set(e.versicherung.gesellschaft,"id",t)},expression:"versicherung.gesellschaft.id"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.displayFremdges.visible?n("div",{staticClass:"row",style:e.styleOrder("displayFremdges")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Zeige Fremdgesellschaften",disabled:e.vertragsdatenFieldsDefinition.displayFremdges.disabled},on:{input:function(t){return e.dataChanged("displayFremdges")}},model:{value:e.versicherung.displayFremdges,callback:function(t){e.$set(e.versicherung,"displayFremdges",t)},expression:"versicherung.displayFremdges"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.eigenbestand.visible?n("div",{staticClass:"row",style:e.styleOrder("eigenbestand")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Eigenbestand",disabled:e.vertragsdatenFieldsDefinition.eigenbestand.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.isEigenerVertrag,callback:function(t){e.$set(e.versicherung,"isEigenerVertrag",t)},expression:"versicherung.isEigenerVertrag"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.maklerGesellNr.visible?n("div",{staticClass:"row",style:e.styleOrder("maklerGesellNr")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:e.isFK?"Vermittlernummer Gesellschaft":"Courtagenummer",values:e.vertragsdatenFieldsDefinition.maklerGesellNr.value,disabled:e.vertragsdatenFieldsDefinition.maklerGesellNr.disabled,firstEmpty:!1},on:{change:function(t){return e.dataChanged("maklerGesellNr",t)}},model:{value:e.versicherung.maklerGesellNr,callback:function(t){e.$set(e.versicherung,"maklerGesellNr",t)},expression:"versicherung.maklerGesellNr"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.vermittlernummerBemerkung.visible?n("div",{staticClass:"row",style:e.styleOrder("vermittlernummerBemerkung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputTextArea",{attrs:{label:"Bemerkung Vermittlernummer",disabled:e.vertragsdatenFieldsDefinition.vermittlernummerBemerkung.disabled,autoGrow:"",hideScrollBar:""},model:{value:e.versicherung.vermittlernummerBemerkung,callback:function(t){e.$set(e.versicherung,"vermittlernummerBemerkung",t)},expression:"versicherung.vermittlernummerBemerkung"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.interneNummer.visible?n("div",{staticClass:"row",style:e.styleOrder("id")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Interne Nummer",disabled:e.vertragsdatenFieldsDefinition.interneNummer.disabled},model:{value:e.versicherung.id,callback:function(t){e.$set(e.versicherung,"id",t)},expression:"versicherung.id"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.produktbezeichnung.visible?n("div",{staticClass:"row",style:e.styleOrder("produktbezeichnung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Produktbezeichnung",disabled:e.vertragsdatenFieldsDefinition.produktbezeichnung.disabled,maxLength:300},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.produktbez,callback:function(t){e.$set(e.versicherung,"produktbez",t)},expression:"versicherung.produktbez"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.aktuellerStatus.visible?n("div",{staticClass:"row",style:e.styleOrder("aktuellerStatus")},[n("div",{staticClass:"col-12 col-sm-6 form-control"},[n("InputField",{staticClass:"align-end",attrs:{label:"Aktueller Status",disabled:e.vertragsdatenFieldsDefinition.aktuellerStatus.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.status,callback:function(t){e.$set(e.versicherung,"status",t)},expression:"versicherung.status"}}),n("a",{staticClass:"align-end",staticStyle:{"flex-grow":"0"},on:{click:function(t){return e.goToVertraghistory()}}},[n("PhPencilLine",{attrs:{size:24}})],1)],1)]):e._e(),e.vertragsdatenFieldsDefinition.geteiltmitKunde.visible?n("div",{staticClass:"row",style:e.styleOrder("geteiltmitKunde")},[n("div",{staticClass:"col-12 col-sm-6 form-control"},[n("InputField",{staticClass:"align-end",attrs:{label:"Geteilt mit Kunde",disabled:e.vertragsdatenFieldsDefinition.geteiltmitKunde.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.geteiltmitKunde,callback:function(t){e.$set(e.versicherung,"geteiltmitKunde",t)},expression:"versicherung.geteiltmitKunde"}}),n("a",{staticClass:"align-end",staticStyle:{"flex-grow":"0"},on:{click:function(t){return e.openCustomerNewTab(e.versicherung.geteiltmitKunde)}}},[n("PhArrowSquareOut",{attrs:{size:24}})],1),n("a",{staticClass:"align-end",staticStyle:{"flex-grow":"0"},on:{click:e.handleAddUsers}},[n("PhBookOpen",{attrs:{size:24}})],1)],1)]):e._e(),e.vertragsdatenFieldsDefinition.bestandsubertragung.visible?n("div",{staticClass:"row",style:e.styleOrder("bestandsubertragung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Bestandsübertragung",disabled:e.vertragsdatenFieldsDefinition.bestandsubertragung.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.bestandsubertragung,callback:function(t){e.$set(e.versicherung,"bestandsubertragung",t)},expression:"versicherung.bestandsubertragung"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.alleRechtePflichten.visible?n("div",{staticClass:"row",style:e.styleOrder("alleRechtePflichten")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Inkl. aller Rechte/Pflichten",disabled:e.vertragsdatenFieldsDefinition.alleRechtePflichten.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.alleRechtePflichten,callback:function(t){e.$set(e.versicherung,"alleRechtePflichten",t)},expression:"versicherung.alleRechtePflichten"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.bemerkungStatus.visible?n("div",{staticClass:"row",style:e.styleOrder("bemerkungStatus")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{label:"Bemerkung Status",disabled:e.vertragsdatenFieldsDefinition.bemerkungStatus.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.bemerkungStatus,callback:function(t){e.$set(e.versicherung,"bemerkungStatus",t)},expression:"versicherung.bemerkungStatus"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.polNr.visible?n("div",{staticClass:"row",style:e.styleOrder("nummer")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{id:"versicherung_nummer",label:e.vertragsdatenFieldsDefinition.polNr.value,disabled:e.vertragsdatenFieldsDefinition.polNr.disabled,placeholder:e.vertragsdatenFieldsDefinition.polNr.validationMessage,validateUntouched:!0},on:{input:function(t){return e.dataChanged("nummer")}},model:{value:e.versicherung.nummer,callback:function(t){e.$set(e.versicherung,"nummer",t)},expression:"versicherung.nummer"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.vertragsbeginn.visible?n("div",{staticClass:"row",style:e.styleOrder("vertragsbeginn")},[n("div",{staticClass:"col-12 col-sm-6"},[n("DatePickerField",{attrs:{label:"Vertragsbeginn",isValueAsString:"",disabled:e.vertragsdatenFieldsDefinition.vertragsbeginn.disabled,validateUntouched:e.isFPPlus},on:{input:function(t){return e.laufzeitChanged()}},model:{value:e.versicherung.beginn,callback:function(t){e.$set(e.versicherung,"beginn",t)},expression:"versicherung.beginn"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.vertragsende.visible?n("div",{staticClass:"row",style:e.styleOrder("vertragsende")},[n("div",{staticClass:"col-12 col-sm-6 form-control"},[n("InputRadioBoxGroup",{staticClass:"align-end",staticStyle:{"flex-grow":"0"},attrs:{values:[{value:"ENDE",label:""}]},on:{input:function(t){e.versicherung.laufzeit=""}},model:{value:e.versicherung.anzeigeModusDauer,callback:function(t){e.$set(e.versicherung,"anzeigeModusDauer",t)},expression:"versicherung.anzeigeModusDauer"}}),n("DatePickerField",{staticClass:"align-end",attrs:{label:"Vertragsende",isValueAsString:"",disabled:"LAUFZEIT"===e.versicherung.anzeigeModusDauer},on:{input:function(t){return e.dataChanged("vertragsende")}},model:{value:e.versicherung.ende,callback:function(t){e.$set(e.versicherung,"ende",t)},expression:"versicherung.ende"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.hauptfaelligkeit.visible?n("div",{staticClass:"row",style:e.styleOrder("hauptfaelligkeit")},[n("div",{staticClass:"col-12 col-sm-6"},[n("DatePickerField",{attrs:{label:e.vertragsdatenFieldsDefinition.hauptfaelligkeit.value,disabled:e.vertragsdatenFieldsDefinition.hauptfaelligkeit.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.hauptfaelligkeit,callback:function(t){e.$set(e.versicherung,"hauptfaelligkeit",t)},expression:"versicherung.hauptfaelligkeit"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.laufzeit.visible?n("div",{staticClass:"row",style:e.styleOrder("laufzeit")},[n("div",{staticClass:"col-12 col-sm-6 form-control"},[n("InputRadioBoxGroup",{staticClass:"align-end",staticStyle:{"flex-grow":"0"},attrs:{values:[{value:"LAUFZEIT",label:""}]},on:{input:function(t){e.versicherung.ende=""}},model:{value:e.versicherung.anzeigeModusDauer,callback:function(t){e.$set(e.versicherung,"anzeigeModusDauer",t)},expression:"versicherung.anzeigeModusDauer"}}),n("InputField",{staticClass:"align-end",attrs:{label:"Laufzeit (Jahre)",disabled:"ENDE"===e.versicherung.anzeigeModusDauer,validateUntouched:e.isFPPlus},on:{input:function(t){return e.dataChanged("laufzeit")}},model:{value:e.versicherung.laufzeit,callback:function(t){e.$set(e.versicherung,"laufzeit",t)},expression:"versicherung.laufzeit"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.fremdanlage.visible?n("div",{staticClass:"row",style:e.styleOrder("fremdanlage")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Fremdanlage",disabled:e.vertragsdatenFieldsDefinition.fremdanlage.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.fremdanlage,callback:function(t){e.$set(e.versicherung,"fremdanlage",t)},expression:"versicherung.fremdanlage"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.kundeEingelesen.visible?n("div",{staticClass:"row",style:e.styleOrder("kundeEingelesen")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Durch Kunde angelegt",disabled:e.vertragsdatenFieldsDefinition.kundeEingelesen.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.kundeEingelesen,callback:function(t){e.$set(e.versicherung,"kundeEingelesen",t)},expression:"versicherung.kundeEingelesen"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.provisionsfrei.visible?n("div",{staticClass:"row",style:e.styleOrder("provisionsfrei")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Provisionsfrei",disabled:e.vertragsdatenFieldsDefinition.provisionsfrei.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.provisionsfrei,callback:function(t){e.$set(e.versicherung,"provisionsfrei",t)},expression:"versicherung.provisionsfrei"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.bezug.visible?n("div",{staticClass:"row",style:e.styleOrder("bezug")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Bezug",values:e.vertragsdatenFieldsDefinition.bezug.value,disabled:e.vertragsdatenFieldsDefinition.bezug.disabled,validateUntouched:!0,firstEmpty:""},on:{change:function(t){return e.dataChanged("bezug",t)}},model:{value:e.versicherung.bezug,callback:function(t){e.$set(e.versicherung,"bezug",t)},expression:"versicherung.bezug"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.teilung.visible?n("div",{staticClass:"row",style:e.styleOrder("teilung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Teilung geprüft",disabled:e.vertragsdatenFieldsDefinition.teilung.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.teilung,callback:function(t){e.$set(e.versicherung,"teilung",t)},expression:"versicherung.teilung"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.anbindung.visible?n("div",{staticClass:"row",style:e.styleOrder("anbindung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Anbindung",values:e.vertragsdatenFieldsDefinition.anbindung.value,disabled:e.vertragsdatenFieldsDefinition.anbindung.disabled},on:{change:function(t){return e.dataChanged("anbindung",t)}},model:{value:e.versicherung.anbindung,callback:function(t){e.$set(e.versicherung,"anbindung",t)},expression:"versicherung.anbindung"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.betreuungsstufe.visible?n("div",{staticClass:"row",style:e.styleOrder("betreuungsstufe")},[n("div",{staticClass:"col-12 col-sm-6"},[n("ComboBox",{attrs:{label:"Betreuungsstufe",values:e.betreungsstufeComputedValues,disabled:e.vertragsdatenFieldsDefinition.betreuungsstufe.disabled||!e.versicherung.anbindung||e.disableBetreungsstufe},on:{change:function(t){return e.dataChanged("betreuungsstufe",t)}},model:{value:e.versicherung.betreuungsstufe,callback:function(t){e.$set(e.versicherung,"betreuungsstufe",t)},expression:"versicherung.betreuungsstufe"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.konvertierung.visible?n("div",{staticClass:"row",style:e.styleOrder("konvertierung")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputToggleSwitch",{attrs:{label:"Konvertierung",disabled:e.vertragsdatenFieldsDefinition.konvertierung.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.konvertierung,callback:function(t){e.$set(e.versicherung,"konvertierung",t)},expression:"versicherung.konvertierung"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.kennzeichen.visible?n("div",{staticClass:"row",style:e.styleOrder("kennzeichen")},[n("div",{staticClass:"col-12 col-sm-6 form-control"},[n("InputField",{staticClass:"align-end",attrs:{label:"Kennzeichen",disabled:"",placeholder:e.vertragsdatenFieldsDefinition.kennzeichen.validationMessage},model:{value:e.versicherung.kennzeichen,callback:function(t){e.$set(e.versicherung,"kennzeichen",t)},expression:"versicherung.kennzeichen"}}),e.shouldHideFahrzeugDatenStep?e._e():n("a",{staticClass:"align-end",staticStyle:{"flex-grow":"0"},on:{click:function(t){return e.goToFahrzeugdaten()}}},[n("PhPencilLine",{attrs:{size:24}})],1)],1)]):e._e(),e.vertragsdatenFieldsDefinition.beitragszahlungsdauer.visible?n("div",{staticClass:"row",style:e.styleOrder("beitragszahlungsdauer")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputField",{attrs:{type:"number",label:"Beitragszahlungsdauer",disabled:e.vertragsdatenFieldsDefinition.beitragszahlungsdauer.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.beitragszahlungsdauer,callback:function(t){e.$set(e.versicherung,"beitragszahlungsdauer",t)},expression:"versicherung.beitragszahlungsdauer"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.letzte_aenderung_gueltig_ab.visible?n("div",{staticClass:"row",style:e.styleOrder("letzte_aenderung_gueltig_ab")},[n("div",{staticClass:"col-12 col-sm-6"},[n("DatePickerField",{attrs:{isValueAsString:"",label:"letzte Vertragsänderung gültig ab",disabled:e.vertragsdatenFieldsDefinition.letzte_aenderung_gueltig_ab.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.letzteAenderungGueltigAb,callback:function(t){e.$set(e.versicherung,"letzteAenderungGueltigAb",t)},expression:"versicherung.letzteAenderungGueltigAb"}})],1)]):e._e(),e.vertragsdatenFieldsDefinition.aenderungs_grund.visible?n("div",{staticClass:"row",style:e.styleOrder("aenderungs_grund")},[n("div",{staticClass:"col-12 col-sm-6"},[n("InputTextArea",{attrs:{label:"Änderungsgrund",disabled:e.vertragsdatenFieldsDefinition.aenderungs_grund.disabled},on:{input:function(t){return e.dataChanged()}},model:{value:e.versicherung.aenderungsGrund,callback:function(t){e.$set(e.versicherung,"aenderungsGrund",t)},expression:"versicherung.aenderungsGrund"}})],1)]):e._e()])]):e._e()},i=[],s=n("5530"),r=n("b85c"),o=n("1da1"),l=(n("96cf"),n("ac1f"),n("5319"),n("a4d3"),n("e01a"),n("c740"),n("caad"),n("2532"),n("a434"),n("6758")),c=n("d4b0"),d=n("d856"),u=n("4567"),p=n("9aaa"),h=n("9131"),f=n("c704"),m=n("0054"),b=n("04ad"),v=n("c0a4"),g=n("d3ac"),E=n("d9f5"),_={mixins:[b["a"],g["a"]],components:{BoxContainer:d["a"],InputRadioBoxGroup:u["default"],ComboBox:h["default"],InputField:f["default"],DatePickerField:m["default"],InputToggleSwitch:p["default"],PhPencilLine:v["PhPencilLine"],InputTextArea:E["default"],PhBookOpen:v["PhBookOpen"],PhArrowSquareOut:v["PhArrowSquareOut"]},computed:{tableId:function(){var e="f3cfb91f-3016-4a8f-bef4-93c9e7c9a3b8";return e}},props:{details:{type:Object,default:function(){}}},methods:{newBankverbindung:function(){var e="person1";this.$store.commit(l["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,e),this.$store.dispatch(l["default"].ACTIONS.GOTO_BANKVERBINDUNG,this.backButtonPayload)},editBankverbindung:function(){var e="person1";this.$store.commit(l["default"].MUTATIONS.UPDATE_SELECTED_CUSTOMER_DATA,e),this.$store.dispatch(l["default"].ACTIONS.GOTO_BANKVERBINDUNG,this.backButtonPayload)},getMaklerGesellNrComboboxValues:function(e){var t=this,n=e.replace(/\s/g,"_");if(this.gesellschaftMaklerGesellNr[n])this.vertragsdatenFieldsDefinition.maklerGesellNr.value=this.gesellschaftMaklerGesellNr[n];else{var a,i,s={gesellschaftId:e,groupId:null===(a=this.versicherung)||void 0===a||null===(i=a.description)||void 0===i?void 0:i.id};this.$store.dispatch(c["default"].ACTIONS.INSURANCE_VERTRAGSDATEN_MAKLERGESELLNR_COMBOBOX_VALUES,s).then((function(){t.vertragsdatenFieldsDefinition.maklerGesellNr.value=t.gesellschaftMaklerGesellNr[n]}))}},getAnbindungComboboxValues:function(e){if(e){var t,n,a={gesellschaftId:e,groupId:null===(t=this.versicherung)||void 0===t||null===(n=t.description)||void 0===n?void 0:n.id};this.$store.dispatch(c["default"].ACTIONS.INSURANCE_VERTRAGSDATEN_ANBINDUNG_COMBOBOX_VALUES,a)}else this.versicherung.nummer=""},getMaklerGesellNrComboboxItemSelectedMessage:function(e){var t=this;this.$store.dispatch(c["default"].ACTIONS.INSURANCE_VERTRAGSDATEN_MAKLERGESELLNR_MESSAGE,{maklerGesellNr:e}).then((function(e){e&&t.$set(t.versicherung,"vermittlernummerBemerkung",e)}))},validateNummer:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){var a,i,s,o,l,d,u,p,h,f,m;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(l="versicherung.nummer",t.validation.reset(l),t.versicherung.gesellschaft.id){n.next=4;break}return n.abrupt("return");case 4:if(d=t.fieldsValidators.versicherung.nummer,!e){n.next=8;break}return t.$pushErrors(l,e),n.abrupt("return");case 8:u=Object(r["a"])(d),n.prev=9,u.s();case 11:if((p=u.n()).done){n.next=19;break}return p.value,n.next=15,t.$store.dispatch(c["default"].ACTIONS.INSURANCE_VERTRAGSDATEN_POLNR_RUN_VALIDATION,{gesellschaftId:t.versicherung.gesellschaft.id,polNummer:t.versicherung.nummer});case 15:h=n.sent,t.versicherung.nummer&&!h?t.$pushErrors(l,t.vertragsdatenFieldsDefinition.polNr.validationMessage):t.validation.reset(l);case 17:n.next=11;break;case 19:n.next=24;break;case 21:n.prev=21,n.t0=n["catch"](9),u.e(n.t0);case 24:return n.prev=24,u.f(),n.finish(24);case 27:null!==t&&void 0!==t&&null!==(a=t.versicherungFormValidation)&&void 0!==a&&null!==(i=a.versicherung)&&void 0!==i&&i.nummer.valid&&null!==(s=t.versicherung)&&void 0!==s&&null!==(o=s.fehler)&&void 0!==o&&o.length&&(m=null===(f=t.versicherung)||void 0===f?void 0:f.fehler.findIndex((function(e){return e.includes("Nummer")})),m>-1&&t.versicherung.fehler.splice(m,1));case 28:case"end":return n.stop()}}),n,null,[[9,21,24,27]])})))()},getPoliceNummerValidation:function(e){var t=this;if(e){var n={gesellschaftId:e};this.$store.dispatch(c["default"].ACTIONS.INSURANCE_VERTRAGSDATEN_POLNR_VALIDATION,n).then((function(){t.validateNummer()}))}else this.versicherung.nummer=""},goToVertraghistory:function(){this.$route.params.id&&this.$router.push({path:"/home/versicherungen/insurance-group/vertrag-status/".concat(this.$route.params.id)})},goToFahrzeugdaten:function(){this.$emit("changeStep","fahrzeugDaten")},kundennrAendern:function(){var e={beschreibung:this.versicherung.beschreibung};this.$store.commit(c["default"].MUTATIONS.SET_VERTRAGS_VERSCHIEBUNGEN_DATA,e),this.$route.params.id&&this.$router.push({path:"/home/versicherungen/kundennr-aendern/".concat(this.$route.params.id)})},handleAddUsers:function(){this.navigateTo("/communication/mailcomposer-customer-search/allgemeineVertragsdaten?singleSelection=true&insurance=true&back="+this.getCurrentRoute())},navigateTo:function(e){var t;this.$router.push({path:null!==e&&void 0!==e&&e.path?e.path:e,query:Object(s["a"])({singleUser:null===(t=this.$route.query)||void 0===t?void 0:t.singleUser},null!==e&&void 0!==e&&e.query?e.query:{})})},getCurrentRoute:function(){return this.$router.currentRoute.path}},mounted:function(){var e,t,n;this.$configureValidators(this.fieldsValidators),null!==(e=this.versicherung)&&void 0!==e&&null!==(t=e.gesellschaft)&&void 0!==t&&t.id&&null!==(n=this.vertragsdatenFieldsDefinition)&&void 0!==n&&n.polNr&&this.validateNummer()},validators:{}},S=_,T=(n("63af"),n("2877")),x=Object(T["a"])(S,a,i,!1,null,"49250007",null);t["a"]=x.exports},fe3c:function(e,t,n){"use strict";n("215a")},fe94:function(e,t,n){var a=n("b772");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("499e").default;i("6ddc091b",a,!0,{sourceMap:!1,shadowMode:!1})}}]);