This commit is contained in:
André Jaenisch 2024-07-05 16:28:36 +02:00
parent 902b3bf474
commit c3b7142b41
No known key found for this signature in database
GPG key ID: 5A668E771F1ED854
159 changed files with 427 additions and 424 deletions

View file

@ -1 +0,0 @@
import{A as a}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/AlertFill16",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const n=["Plain"];export{o as Plain,n as __namedExportsOrder,p as default};

View file

@ -0,0 +1 @@
import{A as a}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const m={title:"Icons/AlertFill16",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const p=["Plain"];export{o as Plain,p as __namedExportsOrder,m as default};

View file

@ -0,0 +1 @@
import{S as o,c as r,a as c,k as m,n}from"./index-C1iGU3rq.js";import{a as u,f as d,l as i,i as f,d as p}from"./lifecycle-B8I1Hqtw.js";const g=""+new URL("anvil-efIa5oS8.png",import.meta.url).href;function _(a){let s,l;return{c(){s=u("img"),this.h()},l(e){s=d(e,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){m(s.src,l=g)||i(s,"src",l),i(s,"alt","Anvil logo"),i(s,"class",a[0])},m(e,t){f(e,s,t)},p(e,[t]){t&1&&i(s,"class",e[0])},i:n,o:n,d(e){e&&p(s)}}}function h(a,s,l){let{class:e=""}=s;return a.$$set=t=>{"class"in t&&l(0,e=t.class)},[e]}class v extends o{constructor(s){super(),r(this,s,h,_,c,{class:0})}}v.__docgen={version:3,name:"AnvilLogo.svelte",data:[{visibility:"public",description:"Allow defining classList from outside.",keywords:[],name:"class",kind:"const",static:!1,readonly:!0,type:{kind:"type",text:"string",type:"string"},localName:"klass",defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{v as A};

View file

@ -1,5 +0,0 @@
import{a as _,b as h,n as i}from"./utils-AUSSiI9x.js";import{a as v,f as y,l as r,i as k,d as w}from"./lifecycle-DZHCWxcx.js";import{S as A,i as L}from"./index-CRVYNev9.js";const S=""+new URL("anvil-efIa5oS8.png",import.meta.url).href;function x(a){let s,o;return{c(){s=v("img"),this.h()},l(e){s=y(e,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){h(s.src,o=S)||r(s,"src",o),r(s,"alt","Anvil logo"),r(s,"class",a[0])},m(e,t){k(e,s,t)},p(e,[t]){t&1&&r(s,"class",e[0])},i,o:i,d(e){e&&w(s)}}}function b(a,s,o){let{class:e=""}=s;return a.$$set=t=>{"class"in t&&o(0,e=t.class)},[e]}class g extends A{constructor(s){super(),L(this,s,b,x,_,{class:0})}}g.__docgen={version:3,name:"AnvilLogo.svelte",data:[{visibility:"public",description:"Allow defining classList from outside.",keywords:[],name:"class",kind:"const",static:!1,readonly:!0,type:{kind:"type",text:"string",type:"string"},localName:"klass",defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const P={title:"Atoms/AnvilLogo",component:g,tags:["autodocs"]},l={},n={args:{class:"w-full"}};var c,m,u;l.parameters={...l.parameters,docs:{...(c=l.parameters)==null?void 0:c.docs,source:{originalSource:"{}",...(u=(m=l.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};var d,p,f;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`{
args: {
'class': 'w-full'
}
}`,...(f=(p=n.parameters)==null?void 0:p.docs)==null?void 0:f.source}}};const W=["Plain","WithClass"];export{l as Plain,n as WithClass,W as __namedExportsOrder,P as default};

View file

@ -0,0 +1,5 @@
import{A as l}from"./AnvilLogo-CgzDrkuH.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";const d={title:"Atoms/AnvilLogo",component:l,tags:["autodocs"]},s={},r={args:{class:"w-full"}};var a,o,e;s.parameters={...s.parameters,docs:{...(a=s.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(e=(o=s.parameters)==null?void 0:o.docs)==null?void 0:e.source}}};var t,c,n;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{
args: {
class: 'w-full'
}
}`,...(n=(c=r.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};const u=["Plain","WithClass"];export{s as Plain,r as WithClass,u as __namedExportsOrder,d as default};

View file

@ -0,0 +1 @@
import{S as d,c as o,a as l,d as f,e as m,m as u,b as p,t as c,f as y}from"./index-C1iGU3rq.js";import{A as r}from"./XPro-h1IbUAAk.js";function v(s){let t,i;return t=new r({props:{src:s[0],alt:s[1],width:"w-32",rounded:"rounded-full",initials:s[1]}}),{c(){f(t.$$.fragment)},l(e){m(t.$$.fragment,e)},m(e,a){u(t,e,a),i=!0},p(e,[a]){const n={};a&1&&(n.src=e[0]),a&2&&(n.alt=e[1]),a&2&&(n.initials=e[1]),t.$set(n)},i(e){i||(p(t.$$.fragment,e),i=!0)},o(e){c(t.$$.fragment,e),i=!1},d(e){y(t,e)}}}function g(s,t,i){let{avatar:e=""}=t,{displayName:a=""}=t;return s.$$set=n=>{"avatar"in n&&i(0,e=n.avatar),"displayName"in n&&i(1,a=n.displayName)},[e,a]}class w extends d{constructor(t){super(),o(this,t,g,v,l,{avatar:0,displayName:1})}}r.__docgen={version:3,name:"Avatar.svelte",data:[{keywords:[{name:"type",description:"{string | undefined}"}],visibility:"public",description:"URL to Avatar image.",name:"avatar",kind:"let",static:!1,readonly:!1,type:{kind:"union",text:"string | undefined",type:[{kind:"type",text:"string",type:"string"},{kind:"type",text:"undefined",type:"undefined"}]},defaultValue:""},{keywords:[{name:"type",description:"{string | undefined}"}],visibility:"public",description:"Name to derive initials from if no avatar is given.",name:"displayName",kind:"let",static:!1,readonly:!1,type:{kind:"union",text:"string | undefined",type:[{kind:"type",text:"string",type:"string"},{kind:"type",text:"undefined",type:"undefined"}]},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{w as A};

View file

@ -1,11 +0,0 @@
import{A as n}from"./Avatar-9JGi83Tj.js";import"./utils-AUSSiI9x.js";import"./index-CRVYNev9.js";import"./lifecycle-DZHCWxcx.js";import"./index-CmSOPqre.js";import"./spread-CgU5AtxT.js";import"./each-DQ20ki7B.js";import"./globals-D0QH3NT1.js";const v={title:"Atoms/Avatar",component:n,tags:["autodocs"]},a={args:{avatar:"",displayName:"Jane Doe"}},r={args:{...a.args,avatar:"https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280"}};var e,t,o;a.parameters={...a.parameters,docs:{...(e=a.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: {
avatar: '',
displayName: 'Jane Doe'
}
}`,...(o=(t=a.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};var s,c,i;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: {
...Plain.args,
avatar: 'https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280'
}
}`,...(i=(c=r.parameters)==null?void 0:c.docs)==null?void 0:i.source}}};const P=["Plain","ProfilePicture"];export{a as Plain,r as ProfilePicture,P as __namedExportsOrder,v as default};

View file

@ -0,0 +1,11 @@
import{A as n}from"./Avatar-BYwvqjbT.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./XPro-h1IbUAAk.js";import"./each-Bn1pG6U6.js";import"./index-BN_smRix.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";const v={title:"Atoms/Avatar",component:n,tags:["autodocs"]},a={args:{avatar:"",displayName:"Jane Doe"}},r={args:{...a.args,avatar:"https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280"}};var e,t,o;a.parameters={...a.parameters,docs:{...(e=a.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: {
avatar: '',
displayName: 'Jane Doe'
}
}`,...(o=(t=a.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};var s,c,i;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: {
...Plain.args,
avatar: 'https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280'
}
}`,...(i=(c=r.parameters)==null?void 0:c.docs)==null?void 0:i.source}}};const P=["Plain","ProfilePicture"];export{a as Plain,r as ProfilePicture,P as __namedExportsOrder,v as default};

View file

@ -1 +0,0 @@
import{a as i,n as r,c as p}from"./utils-AUSSiI9x.js";import{H as c,e as a,c as m,i as u,d as b}from"./lifecycle-DZHCWxcx.js";import{S as d,i as _}from"./index-CRVYNev9.js";import{$ as f}from"./runtime-VldLyBWb.js";function h(s){let t,n=s[0]("page.profile.activities.block_or_report",{values:{blockElementOpen:'<button type="button" class="underline">',blockElementClose:"</button>",reportElementOpen:'<button type="button" class="underline">',reportElementClose:"</button>"}})+"",o;return{c(){t=new c(!1),o=a(),this.h()},l(e){t=m(e,!1),o=a(),this.h()},h(){t.a=o},m(e,l){t.m(n,e,l),u(e,o,l)},p(e,[l]){l&1&&n!==(n=e[0]("page.profile.activities.block_or_report",{values:{blockElementOpen:'<button type="button" class="underline">',blockElementClose:"</button>",reportElementOpen:'<button type="button" class="underline">',reportElementClose:"</button>"}})+"")&&t.p(n)},i:r,o:r,d(e){e&&(b(o),t.d())}}}function k(s,t,n){let o;return p(s,f,e=>n(0,o=e)),[o]}class v extends d{constructor(t){super(),_(this,t,k,h,i,{})}}v.__docgen={version:3,name:"BlockOrReport.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{v as B};

View file

@ -0,0 +1 @@
import{S as p,c as i,a as c,n as r,g as m}from"./index-C1iGU3rq.js";import{H as u,e as a,c as b,i as d,d as _}from"./lifecycle-B8I1Hqtw.js";import{$ as f}from"./runtime-CtT-6RLV.js";function h(s){let t,n=s[0]("page.profile.activities.block_or_report",{values:{blockElementOpen:'<button type="button" class="underline">',blockElementClose:"</button>",reportElementOpen:'<button type="button" class="underline">',reportElementClose:"</button>"}})+"",o;return{c(){t=new u(!1),o=a(),this.h()},l(e){t=b(e,!1),o=a(),this.h()},h(){t.a=o},m(e,l){t.m(n,e,l),d(e,o,l)},p(e,[l]){l&1&&n!==(n=e[0]("page.profile.activities.block_or_report",{values:{blockElementOpen:'<button type="button" class="underline">',blockElementClose:"</button>",reportElementOpen:'<button type="button" class="underline">',reportElementClose:"</button>"}})+"")&&t.p(n)},i:r,o:r,d(e){e&&(_(o),t.d())}}}function k(s,t,n){let o;return m(s,f,e=>n(0,o=e)),[o]}class v extends p{constructor(t){super(),i(this,t,k,h,c,{})}}v.__docgen={version:3,name:"BlockOrReport.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{v as B};

View file

@ -0,0 +1 @@
import{B as a}from"./BlockOrReport-CnZHEJBe.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const l={title:"Atoms/BlockOrReport",component:a,tags:["autodocs"]},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const u=["Plain"];export{o as Plain,u as __namedExportsOrder,l as default};

View file

@ -1 +0,0 @@
import{B as a}from"./BlockOrReport-BqNeaGzt.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const u={title:"Atoms/BlockOrReport",component:a,tags:["autodocs"]},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const B=["Plain"];export{o as Plain,B as __namedExportsOrder,u as default};

View file

@ -1 +0,0 @@
import{C as a}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const i={title:"Icons/ChevronLeft24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,i as default};

View file

@ -0,0 +1 @@
import{C as a}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/ChevronLeft24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,p as default};

View file

@ -1 +0,0 @@
import{a}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/ChevronRight24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,p as default};

View file

@ -0,0 +1 @@
import{a}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const m={title:"Icons/ChevronRight24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const p=["Plain"];export{o as Plain,p as __namedExportsOrder,m as default};

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{j as r,M as s,C as t,d as o}from"./index-CpLdaVek.js";import{u as e}from"./index-zNE6cEuh.js";import"./iframe-ByhF-tYZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./index-DYADbu9O.js";import"./index-B4WlZuP_.js";import"./index-DrFu-skq.js";function l(a){const c={p:"p",...e(),...a.components};return r.jsxs(r.Fragment,{children:[`
import{j as r,M as s,C as t,d as o}from"./index-DWkBqs4X.js";import{u as e}from"./index-Crs22r_a.js";import"./iframe-B8JDgvS5.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./index-DYADbu9O.js";import"./index-B4WlZuP_.js";import"./index-DrFu-skq.js";function l(a){const c={p:"p",...e(),...a.components};return r.jsxs(r.Fragment,{children:[`
`,`
`,r.jsx(s,{title:"Colors"}),`
`,r.jsx(c.p,{children:"Consider the value at 500 to be the default."}),`

View file

@ -1 +0,0 @@
import{a as ie,c as ee}from"./utils-AUSSiI9x.js";import{a as c,t as A,b as T,f as m,h as u,j as I,d as l,k as D,l as n,i as le,m as t,n as P}from"./lifecycle-DZHCWxcx.js";import{S as ce,i as me,c as te,b as se,m as ae,a as oe,t as re,d as ne}from"./index-CRVYNev9.js";import{$ as ue,a as fe}from"./runtime-VldLyBWb.js";import{b as de,F as pe}from"./ZoomOut24-C6SRuWL3.js";function ve(s){let a,i,f,b=s[0].name+"",h,C,r,N=s[1](s[3].relative_time,{values:{relativeTime:s[2](new Date(s[0].committed))}})+"",V,J,_,d,y,K,$,S=s[1](s[3].actions.copy)+"",O,L,g,k=s[0].hash.slice(0,8)+"",U,M,B,p,w,Q,E,j=s[1](s[3].actions.browse)+"",F,v;return y=new de({props:{fill:"currentColor"}}),w=new pe({props:{fill:"currentColor"}}),{c(){a=c("div"),i=c("div"),f=c("span"),h=A(b),C=T(),r=c("span"),V=A(N),J=T(),_=c("div"),d=c("button"),te(y.$$.fragment),K=T(),$=c("span"),O=A(S),L=T(),g=c("button"),U=A(k),M=T(),B=c("div"),p=c("button"),te(w.$$.fragment),Q=T(),E=c("span"),F=A(j),this.h()},l(e){a=m(e,"DIV",{class:!0});var o=u(a);i=m(o,"DIV",{class:!0});var q=u(i);f=m(q,"SPAN",{class:!0});var R=u(f);h=I(R,b),R.forEach(l),C=D(q),r=m(q,"SPAN",{class:!0});var W=u(r);V=I(W,N),W.forEach(l),q.forEach(l),J=D(o),_=m(o,"DIV",{class:!0});var z=u(_);d=m(z,"BUTTON",{type:!0,class:!0});var G=u(d);se(y.$$.fragment,G),K=D(G),$=m(G,"SPAN",{class:!0});var X=u($);O=I(X,S),X.forEach(l),G.forEach(l),L=D(z),g=m(z,"BUTTON",{type:!0,class:!0});var Y=u(g);U=I(Y,k),Y.forEach(l),z.forEach(l),M=D(o),B=m(o,"DIV",{});var Z=u(B);p=m(Z,"BUTTON",{type:!0,class:!0});var H=u(p);se(w.$$.fragment,H),Q=D(H),E=m(H,"SPAN",{class:!0});var x=u(E);F=I(x,j),x.forEach(l),H.forEach(l),Z.forEach(l),o.forEach(l),this.h()},h(){n(f,"class","text-surface-500"),n(r,"class","text-surface-400"),n(i,"class","flex flex-col flex-1"),n($,"class","sr-only"),n(d,"type","button"),n(d,"class","btn-icon border border-surface-100 rounded bg-white self-start"),n(g,"type","button"),n(g,"class","btn border border-surface-100 rounded bg-white min-w-32 self-start"),n(_,"class","flex"),n(E,"class","sr-only"),n(p,"type","button"),n(p,"class","btn-icon border border-surface-100 rounded bg-white"),n(a,"class","flex w-full justify-between gap-4 border border-surface-100")},m(e,o){le(e,a,o),t(a,i),t(i,f),t(f,h),t(i,C),t(i,r),t(r,V),t(a,J),t(a,_),t(_,d),ae(y,d,null),t(d,K),t(d,$),t($,O),t(_,L),t(_,g),t(g,U),t(a,M),t(a,B),t(B,p),ae(w,p,null),t(p,Q),t(p,E),t(E,F),v=!0},p(e,[o]){(!v||o&1)&&b!==(b=e[0].name+"")&&P(h,b),(!v||o&7)&&N!==(N=e[1](e[3].relative_time,{values:{relativeTime:e[2](new Date(e[0].committed))}})+"")&&P(V,N),(!v||o&2)&&S!==(S=e[1](e[3].actions.copy)+"")&&P(O,S),(!v||o&1)&&k!==(k=e[0].hash.slice(0,8)+"")&&P(U,k),(!v||o&2)&&j!==(j=e[1](e[3].actions.browse)+"")&&P(F,j)},i(e){v||(oe(y.$$.fragment,e),oe(w.$$.fragment,e),v=!0)},o(e){re(y.$$.fragment,e),re(w.$$.fragment,e),v=!1},d(e){e&&l(a),ne(y),ne(w)}}}function be(s,a,i){let f,b;ee(s,ue,r=>i(1,f=r)),ee(s,fe,r=>i(2,b=r));let{commit:h={name:""}}=a;const C={actions:{browse:"page.profile.history.activities.commits.actions.browse",copy:"page.profile.history.activities.commits.actions.copy"},relative_time:"page.profile.history.activities.commits.relative_time"};return s.$$set=r=>{"commit"in r&&i(0,h=r.commit)},[h,f,b,C]}class _e extends ce{constructor(a){super(),me(this,a,be,ve,ie,{commit:0})}}_e.__docgen={version:3,name:"CommitBody.svelte",data:[{keywords:[],visibility:"public",description:"The commit to display.",name:"commit",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{_e as C};

View file

@ -0,0 +1 @@
import{S as ie,c as le,a as ce,d as ee,e as te,m as se,b as ae,t as oe,f as re,g as ne}from"./index-C1iGU3rq.js";import{a as c,t as A,b as T,f as m,h as u,j as I,d as l,k as D,l as n,i as me,m as t,n as P}from"./lifecycle-B8I1Hqtw.js";import{$ as ue,a as fe}from"./runtime-CtT-6RLV.js";import{b as de,F as pe}from"./ZoomOut24-6gteXZNx.js";function ve(s){let a,i,f,b=s[0].name+"",h,C,r,N=s[1](s[3].relative_time,{values:{relativeTime:s[2](new Date(s[0].committed))}})+"",V,J,_,d,y,K,$,S=s[1](s[3].actions.copy)+"",O,L,g,k=s[0].hash.slice(0,8)+"",U,M,B,p,w,Q,E,j=s[1](s[3].actions.browse)+"",F,v;return y=new de({props:{fill:"currentColor"}}),w=new pe({props:{fill:"currentColor"}}),{c(){a=c("div"),i=c("div"),f=c("span"),h=A(b),C=T(),r=c("span"),V=A(N),J=T(),_=c("div"),d=c("button"),ee(y.$$.fragment),K=T(),$=c("span"),O=A(S),L=T(),g=c("button"),U=A(k),M=T(),B=c("div"),p=c("button"),ee(w.$$.fragment),Q=T(),E=c("span"),F=A(j),this.h()},l(e){a=m(e,"DIV",{class:!0});var o=u(a);i=m(o,"DIV",{class:!0});var q=u(i);f=m(q,"SPAN",{class:!0});var R=u(f);h=I(R,b),R.forEach(l),C=D(q),r=m(q,"SPAN",{class:!0});var W=u(r);V=I(W,N),W.forEach(l),q.forEach(l),J=D(o),_=m(o,"DIV",{class:!0});var z=u(_);d=m(z,"BUTTON",{type:!0,class:!0});var G=u(d);te(y.$$.fragment,G),K=D(G),$=m(G,"SPAN",{class:!0});var X=u($);O=I(X,S),X.forEach(l),G.forEach(l),L=D(z),g=m(z,"BUTTON",{type:!0,class:!0});var Y=u(g);U=I(Y,k),Y.forEach(l),z.forEach(l),M=D(o),B=m(o,"DIV",{});var Z=u(B);p=m(Z,"BUTTON",{type:!0,class:!0});var H=u(p);te(w.$$.fragment,H),Q=D(H),E=m(H,"SPAN",{class:!0});var x=u(E);F=I(x,j),x.forEach(l),H.forEach(l),Z.forEach(l),o.forEach(l),this.h()},h(){n(f,"class","text-surface-500"),n(r,"class","text-surface-400"),n(i,"class","flex flex-col flex-1"),n($,"class","sr-only"),n(d,"type","button"),n(d,"class","btn-icon border border-surface-100 rounded bg-white self-start"),n(g,"type","button"),n(g,"class","btn border border-surface-100 rounded bg-white min-w-32 self-start"),n(_,"class","flex"),n(E,"class","sr-only"),n(p,"type","button"),n(p,"class","btn-icon border border-surface-100 rounded bg-white"),n(a,"class","flex w-full justify-between gap-4 border border-surface-100")},m(e,o){me(e,a,o),t(a,i),t(i,f),t(f,h),t(i,C),t(i,r),t(r,V),t(a,J),t(a,_),t(_,d),se(y,d,null),t(d,K),t(d,$),t($,O),t(_,L),t(_,g),t(g,U),t(a,M),t(a,B),t(B,p),se(w,p,null),t(p,Q),t(p,E),t(E,F),v=!0},p(e,[o]){(!v||o&1)&&b!==(b=e[0].name+"")&&P(h,b),(!v||o&7)&&N!==(N=e[1](e[3].relative_time,{values:{relativeTime:e[2](new Date(e[0].committed))}})+"")&&P(V,N),(!v||o&2)&&S!==(S=e[1](e[3].actions.copy)+"")&&P(O,S),(!v||o&1)&&k!==(k=e[0].hash.slice(0,8)+"")&&P(U,k),(!v||o&2)&&j!==(j=e[1](e[3].actions.browse)+"")&&P(F,j)},i(e){v||(ae(y.$$.fragment,e),ae(w.$$.fragment,e),v=!0)},o(e){oe(y.$$.fragment,e),oe(w.$$.fragment,e),v=!1},d(e){e&&l(a),re(y),re(w)}}}function be(s,a,i){let f,b;ne(s,ue,r=>i(1,f=r)),ne(s,fe,r=>i(2,b=r));let{commit:h={name:""}}=a;const C={actions:{browse:"page.profile.history.activities.commits.actions.browse",copy:"page.profile.history.activities.commits.actions.copy"},relative_time:"page.profile.history.activities.commits.relative_time"};return s.$$set=r=>{"commit"in r&&i(0,h=r.commit)},[h,f,b,C]}class _e extends ie{constructor(a){super(),le(this,a,be,ve,ce,{commit:0})}}_e.__docgen={version:3,name:"CommitBody.svelte",data:[{keywords:[],visibility:"public",description:"The commit to display.",name:"commit",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{_e as C};

View file

@ -0,0 +1,9 @@
import{C as r}from"./CommitBody-DmD5flm7.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";const h={title:"Atoms/CommitBody",component:r,tags:["autodocs"]},t={args:{commit:{hash:"abc123def456ghi789jkl0",name:"Added moar tests.",committed:new Date().toISOString()}}};var o,m,e;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
commit: {
hash: 'abc123def456ghi789jkl0',
name: 'Added moar tests.',
committed: new Date().toISOString()
}
}
}`,...(e=(m=t.parameters)==null?void 0:m.docs)==null?void 0:e.source}}};const u=["Plain"];export{t as Plain,u as __namedExportsOrder,h as default};

View file

@ -1,9 +0,0 @@
import{C as e}from"./CommitBody-2KwXCUpd.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";const u={title:"Atoms/CommitBody",component:e,tags:["autodocs"]},t={args:{commit:{hash:"abc123def456ghi789jkl0",name:"Added moar tests.",committed:new Date().toISOString()}}};var o,m,r;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
commit: {
hash: 'abc123def456ghi789jkl0',
name: 'Added moar tests.',
committed: new Date().toISOString()
}
}
}`,...(r=(m=t.parameters)==null?void 0:m.docs)==null?void 0:r.source}}};const S=["Plain"];export{t as Plain,S as __namedExportsOrder,u as default};

View file

@ -0,0 +1 @@
import{S as F,c as H,a as J,d as I,e as R,m as T,b as j,t as q,f as z,g as B}from"./index-C1iGU3rq.js";import{a as C,b as V,t as k,f as D,h as w,d as _,k as A,j as N,l as O,i as K,m as o,n as P}from"./lifecycle-B8I1Hqtw.js";import{a as L,$ as M}from"./runtime-CtT-6RLV.js";import{G as Q,R as U}from"./ZoomOut24-6gteXZNx.js";function W(n){let a,i,m,d,s,l=n[3](new Date(n[0]))+"",c,h,t=n[4](n[5].numberOfCommits,{values:{number:n[1]}})+"",g,S,f,u,E,y,p;return m=new Q({props:{fill:"currentColor"}}),u=new U({props:{fill:"currentColor"}}),{c(){a=C("div"),i=C("span"),I(m.$$.fragment),d=V(),s=C("span"),c=k(l),h=k(" - "),g=k(t),S=V(),f=C("span"),I(u.$$.fragment),E=V(),y=k(n[2]),this.h()},l(e){a=D(e,"DIV",{class:!0});var r=w(a);i=D(r,"SPAN",{class:!0});var G=w(i);R(m.$$.fragment,G),G.forEach(_),d=A(r),s=D(r,"SPAN",{class:!0});var b=w(s);c=N(b,l),h=N(b," - "),g=N(b,t),S=A(b),f=D(b,"SPAN",{class:!0});var v=w(f);R(u.$$.fragment,v),E=A(v),y=N(v,n[2]),v.forEach(_),b.forEach(_),r.forEach(_),this.h()},h(){O(i,"class","bg-white"),O(f,"class","flex gap-2"),O(s,"class","flex gap-6 -ms-3"),O(a,"class","flex gap-6 -ms-6")},m(e,r){K(e,a,r),o(a,i),T(m,i,null),o(a,d),o(a,s),o(s,c),o(s,h),o(s,g),o(s,S),o(s,f),T(u,f,null),o(f,E),o(f,y),p=!0},p(e,[r]){(!p||r&9)&&l!==(l=e[3](new Date(e[0]))+"")&&P(c,l),(!p||r&18)&&t!==(t=e[4](e[5].numberOfCommits,{values:{number:e[1]}})+"")&&P(g,t),(!p||r&4)&&P(y,e[2])},i(e){p||(j(m.$$.fragment,e),j(u.$$.fragment,e),p=!0)},o(e){q(m.$$.fragment,e),q(u.$$.fragment,e),p=!1},d(e){e&&_(a),z(m),z(u)}}}function X(n,a,i){let m,d;B(n,L,t=>i(3,m=t)),B(n,M,t=>i(4,d=t));let{commitDate:s="1970-01-01"}=a,{numberOfCommits:l=0}=a,{repoName:c=""}=a;const h={numberOfCommits:"page.profile.history.activities.commits.number"};return n.$$set=t=>{"commitDate"in t&&i(0,s=t.commitDate),"numberOfCommits"in t&&i(1,l=t.numberOfCommits),"repoName"in t&&i(2,c=t.repoName)},[s,l,c,m,d,h]}class Y extends F{constructor(a){super(),H(this,a,X,W,J,{commitDate:0,numberOfCommits:1,repoName:2})}}Y.__docgen={version:3,name:"CommitDate.svelte",data:[{keywords:[],visibility:"public",description:"The commit date as ISOString.",name:"commitDate",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"1970-01-01"},{keywords:[],visibility:"public",description:"Number of commits on this repo at this date.",name:"numberOfCommits",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:0},{keywords:[],visibility:"public",description:"The name of the repo the commit is associated with.",name:"repoName",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{Y as C};

View file

@ -1 +0,0 @@
import{a as F,c as I}from"./utils-AUSSiI9x.js";import{a as C,b as V,t as k,f as D,h as w,d as _,k as A,j as N,l as O,i as H,m as o,n as P}from"./lifecycle-DZHCWxcx.js";import{S as J,i as K,c as R,b as T,m as j,a as q,t as z,d as B}from"./index-CRVYNev9.js";import{a as L,$ as M}from"./runtime-VldLyBWb.js";import{G as Q,R as U}from"./ZoomOut24-C6SRuWL3.js";function W(n){let a,i,m,d,s,l=n[3](new Date(n[0]))+"",c,h,t=n[4](n[5].numberOfCommits,{values:{number:n[1]}})+"",g,S,f,u,E,y,p;return m=new Q({props:{fill:"currentColor"}}),u=new U({props:{fill:"currentColor"}}),{c(){a=C("div"),i=C("span"),R(m.$$.fragment),d=V(),s=C("span"),c=k(l),h=k(" - "),g=k(t),S=V(),f=C("span"),R(u.$$.fragment),E=V(),y=k(n[2]),this.h()},l(e){a=D(e,"DIV",{class:!0});var r=w(a);i=D(r,"SPAN",{class:!0});var G=w(i);T(m.$$.fragment,G),G.forEach(_),d=A(r),s=D(r,"SPAN",{class:!0});var b=w(s);c=N(b,l),h=N(b," - "),g=N(b,t),S=A(b),f=D(b,"SPAN",{class:!0});var v=w(f);T(u.$$.fragment,v),E=A(v),y=N(v,n[2]),v.forEach(_),b.forEach(_),r.forEach(_),this.h()},h(){O(i,"class","bg-white"),O(f,"class","flex gap-2"),O(s,"class","flex gap-6 -ms-3"),O(a,"class","flex gap-6 -ms-6")},m(e,r){H(e,a,r),o(a,i),j(m,i,null),o(a,d),o(a,s),o(s,c),o(s,h),o(s,g),o(s,S),o(s,f),j(u,f,null),o(f,E),o(f,y),p=!0},p(e,[r]){(!p||r&9)&&l!==(l=e[3](new Date(e[0]))+"")&&P(c,l),(!p||r&18)&&t!==(t=e[4](e[5].numberOfCommits,{values:{number:e[1]}})+"")&&P(g,t),(!p||r&4)&&P(y,e[2])},i(e){p||(q(m.$$.fragment,e),q(u.$$.fragment,e),p=!0)},o(e){z(m.$$.fragment,e),z(u.$$.fragment,e),p=!1},d(e){e&&_(a),B(m),B(u)}}}function X(n,a,i){let m,d;I(n,L,t=>i(3,m=t)),I(n,M,t=>i(4,d=t));let{commitDate:s="1970-01-01"}=a,{numberOfCommits:l=0}=a,{repoName:c=""}=a;const h={numberOfCommits:"page.profile.history.activities.commits.number"};return n.$$set=t=>{"commitDate"in t&&i(0,s=t.commitDate),"numberOfCommits"in t&&i(1,l=t.numberOfCommits),"repoName"in t&&i(2,c=t.repoName)},[s,l,c,m,d,h]}class Y extends J{constructor(a){super(),K(this,a,X,W,F,{commitDate:0,numberOfCommits:1,repoName:2})}}Y.__docgen={version:3,name:"CommitDate.svelte",data:[{keywords:[],visibility:"public",description:"The commit date as ISOString.",name:"commitDate",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"1970-01-01"},{keywords:[],visibility:"public",description:"Number of commits on this repo at this date.",name:"numberOfCommits",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:0},{keywords:[],visibility:"public",description:"The name of the repo the commit is associated with.",name:"repoName",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{Y as C};

View file

@ -1,7 +0,0 @@
import{C as r}from"./CommitDate-D5HQCCzO.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";const D={title:"Atoms/CommitDate",component:r,tags:["autodocs"]},t={args:{commitDate:new Date().toISOString().slice(0,10),numberOfCommits:2,repoName:"Anvil Testing"}};var e,o,m;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: {
commitDate: new Date().toISOString().slice(0, '1970-01-01'.length),
numberOfCommits: 2,
repoName: 'Anvil Testing'
}
}`,...(m=(o=t.parameters)==null?void 0:o.docs)==null?void 0:m.source}}};const C=["Plain"];export{t as Plain,C as __namedExportsOrder,D as default};

View file

@ -0,0 +1,7 @@
import{C as r}from"./CommitDate-BUhi8g1e.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";const u={title:"Atoms/CommitDate",component:r,tags:["autodocs"]},t={args:{commitDate:new Date().toISOString().slice(0,10),numberOfCommits:2,repoName:"Anvil Testing"}};var e,o,m;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: {
commitDate: new Date().toISOString().slice(0, '1970-01-01'.length),
numberOfCommits: 2,
repoName: 'Anvil Testing'
}
}`,...(m=(o=t.parameters)==null?void 0:o.docs)==null?void 0:m.source}}};const D=["Plain"];export{t as Plain,D as __namedExportsOrder,u as default};

View file

@ -1 +0,0 @@
import{b as e}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Copy16",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,n as default};

View file

@ -0,0 +1 @@
import{b as e}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Copy16",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,n as default};

View file

@ -1 +0,0 @@
import{a as b,n as c}from"./utils-AUSSiI9x.js";import{e as m,i as k,d,a as f,t as g,H as v,f as p,h as u,j as S,c as D,l as _,m as y}from"./lifecycle-DZHCWxcx.js";import{S as w,i as C}from"./index-CRVYNev9.js";function h(n){let a,e,t,l,o;return{c(){a=f("span"),e=g("created "),t=f("time"),l=new v(!1),this.h()},l(i){a=p(i,"SPAN",{});var r=u(a);e=S(r,"created "),t=p(r,"TIME",{datetime:!0});var s=u(t);l=D(s,!1),s.forEach(d),r.forEach(d),this.h()},h(){var i;l.a=null,_(t,"datetime",o=(i=n[0])==null?void 0:i.toISOString())},m(i,r){k(i,a,r),y(a,e),y(a,t),l.m(n[1],t)},p(i,r){var s;r&2&&l.p(i[1]),r&1&&o!==(o=(s=i[0])==null?void 0:s.toISOString())&&_(t,"datetime",o)},d(i){i&&d(a)}}}function I(n){let a,e=n[0]&&n[1]&&h(n);return{c(){e&&e.c(),a=m()},l(t){e&&e.l(t),a=m()},m(t,l){e&&e.m(t,l),k(t,a,l)},p(t,[l]){t[0]&&t[1]?e?e.p(t,l):(e=h(t),e.c(),e.m(a.parentNode,a)):e&&(e.d(1),e=null)},i:c,o:c,d(t){t&&d(a),e&&e.d(t)}}}function E(n,a,e){let t,{created_at:l=null}=a,{locale:o="en"}=a;return n.$$set=i=>{"created_at"in i&&e(0,l=i.created_at),"locale"in i&&e(2,o=i.locale)},n.$$.update=()=>{n.$$.dirty&5&&e(1,t=new Intl.DateTimeFormat(o).format(l))},[l,t,o]}class H extends w{constructor(a){super(),C(this,a,E,I,b,{created_at:0,locale:2})}}H.__docgen={version:3,name:"Created.svelte",data:[{keywords:[{name:"type",description:"{Date | null}"}],visibility:"public",description:"Date object for created time.",name:"created_at",kind:"let",static:!1,readonly:!1,type:{kind:"union",text:"Date | null",type:[{kind:"type",text:"Date",type:"Date"},{kind:"type",text:"null",type:"null"}]},defaultValue:null},{keywords:[],visibility:"public",description:"Locale to format the datetime according to.",name:"locale",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"en"}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{H as C};

View file

@ -0,0 +1 @@
import{S as b,c as g,a as v,n as c}from"./index-C1iGU3rq.js";import{e as m,i as k,d,a as f,t as S,H as D,f as u,h as p,j as w,c as C,l as _,m as y}from"./lifecycle-B8I1Hqtw.js";function h(n){let a,e,t,l,o;return{c(){a=f("span"),e=S("created "),t=f("time"),l=new D(!1),this.h()},l(i){a=u(i,"SPAN",{});var s=p(a);e=w(s,"created "),t=u(s,"TIME",{datetime:!0});var r=p(t);l=C(r,!1),r.forEach(d),s.forEach(d),this.h()},h(){var i;l.a=null,_(t,"datetime",o=(i=n[0])==null?void 0:i.toISOString())},m(i,s){k(i,a,s),y(a,e),y(a,t),l.m(n[1],t)},p(i,s){var r;s&2&&l.p(i[1]),s&1&&o!==(o=(r=i[0])==null?void 0:r.toISOString())&&_(t,"datetime",o)},d(i){i&&d(a)}}}function I(n){let a,e=n[0]&&n[1]&&h(n);return{c(){e&&e.c(),a=m()},l(t){e&&e.l(t),a=m()},m(t,l){e&&e.m(t,l),k(t,a,l)},p(t,[l]){t[0]&&t[1]?e?e.p(t,l):(e=h(t),e.c(),e.m(a.parentNode,a)):e&&(e.d(1),e=null)},i:c,o:c,d(t){t&&d(a),e&&e.d(t)}}}function E(n,a,e){let t,{created_at:l=null}=a,{locale:o="en"}=a;return n.$$set=i=>{"created_at"in i&&e(0,l=i.created_at),"locale"in i&&e(2,o=i.locale)},n.$$.update=()=>{n.$$.dirty&5&&e(1,t=new Intl.DateTimeFormat(o).format(l))},[l,t,o]}class H extends b{constructor(a){super(),g(this,a,E,I,v,{created_at:0,locale:2})}}H.__docgen={version:3,name:"Created.svelte",data:[{keywords:[{name:"type",description:"{Date | null}"}],visibility:"public",description:"Date object for created time.",name:"created_at",kind:"let",static:!1,readonly:!1,type:{kind:"union",text:"Date | null",type:[{kind:"type",text:"Date",type:"Date"},{kind:"type",text:"null",type:"null"}]},defaultValue:null},{keywords:[],visibility:"public",description:"Locale to format the datetime according to.",name:"locale",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"en"}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{H as C};

View file

@ -1,6 +0,0 @@
import{C as d}from"./Created-B43aJ4UY.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";const g={title:"Atoms/Created",component:d,tags:["autodocs"],argTypes:{created_at:{control:"date"},locale:{control:"radio",options:["en","de","he"]}}},e={args:{created_at:new Date,locale:"en"}},a={};var r,o,t;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{
args: {
created_at: new Date(),
locale: 'en'
}
}`,...(t=(o=e.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};var s,c,n;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(n=(c=a.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};const u=["Plain","Missing"];export{a as Missing,e as Plain,u as __namedExportsOrder,g as default};

View file

@ -0,0 +1,6 @@
import{C as d}from"./Created-CPEsqk6S.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";const l={title:"Atoms/Created",component:d,tags:["autodocs"],argTypes:{created_at:{control:"date"},locale:{control:"radio",options:["en","de","he"]}}},e={args:{created_at:new Date,locale:"en"}},a={};var r,o,t;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{
args: {
created_at: new Date(),
locale: 'en'
}
}`,...(t=(o=e.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};var s,c,n;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(n=(c=a.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};const g=["Plain","Missing"];export{a as Missing,e as Plain,g as __namedExportsOrder,l as default};

View file

@ -0,0 +1 @@
import{S as H,c as P,a as V,n as w,g as q}from"./index-C1iGU3rq.js";import{a as _,t as y,b as j,e as D,f as b,h as k,j as h,d as c,k as E,l as g,i as u,m,n as N}from"./lifecycle-B8I1Hqtw.js";import{$ as A}from"./runtime-CtT-6RLV.js";function S(l){let e,n,o,p;return{c(){e=_("p"),n=y("("),o=y(l[2]),p=y(")"),this.h()},l(a){e=b(a,"P",{class:!0});var s=k(e);n=h(s,"("),o=h(s,l[2]),p=h(s,")"),s.forEach(c),this.h()},h(){g(e,"class","leading-normal my-1")},m(a,s){u(a,e,s),m(e,n),m(e,o),m(e,p)},p(a,s){s&4&&N(o,a[2])},d(a){a&&c(e)}}}function C(l){let e,n,o=l[3](l[1].heading)+"",p,a,s,r,f,i=l[2]&&S(l);return{c(){e=_("h1"),n=_("span"),p=y(o),a=j(),s=y(l[0]),r=j(),i&&i.c(),f=D(),this.h()},l(t){e=b(t,"H1",{class:!0});var d=k(e);n=b(d,"SPAN",{class:!0});var v=k(n);p=h(v,o),v.forEach(c),a=E(d),s=h(d,l[0]),d.forEach(c),r=E(t),i&&i.l(t),f=D(),this.h()},h(){g(n,"class","sr-only"),g(e,"class","h1 font-semibold text-4xl leading-tight")},m(t,d){u(t,e,d),m(e,n),m(n,p),m(e,a),m(e,s),u(t,r,d),i&&i.m(t,d),u(t,f,d)},p(t,[d]){d&10&&o!==(o=t[3](t[1].heading)+"")&&N(p,o),d&1&&N(s,t[0]),t[2]?i?i.p(t,d):(i=S(t),i.c(),i.m(f.parentNode,f)):i&&(i.d(1),i=null)},i:w,o:w,d(t){t&&(c(e),c(r),c(f)),i&&i.d(t)}}}function T(l,e,n){let o;q(l,A,r=>n(3,o=r));let{displayName:p=""}=e,{i18n:a={heading:""}}=e,{pronoun:s=""}=e;return l.$$set=r=>{"displayName"in r&&n(0,p=r.displayName),"i18n"in r&&n(1,a=r.i18n),"pronoun"in r&&n(2,s=r.pronoun)},[p,a,s,o]}class U extends H{constructor(e){super(),P(this,e,T,C,V,{displayName:0,i18n:1,pronoun:2})}}U.__docgen={version:3,name:"DisplayName.svelte",data:[{keywords:[{name:"type",description:"{string}"}],visibility:"public",description:"Under which name shall the person be known?",name:"displayName",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[{name:"type",description:"{string}"}],visibility:"public",description:"How to correctly address this person.",name:"pronoun",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{U as D};

View file

@ -1 +0,0 @@
import{a as H,n as w,c as P}from"./utils-AUSSiI9x.js";import{a as _,t as y,b as j,e as D,f as b,h as k,j as h,d as m,k as E,l as g,i as u,m as c,n as N}from"./lifecycle-DZHCWxcx.js";import{S as V,i as q}from"./index-CRVYNev9.js";import{$ as A}from"./runtime-VldLyBWb.js";function S(l){let e,n,o,p;return{c(){e=_("p"),n=y("("),o=y(l[2]),p=y(")"),this.h()},l(a){e=b(a,"P",{class:!0});var i=k(e);n=h(i,"("),o=h(i,l[2]),p=h(i,")"),i.forEach(m),this.h()},h(){g(e,"class","leading-normal my-1")},m(a,i){u(a,e,i),c(e,n),c(e,o),c(e,p)},p(a,i){i&4&&N(o,a[2])},d(a){a&&m(e)}}}function C(l){let e,n,o=l[3](l[1].heading)+"",p,a,i,r,f,s=l[2]&&S(l);return{c(){e=_("h1"),n=_("span"),p=y(o),a=j(),i=y(l[0]),r=j(),s&&s.c(),f=D(),this.h()},l(t){e=b(t,"H1",{class:!0});var d=k(e);n=b(d,"SPAN",{class:!0});var v=k(n);p=h(v,o),v.forEach(m),a=E(d),i=h(d,l[0]),d.forEach(m),r=E(t),s&&s.l(t),f=D(),this.h()},h(){g(n,"class","sr-only"),g(e,"class","h1 font-semibold text-4xl leading-tight")},m(t,d){u(t,e,d),c(e,n),c(n,p),c(e,a),c(e,i),u(t,r,d),s&&s.m(t,d),u(t,f,d)},p(t,[d]){d&10&&o!==(o=t[3](t[1].heading)+"")&&N(p,o),d&1&&N(i,t[0]),t[2]?s?s.p(t,d):(s=S(t),s.c(),s.m(f.parentNode,f)):s&&(s.d(1),s=null)},i:w,o:w,d(t){t&&(m(e),m(r),m(f)),s&&s.d(t)}}}function T(l,e,n){let o;P(l,A,r=>n(3,o=r));let{displayName:p=""}=e,{i18n:a={heading:""}}=e,{pronoun:i=""}=e;return l.$$set=r=>{"displayName"in r&&n(0,p=r.displayName),"i18n"in r&&n(1,a=r.i18n),"pronoun"in r&&n(2,i=r.pronoun)},[p,a,i,o]}class U extends V{constructor(e){super(),q(this,e,T,C,H,{displayName:0,i18n:1,pronoun:2})}}U.__docgen={version:3,name:"DisplayName.svelte",data:[{keywords:[{name:"type",description:"{string}"}],visibility:"public",description:"Under which name shall the person be known?",name:"displayName",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[{name:"type",description:"{string}"}],visibility:"public",description:"How to correctly address this person.",name:"pronoun",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{U as D};

View file

@ -1,16 +0,0 @@
import{D as p}from"./DisplayName-BjMqauJp.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const f={title:"Atoms/DisplayName",component:p,tags:["autodocs"]},e={args:{displayName:"Jane Doe",i18n:{heading:"page.profile.heading"},pronoun:"she/her"}},a={args:{displayName:"Jane Doe",i18n:{heading:"page.profile.heading"}}};var o,r,n;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
displayName: 'Jane Doe',
i18n: {
heading: 'page.profile.heading'
},
pronoun: 'she/her'
}
}`,...(n=(r=e.parameters)==null?void 0:r.docs)==null?void 0:n.source}}};var s,i,t;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: {
displayName: 'Jane Doe',
i18n: {
heading: 'page.profile.heading'
}
}
}`,...(t=(i=a.parameters)==null?void 0:i.docs)==null?void 0:t.source}}};const y=["WithPronoun","WithoutPronoun"];export{e as WithPronoun,a as WithoutPronoun,y as __namedExportsOrder,f as default};

View file

@ -0,0 +1,16 @@
import{D as p}from"./DisplayName-BV36pVSi.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const D={title:"Atoms/DisplayName",component:p,tags:["autodocs"]},e={args:{displayName:"Jane Doe",i18n:{heading:"page.profile.heading"},pronoun:"she/her"}},a={args:{displayName:"Jane Doe",i18n:{heading:"page.profile.heading"}}};var o,n,r;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
displayName: 'Jane Doe',
i18n: {
heading: 'page.profile.heading'
},
pronoun: 'she/her'
}
}`,...(r=(n=e.parameters)==null?void 0:n.docs)==null?void 0:r.source}}};var s,i,t;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: {
displayName: 'Jane Doe',
i18n: {
heading: 'page.profile.heading'
}
}
}`,...(t=(i=a.parameters)==null?void 0:i.docs)==null?void 0:t.source}}};const f=["WithPronoun","WithoutPronoun"];export{e as WithPronoun,a as WithoutPronoun,f as __namedExportsOrder,D as default};

View file

@ -1,2 +1,2 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BpesKsEm.js","./index-zNE6cEuh.js","./index-CpLdaVek.js","./iframe-ByhF-tYZ.js","./_commonjsHelpers-Cpj98o6Y.js","./tslib.es6-pJfR_DrR.js","./index-DYADbu9O.js","./index-B4WlZuP_.js","./index-DrFu-skq.js"])))=>i.map(i=>d[i]);
import{_ as d}from"./iframe-ByhF-tYZ.js";import{r as h,R as o,e as i,f as E,A as R,H as x,D as y}from"./index-CpLdaVek.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./index-DYADbu9O.js";import"./index-B4WlZuP_.js";import"./index-DrFu-skq.js";var m={},u=h;m.createRoot=u.createRoot,m.hydrateRoot=u.hydrateRoot;var n=new Map,D=({callback:t,children:e})=>{let r=i.useRef();return i.useLayoutEffect(()=>{r.current!==t&&(r.current=t,t())},[t]),e},v=async(t,e,r)=>{let s=await _(e,r);return new Promise(a=>{s.render(o.createElement(D,{callback:()=>a(null)},t))})},w=(t,e)=>{let r=n.get(t);r&&(r.unmount(),n.delete(t))},_=async(t,e)=>{let r=n.get(t);return r||(r=m.createRoot(t,e),n.set(t,r)),r},f={code:E,a:R,...x},g=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:e}=this.props;e(t)}render(){let{hasError:t}=this.state,{children:e}=this.props;return t?null:o.createElement(o.Fragment,null,e)}},T=class{constructor(){this.render=async(t,e,r)=>{let s={...f,...e==null?void 0:e.components},a=y;return new Promise((p,l)=>{d(async()=>{const{MDXProvider:c}=await import("./index-BpesKsEm.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url).then(({MDXProvider:c})=>v(o.createElement(g,{showException:l,key:Math.random()},o.createElement(c,{components:s},o.createElement(a,{context:t,docsParameter:e}))),r)).then(()=>p())})},this.unmount=t=>{w(t)}}};export{T as DocsRenderer,f as defaultComponents};
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CZ-Hs382.js","./index-Crs22r_a.js","./index-DWkBqs4X.js","./iframe-B8JDgvS5.js","./_commonjsHelpers-Cpj98o6Y.js","./tslib.es6-pJfR_DrR.js","./index-DYADbu9O.js","./index-B4WlZuP_.js","./index-DrFu-skq.js"])))=>i.map(i=>d[i]);
import{_ as d}from"./iframe-B8JDgvS5.js";import{r as h,R as o,e as i,f as E,A as R,H as x,D as y}from"./index-DWkBqs4X.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./index-DYADbu9O.js";import"./index-B4WlZuP_.js";import"./index-DrFu-skq.js";var m={},u=h;m.createRoot=u.createRoot,m.hydrateRoot=u.hydrateRoot;var n=new Map,D=({callback:t,children:e})=>{let r=i.useRef();return i.useLayoutEffect(()=>{r.current!==t&&(r.current=t,t())},[t]),e},v=async(t,e,r)=>{let s=await _(e,r);return new Promise(a=>{s.render(o.createElement(D,{callback:()=>a(null)},t))})},w=(t,e)=>{let r=n.get(t);r&&(r.unmount(),n.delete(t))},_=async(t,e)=>{let r=n.get(t);return r||(r=m.createRoot(t,e),n.set(t,r)),r},f={code:E,a:R,...x},g=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:e}=this.props;e(t)}render(){let{hasError:t}=this.state,{children:e}=this.props;return t?null:o.createElement(o.Fragment,null,e)}},T=class{constructor(){this.render=async(t,e,r)=>{let s={...f,...e==null?void 0:e.components},a=y;return new Promise((p,l)=>{d(async()=>{const{MDXProvider:c}=await import("./index-CZ-Hs382.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url).then(({MDXProvider:c})=>v(o.createElement(g,{showException:l,key:Math.random()},o.createElement(c,{components:s},o.createElement(a,{context:t,docsParameter:e}))),r)).then(()=>p())})},this.unmount=t=>{w(t)}}};export{T as DocsRenderer,f as defaultComponents};

View file

@ -0,0 +1 @@
import{E as t}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const l={title:"Icons/EyeClosed16",component:t,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,s;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(s=(e=o.parameters)==null?void 0:e.docs)==null?void 0:s.source}}};const n=["Plain"];export{o as Plain,n as __namedExportsOrder,l as default};

View file

@ -1 +0,0 @@
import{E as s}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const l={title:"Icons/EyeClosed16",component:s,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const n=["Plain"];export{o as Plain,n as __namedExportsOrder,l as default};

View file

@ -1 +0,0 @@
import{F as a}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const l={title:"Icons/FileDirectory16",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const n=["Plain"];export{o as Plain,n as __namedExportsOrder,l as default};

View file

@ -0,0 +1 @@
import{F as a}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/FileDirectory16",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,p as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{w as d,a as g}from"./chunk-FAE4I7JY-D8NatdpV.js";import{F as u}from"./FileTable-Bz7yFa3M.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./each-DQ20ki7B.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const B={title:"Organisms/FileTable",component:u,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[d,g]},e={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},projects:[]}},a={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},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"}]}]}},t={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},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 n,s,o;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{
import{w as d,a as g}from"./chunk-FAE4I7JY-D8NatdpV.js";import{F as u}from"./FileTable-D4o9kZaQ.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./each-Bn1pG6U6.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const T={title:"Organisms/FileTable",component:u,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[d,g]},e={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},projects:[]}},a={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},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"}]}]}},t={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},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 n,s,o;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{
args: {
i18n: {
heading: {
@ -120,4 +120,4 @@ import{w as d,a as g}from"./chunk-FAE4I7JY-D8NatdpV.js";import{F as u}from"./Fil
}]
}]
}
}`,...(c=(m=t.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const S=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,e as NoProjects,a as SingleProject,S as __namedExportsOrder,B as default};
}`,...(c=(m=t.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const B=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,e as NoProjects,a as SingleProject,B as __namedExportsOrder,T as default};

View file

@ -0,0 +1 @@
import{c as a}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/Filter24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,p as default};

View file

@ -1 +0,0 @@
import{c as a}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const l={title:"Icons/Filter24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const n=["Plain"];export{o as Plain,n as __namedExportsOrder,l as default};

View file

@ -1 +0,0 @@
import{G as e}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/GitCommit24",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var t,r,a;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(a=(r=o.parameters)==null?void 0:r.docs)==null?void 0:a.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,n as default};

View file

@ -0,0 +1 @@
import{G as e}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/GitCommit24",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var t,r,a;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(a=(r=o.parameters)==null?void 0:r.docs)==null?void 0:a.source}}};const n=["Plain"];export{o as Plain,n as __namedExportsOrder,p as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
import{S as d,c as l,a as u,d as f,e as _,m as g,b as $,t as y,f as j}from"./index-C1iGU3rq.js";import{I as P}from"./ImportProject-Dc-O5PKr.js";import"./lifecycle-B8I1Hqtw.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";function b(r){let e,o;return e=new P({props:{data:r[0]}}),{c(){f(e.$$.fragment)},l(t){_(e.$$.fragment,t)},m(t,a){g(e,t,a),o=!0},p(t,[a]){const s={};a&1&&(s.data=t[0]),e.$set(s)},i(t){o||($(e.$$.fragment,t),o=!0)},o(t){y(e.$$.fragment,t),o=!1},d(t){j(e,t)}}}function v(r,e,o){let{data:t={}}=e;return r.$$set=a=>{"data"in a&&o(0,t=a.data)},[t]}class p extends d{constructor(e){super(),l(this,e,v,b,u,{data:0})}}p.__docgen={version:3,name:"ImportProject.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 E={title:"Pages/ImportProject",component:p,tags:["autodocs"]},n={};var i,m,c;n.parameters={...n.parameters,docs:{...(i=n.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(c=(m=n.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const K=["Plain"];export{n as Plain,K as __namedExportsOrder,E as default};

View file

@ -1 +0,0 @@
import{a as d}from"./utils-AUSSiI9x.js";import{S as l,i as u,c as f,b as _,m as g,a as $,t as y,d as j}from"./index-CRVYNev9.js";import{I as P}from"./ImportProject-DmUY4akN.js";import"./lifecycle-DZHCWxcx.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";function b(r){let e,o;return e=new P({props:{data:r[0]}}),{c(){f(e.$$.fragment)},l(t){_(e.$$.fragment,t)},m(t,a){g(e,t,a),o=!0},p(t,[a]){const s={};a&1&&(s.data=t[0]),e.$set(s)},i(t){o||($(e.$$.fragment,t),o=!0)},o(t){y(e.$$.fragment,t),o=!1},d(t){j(e,t)}}}function v(r,e,o){let{data:t={}}=e;return r.$$set=a=>{"data"in a&&o(0,t=a.data)},[t]}class p extends l{constructor(e){super(),u(this,e,v,b,d,{data:0})}}p.__docgen={version:3,name:"ImportProject.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 K={title:"Pages/ImportProject",component:p,tags:["autodocs"]},n={};var i,m,c;n.parameters={...n.parameters,docs:{...(i=n.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(c=(m=n.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const O=["Plain"];export{n as Plain,O as __namedExportsOrder,K as default};

View file

@ -0,0 +1 @@
import{I as m}from"./ImportProject-Dc-O5PKr.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const P={title:"Templates/ImportProject",component:m,tags:["autodocs"]},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const I=["Plain"];export{o as Plain,I as __namedExportsOrder,P as default};

View file

@ -1 +0,0 @@
import{I as m}from"./ImportProject-DmUY4akN.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const I={title:"Templates/ImportProject",component:m,tags:["autodocs"]},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const f=["Plain"];export{o as Plain,f as __namedExportsOrder,I as default};

View file

@ -1 +0,0 @@
import{I as e}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const i={title:"Icons/Info16",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,i as default};

View file

@ -0,0 +1 @@
import{I as e}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/Info16",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,p as default};

View file

@ -1 +0,0 @@
import{a as F,c as I}from"./utils-AUSSiI9x.js";import{a as h,t as L,b as S,f as v,h as _,j as E,d as u,k as D,l as k,i as K,m as d,n as V}from"./lifecycle-DZHCWxcx.js";import{S as P,i as q,c as x,b as A,m as C,a as H,t as z,d as B}from"./index-CRVYNev9.js";import{$ as G}from"./runtime-VldLyBWb.js";import{L as J}from"./LoginForm-Bv1hGvxu.js";function M(o){let s,e,l,r=o[3]("page.login.heading")+"",c,g,m,a=o[3]("page.login.intro")+"",b,y,f,p;return f=new J({props:{data:o[0],form:o[1],i18n:o[4],sb:o[2]}}),{c(){s=h("div"),e=h("div"),l=h("h1"),c=L(r),g=S(),m=h("p"),b=L(a),y=S(),x(f.$$.fragment),this.h()},l(t){s=v(t,"DIV",{class:!0});var n=_(s);e=v(n,"DIV",{class:!0});var i=_(e);l=v(i,"H1",{class:!0});var w=_(l);c=E(w,r),w.forEach(u),g=D(i),m=v(i,"P",{});var j=_(m);b=E(j,a),j.forEach(u),y=D(i),A(f.$$.fragment,i),i.forEach(u),n.forEach(u),this.h()},h(){k(l,"class","h1 font-bold"),k(e,"class","space-y-10"),k(s,"class","w-full max-w-md h-full mx-auto flex justify-center items-center py-10")},m(t,n){K(t,s,n),d(s,e),d(e,l),d(l,c),d(e,g),d(e,m),d(m,b),d(e,y),C(f,e,null),p=!0},p(t,[n]){(!p||n&8)&&r!==(r=t[3]("page.login.heading")+"")&&V(c,r),(!p||n&8)&&a!==(a=t[3]("page.login.intro")+"")&&V(b,a);const i={};n&1&&(i.data=t[0]),n&2&&(i.form=t[1]),n&4&&(i.sb=t[2]),f.$set(i)},i(t){p||(H(f.$$.fragment,t),p=!0)},o(t){z(f.$$.fragment,t),p=!1},d(t){t&&u(s),B(f)}}}function N(o,s,e){let l;I(o,G,a=>e(3,l=a));let{data:r={servers:{}}}=s,{form:c={servers:{}}}=s;const g={fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}};let{sb:m=""}=s;return o.$$set=a=>{"data"in a&&e(0,r=a.data),"form"in a&&e(1,c=a.form),"sb"in a&&e(2,m=a.sb)},[r,c,m,l,g]}class O extends P{constructor(s){super(),q(this,s,N,M,F,{data:0,form:1,sb:2})}}O.__docgen={version:3,name:"Login.svelte",data:[{keywords:[],visibility:"public",description:"PageData provided by SvelteKit.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Form handling by SvelteKit",name:"form",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Allow for linking stories in Storybook.",name:"sb",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{O as L};

1
assets/Login-D6RYQYaZ.js Normal file
View file

@ -0,0 +1 @@
import{S as F,c as I,a as K,d as P,e as q,m as x,b as A,t as C,f as H,g as z}from"./index-C1iGU3rq.js";import{a as h,t as L,b as S,f as v,h as _,j as E,d as u,k as D,l as k,i as B,m as c,n as V}from"./lifecycle-B8I1Hqtw.js";import{$ as G}from"./runtime-CtT-6RLV.js";import{L as J}from"./LoginForm-DAZxdsgw.js";function M(n){let s,e,l,r=n[3]("page.login.heading")+"",d,g,f,a=n[3]("page.login.intro")+"",b,y,m,p;return m=new J({props:{data:n[0],form:n[1],i18n:n[4],sb:n[2]}}),{c(){s=h("div"),e=h("div"),l=h("h1"),d=L(r),g=S(),f=h("p"),b=L(a),y=S(),P(m.$$.fragment),this.h()},l(t){s=v(t,"DIV",{class:!0});var o=_(s);e=v(o,"DIV",{class:!0});var i=_(e);l=v(i,"H1",{class:!0});var w=_(l);d=E(w,r),w.forEach(u),g=D(i),f=v(i,"P",{});var j=_(f);b=E(j,a),j.forEach(u),y=D(i),q(m.$$.fragment,i),i.forEach(u),o.forEach(u),this.h()},h(){k(l,"class","h1 font-bold"),k(e,"class","space-y-10"),k(s,"class","w-full max-w-md h-full mx-auto flex justify-center items-center py-10")},m(t,o){B(t,s,o),c(s,e),c(e,l),c(l,d),c(e,g),c(e,f),c(f,b),c(e,y),x(m,e,null),p=!0},p(t,[o]){(!p||o&8)&&r!==(r=t[3]("page.login.heading")+"")&&V(d,r),(!p||o&8)&&a!==(a=t[3]("page.login.intro")+"")&&V(b,a);const i={};o&1&&(i.data=t[0]),o&2&&(i.form=t[1]),o&4&&(i.sb=t[2]),m.$set(i)},i(t){p||(A(m.$$.fragment,t),p=!0)},o(t){C(m.$$.fragment,t),p=!1},d(t){t&&u(s),H(m)}}}function N(n,s,e){let l;z(n,G,a=>e(3,l=a));let{data:r={servers:{}}}=s,{form:d={servers:{}}}=s;const g={fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}};let{sb:f=""}=s;return n.$$set=a=>{"data"in a&&e(0,r=a.data),"form"in a&&e(1,d=a.form),"sb"in a&&e(2,f=a.sb)},[r,d,f,l,g]}class O extends F{constructor(s){super(),I(this,s,N,M,K,{data:0,form:1,sb:2})}}O.__docgen={version:3,name:"Login.svelte",data:[{keywords:[],visibility:"public",description:"PageData provided by SvelteKit.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Form handling by SvelteKit",name:"form",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Allow for linking stories in Storybook.",name:"sb",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{O as L};

View file

@ -1,34 +0,0 @@
import{a as b}from"./utils-AUSSiI9x.js";import{S as j,i as k,c as x,b as S,m as L,a as h,t as w,d as I}from"./index-CRVYNev9.js";import{L as P}from"./Login-Bj2i0qoL.js";import"./lifecycle-DZHCWxcx.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./LoginForm-Bv1hGvxu.js";import"./each-DQ20ki7B.js";function D(o){let t,n;return t=new P({props:{data:o[0],form:o[1]}}),{c(){x(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,r){L(t,e,r),n=!0},p(e,[r]){const a={};r&1&&(a.data=e[0]),r&2&&(a.form=e[1]),t.$set(a)},i(e){n||(h(t.$$.fragment,e),n=!0)},o(e){w(t.$$.fragment,e),n=!1},d(e){I(t,e)}}}function F(o,t,n){let{data:e={servers:{}}}=t,{form:r=null}=t;return o.$$set=a=>{"data"in a&&n(0,e=a.data),"form"in a&&n(1,r=a.form)},[e,r]}class _ extends j{constructor(t){super(),k(this,t,F,D,b,{data:0,form:1})}}_.__docgen={version:3,name:"Login.svelte",data:[{keywords:[],visibility:"public",description:"PageData provided by SvelteKit.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Form handling by SvelteKit",name:"form",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"},defaultValue:null}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const A={title:"Pages/Login",component:_,tags:["autodocs"],argTypes:{form:{controls:"object"}}},s={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},i={args:{data:{servers:{}},form:{account:"",incorrect:!1,missing:!0}}},c={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var m,l,d;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: 'jane.doe@domain.example',
incorrect: false,
missing: false
}
}
}`,...(d=(l=s.parameters)==null?void 0:l.docs)==null?void 0:d.source}}};var p,f,u;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: '',
incorrect: false,
missing: true
}
}
}`,...(u=(f=i.parameters)==null?void 0:f.docs)==null?void 0:u.source}}};var g,v,y;c.parameters={...c.parameters,docs:{...(g=c.parameters)==null?void 0:g.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: 'jane.doe@domain.example',
incorrect: true,
missing: false
}
}
}`,...(y=(v=c.parameters)==null?void 0:v.docs)==null?void 0:y.source}}};const B=["Plain","MissingInput","InvalidFormData"];export{c as InvalidFormData,i as MissingInput,s as Plain,B as __namedExportsOrder,A as default};

