Browse Source

Merge pull request #57198 from nextcloud/dependabot/npm_and_yarn/vue-3.5.26

build(deps): Bump vue from 3.5.25 to 3.5.26
pull/57194/head
github-actions[bot] 7 months ago
committed by GitHub
parent
commit
0d0264f057
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      dist/ContentCopy-DUGe9ppe.chunk.mjs
  2. 0
      dist/ContentCopy-DUGe9ppe.chunk.mjs.license
  3. 2
      dist/ContentCopy-DUGe9ppe.chunk.mjs.map
  4. 0
      dist/ContentCopy-DUGe9ppe.chunk.mjs.map.license
  5. 4
      dist/Plus-ComWjyCg.chunk.mjs
  6. 0
      dist/Plus-ComWjyCg.chunk.mjs.license
  7. 2
      dist/Plus-ComWjyCg.chunk.mjs.map
  8. 0
      dist/Plus-ComWjyCg.chunk.mjs.map.license
  9. 4
      dist/SetStatusModal-Dh5Wc39-.chunk.mjs
  10. 0
      dist/SetStatusModal-Dh5Wc39-.chunk.mjs.license
  11. 2
      dist/SetStatusModal-Dh5Wc39-.chunk.mjs.map
  12. 0
      dist/SetStatusModal-Dh5Wc39-.chunk.mjs.map.license
  13. 4
      dist/TrashCanOutline-CpMai7X_.chunk.mjs
  14. 0
      dist/TrashCanOutline-CpMai7X_.chunk.mjs.license
  15. 2
      dist/TrashCanOutline-CpMai7X_.chunk.mjs.map
  16. 0
      dist/TrashCanOutline-CpMai7X_.chunk.mjs.map.license
  17. 14
      dist/TrayArrowDown-DRD7jyjz.chunk.mjs
  18. 8
      dist/TrayArrowDown-DRD7jyjz.chunk.mjs.license
  19. 1
      dist/TrayArrowDown-DRD7jyjz.chunk.mjs.map
  20. 8
      dist/TrayArrowDown-DRD7jyjz.chunk.mjs.map.license
  21. 1
      dist/TrayArrowDown-sRwZP_WA.chunk.mjs.map
  22. 4
      dist/dav-DqoAtxTS.chunk.mjs
  23. 0
      dist/dav-DqoAtxTS.chunk.mjs.license
  24. 2
      dist/dav-DqoAtxTS.chunk.mjs.map
  25. 0
      dist/dav-DqoAtxTS.chunk.mjs.map.license
  26. 2
      dist/dav-settings-admin-caldav.mjs
  27. 2
      dist/dav-settings-admin-example-content.mjs
  28. 2
      dist/dav-settings-personal-availability.mjs
  29. 2
      dist/federatedfilesharing-init-files.mjs
  30. 2
      dist/federatedfilesharing-settings-admin.mjs
  31. 2
      dist/federatedfilesharing-settings-personal.mjs
  32. 2
      dist/files_reminders-init.mjs
  33. 2
      dist/files_trashbin-init.mjs
  34. 2
      dist/files_versions-sidebar-tab.mjs
  35. 4
      dist/index-Ci4T8pZ2.chunk.mjs
  36. 0
      dist/index-Ci4T8pZ2.chunk.mjs.license
  37. 2
      dist/index-Ci4T8pZ2.chunk.mjs.map
  38. 0
      dist/index-Ci4T8pZ2.chunk.mjs.map.license
  39. 4
      dist/index-CyxJQZEx.chunk.mjs
  40. 0
      dist/index-CyxJQZEx.chunk.mjs.license
  41. 2
      dist/index-CyxJQZEx.chunk.mjs.map
  42. 0
      dist/index-CyxJQZEx.chunk.mjs.map.license
  43. 4
      dist/index-QBx_T219.chunk.mjs
  44. 0
      dist/index-QBx_T219.chunk.mjs.license
  45. 2
      dist/index-QBx_T219.chunk.mjs.map
  46. 0
      dist/index-QBx_T219.chunk.mjs.map.license
  47. 4
      dist/index-aH_E0dwm.chunk.mjs
  48. 0
      dist/index-aH_E0dwm.chunk.mjs.license
  49. 2
      dist/index-aH_E0dwm.chunk.mjs.map
  50. 0
      dist/index-aH_E0dwm.chunk.mjs.map.license
  51. 2
      dist/logger-CniESSWM.chunk.mjs
  52. 2
      dist/logger-Cu5Dvow_.chunk.mjs
  53. 2
      dist/logger-CzVQP-dV.chunk.mjs
  54. 0
      dist/logger-CzVQP-dV.chunk.mjs.license
  55. 2
      dist/logger-CzVQP-dV.chunk.mjs.map
  56. 0
      dist/logger-CzVQP-dV.chunk.mjs.map.license
  57. 2
      dist/logger-Dsv-UmQD.chunk.mjs
  58. 0
      dist/logger-Dsv-UmQD.chunk.mjs.license
  59. 2
      dist/logger-Dsv-UmQD.chunk.mjs.map
  60. 0
      dist/logger-Dsv-UmQD.chunk.mjs.map.license
  61. 2
      dist/oauth2-settings-admin.mjs
  62. 4
      dist/pinia-C7h4TeOI.chunk.mjs
  63. 0
      dist/pinia-C7h4TeOI.chunk.mjs.license
  64. 2
      dist/pinia-C7h4TeOI.chunk.mjs.map
  65. 0
      dist/pinia-C7h4TeOI.chunk.mjs.map.license
  66. 2
      dist/sharebymail-admin-settings.mjs
  67. 2
      dist/twofactor_backupcodes-settings-personal.mjs
  68. 2
      dist/user_ldap-settings-admin.mjs
  69. 4
      dist/user_status-menu.mjs
  70. 118
      package-lock.json
  71. 2
      package.json

4
dist/ContentCopy-DUGe9ppe.chunk.mjs
File diff suppressed because it is too large
View File

0
dist/ContentCopy-BEfKgtZW.chunk.mjs.license → dist/ContentCopy-DUGe9ppe.chunk.mjs.license

2
dist/ContentCopy-DUGe9ppe.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/ContentCopy-BEfKgtZW.chunk.mjs.map.license → dist/ContentCopy-DUGe9ppe.chunk.mjs.map.license

4
dist/Plus-ComWjyCg.chunk.mjs
File diff suppressed because it is too large
View File

0
dist/Plus-DDsJI2iW.chunk.mjs.license → dist/Plus-ComWjyCg.chunk.mjs.license

2
dist/Plus-ComWjyCg.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/Plus-DDsJI2iW.chunk.mjs.map.license → dist/Plus-ComWjyCg.chunk.mjs.map.license

4
dist/SetStatusModal-Dh5Wc39-.chunk.mjs
File diff suppressed because it is too large
View File

0
dist/SetStatusModal-DFKMBQe-.chunk.mjs.license → dist/SetStatusModal-Dh5Wc39-.chunk.mjs.license

2
dist/SetStatusModal-Dh5Wc39-.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/SetStatusModal-DFKMBQe-.chunk.mjs.map.license → dist/SetStatusModal-Dh5Wc39-.chunk.mjs.map.license

4
dist/TrashCanOutline-CpMai7X_.chunk.mjs
File diff suppressed because it is too large
View File

0
dist/TrashCanOutline-avc1vI9P.chunk.mjs.license → dist/TrashCanOutline-CpMai7X_.chunk.mjs.license

2
dist/TrashCanOutline-CpMai7X_.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/TrashCanOutline-avc1vI9P.chunk.mjs.map.license → dist/TrashCanOutline-CpMai7X_.chunk.mjs.map.license

