Anvil/assets/Profile.stories-b23d76b4.js

20 lines
1.8 KiB
JavaScript
Raw Normal View History

2024-03-14 19:56:07 +01:00
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:`{
2024-03-14 18:43:30 +01:00
args: {
data: {
user: {
avatar: '',
created_at: new Date(),
created_at_formatted: function () {
const locale = 'en-US';
return new Intl.DateTimeFormat(locale).format(new Date());
}(),
created_with: 'Anvil',
display_name: 'Jane Doe',
instance: 'domain.example',
pronoun: 'she/her',
username: 'jane_doe'
}
}
}
}`,...(o=(a=e.parameters)==null?void 0:a.docs)==null?void 0:o.source}}};const y=["Plain"];export{e as Plain,y as __namedExportsOrder,k as default};