Anvil/assets/Profile.stories-Gcgw-gzU.js
André Jaenisch c6b8fcc58a
Updates
2024-07-08 12:23:04 +02:00

19 lines
2.5 KiB
JavaScript

import{S as l,c as d,a as u,d as f,e as _,m as g,b as y,t as w,f as v}from"./index-D5xIMA44.js";import{P as $}from"./Profile-BV-2DY1r.js";import"./lifecycle-u0QeOdKt.js";import"./each-_CmsXlt5.js";import"./runtime-_7zi23uk.js";import"./index-Chhuq4i3.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-DVPD-K2C.js";import"./spread-CgU5AtxT.js";import"./Avatar-B2SdA7Eg.js";import"./XPro-CcJiQdsL.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-D_Oz0AB6.js";import"./Created-DcTzt4lG.js";import"./DisplayName-ORW7HjEY.js";import"./History-BJsqRb87.js";import"./CommitBody-BH1idkTu.js";import"./CommitDate-DuDYOQBS.js";import"./MainMenu-D_vXKozu.js";import"./OverlayAvatar-rzKeWOS7.js";import"./Project-1nng3dDZ.js";function h(a){let t,n;return t=new $({props:{data:a[0]}}),{c(){f(t.$$.fragment)},l(e){_(t.$$.fragment,e)},m(e,o){g(t,e,o),n=!0},p(e,[o]){const i={};o&1&&(i.data=e[0]),t.$set(i)},i(e){n||(y(t.$$.fragment,e),n=!0)},o(e){w(t.$$.fragment,e),n=!1},d(e){v(t,e)}}}function D(a,t,n){let{data:e=null}=t;return a.$$set=o=>{"data"in o&&n(0,e=o.data)},[e]}class c extends l{constructor(t){super(),d(this,t,D,h,u,{data:0})}}c.__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 L={title:"Pages/Profile",component:c,tags:["autodocs"],argTypes:{data:{controls:"object"}}},r={args:{data:{user:{avatar:"",created_at:new Date,created_at_formatted:function(){const a="en-US";return new Intl.DateTimeFormat(a).format(new Date)}(),created_with:"Anvil",display_name:"Jane Doe",instance:"domain.example",pronoun:"she/her",username:"jane_doe"}}}};var s,m,p;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: {
data: {
user: {
avatar: '',
created_at: new Date(),
created_at_formatted: function () {
const locale = 'en-US';
return new Intl.DateTimeFormat(locale).format(new Date());
}(),
created_with: 'Anvil',
display_name: 'Jane Doe',
instance: 'domain.example',
pronoun: 'she/her',
username: 'jane_doe'
}
}
}
}`,...(p=(m=r.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};const M=["Plain"];export{r as Plain,M as __namedExportsOrder,L as default};