20 lines
1.8 KiB
JavaScript
20 lines
1.8 KiB
JavaScript
|
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:`{
|
||
|
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};
|