20 lines
1.9 KiB
JavaScript
20 lines
1.9 KiB
JavaScript
|
import{w as n,a as i}from"./chunk-FAE4I7JY-D8NatdpV.js";import{P as m}from"./Profile-D6sEiIcE.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./index-CFSywFfb.js";import"./lifecycle-u0QeOdKt.js";import"./each-BfZOZzPH.js";import"./runtime-BvEoAjCK.js";import"./index-DZGdSOdS.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-BLVY8N49.js";import"./spread-CgU5AtxT.js";import"./Avatar-CmbxeM5D.js";import"./XPro-CT_nc-YB.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-qnuVmCq3.js";import"./Created-D_YXvV0M.js";import"./DisplayName-DWWigBos.js";import"./History-BlhVDzIP.js";import"./CommitBody-CxV_hi4k.js";import"./CommitDate-CS6JR3zO.js";import"./MainMenu-BIzBwEZw.js";import"./Project-Bi7m89Qq.js";const U={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]},t={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 e,o,a;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.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'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}`,...(a=(o=t.parameters)==null?void 0:o.docs)==null?void 0:a.source}}};const C=["Plain"];export{t as Plain,C as __namedExportsOrder,U as default};
|