1"use strict";(globalThis.webpackChunkmeineseite_gelbeseite=globalThis.webpackChunkmeineseite_gelbeseite||[]).push([[767],{28473:(e,a,t)=>{t.d(a,{A:()=>s});var l=t(38748),o=(t(858),t(65537));const s={props:["form","name","rules","errorplacement","page"],data(){return{formvalidator:"",formvalidator2:"",options:{customPlacement:this.errorplacement,rules:{},ignore:"",locale:this.$store.getters.language},pageID:this.page.name}},created(){},mounted(){this.formvalidator=new l.tL("#"+this.pageID,this.options)},methods:{validate(){return this.formvalidator.validate()},emitLoaded(){setTimeout(()=>{this.$emit("tabloaded")},250)},handleLocale(e){switch(e){case"deu":default:return"de";case"eng":return"en";case"ita":return"it";case"ces":return"cs"}},async requestCurrentPropertyByActiveLanguage(e){return(await this.$store.getters.dataIO.get(e,{params:{language:this.idByActiveLanguageGuid(this.$store.getters.activeLanguageGuid)}})).data},idByActiveLanguageGuid(e){switch(e){case"de_8a8b59c3-2bff-4cb1-8ba9-6a80a1588da0":default:return 1;case"it_2c32b3c1-ff60-43e0-8e71-c810baccd0a0":return 3;case"en_bdf0df68-8043-4c3b-a699-c67fcdb2b1ff":return 2;case"ces_5b07a785-7db6-41d9-a8ca-a2be3e6e4812":return 5;case"it_groe_6903d722-f1a1-4d55-abba-5725d36d9819":return 4;case"it_gar_b78f330f-4a47-432b-8639-413b0d73cfcd":return 7}},abbrevByGuid(e){switch(e){case"de_8a8b59c3-2bff-4cb1-8ba9-6a80a1588da0":default:return"DE";case"it_2c32b3c1-ff60-43e0-8e71-c810baccd0a0":return"IT";case"en_bdf0df68-8043-4c3b-a699-c67fcdb2b1ff":return"EN";case"ces_5b07a785-7db6-41d9-a8ca-a2be3e6e4812":return"CES";case"it_groe_6903d722-f1a1-4d55-abba-5725d36d9819":return"IT GROE";case"it_gar_b78f330f-4a47-432b-8639-413b0d73cfcd":return"IT GAR"}},async requestFallback(e){return(await this.$store.getters.dataIO.get(e,{params:{language:"1"}})).data},async handleNotTranslatedProperties(e){let a=await this.requestCurrentPropertyByActiveLanguage(e);if("de_8a8b59c3-2bff-4cb1-8ba9-6a80a1588da0"!=this.$store.getters.activeLanguageGuid){let t=await this.requestFallback(e),l=(sessionStorage.getItem("selectedLanguage"),this.abbrevByGuid(this.$store.getters.activeLanguageGuid));for(let e=0;e<a.length;e++)for(let o=0;o<t.length;o++){let s=a[e].id==t[o].id,r=null==a[e].name||""==a[e].name;s&&r&&(a[e].name=t[o].name+" ("+l+" - "+this.$i18n.t("T-304116855")+")")}return a.sort(function(e,a){const t=(e.name||"").toLowerCase(),l=(a.name||"").toLowerCase();return t<l?-1:t>l?1:0}),a}return a}},computed:{isSuedTirol(){return this.$store.getters.isSuedTirol},copyrightName(){return this.form.firstname&&this.form.lastname?this.form.firstname+" "+this.form.lastname:null===(e=this.$store.getters.token_decoded)||void 0===e?void 0:e.UserName;var e},isNewEntry(){return this.$store.getters.isNewEntry}},watch:{"$store.getters.activeLanguageGuid"(e,a){"function"==typeof this.load&&this.load()},"form.planungsstatus"(e,a){const t=this.$i18n.t("T-304117328");null!=this.form.name&&("string"==typeof e?e.split("/").pop()===o.Eventstatus.ABGESAGT?this.form.name.startsWith(t)||(this.form.name=t+this.form.name,this.$store.dispatch("undoCriticalChange",!0)):this.form.name.startsWith(t)&&(this.form.name=this.form.name.replace(t,""),this.$store.dispatch("undoCriticalChange",!0)):this.form.name.startsWith(t)&&(this.form.name=this.form.name.replace(t,"")))}}}},83767:(e,a,t)=>{t.r(a),t.d(a,{default:()=>x});var l=t(6716);const o={class:"page"},s=["id"];var r=t(28473);const n={class:"page-control"},i=["id"],d={key:0,class:"row"},c={class:"col-lg-2"},u={key:1,class:"row"},m={class:"col-lg-6"},h={class:"col-lg-6"},g={class:"row"},p={class:"col-lg-6"},f={class:"col-lg-6"},b={class:"row"},V={class:"col-lg-6"},v={class:"col-lg-6"},T={class:"col-lg-6"},D={key:3,class:"row"},N={class:"col-lg-6"},w={class:"col-lg-6"},$={class:"col-lg-6"},y={class:"col-lg-6"};var E=t(38748);const L={name:"PersonControl",props:["modelValue","typ","id","formTranslationsPersonData","translationObject","multipleLanguages"],data(){return{options:{customPlacement:function(e,a){(e=e.closest(".input-wrapper").querySelector(".error-element")).appendChild(a)},rules:{email:{email:[!0,this.$i18n.t("T-304116129")]},tel1:{regex:["^($|(\\+[0-9]{1,3} [0-9]{1,5}( [0-9]{2,})+(-[0-9]+)?)?$)",this.$i18n.t("T-304117999",{prefix:this.$store.getters.phoneNumberPrefix})]}}},showTitel:!1,showAddr:!1,localData:{},localFormValidator:null,localPersonData:this.formTranslationsPersonData,localTranslationObject:this.translationObject,localHasMultipleLanguages:this.multipleLanguages}},mounted(){this.localFormValidator=new E.tL("#persondetailsform"+this.id,this.options),null!=this.modelValue&&this.load(),this.localPersonData=this.formTranslationsPersonData},watch:{modelValue(e,a){this.load()},localData:{handler(e,a){this.update()},deep:!0},formTranslationsPersonData(e,a){this.localPersonData=this.formTranslationsPersonData}},methods:{load(){var e,a,t,l,o,s;this.localData=this.modelValue,this.localData.typeuri=this.typ,((null===(e=this.localData.title)||void 0===e?void 0:e.length)>0||(null===(a=this.localData.titlesuffix)||void 0===a?void 0:a.length)>0)&&(this.showTitel=!0),null!=this.localData.address&&null!=this.localData.address&&((null===(t=this.localData.address.city)||void 0===t?void 0:t.length)>0||(null===(l=this.localData.address.zipcode)||void 0===l?void 0:l.length)>0||(null===(o=this.localData.address.street)||void 0===o?void 0:o.length)>0||(null===(s=this.localData.address.housenumber)||void 0===s?void 0:s.length)>0)?this.showAddr=!0:this.localData.address={}},update(){this.$emit("update:modelValue",this.localData)},validate(){return this.localFormValidator.clearForm(),this.localFormValidator.validate()},async showAddress(){this.showAddr=!0,null==this.localData.address&&(this.localData.address={}),await(0,l.nextTick)(),this.localFormValidator.addRules("formplz",{regex:["(^$|^([A-Z]{1,2}[\\-])?\\d{4,5}$)","Erlaubt sind nur Zahlen im Format 1234 oder A-1234"]})}}};var C=t(66262);const O=(0,C.A)(L,[["render",function(e,a,t,o,s,r){var E,L,C;
1const O=(0,l.resolveComponent)("InputButton"),k=(0,l.resolveComponent)("InputTextMultilingual"),S=(0,l.resolveComponent)("InputText");return(0,l.openBlock)(),(0,l.createElementBlock)("div",n,[(0,l.createElementVNode)("form",{id:"persondetailsform"+t.id,onSubmit:a[12]||(a[12]=(0,l.withModifiers)(()=>{},["prevent"]))},[s.showTitel?(0,l.createCommentVNode)("v-if",!0):((0,l.openBlock)(),(0,l.createElementBlock)("div",d,[(0,l.createElementVNode)("div",c,[(0,l.createVNode)(O,{class:"btn btn-secondary",onClick:a[0]||(a[0]=e=>s.showTitel=!0)},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.$t("T-304116361")),1)]),_:1})])])),s.showTitel?((0,l.openBlock)(),(0,l.createElementBlock)("div",u,[(0,l.createElementVNode)("div",m,[(0,l.createVNode)(k,{name:"title",type:"text",placeholder:e.$t("T-304116147"),label:e.$t("T-304116147"),required:!1,formValue:s.localData.title,"onUpdate:formValue":a[1]||(a[1]=e=>s.localData.title=e),translationObject:null===(E=s.localPersonData)||void 0===E?void 0:E.title,languageObject:s.localTranslationObject.dataSource,guidSelectedElement:s.localTranslationObject.activeGuidEntryTranslation,hasMultipleLanguages:s.localHasMultipleLanguages,isSuedTirol:e.isSuedTirol},null,8,["placeholder","label","formValue","translationObject","languageObject","guidSelectedElement","hasMultipleLanguages","isSuedTirol"])]),(0,l.createElementVNode)("div",h,[(0,l.createVNode)(k,{name:"titlesuffix",type:"text",placeholder:e.$t("T-304116150"),label:e.$t("T-304116150"),required:!1,formValue:s.localData.titlesuffix,"onUpdate:formValue":a[2]||(a[2]=e=>s.localData.titlesuffix=e),translationObject:null===(L=s.localPersonData)||void 0===L?void 0:L.titlesuffix,languageObject:s.localTranslationObject.dataSource,guidSelectedElement:s.localTranslationObject.activeGuidEntryTranslation,hasMultipleLanguages:s.localHasMultipleLanguages,isSuedTirol:e.isSuedTirol},null,8,["placeholder","label","formValue","translationObject","languageObject","guidSelectedElement","hasMultipleLanguages","isSuedTirol"])])])):(0,l.createCommentVNode)("v-if",!0),(0,l.createElementVNode)("div",g,[(0,l.createElementVNode)("div",p,[(0,l.createVNode)(S,{name:"name",label:e.$t("T-304116148"),modelValue:s.localData.name,"onUpdate:modelValue":a[3]||(a[3]=e=>s.localData.name=e)},null,8,["label","modelValue"])]),(0,l.createElementVNode)("div",f,[(0,l.createVNode)(S,{name:"surname",label:e.$t("T-304116149"),modelValue:s.localData.surname,"onUpdate:modelValue":a[4]||(a[4]=e=>s.localData.surname=e)},null,8,["label","modelValue"])])]),(0,l.createElementVNode)("div",b,[(0,l.createElementVNode)("div",V,[(0,l.createVNode)(S,{name:"header",label:e.$t("T-304116398"),modelValue:s.localData.header,"onUpdate:modelValue":a[5]||(a[5]=e=>s.localData.header=e)},null,8,["label","modelValue"])]),(0,l.createElementVNode)("div",v,[(0,l.createVNode)(S,{name:"tel1",label:e.$t("T-304116152"),modelValue:s.localData.telephone1,"onUpdate:modelValue":a[6]||(a[6]=e=>s.localData.telephone1=e)},null,8,["label","modelValue"])]),(0,l.createElementVNode)("div",T,[(0,l.createVNode)(S,{name:"email",placeholder:"[email protected]",label:e.$t("T-304116135"),modelValue:s.localData.email,"onUpdate:modelValue":a[7]||(a[7]=e=>s.localData.email=e)},null,8,["label","modelValue"])])]),s.showAddr?(0,l.createCommentVNode)("v-if",!0):((0,l.openBlock)(),(0,l.createBlock)(O,{key:2,class:"btn btn-secondary",onClick:r.showAddress},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.$t("T-304116156")),1)]),_:1},8,["onClick"])),s.showAddr?((0,l.openBlock)(),(0,l.createElementBlock)("div",D,[(0,l.createElementVNode)("div",N,[(0,l.createVNode)(S,{name:"formplz",label:e.$t("T-304116144"),modelValue:s.localData.address.zipcode,"onUpdate:modelValue":a[8]||(a[8]=e=>s.localData.address.zipcode=e)},null,8,["label","modelValue"])]),(0,l.createElementVNode)("div",w,[(0,l.createVNode)(S,{name:"ort",label:e.$t("T-304116145"),modelValue:s.localData.address.city,"onUpdate:modelValue":a[9]||(a[9]=e=>s.localData.address.city=e)},null,8,["label","modelValue"])]),(0,l.createElementVNode)("div",$,[(0,l.createVNode)(k,{name:"str",type:"text",placeholder:e.$t("T-304116142"),label:e.$t("T-304116142"),required:!0,formValue:s.localData.address.street,"onUpdate:formValue":a[10]||(a[10]=e=>s.localData.address.street=e),translationObject:null===(C=s.localPersonData)||void 0===C?void 0:C.address.street,languageObject:s.localTranslationObject.dataSource,guidSelectedElement:s.localTranslationObject.activeGuidEntryTranslation,hasMultipleLanguages:s.localHasMultipleLanguages,isSuedTirol:e.isSuedTirol},null,8,["placeholder","label","formValue","translationObject","languageObject","guidSelectedElement","hasMultipleLanguages","isSuedTirol"])]),(0,l.createElementVNode)("div",y,[(0,l.createVNode)(S,{name:"hnr",label:e.$t("T-304116143"),modelValue:s.localData.address.housenumber,"onUpdate:modelValue":a[11]||(a[11]=e=>s.localData.address.housenumber=e)},null,8,["label","modelValue"])])])):(0,l.createCommentVNode)("v-if",!0)],40,i)])}]]);var k=t(90017),S=t.n(k);const j={mixins:[r.A,S()],components:{Person:O},mounted(){this.emitLoaded()},methods:{validate(){let e=this.$refs.ap1.validate(),a=this.$refs.ap2.validate(),t=this.$refs.vorstand.val
1idate();return!!(this.formvalidator.validate()&&e&&a&&t)}}},x=(0,C.A)(j,[["render",function(e,a,t,r,n,i){const d=(0,l.resolveComponent)("Person"),c=(0,l.resolveComponent)("AkkordeonItem"),u=(0,l.resolveComponent)("Akkordeon");return(0,l.openBlock)(),(0,l.createElementBlock)("div",o,[(0,l.createElementVNode)("form",{id:e.pageID,onSubmit:a[3]||(a[3]=(0,l.withModifiers)(()=>{},["prevent"]))},[(0,l.createVNode)(u,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{state:"1"},{header:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.$t("T-304116429")),1)]),default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{ref:"ap1",id:"1",modelValue:e.form.ap1,"onUpdate:modelValue":a[0]||(a[0]=a=>e.form.ap1=a),formTranslationsPersonData:e.formTranslations.ap1,translationObject:this.bigTranslationObject,multipleLanguages:this.hasMultipleLanguages,typ:"contact/t4252"},null,8,["modelValue","formTranslationsPersonData","translationObject","multipleLanguages"])]),_:1}),(0,l.createVNode)(c,null,{header:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.$t("T-304116430")),1)]),default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{ref:"vorstand",id:"2",modelValue:e.form.vorstand,"onUpdate:modelValue":a[1]||(a[1]=a=>e.form.vorstand=a),formTranslationsPersonData:e.formTranslations.vorstand,translationObject:this.bigTranslationObject,multipleLanguages:this.hasMultipleLanguages,typ:"contact/t4251"},null,8,["modelValue","formTranslationsPersonData","translationObject","multipleLanguages"])]),_:1}),(0,l.createVNode)(c,null,{header:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.$t("T-304116431")),1)]),default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{ref:"ap2",id:"3",modelValue:e.form.ap2,"onUpdate:modelValue":a[2]||(a[2]=a=>e.form.ap2=a),formTranslationsPersonData:e.formTranslations.ap2,translationObject:this.bigTranslationObject,multipleLanguages:this.hasMultipleLanguages,typ:"contact/t4253"},null,8,["modelValue","formTranslationsPersonData","translationObject","multipleLanguages"])]),_:1})]),_:1})],40,s)])}]])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.