View file

@ -0,0 +1,34 @@
import{S as b,c as j,a as k,d as x,e as S,m as L,b as h,t as w,f as I}from"./index-C1iGU3rq.js";import{L as P}from"./Login-D6RYQYaZ.js";import"./lifecycle-B8I1Hqtw.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./LoginForm-DAZxdsgw.js";import"./each-Bn1pG6U6.js";function D(o){let t,n;return t=new P({props:{data:o[0],form:o[1]}}),{c(){x(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,r){L(t,e,r),n=!0},p(e,[r]){const a={};r&1&&(a.data=e[0]),r&2&&(a.form=e[1]),t.$set(a)},i(e){n||(h(t.$$.fragment,e),n=!0)},o(e){w(t.$$.fragment,e),n=!1},d(e){I(t,e)}}}function F(o,t,n){let{data:e={servers:{}}}=t,{form:r=null}=t;return o.$$set=a=>{"data"in a&&n(0,e=a.data),"form"in a&&n(1,r=a.form)},[e,r]}class _ extends b{constructor(t){super(),j(this,t,F,D,k,{data:0,form:1})}}_.__docgen={version:3,name:"Login.svelte",data:[{keywords:[],visibility:"public",description:"PageData provided by SvelteKit.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Form handling by SvelteKit",name:"form",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"},defaultValue:null}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const z={title:"Pages/Login",component:_,tags:["autodocs"],argTypes:{form:{controls:"object"}}},s={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},i={args:{data:{servers:{}},form:{account:"",incorrect:!1,missing:!0}}},c={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var m,l,d;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: 'jane.doe@domain.example',
incorrect: false,
missing: false
}
}
}`,...(d=(l=s.parameters)==null?void 0:l.docs)==null?void 0:d.source}}};var p,f,u;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: '',
incorrect: false,
missing: true
}
}
}`,...(u=(f=i.parameters)==null?void 0:f.docs)==null?void 0:u.source}}};var g,v,y;c.parameters={...c.parameters,docs:{...(g=c.parameters)==null?void 0:g.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: 'jane.doe@domain.example',
incorrect: true,
missing: false
}
}
}`,...(y=(v=c.parameters)==null?void 0:v.docs)==null?void 0:y.source}}};const A=["Plain","MissingInput","InvalidFormData"];export{c as InvalidFormData,i as MissingInput,s as Plain,A as __namedExportsOrder,z as default};

View file

@ -1,34 +0,0 @@
import{w as l,a as u}from"./chunk-FAE4I7JY-D8NatdpV.js";import{L as g}from"./Login-Bj2i0qoL.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./LoginForm-Bv1hGvxu.js";import"./each-DQ20ki7B.js";const M={title:"Templates/Login",component:g,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},form:{controls:"object"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[l,u]},r={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},a={args:{data:{servers:{}},form:{account:"",incorrect:!1,missing:!0}}},e={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var o,s,n;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: 'jane.doe@domain.example',
incorrect: false,
missing: false
}
}
}`,...(n=(s=r.parameters)==null?void 0:s.docs)==null?void 0:n.source}}};var t,i,m;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: '',
incorrect: false,
missing: true
}
}
}`,...(m=(i=a.parameters)==null?void 0:i.docs)==null?void 0:m.source}}};var c,p,d;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: 'jane.doe@domain.example',
incorrect: true,
missing: false
}
}
}`,...(d=(p=e.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};const _=["Plain","MissingInput","InvalidFormData"];export{e as InvalidFormData,a as MissingInput,r as Plain,_ as __namedExportsOrder,M as default};

View file

@ -0,0 +1,34 @@
import{w as l,a as u}from"./chunk-FAE4I7JY-D8NatdpV.js";import{L as g}from"./Login-D6RYQYaZ.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./LoginForm-DAZxdsgw.js";import"./each-Bn1pG6U6.js";const F={title:"Templates/Login",component:g,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},form:{controls:"object"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[l,u]},r={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},a={args:{data:{servers:{}},form:{account:"",incorrect:!1,missing:!0}}},e={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var s,o,n;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: 'jane.doe@domain.example',
incorrect: false,
missing: false
}
}
}`,...(n=(o=r.parameters)==null?void 0:o.docs)==null?void 0:n.source}}};var t,i,m;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: '',
incorrect: false,
missing: true
}
}
}`,...(m=(i=a.parameters)==null?void 0:i.docs)==null?void 0:m.source}}};var c,p,d;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{
args: {
data: {
servers: {}
},
form: {
account: 'jane.doe@domain.example',
incorrect: true,
missing: false
}
}
}`,...(d=(p=e.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};const M=["Plain","MissingInput","InvalidFormData"];export{e as InvalidFormData,a as MissingInput,r as Plain,M as __namedExportsOrder,F as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{w as f,a as c}from"./chunk-FAE4I7JY-D8NatdpV.js";import{L as d}from"./LoginForm-Bv1hGvxu.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./each-DQ20ki7B.js";import"./index-CRVYNev9.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const D={title:"Organisms/LoginForm",component:d,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[f,c]},e={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}},a={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"",incorrect:!1,missing:!0},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}},r={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}};var o,n,i;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{
import{w as f,a as c}from"./chunk-FAE4I7JY-D8NatdpV.js";import{L as d}from"./LoginForm-DAZxdsgw.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./each-Bn1pG6U6.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const T={title:"Organisms/LoginForm",component:d,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[f,c]},e={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}},a={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"",incorrect:!1,missing:!0},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}},r={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}};var o,n,s;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
data: {
servers: {
@ -33,7 +33,7 @@ import{w as f,a as c}from"./chunk-FAE4I7JY-D8NatdpV.js";import{L as d}from"./Log
}
}
}
}`,...(i=(n=e.parameters)==null?void 0:n.docs)==null?void 0:i.source}}};var s,l,t;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:`{
}`,...(s=(n=e.parameters)==null?void 0:n.docs)==null?void 0:s.source}}};var i,l,t;a.parameters={...a.parameters,docs:{...(i=a.parameters)==null?void 0:i.docs,source:{originalSource:`{
args: {
data: {
servers: {
@ -103,4 +103,4 @@ import{w as f,a as c}from"./chunk-FAE4I7JY-D8NatdpV.js";import{L as d}from"./Log
}
}
}
}`,...(p=(g=r.parameters)==null?void 0:g.docs)==null?void 0:p.source}}};const M=["Plain","MissingInput","InvalidFormData"];export{r as InvalidFormData,a as MissingInput,e as Plain,M as __namedExportsOrder,D as default};
}`,...(p=(g=r.parameters)==null?void 0:g.docs)==null?void 0:p.source}}};const D=["Plain","MissingInput","InvalidFormData"];export{r as InvalidFormData,a as MissingInput,e as Plain,D as __namedExportsOrder,T as default};

View file

@ -0,0 +1 @@
import{S as h,c as y,a as g,d as x,e as v,m as $,b as k,t as w,f as j,g as M}from"./index-C1iGU3rq.js";import{a as d,t as T,b as F,f as _,h as b,j as C,k as E,d as f,l as u,i as O,m as p,n as S}from"./lifecycle-B8I1Hqtw.js";import{f as q}from"./ZoomOut24-6gteXZNx.js";import{$ as B}from"./runtime-CtT-6RLV.js";function D(i){let s,t,n=i[1](i[0].submit)+"",r,a,o,c;return o=new q({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=d("form"),t=d("button"),r=T(n),a=F(),x(o.$$.fragment),this.h()},l(e){s=_(e,"FORM",{class:!0});var l=b(s);t=_(l,"BUTTON",{type:!0,class:!0});var m=b(t);r=C(m,n),a=E(m),v(o.$$.fragment,m),m.forEach(f),l.forEach(f),this.h()},h(){u(t,"type","submit"),u(t,"class","flex submit text-surface-400"),u(s,"class","bg-surface-100 h-8 flex flex-col justify-center px-4")},m(e,l){O(e,s,l),p(s,t),p(t,r),p(t,a),$(o,t,null),c=!0},p(e,[l]){(!c||l&3)&&n!==(n=e[1](e[0].submit)+"")&&S(r,n)},i(e){c||(k(o.$$.fragment,e),c=!0)},o(e){w(o.$$.fragment,e),c=!1},d(e){e&&f(s),j(o)}}}function N(i,s,t){let n;M(i,B,a=>t(1,n=a));let{i18n:r={submit:""}}=s;return i.$$set=a=>{"i18n"in a&&t(0,r=a.i18n)},[r,n]}class R extends h{constructor(s){super(),y(this,s,N,D,g,{i18n:0})}}R.__docgen={version:3,name:"MoreFilters.svelte",data:[{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{R as M};

View file

@ -1 +0,0 @@
import{a as h,c as y}from"./utils-AUSSiI9x.js";import{a as d,t as g,b as x,f as _,h as b,j as v,k as $,d as f,l as u,i as k,m as p,n as w}from"./lifecycle-DZHCWxcx.js";import{S as j,i as M,c as T,b as F,m as C,a as E,t as O,d as S}from"./index-CRVYNev9.js";import{f as q}from"./ZoomOut24-C6SRuWL3.js";import{$ as B}from"./runtime-VldLyBWb.js";function D(i){let s,t,n=i[1](i[0].submit)+"",r,a,o,c;return o=new q({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=d("form"),t=d("button"),r=g(n),a=x(),T(o.$$.fragment),this.h()},l(e){s=_(e,"FORM",{class:!0});var l=b(s);t=_(l,"BUTTON",{type:!0,class:!0});var m=b(t);r=v(m,n),a=$(m),F(o.$$.fragment,m),m.forEach(f),l.forEach(f),this.h()},h(){u(t,"type","submit"),u(t,"class","flex submit text-surface-400"),u(s,"class","bg-surface-100 h-8 flex flex-col justify-center px-4")},m(e,l){k(e,s,l),p(s,t),p(t,r),p(t,a),C(o,t,null),c=!0},p(e,[l]){(!c||l&3)&&n!==(n=e[1](e[0].submit)+"")&&w(r,n)},i(e){c||(E(o.$$.fragment,e),c=!0)},o(e){O(o.$$.fragment,e),c=!1},d(e){e&&f(s),S(o)}}}function N(i,s,t){let n;y(i,B,a=>t(1,n=a));let{i18n:r={submit:""}}=s;return i.$$set=a=>{"i18n"in a&&t(0,r=a.i18n)},[r,n]}class R extends j{constructor(s){super(),M(this,s,N,D,h,{i18n:0})}}R.__docgen={version:3,name:"MoreFilters.svelte",data:[{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{R as M};

View file

@ -0,0 +1,7 @@
import{M as s}from"./MoreFilters-5LvYrxeP.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const f={title:"Molecules/MoreFilters",component:s,tags:["autodocs"]},r={args:{i18n:{submit:"page.projects.form.fields.more_filters.submit"}}};var o,t,e;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
i18n: {
submit: 'page.projects.form.fields.more_filters.submit'
}
}
}`,...(e=(t=r.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const g=["Plain"];export{r as Plain,g as __namedExportsOrder,f as default};

View file

@ -1,7 +0,0 @@
import{M as s}from"./MoreFilters-CzCGPBZ1.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const g={title:"Molecules/MoreFilters",component:s,tags:["autodocs"]},r={args:{i18n:{submit:"page.projects.form.fields.more_filters.submit"}}};var o,t,e;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
i18n: {
submit: 'page.projects.form.fields.more_filters.submit'
}
}
}`,...(e=(t=r.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const b=["Plain"];export{r as Plain,b as __namedExportsOrder,g as default};

View file

@ -0,0 +1 @@
import{N as e}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/NorthStar24",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,n as default};

View file

@ -1 +0,0 @@
import{N as e}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/NorthStar24",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,n as default};

View file

@ -1 +0,0 @@
import{a as ft,c as ct}from"./utils-AUSSiI9x.js";import{a as l,b as o,t as tt,f as i,h as J,k as f,j as et,d as N,p,l as n,i as ut,m as a,n as at}from"./lifecycle-DZHCWxcx.js";import{S as ht,i as pt,c as nt,b as st,m as rt,a as lt,t as ot,d as it}from"./index-CRVYNev9.js";import{C as mt,a as xt}from"./ZoomOut24-C6SRuWL3.js";import{$ as vt}from"./runtime-VldLyBWb.js";function dt(m){let t,r,c,b,u=m[1](m[0].previous)+"",P,L,x,K="1",R,v,M="2",T,d,O="3",V,_,Q="4",z,C,U="5",B,g,W="6",D,k,X="…",F,y,Y="17",G,$,Z="18",H,h,j=m[1](m[0].next)+"",q,I,A,w;return c=new mt({props:{fill:"currentColor"}}),A=new xt({props:{fill:"currentColor"}}),{c(){t=l("nav"),r=l("a"),nt(c.$$.fragment),b=o(),P=tt(u),L=o(),x=l("a"),x.textContent=K,R=o(),v=l("a"),v.textContent=M,T=o(),d=l("a"),d.textContent=O,V=o(),_=l("a"),_.textContent=Q,z=o(),C=l("a"),C.textContent=U,B=o(),g=l("a"),g.textContent=W,D=o(),k=l("span"),k.textContent=X,F=o(),y=l("a"),y.textContent=Y,G=o(),$=l("a"),$.textContent=Z,H=o(),h=l("a"),q=tt(j),I=o(),nt(A.$$.fragment),this.h()},l(s){t=i(s,"NAV",{class:!0});var e=J(t);r=i(e,"A",{href:!0,class:!0});var E=J(r);st(c.$$.fragment,E),b=f(E),P=et(E,u),E.forEach(N),L=f(e),x=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(x)!=="svelte-ak6ox3"&&(x.textContent=K),R=f(e),v=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(v)!=="svelte-10r4717"&&(v.textContent=M),T=f(e),d=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(d)!=="svelte-13dre0n"&&(d.textContent=O),V=f(e),_=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(_)!=="svelte-v6bi1q"&&(_.textContent=Q),z=f(e),C=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(C)!=="svelte-1c7ylf3"&&(C.textContent=U),B=f(e),g=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(g)!=="svelte-fk307f"&&(g.textContent=W),D=f(e),k=i(e,"SPAN",{"data-svelte-h":!0}),p(k)!=="svelte-fw8tqc"&&(k.textContent=X),F=f(e),y=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(y)!=="svelte-ypj5a3"&&(y.textContent=Y),G=f(e),$=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p($)!=="svelte-ludw9t"&&($.textContent=Z),H=f(e),h=i(e,"A",{href:!0,class:!0});var S=J(h);q=et(S,j),I=f(S),st(A.$$.fragment,S),S.forEach(N),e.forEach(N),this.h()},h(){n(r,"href","?page=-1"),n(r,"class","flex gap-2 text-primary-500"),n(x,"href","?page=1"),n(x,"class","text-surface-500"),n(v,"href","?page=2"),n(v,"class","text-surface-500"),n(d,"href","?page=3"),n(d,"class","text-surface-500"),n(_,"href","?page=4"),n(_,"class","bg-primary-500 text-white rounded h-8 w-8 flex justify-center items-center"),n(C,"href","?page=5"),n(C,"class","text-surface-500"),n(g,"href","?page=6"),n(g,"class","text-surface-500"),n(y,"href","?page=17"),n(y,"class","text-surface-500"),n($,"href","?page=18"),n($,"class","text-surface-500"),n(h,"href","?page=+1"),n(h,"class","flex gap-2 text-primary-500"),n(t,"class","flex gap-4 items-center justify-center")},m(s,e){ut(s,t,e),a(t,r),rt(c,r,null),a(r,b),a(r,P),a(t,L),a(t,x),a(t,R),a(t,v),a(t,T),a(t,d),a(t,V),a(t,_),a(t,z),a(t,C),a(t,B),a(t,g),a(t,D),a(t,k),a(t,F),a(t,y),a(t,G),a(t,$),a(t,H),a(t,h),a(h,q),a(h,I),rt(A,h,null),w=!0},p(s,[e]){(!w||e&3)&&u!==(u=s[1](s[0].previous)+"")&&at(P,u),(!w||e&3)&&j!==(j=s[1](s[0].next)+"")&&at(q,j)},i(s){w||(lt(c.$$.fragment,s),lt(A.$$.fragment,s),w=!0)},o(s){ot(c.$$.fragment,s),ot(A.$$.fragment,s),w=!1},d(s){s&&N(t),it(c),it(A)}}}function _t(m,t,r){let c;ct(m,vt,u=>r(1,c=u));let{i18n:b={next:"",previous:""}}=t;return m.$$set=u=>{"i18n"in u&&r(0,b=u.i18n)},[b,c]}class Ct extends ht{constructor(t){super(),pt(this,t,_t,dt,ft,{i18n:0})}}Ct.__docgen={version:3,name:"Pagination.svelte",data:[{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{Ct as P};

View file

@ -0,0 +1 @@
import{S as it,c as ct,a as ut,d as tt,e as et,m as at,b as nt,t as st,f as rt,g as ht}from"./index-C1iGU3rq.js";import{a as l,b as o,t as lt,f,h as J,k as i,j as ot,d as N,p,l as n,i as pt,m as a,n as ft}from"./lifecycle-B8I1Hqtw.js";import{C as mt,a as xt}from"./ZoomOut24-6gteXZNx.js";import{$ as vt}from"./runtime-CtT-6RLV.js";function dt(m){let t,r,c,b,u=m[1](m[0].previous)+"",P,L,x,K="1",R,v,M="2",T,d,O="3",V,_,Q="4",z,C,U="5",B,g,W="6",D,k,X="…",F,y,Y="17",G,$,Z="18",H,h,j=m[1](m[0].next)+"",q,I,A,w;return c=new mt({props:{fill:"currentColor"}}),A=new xt({props:{fill:"currentColor"}}),{c(){t=l("nav"),r=l("a"),tt(c.$$.fragment),b=o(),P=lt(u),L=o(),x=l("a"),x.textContent=K,R=o(),v=l("a"),v.textContent=M,T=o(),d=l("a"),d.textContent=O,V=o(),_=l("a"),_.textContent=Q,z=o(),C=l("a"),C.textContent=U,B=o(),g=l("a"),g.textContent=W,D=o(),k=l("span"),k.textContent=X,F=o(),y=l("a"),y.textContent=Y,G=o(),$=l("a"),$.textContent=Z,H=o(),h=l("a"),q=lt(j),I=o(),tt(A.$$.fragment),this.h()},l(s){t=f(s,"NAV",{class:!0});var e=J(t);r=f(e,"A",{href:!0,class:!0});var E=J(r);et(c.$$.fragment,E),b=i(E),P=ot(E,u),E.forEach(N),L=i(e),x=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(x)!=="svelte-ak6ox3"&&(x.textContent=K),R=i(e),v=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(v)!=="svelte-10r4717"&&(v.textContent=M),T=i(e),d=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(d)!=="svelte-13dre0n"&&(d.textContent=O),V=i(e),_=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(_)!=="svelte-v6bi1q"&&(_.textContent=Q),z=i(e),C=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(C)!=="svelte-1c7ylf3"&&(C.textContent=U),B=i(e),g=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(g)!=="svelte-fk307f"&&(g.textContent=W),D=i(e),k=f(e,"SPAN",{"data-svelte-h":!0}),p(k)!=="svelte-fw8tqc"&&(k.textContent=X),F=i(e),y=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(y)!=="svelte-ypj5a3"&&(y.textContent=Y),G=i(e),$=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p($)!=="svelte-ludw9t"&&($.textContent=Z),H=i(e),h=f(e,"A",{href:!0,class:!0});var S=J(h);q=ot(S,j),I=i(S),et(A.$$.fragment,S),S.forEach(N),e.forEach(N),this.h()},h(){n(r,"href","?page=-1"),n(r,"class","flex gap-2 text-primary-500"),n(x,"href","?page=1"),n(x,"class","text-surface-500"),n(v,"href","?page=2"),n(v,"class","text-surface-500"),n(d,"href","?page=3"),n(d,"class","text-surface-500"),n(_,"href","?page=4"),n(_,"class","bg-primary-500 text-white rounded h-8 w-8 flex justify-center items-center"),n(C,"href","?page=5"),n(C,"class","text-surface-500"),n(g,"href","?page=6"),n(g,"class","text-surface-500"),n(y,"href","?page=17"),n(y,"class","text-surface-500"),n($,"href","?page=18"),n($,"class","text-surface-500"),n(h,"href","?page=+1"),n(h,"class","flex gap-2 text-primary-500"),n(t,"class","flex gap-4 items-center justify-center")},m(s,e){pt(s,t,e),a(t,r),at(c,r,null),a(r,b),a(r,P),a(t,L),a(t,x),a(t,R),a(t,v),a(t,T),a(t,d),a(t,V),a(t,_),a(t,z),a(t,C),a(t,B),a(t,g),a(t,D),a(t,k),a(t,F),a(t,y),a(t,G),a(t,$),a(t,H),a(t,h),a(h,q),a(h,I),at(A,h,null),w=!0},p(s,[e]){(!w||e&3)&&u!==(u=s[1](s[0].previous)+"")&&ft(P,u),(!w||e&3)&&j!==(j=s[1](s[0].next)+"")&&ft(q,j)},i(s){w||(nt(c.$$.fragment,s),nt(A.$$.fragment,s),w=!0)},o(s){st(c.$$.fragment,s),st(A.$$.fragment,s),w=!1},d(s){s&&N(t),rt(c),rt(A)}}}function _t(m,t,r){let c;ht(m,vt,u=>r(1,c=u));let{i18n:b={next:"",previous:""}}=t;return m.$$set=u=>{"i18n"in u&&r(0,b=u.i18n)},[b,c]}class Ct extends it{constructor(t){super(),ct(this,t,_t,dt,ut,{i18n:0})}}Ct.__docgen={version:3,name:"Pagination.svelte",data:[{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{Ct as P};

View file

@ -1,8 +0,0 @@
import{P as a}from"./Pagination-BgzZ8plt.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const l={title:"Molecules/Pagination",component:a,tags:["autodocs"]},o={args:{i18n:{next:"page.projects.nav.next",previous:"page.projects.nav.previous"}}};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{
args: {
i18n: {
next: 'page.projects.nav.next',
previous: 'page.projects.nav.previous'
}
}
}`,...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const x=["Plain"];export{o as Plain,x as __namedExportsOrder,l as default};

