Anvil/assets/Profile.stories-a28d1785.js
André Jaenisch 7608654359
Updates
2024-03-03 15:38:10 +01:00

19 lines
1.7 KiB
JavaScript

import{w as n,a as i}from"./chunk-6GSMXRCY-a387bb65.js";import{P as m}from"./Profile-78582956.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-96ebe68d.js";import"./index-9669f5df.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";import"./ZoomOut24-23fb22e7.js";import"./spread-8a54911c.js";import"./Avatar-dac7a148.js";import"./BlockOrReport-360ad42f.js";import"./Created-4789a277.js";import"./DisplayName-af3c6b6a.js";const b={title:"Templates/Profile",component:m,tags:["autodocs"],args:{sb:"Templates/ImportProject"},argTypes:{onClick:{action:"click"},data:{controls:"object"},sb:{control:"radio",options:["Templates/ImportProject"]}},decorators:[n,i]},e={args:{data:{user:{avatar:"",created_at:new Date,created_at_formatted:function(){const r="en-US";return new Intl.DateTimeFormat(r).format(new Date)}(),created_with:"Anvil",display_name:"Jane Doe",instance:"domain.example",pronoun:"she/her",username:"jane_doe"}}}};var t,a,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{
args: {
data: {
user: {
avatar: '',
created_at: new Date(),
created_at_formatted: function () {
const locale = 'en-US';
return new Intl.DateTimeFormat(locale).format(new Date());
}(),
created_with: 'Anvil',
display_name: 'Jane Doe',
instance: 'domain.example',
pronoun: 'she/her',
username: 'jane_doe'
}
}
}
}`,...(o=(a=e.parameters)==null?void 0:a.docs)==null?void 0:o.source}}};const k=["Plain"];export{e as Plain,k as __namedExportsOrder,b as default};