chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
nextcloud-command 2025-11-25 22:41:21 +00:00 committed by Ferdinand Thiessen
parent a9e3734aa7
commit da56265e62
No known key found for this signature in database
GPG key ID: 45FAE7268762B400
45 changed files with 50 additions and 50 deletions

View file

@ -81,7 +81,7 @@ This file is generated from multiple sources. Included packages:
- version: 1.2.1
- license: BSD-3-Clause
- marked
- version: 17.0.0
- version: 17.0.1
- license: MIT
- buffer
- version: 6.0.3

File diff suppressed because one or more lines are too long

View file

@ -41,16 +41,16 @@ This file is generated from multiple sources. Included packages:
- version: 6.0.1
- license: MIT
- @vue/reactivity
- version: 3.5.24
- version: 3.5.25
- license: MIT
- @vue/runtime-core
- version: 3.5.24
- version: 3.5.25
- license: MIT
- @vue/runtime-dom
- version: 3.5.24
- version: 3.5.25
- license: MIT
- @vue/shared
- version: 3.5.24
- version: 3.5.25
- license: MIT
- axios
- version: 1.13.2

File diff suppressed because one or more lines are too long

View file

@ -41,16 +41,16 @@ This file is generated from multiple sources. Included packages:
- version: 6.0.1
- license: MIT
- @vue/reactivity
- version: 3.5.24
- version: 3.5.25
- license: MIT
- @vue/runtime-core
- version: 3.5.24
- version: 3.5.25
- license: MIT
- @vue/runtime-dom
- version: 3.5.24
- version: 3.5.25
- license: MIT
- @vue/shared
- version: 3.5.24
- version: 3.5.25
- license: MIT
- axios
- version: 1.13.2

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

File diff suppressed because one or more lines are too long

4
dist/core-common.js vendored

File diff suppressed because one or more lines are too long

View file

