chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
nextcloud-command 2025-11-17 09:23:22 +00:00
parent 12c78a2f62
commit a4ffae354d
54 changed files with 137 additions and 137 deletions

File diff suppressed because one or more lines are too long

View file

@ -29,13 +29,13 @@ This file is generated from multiple sources. Included packages:
- version: 3.0.0
- license: GPL-3.0-or-later
- @nextcloud/l10n
- version: 3.4.0
- version: 3.4.1
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 3.0.1
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- @vitejs/plugin-vue
- version: 6.0.1

View file

@ -29,13 +29,13 @@ This file is generated from multiple sources. Included packages:
- version: 3.0.0
- license: GPL-3.0-or-later
- @nextcloud/l10n
- version: 3.4.0
- version: 3.4.1
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 3.0.1
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- @vitejs/plugin-vue
- version: 6.0.1

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

4
dist/check-B7roOh2t.chunk.css vendored Normal file

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

61
dist/check-DjcsRnEg.chunk.mjs vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -55,31 +55,31 @@ This file is generated from multiple sources. Included packages:
- version: 2.2.0
- license: GPL-3.0-or-later
- @nextcloud/l10n
- version: 3.4.0
- version: 3.4.1
- license: GPL-3.0-or-later
- @nextcloud/logger
- version: 3.0.2
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- @vuepic/vue-datepicker
- version: 11.0.3
- license: MIT
- @vueuse/components
- version: 13.9.0
- version: 14.0.0
- license: MIT
- @vueuse/core
- version: 13.9.0
- version: 14.0.0
- license: MIT
- @vueuse/shared
- version: 13.9.0
- version: 14.0.0
- license: MIT
- date-fns
- version: 4.1.0
- license: MIT
- debounce
- version: 2.2.0
- version: 3.0.0
- license: MIT
- emoji-mart-vue-fast
- version: 15.0.5
@ -91,7 +91,7 @@ This file is generated from multiple sources. Included packages:
- version: 5.2.2
- license: MIT
- focus-trap
- version: 7.6.5
- version: 7.6.6
- license: MIT
- linkifyjs
- version: 4.3.2

1
dist/check-DjcsRnEg.chunk.mjs.map vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -55,31 +55,31 @@ This file is generated from multiple sources. Included packages:
- version: 2.2.0
- license: GPL-3.0-or-later
- @nextcloud/l10n
- version: 3.4.0
- version: 3.4.1
- license: GPL-3.0-or-later
- @nextcloud/logger
- version: 3.0.2
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- @vuepic/vue-datepicker
- version: 11.0.3
- license: MIT
- @vueuse/components
- version: 13.9.0
- version: 14.0.0
- license: MIT
- @vueuse/core
- version: 13.9.0
- version: 14.0.0
- license: MIT
- @vueuse/shared
- version: 13.9.0
- version: 14.0.0
- license: MIT
- date-fns
- version: 4.1.0
- license: MIT
- debounce
- version: 2.2.0
- version: 3.0.0
- license: MIT
- emoji-mart-vue-fast
- version: 15.0.5
@ -91,7 +91,7 @@ This file is generated from multiple sources. Included packages:
- version: 5.2.2
- license: MIT
- focus-trap
- version: 7.6.5
- version: 7.6.6
- license: MIT
- linkifyjs
- version: 4.3.2

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
/* extracted by css-entry-points-plugin */
@import './dav-dav-settings-admin-caldav-7NASuukx.chunk.css';
@import './NcSettingsSection-DFav6ob5-BFoYkIs3.chunk.css';
@import './NcSettingsSection-DDccDeTg-BFoYkIs3.chunk.css';

View file

