summaryrefslogtreecommitdiffstats
path: root/dist/dav-settings-admin-caldav.js
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-23 13:45:43 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-05-24 10:25:52 +0200
commit8c3421e7d8ee1f607844c1cc5268c4ac69f1c48e (patch)
treea6ecee24ffd7ce06764b75caf12c8ee782733e82 /dist/dav-settings-admin-caldav.js
parent8d599c341023c5fe850da9bdbc3807a277a61151 (diff)
downloadnextcloud-server-8c3421e7d8ee1f607844c1cc5268c4ac69f1c48e.tar.gz
nextcloud-server-8c3421e7d8ee1f607844c1cc5268c4ac69f1c48e.zip
Modernize the dav admin settings
- Use nextcloud-vue components (with proper doc link now) - Add underline to links so we can see them (accessibility++) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'dist/dav-settings-admin-caldav.js')
-rw-r--r--dist/dav-settings-admin-caldav.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/dav-settings-admin-caldav.js b/dist/dav-settings-admin-caldav.js
index 136dfe58cbd..080b23ac925 100644
--- a/dist/dav-settings-admin-caldav.js
+++ b/dist/dav-settings-admin-caldav.js
@@ -1,2 +1,2 @@
-!function(){"use strict";var e,n={46976:function(e,n,t){var a=t(20144),r=t(16453),s=t(9944),d=t(4820),i=t(79753),o=(0,r.loadState)("dav","userSyncCalendarsDocUrl","#"),l={name:"CalDavSettings",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}",'<a target="_blank" href="../apps/office/calendar">').replace("{calendardocopen}",'<a target="_blank" href="'.concat(o,'" rel="noreferrer noopener">')).replace(/\{linkclose\}/g,"</a>")},sendInvitationsHelpText:function(){return this.$t("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'<a href="../admin#mail_general_settings">').replace("{linkclose}","</a>")},sendEventRemindersHelpText:function(){return this.$t("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'<a href="../admin#mail_general_settings">').replace("{linkclose}","</a>")}},watch:{generateBirthdayCalendar:function(e){var n=e?"/apps/dav/enableBirthdayCalendar":"/apps/dav/disableBirthdayCalendar";d.default.post((0,i.generateUrl)(n))},sendInvitations:function(e){OCP.AppConfig.setValue("dav","sendInvitations",e?"yes":"no")},sendEventReminders:function(e){OCP.AppConfig.setValue("dav","sendEventReminders",e?"yes":"no")},sendEventRemindersToSharedGroupMembers:function(e){OCP.AppConfig.setValue("dav","sendEventRemindersToSharedGroupMembers",e?"yes":"no")},sendEventRemindersPush:function(e){OCP.AppConfig.setValue("dav","sendEventRemindersPush",e?"yes":"no")}}},c=t(93379),v=t.n(c),u=t(7795),m=t.n(u),p=t(90569),h=t.n(p),f=t(3565),b=t.n(f),y=t(19216),_=t.n(y),g=t(44589),E=t.n(g),R=t(48885),k={};k.styleTagTransform=E(),k.setAttributes=b(),k.insert=h().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=_(),v()(R.Z,k),R.Z&&R.Z.locals&&R.Z.locals;var C=(0,t(51900).Z)(l,(function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"section"},[t("h2",[e._v(e._s(e.$t("dav","Calendar server")))]),e._v(" "),t("p",{staticClass:"settings-hint",domProps:{innerHTML:e._s(e.hint)}}),e._v(" "),t("p",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.sendInvitations,expression:"sendInvitations"}],staticClass:"checkbox",attrs:{id:"caldavSendInvitations",type:"checkbox"},domProps:{checked:Array.isArray(e.sendInvitations)?e._i(e.sendInvitations,null)>-1:e.sendInvitations},on:{change:function(n){var t=e.sendInvitations,a=n.target,r=!!a.checked;if(Array.isArray(t)){var s=e._i(t,null);a.checked?s<0&&(e.sendInvitations=t.concat([null])):s>-1&&(e.sendInvitations=t.slice(0,s).concat(t.slice(s+1)))}else e.sendInvitations=r}}}),e._v(" "),t("label",{attrs:{for:"caldavSendInvitations"}},[e._v("\n\t\t\t"+e._s(e.$t("dav","Send invitations to attendees"))+"\n\t\t")]),e._v(" "),t("br"),e._v(" "),t("em",{domProps:{innerHTML:e._s(e.sendInvitationsHelpText)}})]),e._v(" "),t("p",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.generateBirthdayCalendar,expression:"generateBirthdayCalendar"}],staticClass:"checkbox",attrs:{id:"caldavGenerateBirthdayCalendar",type:"checkbox"},domProps:{checked:Array.isArray(e.generateBirthdayCalendar)?e._i(e.generateBirthdayCalendar,null)>-1:e.generateBirthdayCalendar},on:{change:function(n){var t=e.generateBirthdayCalendar,a=n.target,r=!!a.checked;if(Array.isArray(t)){var s=e._i(t,null);a.checked?s<0&&(e.generateBirthdayCalendar=t.concat([null])):s>-1&&(e.generateBirthdayCalendar=t.slice(0,s).concat(t.slice(s+1)))}else e.generateBirthdayCalendar=r}}}),e._v(" "),t("label",{attrs:{for:"caldavGenerateBirthdayCalendar"}},[e._v("\n\t\t\t"+e._s(e.$t("dav","Automatically generate a birthday calendar"))+"\n\t\t")]),e._v(" "),t("br"),e._v(" "),t("em",[e._v("\n\t\t\t"+e._s(e.$t("dav","Birthday calendars will be generated by a background job."))+"\n\t\t")]),e._v(" "),t("br"),e._v(" "),t("em",[e._v("\n\t\t\t"+e._s(e.$t("dav","Hence they will not be available immediately after enabling but will show up after some time."))+"\n\t\t")])]),e._v(" "),t("p",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.sendEventReminders,expression:"sendEventReminders"}],staticClass:"checkbox",attrs:{id:"caldavSendEventReminders",type:"checkbox"},domProps:{checked:Array.isArray(e.sendEventReminders)?e._i(e.sendEventReminders,null)>-1:e.sendEventReminders},on:{change:function(n){var t=e.sendEventReminders,a=n.target,r=!!a.checked;if(Array.isArray(t)){var s=e._i(t,null);a.checked?s<0&&(e.sendEventReminders=t.concat([null])):s>-1&&(e.sendEventReminders=t.slice(0,s).concat(t.slice(s+1)))}else e.sendEventReminders=r}}}),e._v(" "),t("label",{attrs:{for:"caldavSendEventReminders"}},[e._v("\n\t\t\t"+e._s(e.$t("dav","Send notifications for events"))+"\n\t\t")]),e._v(" "),t("br"),e._v(" "),t("em",{domProps:{innerHTML:e._s(e.sendEventRemindersHelpText)}}),e._v(" "),t("br"),e._v(" "),t("em",[e._v("\n\t\t\t"+e._s(e.$t("dav","Notifications are sent via background jobs, so these must occur often enough."))+"\n\t\t")])]),e._v(" "),t("p",{staticClass:"indented"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.sendEventRemindersToSharedGroupMembers,expression:"sendEventRemindersToSharedGroupMembers"}],staticClass:"checkbox",attrs:{id:"caldavSendEventRemindersToSharedGroupMembers",type:"checkbox",disabled:!e.sendEventReminders},domProps:{checked:Array.isArray(e.sendEventRemindersToSharedGroupMembers)?e._i(e.sendEventRemindersToSharedGroupMembers,null)>-1:e.sendEventRemindersToSharedGroupMembers},on:{change:function(n){var t=e.sendEventRemindersToSharedGroupMembers,a=n.target,r=!!a.checked;if(Array.isArray(t)){var s=e._i(t,null);a.checked?s<0&&(e.sendEventRemindersToSharedGroupMembers=t.concat([null])):s>-1&&(e.sendEventRemindersToSharedGroupMembers=t.slice(0,s).concat(t.slice(s+1)))}else e.sendEventRemindersToSharedGroupMembers=r}}}),e._v(" "),t("label",{attrs:{for:"caldavSendEventRemindersToSharedGroupMembers"}},[e._v("\n\t\t\t"+e._s(e.$t("dav","Send reminder notifications to calendar sharees as well"))+"\n\t\t")]),e._v(" "),t("br"),e._v(" "),t("em",[e._v("\n\t\t\t"+e._s(e.$t("dav","Reminders are always sent to organizers and attendees."))+"\n\t\t")])]),e._v(" "),t("p",{staticClass:"indented"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.sendEventRemindersPush,expression:"sendEventRemindersPush"}],staticClass:"checkbox",attrs:{id:"caldavSendEventRemindersPush",type:"checkbox",disabled:!e.sendEventReminders},domProps:{checked:Array.isArray(e.sendEventRemindersPush)?e._i(e.sendEventRemindersPush,null)>-1:e.sendEventRemindersPush},on:{change:function(n){var t=e.sendEventRemindersPush,a=n.target,r=!!a.checked;if(Array.isArray(t)){var s=e._i(t,null);a.checked?s<0&&(e.sendEventRemindersPush=t.concat([null])):s>-1&&(e.sendEventRemindersPush=t.slice(0,s).concat(t.slice(s+1)))}else e.sendEventRemindersPush=r}}}),e._v(" "),t("label",{attrs:{for:"caldavSendEventRemindersPush"}},[e._v("\n\t\t\t"+e._s(e.$t("dav","Enable notifications for events via push"))+"\n\t\t")])])])}),[],!1,null,"19a89582",null).exports;a.default.prototype.$t=s.translate,new(a.default.extend(C))({name:"CalDavSettingsView",data:function(){return{sendInvitations:(0,r.loadState)("dav","sendInvitations"),generateBirthdayCalendar:(0,r.loadState)("dav","generateBirthdayCalendar"),sendEventReminders:(0,r.loadState)("dav","sendEventReminders"),sendEventRemindersToSharedGroupMembers:(0,r.loadState)("dav","sendEventRemindersToSharedGroupMembers"),sendEventRemindersPush:(0,r.loadState)("dav","sendEventRemindersPush")}}}).$mount("#settings-admin-caldav")},48885:function(e,n,t){var a=t(87537),r=t.n(a),s=t(23645),d=t.n(s)()(r());d.push([e.id,".indented[data-v-19a89582]{padding-left:28px}","",{version:3,sources:["webpack://./apps/dav/src/views/CalDavSettings.vue"],names:[],mappings:"AAuFA,2BACC,iBAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.indented {\n\tpadding-left: 28px;\n}\n"],sourceRoot:""}]),n.Z=d}},t={};function a(e){var r=t[e];if(void 0!==r)return r.exports;var s=t[e]={id:e,loaded:!1,exports:{}};return n[e].call(s.exports,s,s.exports,a),s.loaded=!0,s.exports}a.m=n,a.amdD=function(){throw new Error("define cannot be used indirect")},a.amdO={},e=[],a.O=function(n,t,r,s){if(!t){var d=1/0;for(c=0;c<e.length;c++){t=e[c][0],r=e[c][1],s=e[c][2];for(var i=!0,o=0;o<t.length;o++)(!1&s||d>=s)&&Object.keys(a.O).every((function(e){return a.O[e](t[o])}))?t.splice(o--,1):(i=!1,s<d&&(d=s));if(i){e.splice(c--,1);var l=r();void 0!==l&&(n=l)}}return n}s=s||0;for(var c=e.length;c>0&&e[c-1][2]>s;c--)e[c]=e[c-1];e[c]=[t,r,s]},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,{a:n}),n},a.d=function(e,n){for(var t in n)a.o(n,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},a.j=2231,function(){a.b=document.baseURI||self.location.href;var e={2231:0};a.O.j=function(n){return 0===e[n]};var n=function(n,t){var r,s,d=t[0],i=t[1],o=t[2],l=0;if(d.some((function(n){return 0!==e[n]}))){for(r in i)a.o(i,r)&&(a.m[r]=i[r]);if(o)var c=o(a)}for(n&&n(t);l<d.length;l++)s=d[l],a.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return a.O(c)},t=self.webpackChunknextcloud=self.webpackChunknextcloud||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}();var r=a.O(void 0,[7874],(function(){return a(46976)}));r=a.O(r)}();
-//# sourceMappingURL=dav-settings-admin-caldav.js.map?v=61c319bf6e1cae626f58 \ No newline at end of file
+!function(){"use strict";var t,e={14473:function(t,e,n){var a=n(20144),s=n(16453),r=n(9944),i=n(4820),d=n(79753),o=n(67776),l=n.n(o),c=n(7826),v=n.n(c),p=(0,s.loadState)("dav","userSyncCalendarsDocUrl","#"),u={name:"CalDavSettings",components:{CheckboxRadioSwitch:v(),SettingsSection:l()},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}",'<a target="_blank" href="../apps/office/calendar">').replace("{calendardocopen}",'<a target="_blank" href="'.concat(p,'" rel="noreferrer noopener">')).replace(/\{linkclose\}/g,"</a>")},sendInvitationsHelpText:function(){return this.$t("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'<a href="../admin#mail_general_settings">').replace("{linkclose}","</a>")},sendEventRemindersHelpText:function(){return this.$t("dav","Please make sure to properly set up {emailopen}the email server{linkclose}.").replace("{emailopen}",'<a href="../admin#mail_general_settings">').replace("{linkclose}","</a>")}},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(39018),_={};_.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("SettingsSection",{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("CheckboxRadioSwitch",{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("CheckboxRadioSwitch",{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("CheckboxRadioSwitch",{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("CheckboxRadioSwitch",{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("CheckboxRadioSwitch",{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,"12bcaa82",null).exports;a.default.prototype.$t=r.translate,new(a.default.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")},39018: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-12bcaa82] {\n\tpadding-left: 28px;\n}\n/** Use deep selector to affect v-html */\n*[data-v-12bcaa82] a {\n\ttext-decoration: underline;\n}\n.settings-hint[data-v-12bcaa82] {\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:["<template>\n\t<SettingsSection :title=\"$t('dav', 'Calendar server')\"\n\t\t:doc-url=\"userSyncCalendarsDocUrl\">\n\t\t\x3c!-- Can use v-html as:\n\t\t\t- $t passes the translated string through DOMPurify.sanitize,\n\t\t\t- replacement strings are not user-controlled. --\x3e\n\t\t\x3c!-- eslint-disable-next-line vue/no-v-html --\x3e\n\t\t<p class=\"settings-hint\" v-html=\"hint\" />\n\t\t<p>\n\t\t\t<CheckboxRadioSwitch id=\"caldavSendInvitations\"\n\t\t\t\t:checked.sync=\"sendInvitations\"\n\t\t\t\ttype=\"switch\">\n\t\t\t\t{{ $t('dav', 'Send invitations to attendees') }}\n\t\t\t</CheckboxRadioSwitch>\n\t\t\t\x3c!-- Can use v-html as:\n\t\t\t\t- $t passes the translated string through DOMPurify.sanitize,\n\t\t\t\t- replacement strings are not user-controlled. --\x3e\n\t\t\t\x3c!-- eslint-disable-next-line vue/no-v-html --\x3e\n\t\t\t<em v-html=\"sendInvitationsHelpText\" />\n\t\t</p>\n\t\t<p>\n\t\t\t<CheckboxRadioSwitch id=\"caldavGenerateBirthdayCalendar\"\n\t\t\t\t:checked.sync=\"generateBirthdayCalendar\"\n\t\t\t\ttype=\"switch\"\n\t\t\t\tclass=\"checkbox\">\n\t\t\t\t{{ $t('dav', 'Automatically generate a birthday calendar') }}\n\t\t\t</CheckboxRadioSwitch>\n\t\t\t<em>\n\t\t\t\t{{ $t('dav', 'Birthday calendars will be generated by a background job.') }}\n\t\t\t</em>\n\t\t\t<br>\n\t\t\t<em>\n\t\t\t\t{{ $t('dav', 'Hence they will not be available immediately after enabling but will show up after some time.') }}\n\t\t\t</em>\n\t\t</p>\n\t\t<p>\n\t\t\t<CheckboxRadioSwitch id=\"caldavSendEventReminders\"\n\t\t\t\t:checked.sync=\"sendEventReminders\"\n\t\t\t\ttype=\"switch\">\n\t\t\t\t{{ $t('dav', 'Send notifications for events') }}\n\t\t\t</CheckboxRadioSwitch>\n\t\t\t\x3c!-- Can use v-html as:\n\t\t\t\t- $t passes the translated string through DOMPurify.sanitize,\n\t\t\t\t- replacement strings are not user-controlled. --\x3e\n\t\t\t\x3c!-- eslint-disable-next-line vue/no-v-html --\x3e\n\t\t\t<em v-html=\"sendEventRemindersHelpText\" />\n\t\t\t<br>\n\t\t\t<em>\n\t\t\t\t{{ $t('dav', 'Notifications are sent via background jobs, so these must occur often enough.') }}\n\t\t\t</em>\n\t\t</p>\n\t\t<p class=\"indented\">\n\t\t\t<CheckboxRadioSwitch id=\"caldavSendEventRemindersToSharedGroupMembers\"\n\t\t\t\t:checked.sync=\"sendEventRemindersToSharedGroupMembers\"\n\t\t\t\ttype=\"switch\"\n\t\t\t\t:disabled=\"!sendEventReminders\">\n\t\t\t\t{{ $t('dav', 'Send reminder notifications to calendar sharees as well' ) }}\n\t\t\t</CheckboxRadioSwitch>\n\t\t\t<em>\n\t\t\t\t{{ $t('dav', 'Reminders are always sent to organizers and attendees.' ) }}\n\t\t\t</em>\n\t\t</p>\n\t\t<p class=\"indented\">\n\t\t\t<CheckboxRadioSwitch id=\"caldavSendEventRemindersPush\"\n\t\t\t\t:checked.sync=\"sendEventRemindersPush\"\n\t\t\t\ttype=\"switch\"\n\t\t\t\t:disabled=\"!sendEventReminders\">\n\t\t\t\t{{ $t('dav', 'Enable notifications for events via push') }}\n\t\t\t</CheckboxRadioSwitch>\n\t\t</p>\n\t</SettingsSection>\n</template>\n\n<script>\nimport axios from '@nextcloud/axios'\nimport { generateUrl } from '@nextcloud/router'\nimport { loadState } from '@nextcloud/initial-state'\nimport SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection'\nimport CheckboxRadioSwitch from '@nextcloud/vue/dist/Components/CheckboxRadioSwitch'\n\nconst userSyncCalendarsDocUrl = loadState('dav', 'userSyncCalendarsDocUrl', '#')\n\nexport default {\n\tname: 'CalDavSettings',\n\tcomponents: {\n\t\tCheckboxRadioSwitch,\n\t\tSettingsSection,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tuserSyncCalendarsDocUrl,\n\t\t}\n\t},\n\tcomputed: {\n\t\thint() {\n\t\t\tconst translated = this.$t(\n\t\t\t\t'dav',\n\t\t\t\t'Also install the {calendarappstoreopen}Calendar app{linkclose}, or {calendardocopen}connect your desktop & mobile for syncing ↗{linkclose}.',\n\t\t\t)\n\t\t\treturn translated\n\t\t\t\t.replace('{calendarappstoreopen}', '<a target=\"_blank\" href=\"../apps/office/calendar\">')\n\t\t\t\t.replace('{calendardocopen}', `<a target=\"_blank\" href=\"${userSyncCalendarsDocUrl}\" rel=\"noreferrer noopener\">`)\n\t\t\t\t.replace(/\\{linkclose\\}/g, '</a>')\n\t\t},\n\t\tsendInvitationsHelpText() {\n\t\t\tconst translated = this.$t('dav', 'Please make sure to properly set up {emailopen}the email server{linkclose}.')\n\t\t\treturn translated\n\t\t\t\t.replace('{emailopen}', '<a href=\"../admin#mail_general_settings\">')\n\t\t\t\t.replace('{linkclose}', '</a>')\n\t\t},\n\t\tsendEventRemindersHelpText() {\n\t\t\tconst translated = this.$t('dav', 'Please make sure to properly set up {emailopen}the email server{linkclose}.')\n\t\t\treturn translated\n\t\t\t\t.replace('{emailopen}', '<a href=\"../admin#mail_general_settings\">')\n\t\t\t\t.replace('{linkclose}', '</a>')\n\t\t},\n\t},\n\twatch: {\n\t\tgenerateBirthdayCalendar(value) {\n\t\t\tconst baseUrl = value ? '/apps/dav/enableBirthdayCalendar' : '/apps/dav/disableBirthdayCalendar'\n\t\t\taxios.post(generateUrl(baseUrl))\n\t\t},\n\t\tsendInvitations(value) {\n\t\t\tOCP.AppConfig.setValue(\n\t\t\t\t'dav',\n\t\t\t\t'sendInvitations',\n\t\t\t\tvalue ? 'yes' : 'no'\n\t\t\t)\n\t\t},\n\t\tsendEventReminders(value) {\n\t\t\tOCP.AppConfig.setValue('dav', 'sendEventReminders', value ? 'yes' : 'no')\n\t\t},\n\t\tsendEventRemindersToSharedGroupMembers(value) {\n\t\t\tOCP.AppConfig.setValue(\n\t\t\t\t'dav',\n\t\t\t\t'sendEventRemindersToSharedGroupMembers',\n\t\t\t\tvalue ? 'yes' : 'no'\n\t\t\t)\n\t\t},\n\t\tsendEventRemindersPush(value) {\n\t\t\tOCP.AppConfig.setValue('dav', 'sendEventRemindersPush', value ? 'yes' : 'no')\n\t\t},\n\t},\n}\n<\/script>\n\n<style scoped>\n\t.indented {\n\t\tpadding-left: 28px;\n\t}\n\t/** Use deep selector to affect v-html */\n\t* >>> a {\n\t\ttext-decoration: underline;\n\t}\n\t.settings-hint {\n\t\tmargin-top: -.2em;\n\t\tmargin-bottom: 1em;\n\t\topacity: .7;\n\t}\n</style>\n"],sourceRoot:""}]),e.Z=i}},n={};function a(t){var s=n[t];if(void 0!==s)return s.exports;var r=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,a.amdD=function(){throw new Error("define cannot be used indirect")},a.amdO={},t=[],a.O=function(e,n,s,r){if(!n){var i=1/0;for(c=0;c<t.length;c++){n=t[c][0],s=t[c][1],r=t[c][2];for(var d=!0,o=0;o<n.length;o++)(!1&r||i>=r)&&Object.keys(a.O).every((function(t){return a.O[t](n[o])}))?n.splice(o--,1):(d=!1,r<i&&(i=r));if(d){t.splice(c--,1);var l=s();void 0!==l&&(e=l)}}return e}r=r||0;for(var c=t.length;c>0&&t[c-1][2]>r;c--)t[c]=t[c-1];t[c]=[n,s,r]},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,{a:e}),e},a.d=function(t,e){for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},a.j=2231,function(){a.b=document.baseURI||self.location.href;var t={2231:0};a.O.j=function(e){return 0===t[e]};var e=function(e,n){var s,r,i=n[0],d=n[1],o=n[2],l=0;if(i.some((function(e){return 0!==t[e]}))){for(s in d)a.o(d,s)&&(a.m[s]=d[s]);if(o)var c=o(a)}for(e&&e(n);l<i.length;l++)r=i[l],a.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return a.O(c)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}();var s=a.O(void 0,[7874],(function(){return a(14473)}));s=a.O(s)}();
+//# sourceMappingURL=dav-settings-admin-caldav.js.map?v=8c15de20c274b713c6e0 \ No newline at end of file