14
dist/TrayArrowDown-DRD7jyjz.chunk.mjs
File diff suppressed because it is too large
View File

8
dist/TrayArrowDown-sRwZP_WA.chunk.mjs.license → dist/TrayArrowDown-DRD7jyjz.chunk.mjs.license

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

1
dist/TrayArrowDown-DRD7jyjz.chunk.mjs.map
File diff suppressed because it is too large
View File

8
dist/TrayArrowDown-sRwZP_WA.chunk.mjs.map.license → dist/TrayArrowDown-DRD7jyjz.chunk.mjs.map.license

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

1
dist/TrayArrowDown-sRwZP_WA.chunk.mjs.map
File diff suppressed because it is too large
View File

4
dist/dav-DqoAtxTS.chunk.mjs
File diff suppressed because it is too large
View File

0
dist/dav-CRTiYd1u.chunk.mjs.license → dist/dav-DqoAtxTS.chunk.mjs.license

2
dist/dav-DqoAtxTS.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/dav-CRTiYd1u.chunk.mjs.map.license → dist/dav-DqoAtxTS.chunk.mjs.map.license

2
dist/dav-settings-admin-caldav.mjs

@ -1,2 +1,2 @@
import{l as i,_ as y,N as b,c as g,d as R,p as E,e as u,r as v,o as C,w as r,k as n,a as c,b as m,t as l,f as S}from"./TrayArrowDown-sRwZP_WA.chunk.mjs";import{N as V}from"./ContentCopy-BEfKgtZW.chunk.mjs";const h=i("dav","userSyncCalendarsDocUrl","#"),k={name:"CalDavSettings",components:{NcCheckboxRadioSwitch:V,NcSettingsSection:b},setup(){return{t:u}},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 u("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 u("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 u("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";R.post(E(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,p){const o=v("NcCheckboxRadioSwitch"),f=v("NcSettingsSection");return C(),g(f,{name:s.t("dav","Calendar server"),"doc-url":a.userSyncCalendarsDocUrl},{default:r(()=>[n("p",{class:"settings-hint",innerHTML:p.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(()=>[m(l(s.t("dav","Send invitations to attendees")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:p.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(()=>[m(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(()=>[m(l(s.t("dav","Send notifications for events")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:p.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(()=>[m(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(()=>[m(l(s.t("dav","Enable notifications for events via push")),1)]),_:1},8,["modelValue","disabled"])])]),_:1},8,["name","doc-url"])}const I=y(k,[["render",H],["__scopeId","data-v-84465bd0"]]),B=S(I);B.mount("#settings-admin-caldav");
import{l as i,_ as y,N as b,c as g,d as R,p as E,e as u,r as v,o as C,w as r,k as n,a as c,b as m,t as l,f as S}from"./TrayArrowDown-DRD7jyjz.chunk.mjs";import{N as V}from"./ContentCopy-DUGe9ppe.chunk.mjs";const h=i("dav","userSyncCalendarsDocUrl","#"),k={name:"CalDavSettings",components:{NcCheckboxRadioSwitch:V,NcSettingsSection:b},setup(){return{t:u}},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 u("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 u("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 u("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";R.post(E(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,p){const o=v("NcCheckboxRadioSwitch"),f=v("NcSettingsSection");return C(),g(f,{name:s.t("dav","Calendar server"),"doc-url":a.userSyncCalendarsDocUrl},{default:r(()=>[n("p",{class:"settings-hint",innerHTML:p.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(()=>[m(l(s.t("dav","Send invitations to attendees")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:p.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(()=>[m(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(()=>[m(l(s.t("dav","Send notifications for events")),1)]),_:1},8,["modelValue"]),n("em",{innerHTML:p.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(()=>[m(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(()=>[m(l(s.t("dav","Enable notifications for events via push")),1)]),_:1},8,["modelValue","disabled"])])]),_:1},8,["name","doc-url"])}const I=y(k,[["render",H],["__scopeId","data-v-84465bd0"]]),B=S(I);B.mount("#settings-admin-caldav");
//# sourceMappingURL=dav-settings-admin-caldav.mjs.map

2
dist/dav-settings-admin-example-content.mjs
File diff suppressed because it is too large
View File

2
dist/dav-settings-personal-availability.mjs
File diff suppressed because it is too large
View File

2
dist/federatedfilesharing-init-files.mjs

@ -1,2 +1,2 @@
import{h as _,i as y,j as b,e as t,c as u,o as f,w as R,k as v,m as D,t as S,u as i,n as O,_ as k,l as q,s as C,d,p,q as P}from"./TrayArrowDown-sRwZP_WA.chunk.mjs";import{N as F,a as x,b as N,s as h}from"./Plus-DDsJI2iW.chunk.mjs";import{N as E}from"./TrashCanOutline-avc1vI9P.chunk.mjs";import{l as j}from"./logger-Cu5Dvow_.chunk.mjs";import"./ContentCopy-BEfKgtZW.chunk.mjs";const M=_({__name:"RemoteShareDialog",props:{name:{},owner:{},remote:{},passwordRequired:{type:Boolean}},emits:["close"],setup(e,{emit:s}){const r=e,a=s,o=y(""),n=b(()=>[{label:t("federatedfilesharing","Cancel"),callback:()=>a("close",!1)},{label:t("federatedfilesharing","Add remote share"),type:r.passwordRequired?"submit":void 0,variant:"primary",callback:()=>a("close",!0,o.value)}]);return(c,l)=>(f(),u(i(F),{buttons:n.value,"is-form":e.passwordRequired,name:i(t)("federatedfilesharing","Remote share"),onSubmit:l[1]||(l[1]=w=>a("close",!0,o.value))},{default:R(()=>[v("p",null,S(i(t)("federatedfilesharing","Do you want to add the remote share {name} from {owner}@{remote}?",{name:e.name,owner:e.owner,remote:e.remote})),1),e.passwordRequired?(f(),u(i(E),{key:0,modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=w=>o.value=w),class:O(c.$style.remoteShareDialog__password),label:i(t)("federatedfilesharing","Remote share password")},null,8,["modelValue","class","label"])):D("",!0)]),_:1},8,["buttons","is-form","name"]))}}),T="_remoteShareDialog__password_1ccpy_2",U={remoteShareDialog__password:T},V={$style:U},$=k(M,[["__cssModules",V]]);async function I(e,s,r,a=!1){const[o,n]=await x($,{name:e,owner:s,remote:r,passwordRequired:a});if(a&&o)return n;if(!o)throw new Error("Dialog was cancelled")}window.addEventListener("DOMContentLoaded",()=>{L(),q("federatedfilesharing","notificationsEnabled",!0)!==!0&&A(),C("notifications:action:executed",({action:e,notification:s})=>{s.app==="files_sharing"&&s.object_type==="remote_share"&&e.type==="POST"&&m()})});function m(){if(!window?.OCP?.Files?.Router?.goToRoute){window.location.reload();return}window.OCP.Files.Router.goToRoute(null,{...window.OCP.Files.Router.params,fileid:void 0},{...window.OCP.Files.Router.query,dir:"/",openfile:void 0})}function L(){const e=window.OC.Util.History.parseUrlQuery();if(e.remote&&e.token&&e.name){const s=(r,a)=>{r!==!1&&d.post(p("apps/federatedfilesharing/askForFederatedShare"),{remote:a.remote,token:a.token,owner:a.owner,ownerDisplayName:a.ownerDisplayName||a.owner,name:a.name,password:a.password||""}).then(({data:o})=>{Object.hasOwn(o,"legacyMount")?m():N(o.message)}).catch(o=>{j.error("Error while processing incoming share",{error:o}),P(o)&&o.response.data.message?h(o.response.data.message):h(t("federatedfilesharing","Incoming share could not be processed"))})};location.hash="",e.passwordProtected=parseInt(e.protected,10)===1,g(e,e.passwordProtected,s)}}async function A(){const{data:e}=await d.get(p("/apps/files_sharing/api/externalShares"));for(let s=0;s<e.length;++s)g(e[s],!1,function(r,a){r===!1?d.delete(p("/apps/files_sharing/api/externalShares/"+a.id)):d.post(p("/apps/files_sharing/api/externalShares"),{id:a.id}).then(()=>m())})}function g(e,s,r){const a=e.ownerDisplayName||e.owner,o=e.name,n=e.remote.replace(/^https?:\/\//,"").replace(/\/$/,"");I(o,a,n,s).then(c=>r(!0,{...e,password:c})).catch(()=>r(!1,e))}
import{h as _,i as y,j as b,e as t,c as u,o as f,w as R,k as v,m as D,t as S,u as i,n as O,_ as k,l as q,s as C,d,p,q as P}from"./TrayArrowDown-DRD7jyjz.chunk.mjs";import{N as F,a as x,b as N,s as h}from"./Plus-ComWjyCg.chunk.mjs";import{N as E}from"./TrashCanOutline-CpMai7X_.chunk.mjs";import{l as j}from"./logger-CzVQP-dV.chunk.mjs";import"./ContentCopy-DUGe9ppe.chunk.mjs";const M=_({__name:"RemoteShareDialog",props:{name:{},owner:{},remote:{},passwordRequired:{type:Boolean}},emits:["close"],setup(e,{emit:s}){const r=e,a=s,o=y(""),n=b(()=>[{label:t("federatedfilesharing","Cancel"),callback:()=>a("close",!1)},{label:t("federatedfilesharing","Add remote share"),type:r.passwordRequired?"submit":void 0,variant:"primary",callback:()=>a("close",!0,o.value)}]);return(c,l)=>(f(),u(i(F),{buttons:n.value,"is-form":e.passwordRequired,name:i(t)("federatedfilesharing","Remote share"),onSubmit:l[1]||(l[1]=w=>a("close",!0,o.value))},{default:R(()=>[v("p",null,S(i(t)("federatedfilesharing","Do you want to add the remote share {name} from {owner}@{remote}?",{name:e.name,owner:e.owner,remote:e.remote})),1),e.passwordRequired?(f(),u(i(E),{key:0,modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=w=>o.value=w),class:O(c.$style.remoteShareDialog__password),label:i(t)("federatedfilesharing","Remote share password")},null,8,["modelValue","class","label"])):D("",!0)]),_:1},8,["buttons","is-form","name"]))}}),T="_remoteShareDialog__password_1ccpy_2",U={remoteShareDialog__password:T},V={$style:U},$=k(M,[["__cssModules",V]]);async function I(e,s,r,a=!1){const[o,n]=await x($,{name:e,owner:s,remote:r,passwordRequired:a});if(a&&o)return n;if(!o)throw new Error("Dialog was cancelled")}window.addEventListener("DOMContentLoaded",()=>{L(),q("federatedfilesharing","notificationsEnabled",!0)!==!0&&A(),C("notifications:action:executed",({action:e,notification:s})=>{s.app==="files_sharing"&&s.object_type==="remote_share"&&e.type==="POST"&&m()})});function m(){if(!window?.OCP?.Files?.Router?.goToRoute){window.location.reload();return}window.OCP.Files.Router.goToRoute(null,{...window.OCP.Files.Router.params,fileid:void 0},{...window.OCP.Files.Router.query,dir:"/",openfile:void 0})}function L(){const e=window.OC.Util.History.parseUrlQuery();if(e.remote&&e.token&&e.name){const s=(r,a)=>{r!==!1&&d.post(p("apps/federatedfilesharing/askForFederatedShare"),{remote:a.remote,token:a.token,owner:a.owner,ownerDisplayName:a.ownerDisplayName||a.owner,name:a.name,password:a.password||""}).then(({data:o})=>{Object.hasOwn(o,"legacyMount")?m():N(o.message)}).catch(o=>{j.error("Error while processing incoming share",{error:o}),P(o)&&o.response.data.message?h(o.response.data.message):h(t("federatedfilesharing","Incoming share could not be processed"))})};location.hash="",e.passwordProtected=parseInt(e.protected,10)===1,g(e,e.passwordProtected,s)}}async function A(){const{data:e}=await d.get(p("/apps/files_sharing/api/externalShares"));for(let s=0;s<e.length;++s)g(e[s],!1,function(r,a){r===!1?d.delete(p("/apps/files_sharing/api/externalShares/"+a.id)):d.post(p("/apps/files_sharing/api/externalShares"),{id:a.id}).then(()=>m())})}function g(e,s,r){const a=e.ownerDisplayName||e.owner,o=e.name,n=e.remote.replace(/^https?:\/\//,"").replace(/\/$/,"");I(o,a,n,s).then(c=>r(!0,{...e,password:c})).catch(()=>r(!1,e))}
//# sourceMappingURL=federatedfilesharing-init-files.mjs.map

2
dist/federatedfilesharing-settings-admin.mjs
File diff suppressed because it is too large
View File

2
dist/federatedfilesharing-settings-personal.mjs

@ -1,4 +1,4 @@
import{_ as I,v as d,o,k as i,m as M,t as l,B as S,h as j,l as f,C as w,e as a,i as N,j as _,c as x,w as r,a as h,u as e,b as s,F as J,D as W,N as q,f as E}from"./TrayArrowDown-sRwZP_WA.chunk.mjs";import{d as z}from"./Plus-DDsJI2iW.chunk.mjs";import{d as G,b}from"./TrashCanOutline-avc1vI9P.chunk.mjs";import{I as K}from"./ContentCopy-BEfKgtZW.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";const Q={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},V=["aria-hidden","aria-label"],X=["fill","width","height"],ee={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},ae={key:0};function te(c,n,t,k,p,v){return o(),d("span",S(c.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=g=>c.$emit("click",g))}),[(o(),d("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[i("path",ee,[t.title?(o(),d("title",ae,l(t.title),1)):M("",!0)])],8,X))],16,V)}const ie=I(Q,[["render",te]]),re={name:"WebIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},le=["aria-hidden","aria-label"],oe=["fill","width","height"],ne={d:"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},se={key:0};function de(c,n,t,k,p,v){return o(),d("span",S(c.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon web-icon",role:"img",onClick:n[0]||(n[0]=g=>c.$emit("click",g))}),[(o(),d("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[i("path",ne,[t.title?(o(),d("title",se,l(t.title),1)):M("",!0)])],8,oe))],16,le)}const ce=I(re,[["render",de]]),ue={class:"social-button"},fe=["src"],he=["src"],pe=["src"],ge={style:{margin:"10px 0"}},me=["href"],Ce=j({__name:"PersonalSettings",setup(c){const n=window.OC.theme.productName,t=f("federatedfilesharing","color"),k=f("federatedfilesharing","textColor"),p=f("federatedfilesharing","cloudId"),v=f("federatedfilesharing","docUrlFederated"),g=f("federatedfilesharing","logoPath"),m=f("federatedfilesharing","reference"),D=w("core","facebook"),F=w("core","mastodon"),L=w("core","bluesky"),U=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID, see {url}",{url:m}),B=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID"),R=`https://mastodon.social/?text=${encodeURIComponent(B)}&url=${encodeURIComponent(m)}`,A=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(m)}`,T=`https://bsky.app/intent/compose?text=${encodeURIComponent(U)}`,O=new URL(g,location.origin),y=N(!1),C=N(!1),$=_(()=>`
import{_ as I,v as d,o,k as i,m as M,t as l,B as S,h as j,l as f,C as w,e as a,i as N,j as _,c as x,w as r,a as h,u as e,b as s,F as J,D as W,N as q,f as E}from"./TrayArrowDown-DRD7jyjz.chunk.mjs";import{d as z}from"./Plus-ComWjyCg.chunk.mjs";import{d as G,b}from"./TrashCanOutline-CpMai7X_.chunk.mjs";import{I as K}from"./ContentCopy-DUGe9ppe.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";const Q={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},V=["aria-hidden","aria-label"],X=["fill","width","height"],ee={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},ae={key:0};function te(c,n,t,k,p,v){return o(),d("span",S(c.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=g=>c.$emit("click",g))}),[(o(),d("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[i("path",ee,[t.title?(o(),d("title",ae,l(t.title),1)):M("",!0)])],8,X))],16,V)}const ie=I(Q,[["render",te]]),re={name:"WebIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},le=["aria-hidden","aria-label"],oe=["fill","width","height"],ne={d:"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},se={key:0};function de(c,n,t,k,p,v){return o(),d("span",S(c.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon web-icon",role:"img",onClick:n[0]||(n[0]=g=>c.$emit("click",g))}),[(o(),d("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[i("path",ne,[t.title?(o(),d("title",se,l(t.title),1)):M("",!0)])],8,oe))],16,le)}const ce=I(re,[["render",de]]),ue={class:"social-button"},fe=["src"],he=["src"],pe=["src"],ge={style:{margin:"10px 0"}},me=["href"],Ce=j({__name:"PersonalSettings",setup(c){const n=window.OC.theme.productName,t=f("federatedfilesharing","color"),k=f("federatedfilesharing","textColor"),p=f("federatedfilesharing","cloudId"),v=f("federatedfilesharing","docUrlFederated"),g=f("federatedfilesharing","logoPath"),m=f("federatedfilesharing","reference"),D=w("core","facebook"),F=w("core","mastodon"),L=w("core","bluesky"),U=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID, see {url}",{url:m}),B=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID"),R=`https://mastodon.social/?text=${encodeURIComponent(B)}&url=${encodeURIComponent(m)}`,A=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(m)}`,T=`https://bsky.app/intent/compose?text=${encodeURIComponent(U)}`,O=new URL(g,location.origin),y=N(!1),C=N(!1),$=_(()=>`
padding:10px;
background-color:${t};
color:${k};

2
dist/files_reminders-init.mjs
File diff suppressed because it is too large
View File

2
dist/files_trashbin-init.mjs
File diff suppressed because it is too large
View File

2
dist/files_versions-sidebar-tab.mjs
File diff suppressed because it is too large
View File

4
dist/index-Ci4T8pZ2.chunk.mjs
File diff suppressed because it is too large
View File

0
dist/index-BGFNwqHi.chunk.mjs.license → dist/index-Ci4T8pZ2.chunk.mjs.license

2
dist/index-Ci4T8pZ2.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/index-BGFNwqHi.chunk.mjs.map.license → dist/index-Ci4T8pZ2.chunk.mjs.map.license

4
dist/index-CyxJQZEx.chunk.mjs
File diff suppressed because it is too large
View File

0
dist/index-wzXhnBCQ.chunk.mjs.license → dist/index-CyxJQZEx.chunk.mjs.license

2
dist/index-CyxJQZEx.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/index-wzXhnBCQ.chunk.mjs.map.license → dist/index-CyxJQZEx.chunk.mjs.map.license

4
dist/index-QBx_T219.chunk.mjs
File diff suppressed because it is too large
View File

0
dist/index-Dqjjhtll.chunk.mjs.license → dist/index-QBx_T219.chunk.mjs.license

2
dist/index-QBx_T219.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/index-Dqjjhtll.chunk.mjs.map.license → dist/index-QBx_T219.chunk.mjs.map.license

4
dist/index-aH_E0dwm.chunk.mjs
File diff suppressed because it is too large
View File

0
dist/index-C2fUbm9n.chunk.mjs.license → dist/index-aH_E0dwm.chunk.mjs.license

2
dist/index-aH_E0dwm.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/index-C2fUbm9n.chunk.mjs.map.license → dist/index-aH_E0dwm.chunk.mjs.map.license

2
dist/logger-CniESSWM.chunk.mjs

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

2
dist/logger-Cu5Dvow_.chunk.mjs

@ -1,2 +0,0 @@
import{g as e}from"./TrashCanOutline-avc1vI9P.chunk.mjs";const o=e().setApp("federatedfilesharing").build();export{o as l};
//# sourceMappingURL=logger-Cu5Dvow_.chunk.mjs.map

2
dist/logger-CzVQP-dV.chunk.mjs

@ -0,0 +1,2 @@
import{g as e}from"./TrashCanOutline-CpMai7X_.chunk.mjs";const o=e().setApp("federatedfilesharing").build();export{o as l};
//# sourceMappingURL=logger-CzVQP-dV.chunk.mjs.map

0
dist/logger-CniESSWM.chunk.mjs.license → dist/logger-CzVQP-dV.chunk.mjs.license

2
dist/logger-Cu5Dvow_.chunk.mjs.map → dist/logger-CzVQP-dV.chunk.mjs.map

@ -1 +1 @@
{"version":3,"file":"logger-Cu5Dvow_.chunk.mjs","sources":["../build/frontend/apps/federatedfilesharing/src/services/logger.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\nconst logger = getLoggerBuilder()\n\t.setApp('federatedfilesharing')\n\t.build()\nexport default logger\n"],"names":["logger","getLoggerBuilder"],"mappings":"yDAOA,MAAMA,EAASC,EAAA,EACb,OAAO,sBAAsB,EAC7B,MAAA"}
{"version":3,"file":"logger-CzVQP-dV.chunk.mjs","sources":["../build/frontend/apps/federatedfilesharing/src/services/logger.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\nconst logger = getLoggerBuilder()\n\t.setApp('federatedfilesharing')\n\t.build()\nexport default logger\n"],"names":["logger","getLoggerBuilder"],"mappings":"yDAOA,MAAMA,EAASC,EAAA,EACb,OAAO,sBAAsB,EAC7B,MAAA"}

0
dist/logger-CniESSWM.chunk.mjs.map.license → dist/logger-CzVQP-dV.chunk.mjs.map.license

2
dist/logger-Dsv-UmQD.chunk.mjs

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

0
dist/logger-Cu5Dvow_.chunk.mjs.license → dist/logger-Dsv-UmQD.chunk.mjs.license

2
dist/logger-CniESSWM.chunk.mjs.map → dist/logger-Dsv-UmQD.chunk.mjs.map

@ -1 +1 @@
{"version":3,"file":"logger-CniESSWM.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":"yDAOO,MAAMA,EAASC,IACpB,OAAO,KAAK,EACZ,WAAA,EACA,MAAA"}
{"version":3,"file":"logger-Dsv-UmQD.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":"yDAOO,MAAMA,EAASC,IACpB,OAAO,KAAK,EACZ,WAAA,EACA,MAAA"}

0
dist/logger-Cu5Dvow_.chunk.mjs.map.license → dist/logger-Dsv-UmQD.chunk.mjs.map.license

2
dist/oauth2-settings-admin.mjs

@ -1,2 +1,2 @@
import{h as $,v as y,o as s,k as t,t as u,n as i,c as d,u as e,e as a,a as m,w as h,_ as w,y as D,l as V,i as k,m as A,F as x,x as q,b,z as O,N as z,d as g,p as U,q as C,f as B}from"./TrayArrowDown-sRwZP_WA.chunk.mjs";import{N as F,I as j,b as M,a as E,c as I,_ as S}from"./TrashCanOutline-avc1vI9P.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";const G={key:1},H=$({__name:"OAuthItem",props:{client:{}},emits:["delete"],setup(c){return(r,p)=>(s(),y("tr",null,[t("td",null,u(c.client.name),1),t("td",null,[t("code",{class:i(r.$style.oAuthItem__code)},u(c.client.redirectUri),3)]),t("td",null,[t("code",{class:i(r.$style.oAuthItem__code)},u(c.client.clientId),3)]),t("td",null,[c.client.clientSecret?(s(),d(e(F),{key:0,class:i(r.$style.oAuthItem__clientSecret),"aria-label":e(a)("oauth2","Secret key"),"as-text":"","model-value":c.client.clientSecret,"show-trailing-button":""},null,8,["class","aria-label","model-value"])):(s(),y("span",G,"*****"))]),t("td",null,[m(e(M),{"aria-label":e(a)("oauth2","Delete"),title:e(a)("oauth2","Delete"),variant:"error",onClick:p[0]||(p[0]=f=>r.$emit("delete"))},{icon:h(()=>[m(j,{size:20})]),_:1},8,["aria-label","title"])])]))}}),J="_oAuthItem__code_3r02l_2",K="_oAuthItem__clientSecret_3r02l_11",L={oAuthItem__code:J,oAuthItem__clientSecret:K},P={$style:L},Q=w(H,[["__cssModules",P]]),T={class:"hidden-visually"},W=$({__name:"AdminSettings",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(c){const r=D(c,"modelValue"),p=E().theming.name,f=V("oauth2","oauth2-doc-link"),v=k(!1),o=k({name:"",redirectUri:"",errorMsg:"",error:!1});async function N(l){await g.delete(U("apps/oauth2/clients/{id}",{id:l})),r.value=r.value.filter(n=>n.id!==l)}async function R(){o.value.error=!1;try{const{data:l}=await g.post(U("apps/oauth2/clients"),{name:o.value.name,redirectUri:o.value.redirectUri});r.value.push(l),v.value=!0,o.value.name="",o.value.redirectUri=""}catch(l){o.value.error=!0,C(l)&&l.response?o.value.errorMsg=l.response.data.message:o.value.errorMsg=a("oauth2","An unknown error occurred.")}}return(l,n)=>(s(),d(e(z),{name:e(a)("oauth2","OAuth 2.0 clients"),description:e(a)("oauth2","OAuth 2.0 allows external services to request access to {instanceName}.",{instanceName:e(p)}),"doc-url":e(f)},{default:h(()=>[r.value.length>0?(s(),y("table",{key:0,class:i([l.$style.oauthApp__table,{[l.$style.oauthApp__table_withSecret]:v.value}])},[t("thead",null,[t("tr",null,[t("th",null,u(e(a)("oauth2","Name")),1),t("th",null,u(e(a)("oauth2","Redirection URI")),1),t("th",null,u(e(a)("oauth2","Client identifier")),1),t("th",null,u(e(a)("oauth2","Secret key")),1),t("th",null,[t("span",T,u(e(a)("oauth2","Delete client")),1)])])]),t("tbody",null,[(s(!0),y(x,null,q(r.value,_=>(s(),d(Q,{key:_.id,client:_,onDelete:re=>N(_.id)},null,8,["client","onDelete"]))),128))])],2)):A("",!0),v.value?(s(),d(e(I),{key:1,type:"warning"},{default:h(()=>[b(u(e(a)("oauth2","Make sure you store the secret key, it cannot be recovered.")),1)]),_:1})):A("",!0),n[2]||(n[2]=t("br",null,null,-1)),t("h3",null,u(e(a)("oauth2","Add client")),1),o.value.error?(s(),d(e(I),{key:2,type:"error"},{default:h(()=>[b(u(o.value.errorMsg),1)]),_:1})):A("",!0),t("form",{class:i(l.$style.oauthApp__form),onSubmit:O(R,["prevent"])},[m(e(S),{id:"name",modelValue:o.value.name,"onUpdate:modelValue":n[0]||(n[0]=_=>o.value.name=_),class:i(l.$style.oauthApp__form__input),name:"name",label:e(a)("oauth2","Name"),placeholder:e(a)("oauth2","Name")},null,8,["modelValue","class","label","placeholder"]),m(e(S),{id:"redirectUri",modelValue:o.value.redirectUri,"onUpdate:modelValue":n[1]||(n[1]=_=>o.value.redirectUri=_),type:"url",class:i(l.$style.oauthApp__form__input),name:"redirectUri",label:e(a)("oauth2","Redirection URI"),placeholder:e(a)("oauth2","Redirection URI")},null,8,["modelValue","class","label","placeholder"]),m(e(M),{type:"submit",class:i(l.$style.oauthApp__submitButton)},{default:h(()=>[b(u(e(a)("oauth2","Add")),1)]),_:1},8,["class"])],34)]),_:1},8,["name","description","doc-url"]))}}),X="_oauthApp__form_15nkg_1",Y="_oauthApp__form__input_15nkg_6",Z="_oauthApp__table_15nkg_11",ee="_oauthApp__table_withSecret_15nkg_38",te={oauthApp__form:X,oauthApp__form__input:Y,oauthApp__table:Z,oauthApp__table_withSecret:ee},ae={$style:te},le=w(W,[["__cssModules",ae]]),oe=V("oauth2","clients"),ue=B(le,{modelValue:oe});ue.mount("#oauth2");
import{h as $,v as y,o as s,k as t,t as u,n as i,c as d,u as e,e as a,a as m,w as h,_ as w,y as D,l as V,i as k,m as A,F as x,x as q,b,z as O,N as z,d as g,p as U,q as C,f as B}from"./TrayArrowDown-DRD7jyjz.chunk.mjs";import{N as F,I as j,b as M,a as E,c as I,_ as S}from"./TrashCanOutline-CpMai7X_.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";const G={key:1},H=$({__name:"OAuthItem",props:{client:{}},emits:["delete"],setup(c){return(r,p)=>(s(),y("tr",null,[t("td",null,u(c.client.name),1),t("td",null,[t("code",{class:i(r.$style.oAuthItem__code)},u(c.client.redirectUri),3)]),t("td",null,[t("code",{class:i(r.$style.oAuthItem__code)},u(c.client.clientId),3)]),t("td",null,[c.client.clientSecret?(s(),d(e(F),{key:0,class:i(r.$style.oAuthItem__clientSecret),"aria-label":e(a)("oauth2","Secret key"),"as-text":"","model-value":c.client.clientSecret,"show-trailing-button":""},null,8,["class","aria-label","model-value"])):(s(),y("span",G,"*****"))]),t("td",null,[m(e(M),{"aria-label":e(a)("oauth2","Delete"),title:e(a)("oauth2","Delete"),variant:"error",onClick:p[0]||(p[0]=f=>r.$emit("delete"))},{icon:h(()=>[m(j,{size:20})]),_:1},8,["aria-label","title"])])]))}}),J="_oAuthItem__code_3r02l_2",K="_oAuthItem__clientSecret_3r02l_11",L={oAuthItem__code:J,oAuthItem__clientSecret:K},P={$style:L},Q=w(H,[["__cssModules",P]]),T={class:"hidden-visually"},W=$({__name:"AdminSettings",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(c){const r=D(c,"modelValue"),p=E().theming.name,f=V("oauth2","oauth2-doc-link"),v=k(!1),o=k({name:"",redirectUri:"",errorMsg:"",error:!1});async function N(l){await g.delete(U("apps/oauth2/clients/{id}",{id:l})),r.value=r.value.filter(n=>n.id!==l)}async function R(){o.value.error=!1;try{const{data:l}=await g.post(U("apps/oauth2/clients"),{name:o.value.name,redirectUri:o.value.redirectUri});r.value.push(l),v.value=!0,o.value.name="",o.value.redirectUri=""}catch(l){o.value.error=!0,C(l)&&l.response?o.value.errorMsg=l.response.data.message:o.value.errorMsg=a("oauth2","An unknown error occurred.")}}return(l,n)=>(s(),d(e(z),{name:e(a)("oauth2","OAuth 2.0 clients"),description:e(a)("oauth2","OAuth 2.0 allows external services to request access to {instanceName}.",{instanceName:e(p)}),"doc-url":e(f)},{default:h(()=>[r.value.length>0?(s(),y("table",{key:0,class:i([l.$style.oauthApp__table,{[l.$style.oauthApp__table_withSecret]:v.value}])},[t("thead",null,[t("tr",null,[t("th",null,u(e(a)("oauth2","Name")),1),t("th",null,u(e(a)("oauth2","Redirection URI")),1),t("th",null,u(e(a)("oauth2","Client identifier")),1),t("th",null,u(e(a)("oauth2","Secret key")),1),t("th",null,[t("span",T,u(e(a)("oauth2","Delete client")),1)])])]),t("tbody",null,[(s(!0),y(x,null,q(r.value,_=>(s(),d(Q,{key:_.id,client:_,onDelete:re=>N(_.id)},null,8,["client","onDelete"]))),128))])],2)):A("",!0),v.value?(s(),d(e(I),{key:1,type:"warning"},{default:h(()=>[b(u(e(a)("oauth2","Make sure you store the secret key, it cannot be recovered.")),1)]),_:1})):A("",!0),n[2]||(n[2]=t("br",null,null,-1)),t("h3",null,u(e(a)("oauth2","Add client")),1),o.value.error?(s(),d(e(I),{key:2,type:"error"},{default:h(()=>[b(u(o.value.errorMsg),1)]),_:1})):A("",!0),t("form",{class:i(l.$style.oauthApp__form),onSubmit:O(R,["prevent"])},[m(e(S),{id:"name",modelValue:o.value.name,"onUpdate:modelValue":n[0]||(n[0]=_=>o.value.name=_),class:i(l.$style.oauthApp__form__input),name:"name",label:e(a)("oauth2","Name"),placeholder:e(a)("oauth2","Name")},null,8,["modelValue","class","label","placeholder"]),m(e(S),{id:"redirectUri",modelValue:o.value.redirectUri,"onUpdate:modelValue":n[1]||(n[1]=_=>o.value.redirectUri=_),type:"url",class:i(l.$style.oauthApp__form__input),name:"redirectUri",label:e(a)("oauth2","Redirection URI"),placeholder:e(a)("oauth2","Redirection URI")},null,8,["modelValue","class","label","placeholder"]),m(e(M),{type:"submit",class:i(l.$style.oauthApp__submitButton)},{default:h(()=>[b(u(e(a)("oauth2","Add")),1)]),_:1},8,["class"])],34)]),_:1},8,["name","description","doc-url"]))}}),X="_oauthApp__form_15nkg_1",Y="_oauthApp__form__input_15nkg_6",Z="_oauthApp__table_15nkg_11",ee="_oauthApp__table_withSecret_15nkg_38",te={oauthApp__form:X,oauthApp__form__input:Y,oauthApp__table:Z,oauthApp__table_withSecret:ee},ae={$style:te},le=w(W,[["__cssModules",ae]]),oe=V("oauth2","clients"),ue=B(le,{modelValue:oe});ue.mount("#oauth2");
//# sourceMappingURL=oauth2-settings-admin.mjs.map

4
dist/pinia-BdokiiGX.chunk.mjs → dist/pinia-C7h4TeOI.chunk.mjs

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

0
dist/pinia-BdokiiGX.chunk.mjs.license → dist/pinia-C7h4TeOI.chunk.mjs.license

2
dist/pinia-C7h4TeOI.chunk.mjs.map
File diff suppressed because it is too large
View File

0
dist/pinia-BdokiiGX.chunk.mjs.map.license → dist/pinia-C7h4TeOI.chunk.mjs.map.license

2
dist/sharebymail-admin-settings.mjs

@ -1,2 +1,2 @@
import{_ as u,N as b,r as l,c as w,o as f,w as i,a as d,b as p,t as m,g,d as S,e as c,l as h,f as I}from"./TrayArrowDown-sRwZP_WA.chunk.mjs";import{s as M}from"./Plus-DDsJI2iW.chunk.mjs";import{c as k}from"./index-Dqjjhtll.chunk.mjs";import{N}from"./ContentCopy-BEfKgtZW.chunk.mjs";import{g as R}from"./TrashCanOutline-avc1vI9P.chunk.mjs";const T=R().detectLogLevel().setApp("sharebymail").build(),V={name:"AdminSettings",components:{NcCheckboxRadioSwitch:N,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 k();const o=g("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),t=a?"yes":"no";try{const{data:s}=await S.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"&&(M(a),T.error(a,{error:o}))}}};function v(e,a,o,t,s,x){const n=l("NcCheckboxRadioSwitch"),y=l("NcSettingsSection");return f(),w(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:i(()=>[d(n,{modelValue:s.sendPasswordMail,"onUpdate:modelValue":a[0]||(a[0]=r=>s.sendPasswordMail=r),type:"switch"},{default:i(()=>[p(m(t.t("sharebymail","Send password by mail")),1)]),_:1},8,["modelValue"]),d(n,{modelValue:s.replyToInitiator,"onUpdate:modelValue":a[1]||(a[1]=r=>s.replyToInitiator=r),type:"switch"},{default:i(()=>[p(m(t.t("sharebymail","Reply to initiator")),1)]),_:1},8,["modelValue"])]),_:1},8,["name","description"])}const P=u(V,[["render",v]]),_=I(P);_.mount("#vue-admin-sharebymail");
import{_ as u,N as b,r as l,c as w,o as f,w as i,a as d,b as p,t as m,g,d as S,e as c,l as h,f as I}from"./TrayArrowDown-DRD7jyjz.chunk.mjs";import{s as M}from"./Plus-ComWjyCg.chunk.mjs";import{c as k}from"./index-QBx_T219.chunk.mjs";import{N}from"./ContentCopy-DUGe9ppe.chunk.mjs";import{g as R}from"./TrashCanOutline-CpMai7X_.chunk.mjs";const T=R().detectLogLevel().setApp("sharebymail").build(),V={name:"AdminSettings",components:{NcCheckboxRadioSwitch:N,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 k();const o=g("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),t=a?"yes":"no";try{const{data:s}=await S.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"&&(M(a),T.error(a,{error:o}))}}};function v(e,a,o,t,s,x){const n=l("NcCheckboxRadioSwitch"),y=l("NcSettingsSection");return f(),w(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:i(()=>[d(n,{modelValue:s.sendPasswordMail,"onUpdate:modelValue":a[0]||(a[0]=r=>s.sendPasswordMail=r),type:"switch"},{default:i(()=>[p(m(t.t("sharebymail","Send password by mail")),1)]),_:1},8,["modelValue"]),d(n,{modelValue:s.replyToInitiator,"onUpdate:modelValue":a[1]||(a[1]=r=>s.replyToInitiator=r),type:"switch"},{default:i(()=>[p(m(t.t("sharebymail","Reply to initiator")),1)]),_:1},8,["modelValue"])]),_:1},8,["name","description"])}const P=u(V,[["render",v]]),_=I(P);_.mount("#vue-admin-sharebymail");
//# sourceMappingURL=sharebymail-admin-settings.mjs.map

2
dist/twofactor_backupcodes-settings-personal.mjs

@ -1,3 +1,3 @@
import{d as U,c as A}from"./pinia-BdokiiGX.chunk.mjs";import{e as o,p as I,d as M,l as R,i as m,h as j,j as x,v as i,o as n,c as E,u as a,w as k,b as p,t as r,m as L,F as _,k as f,x as B,n as g,a as y,_ as F,f as G}from"./TrayArrowDown-sRwZP_WA.chunk.mjs";import{g as H,a as N,b as w}from"./TrashCanOutline-avc1vI9P.chunk.mjs";import{s as P}from"./Plus-DDsJI2iW.chunk.mjs";import{c as q}from"./index-Dqjjhtll.chunk.mjs";import{a as z}from"./ContentCopy-BEfKgtZW.chunk.mjs";const D=H().detectLogLevel().setApp("twofactor_backupcodes").build();function J(d){const c=N().theming.name||"Nextcloud",e=window.open("",o("twofactor_backupcodes","{name} backup codes",{name:c}));if(!e)throw P(o("twofactor_backupcodes","Unable to open a new tab for printing")),new Error("Unable to open a new tab for printing");const t=e.document.createElement("h1");t.textContent=o("twofactor_backupcodes","{name} backup codes",{name:c});const s=e.document.createElement("pre");for(const b of d){const u=e.document.createTextNode(b);s.appendChild(u),s.appendChild(e.document.createElement("br"))}e.document.body.innerHTML="",e.document.body.appendChild(t),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),t=m([]);async function s(){d.value=!1;const{codes:b,state:u}=await K();d.value=u.enabled,c.value=u.total,e.value=u.used,t.value=b}return{enabled:d,total:c,used:e,codes:t,generate:s}}),Q=["aria-label"],V=j({__name:"PersonalSettings",setup(d){const c=N().theming.name??"Nextcloud",e=O(),t=m(!1),s=x(()=>e.codes&&e.codes.length>0),b=c+"-backup-codes.txt",u=x(()=>s.value?"data:text/plain,"+encodeURIComponent(e.codes.reduce((l,C)=>l+C+`
import{d as U,c as A}from"./pinia-C7h4TeOI.chunk.mjs";import{e as o,p as I,d as M,l as R,i as m,h as j,j as x,v as i,o as n,c as E,u as a,w as k,b as p,t as r,m as L,F as _,k as f,x as B,n as g,a as y,_ as F,f as G}from"./TrayArrowDown-DRD7jyjz.chunk.mjs";import{g as H,a as N,b as w}from"./TrashCanOutline-CpMai7X_.chunk.mjs";import{s as P}from"./Plus-ComWjyCg.chunk.mjs";import{c as q}from"./index-QBx_T219.chunk.mjs";import{a as z}from"./ContentCopy-DUGe9ppe.chunk.mjs";const D=H().detectLogLevel().setApp("twofactor_backupcodes").build();function J(d){const c=N().theming.name||"Nextcloud",e=window.open("",o("twofactor_backupcodes","{name} backup codes",{name:c}));if(!e)throw P(o("twofactor_backupcodes","Unable to open a new tab for printing")),new Error("Unable to open a new tab for printing");const t=e.document.createElement("h1");t.textContent=o("twofactor_backupcodes","{name} backup codes",{name:c});const s=e.document.createElement("pre");for(const b of d){const u=e.document.createTextNode(b);s.appendChild(u),s.appendChild(e.document.createElement("br"))}e.document.body.innerHTML="",e.document.body.appendChild(t),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),t=m([]);async function s(){d.value=!1;const{codes:b,state:u}=await K();d.value=u.enabled,c.value=u.total,e.value=u.used,t.value=b}return{enabled:d,total:c,used:e,codes:t,generate:s}}),Q=["aria-label"],V=j({__name:"PersonalSettings",setup(d){const c=N().theming.name??"Nextcloud",e=O(),t=m(!1),s=x(()=>e.codes&&e.codes.length>0),b=c+"-backup-codes.txt",u=x(()=>s.value?"data:text/plain,"+encodeURIComponent(e.codes.reduce((l,C)=>l+C+`
`,"")):"");async function h(){await q(),t.value=!0;try{await e.generate()}catch(l){D.error("Error generating backup codes",{error:l}),P(o("twofactor_backupcodes","An error occurred while generating your backup codes"))}finally{t.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(r(a(o)("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(o)("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)},r(S),3))),128))],8,Q)],64)):(n(),i(_,{key:0},[p(r(a(o)("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(r(a(o)("twofactor_backupcodes","Regenerate backup codes")),1)]),_:1}),s.value?(n(),i(_,{key:0},[y(a(w),{onClick:T},{default:k(()=>[p(r(a(o)("twofactor_backupcodes","Print backup codes")),1)]),_:1}),y(a(w),{href:u.value,download:b,variant:"primary"},{default:k(()=>[p(r(a(o)("twofactor_backupcodes","Save backup codes")),1)]),_:1},8,["href"])],64)):L("",!0)],2),f("p",null,[f("em",null,r(a(o)("twofactor_backupcodes","If you regenerate backup codes, you automatically invalidate old codes.")),1)])],64)):(n(),E(a(w),{key:0,disabled:t.value,variant:"primary",onClick:h},{icon:k(()=>[t.value?(n(),E(a(z),{key:0})):L("",!0)]),default:k(()=>[p(" "+r(a(o)("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]]),oe=A(),$=G(ae);$.use(oe),$.mount("#twofactor-backupcodes-settings");
//# sourceMappingURL=twofactor_backupcodes-settings-personal.mjs.map

2
dist/user_ldap-settings-admin.mjs
File diff suppressed because it is too large
View File

4
dist/user_status-menu.mjs
File diff suppressed because it is too large
View File

118
package-lock.json

@ -30,7 +30,7 @@
"@vueuse/core": "^14.1.0",
"debounce": "^3.0.0",
"pinia": "^3.0.4",
"vue": "^3.5.25",
"vue": "^3.5.26",
"vuex": "^4.1.0",
"webdav": "^5.8.0"
},
@ -4356,22 +4356,22 @@
}
},
"node_modules/@vue/compiler-core": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.25.tgz",
"integrity": "sha512-vay5/oQJdsNHmliWoZfHPoVZZRmnSWhug0BYT34njkYTPqClh3DNWLkZNJBVSjsNMrg0CCrBfoKkjZQPM/QVUw==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.26.tgz",
"integrity": "sha512-vXyI5GMfuoBCnv5ucIT7jhHKl55Y477yxP6fc4eUswjP8FG3FFVFd41eNDArR+Uk3QKn2Z85NavjaxLxOC19/w==",
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.28.5",
"@vue/shared": "3.5.25",
"entities": "^4.5.0",
"@vue/shared": "3.5.26",
"entities": "^7.0.0",
"estree-walker": "^2.0.2",
"source-map-js": "^1.2.1"
}
},
"node_modules/@vue/compiler-core/node_modules/entities": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
"integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-7.0.0.tgz",
"integrity": "sha512-FDWG5cmEYf2Z00IkYRhbFrwIwvdFKH07uV8dvNy0omp/Qb1xcyCWp2UDtcwJF4QZZvk0sLudP6/hAu42TaqVhQ==",
"license": "BSD-2-Clause",
"engines": {
"node": ">=0.12"
@ -4381,26 +4381,26 @@
}
},
"node_modules/@vue/compiler-dom": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.25.tgz",
"integrity": "sha512-4We0OAcMZsKgYoGlMjzYvaoErltdFI2/25wqanuTu+S4gismOTRTBPi4IASOjxWdzIwrYSjnqONfKvuqkXzE2Q==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.26.tgz",
"integrity": "sha512-y1Tcd3eXs834QjswshSilCBnKGeQjQXB6PqFn/1nxcQw4pmG42G8lwz+FZPAZAby6gZeHSt/8LMPfZ4Rb+Bd/A==",
"license": "MIT",
"dependencies": {
"@vue/compiler-core": "3.5.25",
"@vue/shared": "3.5.25"
"@vue/compiler-core": "3.5.26",
"@vue/shared": "3.5.26"
}
},
"node_modules/@vue/compiler-sfc": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.25.tgz",
"integrity": "sha512-PUgKp2rn8fFsI++lF2sO7gwO2d9Yj57Utr5yEsDf3GNaQcowCLKL7sf+LvVFvtJDXUp/03+dC6f2+LCv5aK1ag==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.26.tgz",
"integrity": "sha512-egp69qDTSEZcf4bGOSsprUr4xI73wfrY5oRs6GSgXFTiHrWj4Y3X5Ydtip9QMqiCMCPVwLglB9GBxXtTadJ3mA==",
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.28.5",
"@vue/compiler-core": "3.5.25",
"@vue/compiler-dom": "3.5.25",
"@vue/compiler-ssr": "3.5.25",
"@vue/shared": "3.5.25",
"@vue/compiler-core": "3.5.26",
"@vue/compiler-dom": "3.5.26",
"@vue/compiler-ssr": "3.5.26",
"@vue/shared": "3.5.26",
"estree-walker": "^2.0.2",
"magic-string": "^0.30.21",
"postcss": "^8.5.6",
@ -4408,13 +4408,13 @@
}
},
"node_modules/@vue/compiler-ssr": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.25.tgz",
"integrity": "sha512-ritPSKLBcParnsKYi+GNtbdbrIE1mtuFEJ4U1sWeuOMlIziK5GtOL85t5RhsNy4uWIXPgk+OUdpnXiTdzn8o3A==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.26.tgz",
"integrity": "sha512-lZT9/Y0nSIRUPVvapFJEVDbEXruZh2IYHMk2zTtEgJSlP5gVOqeWXH54xDKAaFS4rTnDeDBQUYDtxKyoW9FwDw==",
"license": "MIT",
"dependencies": {
"@vue/compiler-dom": "3.5.25",
"@vue/shared": "3.5.25"
"@vue/compiler-dom": "3.5.26",
"@vue/shared": "3.5.26"
}
},
"node_modules/@vue/compiler-vue2": {
@ -4510,53 +4510,53 @@
}
},
"node_modules/@vue/reactivity": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.25.tgz",
"integrity": "sha512-5xfAypCQepv4Jog1U4zn8cZIcbKKFka3AgWHEFQeK65OW+Ys4XybP6z2kKgws4YB43KGpqp5D/K3go2UPPunLA==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.26.tgz",
"integrity": "sha512-9EnYB1/DIiUYYnzlnUBgwU32NNvLp/nhxLXeWRhHUEeWNTn1ECxX8aGO7RTXeX6PPcxe3LLuNBFoJbV4QZ+CFQ==",
"license": "MIT",
"dependencies": {
"@vue/shared": "3.5.25"
"@vue/shared": "3.5.26"
}
},
"node_modules/@vue/runtime-core": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.25.tgz",
"integrity": "sha512-Z751v203YWwYzy460bzsYQISDfPjHTl+6Zzwo/a3CsAf+0ccEjQ8c+0CdX1WsumRTHeywvyUFtW6KvNukT/smA==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.26.tgz",
"integrity": "sha512-xJWM9KH1kd201w5DvMDOwDHYhrdPTrAatn56oB/LRG4plEQeZRQLw0Bpwih9KYoqmzaxF0OKSn6swzYi84e1/Q==",
"license": "MIT",
"dependencies": {
"@vue/reactivity": "3.5.25",
"@vue/shared": "3.5.25"
"@vue/reactivity": "3.5.26",
"@vue/shared": "3.5.26"
}
},
"node_modules/@vue/runtime-dom": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.25.tgz",
"integrity": "sha512-a4WrkYFbb19i9pjkz38zJBg8wa/rboNERq3+hRRb0dHiJh13c+6kAbgqCPfMaJ2gg4weWD3APZswASOfmKwamA==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.26.tgz",
"integrity": "sha512-XLLd/+4sPC2ZkN/6+V4O4gjJu6kSDbHAChvsyWgm1oGbdSO3efvGYnm25yCjtFm/K7rrSDvSfPDgN1pHgS4VNQ==",
"license": "MIT",
"dependencies": {
"@vue/reactivity": "3.5.25",
"@vue/runtime-core": "3.5.25",
"@vue/shared": "3.5.25",
"csstype": "^3.1.3"
"@vue/reactivity": "3.5.26",
"@vue/runtime-core": "3.5.26",
"@vue/shared": "3.5.26",
"csstype": "^3.2.3"
}
},
"node_modules/@vue/server-renderer": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.25.tgz",
"integrity": "sha512-UJaXR54vMG61i8XNIzTSf2Q7MOqZHpp8+x3XLGtE3+fL+nQd+k7O5+X3D/uWrnQXOdMw5VPih+Uremcw+u1woQ==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.26.tgz",
"integrity": "sha512-TYKLXmrwWKSodyVuO1WAubucd+1XlLg4set0YoV+Hu8Lo79mp/YMwWV5mC5FgtsDxX3qo1ONrxFaTP1OQgy1uA==",
"license": "MIT",
"dependencies": {
"@vue/compiler-ssr": "3.5.25",
"@vue/shared": "3.5.25"
"@vue/compiler-ssr": "3.5.26",
"@vue/shared": "3.5.26"
},
"peerDependencies": {
"vue": "3.5.25"
"vue": "3.5.26"
}
},
"node_modules/@vue/shared": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.25.tgz",
"integrity": "sha512-AbOPdQQnAnzs58H2FrrDxYj/TJfmeS2jdfEEhgiKINy+bnOANmVizIEgq1r+C5zsbs6l1CCQxtcj71rwNQ4jWg==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.26.tgz",
"integrity": "sha512-7Z6/y3uFI5PRoKeorTOSXKcDj0MSasfNNltcslbFrPpcw6aXRUALq4IfJlaTRspiWIUOEZbrpM+iQGmCOiWe4A==",
"license": "MIT"
},
"node_modules/@vue/test-utils": {
@ -16141,16 +16141,16 @@
"license": "MIT"
},
"node_modules/vue": {
"version": "3.5.25",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.5.25.tgz",
"integrity": "sha512-YLVdgv2K13WJ6n+kD5owehKtEXwdwXuj2TTyJMsO7pSeKw2bfRNZGjhB7YzrpbMYj5b5QsUebHpOqR3R3ziy/g==",
"version": "3.5.26",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.5.26.tgz",
"integrity": "sha512-SJ/NTccVyAoNUJmkM9KUqPcYlY+u8OVL1X5EW9RIs3ch5H2uERxyyIUI4MRxVCSOiEcupX9xNGde1tL9ZKpimA==",
"license": "MIT",
"dependencies": {
"@vue/compiler-dom": "3.5.25",
"@vue/compiler-sfc": "3.5.25",
"@vue/runtime-dom": "3.5.25",
"@vue/server-renderer": "3.5.25",
"@vue/shared": "3.5.25"
"@vue/compiler-dom": "3.5.26",
"@vue/compiler-sfc": "3.5.26",
"@vue/runtime-dom": "3.5.26",
"@vue/server-renderer": "3.5.26",
"@vue/shared": "3.5.26"
},
"peerDependencies": {
"typescript": "*"

2
package.json

@ -59,7 +59,7 @@
"@vueuse/core": "^14.1.0",
"debounce": "^3.0.0",
"pinia": "^3.0.4",
"vue": "^3.5.25",
"vue": "^3.5.26",
"vuex": "^4.1.0",
"webdav": "^5.8.0"
},

Loading…
Cancel
Save