View file

@ -0,0 +1,8 @@
import{P as a}from"./Pagination-Xwph4hqa.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const d={title:"Molecules/Pagination",component:a,tags:["autodocs"]},o={args:{i18n:{next:"page.projects.nav.next",previous:"page.projects.nav.previous"}}};var e,r,t;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: {
i18n: {
next: 'page.projects.nav.next',
previous: 'page.projects.nav.previous'
}
}
}`,...(t=(r=o.parameters)==null?void 0:r.docs)==null?void 0:t.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,d as default};

View file

@ -1 +0,0 @@
import{P as s}from"./ZoomOut24-C6SRuWL3.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./spread-CgU5AtxT.js";const i={title:"Icons/Person24",component:s,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,i as default};

View file

@ -0,0 +1 @@
import{P as t}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/Person24",component:t,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,s;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(s=(e=o.parameters)==null?void 0:e.docs)==null?void 0:s.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,p as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,19 @@
import{w as n,a as i}from"./chunk-FAE4I7JY-D8NatdpV.js";import{P as m}from"./Profile-C0FqJsF0.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./each-Bn1pG6U6.js";import"./XPro-h1IbUAAk.js";import"./index-BN_smRix.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";import"./runtime-CtT-6RLV.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-6gteXZNx.js";import"./Avatar-BYwvqjbT.js";import"./BlockOrReport-CnZHEJBe.js";import"./Created-CPEsqk6S.js";import"./DisplayName-BV36pVSi.js";import"./History-BpXj6QiL.js";import"./CommitBody-DmD5flm7.js";import"./CommitDate-BUhi8g1e.js";import"./Project-D67vBS_-.js";const J={title:"Templates/Profile",component:m,tags:["autodocs"],args:{sb:"Templates/ImportProject"},argTypes:{onClick:{action:"click"},data:{controls:"object"},sb:{control:"radio",options:["Templates/ImportProject"]}},decorators:[n,i]},t={args:{data:{user:{avatar:"",created_at:new Date,created_at_formatted:function(){const r="en-US";return new Intl.DateTimeFormat(r).format(new Date)}(),created_with:"Anvil",display_name:"Jane Doe",instance:"domain.example",pronoun:"she/her",username:"jane_doe"}}}};var e,a,o;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: {
data: {
user: {
avatar: '',
created_at: new Date(),
created_at_formatted: function () {
const locale = 'en-US';
return new Intl.DateTimeFormat(locale).format(new Date());
}(),
created_with: 'Anvil',
display_name: 'Jane Doe',
instance: 'domain.example',
pronoun: 'she/her',
username: 'jane_doe'
}
}
}
}`,...(o=(a=t.parameters)==null?void 0:a.docs)==null?void 0:o.source}}};const U=["Plain"];export{t as Plain,U as __namedExportsOrder,J as default};

