19 lines
2 KiB
JavaScript
19 lines
2 KiB
JavaScript
import{w as n,a as i}from"./chunk-FAE4I7JY-D8NatdpV.js";import{P as m}from"./Profile-ClMiso4k.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./index-DmiCujb-.js";import"./lifecycle-u0QeOdKt.js";import"./each-BS8lKJpw.js";import"./runtime-D6MmngXK.js";import"./index-BCQHTg7S.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-DZT7xMar.js";import"./spread-CgU5AtxT.js";import"./Avatar-yPC4lrKr.js";import"./XPro-DEkEpn1e.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-tturTSBH.js";import"./Created-yrZhpZFi.js";import"./DisplayName-CMtUDYKA.js";import"./History-BgWPWX4k.js";import"./CommitBody-BYFlElbO.js";import"./CommitDate-Ba8OPTnC.js";import"./MainMenu-Cx3jqK8n.js";import"./MainMenuSummary-DJqQs-Ur.js";import"./popup-CD-YygjT.js";import"./OverlayAvatar-B6iX1T9N.js";import"./Project-Ef_RQ8hF.js";const L={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 a="en-US";return new Intl.DateTimeFormat(a).format(new Date)}(),created_with:"Anvil",display_name:"Jane Doe",instance:"domain.example",pronoun:"she/her",username:"jane_doe"}}}};var e,o,r;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'
|
|
}
|
|
}
|
|
}
|
|
}`,...(r=(o=t.parameters)==null?void 0:o.docs)==null?void 0:r.source}}};const O=["Plain"];export{t as Plain,O as __namedExportsOrder,L as default};
|