Anvil/assets/Profile.stories-YE1X0eG5.js

20 lines
2 KiB
JavaScript
Raw Normal View History

2024-07-08 12:23:04 +02:00
import{w as n,a as i}from"./chunk-FAE4I7JY-D8NatdpV.js";import{P as m}from"./Profile-BV-2DY1r.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./index-D5xIMA44.js";import"./lifecycle-u0QeOdKt.js";import"./each-_CmsXlt5.js";import"./runtime-_7zi23uk.js";import"./index-Chhuq4i3.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-DVPD-K2C.js";import"./spread-CgU5AtxT.js";import"./Avatar-B2SdA7Eg.js";import"./XPro-CcJiQdsL.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-D_Oz0AB6.js";import"./Created-DcTzt4lG.js";import"./DisplayName-ORW7HjEY.js";import"./History-BJsqRb87.js";import"./CommitBody-BH1idkTu.js";import"./CommitDate-DuDYOQBS.js";import"./MainMenu-D_vXKozu.js";import"./OverlayAvatar-rzKeWOS7.js";import"./Project-1nng3dDZ.js";const C={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 E=["Plain"];export{t as Plain,E as __namedExportsOrder,C as default};