Anvil/assets/Profile.stories-BKT_Ah5q.js

20 lines
2.1 KiB
JavaScript
Raw Normal View History

2024-07-28 12:17:10 +02:00
import{w as n,a as i}from"./chunk-FAE4I7JY-D8NatdpV.js";import{P as m}from"./Profile-UojlhsBP.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./each-C4g42ehH.js";import"./runtime-CZkC8ltm.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-450rB1Ps.js";import"./spread-CgU5AtxT.js";import"./Avatar-CaS7JzBb.js";import"./XPro-_Ll7JVYJ.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-Ba6EyyOa.js";import"./Created-TehUZe-O.js";import"./DisplayName-CjT3AqU3.js";import"./History-BuVIB1eV.js";import"./CommitBody-FH4xpO6b.js";import"./CommitDate-19ChJWCX.js";import"./MainMenu-DSbprzOJ.js";import"./MainMenuActions-Dk-swOe-.js";import"./MainMenuSummary-B5TGP2kT.js";import"./popup-BXRymj07.js";import"./OverlayAvatar-D80G8lIP.js";import"./MainMenuDetails-CM25VkFu.js";import"./Project-DKd8PCcN.js";const q={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:`{
2024-07-27 14:18:38 +02:00
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'
}
}
}
2024-07-28 12:17:10 +02:00
}`,...(r=(o=t.parameters)==null?void 0:o.docs)==null?void 0:r.source}}};const z=["Plain"];export{t as Plain,z as __namedExportsOrder,q as default};