@ -589,7 +589,7 @@ This file is generated from multiple sources. Included packages:
- version: 4.17.21
- license: MIT
- marked
- version: 17.0.0
- version: 17.0.1
- license: MIT
- material-colors
- version: 1.2.6

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{l as i,_ as f,N as b,a as g,r as p,c as R,o as E,w as r,i as n,b as c,d as u,t as l,e as C,j as S,f as m,h as V}from"./NcSettingsSection-BfK7eHNT-ltXSjf11.chunk.mjs";const h=i("dav","userSyncCalendarsDocUrl","#"),k={name:"CalDavSettings",components:{NcCheckboxRadioSwitch:g,NcSettingsSection:b},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 b,a as g,r as p,c as R,o as E,w as r,i as n,b as c,d as u,t as l,e as C,j as S,f as m,h as V}from"./NcSettingsSection-BfK7eHNT-Cvwtv3xC.chunk.mjs";const h=i("dav","userSyncCalendarsDocUrl","#"),k={name:"CalDavSettings",components:{NcCheckboxRadioSwitch:g,NcSettingsSection:b},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

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

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-BV_x7_LP.chunk.mjs vendored Normal file
View file

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

View file

@ -1 +1 @@
{"version":3,"file":"logger-CEqX7L54.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":"8CAOO,MAAMA,EAASC,IACpB,OAAO,KAAK,EACZ,WAAA,EACA,MAAA"}
{"version":3,"file":"logger-BV_x7_LP.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":"8CAOO,MAAMA,EAASC,IACpB,OAAO,KAAK,EACZ,WAAA,EACA,MAAA"}

View file

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

View file

@ -1,2 +1,2 @@
import{y as G,k as H,z as K,A as Z,B as tt,C as nt,D as P,E as k,G as L,H as et,I as st,J as ot,K as ct,L as rt,n as N,M as at}from"./NcSettingsSection-BfK7eHNT-ltXSjf11.chunk.mjs";let W;const x=t=>W=t,q=Symbol();function M(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var E;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(E||(E={}));function yt(){const t=G(!0),o=t.run(()=>H({}));let e=[],n=[];const r=K({install(a){x(r),r._a=a,a.provide(q,r),a.config.globalProperties.$pinia=r,n.forEach(i=>e.push(i)),n=[]},use(a){return this._a?e.push(a):n.push(a),this},_p:e,_a:null,_e:t,_s:new Map,state:o});return r}const Q=()=>{};function B(t,o,e,n=Q){t.push(o);const r=()=>{const a=t.indexOf(o);a>-1&&(t.splice(a,1),n())};return!e&&et()&&st(r),r}function j(t,...o){t.slice().forEach(e=>{e(...o)})}const it=t=>t(),D=Symbol(),I=Symbol();function A(t,o){t instanceof Map&&o instanceof Map?o.forEach((e,n)=>t.set(n,e)):t instanceof Set&&o instanceof Set&&o.forEach(t.add,t);for(const e in o){if(!o.hasOwnProperty(e))continue;const n=o[e],r=t[e];M(r)&&M(n)&&t.hasOwnProperty(e)&&!P(n)&&!k(n)?t[e]=A(r,n):t[e]=n}return t}const ut=Symbol();function ft(t){return!M(t)||!Object.prototype.hasOwnProperty.call(t,ut)}const{assign:l}=Object;function pt(t){return!!(P(t)&&t.effect)}function lt(t,o,e,n){const{state:r,actions:a,getters:i}=o,m=e.state.value[t];let h;function y(){m||(e.state.value[t]=r?r():{});const d=rt(e.state.value[t]);return l(d,a,Object.keys(i||{}).reduce((b,_)=>(b[_]=K(N(()=>{x(e);const v=e._s.get(t);return i[_].call(v,v)})),b),{}))}return h=R(t,y,o,e,n,!0),h}function R(t,o,e={},n,r,a){let i;const m=l({actions:{}},e),h={deep:!0};let y,d,b=[],_=[],v;const O=n.state.value[t];!a&&!O&&(n.state.value[t]={}),H({});let F;function J(s){let c;y=d=!1,typeof s=="function"?(s(n.state.value[t]),c={type:E.patchFunction,storeId:t,events:v}):(A(n.state.value[t],s),c={type:E.patchObject,payload:s,storeId:t,events:v});const u=F=Symbol();ct().then(()=>{F===u&&(y=!0)}),d=!0,j(b,c,n.state.value[t])}const T=a?function(){const{state:s}=e,c=s?s():{};this.$patch(u=>{l(u,c)})}:Q;function U(){i.stop(),b=[],_=[],n._s.delete(t)}const z=(s,c="")=>{if(D in s)return s[I]=c,s;const u=function(){x(n);const w=Array.from(arguments),g=[],C=[];function X(f){g.push(f)}function Y(f){C.push(f)}j(_,{args:w,name:u[I],store:p,after:X,onError:Y});let S;try{S=s.apply(this&&this.$id===t?this:p,w)}catch(f){throw j(C,f),f}return S instanceof Promise?S.then(f=>(j(g,f),f)).catch(f=>(j(C,f),Promise.reject(f))):(j(g,S),S)};return u[D]=!0,u[I]=c,u},V={_p:n,$id:t,$onAction:B.bind(null,_),$patch:J,$reset:T,$subscribe(s,c={}){const u=B(b,s,c.detached,()=>w()),w=i.run(()=>ot(()=>n.state.value[t],g=>{(c.flush==="sync"?d:y)&&s({storeId:t,type:E.direct,events:v},g)},l({},h,c)));return u},$dispose:U},p=nt(V);n._s.set(t,p);const $=(n._a&&n._a.runWithContext||it)(()=>n._e.run(()=>(i=G()).run(()=>o({action:z}))));for(const s in $){const c=$[s];if(P(c)&&!pt(c)||k(c))a||(O&&ft(c)&&(P(c)?c.value=O[s]:A(c,O[s])),n.state.value[t][s]=c);else if(typeof c=="function"){const u=z(c,s);$[s]=u,m.actions[s]=c}}return l(p,$),l(L(p),$),Object.defineProperty(p,"$state",{get:()=>n.state.value[t],set:s=>{J(c=>{l(c,s)})}}),n._p.forEach(s=>{l(p,i.run(()=>s({store:p,app:n._a,pinia:n,options:m})))}),O&&a&&e.hydrate&&e.hydrate(p.$state,O),y=!0,d=!0,p}function dt(t,o,e){let n;const r=typeof o=="function";n=r?e:o;function a(i,m){const h=tt();return i=i||(h?Z(q,null):null),i&&x(i),i=W,i._s.has(t)||(r?R(t,o,n,i):lt(t,n,i)),i._s.get(t)}return a.$id=t,a}function bt(t){const o=L(t),e={};for(const n in o){const r=o[n];r.effect?e[n]=N({get:()=>t[n],set(a){t[n]=a}}):(P(r)||k(r))&&(e[n]=at(t,n))}return e}export{yt as c,dt as d,bt as s};
//# sourceMappingURL=pinia-D-aeb8wD.chunk.mjs.map
import{y as G,k as H,z as K,A as Z,B as tt,C as nt,D as P,E as k,G as L,H as et,I as st,J as ot,K as ct,L as rt,n as N,M as at}from"./NcSettingsSection-BfK7eHNT-Cvwtv3xC.chunk.mjs";let W;const x=t=>W=t,q=Symbol();function M(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var E;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(E||(E={}));function yt(){const t=G(!0),o=t.run(()=>H({}));let e=[],n=[];const r=K({install(a){x(r),r._a=a,a.provide(q,r),a.config.globalProperties.$pinia=r,n.forEach(i=>e.push(i)),n=[]},use(a){return this._a?e.push(a):n.push(a),this},_p:e,_a:null,_e:t,_s:new Map,state:o});return r}const Q=()=>{};function B(t,o,e,n=Q){t.push(o);const r=()=>{const a=t.indexOf(o);a>-1&&(t.splice(a,1),n())};return!e&&et()&&st(r),r}function j(t,...o){t.slice().forEach(e=>{e(...o)})}const it=t=>t(),D=Symbol(),I=Symbol();function A(t,o){t instanceof Map&&o instanceof Map?o.forEach((e,n)=>t.set(n,e)):t instanceof Set&&o instanceof Set&&o.forEach(t.add,t);for(const e in o){if(!o.hasOwnProperty(e))continue;const n=o[e],r=t[e];M(r)&&M(n)&&t.hasOwnProperty(e)&&!P(n)&&!k(n)?t[e]=A(r,n):t[e]=n}return t}const ut=Symbol();function ft(t){return!M(t)||!Object.prototype.hasOwnProperty.call(t,ut)}const{assign:l}=Object;function pt(t){return!!(P(t)&&t.effect)}function lt(t,o,e,n){const{state:r,actions:a,getters:i}=o,m=e.state.value[t];let h;function y(){m||(e.state.value[t]=r?r():{});const d=rt(e.state.value[t]);return l(d,a,Object.keys(i||{}).reduce((b,_)=>(b[_]=K(N(()=>{x(e);const v=e._s.get(t);return i[_].call(v,v)})),b),{}))}return h=R(t,y,o,e,n,!0),h}function R(t,o,e={},n,r,a){let i;const m=l({actions:{}},e),h={deep:!0};let y,d,b=[],_=[],v;const O=n.state.value[t];!a&&!O&&(n.state.value[t]={}),H({});let F;function J(s){let c;y=d=!1,typeof s=="function"?(s(n.state.value[t]),c={type:E.patchFunction,storeId:t,events:v}):(A(n.state.value[t],s),c={type:E.patchObject,payload:s,storeId:t,events:v});const u=F=Symbol();ct().then(()=>{F===u&&(y=!0)}),d=!0,j(b,c,n.state.value[t])}const T=a?function(){const{state:s}=e,c=s?s():{};this.$patch(u=>{l(u,c)})}:Q;function U(){i.stop(),b=[],_=[],n._s.delete(t)}const z=(s,c="")=>{if(D in s)return s[I]=c,s;const u=function(){x(n);const w=Array.from(arguments),g=[],C=[];function X(f){g.push(f)}function Y(f){C.push(f)}j(_,{args:w,name:u[I],store:p,after:X,onError:Y});let S;try{S=s.apply(this&&this.$id===t?this:p,w)}catch(f){throw j(C,f),f}return S instanceof Promise?S.then(f=>(j(g,f),f)).catch(f=>(j(C,f),Promise.reject(f))):(j(g,S),S)};return u[D]=!0,u[I]=c,u},V={_p:n,$id:t,$onAction:B.bind(null,_),$patch:J,$reset:T,$subscribe(s,c={}){const u=B(b,s,c.detached,()=>w()),w=i.run(()=>ot(()=>n.state.value[t],g=>{(c.flush==="sync"?d:y)&&s({storeId:t,type:E.direct,events:v},g)},l({},h,c)));return u},$dispose:U},p=nt(V);n._s.set(t,p);const $=(n._a&&n._a.runWithContext||it)(()=>n._e.run(()=>(i=G()).run(()=>o({action:z}))));for(const s in $){const c=$[s];if(P(c)&&!pt(c)||k(c))a||(O&&ft(c)&&(P(c)?c.value=O[s]:A(c,O[s])),n.state.value[t][s]=c);else if(typeof c=="function"){const u=z(c,s);$[s]=u,m.actions[s]=c}}return l(p,$),l(L(p),$),Object.defineProperty(p,"$state",{get:()=>n.state.value[t],set:s=>{J(c=>{l(c,s)})}}),n._p.forEach(s=>{l(p,i.run(()=>s({store:p,app:n._a,pinia:n,options:m})))}),O&&a&&e.hydrate&&e.hydrate(p.$state,O),y=!0,d=!0,p}function dt(t,o,e){let n;const r=typeof o=="function";n=r?e:o;function a(i,m){const h=tt();return i=i||(h?Z(q,null):null),i&&x(i),i=W,i._s.has(t)||(r?R(t,o,n,i):lt(t,n,i)),i._s.get(t)}return a.$id=t,a}function bt(t){const o=L(t),e={};for(const n in o){const r=o[n];r.effect?e[n]=N({get:()=>t[n],set(a){t[n]=a}}):(P(r)||k(r))&&(e[n]=at(t,n))}return e}export{yt as c,dt as d,bt as s};
//# sourceMappingURL=pinia-Bs-4aixE.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -474,7 +474,7 @@ This file is generated from multiple sources. Included packages:
- version: 4.3.2
- license: MIT
- marked
- version: 17.0.0
- version: 17.0.1
- license: MIT
- material-colors
- version: 1.2.6

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,g as S,e as I,f as c,l as h,h as M}from"./NcSettingsSection-BfK7eHNT-ltXSjf11.chunk.mjs";import{g as k,s as R}from"./Plus-C6XG8pgz.chunk.mjs";import{c as T}from"./index-BX_BSWCg.chunk.mjs";const V=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 T();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"&&(R(a),V.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,g as S,e as I,f as c,l as h,h as M}from"./NcSettingsSection-BfK7eHNT-Cvwtv3xC.chunk.mjs";import{g as k,s as R}from"./Plus-DJQMY9d_.chunk.mjs";import{c as T}from"./index-Df02w-w7.chunk.mjs";const V=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 T();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"&&(R(a),V.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,3 +1,3 @@
import{d as U,c as A}from"./pinia-D-aeb8wD.chunk.mjs";import{f as t,j as I,e as M,l as R,k as m,m as j,n as x,p as i,o as n,c as E,u as a,w as k,d as p,t as u,q as L,s as q,F as _,i as f,v as B,x as g,b as y,_ as F,h as G}from"./NcSettingsSection-BfK7eHNT-ltXSjf11.chunk.mjs";import{g as H,a as $,s as P,N as w}from"./Plus-C6XG8pgz.chunk.mjs";import{c as z}from"./index-BX_BSWCg.chunk.mjs";const D=H().detectLogLevel().setApp("twofactor_backupcodes").build();function J(d){const c=$().theming.name||"Nextcloud",e=window.open("",t("twofactor_backupcodes","{name} backup codes",{name:c}));if(!e)throw P(t("twofactor_backupcodes","Unable to open a new tab for printing")),new Error("Unable to open a new tab for printing");const o=e.document.createElement("h1");o.textContent=t("twofactor_backupcodes","{name} backup codes",{name:c});const s=e.document.createElement("pre");for(const b of d){const r=e.document.createTextNode(b);s.appendChild(r),s.appendChild(e.document.createElement("br"))}e.document.body.innerHTML="",e.document.body.appendChild(o),e.document.body.appendChild(s),e.print(),e.close()}async function K(){const d=I("/apps/twofactor_backupcodes/settings/create"),{data:c}=await M.post(d);return c}const v=R("twofactor_backupcodes","state"),O=U("twofactor_backupcodes",()=>{const d=m(v.enabled),c=m(v.total),e=m(v.used),o=m([]);async function s(){d.value=!1;const{codes:b,state:r}=await K();d.value=r.enabled,c.value=r.total,e.value=r.used,o.value=b}return{enabled:d,total:c,used:e,codes:o,generate:s}}),Q=["aria-label"],V=j({__name:"PersonalSettings",setup(d){const c=$().theming.name??"Nextcloud",e=O(),o=m(!1),s=x(()=>e.codes&&e.codes.length>0),b=c+"-backup-codes.txt",r=x(()=>s.value?"data:text/plain,"+encodeURIComponent(e.codes.reduce((l,C)=>l+C+`
import{d as U,c as A}from"./pinia-Bs-4aixE.chunk.mjs";import{f as t,j as I,e as M,l as R,k as m,m as j,n as x,p as i,o as n,c as E,u as a,w as k,d as p,t as u,q as L,s as q,F as _,i as f,v as B,x as g,b as y,_ as F,h as G}from"./NcSettingsSection-BfK7eHNT-Cvwtv3xC.chunk.mjs";import{g as H,a as $,s as P,N as w}from"./Plus-DJQMY9d_.chunk.mjs";import{c as z}from"./index-Df02w-w7.chunk.mjs";const D=H().detectLogLevel().setApp("twofactor_backupcodes").build();function J(d){const c=$().theming.name||"Nextcloud",e=window.open("",t("twofactor_backupcodes","{name} backup codes",{name:c}));if(!e)throw P(t("twofactor_backupcodes","Unable to open a new tab for printing")),new Error("Unable to open a new tab for printing");const o=e.document.createElement("h1");o.textContent=t("twofactor_backupcodes","{name} backup codes",{name:c});const s=e.document.createElement("pre");for(const b of d){const r=e.document.createTextNode(b);s.appendChild(r),s.appendChild(e.document.createElement("br"))}e.document.body.innerHTML="",e.document.body.appendChild(o),e.document.body.appendChild(s),e.print(),e.close()}async function K(){const d=I("/apps/twofactor_backupcodes/settings/create"),{data:c}=await M.post(d);return c}const v=R("twofactor_backupcodes","state"),O=U("twofactor_backupcodes",()=>{const d=m(v.enabled),c=m(v.total),e=m(v.used),o=m([]);async function s(){d.value=!1;const{codes:b,state:r}=await K();d.value=r.enabled,c.value=r.total,e.value=r.used,o.value=b}return{enabled:d,total:c,used:e,codes:o,generate:s}}),Q=["aria-label"],V=j({__name:"PersonalSettings",setup(d){const c=$().theming.name??"Nextcloud",e=O(),o=m(!1),s=x(()=>e.codes&&e.codes.length>0),b=c+"-backup-codes.txt",r=x(()=>s.value?"data:text/plain,"+encodeURIComponent(e.codes.reduce((l,C)=>l+C+`
`,"")):"");async function h(){await z(),o.value=!0;try{await e.generate()}catch(l){D.error("Error generating backup codes",{error:l}),P(t("twofactor_backupcodes","An error occurred while generating your backup codes"))}finally{o.value=!1}}function T(){J(!e.codes||e.codes.length===0?[]:e.codes)}return(l,C)=>(n(),i("div",{class:g(l.$style.backupcodesSettings)},[a(e).enabled?(n(),i(_,{key:1},[f("p",null,[s.value?(n(),i(_,{key:1},[p(u(a(t)("twofactor_backupcodes","These are your backup codes. Please save and/or print them as you will not be able to read the codes again later."))+" ",1),f("ul",{"aria-label":a(t)("twofactor_backupcodes","List of backup codes")},[(n(!0),i(_,null,B(a(e).codes,S=>(n(),i("li",{key:S,class:g(l.$style.backupcodesSettings__code)},u(S),3))),128))],8,Q)],64)):(n(),i(_,{key:0},[p(u(a(t)("twofactor_backupcodes","Backup codes have been generated. {used} of {total} codes have been used.",{used:a(e).used,total:a(e).total})),1)],64))]),f("p",{class:g(l.$style.backupcodesSettings__actions)},[y(a(w),{id:"generate-backup-codes",variant:"error",onClick:h},{default:k(()=>[p(u(a(t)("twofactor_backupcodes","Regenerate backup codes")),1)]),_:1}),s.value?(n(),i(_,{key:0},[y(a(w),{onClick:T},{default:k(()=>[p(u(a(t)("twofactor_backupcodes","Print backup codes")),1)]),_:1}),y(a(w),{href:r.value,download:b,variant:"primary"},{default:k(()=>[p(u(a(t)("twofactor_backupcodes","Save backup codes")),1)]),_:1},8,["href"])],64)):L("",!0)],2),f("p",null,[f("em",null,u(a(t)("twofactor_backupcodes","If you regenerate backup codes, you automatically invalidate old codes.")),1)])],64)):(n(),E(a(w),{key:0,disabled:o.value,variant:"primary",onClick:h},{icon:k(()=>[o.value?(n(),E(a(q),{key:0})):L("",!0)]),default:k(()=>[p(" "+u(a(t)("twofactor_backupcodes","Generate backup codes")),1)]),_:1},8,["disabled"]))],2))}}),W="_backupcodesSettings_bnkw8_2",X="_backupcodesSettings__code_bnkw8_7",Y="_backupcodesSettings__actions_bnkw8_13",Z={backupcodesSettings:W,backupcodesSettings__code:X,backupcodesSettings__actions:Y},ee={$style:Z},ae=F(V,[["__cssModules",ee]]),te=A(),N=G(ae);N.use(te),N.mount("#twofactor-backupcodes-settings");
//# sourceMappingURL=twofactor_backupcodes-settings-personal.mjs.map

View file

@ -72,7 +72,7 @@ This file is generated from multiple sources. Included packages:
- version: 1.0.3
- license: MIT
- marked
- version: 17.0.0
- version: 17.0.1
- license: MIT
- process
- version: 0.11.10

File diff suppressed because one or more lines are too long