Anvil/assets/Projects.stories-Dt8DYXlk.js
André Jaenisch 754ebfe778
Updates
2024-07-27 14:18:38 +02:00

102 lines
6.1 KiB
JavaScript

import{S as w,c as j,a as k,d as x,e as f,m as A,b as y,t as D,f as _}from"./index-CP70Tq58.js";import{P as $}from"./Projects-Bq8Px2CE.js";import"./lifecycle-D_bIUHQK.js";import"./ZoomOut24-450rB1Ps.js";import"./spread-CgU5AtxT.js";import"./runtime-CZkC8ltm.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./MoreFilters-D2IY7_uC.js";import"./Pagination-DFw-ptLp.js";import"./Projects-COck1hn9.js";import"./Search-BBg01t1k.js";import"./Starred-DBqh8W7s.js";import"./FileTable-BY0AF4yr.js";import"./each-C4g42ehH.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 w{constructor(e){super(),j(this,e,S,B,k,{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:{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 R=["NoProjects","SingleProject","MultipleProjects"];export{i as MultipleProjects,o as NoProjects,r as SingleProject,R as __namedExportsOrder,Q as default};