96 lines
5.9 KiB
JavaScript
96 lines
5.9 KiB
JavaScript
import{a as w}from"./utils-6ebe0a8e.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-3a0d73e3.js";import{P as $}from"./Projects-f6a4884c.js";import"./lifecycle-cafe499b.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./MoreFilters-9a485b3d.js";import"./Pagination-77c8cc8c.js";import"./Projects-081efb34.js";import"./Search-92254bf8.js";import"./Starred-16694df1.js";import"./FileTable-1d60bdd0.js";import"./each-b4878c9e.js";function B(s){let t,a;return t=new $({props:{data:s[0]}}),{c(){x(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,n){A(t,e,n),a=!0},p(e,[n]){const m={};n&1&&(m.data=e[0]),t.$set(m)},i(e){a||(y(t.$$.fragment,e),a=!0)},o(e){D(t.$$.fragment,e),a=!1},d(e){_(t,e)}}}function S(s,t,a){let{data:e={projects:[]}}=t;return s.$$set=n=>{"data"in n&&a(0,e=n.data)},[e]}class v extends j{constructor(t){super(),k(this,t,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 Q={title:"Pages/Projects",component:v,tags:["autodocs"]},o={args:{projects:[]}},r={args:{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:{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: {
|
|
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: {
|
|
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: {
|
|
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 R=["NoProjects","SingleProject","MultipleProjects"];export{i as MultipleProjects,o as NoProjects,r as SingleProject,R as __namedExportsOrder,Q as default};
|