diff --git a/.github/workflows/npm-audit-fix.yml b/.github/workflows/npm-audit-fix.yml index 5ccc57df6..c3e4f2fd3 100644 --- a/.github/workflows/npm-audit-fix.yml +++ b/.github/workflows/npm-audit-fix.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - branches: ['main', 'master', 'stable30', 'stable29', 'stable28'] + branches: ['main', 'master', 'stable31', 'stable30', 'stable29'] name: npm-audit-fix-${{ matrix.branches }} diff --git a/.github/workflows/update-nextcloud-ocp.yml b/.github/workflows/update-nextcloud-ocp.yml index 0960cfecc..b7a7709df 100644 --- a/.github/workflows/update-nextcloud-ocp.yml +++ b/.github/workflows/update-nextcloud-ocp.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - branches: ['main', 'master', 'stable30', 'stable29', 'stable28'] + branches: ['main', 'master', 'stable31', 'stable30', 'stable29'] name: update-nextcloud-ocp-${{ matrix.branches }} diff --git a/appinfo/info.xml b/appinfo/info.xml index 6c740acf3..816caafb5 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -15,7 +15,7 @@ More information is available in the Activity documentation. - 4.0.0 + 5.0.0-dev.0 agpl Frank Karlitschek Joas Schilling @@ -38,7 +38,7 @@ https://github.com/nextcloud/activity.git - + diff --git a/js/ActivityTab-DcBrUX3x.chunk.mjs b/js/ActivityTab-DYmfQzBG.chunk.mjs similarity index 98% rename from js/ActivityTab-DcBrUX3x.chunk.mjs rename to js/ActivityTab-DYmfQzBG.chunk.mjs index dd1b2774a..bc7f2edaa 100644 --- a/js/ActivityTab-DcBrUX3x.chunk.mjs +++ b/js/ActivityTab-DYmfQzBG.chunk.mjs @@ -1,2 +1,2 @@ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".activity[data-v-7e59872d]{display:flex;flex-direction:column;overflow:hidden;height:100%}.activity__actions[data-v-7e59872d]{display:flex;flex-direction:column;width:100%}.activity__list[data-v-7e59872d]{flex-grow:1;overflow:scroll}.activity__empty-content[data-v-7e59872d]{height:100%}[data-v-7e59872d] .empty-content__icon span{background-size:64px;width:64px;height:64px}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); -import{b as c,e as l,f as u,v}from"./NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs";import{d as f,r as p,o as d,g as y,f as g,t as o}from"./index-FHDXXk0Q.chunk.mjs";import{a as m,b as h,N as _,c as b}from"./Activity-iWE732P6.chunk.mjs";import{g as r,a as I,b as A}from"./api-Bbja46ws.chunk.mjs";import{l as S}from"./logger-DdfSSqJ9.chunk.mjs";import{l as P}from"./activity-sidebar.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";const x=f({__name:"ActivitySidebarPlugin",props:{plugin:null,fileInfo:null},emits:["reload-activities"],setup(t,{emit:i}){const s=t,a=p();return d(()=>{var n;return s.plugin.mount(a.value,{context:(n=y())==null?void 0:n.proxy,fileInfo:s.fileInfo,reload:()=>i("reload-activities")})}),g(()=>s.plugin.unmount()),{__sfc:!0,props:s,emit:i,attachTarget:a}}});var C=function(){var t=this,i=t._self._c;return t._self._setupProxy,i("div",{ref:"attachTarget"})},N=[],w=c(x,C,N,!1,null,null);const k=w.exports,E={name:"ActivityTab",components:{Activity:m,NcEmptyContent:h,NcIconSvgWrapper:_,NcLoadingIcon:l,ActivitySidebarPlugin:k},data(){return{error:"",loading:!0,fileInfo:null,activities:[],lightningBoltSVG:P,sidebarPlugins:[]}},mounted(){this.sidebarPlugins=r()},methods:{async update(t){this.sidebarPlugins=[];let i=r();i.length>0&&this.$nextTick(()=>{this.sidebarPlugins=i}),this.fileInfo=t,this.resetState(),await this.getActivities()},async getActivities(){try{this.loading=!0;const t=await this.processActivities(await this.loadRealActivities()),i=await I({fileInfo:this.fileInfo});this.activities=[...t,...i].sort((s,a)=>a.timestamp-s.timestamp)}catch(t){this.error=o("activity","Unable to load the activity list"),console.error("Error loading the activity list",t)}finally{this.loading=!1}},resetState(){this.loading=!0,this.error="",this.activities=[]},async loadRealActivities(){try{const{data:t}=await u.get(v("apps/activity/api/v2/activity/filter"),{params:{format:"json",object_type:"files",object_id:this.fileInfo.id}});return t.ocs.data}catch(t){if(t.response!==void 0&&t.response.status===304)return[];throw e}},processActivities(t){t=t.map(s=>new b(s)),S.debug("Processed ".concat(t.length," activity(ies)"),{activities:t,fileInfo:this.fileInfo});const i=A();return t.filter(s=>!i||i.every(a=>a(s)))},t:o}};var T=function(){var t=this,i=t._self._c;return i("div",{staticClass:"activity",class:{"icon-loading":t.loading}},[t.error?i("NcEmptyContent",{attrs:{name:t.error},scopedSlots:t._u([{key:"icon",fn:function(){return[i("NcIconSvgWrapper",{attrs:{svg:t.lightningBoltSVG}})]},proxy:!0}],null,!1,63559581)}):[t.sidebarPlugins.length>0?i("div",{staticClass:"activity__actions"},t._l(t.sidebarPlugins,function(s,a){return i("ActivitySidebarPlugin",{key:a,attrs:{plugin:s,"file-info":t.fileInfo},on:{"reload-activities":function(n){return t.getActivities()}}})}),1):t._e(),t.loading?i("NcEmptyContent",{staticClass:"activity__empty-content",attrs:{name:t.t("activity","Loading activities")},scopedSlots:t._u([{key:"icon",fn:function(){return[i("NcLoadingIcon")]},proxy:!0}],null,!1,3085876643)}):t.activities.length===0?i("NcEmptyContent",{staticClass:"activity__empty-content",attrs:{name:t.t("activity","No activity yet")},scopedSlots:t._u([{key:"icon",fn:function(){return[i("span",{staticClass:"icon-activity"})]},proxy:!0}])}):i("ul",{staticClass:"activity__list"},t._l(t.activities,function(s){return i("Activity",{key:s.id,attrs:{activity:s,"show-previews":!1},on:{reload:function(a){return t.getActivities()}}})}),1)]],2)},j=[],L=c(E,T,j,!1,null,"7e59872d");const U=L.exports;export{U as default}; +import{b as c,e as l,f as u,v}from"./NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs";import{d as f,r as p,o as d,g as y,f as g,t as o}from"./index-FHDXXk0Q.chunk.mjs";import{a as m,b as h,N as _,c as b}from"./Activity-iWE732P6.chunk.mjs";import{g as r,a as I,b as A}from"./api-CxjiFF2o.chunk.mjs";import{l as S}from"./logger-DdfSSqJ9.chunk.mjs";import{l as P}from"./activity-sidebar.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";const x=f({__name:"ActivitySidebarPlugin",props:{plugin:null,fileInfo:null},emits:["reload-activities"],setup(t,{emit:i}){const s=t,a=p();return d(()=>{var n;return s.plugin.mount(a.value,{context:(n=y())==null?void 0:n.proxy,fileInfo:s.fileInfo,reload:()=>i("reload-activities")})}),g(()=>s.plugin.unmount()),{__sfc:!0,props:s,emit:i,attachTarget:a}}});var C=function(){var t=this,i=t._self._c;return t._self._setupProxy,i("div",{ref:"attachTarget"})},N=[],w=c(x,C,N,!1,null,null);const k=w.exports,E={name:"ActivityTab",components:{Activity:m,NcEmptyContent:h,NcIconSvgWrapper:_,NcLoadingIcon:l,ActivitySidebarPlugin:k},data(){return{error:"",loading:!0,fileInfo:null,activities:[],lightningBoltSVG:P,sidebarPlugins:[]}},mounted(){this.sidebarPlugins=r()},methods:{async update(t){this.sidebarPlugins=[];let i=r();i.length>0&&this.$nextTick(()=>{this.sidebarPlugins=i}),this.fileInfo=t,this.resetState(),await this.getActivities()},async getActivities(){try{this.loading=!0;const t=await this.processActivities(await this.loadRealActivities()),i=await I({fileInfo:this.fileInfo});this.activities=[...t,...i].sort((s,a)=>a.timestamp-s.timestamp)}catch(t){this.error=o("activity","Unable to load the activity list"),console.error("Error loading the activity list",t)}finally{this.loading=!1}},resetState(){this.loading=!0,this.error="",this.activities=[]},async loadRealActivities(){try{const{data:t}=await u.get(v("apps/activity/api/v2/activity/filter"),{params:{format:"json",object_type:"files",object_id:this.fileInfo.id}});return t.ocs.data}catch(t){if(t.response!==void 0&&t.response.status===304)return[];throw e}},processActivities(t){t=t.map(s=>new b(s)),S.debug("Processed ".concat(t.length," activity(ies)"),{activities:t,fileInfo:this.fileInfo});const i=A();return t.filter(s=>!i||i.every(a=>a(s)))},t:o}};var T=function(){var t=this,i=t._self._c;return i("div",{staticClass:"activity",class:{"icon-loading":t.loading}},[t.error?i("NcEmptyContent",{attrs:{name:t.error},scopedSlots:t._u([{key:"icon",fn:function(){return[i("NcIconSvgWrapper",{attrs:{svg:t.lightningBoltSVG}})]},proxy:!0}],null,!1,63559581)}):[t.sidebarPlugins.length>0?i("div",{staticClass:"activity__actions"},t._l(t.sidebarPlugins,function(s,a){return i("ActivitySidebarPlugin",{key:a,attrs:{plugin:s,"file-info":t.fileInfo},on:{"reload-activities":function(n){return t.getActivities()}}})}),1):t._e(),t.loading?i("NcEmptyContent",{staticClass:"activity__empty-content",attrs:{name:t.t("activity","Loading activities")},scopedSlots:t._u([{key:"icon",fn:function(){return[i("NcLoadingIcon")]},proxy:!0}],null,!1,3085876643)}):t.activities.length===0?i("NcEmptyContent",{staticClass:"activity__empty-content",attrs:{name:t.t("activity","No activity yet")},scopedSlots:t._u([{key:"icon",fn:function(){return[i("span",{staticClass:"icon-activity"})]},proxy:!0}])}):i("ul",{staticClass:"activity__list"},t._l(t.activities,function(s){return i("Activity",{key:s.id,attrs:{activity:s,"show-previews":!1},on:{reload:function(a){return t.getActivities()}}})}),1)]],2)},j=[],L=c(E,T,j,!1,null,"7e59872d");const U=L.exports;export{U as default}; diff --git a/js/ActivityTab-DcBrUX3x.chunk.mjs.map b/js/ActivityTab-DYmfQzBG.chunk.mjs.map similarity index 99% rename from js/ActivityTab-DcBrUX3x.chunk.mjs.map rename to js/ActivityTab-DYmfQzBG.chunk.mjs.map index 082ef8c8d..5b1906290 100644 --- a/js/ActivityTab-DcBrUX3x.chunk.mjs.map +++ b/js/ActivityTab-DYmfQzBG.chunk.mjs.map @@ -1 +1 @@ -{"version":3,"file":"ActivityTab-DcBrUX3x.chunk.mjs","sources":["../src/components/ActivitySidebarPlugin.vue","../src/views/ActivityTab.vue"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n\n\n"],"names":["attachTarget","ref","onMounted","props","_a","getCurrentInstance","emit","onBeforeUnmount","_sfc_main","Activity","NcEmptyContent","NcIconSvgWrapper","NcLoadingIcon","ActivitySidebarPlugin","lightningBoltSVG","getSidebarActions","fileInfo","sidebarPlugins","activities","otherEntries","getAdditionalEntries","a","b","error","t","data","axios","generateOcsUrl","activity","ActivityModel","logger","filters","getActivityFilters","filter"],"mappings":"yjBAuBMA,EAAeC,IAErB,OAAAC,EAAU,IAAG,OAAS,OAAAC,EAAA,OAAO,MAAMH,EAAa,MAAyB,CACxE,SAASI,EAAmBC,EAAA,IAAnB,KAAsB,OAAAD,EAAA,MAC/B,SAAUD,EAAM,SAChB,OAAQ,IAAMG,EAAK,mBAAmB,CAAA,CACtC,CAAA,CAAC,EACFC,EAAgB,IAAMJ,EAAM,OAAO,QAAS,CAAA,gMCqC5CK,EAAA,CACA,KAAA,cACA,WAAA,CACA,SAAAC,EACA,eAAAC,EACA,iBAAAC,EACA,cAAAC,EACA,sBAAAC,CACA,EACA,MAAA,CACA,MAAA,CACA,MAAA,GACA,QAAA,GACA,SAAA,KACA,WAAA,CAAA,EACA,iBAAAC,EACA,eAAA,CAAA,CACA,CACA,EACA,SAAA,CACA,KAAA,eAAAC,EAAA,CACA,EACA,QAAA,CAMA,MAAA,OAAAC,EAAA,CACA,KAAA,eAAA,CAAA,EACA,IAAAC,EAAAF,EAAA,EACAE,EAAA,OAAA,GACA,KAAA,UAAA,IAAA,CACA,KAAA,eAAAA,CACA,CAAA,EAGA,KAAA,SAAAD,EACA,KAAA,WAAA,EACA,MAAA,KAAA,cAAA,CACA,EAIA,MAAA,eAAA,CACA,GAAA,CACA,KAAA,QAAA,GAEA,MAAAE,EAAA,MAAA,KAAA,kBAAA,MAAA,KAAA,oBAAA,EACAC,EAAA,MAAAC,EAAA,CAAA,SAAA,KAAA,SAAA,EACA,KAAA,WAAA,CAAA,GAAAF,EAAA,GAAAC,CAAA,EAAA,KAAA,CAAAE,EAAAC,IAAAA,EAAA,UAAAD,EAAA,SAAA,CACA,OAAAE,EAAA,CACA,KAAA,MAAAC,EAAA,WAAA,kCAAA,EACA,QAAA,MAAA,kCAAAD,CAAA,CACA,QAAA,CACA,KAAA,QAAA,EACA,CACA,EAIA,YAAA,CACA,KAAA,QAAA,GACA,KAAA,MAAA,GACA,KAAA,WAAA,CAAA,CACA,EAKA,MAAA,oBAAA,CACA,GAAA,CACA,KAAA,CAAA,KAAAE,CAAA,EAAA,MAAAC,EAAA,IACAC,EAAA,sCAAA,EACA,CACA,OAAA,CACA,OAAA,OACA,YAAA,QACA,UAAA,KAAA,SAAA,EACA,CACA,CACA,EACA,OAAAF,EAAA,IAAA,IACA,OAAAF,EAAA,CAEA,GAAAA,EAAA,WAAA,QAAAA,EAAA,SAAA,SAAA,IACA,MAAA,CAAA,EAEA,MAAA,CACA,CACA,EAOA,kBAAAL,EAAA,CACAA,EAAAA,EAAA,IAAAU,GAAA,IAAAC,EAAAD,CAAA,CAAA,EAEAE,EAAA,MAAA,aAAAZ,OAAAA,EAAA,OAAA,kBAAA,CAAA,WAAAA,EAAA,SAAA,KAAA,QAAA,CAAA,EAEA,MAAAa,EAAAC,EAAA,EACA,OAAAd,EAAA,OAAAU,GAAA,CAAAG,GAAAA,EAAA,MAAAE,GAAAA,EAAAL,CAAA,CAAA,CAAA,CACA,EAEA,EAAAJ,CACA,CACA"} \ No newline at end of file +{"version":3,"file":"ActivityTab-DYmfQzBG.chunk.mjs","sources":["../src/components/ActivitySidebarPlugin.vue","../src/views/ActivityTab.vue"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n\n\n"],"names":["attachTarget","ref","onMounted","props","_a","getCurrentInstance","emit","onBeforeUnmount","_sfc_main","Activity","NcEmptyContent","NcIconSvgWrapper","NcLoadingIcon","ActivitySidebarPlugin","lightningBoltSVG","getSidebarActions","fileInfo","sidebarPlugins","activities","otherEntries","getAdditionalEntries","a","b","error","t","data","axios","generateOcsUrl","activity","ActivityModel","logger","filters","getActivityFilters","filter"],"mappings":"yjBAuBMA,EAAeC,IAErB,OAAAC,EAAU,IAAG,OAAS,OAAAC,EAAA,OAAO,MAAMH,EAAa,MAAyB,CACxE,SAASI,EAAmBC,EAAA,IAAnB,KAAsB,OAAAD,EAAA,MAC/B,SAAUD,EAAM,SAChB,OAAQ,IAAMG,EAAK,mBAAmB,CAAA,CACtC,CAAA,CAAC,EACFC,EAAgB,IAAMJ,EAAM,OAAO,QAAS,CAAA,gMCqC5CK,EAAA,CACA,KAAA,cACA,WAAA,CACA,SAAAC,EACA,eAAAC,EACA,iBAAAC,EACA,cAAAC,EACA,sBAAAC,CACA,EACA,MAAA,CACA,MAAA,CACA,MAAA,GACA,QAAA,GACA,SAAA,KACA,WAAA,CAAA,EACA,iBAAAC,EACA,eAAA,CAAA,CACA,CACA,EACA,SAAA,CACA,KAAA,eAAAC,EAAA,CACA,EACA,QAAA,CAMA,MAAA,OAAAC,EAAA,CACA,KAAA,eAAA,CAAA,EACA,IAAAC,EAAAF,EAAA,EACAE,EAAA,OAAA,GACA,KAAA,UAAA,IAAA,CACA,KAAA,eAAAA,CACA,CAAA,EAGA,KAAA,SAAAD,EACA,KAAA,WAAA,EACA,MAAA,KAAA,cAAA,CACA,EAIA,MAAA,eAAA,CACA,GAAA,CACA,KAAA,QAAA,GAEA,MAAAE,EAAA,MAAA,KAAA,kBAAA,MAAA,KAAA,oBAAA,EACAC,EAAA,MAAAC,EAAA,CAAA,SAAA,KAAA,SAAA,EACA,KAAA,WAAA,CAAA,GAAAF,EAAA,GAAAC,CAAA,EAAA,KAAA,CAAAE,EAAAC,IAAAA,EAAA,UAAAD,EAAA,SAAA,CACA,OAAAE,EAAA,CACA,KAAA,MAAAC,EAAA,WAAA,kCAAA,EACA,QAAA,MAAA,kCAAAD,CAAA,CACA,QAAA,CACA,KAAA,QAAA,EACA,CACA,EAIA,YAAA,CACA,KAAA,QAAA,GACA,KAAA,MAAA,GACA,KAAA,WAAA,CAAA,CACA,EAKA,MAAA,oBAAA,CACA,GAAA,CACA,KAAA,CAAA,KAAAE,CAAA,EAAA,MAAAC,EAAA,IACAC,EAAA,sCAAA,EACA,CACA,OAAA,CACA,OAAA,OACA,YAAA,QACA,UAAA,KAAA,SAAA,EACA,CACA,CACA,EACA,OAAAF,EAAA,IAAA,IACA,OAAAF,EAAA,CAEA,GAAAA,EAAA,WAAA,QAAAA,EAAA,SAAA,SAAA,IACA,MAAA,CAAA,EAEA,MAAA,CACA,CACA,EAOA,kBAAAL,EAAA,CACAA,EAAAA,EAAA,IAAAU,GAAA,IAAAC,EAAAD,CAAA,CAAA,EAEAE,EAAA,MAAA,aAAAZ,OAAAA,EAAA,OAAA,kBAAA,CAAA,WAAAA,EAAA,SAAA,KAAA,QAAA,CAAA,EAEA,MAAAa,EAAAC,EAAA,EACA,OAAAd,EAAA,OAAAU,GAAA,CAAAG,GAAAA,EAAA,MAAAE,GAAAA,EAAAL,CAAA,CAAA,CAAA,CACA,EAEA,EAAAJ,CACA,CACA"} \ No newline at end of file diff --git a/js/activity-adminSettings.mjs b/js/activity-adminSettings.mjs index f65bf7323..c6d2e428d 100644 --- a/js/activity-adminSettings.mjs +++ b/js/activity-adminSettings.mjs @@ -1 +1 @@ -import{V as n,t as m,a as d}from"./index-FHDXXk0Q.chunk.mjs";import{N as o,m as s,a as c,A as p,i as u,s as a}from"./settings-store-Ce8jp8fS.chunk.mjs";import{x as g,b as l}from"./NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";import"./NcNoteCard-CImn6F9p-B5NIs5kG.chunk.mjs";import"./logger-DdfSSqJ9.chunk.mjs";const h={name:"AdminSettings",components:{NcCheckboxRadioSwitch:g,NcSettingsSection:o},computed:{...s({emailEnabled:"emailEnabled"}),settingDescription(){return this.emailEnabled?t("activity","Choose for which activities you want to get an email or push notification."):t("activity","Choose for which activities you want to get a push notification.")}},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings/admin"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var v=function(){var i=this,e=i._self._c;return e("NcSettingsSection",{attrs:{name:i.t("activity","Notification")}},[e("NcCheckboxRadioSwitch",{attrs:{type:"checkbox",checked:i.emailEnabled},on:{"update:checked":function(r){return i.toggleEmailEnabled({emailEnabled:r})}}},[i._v(" "+i._s(i.t("activity","Enable notification emails"))+" ")])],1)},f=[],y=l(h,v,f,!1,null,null);const E=y.exports,b={name:"DefaultActivitySettings",components:{ActivityGrid:p,NcSettingsSection:o},computed:{...s({emailEnabled:"emailEnabled"})},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings/admin"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var S=function(){var i=this,e=i._self._c;return e("NcSettingsSection",{attrs:{name:i.t("activity","Default settings"),description:i.t("activity","Configure the default notification settings for new accounts.")}},[e("ActivityGrid")],1)},w=[],N=l(b,S,w,!1,null,null);const A=N.exports;n.prototype.t=m,n.prototype.n=d,n.use(u),new n({el:"#activity-admin-settings",store:a,name:"ActivityPersonalSettings",render:i=>i(E)}),new n({el:"#activity-default-settings",store:a,name:"ActivityDefaultSettings",render:i=>i(A)}); +import{V as n,t as d,a as m}from"./index-FHDXXk0Q.chunk.mjs";import{N as o,m as s,a as c,A as p,i as u,s as a}from"./settings-store-Ce8jp8fS.chunk.mjs";import{x as g,b as l}from"./NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";import"./NcNoteCard-CImn6F9p-B5NIs5kG.chunk.mjs";import"./logger-DdfSSqJ9.chunk.mjs";const v={name:"AdminSettings",components:{NcCheckboxRadioSwitch:g,NcSettingsSection:o},computed:{...s({emailEnabled:"emailEnabled"}),settingDescription(){return this.emailEnabled?t("activity","Choose for which activities you want to get an email or push notification."):t("activity","Choose for which activities you want to get a push notification.")}},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings/admin"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var h=function(){var i=this,e=i._self._c;return e("NcSettingsSection",{attrs:{name:i.t("activity","Notification")}},[e("NcCheckboxRadioSwitch",{attrs:{type:"checkbox",checked:i.emailEnabled},on:{"update:checked":function(r){return i.toggleEmailEnabled({emailEnabled:r})}}},[i._v(" "+i._s(i.t("activity","Enable notification emails"))+" ")])],1)},f=[],y=l(v,h,f,!1,null,null);const E=y.exports,b={name:"DefaultActivitySettings",components:{ActivityGrid:p,NcSettingsSection:o},computed:{...s({emailEnabled:"emailEnabled"})},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings/admin"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var S=function(){var i=this,e=i._self._c;return e("NcSettingsSection",{attrs:{name:i.t("activity","Default settings"),description:i.t("activity","Configure the default notification settings for new accounts.")}},[e("ActivityGrid")],1)},w=[],N=l(b,S,w,!1,null,null);const A=N.exports;n.prototype.t=d,n.prototype.n=m,n.use(u),new n({el:"#activity-admin-settings",store:a,name:"ActivityPersonalSettings",render:i=>i(E)}),new n({el:"#activity-default-settings",store:a,name:"ActivityDefaultSettings",render:i=>i(A)}); diff --git a/js/activity-api.mjs b/js/activity-api.mjs index 4b6a9ad5c..a51f929e7 100644 --- a/js/activity-api.mjs +++ b/js/activity-api.mjs @@ -1 +1 @@ -import{r as t}from"./api-Bbja46ws.chunk.mjs";import"./logger-DdfSSqJ9.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";t(); +import{r as t}from"./api-CxjiFF2o.chunk.mjs";import"./logger-DdfSSqJ9.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";t(); diff --git a/js/activity-app.mjs b/js/activity-app.mjs index 2d12426bf..e1a1ef557 100644 --- a/js/activity-app.mjs +++ b/js/activity-app.mjs @@ -1,2 +1,2 @@ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('#skip-actions.vue-skip-actions:focus-within{top:0!important;left:0!important;width:100vw;height:100vh;padding:var(--body-container-margin)!important;-webkit-backdrop-filter:brightness(50%);backdrop-filter:brightness(50%)}.material-design-icon[data-v-d8f0539f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.vue-skip-actions__container[data-v-d8f0539f]{background-color:var(--color-main-background);border-radius:var(--border-radius-large);padding:22px}.vue-skip-actions__headline[data-v-d8f0539f]{font-weight:700;font-size:20px;line-height:30px;margin-bottom:12px}.vue-skip-actions__buttons[data-v-d8f0539f]{display:flex;flex-wrap:wrap;gap:12px}.vue-skip-actions__buttons>*[data-v-d8f0539f]{flex:1 0 fit-content}.vue-skip-actions__image[data-v-d8f0539f]{margin-top:12px}.content[data-v-d8f0539f]{box-sizing:border-box;margin:var(--body-container-margin);margin-top:var(--header-height);display:flex;width:calc(100% - var(--body-container-margin) * 2);border-radius:var(--body-container-radius);height:var(--body-height);overflow:hidden;padding:0}.content[data-v-d8f0539f]:not(.with-sidebar--full){position:fixed}.content[data-v-d8f0539f] *{box-sizing:border-box}.material-design-icon[data-v-7692fc78]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-details-toggle[data-v-7692fc78]{position:-webkit-sticky;position:sticky;width:var(--default-clickable-area);height:var(--default-clickable-area);padding:calc((var(--default-clickable-area) - 16px) / 2);cursor:pointer;opacity:.6;transform:rotate(180deg);background-color:var(--color-main-background);z-index:2000;top:var(--app-navigation-padding);left:calc(var(--default-clickable-area) + var(--app-navigation-padding) * 2)}.app-details-toggle--mobile[data-v-7692fc78]{left:var(--app-navigation-padding)}.app-details-toggle[data-v-7692fc78]:active,.app-details-toggle[data-v-7692fc78]:hover,.app-details-toggle[data-v-7692fc78]:focus{opacity:1}.material-design-icon[data-v-de6986e3]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-content[data-v-de6986e3]{position:initial;z-index:1000;flex-basis:100vw;height:100%;margin:0!important;background-color:var(--color-main-background);min-width:0}.app-content[data-v-de6986e3]:not(.app-content--has-list){overflow:auto}.app-content-wrapper[data-v-de6986e3]{position:relative;width:100%;height:100%}.app-content-wrapper--no-split.app-content-wrapper--show-list[data-v-de6986e3] .app-content-list{display:flex}.app-content-wrapper--no-split.app-content-wrapper--show-list[data-v-de6986e3] .app-content-details,.app-content-wrapper--no-split.app-content-wrapper--show-details[data-v-de6986e3] .app-content-list{display:none}.app-content-wrapper--no-split.app-content-wrapper--show-details[data-v-de6986e3] .app-content-details{display:block}[data-v-de6986e3] .splitpanes.default-theme .app-content-list{max-width:none;scrollbar-width:auto}[data-v-de6986e3] .splitpanes.default-theme .splitpanes__pane{background-color:transparent;transition:none}[data-v-de6986e3] .splitpanes.default-theme .splitpanes__pane-list{min-width:300px;position:-webkit-sticky;position:sticky}@media only screen and (width < 1024px){[data-v-de6986e3] .splitpanes.default-theme .splitpanes__pane-list{display:none}}[data-v-de6986e3] .splitpanes.default-theme .splitpanes__pane-details{overflow-y:auto}@media only screen and (width < 1024px){[data-v-de6986e3] .splitpanes.default-theme .splitpanes__pane-details{min-width:100%}}[data-v-de6986e3] .splitpanes.default-theme.splitpanes--vertical .splitpanes__splitter{background-color:var(--color-main-background);border-left:1px solid var(--color-border)}[data-v-de6986e3] .splitpanes.default-theme.splitpanes--vertical .splitpanes__splitter:before,[data-v-de6986e3] .splitpanes.default-theme.splitpanes--vertical .splitpanes__splitter:after{background-color:var(--color-border)}.app-content-wrapper--show-list[data-v-de6986e3] .app-content-list{max-width:none}.splitpanes{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%}.splitpanes--vertical{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.splitpanes--horizontal{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{-webkit-transition:width .2s ease-out;-o-transition:width .2s ease-out;transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{-webkit-transition:height .2s ease-out;-o-transition:height .2s ease-out;transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{-webkit-transition:none;-o-transition:none;transition:none}.splitpanes__splitter{-ms-touch-action:none;touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-negative:0;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;-webkit-transition:background-color .3s;-o-transition:background-color .3s;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.activity-group__heading[data-v-c16e5a63]{line-height:1.5;margin-block:30px 12px}.activity-group__heading[data-v-c16e5a63]:first-of-type{margin-block-start:0}.activity-app[data-v-6798da20]{display:flex;flex-direction:column;overflow:hidden}.activity-app__empty-content[data-v-6798da20]{height:100%}.activity-app__loading-indicator[data-v-6798da20]{color:var(--color-text-maxcontrast);justify-self:center;margin-block:30px 6px;text-align:center}.activity-app__container[data-v-6798da20]{display:flex;flex-direction:column;height:100%;width:min(100%,924px);max-width:924px;margin:0 auto;padding-inline:12px;overflow-y:scroll}.activity-app__heading[data-v-6798da20]{font-weight:700;font-size:20px;line-height:44px;margin-top:1px;margin-inline:calc(2 * var(--app-navigation-padding, 8px) + 44px) var(--app-navigation-padding, 8px)}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation,.app-content{--app-navigation-padding: calc(var(--default-grid-baseline, 4px) * 2)}.material-design-icon[data-v-e7d078cc]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation[data-v-e7d078cc]{--color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-text-maxcontrast-default));transition:transform var(--animation-quick),margin var(--animation-quick);width:300px;--app-navigation-max-width: calc(100vw - (var(--app-navigation-padding) + var(--default-clickable-area) + var(--default-grid-baseline)));max-width:var(--app-navigation-max-width);position:relative;top:0;left:0;padding:0;z-index:1800;height:100%;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-grow:0;flex-shrink:0;background-color:var(--color-main-background-blur, var(--color-main-background));-webkit-backdrop-filter:var(--filter-background-blur, none);backdrop-filter:var(--filter-background-blur, none)}.app-navigation--close[data-v-e7d078cc]{margin-left:calc(-1*min(300px,var(--app-navigation-max-width)))}.app-navigation__search[data-v-e7d078cc]{width:100%}.app-navigation__body[data-v-e7d078cc]{overflow-y:scroll}.app-navigation__content>ul[data-v-e7d078cc]{position:relative;width:100%;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:var(--default-grid-baseline, 4px);padding:var(--app-navigation-padding)}.app-navigation .app-navigation__list[data-v-e7d078cc]{height:100%}.app-navigation__body--no-list[data-v-e7d078cc]{flex:1 1 auto;overflow:auto;height:100%}.app-navigation__content[data-v-e7d078cc]{height:100%;display:flex;flex-direction:column}[data-themes*=highcontrast] .app-navigation[data-v-e7d078cc]{border-inline-end:1px solid var(--color-border)}@media only screen and (max-width: 1024px){.app-navigation[data-v-e7d078cc]{position:absolute;border-inline-end:1px solid var(--color-border)}}@media only screen and (max-width: 512px){.app-navigation[data-v-e7d078cc]{z-index:1400}}.material-design-icon[data-v-058e6060]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-list[data-v-058e6060]{position:relative;width:100%;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:var(--default-grid-baseline, 4px);padding:var(--app-navigation-padding)}.material-design-icon[data-v-b6024aba]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-toggle-wrapper[data-v-b6024aba]{position:absolute;top:var(--app-navigation-padding);right:calc(0px - var(--app-navigation-padding));margin-right:calc(-1 * var(--default-clickable-area))}button.app-navigation-toggle[data-v-b6024aba]{background-color:var(--color-main-background)}.material-design-icon[data-v-cadd59ae]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue.icon-collapse[data-v-cadd59ae]{position:relative;z-index:105;color:var(--color-main-text);right:0}.button-vue.icon-collapse--open[data-v-cadd59ae]{color:var(--color-main-text)}.button-vue.icon-collapse--open[data-v-cadd59ae]:hover{color:var(--color-primary-element)}.material-design-icon[data-v-97fce21a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-entry[data-v-97fce21a]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%;min-height:var(--default-clickable-area);transition:background-color var(--animation-quick) ease-in-out;transition:background-color .2s ease-in-out;border-radius:var(--border-radius-element, var(--border-radius-pill))}.app-navigation-entry-wrapper[data-v-97fce21a]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%}.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened)>ul[data-v-97fce21a]{display:none}.app-navigation-entry.active[data-v-97fce21a]{background-color:var(--color-primary-element)!important}.app-navigation-entry.active[data-v-97fce21a]:hover{background-color:var(--color-primary-element-hover)!important}.app-navigation-entry.active .app-navigation-entry-link[data-v-97fce21a],.app-navigation-entry.active .app-navigation-entry-button[data-v-97fce21a]{color:var(--color-primary-element-text)!important}.app-navigation-entry[data-v-97fce21a]:focus-within,.app-navigation-entry[data-v-97fce21a]:hover{background-color:var(--color-background-hover)}.app-navigation-entry.active .app-navigation-entry__children[data-v-97fce21a],.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-97fce21a],.app-navigation-entry:hover .app-navigation-entry__children[data-v-97fce21a]{background-color:var(--color-main-background)}.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-97fce21a],.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-97fce21a],.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-97fce21a],.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-97fce21a],.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-97fce21a]{display:inline-block}.app-navigation-entry.app-navigation-entry--deleted>ul[data-v-97fce21a]{display:none}.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-97fce21a],.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-97fce21a]{padding-right:calc((var(--default-clickable-area) - 16px) / 2)}.app-navigation-entry .app-navigation-entry-link[data-v-97fce21a],.app-navigation-entry .app-navigation-entry-button[data-v-97fce21a]{z-index:100;display:flex;overflow:hidden;flex:1 1 0;box-sizing:border-box;min-height:var(--default-clickable-area);padding:0;white-space:nowrap;color:var(--color-main-text);background-repeat:no-repeat;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px 16px;line-height:var(--default-clickable-area)}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-97fce21a],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-97fce21a]{display:flex;align-items:center;flex:0 0 var(--default-clickable-area);justify-content:center;width:var(--default-clickable-area);height:var(--default-clickable-area);background-size:16px 16px;background-repeat:no-repeat;background-position:calc((var(--default-clickable-area) - 16px) / 2) center}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-97fce21a],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-97fce21a]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-97fce21a],.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-97fce21a]{width:calc(100% - var(--default-clickable-area));margin:auto}.app-navigation-entry .app-navigation-entry-link[data-v-97fce21a]:focus-visible,.app-navigation-entry .app-navigation-entry-button[data-v-97fce21a]:focus-visible{box-shadow:0 0 0 4px var(--color-main-background);outline:2px solid var(--color-main-text);border-radius:var(--border-radius-element, var(--border-radius-pill))}.app-navigation-entry__children[data-v-97fce21a]{position:relative;display:flex;flex:0 1 auto;flex-direction:column;width:100%;gap:var(--default-grid-baseline, 4px)}.app-navigation-entry__children .app-navigation-entry[data-v-97fce21a]{display:inline-flex;flex-wrap:wrap;padding-left:16px}.app-navigation-entry__deleted[data-v-97fce21a]{display:inline-flex;flex:1 1 0;padding-left:calc(var(--default-clickable-area) - (var(--default-clickable-area) - 16px) / 2)!important}.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-97fce21a]{position:relative;overflow:hidden;flex:1 1 0;white-space:nowrap;text-overflow:ellipsis;line-height:var(--default-clickable-area)}.app-navigation-entry__utils[data-v-97fce21a]{display:flex;min-width:var(--default-clickable-area);align-items:center;flex:0 1 auto;justify-content:flex-end}.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-97fce21a]{display:inline-block}.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-97fce21a]{margin-right:calc(var(--default-grid-baseline) * 2);display:flex;align-items:center;flex:0 1 auto}.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-97fce21a]{display:none}.app-navigation-entry--editing .app-navigation-entry-edit[data-v-97fce21a]{z-index:250;opacity:1}.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-97fce21a]{z-index:250;transform:translate(0)}.app-navigation-entry--pinned[data-v-97fce21a]{order:2;margin-top:auto}.app-navigation-entry--pinned~.app-navigation-entry--pinned[data-v-97fce21a]{margin-top:0}[data-themes*=highcontrast] .app-navigation-entry[data-v-97fce21a]:active{background-color:var(--color-primary-element-light-hover)!important}.material-design-icon[data-v-dba65098]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action.active[data-v-dba65098]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-dba65098]{pointer-events:none;opacity:.5}.action--disabled[data-v-dba65098]:hover,.action--disabled[data-v-dba65098]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-dba65098]{opacity:1!important}.action-button[data-v-dba65098]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-right:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-button>span[data-v-dba65098]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-dba65098]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-button[data-v-dba65098] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-button[data-v-dba65098] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-dba65098],.action-button__longtext[data-v-dba65098]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-button__longtext[data-v-dba65098]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-dba65098]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}.action-button__menu-icon[data-v-dba65098],.action-button__pressed-icon[data-v-dba65098]{margin-left:auto;margin-right:calc((var(--default-clickable-area) - 16px) / 2 * -1)}.material-design-icon[data-v-0e795eb7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-input-confirm[data-v-0e795eb7]{flex:1 0 100%;width:100%}.app-navigation-input-confirm form[data-v-0e795eb7]{display:flex}.app-navigation-input-confirm__input[data-v-0e795eb7]{height:34px;flex:1 1 100%;font-size:100%!important;margin:5px 5px 5px -8px!important;padding:7px!important}.app-navigation-input-confirm__input[data-v-0e795eb7]:active,.app-navigation-input-confirm__input[data-v-0e795eb7]:focus,.app-navigation-input-confirm__input[data-v-0e795eb7]:hover{outline:none;background-color:var(--color-main-background);color:var(--color-main-text);border-color:var(--color-primary-element)}.material-design-icon[data-v-981e215c]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}#app-settings[data-v-981e215c]{margin-top:auto;padding:3px}#app-settings__header[data-v-981e215c]{box-sizing:border-box;margin:0 3px 3px}#app-settings__header .settings-button[data-v-981e215c]{display:flex;flex:1 1 0;height:var(--default-clickable-area);width:100%;padding:0 14px 0 0;margin:0;background-color:transparent;box-shadow:none;border:0;border-radius:var(--body-container-radius);text-align:left;font-weight:400;font-size:100%;color:var(--color-main-text);line-height:var(--default-clickable-area)}#app-settings__header .settings-button[data-v-981e215c]:hover,#app-settings__header .settings-button[data-v-981e215c]:focus{background-color:var(--color-background-hover)}#app-settings__header .settings-button__icon[data-v-981e215c]{width:var(--default-clickable-area);height:var(--default-clickable-area);min-width:var(--default-clickable-area)}#app-settings__header .settings-button__label[data-v-981e215c]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}#app-settings__content[data-v-981e215c]{display:block;padding:10px;margin-bottom:-3px;max-height:300px;overflow-y:auto;box-sizing:border-box}.slide-up-leave-active[data-v-981e215c],.slide-up-enter-active[data-v-981e215c]{transition-duration:var(--animation-slow);transition-property:max-height,padding;overflow-y:hidden!important}.slide-up-enter[data-v-981e215c],.slide-up-leave-to[data-v-981e215c]{max-height:0!important;padding:0 10px!important}.app-activity .settings-link{max-width:100%}.app-activity .app-navigation-entry.active .navigation-icon{filter:var(--primary-invert-if-dark)}.app-activity .app-navigation-entry:not(.active) .navigation-icon{filter:var(--background-invert-if-dark)}.app-activity .navigation-icon{height:16px;width:16px}')),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); -import{V as g,d as L,c as z,t as v,g as ut,e as dt,s as ht,r as _,o as ft,w as mt,a as vt}from"./index-FHDXXk0Q.chunk.mjs";import{N as X,u as k,A as Y,m as S,a as gt,b as yt,c as Ct,C as _t,d as xt,e as bt,v as St,f as zt,V as J}from"./Activity-iWE732P6.chunk.mjs";import{e as y,g as wt,l as V,s as Nt,u as kt}from"./logger-DdfSSqJ9.chunk.mjs";import{r as C,t as Pt,n as c,N as x,a as d,b as P,c as Mt,u as Et,V as Dt,l as O,d as At,e as Q,f as tt,v as Lt,g as $t,h as Bt,i as It,j as Vt,C as Ot,k as Tt,m as Ht,o as Rt,p as Ft,q as jt,s as Ut,G as Zt,w as qt,x as Kt,_ as et}from"./NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs";import{s as it,a as Wt}from"./NcNoteCard-CImn6F9p-B5NIs5kG.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";const D="activity";let Gt="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Xt=(t=21)=>{let e="",i=t;for(;i--;)e+=Gt[Math.random()*64|0];return e};function M(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(e){return typeof e}:M=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(t)}var nt={selector:"vue-portal-target-".concat(Xt())},Yt=function(t){return nt.selector=t},B=typeof window<"u"&&(typeof document>"u"?"undefined":M(document))!==void 0,Jt=g.extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(t){return{updatedNodes:t.nodes}},render:function(t){var e=this.updatedNodes&&this.updatedNodes();return e?e.length===1&&!e[0].text?e:t(this.tag||"DIV",e):t()},destroyed:function(){var t=this.$el;t&&t.parentNode.removeChild(t)}}),at=g.extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(nt.selector)}},tag:{type:String,default:"DIV"}},render:function(t){if(this.disabled){var e=this.$scopedSlots&&this.$scopedSlots.default();return e?e.length<2&&!e[0].text?e:t(this.tag,e):t()}return t()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var t=this;this.$nextTick(function(){!t.disabled&&t.slotFn!==t.$scopedSlots.default&&(t.container.updatedNodes=t.$scopedSlots.default),t.slotFn=t.$scopedSlots.default})},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(t){t?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(B)return document.querySelector(this.selector)},insertTargetEl:function(){if(B){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(B){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new Jt({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function Qt(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.component(e.name||"portal",at),e.defaultSelector&&Yt(e.defaultSelector)}typeof window<"u"&&window.Vue&&window.Vue===g&&g.use(Qt),C(Pt);const te='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',ee='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',ie={name:"NcContent",components:{NcButton:x,NcIconSvgWrapper:X,Teleport:at},provide(){return{"NcContent:setHasAppNavigation":this.setAppNavigation,"NcContent:selector":"#content-vue"}},props:{appName:{type:String,required:!0}},setup(){return{isMobile:k()}},data(){return{hasAppNavigation:!1,currentFocus:""}},computed:{currentImage(){return this.currentFocus==="navigation"?ee:te}},beforeMount(){const t=document.getElementById("skip-actions");t&&(t.innerHTML="",t.classList.add("vue-skip-actions"))},methods:{t:d,openAppNavigation(){y("toggle-navigation",{open:!0}),this.$nextTick(()=>{window.location.hash="app-navigation-vue",document.getElementById("app-navigation-vue").focus()})},setAppNavigation(t){this.hasAppNavigation=t,this.currentFocus===""&&(this.currentFocus="navigation")}}};var ne=function(){var t=this,e=t._self._c;return e("div",{class:["content","app-".concat(t.appName.toLowerCase())],attrs:{id:"content-vue"}},[e("Teleport",{attrs:{selector:"#skip-actions"}},[e("div",{staticClass:"vue-skip-actions__container"},[e("div",{staticClass:"vue-skip-actions__headline"},[t._v(" "+t._s(t.t("Keyboard navigation help"))+" ")]),e("div",{staticClass:"vue-skip-actions__buttons"},[e("NcButton",{directives:[{name:"show",rawName:"v-show",value:t.hasAppNavigation,expression:"hasAppNavigation"}],attrs:{type:"tertiary",href:"#app-navigation-vue"},on:{click:function(i){return i.preventDefault(),t.openAppNavigation.apply(null,arguments)},focusin:function(i){t.currentFocus="navigation"},mouseover:function(i){t.currentFocus="navigation"}}},[t._v(" "+t._s(t.t("Skip to app navigation"))+" ")]),e("NcButton",{attrs:{type:"tertiary",href:"#app-content-vue"},on:{focusin:function(i){t.currentFocus="content"},mouseover:function(i){t.currentFocus="content"}}},[t._v(" "+t._s(t.t("Skip to main content"))+" ")])],1),e("NcIconSvgWrapper",{directives:[{name:"show",rawName:"v-show",value:!t.isMobile,expression:"!isMobile"}],staticClass:"vue-skip-actions__image",attrs:{svg:t.currentImage,size:"auto"}})],1),t._v("  ")]),t._t("default")],2)},ae=[],se=c(ie,ne,ae,!1,null,"d8f0539f");const oe=se.exports,le=L({__name:"ActivityApp",setup(t){return{__sfc:!0,NcContent:oe}}});var re=function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e(i.NcContent,{attrs:{"app-name":"activity"}},[e("router-view",{attrs:{name:"navigation"}}),e("router-view")],1)},ce=[],pe=P(le,re,ce,!1,null,null);const ue=pe.exports;var de=Object.defineProperty,he=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,R=(t,e,i)=>e in t?de(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,me=(t,e)=>{for(var i in e||(e={}))st.call(e,i)&&R(t,i,e[i]);if(A)for(var i of A(e))ot.call(e,i)&&R(t,i,e[i]);return t},ve=(t,e)=>he(t,fe(e)),ge=(t,e)=>{var i={};for(var n in t)st.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&A)for(var n of A(t))e.indexOf(n)<0&&ot.call(t,n)&&(i[n]=t[n]);return i};function lt(t,e,i,n,a,s,o,r){var l=typeof t=="function"?t.options:t;e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0);var p;if(a&&(p=a),p)if(l.functional){l._injectStyles=p;var b=l.render;l.render=function(u,f){return p.call(f),b(u,f)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,p):[p]}return{exports:t,options:l}}const ye={name:"splitpanes",props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((t,e)=>(t[e.id]=e)&&t,{})}},methods:{updatePaneComponents(){this.panes.forEach(t=>{t.update&&t.update({[this.horizontal?"height":"width"]:"".concat(this.indexedPanes[t.id].size,"%")})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(t,e){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=e},onMouseMove(t){this.touch.mouseDown&&(t.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(t)),this.$emit("resize",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(t,e){"ontouchstart"in window&&(t.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===e?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(t,e),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=e,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[e])},onSplitterDblClick(t,e){let i=0;this.panes=this.panes.map((n,a)=>(n.size=a===e?n.max:n.min,a!==e&&(i+=n.min),n)),this.panes[e].size-=i,this.$emit("pane-maximize",this.panes[e])},onPaneClick(t,e){this.$emit("pane-click",this.indexedPanes[e])},getCurrentMouseDrag(t){const e=this.container.getBoundingClientRect(),{clientX:i,clientY:n}="ontouchstart"in window&&t.touches?t.touches[0]:t;return{x:i-e.left,y:n-e.top}},getCurrentDragPercentage(t){t=t[this.horizontal?"y":"x"];const e=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(t=e-t),t*100/e},calculatePanesSize(t){const e=this.touch.activeSplitter;let i={prevPanesSize:this.sumPrevPanesSize(e),nextPanesSize:this.sumNextPanesSize(e),prevReachedMinPanes:0,nextReachedMinPanes:0};const n=0+(this.pushOtherPanes?0:i.prevPanesSize),a=100-(this.pushOtherPanes?0:i.nextPanesSize),s=Math.max(Math.min(this.getCurrentDragPercentage(t),a),n);let o=[e,e+1],r=this.panes[o[0]]||null,l=this.panes[o[1]]||null;const p=r.max<100&&s>=r.max+i.prevPanesSize,b=l.max<100&&s<=100-(l.max+this.sumNextPanesSize(e+1));if(p||b){p?(r.size=r.max,l.size=Math.max(100-r.max-i.prevPanesSize-i.nextPanesSize,0)):(r.size=Math.max(100-l.max-i.prevPanesSize-this.sumNextPanesSize(e+1),0),l.size=l.max);return}if(this.pushOtherPanes){const h=this.doPushOtherPanes(i,s);if(!h)return;({sums:i,panesToResize:o}=h),r=this.panes[o[0]]||null,l=this.panes[o[1]]||null}r!==null&&(r.size=Math.min(Math.max(s-i.prevPanesSize-i.prevReachedMinPanes,r.min),r.max)),l!==null&&(l.size=Math.min(Math.max(100-s-i.nextPanesSize-i.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(t,e){const i=this.touch.activeSplitter,n=[i,i+1];return e{s>n[0]&&s<=i&&(a.size=a.min,t.prevReachedMinPanes+=a.min)}),t.prevPanesSize=this.sumPrevPanesSize(n[0]),n[0]===void 0)?(t.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((a,s)=>{s>0&&s<=i&&(a.size=a.min,t.prevReachedMinPanes+=a.min)}),this.panes[n[1]].size=100-t.prevReachedMinPanes-this.panes[0].min-t.prevPanesSize-t.nextPanesSize,null):e>100-t.nextPanesSize-this.panes[n[1]].min&&(n[1]=this.findNextExpandedPane(i).index,t.nextReachedMinPanes=0,n[1]>i+1&&this.panes.forEach((a,s)=>{s>i&&s{s=i+1&&(a.size=a.min,t.nextReachedMinPanes+=a.min)}),this.panes[n[0]].size=100-t.prevPanesSize-t.nextReachedMinPanes-this.panes[this.panesCount-1].min-t.nextPanesSize,null):{sums:t,panesToResize:n}},sumPrevPanesSize(t){return this.panes.reduce((e,i,n)=>e+(ne+(n>t+1?i.size:0),0)},findPrevExpandedPane(t){return[...this.panes].reverse().find(e=>e.indexe.min)||{}},findNextExpandedPane(t){return this.panes.find(e=>e.index>t+1&&e.size>e.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(t=>{const e=t.classList.contains("splitpanes__pane"),i=t.classList.contains("splitpanes__splitter");if(!e&&!i){t.parentNode.removeChild(t),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed.");return}})},addSplitter(t,e,i=!1){const n=t-1,a=document.createElement("div");a.classList.add("splitpanes__splitter"),i||(a.onmousedown=s=>this.onMouseDown(s,n),typeof window<"u"&&"ontouchstart"in window&&(a.ontouchstart=s=>this.onMouseDown(s,n)),a.onclick=s=>this.onSplitterClick(s,n+1)),this.dblClickSplitter&&(a.ondblclick=s=>this.onSplitterDblClick(s,n+1)),e.parentNode.insertBefore(a,e)},removeSplitter(t){t.onmousedown=void 0,t.onclick=void 0,t.ondblclick=void 0,t.parentNode.removeChild(t)},redoSplitters(){const t=Array.from(this.container.children);t.forEach(i=>{i.className.includes("splitpanes__splitter")&&this.removeSplitter(i)});let e=0;t.forEach(i=>{i.className.includes("splitpanes__pane")&&(!e&&this.firstSplitter?this.addSplitter(e,i,!0):e&&this.addSplitter(e,i),e++)})},requestUpdate(t){var e=t,{target:i}=e,n=ge(e,["target"]);const a=this.indexedPanes[i._uid];Object.entries(n).forEach(([s,o])=>a[s]=o)},onPaneAdd(t){let e=-1;Array.from(t.$el.parentNode.children).some(a=>(a.className.includes("splitpanes__pane")&&e++,a===t.$el));const i=parseFloat(t.minSize),n=parseFloat(t.maxSize);this.panes.splice(e,0,{id:t._uid,index:e,min:isNaN(i)?0:i,max:isNaN(n)?100:n,size:t.size===null?null:parseFloat(t.size),givenSize:t.size,update:t.update}),this.panes.forEach((a,s)=>a.index=s),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[e]}),this.$emit("pane-add",{index:e,panes:this.panes.map(a=>({min:a.min,max:a.max,size:a.size}))})})},onPaneRemove(t){const e=this.panes.findIndex(n=>n.id===t._uid),i=this.panes.splice(e,1)[0];this.panes.forEach((n,a)=>n.index=a),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:ve(me({},i),{index:e})}),this.$emit("pane-remove",{removed:i,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},resetPaneSizes(t={}){!t.addedPane&&!t.removedPane?this.initialPanesSizing():this.panes.some(e=>e.givenSize!==null||e.min||e.max<100)?this.equalizeAfterAddOrRemove(t):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size})))},equalize(){const t=100/this.panesCount;let e=0,i=[],n=[];this.panes.forEach(a=>{a.size=Math.max(Math.min(t,a.max),a.min),e-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&n.push(a.id)}),e>.1&&this.readjustSizes(e,i,n)},initialPanesSizing(){100/this.panesCount;let t=100,e=[],i=[],n=0;this.panes.forEach(s=>{t-=s.size,s.size!==null&&n++,s.size>=s.max&&e.push(s.id),s.size<=s.min&&i.push(s.id)});let a=100;t>.1&&(this.panes.forEach(s=>{s.size===null&&(s.size=Math.max(Math.min(t/(this.panesCount-n),s.max),s.min)),a-=s.size}),a>.1&&this.readjustSizes(t,e,i))},equalizeAfterAddOrRemove({addedPane:t,removedPane:e}={}){let i=100/this.panesCount,n=0,a=[],s=[];t&&t.givenSize!==null&&(i=(100-t.givenSize)/(this.panesCount-1)),this.panes.forEach(o=>{n-=o.size,o.size>=o.max&&a.push(o.id),o.size<=o.min&&s.push(o.id)}),!(Math.abs(n)<.1)&&(this.panes.forEach(o=>{t&&t.givenSize!==null&&t.id===o.id||(o.size=Math.max(Math.min(i,o.max),o.min)),n-=o.size,o.size>=o.max&&a.push(o.id),o.size<=o.min&&s.push(o.id)}),n>.1&&this.readjustSizes(n,a,s))},readjustSizes(t,e,i){let n;t>0?n=t/(this.panesCount-e.length):n=t/(this.panesCount-i.length),this.panes.forEach((a,s)=>{if(t>0&&!e.includes(a.id)){const o=Math.max(Math.min(a.size+n,a.max),a.min),r=o-a.size;t-=r,a.size=o}else if(!i.includes(a.id)){const o=Math.max(Math.min(a.size+n,a.max),a.min),r=o-a.size;t-=r,a.size=o}a.update({[this.horizontal?"height":"width"]:"".concat(this.indexedPanes[a.id].size,"%")})}),Math.abs(t)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(t){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((e,i)=>{e.ondblclick=t?n=>this.onSplitterDblClick(n,i):void 0})}},beforeDestroy(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(t){return t("div",{ref:"container",class:["splitpanes","splitpanes--".concat(this.horizontal?"horizontal":"vertical"),{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default)}};let Ce,_e;const F={};var xe=lt(ye,Ce,_e,!1,be);function be(t){for(let e in F)this[e]=F[e]}var Se=function(){return xe.exports}(),ze=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"splitpanes__pane",style:t.style,on:{click:function(n){return t.onPaneClick(n,t._uid)}}},[t._t("default")],2)},we=[];const Ne={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeDestroy(){this.onPaneRemove(this)},methods:{update(t){this.style=t}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(t){this.requestUpdate({target:this,size:t})},minSizeNumber(t){this.requestUpdate({target:this,min:t})},maxSizeNumber(t){this.requestUpdate({target:this,max:t})}}},j={};var ke=lt(Ne,ze,we,!1,Pe);function Pe(t){for(let e in j)this[e]=j[e]}var Me=function(){return ke.exports}();C(Mt);const Ee={name:"NcAppDetailsToggle",directives:{tooltip:Dt},components:{NcButton:x,ArrowRight:Y},setup(){return{isMobile:k()}},computed:{title(){return d("Go back to the list")}},watch:{isMobile:{immediate:!0,handler(){this.toggleAppNavigationButton(this.isMobile)}}},beforeDestroy(){this.isMobile&&this.toggleAppNavigationButton(!1)},methods:{toggleAppNavigationButton(t=!0){const e=document.querySelector(".app-navigation .app-navigation-toggle");e&&(e.style.display=t?"none":null,t===!0&&y("toggle-navigation",{open:!1}))}}};var De=function(){var t=this,e=t._self._c;return e("NcButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.title,expression:"title"}],staticClass:"app-details-toggle",class:{"app-details-toggle--mobile":t.isMobile},attrs:{type:"tertiary","aria-label":t.title},scopedSlots:t._u([{key:"icon",fn:function(){return[e("ArrowRight",{attrs:{size:20}})]},proxy:!0}])})},Ae=[],Le=c(Ee,De,Ae,!1,null,"7692fc78");const $e=Le.exports,U=wt("nextcloud").persist().build(),Be={name:"NcAppContent",components:{NcAppDetailsToggle:$e,Pane:Me,Splitpanes:Se},props:{allowSwipeNavigation:{type:Boolean,default:!0},listSize:{type:Number,default:20},listMinWidth:{type:Number,default:15},listMaxWidth:{type:Number,default:40},paneConfigKey:{type:String,default:""},showDetails:{type:Boolean,default:!0},pageHeading:{type:String,default:null},layout:{type:String,default:"vertical-split",validator(t){return["no-split","vertical-split","horizontal-split"].includes(t)}}},emits:["update:showDetails","resize:list"],setup(){return{isMobile:k()}},data(){return{contentHeight:0,hasList:!1,hasContent:!1,swiping:{},listPaneSize:this.restorePaneConfig()}},computed:{paneConfigID(){if(this.paneConfigKey!=="")return"pane-list-size-".concat(this.paneConfigKey);try{return"pane-list-size-".concat(D)}catch{return console.info("[INFO] AppContent:","falling back to global nextcloud pane config"),"pane-list-size-nextcloud"}},detailsPaneSize(){return this.listPaneSize?100-this.listPaneSize:this.paneDefaults.details.size},paneDefaults(){return{list:{size:this.listSize,min:this.listMinWidth,max:this.listMaxWidth},details:{size:100-this.listSize,min:100-this.listMaxWidth,max:100-this.listMinWidth}}}},updated(){this.checkSlots()},mounted(){this.allowSwipeNavigation&&(this.swiping=Et(this.$el,{onSwipeEnd:this.handleSwipe})),this.checkSlots(),this.restorePaneConfig()},methods:{handleSwipe(t,e){Math.abs(this.swiping.lengthX)>70&&(this.swiping.coordsStart.x<300/2&&e==="right"?y("toggle-navigation",{open:!0}):this.swiping.coordsStart.x<300*1.5&&e==="left"&&y("toggle-navigation",{open:!1}))},handlePaneResize(t){const e=parseInt(t[0].size,10);U.setItem(this.paneConfigID,JSON.stringify(e)),this.listPaneSize=e,this.$emit("resize:list",{size:e}),console.debug("AppContent pane config",e)},checkSlots(){this.hasList=!!this.$scopedSlots.list,this.hasContent=!!this.$scopedSlots.default},restorePaneConfig(){const t=parseInt(U.getItem(this.paneConfigID),10);if(!isNaN(t)&&t!==this.listPaneSize)return console.debug("AppContent pane config",t),this.listPaneSize=t,t},hideDetails(){this.$emit("update:showDetails",!1)}}};var Ie=function(){var t=this,e=t._self._c;return e("main",{staticClass:"app-content no-snapper",class:{"app-content--has-list":t.hasList},attrs:{id:"app-content-vue"}},[t.pageHeading?e("h1",{staticClass:"hidden-visually"},[t._v(" "+t._s(t.pageHeading)+" ")]):t._e(),t.hasList?[t.isMobile||t.layout==="no-split"?e("div",{staticClass:"app-content-wrapper app-content-wrapper--no-split",class:{"app-content-wrapper--show-details":t.showDetails,"app-content-wrapper--show-list":!t.showDetails,"app-content-wrapper--mobile":t.isMobile}},[t.showDetails?e("NcAppDetailsToggle",{nativeOn:{click:function(i){return i.stopPropagation(),i.preventDefault(),t.hideDetails.apply(null,arguments)}}}):t._e(),t.showDetails?t._t("default"):t._t("list")],2):t.layout==="vertical-split"||t.layout==="horizontal-split"?e("div",{staticClass:"app-content-wrapper"},[e("Splitpanes",{staticClass:"default-theme",class:{"splitpanes--horizontal":t.layout==="horizontal-split","splitpanes--vertical":t.layout==="vertical-split"},attrs:{horizontal:t.layout==="horizontal-split"},on:{resized:t.handlePaneResize}},[e("Pane",{staticClass:"splitpanes__pane-list",attrs:{size:t.listPaneSize||t.paneDefaults.list.size,"min-size":t.paneDefaults.list.min,"max-size":t.paneDefaults.list.max}},[t._t("list")],2),e("Pane",{staticClass:"splitpanes__pane-details",attrs:{size:t.detailsPaneSize,"min-size":t.paneDefaults.details.min,"max-size":t.paneDefaults.details.max}},[t._t("default")],2)],1)],1):t._e()]:t._e(),t.hasList?t._e():t._t("default")],2)},Ve=[],Oe=c(Be,Ie,Ve,!1,null,"de6986e3");const Te=Oe.exports;var $=Symbol(),w=Symbol(),Z=Symbol(),q=Symbol(),T=function(t){return"frag"in t},He={get:function(){return this[w]||this.parentElement},configurable:!0},N=function(t,e){w in t||(t[w]=e,Object.defineProperty(t,"parentNode",He))},Re={get:function(){var t=this.parentNode.childNodes,e=t.indexOf(this);return e>-1&&t[e+1]||null}},E=function(t){Z in t||(t[Z]=!0,Object.defineProperty(t,"nextSibling",Re))},Fe=function(t,e){for(;t.parentNode!==e;){var i=t,n=i.parentNode;n&&(t=n)}return t},I,rt=function(t){if(!I){var e=Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");I=e.get}var i=I.apply(t),n=Array.from(i).map(function(a){return Fe(a,t)});return n.filter(function(a,s){return a!==n[s-1]})},je={get:function(){return this.frag||rt(this)}},Ue={get:function(){return this.childNodes[0]||null}};function Ze(){return this.childNodes.length>0}var K=function(t){q in t||(t[q]=!0,Object.defineProperties(t,{childNodes:je,firstChild:Ue}),t.hasChildNodes=Ze)};function qe(){var t;(t=this.frag[0]).before.apply(t,arguments)}function Ke(){var t=this.frag,e=t.splice(0,t.length);e.forEach(function(i){i.remove()})}var We=function t(e){var i;return(i=Array.prototype).concat.apply(i,e.map(function(n){return T(n)?t(n.frag):n}))},Ge=function(t,e){var i=t[$];e.before(i),N(i,t),t.frag.unshift(i)};function W(t){if(T(this)){var e=this.frag.indexOf(t);if(e>-1){var i=this.frag.splice(e,1),n=i[0];this.frag.length===0&&Ge(this,n),t.remove()}}else{var a=rt(this),s=a.indexOf(t);s>-1&&t.remove()}return t}function G(t,e){var i=this,n=t.frag||[t];if(T(this)){if(t[w]===this&&t.parentElement)return t;var a=this.frag;if(e){var s=a.indexOf(e);s>-1&&(a.splice.apply(a,[s,0].concat(n)),e.before.apply(e,n))}else{var o=a[a.length-1];a.push.apply(a,n),o.after.apply(o,n)}ct(this)}else e?this.childNodes.includes(e)&&e.before.apply(e,n):this.append.apply(this,n);n.forEach(function(l){N(l,i)});var r=n[n.length-1];return E(r),t}function Xe(t){if(t[w]===this&&t.parentElement)return t;var e=this.frag,i=e[e.length-1];return i.after(t),N(t,this),ct(this),e.push(t),t}var ct=function(t){var e=t[$];t.frag[0]===e&&(t.frag.shift(),e.remove())},Ye={set:function(t){var e=this;if(this.frag[0]!==this[$]&&this.frag.slice().forEach(function(n){return e.removeChild(n)}),t){var i=document.createElement("div");i.innerHTML=t,Array.from(i.childNodes).forEach(function(n){e.appendChild(n)})}},get:function(){return""}},Je={inserted:function(t){var e=t.parentNode,i=t.nextSibling,n=t.previousSibling,a=Array.from(t.childNodes),s=document.createComment("");a.length===0&&a.push(s),t.frag=a,t[$]=s;var o=document.createDocumentFragment();o.append.apply(o,We(a)),t.replaceWith(o),a.forEach(function(r){N(r,t),E(r)}),K(t),Object.assign(t,{remove:Ke,appendChild:Xe,insertBefore:G,removeChild:W,before:qe}),Object.defineProperty(t,"innerHTML",Ye),e&&(Object.assign(e,{removeChild:W,insertBefore:G}),N(t,e),K(e)),i&&E(t),n&&E(n)},unbind:function(t){t.remove()}},Qe={name:"Fragment",directives:{frag:Je},render:function(t){return t("div",{directives:[{name:"frag"}]},this.$slots.default)}};const ti=L({__name:"ActivityGroup",props:{activities:null},setup(t){const e=t,i=z(()=>{const a=S(),s=S().subtract(1,"day"),o=S(e.activities[0].datetime);return o.isSame(a,"day")?v("activity","Today"):o.isSame(s,"day")?v("activity","Yesterday"):o.format("LL")}),n=z(()=>{const a=S(e.activities[0].datetime).format("LL");return a!==i.value?a:void 0});return{__sfc:!0,props:e,dateText:i,fullDate:n,Activity:gt,Fragment:Qe}}});var ei=function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e(i.Fragment,[e("h2",{staticClass:"activity-group__heading",attrs:{title:i.fullDate}},[t._v(" "+t._s(i.dateText)+" ")]),e("ul",t._l(t.activities,function(n){return e(i.Activity,{key:n.id,attrs:{activity:n,"show-previews":!0}})}),1)])},ii=[],ni=P(ti,ei,ii,!1,null,"c16e5a63");const ai=ni.exports,si='';function oi(){var t=ut().proxy.$root;if(!t._$route){var e=dt(!0).run(function(){return ht(Object.assign({},t.$router.currentRoute))});t._$route=e,t.$router.afterEach(function(i){Object.assign(e,i)})}return t._$route}const li=L({__name:"ActivityAppFeed",props:{filter:{default:"all"}},setup(t){const e=t,i=O(D,"navigationList"),n=oi(),a=_(!1),s=_(!0),o=_([]),r=_(),l=_();At(l,async()=>{s.value&&await h()},{distance:100});const p=z(()=>{const u={};for(const f of o.value){const m=S(f.datetime).format("LL");u[m]===void 0?u[m]=[f]:u[m].push(f)}return u}),b=z(()=>i.find(u=>u.id===n.params.filter).name);async function h(){var u,f;if(!a.value)try{const m=(u=r.value)!=null?u:"0";a.value=!0;const H=await tt.get(Lt("apps/activity/api/v2/activity/{filter}?format=json&previews=true&since={since}",{filter:e.filter,since:m}));o.value.push(...H.data.ocs.data.map(pt=>new Ct(pt))),r.value=H.headers["x-activity-last-given"],s.value=!0}catch(m){if($t.isAxiosError(m)&&((f=m.response)==null?void 0:f.status)===304){s.value=!1;return}V.error(m),it(v("activity","Could not load activities"))}finally{a.value=!1}}return ft(()=>{h()}),mt(e,()=>{o.value=[],r.value=void 0,h()}),{__sfc:!0,navigationList:i,route:n,props:e,loading:a,hasMoreActivites:s,allActivities:o,lastActivityLoaded:r,container:l,groupedActivities:p,headingTitle:b,loadActivities:h,NcAppContent:Te,NcIconSvgWrapper:X,NcEmptyContent:yt,NcLoadingIcon:Q,ActivityGroup:ai,appIconSVG:si,t:v}}});var ri=function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e(i.NcAppContent,{staticClass:"activity-app"},[e("h1",{staticClass:"activity-app__heading"},[t._v(" "+t._s(i.headingTitle)+" ")]),i.hasMoreActivites&&i.allActivities.length===0?e(i.NcEmptyContent,{staticClass:"activity-app__empty-content",attrs:{name:i.t("activity","Loading activities"),description:i.t("activity","This stream will show events like additions, changes & shares")},scopedSlots:t._u([{key:"icon",fn:function(){return[e(i.NcLoadingIcon,{attrs:{size:36}})]},proxy:!0}],null,!1,3043861167)}):i.allActivities.length===0?e(i.NcEmptyContent,{staticClass:"activity-app__empty-content",attrs:{name:i.t("activity","No activity yet"),description:i.t("activity","This stream will show events like additions, changes & shares")},scopedSlots:t._u([{key:"icon",fn:function(){return[e(i.NcIconSvgWrapper,{attrs:{svg:i.appIconSVG,size:36}})]},proxy:!0}])}):t._e(),e("div",{ref:"container",staticClass:"activity-app__container"},[t._l(i.groupedActivities,function(n,a){return e(i.ActivityGroup,{key:a,attrs:{activities:n}})}),i.hasMoreActivites&&i.allActivities.length>0?e(i.NcLoadingIcon,{staticClass:"activity-app__loading-indicator",attrs:{name:i.t("activity","Loading more activities"),size:64}}):!i.hasMoreActivites&&i.allActivities.length>0?e("div",{staticClass:"activity-app__loading-indicator"},[t._v(" "+t._s(i.t("activity","No more activities."))+" ")]):t._e()],2)],1)},ci=[],pi=P(li,ri,ci,!1,null,"6798da20");const ui=pi.exports,di={name:"NcAppNavigationList"};var hi=function(){var t=this,e=t._self._c;return e("ul",{staticClass:"app-navigation-list"},[t._t("default")],2)},fi=[],mi=c(di,hi,fi,!1,null,"058e6060");const vi=mi.exports;C(Bt);const gi={name:"MenuIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var yi=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon menu-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Ci=[],_i=c(gi,yi,Ci,!1,null,null);const xi=_i.exports,bi={name:"MenuOpenIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Si=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon menu-open-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},zi=[],wi=c(bi,Si,zi,!1,null,null);const Ni=wi.exports,ki={name:"NcAppNavigationToggle",components:{NcButton:x,MenuIcon:xi,MenuOpenIcon:Ni},props:{open:{type:Boolean,required:!0}},emits:["update:open"],computed:{label(){return this.open?d("Close navigation"):d("Open navigation")}},methods:{toggleNavigation(){this.$emit("update:open",!this.open)}}};var Pi=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-navigation-toggle-wrapper"},[e("NcButton",{staticClass:"app-navigation-toggle",attrs:{type:"tertiary","aria-expanded":t.open?"true":"false","aria-label":t.label,title:t.label,"aria-controls":"app-navigation-vue"},on:{click:t.toggleNavigation},scopedSlots:t._u([{key:"icon",fn:function(){return[t.open?e("MenuOpenIcon",{attrs:{size:20}}):e("MenuIcon",{attrs:{size:20}})]},proxy:!0}])})],1)},Mi=[],Ei=c(ki,Pi,Mi,!1,null,"b6024aba");const Di=Ei.exports,Ai={name:"NcAppNavigation",components:{NcAppNavigationList:vi,NcAppNavigationToggle:Di},inject:{setHasAppNavigation:{default:()=>()=>g.util.warn("NcAppNavigation is not mounted inside NcContent, this is probably an error."),from:"NcContent:setHasAppNavigation"}},props:{ariaLabel:{type:String,default:""},ariaLabelledby:{type:String,default:""}},setup(){return{isMobile:k()}},data(){return{open:!this.isMobile,focusTrap:null}},watch:{isMobile(){this.open=!this.isMobile,this.toggleFocusTrap()},open(){this.toggleFocusTrap()}},mounted(){this.setHasAppNavigation(!0),Nt("toggle-navigation",this.toggleNavigationByEventBus),y("navigation-toggled",{open:this.open}),this.focusTrap=It(this.$refs.appNavigationContainer,{allowOutsideClick:!0,fallbackFocus:this.$refs.appNavigationContainer,trapStack:Vt(),escapeDeactivates:!1}),this.toggleFocusTrap()},unmounted(){this.setHasAppNavigation(!1),kt("toggle-navigation",this.toggleNavigationByEventBus),this.focusTrap.deactivate()},methods:{toggleNavigation(t){if(this.open===t){y("navigation-toggled",{open:this.open});return}this.open=typeof t>"u"?!this.open:t;const e=getComputedStyle(document.body),i=parseInt(e.getPropertyValue("--animation-quick"))||100;setTimeout(()=>{y("navigation-toggled",{open:this.open})},1.5*i)},toggleNavigationByEventBus({open:t}){this.toggleNavigation(t)},toggleFocusTrap(){this.isMobile&&this.open?this.focusTrap.activate():this.focusTrap.deactivate()},handleEsc(){this.isMobile&&this.toggleNavigation(!1)}}};var Li=function(){var t=this,e=t._self._c;return e("div",{ref:"appNavigationContainer",staticClass:"app-navigation",class:{"app-navigation--close":!t.open}},[e("nav",{staticClass:"app-navigation__content",attrs:{id:"app-navigation-vue","aria-hidden":t.open?"false":"true","aria-label":t.ariaLabel||void 0,"aria-labelledby":t.ariaLabelledby||void 0,inert:!t.open||void 0},on:{keydown:function(i){return!i.type.indexOf("key")&&t._k(i.keyCode,"esc",27,i.key,["Esc","Escape"])?null:t.handleEsc.apply(null,arguments)}}},[e("div",{staticClass:"app-navigation__search"},[t._t("search")],2),e("div",{staticClass:"app-navigation__body",class:{"app-navigation__body--no-list":!t.$scopedSlots.list}},[t._t("default")],2),t.$scopedSlots.list?e("NcAppNavigationList",{staticClass:"app-navigation__list"},[t._t("list")],2):t._e(),t._t("footer")],2),e("NcAppNavigationToggle",{attrs:{open:t.open},on:{"update:open":t.toggleNavigation}})],1)},$i=[],Bi=c(Ai,Li,$i,!1,null,"e7d078cc");const Ii=Bi.exports,Vi={name:"NcActionButton",components:{CheckIcon:_t,ChevronRightIcon:Ot},mixins:[xt],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>["button","checkbox","radio","reset","submit"].includes(t)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null}},computed:{isFocusable(){return!this.disabled},isChecked(){return this.type==="radio"&&typeof this.modelValue!="boolean"?this.modelValue===this.value:this.modelValue},nativeType(){return this.type==="submit"||this.type==="reset"?this.type:"button"},buttonAttributes(){const t={};return this.isInSemanticMenu?(t.role="menuitem",this.type==="radio"?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(t.role="menuitemcheckbox",t["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(this.modelValue!==null||this.type!=="button")&&(this.type==="radio"?typeof this.modelValue!="boolean"?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked):this.$emit("update:modelValue",!this.isChecked))}}};var Oi=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled},attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("button",t._b({class:["action-button button-vue",{"action-button--active":t.isChecked,focusable:t.isFocusable}],attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,title:t.title,type:t.nativeType},on:{click:t.handleClick}},"button",t.buttonAttributes,!1),[t._t("icon",function(){return[e("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url(".concat(t.icon,")"):null},attrs:{"aria-hidden":"true"}})]}),t.name?e("span",{staticClass:"action-button__longtext-wrapper"},[e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]),e("br"),e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-button__text"},[t._v(t._s(t.text))]),t.isMenu?e("ChevronRightIcon",{staticClass:"action-button__menu-icon",attrs:{size:20}}):t.isChecked===!0?e("CheckIcon",{staticClass:"action-button__pressed-icon",attrs:{size:20}}):t.isChecked===!1?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},Ti=[],Hi=c(Vi,Oi,Ti,!1,null,"dba65098");const Ri=Hi.exports,Fi={name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(t){var e,i,n;return this.vnodes||((e=this.$slots)==null?void 0:e.default)||((n=(i=this.$scopedSlots)==null?void 0:i.default)==null?void 0:n.call(i))}},ji=null,Ui=null;var Zi=c(Fi,ji,Ui,!1,null,null);const qi=Zi.exports,Ki={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Wi=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon chevron-up-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Gi=[],Xi=c(Ki,Wi,Gi,!1,null,null);const Yi=Xi.exports;C(Tt);const Ji={name:"NcInputConfirmCancel",components:{NcButton:x,ArrowRight:Y,Close:Ht},props:{primary:{default:!1,type:Boolean},placeholder:{default:"",type:String},value:{default:"",type:String}},emits:["input","confirm","cancel"],data(){return{labelConfirm:d("Confirm changes"),labelCancel:d("Cancel changes")}},computed:{valueModel:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{confirm(){this.$emit("confirm")},cancel(){this.$emit("cancel")},focusInput(){this.$refs.input.focus()}}};var Qi=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-navigation-input-confirm"},[e("form",{on:{submit:function(i){return i.preventDefault(),t.confirm.apply(null,arguments)},keydown:function(i){return!i.type.indexOf("key")&&t._k(i.keyCode,"esc",27,i.key,["Esc","Escape"])||i.ctrlKey||i.shiftKey||i.altKey||i.metaKey?null:(i.stopPropagation(),i.preventDefault(),t.cancel.apply(null,arguments))},click:function(i){i.stopPropagation(),i.preventDefault()}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.valueModel,expression:"valueModel"}],ref:"input",staticClass:"app-navigation-input-confirm__input",attrs:{type:"text",placeholder:t.placeholder},domProps:{value:t.valueModel},on:{input:function(i){i.target.composing||(t.valueModel=i.target.value)}}}),e("NcButton",{attrs:{"native-type":"submit",type:"primary","aria-label":t.labelConfirm},on:{click:function(i){return i.stopPropagation(),i.preventDefault(),t.confirm.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("ArrowRight",{attrs:{size:20}})]},proxy:!0}])}),e("NcButton",{attrs:{"native-type":"reset",type:t.primary?"primary":"tertiary","aria-label":t.labelCancel},on:{click:function(i){return i.stopPropagation(),i.preventDefault(),t.cancel.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Close",{attrs:{size:20}})]},proxy:!0}])})],1)])},tn=[],en=c(Ji,Qi,tn,!1,null,"0e795eb7");const nn=en.exports;C(Rt);const an={name:"NcAppNavigationIconCollapsible",components:{NcButton:x,ChevronDown:bt,ChevronUp:Yi},props:{open:{type:Boolean,default:!0}},emits:["click"],computed:{labelButton(){return this.open?d("Collapse menu"):d("Open menu")}},methods:{onClick(t){this.$emit("click",t)}}};var sn=function(){var t=this,e=t._self._c;return e("NcButton",{staticClass:"icon-collapse",class:{"icon-collapse--open":t.open},attrs:{type:"tertiary","aria-label":t.labelButton},on:{click:t.onClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t.open?e("ChevronUp",{attrs:{size:20}}):e("ChevronDown",{attrs:{size:20}})]},proxy:!0}])})},on=[],ln=c(an,sn,on,!1,null,"cadd59ae");const rn=ln.exports;C(jt,Ft);const cn={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var pn=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon pencil-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},un=[],dn=c(cn,pn,un,!1,null,null);const hn=dn.exports,fn={name:"UndoIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var mn=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon undo-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},vn=[],gn=c(fn,mn,vn,!1,null,null);const yn=gn.exports,Cn={name:"NcAppNavigationItem",components:{NcActions:Ut,NcActionButton:Ri,NcAppNavigationIconCollapsible:rn,NcInputConfirmCancel:nn,NcLoadingIcon:Q,NcVNodes:qi,Pencil:hn,Undo:yn},props:{active:{type:Boolean,default:!1},name:{type:String,required:!0},title:{type:String,default:null},id:{type:String,default:()=>"app-navigation-item-"+Zt(),validator:t=>t.trim()!==""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:null},href:{type:String,default:null},exact:{type:Boolean,default:!1},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0},menuPlacement:{type:String,default:"bottom"},ariaDescription:{type:String,default:null},forceDisplayActions:{type:Boolean,default:!1},inlineActions:{type:Number,default:0}},emits:["update:menuOpen","update:open","update:name","click","undo"],setup(){return{isMobile:k()}},data(){return{editingValue:"",opened:this.open,editingActive:!1,hasChildren:!1,menuOpenLocalValue:!1,focused:!1,collapsible:!1,actionsBoundariesElement:void 0}},computed:{isRouterLink(){return this.to&&!this.href},canHaveChildren(){return this.$parent.$options._componentTag!=="AppNavigationItem"},hasUtils(){return!!(this.$slots.actions||this.$slots.counter||this.editable||this.undo)},editButtonAriaLabel(){return this.editLabel?this.editLabel:d("Edit item")},undoButtonAriaLabel(){return d("Undo changes")}},watch:{open(t){this.opened=t}},mounted(){this.actionsBoundariesElement=document.querySelector("#content-vue")||void 0},created(){this.updateSlotInfo()},beforeUpdate(){this.updateSlotInfo()},methods:{onMenuToggle(t){this.$emit("update:menuOpen",t),this.menuOpenLocalValue=t},toggleCollapse(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick(t,e,i){this.$emit("click",t),!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&i&&(e==null||e(t),t.preventDefault())},handleEdit(){this.editingValue=this.name,this.editingActive=!0,this.onMenuToggle(!1),this.$nextTick(()=>{this.$refs.editingInput.focusInput()})},cancelEditing(){this.editingActive=!1},handleEditingDone(){this.$emit("update:name",this.editingValue),this.editingValue="",this.editingActive=!1},handleUndo(){this.$emit("undo")},updateSlotInfo(){this.hasChildren=!!this.$slots.default,this.collapsible=this.allowCollapse&&!!this.$slots.default},handleFocus(){this.focused=!0},handleBlur(){this.focused=!1},handleTab(t){this.$refs.actions&&(this.focused?(t.preventDefault(),this.$refs.actions.$refs.menuButton.$el.focus(),this.focused=!1):this.$refs.actions.$refs.menuButton.$el.blur())},isExternal(t){return t&&t.match(/[a-z]+:\/\//i)}}};var _n=function(){var t=this,e=t._self._c;return e("li",{staticClass:"app-navigation-entry-wrapper",class:{"app-navigation-entry--opened":t.opened,"app-navigation-entry--pinned":t.pinned,"app-navigation-entry--collapsible":t.collapsible},attrs:{id:t.id}},[e(t.isRouterLink?"router-link":"NcVNodes",{tag:"component",attrs:{custom:!!t.isRouterLink,to:t.to,exact:t.isRouterLink?t.exact:null},scopedSlots:t._u([{key:"default",fn:function({href:i,navigate:n,isActive:a}){return[e("div",{staticClass:"app-navigation-entry",class:{"app-navigation-entry--editing":t.editingActive,"app-navigation-entry--deleted":t.undo,active:a&&t.to||t.active}},[t.undo?t._e():e("a",{staticClass:"app-navigation-entry-link",attrs:{"aria-current":t.active||a&&t.to?"page":void 0,"aria-description":t.ariaDescription,"aria-expanded":t.hasChildren?t.opened.toString():void 0,href:t.href||i||"#",target:t.isExternal(t.href)?"_blank":void 0,title:t.title||t.name},on:{blur:t.handleBlur,click:function(s){return t.onClick(s,n,i)},focus:t.handleFocus,keydown:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"tab",9,s.key,"Tab")||s.ctrlKey||s.shiftKey||s.altKey||s.metaKey?null:t.handleTab.apply(null,arguments)}}},[e("div",{staticClass:"app-navigation-entry-icon",class:{[t.icon]:t.icon}},[t.loading?e("NcLoadingIcon"):t._t("icon")],2),t.editingActive?t._e():e("span",{staticClass:"app-navigation-entry__name"},[t._v(" "+t._s(t.name)+" ")]),t.editingActive?e("div",{staticClass:"editingContainer"},[e("NcInputConfirmCancel",{ref:"editingInput",attrs:{placeholder:t.editPlaceholder!==""?t.editPlaceholder:t.name,primary:a&&t.to||t.active},on:{cancel:t.cancelEditing,confirm:t.handleEditingDone},model:{value:t.editingValue,callback:function(s){t.editingValue=s},expression:"editingValue"}})],1):t._e()]),t.undo?e("div",{staticClass:"app-navigation-entry__deleted"},[e("div",{staticClass:"app-navigation-entry__deleted-description"},[t._v(" "+t._s(t.name)+" ")])]):t._e(),t.hasUtils&&!t.editingActive?e("div",{staticClass:"app-navigation-entry__utils",class:{"app-navigation-entry__utils--display-actions":t.forceDisplayActions||t.menuOpenLocalValue||t.menuOpen}},[t.$slots.counter?e("div",{staticClass:"app-navigation-entry__counter-wrapper"},[t._t("counter")],2):t._e(),t.$slots.actions||t.editable&&!t.editingActive||t.undo?e("NcActions",{ref:"actions",staticClass:"app-navigation-entry__actions",attrs:{inline:t.inlineActions,container:"#app-navigation-vue","boundaries-element":t.actionsBoundariesElement,placement:t.menuPlacement,open:t.menuOpen,type:a&&t.to||t.active?"primary":null,"force-menu":t.forceMenu,"default-icon":t.menuIcon},on:{"update:open":t.onMenuToggle},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("menu-icon")]},proxy:!0}],null,!0)},[t.editable&&!t.editingActive?e("NcActionButton",{attrs:{"aria-label":t.editButtonAriaLabel},on:{click:t.handleEdit},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Pencil",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.editLabel)+" ")]):t._e(),t.undo?e("NcActionButton",{attrs:{"aria-label":t.undoButtonAriaLabel},on:{click:t.handleUndo},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Undo",{attrs:{size:20}})]},proxy:!0}],null,!0)}):t._e(),t._t("actions")],2):t._e()],1):t._e(),t.collapsible?e("NcAppNavigationIconCollapsible",{attrs:{open:t.opened},on:{click:function(s){return s.preventDefault(),s.stopPropagation(),t.toggleCollapse.apply(null,arguments)}}}):t._e(),t._t("extra")],2)]}}],null,!0)}),t.canHaveChildren&&t.hasChildren?e("ul",{staticClass:"app-navigation-entry__children"},[t._t("default")],2):t._e()],1)},xn=[],bn=c(Cn,_n,xn,!1,null,"97fce21a");const Sn=bn.exports,zn={props:{excludeClickOutsideSelectors:{type:[String,Array],default:()=>[]}},computed:{clickOutsideOptions(){return{ignore:Array.isArray(this.excludeClickOutsideSelectors)?this.excludeClickOutsideSelectors:[this.excludeClickOutsideSelectors]}}}};C(qt);const wn={name:"CogIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Nn=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon cog-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},kn=[],Pn=c(wn,Nn,kn,!1,null,null);const Mn=Pn.exports,En={directives:{ClickOutside:St},components:{Cog:Mn},mixins:[zn],props:{name:{type:String,required:!1,default:d("Settings")}},data(){return{open:!1}},computed:{clickOutsideConfig(){return[this.closeMenu,this.clickOutsideOptions]}},methods:{toggleMenu(){this.open=!this.open},closeMenu(){this.open=!1}}};var Dn=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:t.open},attrs:{id:"app-settings"}},[e("div",{attrs:{id:"app-settings__header"}},[e("button",{staticClass:"settings-button",attrs:{type:"button","aria-expanded":t.open?"true":"false","aria-controls":"app-settings__content"},on:{click:t.toggleMenu}},[e("Cog",{staticClass:"settings-button__icon",attrs:{size:20}}),e("span",{staticClass:"settings-button__label"},[t._v(t._s(t.name))])],1)]),e("Transition",{attrs:{name:"slide-up"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],attrs:{id:"app-settings__content"}},[t._t("default")],2)])],1)},An=[],Ln=c(En,Dn,An,!1,null,"981e215c");const $n=Ln.exports,Bn={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var In=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon content-copy-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Vn=[],On=P(Bn,In,Vn,!1,null,null);const Tn=On.exports,Hn=L({__name:"ActivityAppNavigation",setup(t){const{rssLink:e,personalSettingsLink:i}=O(D,"settings"),n=O(D,"navigationList"),a=_(e),s=z(()=>!!a.value);async function o(){try{const{data:l}=await tt.post(et("/apps/activity/settings/feed"),{enable:!s.value});a.value=l.data.rsslink}catch(l){it(v("activity","Could not enable RSS link")),V.error(l)}}async function r(){try{window.navigator.clipboard.writeText(a.value),Wt(v("activity","RSS link copied to clipboard"))}catch(l){V.debug(l),window.prompt(v("activity","Could not copy the RSS link, please copy manually:"),a.value)}}return{__sfc:!0,initialRSSLink:e,personalSettingsLink:i,navigationList:n,rssLink:a,hasRSSLink:s,toggleRSSLink:o,copyRSSLink:r,t:v,NcAppNavigation:Ii,NcAppNavigationItem:Sn,NcAppNavigationSettings:$n,NcButton:x,NcCheckboxRadioSwitch:Kt,NcInputField:zt,IconContentCopy:Tn}}});var Rn=function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e(i.NcAppNavigation,{attrs:{"aria-label":i.t("activity","Activity")},scopedSlots:t._u([{key:"list",fn:function(){return t._l(i.navigationList,function(n){return e(i.NcAppNavigationItem,{key:n.id,attrs:{"data-navigation":n.id,to:n.id,name:n.name},scopedSlots:t._u([n.icon?{key:"icon",fn:function(){return[e("img",{staticClass:"navigation-icon",attrs:{alt:"",src:n.icon,role:"presentation"}})]},proxy:!0}:null],null,!0)})})},proxy:!0},{key:"footer",fn:function(){return[e(i.NcAppNavigationSettings,{attrs:{name:i.t("activity","Activity settings")}},[e(i.NcCheckboxRadioSwitch,{attrs:{type:"switch",checked:i.hasRSSLink},on:{"update:checked":i.toggleRSSLink}},[t._v(" "+t._s(i.t("activity","Enable RSS feed"))+" ")]),i.hasRSSLink?e(i.NcInputField,{attrs:{label:i.t("activity","RSS feed"),"show-trailing-button":!0,"trailing-button-label":i.t("activity","Copy RSS feed link"),readonly:"readonly"},on:{"trailing-button-click":i.copyRSSLink},scopedSlots:t._u([{key:"trailing-button-icon",fn:function(){return[e(i.IconContentCopy,{attrs:{size:20}})]},proxy:!0}],null,!1,4025534811),model:{value:i.rssLink,callback:function(n){i.rssLink=n},expression:"rssLink"}}):t._e(),e(i.NcButton,{staticClass:"settings-link",attrs:{href:i.personalSettingsLink,title:i.t("activity","Personal notification settings"),type:"tertiary"}},[t._v(" "+t._s(i.t("activity","Personal notification settings"))+" ")])],1)]},proxy:!0}])})},Fn=[],jn=P(Hn,Rn,Fn,!1,null,null);const Un=jn.exports,Zn=[{path:"/",name:"root",redirect:{path:"/all"}},{path:"/:filter?",components:{default:ui,navigation:Un},props:{default:!0}}];g.prototype.t=v,g.prototype.n=vt,g.use(J);const qn=new J({mode:"history",base:et("/apps/activity"),linkActiveClass:"active",routes:Zn});new g({el:"#content",name:"ActivityRoot",router:qn,render:t=>t(ue)}); +import{V as g,d as L,c as z,t as m,g as ut,e as dt,s as ht,r as _,o as ft,w as vt,a as mt}from"./index-FHDXXk0Q.chunk.mjs";import{N as X,u as k,A as Y,m as S,a as gt,b as yt,c as Ct,C as _t,d as xt,e as bt,v as St,f as zt,V as J}from"./Activity-iWE732P6.chunk.mjs";import{e as y,g as wt,l as V,s as Nt,u as kt}from"./logger-DdfSSqJ9.chunk.mjs";import{r as C,t as Pt,n as c,N as x,a as d,b as P,c as Mt,u as Et,V as Dt,l as O,d as At,e as Q,f as tt,v as Lt,g as $t,h as Bt,i as It,j as Vt,C as Ot,k as Tt,m as Ht,o as Rt,p as Ft,q as jt,s as Ut,G as Zt,w as qt,x as Kt,_ as et}from"./NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs";import{s as it,a as Wt}from"./NcNoteCard-CImn6F9p-B5NIs5kG.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";const D="activity";let Gt="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Xt=(t=21)=>{let e="",i=t;for(;i--;)e+=Gt[Math.random()*64|0];return e};function M(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(e){return typeof e}:M=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(t)}var nt={selector:"vue-portal-target-".concat(Xt())},Yt=function(t){return nt.selector=t},B=typeof window<"u"&&(typeof document>"u"?"undefined":M(document))!==void 0,Jt=g.extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(t){return{updatedNodes:t.nodes}},render:function(t){var e=this.updatedNodes&&this.updatedNodes();return e?e.length===1&&!e[0].text?e:t(this.tag||"DIV",e):t()},destroyed:function(){var t=this.$el;t&&t.parentNode.removeChild(t)}}),at=g.extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(nt.selector)}},tag:{type:String,default:"DIV"}},render:function(t){if(this.disabled){var e=this.$scopedSlots&&this.$scopedSlots.default();return e?e.length<2&&!e[0].text?e:t(this.tag,e):t()}return t()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var t=this;this.$nextTick(function(){!t.disabled&&t.slotFn!==t.$scopedSlots.default&&(t.container.updatedNodes=t.$scopedSlots.default),t.slotFn=t.$scopedSlots.default})},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(t){t?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(B)return document.querySelector(this.selector)},insertTargetEl:function(){if(B){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(B){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new Jt({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function Qt(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.component(e.name||"portal",at),e.defaultSelector&&Yt(e.defaultSelector)}typeof window<"u"&&window.Vue&&window.Vue===g&&g.use(Qt),C(Pt);const te='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',ee='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',ie={name:"NcContent",components:{NcButton:x,NcIconSvgWrapper:X,Teleport:at},provide(){return{"NcContent:setHasAppNavigation":this.setAppNavigation,"NcContent:selector":"#content-vue"}},props:{appName:{type:String,required:!0}},setup(){return{isMobile:k()}},data(){return{hasAppNavigation:!1,currentFocus:""}},computed:{currentImage(){return this.currentFocus==="navigation"?ee:te}},beforeMount(){const t=document.getElementById("skip-actions");t&&(t.innerHTML="",t.classList.add("vue-skip-actions"))},methods:{t:d,openAppNavigation(){y("toggle-navigation",{open:!0}),this.$nextTick(()=>{window.location.hash="app-navigation-vue",document.getElementById("app-navigation-vue").focus()})},setAppNavigation(t){this.hasAppNavigation=t,this.currentFocus===""&&(this.currentFocus="navigation")}}};var ne=function(){var t=this,e=t._self._c;return e("div",{class:["content","app-".concat(t.appName.toLowerCase())],attrs:{id:"content-vue"}},[e("Teleport",{attrs:{selector:"#skip-actions"}},[e("div",{staticClass:"vue-skip-actions__container"},[e("div",{staticClass:"vue-skip-actions__headline"},[t._v(" "+t._s(t.t("Keyboard navigation help"))+" ")]),e("div",{staticClass:"vue-skip-actions__buttons"},[e("NcButton",{directives:[{name:"show",rawName:"v-show",value:t.hasAppNavigation,expression:"hasAppNavigation"}],attrs:{type:"tertiary",href:"#app-navigation-vue"},on:{click:function(i){return i.preventDefault(),t.openAppNavigation.apply(null,arguments)},focusin:function(i){t.currentFocus="navigation"},mouseover:function(i){t.currentFocus="navigation"}}},[t._v(" "+t._s(t.t("Skip to app navigation"))+" ")]),e("NcButton",{attrs:{type:"tertiary",href:"#app-content-vue"},on:{focusin:function(i){t.currentFocus="content"},mouseover:function(i){t.currentFocus="content"}}},[t._v(" "+t._s(t.t("Skip to main content"))+" ")])],1),e("NcIconSvgWrapper",{directives:[{name:"show",rawName:"v-show",value:!t.isMobile,expression:"!isMobile"}],staticClass:"vue-skip-actions__image",attrs:{svg:t.currentImage,size:"auto"}})],1),t._v("  ")]),t._t("default")],2)},ae=[],se=c(ie,ne,ae,!1,null,"d8f0539f");const oe=se.exports,le=L({__name:"ActivityApp",setup(t){return{__sfc:!0,NcContent:oe}}});var re=function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e(i.NcContent,{attrs:{"app-name":"activity"}},[e("router-view",{attrs:{name:"navigation"}}),e("router-view")],1)},ce=[],pe=P(le,re,ce,!1,null,null);const ue=pe.exports;var de=Object.defineProperty,he=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,R=(t,e,i)=>e in t?de(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ve=(t,e)=>{for(var i in e||(e={}))st.call(e,i)&&R(t,i,e[i]);if(A)for(var i of A(e))ot.call(e,i)&&R(t,i,e[i]);return t},me=(t,e)=>he(t,fe(e)),ge=(t,e)=>{var i={};for(var n in t)st.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&A)for(var n of A(t))e.indexOf(n)<0&&ot.call(t,n)&&(i[n]=t[n]);return i};function lt(t,e,i,n,a,s,o,r){var l=typeof t=="function"?t.options:t;e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0);var p;if(a&&(p=a),p)if(l.functional){l._injectStyles=p;var b=l.render;l.render=function(u,f){return p.call(f),b(u,f)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,p):[p]}return{exports:t,options:l}}const ye={name:"splitpanes",props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((t,e)=>(t[e.id]=e)&&t,{})}},methods:{updatePaneComponents(){this.panes.forEach(t=>{t.update&&t.update({[this.horizontal?"height":"width"]:"".concat(this.indexedPanes[t.id].size,"%")})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(t,e){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=e},onMouseMove(t){this.touch.mouseDown&&(t.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(t)),this.$emit("resize",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(t,e){"ontouchstart"in window&&(t.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===e?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(t,e),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=e,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[e])},onSplitterDblClick(t,e){let i=0;this.panes=this.panes.map((n,a)=>(n.size=a===e?n.max:n.min,a!==e&&(i+=n.min),n)),this.panes[e].size-=i,this.$emit("pane-maximize",this.panes[e])},onPaneClick(t,e){this.$emit("pane-click",this.indexedPanes[e])},getCurrentMouseDrag(t){const e=this.container.getBoundingClientRect(),{clientX:i,clientY:n}="ontouchstart"in window&&t.touches?t.touches[0]:t;return{x:i-e.left,y:n-e.top}},getCurrentDragPercentage(t){t=t[this.horizontal?"y":"x"];const e=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(t=e-t),t*100/e},calculatePanesSize(t){const e=this.touch.activeSplitter;let i={prevPanesSize:this.sumPrevPanesSize(e),nextPanesSize:this.sumNextPanesSize(e),prevReachedMinPanes:0,nextReachedMinPanes:0};const n=0+(this.pushOtherPanes?0:i.prevPanesSize),a=100-(this.pushOtherPanes?0:i.nextPanesSize),s=Math.max(Math.min(this.getCurrentDragPercentage(t),a),n);let o=[e,e+1],r=this.panes[o[0]]||null,l=this.panes[o[1]]||null;const p=r.max<100&&s>=r.max+i.prevPanesSize,b=l.max<100&&s<=100-(l.max+this.sumNextPanesSize(e+1));if(p||b){p?(r.size=r.max,l.size=Math.max(100-r.max-i.prevPanesSize-i.nextPanesSize,0)):(r.size=Math.max(100-l.max-i.prevPanesSize-this.sumNextPanesSize(e+1),0),l.size=l.max);return}if(this.pushOtherPanes){const h=this.doPushOtherPanes(i,s);if(!h)return;({sums:i,panesToResize:o}=h),r=this.panes[o[0]]||null,l=this.panes[o[1]]||null}r!==null&&(r.size=Math.min(Math.max(s-i.prevPanesSize-i.prevReachedMinPanes,r.min),r.max)),l!==null&&(l.size=Math.min(Math.max(100-s-i.nextPanesSize-i.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(t,e){const i=this.touch.activeSplitter,n=[i,i+1];return e{s>n[0]&&s<=i&&(a.size=a.min,t.prevReachedMinPanes+=a.min)}),t.prevPanesSize=this.sumPrevPanesSize(n[0]),n[0]===void 0)?(t.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((a,s)=>{s>0&&s<=i&&(a.size=a.min,t.prevReachedMinPanes+=a.min)}),this.panes[n[1]].size=100-t.prevReachedMinPanes-this.panes[0].min-t.prevPanesSize-t.nextPanesSize,null):e>100-t.nextPanesSize-this.panes[n[1]].min&&(n[1]=this.findNextExpandedPane(i).index,t.nextReachedMinPanes=0,n[1]>i+1&&this.panes.forEach((a,s)=>{s>i&&s{s=i+1&&(a.size=a.min,t.nextReachedMinPanes+=a.min)}),this.panes[n[0]].size=100-t.prevPanesSize-t.nextReachedMinPanes-this.panes[this.panesCount-1].min-t.nextPanesSize,null):{sums:t,panesToResize:n}},sumPrevPanesSize(t){return this.panes.reduce((e,i,n)=>e+(ne+(n>t+1?i.size:0),0)},findPrevExpandedPane(t){return[...this.panes].reverse().find(e=>e.indexe.min)||{}},findNextExpandedPane(t){return this.panes.find(e=>e.index>t+1&&e.size>e.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(t=>{const e=t.classList.contains("splitpanes__pane"),i=t.classList.contains("splitpanes__splitter");if(!e&&!i){t.parentNode.removeChild(t),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed.");return}})},addSplitter(t,e,i=!1){const n=t-1,a=document.createElement("div");a.classList.add("splitpanes__splitter"),i||(a.onmousedown=s=>this.onMouseDown(s,n),typeof window<"u"&&"ontouchstart"in window&&(a.ontouchstart=s=>this.onMouseDown(s,n)),a.onclick=s=>this.onSplitterClick(s,n+1)),this.dblClickSplitter&&(a.ondblclick=s=>this.onSplitterDblClick(s,n+1)),e.parentNode.insertBefore(a,e)},removeSplitter(t){t.onmousedown=void 0,t.onclick=void 0,t.ondblclick=void 0,t.parentNode.removeChild(t)},redoSplitters(){const t=Array.from(this.container.children);t.forEach(i=>{i.className.includes("splitpanes__splitter")&&this.removeSplitter(i)});let e=0;t.forEach(i=>{i.className.includes("splitpanes__pane")&&(!e&&this.firstSplitter?this.addSplitter(e,i,!0):e&&this.addSplitter(e,i),e++)})},requestUpdate(t){var e=t,{target:i}=e,n=ge(e,["target"]);const a=this.indexedPanes[i._uid];Object.entries(n).forEach(([s,o])=>a[s]=o)},onPaneAdd(t){let e=-1;Array.from(t.$el.parentNode.children).some(a=>(a.className.includes("splitpanes__pane")&&e++,a===t.$el));const i=parseFloat(t.minSize),n=parseFloat(t.maxSize);this.panes.splice(e,0,{id:t._uid,index:e,min:isNaN(i)?0:i,max:isNaN(n)?100:n,size:t.size===null?null:parseFloat(t.size),givenSize:t.size,update:t.update}),this.panes.forEach((a,s)=>a.index=s),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[e]}),this.$emit("pane-add",{index:e,panes:this.panes.map(a=>({min:a.min,max:a.max,size:a.size}))})})},onPaneRemove(t){const e=this.panes.findIndex(n=>n.id===t._uid),i=this.panes.splice(e,1)[0];this.panes.forEach((n,a)=>n.index=a),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:me(ve({},i),{index:e})}),this.$emit("pane-remove",{removed:i,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},resetPaneSizes(t={}){!t.addedPane&&!t.removedPane?this.initialPanesSizing():this.panes.some(e=>e.givenSize!==null||e.min||e.max<100)?this.equalizeAfterAddOrRemove(t):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size})))},equalize(){const t=100/this.panesCount;let e=0,i=[],n=[];this.panes.forEach(a=>{a.size=Math.max(Math.min(t,a.max),a.min),e-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&n.push(a.id)}),e>.1&&this.readjustSizes(e,i,n)},initialPanesSizing(){100/this.panesCount;let t=100,e=[],i=[],n=0;this.panes.forEach(s=>{t-=s.size,s.size!==null&&n++,s.size>=s.max&&e.push(s.id),s.size<=s.min&&i.push(s.id)});let a=100;t>.1&&(this.panes.forEach(s=>{s.size===null&&(s.size=Math.max(Math.min(t/(this.panesCount-n),s.max),s.min)),a-=s.size}),a>.1&&this.readjustSizes(t,e,i))},equalizeAfterAddOrRemove({addedPane:t,removedPane:e}={}){let i=100/this.panesCount,n=0,a=[],s=[];t&&t.givenSize!==null&&(i=(100-t.givenSize)/(this.panesCount-1)),this.panes.forEach(o=>{n-=o.size,o.size>=o.max&&a.push(o.id),o.size<=o.min&&s.push(o.id)}),!(Math.abs(n)<.1)&&(this.panes.forEach(o=>{t&&t.givenSize!==null&&t.id===o.id||(o.size=Math.max(Math.min(i,o.max),o.min)),n-=o.size,o.size>=o.max&&a.push(o.id),o.size<=o.min&&s.push(o.id)}),n>.1&&this.readjustSizes(n,a,s))},readjustSizes(t,e,i){let n;t>0?n=t/(this.panesCount-e.length):n=t/(this.panesCount-i.length),this.panes.forEach((a,s)=>{if(t>0&&!e.includes(a.id)){const o=Math.max(Math.min(a.size+n,a.max),a.min),r=o-a.size;t-=r,a.size=o}else if(!i.includes(a.id)){const o=Math.max(Math.min(a.size+n,a.max),a.min),r=o-a.size;t-=r,a.size=o}a.update({[this.horizontal?"height":"width"]:"".concat(this.indexedPanes[a.id].size,"%")})}),Math.abs(t)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(t){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((e,i)=>{e.ondblclick=t?n=>this.onSplitterDblClick(n,i):void 0})}},beforeDestroy(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(t){return t("div",{ref:"container",class:["splitpanes","splitpanes--".concat(this.horizontal?"horizontal":"vertical"),{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default)}};let Ce,_e;const F={};var xe=lt(ye,Ce,_e,!1,be);function be(t){for(let e in F)this[e]=F[e]}var Se=function(){return xe.exports}(),ze=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"splitpanes__pane",style:t.style,on:{click:function(n){return t.onPaneClick(n,t._uid)}}},[t._t("default")],2)},we=[];const Ne={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeDestroy(){this.onPaneRemove(this)},methods:{update(t){this.style=t}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(t){this.requestUpdate({target:this,size:t})},minSizeNumber(t){this.requestUpdate({target:this,min:t})},maxSizeNumber(t){this.requestUpdate({target:this,max:t})}}},j={};var ke=lt(Ne,ze,we,!1,Pe);function Pe(t){for(let e in j)this[e]=j[e]}var Me=function(){return ke.exports}();C(Mt);const Ee={name:"NcAppDetailsToggle",directives:{tooltip:Dt},components:{NcButton:x,ArrowRight:Y},setup(){return{isMobile:k()}},computed:{title(){return d("Go back to the list")}},watch:{isMobile:{immediate:!0,handler(){this.toggleAppNavigationButton(this.isMobile)}}},beforeDestroy(){this.isMobile&&this.toggleAppNavigationButton(!1)},methods:{toggleAppNavigationButton(t=!0){const e=document.querySelector(".app-navigation .app-navigation-toggle");e&&(e.style.display=t?"none":null,t===!0&&y("toggle-navigation",{open:!1}))}}};var De=function(){var t=this,e=t._self._c;return e("NcButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.title,expression:"title"}],staticClass:"app-details-toggle",class:{"app-details-toggle--mobile":t.isMobile},attrs:{type:"tertiary","aria-label":t.title},scopedSlots:t._u([{key:"icon",fn:function(){return[e("ArrowRight",{attrs:{size:20}})]},proxy:!0}])})},Ae=[],Le=c(Ee,De,Ae,!1,null,"7692fc78");const $e=Le.exports,U=wt("nextcloud").persist().build(),Be={name:"NcAppContent",components:{NcAppDetailsToggle:$e,Pane:Me,Splitpanes:Se},props:{allowSwipeNavigation:{type:Boolean,default:!0},listSize:{type:Number,default:20},listMinWidth:{type:Number,default:15},listMaxWidth:{type:Number,default:40},paneConfigKey:{type:String,default:""},showDetails:{type:Boolean,default:!0},pageHeading:{type:String,default:null},layout:{type:String,default:"vertical-split",validator(t){return["no-split","vertical-split","horizontal-split"].includes(t)}}},emits:["update:showDetails","resize:list"],setup(){return{isMobile:k()}},data(){return{contentHeight:0,hasList:!1,hasContent:!1,swiping:{},listPaneSize:this.restorePaneConfig()}},computed:{paneConfigID(){if(this.paneConfigKey!=="")return"pane-list-size-".concat(this.paneConfigKey);try{return"pane-list-size-".concat(D)}catch{return console.info("[INFO] AppContent:","falling back to global nextcloud pane config"),"pane-list-size-nextcloud"}},detailsPaneSize(){return this.listPaneSize?100-this.listPaneSize:this.paneDefaults.details.size},paneDefaults(){return{list:{size:this.listSize,min:this.listMinWidth,max:this.listMaxWidth},details:{size:100-this.listSize,min:100-this.listMaxWidth,max:100-this.listMinWidth}}}},updated(){this.checkSlots()},mounted(){this.allowSwipeNavigation&&(this.swiping=Et(this.$el,{onSwipeEnd:this.handleSwipe})),this.checkSlots(),this.restorePaneConfig()},methods:{handleSwipe(t,e){Math.abs(this.swiping.lengthX)>70&&(this.swiping.coordsStart.x<300/2&&e==="right"?y("toggle-navigation",{open:!0}):this.swiping.coordsStart.x<300*1.5&&e==="left"&&y("toggle-navigation",{open:!1}))},handlePaneResize(t){const e=parseInt(t[0].size,10);U.setItem(this.paneConfigID,JSON.stringify(e)),this.listPaneSize=e,this.$emit("resize:list",{size:e}),console.debug("AppContent pane config",e)},checkSlots(){this.hasList=!!this.$scopedSlots.list,this.hasContent=!!this.$scopedSlots.default},restorePaneConfig(){const t=parseInt(U.getItem(this.paneConfigID),10);if(!isNaN(t)&&t!==this.listPaneSize)return console.debug("AppContent pane config",t),this.listPaneSize=t,t},hideDetails(){this.$emit("update:showDetails",!1)}}};var Ie=function(){var t=this,e=t._self._c;return e("main",{staticClass:"app-content no-snapper",class:{"app-content--has-list":t.hasList},attrs:{id:"app-content-vue"}},[t.pageHeading?e("h1",{staticClass:"hidden-visually"},[t._v(" "+t._s(t.pageHeading)+" ")]):t._e(),t.hasList?[t.isMobile||t.layout==="no-split"?e("div",{staticClass:"app-content-wrapper app-content-wrapper--no-split",class:{"app-content-wrapper--show-details":t.showDetails,"app-content-wrapper--show-list":!t.showDetails,"app-content-wrapper--mobile":t.isMobile}},[t.showDetails?e("NcAppDetailsToggle",{nativeOn:{click:function(i){return i.stopPropagation(),i.preventDefault(),t.hideDetails.apply(null,arguments)}}}):t._e(),t.showDetails?t._t("default"):t._t("list")],2):t.layout==="vertical-split"||t.layout==="horizontal-split"?e("div",{staticClass:"app-content-wrapper"},[e("Splitpanes",{staticClass:"default-theme",class:{"splitpanes--horizontal":t.layout==="horizontal-split","splitpanes--vertical":t.layout==="vertical-split"},attrs:{horizontal:t.layout==="horizontal-split"},on:{resized:t.handlePaneResize}},[e("Pane",{staticClass:"splitpanes__pane-list",attrs:{size:t.listPaneSize||t.paneDefaults.list.size,"min-size":t.paneDefaults.list.min,"max-size":t.paneDefaults.list.max}},[t._t("list")],2),e("Pane",{staticClass:"splitpanes__pane-details",attrs:{size:t.detailsPaneSize,"min-size":t.paneDefaults.details.min,"max-size":t.paneDefaults.details.max}},[t._t("default")],2)],1)],1):t._e()]:t._e(),t.hasList?t._e():t._t("default")],2)},Ve=[],Oe=c(Be,Ie,Ve,!1,null,"de6986e3");const Te=Oe.exports;var $=Symbol(),w=Symbol(),Z=Symbol(),q=Symbol(),T=function(t){return"frag"in t},He={get:function(){return this[w]||this.parentElement},configurable:!0},N=function(t,e){w in t||(t[w]=e,Object.defineProperty(t,"parentNode",He))},Re={get:function(){var t=this.parentNode.childNodes,e=t.indexOf(this);return e>-1&&t[e+1]||null}},E=function(t){Z in t||(t[Z]=!0,Object.defineProperty(t,"nextSibling",Re))},Fe=function(t,e){for(;t.parentNode!==e;){var i=t,n=i.parentNode;n&&(t=n)}return t},I,rt=function(t){if(!I){var e=Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");I=e.get}var i=I.apply(t),n=Array.from(i).map(function(a){return Fe(a,t)});return n.filter(function(a,s){return a!==n[s-1]})},je={get:function(){return this.frag||rt(this)}},Ue={get:function(){return this.childNodes[0]||null}};function Ze(){return this.childNodes.length>0}var K=function(t){q in t||(t[q]=!0,Object.defineProperties(t,{childNodes:je,firstChild:Ue}),t.hasChildNodes=Ze)};function qe(){var t;(t=this.frag[0]).before.apply(t,arguments)}function Ke(){var t=this.frag,e=t.splice(0,t.length);e.forEach(function(i){i.remove()})}var We=function t(e){var i;return(i=Array.prototype).concat.apply(i,e.map(function(n){return T(n)?t(n.frag):n}))},Ge=function(t,e){var i=t[$];e.before(i),N(i,t),t.frag.unshift(i)};function W(t){if(T(this)){var e=this.frag.indexOf(t);if(e>-1){var i=this.frag.splice(e,1),n=i[0];this.frag.length===0&&Ge(this,n),t.remove()}}else{var a=rt(this),s=a.indexOf(t);s>-1&&t.remove()}return t}function G(t,e){var i=this,n=t.frag||[t];if(T(this)){if(t[w]===this&&t.parentElement)return t;var a=this.frag;if(e){var s=a.indexOf(e);s>-1&&(a.splice.apply(a,[s,0].concat(n)),e.before.apply(e,n))}else{var o=a[a.length-1];a.push.apply(a,n),o.after.apply(o,n)}ct(this)}else e?this.childNodes.includes(e)&&e.before.apply(e,n):this.append.apply(this,n);n.forEach(function(l){N(l,i)});var r=n[n.length-1];return E(r),t}function Xe(t){if(t[w]===this&&t.parentElement)return t;var e=this.frag,i=e[e.length-1];return i.after(t),N(t,this),ct(this),e.push(t),t}var ct=function(t){var e=t[$];t.frag[0]===e&&(t.frag.shift(),e.remove())},Ye={set:function(t){var e=this;if(this.frag[0]!==this[$]&&this.frag.slice().forEach(function(n){return e.removeChild(n)}),t){var i=document.createElement("div");i.innerHTML=t,Array.from(i.childNodes).forEach(function(n){e.appendChild(n)})}},get:function(){return""}},Je={inserted:function(t){var e=t.parentNode,i=t.nextSibling,n=t.previousSibling,a=Array.from(t.childNodes),s=document.createComment("");a.length===0&&a.push(s),t.frag=a,t[$]=s;var o=document.createDocumentFragment();o.append.apply(o,We(a)),t.replaceWith(o),a.forEach(function(r){N(r,t),E(r)}),K(t),Object.assign(t,{remove:Ke,appendChild:Xe,insertBefore:G,removeChild:W,before:qe}),Object.defineProperty(t,"innerHTML",Ye),e&&(Object.assign(e,{removeChild:W,insertBefore:G}),N(t,e),K(e)),i&&E(t),n&&E(n)},unbind:function(t){t.remove()}},Qe={name:"Fragment",directives:{frag:Je},render:function(t){return t("div",{directives:[{name:"frag"}]},this.$slots.default)}};const ti=L({__name:"ActivityGroup",props:{activities:null},setup(t){const e=t,i=z(()=>{const a=S(),s=S().subtract(1,"day"),o=S(e.activities[0].datetime);return o.isSame(a,"day")?m("activity","Today"):o.isSame(s,"day")?m("activity","Yesterday"):o.format("LL")}),n=z(()=>{const a=S(e.activities[0].datetime).format("LL");return a!==i.value?a:void 0});return{__sfc:!0,props:e,dateText:i,fullDate:n,Activity:gt,Fragment:Qe}}});var ei=function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e(i.Fragment,[e("h2",{staticClass:"activity-group__heading",attrs:{title:i.fullDate}},[t._v(" "+t._s(i.dateText)+" ")]),e("ul",t._l(t.activities,function(n){return e(i.Activity,{key:n.id,attrs:{activity:n,"show-previews":!0}})}),1)])},ii=[],ni=P(ti,ei,ii,!1,null,"c16e5a63");const ai=ni.exports,si='';function oi(){var t=ut().proxy.$root;if(!t._$route){var e=dt(!0).run(function(){return ht(Object.assign({},t.$router.currentRoute))});t._$route=e,t.$router.afterEach(function(i){Object.assign(e,i)})}return t._$route}const li=L({__name:"ActivityAppFeed",props:{filter:{default:"all"}},setup(t){const e=t,i=O(D,"navigationList"),n=oi(),a=_(!1),s=_(!0),o=_([]),r=_(),l=_();At(l,async()=>{s.value&&await h()},{distance:100});const p=z(()=>{const u={};for(const f of o.value){const v=S(f.datetime).format("LL");u[v]===void 0?u[v]=[f]:u[v].push(f)}return u}),b=z(()=>i.find(u=>u.id===n.params.filter).name);async function h(){var u,f;if(!a.value)try{const v=(u=r.value)!=null?u:"0";a.value=!0;const H=await tt.get(Lt("apps/activity/api/v2/activity/{filter}?format=json&previews=true&since={since}",{filter:e.filter,since:v}));o.value.push(...H.data.ocs.data.map(pt=>new Ct(pt))),r.value=H.headers["x-activity-last-given"],s.value=!0}catch(v){if($t.isAxiosError(v)&&((f=v.response)==null?void 0:f.status)===304){s.value=!1;return}V.error(v),it(m("activity","Could not load activities"))}finally{a.value=!1}}return ft(()=>{h()}),vt(e,()=>{o.value=[],r.value=void 0,h()}),{__sfc:!0,navigationList:i,route:n,props:e,loading:a,hasMoreActivites:s,allActivities:o,lastActivityLoaded:r,container:l,groupedActivities:p,headingTitle:b,loadActivities:h,NcAppContent:Te,NcIconSvgWrapper:X,NcEmptyContent:yt,NcLoadingIcon:Q,ActivityGroup:ai,appIconSVG:si,t:m}}});var ri=function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e(i.NcAppContent,{staticClass:"activity-app"},[e("h1",{staticClass:"activity-app__heading"},[t._v(" "+t._s(i.headingTitle)+" ")]),i.hasMoreActivites&&i.allActivities.length===0?e(i.NcEmptyContent,{staticClass:"activity-app__empty-content",attrs:{name:i.t("activity","Loading activities"),description:i.t("activity","This stream will show events like additions, changes & shares")},scopedSlots:t._u([{key:"icon",fn:function(){return[e(i.NcLoadingIcon,{attrs:{size:36}})]},proxy:!0}],null,!1,3043861167)}):i.allActivities.length===0?e(i.NcEmptyContent,{staticClass:"activity-app__empty-content",attrs:{name:i.t("activity","No activity yet"),description:i.t("activity","This stream will show events like additions, changes & shares")},scopedSlots:t._u([{key:"icon",fn:function(){return[e(i.NcIconSvgWrapper,{attrs:{svg:i.appIconSVG,size:36}})]},proxy:!0}])}):t._e(),e("div",{ref:"container",staticClass:"activity-app__container"},[t._l(i.groupedActivities,function(n,a){return e(i.ActivityGroup,{key:a,attrs:{activities:n}})}),i.hasMoreActivites&&i.allActivities.length>0?e(i.NcLoadingIcon,{staticClass:"activity-app__loading-indicator",attrs:{name:i.t("activity","Loading more activities"),size:64}}):!i.hasMoreActivites&&i.allActivities.length>0?e("div",{staticClass:"activity-app__loading-indicator"},[t._v(" "+t._s(i.t("activity","No more activities."))+" ")]):t._e()],2)],1)},ci=[],pi=P(li,ri,ci,!1,null,"6798da20");const ui=pi.exports,di={name:"NcAppNavigationList"};var hi=function(){var t=this,e=t._self._c;return e("ul",{staticClass:"app-navigation-list"},[t._t("default")],2)},fi=[],vi=c(di,hi,fi,!1,null,"058e6060");const mi=vi.exports;C(Bt);const gi={name:"MenuIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var yi=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon menu-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Ci=[],_i=c(gi,yi,Ci,!1,null,null);const xi=_i.exports,bi={name:"MenuOpenIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Si=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon menu-open-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},zi=[],wi=c(bi,Si,zi,!1,null,null);const Ni=wi.exports,ki={name:"NcAppNavigationToggle",components:{NcButton:x,MenuIcon:xi,MenuOpenIcon:Ni},props:{open:{type:Boolean,required:!0}},emits:["update:open"],computed:{label(){return this.open?d("Close navigation"):d("Open navigation")}},methods:{toggleNavigation(){this.$emit("update:open",!this.open)}}};var Pi=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-navigation-toggle-wrapper"},[e("NcButton",{staticClass:"app-navigation-toggle",attrs:{type:"tertiary","aria-expanded":t.open?"true":"false","aria-label":t.label,title:t.label,"aria-controls":"app-navigation-vue"},on:{click:t.toggleNavigation},scopedSlots:t._u([{key:"icon",fn:function(){return[t.open?e("MenuOpenIcon",{attrs:{size:20}}):e("MenuIcon",{attrs:{size:20}})]},proxy:!0}])})],1)},Mi=[],Ei=c(ki,Pi,Mi,!1,null,"b6024aba");const Di=Ei.exports,Ai={name:"NcAppNavigation",components:{NcAppNavigationList:mi,NcAppNavigationToggle:Di},inject:{setHasAppNavigation:{default:()=>()=>g.util.warn("NcAppNavigation is not mounted inside NcContent, this is probably an error."),from:"NcContent:setHasAppNavigation"}},props:{ariaLabel:{type:String,default:""},ariaLabelledby:{type:String,default:""}},setup(){return{isMobile:k()}},data(){return{open:!this.isMobile,focusTrap:null}},watch:{isMobile(){this.open=!this.isMobile,this.toggleFocusTrap()},open(){this.toggleFocusTrap()}},mounted(){this.setHasAppNavigation(!0),Nt("toggle-navigation",this.toggleNavigationByEventBus),y("navigation-toggled",{open:this.open}),this.focusTrap=It(this.$refs.appNavigationContainer,{allowOutsideClick:!0,fallbackFocus:this.$refs.appNavigationContainer,trapStack:Vt(),escapeDeactivates:!1}),this.toggleFocusTrap()},unmounted(){this.setHasAppNavigation(!1),kt("toggle-navigation",this.toggleNavigationByEventBus),this.focusTrap.deactivate()},methods:{toggleNavigation(t){if(this.open===t){y("navigation-toggled",{open:this.open});return}this.open=typeof t>"u"?!this.open:t;const e=getComputedStyle(document.body),i=parseInt(e.getPropertyValue("--animation-quick"))||100;setTimeout(()=>{y("navigation-toggled",{open:this.open})},1.5*i)},toggleNavigationByEventBus({open:t}){this.toggleNavigation(t)},toggleFocusTrap(){this.isMobile&&this.open?this.focusTrap.activate():this.focusTrap.deactivate()},handleEsc(){this.isMobile&&this.toggleNavigation(!1)}}};var Li=function(){var t=this,e=t._self._c;return e("div",{ref:"appNavigationContainer",staticClass:"app-navigation",class:{"app-navigation--close":!t.open}},[e("nav",{staticClass:"app-navigation__content",attrs:{id:"app-navigation-vue","aria-hidden":t.open?"false":"true","aria-label":t.ariaLabel||void 0,"aria-labelledby":t.ariaLabelledby||void 0,inert:!t.open||void 0},on:{keydown:function(i){return!i.type.indexOf("key")&&t._k(i.keyCode,"esc",27,i.key,["Esc","Escape"])?null:t.handleEsc.apply(null,arguments)}}},[e("div",{staticClass:"app-navigation__search"},[t._t("search")],2),e("div",{staticClass:"app-navigation__body",class:{"app-navigation__body--no-list":!t.$scopedSlots.list}},[t._t("default")],2),t.$scopedSlots.list?e("NcAppNavigationList",{staticClass:"app-navigation__list"},[t._t("list")],2):t._e(),t._t("footer")],2),e("NcAppNavigationToggle",{attrs:{open:t.open},on:{"update:open":t.toggleNavigation}})],1)},$i=[],Bi=c(Ai,Li,$i,!1,null,"e7d078cc");const Ii=Bi.exports,Vi={name:"NcActionButton",components:{CheckIcon:_t,ChevronRightIcon:Ot},mixins:[xt],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>["button","checkbox","radio","reset","submit"].includes(t)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null}},computed:{isFocusable(){return!this.disabled},isChecked(){return this.type==="radio"&&typeof this.modelValue!="boolean"?this.modelValue===this.value:this.modelValue},nativeType(){return this.type==="submit"||this.type==="reset"?this.type:"button"},buttonAttributes(){const t={};return this.isInSemanticMenu?(t.role="menuitem",this.type==="radio"?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(t.role="menuitemcheckbox",t["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(this.modelValue!==null||this.type!=="button")&&(this.type==="radio"?typeof this.modelValue!="boolean"?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked):this.$emit("update:modelValue",!this.isChecked))}}};var Oi=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled},attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("button",t._b({class:["action-button button-vue",{"action-button--active":t.isChecked,focusable:t.isFocusable}],attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,title:t.title,type:t.nativeType},on:{click:t.handleClick}},"button",t.buttonAttributes,!1),[t._t("icon",function(){return[e("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url(".concat(t.icon,")"):null},attrs:{"aria-hidden":"true"}})]}),t.name?e("span",{staticClass:"action-button__longtext-wrapper"},[e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]),e("br"),e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-button__text"},[t._v(t._s(t.text))]),t.isMenu?e("ChevronRightIcon",{staticClass:"action-button__menu-icon",attrs:{size:20}}):t.isChecked===!0?e("CheckIcon",{staticClass:"action-button__pressed-icon",attrs:{size:20}}):t.isChecked===!1?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},Ti=[],Hi=c(Vi,Oi,Ti,!1,null,"dba65098");const Ri=Hi.exports,Fi={name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(t){var e,i,n;return this.vnodes||((e=this.$slots)==null?void 0:e.default)||((n=(i=this.$scopedSlots)==null?void 0:i.default)==null?void 0:n.call(i))}},ji=null,Ui=null;var Zi=c(Fi,ji,Ui,!1,null,null);const qi=Zi.exports,Ki={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Wi=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon chevron-up-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Gi=[],Xi=c(Ki,Wi,Gi,!1,null,null);const Yi=Xi.exports;C(Tt);const Ji={name:"NcInputConfirmCancel",components:{NcButton:x,ArrowRight:Y,Close:Ht},props:{primary:{default:!1,type:Boolean},placeholder:{default:"",type:String},value:{default:"",type:String}},emits:["input","confirm","cancel"],data(){return{labelConfirm:d("Confirm changes"),labelCancel:d("Cancel changes")}},computed:{valueModel:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{confirm(){this.$emit("confirm")},cancel(){this.$emit("cancel")},focusInput(){this.$refs.input.focus()}}};var Qi=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-navigation-input-confirm"},[e("form",{on:{submit:function(i){return i.preventDefault(),t.confirm.apply(null,arguments)},keydown:function(i){return!i.type.indexOf("key")&&t._k(i.keyCode,"esc",27,i.key,["Esc","Escape"])||i.ctrlKey||i.shiftKey||i.altKey||i.metaKey?null:(i.stopPropagation(),i.preventDefault(),t.cancel.apply(null,arguments))},click:function(i){i.stopPropagation(),i.preventDefault()}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.valueModel,expression:"valueModel"}],ref:"input",staticClass:"app-navigation-input-confirm__input",attrs:{type:"text",placeholder:t.placeholder},domProps:{value:t.valueModel},on:{input:function(i){i.target.composing||(t.valueModel=i.target.value)}}}),e("NcButton",{attrs:{"native-type":"submit",type:"primary","aria-label":t.labelConfirm},on:{click:function(i){return i.stopPropagation(),i.preventDefault(),t.confirm.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("ArrowRight",{attrs:{size:20}})]},proxy:!0}])}),e("NcButton",{attrs:{"native-type":"reset",type:t.primary?"primary":"tertiary","aria-label":t.labelCancel},on:{click:function(i){return i.stopPropagation(),i.preventDefault(),t.cancel.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Close",{attrs:{size:20}})]},proxy:!0}])})],1)])},tn=[],en=c(Ji,Qi,tn,!1,null,"0e795eb7");const nn=en.exports;C(Rt);const an={name:"NcAppNavigationIconCollapsible",components:{NcButton:x,ChevronDown:bt,ChevronUp:Yi},props:{open:{type:Boolean,default:!0}},emits:["click"],computed:{labelButton(){return this.open?d("Collapse menu"):d("Open menu")}},methods:{onClick(t){this.$emit("click",t)}}};var sn=function(){var t=this,e=t._self._c;return e("NcButton",{staticClass:"icon-collapse",class:{"icon-collapse--open":t.open},attrs:{type:"tertiary","aria-label":t.labelButton},on:{click:t.onClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t.open?e("ChevronUp",{attrs:{size:20}}):e("ChevronDown",{attrs:{size:20}})]},proxy:!0}])})},on=[],ln=c(an,sn,on,!1,null,"cadd59ae");const rn=ln.exports;C(jt,Ft);const cn={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var pn=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon pencil-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},un=[],dn=c(cn,pn,un,!1,null,null);const hn=dn.exports,fn={name:"UndoIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var vn=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon undo-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},mn=[],gn=c(fn,vn,mn,!1,null,null);const yn=gn.exports,Cn={name:"NcAppNavigationItem",components:{NcActions:Ut,NcActionButton:Ri,NcAppNavigationIconCollapsible:rn,NcInputConfirmCancel:nn,NcLoadingIcon:Q,NcVNodes:qi,Pencil:hn,Undo:yn},props:{active:{type:Boolean,default:!1},name:{type:String,required:!0},title:{type:String,default:null},id:{type:String,default:()=>"app-navigation-item-"+Zt(),validator:t=>t.trim()!==""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:null},href:{type:String,default:null},exact:{type:Boolean,default:!1},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0},menuPlacement:{type:String,default:"bottom"},ariaDescription:{type:String,default:null},forceDisplayActions:{type:Boolean,default:!1},inlineActions:{type:Number,default:0}},emits:["update:menuOpen","update:open","update:name","click","undo"],setup(){return{isMobile:k()}},data(){return{editingValue:"",opened:this.open,editingActive:!1,hasChildren:!1,menuOpenLocalValue:!1,focused:!1,collapsible:!1,actionsBoundariesElement:void 0}},computed:{isRouterLink(){return this.to&&!this.href},canHaveChildren(){return this.$parent.$options._componentTag!=="AppNavigationItem"},hasUtils(){return!!(this.$slots.actions||this.$slots.counter||this.editable||this.undo)},editButtonAriaLabel(){return this.editLabel?this.editLabel:d("Edit item")},undoButtonAriaLabel(){return d("Undo changes")}},watch:{open(t){this.opened=t}},mounted(){this.actionsBoundariesElement=document.querySelector("#content-vue")||void 0},created(){this.updateSlotInfo()},beforeUpdate(){this.updateSlotInfo()},methods:{onMenuToggle(t){this.$emit("update:menuOpen",t),this.menuOpenLocalValue=t},toggleCollapse(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick(t,e,i){this.$emit("click",t),!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&i&&(e==null||e(t),t.preventDefault())},handleEdit(){this.editingValue=this.name,this.editingActive=!0,this.onMenuToggle(!1),this.$nextTick(()=>{this.$refs.editingInput.focusInput()})},cancelEditing(){this.editingActive=!1},handleEditingDone(){this.$emit("update:name",this.editingValue),this.editingValue="",this.editingActive=!1},handleUndo(){this.$emit("undo")},updateSlotInfo(){this.hasChildren=!!this.$slots.default,this.collapsible=this.allowCollapse&&!!this.$slots.default},handleFocus(){this.focused=!0},handleBlur(){this.focused=!1},handleTab(t){this.$refs.actions&&(this.focused?(t.preventDefault(),this.$refs.actions.$refs.menuButton.$el.focus(),this.focused=!1):this.$refs.actions.$refs.menuButton.$el.blur())},isExternal(t){return t&&t.match(/[a-z]+:\/\//i)}}};var _n=function(){var t=this,e=t._self._c;return e("li",{staticClass:"app-navigation-entry-wrapper",class:{"app-navigation-entry--opened":t.opened,"app-navigation-entry--pinned":t.pinned,"app-navigation-entry--collapsible":t.collapsible},attrs:{id:t.id}},[e(t.isRouterLink?"router-link":"NcVNodes",{tag:"component",attrs:{custom:!!t.isRouterLink,to:t.to,exact:t.isRouterLink?t.exact:null},scopedSlots:t._u([{key:"default",fn:function({href:i,navigate:n,isActive:a}){return[e("div",{staticClass:"app-navigation-entry",class:{"app-navigation-entry--editing":t.editingActive,"app-navigation-entry--deleted":t.undo,active:a&&t.to||t.active}},[t.undo?t._e():e("a",{staticClass:"app-navigation-entry-link",attrs:{"aria-current":t.active||a&&t.to?"page":void 0,"aria-description":t.ariaDescription,"aria-expanded":t.hasChildren?t.opened.toString():void 0,href:t.href||i||"#",target:t.isExternal(t.href)?"_blank":void 0,title:t.title||t.name},on:{blur:t.handleBlur,click:function(s){return t.onClick(s,n,i)},focus:t.handleFocus,keydown:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"tab",9,s.key,"Tab")||s.ctrlKey||s.shiftKey||s.altKey||s.metaKey?null:t.handleTab.apply(null,arguments)}}},[e("div",{staticClass:"app-navigation-entry-icon",class:{[t.icon]:t.icon}},[t.loading?e("NcLoadingIcon"):t._t("icon")],2),t.editingActive?t._e():e("span",{staticClass:"app-navigation-entry__name"},[t._v(" "+t._s(t.name)+" ")]),t.editingActive?e("div",{staticClass:"editingContainer"},[e("NcInputConfirmCancel",{ref:"editingInput",attrs:{placeholder:t.editPlaceholder!==""?t.editPlaceholder:t.name,primary:a&&t.to||t.active},on:{cancel:t.cancelEditing,confirm:t.handleEditingDone},model:{value:t.editingValue,callback:function(s){t.editingValue=s},expression:"editingValue"}})],1):t._e()]),t.undo?e("div",{staticClass:"app-navigation-entry__deleted"},[e("div",{staticClass:"app-navigation-entry__deleted-description"},[t._v(" "+t._s(t.name)+" ")])]):t._e(),t.hasUtils&&!t.editingActive?e("div",{staticClass:"app-navigation-entry__utils",class:{"app-navigation-entry__utils--display-actions":t.forceDisplayActions||t.menuOpenLocalValue||t.menuOpen}},[t.$slots.counter?e("div",{staticClass:"app-navigation-entry__counter-wrapper"},[t._t("counter")],2):t._e(),t.$slots.actions||t.editable&&!t.editingActive||t.undo?e("NcActions",{ref:"actions",staticClass:"app-navigation-entry__actions",attrs:{inline:t.inlineActions,container:"#app-navigation-vue","boundaries-element":t.actionsBoundariesElement,placement:t.menuPlacement,open:t.menuOpen,type:a&&t.to||t.active?"primary":null,"force-menu":t.forceMenu,"default-icon":t.menuIcon},on:{"update:open":t.onMenuToggle},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("menu-icon")]},proxy:!0}],null,!0)},[t.editable&&!t.editingActive?e("NcActionButton",{attrs:{"aria-label":t.editButtonAriaLabel},on:{click:t.handleEdit},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Pencil",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.editLabel)+" ")]):t._e(),t.undo?e("NcActionButton",{attrs:{"aria-label":t.undoButtonAriaLabel},on:{click:t.handleUndo},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Undo",{attrs:{size:20}})]},proxy:!0}],null,!0)}):t._e(),t._t("actions")],2):t._e()],1):t._e(),t.collapsible?e("NcAppNavigationIconCollapsible",{attrs:{open:t.opened},on:{click:function(s){return s.preventDefault(),s.stopPropagation(),t.toggleCollapse.apply(null,arguments)}}}):t._e(),t._t("extra")],2)]}}],null,!0)}),t.canHaveChildren&&t.hasChildren?e("ul",{staticClass:"app-navigation-entry__children"},[t._t("default")],2):t._e()],1)},xn=[],bn=c(Cn,_n,xn,!1,null,"97fce21a");const Sn=bn.exports,zn={props:{excludeClickOutsideSelectors:{type:[String,Array],default:()=>[]}},computed:{clickOutsideOptions(){return{ignore:Array.isArray(this.excludeClickOutsideSelectors)?this.excludeClickOutsideSelectors:[this.excludeClickOutsideSelectors]}}}};C(qt);const wn={name:"CogIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Nn=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon cog-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},kn=[],Pn=c(wn,Nn,kn,!1,null,null);const Mn=Pn.exports,En={directives:{ClickOutside:St},components:{Cog:Mn},mixins:[zn],props:{name:{type:String,required:!1,default:d("Settings")}},data(){return{open:!1}},computed:{clickOutsideConfig(){return[this.closeMenu,this.clickOutsideOptions]}},methods:{toggleMenu(){this.open=!this.open},closeMenu(){this.open=!1}}};var Dn=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:t.open},attrs:{id:"app-settings"}},[e("div",{attrs:{id:"app-settings__header"}},[e("button",{staticClass:"settings-button",attrs:{type:"button","aria-expanded":t.open?"true":"false","aria-controls":"app-settings__content"},on:{click:t.toggleMenu}},[e("Cog",{staticClass:"settings-button__icon",attrs:{size:20}}),e("span",{staticClass:"settings-button__label"},[t._v(t._s(t.name))])],1)]),e("Transition",{attrs:{name:"slide-up"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],attrs:{id:"app-settings__content"}},[t._t("default")],2)])],1)},An=[],Ln=c(En,Dn,An,!1,null,"981e215c");const $n=Ln.exports,Bn={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var In=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon content-copy-icon",attrs:{"aria-hidden":t.title?null:!0,"aria-label":t.title,role:"img"},on:{click:function(i){return t.$emit("click",i)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Vn=[],On=P(Bn,In,Vn,!1,null,null);const Tn=On.exports,Hn=L({__name:"ActivityAppNavigation",setup(t){const{rssLink:e,personalSettingsLink:i}=O(D,"settings"),n=O(D,"navigationList"),a=_(e),s=z(()=>!!a.value);async function o(){try{const{data:l}=await tt.post(et("/apps/activity/settings/feed"),{enable:!s.value});a.value=l.data.rsslink}catch(l){it(m("activity","Could not enable RSS link")),V.error(l)}}async function r(){try{window.navigator.clipboard.writeText(a.value),Wt(m("activity","RSS link copied to clipboard"))}catch(l){V.debug(l),window.prompt(m("activity","Could not copy the RSS link, please copy manually:"),a.value)}}return{__sfc:!0,initialRSSLink:e,personalSettingsLink:i,navigationList:n,rssLink:a,hasRSSLink:s,toggleRSSLink:o,copyRSSLink:r,t:m,NcAppNavigation:Ii,NcAppNavigationItem:Sn,NcAppNavigationSettings:$n,NcButton:x,NcCheckboxRadioSwitch:Kt,NcInputField:zt,IconContentCopy:Tn}}});var Rn=function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e(i.NcAppNavigation,{attrs:{"aria-label":i.t("activity","Activity")},scopedSlots:t._u([{key:"list",fn:function(){return t._l(i.navigationList,function(n){return e(i.NcAppNavigationItem,{key:n.id,attrs:{"data-navigation":n.id,to:n.id,name:n.name},scopedSlots:t._u([n.icon?{key:"icon",fn:function(){return[e("img",{staticClass:"navigation-icon",attrs:{alt:"",src:n.icon,role:"presentation"}})]},proxy:!0}:null],null,!0)})})},proxy:!0},{key:"footer",fn:function(){return[e(i.NcAppNavigationSettings,{attrs:{name:i.t("activity","Activity settings")}},[e(i.NcCheckboxRadioSwitch,{attrs:{type:"switch",checked:i.hasRSSLink},on:{"update:checked":i.toggleRSSLink}},[t._v(" "+t._s(i.t("activity","Enable RSS feed"))+" ")]),i.hasRSSLink?e(i.NcInputField,{attrs:{label:i.t("activity","RSS feed"),"show-trailing-button":!0,"trailing-button-label":i.t("activity","Copy RSS feed link"),readonly:"readonly"},on:{"trailing-button-click":i.copyRSSLink},scopedSlots:t._u([{key:"trailing-button-icon",fn:function(){return[e(i.IconContentCopy,{attrs:{size:20}})]},proxy:!0}],null,!1,4025534811),model:{value:i.rssLink,callback:function(n){i.rssLink=n},expression:"rssLink"}}):t._e(),e(i.NcButton,{staticClass:"settings-link",attrs:{href:i.personalSettingsLink,title:i.t("activity","Personal notification settings"),type:"tertiary"}},[t._v(" "+t._s(i.t("activity","Personal notification settings"))+" ")])],1)]},proxy:!0}])})},Fn=[],jn=P(Hn,Rn,Fn,!1,null,null);const Un=jn.exports,Zn=[{path:"/",name:"root",redirect:{path:"/all"}},{path:"/:filter?",components:{default:ui,navigation:Un},props:{default:!0}}];g.prototype.t=m,g.prototype.n=mt,g.use(J);const qn=new J({mode:"history",base:et("/apps/activity"),linkActiveClass:"active",routes:Zn});new g({el:"#content",name:"ActivityRoot",router:qn,render:t=>t(ue)}); diff --git a/js/activity-personalSettings.mjs b/js/activity-personalSettings.mjs index afef50daf..c1eda5a4e 100644 --- a/js/activity-personalSettings.mjs +++ b/js/activity-personalSettings.mjs @@ -1,2 +1,2 @@ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".activity-frequency__label[data-v-778e414b]{margin-top:24px;display:inline-block}.notification-frequency__select[data-v-778e414b]{margin-left:calc(var(--default-grid-baseline) * 2)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); -import{V as a,t as m,a as y}from"./index-FHDXXk0Q.chunk.mjs";import{m as s,a as c,N as l,A as E,i as u,s as r}from"./settings-store-Ce8jp8fS.chunk.mjs";import{b as o,x as _}from"./NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";import"./NcNoteCard-CImn6F9p-B5NIs5kG.chunk.mjs";import"./logger-DdfSSqJ9.chunk.mjs";const v={EmailFrequency:{EMAIL_SEND_HOURLY:0,EMAIL_SEND_DAILY:1,EMAIL_SEND_WEEKLY:2,EMAIL_SEND_ASAP:3}},d={name:"EmailSettings",data(){return{EmailFrequency:v.EmailFrequency}},computed:{...s(["emailEnabled","isEmailSet","settingBatchtime"])},methods:{...c(["setSettingBatchtime"])}};var g=function(){var e=this,i=e._self._c;return e.emailEnabled?i("div",[e.isEmailSet?e._e():i("p",[i("strong",[e._v(e._s(e.t("activity","You need to set up your email address before you can receive notification emails.")))])]),i("p",[i("label",{staticClass:"activity-frequency__label",attrs:{for:"activity_setting_batchtime"}},[e._v(" "+e._s(e.t("activity","Send activity emails"))+" ")]),i("select",{staticClass:"notification-frequency__select",attrs:{id:"activity_setting_batchtime",name:"activity_setting_batchtime"},on:{change:function(n){return e.setSettingBatchtime({settingBatchtime:n.target.value})}}},[i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_ASAP,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_ASAP}},[e._v(" "+e._s(e.t("activity","As soon as possible"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_HOURLY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_HOURLY}},[e._v(" "+e._s(e.t("activity","Hourly"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_DAILY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_DAILY}},[e._v(" "+e._s(e.t("activity","Daily"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_WEEKLY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_WEEKLY}},[e._v(" "+e._s(e.t("activity","Weekly"))+" ")])])])]):e._e()},p=[],S=o(d,g,p,!1,null,"778e414b");const h=S.exports,A={name:"UserSettings",components:{NcSettingsSection:l,EmailSettings:h,ActivityGrid:E},computed:{...s({emailEnabled:"emailEnabled"}),settingDescription(){return this.emailEnabled?t("activity","Choose for which activities you want to get an email or push notification."):t("activity","Choose for which activities you want to get a push notification.")}},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var D=function(){var e=this,i=e._self._c;return i("NcSettingsSection",{attrs:{name:e.t("activity","Activity"),description:e.settingDescription}},[i("ActivityGrid"),i("EmailSettings")],1)},b=[],f=o(A,D,b,!1,null,null);const L=f.exports,N={name:"DailySummary",components:{NcCheckboxRadioSwitch:_,NcSettingsSection:l},computed:{...s(["activityDigestEnabled"])},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings"})},methods:{...c(["setEndpoint","toggleActivityDigestEnabled"])}};var I=function(){var e=this,i=e._self._c;return i("NcSettingsSection",{attrs:{name:e.t("activity","Daily activity summary")}},[i("NcCheckboxRadioSwitch",{attrs:{"data-cy-checkbox":"",checked:e.activityDigestEnabled},on:{"update:checked":function(n){return e.toggleActivityDigestEnabled({activityDigestEnabled:n})}}},[e._v(" "+e._s(e.t("activity","Send daily activity summary in the morning"))+" ")])],1)},q=[],M=o(N,I,q,!1,null,null);const F=M.exports;a.prototype.t=m,a.prototype.n=y,a.use(u),new a({el:"#activity-user-settings",store:r,name:"ActivityPersonalSettings",render:e=>e(L)}),new a({el:"#activity-digest-user-settings",name:"ActivityDigestPersonalSettings",store:r,render:e=>e(F)}); +import{V as a,t as m,a as y}from"./index-FHDXXk0Q.chunk.mjs";import{m as s,a as c,N as l,A as E,i as u,s as r}from"./settings-store-Ce8jp8fS.chunk.mjs";import{b as o,x as v}from"./NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";import"./NcNoteCard-CImn6F9p-B5NIs5kG.chunk.mjs";import"./logger-DdfSSqJ9.chunk.mjs";const _={EmailFrequency:{EMAIL_SEND_HOURLY:0,EMAIL_SEND_DAILY:1,EMAIL_SEND_WEEKLY:2,EMAIL_SEND_ASAP:3}},d={name:"EmailSettings",data(){return{EmailFrequency:_.EmailFrequency}},computed:{...s(["emailEnabled","isEmailSet","settingBatchtime"])},methods:{...c(["setSettingBatchtime"])}};var g=function(){var e=this,i=e._self._c;return e.emailEnabled?i("div",[e.isEmailSet?e._e():i("p",[i("strong",[e._v(e._s(e.t("activity","You need to set up your email address before you can receive notification emails.")))])]),i("p",[i("label",{staticClass:"activity-frequency__label",attrs:{for:"activity_setting_batchtime"}},[e._v(" "+e._s(e.t("activity","Send activity emails"))+" ")]),i("select",{staticClass:"notification-frequency__select",attrs:{id:"activity_setting_batchtime",name:"activity_setting_batchtime"},on:{change:function(n){return e.setSettingBatchtime({settingBatchtime:n.target.value})}}},[i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_ASAP,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_ASAP}},[e._v(" "+e._s(e.t("activity","As soon as possible"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_HOURLY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_HOURLY}},[e._v(" "+e._s(e.t("activity","Hourly"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_DAILY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_DAILY}},[e._v(" "+e._s(e.t("activity","Daily"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_WEEKLY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_WEEKLY}},[e._v(" "+e._s(e.t("activity","Weekly"))+" ")])])])]):e._e()},p=[],S=o(d,g,p,!1,null,"778e414b");const h=S.exports,A={name:"UserSettings",components:{NcSettingsSection:l,EmailSettings:h,ActivityGrid:E},computed:{...s({emailEnabled:"emailEnabled"}),settingDescription(){return this.emailEnabled?t("activity","Choose for which activities you want to get an email or push notification."):t("activity","Choose for which activities you want to get a push notification.")}},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var D=function(){var e=this,i=e._self._c;return i("NcSettingsSection",{attrs:{name:e.t("activity","Activity"),description:e.settingDescription}},[i("ActivityGrid"),i("EmailSettings")],1)},b=[],f=o(A,D,b,!1,null,null);const L=f.exports,N={name:"DailySummary",components:{NcCheckboxRadioSwitch:v,NcSettingsSection:l},computed:{...s(["activityDigestEnabled"])},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings"})},methods:{...c(["setEndpoint","toggleActivityDigestEnabled"])}};var I=function(){var e=this,i=e._self._c;return i("NcSettingsSection",{attrs:{name:e.t("activity","Daily activity summary")}},[i("NcCheckboxRadioSwitch",{attrs:{"data-cy-checkbox":"",checked:e.activityDigestEnabled},on:{"update:checked":function(n){return e.toggleActivityDigestEnabled({activityDigestEnabled:n})}}},[e._v(" "+e._s(e.t("activity","Send daily activity summary in the morning"))+" ")])],1)},q=[],M=o(N,I,q,!1,null,null);const F=M.exports;a.prototype.t=m,a.prototype.n=y,a.use(u),new a({el:"#activity-user-settings",store:r,name:"ActivityPersonalSettings",render:e=>e(L)}),new a({el:"#activity-digest-user-settings",name:"ActivityDigestPersonalSettings",store:r,render:e=>e(F)}); diff --git a/js/activity-sidebar.mjs b/js/activity-sidebar.mjs index 6ef590298..48abfc2b4 100644 --- a/js/activity-sidebar.mjs +++ b/js/activity-sidebar.mjs @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('activity', '', 'js/ActivityTab-DcBrUX3x.chunk.mjs'),window.OC.filePath('activity', '', 'js/NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs'),window.OC.filePath('activity', '', 'js/index-FHDXXk0Q.chunk.mjs'),window.OC.filePath('activity', '', 'js/_commonjsHelpers-D9DevfhH.chunk.mjs'),window.OC.filePath('activity', '', 'js/logger-DdfSSqJ9.chunk.mjs'),window.OC.filePath('activity', '', 'js/Activity-iWE732P6.chunk.mjs'),window.OC.filePath('activity', '', 'js/api-Bbja46ws.chunk.mjs')])))=>i.map(i=>d[i]); -import{V as m,t as h,a as E}from"./index-FHDXXk0Q.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";const b="modulepreload",_=function(n,r){return new URL(n,r).href},w={},v=function(n,r,c){let u=Promise.resolve();if(r&&r.length>0){const s=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),y=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));u=Promise.allSettled(r.map(o=>{if(o=_(o,c),o in w)return;w[o]=!0;const l=o.endsWith(".css"),g=l?'[rel="stylesheet"]':"";if(c)for(let d=s.length-1;d>=0;d--){const p=s[d];if(p.href===o&&(!l||p.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(o,'"]').concat(g)))return;const i=document.createElement("link");if(i.rel=l?"stylesheet":b,l||(i.as="script"),i.crossOrigin="",i.href=o,y&&i.setAttribute("nonce",y),document.head.appendChild(i),l)return new Promise((d,p)=>{i.addEventListener("load",d),i.addEventListener("error",()=>p(new Error("Unable to preload CSS for ".concat(o))))})}))}function f(s){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=s,window.dispatchEvent(e),!e.defaultPrevented)throw s}return u.then(s=>{for(const e of s||[])e.status==="rejected"&&f(e.reason);return n().catch(f)})},A='';m.prototype.t=h,m.prototype.n=E;let t=null,a=null;const L=new OCA.Files.Sidebar.Tab({id:"activity",name:h("activity","Activity"),iconSvg:A,async mount(n,r,c){if(t===null){const{default:u}=await v(async()=>{const{default:f}=await import("./ActivityTab-DcBrUX3x.chunk.mjs");return{default:f}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);t=t!=null?t:m.extend(u)}a&&a.$destroy(),a=new t({parent:c}),a.update(r),a.$mount(n)},update(n){a.update(n)},destroy(){a.$destroy(),a=null}});window.addEventListener("DOMContentLoaded",async function(){if(OCA.Files&&OCA.Files.Sidebar){OCA.Files.Sidebar.registerTab(L);const{default:n}=await v(async()=>{const{default:r}=await import("./ActivityTab-DcBrUX3x.chunk.mjs");return{default:r}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);t=t!=null?t:m.extend(n)}});export{A as l}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('activity', '', 'js/ActivityTab-DYmfQzBG.chunk.mjs'),window.OC.filePath('activity', '', 'js/NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs'),window.OC.filePath('activity', '', 'js/index-FHDXXk0Q.chunk.mjs'),window.OC.filePath('activity', '', 'js/_commonjsHelpers-D9DevfhH.chunk.mjs'),window.OC.filePath('activity', '', 'js/logger-DdfSSqJ9.chunk.mjs'),window.OC.filePath('activity', '', 'js/Activity-iWE732P6.chunk.mjs'),window.OC.filePath('activity', '', 'js/api-CxjiFF2o.chunk.mjs')])))=>i.map(i=>d[i]); +import{V as m,t as w,a as E}from"./index-FHDXXk0Q.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";const b="modulepreload",_=function(n,r){return new URL(n,r).href},v={},h=function(n,r,c){let u=Promise.resolve();if(r&&r.length>0){const s=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),y=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));u=Promise.allSettled(r.map(o=>{if(o=_(o,c),o in v)return;v[o]=!0;const l=o.endsWith(".css"),g=l?'[rel="stylesheet"]':"";if(c)for(let d=s.length-1;d>=0;d--){const p=s[d];if(p.href===o&&(!l||p.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(o,'"]').concat(g)))return;const i=document.createElement("link");if(i.rel=l?"stylesheet":b,l||(i.as="script"),i.crossOrigin="",i.href=o,y&&i.setAttribute("nonce",y),document.head.appendChild(i),l)return new Promise((d,p)=>{i.addEventListener("load",d),i.addEventListener("error",()=>p(new Error("Unable to preload CSS for ".concat(o))))})}))}function f(s){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=s,window.dispatchEvent(e),!e.defaultPrevented)throw s}return u.then(s=>{for(const e of s||[])e.status==="rejected"&&f(e.reason);return n().catch(f)})},A='';m.prototype.t=w,m.prototype.n=E;let t=null,a=null;const L=new OCA.Files.Sidebar.Tab({id:"activity",name:w("activity","Activity"),iconSvg:A,async mount(n,r,c){if(t===null){const{default:u}=await h(async()=>{const{default:f}=await import("./ActivityTab-DYmfQzBG.chunk.mjs");return{default:f}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);t=t!=null?t:m.extend(u)}a&&a.$destroy(),a=new t({parent:c}),a.update(r),a.$mount(n)},update(n){a.update(n)},destroy(){a.$destroy(),a=null}});window.addEventListener("DOMContentLoaded",async function(){if(OCA.Files&&OCA.Files.Sidebar){OCA.Files.Sidebar.registerTab(L);const{default:n}=await h(async()=>{const{default:r}=await import("./ActivityTab-DYmfQzBG.chunk.mjs");return{default:r}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);t=t!=null?t:m.extend(n)}});export{A as l}; diff --git a/js/api-Bbja46ws.chunk.mjs b/js/api-CxjiFF2o.chunk.mjs similarity index 75% rename from js/api-Bbja46ws.chunk.mjs rename to js/api-CxjiFF2o.chunk.mjs index ecbda88fd..b7ed303e6 100644 --- a/js/api-Bbja46ws.chunk.mjs +++ b/js/api-CxjiFF2o.chunk.mjs @@ -1 +1 @@ -import{l as s}from"./logger-DdfSSqJ9.chunk.mjs";function _(){var e,i,t,r,a,o,d;window.OCA=(e=window.OCA)!=null?e:{},window.OCA.Activity={...window.OCA.Activity,__sidebar_actions:(t=(i=window.OCA.Activity)==null?void 0:i.__sidebar_actions)!=null?t:[],__sidebar_factories:(a=(r=window.OCA.Activity)==null?void 0:r.__sidebar_factories)!=null?a:[],__sidebar_filters:(d=(o=window.OCA.Activity)==null?void 0:o.__sidebar_filters)!=null?d:[],registerSidebarAction(n){window.OCA.Activity.__sidebar_actions.push(n),s.debug("Registered new sidebar action")},registerSidebarEntries(n){window.OCA.Activity.__sidebar_factories.push(n),s.debug("Registered new sidebar actions factory")},registerSidebarFilter(n){window.OCA.Activity.__sidebar_filters.push(n)}},s.info("Activity API registered")}function c(){var e,i,t;return(t=(i=(e=window.OCA)==null?void 0:e.Activity)==null?void 0:i.__sidebar_actions)!=null?t:[]}async function w(e){var i,t;if(((t=(i=window.OCA)==null?void 0:i.Activity)==null?void 0:t.__sidebar_factories)===void 0)return[];const r=window.OCA.Activity.__sidebar_factories.map(async a=>await a(e));return(await Promise.all(r)).flat()}function A(){var e,i,t;return(t=(i=(e=window.OCA)==null?void 0:e.Activity)==null?void 0:i.__sidebar_filters)!=null?t:[]}export{w as a,A as b,c as g,_ as r}; +import{l as s}from"./logger-DdfSSqJ9.chunk.mjs";function _(){var e,i,t,r,a,d,o;window.OCA=(e=window.OCA)!=null?e:{},window.OCA.Activity={...window.OCA.Activity,__sidebar_actions:(t=(i=window.OCA.Activity)==null?void 0:i.__sidebar_actions)!=null?t:[],__sidebar_factories:(a=(r=window.OCA.Activity)==null?void 0:r.__sidebar_factories)!=null?a:[],__sidebar_filters:(o=(d=window.OCA.Activity)==null?void 0:d.__sidebar_filters)!=null?o:[],registerSidebarAction(n){window.OCA.Activity.__sidebar_actions.push(n),s.debug("Registered new sidebar action")},registerSidebarEntries(n){window.OCA.Activity.__sidebar_factories.push(n),s.debug("Registered new sidebar actions factory")},registerSidebarFilter(n){window.OCA.Activity.__sidebar_filters.push(n)}},s.info("Activity API registered")}function c(){var e,i,t;return(t=(i=(e=window.OCA)==null?void 0:e.Activity)==null?void 0:i.__sidebar_actions)!=null?t:[]}async function w(e){var i,t;if(((t=(i=window.OCA)==null?void 0:i.Activity)==null?void 0:t.__sidebar_factories)===void 0)return[];const r=window.OCA.Activity.__sidebar_factories.map(async a=>await a(e));return(await Promise.all(r)).flat()}function v(){var e,i,t;return(t=(i=(e=window.OCA)==null?void 0:e.Activity)==null?void 0:i.__sidebar_filters)!=null?t:[]}export{w as a,v as b,c as g,_ as r}; diff --git a/js/api-Bbja46ws.chunk.mjs.map b/js/api-CxjiFF2o.chunk.mjs.map similarity index 98% rename from js/api-Bbja46ws.chunk.mjs.map rename to js/api-CxjiFF2o.chunk.mjs.map index b98d27814..b792ebf5c 100644 --- a/js/api-Bbja46ws.chunk.mjs.map +++ b/js/api-CxjiFF2o.chunk.mjs.map @@ -1 +1 @@ -{"version":3,"file":"api-Bbja46ws.chunk.mjs","sources":["../src/utils/api.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { ActivityFactoryQueryOptions, IActivityFactory, IActivityFilter, IActivitySidebarAction } from '../models/ActivityAPI'\nimport logger from './logger'\n\ndeclare global {\n\tinterface Window {\n\t\tOCA?: {\n\t\t\tActivity?: {\n\t\t\t\t/**\n\t\t\t\t * Register new actions for a given activity type\n\t\t\t\t */\n\t\t\t\tregisterSidebarEntries: (factory: IActivityFactory) => void\n\t\t\t\t/**\n\t\t\t\t * Register an external action that should be shown in the Activity sidebar panel\n\t\t\t\t */\n\t\t\t\tregisterSidebarAction: (action: IActivitySidebarAction) => void\n\t\t\t\t/**\n\t\t\t\t * Register an filter function to filter out activities on the sidebar, useful together with `registerSidebarEntries`\n\t\t\t\t */\n\t\t\t\tregisterSidebarFilter: (filter: IActivityFilter) => void\n\t\t\t\t__sidebar_actions: IActivitySidebarAction[]\n\t\t\t\t__sidebar_factories: IActivityFactory[]\n\t\t\t\t__sidebar_filters: IActivityFilter[]\n\t\t\t},\n\t\t\tViewer?: {\n\t\t\t\topen(options: { path?: string, fileInfo?: unknown }): void\n\t\t\t\tget mimetypes(): string[]\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Register the global API\n */\nexport function registerGlobalAPI() {\n\twindow.OCA = window.OCA ?? {}\n\twindow.OCA.Activity = {\n\t\t...window.OCA.Activity,\n\t\t__sidebar_actions: window.OCA.Activity?.__sidebar_actions ?? [],\n\t\t__sidebar_factories: window.OCA.Activity?.__sidebar_factories ?? [],\n\t\t__sidebar_filters: window.OCA.Activity?.__sidebar_filters ?? [],\n\n\t\tregisterSidebarAction(action: IActivitySidebarAction) {\n\t\t\twindow.OCA!.Activity!.__sidebar_actions.push(action)\n\t\t\tlogger.debug('Registered new sidebar action')\n\t\t},\n\n\t\tregisterSidebarEntries(factory: IActivityFactory) {\n\t\t\twindow!.OCA!.Activity!.__sidebar_factories.push(factory)\n\t\t\tlogger.debug('Registered new sidebar actions factory')\n\t\t},\n\n\t\tregisterSidebarFilter(filter: IActivityFilter) {\n\t\t\twindow!.OCA!.Activity!.__sidebar_filters.push(filter)\n\t\t},\n\t}\n\n\tlogger.info('Activity API registered')\n}\n\n/**\n * Get all external actions that should be showed in the Activity panel\n */\nexport function getSidebarActions() {\n\treturn window.OCA?.Activity?.__sidebar_actions ?? []\n}\n\n/**\n * Get all additional activity stream entries for a given file object\n * @param options Filter options for the additonal entries\n */\nexport async function getAdditionalEntries(options: ActivityFactoryQueryOptions) {\n\tif (window.OCA?.Activity?.__sidebar_factories === undefined) {\n\t\treturn []\n\t}\n\n\tconst allPromises = window.OCA.Activity.__sidebar_factories.map(async (factory) => await factory(options))\n\treturn (await Promise.all(allPromises)).flat()\n}\n\n/**\n * Get all sidebar entry filters\n */\nexport function getActivityFilters() {\n\treturn window.OCA?.Activity?.__sidebar_filters ?? []\n}\n"],"names":["registerGlobalAPI","_a","_b","_c","_d","_e","_f","_g","action","logger","factory","filter","getSidebarActions","getAdditionalEntries","options","allPromises","getActivityFilters"],"mappings":"gDAuCO,SAASA,GAAoB,CAvCpC,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAwCC,OAAO,KAAMN,EAAA,OAAO,MAAP,KAAAA,EAAc,GAC3B,OAAO,IAAI,SAAW,CACrB,GAAG,OAAO,IAAI,SACd,mBAAmBE,GAAOD,EAAA,OAAA,IAAI,WAAX,KAAqB,OAAAA,EAAA,oBAArB,OAA0C,CAAC,EAC9D,qBAAqBG,GAAOD,EAAA,OAAA,IAAI,WAAX,KAAqB,OAAAA,EAAA,sBAArB,OAA4C,CAAC,EAClE,mBAAmBG,GAAOD,EAAA,OAAA,IAAI,WAAX,KAAqB,OAAAA,EAAA,oBAArB,OAA0C,CAAC,EAE9D,sBAAsBE,EAAgC,CACrD,OAAO,IAAK,SAAU,kBAAkB,KAAKA,CAAM,EACnDC,EAAO,MAAM,+BAA+B,CAC7C,EAEA,uBAAuBC,EAA2B,CACjD,OAAQ,IAAK,SAAU,oBAAoB,KAAKA,CAAO,EACvDD,EAAO,MAAM,wCAAwC,CACtD,EAEA,sBAAsBE,EAAyB,CAC9C,OAAQ,IAAK,SAAU,kBAAkB,KAAKA,CAAM,CACrD,CAAA,EAGDF,EAAO,KAAK,yBAAyB,CACtC,CAKO,SAASG,GAAoB,CApEpC,IAAAX,EAAAC,EAAAC,EAqEC,OAAOA,eAAO,MAAP,KAAA,OAAAF,EAAY,WAAZ,KAAsB,OAAAC,EAAA,oBAAtB,OAA2C,EACnD,CAMA,eAAsBW,EAAqBC,EAAsC,CA5EjF,IAAAb,EAAAC,EA6EC,KAAIA,YAAO,MAAP,KAAA,OAAAD,EAAY,WAAZ,KAAA,OAAAC,EAAsB,uBAAwB,OACjD,MAAO,GAGF,MAAAa,EAAc,OAAO,IAAI,SAAS,oBAAoB,IAAI,MAAOL,GAAY,MAAMA,EAAQI,CAAO,CAAC,EACzG,OAAQ,MAAM,QAAQ,IAAIC,CAAW,GAAG,KAAK,CAC9C,CAKO,SAASC,GAAqB,CAxFrC,IAAAf,EAAAC,EAAAC,EAyFC,OAAOA,eAAO,MAAP,KAAA,OAAAF,EAAY,WAAZ,KAAsB,OAAAC,EAAA,oBAAtB,OAA2C,EACnD"} \ No newline at end of file +{"version":3,"file":"api-CxjiFF2o.chunk.mjs","sources":["../src/utils/api.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { ActivityFactoryQueryOptions, IActivityFactory, IActivityFilter, IActivitySidebarAction } from '../models/ActivityAPI'\nimport logger from './logger'\n\ndeclare global {\n\tinterface Window {\n\t\tOCA?: {\n\t\t\tActivity?: {\n\t\t\t\t/**\n\t\t\t\t * Register new actions for a given activity type\n\t\t\t\t */\n\t\t\t\tregisterSidebarEntries: (factory: IActivityFactory) => void\n\t\t\t\t/**\n\t\t\t\t * Register an external action that should be shown in the Activity sidebar panel\n\t\t\t\t */\n\t\t\t\tregisterSidebarAction: (action: IActivitySidebarAction) => void\n\t\t\t\t/**\n\t\t\t\t * Register an filter function to filter out activities on the sidebar, useful together with `registerSidebarEntries`\n\t\t\t\t */\n\t\t\t\tregisterSidebarFilter: (filter: IActivityFilter) => void\n\t\t\t\t__sidebar_actions: IActivitySidebarAction[]\n\t\t\t\t__sidebar_factories: IActivityFactory[]\n\t\t\t\t__sidebar_filters: IActivityFilter[]\n\t\t\t},\n\t\t\tViewer?: {\n\t\t\t\topen(options: { path?: string, fileInfo?: unknown }): void\n\t\t\t\tget mimetypes(): string[]\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Register the global API\n */\nexport function registerGlobalAPI() {\n\twindow.OCA = window.OCA ?? {}\n\twindow.OCA.Activity = {\n\t\t...window.OCA.Activity,\n\t\t__sidebar_actions: window.OCA.Activity?.__sidebar_actions ?? [],\n\t\t__sidebar_factories: window.OCA.Activity?.__sidebar_factories ?? [],\n\t\t__sidebar_filters: window.OCA.Activity?.__sidebar_filters ?? [],\n\n\t\tregisterSidebarAction(action: IActivitySidebarAction) {\n\t\t\twindow.OCA!.Activity!.__sidebar_actions.push(action)\n\t\t\tlogger.debug('Registered new sidebar action')\n\t\t},\n\n\t\tregisterSidebarEntries(factory: IActivityFactory) {\n\t\t\twindow!.OCA!.Activity!.__sidebar_factories.push(factory)\n\t\t\tlogger.debug('Registered new sidebar actions factory')\n\t\t},\n\n\t\tregisterSidebarFilter(filter: IActivityFilter) {\n\t\t\twindow!.OCA!.Activity!.__sidebar_filters.push(filter)\n\t\t},\n\t}\n\n\tlogger.info('Activity API registered')\n}\n\n/**\n * Get all external actions that should be showed in the Activity panel\n */\nexport function getSidebarActions() {\n\treturn window.OCA?.Activity?.__sidebar_actions ?? []\n}\n\n/**\n * Get all additional activity stream entries for a given file object\n * @param options Filter options for the additonal entries\n */\nexport async function getAdditionalEntries(options: ActivityFactoryQueryOptions) {\n\tif (window.OCA?.Activity?.__sidebar_factories === undefined) {\n\t\treturn []\n\t}\n\n\tconst allPromises = window.OCA.Activity.__sidebar_factories.map(async (factory) => await factory(options))\n\treturn (await Promise.all(allPromises)).flat()\n}\n\n/**\n * Get all sidebar entry filters\n */\nexport function getActivityFilters() {\n\treturn window.OCA?.Activity?.__sidebar_filters ?? []\n}\n"],"names":["registerGlobalAPI","_a","_b","_c","_d","_e","_f","_g","action","logger","factory","filter","getSidebarActions","getAdditionalEntries","options","allPromises","getActivityFilters"],"mappings":"gDAuCO,SAASA,GAAoB,CAvCpC,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAwCC,OAAO,KAAMN,EAAA,OAAO,MAAP,KAAAA,EAAc,GAC3B,OAAO,IAAI,SAAW,CACrB,GAAG,OAAO,IAAI,SACd,mBAAmBE,GAAOD,EAAA,OAAA,IAAI,WAAX,KAAqB,OAAAA,EAAA,oBAArB,OAA0C,CAAC,EAC9D,qBAAqBG,GAAOD,EAAA,OAAA,IAAI,WAAX,KAAqB,OAAAA,EAAA,sBAArB,OAA4C,CAAC,EAClE,mBAAmBG,GAAOD,EAAA,OAAA,IAAI,WAAX,KAAqB,OAAAA,EAAA,oBAArB,OAA0C,CAAC,EAE9D,sBAAsBE,EAAgC,CACrD,OAAO,IAAK,SAAU,kBAAkB,KAAKA,CAAM,EACnDC,EAAO,MAAM,+BAA+B,CAC7C,EAEA,uBAAuBC,EAA2B,CACjD,OAAQ,IAAK,SAAU,oBAAoB,KAAKA,CAAO,EACvDD,EAAO,MAAM,wCAAwC,CACtD,EAEA,sBAAsBE,EAAyB,CAC9C,OAAQ,IAAK,SAAU,kBAAkB,KAAKA,CAAM,CACrD,CAAA,EAGDF,EAAO,KAAK,yBAAyB,CACtC,CAKO,SAASG,GAAoB,CApEpC,IAAAX,EAAAC,EAAAC,EAqEC,OAAOA,eAAO,MAAP,KAAA,OAAAF,EAAY,WAAZ,KAAsB,OAAAC,EAAA,oBAAtB,OAA2C,EACnD,CAMA,eAAsBW,EAAqBC,EAAsC,CA5EjF,IAAAb,EAAAC,EA6EC,KAAIA,YAAO,MAAP,KAAA,OAAAD,EAAY,WAAZ,KAAA,OAAAC,EAAsB,uBAAwB,OACjD,MAAO,GAGF,MAAAa,EAAc,OAAO,IAAI,SAAS,oBAAoB,IAAI,MAAOL,GAAY,MAAMA,EAAQI,CAAO,CAAC,EACzG,OAAQ,MAAM,QAAQ,IAAIC,CAAW,GAAG,KAAK,CAC9C,CAKO,SAASC,GAAqB,CAxFrC,IAAAf,EAAAC,EAAAC,EAyFC,OAAOA,eAAO,MAAP,KAAA,OAAAF,EAAY,WAAZ,KAAsB,OAAAC,EAAA,oBAAtB,OAA2C,EACnD"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 23afce198..e0955fa29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "activity", - "version": "4.0.0", + "version": "5.0.0-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "activity", - "version": "4.0.0", + "version": "5.0.0-dev.0", "license": "agpl", "dependencies": { "@mdi/svg": "^7.4.47", diff --git a/package.json b/package.json index 88cd1d1fa..5c2be4389 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "activity", "description": "This application enables people to view a log of activities about them or about files.", - "version": "4.0.0", + "version": "5.0.0-dev.0", "author": "Julius Härtl ", "contributors": [], "bugs": {