20 lines
2.1 KiB
JavaScript
20 lines
2.1 KiB
JavaScript
import{w as n,a as i}from"./chunk-NQQ3TO7D-D125W6ms.js";import{P as m}from"./Profile-Dujdjorh.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./each-HCog7gGM.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";import"./Avatar-KlglvhVa.js";import"./XPro-CzAu_TON.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-BslyLoRG.js";import"./Created-CMvNHQls.js";import"./DisplayName-nUHy7Jcj.js";import"./History-DDyrwdq-.js";import"./CommitBody-BtqSndsK.js";import"./CommitDate-CyTLdmfC.js";import"./MainMenu-Dec78D_B.js";import"./MainMenuActions-DDzBgsls.js";import"./MainMenuSummary-vNF38NFR.js";import"./popup-JRlLBLgR.js";import"./OverlayAvatar-CKq6hXWq.js";import"./MainMenuDetails-W4Mevj8A.js";import"./Project-Dw_8elnQ.js";const O={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 q=["Plain"];export{t as Plain,q as __namedExportsOrder,O as default};
|
|
//# sourceMappingURL=Profile.stories-_GBJH6fV.js.map
|