181 lines
14 KiB
JavaScript
181 lines
14 KiB
JavaScript
import{H as q}from"./History-jUH7uNyN.js";import"./index-DmiCujb-.js";import"./lifecycle-u0QeOdKt.js";import"./globals-D0QH3NT1.js";import"./each-BS8lKJpw.js";import"./runtime-D6MmngXK.js";import"./index-BCQHTg7S.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";import"./CommitBody-CCy_tPbS.js";import"./ZoomOut24-jYNtLx8S.js";import"./spread-CgU5AtxT.js";import"./CommitDate-en9sPrLu.js";const ie={title:"Molecules/History",component:q,tags:["autodocs"]},e=[{"@context":["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v2","https://forgefed.org/ns"],id:"https://fig.fr33domlover.site/repos/9nOkn",inbox:"https://fig.fr33domlover.site/repos/9nOkn/inbox",outbox:"https://fig.fr33domlover.site/repos/9nOkn/outbox",followers:"https://fig.fr33domlover.site/repos/9nOkn/followers",publicKey:["https://fig.fr33domlover.site/akey1","https://fig.fr33domlover.site/akey2"],type:"Repository",name:"Very fun demo",summary:"Testing MR demo",team:null,versionControlSystem:"https://forgefed.org/ns#git",sendPatchesTo:"https://fig.fr33domlover.site/looms/9nOkn",cloneUri:"https://fig.fr33domlover.site/repos/9nOkn",collaborators:"https://fig.fr33domlover.site/repos/9nOkn/collabs",context:"https://fig.fr33domlover.site/repos/9nOkn/projects"},{"@context":["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v2","https://forgefed.org/ns"],id:"https://fig.fr33domlover.site/repos/Pn9Yn",inbox:"https://fig.fr33domlover.site/repos/Pn9Yn/inbox",outbox:"https://fig.fr33domlover.site/repos/Pn9Yn/outbox",followers:"https://fig.fr33domlover.site/repos/Pn9Yn/followers",publicKey:["https://fig.fr33domlover.site/akey1","https://fig.fr33domlover.site/akey2"],type:"Repository",name:"Anvil",summary:"Mirror of Anvil so I can develop its UI",team:null,versionControlSystem:"https://forgefed.org/ns#git",cloneUri:"https://fig.fr33domlover.site/repos/Pn9Yn",collaborators:"https://fig.fr33domlover.site/repos/Pn9Yn/collabs",context:"https://fig.fr33domlover.site/repos/Pn9Yn/projects"}],t={args:{commitsMap:[],followingsMap:[]}},o={args:{commitsMap:m([{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"}]),followingsMap:e}},i={args:{commitsMap:m([{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Best commit ever",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"}]),followingsMap:e}},c={args:{commitsMap:m([{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"d6e409a6b536e026c95f64d2732946ba0136ddb1",commitName:"Best commit ever",committed:"2022-09-28T17:06:36Z",repoId:"9nOkn"}]),followingsMap:e}},n={args:{commitsMap:m([{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Best commit ever",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"9nOkn"},{commitId:"d6e409a6b536e026c95f64d2732946ba0136ddb1",commitName:"Best commit ever",committed:"2022-09-28T17:06:36Z",repoId:"9nOkn"}]),followingsMap:e}},a={args:{commitsMap:m([{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Best commit ever",committed:"2022-10-28T17:01:30Z",repoId:"Pn9Yn"}]),followingsMap:e}},f={args:{commitsMap:m([{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Best commit ever",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-10-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Best commit ever",committed:"2022-10-28T17:01:30Z",repoId:"Pn9Yn"}]),followingsMap:e}},r={args:{commitsMap:m([{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-10-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"d6e409a6b536e026c95f64d2732946ba0136ddb1",commitName:"Best commit ever",committed:"2022-09-28T17:06:36Z",repoId:"9nOkn"},{commitId:"d6e409a6b536e026c95f64d2732946ba0136ddb1",commitName:"Best commit ever",committed:"2022-10-28T17:06:36Z",repoId:"9nOkn"}]),followingsMap:e}},d={args:{commitsMap:m([{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Best commit ever",committed:"2022-09-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-10-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Best commit ever",committed:"2022-10-28T17:01:30Z",repoId:"Pn9Yn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-09-28T17:01:30Z",repoId:"9nOkn"},{commitId:"d6e409a6b536e026c95f64d2732946ba0136ddb1",commitName:"Best commit ever",committed:"2022-09-28T17:06:36Z",repoId:"9nOkn"},{commitId:"36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78",commitName:"Initial commit",committed:"2022-10-28T17:01:30Z",repoId:"9nOkn"},{commitId:"d6e409a6b536e026c95f64d2732946ba0136ddb1",commitName:"Best commit ever",committed:"2022-10-28T17:06:36Z",repoId:"9nOkn"}]),followingsMap:e}};function m(A){return A.map(K=>{const{repoId:s,commitId:p,commitName:_,committed:l}=K;return{"@context":["https://www.w3.org/ns/activitystreams","https://forgefed.org/ns"],id:`https://fig.fr33domlover.site/repos/${s}/commits/${p}`,type:"Commit",context:`https://fig.fr33domlover.site/repos/${s}`,attributedTo:"https://fig.fr33domlover.site/people/qn870",committedBy:{name:"vervis",mbox:"mailto:vervis@vervis.vervis"},name:_,hash:p,created:l,committed:l}})}var b,I,g;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{
|
|
args: {
|
|
commitsMap: [],
|
|
followingsMap: []
|
|
}
|
|
}`,...(g=(I=t.parameters)==null?void 0:I.docs)==null?void 0:g.source}}};var u,v,P;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{
|
|
args: {
|
|
commitsMap: generateCommits([{
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}]),
|
|
followingsMap
|
|
}
|
|
}`,...(P=(v=o.parameters)==null?void 0:v.docs)==null?void 0:P.source}}};var T,M,N;i.parameters={...i.parameters,docs:{...(T=i.parameters)==null?void 0:T.docs,source:{originalSource:`{
|
|
args: {
|
|
commitsMap: generateCommits([{
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}]),
|
|
followingsMap
|
|
}
|
|
}`,...(N=(M=i.parameters)==null?void 0:M.docs)==null?void 0:N.source}}};var Z,Y,h;c.parameters={...c.parameters,docs:{...(Z=c.parameters)==null?void 0:Z.docs,source:{originalSource:`{
|
|
args: {
|
|
commitsMap: generateCommits([{
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: 'd6e409a6b536e026c95f64d2732946ba0136ddb1',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-09-28T17:06:36Z',
|
|
repoId: '9nOkn'
|
|
}]),
|
|
followingsMap
|
|
}
|
|
}`,...(h=(Y=c.parameters)==null?void 0:Y.docs)==null?void 0:h.source}}};var S,k,w;n.parameters={...n.parameters,docs:{...(S=n.parameters)==null?void 0:S.docs,source:{originalSource:`{
|
|
args: {
|
|
commitsMap: generateCommits([{
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: '9nOkn'
|
|
}, {
|
|
commitId: 'd6e409a6b536e026c95f64d2732946ba0136ddb1',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-09-28T17:06:36Z',
|
|
repoId: '9nOkn'
|
|
}]),
|
|
followingsMap
|
|
}
|
|
}`,...(w=(k=n.parameters)==null?void 0:k.docs)==null?void 0:w.source}}};var C,B,O;a.parameters={...a.parameters,docs:{...(C=a.parameters)==null?void 0:C.docs,source:{originalSource:`{
|
|
args: {
|
|
commitsMap: generateCommits([{
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-10-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}]),
|
|
followingsMap
|
|
}
|
|
}`,...(O=(B=a.parameters)==null?void 0:B.docs)==null?void 0:O.source}}};var y,j,x;f.parameters={...f.parameters,docs:{...(y=f.parameters)==null?void 0:y.docs,source:{originalSource:`{
|
|
args: {
|
|
commitsMap: generateCommits([{
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-10-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-10-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}]),
|
|
followingsMap
|
|
}
|
|
}`,...(x=(j=f.parameters)==null?void 0:j.docs)==null?void 0:x.source}}};var D,E,H;r.parameters={...r.parameters,docs:{...(D=r.parameters)==null?void 0:D.docs,source:{originalSource:`{
|
|
args: {
|
|
commitsMap: generateCommits([{
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-10-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: 'd6e409a6b536e026c95f64d2732946ba0136ddb1',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-09-28T17:06:36Z',
|
|
repoId: '9nOkn'
|
|
}, {
|
|
commitId: 'd6e409a6b536e026c95f64d2732946ba0136ddb1',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-10-28T17:06:36Z',
|
|
repoId: '9nOkn'
|
|
}]),
|
|
followingsMap
|
|
}
|
|
}`,...(H=(E=r.parameters)==null?void 0:E.docs)==null?void 0:H.source}}};var R,U,$;d.parameters={...d.parameters,docs:{...(R=d.parameters)==null?void 0:R.docs,source:{originalSource:`{
|
|
args: {
|
|
commitsMap: generateCommits([{
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-10-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-10-28T17:01:30Z',
|
|
repoId: 'Pn9Yn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-09-28T17:01:30Z',
|
|
repoId: '9nOkn'
|
|
}, {
|
|
commitId: 'd6e409a6b536e026c95f64d2732946ba0136ddb1',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-09-28T17:06:36Z',
|
|
repoId: '9nOkn'
|
|
}, {
|
|
commitId: '36e1bb146fa3a6fb5c8d490f76ff4cca5f8f2e78',
|
|
commitName: 'Initial commit',
|
|
committed: '2022-10-28T17:01:30Z',
|
|
repoId: '9nOkn'
|
|
}, {
|
|
commitId: 'd6e409a6b536e026c95f64d2732946ba0136ddb1',
|
|
commitName: 'Best commit ever',
|
|
committed: '2022-10-28T17:06:36Z',
|
|
repoId: '9nOkn'
|
|
}]),
|
|
followingsMap
|
|
}
|
|
}`,...($=(U=d.parameters)==null?void 0:U.docs)==null?void 0:$.source}}};const ce=["Empty","SingleDateSingleProjectSingleCommit","SingleDateSingleProjectMultipleCommits","SingleDateMultipleProjectsSingleCommit","SingleDateMultipleProjectsMultipleCommits","MultipleDatesSingleProjectSingleCommit","MultipleDatesSingleProjectMultipleCommits","MultipleDatesMultipleProjectsSingleCommit","MultipleDatesMultipleProjectsMultipleCommits"];export{t as Empty,d as MultipleDatesMultipleProjectsMultipleCommits,r as MultipleDatesMultipleProjectsSingleCommit,f as MultipleDatesSingleProjectMultipleCommits,a as MultipleDatesSingleProjectSingleCommit,n as SingleDateMultipleProjectsMultipleCommits,c as SingleDateMultipleProjectsSingleCommit,i as SingleDateSingleProjectMultipleCommits,o as SingleDateSingleProjectSingleCommit,ce as __namedExportsOrder,ie as default};
|