Updates
This commit is contained in:
parent
f4a5ca1356
commit
216237e42c
208 changed files with 2560 additions and 2226 deletions
|
@ -1 +1 @@
|
|||
import{A as a}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.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};
|
||||
import{A as a}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
File diff suppressed because one or more lines are too long
33
assets/Avatar-BW-Q_HeY.js
Normal file
33
assets/Avatar-BW-Q_HeY.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
import{A as i}from"./Avatar-95726fb8.js";import"./utils-6ebe0a8e.js";import"./index-3a0d73e3.js";import"./lifecycle-cafe499b.js";import"./index-db42f6c8.js";import"./spread-8a54911c.js";import"./each-b4878c9e.js";const b={title:"Atoms/Avatar",component:i,tags:["autodocs"]},a={args:{avatar:"",displayName:"Jane Doe"}},r={args:{...a.args,avatar:"https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280"}};var e,t,s;a.parameters={...a.parameters,docs:{...(e=a.parameters)==null?void 0:e.docs,source:{originalSource:`{
|
||||
import{A as i}from"./Avatar-BW-Q_HeY.js";import"./utils-AUSSiI9x.js";import"./index-BYiPtpSv.js";import"./lifecycle-CTLfn-qA.js";import"./index-CmSOPqre.js";import"./spread-CgU5AtxT.js";import"./each-Dkr21eUC.js";const b={title:"Atoms/Avatar",component:i,tags:["autodocs"]},a={args:{avatar:"",displayName:"Jane Doe"}},r={args:{...a.args,avatar:"https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280"}};var e,t,s;a.parameters={...a.parameters,docs:{...(e=a.parameters)==null?void 0:e.docs,source:{originalSource:`{
|
||||
args: {
|
||||
avatar: '',
|
||||
displayName: 'Jane Doe'
|
|
@ -1 +1 @@
|
|||
import{a as i,n as r,c as p}from"./utils-6ebe0a8e.js";import{H as c,e as a,c as m,i as u,d as b}from"./lifecycle-cafe499b.js";import{S as d,i as _}from"./index-3a0d73e3.js";import{$ as f}from"./runtime-a5210d67.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};
|
||||
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-CTLfn-qA.js";import{S as d,i as _}from"./index-BYiPtpSv.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};
|
|
@ -1 +0,0 @@
|
|||
import{B as a}from"./BlockOrReport-acae54b8.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.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};
|
1
assets/BlockOrReport.stories-DxjG2_OD.js
Normal file
1
assets/BlockOrReport.stories-DxjG2_OD.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{B as a}from"./BlockOrReport-BcdCyU0q.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
|
@ -1 +1 @@
|
|||
import{C as a}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.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};
|
||||
import{C as a}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
|
@ -1 +1 @@
|
|||
import{a}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.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};
|
||||
import{a}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
File diff suppressed because one or more lines are too long
1
assets/Color-PRSJMWNM-DILY08ia.js
Normal file
1
assets/Color-PRSJMWNM-DILY08ia.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
import{j as r}from"./jsx-runtime-d5cd947d.js";import{M as s,C as t,b as o}from"./index-dfe9d97f.js";import{u as e}from"./index-c635f535.js";import"./iframe-e03d5173.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";function l(a){const c=Object.assign({p:"p"},e(),a.components);return r.jsxs(r.Fragment,{children:[`
|
||||
import{j as r}from"./jsx-runtime-D_d0UbCG.js";import{u as e}from"./index-B-q8vPBs.js";import{M as s,C as t,d as o}from"./index-DZY7ZykG.js";import"./iframe-BtnNOCwY.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./index-DXimoRZY.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."}),`
|
||||
`,r.jsxs(t,{children:[r.jsx(o,{title:"color.primary",subtitle:"Primary",colors:{50:"rgb(var(--color-primary-50))",100:"rgb(var(--color-primary-100))",200:"rgb(var(--color-primary-200))",300:"rgb(var(--color-primary-300))",400:"rgb(var(--color-primary-400))",500:"rgb(var(--color-primary-500))",600:"rgb(var(--color-primary-600))",700:"rgb(var(--color-primary-700))",800:"rgb(var(--color-primary-800))",900:"rgb(var(--color-primary-900))"}}),r.jsx(o,{title:"color.secondary",subtitle:"Secondary",colors:{50:"rgb(var(--color-secondary-50))",100:"rgb(var(--color-secondary-100))",200:"rgb(var(--color-secondary-200))",300:"rgb(var(--color-secondary-300))",400:"rgb(var(--color-secondary-400))",500:"rgb(var(--color-secondary-500))",600:"rgb(var(--color-secondary-600))",700:"rgb(var(--color-secondary-700))",800:"rgb(var(--color-secondary-800))",900:"rgb(var(--color-secondary-900))"}}),r.jsx(o,{title:"color.tertiary",subtitle:"Tertiary",colors:{50:"rgb(var(--color-tertiary-50))",100:"rgb(var(--color-tertiary-100))",200:"rgb(var(--color-tertiary-200))",300:"rgb(var(--color-tertiary-300))",400:"rgb(var(--color-tertiary-400))",500:"rgb(var(--color-tertiary-500))",600:"rgb(var(--color-tertiary-600))",700:"rgb(var(--color-tertiary-700))",800:"rgb(var(--color-tertiary-800))",900:"rgb(var(--color-tertiary-900))"}}),r.jsx(o,{title:"color.success",subtitle:"Success",colors:{50:"rgb(var(--color-success-50))",100:"rgb(var(--color-success-100))",200:"rgb(var(--color-success-200))",300:"rgb(var(--color-success-300))",400:"rgb(var(--color-success-400))",500:"rgb(var(--color-success-500))",600:"rgb(var(--color-success-600))",700:"rgb(var(--color-success-700))",800:"rgb(var(--color-success-800))",900:"rgb(var(--color-success-900))"}}),r.jsx(o,{title:"color.warning",subtitle:"Warning",colors:{50:"rgb(var(--color-warning-50))",100:"rgb(var(--color-warning-100))",200:"rgb(var(--color-warning-200))",300:"rgb(var(--color-warning-300))",400:"rgb(var(--color-warning-400))",500:"rgb(var(--color-warning-500))",600:"rgb(var(--color-warning-600))",700:"rgb(var(--color-warning-700))",800:"rgb(var(--color-warning-800))",900:"rgb(var(--color-warning-900))"}}),r.jsx(o,{title:"color.error",subtitle:"Error",colors:{50:"rgb(var(--color-error-50))",100:"rgb(var(--color-error-100))",200:"rgb(var(--color-error-200))",300:"rgb(var(--color-error-300))",400:"rgb(var(--color-error-400))",500:"rgb(var(--color-error-500))",600:"rgb(var(--color-error-600))",700:"rgb(var(--color-error-700))",800:"rgb(var(--color-error-800))",900:"rgb(var(--color-error-900))"}}),r.jsx(o,{title:"color.surface",subtitle:"Surface",colors:{50:"rgb(var(--color-surface-50))",100:"rgb(var(--color-surface-100))",200:"rgb(var(--color-surface-200))",300:"rgb(var(--color-surface-300))",400:"rgb(var(--color-surface-400))",500:"rgb(var(--color-surface-500))",600:"rgb(var(--color-surface-600))",700:"rgb(var(--color-surface-700))",800:"rgb(var(--color-surface-800))",900:"rgb(var(--color-surface-900))"}})]})]})}function d(a={}){const{wrapper:c}=Object.assign({},e(),a.components);return c?r.jsx(c,Object.assign({},a,{children:r.jsx(l,a)})):l(a)}export{d as default};
|
||||
`,r.jsxs(t,{children:[r.jsx(o,{title:"color.primary",subtitle:"Primary",colors:{50:"rgb(var(--color-primary-50))",100:"rgb(var(--color-primary-100))",200:"rgb(var(--color-primary-200))",300:"rgb(var(--color-primary-300))",400:"rgb(var(--color-primary-400))",500:"rgb(var(--color-primary-500))",600:"rgb(var(--color-primary-600))",700:"rgb(var(--color-primary-700))",800:"rgb(var(--color-primary-800))",900:"rgb(var(--color-primary-900))"}}),r.jsx(o,{title:"color.secondary",subtitle:"Secondary",colors:{50:"rgb(var(--color-secondary-50))",100:"rgb(var(--color-secondary-100))",200:"rgb(var(--color-secondary-200))",300:"rgb(var(--color-secondary-300))",400:"rgb(var(--color-secondary-400))",500:"rgb(var(--color-secondary-500))",600:"rgb(var(--color-secondary-600))",700:"rgb(var(--color-secondary-700))",800:"rgb(var(--color-secondary-800))",900:"rgb(var(--color-secondary-900))"}}),r.jsx(o,{title:"color.tertiary",subtitle:"Tertiary",colors:{50:"rgb(var(--color-tertiary-50))",100:"rgb(var(--color-tertiary-100))",200:"rgb(var(--color-tertiary-200))",300:"rgb(var(--color-tertiary-300))",400:"rgb(var(--color-tertiary-400))",500:"rgb(var(--color-tertiary-500))",600:"rgb(var(--color-tertiary-600))",700:"rgb(var(--color-tertiary-700))",800:"rgb(var(--color-tertiary-800))",900:"rgb(var(--color-tertiary-900))"}}),r.jsx(o,{title:"color.success",subtitle:"Success",colors:{50:"rgb(var(--color-success-50))",100:"rgb(var(--color-success-100))",200:"rgb(var(--color-success-200))",300:"rgb(var(--color-success-300))",400:"rgb(var(--color-success-400))",500:"rgb(var(--color-success-500))",600:"rgb(var(--color-success-600))",700:"rgb(var(--color-success-700))",800:"rgb(var(--color-success-800))",900:"rgb(var(--color-success-900))"}}),r.jsx(o,{title:"color.warning",subtitle:"Warning",colors:{50:"rgb(var(--color-warning-50))",100:"rgb(var(--color-warning-100))",200:"rgb(var(--color-warning-200))",300:"rgb(var(--color-warning-300))",400:"rgb(var(--color-warning-400))",500:"rgb(var(--color-warning-500))",600:"rgb(var(--color-warning-600))",700:"rgb(var(--color-warning-700))",800:"rgb(var(--color-warning-800))",900:"rgb(var(--color-warning-900))"}}),r.jsx(o,{title:"color.error",subtitle:"Error",colors:{50:"rgb(var(--color-error-50))",100:"rgb(var(--color-error-100))",200:"rgb(var(--color-error-200))",300:"rgb(var(--color-error-300))",400:"rgb(var(--color-error-400))",500:"rgb(var(--color-error-500))",600:"rgb(var(--color-error-600))",700:"rgb(var(--color-error-700))",800:"rgb(var(--color-error-800))",900:"rgb(var(--color-error-900))"}}),r.jsx(o,{title:"color.surface",subtitle:"Surface",colors:{50:"rgb(var(--color-surface-50))",100:"rgb(var(--color-surface-100))",200:"rgb(var(--color-surface-200))",300:"rgb(var(--color-surface-300))",400:"rgb(var(--color-surface-400))",500:"rgb(var(--color-surface-500))",600:"rgb(var(--color-surface-600))",700:"rgb(var(--color-surface-700))",800:"rgb(var(--color-surface-800))",900:"rgb(var(--color-surface-900))"}})]})]})}function f(a={}){const{wrapper:c}={...e(),...a.components};return c?r.jsx(c,{...a,children:r.jsx(l,{...a})}):l(a)}export{f as default};
|
|
@ -1 +0,0 @@
|
|||
import{a as k,n as d}from"./utils-6ebe0a8e.js";import{e as c,i as h,d as s,a as f,t as b,H as D,b as m,f as p,h as g,c as v,j as u,k as _}from"./lifecycle-cafe499b.js";import{S as w,i as C}from"./index-3a0d73e3.js";function y(o){let a,e,t,l;return{c(){a=f("span"),e=b("created "),t=f("date"),l=new D(!1),this.h()},l(n){a=m(n,"SPAN",{});var i=p(a);e=g(i,"created "),t=m(i,"DATE",{datetime:!0});var r=p(t);l=v(r,!1),r.forEach(s),i.forEach(s),this.h()},h(){l.a=null,u(t,"datetime",o[0])},m(n,i){h(n,a,i),_(a,e),_(a,t),l.m(o[1],t)},p(n,i){i&2&&l.p(n[1]),i&1&&u(t,"datetime",n[0])},d(n){n&&s(a)}}}function E(o){let a,e=o[0]&&o[1]&&y(o);return{c(){e&&e.c(),a=c()},l(t){e&&e.l(t),a=c()},m(t,l){e&&e.m(t,l),h(t,a,l)},p(t,[l]){t[0]&&t[1]?e?e.p(t,l):(e=y(t),e.c(),e.m(a.parentNode,a)):e&&(e.d(1),e=null)},i:d,o:d,d(t){t&&s(a),e&&e.d(t)}}}function H(o,a,e){let t,{created_at:l=null}=a,{locale:n="en"}=a;return o.$$set=i=>{"created_at"in i&&e(0,l=i.created_at),"locale"in i&&e(2,n=i.locale)},o.$$.update=()=>{o.$$.dirty&5&&e(1,t=new Intl.DateTimeFormat(n).format(l))},[l,t,n]}class S extends w{constructor(a){super(),C(this,a,H,E,k,{created_at:0,locale:2})}}S.__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{S as C};
|
1
assets/Created-CXrMcAul.js
Normal file
1
assets/Created-CXrMcAul.js
Normal file
|
@ -0,0 +1 @@
|
|||
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,b as p,f as u,h as S,c as D,j as _,k as y}from"./lifecycle-CTLfn-qA.js";import{S as w,i as C}from"./index-BYiPtpSv.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};
|
|
@ -1,4 +1,4 @@
|
|||
import{C as d}from"./Created-43fad342.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.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:`{
|
||||
import{C as d}from"./Created-CXrMcAul.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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'
|
|
@ -1 +1 @@
|
|||
import{a as H,n as w,c as P}from"./utils-6ebe0a8e.js";import{a as _,t as y,l as j,e as D,b,f as k,h,d as m,m as E,j as g,i as u,k as c,n as N}from"./lifecycle-cafe499b.js";import{S as V,i as q}from"./index-3a0d73e3.js";import{$ as A}from"./runtime-a5210d67.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};
|
||||
import{a as H,n as w,c as P}from"./utils-AUSSiI9x.js";import{a as _,t as y,l as j,e as D,b,f as k,h,d as m,m as E,j as g,i as u,k as c,n as N}from"./lifecycle-CTLfn-qA.js";import{S as V,i as q}from"./index-BYiPtpSv.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};
|
16
assets/DisplayName.stories-BumG1sCu.js
Normal file
16
assets/DisplayName.stories-BumG1sCu.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
import{D as p}from"./DisplayName-DiyeejRw.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
|
@ -1,16 +0,0 @@
|
|||
import{D as p}from"./DisplayName-85d2504f.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.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};
|
2
assets/DocsRenderer-K4EAMTCU-D5H2ceb6.js
Normal file
2
assets/DocsRenderer-K4EAMTCU-D5H2ceb6.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
const __vite__fileDeps=["./index-Dt9-A87-.js","./index-B-q8vPBs.js","./index-DZY7ZykG.js","./iframe-BtnNOCwY.js","./_commonjsHelpers-Cpj98o6Y.js","./tslib.es6-pJfR_DrR.js","./index-DXimoRZY.js","./index-B4WlZuP_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
||||
import{_ as d}from"./iframe-BtnNOCwY.js";import{e as h,R as o,r as i,f as E,A as R,H as x,D as y}from"./index-DZY7ZykG.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./index-DXimoRZY.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-Dt9-A87-.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};
|
|
@ -1 +0,0 @@
|
|||
import{_ as h}from"./iframe-e03d5173.js";import{e as d,R as o,r as a,f as E,A as R,H as x,D as y}from"./index-dfe9d97f.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";var c={},m=d;c.createRoot=m.createRoot,c.hydrateRoot=m.hydrateRoot;var n=new Map,D=({callback:e,children:t})=>{let r=a.useRef();return a.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t},_=async(e,t)=>{let r=await v(t);return new Promise(s=>{r.render(o.createElement(D,{callback:()=>s(null)},e))})},f=(e,t)=>{let r=n.get(e);r&&(r.unmount(),n.delete(e))},v=async e=>{let t=n.get(e);return t||(t=c.createRoot(e),n.set(e,t)),t},w={code:E,a:R,...x},g=class extends a.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:o.createElement(o.Fragment,null,t)}},S=class{constructor(){this.render=async(e,t,r)=>{let s={...w,...t==null?void 0:t.components},u=y;return new Promise((i,p)=>{h(()=>import("./index-5af0acdd.js"),["./index-5af0acdd.js","./index-c635f535.js","./index-dfe9d97f.js","./iframe-e03d5173.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js"],import.meta.url).then(({MDXProvider:l})=>_(o.createElement(g,{showException:p,key:Math.random()},o.createElement(l,{components:s},o.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>i())})},this.unmount=e=>{f(e)}}};export{S as DocsRenderer,w as defaultComponents};
|
|
@ -1 +1 @@
|
|||
import{E as s}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.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};
|
||||
import{E as s}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
import{w as d,a as g}from"./chunk-6GSMXRCY-a387bb65.js";import{F as u}from"./FileTable-1d60bdd0.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./each-b4878c9e.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.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-CyKA13Ku.js";import{F as u}from"./FileTable-CvlIGNWJ.js";import"./chunk-MZXVCX43-ua0nJz9H.js";import"./v4-CQkTLCs1.js";import"./index-DXimoRZY.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./each-Dkr21eUC.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";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:`{
|
||||
args: {
|
||||
i18n: {
|
||||
heading: {
|
|
@ -1 +1 @@
|
|||
import{F as a}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.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};
|
||||
import{F as a}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
import{I as m}from"./ImportProject-d2068be3.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.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};
|
1
assets/ImportProject.stories-BwaDZD2G.js
Normal file
1
assets/ImportProject.stories-BwaDZD2G.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{a as l}from"./utils-AUSSiI9x.js";import{S as d,i as u,c as f,b as _,m as g,a as $,t as y,d as j}from"./index-BYiPtpSv.js";import{I as P}from"./ImportProject-CH32jFPD.js";import"./lifecycle-CTLfn-qA.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";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=null}=e;return r.$$set=a=>{"data"in a&&o(0,t=a.data)},[t]}class p extends d{constructor(e){super(),u(this,e,v,b,l,{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"},defaultValue:null}],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};
|
1
assets/ImportProject.stories-D1zKKPLR.js
Normal file
1
assets/ImportProject.stories-D1zKKPLR.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{I as m}from"./ImportProject-CH32jFPD.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";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};
|
|
@ -1 +0,0 @@
|
|||
import{a as l}from"./utils-6ebe0a8e.js";import{S as d,i as u,c as f,b as _,m as g,a as $,t as y,d as j}from"./index-3a0d73e3.js";import{I as P}from"./ImportProject-d2068be3.js";import"./lifecycle-cafe499b.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";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=null}=e;return r.$$set=a=>{"data"in a&&o(0,t=a.data)},[t]}class p extends d{constructor(e){super(),u(this,e,v,b,l,{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"},defaultValue:null}],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};
|
|
@ -1 +1 @@
|
|||
import{I as e}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.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};
|
||||
import{I as e}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
|
@ -1 +1 @@
|
|||
import{a as F,c as I}from"./utils-6ebe0a8e.js";import{a as h,t as L,l as S,b as v,f as _,h as E,d as u,m as D,j as k,i as K,k as d,n as V}from"./lifecycle-cafe499b.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-3a0d73e3.js";import{$ as G}from"./runtime-a5210d67.js";import{L as J}from"./LoginForm-0bfb8856.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};
|
||||
import{a as F,c as I}from"./utils-AUSSiI9x.js";import{a as h,t as L,l as S,b as v,f as _,h as E,d as u,m as D,j as k,i as K,k as d,n as V}from"./lifecycle-CTLfn-qA.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-BYiPtpSv.js";import{$ as G}from"./runtime-VldLyBWb.js";import{L as J}from"./LoginForm-FVnjfSft.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,34 +0,0 @@
|
|||
import{w as l,a as u}from"./chunk-6GSMXRCY-a387bb65.js";import{L as g}from"./Login-ed4c6981.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./LoginForm-0bfb8856.js";import"./each-b4878c9e.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};
|
|
@ -1,34 +0,0 @@
|
|||
import{a as b}from"./utils-6ebe0a8e.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-3a0d73e3.js";import{L as P}from"./Login-ed4c6981.js";import"./lifecycle-cafe499b.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./LoginForm-0bfb8856.js";import"./each-b4878c9e.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 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};
|
34
assets/Login.stories-BEyEe3x4.js
Normal file
34
assets/Login.stories-BEyEe3x4.js
Normal file
|
@ -0,0 +1,34 @@
|
|||
import{w as l,a as u}from"./chunk-FAE4I7JY-CyKA13Ku.js";import{L as g}from"./Login-CUDe63cs.js";import"./chunk-MZXVCX43-ua0nJz9H.js";import"./v4-CQkTLCs1.js";import"./index-DXimoRZY.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./LoginForm-FVnjfSft.js";import"./each-Dkr21eUC.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};
|
34
assets/Login.stories-DMUCglwF.js
Normal file
34
assets/Login.stories-DMUCglwF.js
Normal file
|
@ -0,0 +1,34 @@
|
|||
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-BYiPtpSv.js";import{L as P}from"./Login-CUDe63cs.js";import"./lifecycle-CTLfn-qA.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./LoginForm-FVnjfSft.js";import"./each-Dkr21eUC.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};
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
import{w as f,a as c}from"./chunk-6GSMXRCY-a387bb65.js";import{L as d}from"./LoginForm-0bfb8856.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./each-b4878c9e.js";import"./index-3a0d73e3.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.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-CyKA13Ku.js";import{L as d}from"./LoginForm-FVnjfSft.js";import"./chunk-MZXVCX43-ua0nJz9H.js";import"./v4-CQkTLCs1.js";import"./index-DXimoRZY.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./each-Dkr21eUC.js";import"./index-BYiPtpSv.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:`{
|
||||
args: {
|
||||
data: {
|
||||
servers: {
|
|
@ -1 +1 @@
|
|||
import{a as h,c as y}from"./utils-6ebe0a8e.js";import{a as d,t as g,l as x,b as _,f as b,h as v,m as $,d as f,j as u,i as k,k as p,n as w}from"./lifecycle-cafe499b.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-3a0d73e3.js";import{d as q}from"./ZoomOut24-2eaac4cc.js";import{$ as B}from"./runtime-a5210d67.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};
|
||||
import{a as h,c as y}from"./utils-AUSSiI9x.js";import{a as d,t as g,l as x,b as _,f as b,h as v,m as $,d as f,j as u,i as k,k as p,n as w}from"./lifecycle-CTLfn-qA.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-BYiPtpSv.js";import{d as q}from"./ZoomOut24-BdlMg8bU.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};
|
|
@ -1,7 +0,0 @@
|
|||
import{M as s}from"./MoreFilters-9a485b3d.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.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};
|
7
assets/MoreFilters.stories-BSf7xNRJ.js
Normal file
7
assets/MoreFilters.stories-BSf7xNRJ.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import{M as s}from"./MoreFilters-jcAS9mVX.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";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};
|
|
@ -1 +1 @@
|
|||
import{N as e}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.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};
|
||||
import{N as e}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
|
@ -1 +1 @@
|
|||
import{a as ft,c as ct}from"./utils-6ebe0a8e.js";import{a as l,l as o,t as tt,b as i,f as J,m as f,h as et,d as N,p,j as n,i as ut,k as a,n as at}from"./lifecycle-cafe499b.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-3a0d73e3.js";import{C as mt,a as xt}from"./ZoomOut24-2eaac4cc.js";import{$ as vt}from"./runtime-a5210d67.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};
|
||||
import{a as ft,c as ct}from"./utils-AUSSiI9x.js";import{a as l,l as o,t as tt,b as i,f as J,m as f,h as et,d as N,p,j as n,i as ut,k as a,n as at}from"./lifecycle-CTLfn-qA.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-BYiPtpSv.js";import{C as mt,a as xt}from"./ZoomOut24-BdlMg8bU.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};
|
|
@ -1,8 +0,0 @@
|
|||
import{P as a}from"./Pagination-77c8cc8c.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.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};
|
8
assets/Pagination.stories-CuEMMQFQ.js
Normal file
8
assets/Pagination.stories-CuEMMQFQ.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
import{P as a}from"./Pagination-CRNvatma.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";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};
|
1
assets/Person24.stories-Bb9gd1Ru.js
Normal file
1
assets/Person24.stories-Bb9gd1Ru.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{P as s}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.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};
|
File diff suppressed because one or more lines are too long
1
assets/Profile-Bs20GX_-.js
Normal file
1
assets/Profile-Bs20GX_-.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,19 +0,0 @@
|
|||
import{a as p}from"./utils-6ebe0a8e.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-3a0d73e3.js";import{P as $}from"./Profile-12aa5b97.js";import"./lifecycle-cafe499b.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./Avatar-95726fb8.js";import"./each-b4878c9e.js";import"./BlockOrReport-acae54b8.js";import"./Created-43fad342.js";import"./DisplayName-85d2504f.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 s={};o&1&&(s.data=e[0]),t.$set(s)},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 E={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 i,m,c;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.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 K=["Plain"];export{r as Plain,K as __namedExportsOrder,E as default};
|
|
@ -1,19 +0,0 @@
|
|||
import{w as n,a as i}from"./chunk-6GSMXRCY-a387bb65.js";import{P as m}from"./Profile-12aa5b97.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./Avatar-95726fb8.js";import"./each-b4878c9e.js";import"./BlockOrReport-acae54b8.js";import"./Created-43fad342.js";import"./DisplayName-85d2504f.js";const k={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]},e={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 t,a,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.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=e.parameters)==null?void 0:a.docs)==null?void 0:o.source}}};const y=["Plain"];export{e as Plain,y as __namedExportsOrder,k as default};
|
19
assets/Profile.stories-DfbgF926.js
Normal file
19
assets/Profile.stories-DfbgF926.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
import{w as n,a as i}from"./chunk-FAE4I7JY-CyKA13Ku.js";import{P as m}from"./Profile-Bs20GX_-.js";import"./chunk-MZXVCX43-ua0nJz9H.js";import"./v4-CQkTLCs1.js";import"./index-DXimoRZY.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./each-Dkr21eUC.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./Avatar-BW-Q_HeY.js";import"./BlockOrReport-BcdCyU0q.js";import"./Created-CXrMcAul.js";import"./DisplayName-DiyeejRw.js";import"./Project-Bc9PiiHe.js";const y={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 A=["Plain"];export{t as Plain,A as __namedExportsOrder,y as default};
|
19
assets/Profile.stories-I8AcMH_y.js
Normal file
19
assets/Profile.stories-I8AcMH_y.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
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-BYiPtpSv.js";import{P as $}from"./Profile-Bs20GX_-.js";import"./lifecycle-CTLfn-qA.js";import"./each-Dkr21eUC.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./Avatar-BW-Q_HeY.js";import"./BlockOrReport-BcdCyU0q.js";import"./Created-CXrMcAul.js";import"./DisplayName-DiyeejRw.js";import"./Project-Bc9PiiHe.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 s={};o&1&&(s.data=e[0]),t.$set(s)},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 O={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 i,m,c;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.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 V=["Plain"];export{r as Plain,V as __namedExportsOrder,O as default};
|
1
assets/Project-Bc9PiiHe.js
Normal file
1
assets/Project-Bc9PiiHe.js
Normal file
File diff suppressed because one or more lines are too long
18
assets/Project.stories-LefNVCtk.js
Normal file
18
assets/Project.stories-LefNVCtk.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
import{P as a}from"./Project-Bc9PiiHe.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./each-Dkr21eUC.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-BdlMg8bU.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};
|
|
@ -1 +1 @@
|
|||
import{a as h,c as y}from"./utils-6ebe0a8e.js";import{a as p,l as v,t as $,b as d,f as _,m as g,h as k,d as f,j as b,i as j,k as u,n as x}from"./lifecycle-cafe499b.js";import{S as w,i as F,c as P,b as T,m as C,a as E,t as O,d as S}from"./index-3a0d73e3.js";import{F as q}from"./ZoomOut24-2eaac4cc.js";import{$ as B}from"./runtime-a5210d67.js";function M(r){let s,t,n,o,a=r[1](r[0].submit)+"",l,m;return n=new q({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=p("form"),t=p("button"),P(n.$$.fragment),o=v(),l=$(a),this.h()},l(e){s=d(e,"FORM",{});var i=_(s);t=d(i,"BUTTON",{type:!0,class:!0});var c=_(t);T(n.$$.fragment,c),o=g(c),l=k(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){j(e,s,i),u(s,t),C(n,t,null),u(t,o),u(t,l),m=!0},p(e,[i]){(!m||i&3)&&a!==(a=e[1](e[0].submit)+"")&&x(l,a)},i(e){m||(E(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(),F(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};
|
||||
import{a as h,c as y}from"./utils-AUSSiI9x.js";import{a as p,l as v,t as $,b as d,f as _,m as g,h as k,d as f,j as b,i as j,k as u,n as x}from"./lifecycle-CTLfn-qA.js";import{S as w,i as F,c as P,b as T,m as C,a as E,t as O,d as S}from"./index-BYiPtpSv.js";import{F as q}from"./ZoomOut24-BdlMg8bU.js";import{$ as B}from"./runtime-VldLyBWb.js";function M(r){let s,t,n,o,a=r[1](r[0].submit)+"",l,m;return n=new q({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=p("form"),t=p("button"),P(n.$$.fragment),o=v(),l=$(a),this.h()},l(e){s=d(e,"FORM",{});var i=_(s);t=d(i,"BUTTON",{type:!0,class:!0});var c=_(t);T(n.$$.fragment,c),o=g(c),l=k(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){j(e,s,i),u(s,t),C(n,t,null),u(t,o),u(t,l),m=!0},p(e,[i]){(!m||i&3)&&a!==(a=e[1](e[0].submit)+"")&&x(l,a)},i(e){m||(E(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(),F(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};
|
|
@ -1 +1 @@
|
|||
import{a as I}from"./utils-6ebe0a8e.js";import{a as x,l as _,b as T,f as E,m as v,d as F,j as q,i as M,k as d}from"./lifecycle-cafe499b.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-3a0d73e3.js";import"./ZoomOut24-2eaac4cc.js";import"./runtime-a5210d67.js";import{M as O}from"./MoreFilters-9a485b3d.js";import{P as R}from"./Pagination-77c8cc8c.js";import{P as C}from"./Projects-081efb34.js";import{S as U}from"./Search-92254bf8.js";import{S as V}from"./Starred-16694df1.js";import{F as z}from"./FileTable-1d60bdd0.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};
|
||||
import{a as I}from"./utils-AUSSiI9x.js";import{a as x,l as _,b as T,f as E,m as v,d as F,j as q,i as M,k as d}from"./lifecycle-CTLfn-qA.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-BYiPtpSv.js";import"./ZoomOut24-BdlMg8bU.js";import"./runtime-VldLyBWb.js";import{M as O}from"./MoreFilters-jcAS9mVX.js";import{P as R}from"./Pagination-CRNvatma.js";import{P as C}from"./Projects-DpGzhhZR.js";import{S as U}from"./Search-DQ4127TB.js";import{S as V}from"./Starred-DIYQGHec.js";import{F as z}from"./FileTable-CvlIGNWJ.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};
|
|
@ -1,7 +0,0 @@
|
|||
import{P as e}from"./Projects-081efb34.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.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};
|
102
assets/Projects.stories-BLBEq_42.js
Normal file
102
assets/Projects.stories-BLBEq_42.js
Normal file
|
@ -0,0 +1,102 @@
|
|||
import{a as w}from"./utils-AUSSiI9x.js";import{S as j,i as k,c as x,b as f,m as A,a as y,t as D,d as _}from"./index-BYiPtpSv.js";import{P as $}from"./Projects-re2V7mOZ.js";import"./lifecycle-CTLfn-qA.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./MoreFilters-jcAS9mVX.js";import"./Pagination-CRNvatma.js";import"./Projects-DpGzhhZR.js";import"./Search-DQ4127TB.js";import"./Starred-DIYQGHec.js";import"./FileTable-CvlIGNWJ.js";import"./each-Dkr21eUC.js";function B(s){let e,a;return e=new $({props:{data:s[0]}}),{c(){x(e.$$.fragment)},l(t){f(e.$$.fragment,t)},m(t,n){A(e,t,n),a=!0},p(t,[n]){const m={};n&1&&(m.data=t[0]),e.$set(m)},i(t){a||(y(e.$$.fragment,t),a=!0)},o(t){D(e.$$.fragment,t),a=!1},d(t){_(e,t)}}}function S(s,e,a){let{data:t={projects:[]}}=e;return s.$$set=n=>{"data"in n&&a(0,t=n.data)},[t]}class v extends j{constructor(e){super(),k(this,e,S,B,w,{data:0})}}v.__docgen={version:3,name:"Projects.svelte",data:[{keywords:[],visibility:"public",description:"Data populated by SvelteKit",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const R={title:"Pages/Projects",component:v,tags:["autodocs"]},o={args:{data:{projects:[]}}},r={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}},i={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]},{name:"Project B",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}};var c,p,l;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{
|
||||
args: {
|
||||
data: {
|
||||
projects: []
|
||||
}
|
||||
}
|
||||
}`,...(l=(p=o.parameters)==null?void 0:p.docs)==null?void 0:l.source}}};var u,g,d;r.parameters={...r.parameters,docs:{...(u=r.parameters)==null?void 0:u.docs,source:{originalSource:`{
|
||||
args: {
|
||||
data: {
|
||||
projects: [{
|
||||
name: 'Project A',
|
||||
description: 'This software project is a web-based application that will allow users to book appointments online.',
|
||||
avatar: 'https://example.com',
|
||||
// Date back three months
|
||||
lastUpdated: new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000),
|
||||
members: [{
|
||||
name: 'Person A',
|
||||
avatar: 'https://example.com',
|
||||
slug: 'a'
|
||||
}, {
|
||||
name: 'Person B',
|
||||
avatar: 'https://example.com',
|
||||
slug: 'b'
|
||||
}, {
|
||||
name: 'Person C',
|
||||
avatar: 'https://example.com',
|
||||
slug: 'c'
|
||||
}],
|
||||
tags: [{
|
||||
name: 'ActivityPub',
|
||||
link: '/tag/ActivityPub'
|
||||
}, {
|
||||
name: 'css',
|
||||
link: '/tag/css'
|
||||
}, {
|
||||
name: 'guile',
|
||||
link: '/tag/guile'
|
||||
}]
|
||||
}]
|
||||
}
|
||||
}
|
||||
}`,...(d=(g=r.parameters)==null?void 0:g.docs)==null?void 0:d.source}}};var b,P,h;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:`{
|
||||
args: {
|
||||
data: {
|
||||
projects: [{
|
||||
name: 'Project A',
|
||||
description: 'This software project is a web-based application that will allow users to book appointments online.',
|
||||
avatar: 'https://example.com',
|
||||
// Date back three months
|
||||
lastUpdated: new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000),
|
||||
members: [{
|
||||
name: 'Person A',
|
||||
avatar: 'https://example.com',
|
||||
slug: 'a'
|
||||
}, {
|
||||
name: 'Person B',
|
||||
avatar: 'https://example.com',
|
||||
slug: 'b'
|
||||
}, {
|
||||
name: 'Person C',
|
||||
avatar: 'https://example.com',
|
||||
slug: 'c'
|
||||
}],
|
||||
tags: [{
|
||||
name: 'ActivityPub',
|
||||
link: '/tag/ActivityPub'
|
||||
}, {
|
||||
name: 'css',
|
||||
link: '/tag/css'
|
||||
}, {
|
||||
name: 'guile',
|
||||
link: '/tag/guile'
|
||||
}]
|
||||
}, {
|
||||
name: 'Project B',
|
||||
description: 'This software project is a web-based application that will allow users to book appointments online.',
|
||||
avatar: 'https://example.com',
|
||||
// Date back three months
|
||||
lastUpdated: new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000),
|
||||
members: [{
|
||||
name: 'Person A',
|
||||
avatar: 'https://example.com',
|
||||
slug: 'a'
|
||||
}, {
|
||||
name: 'Person B',
|
||||
avatar: 'https://example.com',
|
||||
slug: 'b'
|
||||
}],
|
||||
tags: [{
|
||||
name: 'ActivityPub',
|
||||
link: '/tag/ActivityPub'
|
||||
}, {
|
||||
name: 'css',
|
||||
link: '/tag/css'
|
||||
}, {
|
||||
name: 'guile',
|
||||
link: '/tag/guile'
|
||||
}]
|
||||
}]
|
||||
}
|
||||
}
|
||||
}`,...(h=(P=i.parameters)==null?void 0:P.docs)==null?void 0:h.source}}};const V=["NoProjects","SingleProject","MultipleProjects"];export{i as MultipleProjects,o as NoProjects,r as SingleProject,V as __namedExportsOrder,R as default};
|
7
assets/Projects.stories-CHm0kwbs.js
Normal file
7
assets/Projects.stories-CHm0kwbs.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import{P as e}from"./Projects-DpGzhhZR.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";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};
|
|
@ -1,4 +1,4 @@
|
|||
import{P as g}from"./Projects-f6a4884c.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./MoreFilters-9a485b3d.js";import"./Pagination-77c8cc8c.js";import"./Projects-081efb34.js";import"./Search-92254bf8.js";import"./Starred-16694df1.js";import"./FileTable-1d60bdd0.js";import"./each-b4878c9e.js";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:`{
|
||||
import{P as g}from"./Projects-re2V7mOZ.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./MoreFilters-jcAS9mVX.js";import"./Pagination-CRNvatma.js";import"./Projects-DpGzhhZR.js";import"./Search-DQ4127TB.js";import"./Starred-DIYQGHec.js";import"./FileTable-CvlIGNWJ.js";import"./each-Dkr21eUC.js";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:`{
|
||||
args: {
|
||||
data: {
|
||||
projects: []
|
||||
|
@ -99,4 +99,4 @@ import{P as g}from"./Projects-f6a4884c.js";import"./utils-6ebe0a8e.js";import"./
|
|||
}]
|
||||
}
|
||||
}
|
||||
}`,...(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};
|
||||
}`,...(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};
|
|
@ -1,102 +0,0 @@
|
|||
import{a as w}from"./utils-6ebe0a8e.js";import{S as j,i as k,c as x,b as f,m as A,a as y,t as D,d as _}from"./index-3a0d73e3.js";import{P as $}from"./Projects-f6a4884c.js";import"./lifecycle-cafe499b.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./MoreFilters-9a485b3d.js";import"./Pagination-77c8cc8c.js";import"./Projects-081efb34.js";import"./Search-92254bf8.js";import"./Starred-16694df1.js";import"./FileTable-1d60bdd0.js";import"./each-b4878c9e.js";function B(s){let 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 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};
|
|
@ -1 +1 @@
|
|||
import{R as a}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.js";const n={title:"Icons/Repo24",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,n as default};
|
||||
import{R as a}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Repo24",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,n as default};
|
|
@ -1 +1 @@
|
|||
import{b as a}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.js";const n={title:"Icons/RepoForked16",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 d=["Plain"];export{o as Plain,d as __namedExportsOrder,n as default};
|
||||
import{b as a}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/RepoForked16",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 d=["Plain"];export{o as Plain,d as __namedExportsOrder,n as default};
|
|
@ -1 +1 @@
|
|||
import{a as w,c as T}from"./utils-6ebe0a8e.js";import{a as _,l as $,t as j,b,f as g,m as k,h as E,d as y,j as n,i as C,k as p,n as I}from"./lifecycle-cafe499b.js";import{S as N,i as O,c as U,b as q,m as x,a as B,t as D,d as F}from"./index-3a0d73e3.js";import{S as M}from"./ZoomOut24-2eaac4cc.js";import{$ as P}from"./runtime-a5210d67.js";function R(o){let s,a,r,c,e,f,v,i,d=o[1](o[0].submit)+"",h,m;return r=new M({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=_("form"),a=_("div"),U(r.$$.fragment),c=$(),e=_("input"),v=$(),i=_("button"),h=j(d),this.h()},l(t){s=b(t,"FORM",{class:!0});var l=g(s);a=b(l,"DIV",{class:!0});var u=g(a);q(r.$$.fragment,u),c=k(u),e=b(u,"INPUT",{id:!0,name:!0,type:!0,class:!0,placeholder:!0}),v=k(u),i=b(u,"BUTTON",{type:!0,class:!0});var S=g(i);h=E(S,d),S.forEach(y),u.forEach(y),l.forEach(y),this.h()},h(){n(e,"id","search"),n(e,"name","search"),n(e,"type","search"),n(e,"class","bg-surface-200 border-none"),n(e,"placeholder",f=o[1](o[0].placeholder)),n(i,"type","submit"),n(i,"class","submit bg-surface-400 text-white w-40"),n(a,"class","flex input"),n(s,"class","w-96")},m(t,l){C(t,s,l),p(s,a),x(r,a,null),p(a,c),p(a,e),p(a,v),p(a,i),p(i,h),m=!0},p(t,[l]){(!m||l&3&&f!==(f=t[1](t[0].placeholder)))&&n(e,"placeholder",f),(!m||l&3)&&d!==(d=t[1](t[0].submit)+"")&&I(h,d)},i(t){m||(B(r.$$.fragment,t),m=!0)},o(t){D(r.$$.fragment,t),m=!1},d(t){t&&y(s),F(r)}}}function V(o,s,a){let r;T(o,P,e=>a(1,r=e));let{i18n:c={placeholder:"",submit:""}}=s;return o.$$set=e=>{"i18n"in e&&a(0,c=e.i18n)},[c,r]}class z extends N{constructor(s){super(),O(this,s,V,R,w,{i18n:0})}}z.__docgen={version:3,name:"Search.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{z as S};
|
||||
import{a as w,c as T}from"./utils-AUSSiI9x.js";import{a as _,l as $,t as j,b,f as g,m as k,h as E,d as y,j as n,i as C,k as p,n as I}from"./lifecycle-CTLfn-qA.js";import{S as N,i as O,c as U,b as q,m as x,a as B,t as D,d as F}from"./index-BYiPtpSv.js";import{S as M}from"./ZoomOut24-BdlMg8bU.js";import{$ as P}from"./runtime-VldLyBWb.js";function R(o){let s,a,r,c,e,f,v,i,d=o[1](o[0].submit)+"",h,m;return r=new M({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=_("form"),a=_("div"),U(r.$$.fragment),c=$(),e=_("input"),v=$(),i=_("button"),h=j(d),this.h()},l(t){s=b(t,"FORM",{class:!0});var l=g(s);a=b(l,"DIV",{class:!0});var u=g(a);q(r.$$.fragment,u),c=k(u),e=b(u,"INPUT",{id:!0,name:!0,type:!0,class:!0,placeholder:!0}),v=k(u),i=b(u,"BUTTON",{type:!0,class:!0});var S=g(i);h=E(S,d),S.forEach(y),u.forEach(y),l.forEach(y),this.h()},h(){n(e,"id","search"),n(e,"name","search"),n(e,"type","search"),n(e,"class","bg-surface-200 border-none"),n(e,"placeholder",f=o[1](o[0].placeholder)),n(i,"type","submit"),n(i,"class","submit bg-surface-400 text-white w-40"),n(a,"class","flex input"),n(s,"class","w-96")},m(t,l){C(t,s,l),p(s,a),x(r,a,null),p(a,c),p(a,e),p(a,v),p(a,i),p(i,h),m=!0},p(t,[l]){(!m||l&3&&f!==(f=t[1](t[0].placeholder)))&&n(e,"placeholder",f),(!m||l&3)&&d!==(d=t[1](t[0].submit)+"")&&I(h,d)},i(t){m||(B(r.$$.fragment,t),m=!0)},o(t){D(r.$$.fragment,t),m=!1},d(t){t&&y(s),F(r)}}}function V(o,s,a){let r;T(o,P,e=>a(1,r=e));let{i18n:c={placeholder:"",submit:""}}=s;return o.$$set=e=>{"i18n"in e&&a(0,c=e.i18n)},[c,r]}class z extends N{constructor(s){super(),O(this,s,V,R,w,{i18n:0})}}z.__docgen={version:3,name:"Search.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{z as S};
|
|
@ -1,8 +0,0 @@
|
|||
import{S as a}from"./Search-92254bf8.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";const h={title:"Molecules/Search",component:a,tags:["autodocs"]},e={args:{i18n:{placeholder:"page.projects.form.fields.search.placeholder",submit:"page.projects.form.fields.search.submit"}}};var r,o,s;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{
|
||||
args: {
|
||||
i18n: {
|
||||
placeholder: 'page.projects.form.fields.search.placeholder',
|
||||
submit: 'page.projects.form.fields.search.submit'
|
||||
}
|
||||
}
|
||||
}`,...(s=(o=e.parameters)==null?void 0:o.docs)==null?void 0:s.source}}};const u=["Plain"];export{e as Plain,u as __namedExportsOrder,h as default};
|
8
assets/Search.stories-BROpXxL6.js
Normal file
8
assets/Search.stories-BROpXxL6.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
import{S as a}from"./Search-DQ4127TB.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const u={title:"Molecules/Search",component:a,tags:["autodocs"]},r={args:{i18n:{placeholder:"page.projects.form.fields.search.placeholder",submit:"page.projects.form.fields.search.submit"}}};var e,o,s;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{
|
||||
args: {
|
||||
i18n: {
|
||||
placeholder: 'page.projects.form.fields.search.placeholder',
|
||||
submit: 'page.projects.form.fields.search.submit'
|
||||
}
|
||||
}
|
||||
}`,...(s=(o=r.parameters)==null?void 0:o.docs)==null?void 0:s.source}}};const g=["Plain"];export{r as Plain,g as __namedExportsOrder,u as default};
|
|
@ -1 +1 @@
|
|||
import{S as e}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.js";const n={title:"Icons/Search24",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};
|
||||
import{S as e}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Search24",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};
|
|
@ -1 +1 @@
|
|||
import{c as e}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.js";const n={title:"Icons/Star16",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};
|
||||
import{c as e}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Star16",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};
|
|
@ -1 +1 @@
|
|||
import{a as h,c as y}from"./utils-6ebe0a8e.js";import{a as p,l as v,t as $,b as d,f as _,m as g,h as k,d as f,j as b,i as x,k as u,n as S}from"./lifecycle-cafe499b.js";import{S as j,i as w,c as F,b as T,m as C,a as E,t as O,d as q}from"./index-3a0d73e3.js";import{F as B}from"./ZoomOut24-2eaac4cc.js";import{$ as M}from"./runtime-a5210d67.js";function N(r){let s,t,a,o,n=r[1](r[0].submit)+"",l,m;return a=new B({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=p("form"),t=p("button"),F(a.$$.fragment),o=v(),l=$(n),this.h()},l(e){s=d(e,"FORM",{});var i=_(s);t=d(i,"BUTTON",{type:!0,class:!0});var c=_(t);T(a.$$.fragment,c),o=g(c),l=k(c,n),c.forEach(f),i.forEach(f),this.h()},h(){b(t,"type","submit"),b(t,"class","flex submit text-surface-400")},m(e,i){x(e,s,i),u(s,t),C(a,t,null),u(t,o),u(t,l),m=!0},p(e,[i]){(!m||i&3)&&n!==(n=e[1](e[0].submit)+"")&&S(l,n)},i(e){m||(E(a.$$.fragment,e),m=!0)},o(e){O(a.$$.fragment,e),m=!1},d(e){e&&f(s),q(a)}}}function R(r,s,t){let a;y(r,M,n=>t(1,a=n));let{i18n:o={submit:""}}=s;return r.$$set=n=>{"i18n"in n&&t(0,o=n.i18n)},[o,a]}class U extends j{constructor(s){super(),w(this,s,R,N,h,{i18n:0})}}U.__docgen={version:3,name:"Starred.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{U as S};
|
||||
import{a as h,c as y}from"./utils-AUSSiI9x.js";import{a as p,l as v,t as $,b as d,f as _,m as g,h as k,d as f,j as b,i as x,k as u,n as S}from"./lifecycle-CTLfn-qA.js";import{S as j,i as w,c as F,b as T,m as C,a as E,t as O,d as q}from"./index-BYiPtpSv.js";import{F as B}from"./ZoomOut24-BdlMg8bU.js";import{$ as M}from"./runtime-VldLyBWb.js";function N(r){let s,t,a,o,n=r[1](r[0].submit)+"",l,m;return a=new B({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=p("form"),t=p("button"),F(a.$$.fragment),o=v(),l=$(n),this.h()},l(e){s=d(e,"FORM",{});var i=_(s);t=d(i,"BUTTON",{type:!0,class:!0});var c=_(t);T(a.$$.fragment,c),o=g(c),l=k(c,n),c.forEach(f),i.forEach(f),this.h()},h(){b(t,"type","submit"),b(t,"class","flex submit text-surface-400")},m(e,i){x(e,s,i),u(s,t),C(a,t,null),u(t,o),u(t,l),m=!0},p(e,[i]){(!m||i&3)&&n!==(n=e[1](e[0].submit)+"")&&S(l,n)},i(e){m||(E(a.$$.fragment,e),m=!0)},o(e){O(a.$$.fragment,e),m=!1},d(e){e&&f(s),q(a)}}}function R(r,s,t){let a;y(r,M,n=>t(1,a=n));let{i18n:o={submit:""}}=s;return r.$$set=n=>{"i18n"in n&&t(0,o=n.i18n)},[o,a]}class U extends j{constructor(s){super(),w(this,s,R,N,h,{i18n:0})}}U.__docgen={version:3,name:"Starred.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{U as S};
|
7
assets/Starred.stories-C_Giw5Kc.js
Normal file
7
assets/Starred.stories-C_Giw5Kc.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import{S as s}from"./Starred-DIYQGHec.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./ZoomOut24-BdlMg8bU.js";import"./spread-CgU5AtxT.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const g={title:"Molecules/Starred",component:s,tags:["autodocs"]},r={args:{i18n:{submit:"page.projects.form.fields.starred.submit"}}};var t,o,e;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{
|
||||
args: {
|
||||
i18n: {
|
||||
submit: 'page.projects.form.fields.starred.submit'
|
||||
}
|
||||
}
|
||||
}`,...(e=(o=r.parameters)==null?void 0:o.docs)==null?void 0:e.source}}};const b=["Plain"];export{r as Plain,b as __namedExportsOrder,g as default};
|
|
@ -1,7 +0,0 @@
|
|||
import{S as s}from"./Starred-16694df1.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";const f={title:"Molecules/Starred",component:s,tags:["autodocs"]},r={args:{i18n:{submit:"page.projects.form.fields.starred.submit"}}};var t,o,e;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{
|
||||
args: {
|
||||
i18n: {
|
||||
submit: 'page.projects.form.fields.starred.submit'
|
||||
}
|
||||
}
|
||||
}`,...(e=(o=r.parameters)==null?void 0:o.docs)==null?void 0:e.source}}};const g=["Plain"];export{r as Plain,g as __namedExportsOrder,f as default};
|
|
@ -1 +1 @@
|
|||
import{T as e}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.js";const p={title:"Icons/TriangleDown16",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,p as default};
|
||||
import{T as e}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/TriangleDown16",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,p as default};
|
|
@ -1 +1 @@
|
|||
import{d as e}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.js";const p={title:"Icons/TriangleDown24",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,p as default};
|
||||
import{d as e}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/TriangleDown24",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,p as default};
|
|
@ -1,4 +1,4 @@
|
|||
import{j as e}from"./jsx-runtime-d5cd947d.js";import{M as o}from"./index-dfe9d97f.js";import{u as r}from"./index-c635f535.js";import"./iframe-e03d5173.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";const s="Lorem ipsum dolor sit amet, consectetur";function i(t){const n=Object.assign({h1:"h1",p:"p",h2:"h2"},r(),t.components);return e.jsxs(e.Fragment,{children:[`
|
||||
import{j as e}from"./jsx-runtime-D_d0UbCG.js";import{u as i}from"./index-B-q8vPBs.js";import{M as o}from"./index-DZY7ZykG.js";import"./iframe-BtnNOCwY.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./index-DXimoRZY.js";import"./index-B4WlZuP_.js";import"./index-DrFu-skq.js";const s="Lorem ipsum dolor sit amet, consectetur";function r(t){const n={h1:"h1",h2:"h2",p:"p",...i(),...t.components};return e.jsxs(e.Fragment,{children:[`
|
||||
`,`
|
||||
`,e.jsx(o,{title:"Typography"}),`
|
||||
`,`
|
||||
|
@ -27,4 +27,4 @@ Typeset cannot be used. Instead this is how it will actually be styled:`}),`
|
|||
`,e.jsx(n.h2,{id:"insertion",children:"Insertion"}),`
|
||||
`,e.jsx("ins",{class:"ins",children:"Insertion"}),`
|
||||
`,e.jsx(n.h2,{id:"deletion",children:"Deletion"}),`
|
||||
`,e.jsx("del",{class:"del",children:"Deletion"})]})}function u(t={}){const{wrapper:n}=Object.assign({},r(),t.components);return n?e.jsx(n,Object.assign({},t,{children:e.jsx(i,t)})):i(t)}export{s as SampleText,u as default};
|
||||
`,e.jsx("del",{class:"del",children:"Deletion"})]})}function y(t={}){const{wrapper:n}={...i(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{s as SampleText,y as default};
|
|
@ -1 +1 @@
|
|||
import{U as e}from"./ZoomOut24-2eaac4cc.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./spread-8a54911c.js";const l={title:"Icons/Upload16",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 n=["Plain"];export{o as Plain,n as __namedExportsOrder,l as default};
|
||||
import{U as e}from"./ZoomOut24-BdlMg8bU.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CTLfn-qA.js";import"./index-BYiPtpSv.js";import"./spread-CgU5AtxT.js";const l={title:"Icons/Upload16",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 n=["Plain"];export{o as Plain,n as __namedExportsOrder,l as default};
|
1
assets/WithTooltip-KJL26V4Q-aP0-JFX8.js
Normal file
1
assets/WithTooltip-KJL26V4Q-aP0-JFX8.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{W as e,W as h,b as l}from"./index-DZY7ZykG.js";import"./iframe-BtnNOCwY.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./index-DXimoRZY.js";import"./index-B4WlZuP_.js";import"./index-DrFu-skq.js";export{e as WithToolTipState,h as WithTooltip,l as WithTooltipPure};
|
|
@ -1 +0,0 @@
|
|||
import{W as T,W as e,a as h}from"./index-dfe9d97f.js";import"./iframe-e03d5173.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";export{T as WithToolTipState,e as WithTooltip,h as WithTooltipPure};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
30
assets/axe-BmBZOpIU.js
Normal file
30
assets/axe-BmBZOpIU.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/bg-DTB2vQwO.js
Normal file
1
assets/bg-DTB2vQwO.js
Normal file
|
@ -0,0 +1 @@
|
|||
const e={import_project:{form:{avatar:"Аватар",components:"Компоненти",fields:{avatar:{label:""},description:{label:"",placeholder:""},issues:{label:""},name:{error:"",label:"",placeholder:""},pr:{label:""},repository:{hint:"",label:"",placeholder:""}},submit:""},heading:"",intro:""},login:{form:{fields:{account:{label:""},passphrase:{label:"",placeholder:""},server:{label:""}},reset:"",submit:"Подаване",validation:{incorrect:"",missing:""}},heading:"",intro:""},profile:{activities:{block_or_report:"",like:""},heading:"",history:{activities:{setup:{description:"",summary:""}},heading:""},projects:{actions:{fork:"",star:"",watch:""},add_or_import:"",empty:"",heading:""}},projects:{file_table:{updated:""},form:{fields:{more_filters:{submit:""},projects:{submit:""},search:{placeholder:"",submit:""},starred:{submit:""}}},nav:{next:"",previous:""},table:{heading:{last_updated:"",name:""}}},welcome:""},a={page:e};export{a as default,e as page};
|
|
@ -1 +1 @@
|
|||
import{P as L,b as p}from"./chunk-WFFRPTHA-ed72344b.js";import"./index-11d98b33.js";const{global:v}=__STORYBOOK_MODULE_GLOBAL__,{makeDecorator:f,useEffect:u}=__STORYBOOK_MODULE_PREVIEW_API__;var{document:c,Element:i}=v,S=/^(\S+)\s*(.*)$/,k=i!=null&&!i.prototype.matches,A=k?"msMatchesSelector":"matches",E=(e,n)=>{if(e[A](n))return!0;let t=e.parentElement;return t?E(t,n):!1},R=(e,...n)=>{let t=e(...n);return Object.entries(t).map(([a,r])=>{let[o,h,_]=a.match(S)||[];return{eventName:h,handler:l=>{(!_||E(l.target,_))&&r(l)}}})},M=(e,...n)=>{let t=c&&c.getElementById("storybook-root");u(()=>{if(t!=null){let a=R(e,...n);return a.forEach(({eventName:r,handler:o})=>t.addEventListener(r,o)),()=>a.forEach(({eventName:r,handler:o})=>t.removeEventListener(r,o))}},[t,e,n])},N=f({name:"withActions",parameterName:L,skipIfNoParametersOrOptions:!0,wrapper:(e,n,{parameters:t})=>(t!=null&&t.handles&&M(p,...t.handles),e(n))});const{global:g}=__STORYBOOK_MODULE_GLOBAL__,{makeDecorator:D,addons:O}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:T,SELECT_STORY:b}=__STORYBOOK_MODULE_CORE_EVENTS__;var Y="links",{document:m,HTMLElement:B}=g,I=e=>O.getChannel().emit(b,e),d=e=>{let{target:n}=e;if(!(n instanceof B))return;let t=n,{sbKind:a,sbStory:r}=t.dataset;(a||r)&&(e.preventDefault(),I({kind:a,story:r}))},s=!1,K=()=>{s||(s=!0,m.addEventListener("click",d))},P=()=>{s&&(s=!1,m.removeEventListener("click",d))},C=D({name:"withLinks",parameterName:Y,wrapper:(e,n)=>(K(),O.getChannel().once(T,P),e(n))});export{C as a,N as w};
|
||||
import{P as L,b as p}from"./chunk-MZXVCX43-ua0nJz9H.js";import"./index-DXimoRZY.js";const{global:v}=__STORYBOOK_MODULE_GLOBAL__,{makeDecorator:f,useEffect:u}=__STORYBOOK_MODULE_PREVIEW_API__;var{document:c,Element:i}=v,S=/^(\S+)\s*(.*)$/,k=i!=null&&!i.prototype.matches,A=k?"msMatchesSelector":"matches",E=(e,n)=>{if(e[A](n))return!0;let t=e.parentElement;return t?E(t,n):!1},R=(e,...n)=>{let t=e(...n);return Object.entries(t).map(([a,r])=>{let[o,h,_]=a.match(S)||[];return{eventName:h,handler:l=>{(!_||E(l.target,_))&&r(l)}}})},M=(e,...n)=>{let t=c&&c.getElementById("storybook-root");u(()=>{if(t!=null){let a=R(e,...n);return a.forEach(({eventName:r,handler:o})=>t.addEventListener(r,o)),()=>a.forEach(({eventName:r,handler:o})=>t.removeEventListener(r,o))}},[t,e,n])},N=f({name:"withActions",parameterName:L,skipIfNoParametersOrOptions:!0,wrapper:(e,n,{parameters:t})=>(t!=null&&t.handles&&M(p,...t.handles),e(n))});const{global:g}=__STORYBOOK_MODULE_GLOBAL__,{makeDecorator:D,addons:O}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:T,SELECT_STORY:b}=__STORYBOOK_MODULE_CORE_EVENTS__;var Y="links",{document:m,HTMLElement:B}=g,I=e=>O.getChannel().emit(b,e),d=e=>{let{target:n}=e;if(!(n instanceof B))return;let t=n,{sbKind:a,sbStory:r}=t.dataset;(a||r)&&(e.preventDefault(),I({kind:a,story:r}))},s=!1,K=()=>{s||(s=!0,m.addEventListener("click",d))},P=()=>{s&&(s=!1,m.removeEventListener("click",d))},C=D({name:"withLinks",parameterName:Y,wrapper:(e,n)=>(K(),O.getChannel().once(T,P),e(n))});export{C as a,N as w};
|
1
assets/chunk-MZXVCX43-ua0nJz9H.js
Normal file
1
assets/chunk-MZXVCX43-ua0nJz9H.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{v as u}from"./v4-CQkTLCs1.js";const{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,{global:g}=__STORYBOOK_MODULE_GLOBAL__,{ImplicitActionsDuringRendering:m}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var P="actions",b="storybook/actions",A=`${b}/action-event`,a={depth:10,clearOnStoryChange:!0,limit:50},y=(e,n)=>{let t=Object.getPrototypeOf(e);return!t||n(t)?t:y(t,n)},D=e=>!!(typeof e=="object"&&e&&y(e,n=>/^Synthetic(?:Base)?Event$/.test(n.constructor.name))&&typeof e.persist=="function"),S=e=>{if(D(e)){let n=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));n.persist();let t=Object.getOwnPropertyDescriptor(n,"view"),o=t==null?void 0:t.value;return typeof o=="object"&&(o==null?void 0:o.constructor.name)==="Window"&&Object.defineProperty(n,"view",{...t,value:Object.create(o.constructor.prototype)}),n}return e},j=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?u():Date.now().toString(36)+Math.random().toString(36).substring(2);function v(e,n={}){let t={...a,...n},o=function(...i){var p,l;if(n.implicit){let O=(p="__STORYBOOK_PREVIEW__"in g?g.__STORYBOOK_PREVIEW__:void 0)==null?void 0:p.storyRenders.find(c=>c.phase==="playing"||c.phase==="rendering");if(O){let c=!((l=window==null?void 0:window.FEATURES)!=null&&l.disallowImplicitActionsInRenderV8),_=new m({phase:O.phase,name:e,deprecated:c});if(c)console.warn(_);else throw _}}let r=R.getChannel(),d=j(),E=5,s=i.map(S),f=i.length>1?s:s[0],h={id:d,count:0,data:{name:e,args:f},options:{...t,maxDepth:E+(t.depth||3),allowFunction:t.allowFunction||!1}};r.emit(A,h)};return o.isAction=!0,o.implicit=n.implicit,o}var I=(...e)=>{let n=a,t=e;t.length===1&&Array.isArray(t[0])&&([t]=t),t.length!==1&&typeof t[t.length-1]!="string"&&(n={...a,...t.pop()});let o=t[0];(t.length!==1||typeof o=="string")&&(o={},t.forEach(r=>{o[r]=r}));let i={};return Object.keys(o).forEach(r=>{i[r]=v(o[r],n)}),i};export{P,v as a,I as b};
|
|
@ -1 +0,0 @@
|
|||
import{I as E,v as b}from"./preview-errors-dde4324f.js";const{addons:m}=__STORYBOOK_MODULE_PREVIEW_API__,{global:y}=__STORYBOOK_MODULE_GLOBAL__;var P="actions",R="storybook/actions",A=`${R}/action-event`,a={depth:10,clearOnStoryChange:!0,limit:50},_=(e,o)=>{let t=Object.getPrototypeOf(e);return!t||o(t)?t:_(t,o)},j=e=>!!(typeof e=="object"&&e&&_(e,o=>/^Synthetic(?:Base)?Event$/.test(o.constructor.name))&&typeof e.persist=="function"),v=e=>{if(j(e)){let o=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));o.persist();let t=Object.getOwnPropertyDescriptor(o,"view"),n=t==null?void 0:t.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(o,"view",{...t,value:Object.create(n.constructor.prototype)}),o}return e},w=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?b():Date.now().toString(36)+Math.random().toString(36).substring(2);function D(e,o={}){let t={...a,...o},n=function(...i){var p,l;if(o.implicit){let O=(p="__STORYBOOK_PREVIEW__"in y?y.__STORYBOOK_PREVIEW__:void 0)==null?void 0:p.storyRenders.find(c=>c.phase==="playing"||c.phase==="rendering");if(O){let c=!((l=window==null?void 0:window.FEATURES)!=null&&l.disallowImplicitActionsInRenderV8),g=new E({phase:O.phase,name:e,deprecated:c});if(c)console.warn(g);else throw g}}let r=m.getChannel(),d=w(),f=5,s=i.map(v),h=i.length>1?s:s[0],u={id:d,count:0,data:{name:e,args:h},options:{...t,maxDepth:f+(t.depth||3),allowFunction:t.allowFunction||!1}};r.emit(A,u)};return n.isAction=!0,n}var S=(...e)=>{let o=a,t=e;t.length===1&&Array.isArray(t[0])&&([t]=t),t.length!==1&&typeof t[t.length-1]!="string"&&(o={...a,...t.pop()});let n=t[0];(t.length!==1||typeof n=="string")&&(n={},t.forEach(r=>{n[r]=r}));let i={};return Object.keys(n).forEach(r=>{i[r]=D(n[r],o)}),i};export{P,D as a,S as b};
|
1
assets/de-D-DQcplE.js
Normal file
1
assets/de-D-DQcplE.js
Normal file
|
@ -0,0 +1 @@
|
|||
const e={import_project:{form:{avatar:"Avatar",components:"Komponenten",fields:{avatar:{label:"Bild hochladen"},description:{label:"Beschreibung",placeholder:"Beschreibe das Projekt in unter 100 Zeichen..."},issues:{label:"Issues"},name:{error:"Dieses Feld ist erforderlich",label:"Name",placeholder:"Name des Projekts..."},pr:{label:"Pullrequest"},repository:{hint:"optional: von Git-Repository importieren",label:"Repository",placeholder:"URL des Git-Repositorys"}},submit:"Projekt erstellen"},heading:"Projekt erstellen",intro:"Neues F2-Projekt zu Anvil hinzufügen."},login:{form:{fields:{account:{label:"Accountname"},passphrase:{label:"Passwort",placeholder:"Passwort"},server:{label:"F2-Server"}},reset:"Passwort zurücksetzen",submit:"Einloggen",validation:{incorrect:"Accountname oder Kennwort sind falsch.",missing:"Das Account-Feld ist verbindlich."}},heading:"Einloggen",intro:"Die Einwahldaten ausfüllen um Anvil mit deinem F2-Account zu benutzen."},profile:{activities:{block_or_report:"{blockElementOpen}blockieren{blockElementClose} oder {reportElementOpen}melden{reportElementClose}",like:"Gefällt mir"},heading:"Profil für",history:{activities:{setup:{description:"Das F2-Konto @{username}@{instance} wurde erfolgreich innerhalb von {created_with} erstellt",summary:"Kontoeinstellungen"}},heading:"Aktivitäten"},projects:{actions:{fork:"",star:"",watch:""},add_or_import:"{addElementOpen}Ein Projekt hinzufügen{addElementClose} oder {importElementOpen}Ein Projekt importieren{importElementClose}.",empty:"Bisher keine Projekte hinzugefügt.",heading:"Projekte"}},projects:{file_table:{updated:"Aktualisiert: {relativeTime}"},form:{fields:{more_filters:{submit:"Weitere Filter"},projects:{submit:"Meine Projekte"},search:{placeholder:"Suchen oder filtern",submit:"Absenden"},starred:{submit:"Favorisiert"}}},nav:{next:"Weiter",previous:"Zurück"},table:{heading:{last_updated:"Letzte Aktualisierung",name:"Name"}}},welcome:"Willkommen bei Anvil!"},t={page:e};export{t as default,e as page};
|
|
@ -1 +0,0 @@
|
|||
const e={import_project:{form:{avatar:"Avatar",components:"Komponenten",fields:{avatar:{label:"Bild hochladen"},description:{label:"Beschreibung",placeholder:"Beschreibe das Projekt in unter 100 Zeichen..."},issues:{label:"Issues"},name:{error:"Dieses Feld ist erforderlich",label:"Name",placeholder:"Name des Projekts..."},pr:{label:"Pullrequest"},repository:{hint:"optional: von Git-Repository importieren",label:"Repository",placeholder:"URL des Git-Repositorys"}},submit:"Projekt erstellen"},heading:"Projekt erstellen",intro:"Neues F2-Projekt zu Anvil hinzufügen."},login:{form:{fields:{account:{label:"Accountname"},passphrase:{label:"Passwort",placeholder:""},server:{label:"F2-Server"}},reset:"Passwort zurücksetzen",submit:"Einloggen",validation:{incorrect:"Accountname oder Kennwort sind falsch.",missing:"Das Account-Feld ist verbindlich."}},heading:"Einloggen",intro:"Die Einwahldaten ausfüllen um Anvil mit deinem F2-Account zu benutzen."},profile:{activities:{block_or_report:"{blockElementOpen}blockieren{blockElementClose} oder {reportElementOpen}melden{reportElementClose}",like:"Gefällt mir"},heading:"Profil für",history:{activities:{setup:{description:"Das F2-Konto @{username}@{instance} wurde erfolgreich innerhalb von {created_with} erstellt",summary:"Kontoeinstellungen"}},heading:"Aktivitäten"},projects:{add_or_import:"{addElementOpen}Ein Projekt hinzufügen{addElementClose} oder {importElementOpen}Ein Projekt importieren{importElementClose}.",empty:"Bisher keine Projekte hinzugefügt.",heading:"Projekte"}},projects:{file_table:{updated:""},form:{fields:{more_filters:{submit:""},projects:{submit:""},search:{placeholder:"",submit:""},starred:{submit:""}}},nav:{next:"",previous:""},table:{heading:{last_updated:"",name:""}}},welcome:"Willkommen bei Anvil!"},t={page:e};export{t as default,e as page};
|
1
assets/each-Dkr21eUC.js
Normal file
1
assets/each-Dkr21eUC.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{t as q,a as z}from"./index-BYiPtpSv.js";import{r as B}from"./utils-AUSSiI9x.js";function G(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function C(n,d){q(n,1,1,()=>{d.delete(n.key)})}function H(n,d){n.f(),C(n,d)}function I(n,d,x,D,S,g,o,A,p,j,l,k){let i=n.length,f=g.length,c=i;const u={};for(;c--;)u[n[c].key]=c;const h=[],w=new Map,m=new Map,_=[];for(c=f;c--;){const e=k(S,g,c),s=x(e);let t=o.get(s);t?_.push(()=>t.p(e,d)):(t=j(s,e),t.c()),w.set(s,h[c]=t),s in u&&m.set(s,Math.abs(c-u[s]))}const M=new Set,v=new Set;function y(e){z(e,1),e.m(A,l),o.set(e.key,e),l=e.first,f--}for(;i&&f;){const e=h[f-1],s=n[i-1],t=e.key,a=s.key;e===s?(l=e.first,i--,f--):w.has(a)?!o.has(t)||M.has(t)?y(e):v.has(a)?i--:m.get(t)>m.get(a)?(v.add(t),y(e)):(M.add(a),i--):(p(s,o),i--)}for(;i--;){const e=n[i];w.has(e.key)||p(e,o)}for(;f;)y(h[f-1]);return B(_),h}export{G as e,H as f,C as o,I as u};
|
|
@ -1 +0,0 @@
|
|||
import{t as z,a as B}from"./index-3a0d73e3.js";import{r as C}from"./utils-6ebe0a8e.js";function G(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function D(n,d){z(n,1,1,()=>{d.delete(n.key)})}function H(n,d){n.f(),D(n,d)}function I(n,d,x,S,A,g,o,j,p,k,a,q){let i=n.length,c=g.length,f=i;const u={};for(;f--;)u[n[f].key]=f;const h=[],w=new Map,m=new Map,_=[];for(f=c;f--;){const e=q(A,g,f),s=x(e);let t=o.get(s);t?S&&_.push(()=>t.p(e,d)):(t=k(s,e),t.c()),w.set(s,h[f]=t),s in u&&m.set(s,Math.abs(f-u[s]))}const M=new Set,v=new Set;function y(e){B(e,1),e.m(j,a),o.set(e.key,e),a=e.first,c--}for(;i&&c;){const e=h[c-1],s=n[i-1],t=e.key,l=s.key;e===s?(a=e.first,i--,c--):w.has(l)?!o.has(t)||M.has(t)?y(e):v.has(l)?i--:m.get(t)>m.get(l)?(v.add(t),y(e)):(M.add(l),i--):(p(s,o),i--)}for(;i--;){const e=n[i];w.has(e.key)||p(e,o)}for(;c;)y(h[c-1]);return C(_),h}export{G as e,H as f,D as o,I as u};
|
|
@ -1 +1 @@
|
|||
const e={import_project:{form:{avatar:"Avatar",components:"Components",fields:{avatar:{label:"Upload image"},description:{label:"Description",placeholder:"Describe the project in less than 100 characters…"},issues:{label:"Issues"},name:{error:"This field is required",label:"Name",placeholder:"Name of the project…"},pr:{label:"Pull Requests"},repository:{hint:"optional: import from git repo",label:"Repository",placeholder:"url of git repository…"}},submit:"Create project"},heading:"Create project",intro:"Add a new F2 project to Anvil."},login:{form:{fields:{account:{label:"Account name"},passphrase:{label:"Passphrase",placeholder:"password"},server:{label:"F2 server"}},reset:"Reset passphrase",submit:"Log in",validation:{incorrect:"Account or password wrong.",missing:"The account field is required."}},heading:"Log in",intro:"To use Anvil with your F2 account, fill in your credentials."},profile:{activities:{block_or_report:"{blockElementOpen}block{blockElementClose} or {reportElementOpen}report{reportElementClose}",like:""},heading:"Profile for",history:{activities:{setup:{description:"The F2 account @{username}@{instance} was successfully set up within {created_with}",summary:"account set up"}},heading:"Activities"},projects:{add_or_import:"{addElementOpen}Add a project{addElementClose} or {importElementOpen}import a project{importElementClose}.",empty:"No projects added yet.",heading:"Projects"}},projects:{file_table:{updated:"Updated {relativeTime}"},form:{fields:{more_filters:{submit:"More Filters"},projects:{submit:"My projects"},search:{placeholder:"Search or filter",submit:"Submit"},starred:{submit:"Starred"}}},nav:{next:"Next",previous:"Previous"},table:{heading:{last_updated:"Last updated",name:"Name"}}},welcome:"Welcome to Anvil!"},t={page:e};export{t as default,e as page};
|
||||
const e={import_project:{form:{avatar:"Avatar",components:"Components",fields:{avatar:{label:"Upload image"},description:{label:"Description",placeholder:"Describe the project in less than 100 characters…"},issues:{label:"Issues"},name:{error:"This field is required",label:"Name",placeholder:"Name of the project…"},pr:{label:"Pull Requests"},repository:{hint:"optional: import from git repo",label:"Repository",placeholder:"url of git repository…"}},submit:"Create project"},heading:"Create project",intro:"Add a new F2 project to Anvil."},login:{form:{fields:{account:{label:"Account name"},passphrase:{label:"Passphrase",placeholder:"password"},server:{label:"F2 server"}},reset:"Reset passphrase",submit:"Log in",validation:{incorrect:"Account or password wrong.",missing:"The account field is required."}},heading:"Log in",intro:"To use Anvil with your F2 account, fill in your credentials."},profile:{activities:{block_or_report:"{blockElementOpen}block{blockElementClose} or {reportElementOpen}report{reportElementClose}",like:"Like"},heading:"Profile for",history:{activities:{setup:{description:"The F2 account @{username}@{instance} was successfully set up within {created_with}",summary:"account set up"}},heading:"Activities"},projects:{actions:{fork:"Fork",star:"Star",watch:"Watch"},add_or_import:"{addElementOpen}Add a project{addElementClose} or {importElementOpen}import a project{importElementClose}.",empty:"No projects added yet.",heading:"Projects"}},projects:{file_table:{updated:"Updated {relativeTime}"},form:{fields:{more_filters:{submit:"More Filters"},projects:{submit:"My projects"},search:{placeholder:"Search or filter",submit:"Submit"},starred:{submit:"Starred"}}},nav:{next:"Next",previous:"Previous"},table:{heading:{last_updated:"Last updated",name:"Name"}}},welcome:"Welcome to Anvil!"},t={page:e};export{t as default,e as page};
|
|
@ -1,5 +0,0 @@
|
|||
import{a as Y,d as w}from"./utils-6ebe0a8e.js";import{e as _,i as v,d as E,o as K,u as k}from"./lifecycle-cafe499b.js";import{S as B,i as L,t as d,e as R,a as m,g as T,f as U,c as y,b as D,m as h,d as g}from"./index-3a0d73e3.js";import{g as b,a as C}from"./spread-8a54911c.js";import{d as W}from"./index-356e4a49.js";function q(s){let e,n,i;const a=[s[2]];var r=s[1];function f(t,o){let l={};for(let c=0;c<a.length;c+=1)l=w(l,a[c]);return o!==void 0&&o&4&&(l=w(l,b(a,[C(t[2])]))),{props:l}}return r&&(e=k(r,f(s)),s[8](e)),{c(){e&&y(e.$$.fragment),n=_()},l(t){e&&D(e.$$.fragment,t),n=_()},m(t,o){e&&h(e,t,o),v(t,n,o),i=!0},p(t,o){if(o&2&&r!==(r=t[1])){if(e){T();const l=e;d(l.$$.fragment,1,0,()=>{g(l,1)}),R()}r?(e=k(r,f(t,o)),t[8](e),y(e.$$.fragment),m(e.$$.fragment,1),h(e,n.parentNode,n)):e=null}else if(r){const l=o&4?b(a,[C(t[2])]):{};e.$set(l)}},i(t){i||(e&&m(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&E(n),s[8](null),e&&g(e,t)}}}function z(s){let e,n,i;const a=[s[0].props];var r=s[0].Component;function f(t,o){let l={$$slots:{default:[G]},$$scope:{ctx:t}};for(let c=0;c<a.length;c+=1)l=w(l,a[c]);return o!==void 0&&o&1&&(l=w(l,b(a,[C(t[0].props)]))),{props:l}}return r&&(e=k(r,f(s)),s[7](e)),{c(){e&&y(e.$$.fragment),n=_()},l(t){e&&D(e.$$.fragment,t),n=_()},m(t,o){e&&h(e,t,o),v(t,n,o),i=!0},p(t,o){if(o&1&&r!==(r=t[0].Component)){if(e){T();const l=e;d(l.$$.fragment,1,0,()=>{g(l,1)}),R()}r?(e=k(r,f(t,o)),t[7](e),y(e.$$.fragment),m(e.$$.fragment,1),h(e,n.parentNode,n)):e=null}else if(r){const l=o&1?b(a,[C(t[0].props)]):{};o&1038&&(l.$$scope={dirty:o,ctx:t}),e.$set(l)}},i(t){i||(e&&m(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&E(n),s[7](null),e&&g(e,t)}}}function G(s){let e,n,i;const a=[s[2]];var r=s[1];function f(t,o){let l={};for(let c=0;c<a.length;c+=1)l=w(l,a[c]);return o!==void 0&&o&4&&(l=w(l,b(a,[C(t[2])]))),{props:l}}return r&&(e=k(r,f(s)),s[6](e)),{c(){e&&y(e.$$.fragment),n=_()},l(t){e&&D(e.$$.fragment,t),n=_()},m(t,o){e&&h(e,t,o),v(t,n,o),i=!0},p(t,o){if(o&2&&r!==(r=t[1])){if(e){T();const l=e;d(l.$$.fragment,1,0,()=>{g(l,1)}),R()}r?(e=k(r,f(t,o)),t[6](e),y(e.$$.fragment),m(e.$$.fragment,1),h(e,n.parentNode,n)):e=null}else if(r){const l=o&4?b(a,[C(t[2])]):{};e.$set(l)}},i(t){i||(e&&m(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&E(n),s[6](null),e&&g(e,t)}}}function H(s){let e,n,i,a;const r=[z,q],f=[];function t(o,l){return o[0]?0:1}return e=t(s),n=f[e]=r[e](s),{c(){n.c(),i=_()},l(o){n.l(o),i=_()},m(o,l){f[e].m(o,l),v(o,i,l),a=!0},p(o,[l]){let c=e;e=t(o),e===c?f[e].p(o,l):(T(),d(f[c],1,1,()=>{f[c]=null}),R(),n=f[e],n?n.p(o,l):(n=f[e]=r[e](o),n.c()),m(n,1),n.m(i.parentNode,i))},i(o){a||(m(n),a=!0)},o(o){d(n),a=!1},d(o){o&&E(i),f[e].d(o)}}}function J(s,e,n){let{decorator:i=void 0}=e,{Component:a}=e,{props:r={}}=e,{on:f=void 0}=e,t,o;function l(){return t||o}f&&Object.keys(f).forEach(p=>{K(()=>l().$on(p,f[p]))});function c(p){U[p?"unshift":"push"](()=>{t=p,n(3,t)})}function O(p){U[p?"unshift":"push"](()=>{o=p,n(4,o)})}function F(p){U[p?"unshift":"push"](()=>{t=p,n(3,t)})}return s.$$set=p=>{"decorator"in p&&n(0,i=p.decorator),"Component"in p&&n(1,a=p.Component),"props"in p&&n(2,r=p.props),"on"in p&&n(5,f=p.on)},[i,a,r,t,o,f,c,O,F]}class A extends B{constructor(e){super(),L(this,e,J,H,Y,{decorator:0,Component:1,props:2,on:5})}}A.__docgen={version:3,name:"SlotDecorator.svelte",data:[{visibility:"public",description:null,keywords:[],name:"decorator",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"Component",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"props",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{visibility:"public",description:null,keywords:[],name:"on",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Q(s){let e,n;return e=new A({props:{Component:s[0],props:s[1],on:{...s[3],...s[2]}}}),{c(){y(e.$$.fragment)},l(i){D(e.$$.fragment,i)},m(i,a){h(e,i,a),n=!0},p(i,[a]){const r={};a&1&&(r.Component=i[0]),a&2&&(r.props=i[1]),a&4&&(r.on={...i[3],...i[2]}),e.$set(r)},i(i){n||(m(e.$$.fragment,i),n=!0)},o(i){d(e.$$.fragment,i),n=!1},d(i){g(e,i)}}}function X(s,e,n){let{name:i}=e,{kind:a}=e,{storyFn:r}=e,{showError:f}=e,{storyContext:t}=e,{Component:o,props:l={},on:c}=r(),O=!0;function F(u){return O?(O=!1,{Component:o,props:l,on:c}):u()}const p=Object.fromEntries(Object.entries(t.argTypes).filter(([u,M])=>M.action&&l[u]!=null).map(([u,M])=>[M.action,l[u]]));return o||f({title:`Expecting a Svelte component from the story: "${i}" of "${a}".`,description:W`
|
||||
Did you forget to return the Svelte component configuration from the story?
|
||||
Use "() => ({ Component: YourComponent, props: {} })"
|
||||
when defining the story.
|
||||
`}),s.$$set=u=>{"name"in u&&n(4,i=u.name),"kind"in u&&n(5,a=u.kind),"storyFn"in u&&n(6,r=u.storyFn),"showError"in u&&n(7,f=u.showError),"storyContext"in u&&n(8,t=u.storyContext)},s.$$.update=()=>{s.$$.dirty&64&&n(0,{Component:o,props:l={},on:c}=F(r),o,(n(1,l),n(6,r)),(n(2,c),n(6,r)))},[o,l,c,p,i,a,r,f,t]}class V extends B{constructor(e){super(),L(this,e,X,Q,Y,{name:4,kind:5,storyFn:6,showError:7,storyContext:8})}}V.__docgen={version:3,name:"PreviewRender.svelte",data:[{visibility:"public",description:null,keywords:[],name:"name",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"kind",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"storyFn",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"showError",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"storyContext",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const{addons:Z,sanitizeStoryContextUpdate:$}=__STORYBOOK_MODULE_PREVIEW_API__,{RESET_STORY_ARGS:x}=__STORYBOOK_MODULE_CORE_EVENTS__;function I(s){return s&&typeof s=="object"&&"default"in s?s.default:s}function N(s,e,n){let i=I(e),a=n&&I(n),r;return!i||Object.keys(i).length===0?r={Component:s.component}:i.Component?r=i:r={Component:i},a?{Component:A,props:{...a,decorator:r}}:r}function ie(s,e){return e.reduce((n,i)=>a=>{let r,f=i(t=>(r=n({...a,...$(t)}),r),a);return r||(r=n(a)),f===r?r:N(a,f,r)},n=>N(n,s(n)))}var S=new Map;function P(s){S.has(s)&&(S.get(s).$destroy(),s.innerHTML="",S.delete(s))}var j=new Set;Z.getChannel().on(x,({storyId:s})=>{j.add(s)});function se({storyFn:s,kind:e,name:n,showMain:i,showError:a,storyContext:r,forceRemount:f},t){let o=S.get(t),l=f;if(j.has(r.id)&&(l=!0,j.delete(r.id)),l&&P(t),!o||l){let c=new V({target:t,props:{storyFn:s,storyContext:r,name:n,kind:e,showError:a}});S.set(t,c)}else o.$set({storyFn:s,storyContext:r,name:n,kind:e,showError:a});return i(),()=>{P(t)}}var le=(s,e)=>{let{id:n,component:i}=e;if(!i)throw new Error(`Unable to render story ${n} as the component annotation is missing from the default export`);return{Component:i,props:s}},ae={renderer:"svelte"};export{ie as applyDecorators,ae as parameters,le as render,se as renderToCanvas};
|
|
@ -1,4 +1,4 @@
|
|||
import{e as m,S as _,a as f}from"./index-a04a29e8.js";import"./_commonjsHelpers-725317a4.js";const{logger:E,deprecate:$}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{addons:S,useEffect:h}=__STORYBOOK_MODULE_PREVIEW_API__;function T(r,e){return e?e.find(n=>n.name===r)!=null:!1}var O=r=>{try{let e=r.__docgen;if(e)return A(e)}catch(e){E.log(`Error extracting argTypes: ${e}`)}return{}},A=r=>{let e={};return r.data&&r.data.forEach(n=>{var t,a;e[n.name]={control:w(n.type),name:n.name,description:n.description||void 0,type:{required:T("required",n.keywords||[]),name:(t=n.type)==null?void 0:t.text},table:{type:{summary:(a=n.type)==null?void 0:a.text},defaultValue:{summary:n.defaultValue},category:"properties"}}}),r.events&&r.events.forEach(n=>{e[`event_${n.name}`]={name:n.name,action:n.name,control:!1,...n.description?{description:n.description}:{},table:{category:"events"}}}),r.slots&&r.slots.forEach(n=>{var t;e[`slot_${n.name}`]={name:n.name,control:!1,description:[n.description,(t=n.params)==null?void 0:t.map(a=>`\`${a.name}\``).join(" ")].filter(a=>a).join(`
|
||||
import{e as m,S as _,a as f}from"./index-B4WlZuP_.js";import"./_commonjsHelpers-Cpj98o6Y.js";const{logger:E,deprecate:$}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{addons:S,useEffect:h}=__STORYBOOK_MODULE_PREVIEW_API__;function T(r,e){return e?e.find(n=>n.name===r)!=null:!1}var O=r=>{try{let e=r.__docgen;if(e)return A(e)}catch(e){E.log(`Error extracting argTypes: ${e}`)}return{}},A=r=>{let e={};return r.data&&r.data.forEach(n=>{var t,a;e[n.name]={control:w(n.type),name:n.name,description:n.description||void 0,type:{required:T("required",n.keywords||[]),name:(t=n.type)==null?void 0:t.text},table:{type:{summary:(a=n.type)==null?void 0:a.text},defaultValue:{summary:n.defaultValue},category:"properties"}}}),r.events&&r.events.forEach(n=>{e[`event_${n.name}`]={name:n.name,action:n.name,control:!1,...n.description?{description:n.description}:{},table:{category:"events"}}}),r.slots&&r.slots.forEach(n=>{var t;e[`slot_${n.name}`]={name:n.name,control:!1,description:[n.description,(t=n.params)==null?void 0:t.map(a=>`\`${a.name}\``).join(" ")].filter(a=>a).join(`
|
||||
|
||||
`),table:{category:"slots"}}}),e},w=r=>{if(!r)return null;if(r.kind==="type")switch(r.type){case"string":return{type:"text"};case"enum":return{type:"radio"};case"any":return{type:"object"};default:return{type:r.type}}else if(r.kind==="union"&&Array.isArray(r.type)&&!r.type.find(e=>e.type!=="string"))return{type:"radio",options:r.type.filter(e=>e.kind==="const").map(e=>e.value)};return null};function C(r){if(!r)return"";let{__docgen:e={}}=r;return e.description}var D=r=>{var t;let e=(t=r==null?void 0:r.parameters.docs)==null?void 0:t.source,n=r==null?void 0:r.parameters.__isArgsStory;return(e==null?void 0:e.type)===f.DYNAMIC?!1:!n||(e==null?void 0:e.code)||(e==null?void 0:e.type)===f.CODE};function v(r,e,n){if(e==null)return null;let t=n[r];return t&&t.defaultValue===e||t&&t.action?null:e===!0?r:typeof e=="string"?`${r}=${JSON.stringify(e)}`:typeof e=="function"?`${r}={<handler>}`:`${r}={${JSON.stringify(e)}}`}function N(r){if(r==null)return null;let{__docgen:e={}}=r,{name:n}=e;return n?(n.endsWith(".svelte")&&(n=n.substring(0,n.length-7)),n):r.name}function R(r,e,n,t){let a=N(r);if(!a)return null;let s=Object.entries(e).filter(([o])=>o!==t).map(([o,d])=>v(o,d,n)).filter(o=>o),p=s.join(" "),l=p.length>50,u=t?e[t]:null,i=l?`<${a}
|
||||
${s.join(`
|
44
assets/entry-preview-ynyT2Nvg.js
Normal file
44
assets/entry-preview-ynyT2Nvg.js
Normal file
File diff suppressed because one or more lines are too long
58
assets/formatter-2WMMO6ZP-BiY3P1Wy.js
Normal file
58
assets/formatter-2WMMO6ZP-BiY3P1Wy.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
const e={import_project:{form:{avatar:"תמונה",components:"רכיבים",fields:{avatar:{label:"להעלות תמונה?"},description:{label:"תיאור",placeholder:"על הפרויקט בפחות מ-100 אותיות…"},issues:{label:"סוגיות"},name:{error:"חובה",label:"שם",placeholder:"שם הפרויקט…"},pr:{label:"פרים"},repository:{hint:"אפשר לייבא קוד מקופסת גיט",label:"קופסת קוד",placeholder:"לינק לקופסת קוד של גיט"}},submit:"ליצור פרויקט"},heading:"יצירת פרויקט",intro:""},login:{form:{fields:{account:{label:"שם משתמש"},passphrase:{label:"סיסמה",placeholder:""},server:{label:""}},reset:"לשנות סיסמה?",submit:"להיכנס",validation:{incorrect:"שם המשתמש או הסיסמה שגויים.",missing:"שם המשתמש חובה."}},heading:"כניסה",intro:""},profile:{activities:{block_or_report:"{blockElementOpen}לחסום{blockElementClose} או {reportElementOpen}לדווח{reportElementClose}",like:"אהבתי"},heading:"הפרופיל של",history:{activities:{setup:{description:"",summary:""}},heading:"פעילות"},projects:{add_or_import:"",empty:"עדיין אין כאן פרוייקטים.",heading:"פרויקטים"}},projects:{file_table:{updated:""},form:{fields:{more_filters:{submit:""},projects:{submit:""},search:{placeholder:"",submit:""},starred:{submit:""}}},nav:{next:"",previous:""},table:{heading:{last_updated:"",name:""}}},welcome:""},l={page:e};export{l as default,e as page};
|
||||
const e={import_project:{form:{avatar:"תמונה",components:"רכיבים",fields:{avatar:{label:"להעלות תמונה?"},description:{label:"תיאור",placeholder:"על הפרויקט בפחות מ-100 אותיות…"},issues:{label:"סוגיות"},name:{error:"חובה",label:"שם",placeholder:"שם הפרויקט…"},pr:{label:"פרים"},repository:{hint:"אפשר לייבא קוד מקופסת גיט",label:"קופסת קוד",placeholder:"לינק לקופסת קוד של גיט"}},submit:"ליצור פרויקט"},heading:"יצירת פרויקט",intro:""},login:{form:{fields:{account:{label:"שם משתמש"},passphrase:{label:"סיסמה",placeholder:""},server:{label:""}},reset:"לשנות סיסמה?",submit:"להיכנס",validation:{incorrect:"שם המשתמש או הסיסמה שגויים.",missing:"שם המשתמש חובה."}},heading:"כניסה",intro:""},profile:{activities:{block_or_report:"{blockElementOpen}לחסום{blockElementClose} או {reportElementOpen}לדווח{reportElementClose}",like:"אהבתי"},heading:"הפרופיל של",history:{activities:{setup:{description:"",summary:""}},heading:"פעילות"},projects:{actions:{fork:"",star:"",watch:""},add_or_import:"",empty:"עדיין אין כאן פרוייקטים.",heading:"פרויקטים"}},projects:{file_table:{updated:""},form:{fields:{more_filters:{submit:""},projects:{submit:""},search:{placeholder:"",submit:""},starred:{submit:""}}},nav:{next:"",previous:""},table:{heading:{last_updated:"",name:""}}},welcome:""},t={page:e};export{t as default,e as page};
|
2
assets/iframe-BtnNOCwY.js
Normal file
2
assets/iframe-BtnNOCwY.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
var A=Object.create,g=Object.defineProperty,d=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,h=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,x=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),P=(r,e,i,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of j(e))!m.call(r,a)&&a!==i&&g(r,a,{get:()=>e[a],enumerable:!(u=d(e,a))||u.enumerable});return r},S=(r,e,i)=>(i=r!=null?A(h(r)):{},P(e||!r||!r.__esModule?g(i,"default",{value:r,enumerable:!0}):i,r)),U=x(r=>{Object.defineProperty(r,"__esModule",{value:!0}),r.isEqual=function(){var e=Object.prototype.toString,i=Object.getPrototypeOf,u=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,c){return function f(t,n,o){var y,s,l,p=e.call(t),w=e.call(n);if(t===n)return!0;if(t==null||n==null)return!1;if(o.indexOf(t)>-1&&o.indexOf(n)>-1)return!0;if(o.push(t,n),p!=w||(y=u(t),s=u(n),y.length!=s.length||y.some(function(O){return!f(t[O],n[O],o)})))return!1;switch(p.slice(8,-1)){case"Symbol":return t.valueOf()==n.valueOf();case"Date":case"Number":return+t==+n||+t!=+t&&+n!=+n;case"RegExp":case"Function":case"String":case"Boolean":return""+t==""+n;case"Set":case"Map":y=t.entries(),s=n.entries();do if(!f((l=y.next()).value,s.next().value,o))return!1;while(!l.done);return!0;case"ArrayBuffer":t=new Uint8Array(t),n=new Uint8Array(n);case"DataView":t=new Uint8Array(t.buffer),n=new Uint8Array(n.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(t.length!=n.length)return!1;for(l=0;l<t.length;l++)if((l in t||l in n)&&(l in t!=l in n||!f(t[l],n[l],o)))return!1;return!0;case"Object":return f(i(t),i(n),o);default:return!1}}(a,c,[])}}()}),b=S(U()),v=r=>r.map(e=>typeof e<"u").filter(Boolean).length,q=(r,e)=>{let{exists:i,eq:u,neq:a,truthy:c}=r;if(v([i,u,a,c])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:i,eq:u,neq:a})}`);if(typeof u<"u")return(0,b.isEqual)(e,u);if(typeof a<"u")return!(0,b.isEqual)(e,a);if(typeof i<"u"){let f=typeof e<"u";return i?f:!f}return typeof c>"u"||c?!!e:!e},E=(r,e,i)=>{if(!r.if)return!0;let{arg:u,global:a}=r.if;if(v([u,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:u,global:a})}`);let c=u?e[u]:i[a];return q(r.if,c)},I=r=>r.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");export{I as L,E as O};
|
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue