19 lines
1.8 KiB
JavaScript
19 lines
1.8 KiB
JavaScript
import{w as n,a as i}from"./chunk-6GSMXRCY-a387bb65.js";import{P as m}from"./Profile-12aa5b97.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-6ebe0a8e.js";import"./lifecycle-cafe499b.js";import"./index-3a0d73e3.js";import"./runtime-a5210d67.js";import"./index-db42f6c8.js";import"./_commonjsHelpers-725317a4.js";import"./ZoomOut24-2eaac4cc.js";import"./spread-8a54911c.js";import"./Avatar-95726fb8.js";import"./each-b4878c9e.js";import"./BlockOrReport-acae54b8.js";import"./Created-43fad342.js";import"./DisplayName-85d2504f.js";const k={title:"Templates/Profile",component:m,tags:["autodocs"],args:{sb:"Templates/ImportProject"},argTypes:{onClick:{action:"click"},data:{controls:"object"},sb:{control:"radio",options:["Templates/ImportProject"]}},decorators:[n,i]},e={args:{data:{user:{avatar:"",created_at:new Date,created_at_formatted:function(){const r="en-US";return new Intl.DateTimeFormat(r).format(new Date)}(),created_with:"Anvil",display_name:"Jane Doe",instance:"domain.example",pronoun:"she/her",username:"jane_doe"}}}};var t,a,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{
|
|
args: {
|
|
data: {
|
|
user: {
|
|
avatar: '',
|
|
created_at: new Date(),
|
|
created_at_formatted: function () {
|
|
const locale = 'en-US';
|
|
return new Intl.DateTimeFormat(locale).format(new Date());
|
|
}(),
|
|
created_with: 'Anvil',
|
|
display_name: 'Jane Doe',
|
|
instance: 'domain.example',
|
|
pronoun: 'she/her',
|
|
username: 'jane_doe'
|
|
}
|
|
}
|
|
}
|
|
}`,...(o=(a=e.parameters)==null?void 0:a.docs)==null?void 0:o.source}}};const y=["Plain"];export{e as Plain,y as __namedExportsOrder,k as default};
|