PageSourceSearch

https://nextcloud.bbz-nok.de/apps/collectives/js/collectives-reference.mjs?v=478fd1b2-14

js bbz-nok.de collected 2026-10-04 01:33:28 UTC 2,282 bytes, 2 lines download raw bytes

1import{_ as u,t as g,r as d,o,c as n,a as c,b as p,d as s,e as v,f as j,g as f,h as O,i as m}from"./_plugin-vue_export-helper-GmMQI4eX.chunk.mjs";import{N as k,P as y,r as w}from"./PageIcon-QAmrfAwY.chunk.mjs";const N={name:"PageReferenceWidget",components:{PageIcon:y,NcUserBubble:k},props:{richObjectType:{type:String,default:""},richObject:{type:Object,default:null},accessible:{type:Boolean,default:!0}},computed:{emoji(){return this.richObject.page?.emoji},notFound(){return this.accessible===!1}},methods:{t:g,clickLink(a){const t="/apps/collectives",e=new URL(this.richObject.link,window.location);if(window.OCA.Collectives?.vueRouter&&e.pathname.toString().startsWith(O(t))){a.preventDefault();const l=e.href.substring(e.href.indexOf(t)+t.length);window.OCA.Collectives.vueRouter.push(l)}}}},_=["href"],C={class:"collective-page--image"},P={class:"collective-page--info"},U={class:"title"},I={class:"description"},L=["href"],R={class:"collective-page--image"},T={key:0,class:"page-emoji"},B={class:"collective-page--info"},x={class:"title"},z={class:"description"},A={class:"last-edited"};function D(a,t,e,l,W,i){const r=d("PageIcon"),h=d("NcUserBubble");return e.richObject&&i.notFound?(o(),n("a",{key:0,href:e.richObject.link,target:"_blank",class:"collective-page not-found"},[c("div",C,[p(r,{size:50})]),c("div",P,[c("div",U,[c("strong",null,s(i.t("collectives","Page not found")),1)]),c("div",I,s(i.t("collectives","The page does not exist or you are not allowed to view it.")),1)])],8,_)):e.richObject?(o(),n("a",{key:1,href:e.richObject.link,target:"_blank",class:"collective-page",onClick:t[0]||(t[0]=(...b)=>i.clickLink&&i.clickLink(...b))},[c("div",R,[i.emoji?(o(),n("span",T,s(i.emoji),1)):(o(),v(r,{key:1,size:50}))]),c("div",B,[c("div",x,[c("strong",null,s(e.richObject.page.title),1)]),c("div",z,s(e.richObject.description),1),c("div",A,[j(s(e.richObject.lastEdited)+" ",1),p(h,{user:e.richObject.page.lastUserId,displayName:e.richObject.page.lastUserDisplayName},null,8,["user","displayName"])])])],8,L)):f("",!0)}const S=u(N,[["render",D],["__scopeId","data-v-2c7e4ede"]]);
1w("collectives_page",(a,{richObjectType:t,richObject:e,accessible:l})=>{m(S,{richObjectType:t,richObject:e,accessible:l}).mount(a)});
2//# sourceMappingURL=collectives-reference.mjs.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.