!function(){"use strict";var t,e={88107:function(t,e,n){var a=n(20144),s=n(16453),r=n(9944),i=n(4820),d=n(79753),o=n(13299),c=n.n(o),l=n(20571),v=n.n(l),p=(0,s.loadState)("dav","userSyncCalendarsDocUrl","#"),u={name:"CalDavSettings",components:{NcCheckboxRadioSwitch:v(),NcSettingsSection:c()},data:function(){return{userSyncCalendarsDocUrl:p}},computed:{hint:function(){return this.$t("dav","Also install the {calendarappstoreopen}Calendar app{linkclose}, or {calendardocopen}connect your desktop & mobile for syncing ↗{linkclose}.").replace("{calendarappstoreopen}",'').replace("{calendardocopen}",'')).replace(/\{linkclose\}/g,"")},sendInvitationsHelpText:function(){return this.$t("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'').replace("{linkclose}","")},sendEventRemindersHelpText:function(){return this.$t("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'').replace("{linkclose}","")}},watch:{generateBirthdayCalendar:function(t){var e=t?"/apps/dav/enableBirthdayCalendar":"/apps/dav/disableBirthdayCalendar";i.default.post((0,d.generateUrl)(e))},sendInvitations:function(t){OCP.AppConfig.setValue("dav","sendInvitations",t?"yes":"no")},sendEventReminders:function(t){OCP.AppConfig.setValue("dav","sendEventReminders",t?"yes":"no")},sendEventRemindersToSharedGroupMembers:function(t){OCP.AppConfig.setValue("dav","sendEventRemindersToSharedGroupMembers",t?"yes":"no")},sendEventRemindersPush:function(t){OCP.AppConfig.setValue("dav","sendEventRemindersPush",t?"yes":"no")}}},h=n(93379),m=n.n(h),f=n(7795),b=n.n(f),g=n(90569),C=n.n(g),y=n(3565),S=n.n(y),k=n(19216),x=n.n(k),R=n(44589),A=n.n(R),w=n(8233),_={};_.styleTagTransform=A(),_.setAttributes=S(),_.insert=C().bind(null,"head"),_.domAPI=b(),_.insertStyleElement=x(),m()(w.Z,_),w.Z&&w.Z.locals&&w.Z.locals;var E=(0,n(51900).Z)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("NcSettingsSection",{attrs:{title:t.$t("dav","Calendar server"),"doc-url":t.userSyncCalendarsDocUrl}},[n("p",{staticClass:"settings-hint",domProps:{innerHTML:t._s(t.hint)}}),t._v(" "),n("p",[n("NcCheckboxRadioSwitch",{attrs:{id:"caldavSendInvitations",checked:t.sendInvitations,type:"switch"},on:{"update:checked":function(e){t.sendInvitations=e}}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Send invitations to attendees"))+"\n\t\t")]),t._v(" "),n("em",{domProps:{innerHTML:t._s(t.sendInvitationsHelpText)}})],1),t._v(" "),n("p",[n("NcCheckboxRadioSwitch",{staticClass:"checkbox",attrs:{id:"caldavGenerateBirthdayCalendar",checked:t.generateBirthdayCalendar,type:"switch"},on:{"update:checked":function(e){t.generateBirthdayCalendar=e}}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Automatically generate a birthday calendar"))+"\n\t\t")]),t._v(" "),n("em",[t._v("\n\t\t\t"+t._s(t.$t("dav","Birthday calendars will be generated by a background job."))+"\n\t\t")]),t._v(" "),n("br"),t._v(" "),n("em",[t._v("\n\t\t\t"+t._s(t.$t("dav","Hence they will not be available immediately after enabling but will show up after some time."))+"\n\t\t")])],1),t._v(" "),n("p",[n("NcCheckboxRadioSwitch",{attrs:{id:"caldavSendEventReminders",checked:t.sendEventReminders,type:"switch"},on:{"update:checked":function(e){t.sendEventReminders=e}}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Send notifications for events"))+"\n\t\t")]),t._v(" "),n("em",{domProps:{innerHTML:t._s(t.sendEventRemindersHelpText)}}),t._v(" "),n("br"),t._v(" "),n("em",[t._v("\n\t\t\t"+t._s(t.$t("dav","Notifications are sent via background jobs, so these must occur often enough."))+"\n\t\t")])],1),t._v(" "),n("p",{staticClass:"indented"},[n("NcCheckboxRadioSwitch",{attrs:{id:"caldavSendEventRemindersToSharedGroupMembers",checked:t.sendEventRemindersToSharedGroupMembers,type:"switch",disabled:!t.sendEventReminders},on:{"update:checked":function(e){t.sendEventRemindersToSharedGroupMembers=e}}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Send reminder notifications to calendar sharees as well"))+"\n\t\t")]),t._v(" "),n("em",[t._v("\n\t\t\t"+t._s(t.$t("dav","Reminders are always sent to organizers and attendees."))+"\n\t\t")])],1),t._v(" "),n("p",{staticClass:"indented"},[n("NcCheckboxRadioSwitch",{attrs:{id:"caldavSendEventRemindersPush",checked:t.sendEventRemindersPush,type:"switch",disabled:!t.sendEventReminders},on:{"update:checked":function(e){t.sendEventRemindersPush=e}}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Enable notifications for events via push"))+"\n\t\t")])],1)])}),[],!1,null,"498d90c0",null).exports;a.ZP.prototype.$t=r.translate,new(a.ZP.extend(E))({name:"CalDavSettingsView",data:function(){return{sendInvitations:(0,s.loadState)("dav","sendInvitations"),generateBirthdayCalendar:(0,s.loadState)("dav","generateBirthdayCalendar"),sendEventReminders:(0,s.loadState)("dav","sendEventReminders"),sendEventRemindersToSharedGroupMembers:(0,s.loadState)("dav","sendEventRemindersToSharedGroupMembers"),sendEventRemindersPush:(0,s.loadState)("dav","sendEventRemindersPush")}}}).$mount("#settings-admin-caldav")},8233:function(t,e,n){var a=n(87537),s=n.n(a),r=n(23645),i=n.n(r)()(s());i.push([t.id,"\n.indented[data-v-498d90c0] {\n\tpadding-left: 28px;\n}\n/** Use deep selector to affect v-html */\n*[data-v-498d90c0] a {\n\ttext-decoration: underline;\n}\n.settings-hint[data-v-498d90c0] {\n\tmargin-top: -.2em;\n\tmargin-bottom: 1em;\n\topacity: .7;\n}\n","",{version:3,sources:["webpack://./apps/dav/src/views/CalDavSettings.vue"],names:[],mappings:";AAmJA;CACA,kBAAA;AACA;AACA,wCAAA;AACA;CACA,0BAAA;AACA;AACA;CACA,iBAAA;CACA,kBAAA;CACA,WAAA;AACA",sourcesContent:["\n\n