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-CbpoQ9aY.js";import"./chunk-MZXVCX43-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-DYADbu9O.js";import"./utils-AUSSiI9x.js";import"./lifecycle-CdXpxNHb.js";import"./index--e_niGel.js";import"./each-CbqiZOpL.js";import"./runtime-VldLyBWb.js";import"./index-CmSOPqre.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./ZoomOut24-BUxeFS5O.js";import"./spread-CgU5AtxT.js";import"./Avatar-BUe1V7D-.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-CV6Qfbdk.js";import"./Created-DfmneMCO.js";import"./DisplayName-Msqeeh2t.js";import"./History-OQx_REdr.js";import"./CommitBody-CvBXfPtW.js";import"./CommitDate-DO4cjwlj.js";import"./Project-D88kLqQW.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};
|