View file

@ -1,19 +0,0 @@
import{w as n,a as i}from"./chunk-FAE4I7JY-D8NatdpV.js";import{P as m}from"./Profile-SoaxDVu-.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./each-DQ20ki7B.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";import"./Avatar-9JGi83Tj.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-BqNeaGzt.js";import"./Created-B43aJ4UY.js";import"./DisplayName-BjMqauJp.js";import"./History-BQ5-hByR.js";import"./CommitBody-2KwXCUpd.js";import"./CommitDate-D5HQCCzO.js";import"./Project-DQbeNx_F.js";const J={title:"Templates/Profile",component:m,tags:["autodocs"],args:{sb:"Templates/ImportProject"},argTypes:{onClick:{action:"click"},data:{controls:"object"},sb:{control:"radio",options:["Templates/ImportProject"]}},decorators:[n,i]},t={args:{data:{user:{avatar:"",created_at:new Date,created_at_formatted:function(){const r="en-US";return new Intl.DateTimeFormat(r).format(new Date)}(),created_with:"Anvil",display_name:"Jane Doe",instance:"domain.example",pronoun:"she/her",username:"jane_doe"}}}};var e,a,o;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: {
data: {
user: {
avatar: '',
created_at: new Date(),
created_at_formatted: function () {
const locale = 'en-US';
return new Intl.DateTimeFormat(locale).format(new Date());
}(),
created_with: 'Anvil',
display_name: 'Jane Doe',
instance: 'domain.example',
pronoun: 'she/her',
username: 'jane_doe'
}
}
}
}`,...(o=(a=t.parameters)==null?void 0:a.docs)==null?void 0:o.source}}};const U=["Plain"];export{t as Plain,U as __namedExportsOrder,J as default};

View file

@ -0,0 +1,19 @@
import{S as p,c as d,a as u,d as f,e as _,m as g,b as y,t as w,f as v}from"./index-C1iGU3rq.js";import{P as $}from"./Profile-C0FqJsF0.js";import"./lifecycle-B8I1Hqtw.js";import"./each-Bn1pG6U6.js";import"./XPro-h1IbUAAk.js";import"./index-BN_smRix.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";import"./runtime-CtT-6RLV.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-6gteXZNx.js";import"./Avatar-BYwvqjbT.js";import"./BlockOrReport-CnZHEJBe.js";import"./Created-CPEsqk6S.js";import"./DisplayName-BV36pVSi.js";import"./History-BpXj6QiL.js";import"./CommitBody-DmD5flm7.js";import"./CommitDate-BUhi8g1e.js";import"./Project-D67vBS_-.js";function h(a){let t,n;return t=new $({props:{data:a[0]}}),{c(){f(t.$$.fragment)},l(e){_(t.$$.fragment,e)},m(e,o){g(t,e,o),n=!0},p(e,[o]){const i={};o&1&&(i.data=e[0]),t.$set(i)},i(e){n||(y(t.$$.fragment,e),n=!0)},o(e){w(t.$$.fragment,e),n=!1},d(e){v(t,e)}}}function D(a,t,n){let{data:e=null}=t;return a.$$set=o=>{"data"in o&&n(0,e=o.data)},[e]}class l extends p{constructor(t){super(),d(this,t,D,h,u,{data:0})}}l.__docgen={version:3,name:"Profile.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"},defaultValue:null}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const G={title:"Pages/Profile",component:l,tags:["autodocs"],argTypes:{data:{controls:"object"}}},r={args:{data:{user:{avatar:"",created_at:new Date,created_at_formatted:function(){const a="en-US";return new Intl.DateTimeFormat(a).format(new Date)}(),created_with:"Anvil",display_name:"Jane Doe",instance:"domain.example",pronoun:"she/her",username:"jane_doe"}}}};var s,m,c;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: {
data: {
user: {
avatar: '',
created_at: new Date(),
created_at_formatted: function () {
const locale = 'en-US';
return new Intl.DateTimeFormat(locale).format(new Date());
}(),
created_with: 'Anvil',
display_name: 'Jane Doe',
instance: 'domain.example',
pronoun: 'she/her',
username: 'jane_doe'
}
}
}
}`,...(c=(m=r.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const H=["Plain"];export{r as Plain,H as __namedExportsOrder,G as default};

View file

@ -1,19 +0,0 @@
import{a as p}from"./utils-AUSSiI9x.js";import{S as d,i as u,c as f,b as _,m as g,a as y,t as w,d as v}from"./index-CRVYNev9.js";import{P as $}from"./Profile-SoaxDVu-.js";import"./lifecycle-DZHCWxcx.js";import"./each-DQ20ki7B.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";import"./Avatar-9JGi83Tj.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-BqNeaGzt.js";import"./Created-B43aJ4UY.js";import"./DisplayName-BjMqauJp.js";import"./History-BQ5-hByR.js";import"./CommitBody-2KwXCUpd.js";import"./CommitDate-D5HQCCzO.js";import"./Project-DQbeNx_F.js";function h(a){let t,n;return t=new $({props:{data:a[0]}}),{c(){f(t.$$.fragment)},l(e){_(t.$$.fragment,e)},m(e,o){g(t,e,o),n=!0},p(e,[o]){const i={};o&1&&(i.data=e[0]),t.$set(i)},i(e){n||(y(t.$$.fragment,e),n=!0)},o(e){w(t.$$.fragment,e),n=!1},d(e){v(t,e)}}}function D(a,t,n){let{data:e=null}=t;return a.$$set=o=>{"data"in o&&n(0,e=o.data)},[e]}class l extends d{constructor(t){super(),u(this,t,D,h,p,{data:0})}}l.__docgen={version:3,name:"Profile.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"},defaultValue:null}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const G={title:"Pages/Profile",component:l,tags:["autodocs"],argTypes:{data:{controls:"object"}}},r={args:{data:{user:{avatar:"",created_at:new Date,created_at_formatted:function(){const a="en-US";return new Intl.DateTimeFormat(a).format(new Date)}(),created_with:"Anvil",display_name:"Jane Doe",instance:"domain.example",pronoun:"she/her",username:"jane_doe"}}}};var s,m,c;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: {
data: {
user: {
avatar: '',
created_at: new Date(),
created_at_formatted: function () {
const locale = 'en-US';
return new Intl.DateTimeFormat(locale).format(new Date());
}(),
created_with: 'Anvil',
display_name: 'Jane Doe',
instance: 'domain.example',
pronoun: 'she/her',
username: 'jane_doe'
}
}
}
}`,...(c=(m=r.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const H=["Plain"];export{r as Plain,H as __namedExportsOrder,G as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,18 +0,0 @@
import{P as a}from"./Project-DQbeNx_F.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./each-DQ20ki7B.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";const j={title:"Molecules/Project",component:a,tags:["autodocs"]},r={args:{collaborators:[{preferredUsername:"Your favourite Project Manager"}],i18n:{buttons:{fork:"page.profile.projects.actions.fork",star:"page.profile.projects.actions.star",watch:"page.profile.projects.actions.watch"}},project:{name:"Story time",summary:"This is the space in which we can tell you about all the amazing things in the backburner!"}}};var t,e,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{
args: {
collaborators: [{
preferredUsername: 'Your favourite Project Manager'
}],
i18n: {
buttons: {
fork: 'page.profile.projects.actions.fork',
star: 'page.profile.projects.actions.star',
watch: 'page.profile.projects.actions.watch'
}
},
project: {
name: 'Story time',
summary: 'This is the space in which we can tell you about all the amazing things in the backburner!'
}
}
}`,...(o=(e=r.parameters)==null?void 0:e.docs)==null?void 0:o.source}}};const b=["Plain"];export{r as Plain,b as __namedExportsOrder,j as default};

