Responsive design

This commit is contained in:
Torsten Schulz
2024-07-04 13:38:04 +02:00
parent 9e8667b7ca
commit c96214c10a
115 changed files with 209 additions and 231 deletions

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[1099],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},5571:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=1099.7daf73ae.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[1258],{1258:function(e,i,a){a.r(i),a.d(i,{default:function(){return f}});var s=a(6768),t=a(5688);const o=e=>((0,s.Qi)("data-v-4256bbfa"),e=e(),(0,s.jt)(),e),r={class:"register"},n=o((()=>(0,s.Lk)("h2",null,"Registrieren",-1))),l=o((()=>(0,s.Lk)("label",{for:"name"},"Name:",-1))),d=o((()=>(0,s.Lk)("label",{for:"email"},"Email-Adresse:",-1))),m=o((()=>(0,s.Lk)("label",{for:"password"},"Passwort:",-1))),u=o((()=>(0,s.Lk)("button",{type:"submit"},"Registrieren",-1)));function g(e,i,a,o,g,p){const h=(0,s.g2)("router-link");return(0,s.uX)(),(0,s.CE)("div",r,[n,(0,s.Lk)("form",{onSubmit:i[3]||(i[3]=(0,t.D$)(((...e)=>p.register&&p.register(...e)),["prevent"]))},[l,(0,s.bo)((0,s.Lk)("input",{type:"text",id:"name","onUpdate:modelValue":i[0]||(i[0]=e=>g.name=e),required:""},null,512),[[t.Jo,g.name]]),d,(0,s.bo)((0,s.Lk)("input",{type:"email",id:"email","onUpdate:modelValue":i[1]||(i[1]=e=>g.email=e),required:""},null,512),[[t.Jo,g.email]]),m,(0,s.bo)((0,s.Lk)("input",{type:"password",id:"password","onUpdate:modelValue":i[2]||(i[2]=e=>g.password=e),required:""},null,512),[[t.Jo,g.password]]),u],32),(0,s.Lk)("p",null,[(0,s.bF)(h,{to:"/login"},{default:(0,s.k6)((()=>[(0,s.eW)("Login")])),_:1})]),(0,s.Lk)("p",null,[(0,s.bF)(h,{to:"/forgot-password"},{default:(0,s.k6)((()=>[(0,s.eW)("Passwort vergessen?")])),_:1})])])}var p={name:"RegisterComponent",components:{},data(){return{name:"",email:"",password:"",dialogTitle:"",dialogMessage:"",dialogVisible:!1}},methods:{async register(){try{const e=await fetch("/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:this.name,email:this.email,password:this.password})});if(e.ok)await e.json(),this.showDialog("Registrierung erfolgreich","Ihr Konto wurde erfolgreich erstellt.");else{const i=await e.json();this.showDialog("Fehler",i.message)}}catch(e){this.showDialog("Ein Fehler ist aufgetreten",e.message)}},showDialog(e,i){this.dialogTitle=e,this.dialogMessage=i,this.dialogVisible=!0}}},h=a(1241);const c=(0,h.A)(p,[["render",g],["__scopeId","data-v-4256bbfa"]]);var f=c}}]);
//# sourceMappingURL=1258.4633540f.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[1381],{1381:function(n,e,r){r.r(e),r.d(e,{default:function(){return m}});var u=r(6768);const i=(0,u.Lk)("h2",null,null,-1),t=[i];function a(n,e,r,i,a,c){return(0,u.uX)(),(0,u.CE)("div",null,t)}var c={name:"WorshipServicesContent"},l=r(1241);const s=(0,l.A)(c,[["render",a]]);var m=s}}]);
//# sourceMappingURL=1381.a7a867b9.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/1381.a7a867b9.js","mappings":"gMAEMA,EAAAA,EAAAA,IAAS,mB,GAATC,G,0CADFC,EAAAA,EAAAA,IAEM,WAHVC,E,CAOE,OACEC,KAAM,0B,UCHV,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://miriamgemeinde/./src/content/WorshipServicesContent.vue","webpack://miriamgemeinde/./src/content/WorshipServicesContent.vue?3bf1"],"sourcesContent":["<template>\n <div>\n <h2></h2>\n </div>\n </template>\n \n <script>\n export default {\n name: 'WorshipServicesContent',\n };\n </script>\n ","import { render } from \"./WorshipServicesContent.vue?vue&type=template&id=0b763010\"\nimport script from \"./WorshipServicesContent.vue?vue&type=script&lang=js\"\nexport * from \"./WorshipServicesContent.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createElementVNode","_hoisted_1","_createElementBlock","_hoisted_2","name","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[1969],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},1077:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=1969.7278bd29.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[2070],{2070:function(n,e,t){t.r(e),t.d(e,{default:function(){return o}});var u=t(6768);const i=(0,u.Lk)("h2",null,null,-1),r=[i];function a(n,e,t,i,a,l){return(0,u.uX)(),(0,u.CE)("div",null,r)}var l={name:"MeetingPointContent"},c=t(1241);const m=(0,c.A)(l,[["render",a]]);var o=m}}]);
//# sourceMappingURL=2070.a9bdda7e.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/2070.a9bdda7e.js","mappings":"gMAEMA,EAAAA,EAAAA,IAAS,mB,GAATC,G,0CADFC,EAAAA,EAAAA,IAEM,WAHVC,E,CAOE,OACEC,KAAM,uB,UCHV,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://miriamgemeinde/./src/content/MeetingPointContent.vue","webpack://miriamgemeinde/./src/content/MeetingPointContent.vue?8b88"],"sourcesContent":["<template>\n <div>\n <h2></h2>\n </div>\n </template>\n \n <script>\n export default {\n name: 'MeetingPointContent',\n };\n </script>\n ","import { render } from \"./MeetingPointContent.vue?vue&type=template&id=611dfc4c\"\nimport script from \"./MeetingPointContent.vue?vue&type=script&lang=js\"\nexport * from \"./MeetingPointContent.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createElementVNode","_hoisted_1","_createElementBlock","_hoisted_2","name","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[2177],{3909:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var a=n(6768),s=n(5187);const i=e=>((0,a.Qi)("data-v-9a71cbf6"),e=e(),(0,a.jt)(),e),u=i((()=>(0,a.Lk)("div",{class:"previewinfo"},"Dies ist eine Vorschau.",-1)));function o(e,t,n,i,o,r){const c=(0,a.g2)("RenderContentComponent");return(0,a.uX)(),(0,a.CE)("div",null,[u,(0,a.Lk)("h1",null,(0,s.v_)(i.title),1),(0,a.bF)(c,{content:i.content},null,8,["content"])])}var r=n(782),c=n(891),l={name:"PagePreview",components:{RenderContentComponent:c.A},setup(){const e=(0,r.Pj)(),t=(0,a.EW)((()=>e.state.pageContent)),n=(0,a.EW)((()=>e.state.selectedPage)),s=(0,a.EW)((()=>e.state.menuData)),i=(0,a.EW)((()=>e.state.pageTitle)),u=t=>{const n=(e,t)=>{for(const a of e){if(a.link===t)return a.pageTitle||a.name;if(a.submenu&&a.submenu.length>0){const e=n(a.submenu,t);if(e)return e}}return""};e.dispatch("setPageTitle",n(s.value,t))};return(0,a.nT)((()=>{u(n.value)})),{content:t,title:i}}},m=n(1241);const d=(0,m.A)(l,[["render",o],["__scopeId","data-v-9a71cbf6"]]);var f=d}}]);
//# sourceMappingURL=2177.22663f37.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/2177.22663f37.js","mappings":"uQAEIA,EAAAA,EAAAA,IAAsD,OAAjDC,MAAM,eAAc,2BAAuB,K,qFADlDC,EAAAA,EAAAA,IAIM,YAHJC,GACAH,EAAAA,EAAAA,IAAoB,WAAAI,EAAAA,EAAAA,IAAbC,EAAAC,OAAK,IACZC,EAAAA,EAAAA,IAA6CC,EAAA,CAApBC,QAASJ,EAAAI,SAAO,qB,uBAS7C,GACEC,KAAM,cACNC,WAAY,CACVC,uBAAsBA,EAAAA,GAExBC,KAAAA,GACE,MAAMC,GAAQC,EAAAA,EAAAA,MACRN,GAAUO,EAAAA,EAAAA,KAAS,IAAMF,EAAMG,MAAMC,cACrCC,GAAeH,EAAAA,EAAAA,KAAS,IAAMF,EAAMG,MAAME,eAC1CC,GAAWJ,EAAAA,EAAAA,KAAS,IAAMF,EAAMG,MAAMG,WACtCd,GAAQU,EAAAA,EAAAA,KAAS,IAAMF,EAAMG,MAAMI,YAEnCC,EAAYC,IAChB,MAAMC,EAAYA,CAACC,EAAWF,KAC5B,IAAK,MAAMG,KAAQD,EAAW,CAC5B,GAAIC,EAAKH,OAASA,EAChB,OAAOG,EAAKL,WAAaK,EAAKhB,KAEhC,GAAIgB,EAAKC,SAAWD,EAAKC,QAAQC,OAAS,EAAG,CAC3C,MAAMC,EAAQL,EAAUE,EAAKC,QAASJ,GACtC,GAAIM,EACF,OAAOA,CAEX,CACF,CACA,MAAO,EAAE,EAEXf,EAAMgB,SAAS,eAAgBN,EAAUJ,EAASW,MAAOR,GAAM,EAOjE,OAJAS,EAAAA,EAAAA,KAAY,KACVV,EAASH,EAAaY,MAAM,IAGvB,CACLtB,UACAH,QAEJ,G,UC5CF,MAAM2B,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://miriamgemeinde/./src/content/admin/PagePreviewComponent.vue","webpack://miriamgemeinde/./src/content/admin/PagePreviewComponent.vue?4023"],"sourcesContent":["<template>\n <div>\n <div class=\"previewinfo\">Dies ist eine Vorschau.</div>\n <h1>{{ title }}</h1>\n <RenderContentComponent :content=\"content\" />\n </div>\n</template>\n\n<script>\nimport { computed, watchEffect } from 'vue';\nimport { useStore } from 'vuex';\nimport RenderContentComponent from '@/components/RenderContentComponent.vue';\n\nexport default {\n name: 'PagePreview',\n components: {\n RenderContentComponent\n },\n setup() {\n const store = useStore();\n const content = computed(() => store.state.pageContent);\n const selectedPage = computed(() => store.state.selectedPage);\n const menuData = computed(() => store.state.menuData);\n const title = computed(() => store.state.pageTitle);\n\n const setTitle = (link) => {\n const findTitle = (menuItems, link) => {\n for (const item of menuItems) {\n if (item.link === link) {\n return item.pageTitle || item.name;\n }\n if (item.submenu && item.submenu.length > 0) {\n const found = findTitle(item.submenu, link);\n if (found) {\n return found;\n }\n }\n }\n return '';\n };\n store.dispatch('setPageTitle', findTitle(menuData.value, link));\n };\n\n watchEffect(() => {\n setTitle(selectedPage.value);\n });\n\n return {\n content,\n title\n };\n }\n};\n</script>\n\n<style scoped>\n.previewinfo {\n background-color: black;\n color: #d00000;\n position: absolute;\n top: 93px;\n left: 0;\n padding: 2px 10px;\n font-weight: bold;\n}\n</style>\n","import { render } from \"./PagePreviewComponent.vue?vue&type=template&id=9a71cbf6&scoped=true\"\nimport script from \"./PagePreviewComponent.vue?vue&type=script&lang=js\"\nexport * from \"./PagePreviewComponent.vue?vue&type=script&lang=js\"\n\nimport \"./PagePreviewComponent.vue?vue&type=style&index=0&id=9a71cbf6&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9a71cbf6\"]])\n\nexport default __exports__"],"names":["_createElementVNode","class","_createElementBlock","_hoisted_1","_toDisplayString","$setup","title","_createVNode","_component_RenderContentComponent","content","name","components","RenderContentComponent","setup","store","useStore","computed","state","pageContent","selectedPage","menuData","pageTitle","setTitle","link","findTitle","menuItems","item","submenu","length","found","dispatch","value","watchEffect","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[2353],{2353:function(e,l,a){a.r(l),a.d(l,{default:function(){return F}});var i=a(6768),t=a(5688),n=a(5187);const o=e=>((0,i.Qi)("data-v-f2694614"),e=e(),(0,i.jt)(),e),d={class:"upload-files"},r=o((()=>(0,i.Lk)("h2",null,"Dateien hochladen",-1))),s=o((()=>(0,i.Lk)("label",{for:"file-upload"},"Datei auswählen:",-1))),u=o((()=>(0,i.Lk)("label",{for:"file-title"},"Titel eingeben:",-1))),c={class:"file-list"},p={class:"file-info"},f=["onClick"],h=["onClick"],m={class:"file-date"};function k(e,l,a,o,k,v){return(0,i.uX)(),(0,i.CE)("div",d,[r,(0,i.Lk)("div",null,[s,(0,i.Lk)("input",{id:"file-upload",type:"file",onChange:l[0]||(l[0]=(...e)=>o.handleFileUpload&&o.handleFileUpload(...e))},null,32)]),(0,i.Lk)("div",null,[u,(0,i.bo)((0,i.Lk)("input",{id:"file-title",type:"text","onUpdate:modelValue":l[1]||(l[1]=e=>o.fileTitle=e)},null,512),[[t.Jo,o.fileTitle]])]),(0,i.Lk)("button",{onClick:l[2]||(l[2]=(...e)=>o.uploadFiles&&o.uploadFiles(...e))},"Hochladen"),(0,i.Lk)("ul",c,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(o.uploadedFiles,(e=>((0,i.uX)(),(0,i.CE)("li",{key:e.id},[(0,i.Lk)("div",p,[(0,i.Lk)("span",{class:"file-title",onClick:l=>o.downloadFile(e)},(0,n.v_)(e.title),9,f),(0,i.Lk)("span",{class:"file-name",onClick:l=>o.downloadFile(e)},(0,n.v_)(e.originalName),9,h),(0,i.Lk)("span",m,(0,n.v_)(o.formatDate(e.createdAt)),1)])])))),128))])])}a(4114),a(4603),a(7566),a(8721);var v=a(1798),w=a(3173),L={name:"UploadFilesComponent",setup(){const e=(0,v.KR)(null),l=(0,v.KR)(""),a=(0,v.KR)([]),t=l=>{e.value=l.target.files[0]},n=async()=>{if(!e.value||!l.value)return void alert("Bitte wählen Sie eine Datei aus und geben Sie einen Titel ein.");const i=new FormData;i.append("file",e.value),i.append("title",l.value);try{const t=await w.A.post("/files",i,{headers:{"Content-Type":"multipart/form-data"}}),n=t.data;a.value.push({id:n.id,title:n.title,originalName:n.originalName,createdAt:n.createdAt,hash:n.hash}),e.value=null,l.value=""}catch(t){console.error("Fehler beim Hochladen der Datei:",t)}},o=async e=>{const l=e.originalName.substring(e.originalName.lastIndexOf(".")),a=await w.A.get(`/files/download/${e.hash}`,{responseType:"blob"}),i=new Blob([a.data],{type:a.data.type}),t=document.createElement("a");t.href=window.URL.createObjectURL(i),t.download=`${e.title}${l}`,t.click(),window.URL.revokeObjectURL(t.href)},d=e=>{const l={year:"numeric",month:"long",day:"numeric"};return new Date(e).toLocaleDateString(void 0,l)},r=async()=>{try{const e=await w.A.get("/files");a.value=e.data}catch(e){console.error("Fehler beim Abrufen der Dateien:",e)}};return(0,i.sV)(r),{fileToUpload:e,fileTitle:l,uploadedFiles:a,handleFileUpload:t,uploadFiles:n,downloadFile:o,formatDate:d}}},b=a(1241);const g=(0,b.A)(L,[["render",k],["__scopeId","data-v-f2694614"]]);var F=g}}]);
//# sourceMappingURL=2353.49689b39.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[2452],{2452:function(n,e,t){t.r(e),t.d(e,{default:function(){return m}});var u=t(6768);const r=(0,u.Lk)("h2",null,null,-1),i=[r];function a(n,e,t,r,a,c){return(0,u.uX)(),(0,u.CE)("div",null,i)}var c={name:"ContactsContent"},l=t(1241);const s=(0,l.A)(c,[["render",a]]);var m=s}}]);
//# sourceMappingURL=2452.b6b34976.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/2452.b6b34976.js","mappings":"gMAEMA,EAAAA,EAAAA,IAAS,mB,GAATC,G,0CADFC,EAAAA,EAAAA,IAEM,WAHVC,E,CAOE,OACEC,KAAM,mB,UCHV,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://miriamgemeinde/./src/content/ContactsContent.vue","webpack://miriamgemeinde/./src/content/ContactsContent.vue?f269"],"sourcesContent":["<template>\n <div>\n <h2></h2>\n </div>\n </template>\n \n <script>\n export default {\n name: 'ContactsContent',\n };\n </script>\n ","import { render } from \"./ContactsContent.vue?vue&type=template&id=87c5f460\"\nimport script from \"./ContactsContent.vue?vue&type=script&lang=js\"\nexport * from \"./ContactsContent.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createElementVNode","_hoisted_1","_createElementBlock","_hoisted_2","name","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[2463],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},967:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=2463.23ea5dc5.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[2607],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},919:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=2607.e94b0cf6.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[2809],{2809:function(e,t,a){a.r(t),a.d(t,{default:function(){return d}});var n=a(6768);const u={class:"right-column"},r=["src"];function m(e,t,a,m,i,s){return(0,n.uX)(),(0,n.CE)("div",u,[(0,n.Lk)("img",{src:i.currentImage,alt:"Cross"},null,8,r)])}var i=a(782),s={name:"ImageContent",data(){return{defaultImage:"/images/homepage1.png",currentImage:"/images/homepage1.png"}},computed:{...(0,i.aH)(["menuData"])},watch:{$route:{immediate:!0,handler(){this.updateImage()}}},methods:{updateImage(){const e=this.$route.path,t=this.menuData,a=this.findMenuItemByPath(t,e);a&&a.image?this.currentImage=`/images/${a.image}`:this.currentImage=this.defaultImage},findMenuItemByPath(e,t){for(let a of e){if(a.link===t)return a;if(a.submenu){const e=this.findMenuItemByPath(a.submenu,t);if(e)return e}}return null}}},c=a(1241);const g=(0,c.A)(s,[["render",m],["__scopeId","data-v-12df4c86"]]);var d=g}}]);
//# sourceMappingURL=2809.a612bbeb.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/2809.a612bbeb.js","mappings":"gMACOA,MAAM,gB,EADb,Q,0CACEC,EAAAA,EAAAA,IAEM,MAFNC,EAEM,EADJC,EAAAA,EAAAA,IAAuC,OAAjCC,IAAKC,EAAAC,aAAcC,IAAI,S,OAFjCC,I,cASA,GACEC,KAAM,eACNC,IAAAA,GACE,MAAO,CACLC,aAAc,wBACdL,aAAc,wBAElB,EACAM,SAAU,KACLC,EAAAA,EAAAA,IAAS,CAAC,cAEfC,MAAO,CACLC,OAAQ,CACNC,WAAW,EACXC,OAAAA,GACEC,KAAKC,aACP,IAGJC,QAAS,CACPD,WAAAA,GACE,MAAME,EAAYH,KAAKH,OAAOO,KACxBC,EAAWL,KAAKK,SAChBC,EAAWN,KAAKO,mBAAmBF,EAAUF,GAC/CG,GAAYA,EAASE,MACvBR,KAAKZ,aAAe,WAAWkB,EAASE,QAExCR,KAAKZ,aAAeY,KAAKP,YAE7B,EACAc,kBAAAA,CAAmBE,EAAML,GACvB,IAAK,IAAIM,KAAQD,EAAM,CACrB,GAAIC,EAAKC,OAASP,EAChB,OAAOM,EAET,GAAIA,EAAKE,QAAS,CAChB,MAAMC,EAAUb,KAAKO,mBAAmBG,EAAKE,QAASR,GACtD,GAAIS,EACF,OAAOA,CAEX,CACF,CACA,OAAO,IACT,I,UC7CJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://miriamgemeinde/./src/content/ImageContent.vue","webpack://miriamgemeinde/./src/content/ImageContent.vue?ee30"],"sourcesContent":["<template>\n <div class=\"right-column\">\n <img :src=\"currentImage\" alt=\"Cross\" />\n </div>\n</template>\n\n<script>\nimport { mapState } from 'vuex';\n\nexport default {\n name: 'ImageContent',\n data() {\n return {\n defaultImage: '/images/homepage1.png',\n currentImage: '/images/homepage1.png'\n };\n },\n computed: {\n ...mapState(['menuData']),\n },\n watch: {\n $route: {\n immediate: true,\n handler() {\n this.updateImage();\n }\n }\n },\n methods: {\n updateImage() {\n const routePath = this.$route.path;\n const menuData = this.menuData;\n const menuItem = this.findMenuItemByPath(menuData, routePath);\n if (menuItem && menuItem.image) {\n this.currentImage = `/images/${menuItem.image}`;\n } else {\n this.currentImage = this.defaultImage;\n }\n },\n findMenuItemByPath(menu, path) {\n for (let item of menu) {\n if (item.link === path) {\n return item;\n }\n if (item.submenu) {\n const subItem = this.findMenuItemByPath(item.submenu, path);\n if (subItem) {\n return subItem;\n }\n }\n }\n return null;\n }\n }\n};\n</script>\n\n<style scoped>\n.right-column {\n background-color: #d9e2f3;\n}\n\n.right-column h2 {\n text-align: center;\n color: #000;\n}\n\n.right-column img {\n display: block;\n margin: 0 auto;\n max-width: 100%;\n height: auto;\n}\n</style>\n","import { render } from \"./ImageContent.vue?vue&type=template&id=12df4c86&scoped=true\"\nimport script from \"./ImageContent.vue?vue&type=script&lang=js\"\nexport * from \"./ImageContent.vue?vue&type=script&lang=js\"\n\nimport \"./ImageContent.vue?vue&type=style&index=0&id=12df4c86&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-12df4c86\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_createElementVNode","src","$data","currentImage","alt","_hoisted_2","name","data","defaultImage","computed","mapState","watch","$route","immediate","handler","this","updateImage","methods","routePath","path","menuData","menuItem","findMenuItemByPath","image","menu","item","link","submenu","subItem","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[3214],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},9516:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=3214.c5de0b44.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[3353],{3353:function(t,i,e){e.r(i),e.d(i,{default:function(){return w}});var n=e(6768),o=e(5688),s=e(5187);const l=t=>((0,n.Qi)("data-v-1684a375"),t=t(),(0,n.jt)(),t),a={class:"position-management"},d=l((()=>(0,n.Lk)("h2",null,"Verwalten der Rollen",-1))),u=l((()=>(0,n.Lk)("label",{for:"caption"},"Rollenbezeichnung:",-1))),c=l((()=>(0,n.Lk)("button",{type:"submit"},"Speichern",-1))),h=l((()=>(0,n.Lk)("thead",null,[(0,n.Lk)("tr",null,[(0,n.Lk)("th",null,"Rollenbezeichnung"),(0,n.Lk)("th",null,"Bearbeiten"),(0,n.Lk)("th",null,"Löschen")])],-1))),r=["onClick"],p=["onClick"];function k(t,i,e,l,k,P){return(0,n.uX)(),(0,n.CE)("div",a,[d,(0,n.Lk)("form",{onSubmit:i[2]||(i[2]=(0,o.D$)(((...t)=>P.addPosition&&P.addPosition(...t)),["prevent"]))},[u,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"caption","onUpdate:modelValue":i[0]||(i[0]=t=>k.newPosition.caption=t),placeholder:"Rollenbezeichnung",required:""},null,512),[[o.Jo,k.newPosition.caption]]),c,k.editMode?((0,n.uX)(),(0,n.CE)("button",{key:0,type:"button",onClick:i[1]||(i[1]=(...t)=>P.resetForm&&P.resetForm(...t))},"Neue Rolle erstellen")):(0,n.Q3)("",!0)],32),(0,n.Lk)("table",null,[h,(0,n.Lk)("tbody",null,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(k.positions,(t=>((0,n.uX)(),(0,n.CE)("tr",{key:t.id},[(0,n.Lk)("td",null,(0,s.v_)(t.caption),1),(0,n.Lk)("td",null,[(0,n.Lk)("button",{onClick:i=>P.editPosition(t)},"Bearbeiten",8,r)]),(0,n.Lk)("td",null,[(0,n.Lk)("button",{onClick:i=>P.deletePosition(t.id)},"Löschen",8,p)])])))),128))])])])}e(4114);var P=e(4373),L={data(){return{positions:[],newPosition:{caption:""},editMode:!1,editId:null}},methods:{async fetchPositions(){const t=await P.A.get("/positions");this.positions=t.data},async addPosition(){if(this.editMode)await P.A.put(`/positions/${this.editId}`,this.newPosition);else{const t=await P.A.post("/positions",this.newPosition);this.positions.push(t.data)}this.resetForm(),await this.fetchPositions()},async updatePosition(t){await P.A.put(`/positions/${t.id}`,t),this.fetchPositions()},async deletePosition(t){await P.A.delete(`/positions/${t}`),this.fetchPositions()},editPosition(t){this.newPosition={...t},this.editMode=!0,this.editId=t.id},resetForm(){this.newPosition={caption:""},this.editMode=!1,this.editId=null}},created(){this.fetchPositions()}},b=e(1241);const m=(0,b.A)(L,[["render",k],["__scopeId","data-v-1684a375"]]);var w=m}}]);
//# sourceMappingURL=3353.e33f7cc7.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[3484,7382],{7382:function(e,o,a){a.r(o),a.d(o,{default:function(){return g}});var i=a(6768),l=a(5187);const t={key:0,class:"dialog-overlay"},s={class:"dialog"};function n(e,o,a,n,r,d){return a.modelValue?((0,i.uX)(),(0,i.CE)("div",t,[(0,i.Lk)("div",s,[(0,i.Lk)("h2",null,(0,l.v_)(a.title),1),(0,i.Lk)("p",null,(0,l.v_)(a.message),1),(0,i.Lk)("button",{onClick:o[0]||(o[0]=(...e)=>d.closeDialog&&d.closeDialog(...e))},"OK")])])):(0,i.Q3)("",!0)}var r={name:"DialogComponent",props:{title:{type:String,required:!0},message:{type:String,required:!0},modelValue:{type:Boolean,default:!1}},methods:{closeDialog(){this.$emit("update:modelValue",!1),this.$emit("close")}}},d=a(1241);const u=(0,d.A)(r,[["render",n],["__scopeId","data-v-21ade8c0"]]);var g=u},3484:function(e,o,a){a.r(o),a.d(o,{default:function(){return L}});var i=a(6768),l=a(5688);const t=e=>((0,i.Qi)("data-v-40a158c0"),e=e(),(0,i.jt)(),e),s={class:"login"},n=t((()=>(0,i.Lk)("h2",null,"Login",-1))),r=t((()=>(0,i.Lk)("label",{for:"email"},"Email-Adresse:",-1))),d=t((()=>(0,i.Lk)("label",{for:"password"},"Passwort:",-1))),u=t((()=>(0,i.Lk)("button",{type:"submit"},"Login",-1)));function g(e,o,a,t,g,m){const p=(0,i.g2)("router-link"),c=(0,i.g2)("DialogComponent");return(0,i.uX)(),(0,i.CE)("div",s,[n,(0,i.Lk)("form",{onSubmit:o[2]||(o[2]=(0,l.D$)(((...e)=>m.runLogin&&m.runLogin(...e)),["prevent"]))},[r,(0,i.bo)((0,i.Lk)("input",{type:"email",id:"email","onUpdate:modelValue":o[0]||(o[0]=e=>g.email=e),required:""},null,512),[[l.Jo,g.email]]),d,(0,i.bo)((0,i.Lk)("input",{type:"password",id:"password","onUpdate:modelValue":o[1]||(o[1]=e=>g.password=e),required:""},null,512),[[l.Jo,g.password]]),u],32),(0,i.Lk)("p",null,[(0,i.bF)(p,{to:"/register"},{default:(0,i.k6)((()=>[(0,i.eW)("Registrieren")])),_:1})]),(0,i.Lk)("p",null,[(0,i.bF)(p,{to:"/forgot-password"},{default:(0,i.k6)((()=>[(0,i.eW)("Passwort vergessen?")])),_:1})]),(0,i.bF)(c,{title:g.dialogTitle,message:g.dialogMessage,modelValue:g.dialogVisible,"onUpdate:modelValue":o[3]||(o[3]=e=>g.dialogVisible=e),onClose:m.closeDialog},null,8,["title","message","modelValue","onClose"])])}a(4114);var m=a(4373),p=a(7382),c=a(782),h={name:"LoginComponent",components:{DialogComponent:p["default"]},data(){return{email:"",password:"",dialogTitle:"",dialogMessage:"",dialogVisible:!1}},methods:{...(0,c.i0)(["login"]),async runLogin(){try{const e=await m.A.post("/auth/login",{email:this.email,password:this.password}),o=e.data.token,a=e.data;localStorage.setItem("token",o),this.login(a.user),m.A.defaults.headers.common["Authorization"]=`Bearer ${o}`,this.$router.push("/admin/index")}catch(e){e.response?this.showDialog("Fehler",e.response.data.message):this.showDialog("Ein Fehler ist aufgetreten",e.message)}},showDialog(e,o){this.dialogTitle=e,this.dialogMessage=o,this.dialogVisible=!0},closeDialog(){this.dialogVisible=!1}}},k=a(1241);const f=(0,k.A)(h,[["render",g],["__scopeId","data-v-40a158c0"]]);var L=f}}]);
//# sourceMappingURL=3484.4a9b16f5.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[3550],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},2700:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=3550.354e24f7.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[3715],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},8747:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"KitaAmBuegel",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=3715.3b4a12bd.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[4039],{4039:function(e,n,t){t.r(n),t.d(n,{default:function(){return m}});var i=t(6768);const r=e=>((0,i.Qi)("data-v-334e7b82"),e=e(),(0,i.jt)(),e),u=r((()=>(0,i.Lk)("h1",null,"Seite existiert nicht",-1))),a=r((()=>(0,i.Lk)("p",null,"Leider existiert die aufgerufene Seite nicht.",-1))),c=[u,a];function d(e,n,t,r,u,a){return(0,i.uX)(),(0,i.CE)("div",null,c)}var l={name:"DefaultComponent"},s=t(1241);const f=(0,s.A)(l,[["render",d],["__scopeId","data-v-334e7b82"]]);var m=f}}]);
//# sourceMappingURL=4039.c58e9118.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/4039.c58e9118.js","mappings":"6PAEMA,EAAAA,EAAAA,IAA8B,UAA1B,yBAAqB,K,UACzBA,EAAAA,EAAAA,IAAoD,SAAjD,iDAA6C,K,GADhDC,EACAC,G,0CAFFC,EAAAA,EAAAA,IAGM,WAJVC,E,CAQE,OACEC,KAAM,oB,UCFV,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://miriamgemeinde/./src/content/DefaultComponent.vue","webpack://miriamgemeinde/./src/content/DefaultComponent.vue?e630"],"sourcesContent":["<template>\n <div>\n <h1>Seite existiert nicht</h1>\n <p>Leider existiert die aufgerufene Seite nicht.</p>\n </div>\n </template>\n \n <script>\n export default {\n name: 'DefaultComponent'\n };\n </script>\n \n <style scoped>\n div {\n padding: 20px;\n }\n </style>\n ","import { render } from \"./DefaultComponent.vue?vue&type=template&id=334e7b82&scoped=true\"\nimport script from \"./DefaultComponent.vue?vue&type=script&lang=js\"\nexport * from \"./DefaultComponent.vue?vue&type=script&lang=js\"\n\nimport \"./DefaultComponent.vue?vue&type=style&index=0&id=334e7b82&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-334e7b82\"]])\n\nexport default __exports__"],"names":["_createElementVNode","_hoisted_1","_hoisted_2","_createElementBlock","_hoisted_3","name","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[466],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},7232:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=466.8dbaae3d.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[4765],{4765:function(t,e,i){i.r(e),i.d(e,{default:function(){return x}});var n=i(6768),o=i(5688),a=i(5187);const s=t=>((0,n.Qi)("data-v-ff992c44"),t=t(),(0,n.jt)(),t),u={class:"institution-management"},l=s((()=>(0,n.Lk)("h2",null,"Institutionenverwaltung",-1))),r=s((()=>(0,n.Lk)("label",{for:"name"},"Name:",-1))),d=s((()=>(0,n.Lk)("label",{for:"street"},"Straße:",-1))),c=s((()=>(0,n.Lk)("label",{for:"zipcode"},"PLZ:",-1))),h=s((()=>(0,n.Lk)("label",{for:"city"},"Stadt:",-1))),m=s((()=>(0,n.Lk)("label",{for:"phone"},"Telefon:",-1))),p=s((()=>(0,n.Lk)("label",{for:"fax"},"Fax:",-1))),k=s((()=>(0,n.Lk)("label",{for:"email"},"Email:",-1))),f=s((()=>(0,n.Lk)("button",{type:"submit"},"Speichern",-1))),b=s((()=>(0,n.Lk)("thead",null,[(0,n.Lk)("tr",null,[(0,n.Lk)("th",null,"Name"),(0,n.Lk)("th",null,"Bearbeiten"),(0,n.Lk)("th",null,"Löschen")])],-1))),L=["onClick"],y=["onClick"];function I(t,e,i,s,I,D){return(0,n.uX)(),(0,n.CE)("div",u,[l,(0,n.Lk)("form",{onSubmit:e[8]||(e[8]=(0,o.D$)(((...t)=>D.saveInstitution&&D.saveInstitution(...t)),["prevent"]))},[r,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"name","onUpdate:modelValue":e[0]||(e[0]=t=>I.institutionData.name=t),required:""},null,512),[[o.Jo,I.institutionData.name]]),d,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"street","onUpdate:modelValue":e[1]||(e[1]=t=>I.institutionData.street=t)},null,512),[[o.Jo,I.institutionData.street]]),c,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"zipcode","onUpdate:modelValue":e[2]||(e[2]=t=>I.institutionData.zipcode=t)},null,512),[[o.Jo,I.institutionData.zipcode]]),h,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"city","onUpdate:modelValue":e[3]||(e[3]=t=>I.institutionData.city=t)},null,512),[[o.Jo,I.institutionData.city]]),m,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"phone","onUpdate:modelValue":e[4]||(e[4]=t=>I.institutionData.phone=t)},null,512),[[o.Jo,I.institutionData.phone]]),p,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"fax","onUpdate:modelValue":e[5]||(e[5]=t=>I.institutionData.fax=t)},null,512),[[o.Jo,I.institutionData.fax]]),k,(0,n.bo)((0,n.Lk)("input",{type:"email",id:"email","onUpdate:modelValue":e[6]||(e[6]=t=>I.institutionData.email=t)},null,512),[[o.Jo,I.institutionData.email]]),f,I.editMode?((0,n.uX)(),(0,n.CE)("button",{key:0,type:"button",onClick:e[7]||(e[7]=(...t)=>D.resetForm&&D.resetForm(...t))},"Neue Institution erstellen")):(0,n.Q3)("",!0)],32),(0,n.Lk)("table",null,[b,(0,n.Lk)("tbody",null,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(I.institutions,(t=>((0,n.uX)(),(0,n.CE)("tr",{key:t.id},[(0,n.Lk)("td",null,(0,a.v_)(t.name),1),(0,n.Lk)("td",null,[(0,n.Lk)("button",{onClick:e=>D.editInstitution(t)},"Bearbeiten",8,L)]),(0,n.Lk)("td",null,[(0,n.Lk)("button",{onClick:e=>D.deleteInstitution(t.id)},"Löschen",8,y)])])))),128))])])])}i(4114);var D=i(4373),F={name:"InstitutionManagement",data(){return{institutions:[],contactPersons:[],institutionData:{name:"",street:"",zipcode:"",city:"",phone:"",fax:"",email:""},selectedInstitution:null,showForm:!1,editMode:!1,editId:null}},created(){this.fetchInstitutions(),this.fetchContactPersons()},methods:{async fetchInstitutions(){try{const t=await D.A.get("/institutions");this.institutions=t.data}catch(t){console.error("Fehler beim Abrufen der Institutionen:",t)}},async fetchContactPersons(){try{const t=await D.A.get("/contact-persons");this.contactPersons=t.data}catch(t){console.error("Fehler beim Abrufen der Kontaktpersonen:",t)}},async saveInstitution(){try{if(this.editMode)await D.A.put(`/institutions/${this.editId}`,this.institutionData);else{const t=await D.A.post("/institutions",this.institutionData);this.institutions.push(t.data)}this.resetForm(),await this.fetchInstitutions()}catch(t){console.error("Fehler beim Speichern der Institution:",t)}},editInstitution(t){this.institutionData={...t},this.editMode=!0,this.editId=t.id,this.showForm=!0},async deleteInstitution(t){try{await D.A.delete(`/institutions/${t}`),this.fetchInstitutions()}catch(e){console.error("Fehler beim Löschen der Institution:",e)}},resetForm(){this.institutionData={name:"",street:"",zipcode:"",city:"",phone:"",fax:"",email:""},this.editMode=!1,this.editId=null,this.showForm=!1},showCreateForm(){this.resetForm(),this.showForm=!0}}},w=i(1241);const C=(0,w.A)(F,[["render",I],["__scopeId","data-v-ff992c44"]]);var x=C}}]);
//# sourceMappingURL=4765.8a60700e.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[480],{480:function(e,n,t){t.r(n),t.d(n,{default:function(){return k}});var u=t(6768),a=t(5187);const i=e=>((0,u.Qi)("data-v-68b32234"),e=e(),(0,u.jt)(),e),l=i((()=>(0,u.Lk)("h1",null,"Seitenpflege",-1))),r=i((()=>(0,u.Lk)("p",null,"Herzlich Willkommen. Auf diesen Seiten können Sie die Inhalte der Webseiten pflegen.",-1)));function d(e,n,t,i,d,m){const o=(0,u.g2)("router-link");return(0,u.uX)(),(0,u.CE)("div",null,[l,r,(0,u.Lk)("ul",null,[((0,u.uX)(!0),(0,u.CE)(u.FK,null,(0,u.pI)(i.adminSubmenu,(e=>((0,u.uX)(),(0,u.CE)("li",{key:e.id},[(0,u.bF)(o,{to:e.link},{default:(0,u.k6)((()=>[(0,u.eW)((0,a.v_)(e.name),1)])),_:2},1032,["to"])])))),128))])])}var m=t(3173),o=t(1798),s={name:"DefaultComponent",setup(){const e=(0,o.KR)([]),n=async()=>{try{const n=await m.A.get("/menu-data"),t=n.data,u=t.find((e=>"Admin"===e.name));u&&(e.value=u.submenu)}catch(n){console.error("Fehler beim Abrufen der Menü-Daten:",n)}};return(0,u.sV)((()=>{n()})),{adminSubmenu:e}}},c=t(1241);const f=(0,c.A)(s,[["render",d],["__scopeId","data-v-68b32234"]]);var k=f}}]);
//# sourceMappingURL=480.72694b33.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/480.72694b33.js","mappings":"qQAEIA,EAAAA,EAAAA,IAAqB,UAAjB,gBAAY,K,UAChBA,EAAAA,EAAAA,IAA2F,SAAxF,wFAAoF,K,0EAFzFC,EAAAA,EAAAA,IAQM,YAPJC,EACAC,GACAH,EAAAA,EAAAA,IAIK,0BAHHC,EAAAA,EAAAA,IAEKG,EAAAA,GAAA,MAPXC,EAAAA,EAAAA,IAKyBC,EAAAC,cAARC,K,WAAXP,EAAAA,EAAAA,IAEK,MAF6BQ,IAAKD,EAAKE,I,EAC1CC,EAAAA,EAAAA,IAA0DC,EAAA,CAA5CC,GAAIL,EAAKM,M,CAN/BC,SAAAC,EAAAA,EAAAA,KAMqC,IAAe,EANpDC,EAAAA,EAAAA,KAAAC,EAAAA,EAAAA,IAMwCV,EAAKW,MAAI,MANjDC,EAAA,G,oDAgBA,GACED,KAAM,mBACNE,KAAAA,GACE,MAAMd,GAAee,EAAAA,EAAAA,IAAI,IAEnBC,EAAgBC,UACpB,IACE,MAAMC,QAAiBC,EAAAA,EAAMC,IAAI,cAC3BC,EAAWH,EAASI,KAGpBC,EAAYF,EAASG,MAAKvB,GAAsB,UAAdA,EAAKW,OACzCW,IACFvB,EAAayB,MAAQF,EAAUG,QAEnC,CAAE,MAAOC,GACPC,QAAQD,MAAM,sCAAuCA,EACvD,GAOF,OAJAE,EAAAA,EAAAA,KAAU,KACRb,GAAe,IAGV,CACLhB,eAEJ,G,UCpCF,MAAM8B,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://miriamgemeinde/./src/content/admin/IndexContent.vue","webpack://miriamgemeinde/./src/content/admin/IndexContent.vue?5c80"],"sourcesContent":["<template>\n <div>\n <h1>Seitenpflege</h1>\n <p>Herzlich Willkommen. Auf diesen Seiten können Sie die Inhalte der Webseiten pflegen.</p>\n <ul>\n <li v-for=\"item in adminSubmenu\" :key=\"item.id\">\n <router-link :to=\"item.link\">{{ item.name }}</router-link>\n </li>\n </ul>\n </div>\n</template>\n\n<script>\nimport axios from \"../../axios\";\nimport { ref, onMounted } from 'vue';\n\nexport default {\n name: 'DefaultComponent',\n setup() {\n const adminSubmenu = ref([]);\n\n const fetchMenuData = async () => {\n try {\n const response = await axios.get('/menu-data');\n const menuData = response.data;\n\n // Suche nach dem Admin-Submenü\n const adminMenu = menuData.find(item => item.name === 'Admin');\n if (adminMenu) {\n adminSubmenu.value = adminMenu.submenu;\n }\n } catch (error) {\n console.error('Fehler beim Abrufen der Menü-Daten:', error);\n }\n };\n\n onMounted(() => {\n fetchMenuData();\n });\n\n return {\n adminSubmenu\n };\n }\n};\n</script>\n\n<style scoped>\ndiv {\n padding: 20px;\n}\n\nul {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\nli {\n padding: 0;\n margin: 0;\n}\n</style>\n","import { render } from \"./IndexContent.vue?vue&type=template&id=68b32234&scoped=true\"\nimport script from \"./IndexContent.vue?vue&type=script&lang=js\"\nexport * from \"./IndexContent.vue?vue&type=script&lang=js\"\n\nimport \"./IndexContent.vue?vue&type=style&index=0&id=68b32234&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-68b32234\"]])\n\nexport default __exports__"],"names":["_createElementVNode","_createElementBlock","_hoisted_1","_hoisted_2","_Fragment","_renderList","$setup","adminSubmenu","item","key","id","_createVNode","_component_router_link","to","link","default","_withCtx","_createTextVNode","_toDisplayString","name","_","setup","ref","fetchMenuData","async","response","axios","get","menuData","data","adminMenu","find","value","submenu","error","console","onMounted","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[4847],{4847:function(n,e,r){r.r(e),r.d(e,{default:function(){return m}});var u=r(6768);const t=(0,u.Lk)("h2",null,null,-1),a=[t];function i(n,e,r,t,i,c){return(0,u.uX)(),(0,u.CE)("div",null,a)}var c={name:"DaycareCentersContent"},l=r(1241);const s=(0,l.A)(c,[["render",i]]);var m=s}}]);
//# sourceMappingURL=4847.5c0de6b4.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/4847.5c0de6b4.js","mappings":"gMAEMA,EAAAA,EAAAA,IAAS,mB,GAATC,G,0CADFC,EAAAA,EAAAA,IAEM,WAHVC,E,CAOE,OACEC,KAAM,yB,UCHV,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://miriamgemeinde/./src/content/OurChurchesContent.vue","webpack://miriamgemeinde/./src/content/OurChurchesContent.vue?0143"],"sourcesContent":["<template>\n <div>\n <h2></h2>\n </div>\n </template>\n \n <script>\n export default {\n name: 'DaycareCentersContent',\n };\n </script>\n ","import { render } from \"./OurChurchesContent.vue?vue&type=template&id=54a317f2\"\nimport script from \"./OurChurchesContent.vue?vue&type=script&lang=js\"\nexport * from \"./OurChurchesContent.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createElementVNode","_hoisted_1","_createElementBlock","_hoisted_2","name","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[4908],{4908:function(e,t,n){n.r(t),n.d(t,{default:function(){return E}});var a=n(6768),i=n(5688),s=n(5187);const p=e=>((0,a.Qi)("data-v-60fe58a4"),e=e(),(0,a.jt)(),e),d={class:"event-types-management"},r=p((()=>(0,a.Lk)("h2",null,"Event-Typen Verwaltung",-1))),o=p((()=>(0,a.Lk)("label",{for:"newEventType"},"Event-Typ:",-1))),v={type:"submit"},y=["onClick"],l=["onClick"];function c(e,t,n,p,c,u){return(0,a.uX)(),(0,a.CE)("div",d,[r,(0,a.Lk)("form",{onSubmit:t[2]||(t[2]=(0,i.D$)(((...e)=>u.saveEventType&&u.saveEventType(...e)),["prevent"]))},[o,(0,a.bo)((0,a.Lk)("input",{type:"text",id:"newEventType","onUpdate:modelValue":t[0]||(t[0]=e=>c.eventTypeData.caption=e),placeholder:"Event-Typ",required:""},null,512),[[i.Jo,c.eventTypeData.caption]]),(0,a.Lk)("button",v,(0,s.v_)(c.editMode?"Aktualisieren":"Hinzufügen"),1),c.editMode?((0,a.uX)(),(0,a.CE)("button",{key:0,type:"button",onClick:t[1]||(t[1]=(...e)=>u.resetForm&&u.resetForm(...e))},"Abbrechen")):(0,a.Q3)("",!0)],32),(0,a.Lk)("table",null,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(c.eventTypes,(e=>((0,a.uX)(),(0,a.CE)("tr",{key:e.id},[(0,a.Lk)("td",null,(0,s.v_)(e.caption),1),(0,a.Lk)("td",null,[(0,a.Lk)("button",{onClick:t=>u.editEventType(e)},"Bearbeiten",8,y)]),(0,a.Lk)("td",null,[(0,a.Lk)("button",{onClick:t=>u.deleteEventType(e.id)},"Löschen",8,l)])])))),128))])])}n(4114);var u=n(4373),h={data(){return{eventTypes:[],eventTypeData:{caption:""},editMode:!1,editId:null}},methods:{async fetchEventTypes(){try{const e=await u.A.get("/event-types");this.eventTypes=e.data}catch(e){console.error("Fehler beim Abrufen der Event-Typen:",e)}},async saveEventType(){try{if(this.editMode)await u.A.put(`/event-types/${this.editId}`,this.eventTypeData);else{const e=await u.A.post("/event-types",this.eventTypeData);this.eventTypes.push(e.data)}this.resetForm(),await this.fetchEventTypes()}catch(e){console.error("Fehler beim Speichern des Event-Typs:",e)}},editEventType(e){this.eventTypeData={...e},this.editMode=!0,this.editId=e.id},async deleteEventType(e){try{await u.A.delete(`/event-types/${e}`),await this.fetchEventTypes()}catch(t){console.error("Fehler beim Löschen des Event-Typs:",t)}},resetForm(){this.eventTypeData={caption:""},this.editMode=!1,this.editId=null}},async created(){await this.fetchEventTypes()}},T=n(1241);const k=(0,T.A)(h,[["render",c],["__scopeId","data-v-60fe58a4"]]);var E=k}}]);
//# sourceMappingURL=4908.e90b483e.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[5108],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},8438:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=5108.2a47f738.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[5625],{5625:function(e,t,i){i.r(t),i.d(t,{default:function(){return f}});var s=i(6768),a=i(5688);const o=e=>((0,s.Qi)("data-v-182f8976"),e=e(),(0,s.jt)(),e),r={class:"register"},l=o((()=>(0,s.Lk)("h2",null,"Registrieren",-1))),n=o((()=>(0,s.Lk)("label",{for:"name"},"Name:",-1))),d=o((()=>(0,s.Lk)("label",{for:"email"},"Email-Adresse:",-1))),m=o((()=>(0,s.Lk)("label",{for:"password"},"Passwort:",-1))),u=o((()=>(0,s.Lk)("button",{type:"submit"},"Registrieren",-1)));function g(e,t,i,o,g,p){const h=(0,s.g2)("router-link");return(0,s.uX)(),(0,s.CE)("div",r,[l,(0,s.Lk)("form",{onSubmit:t[3]||(t[3]=(0,a.D$)(((...e)=>p.register&&p.register(...e)),["prevent"]))},[n,(0,s.bo)((0,s.Lk)("input",{type:"text",id:"name","onUpdate:modelValue":t[0]||(t[0]=e=>g.name=e),required:""},null,512),[[a.Jo,g.name]]),d,(0,s.bo)((0,s.Lk)("input",{type:"email",id:"email","onUpdate:modelValue":t[1]||(t[1]=e=>g.email=e),required:""},null,512),[[a.Jo,g.email]]),m,(0,s.bo)((0,s.Lk)("input",{type:"password",id:"password","onUpdate:modelValue":t[2]||(t[2]=e=>g.password=e),required:""},null,512),[[a.Jo,g.password]]),u],32),(0,s.Lk)("p",null,[(0,s.bF)(h,{to:"/login"},{default:(0,s.k6)((()=>[(0,s.eW)("Login")])),_:1})]),(0,s.Lk)("p",null,[(0,s.bF)(h,{to:"/forgot-password"},{default:(0,s.k6)((()=>[(0,s.eW)("Passwort vergessen?")])),_:1})])])}var p={name:"RegisterComponent",components:{},data(){return{name:"",email:"",password:"",dialogTitle:"",dialogMessage:"",dialogVisible:!1}},methods:{async register(){try{const e=await fetch("http://localhost:3000/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:this.name,email:this.email,password:this.password})});if(e.ok)await e.json(),this.showDialog("Registrierung erfolgreich","Ihr Konto wurde erfolgreich erstellt.");else{const t=await e.json();this.showDialog("Fehler",t.message)}}catch(e){this.showDialog("Ein Fehler ist aufgetreten",e.message)}},showDialog(e,t){this.dialogTitle=e,this.dialogMessage=t,this.dialogVisible=!0}}},h=i(1241);const c=(0,h.A)(p,[["render",g],["__scopeId","data-v-182f8976"]]);var f=c}}]);
//# sourceMappingURL=5625.c1e0961c.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[5697],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},1109:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=5697.eb811050.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[6007],{6007:function(t,e,o){o.r(e),o.d(e,{default:function(){return U}});var n=o(6768),s=o(5187);const a=t=>((0,n.Qi)("data-v-f0b51122"),t=t(),(0,n.jt)(),t),c=a((()=>(0,n.Lk)("h1",null,"Kontaktpersonen Verwaltung",-1))),i=["onClick"];function l(t,e,o,a,l,r){const p=(0,n.g2)("ContactPersonForm");return(0,n.uX)(),(0,n.CE)("div",null,[c,(0,n.bF)(p,{contactPerson:l.selectedContactPerson,positions:l.positions,onContactPersonSaved:r.fetchContactPersons},null,8,["contactPerson","positions","onContactPersonSaved"]),(0,n.Lk)("ul",null,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(l.contactPersons,(t=>((0,n.uX)(),(0,n.CE)("li",{key:t.id,onClick:e=>r.selectContactPerson(t)},(0,s.v_)(t.name),9,i)))),128))])])}var r=o(4373),p=o(5688);const d=t=>((0,n.Qi)("data-v-1c19470f"),t=t(),(0,n.jt)(),t),u={class:"contact-person-form"},m=d((()=>(0,n.Lk)("h2",null,"Kontaktperson Formular",-1))),P=d((()=>(0,n.Lk)("label",{for:"name"},"Name:",-1))),h=d((()=>(0,n.Lk)("label",{for:"phone"},"Telefon:",-1))),C=d((()=>(0,n.Lk)("label",{for:"street"},"Straße:",-1))),k=d((()=>(0,n.Lk)("label",{for:"zipcode"},"PLZ:",-1))),b=d((()=>(0,n.Lk)("label",{for:"city"},"Ort:",-1))),f=d((()=>(0,n.Lk)("label",{for:"email"},"Email:",-1))),y=d((()=>(0,n.Lk)("label",{for:"positions"},"Positionen:",-1))),v=d((()=>(0,n.Lk)("button",{type:"submit"},"Speichern",-1)));function L(t,e,o,s,a,c){const i=(0,n.g2)("multiselect");return(0,n.uX)(),(0,n.CE)("div",u,[m,(0,n.Lk)("form",{onSubmit:e[8]||(e[8]=(0,p.D$)(((...t)=>c.saveContactPerson&&c.saveContactPerson(...t)),["prevent"]))},[P,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"name","onUpdate:modelValue":e[0]||(e[0]=t=>a.localContactPerson.name=t),required:""},null,512),[[p.Jo,a.localContactPerson.name]]),h,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"phone","onUpdate:modelValue":e[1]||(e[1]=t=>a.localContactPerson.phone=t)},null,512),[[p.Jo,a.localContactPerson.phone]]),C,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"street","onUpdate:modelValue":e[2]||(e[2]=t=>a.localContactPerson.street=t)},null,512),[[p.Jo,a.localContactPerson.street]]),k,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"zipcode","onUpdate:modelValue":e[3]||(e[3]=t=>a.localContactPerson.zipcode=t)},null,512),[[p.Jo,a.localContactPerson.zipcode]]),b,(0,n.bo)((0,n.Lk)("input",{type:"text",id:"city","onUpdate:modelValue":e[4]||(e[4]=t=>a.localContactPerson.city=t)},null,512),[[p.Jo,a.localContactPerson.city]]),f,(0,n.bo)((0,n.Lk)("input",{type:"email",id:"email","onUpdate:modelValue":e[5]||(e[5]=t=>a.localContactPerson.email=t)},null,512),[[p.Jo,a.localContactPerson.email]]),y,(0,n.bF)(i,{modelValue:a.selectedPositions,"onUpdate:modelValue":e[6]||(e[6]=t=>a.selectedPositions=t),options:o.positions,multiple:!0,"close-on-select":!1,"clear-on-select":!1,"preserve-search":!0,placeholder:"Wähle einige",label:"caption","track-by":"id","preselect-first":!1},null,8,["modelValue","options"]),v,(0,n.Lk)("button",{type:"button",onClick:e[7]||(e[7]=(...t)=>c.resetForm&&c.resetForm(...t))},"Neue Kontaktperson")],32)])}var F=o(8074),A={name:"ContactPersonForm",components:{Multiselect:F.Ay},props:{contactPerson:{type:Object,default:()=>({name:"",phone:"",street:"",zipcode:"",city:"",email:"",positions:[]})},positions:{type:Array,required:!0}},data(){return{localContactPerson:{...this.contactPerson},selectedPositions:this.contactPerson.positions||[]}},watch:{contactPerson:{handler(t){this.localContactPerson={...t},this.selectedPositions=t.positions||[]},deep:!0,immediate:!0},selectedPositions(t){this.localContactPerson.positions=t}},methods:{async saveContactPerson(){try{const t=this.selectedPositions.map((t=>t.id)),e={...this.localContactPerson,positionIds:t};this.localContactPerson.id?await r.A.put(`/contact-persons/${this.localContactPerson.id}`,e):await r.A.post("/contact-persons",e),this.$emit("contactPersonSaved")}catch(t){console.error("Fehler beim Speichern der Kontaktperson:",t)}},resetForm(){this.localContactPerson={name:"",phone:"",street:"",zipcode:"",city:"",email:"",positions:[]},this.selectedPositions=[]}}},V=o(1241);const g=(0,V.A)(A,[["render",L],["__scopeId","data-v-1c19470f"]]);var w=g,z={name:"ContactPersonManagement",components:{ContactPersonForm:w},data(){return{contactPersons:[],selectedContactPerson:{name:"",phone:"",street:"",zipcode:"",city:"",email:"",positions:[]},positions:[]}},created(){this.fetchContactPersons(),this.fetchPositions()},methods:{async fetchContactPersons(){try{const t=await r.A.get("/contact-persons");this.contactPersons=t.data}catch(t){console.error("Fehler beim Abrufen der Kontaktpersonen:",t)}},async fetchPositions(){try{const t=await r.A.get("/positions");this.positions=t.data}catch(t){console.error("Fehler beim Abrufen der Positionen:",t)}},selectContactPerson(t){this.selectedContactPerson=t}}};const S=(0,V.A)(z,[["render",l],["__scopeId","data-v-f0b51122"]]);var U=S}}]);
//# sourceMappingURL=6007.7dddac38.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[6107],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},2259:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=6107.facac1f8.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[7008],{7008:function(n,e,r){r.r(e),r.d(e,{default:function(){return m}});var u=r(6768);const t=(0,u.Lk)("h2",null,null,-1),a=[t];function i(n,e,r,t,i,c){return(0,u.uX)(),(0,u.CE)("div",null,a)}var c={name:"DaycareCentersContent"},l=r(1241);const s=(0,l.A)(c,[["render",i]]);var m=s}}]);
//# sourceMappingURL=7008.0d83e4f4.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/7008.0d83e4f4.js","mappings":"gMAEMA,EAAAA,EAAAA,IAAS,mB,GAATC,G,0CADFC,EAAAA,EAAAA,IAEM,WAHVC,E,CAOE,OACEC,KAAM,yB,UCHV,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://miriamgemeinde/./src/content/DaycareCentersContent.vue","webpack://miriamgemeinde/./src/content/DaycareCentersContent.vue?5586"],"sourcesContent":["<template>\n <div>\n <h2></h2>\n </div>\n </template>\n \n <script>\n export default {\n name: 'DaycareCentersContent',\n };\n </script>\n ","import { render } from \"./DaycareCentersContent.vue?vue&type=template&id=3df03ad4\"\nimport script from \"./DaycareCentersContent.vue?vue&type=script&lang=js\"\nexport * from \"./DaycareCentersContent.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createElementVNode","_hoisted_1","_createElementBlock","_hoisted_2","name","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[7120],{7120:function(n,e,r){r.r(e),r.d(e,{default:function(){return d}});var i=r(6768);const u=(0,i.Lk)("h2",null,"Miriams Wunderkiste",-1),t=[u];function a(n,e,r,u,a,s){return(0,i.uX)(),(0,i.CE)("div",null,t)}var s={name:"MiriamsWonderboxContent"},m=r(1241);const c=(0,m.A)(s,[["render",a]]);var d=c}}]);
//# sourceMappingURL=7120.84da16bb.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/7120.84da16bb.js","mappings":"gMAEIA,EAAAA,EAAAA,IAA4B,UAAxB,uBAAmB,G,GAAvBC,G,0CADFC,EAAAA,EAAAA,IAEM,WAHRC,E,CAOA,OACEC,KAAM,2B,UCHR,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://miriamgemeinde/./src/content/MiriamsWonderboxContent.vue","webpack://miriamgemeinde/./src/content/MiriamsWonderboxContent.vue?fbd9"],"sourcesContent":["<template>\n <div>\n <h2>Miriams Wunderkiste</h2>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'MiriamsWonderboxContent',\n};\n</script>","import { render } from \"./MiriamsWonderboxContent.vue?vue&type=template&id=337ce6d1\"\nimport script from \"./MiriamsWonderboxContent.vue?vue&type=script&lang=js\"\nexport * from \"./MiriamsWonderboxContent.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createElementVNode","_hoisted_1","_createElementBlock","_hoisted_2","name","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[7158],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},4116:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=7158.b45849ac.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[7361],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},5669:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=7361.210695ca.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[7382],{7382:function(e,l,t){t.r(l),t.d(l,{default:function(){return c}});var a=t(6768),i=t(5187);const o={key:0,class:"dialog-overlay"},n={class:"dialog"};function s(e,l,t,s,r,u){return t.modelValue?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.Lk)("div",n,[(0,a.Lk)("h2",null,(0,i.v_)(t.title),1),(0,a.Lk)("p",null,(0,i.v_)(t.message),1),(0,a.Lk)("button",{onClick:l[0]||(l[0]=(...e)=>u.closeDialog&&u.closeDialog(...e))},"OK")])])):(0,a.Q3)("",!0)}var r={name:"DialogComponent",props:{title:{type:String,required:!0},message:{type:String,required:!0},modelValue:{type:Boolean,default:!1}},methods:{closeDialog(){this.$emit("update:modelValue",!1),this.$emit("close")}}},u=t(1241);const d=(0,u.A)(r,[["render",s],["__scopeId","data-v-21ade8c0"]]);var c=d}}]);
//# sourceMappingURL=7382.4ca8ff1c.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/7382.4ca8ff1c.js","mappings":"0MAAAA,IAAA,EAC2BC,MAAM,kB,GACtBA,MAAM,U,+BADFC,EAAAC,aAAU,WAArBC,EAAAA,EAAAA,IAMM,MANNC,EAMM,EALJC,EAAAA,EAAAA,IAIM,MAJNC,EAIM,EAHJD,EAAAA,EAAAA,IAAoB,WAAAE,EAAAA,EAAAA,IAAbN,EAAAO,OAAK,IACZH,EAAAA,EAAAA,IAAoB,UAAAE,EAAAA,EAAAA,IAAdN,EAAAQ,SAAO,IACbJ,EAAAA,EAAAA,IAAwC,UAA/BK,QAAKC,EAAA,KAAAA,EAAA,OAAAC,IAAEC,EAAAC,aAAAD,EAAAC,eAAAF,KAAa,YALrCG,EAAAA,EAAAA,IAAA,M,CAWE,OACEC,KAAM,kBACNC,MAAO,CACLT,MAAO,CACLU,KAAMC,OACNC,UAAU,GAEZX,QAAS,CACPS,KAAMC,OACNC,UAAU,GAEZlB,WAAY,CACVgB,KAAMG,QACNC,SAAS,IAGbC,QAAS,CACPT,WAAAA,GACEU,KAAKC,MAAM,qBAAqB,GAChCD,KAAKC,MAAM,QACb,I,UCxBN,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://miriamgemeinde/./src/common/components/DialogComponent.vue","webpack://miriamgemeinde/./src/common/components/DialogComponent.vue?92fc"],"sourcesContent":["<template>\n <div v-if=\"modelValue\" class=\"dialog-overlay\">\n <div class=\"dialog\">\n <h2>{{ title }}</h2>\n <p>{{ message }}</p>\n <button @click=\"closeDialog\">OK</button>\n </div>\n </div>\n </template>\n \n <script>\n export default {\n name: 'DialogComponent',\n props: {\n title: {\n type: String,\n required: true\n },\n message: {\n type: String,\n required: true\n },\n modelValue: {\n type: Boolean,\n default: false\n }\n },\n methods: {\n closeDialog() {\n this.$emit('update:modelValue', false);\n this.$emit('close');\n }\n }\n };\n </script>\n \n <style scoped>\n .dialog-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .dialog {\n background: white;\n padding: 20px;\n border-radius: 5px;\n max-width: 400px;\n width: 100%;\n text-align: center;\n }\n \n button {\n margin-top: 20px;\n }\n </style>\n ","import { render } from \"./DialogComponent.vue?vue&type=template&id=21ade8c0&scoped=true\"\nimport script from \"./DialogComponent.vue?vue&type=script&lang=js\"\nexport * from \"./DialogComponent.vue?vue&type=script&lang=js\"\n\nimport \"./DialogComponent.vue?vue&type=style&index=0&id=21ade8c0&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-21ade8c0\"]])\n\nexport default __exports__"],"names":["key","class","$props","modelValue","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_toDisplayString","title","message","onClick","_cache","args","$options","closeDialog","_createCommentVNode","name","props","type","String","required","Boolean","default","methods","this","$emit","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[757],{8899:function(e,t,a){function i(e){const[t,a]=e.split(":");return`${t}:${a}`}function n(e){const t={year:"numeric",month:"2-digit",day:"2-digit"};return new Date(e).toLocaleDateString("de-DE",t)}function l(e){const t=new Date(e),a=String(t.getHours()).padStart(2,"0"),i=String(t.getMinutes()).padStart(2,"0");return`${a}:${i}`}a.d(t,{Yq:function(){return n},fU:function(){return i},ry:function(){return l}})},3138:function(e,t,a){a.r(t),a.d(t,{default:function(){return w}});var i=a(6768),n=a(5688),l=a(5187);const o=e=>((0,i.Qi)("data-v-454efcad"),e=e(),(0,i.jt)(),e),d=o((()=>(0,i.Lk)("h1",null,"Bild hochladen",-1))),r=o((()=>(0,i.Lk)("label",{for:"title"},"Titel",-1))),s=o((()=>(0,i.Lk)("label",{for:"description"},"Beschreibung",-1))),u=o((()=>(0,i.Lk)("label",{for:"image"},"Bild",-1))),c=o((()=>(0,i.Lk)("label",{for:"page"},"Seite",-1))),m=o((()=>(0,i.Lk)("option",{value:""},"Keine Seite",-1))),g=["value"],p=o((()=>(0,i.Lk)("button",{type:"submit"},"Hochladen",-1))),h={key:0},f=o((()=>(0,i.Lk)("h2",null,"Hochgeladene Bilder",-1))),k=["src","alt"],L=["onUpdate:modelValue","onChange"],b=["onUpdate:modelValue","onChange"];function v(e,t,a,o,v,y){return(0,i.uX)(),(0,i.CE)("div",null,[d,(0,i.Lk)("form",{onSubmit:t[4]||(t[4]=(0,n.D$)(((...e)=>y.uploadImage&&y.uploadImage(...e)),["prevent"]))},[(0,i.Lk)("div",null,[r,(0,i.bo)((0,i.Lk)("input",{type:"text",id:"title","onUpdate:modelValue":t[0]||(t[0]=e=>v.title=e)},null,512),[[n.Jo,v.title]])]),(0,i.Lk)("div",null,[s,(0,i.bo)((0,i.Lk)("textarea",{id:"description","onUpdate:modelValue":t[1]||(t[1]=e=>v.description=e)},null,512),[[n.Jo,v.description]])]),(0,i.Lk)("div",null,[u,(0,i.Lk)("input",{type:"file",id:"image",onChange:t[2]||(t[2]=(...e)=>y.onFileChange&&y.onFileChange(...e))},null,32)]),(0,i.Lk)("div",null,[c,(0,i.bo)((0,i.Lk)("select",{id:"page","onUpdate:modelValue":t[3]||(t[3]=e=>v.selectedPage=e)},[m,((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(v.pages,(e=>((0,i.uX)(),(0,i.CE)("option",{key:e.id,value:e.id},(0,l.v_)(e.title),9,g)))),128))],512),[[n.u1,v.selectedPage]])]),p],32),v.images.length?((0,i.uX)(),(0,i.CE)("div",h,[f,((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(v.images,(e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id,class:"uploaded-image"},[(0,i.Lk)("img",{src:`/images/uploads/${e.filename}`,alt:e.title,width:"100"},null,8,k),(0,i.bo)((0,i.Lk)("input",{type:"text","onUpdate:modelValue":t=>e.title=t,onChange:t=>y.updateImage(e)},null,40,L),[[n.Jo,e.title]]),(0,i.bo)((0,i.Lk)("textarea",{"onUpdate:modelValue":t=>e.description=t,onChange:t=>y.updateImage(e)},null,40,b),[[n.Jo,e.description]]),(0,i.Lk)("p",null,(0,l.v_)(y.formatDate(e.uploadDate))+" "+(0,l.v_)(y.formatTimeFromDate(e.uploadDate)),1)])))),128))])):(0,i.Q3)("",!0)])}var y=a(3173),C=a(8899),I={name:"ImageUpload",data(){return{title:"",description:"",image:null,selectedPage:"",pages:[],images:[]}},methods:{formatDate:C.Yq,formatTimeFromDate:C.ry,onFileChange(e){this.image=e.target.files[0]},async uploadImage(){const e=new FormData;e.append("title",this.title),e.append("description",this.description),e.append("image",this.image),e.append("pageId",this.selectedPage);try{await y.A.post("/image/",e),this.fetchImages(),this.resetForm()}catch(t){console.error("Fehler beim Hochladen des Bildes:",t)}},async fetchImages(){try{const e=await y.A.get("/image");this.images=e.data}catch(e){console.error("Fehler beim Abrufen der Bilder:",e)}},async fetchPages(){try{const e=await y.A.get("/image/pages");this.pages=e.data}catch(e){console.error("Fehler beim Abrufen der Seiten:",e)}},async updateImage(e){try{await y.A.put(`/image/${e.id}`,{title:e.title,description:e.description}),this.fetchImages()}catch(t){console.error("Fehler beim Aktualisieren des Bildes:",t)}},resetForm(){this.title="",this.description="",this.image=null,this.selectedPage="",document.getElementById("image").value=null}},mounted(){this.fetchImages(),this.fetchPages()}},F=a(1241);const D=(0,F.A)(I,[["render",v],["__scopeId","data-v-454efcad"]]);var w=D}}]);
//# sourceMappingURL=757.a98aad7e.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[7876],{7876:function(e,n,r){r.r(n),r.d(n,{default:function(){return m}});var t=r(6768);const i=e=>((0,t.Qi)("data-v-017249f5"),e=e(),(0,t.jt)(),e),s={class:"forgot-password"},a=i((()=>(0,t.Lk)("h2",null,"Passwort vergessen",-1))),u=i((()=>(0,t.Lk)("form",null,[(0,t.Lk)("label",{for:"email"},"Email-Adresse:"),(0,t.Lk)("input",{type:"email",id:"email",required:""}),(0,t.Lk)("button",{type:"submit"},"Link zum Zurücksetzen senden")],-1)));function l(e,n,r,i,l,o){const d=(0,t.g2)("router-link");return(0,t.uX)(),(0,t.CE)("div",s,[a,u,(0,t.Lk)("p",null,[(0,t.bF)(d,{to:"/login"},{default:(0,t.k6)((()=>[(0,t.eW)("Login")])),_:1})]),(0,t.Lk)("p",null,[(0,t.bF)(d,{to:"/register"},{default:(0,t.k6)((()=>[(0,t.eW)("Registrieren")])),_:1})])])}var o={name:"ForgotPassword"},d=r(1241);const k=(0,d.A)(o,[["render",l],["__scopeId","data-v-017249f5"]]);var m=k}}]);
//# sourceMappingURL=7876.0d8ab0bc.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/7876.0d8ab0bc.js","mappings":"sPACSA,MAAM,mB,UACTC,EAAAA,EAAAA,IAA2B,UAAvB,sBAAkB,K,UACtBA,EAAAA,EAAAA,IAKO,cAJLA,EAAAA,EAAAA,IAAyC,SAAlCC,IAAI,SAAQ,mBACnBD,EAAAA,EAAAA,IAAwC,SAAjCE,KAAK,QAAQC,GAAG,QAAQC,SAAA,MAE/BJ,EAAAA,EAAAA,IAA2D,UAAnDE,KAAK,UAAS,kCAA4B,K,0EANtDG,EAAAA,EAAAA,IAcM,MAdNC,EAcM,CAbJC,EACAC,GAMAR,EAAAA,EAAAA,IAEI,WADFS,EAAAA,EAAAA,IAA4CC,EAAA,CAA/BC,GAAG,UAAQ,CAVhCC,SAAAC,EAAAA,EAAAA,KAUiC,IAAK,EAVtCC,EAAAA,EAAAA,IAUiC,YAVjCC,EAAA,OAYMf,EAAAA,EAAAA,IAEI,WADFS,EAAAA,EAAAA,IAAsDC,EAAA,CAAzCC,GAAG,aAAW,CAbnCC,SAAAC,EAAAA,EAAAA,KAaoC,IAAY,EAbhDC,EAAAA,EAAAA,IAaoC,mBAbpCC,EAAA,O,CAmBE,OACEC,KAAM,kB,UCbV,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://miriamgemeinde/./src/content/authentication/ForgotPasswordContent.vue","webpack://miriamgemeinde/./src/content/authentication/ForgotPasswordContent.vue?8368"],"sourcesContent":["<template>\n <div class=\"forgot-password\">\n <h2>Passwort vergessen</h2>\n <form>\n <label for=\"email\">Email-Adresse:</label>\n <input type=\"email\" id=\"email\" required>\n \n <button type=\"submit\">Link zum Zurücksetzen senden</button>\n </form>\n <p>\n <router-link to=\"/login\">Login</router-link>\n </p>\n <p>\n <router-link to=\"/register\">Registrieren</router-link>\n </p>\n </div>\n </template>\n \n <script>\n export default {\n name: 'ForgotPassword'\n };\n </script>\n \n <style scoped>\n .forgot-password {\n max-width: 400px;\n margin: auto;\n }\n form {\n display: flex;\n flex-direction: column;\n }\n label {\n margin-top: 10px;\n }\n button {\n margin-top: 20px;\n }\n </style>\n","import { render } from \"./ForgotPasswordContent.vue?vue&type=template&id=017249f5&scoped=true\"\nimport script from \"./ForgotPasswordContent.vue?vue&type=script&lang=js\"\nexport * from \"./ForgotPasswordContent.vue?vue&type=script&lang=js\"\n\nimport \"./ForgotPasswordContent.vue?vue&type=style&index=0&id=017249f5&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-017249f5\"]])\n\nexport default __exports__"],"names":["class","_createElementVNode","for","type","id","required","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_3","_createVNode","_component_router_link","to","default","_withCtx","_createTextVNode","_","name","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[8060],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},7326:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=8060.f4d2f3e9.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[8074],{5693:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});var l=n(6768),a=n(5688),c=n(5187);const d=e=>((0,l.Qi)("data-v-920e5ffc"),e=e(),(0,l.jt)(),e),o={class:"event-places-management"},i=d((()=>(0,l.Lk)("h2",null,"Veranstaltungsorte verwalten",-1))),r=d((()=>(0,l.Lk)("label",{for:"name"},"Name:",-1))),s=d((()=>(0,l.Lk)("label",{for:"street"},"Straße:",-1))),u=d((()=>(0,l.Lk)("label",{for:"zipcode"},"PLZ:",-1))),v=d((()=>(0,l.Lk)("label",{for:"city"},"Stadt:",-1))),p=d((()=>(0,l.Lk)("label",{for:"backgroundColor"},"Hintergrundfarbe:",-1))),k=d((()=>(0,l.Lk)("button",{type:"submit"},"Speichern",-1))),h=d((()=>(0,l.Lk)("thead",null,[(0,l.Lk)("tr",null,[(0,l.Lk)("th",null,"Name"),(0,l.Lk)("th",null,"Bearbeiten"),(0,l.Lk)("th",null,"Löschen")])],-1))),f=["onClick"],P=["onClick"];function E(e,t,n,d,E,m){return(0,l.uX)(),(0,l.CE)("div",o,[i,(0,l.Lk)("form",{onSubmit:t[6]||(t[6]=(0,a.D$)(((...e)=>m.addEventPlace&&m.addEventPlace(...e)),["prevent"]))},[r,(0,l.bo)((0,l.Lk)("input",{type:"text",id:"name","onUpdate:modelValue":t[0]||(t[0]=e=>E.newEventPlace.name=e),placeholder:"Name",required:""},null,512),[[a.Jo,E.newEventPlace.name]]),s,(0,l.bo)((0,l.Lk)("input",{type:"text",id:"street","onUpdate:modelValue":t[1]||(t[1]=e=>E.newEventPlace.street=e),placeholder:"Straße",required:""},null,512),[[a.Jo,E.newEventPlace.street]]),u,(0,l.bo)((0,l.Lk)("input",{type:"text",id:"zipcode","onUpdate:modelValue":t[2]||(t[2]=e=>E.newEventPlace.zipcode=e),placeholder:"PLZ",required:""},null,512),[[a.Jo,E.newEventPlace.zipcode]]),v,(0,l.bo)((0,l.Lk)("input",{type:"text",id:"city","onUpdate:modelValue":t[3]||(t[3]=e=>E.newEventPlace.city=e),placeholder:"Stadt",required:""},null,512),[[a.Jo,E.newEventPlace.city]]),p,(0,l.bo)((0,l.Lk)("input",{type:"color",id:"backgroundColor","onUpdate:modelValue":t[4]||(t[4]=e=>E.newEventPlace.backgroundColor=e)},null,512),[[a.Jo,E.newEventPlace.backgroundColor]]),k,E.editMode?((0,l.uX)(),(0,l.CE)("button",{key:0,type:"button",onClick:t[5]||(t[5]=(...e)=>m.resetForm&&m.resetForm(...e))},"Neuen Veranstaltungsort erstellen")):(0,l.Q3)("",!0)],32),(0,l.Lk)("table",null,[h,(0,l.Lk)("tbody",null,[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(E.eventPlaces,(e=>((0,l.uX)(),(0,l.CE)("tr",{key:e.id},[(0,l.Lk)("td",null,(0,c.v_)(e.name),1),(0,l.Lk)("td",null,[(0,l.Lk)("button",{onClick:t=>m.editEventPlace(e)},"Bearbeiten",8,f)]),(0,l.Lk)("td",null,[(0,l.Lk)("button",{onClick:t=>m.deleteEventPlace(e.id)},"Löschen",8,P)])])))),128))])])])}n(4114);var m=n(4373),b={data(){return{eventPlaces:[],newEventPlace:{name:"",street:"",zipcode:"",city:"",backgroundColor:"#ffffff"},editMode:!1,editId:null}},methods:{async fetchEventPlaces(){const e=await m.A.get("/event-places");this.eventPlaces=e.data},async addEventPlace(){if(this.editMode)await m.A.put(`/event-places/${this.editId}`,this.newEventPlace);else{const e=await m.A.post("/event-places",this.newEventPlace);this.eventPlaces.push(e.data)}this.resetForm(),await this.fetchEventPlaces()},async updateEventPlace(e){await m.A.put(`/event-places/${e.id}`,e),this.fetchEventPlaces()},async deleteEventPlace(e){await m.A.delete(`/event-places/${e}`),this.fetchEventPlaces()},editEventPlace(e){this.newEventPlace={...e},this.editMode=!0,this.editId=e.id},resetForm(){this.newEventPlace={name:"",street:"",zipcode:"",city:"",backgroundColor:"#ffffff"},this.editMode=!1,this.editId=null}},created(){this.fetchEventPlaces()}},L=n(1241);const w=(0,L.A)(b,[["render",E],["__scopeId","data-v-920e5ffc"]]);var y=w}}]);
//# sourceMappingURL=8074.dfd9f966.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[8183],{8183:function(e,r,t){t.r(r),t.d(r,{default:function(){return y}});var s=t(6768),n=t(5187),a=t(5688);const i=e=>((0,s.Qi)("data-v-a495c756"),e=e(),(0,s.jt)(),e),u={class:"user-administration"},l=i((()=>(0,s.Lk)("h1",null,"Benutzerverwaltung",-1))),o=i((()=>(0,s.Lk)("label",{for:"name"},"Name:",-1))),c=i((()=>(0,s.Lk)("label",{for:"email"},"Email:",-1))),d=i((()=>(0,s.Lk)("label",{for:"password"},"Passwort:",-1))),m=["required"],h=i((()=>(0,s.Lk)("label",{for:"active"},"Aktiv:",-1))),p={type:"submit"},U={key:1},k=i((()=>(0,s.Lk)("h2",null,"Vorhandene Benutzer",-1))),v=["onClick"];function b(e,r,t,i,b,C){return(0,s.uX)(),(0,s.CE)("div",u,[l,(0,s.Lk)("h2",null,(0,n.v_)(C.formTitle),1),(0,s.Lk)("form",{onSubmit:r[4]||(r[4]=(0,a.D$)(((...e)=>C.saveUser&&C.saveUser(...e)),["prevent"]))},[o,(0,s.bo)((0,s.Lk)("input",{id:"name","onUpdate:modelValue":r[0]||(r[0]=e=>b.currentUser.name=e),required:""},null,512),[[a.Jo,b.currentUser.name]]),c,(0,s.bo)((0,s.Lk)("input",{id:"email","onUpdate:modelValue":r[1]||(r[1]=e=>b.currentUser.email=e),type:"email",required:""},null,512),[[a.Jo,b.currentUser.email]]),d,(0,s.bo)((0,s.Lk)("input",{id:"password","onUpdate:modelValue":r[2]||(r[2]=e=>b.currentUser.password=e),type:"password",required:b.isCreating},null,8,m),[[a.Jo,b.currentUser.password]]),(0,s.Lk)("div",null,[h,(0,s.bo)((0,s.Lk)("input",{id:"active","onUpdate:modelValue":r[3]||(r[3]=e=>b.currentUser.active=e),type:"checkbox"},null,512),[[a.lH,b.currentUser.active]])]),(0,s.Lk)("button",p,(0,n.v_)(b.isCreating?"Erstellen":"Aktualisieren"),1)],32),b.isCreating?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("button",{key:0,onClick:r[5]||(r[5]=(...e)=>C.resetForm&&C.resetForm(...e))},"Zurück zu Benutzer erstellen")),b.users.length?((0,s.uX)(),(0,s.CE)("div",U,[k,(0,s.Lk)("ul",null,[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(b.users,(e=>((0,s.uX)(),(0,s.CE)("li",{key:e.id,onClick:r=>C.editUser(e)},(0,n.v_)(e.name)+" ("+(0,n.v_)(e.email)+") ",9,v)))),128))])])):(0,s.Q3)("",!0)])}var C=t(3173),f={name:"UserAdministration",data(){return{users:[],currentUser:{name:"",email:"",password:"",active:!1},isCreating:!0}},computed:{formTitle(){return this.isCreating?"Benutzer erstellen":"Benutzer bearbeiten"}},methods:{async fetchUsers(){try{const e=await C.A.get("/users");this.users=e.data}catch(e){console.error("Fehler beim Abrufen der Benutzer:",e)}},async saveUser(){this.isCreating?await this.createUser():await this.updateUser(),this.resetForm(),this.fetchUsers()},async createUser(){try{await C.A.post("/users",this.currentUser)}catch(e){console.error("Fehler beim Erstellen des Benutzers:",e)}},async updateUser(){try{await C.A.put(`/users/${this.currentUser.id}`,this.currentUser)}catch(e){console.error("Fehler beim Aktualisieren des Benutzers:",e)}},editUser(e){this.currentUser={...e,password:""},this.isCreating=!1},resetForm(){this.currentUser={name:"",email:"",password:"",active:!1},this.isCreating=!0}},mounted(){this.fetchUsers()}},w=t(1241);const L=(0,w.A)(f,[["render",b],["__scopeId","data-v-a495c756"]]);var y=L}}]);
//# sourceMappingURL=8183.73935aeb.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[830],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},2844:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=830.92a4d716.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[8848],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},7426:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"SomePage",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=8848.ebff20ee.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[9231],{9231:function(n,e,u){u.r(e),u.d(e,{default:function(){return m}});var r=u(6768);const i=(0,r.Lk)("h2",null,null,-1),t=[i];function a(n,e,u,i,a,c){return(0,r.uX)(),(0,r.CE)("div",null,t)}var c={name:"MusicContent"},l=u(1241);const s=(0,l.A)(c,[["render",a]]);var m=s}}]);
//# sourceMappingURL=9231.d97a8b29.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"js/9231.d97a8b29.js","mappings":"gMAEMA,EAAAA,EAAAA,IAAS,mB,GAATC,G,0CADFC,EAAAA,EAAAA,IAEM,WAHVC,E,CAOE,OACEC,KAAM,gB,UCHV,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://miriamgemeinde/./src/content/MusicContent.vue","webpack://miriamgemeinde/./src/content/MusicContent.vue?552e"],"sourcesContent":["<template>\n <div>\n <h2></h2>\n </div>\n </template>\n \n <script>\n export default {\n name: 'MusicContent',\n };\n </script>\n ","import { render } from \"./MusicContent.vue?vue&type=template&id=efa44b20\"\nimport script from \"./MusicContent.vue?vue&type=script&lang=js\"\nexport * from \"./MusicContent.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createElementVNode","_hoisted_1","_createElementBlock","_hoisted_2","name","__exports__","render"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[9238],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},3255:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"KitaAmBuegel",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=9238.4bb183f2.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self["webpackChunkmiriamgemeinde"]=self["webpackChunkmiriamgemeinde"]||[]).push([[9524],{5727:function(n,t,e){e.d(t,{A:function(){return d}});var o=e(6768),r=e(5187);function i(n,t,e,i,u,a){const c=(0,o.g2)("RenderContentComponent");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("h1",null,(0,r.v_)(u.title),1),(0,o.bF)(c,{content:u.content},null,8,["content"])])}var u=e(3173),a=e(782),c=e(891),s={name:"ContentComponent",components:{RenderContentComponent:c.A},props:{link:{type:String,required:!0}},data(){return{content:"",title:""}},computed:{...(0,a.aH)(["menuData"]),...(0,a.L8)(["getMenuData"])},watch:{link:{immediate:!0,handler(n){this.fetchContent(n),this.setTitle(n)}}},methods:{async fetchContent(n){try{const t=await u.A.get(`/page-content?link=${n}`);this.content=t.data.content}catch(t){console.error("Fehler beim Abrufen des Inhalts:",t)}},setTitle(n){const t=(n,e)=>{for(const o of n){if(o.link===e)return o.pageTitle||o.name;if(o.submenu&&o.submenu.length>0){const n=t(o.submenu,e);if(n)return`${n}`}}return""};this.title=t(this.menuData,n)}}},l=e(1241);const m=(0,l.A)(s,[["render",i]]);var d=m},6246:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var o=e(6768);const r={class:"some-page"};function i(n,t,e,i,u,a){const c=(0,o.g2)("ContentComponent");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(c,{link:a.currentLink},null,8,["link"])])}var u=e(5727),a={name:"KitaAmBuegel",components:{ContentComponent:u.A},computed:{currentLink(){return this.$route.path}}},c=e(1241);const s=(0,c.A)(a,[["render",i]]);var l=s}}]);
//# sourceMappingURL=9524.206dd33b.js.map

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More