@ -1,2 +1,2 @@
import{l as i,_ as f,N as g,a as b,r as p,c as R,o as E,w as r,h as n,b as c,d as u,t as l,e as C,i as S,f as m,g as V}from"./NcSettingsSection-DFav6ob5-Bsu_Q7-1.chunk.mjs";const h=i("dav","userSyncCalendarsDocUrl","#"),k={name:"CalDavSettings",components:{NcCheckboxRadioSwitch:b,NcSettingsSection:g},setup(){return{t:m}},data(){return{userSyncCalendarsDocUrl:h,sendInvitations:i("dav","sendInvitations"),generateBirthdayCalendar:i("dav","generateBirthdayCalendar"),sendEventReminders:i("dav","sendEventReminders"),sendEventRemindersToSharedUsers:i("dav","sendEventRemindersToSharedUsers"),sendEventRemindersPush:i("dav","sendEventRemindersPush")}},computed:{hint(){return m("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="${h}" rel="noreferrer noopener">`).replace(/\{linkclose\}/g,"</a>")},sendInvitationsHelpText(){return m("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(){return m("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(d){const e=d?"/apps/dav/enableBirthdayCalendar":"/apps/dav/disableBirthdayCalendar";C.post(S(e))},sendInvitations(d){OCP.AppConfig.setValue("dav","sendInvitations",d?"yes":"no")},sendEventReminders(d){OCP.AppConfig.setValue("dav","sendEventReminders",d?"yes":"no")},sendEventRemindersToSharedUsers(d){OCP.AppConfig.setValue("dav","sendEventRemindersToSharedUsers",d?"yes":"no")},sendEventRemindersPush(d){OCP.AppConfig.setValue("dav","sendEventRemindersPush",d?"yes":"no")}}},T=["innerHTML"],w=["innerHTML"],_=["innerHTML"],U={class:"indented"},P={class:"indented"};function H(d,e,x,s,a,v){const o=p("NcCheckboxRadioSwitch"),y=p("NcSettingsSection");return E(),R(y,{name:s.t("dav","Calendar server"),"doc-url":a.userSyncCalendarsDocUrl},{default:r(()=>[n("p",{class:"settings-hint",innerHTML:v.hint},null,8,T),n("p",null,[c(o,{id:"caldavSendInvitations",modelValue:a.sendInvitations,"onUpdate:modelValue":e[0]||(e[0]=t=>a.sendInvitations=t),type:"switch"},{default:r(()=>[u(l(s.t("dav","Send invitations to attendees")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:v.sendInvitationsHelpText},null,8,w)]),n("p",null,[c(o,{id:"caldavGenerateBirthdayCalendar",modelValue:a.generateBirthdayCalendar,"onUpdate:modelValue":e[1]||(e[1]=t=>a.generateBirthdayCalendar=t),type:"switch",class:"checkbox"},{default:r(()=>[u(l(s.t("dav","Automatically generate a birthday calendar")),1)]),_:1},8,["modelValue"]),n("em",null,l(s.t("dav","Birthday calendars will be generated by a background job.")),1),e[5]||(e[5]=n("br",null,null,-1)),n("em",null,l(s.t("dav","Hence they will not be available immediately after enabling but will show up after some time.")),1)]),n("p",null,[c(o,{id:"caldavSendEventReminders",modelValue:a.sendEventReminders,"onUpdate:modelValue":e[2]||(e[2]=t=>a.sendEventReminders=t),type:"switch"},{default:r(()=>[u(l(s.t("dav","Send notifications for events")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:v.sendEventRemindersHelpText},null,8,_),e[6]||(e[6]=n("br",null,null,-1)),n("em",null,l(s.t("dav","Notifications are sent via background jobs, so these must occur often enough.")),1)]),n("p",U,[c(o,{id:"caldavSendEventRemindersToSharedGroupMembers",modelValue:a.sendEventRemindersToSharedUsers,"onUpdate:modelValue":e[3]||(e[3]=t=>a.sendEventRemindersToSharedUsers=t),type:"switch",disabled:!a.sendEventReminders},{default:r(()=>[u(l(s.t("dav","Send reminder notifications to calendar sharees as well")),1)]),_:1},8,["modelValue","disabled"]),n("em",null,l(s.t("dav","Reminders are always sent to organizers and attendees.")),1)]),n("p",P,[c(o,{id:"caldavSendEventRemindersPush",modelValue:a.sendEventRemindersPush,"onUpdate:modelValue":e[4]||(e[4]=t=>a.sendEventRemindersPush=t),type:"switch",disabled:!a.sendEventReminders},{default:r(()=>[u(l(s.t("dav","Enable notifications for events via push")),1)]),_:1},8,["modelValue","disabled"])])]),_:1},8,["name","doc-url"])}const I=f(k,[["render",H],["__scopeId","data-v-84465bd0"]]),B=V(I);B.mount("#settings-admin-caldav");
import{l as i,_ as f,N as g,a as b,r as p,c as R,o as E,w as r,h as n,b as c,d as u,t as l,e as C,i as S,f as m,g as V}from"./NcSettingsSection-DDccDeTg-x0G4muZJ.chunk.mjs";const h=i("dav","userSyncCalendarsDocUrl","#"),k={name:"CalDavSettings",components:{NcCheckboxRadioSwitch:b,NcSettingsSection:g},setup(){return{t:m}},data(){return{userSyncCalendarsDocUrl:h,sendInvitations:i("dav","sendInvitations"),generateBirthdayCalendar:i("dav","generateBirthdayCalendar"),sendEventReminders:i("dav","sendEventReminders"),sendEventRemindersToSharedUsers:i("dav","sendEventRemindersToSharedUsers"),sendEventRemindersPush:i("dav","sendEventRemindersPush")}},computed:{hint(){return m("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="${h}" rel="noreferrer noopener">`).replace(/\{linkclose\}/g,"</a>")},sendInvitationsHelpText(){return m("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(){return m("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(d){const e=d?"/apps/dav/enableBirthdayCalendar":"/apps/dav/disableBirthdayCalendar";C.post(S(e))},sendInvitations(d){OCP.AppConfig.setValue("dav","sendInvitations",d?"yes":"no")},sendEventReminders(d){OCP.AppConfig.setValue("dav","sendEventReminders",d?"yes":"no")},sendEventRemindersToSharedUsers(d){OCP.AppConfig.setValue("dav","sendEventRemindersToSharedUsers",d?"yes":"no")},sendEventRemindersPush(d){OCP.AppConfig.setValue("dav","sendEventRemindersPush",d?"yes":"no")}}},T=["innerHTML"],w=["innerHTML"],_=["innerHTML"],U={class:"indented"},P={class:"indented"};function H(d,e,x,s,a,v){const o=p("NcCheckboxRadioSwitch"),y=p("NcSettingsSection");return E(),R(y,{name:s.t("dav","Calendar server"),"doc-url":a.userSyncCalendarsDocUrl},{default:r(()=>[n("p",{class:"settings-hint",innerHTML:v.hint},null,8,T),n("p",null,[c(o,{id:"caldavSendInvitations",modelValue:a.sendInvitations,"onUpdate:modelValue":e[0]||(e[0]=t=>a.sendInvitations=t),type:"switch"},{default:r(()=>[u(l(s.t("dav","Send invitations to attendees")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:v.sendInvitationsHelpText},null,8,w)]),n("p",null,[c(o,{id:"caldavGenerateBirthdayCalendar",modelValue:a.generateBirthdayCalendar,"onUpdate:modelValue":e[1]||(e[1]=t=>a.generateBirthdayCalendar=t),type:"switch",class:"checkbox"},{default:r(()=>[u(l(s.t("dav","Automatically generate a birthday calendar")),1)]),_:1},8,["modelValue"]),n("em",null,l(s.t("dav","Birthday calendars will be generated by a background job.")),1),e[5]||(e[5]=n("br",null,null,-1)),n("em",null,l(s.t("dav","Hence they will not be available immediately after enabling but will show up after some time.")),1)]),n("p",null,[c(o,{id:"caldavSendEventReminders",modelValue:a.sendEventReminders,"onUpdate:modelValue":e[2]||(e[2]=t=>a.sendEventReminders=t),type:"switch"},{default:r(()=>[u(l(s.t("dav","Send notifications for events")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:v.sendEventRemindersHelpText},null,8,_),e[6]||(e[6]=n("br",null,null,-1)),n("em",null,l(s.t("dav","Notifications are sent via background jobs, so these must occur often enough.")),1)]),n("p",U,[c(o,{id:"caldavSendEventRemindersToSharedGroupMembers",modelValue:a.sendEventRemindersToSharedUsers,"onUpdate:modelValue":e[3]||(e[3]=t=>a.sendEventRemindersToSharedUsers=t),type:"switch",disabled:!a.sendEventReminders},{default:r(()=>[u(l(s.t("dav","Send reminder notifications to calendar sharees as well")),1)]),_:1},8,["modelValue","disabled"]),n("em",null,l(s.t("dav","Reminders are always sent to organizers and attendees.")),1)]),n("p",P,[c(o,{id:"caldavSendEventRemindersPush",modelValue:a.sendEventRemindersPush,"onUpdate:modelValue":e[4]||(e[4]=t=>a.sendEventRemindersPush=t),type:"switch",disabled:!a.sendEventReminders},{default:r(()=>[u(l(s.t("dav","Enable notifications for events via push")),1)]),_:1},8,["modelValue","disabled"])])]),_:1},8,["name","doc-url"])}const I=f(k,[["render",H],["__scopeId","data-v-84465bd0"]]),B=V(I);B.mount("#settings-admin-caldav");
//# sourceMappingURL=dav-settings-admin-caldav.mjs.map

View file

@ -1,4 +1,4 @@
/* extracted by css-entry-points-plugin */
@import './dav-dav-settings-admin-example-content-BvfG00pA.chunk.css';
@import './NcSettingsSection-DFav6ob5-BFoYkIs3.chunk.css';
@import './check-seKZqyL0.chunk.css';
@import './NcSettingsSection-DDccDeTg-BFoYkIs3.chunk.css';
@import './check-B7roOh2t.chunk.css';

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
/* extracted by css-entry-points-plugin */
@import './dav-dav-settings-personal-availability-Cj5tXAon.chunk.css';
@import './NcSettingsSection-DFav6ob5-BFoYkIs3.chunk.css';
@import './check-seKZqyL0.chunk.css';
@import './NcSettingsSection-DDccDeTg-BFoYkIs3.chunk.css';
@import './check-B7roOh2t.chunk.css';

File diff suppressed because one or more lines are too long

View file

@ -18,7 +18,7 @@ This file is generated from multiple sources. Included packages:
- version: 0.3.0
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- ical.js
- version: 2.2.1

File diff suppressed because one or more lines are too long

View file

@ -18,7 +18,7 @@ This file is generated from multiple sources. Included packages:
- version: 0.3.0
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- ical.js
- version: 2.2.1

View file

@ -1,4 +1,4 @@
/* extracted by css-entry-points-plugin */
@import './files_trashbin-files_trashbin-init-nOmQ7X71.chunk.css';
@import './NcSettingsSection-DFav6ob5-BFoYkIs3.chunk.css';
@import './check-seKZqyL0.chunk.css';
@import './NcSettingsSection-DDccDeTg-BFoYkIs3.chunk.css';
@import './check-B7roOh2t.chunk.css';

File diff suppressed because one or more lines are too long

View file

@ -10,7 +10,7 @@ This file is generated from multiple sources. Included packages:
- version: 7.4.47
- license: Apache-2.0
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- nextcloud-ui
- version: 1.0.0

File diff suppressed because one or more lines are too long

View file

@ -10,7 +10,7 @@ This file is generated from multiple sources. Included packages:
- version: 7.4.47
- license: Apache-2.0
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- nextcloud-ui
- version: 1.0.0

View file

@ -1,4 +1,4 @@
/* extracted by css-entry-points-plugin */
@import './files_versions-files_versions-sidebar-tab-4BohXFH5.chunk.css';
@import './NcSettingsSection-DFav6ob5-BFoYkIs3.chunk.css';
@import './check-seKZqyL0.chunk.css';
@import './NcSettingsSection-DDccDeTg-BFoYkIs3.chunk.css';
@import './check-B7roOh2t.chunk.css';

File diff suppressed because one or more lines are too long

View file

@ -17,7 +17,7 @@ This file is generated from multiple sources. Included packages:
- version: 1.3.5
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- moment
- version: 2.30.1

File diff suppressed because one or more lines are too long

View file

@ -17,7 +17,7 @@ This file is generated from multiple sources. Included packages:
- version: 1.3.5
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 9.1.0
- version: 9.2.0
- license: AGPL-3.0-or-later
- moment
- version: 2.30.1

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

2
dist/logger-DnzXP45d.chunk.mjs vendored Normal file
View file

@ -0,0 +1,2 @@
import{g as t}from"./check-DjcsRnEg.chunk.mjs";const o=t().setApp("dav").detectUser().build();export{o as l};
//# sourceMappingURL=logger-DnzXP45d.chunk.mjs.map

View file

@ -1 +1 @@
{"version":3,"file":"logger-ir0SFu01.chunk.mjs","sources":["../build/frontend/apps/dav/src/service/logger.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\nexport const logger = getLoggerBuilder()\n\t.setApp('dav')\n\t.detectUser()\n\t.build()\n"],"names":["logger","getLoggerBuilder"],"mappings":"+CAOO,MAAMA,EAASC,IACpB,OAAO,KAAK,EACZ,WAAA,EACA,MAAA"}
{"version":3,"file":"logger-DnzXP45d.chunk.mjs","sources":["../build/frontend/apps/dav/src/service/logger.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\nexport const logger = getLoggerBuilder()\n\t.setApp('dav')\n\t.detectUser()\n\t.build()\n"],"names":["logger","getLoggerBuilder"],"mappings":"+CAOO,MAAMA,EAASC,IACpB,OAAO,KAAK,EACZ,WAAA,EACA,MAAA"}

View file

@ -1,2 +0,0 @@
import{g as t}from"./check-C38fAMyI.chunk.mjs";const o=t().setApp("dav").detectUser().build();export{o as l};
//# sourceMappingURL=logger-ir0SFu01.chunk.mjs.map

View file

@ -1,3 +1,3 @@
/* extracted by css-entry-points-plugin */
@import './NcSettingsSection-DFav6ob5-BFoYkIs3.chunk.css';
@import './check-seKZqyL0.chunk.css';
@import './NcSettingsSection-DDccDeTg-BFoYkIs3.chunk.css';
@import './check-B7roOh2t.chunk.css';

View file

@ -1,2 +1,2 @@
import{_ as u,N as b,a as w,r as l,c as f,o as g,w as r,b as d,d as p,t as m,v as S,e as I,f as c,l as h,g as M}from"./NcSettingsSection-DFav6ob5-Bsu_Q7-1.chunk.mjs";import{g as k,s as v}from"./check-C38fAMyI.chunk.mjs";import{c as R}from"./index-0VcK9Xsz.chunk.mjs";const T=k().detectLogLevel().setApp("sharebymail").build(),V={name:"AdminSettings",components:{NcCheckboxRadioSwitch:w,NcSettingsSection:b},setup(){return{t:c}},data(){return{sendPasswordMail:h("sharebymail","sendPasswordMail"),replyToInitiator:h("sharebymail","replyToInitiator")}},watch:{sendPasswordMail(e){this.update("sendpasswordmail",e)},replyToInitiator(e){this.update("replyToInitiator",e)}},methods:{async update(e,a){await R();const o=S("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),t=a?"yes":"no";try{const{data:s}=await I.post(o,{value:t});this.handleResponse({status:s.ocs?.meta?.status})}catch(s){this.handleResponse({errorMessage:c("sharebymail","Unable to update share by mail config"),error:s})}},async handleResponse({status:e,errorMessage:a,error:o}){e!=="ok"&&(v(a),T.error(a,{error:o}))}}};function N(e,a,o,t,s,x){const n=l("NcCheckboxRadioSwitch"),y=l("NcSettingsSection");return g(),f(y,{name:t.t("sharebymail","Share by mail"),description:t.t("sharebymail","Allows people to share a personalized link to a file or folder by putting in an email address.")},{default:r(()=>[d(n,{modelValue:s.sendPasswordMail,"onUpdate:modelValue":a[0]||(a[0]=i=>s.sendPasswordMail=i),type:"switch"},{default:r(()=>[p(m(t.t("sharebymail","Send password by mail")),1)]),_:1},8,["modelValue"]),d(n,{modelValue:s.replyToInitiator,"onUpdate:modelValue":a[1]||(a[1]=i=>s.replyToInitiator=i),type:"switch"},{default:r(()=>[p(m(t.t("sharebymail","Reply to initiator")),1)]),_:1},8,["modelValue"])]),_:1},8,["name","description"])}const P=u(V,[["render",N]]),_=M(P);_.mount("#vue-admin-sharebymail");
import{_ as u,N as b,a as w,r as l,c as f,o as g,w as r,b as d,d as p,t as m,v as S,e as I,f as c,l as h,g as M}from"./NcSettingsSection-DDccDeTg-x0G4muZJ.chunk.mjs";import{g as k,s as v}from"./check-DjcsRnEg.chunk.mjs";import{c as R}from"./index-CxxvvZ4f.chunk.mjs";const T=k().detectLogLevel().setApp("sharebymail").build(),V={name:"AdminSettings",components:{NcCheckboxRadioSwitch:w,NcSettingsSection:b},setup(){return{t:c}},data(){return{sendPasswordMail:h("sharebymail","sendPasswordMail"),replyToInitiator:h("sharebymail","replyToInitiator")}},watch:{sendPasswordMail(e){this.update("sendpasswordmail",e)},replyToInitiator(e){this.update("replyToInitiator",e)}},methods:{async update(e,a){await R();const o=S("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),t=a?"yes":"no";try{const{data:s}=await I.post(o,{value:t});this.handleResponse({status:s.ocs?.meta?.status})}catch(s){this.handleResponse({errorMessage:c("sharebymail","Unable to update share by mail config"),error:s})}},async handleResponse({status:e,errorMessage:a,error:o}){e!=="ok"&&(v(a),T.error(a,{error:o}))}}};function N(e,a,o,t,s,x){const n=l("NcCheckboxRadioSwitch"),y=l("NcSettingsSection");return g(),f(y,{name:t.t("sharebymail","Share by mail"),description:t.t("sharebymail","Allows people to share a personalized link to a file or folder by putting in an email address.")},{default:r(()=>[d(n,{modelValue:s.sendPasswordMail,"onUpdate:modelValue":a[0]||(a[0]=i=>s.sendPasswordMail=i),type:"switch"},{default:r(()=>[p(m(t.t("sharebymail","Send password by mail")),1)]),_:1},8,["modelValue"]),d(n,{modelValue:s.replyToInitiator,"onUpdate:modelValue":a[1]||(a[1]=i=>s.replyToInitiator=i),type:"switch"},{default:r(()=>[p(m(t.t("sharebymail","Reply to initiator")),1)]),_:1},8,["modelValue"])]),_:1},8,["name","description"])}const P=u(V,[["render",N]]),_=M(P);_.mount("#vue-admin-sharebymail");
//# sourceMappingURL=sharebymail-admin-settings.mjs.map

View file

@ -1,4 +1,4 @@
/* extracted by css-entry-points-plugin */
@import './twofactor_backupcodes-twofactor_backupcodes-settings-personal-Dny2IOsk.chunk.css';
@import './NcSettingsSection-DFav6ob5-BFoYkIs3.chunk.css';
@import './check-seKZqyL0.chunk.css';
@import './NcSettingsSection-DDccDeTg-BFoYkIs3.chunk.css';
@import './check-B7roOh2t.chunk.css';

File diff suppressed because one or more lines are too long