Anvil/assets/Profile.stories-BU_8j_e5.js

21 lines
2.1 KiB
JavaScript
Raw Normal View History

2024-07-31 10:01:28 +02:00
import{w as n,a as i}from"./chunk-NQQ3TO7D-D125W6ms.js";import{P as m}from"./Profile-AjlChAZK.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./each-C4g42ehH.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-CRRKQWCt.js";import"./spread-CgU5AtxT.js";import"./Avatar-CUHWuSMc.js";import"./XPro-DLv5pwJ7.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-DfpRnQQX.js";import"./Created-_AWArHoy.js";import"./DisplayName-De32hBd4.js";import"./History-BFR5OGr2.js";import"./CommitBody-bvJPbPpq.js";import"./CommitDate-DhrW5QXO.js";import"./MainMenu-B0G9o9Vo.js";import"./MainMenuActions-CWweVtEW.js";import"./MainMenuSummary-BTNOcam5.js";import"./popup-BXRymj07.js";import"./OverlayAvatar-BBGlXgxt.js";import"./MainMenuDetails-D9KBVOjh.js";import"./Project-CLLCqUml.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-BU_8j_e5.js.map