Anvil/assets/Profile.stories-BOmsIHYZ.js
André Jaenisch 957cae7b79
Updates
2024-08-12 15:09:11 +02:00

20 lines
2.1 KiB
JavaScript

import{w as n,a as i}from"./chunk-NQQ3TO7D-D125W6ms.js";import{P as m}from"./Profile-BcKGPr-r.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-DlfghPAc.js";import"./spread-CgU5AtxT.js";import"./Avatar-iWPcWI3Y.js";import"./XPro-CUsrQo4D.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-BslyLoRG.js";import"./Created-CMvNHQls.js";import"./DisplayName-nUHy7Jcj.js";import"./History-BFyk_avK.js";import"./CommitBody-B6tqTpKR.js";import"./CommitDate-C6S4VMTL.js";import"./MainMenu-DP6mUco_.js";import"./MainMenuActions-DgotoUAN.js";import"./MainMenuSummary-e2hB-evl.js";import"./popup-JRlLBLgR.js";import"./OverlayAvatar-BYibJpjG.js";import"./MainMenuDetails-D7aCVAHo.js";import"./Project-BvrP4UEf.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-BOmsIHYZ.js.map