View file

@ -0,0 +1,18 @@
import{P as a}from"./Project-D67vBS_-.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./each-Bn1pG6U6.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";const g={title:"Molecules/Project",component:a,tags:["autodocs"]},r={args:{collaborators:[{preferredUsername:"Your favourite Project Manager"}],i18n:{buttons:{fork:"page.profile.projects.actions.fork",star:"page.profile.projects.actions.star",watch:"page.profile.projects.actions.watch"}},project:{name:"Story time",summary:"This is the space in which we can tell you about all the amazing things in the backburner!"}}};var e,t,o;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: {
collaborators: [{
preferredUsername: 'Your favourite Project Manager'
}],
i18n: {
buttons: {
fork: 'page.profile.projects.actions.fork',
star: 'page.profile.projects.actions.star',
watch: 'page.profile.projects.actions.watch'
}
},
project: {
name: 'Story time',
summary: 'This is the space in which we can tell you about all the amazing things in the backburner!'
}
}
}`,...(o=(t=r.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};const j=["Plain"];export{r as Plain,j as __namedExportsOrder,g as default};

View file

@ -1 +0,0 @@
import{a as h,c as y}from"./utils-AUSSiI9x.js";import{a as p,b as v,t as $,f as d,h as _,k as g,j as k,d as f,l as b,i as j,m as u,n as x}from"./lifecycle-DZHCWxcx.js";import{S as w,i as P,c as T,b as C,m as E,a as F,t as O,d as S}from"./index-CRVYNev9.js";import{c as q}from"./ZoomOut24-C6SRuWL3.js";import{$ as B}from"./runtime-VldLyBWb.js";function M(r){let s,t,n,o,a=r[1](r[0].submit)+"",c,m;return n=new q({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=p("form"),t=p("button"),T(n.$$.fragment),o=v(),c=$(a),this.h()},l(e){s=d(e,"FORM",{});var i=_(s);t=d(i,"BUTTON",{type:!0,class:!0});var l=_(t);C(n.$$.fragment,l),o=g(l),c=k(l,a),l.forEach(f),i.forEach(f),this.h()},h(){b(t,"type","submit"),b(t,"class","flex submit text-surface-400")},m(e,i){j(e,s,i),u(s,t),E(n,t,null),u(t,o),u(t,c),m=!0},p(e,[i]){(!m||i&3)&&a!==(a=e[1](e[0].submit)+"")&&x(c,a)},i(e){m||(F(n.$$.fragment,e),m=!0)},o(e){O(n.$$.fragment,e),m=!1},d(e){e&&f(s),S(n)}}}function N(r,s,t){let n;y(r,B,a=>t(1,n=a));let{i18n:o={submit:""}}=s;return r.$$set=a=>{"i18n"in a&&t(0,o=a.i18n)},[o,n]}class R extends w{constructor(s){super(),P(this,s,N,M,h,{i18n:0})}}R.__docgen={version:3,name:"Projects.svelte",data:[{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{R as P};

View file

@ -0,0 +1 @@
import{S as I,c as M,a as D,d,e as $,m as g,b as u,t as h,f as j}from"./index-C1iGU3rq.js";import{a as x,b as _,f as T,h as E,k as v,d as F,l as q,i as N,m as b}from"./lifecycle-B8I1Hqtw.js";import"./ZoomOut24-6gteXZNx.js";import"./runtime-CtT-6RLV.js";import{M as O}from"./MoreFilters-5LvYrxeP.js";import{P as R}from"./Pagination-Xwph4hqa.js";import{P as C}from"./Projects-ChuO9l2W.js";import{S as U}from"./Search-DPAbmTFI.js";import{S as V}from"./Starred-BDYtpIli.js";import{F as z}from"./FileTable-D4o9kZaQ.js";function A(s){let t,r,o,c,n,y,p,P,l,S,m,k,f,w;return o=new U({props:{i18n:s[1].search}}),n=new C({props:{i18n:s[1].projects}}),p=new V({props:{i18n:s[1].starred}}),l=new O({props:{i18n:s[1].moreFilters}}),m=new z({props:{i18n:s[1].fileTable,projects:s[0].projects}}),f=new R({props:{i18n:s[1].pagination}}),{c(){t=x("section"),r=x("div"),d(o.$$.fragment),c=_(),d(n.$$.fragment),y=_(),d(p.$$.fragment),P=_(),d(l.$$.fragment),S=_(),d(m.$$.fragment),k=_(),d(f.$$.fragment),this.h()},l(e){t=T(e,"SECTION",{class:!0});var i=E(t);r=T(i,"DIV",{class:!0});var a=E(r);$(o.$$.fragment,a),c=v(a),$(n.$$.fragment,a),y=v(a),$(p.$$.fragment,a),P=v(a),$(l.$$.fragment,a),a.forEach(F),S=v(i),$(m.$$.fragment,i),k=v(i),$(f.$$.fragment,i),i.forEach(F),this.h()},h(){q(r,"class","flex mx-auto w-full items-center justify-center"),q(t,"class","w-full flex flex-col gap-8 bg-white")},m(e,i){N(e,t,i),b(t,r),g(o,r,null),b(r,c),g(n,r,null),b(r,y),g(p,r,null),b(r,P),g(l,r,null),b(t,S),g(m,t,null),b(t,k),g(f,t,null),w=!0},p(e,[i]){const a={};i&1&&(a.projects=e[0].projects),m.$set(a)},i(e){w||(u(o.$$.fragment,e),u(n.$$.fragment,e),u(p.$$.fragment,e),u(l.$$.fragment,e),u(m.$$.fragment,e),u(f.$$.fragment,e),w=!0)},o(e){h(o.$$.fragment,e),h(n.$$.fragment,e),h(p.$$.fragment,e),h(l.$$.fragment,e),h(m.$$.fragment,e),h(f.$$.fragment,e),w=!1},d(e){e&&F(t),j(o),j(n),j(p),j(l),j(m),j(f)}}}function B(s,t,r){const o={fileTable:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},moreFilters:{submit:"page.projects.form.fields.more_filters.submit"},pagination:{next:"page.projects.nav.next",previous:"page.projects.nav.previous"},projects:{submit:"page.projects.form.fields.projects.submit"},search:{placeholder:"page.projects.form.fields.search.placeholder",submit:"page.projects.form.fields.search.submit"},starred:{submit:"page.projects.form.fields.starred.submit"}};let{data:c={projects:[]}}=t;return s.$$set=n=>{"data"in n&&r(0,c=n.data)},[c,o]}class ee extends I{constructor(t){super(),M(this,t,B,A,D,{data:0})}}C.__docgen={version:3,name:"Projects.svelte",data:[{keywords:[],visibility:"public",description:"Required context for populating the template.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{ee as P};

View file

@ -0,0 +1 @@
import{S as h,c as y,a as g,d as v,e as $,m as k,b as j,t as x,f as w,g as P}from"./index-C1iGU3rq.js";import{a as p,b as T,t as C,f as d,h as _,k as E,j as F,d as f,l as b,i as O,m as u,n as S}from"./lifecycle-B8I1Hqtw.js";import{c as q}from"./ZoomOut24-6gteXZNx.js";import{$ as B}from"./runtime-CtT-6RLV.js";function M(r){let s,t,n,o,a=r[1](r[0].submit)+"",m,l;return n=new q({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=p("form"),t=p("button"),v(n.$$.fragment),o=T(),m=C(a),this.h()},l(e){s=d(e,"FORM",{});var i=_(s);t=d(i,"BUTTON",{type:!0,class:!0});var c=_(t);$(n.$$.fragment,c),o=E(c),m=F(c,a),c.forEach(f),i.forEach(f),this.h()},h(){b(t,"type","submit"),b(t,"class","flex submit text-surface-400")},m(e,i){O(e,s,i),u(s,t),k(n,t,null),u(t,o),u(t,m),l=!0},p(e,[i]){(!l||i&3)&&a!==(a=e[1](e[0].submit)+"")&&S(m,a)},i(e){l||(j(n.$$.fragment,e),l=!0)},o(e){x(n.$$.fragment,e),l=!1},d(e){e&&f(s),w(n)}}}function N(r,s,t){let n;P(r,B,a=>t(1,n=a));let{i18n:o={submit:""}}=s;return r.$$set=a=>{"i18n"in a&&t(0,o=a.i18n)},[o,n]}class R extends h{constructor(s){super(),y(this,s,N,M,g,{i18n:0})}}R.__docgen={version:3,name:"Projects.svelte",data:[{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{R as P};

View file

@ -1 +0,0 @@
import{a as I}from"./utils-AUSSiI9x.js";import{a as x,b as _,f as T,h as E,k as v,d as F,l as q,i as M,m as d}from"./lifecycle-DZHCWxcx.js";import{S as D,i as N,c as $,b as g,m as u,a as h,t as j,d as b}from"./index-CRVYNev9.js";import"./ZoomOut24-C6SRuWL3.js";import"./runtime-VldLyBWb.js";import{M as O}from"./MoreFilters-CzCGPBZ1.js";import{P as R}from"./Pagination-BgzZ8plt.js";import{P as C}from"./Projects-5c_K1XI4.js";import{S as U}from"./Search-BBza7Tsl.js";import{S as V}from"./Starred-0gw4W8jd.js";import{F as z}from"./FileTable-Bz7yFa3M.js";function A(s){let t,r,o,c,n,y,p,P,l,S,m,k,f,w;return o=new U({props:{i18n:s[1].search}}),n=new C({props:{i18n:s[1].projects}}),p=new V({props:{i18n:s[1].starred}}),l=new O({props:{i18n:s[1].moreFilters}}),m=new z({props:{i18n:s[1].fileTable,projects:s[0].projects}}),f=new R({props:{i18n:s[1].pagination}}),{c(){t=x("section"),r=x("div"),$(o.$$.fragment),c=_(),$(n.$$.fragment),y=_(),$(p.$$.fragment),P=_(),$(l.$$.fragment),S=_(),$(m.$$.fragment),k=_(),$(f.$$.fragment),this.h()},l(e){t=T(e,"SECTION",{class:!0});var i=E(t);r=T(i,"DIV",{class:!0});var a=E(r);g(o.$$.fragment,a),c=v(a),g(n.$$.fragment,a),y=v(a),g(p.$$.fragment,a),P=v(a),g(l.$$.fragment,a),a.forEach(F),S=v(i),g(m.$$.fragment,i),k=v(i),g(f.$$.fragment,i),i.forEach(F),this.h()},h(){q(r,"class","flex mx-auto w-full items-center justify-center"),q(t,"class","w-full flex flex-col gap-8 bg-white")},m(e,i){M(e,t,i),d(t,r),u(o,r,null),d(r,c),u(n,r,null),d(r,y),u(p,r,null),d(r,P),u(l,r,null),d(t,S),u(m,t,null),d(t,k),u(f,t,null),w=!0},p(e,[i]){const a={};i&1&&(a.projects=e[0].projects),m.$set(a)},i(e){w||(h(o.$$.fragment,e),h(n.$$.fragment,e),h(p.$$.fragment,e),h(l.$$.fragment,e),h(m.$$.fragment,e),h(f.$$.fragment,e),w=!0)},o(e){j(o.$$.fragment,e),j(n.$$.fragment,e),j(p.$$.fragment,e),j(l.$$.fragment,e),j(m.$$.fragment,e),j(f.$$.fragment,e),w=!1},d(e){e&&F(t),b(o),b(n),b(p),b(l),b(m),b(f)}}}function B(s,t,r){const o={fileTable:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},moreFilters:{submit:"page.projects.form.fields.more_filters.submit"},pagination:{next:"page.projects.nav.next",previous:"page.projects.nav.previous"},projects:{submit:"page.projects.form.fields.projects.submit"},search:{placeholder:"page.projects.form.fields.search.placeholder",submit:"page.projects.form.fields.search.submit"},starred:{submit:"page.projects.form.fields.starred.submit"}};let{data:c={projects:[]}}=t;return s.$$set=n=>{"data"in n&&r(0,c=n.data)},[c,o]}class te extends D{constructor(t){super(),N(this,t,B,A,I,{data:0})}}C.__docgen={version:3,name:"Projects.svelte",data:[{keywords:[],visibility:"public",description:"Required context for populating the template.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{te as P};

View file

@ -1,102 +0,0 @@
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-CRVYNev9.js";import{P as $}from"./Projects-DsvC6rsb.js";import"./lifecycle-DZHCWxcx.js";import"./ZoomOut24-C6SRuWL3.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-CzCGPBZ1.js";import"./Pagination-BgzZ8plt.js";import"./Projects-5c_K1XI4.js";import"./Search-BBza7Tsl.js";import"./Starred-0gw4W8jd.js";import"./FileTable-Bz7yFa3M.js";import"./each-DQ20ki7B.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};

View file

@ -1,4 +1,4 @@
import{P as g}from"./Projects-DsvC6rsb.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./ZoomOut24-C6SRuWL3.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-CzCGPBZ1.js";import"./Pagination-BgzZ8plt.js";import"./Projects-5c_K1XI4.js";import"./Search-BBza7Tsl.js";import"./Starred-0gw4W8jd.js";import"./FileTable-Bz7yFa3M.js";import"./each-DQ20ki7B.js";const S={title:"Templates/Projects",component:g,tags:["autodocs"]},a={args:{data:{projects:[]}}},e={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"}]}]}}},t={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 n,s,o;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{
import{P as g}from"./Projects-Cf3yQqna.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./MoreFilters-5LvYrxeP.js";import"./Pagination-Xwph4hqa.js";import"./Projects-ChuO9l2W.js";import"./Search-DPAbmTFI.js";import"./Starred-BDYtpIli.js";import"./FileTable-D4o9kZaQ.js";import"./each-Bn1pG6U6.js";const U={title:"Templates/Projects",component:g,tags:["autodocs"]},a={args:{data:{projects:[]}}},e={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"}]}]}}},t={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 n,s,o;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{
args: {
data: {
projects: []
@ -99,4 +99,4 @@ import{P as g}from"./Projects-DsvC6rsb.js";import"./utils-AUSSiI9x.js";import"./
}]
}
}
}`,...(c=(l=t.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};const C=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,a as NoProjects,e as SingleProject,C as __namedExportsOrder,S as default};
}`,...(c=(l=t.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};const S=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,a as NoProjects,e as SingleProject,S as __namedExportsOrder,U as default};

View file

@ -0,0 +1,7 @@
import{P as e}from"./Projects-ChuO9l2W.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const f={title:"Molecules/Projects",component:e,tags:["autodocs"]},r={args:{i18n:{submit:"page.projects.form.fields.projects.submit"}}};var o,t,s;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
i18n: {
submit: 'page.projects.form.fields.projects.submit'
}
}
}`,...(s=(t=r.parameters)==null?void 0:t.docs)==null?void 0:s.source}}};const g=["Plain"];export{r as Plain,g as __namedExportsOrder,f as default};

