Updates
This commit is contained in:
parent
c8cf811380
commit
9228a2bea3
77 changed files with 398 additions and 208 deletions
|
@ -1 +1 @@
|
||||||
import{A as a}from"./ZoomOut24-a2398075.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.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-c1a8fc9f.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};
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
||||||
import{A as i}from"./Avatar-dbcb87cd.js";import"./utils-09ff0c0e.js";import"./index-b180c43f.js";import"./lifecycle-16e1fb41.js";import"./index-9ff358fd.js";import"./spread-8a54911c.js";import"./each-57bb632b.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-569bc484.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:`{
|
||||||
args: {
|
args: {
|
||||||
avatar: '',
|
avatar: '',
|
||||||
displayName: 'Jane Doe'
|
displayName: 'Jane Doe'
|
|
@ -1 +1 @@
|
||||||
import{a as i,n as r,c as p}from"./utils-09ff0c0e.js";import{H as c,e as a,c as m,i as u,d as b}from"./lifecycle-16e1fb41.js";import{S as d,i as _}from"./index-b180c43f.js";import{$ as f}from"./runtime-ea3b2d3b.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-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};
|
|
@ -1 +1 @@
|
||||||
import{B as a}from"./BlockOrReport-64932439.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.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};
|
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};
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
||||||
import{j as r}from"./jsx-runtime-7369b924.js";import{M as s,C as t,b as o}from"./index-e27a64c7.js";import{u as e}from"./index-c7e530aa.js";import"./iframe-a95b58fe.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-a969b58e.js";import{M as s,C as t,b as o}from"./index-f15fcccb.js";import{u as e}from"./index-5f13a97f.js";import"./iframe-6a2b4355.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:[`
|
||||||
`,`
|
`,`
|
||||||
`,r.jsx(s,{title:"Colors"}),`
|
`,r.jsx(s,{title:"Colors"}),`
|
||||||
`,r.jsx(c.p,{children:"Consider the value at 500 to be the default."}),`
|
`,r.jsx(c.p,{children:"Consider the value at 500 to be the default."}),`
|
|
@ -1 +1 @@
|
||||||
import{a as k,n as d}from"./utils-09ff0c0e.js";import{e as c,i as h,d as o,a as m,t as b,H as g,b as f,f as p,h as D,c as v,j as u,k as _}from"./lifecycle-16e1fb41.js";import{S as w,i as C}from"./index-b180c43f.js";function y(s){let a,e,t,i;return{c(){a=m("span"),e=b("created "),t=m("date"),i=new g(!1),this.h()},l(l){a=f(l,"SPAN",{});var n=p(a);e=D(n,"created "),t=f(n,"DATE",{datetime:!0});var r=p(t);i=v(r,!1),r.forEach(o),n.forEach(o),this.h()},h(){i.a=null,u(t,"datetime",s[0])},m(l,n){h(l,a,n),_(a,e),_(a,t),i.m(s[1],t)},p(l,n){n&2&&i.p(l[1]),n&1&&u(t,"datetime",l[0])},d(l){l&&o(a)}}}function E(s){let a,e=s[0]&&s[1]&&y(s);return{c(){e&&e.c(),a=c()},l(t){e&&e.l(t),a=c()},m(t,i){e&&e.m(t,i),h(t,a,i)},p(t,[i]){t[0]&&t[1]?e?e.p(t,i):(e=y(t),e.c(),e.m(a.parentNode,a)):e&&(e.d(1),e=null)},i:d,o:d,d(t){t&&o(a),e&&e.d(t)}}}function H(s,a,e){let t,{created_at:i=null}=a,{locale:l="en"}=a;return s.$$set=n=>{"created_at"in n&&e(0,i=n.created_at),"locale"in n&&e(2,l=n.locale)},s.$$.update=()=>{s.$$.dirty&5&&e(1,t=new Intl.DateTimeFormat(l).format(i))},[i,t,l]}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:[{name:"type",description:"{string}"}],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};
|
import{a as k,n as d}from"./utils-6ebe0a8e.js";import{e as c,i as h,d as o,a as m,t as b,H as g,b as f,f as p,h as D,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(s){let a,e,t,i;return{c(){a=m("span"),e=b("created "),t=m("date"),i=new g(!1),this.h()},l(l){a=f(l,"SPAN",{});var n=p(a);e=D(n,"created "),t=f(n,"DATE",{datetime:!0});var r=p(t);i=v(r,!1),r.forEach(o),n.forEach(o),this.h()},h(){i.a=null,u(t,"datetime",s[0])},m(l,n){h(l,a,n),_(a,e),_(a,t),i.m(s[1],t)},p(l,n){n&2&&i.p(l[1]),n&1&&u(t,"datetime",l[0])},d(l){l&&o(a)}}}function E(s){let a,e=s[0]&&s[1]&&y(s);return{c(){e&&e.c(),a=c()},l(t){e&&e.l(t),a=c()},m(t,i){e&&e.m(t,i),h(t,a,i)},p(t,[i]){t[0]&&t[1]?e?e.p(t,i):(e=y(t),e.c(),e.m(a.parentNode,a)):e&&(e.d(1),e=null)},i:d,o:d,d(t){t&&o(a),e&&e.d(t)}}}function H(s,a,e){let t,{created_at:i=null}=a,{locale:l="en"}=a;return s.$$set=n=>{"created_at"in n&&e(0,i=n.created_at),"locale"in n&&e(2,l=n.locale)},s.$$.update=()=>{s.$$.dirty&5&&e(1,t=new Intl.DateTimeFormat(l).format(i))},[i,t,l]}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:[{name:"type",description:"{string}"}],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,4 +1,4 @@
|
||||||
import{C as d}from"./Created-2245d9b8.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.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-ff35da2d.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:`{
|
||||||
args: {
|
args: {
|
||||||
created_at: new Date(),
|
created_at: new Date(),
|
||||||
locale: 'en'
|
locale: 'en'
|
|
@ -1 +1 @@
|
||||||
import{a as H,n as w,c as P}from"./utils-09ff0c0e.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-16e1fb41.js";import{S as V,i as q}from"./index-b180c43f.js";import{$ as A}from"./runtime-ea3b2d3b.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-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};
|
|
@ -1,4 +1,4 @@
|
||||||
import{D as p}from"./DisplayName-dd14e727.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.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:`{
|
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: {
|
args: {
|
||||||
displayName: 'Jane Doe',
|
displayName: 'Jane Doe',
|
||||||
i18n: {
|
i18n: {
|
|
@ -1 +1 @@
|
||||||
import{_ as h}from"./iframe-a95b58fe.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-e27a64c7.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-dc765a9c.js"),["./index-dc765a9c.js","./index-c7e530aa.js","./index-e27a64c7.js","./iframe-a95b58fe.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};
|
import{_ as h}from"./iframe-6a2b4355.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-f15fcccb.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-a9c8b01b.js"),["./index-a9c8b01b.js","./index-5f13a97f.js","./index-f15fcccb.js","./iframe-6a2b4355.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
assets/FileTable-962b060f.js
Normal file
1
assets/FileTable-962b060f.js
Normal file
File diff suppressed because one or more lines are too long
123
assets/FileTable.stories-a4cf4870.js
Normal file
123
assets/FileTable.stories-a4cf4870.js
Normal file
|
@ -0,0 +1,123 @@
|
||||||
|
import{w as d,a as g}from"./chunk-6GSMXRCY-a387bb65.js";import{F as u}from"./FileTable-962b060f.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-c1a8fc9f.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:`{
|
||||||
|
args: {
|
||||||
|
i18n: {
|
||||||
|
heading: {
|
||||||
|
lastUpdated: 'page.projects.table.heading.last_updated',
|
||||||
|
name: 'page.projects.table.heading.name'
|
||||||
|
},
|
||||||
|
table: {
|
||||||
|
updated: 'page.projects.file_table.updated'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
projects: []
|
||||||
|
}
|
||||||
|
}`,...(o=(s=e.parameters)==null?void 0:s.docs)==null?void 0:o.source}}};var p,r,i;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`{
|
||||||
|
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',
|
||||||
|
// 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'
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}`,...(i=(r=a.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};var l,m,c;t.parameters={...t.parameters,docs:{...(l=t.parameters)==null?void 0:l.docs,source:{originalSource:`{
|
||||||
|
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',
|
||||||
|
// 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'
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}`,...(c=(m=t.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const S=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,e as NoProjects,a as SingleProject,S as __namedExportsOrder,B as default};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{a as l}from"./utils-09ff0c0e.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-b180c43f.js";import{I as P}from"./ImportProject-43b48812.js";import"./lifecycle-16e1fb41.js";import"./ZoomOut24-a2398075.js";import"./spread-8a54911c.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.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};
|
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-3976a532.js";import"./lifecycle-cafe499b.js";import"./ZoomOut24-c1a8fc9f.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 m}from"./ImportProject-43b48812.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.js";import"./ZoomOut24-a2398075.js";import"./spread-8a54911c.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.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};
|
import{I as m}from"./ImportProject-3976a532.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-c1a8fc9f.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 +1 @@
|
||||||
import{I as e}from"./ZoomOut24-a2398075.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.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-c1a8fc9f.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};
|
|
@ -1 +1 @@
|
||||||
import{a as F,c as I}from"./utils-09ff0c0e.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-16e1fb41.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-b180c43f.js";import{$ as G}from"./runtime-ea3b2d3b.js";import{L as J}from"./LoginForm-9fb70c0c.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-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};
|
34
assets/Login.stories-53c13bb0.js
Normal file
34
assets/Login.stories-53c13bb0.js
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
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,25 +0,0 @@
|
||||||
import{a as v}from"./utils-09ff0c0e.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-b180c43f.js";import{L as P}from"./Login-c5ffcdd4.js";import"./lifecycle-16e1fb41.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";import"./LoginForm-9fb70c0c.js";import"./each-57bb632b.js";function D(r){let t,a;return t=new P({props:{data:r[0],form:r[1]}}),{c(){x(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,o){L(t,e,o),a=!0},p(e,[o]){const n={};o&1&&(n.data=e[0]),o&2&&(n.form=e[1]),t.$set(n)},i(e){a||(h(t.$$.fragment,e),a=!0)},o(e){w(t.$$.fragment,e),a=!1},d(e){I(t,e)}}}function F(r,t,a){let{data:e={servers:{}}}=t,{form:o=null}=t;return r.$$set=n=>{"data"in n&&a(0,e=n.data),"form"in n&&a(1,o=n.form)},[e,o]}class b extends j{constructor(t){super(),k(this,t,F,D,v,{data:0,form:1})}}b.__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:b,tags:["autodocs"],argTypes:{form:{controls:"object"}}},s={args:{form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},i={args:{form:{account:"",incorrect:!1,missing:!0}}},c={args:{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: {
|
|
||||||
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: {
|
|
||||||
form: {
|
|
||||||
account: '',
|
|
||||||
incorrect: false,
|
|
||||||
missing: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,...(u=(f=i.parameters)==null?void 0:f.docs)==null?void 0:u.source}}};var g,y,_;c.parameters={...c.parameters,docs:{...(g=c.parameters)==null?void 0:g.docs,source:{originalSource:`{
|
|
||||||
args: {
|
|
||||||
form: {
|
|
||||||
account: 'jane.doe@domain.example',
|
|
||||||
incorrect: true,
|
|
||||||
missing: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,...(_=(y=c.parameters)==null?void 0:y.docs)==null?void 0:_.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-82c7dda8.js
Normal file
34
assets/Login.stories-82c7dda8.js
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
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};
|
|
@ -1,25 +0,0 @@
|
||||||
import{w as d,a as u}from"./chunk-6GSMXRCY-a387bb65.js";import{L as g}from"./Login-c5ffcdd4.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";import"./LoginForm-9fb70c0c.js";import"./each-57bb632b.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:[d,u]},r={args:{form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},o={args:{form:{account:"",incorrect:!1,missing:!0}}},a={args:{form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var e,s,n;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{
|
|
||||||
args: {
|
|
||||||
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;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`{
|
|
||||||
args: {
|
|
||||||
form: {
|
|
||||||
account: '',
|
|
||||||
incorrect: false,
|
|
||||||
missing: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,...(m=(i=o.parameters)==null?void 0:i.docs)==null?void 0:m.source}}};var c,p,l;a.parameters={...a.parameters,docs:{...(c=a.parameters)==null?void 0:c.docs,source:{originalSource:`{
|
|
||||||
args: {
|
|
||||||
form: {
|
|
||||||
account: 'jane.doe@domain.example',
|
|
||||||
incorrect: true,
|
|
||||||
missing: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,...(l=(p=a.parameters)==null?void 0:p.docs)==null?void 0:l.source}}};const _=["Plain","MissingInput","InvalidFormData"];export{a as InvalidFormData,o as MissingInput,r as Plain,_ as __namedExportsOrder,M as default};
|
|
File diff suppressed because one or more lines are too long
|
@ -1,88 +0,0 @@
|
||||||
import{w as c,a as f}from"./chunk-6GSMXRCY-a387bb65.js";import{L as d}from"./LoginForm-9fb70c0c.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./each-57bb632b.js";import"./index-b180c43f.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";const D={title:"Organisms/LoginForm",component:d,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{form:{controls:"object"},i18n:{controls:"object"},onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]},servers:{controls:"object"}},decorators:[c,f]},e={args:{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"}},servers:[]}},a={args:{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"}},servers:[]}},n={args:{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"}},servers:[]}};var r,o,s;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{
|
|
||||||
args: {
|
|
||||||
form: {
|
|
||||||
account: 'jane.doe@domain.example',
|
|
||||||
incorrect: false,
|
|
||||||
missing: false
|
|
||||||
},
|
|
||||||
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'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
servers: []
|
|
||||||
}
|
|
||||||
}`,...(s=(o=e.parameters)==null?void 0:o.docs)==null?void 0:s.source}}};var i,l,t;a.parameters={...a.parameters,docs:{...(i=a.parameters)==null?void 0:i.docs,source:{originalSource:`{
|
|
||||||
args: {
|
|
||||||
form: {
|
|
||||||
account: '',
|
|
||||||
incorrect: false,
|
|
||||||
missing: true
|
|
||||||
},
|
|
||||||
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'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
servers: []
|
|
||||||
}
|
|
||||||
}`,...(t=(l=a.parameters)==null?void 0:l.docs)==null?void 0:t.source}}};var p,m,g;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`{
|
|
||||||
args: {
|
|
||||||
form: {
|
|
||||||
account: 'jane.doe@domain.example',
|
|
||||||
incorrect: true,
|
|
||||||
missing: false
|
|
||||||
},
|
|
||||||
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'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
servers: []
|
|
||||||
}
|
|
||||||
}`,...(g=(m=n.parameters)==null?void 0:m.docs)==null?void 0:g.source}}};const M=["Plain","MissingInput","InvalidFormData"];export{n as InvalidFormData,a as MissingInput,e as Plain,M as __namedExportsOrder,D as default};
|
|
106
assets/LoginForm.stories-e492802c.js
Normal file
106
assets/LoginForm.stories-e492802c.js
Normal file
|
@ -0,0 +1,106 @@
|
||||||
|
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:`{
|
||||||
|
args: {
|
||||||
|
data: {
|
||||||
|
servers: {
|
||||||
|
1: 'fig.fr33domlover.site',
|
||||||
|
2: 'grape.fr33domlover.site',
|
||||||
|
3: 'walnut.fr33domlover.site'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
form: {
|
||||||
|
account: 'jane.doe@domain.example',
|
||||||
|
incorrect: false,
|
||||||
|
missing: false
|
||||||
|
},
|
||||||
|
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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}`,...(i=(n=e.parameters)==null?void 0:n.docs)==null?void 0:i.source}}};var s,l,t;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:`{
|
||||||
|
args: {
|
||||||
|
data: {
|
||||||
|
servers: {
|
||||||
|
1: 'fig.fr33domlover.site',
|
||||||
|
2: 'grape.fr33domlover.site',
|
||||||
|
3: 'walnut.fr33domlover.site'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
form: {
|
||||||
|
account: '',
|
||||||
|
incorrect: false,
|
||||||
|
missing: true
|
||||||
|
},
|
||||||
|
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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}`,...(t=(l=a.parameters)==null?void 0:l.docs)==null?void 0:t.source}}};var m,g,p;r.parameters={...r.parameters,docs:{...(m=r.parameters)==null?void 0:m.docs,source:{originalSource:`{
|
||||||
|
args: {
|
||||||
|
data: {
|
||||||
|
servers: {
|
||||||
|
1: 'fig.fr33domlover.site',
|
||||||
|
2: 'grape.fr33domlover.site',
|
||||||
|
3: 'walnut.fr33domlover.site'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
form: {
|
||||||
|
account: 'jane.doe@domain.example',
|
||||||
|
incorrect: true,
|
||||||
|
missing: false
|
||||||
|
},
|
||||||
|
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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}`,...(p=(g=r.parameters)==null?void 0:g.docs)==null?void 0:p.source}}};const M=["Plain","MissingInput","InvalidFormData"];export{r as InvalidFormData,a as MissingInput,e as Plain,M as __namedExportsOrder,D as default};
|
1
assets/MoreFilters-43a11323.js
Normal file
1
assets/MoreFilters-43a11323.js
Normal file
|
@ -0,0 +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 T,i as j,c as M,b as F,m as C,a as E,t as O,d as S}from"./index-3a0d73e3.js";import{T as q}from"./ZoomOut24-c1a8fc9f.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(),M(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 T{constructor(s){super(),j(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{a as $,c as j}from"./utils-09ff0c0e.js";import{a as _,t as k,l as w,b,f as g,h as M,m as T,d as f,j as p,i as F,k as d,n as E}from"./lifecycle-16e1fb41.js";import{S as O,i as S,c as C,b as P,m as q,a as B,t as D,d as N}from"./index-b180c43f.js";import{T as R}from"./ZoomOut24-a2398075.js";import{$ as U}from"./runtime-ea3b2d3b.js";import"./spread-8a54911c.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";function z(i){let s,t,r=i[1](i[0].submit)+"",n,a,o,l;return o=new R({props:{fill:"currentColor",class:"ms-4 self-center"}}),{c(){s=_("form"),t=_("button"),n=k(r),a=w(),C(o.$$.fragment),this.h()},l(e){s=b(e,"FORM",{class:!0});var m=g(s);t=b(m,"BUTTON",{type:!0,class:!0});var c=g(t);n=M(c,r),a=T(c),P(o.$$.fragment,c),c.forEach(f),m.forEach(f),this.h()},h(){p(t,"type","submit"),p(t,"class","flex submit text-surface-400"),p(s,"class","bg-surface-100 h-8 flex flex-col justify-center px-4")},m(e,m){F(e,s,m),d(s,t),d(t,n),d(t,a),q(o,t,null),l=!0},p(e,[m]){(!l||m&3)&&r!==(r=e[1](e[0].submit)+"")&&E(n,r)},i(e){l||(B(o.$$.fragment,e),l=!0)},o(e){D(o.$$.fragment,e),l=!1},d(e){e&&f(s),N(o)}}}function A(i,s,t){let r;j(i,U,a=>t(1,r=a));let{i18n:n={submit:""}}=s;return i.$$set=a=>{"i18n"in a&&t(0,n=a.i18n)},[n,r]}class v extends O{constructor(s){super(),S(this,s,A,z,$,{i18n:0})}}v.__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:[]};const W={title:"Molecules/MoreFilters",component:v,tags:["autodocs"]},u={args:{i18n:{submit:"page.projects.form.fields.more_filters.submit"}}};var h,y,x;u.parameters={...u.parameters,docs:{...(h=u.parameters)==null?void 0:h.docs,source:{originalSource:`{
|
|
||||||
args: {
|
|
||||||
i18n: {
|
|
||||||
submit: 'page.projects.form.fields.more_filters.submit'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,...(x=(y=u.parameters)==null?void 0:y.docs)==null?void 0:x.source}}};const X=["Plain"];export{u as Plain,X as __namedExportsOrder,W as default};
|
|
7
assets/MoreFilters.stories-0f1b6934.js
Normal file
7
assets/MoreFilters.stories-0f1b6934.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import{M as s}from"./MoreFilters-43a11323.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-c1a8fc9f.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};
|
|
@ -1 +1 @@
|
||||||
import{N as e}from"./ZoomOut24-a2398075.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.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-c1a8fc9f.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};
|
1
assets/Pagination-06f46925.js
Normal file
1
assets/Pagination-06f46925.js
Normal file
|
@ -0,0 +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-c1a8fc9f.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};
|
8
assets/Pagination.stories-92379492.js
Normal file
8
assets/Pagination.stories-92379492.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import{P as a}from"./Pagination-06f46925.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-c1a8fc9f.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};
|
|
@ -1,8 +0,0 @@
|
||||||
import{a as ht,c as xt}from"./utils-09ff0c0e.js";import{a as l,l as o,t as et,b as i,f as I,m as c,h as at,d as N,r as m,j as n,i as vt,k as a,n as nt}from"./lifecycle-16e1fb41.js";import{S as dt,i as gt,c as st,b as rt,m as lt,a as ot,t as it,d as ct}from"./index-b180c43f.js";import{C as _t,a as Ct}from"./ZoomOut24-a2398075.js";import{$ as yt}from"./runtime-ea3b2d3b.js";import"./spread-8a54911c.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";function $t(h){let t,r,f,b,u=h[1](h[0].previous)+"",P,M,x,J="1",O,v,K="2",R,d,Q="3",T,g,U="4",V,_,W="5",z,C,X="6",B,j,Y="…",D,y,Z="17",F,$,tt="18",G,p,w=h[1](h[0].next)+"",E,H,A,k;return f=new _t({props:{fill:"currentColor"}}),A=new Ct({props:{fill:"currentColor"}}),{c(){t=l("nav"),r=l("a"),st(f.$$.fragment),b=o(),P=et(u),M=o(),x=l("a"),x.textContent=J,O=o(),v=l("a"),v.textContent=K,R=o(),d=l("a"),d.textContent=Q,T=o(),g=l("a"),g.textContent=U,V=o(),_=l("a"),_.textContent=W,z=o(),C=l("a"),C.textContent=X,B=o(),j=l("span"),j.textContent=Y,D=o(),y=l("a"),y.textContent=Z,F=o(),$=l("a"),$.textContent=tt,G=o(),p=l("a"),E=et(w),H=o(),st(A.$$.fragment),this.h()},l(s){t=i(s,"NAV",{class:!0});var e=I(t);r=i(e,"A",{href:!0,class:!0});var S=I(r);rt(f.$$.fragment,S),b=c(S),P=at(S,u),S.forEach(N),M=c(e),x=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),m(x)!=="svelte-ak6ox3"&&(x.textContent=J),O=c(e),v=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),m(v)!=="svelte-10r4717"&&(v.textContent=K),R=c(e),d=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),m(d)!=="svelte-13dre0n"&&(d.textContent=Q),T=c(e),g=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),m(g)!=="svelte-v6bi1q"&&(g.textContent=U),V=c(e),_=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),m(_)!=="svelte-1c7ylf3"&&(_.textContent=W),z=c(e),C=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),m(C)!=="svelte-fk307f"&&(C.textContent=X),B=c(e),j=i(e,"SPAN",{"data-svelte-h":!0}),m(j)!=="svelte-fw8tqc"&&(j.textContent=Y),D=c(e),y=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),m(y)!=="svelte-ypj5a3"&&(y.textContent=Z),F=c(e),$=i(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),m($)!=="svelte-ludw9t"&&($.textContent=tt),G=c(e),p=i(e,"A",{href:!0,class:!0});var q=I(p);E=at(q,w),H=c(q),rt(A.$$.fragment,q),q.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(g,"href","?page=4"),n(g,"class","bg-primary-500 text-white rounded h-8 w-8 flex justify-center items-center"),n(_,"href","?page=5"),n(_,"class","text-surface-500"),n(C,"href","?page=6"),n(C,"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(p,"href","?page=+1"),n(p,"class","flex gap-2 text-primary-500"),n(t,"class","flex gap-4 items-center justify-center")},m(s,e){vt(s,t,e),a(t,r),lt(f,r,null),a(r,b),a(r,P),a(t,M),a(t,x),a(t,O),a(t,v),a(t,R),a(t,d),a(t,T),a(t,g),a(t,V),a(t,_),a(t,z),a(t,C),a(t,B),a(t,j),a(t,D),a(t,y),a(t,F),a(t,$),a(t,G),a(t,p),a(p,E),a(p,H),lt(A,p,null),k=!0},p(s,[e]){(!k||e&3)&&u!==(u=s[1](s[0].previous)+"")&&nt(P,u),(!k||e&3)&&w!==(w=s[1](s[0].next)+"")&&nt(E,w)},i(s){k||(ot(f.$$.fragment,s),ot(A.$$.fragment,s),k=!0)},o(s){it(f.$$.fragment,s),it(A.$$.fragment,s),k=!1},d(s){s&&N(t),ct(f),ct(A)}}}function At(h,t,r){let f;xt(h,yt,u=>r(1,f=u));let{i18n:b={next:"",previous:""}}=t;return h.$$set=u=>{"i18n"in u&&r(0,b=u.i18n)},[b,f]}class mt extends dt{constructor(t){super(),gt(this,t,At,$t,ht,{i18n:0})}}mt.__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:[]};const Nt={title:"Molecules/Pagination",component:mt,tags:["autodocs"]},L={args:{i18n:{next:"page.projects.nav.next",previous:"page.projects.nav.previous"}}};var ft,ut,pt;L.parameters={...L.parameters,docs:{...(ft=L.parameters)==null?void 0:ft.docs,source:{originalSource:`{
|
|
||||||
args: {
|
|
||||||
i18n: {
|
|
||||||
next: 'page.projects.nav.next',
|
|
||||||
previous: 'page.projects.nav.previous'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,...(pt=(ut=L.parameters)==null?void 0:ut.docs)==null?void 0:pt.source}}};const Lt=["Plain"];export{L as Plain,Lt as __namedExportsOrder,Nt as default};
|
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
||||||
import{a as p}from"./utils-09ff0c0e.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-b180c43f.js";import{P as $}from"./Profile-00b2c7bb.js";import"./lifecycle-16e1fb41.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";import"./ZoomOut24-a2398075.js";import"./spread-8a54911c.js";import"./Avatar-dbcb87cd.js";import"./each-57bb632b.js";import"./BlockOrReport-64932439.js";import"./Created-2245d9b8.js";import"./DisplayName-dd14e727.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:`{
|
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-5935aa11.js";import"./lifecycle-cafe499b.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./ZoomOut24-c1a8fc9f.js";import"./spread-8a54911c.js";import"./Avatar-569bc484.js";import"./each-b4878c9e.js";import"./BlockOrReport-acae54b8.js";import"./Created-ff35da2d.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: {
|
args: {
|
||||||
data: {
|
data: {
|
||||||
user: {
|
user: {
|
|
@ -1,4 +1,4 @@
|
||||||
import{w as n,a as i}from"./chunk-6GSMXRCY-a387bb65.js";import{P as m}from"./Profile-00b2c7bb.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";import"./ZoomOut24-a2398075.js";import"./spread-8a54911c.js";import"./Avatar-dbcb87cd.js";import"./each-57bb632b.js";import"./BlockOrReport-64932439.js";import"./Created-2245d9b8.js";import"./DisplayName-dd14e727.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:`{
|
import{w as n,a as i}from"./chunk-6GSMXRCY-a387bb65.js";import{P as m}from"./Profile-5935aa11.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-c1a8fc9f.js";import"./spread-8a54911c.js";import"./Avatar-569bc484.js";import"./each-b4878c9e.js";import"./BlockOrReport-acae54b8.js";import"./Created-ff35da2d.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: {
|
args: {
|
||||||
data: {
|
data: {
|
||||||
user: {
|
user: {
|
1
assets/Projects-8cf47f01.js
Normal file
1
assets/Projects-8cf47f01.js
Normal file
|
@ -0,0 +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-c1a8fc9f.js";import"./runtime-a5210d67.js";import{M as O}from"./MoreFilters-43a11323.js";import{P as R}from"./Pagination-06f46925.js";import{P as C}from"./Projects-95882c7e.js";import{S as U}from"./Search-5254d4ae.js";import{S as V}from"./Starred-b14e0c1f.js";import{F as z}from"./FileTable-962b060f.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
assets/Projects-95882c7e.js
Normal file
1
assets/Projects-95882c7e.js
Normal file
|
@ -0,0 +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-c1a8fc9f.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};
|
7
assets/Projects.stories-d43a5bdf.js
Normal file
7
assets/Projects.stories-d43a5bdf.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import{P as e}from"./Projects-95882c7e.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-c1a8fc9f.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};
|
1
assets/Projects.stories-f8efde25.js
Normal file
1
assets/Projects.stories-f8efde25.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{a as d}from"./utils-6ebe0a8e.js";import{S as l,i as u,c as f,b as _,m as g,a as j,t as y,d as $}from"./index-3a0d73e3.js";import{P}from"./Projects-8cf47f01.js";import"./lifecycle-cafe499b.js";import"./ZoomOut24-c1a8fc9f.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./MoreFilters-43a11323.js";import"./Pagination-06f46925.js";import"./Projects-95882c7e.js";import"./Search-5254d4ae.js";import"./Starred-b14e0c1f.js";import"./FileTable-962b060f.js";import"./each-b4878c9e.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 n={};a&1&&(n.data=t[0]),e.$set(n)},i(t){o||(j(e.$$.fragment,t),o=!0)},o(t){y(e.$$.fragment,t),o=!1},d(t){$(e,t)}}}function v(r,e,o){let{data:t={projects:[]}}=e;return r.$$set=a=>{"data"in a&&o(0,t=a.data)},[t]}class p extends l{constructor(e){super(),u(this,e,v,b,d,{data:0})}}p.__docgen={version:3,name:"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 H={title:"Pages/Projects",component:p,tags:["autodocs"]},s={};var i,m,c;s.parameters={...s.parameters,docs:{...(i=s.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(c=(m=s.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const I=["Plain"];export{s as Plain,I as __namedExportsOrder,H as default};
|
1
assets/Projects.stories-faa00983.js
Normal file
1
assets/Projects.stories-faa00983.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{P as p}from"./Projects-8cf47f01.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-c1a8fc9f.js";import"./spread-8a54911c.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./MoreFilters-43a11323.js";import"./Pagination-06f46925.js";import"./Projects-95882c7e.js";import"./Search-5254d4ae.js";import"./Starred-b14e0c1f.js";import"./FileTable-962b060f.js";import"./each-b4878c9e.js";const O={title:"Templates/Projects",component:p,tags:["autodocs"]},o={};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(m=(t=o.parameters)==null?void 0:t.docs)==null?void 0:m.source}}};const S=["Plain"];export{o as Plain,S as __namedExportsOrder,O as default};
|
|
@ -1 +1 @@
|
||||||
import{R as a}from"./ZoomOut24-a2398075.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.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-c1a8fc9f.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};
|
1
assets/Search-5254d4ae.js
Normal file
1
assets/Search-5254d4ae.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{a as S,c as T}from"./utils-6ebe0a8e.js";import{a as _,l as k,t as j,b,f as g,m as w,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{b as M}from"./ZoomOut24-c1a8fc9f.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=k(),e=_("input"),v=k(),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=w(u),e=b(u,"INPUT",{id:!0,name:!0,type:!0,class:!0,placeholder:!0}),v=w(u),i=b(u,"BUTTON",{type:!0,class:!0});var $=g(i);h=E($,d),$.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,S,{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};
|
8
assets/Search.stories-6ec53408.js
Normal file
8
assets/Search.stories-6ec53408.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import{S as a}from"./Search-5254d4ae.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-c1a8fc9f.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};
|
|
@ -1 +1 @@
|
||||||
import{S as e}from"./ZoomOut24-a2398075.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.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{S as e}from"./ZoomOut24-c1a8fc9f.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};
|
1
assets/Starred-b14e0c1f.js
Normal file
1
assets/Starred-b14e0c1f.js
Normal file
|
@ -0,0 +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-c1a8fc9f.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};
|
7
assets/Starred.stories-a99da0f9.js
Normal file
7
assets/Starred.stories-a99da0f9.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import{S as s}from"./Starred-b14e0c1f.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./ZoomOut24-c1a8fc9f.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,4 +1,4 @@
|
||||||
import{j as e}from"./jsx-runtime-7369b924.js";import{M as o}from"./index-e27a64c7.js";import{u as r}from"./index-c7e530aa.js";import"./iframe-a95b58fe.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-a969b58e.js";import{M as o}from"./index-f15fcccb.js";import{u as r}from"./index-5f13a97f.js";import"./iframe-6a2b4355.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:[`
|
||||||
`,`
|
`,`
|
||||||
`,e.jsx(o,{title:"Typography"}),`
|
`,e.jsx(o,{title:"Typography"}),`
|
||||||
`,`
|
`,`
|
|
@ -1 +1 @@
|
||||||
import{U as e}from"./ZoomOut24-a2398075.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.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-c1a8fc9f.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};
|
|
@ -1 +1 @@
|
||||||
import{W as T,W as e,a as h}from"./index-e27a64c7.js";import"./iframe-a95b58fe.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};
|
import{W as T,W as e,a as h}from"./index-f15fcccb.js";import"./iframe-6a2b4355.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
|
@ -1 +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:""},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"}},welcome:"Willkommen bei Anvil!"},n={page:e};export{n as default,e as page};
|
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 +1 @@
|
||||||
import{t as z,a as B}from"./index-b180c43f.js";import{r as C}from"./utils-09ff0c0e.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};
|
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,4 +1,4 @@
|
||||||
import{a as Y,b as w}from"./utils-09ff0c0e.js";import{e as _,i as v,d as E,o as K,u as k}from"./lifecycle-16e1fb41.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-b180c43f.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`
|
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?
|
Did you forget to return the Svelte component configuration from the story?
|
||||||
Use "() => ({ Component: YourComponent, props: {} })"
|
Use "() => ({ Component: YourComponent, props: {} })"
|
||||||
when defining the story.
|
when defining the story.
|
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:"פרויקטים"}},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:{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};
|
1
assets/iframe-6a2b4355.js
Normal file
1
assets/iframe-6a2b4355.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
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{R as o}from"./index-e27a64c7.js";const u=o.createContext({});function c(t){return e;function e(r){const n=a(r.components);return o.createElement(t,{...r,allComponents:n})}}function a(t){const e=o.useContext(u);return o.useMemo(()=>typeof t=="function"?t(e):{...e,...t},[e,t])}const i={};function f({components:t,children:e,disableParentContext:r}){let n;return r?n=typeof t=="function"?t({}):t||i:n=a(t),o.createElement(u.Provider,{value:n},e)}export{u as M,f as a,a as u,c as w};
|
import{R as o}from"./index-f15fcccb.js";const u=o.createContext({});function c(t){return e;function e(r){const n=a(r.components);return o.createElement(t,{...r,allComponents:n})}}function a(t){const e=o.useContext(u);return o.useMemo(()=>typeof t=="function"?t(e):{...e,...t},[e,t])}const i={};function f({components:t,children:e,disableParentContext:r}){let n;return r?n=typeof t=="function"?t({}):t||i:n=a(t),o.createElement(u.Provider,{value:n},e)}export{u as M,f as a,a as u,c as w};
|
|
@ -1 +1 @@
|
||||||
import{M as n,a as M,u as D,w as X}from"./index-c7e530aa.js";import"./index-e27a64c7.js";import"./iframe-a95b58fe.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";export{n as MDXContext,M as MDXProvider,D as useMDXComponents,X as withMDXComponents};
|
import{M as n,a as M,u as D,w as X}from"./index-5f13a97f.js";import"./index-f15fcccb.js";import"./iframe-6a2b4355.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";export{n as MDXContext,M as MDXProvider,D as useMDXComponents,X as withMDXComponents};
|
|
@ -1 +1 @@
|
||||||
import{n as f,s as w,r as m,a as q,i as x}from"./utils-09ff0c0e.js";const a=[];function z(e,o){return{subscribe:A(e,o).subscribe}}function A(e,o=f){let n;const r=new Set;function u(t){if(q(e,t)&&(e=t,n)){const i=!a.length;for(const s of r)s[1](),a.push(s,e);if(i){for(let s=0;s<a.length;s+=2)a[s][0](a[s+1]);a.length=0}}}function l(t){u(t(e))}function b(t,i=f){const s=[t,i];return r.add(s),r.size===1&&(n=o(u,l)||f),t(e),()=>{r.delete(s),r.size===0&&n&&(n(),n=null)}}return{set:u,update:l,subscribe:b}}function E(e,o,n){const r=!Array.isArray(e),u=r?[e]:e;if(!u.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=o.length<2;return z(n,(b,t)=>{let i=!1;const s=[];let d=0,p=f;const h=()=>{if(d)return;p();const c=o(r?s[0]:s,b,t);l?b(c):p=x(c)?c:f},y=u.map((c,g)=>w(c,_=>{s[g]=_,d&=~(1<<g),i&&h()},()=>{d|=1<<g}));return i=!0,h(),function(){m(y),p(),i=!1}})}export{E as d,z as r,A as w};
|
import{n as f,s as w,r as m,a as q,i as x}from"./utils-6ebe0a8e.js";const a=[];function z(e,o){return{subscribe:A(e,o).subscribe}}function A(e,o=f){let n;const r=new Set;function u(t){if(q(e,t)&&(e=t,n)){const i=!a.length;for(const s of r)s[1](),a.push(s,e);if(i){for(let s=0;s<a.length;s+=2)a[s][0](a[s+1]);a.length=0}}}function l(t){u(t(e))}function b(t,i=f){const s=[t,i];return r.add(s),r.size===1&&(n=o(u,l)||f),t(e),()=>{r.delete(s),r.size===0&&n&&(n(),n=null)}}return{set:u,update:l,subscribe:b}}function E(e,o,n){const r=!Array.isArray(e),u=r?[e]:e;if(!u.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=o.length<2;return z(n,(b,t)=>{let i=!1;const s=[];let d=0,p=f;const h=()=>{if(d)return;p();const c=o(r?s[0]:s,b,t);l?b(c):p=x(c)?c:f},y=u.map((c,g)=>w(c,_=>{s[g]=_,d&=~(1<<g),i&&h()},()=>{d|=1<<g}));return i=!0,h(),function(){m(y),p(),i=!1}})}export{E as d,z as r,A as w};
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
||||||
import{r as l}from"./index-e27a64c7.js";var f={exports:{}},n={};/**
|
import{r as l}from"./index-f15fcccb.js";var f={exports:{}},n={};/**
|
||||||
* @license React
|
* @license React
|
||||||
* react-jsx-runtime.production.min.js
|
* react-jsx-runtime.production.min.js
|
||||||
*
|
*
|
File diff suppressed because one or more lines are too long
1
assets/preview-19d584c9.js
Normal file
1
assets/preview-19d584c9.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{_ as e}from"./iframe-6a2b4355.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-fb7dbbe4.js"),["./DocsRenderer-NNNQARDV-fb7dbbe4.js","./iframe-6a2b4355.js","./index-f15fcccb.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js"],import.meta.url);return new r}}};export{a as parameters};
|
|
@ -1 +1 @@
|
||||||
import{a as w}from"./chunk-WFFRPTHA-ed72344b.js";import{o as C,s as x,g as N}from"./lifecycle-16e1fb41.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";function R(t){x("after-navigate-args",t)}function f(t){return[{subscribe(s){let e=N(t);return s(e),()=>{}}},s=>{x(t,s)}]}var[U,F]=f("page-ctx"),[_,H]=f("navigating-ctx"),[S,T]=f("updated-ctx");S.check=()=>{};var D=t=>typeof t=="function"?{callback:t,asRegex:!1}:t,$=[(t,s)=>{var d,v,u,m,L;let e=((d=s.parameters)==null?void 0:d.sveltekit_experimental)??{};return F((v=e==null?void 0:e.stores)==null?void 0:v.page),H((u=e==null?void 0:e.stores)==null?void 0:u.navigating),T((m=e==null?void 0:e.stores)==null?void 0:m.updated),R((L=e==null?void 0:e.navigation)==null?void 0:L.afterNavigate),C(()=>{let h=r=>{let c=r.composedPath().findLast(n=>n instanceof HTMLElement&&n.tagName==="A");if(c&&c instanceof HTMLAnchorElement){let n=c.getAttribute("href");if(!n)return;r.preventDefault();let g=()=>w("navigate")(n,r);if(!e.hrefs){g();return}let a=!0;Object.entries(e.hrefs).forEach(([i,l])=>{let{callback:o,asRegex:p}=D(l);(p?new RegExp(i).test(n):n===i)&&(a=!1,o==null||o(n,r))}),a&&g()}};function E(r,c,n){let g=[];return c.forEach(a=>{var l;let i=((l=e[r])==null?void 0:l[a])&&e[r][a]instanceof Function;if(i||n){let o=({detail:k=[]})=>{let y=Array.isArray(k)?k:[];(i?e[r][a]:w(a))(...y)},p=`storybook:${a}`;g.push({eventType:p,listener:o}),window.addEventListener(p,o)}}),()=>{g.forEach(({eventType:a,listener:i})=>{window.removeEventListener(a,i)})}}let A=E("navigation",["goto","invalidate","invalidateAll","pushState","replaceState"],!0),b=E("forms",["enhance"]);return window.addEventListener("click",h),()=>{window.removeEventListener("click",h),A(),b()}}),t()}];export{$ as decorators};
|
import{a as w}from"./chunk-WFFRPTHA-ed72344b.js";import{o as C,s as x,g as N}from"./lifecycle-cafe499b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";function R(t){x("after-navigate-args",t)}function f(t){return[{subscribe(s){let e=N(t);return s(e),()=>{}}},s=>{x(t,s)}]}var[U,F]=f("page-ctx"),[_,H]=f("navigating-ctx"),[S,T]=f("updated-ctx");S.check=()=>{};var D=t=>typeof t=="function"?{callback:t,asRegex:!1}:t,$=[(t,s)=>{var d,v,u,m,L;let e=((d=s.parameters)==null?void 0:d.sveltekit_experimental)??{};return F((v=e==null?void 0:e.stores)==null?void 0:v.page),H((u=e==null?void 0:e.stores)==null?void 0:u.navigating),T((m=e==null?void 0:e.stores)==null?void 0:m.updated),R((L=e==null?void 0:e.navigation)==null?void 0:L.afterNavigate),C(()=>{let h=r=>{let c=r.composedPath().findLast(n=>n instanceof HTMLElement&&n.tagName==="A");if(c&&c instanceof HTMLAnchorElement){let n=c.getAttribute("href");if(!n)return;r.preventDefault();let g=()=>w("navigate")(n,r);if(!e.hrefs){g();return}let a=!0;Object.entries(e.hrefs).forEach(([i,l])=>{let{callback:o,asRegex:p}=D(l);(p?new RegExp(i).test(n):n===i)&&(a=!1,o==null||o(n,r))}),a&&g()}};function E(r,c,n){let g=[];return c.forEach(a=>{var l;let i=((l=e[r])==null?void 0:l[a])&&e[r][a]instanceof Function;if(i||n){let o=({detail:k=[]})=>{let y=Array.isArray(k)?k:[];(i?e[r][a]:w(a))(...y)},p=`storybook:${a}`;g.push({eventType:p,listener:o}),window.addEventListener(p,o)}}),()=>{g.forEach(({eventType:a,listener:i})=>{window.removeEventListener(a,i)})}}let A=E("navigation",["goto","invalidate","invalidateAll","pushState","replaceState"],!0),b=E("forms",["enhance"]);return window.addEventListener("click",h),()=>{window.removeEventListener("click",h),A(),b()}}),t()}];export{$ as decorators};
|
|
@ -1 +0,0 @@
|
||||||
import{_ as e}from"./iframe-a95b58fe.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-73a90748.js"),["./DocsRenderer-NNNQARDV-73a90748.js","./iframe-a95b58fe.js","./index-e27a64c7.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js"],import.meta.url);return new r}}};export{a as parameters};
|
|
|
@ -1 +1 @@
|
||||||
import{_ as N}from"./iframe-a95b58fe.js";import"../sb-preview/runtime.js";const{global:T}=__STORYBOOK_MODULE_GLOBAL__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__;var n="storybook/a11y",U=`${n}/result`,f=`${n}/request`,g=`${n}/running`,p=`${n}/error`,w=`${n}/manual`,a={RESULT:U,REQUEST:f,RUNNING:g,ERROR:p,MANUAL:w},{document:L,window:d}=T,r=y.getChannel(),o=!1,_,A=async t=>{let{manual:e}=await s(t);e||await l(t)},l=async t=>{_=t;try{let e=await s(t);if(!o){o=!0,r.emit(a.RUNNING);let i=(await N(()=>import("./axe-95259d90.js").then(S=>S.a),["./axe-95259d90.js","./_commonjsHelpers-725317a4.js"],import.meta.url)).default,{element:u="#storybook-root",config:O,options:E={}}=e,R=L.querySelector(u);if(!R)return;i.reset(),O&&i.configure(O);let m=await i.run(R,E),c=JSON.parse(JSON.stringify(m));_===t?r.emit(a.RESULT,c):(o=!1,l(_))}}catch(e){r.emit(a.ERROR,e)}finally{o=!1}},s=async t=>{let{parameters:e}=await d.__STORYBOOK_STORY_STORE__.loadStory({storyId:t})||{};return e.a11y||{config:{},options:{}}};r.on(a.REQUEST,A);r.on(a.MANUAL,l);
|
import{_ as N}from"./iframe-6a2b4355.js";import"../sb-preview/runtime.js";const{global:T}=__STORYBOOK_MODULE_GLOBAL__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__;var n="storybook/a11y",U=`${n}/result`,f=`${n}/request`,g=`${n}/running`,p=`${n}/error`,w=`${n}/manual`,a={RESULT:U,REQUEST:f,RUNNING:g,ERROR:p,MANUAL:w},{document:L,window:d}=T,r=y.getChannel(),o=!1,_,A=async t=>{let{manual:e}=await s(t);e||await l(t)},l=async t=>{_=t;try{let e=await s(t);if(!o){o=!0,r.emit(a.RUNNING);let i=(await N(()=>import("./axe-95259d90.js").then(S=>S.a),["./axe-95259d90.js","./_commonjsHelpers-725317a4.js"],import.meta.url)).default,{element:u="#storybook-root",config:O,options:E={}}=e,R=L.querySelector(u);if(!R)return;i.reset(),O&&i.configure(O);let m=await i.run(R,E),c=JSON.parse(JSON.stringify(m));_===t?r.emit(a.RESULT,c):(o=!1,l(_))}}catch(e){r.emit(a.ERROR,e)}finally{o=!1}},s=async t=>{let{parameters:e}=await d.__STORYBOOK_STORY_STORE__.loadStory({storyId:t})||{};return e.a11y||{config:{},options:{}}};r.on(a.REQUEST,A);r.on(a.MANUAL,l);
|
|
@ -1 +1 @@
|
||||||
import{_ as e}from"./iframe-a95b58fe.js";import{r as t,i,b as a}from"./runtime-ea3b2d3b.js";import"../sb-preview/runtime.js";import"./index-9ff358fd.js";import"./utils-09ff0c0e.js";import"./_commonjsHelpers-725317a4.js";const n="en";t("de",()=>e(()=>import("./de-4447c9d9.js"),[],import.meta.url));t("en",()=>e(()=>import("./en-39186d42.js"),[],import.meta.url));t("he",()=>e(()=>import("./he-42d86658.js"),[],import.meta.url));i({fallbackLocale:n,initialLocale:window.navigator.language});function c(o){return["he"].includes(o)?"rtl":"ltr"}t("de",()=>e(()=>import("./de-4447c9d9.js"),[],import.meta.url));t("en",()=>e(()=>import("./en-39186d42.js"),[],import.meta.url));t("he",()=>e(()=>import("./he-42d86658.js"),[],import.meta.url));i({fallbackLocale:"en",initialLocale:"en"});a.set("en");function m(o,l){const r=l.globals.locale;return a.set(r),document.dir=c(r),o()}const E={globalTypes:{locale:{description:"Internationalization locale",defaultValue:"en",toolbar:{icon:"globe",items:[{value:"de",title:"German"},{value:"en",title:"English"},{value:"he",title:"Hebrew"}]}}},parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}},v=[m];export{v as decorators,E as default};
|
import{_ as e}from"./iframe-6a2b4355.js";import{r as t,i,b as a}from"./runtime-a5210d67.js";import"../sb-preview/runtime.js";import"./index-db42f6c8.js";import"./utils-6ebe0a8e.js";import"./_commonjsHelpers-725317a4.js";const n="en";t("de",()=>e(()=>import("./de-c6690054.js"),[],import.meta.url));t("en",()=>e(()=>import("./en-39186d42.js"),[],import.meta.url));t("he",()=>e(()=>import("./he-b0b7a607.js"),[],import.meta.url));i({fallbackLocale:n,initialLocale:window.navigator.language});function c(o){return["he"].includes(o)?"rtl":"ltr"}t("de",()=>e(()=>import("./de-c6690054.js"),[],import.meta.url));t("en",()=>e(()=>import("./en-39186d42.js"),[],import.meta.url));t("he",()=>e(()=>import("./he-b0b7a607.js"),[],import.meta.url));i({fallbackLocale:"en",initialLocale:"en"});a.set("en");function m(o,l){const r=l.globals.locale;return a.set(r),document.dir=c(r),o()}const E={globalTypes:{locale:{description:"Internationalization locale",defaultValue:"en",toolbar:{icon:"globe",items:[{value:"de",title:"German"},{value:"en",title:"English"},{value:"he",title:"Hebrew"}]}}},parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}},v=[m];export{v as decorators,E as default};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{S as s,c,s as l}from"./index-e27a64c7.js";import"./iframe-a95b58fe.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";export{s as SyntaxHighlighter,c as createCopyToClipboardFunction,l as default};
|
import{S as s,c,s as l}from"./index-f15fcccb.js";import"./iframe-6a2b4355.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";export{s as SyntaxHighlighter,c as createCopyToClipboardFunction,l as default};
|
|
@ -1 +1 @@
|
||||||
function f(){}const b=t=>t;function _(t,n){for(const e in n)t[e]=n[e];return t}function d(t){return t()}function h(){return Object.create(null)}function p(t){t.forEach(d)}function y(t){return typeof t=="function"}function g(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}let c;function x(t,n){return t===n?!0:(c||(c=document.createElement("a")),c.href=n,t===c.href)}function m(t){return Object.keys(t).length===0}function a(t,...n){if(t==null){for(const r of n)r(void 0);return f}const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function j(t){let n;return a(t,e=>n=e)(),n}function k(t,n,e){t.$$.on_destroy.push(a(n,e))}function q(t,n,e,r){if(t){const s=l(t,n,e,r);return t[0](s)}}function l(t,n,e,r){return t[1]&&r?_(e.ctx.slice(),t[1](r(n))):e.ctx}function v(t,n,e,r){if(t[2]&&r){const s=t[2](r(e));if(n.dirty===void 0)return s;if(typeof s=="object"){const o=[],i=Math.max(n.dirty.length,s.length);for(let u=0;u<i;u+=1)o[u]=n.dirty[u]|s[u];return o}return n.dirty|s}return n.dirty}function w(t,n,e,r,s,o){if(s){const i=l(n,e,r,o);t.p(i,s)}}function E(t){if(t.ctx.length>32){const n=[],e=t.ctx.length/32;for(let r=0;r<e;r++)n[r]=-1;return n}return-1}function O(t){const n={};for(const e in t)e[0]!=="$"&&(n[e]=t[e]);return n}function F(t,n){const e={};n=new Set(n);for(const r in t)!n.has(r)&&r[0]!=="$"&&(e[r]=t[r]);return e}function M(t){const n={};for(const e in t)n[e]=!0;return n}function S(t,n,e){return t.set(e),n}function z(t){return t&&y(t.destroy)?t.destroy:f}function A(t){const n=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return n?[parseFloat(n[1]),n[2]||"px"]:[t,"px"]}export{g as a,_ as b,k as c,b as d,h as e,m as f,d as g,j as h,y as i,A as j,q as k,E as l,v as m,f as n,O as o,M as p,F as q,p as r,a as s,z as t,w as u,x as v,S as w};
|
function f(){}const b=t=>t;function _(t,n){for(const e in n)t[e]=n[e];return t}function d(t){return t()}function h(){return Object.create(null)}function p(t){t.forEach(d)}function y(t){return typeof t=="function"}function g(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}let c;function x(t,n){return t===n?!0:(c||(c=document.createElement("a")),c.href=n,t===c.href)}function m(t){return Object.keys(t).length===0}function a(t,...n){if(t==null){for(const r of n)r(void 0);return f}const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function j(t){let n;return a(t,e=>n=e)(),n}function k(t,n,e){t.$$.on_destroy.push(a(n,e))}function q(t,n,e,r){if(t){const s=l(t,n,e,r);return t[0](s)}}function l(t,n,e,r){return t[1]&&r?_(e.ctx.slice(),t[1](r(n))):e.ctx}function v(t,n,e,r){if(t[2]&&r){const s=t[2](r(e));if(n.dirty===void 0)return s;if(typeof s=="object"){const o=[],i=Math.max(n.dirty.length,s.length);for(let u=0;u<i;u+=1)o[u]=n.dirty[u]|s[u];return o}return n.dirty|s}return n.dirty}function w(t,n,e,r,s,o){if(s){const i=l(n,e,r,o);t.p(i,s)}}function E(t){if(t.ctx.length>32){const n=[],e=t.ctx.length/32;for(let r=0;r<e;r++)n[r]=-1;return n}return-1}function O(t){const n={};for(const e in t)e[0]!=="$"&&(n[e]=t[e]);return n}function F(t,n){const e={};n=new Set(n);for(const r in t)!n.has(r)&&r[0]!=="$"&&(e[r]=t[r]);return e}function M(t){const n={};for(const e in t)n[e]=!0;return n}function S(t,n,e){return t.set(e),n}function z(t){return t&&y(t.destroy)?t.destroy:f}function A(t){const n=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return n?[parseFloat(n[1]),n[2]||"px"]:[t,"px"]}export{g as a,x as b,k as c,_ as d,b as e,h as f,m as g,d as h,y as i,j,A as k,q as l,E as m,f as n,v as o,O as p,M as q,p as r,a as s,F as t,w as u,z as v,S as w};
|
|
@ -373,7 +373,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
||||||
<link rel="preconnect" href="https://rsms.me/" />
|
<link rel="preconnect" href="https://rsms.me/" />
|
||||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
||||||
|
|
||||||
<script type="module" crossorigin src="./assets/iframe-a95b58fe.js"></script>
|
<script type="module" crossorigin src="./assets/iframe-6a2b4355.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
{"generatedAt":1710438926157,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"metaFramework":{"name":"sveltekit","packageName":"@sveltejs/kit","version":"1.27.5"},"packageManager":{"type":"npm","version":"9.5.1"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/sveltekit","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/svelte","storybookVersion":"7.6.17","storybookVersionSpecifier":"7.6.17","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.6.17"},"@storybook/builder-vite":{"version":"7.6.17"},"@storybook/svelte":{"version":"7.6.17"},"@storybook/sveltekit":{"version":"7.6.17"},"@storybook/test":{"version":"7.6.17"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"7.6.17"}},"addons":{"@storybook/addon-a11y":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"},"@storybook/addon-links":{"version":"7.6.17"},"@storybook/addon-interactions":{"version":"7.6.17"},"@storybook/addon-toolbar":{"version":null}}}
|
{"generatedAt":1710442527504,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"metaFramework":{"name":"sveltekit","packageName":"@sveltejs/kit","version":"1.27.5"},"packageManager":{"type":"npm","version":"9.5.1"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/sveltekit","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/svelte","storybookVersion":"7.6.17","storybookVersionSpecifier":"7.6.17","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.6.17"},"@storybook/builder-vite":{"version":"7.6.17"},"@storybook/svelte":{"version":"7.6.17"},"@storybook/sveltekit":{"version":"7.6.17"},"@storybook/test":{"version":"7.6.17"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"7.6.17"}},"addons":{"@storybook/addon-a11y":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"},"@storybook/addon-links":{"version":"7.6.17"},"@storybook/addon-interactions":{"version":"7.6.17"},"@storybook/addon-toolbar":{"version":null}}}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue