Skip to content

Commit 35148f5

Browse files
authored
Merge pull request #2173 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-7.1.0
Chore(deps): Bump @nextcloud/dialogs from 7.0.0-rc.0 to 7.1.0
2 parents f4a5e47 + a4a28ae commit 35148f5

57 files changed

Lines changed: 914 additions & 2237 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

js/ActivityComponent.vue_vue_type_script_setup_true_lang-Cr6idq9U.chunk.mjs

Lines changed: 0 additions & 71 deletions
This file was deleted.

js/ActivityComponent.vue_vue_type_script_setup_true_lang-Cr6idq9U.chunk.mjs.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

js/ActivityComponent.vue_vue_type_script_setup_true_lang-DBQrrE_L.chunk.mjs

Lines changed: 6 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
SPDX-License-Identifier: AGPL-3.0-or-later
2+
SPDX-License-Identifier: GPL-3.0-or-later
3+
SPDX-License-Identifier: MIT
4+
SPDX-FileCopyrightText: Christoph Wurst
5+
SPDX-FileCopyrightText: Evan You
6+
SPDX-FileCopyrightText: Iskren Ivov Chernev <[email protected]> (https://github.com/ichernev)
7+
SPDX-FileCopyrightText: Julius Härtl <[email protected]>
8+
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
9+
10+
This file is generated from multiple sources. Included packages:
11+
- @nextcloud/moment
12+
- version: 1.3.5
13+
- license: GPL-3.0-or-later
14+
- @nextcloud/paths
15+
- version: 2.2.1
16+
- license: GPL-3.0-or-later
17+
- @nextcloud/vue
18+
- version: 9.1.0
19+
- license: AGPL-3.0-or-later
20+
- activity
21+
- version: 6.0.0-dev.0
22+
- license: AGPL-3.0-or-later
23+
- moment
24+
- version: 2.30.1
25+
- license: MIT
26+
- vite
27+
- version: 7.1.12
28+
- license: MIT

js/ActivityComponent.vue_vue_type_script_setup_true_lang-DBQrrE_L.chunk.mjs.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/ActivityTab-cONuB6Zg.chunk.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".activity[data-v-2fda9824]{display:flex;flex-direction:column;overflow:hidden;height:100%}.activity__actions[data-v-2fda9824]{display:flex;flex-direction:column;width:100%}.activity__list[data-v-2fda9824]{flex-grow:1;overflow:scroll}.activity__empty-content[data-v-2fda9824]{height:100%}[data-v-2fda9824] .empty-content__icon span{background-size:64px;width:64px;height:64px}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2+
import{l as N}from"./activity-sidebar.mjs";import{N as k,b as S,c as j,v as C,_ as R}from"./NcUserBubble-ChgvvPPf-Lykpg7eG.chunk.mjs";import{d as b,i as x,j as B,P as E,N as L,e as s,o as a,t as g,n as G,r as o,c as l,w as d,a as m,F as y,l as T,h as u,f as V,B as W}from"./preload-helper-DYze-HEi.chunk.mjs";import{N as F,_ as U,A as $}from"./ActivityComponent.vue_vue_type_script_setup_true_lang-DBQrrE_L.chunk.mjs";import{g as q,a as z,b as h}from"./api-nMNHT5Kl.chunk.mjs";import{l as _}from"./logger-Cy5VgVmS.chunk.mjs";import"./_commonjsHelpers-Cqwegr3R.chunk.mjs";const D=b({__name:"ActivitySidebarPlugin",props:{plugin:{},fileInfo:{}},emits:["reload-activities"],setup(i,{emit:t}){const e=i,n=t,r=x();return B(()=>e.plugin.mount(r.value,{context:E()?.proxy,fileInfo:e.fileInfo,reload:()=>n("reload-activities")})),L(()=>e.plugin.unmount()),(I,f)=>(a(),s("div",{ref_key:"attachTarget",ref:r},null,512))}}),H=b({name:"ActivityTab",components:{ActivityComponent:U,NcEmptyContent:F,NcIconSvgWrapper:S,NcLoadingIcon:k,ActivitySidebarPlugin:D},expose:["update"],data(){return{error:"",loading:!0,fileInfo:null,activities:[],lightningBoltSVG:N,sidebarPlugins:[]}},mounted(){this.sidebarPlugins=h()},methods:{async update(i){this.sidebarPlugins=[];const t=h();t.length>0&&G(()=>{this.sidebarPlugins=t}),this.fileInfo=i,this.resetState(),await this.getActivities()},async getActivities(){try{this.loading=!0;const i=await this.processActivities(await this.loadRealActivities()),t=await z({fileInfo:this.fileInfo});this.activities=[...i,...t].sort((e,n)=>n.timestamp-e.timestamp)}catch(i){this.error=g("activity","Unable to load the activity list"),_.error("Error loading the activity list",{error:i})}finally{this.loading=!1}},resetState(){this.loading=!0,this.error="",this.activities=[]},async loadRealActivities(){try{const{data:i}=await j.get(C("apps/activity/api/v2/activity/filter"),{params:{format:"json",object_type:"files",object_id:this.fileInfo.id}});return i.ocs.data}catch(i){if(i.response!==void 0&&i.response.status===304)return[];throw i}},processActivities(i){i=i.map(e=>new $(e)),_.debug(`Processed ${i.length} activity(ies)`,{activities:i,fileInfo:this.fileInfo});const t=q();return i.filter(e=>!t||t.every(n=>n(e)))},t:g}}),J={key:0,class:"activity__actions"},K={key:3,class:"activity__list"};function M(i,t,e,n,r,I){const f=o("NcIconSvgWrapper"),v=o("NcEmptyContent"),A=o("ActivitySidebarPlugin"),P=o("NcLoadingIcon"),w=o("ActivityComponent");return a(),s("div",{class:W([{"icon-loading":i.loading},"activity"])},[i.error||i.fileInfo===null?(a(),l(v,{key:0,name:i.error},{icon:d(()=>[m(f,{svg:i.lightningBoltSVG},null,8,["svg"])]),_:1},8,["name"])):(a(),s(y,{key:1},[i.sidebarPlugins.length>0?(a(),s("div",J,[(a(!0),s(y,null,u(i.sidebarPlugins,(c,p)=>(a(),l(A,{key:p,plugin:c,"file-info":i.fileInfo,onReloadActivities:t[0]||(t[0]=O=>i.getActivities())},null,8,["plugin","file-info"]))),128))])):T("",!0),i.loading?(a(),l(v,{key:1,class:"activity__empty-content",name:i.t("activity","Loading activities")},{icon:d(()=>[m(P)]),_:1},8,["name"])):i.activities.length===0?(a(),l(v,{key:2,class:"activity__empty-content",name:i.t("activity","No activity yet")},{icon:d(()=>[...t[2]||(t[2]=[V("span",{class:"icon-activity"},null,-1)])]),_:1},8,["name"])):(a(),s("ul",K,[(a(!0),s(y,null,u(i.activities,c=>(a(),l(w,{key:c.id,activity:c,"show-previews":!1,onReload:t[1]||(t[1]=p=>i.getActivities())},null,8,["activity"]))),128))]))],64))],2)}const ei=R(H,[["render",M],["__scopeId","data-v-2fda9824"]]);export{ei as default};
3+
//# sourceMappingURL=ActivityTab-cONuB6Zg.chunk.mjs.map
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/ActivityTab-xz8rhWS3.chunk.mjs

Lines changed: 0 additions & 3 deletions
This file was deleted.

js/NcUserBubble-ChgvvPPf-Lykpg7eG.chunk.mjs

Lines changed: 88 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)