View file

@ -0,0 +1,102 @@
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-C1iGU3rq.js";import{P as $}from"./Projects-Cf3yQqna.js";import"./lifecycle-B8I1Hqtw.js";import"./ZoomOut24-6gteXZNx.js";import"./spread-CgU5AtxT.js";import"./runtime-CtT-6RLV.js";import"./index-BN_smRix.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./MoreFilters-5LvYrxeP.js";import"./Pagination-Xwph4hqa.js";import"./Projects-ChuO9l2W.js";import"./Search-DPAbmTFI.js";import"./Starred-BDYtpIli.js";import"./FileTable-D4o9kZaQ.js";import"./each-Bn1pG6U6.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};

View file

@ -1,7 +0,0 @@
import{P as e}from"./Projects-5c_K1XI4.js";import"./utils-AUSSiI9x.js";import"./lifecycle-DZHCWxcx.js";import"./index-CRVYNev9.js";import"./ZoomOut24-C6SRuWL3.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const g={title:"Molecules/Projects",component:e,tags:["autodocs"]},r={args:{i18n:{submit:"page.projects.form.fields.projects.submit"}}};var o,t,s;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: {
i18n: {
submit: 'page.projects.form.fields.projects.submit'
}
}
}`,...(s=(t=r.parameters)==null?void 0:t.docs)==null?void 0:s.source}}};const j=["Plain"];export{r as Plain,j as __namedExportsOrder,g as default};

View file

@ -0,0 +1 @@
import{R as a}from"./ZoomOut24-6gteXZNx.js";import"./index-C1iGU3rq.js";import"./lifecycle-B8I1Hqtw.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Repo24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,n as default};

Some files were not shown because too many files have changed in this diff Show more