19 lines
1.9 KiB
JavaScript
19 lines
1.9 KiB
JavaScript
import{w as n,a as i}from"./chunk-FAE4I7JY-D8NatdpV.js";import{P as m}from"./Profile-BEei22Yb.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./index-7XOhh2kt.js";import"./lifecycle-Dpe71s4v.js";import"./each-iA4Nym3y.js";import"./runtime-BQCs4yl7.js";import"./index-CGCTTfAD.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-Cmc7Jjj8.js";import"./spread-CgU5AtxT.js";import"./Avatar-B31sakrc.js";import"./XPro-R6-17FUT.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-gP_ovLJD.js";import"./Created-BukJ6R8Y.js";import"./DisplayName-CEs0V3-x.js";import"./History-B1FrvVvb.js";import"./CommitBody-pbF6AUXn.js";import"./CommitDate-rn2hIMQp.js";import"./Project-E8T-J5XL.js";const J={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 r="en-US";return new Intl.DateTimeFormat(r).format(new Date)}(),created_with:"Anvil",display_name:"Jane Doe",instance:"domain.example",pronoun:"she/her",username:"jane_doe"}}}};var e,a,o;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'
|
|
}
|
|
}
|
|
}
|
|
}`,...(o=(a=t.parameters)==null?void 0:a.docs)==null?void 0:o.source}}};const U=["Plain"];export{t as Plain,U as __namedExportsOrder,J as default};
|