103 lines
6.1 KiB
JavaScript
103 lines
6.1 KiB
JavaScript
|
import{a as w}from"./utils-AUSSiI9x.js";import{S as j,i as k,c as x,b as f,m as A,a as y,t as D,d as _}from"./index-BYiPtpSv.js";import{P as $}from"./Projects-re2V7mOZ.js";import"./lifecycle-CTLfn-qA.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./MoreFilters-jcAS9mVX.js";import"./Pagination-CRNvatma.js";import"./Projects-DpGzhhZR.js";import"./Search-DQ4127TB.js";import"./Starred-DIYQGHec.js";import"./FileTable-CvlIGNWJ.js";import"./each-Dkr21eUC.js";function B(s){let e,a;return e=new $({props:{data:s[0]}}),{c(){x(e.$$.fragment)},l(t){f(e.$$.fragment,t)},m(t,n){A(e,t,n),a=!0},p(t,[n]){const m={};n&1&&(m.data=t[0]),e.$set(m)},i(t){a||(y(e.$$.fragment,t),a=!0)},o(t){D(e.$$.fragment,t),a=!1},d(t){_(e,t)}}}function S(s,e,a){let{data:t={projects:[]}}=e;return s.$$set=n=>{"data"in n&&a(0,t=n.data)},[t]}class v extends j{constructor(e){super(),k(this,e,S,B,w,{data:0})}}v.__docgen={version:3,name:"Projects.svelte",data:[{keywords:[],visibility:"public",description:"Data populated by SvelteKit",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const R={title:"Pages/Projects",component:v,tags:["autodocs"]},o={args:{data:{projects:[]}}},r={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}},i={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]},{name:"Project B",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}};var c,p,l;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{
|
||
|
args: {
|
||
|
data: {
|
||
|
projects: []
|
||
|
}
|
||
|
}
|
||
|
}`,...(l=(p=o.parameters)==null?void 0:p.docs)==null?void 0:l.source}}};var u,g,d;r.parameters={...r.parameters,docs:{...(u=r.parameters)==null?void 0:u.docs,source:{originalSource:`{
|
||
|
args: {
|
||
|
data: {
|
||
|
projects: [{
|
||
|
name: 'Project A',
|
||
|
description: 'This software project is a web-based application that will allow users to book appointments online.',
|
||
|
avatar: 'https://example.com',
|
||
|
// Date back three months
|
||
|
lastUpdated: new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000),
|
||
|
members: [{
|
||
|
name: 'Person A',
|
||
|
avatar: 'https://example.com',
|
||
|
slug: 'a'
|
||
|
}, {
|
||
|
name: 'Person B',
|
||
|
avatar: 'https://example.com',
|
||
|
slug: 'b'
|
||
|
}, {
|
||
|
name: 'Person C',
|
||
|
avatar: 'https://example.com',
|
||
|
slug: 'c'
|
||
|
}],
|
||
|
tags: [{
|
||
|
name: 'ActivityPub',
|
||
|
link: '/tag/ActivityPub'
|
||
|
}, {
|
||
|
name: 'css',
|
||
|
link: '/tag/css'
|
||
|
}, {
|
||
|
name: 'guile',
|
||
|
link: '/tag/guile'
|
||
|
}]
|
||
|
}]
|
||
|
}
|
||
|
}
|
||
|
}`,...(d=(g=r.parameters)==null?void 0:g.docs)==null?void 0:d.source}}};var b,P,h;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:`{
|
||
|
args: {
|
||
|
data: {
|
||
|
projects: [{
|
||
|
name: 'Project A',
|
||
|
description: 'This software project is a web-based application that will allow users to book appointments online.',
|
||
|
avatar: 'https://example.com',
|
||
|
// Date back three months
|
||
|
lastUpdated: new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000),
|
||
|
members: [{
|
||
|
name: 'Person A',
|
||
|
avatar: 'https://example.com',
|
||
|
slug: 'a'
|
||
|
}, {
|
||
|
name: 'Person B',
|
||
|
avatar: 'https://example.com',
|
||
|
slug: 'b'
|
||
|
}, {
|
||
|
name: 'Person C',
|
||
|
avatar: 'https://example.com',
|
||
|
slug: 'c'
|
||
|
}],
|
||
|
tags: [{
|
||
|
name: 'ActivityPub',
|
||
|
link: '/tag/ActivityPub'
|
||
|
}, {
|
||
|
name: 'css',
|
||
|
link: '/tag/css'
|
||
|
}, {
|
||
|
name: 'guile',
|
||
|
link: '/tag/guile'
|
||
|
}]
|
||
|
}, {
|
||
|
name: 'Project B',
|
||
|
description: 'This software project is a web-based application that will allow users to book appointments online.',
|
||
|
avatar: 'https://example.com',
|
||
|
// Date back three months
|
||
|
lastUpdated: new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000),
|
||
|
members: [{
|
||
|
name: 'Person A',
|
||
|
avatar: 'https://example.com',
|
||
|
slug: 'a'
|
||
|
}, {
|
||
|
name: 'Person B',
|
||
|
avatar: 'https://example.com',
|
||
|
slug: 'b'
|
||
|
}],
|
||
|
tags: [{
|
||
|
name: 'ActivityPub',
|
||
|
link: '/tag/ActivityPub'
|
||
|
}, {
|
||
|
name: 'css',
|
||
|
link: '/tag/css'
|
||
|
}, {
|
||
|
name: 'guile',
|
||
|
link: '/tag/guile'
|
||
|
}]
|
||
|
}]
|
||
|
}
|
||
|
}
|
||
|
}`,...(h=(P=i.parameters)==null?void 0:P.docs)==null?void 0:h.source}}};const V=["NoProjects","SingleProject","MultipleProjects"];export{i as MultipleProjects,o as NoProjects,r as SingleProject,V as __namedExportsOrder,R as default};
|