This commit is contained in:
André Jaenisch 2024-08-14 17:01:21 +02:00
parent 957cae7b79
commit fe5164d76e
No known key found for this signature in database
GPG key ID: 5A668E771F1ED854
194 changed files with 279 additions and 273 deletions

View file

@ -1,2 +1,2 @@
import{A as a}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const m={title:"Icons/AlertFill16",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const p=["Plain"];export{o as Plain,p as __namedExportsOrder,m as default}; import{A as a}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const m={title:"Icons/AlertFill16",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const p=["Plain"];export{o as Plain,p as __namedExportsOrder,m as default};
//# sourceMappingURL=AlertFill16.stories-CdhXcmGp.js.map //# sourceMappingURL=AlertFill16.stories-Bd500swt.js.map

View file

@ -1 +1 @@
{"version":3,"file":"AlertFill16.stories-CdhXcmGp.js","sources":["../../stories/icons/AlertFill16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { AlertFill16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/AlertFill16',\n\tcomponent: AlertFill16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<AlertFill16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","AlertFill16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"AlertFill16.stories-Bd500swt.js","sources":["../../stories/icons/AlertFill16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { AlertFill16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/AlertFill16',\n\tcomponent: AlertFill16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<AlertFill16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","AlertFill16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"Avatar-iWPcWI3Y.js","sources":["../../src/lib/components/atoms/Avatar.svelte"],"sourcesContent":["<!--\nAvatar atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { Avatar } from '@skeletonlabs/skeleton';\n\n\t/**\n\t * URL to Avatar image.\n\t * @type {string | undefined}\n\t */\n\texport let avatar = '';\n\n\t/**\n\t * Name to derive initials from if no avatar is given.\n\t * @type {string | undefined}\n\t */\n\texport let displayName = '';\n</script>\n\n<Avatar src={avatar} alt={displayName} width=\"w-32\" rounded=\"rounded-full\" initials={displayName} />\n"],"names":["cov_d0qd5zavz","actualCoverage","displayName","b","s","$$props"],"mappings":"0hNAcU,OAAAA,EAAA,UAAA,CAAA,OAAAC,CAAA,EAAAA,CAAA,CAAAD,EAAA,y3BAe2E,CAAAE,YAAAA,GAAAF,EAAA,EAAAG,UAAA,GAAA,GAAAH,EAAA,EAAAI,EAAAC,EAAAA,IAAAA,GAAAL,OAAAA,EAAA,EAAAI"} {"version":3,"file":"Avatar-KlglvhVa.js","sources":["../../src/lib/components/atoms/Avatar.svelte"],"sourcesContent":["<!--\nAvatar atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { Avatar } from '@skeletonlabs/skeleton';\n\n\t/**\n\t * URL to Avatar image.\n\t * @type {string | undefined}\n\t */\n\texport let avatar = '';\n\n\t/**\n\t * Name to derive initials from if no avatar is given.\n\t * @type {string | undefined}\n\t */\n\texport let displayName = '';\n</script>\n\n<Avatar src={avatar} alt={displayName} width=\"w-32\" rounded=\"rounded-full\" initials={displayName} />\n"],"names":["cov_d0qd5zavz","actualCoverage","displayName","b","s","$$props"],"mappings":"0hNAcU,OAAAA,EAAA,UAAA,CAAA,OAAAC,CAAA,EAAAA,CAAA,CAAAD,EAAA,y3BAe2E,CAAAE,YAAAA,GAAAF,EAAA,EAAAG,UAAA,GAAA,GAAAH,EAAA,EAAAI,EAAAC,EAAAA,IAAAA,GAAAL,OAAAA,EAAA,EAAAI"}

View file

@ -1,4 +1,4 @@
import{A as n}from"./Avatar-iWPcWI3Y.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./XPro-CUsrQo4D.js";import"./each-HCog7gGM.js";import"./index-DYrB6zKT.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";const v={title:"Atoms/Avatar",component:n,tags:["autodocs"]},a={args:{avatar:"",displayName:"Jane Doe"}},r={args:{...a.args,avatar:"https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280"}};var e,t,o;a.parameters={...a.parameters,docs:{...(e=a.parameters)==null?void 0:e.docs,source:{originalSource:`{ import{A as n}from"./Avatar-KlglvhVa.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./XPro-CzAu_TON.js";import"./each-HCog7gGM.js";import"./index-DYrB6zKT.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";const v={title:"Atoms/Avatar",component:n,tags:["autodocs"]},a={args:{avatar:"",displayName:"Jane Doe"}},r={args:{...a.args,avatar:"https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280"}};var e,t,o;a.parameters={...a.parameters,docs:{...(e=a.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: { args: {
avatar: '', avatar: '',
displayName: 'Jane Doe' displayName: 'Jane Doe'
@ -9,4 +9,4 @@ import{A as n}from"./Avatar-iWPcWI3Y.js";import"./index-CoCSl5nl.js";import"./li
avatar: 'https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280' avatar: 'https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280'
} }
}`,...(i=(c=r.parameters)==null?void 0:c.docs)==null?void 0:i.source}}};const P=["Plain","ProfilePicture"];export{a as Plain,r as ProfilePicture,P as __namedExportsOrder,v as default}; }`,...(i=(c=r.parameters)==null?void 0:c.docs)==null?void 0:i.source}}};const P=["Plain","ProfilePicture"];export{a as Plain,r as ProfilePicture,P as __namedExportsOrder,v as default};
//# sourceMappingURL=Avatar.stories-DU08sx6k.js.map //# sourceMappingURL=Avatar.stories-oyrTtNL0.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Avatar.stories-DU08sx6k.js","sources":["../../stories/atoms/Avatar.stories.ts"],"sourcesContent":["/* Stories for Avatar atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Avatar from '$lib/components/atoms/Avatar.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/Avatar',\n\tcomponent: Avatar,\n\ttags: ['autodocs']\n} satisfies Meta<Avatar>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tavatar: '',\n\t\tdisplayName: 'Jane Doe'\n\t}\n};\n\nexport const ProfilePicture: Story = {\n\targs: {\n\t\t...Plain.args,\n\t\tavatar:\n\t\t\t'https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280'\n\t}\n};\n"],"names":["meta","title","component","Avatar","tags","Plain","args","avatar","displayName","ProfilePicture","parameters","docs","source","originalSource"],"mappings":"kPAgBA,MAAMA,EAAO,CACTC,MAAO,eACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,OAAK,GACLC,YAAa,UACnB,CACF,EAEaC,EAAwB,CACjCH,KAAI,CACA,GAAGD,EAAKC,KACRC,OACI,wGACV,CACF,YAAEF,EAAAK,WAAA,CAAA,GAAAL,EAAAK,WAAAC,KAAA,CAAA,IAAAN,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAR,GAAAA,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,OAAAN,YAAAA,EAAAO,MAAA,CAAA,CAAA,YAAAH,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"Avatar.stories-oyrTtNL0.js","sources":["../../stories/atoms/Avatar.stories.ts"],"sourcesContent":["/* Stories for Avatar atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Avatar from '$lib/components/atoms/Avatar.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/Avatar',\n\tcomponent: Avatar,\n\ttags: ['autodocs']\n} satisfies Meta<Avatar>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tavatar: '',\n\t\tdisplayName: 'Jane Doe'\n\t}\n};\n\nexport const ProfilePicture: Story = {\n\targs: {\n\t\t...Plain.args,\n\t\tavatar:\n\t\t\t'https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280'\n\t}\n};\n"],"names":["meta","title","component","Avatar","tags","Plain","args","avatar","displayName","ProfilePicture","parameters","docs","source","originalSource"],"mappings":"kPAgBA,MAAMA,EAAO,CACTC,MAAO,eACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,OAAK,GACLC,YAAa,UACnB,CACF,EAEaC,EAAwB,CACjCH,KAAI,CACA,GAAGD,EAAKC,KACRC,OACI,wGACV,CACF,YAAEF,EAAAK,WAAA,CAAA,GAAAL,EAAAK,WAAAC,KAAA,CAAA,IAAAN,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAR,GAAAA,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,OAAAN,YAAAA,EAAAO,MAAA,CAAA,CAAA,YAAAH,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{C as a}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/ChevronLeft24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,p as default}; import{C as a}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/ChevronLeft24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,p as default};
//# sourceMappingURL=ChevronLeft24.stories-XDC2Ptnh.js.map //# sourceMappingURL=ChevronLeft24.stories-BTewka_a.js.map

View file

@ -1 +1 @@
{"version":3,"file":"ChevronLeft24.stories-XDC2Ptnh.js","sources":["../../stories/icons/ChevronLeft24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { ChevronLeft24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/ChevronLeft24',\n\tcomponent: ChevronLeft24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<ChevronLeft24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","ChevronLeft24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,sBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"ChevronLeft24.stories-BTewka_a.js","sources":["../../stories/icons/ChevronLeft24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { ChevronLeft24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/ChevronLeft24',\n\tcomponent: ChevronLeft24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<ChevronLeft24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","ChevronLeft24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,sBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{a}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const m={title:"Icons/ChevronRight24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const p=["Plain"];export{o as Plain,p as __namedExportsOrder,m as default}; import{a}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const m={title:"Icons/ChevronRight24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const p=["Plain"];export{o as Plain,p as __namedExportsOrder,m as default};
//# sourceMappingURL=ChevronRight24.stories-gxQROWOq.js.map //# sourceMappingURL=ChevronRight24.stories-DlXZIWU5.js.map

View file

@ -1 +1 @@
{"version":3,"file":"ChevronRight24.stories-gxQROWOq.js","sources":["../../stories/icons/ChevronRight24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { ChevronRight24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/ChevronRight24',\n\tcomponent: ChevronRight24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<ChevronRight24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","ChevronRight24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"gIAqBA,MAAMA,EAAO,CACTC,MAAO,uBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"ChevronRight24.stories-DlXZIWU5.js","sources":["../../stories/icons/ChevronRight24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { ChevronRight24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/ChevronRight24',\n\tcomponent: ChevronRight24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<ChevronRight24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","ChevronRight24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"gIAqBA,MAAMA,EAAO,CACTC,MAAO,uBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
import{j as r}from"./jsx-runtime-CJastZg-.js";import{u as e}from"./index-X-4RiYfY.js";import{ae as s,af as t,ag as o}from"./index-CMYRbHER.js";import"./iframe-BZQmgFYT.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-J1TP6alb.js";import"./index-B659rHmc.js";import"./index-DrFu-skq.js";function l(a){const c={p:"p",...e(),...a.components};return r.jsxs(r.Fragment,{children:[` import{j as r}from"./jsx-runtime-DVJxujZv.js";import{u as e}from"./index-CFVANc-Z.js";import{ae as s,af as t,ag as o}from"./index-BTUhUA77.js";import"./iframe-z0zEDK9l.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-J1TP6alb.js";import"./index-B659rHmc.js";import"./index-DrFu-skq.js";function l(a){const c={p:"p",...e(),...a.components};return r.jsxs(r.Fragment,{children:[`
`,` `,`
`,r.jsx(s,{title:"Colors"}),` `,r.jsx(s,{title:"Colors"}),`
`,r.jsx(c.p,{children:"Consider the value at 500 to be the default."}),` `,r.jsx(c.p,{children:"Consider the value at 500 to be the default."}),`
`,r.jsxs(t,{children:[r.jsx(o,{title:"color.primary",subtitle:"Primary",colors:{50:"rgb(var(--color-primary-50))",100:"rgb(var(--color-primary-100))",200:"rgb(var(--color-primary-200))",300:"rgb(var(--color-primary-300))",400:"rgb(var(--color-primary-400))",500:"rgb(var(--color-primary-500))",600:"rgb(var(--color-primary-600))",700:"rgb(var(--color-primary-700))",800:"rgb(var(--color-primary-800))",900:"rgb(var(--color-primary-900))"}}),r.jsx(o,{title:"color.secondary",subtitle:"Secondary",colors:{50:"rgb(var(--color-secondary-50))",100:"rgb(var(--color-secondary-100))",200:"rgb(var(--color-secondary-200))",300:"rgb(var(--color-secondary-300))",400:"rgb(var(--color-secondary-400))",500:"rgb(var(--color-secondary-500))",600:"rgb(var(--color-secondary-600))",700:"rgb(var(--color-secondary-700))",800:"rgb(var(--color-secondary-800))",900:"rgb(var(--color-secondary-900))"}}),r.jsx(o,{title:"color.tertiary",subtitle:"Tertiary",colors:{50:"rgb(var(--color-tertiary-50))",100:"rgb(var(--color-tertiary-100))",200:"rgb(var(--color-tertiary-200))",300:"rgb(var(--color-tertiary-300))",400:"rgb(var(--color-tertiary-400))",500:"rgb(var(--color-tertiary-500))",600:"rgb(var(--color-tertiary-600))",700:"rgb(var(--color-tertiary-700))",800:"rgb(var(--color-tertiary-800))",900:"rgb(var(--color-tertiary-900))"}}),r.jsx(o,{title:"color.success",subtitle:"Success",colors:{50:"rgb(var(--color-success-50))",100:"rgb(var(--color-success-100))",200:"rgb(var(--color-success-200))",300:"rgb(var(--color-success-300))",400:"rgb(var(--color-success-400))",500:"rgb(var(--color-success-500))",600:"rgb(var(--color-success-600))",700:"rgb(var(--color-success-700))",800:"rgb(var(--color-success-800))",900:"rgb(var(--color-success-900))"}}),r.jsx(o,{title:"color.warning",subtitle:"Warning",colors:{50:"rgb(var(--color-warning-50))",100:"rgb(var(--color-warning-100))",200:"rgb(var(--color-warning-200))",300:"rgb(var(--color-warning-300))",400:"rgb(var(--color-warning-400))",500:"rgb(var(--color-warning-500))",600:"rgb(var(--color-warning-600))",700:"rgb(var(--color-warning-700))",800:"rgb(var(--color-warning-800))",900:"rgb(var(--color-warning-900))"}}),r.jsx(o,{title:"color.error",subtitle:"Error",colors:{50:"rgb(var(--color-error-50))",100:"rgb(var(--color-error-100))",200:"rgb(var(--color-error-200))",300:"rgb(var(--color-error-300))",400:"rgb(var(--color-error-400))",500:"rgb(var(--color-error-500))",600:"rgb(var(--color-error-600))",700:"rgb(var(--color-error-700))",800:"rgb(var(--color-error-800))",900:"rgb(var(--color-error-900))"}}),r.jsx(o,{title:"color.surface",subtitle:"Surface",colors:{50:"rgb(var(--color-surface-50))",100:"rgb(var(--color-surface-100))",200:"rgb(var(--color-surface-200))",300:"rgb(var(--color-surface-300))",400:"rgb(var(--color-surface-400))",500:"rgb(var(--color-surface-500))",600:"rgb(var(--color-surface-600))",700:"rgb(var(--color-surface-700))",800:"rgb(var(--color-surface-800))",900:"rgb(var(--color-surface-900))"}})]})]})}function d(a={}){const{wrapper:c}={...e(),...a.components};return c?r.jsx(c,{...a,children:r.jsx(l,{...a})}):l(a)}export{d as default}; `,r.jsxs(t,{children:[r.jsx(o,{title:"color.primary",subtitle:"Primary",colors:{50:"rgb(var(--color-primary-50))",100:"rgb(var(--color-primary-100))",200:"rgb(var(--color-primary-200))",300:"rgb(var(--color-primary-300))",400:"rgb(var(--color-primary-400))",500:"rgb(var(--color-primary-500))",600:"rgb(var(--color-primary-600))",700:"rgb(var(--color-primary-700))",800:"rgb(var(--color-primary-800))",900:"rgb(var(--color-primary-900))"}}),r.jsx(o,{title:"color.secondary",subtitle:"Secondary",colors:{50:"rgb(var(--color-secondary-50))",100:"rgb(var(--color-secondary-100))",200:"rgb(var(--color-secondary-200))",300:"rgb(var(--color-secondary-300))",400:"rgb(var(--color-secondary-400))",500:"rgb(var(--color-secondary-500))",600:"rgb(var(--color-secondary-600))",700:"rgb(var(--color-secondary-700))",800:"rgb(var(--color-secondary-800))",900:"rgb(var(--color-secondary-900))"}}),r.jsx(o,{title:"color.tertiary",subtitle:"Tertiary",colors:{50:"rgb(var(--color-tertiary-50))",100:"rgb(var(--color-tertiary-100))",200:"rgb(var(--color-tertiary-200))",300:"rgb(var(--color-tertiary-300))",400:"rgb(var(--color-tertiary-400))",500:"rgb(var(--color-tertiary-500))",600:"rgb(var(--color-tertiary-600))",700:"rgb(var(--color-tertiary-700))",800:"rgb(var(--color-tertiary-800))",900:"rgb(var(--color-tertiary-900))"}}),r.jsx(o,{title:"color.success",subtitle:"Success",colors:{50:"rgb(var(--color-success-50))",100:"rgb(var(--color-success-100))",200:"rgb(var(--color-success-200))",300:"rgb(var(--color-success-300))",400:"rgb(var(--color-success-400))",500:"rgb(var(--color-success-500))",600:"rgb(var(--color-success-600))",700:"rgb(var(--color-success-700))",800:"rgb(var(--color-success-800))",900:"rgb(var(--color-success-900))"}}),r.jsx(o,{title:"color.warning",subtitle:"Warning",colors:{50:"rgb(var(--color-warning-50))",100:"rgb(var(--color-warning-100))",200:"rgb(var(--color-warning-200))",300:"rgb(var(--color-warning-300))",400:"rgb(var(--color-warning-400))",500:"rgb(var(--color-warning-500))",600:"rgb(var(--color-warning-600))",700:"rgb(var(--color-warning-700))",800:"rgb(var(--color-warning-800))",900:"rgb(var(--color-warning-900))"}}),r.jsx(o,{title:"color.error",subtitle:"Error",colors:{50:"rgb(var(--color-error-50))",100:"rgb(var(--color-error-100))",200:"rgb(var(--color-error-200))",300:"rgb(var(--color-error-300))",400:"rgb(var(--color-error-400))",500:"rgb(var(--color-error-500))",600:"rgb(var(--color-error-600))",700:"rgb(var(--color-error-700))",800:"rgb(var(--color-error-800))",900:"rgb(var(--color-error-900))"}}),r.jsx(o,{title:"color.surface",subtitle:"Surface",colors:{50:"rgb(var(--color-surface-50))",100:"rgb(var(--color-surface-100))",200:"rgb(var(--color-surface-200))",300:"rgb(var(--color-surface-300))",400:"rgb(var(--color-surface-400))",500:"rgb(var(--color-surface-500))",600:"rgb(var(--color-surface-600))",700:"rgb(var(--color-surface-700))",800:"rgb(var(--color-surface-800))",900:"rgb(var(--color-surface-900))"}})]})]})}function d(a={}){const{wrapper:c}={...e(),...a.components};return c?r.jsx(c,{...a,children:r.jsx(l,{...a})}):l(a)}export{d as default};
//# sourceMappingURL=ColorPalette-B5MHlKbS.js.map //# sourceMappingURL=ColorPalette-cENhE-iZ.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"CommitBody-B6tqTpKR.js","sources":["../../src/lib/components/atoms/CommitBody.svelte"],"sourcesContent":["<!--\nCommitBody atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _, date } from 'svelte-i18n';\n\timport { Copy16, FileDirectory16 } from 'svelte-octicons';\n\n\t/**\n\t * The commit to display.\n\t */\n\texport let commit = {\n\t\tname: ''\n\t};\n\n\tconst i18n = {\n\t\tactions: {\n\t\t\tbrowse: 'page.profile.history.activities.commits.actions.browse',\n\t\t\tcopy: 'page.profile.history.activities.commits.actions.copy'\n\t\t},\n\t\trelative_time: 'page.profile.history.activities.commits.relative_time'\n\t};\n</script>\n\n<div class=\"flex w-full justify-between gap-4 border border-surface-100-800-token\">\n\t<!-- Detail text -->\n\t<div class=\"flex flex-col flex-1\">\n\t\t<span class=\"text-surface-500-400-token\">{commit.name}</span>\n\t\t<span class=\"text-surface-400-500-token\"\n\t\t\t>{$_(i18n.relative_time, {\n\t\t\t\tvalues: { relativeTime: $date(new Date(commit.committed)) }\n\t\t\t})}</span\n\t\t>\n\t</div>\n\t<!-- SHA -->\n\t<div class=\"flex\">\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"btn-icon border border-surface-100-800-token rounded bg-white dark:bg-black self-start\"\n\t\t>\n\t\t\t<Copy16 fill=\"currentColor\" />\n\t\t\t<span class=\"sr-only\">{$_(i18n.actions.copy)}</span>\n\t\t</button>\n\t\t<!-- Since I cannot successfully define font-mono here, enforce a minimum width for equally sized buttons -->\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"btn border border-surface-100-800-token rounded bg-white dark:bg-black min-w-32 self-start\"\n\t\t>\n\t\t\t{commit.hash.slice(0, 8)}\n\t\t</button>\n\t</div>\n\t<!-- Browse -->\n\t<div>\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"btn-icon border border-surface-100-800-token rounded bg-white dark:bg-black\"\n\t\t>\n\t\t\t<FileDirectory16 fill=\"currentColor\" />\n\t\t\t<span class=\"sr-only\">{$_(i18n.actions.browse)}</span>\n\t\t</button>\n\t</div>\n</div>\n"],"names":["values","relativeTime","ctx","Date","committed","div0","span1","cov_1gn0to8ohr","s"],"mappings":"29vBAsCKA,OAAA,CAAAC,aAAEC,EAAA,CAAA,EAAA,IAAAC,KAAKD,EAAc,CAAA,EAAAE,SAAA,ohGACZC,EAAAC,CAAA,EAAAC,EAAA,EAAAC,EAAA,EAAA,ooBADTR,OAAA,CAAAC,aAAEC,EAAA,CAAA,EAAA,IAAAC,KAAKD,EAAc,CAAA,EAAAE,SAAA,0tCAxBhB"} {"version":3,"file":"CommitBody-BtqSndsK.js","sources":["../../src/lib/components/atoms/CommitBody.svelte"],"sourcesContent":["<!--\nCommitBody atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _, date } from 'svelte-i18n';\n\timport { Copy16, FileDirectory16 } from 'svelte-octicons';\n\n\t/**\n\t * The commit to display.\n\t */\n\texport let commit = {\n\t\tname: ''\n\t};\n\n\tconst i18n = {\n\t\tactions: {\n\t\t\tbrowse: 'page.profile.history.activities.commits.actions.browse',\n\t\t\tcopy: 'page.profile.history.activities.commits.actions.copy'\n\t\t},\n\t\trelative_time: 'page.profile.history.activities.commits.relative_time'\n\t};\n</script>\n\n<div class=\"flex w-full justify-between gap-4 border border-surface-100-800-token\">\n\t<!-- Detail text -->\n\t<div class=\"flex flex-col flex-1\">\n\t\t<span class=\"text-surface-500-400-token\">{commit.name}</span>\n\t\t<span class=\"text-surface-400-500-token\"\n\t\t\t>{$_(i18n.relative_time, {\n\t\t\t\tvalues: { relativeTime: $date(new Date(commit.committed)) }\n\t\t\t})}</span\n\t\t>\n\t</div>\n\t<!-- SHA -->\n\t<div class=\"flex\">\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"btn-icon border border-surface-100-800-token rounded bg-white dark:bg-black self-start\"\n\t\t>\n\t\t\t<Copy16 fill=\"currentColor\" />\n\t\t\t<span class=\"sr-only\">{$_(i18n.actions.copy)}</span>\n\t\t</button>\n\t\t<!-- Since I cannot successfully define font-mono here, enforce a minimum width for equally sized buttons -->\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"btn border border-surface-100-800-token rounded bg-white dark:bg-black min-w-32 self-start\"\n\t\t>\n\t\t\t{commit.hash.slice(0, 8)}\n\t\t</button>\n\t</div>\n\t<!-- Browse -->\n\t<div>\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"btn-icon border border-surface-100-800-token rounded bg-white dark:bg-black\"\n\t\t>\n\t\t\t<FileDirectory16 fill=\"currentColor\" />\n\t\t\t<span class=\"sr-only\">{$_(i18n.actions.browse)}</span>\n\t\t</button>\n\t</div>\n</div>\n"],"names":["values","relativeTime","ctx","Date","committed","div0","span1","cov_1gn0to8ohr","s"],"mappings":"29vBAsCKA,OAAA,CAAAC,aAAEC,EAAA,CAAA,EAAA,IAAAC,KAAKD,EAAc,CAAA,EAAAE,SAAA,ohGACZC,EAAAC,CAAA,EAAAC,EAAA,EAAAC,EAAA,EAAA,ooBADTR,OAAA,CAAAC,aAAEC,EAAA,CAAA,EAAA,IAAAC,KAAKD,EAAc,CAAA,EAAAE,SAAA,0tCAxBhB"}

View file

@ -1,4 +1,4 @@
import{C as r}from"./CommitBody-B6tqTpKR.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";const l={title:"Atoms/CommitBody",component:r,tags:["autodocs"]},t={args:{commit:{hash:"abc123def456ghi789jkl0",name:"Added moar tests.",committed:new Date().toISOString()}}};var o,m,e;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ import{C as r}from"./CommitBody-BtqSndsK.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";const l={title:"Atoms/CommitBody",component:r,tags:["autodocs"]},t={args:{commit:{hash:"abc123def456ghi789jkl0",name:"Added moar tests.",committed:new Date().toISOString()}}};var o,m,e;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: { args: {
commit: { commit: {
hash: 'abc123def456ghi789jkl0', hash: 'abc123def456ghi789jkl0',
@ -7,4 +7,4 @@ import{C as r}from"./CommitBody-B6tqTpKR.js";import"./index-CoCSl5nl.js";import"
} }
} }
}`,...(e=(m=t.parameters)==null?void 0:m.docs)==null?void 0:e.source}}};const h=["Plain"];export{t as Plain,h as __namedExportsOrder,l as default}; }`,...(e=(m=t.parameters)==null?void 0:m.docs)==null?void 0:e.source}}};const h=["Plain"];export{t as Plain,h as __namedExportsOrder,l as default};
//# sourceMappingURL=CommitBody.stories-CJLr-nL0.js.map //# sourceMappingURL=CommitBody.stories-CV2zeVm9.js.map

View file

@ -1 +1 @@
{"version":3,"file":"CommitBody.stories-CJLr-nL0.js","sources":["../../stories/atoms/CommitBody.stories.ts"],"sourcesContent":["/* Stories for CommitBody atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport CommitBody from '$lib/components/atoms/CommitBody.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/CommitBody',\n\tcomponent: CommitBody,\n\ttags: ['autodocs']\n} satisfies Meta<CommitBody>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tcommit: {\n\t\t\thash: 'abc123def456ghi789jkl0',\n\t\t\tname: 'Added moar tests.',\n\t\t\tcommitted: new Date().toISOString()\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","CommitBody","tags","Plain","args","commit","hash","name","committed","Date","toISOString","parameters","docs","source","originalSource"],"mappings":"uQAgBA,MAAMA,EAAO,CACTC,MAAO,mBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,OAAG,CACCC,KAAM,yBACNC,KAAM,oBACNC,UAAW,IAAIC,KAAK,EAAEC,YAAI,CACnC,CACD,CACF,YAAEP,EAAAQ,WAAA,CAAA,GAAAR,EAAAQ,WAAAC,KAAA,CAAA,IAAAT,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAX,GAAAA,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,OAAAT,YAAAA,EAAAU,MAAA,CAAA,CAAA"} {"version":3,"file":"CommitBody.stories-CV2zeVm9.js","sources":["../../stories/atoms/CommitBody.stories.ts"],"sourcesContent":["/* Stories for CommitBody atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport CommitBody from '$lib/components/atoms/CommitBody.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/CommitBody',\n\tcomponent: CommitBody,\n\ttags: ['autodocs']\n} satisfies Meta<CommitBody>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tcommit: {\n\t\t\thash: 'abc123def456ghi789jkl0',\n\t\t\tname: 'Added moar tests.',\n\t\t\tcommitted: new Date().toISOString()\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","CommitBody","tags","Plain","args","commit","hash","name","committed","Date","toISOString","parameters","docs","source","originalSource"],"mappings":"uQAgBA,MAAMA,EAAO,CACTC,MAAO,mBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,OAAG,CACCC,KAAM,yBACNC,KAAM,oBACNC,UAAW,IAAIC,KAAK,EAAEC,YAAI,CACnC,CACD,CACF,YAAEP,EAAAQ,WAAA,CAAA,GAAAR,EAAAQ,WAAAC,KAAA,CAAA,IAAAT,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAX,GAAAA,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,OAAAT,YAAAA,EAAAU,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"CommitDate-C6S4VMTL.js","sources":["../../src/lib/components/atoms/CommitDate.svelte"],"sourcesContent":["<!--\nCommitDate atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _, date } from 'svelte-i18n';\n\timport { GitCommit24, Repo24 } from 'svelte-octicons';\n\n\t/**\n\t * The commit date as ISOString.\n\t */\n\texport let commitDate = '1970-01-01';\n\n\t/**\n\t * Number of commits on this repo at this date.\n\t */\n\texport let numberOfCommits = 0;\n\n\t/**\n\t * The name of the repo the commit is associated with.\n\t */\n\texport let repoName = '';\n\n\tconst i18n = {\n\t\tnumberOfCommits: 'page.profile.history.activities.commits.number'\n\t};\n</script>\n\n<div class=\"flex gap-6 -ms-6\">\n\t<span class=\"bg-white dark:bg-black\">\n\t\t<GitCommit24 fill=\"currentColor\" />\n\t</span>\n\t<span class=\"flex gap-6 -ms-3\">\n\t\t<!-- Pluralisation: https://lokalise.com/blog/svelte-i18n/#Pluralization_with_Svelte_i18n -->\n\t\t{$date(new Date(commitDate))} - {$_(i18n.numberOfCommits, {\n\t\t\tvalues: { number: numberOfCommits }\n\t\t})}\n\t\t<span class=\"flex gap-2\">\n\t\t\t<Repo24 fill=\"currentColor\" />\n\t\t\t{repoName}\n\t\t</span>\n\t</span>\n</div>\n"],"names":["div","span0","cov_1ketzn943d","s"],"mappings":"+xhBA2CmCA,EAAAC,CAAA,EAAAC,EAAA,EAAAC"} {"version":3,"file":"CommitDate-CyTLdmfC.js","sources":["../../src/lib/components/atoms/CommitDate.svelte"],"sourcesContent":["<!--\nCommitDate atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _, date } from 'svelte-i18n';\n\timport { GitCommit24, Repo24 } from 'svelte-octicons';\n\n\t/**\n\t * The commit date as ISOString.\n\t */\n\texport let commitDate = '1970-01-01';\n\n\t/**\n\t * Number of commits on this repo at this date.\n\t */\n\texport let numberOfCommits = 0;\n\n\t/**\n\t * The name of the repo the commit is associated with.\n\t */\n\texport let repoName = '';\n\n\tconst i18n = {\n\t\tnumberOfCommits: 'page.profile.history.activities.commits.number'\n\t};\n</script>\n\n<div class=\"flex gap-6 -ms-6\">\n\t<span class=\"bg-white dark:bg-black\">\n\t\t<GitCommit24 fill=\"currentColor\" />\n\t</span>\n\t<span class=\"flex gap-6 -ms-3\">\n\t\t<!-- Pluralisation: https://lokalise.com/blog/svelte-i18n/#Pluralization_with_Svelte_i18n -->\n\t\t{$date(new Date(commitDate))} - {$_(i18n.numberOfCommits, {\n\t\t\tvalues: { number: numberOfCommits }\n\t\t})}\n\t\t<span class=\"flex gap-2\">\n\t\t\t<Repo24 fill=\"currentColor\" />\n\t\t\t{repoName}\n\t\t</span>\n\t</span>\n</div>\n"],"names":["div","span0","cov_1ketzn943d","s"],"mappings":"+xhBA2CmCA,EAAAC,CAAA,EAAAC,EAAA,EAAAC"}

View file

@ -1,8 +1,8 @@
import{C as r}from"./CommitDate-C6S4VMTL.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";const d={title:"Atoms/CommitDate",component:r,tags:["autodocs"]},t={args:{commitDate:new Date().toISOString().slice(0,10),numberOfCommits:2,repoName:"Anvil Testing"}};var e,o,m;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{ import{C as r}from"./CommitDate-CyTLdmfC.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";const d={title:"Atoms/CommitDate",component:r,tags:["autodocs"]},t={args:{commitDate:new Date().toISOString().slice(0,10),numberOfCommits:2,repoName:"Anvil Testing"}};var e,o,m;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: { args: {
commitDate: new Date().toISOString().slice(0, '1970-01-01'.length), commitDate: new Date().toISOString().slice(0, '1970-01-01'.length),
numberOfCommits: 2, numberOfCommits: 2,
repoName: 'Anvil Testing' repoName: 'Anvil Testing'
} }
}`,...(m=(o=t.parameters)==null?void 0:o.docs)==null?void 0:m.source}}};const u=["Plain"];export{t as Plain,u as __namedExportsOrder,d as default}; }`,...(m=(o=t.parameters)==null?void 0:o.docs)==null?void 0:m.source}}};const u=["Plain"];export{t as Plain,u as __namedExportsOrder,d as default};
//# sourceMappingURL=CommitDate.stories-BMBFssXo.js.map //# sourceMappingURL=CommitDate.stories-By0vRY0t.js.map

View file

@ -1 +1 @@
{"version":3,"file":"CommitDate.stories-BMBFssXo.js","sources":["../../stories/atoms/CommitDate.stories.ts"],"sourcesContent":["/* Stories for CommitDate atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport CommitDate from '$lib/components/atoms/CommitDate.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/CommitDate',\n\tcomponent: CommitDate,\n\ttags: ['autodocs']\n} satisfies Meta<CommitDate>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tcommitDate: new Date().toISOString().slice(0, '1970-01-01'.length),\n\t\tnumberOfCommits: 2,\n\t\trepoName: 'Anvil Testing'\n\t}\n};\n"],"names":["meta","title","component","CommitDate","tags","Plain","args","commitDate","Date","toISOString","slice","numberOfCommits","repoName","parameters","docs","source","originalSource"],"mappings":"uQAgBA,MAAMA,EAAO,CACTC,MAAO,mBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,eAAgBC,OAAOC,YAAcC,EAAAA,MAAM,EAAG,EAAe,EAC7DC,gBAAa,EACbC,SAAU,eAChB,CACF,YAAEP,EAAAQ,WAAA,CAAA,GAAAR,EAAAQ,WAAAC,KAAA,CAAA,IAAAT,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAX,GAAAA,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,OAAAT,YAAAA,EAAAU,MAAA,CAAA,CAAA"} {"version":3,"file":"CommitDate.stories-By0vRY0t.js","sources":["../../stories/atoms/CommitDate.stories.ts"],"sourcesContent":["/* Stories for CommitDate atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport CommitDate from '$lib/components/atoms/CommitDate.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/CommitDate',\n\tcomponent: CommitDate,\n\ttags: ['autodocs']\n} satisfies Meta<CommitDate>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tcommitDate: new Date().toISOString().slice(0, '1970-01-01'.length),\n\t\tnumberOfCommits: 2,\n\t\trepoName: 'Anvil Testing'\n\t}\n};\n"],"names":["meta","title","component","CommitDate","tags","Plain","args","commitDate","Date","toISOString","slice","numberOfCommits","repoName","parameters","docs","source","originalSource"],"mappings":"uQAgBA,MAAMA,EAAO,CACTC,MAAO,mBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,eAAgBC,OAAOC,YAAcC,EAAAA,MAAM,EAAG,EAAe,EAC7DC,gBAAa,EACbC,SAAU,eAChB,CACF,YAAEP,EAAAQ,WAAA,CAAA,GAAAR,EAAAQ,WAAAC,KAAA,CAAA,IAAAT,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAX,GAAAA,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,OAAAT,YAAAA,EAAAU,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{b as e}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Copy16",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,n as default}; import{b as e}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Copy16",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,n as default};
//# sourceMappingURL=Copy16.stories-CZNWJ2gB.js.map //# sourceMappingURL=Copy16.stories-Br1beYfB.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Copy16.stories-CZNWJ2gB.js","sources":["../../stories/icons/Copy16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Copy16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Copy16',\n\tcomponent: Copy16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Copy16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Copy16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,eACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"Copy16.stories-Br1beYfB.js","sources":["../../stories/icons/Copy16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Copy16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Copy16',\n\tcomponent: Copy16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Copy16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Copy16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,eACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

View file

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CGC3br-p.js","./index-X-4RiYfY.js","./index-CMYRbHER.js","./iframe-BZQmgFYT.js","./_commonjsHelpers-Cpj98o6Y.js","./index-J1TP6alb.js","./index-B659rHmc.js","./index-DrFu-skq.js"])))=>i.map(i=>d[i]); const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BC5Zl0SG.js","./index-CFVANc-Z.js","./index-BTUhUA77.js","./iframe-z0zEDK9l.js","./_commonjsHelpers-Cpj98o6Y.js","./index-J1TP6alb.js","./index-B659rHmc.js","./index-DrFu-skq.js"])))=>i.map(i=>d[i]);
import{_ as h}from"./iframe-BZQmgFYT.js";import{aj as d,ah as o,ai as i,ak as E,al as R,am as x,an as y}from"./index-CMYRbHER.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-J1TP6alb.js";import"./index-B659rHmc.js";import"./index-DrFu-skq.js";var m={},u=d;m.createRoot=u.createRoot,m.hydrateRoot=u.hydrateRoot;var n=new Map,v=({callback:t,children:e})=>{let r=i.useRef();return i.useLayoutEffect(()=>{r.current!==t&&(r.current=t,t())},[t]),e},w=async(t,e,r)=>{let a=await _(e,r);return new Promise(s=>{a.render(o.createElement(v,{callback:()=>s(null)},t))})},D=(t,e)=>{let r=n.get(t);r&&(r.unmount(),n.delete(t))},_=async(t,e)=>{let r=n.get(t);return r||(r=m.createRoot(t,e),n.set(t,r)),r},f={code:E,a:R,...x},g=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:e}=this.props;e(t)}render(){let{hasError:t}=this.state,{children:e}=this.props;return t?null:o.createElement(o.Fragment,null,e)}},T=class{constructor(){this.render=async(t,e,r)=>{let a={...f,...e==null?void 0:e.components},s=y;return new Promise((p,l)=>{h(async()=>{const{MDXProvider:c}=await import("./index-CGC3br-p.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(({MDXProvider:c})=>w(o.createElement(g,{showException:l,key:Math.random()},o.createElement(c,{components:a},o.createElement(s,{context:t,docsParameter:e}))),r)).then(()=>p())})},this.unmount=t=>{D(t)}}};export{T as DocsRenderer,f as defaultComponents}; import{_ as h}from"./iframe-z0zEDK9l.js";import{aj as d,ah as o,ai as i,ak as E,al as R,am as x,an as y}from"./index-BTUhUA77.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-J1TP6alb.js";import"./index-B659rHmc.js";import"./index-DrFu-skq.js";var m={},u=d;m.createRoot=u.createRoot,m.hydrateRoot=u.hydrateRoot;var n=new Map,v=({callback:t,children:e})=>{let r=i.useRef();return i.useLayoutEffect(()=>{r.current!==t&&(r.current=t,t())},[t]),e},w=async(t,e,r)=>{let a=await _(e,r);return new Promise(s=>{a.render(o.createElement(v,{callback:()=>s(null)},t))})},D=(t,e)=>{let r=n.get(t);r&&(r.unmount(),n.delete(t))},_=async(t,e)=>{let r=n.get(t);return r||(r=m.createRoot(t,e),n.set(t,r)),r},f={code:E,a:R,...x},g=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:e}=this.props;e(t)}render(){let{hasError:t}=this.state,{children:e}=this.props;return t?null:o.createElement(o.Fragment,null,e)}},T=class{constructor(){this.render=async(t,e,r)=>{let a={...f,...e==null?void 0:e.components},s=y;return new Promise((p,l)=>{h(async()=>{const{MDXProvider:c}=await import("./index-BC5Zl0SG.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(({MDXProvider:c})=>w(o.createElement(g,{showException:l,key:Math.random()},o.createElement(c,{components:a},o.createElement(s,{context:t,docsParameter:e}))),r)).then(()=>p())})},this.unmount=t=>{D(t)}}};export{T as DocsRenderer,f as defaultComponents};
//# sourceMappingURL=DocsRenderer-PKQXORMH-c8cvESgm.js.map //# sourceMappingURL=DocsRenderer-PKQXORMH-0rVXpP_p.js.map

View file

@ -1,2 +1,2 @@
import{i as t}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const i={title:"Icons/EyeClosed16",component:t,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,s;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(s=(e=o.parameters)==null?void 0:e.docs)==null?void 0:s.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,i as default}; import{i as t}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const i={title:"Icons/EyeClosed16",component:t,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,s;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(s=(e=o.parameters)==null?void 0:e.docs)==null?void 0:s.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,i as default};
//# sourceMappingURL=EyeClosed16.stories-CR7MXH29.js.map //# sourceMappingURL=EyeClosed16.stories-QJOlK5pQ.js.map

View file

@ -1 +1 @@
{"version":3,"file":"EyeClosed16.stories-CR7MXH29.js","sources":["../../stories/icons/EyeClosed16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { EyeClosed16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/EyeClosed16',\n\tcomponent: EyeClosed16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<EyeClosed16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","EyeClosed16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"EyeClosed16.stories-QJOlK5pQ.js","sources":["../../stories/icons/EyeClosed16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { EyeClosed16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/EyeClosed16',\n\tcomponent: EyeClosed16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<EyeClosed16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","EyeClosed16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{F as a}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/FileDirectory16",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,p as default}; import{F as a}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/FileDirectory16",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,p as default};
//# sourceMappingURL=FileDirectory16.stories-gNpjfThT.js.map //# sourceMappingURL=FileDirectory16.stories-Csqtbwdk.js.map

View file

@ -1 +1 @@
{"version":3,"file":"FileDirectory16.stories-gNpjfThT.js","sources":["../../stories/icons/FileDirectory16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { FileDirectory16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/FileDirectory16',\n\tcomponent: FileDirectory16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<FileDirectory16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","FileDirectory16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,wBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"FileDirectory16.stories-Csqtbwdk.js","sources":["../../stories/icons/FileDirectory16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { FileDirectory16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/FileDirectory16',\n\tcomponent: FileDirectory16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<FileDirectory16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","FileDirectory16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,wBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"FileTable-CkEwostv.js","sources":["../../src/lib/components/organisms/FileTable.svelte"],"sourcesContent":["<!--\nFileTable organism.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport {\n\t\tEyeClosed16,\n\t\tRepoForked16,\n\t\tRepo24,\n\t\tStar16,\n\t\tTriangleDown16,\n\t\tTriangleDown24\n\t} from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\theading: {\n\t\t\tlastUpdated: '',\n\t\t\tname: ''\n\t\t},\n\t\ttable: {\n\t\t\tupdated: ''\n\t\t}\n\t};\n\n\t/**\n\t * Available projects.\n\t */\n\texport let projects = [];\n</script>\n\n<table class=\"w-4/5 min-w-96 px-4 mx-auto\">\n\t<thead>\n\t\t<tr class=\"flex justify-between gap-4 bg-surface-100-800-token h-8\">\n\t\t\t<th class=\"flex text-surface-400-500-token mx-4\">\n\t\t\t\t{$_(i18n.heading.name)}\n\t\t\t\t<TriangleDown24 fill=\"currentColor\" />\n\t\t\t</th>\n\t\t\t<th class=\"text-surface-400-500-token mx-4\">\n\t\t\t\t{$_(i18n.heading.lastUpdated)}\n\t\t\t</th>\n\t\t</tr>\n\t</thead>\n\t<tbody>\n\t\t{#each projects as project}\n\t\t\t<tr class=\"flex justify-between gap-4 bg-white dark:bg-black border\">\n\t\t\t\t<td class=\"flex mx-4 gap-4\">\n\t\t\t\t\t<Repo24 fill=\"currentColor\" />\n\t\t\t\t\t<div class=\"flex flex-col\">\n\t\t\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t\t\t<span class=\"text-primary-500\">{project.name}</span>\n\t\t\t\t\t\t\t{#each project.members as member}\n\t\t\t\t\t\t\t\t<a href=\"/people/{member.slug}\">\n\t\t\t\t\t\t\t\t\t<img src={member.avatar} alt={member.name} />\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"text-surface-400-500-token\">\n\t\t\t\t\t\t\t{project.description}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"flex gap-2\">\n\t\t\t\t\t\t\t{#each project.tags as tag}\n\t\t\t\t\t\t\t\t<a href={tag.link} class=\"bg-primary-100 text-primary-500 rounded-full px-2\">\n\t\t\t\t\t\t\t\t\t{tag.name}\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</td>\n\t\t\t\t<td>\n\t\t\t\t\t<div class=\"flex flex-col px-4 py-4\">\n\t\t\t\t\t\t<div class=\"flex justify-between gap-4\">\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\t\t\tclass=\"bg-white dark:bg-black text-surface-200-700-token rounded border px-4 py-2\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<RepoForked16 fill=\"currentColor\" />\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\t\t\tclass=\"bg-white dark:bg-black text-surface-200-700-token rounded border px-4 py-2\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Star16 fill=\"currentColor\" />\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\t\t\tclass=\"bg-white dark:bg-black text-surface-200-700-token rounded border px-4 py-2 flex\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<EyeClosed16 fill=\"currentColor\" />\n\t\t\t\t\t\t\t\t<TriangleDown16 fill=\"currentColor\" />\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"text-surface-400-500-token\">\n\t\t\t\t\t\t\t{$_(i18n.table.updated, {\n\t\t\t\t\t\t\t\tvalues: {\n\t\t\t\t\t\t\t\t\trelativeTime: project.lastUpdated.toISOString()\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t{/each}\n\t</tbody>\n</table>\n"],"names":["t11_value","cov_97ddjplgj","s","ctx","table","updated","div4","button0","b","current","dirty","projects","$$props"],"mappings":"oz5DAgE0BA,IAAAC,EAAA,EAAAC,EAAAC,EAAAA,IAAAA,EAAA,CAAA,EAAAA,EAAA,CAAA,EAAAC,MAAAC,q/JAAAC,EAAAC,CAAA,EAAAN,IAAAC,EAAA,GAAA,83CAAAD,EAAA,EAAA,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,GAAA,IAAAA,EAAA,EAAAO,aAAAC,IAAAR,EAAAO,EAAAA,EAAAE,EAAAA,EAAAA,CAAAA,IAAAA,QAAAT,EAAA,EAAAO,EAAAR,EAAAA,EAAAA,CAAAA,IAAAA,MAAAA,GAAAG,EAAA,GAAAA,EAAA,GAAAC,MAAAC,skJA3CDM,SAAAA,GAAAV,EAAA,EAAAO,iBAAAP,EAAA,EAAAC,EAAAU,GAAAA,IAAAA,GAAAX,OAAAA,EAAA,EAAAC"} {"version":3,"file":"FileTable-DnNX-pSt.js","sources":["../../src/lib/components/organisms/FileTable.svelte"],"sourcesContent":["<!--\nFileTable organism.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport {\n\t\tEyeClosed16,\n\t\tRepoForked16,\n\t\tRepo24,\n\t\tStar16,\n\t\tTriangleDown16,\n\t\tTriangleDown24\n\t} from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\theading: {\n\t\t\tlastUpdated: '',\n\t\t\tname: ''\n\t\t},\n\t\ttable: {\n\t\t\tupdated: ''\n\t\t}\n\t};\n\n\t/**\n\t * Available projects.\n\t */\n\texport let projects = [];\n</script>\n\n<table class=\"w-4/5 min-w-96 px-4 mx-auto\">\n\t<thead>\n\t\t<tr class=\"flex justify-between gap-4 bg-surface-100-800-token h-8\">\n\t\t\t<th class=\"flex text-surface-400-500-token mx-4\">\n\t\t\t\t{$_(i18n.heading.name)}\n\t\t\t\t<TriangleDown24 fill=\"currentColor\" />\n\t\t\t</th>\n\t\t\t<th class=\"text-surface-400-500-token mx-4\">\n\t\t\t\t{$_(i18n.heading.lastUpdated)}\n\t\t\t</th>\n\t\t</tr>\n\t</thead>\n\t<tbody>\n\t\t{#each projects as project}\n\t\t\t<tr class=\"flex justify-between gap-4 bg-white dark:bg-black border\">\n\t\t\t\t<td class=\"flex mx-4 gap-4\">\n\t\t\t\t\t<Repo24 fill=\"currentColor\" />\n\t\t\t\t\t<div class=\"flex flex-col\">\n\t\t\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t\t\t<span class=\"text-primary-500\">{project.name}</span>\n\t\t\t\t\t\t\t{#each project.members as member}\n\t\t\t\t\t\t\t\t<a href=\"/people/{member.slug}\">\n\t\t\t\t\t\t\t\t\t<img src={member.avatar} alt={member.name} />\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"text-surface-400-500-token\">\n\t\t\t\t\t\t\t{project.description}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"flex gap-2\">\n\t\t\t\t\t\t\t{#each project.tags as tag}\n\t\t\t\t\t\t\t\t<a href={tag.link} class=\"bg-primary-100 text-primary-500 rounded-full px-2\">\n\t\t\t\t\t\t\t\t\t{tag.name}\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</td>\n\t\t\t\t<td>\n\t\t\t\t\t<div class=\"flex flex-col px-4 py-4\">\n\t\t\t\t\t\t<div class=\"flex justify-between gap-4\">\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\t\t\tclass=\"bg-white dark:bg-black text-surface-200-700-token rounded border px-4 py-2\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<RepoForked16 fill=\"currentColor\" />\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\t\t\tclass=\"bg-white dark:bg-black text-surface-200-700-token rounded border px-4 py-2\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Star16 fill=\"currentColor\" />\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\t\t\tclass=\"bg-white dark:bg-black text-surface-200-700-token rounded border px-4 py-2 flex\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<EyeClosed16 fill=\"currentColor\" />\n\t\t\t\t\t\t\t\t<TriangleDown16 fill=\"currentColor\" />\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"text-surface-400-500-token\">\n\t\t\t\t\t\t\t{$_(i18n.table.updated, {\n\t\t\t\t\t\t\t\tvalues: {\n\t\t\t\t\t\t\t\t\trelativeTime: project.lastUpdated.toISOString()\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t{/each}\n\t</tbody>\n</table>\n"],"names":["t11_value","cov_97ddjplgj","s","ctx","table","updated","div4","button0","b","current","dirty","projects","$$props"],"mappings":"oz5DAgE0BA,IAAAC,EAAA,EAAAC,EAAAC,EAAAA,IAAAA,EAAA,CAAA,EAAAA,EAAA,CAAA,EAAAC,MAAAC,q/JAAAC,EAAAC,CAAA,EAAAN,IAAAC,EAAA,GAAA,83CAAAD,EAAA,EAAA,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,GAAA,IAAAA,EAAA,EAAAO,aAAAC,IAAAR,EAAAO,EAAAA,EAAAE,EAAAA,EAAAA,CAAAA,IAAAA,QAAAT,EAAA,EAAAO,EAAAR,EAAAA,EAAAA,CAAAA,IAAAA,MAAAA,GAAAG,EAAA,GAAAA,EAAA,GAAAC,MAAAC,skJA3CDM,SAAAA,GAAAV,EAAA,EAAAO,iBAAAP,EAAA,EAAAC,EAAAU,GAAAA,IAAAA,GAAAX,OAAAA,EAAA,EAAAC"}

View file

@ -1,4 +1,4 @@
import{w as d,a as g}from"./chunk-NQQ3TO7D-D125W6ms.js";import{F as u}from"./FileTable-CkEwostv.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./each-HCog7gGM.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const U={title:"Organisms/FileTable",component:u,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[d,g]},e={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},projects:[]}},a={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}},t={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]},{name:"Project B",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}};var n,s,o;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{ import{w as d,a as g}from"./chunk-NQQ3TO7D-D125W6ms.js";import{F as u}from"./FileTable-DnNX-pSt.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./each-HCog7gGM.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const U={title:"Organisms/FileTable",component:u,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[d,g]},e={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},projects:[]}},a={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}},t={args:{i18n:{heading:{lastUpdated:"page.projects.table.heading.last_updated",name:"page.projects.table.heading.name"},table:{updated:"page.projects.file_table.updated"}},projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]},{name:"Project B",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}};var n,s,o;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{
args: { args: {
i18n: { i18n: {
heading: { heading: {
@ -121,4 +121,4 @@ import{w as d,a as g}from"./chunk-NQQ3TO7D-D125W6ms.js";import{F as u}from"./Fil
}] }]
} }
}`,...(c=(m=t.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const T=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,e as NoProjects,a as SingleProject,T as __namedExportsOrder,U as default}; }`,...(c=(m=t.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const T=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,e as NoProjects,a as SingleProject,T as __namedExportsOrder,U as default};
//# sourceMappingURL=FileTable.stories-Cp8RibAX.js.map //# sourceMappingURL=FileTable.stories-BrjQHTcE.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{j as a}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/Filter24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,p as default}; import{j as a}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/Filter24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const l=["Plain"];export{o as Plain,l as __namedExportsOrder,p as default};
//# sourceMappingURL=Filter24.stories-SiB3lFnT.js.map //# sourceMappingURL=Filter24.stories-CGagyAcm.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Filter24.stories-SiB3lFnT.js","sources":["../../stories/icons/Filter24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Filter24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Filter24',\n\tcomponent: Filter24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Filter24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Filter24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,iBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"Filter24.stories-CGagyAcm.js","sources":["../../stories/icons/Filter24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Filter24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Filter24',\n\tcomponent: Filter24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Filter24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Filter24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,iBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{G as e}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/GitCommit24",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var t,r,a;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(a=(r=o.parameters)==null?void 0:r.docs)==null?void 0:a.source}}};const n=["Plain"];export{o as Plain,n as __namedExportsOrder,p as default}; import{G as e}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/GitCommit24",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var t,r,a;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(a=(r=o.parameters)==null?void 0:r.docs)==null?void 0:a.source}}};const n=["Plain"];export{o as Plain,n as __namedExportsOrder,p as default};
//# sourceMappingURL=GitCommit24.stories-0l6F07O2.js.map //# sourceMappingURL=GitCommit24.stories-DTdpzVKl.js.map

View file

@ -1 +1 @@
{"version":3,"file":"GitCommit24.stories-0l6F07O2.js","sources":["../../stories/icons/GitCommit24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { GitCommit24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/GitCommit24',\n\tcomponent: GitCommit24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<GitCommit24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","GitCommit24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"GitCommit24.stories-DTdpzVKl.js","sources":["../../stories/icons/GitCommit24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { GitCommit24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/GitCommit24',\n\tcomponent: GitCommit24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<GitCommit24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","GitCommit24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"ImportProject.stories-DbSDOJf2.js","sources":["../../stories/pages/ImportProject.stories.ts"],"sourcesContent":["/* Stories for ImportProject page.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport ImportProject from '$lib/components/pages/ImportProject.svelte';\n\nconst meta = {\n\ttitle: 'Pages/ImportProject',\n\tcomponent: ImportProject,\n\ttags: ['autodocs']\n} satisfies Meta<ImportProject>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","ImportProject","tags","Plain","parameters","docs","source","originalSource"],"mappings":"2+MAgBA,MAAMA,EAAO,CACTC,MAAO,sBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"ImportProject.stories-CTlKiObg.js","sources":["../../stories/pages/ImportProject.stories.ts"],"sourcesContent":["/* Stories for ImportProject page.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport ImportProject from '$lib/components/pages/ImportProject.svelte';\n\nconst meta = {\n\ttitle: 'Pages/ImportProject',\n\tcomponent: ImportProject,\n\ttags: ['autodocs']\n} satisfies Meta<ImportProject>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","ImportProject","tags","Plain","parameters","docs","source","originalSource"],"mappings":"2+MAgBA,MAAMA,EAAO,CACTC,MAAO,sBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{I as a}from"./ImportProject-B7RYmi78.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const u={title:"Templates/ImportProject",component:a,tags:["autodocs"]},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const P=["Plain"];export{o as Plain,P as __namedExportsOrder,u as default}; import{I as a}from"./ImportProject-BZqNrnu5.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const u={title:"Templates/ImportProject",component:a,tags:["autodocs"]},o={};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const P=["Plain"];export{o as Plain,P as __namedExportsOrder,u as default};
//# sourceMappingURL=ImportProject.stories-CUr4itBw.js.map //# sourceMappingURL=ImportProject.stories-DUutFdis.js.map

View file

@ -1 +1 @@
{"version":3,"file":"ImportProject.stories-CUr4itBw.js","sources":["../../stories/templates/ImportProject.stories.ts"],"sourcesContent":["/* Stories for ImportProject template.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport ImportProject from '$lib/components/templates/ImportProject.svelte';\n\nconst meta = {\n\ttitle: 'Templates/ImportProject',\n\tcomponent: ImportProject,\n\ttags: ['autodocs']\n} satisfies Meta<ImportProject>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","ImportProject","tags","Plain","parameters","docs","source","originalSource"],"mappings":"0QAgBA,MAAMA,EAAO,CACTC,MAAO,0BACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"ImportProject.stories-DUutFdis.js","sources":["../../stories/templates/ImportProject.stories.ts"],"sourcesContent":["/* Stories for ImportProject template.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport ImportProject from '$lib/components/templates/ImportProject.svelte';\n\nconst meta = {\n\ttitle: 'Templates/ImportProject',\n\tcomponent: ImportProject,\n\ttags: ['autodocs']\n} satisfies Meta<ImportProject>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","ImportProject","tags","Plain","parameters","docs","source","originalSource"],"mappings":"0QAgBA,MAAMA,EAAO,CACTC,MAAO,0BACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{k as e}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/Info16",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,p as default}; import{k as e}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/Info16",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,p as default};
//# sourceMappingURL=Info16.stories-CMG7_LLK.js.map //# sourceMappingURL=Info16.stories-DrPUN-LE.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Info16.stories-CMG7_LLK.js","sources":["../../stories/icons/Info16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Info16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Info16',\n\tcomponent: Info16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Info16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Info16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,eACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"Info16.stories-DrPUN-LE.js","sources":["../../stories/icons/Info16.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Info16 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Info16',\n\tcomponent: Info16,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Info16>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Info16","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,eACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{K as a}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Key24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,n as default}; import{K as a}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/Key24",component:a,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,n as default};
//# sourceMappingURL=Key24.stories-OM8EE9gb.js.map //# sourceMappingURL=Key24.stories-B7YJZg4w.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Key24.stories-OM8EE9gb.js","sources":["../../stories/icons/Key24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Key24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Key24',\n\tcomponent: Key24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Key24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Key24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,cACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"Key24.stories-B7YJZg4w.js","sources":["../../stories/icons/Key24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Key24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Key24',\n\tcomponent: Key24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Key24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Key24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,cACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"MainMenu-DP6mUco_.js","sources":["../../src/lib/components/molecules/MainMenu.svelte"],"sourcesContent":["<!--\nMain menu molecule.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _ } from 'svelte-i18n';\n\timport MainMenuActions from '../atoms/MainMenuActions.svelte';\n\timport MainMenuSummary from '../atoms/MainMenuSummary.svelte';\n\timport MainMenuDetails from './MainMenuDetails.svelte';\n</script>\n\n<div\n\tclass=\"flex flex-col gap-6 h-full px-8 py-6 bg-surface-50-900-token border-surface-200-700-token\"\n>\n\t<MainMenuSummary />\n\t<MainMenuDetails />\n\t<MainMenuActions />\n</div>\n"],"names":["target","div","anchor","cov_1smfm85cne","s"],"mappings":"i0OAgBQA,EAAAC,EAAAC,CAAA,EAAAC,EAAA,EAAAC"} {"version":3,"file":"MainMenu-Dec78D_B.js","sources":["../../src/lib/components/molecules/MainMenu.svelte"],"sourcesContent":["<!--\nMain menu molecule.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _ } from 'svelte-i18n';\n\timport MainMenuActions from '../atoms/MainMenuActions.svelte';\n\timport MainMenuSummary from '../atoms/MainMenuSummary.svelte';\n\timport MainMenuDetails from './MainMenuDetails.svelte';\n</script>\n\n<div\n\tclass=\"flex flex-col gap-6 h-full px-8 py-6 bg-surface-50-900-token border-surface-200-700-token\"\n>\n\t<MainMenuSummary />\n\t<MainMenuDetails />\n\t<MainMenuActions />\n</div>\n"],"names":["target","div","anchor","cov_1smfm85cne","s"],"mappings":"i0OAgBQA,EAAAC,EAAAC,CAAA,EAAAC,EAAA,EAAAC"}

View file

@ -1,2 +0,0 @@
import{M as i}from"./MainMenu-DP6mUco_.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./MainMenuActions-DgotoUAN.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";import"./MainMenuSummary-e2hB-evl.js";import"./popup-JRlLBLgR.js";import"./XPro-CUsrQo4D.js";import"./each-HCog7gGM.js";import"./globals-D0QH3NT1.js";import"./OverlayAvatar-BYibJpjG.js";import"./MainMenuDetails-D7aCVAHo.js";const O={title:"Molecules/MainMenu",component:i,tags:["autodocs"]},o={};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(m=(t=o.parameters)==null?void 0:t.docs)==null?void 0:m.source}}};const S=["Plain"];export{o as Plain,S as __namedExportsOrder,O as default};
//# sourceMappingURL=MainMenu.stories-Bfl6MDt9.js.map

View file

@ -0,0 +1,2 @@
import{M as i}from"./MainMenu-Dec78D_B.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./MainMenuActions-DDzBgsls.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";import"./MainMenuSummary-vNF38NFR.js";import"./popup-JRlLBLgR.js";import"./XPro-CzAu_TON.js";import"./each-HCog7gGM.js";import"./globals-D0QH3NT1.js";import"./OverlayAvatar-CKq6hXWq.js";import"./MainMenuDetails-W4Mevj8A.js";const O={title:"Molecules/MainMenu",component:i,tags:["autodocs"]},o={};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(m=(t=o.parameters)==null?void 0:t.docs)==null?void 0:m.source}}};const S=["Plain"];export{o as Plain,S as __namedExportsOrder,O as default};
//# sourceMappingURL=MainMenu.stories-BtjFxMkG.js.map

View file

@ -1 +1 @@
{"version":3,"file":"MainMenu.stories-Bfl6MDt9.js","sources":["../../stories/molecules/MainMenu.stories.ts"],"sourcesContent":["/* Stories for MainMenu molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MainMenu from '$lib/components/molecules/MainMenu.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/MainMenu',\n\tcomponent: MainMenu,\n\ttags: ['autodocs']\n} satisfies Meta<MainMenu>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","MainMenu","tags","Plain","parameters","docs","source","originalSource"],"mappings":"2gBAgBA,MAAMA,EAAO,CACTC,MAAO,qBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"MainMenu.stories-BtjFxMkG.js","sources":["../../stories/molecules/MainMenu.stories.ts"],"sourcesContent":["/* Stories for MainMenu molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MainMenu from '$lib/components/molecules/MainMenu.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/MainMenu',\n\tcomponent: MainMenu,\n\ttags: ['autodocs']\n} satisfies Meta<MainMenu>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","MainMenu","tags","Plain","parameters","docs","source","originalSource"],"mappings":"2gBAgBA,MAAMA,EAAO,CACTC,MAAO,qBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"MainMenuActions-DgotoUAN.js","sources":["../../src/lib/components/atoms/MainMenuActions.svelte"],"sourcesContent":["<!--\nMain menu actions atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _ } from 'svelte-i18n';\n\timport { EyeClosed24, RepoForked24, Star24, TriangleDown24 } from 'svelte-octicons';\n</script>\n\n<div class=\"flex gap-4\">\n\t<div\n\t\tclass=\"flex flex-1 align-center justify-center gap-2 bg-white dark:bg-black border-surface-200-700-token\"\n\t>\n\t\t<RepoForked24 fill=\"currentColor\" />\n\t\t<span class=\"sr-only\">{$_('page.profile.menu.actions.fork')}</span>\n\t</div>\n\t<div\n\t\tclass=\"flex flex-1 align-center justify-center gap-2 bg-white dark:bg-black border-surface-200-700-token\"\n\t>\n\t\t<Star24 fill=\"currentColor\" />\n\t\t<span class=\"sr-only\">{$_('page.profile.menu.actions.star')}</span>\n\t</div>\n\t<div\n\t\tclass=\"flex flex-1 align-center justify-center gap-2 bg-white dark:bg-black border-surface-200-700-token\"\n\t>\n\t\t<EyeClosed24 fill=\"currentColor\" />\n\t\t<span class=\"sr-only\">{$_('page.profile.menu.actions.watch')}</span>\n\t\t<TriangleDown24 fill=\"currentColor\" />\n\t</div>\n</div>\n"],"names":["div3","div1","cov_2om3dipt5k","s","append_hydration"],"mappings":"mvmBAeqBA,EAAAC,CAAA,EAAAC,EAAA,EAAAC,EAAA,EAAA,oEAAEC,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA"} {"version":3,"file":"MainMenuActions-DDzBgsls.js","sources":["../../src/lib/components/atoms/MainMenuActions.svelte"],"sourcesContent":["<!--\nMain menu actions atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _ } from 'svelte-i18n';\n\timport { EyeClosed24, RepoForked24, Star24, TriangleDown24 } from 'svelte-octicons';\n</script>\n\n<div class=\"flex gap-4\">\n\t<div\n\t\tclass=\"flex flex-1 align-center justify-center gap-2 bg-white dark:bg-black border-surface-200-700-token\"\n\t>\n\t\t<RepoForked24 fill=\"currentColor\" />\n\t\t<span class=\"sr-only\">{$_('page.profile.menu.actions.fork')}</span>\n\t</div>\n\t<div\n\t\tclass=\"flex flex-1 align-center justify-center gap-2 bg-white dark:bg-black border-surface-200-700-token\"\n\t>\n\t\t<Star24 fill=\"currentColor\" />\n\t\t<span class=\"sr-only\">{$_('page.profile.menu.actions.star')}</span>\n\t</div>\n\t<div\n\t\tclass=\"flex flex-1 align-center justify-center gap-2 bg-white dark:bg-black border-surface-200-700-token\"\n\t>\n\t\t<EyeClosed24 fill=\"currentColor\" />\n\t\t<span class=\"sr-only\">{$_('page.profile.menu.actions.watch')}</span>\n\t\t<TriangleDown24 fill=\"currentColor\" />\n\t</div>\n</div>\n"],"names":["div3","div1","cov_2om3dipt5k","s","append_hydration"],"mappings":"mvmBAeqBA,EAAAC,CAAA,EAAAC,EAAA,EAAAC,EAAA,EAAA,oEAAEC,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA"}

View file

@ -1,2 +1,2 @@
import{M as e}from"./MainMenuActions-DgotoUAN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";const l={title:"Atoms/MainMenuActions",component:e,tags:["autodocs"]},o={};var t,r,a;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(a=(r=o.parameters)==null?void 0:r.docs)==null?void 0:a.source}}};const M=["Plain"];export{o as Plain,M as __namedExportsOrder,l as default}; import{M as e}from"./MainMenuActions-DDzBgsls.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";const l={title:"Atoms/MainMenuActions",component:e,tags:["autodocs"]},o={};var t,r,a;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(a=(r=o.parameters)==null?void 0:r.docs)==null?void 0:a.source}}};const M=["Plain"];export{o as Plain,M as __namedExportsOrder,l as default};
//# sourceMappingURL=MainMenuActions.stories-DGjjnEyv.js.map //# sourceMappingURL=MainMenuActions.stories-CkjUsbPO.js.map

View file

@ -1 +1 @@
{"version":3,"file":"MainMenuActions.stories-DGjjnEyv.js","sources":["../../stories/atoms/MainMenuActions.stories.ts"],"sourcesContent":["/* Stories for MainMenuActions atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MainMenuActions from '$lib/components/atoms/MainMenuActions.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/MainMenuActions',\n\tcomponent: MainMenuActions,\n\ttags: ['autodocs']\n} satisfies Meta<MainMenuActions>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","MainMenuActions","tags","Plain","parameters","docs","source","originalSource"],"mappings":"4QAgBA,MAAMA,EAAO,CACTC,MAAO,wBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"MainMenuActions.stories-CkjUsbPO.js","sources":["../../stories/atoms/MainMenuActions.stories.ts"],"sourcesContent":["/* Stories for MainMenuActions atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MainMenuActions from '$lib/components/atoms/MainMenuActions.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/MainMenuActions',\n\tcomponent: MainMenuActions,\n\ttags: ['autodocs']\n} satisfies Meta<MainMenuActions>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","MainMenuActions","tags","Plain","parameters","docs","source","originalSource"],"mappings":"4QAgBA,MAAMA,EAAO,CACTC,MAAO,wBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{M as a}from"./MainMenuDetails-D7aCVAHo.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";const d={title:"Molecules/MainMenuDetails",component:a,tags:["autodocs"]},o={};var t,r,e;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(e=(r=o.parameters)==null?void 0:r.docs)==null?void 0:e.source}}};const M=["Plain"];export{o as Plain,M as __namedExportsOrder,d as default}; import{M as a}from"./MainMenuDetails-W4Mevj8A.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";const d={title:"Molecules/MainMenuDetails",component:a,tags:["autodocs"]},o={};var t,r,e;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(e=(r=o.parameters)==null?void 0:r.docs)==null?void 0:e.source}}};const M=["Plain"];export{o as Plain,M as __namedExportsOrder,d as default};
//# sourceMappingURL=MainMenuDetails.stories-B30gcCuB.js.map //# sourceMappingURL=MainMenuDetails.stories-Ce5bEAxy.js.map

View file

@ -1 +1 @@
{"version":3,"file":"MainMenuDetails.stories-B30gcCuB.js","sources":["../../stories/molecules/MainMenuDetails.stories.ts"],"sourcesContent":["/* Stories for MainMenuDetails molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MainMenuDetails from '$lib/components/molecules/MainMenuDetails.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/MainMenuDetails',\n\tcomponent: MainMenuDetails,\n\ttags: ['autodocs']\n} satisfies Meta<MainMenuDetails>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","MainMenuDetails","tags","Plain","parameters","docs","source","originalSource"],"mappings":"4QAgBA,MAAMA,EAAO,CACTC,MAAO,4BACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"MainMenuDetails.stories-Ce5bEAxy.js","sources":["../../stories/molecules/MainMenuDetails.stories.ts"],"sourcesContent":["/* Stories for MainMenuDetails molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MainMenuDetails from '$lib/components/molecules/MainMenuDetails.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/MainMenuDetails',\n\tcomponent: MainMenuDetails,\n\ttags: ['autodocs']\n} satisfies Meta<MainMenuDetails>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","MainMenuDetails","tags","Plain","parameters","docs","source","originalSource"],"mappings":"4QAgBA,MAAMA,EAAO,CACTC,MAAO,4BACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"MainMenuSummary-e2hB-evl.js","sources":["../../src/lib/components/atoms/MainMenuSummary.svelte"],"sourcesContent":["<!--\nMain menu summary atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { popup } from '@skeletonlabs/skeleton';\n\timport { _ } from 'svelte-i18n';\n\timport { Bell24, GitPullRequest24, IssueOpened24, Person24 } from 'svelte-octicons';\n\n\timport OverlayAvatar from './OverlayAvatar.svelte';\n\n\tconst popupClick = {\n\t\tevent: 'click',\n\t\ttarget: 'overlayAvatar',\n\t\tplacement: 'bottom'\n\t};\n</script>\n\n<div class=\"flex items-center content-stretch justify-start gap-4 ps-1\">\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"btn btn-icon text-white dark:text-black bg-surface-400-500-token rounded-full\"\n\t\tuse:popup={popupClick}\n\t>\n\t\t<Person24 fill=\"currentColor\" />\n\t\t<span class=\"sr-only\">{$_('page.profile.menu.buttons.avatar')}</span>\n\t</button>\n\t<div class=\"flex flex-1 justify-around content-stretch bg-white dark:bg-black\">\n\t\t<div class=\"flex items-center content-stretch gap-1 bg-white dark:bg-black\">\n\t\t\t<button class=\"btn btn-icon rounded-full\">\n\t\t\t\t<IssueOpened24 fill=\"currentColor\" />\n\t\t\t\t<span>\n\t\t\t\t\t{@html $_('page.profile.menu.buttons.issues', {\n\t\t\t\t\t\tvalues: {\n\t\t\t\t\t\t\tnumber: 3,\n\t\t\t\t\t\t\tblockElementOpen: '<span class=\"sr-only\">',\n\t\t\t\t\t\t\tblockElementClose: '</span>'\n\t\t\t\t\t\t}\n\t\t\t\t\t})}\n\t\t\t\t</span>\n\t\t\t</button>\n\t\t</div>\n\t\t<div class=\"flex items-center content-stretch gap-1 bg-white dark:bg-black\">\n\t\t\t<button class=\"btn btn-icon rounded-full\">\n\t\t\t\t<GitPullRequest24 fill=\"currentColor\" />\n\t\t\t\t<span>\n\t\t\t\t\t{@html $_('page.profile.menu.buttons.prs', {\n\t\t\t\t\t\tvalues: {\n\t\t\t\t\t\t\tnumber: 1,\n\t\t\t\t\t\t\tblockElementOpen: '<span class=\"sr-only\">',\n\t\t\t\t\t\t\tblockElementClose: '</span>'\n\t\t\t\t\t\t}\n\t\t\t\t\t})}\n\t\t\t\t</span>\n\t\t\t</button>\n\t\t</div>\n\t\t<div class=\"flex items-center content-stretch gap-1 bg-white dark:bg-black\">\n\t\t\t<button class=\"btn btn-icon rounded-full\">\n\t\t\t\t<Bell24 fill=\"currentColor\" />\n\t\t\t\t<span>\n\t\t\t\t\t{@html $_('page.profile.menu.buttons.notifications', {\n\t\t\t\t\t\tvalues: {\n\t\t\t\t\t\t\tnumber: 2,\n\t\t\t\t\t\t\tblockElementOpen: '<span class=\"sr-only\">',\n\t\t\t\t\t\t\tblockElementClose: '</span>'\n\t\t\t\t\t\t}\n\t\t\t\t\t})}\n\t\t\t\t</span>\n\t\t\t</button>\n\t\t</div>\n\t</div>\n</div>\n\n<div class=\"card p-4 bg-transparent\" data-popup=\"overlayAvatar\">\n\t<OverlayAvatar />\n</div>\n"],"names":["t1_value","cov_3geg1e4zr","s","ctx","target","div4","anchor","button0","append_hydration","span0","div3","button1","span1","div1","button2","span2","div2","button3","span3","dirty","b","current","set_data","t1"],"mappings":"+93BAgBgBA,GAAAC,EAAA,EAAAC,EAAA,CAAA,IAAAC,EAAA,CAAA,EAAA,kCAAA,moIA2CTC,EAAAC,EAAAC,CAAA,EAAAL,EAAA,EAAAC,WA3C2BG,EAAAE,CAAA,EAAAN,EAAA,EAAAC,sDAAlBM,EAAAD,EAAAE,CAAA,EAAAR,EAAA,EAAAC,iDAAoBM,EA0C7BH,EAAAK,CAAA,EAAAT,EAAA,EAAAC,EAAA,GAAA,IA1CoDM,oBAAQA,sBAE3DA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAgBiBG,EAAAC,CAAA,EAAAX,EAAA,EAAAC,EAAA,GAAA,iDAWlBQ,EAAAG,CAAA,EAAAZ,EAAA,EAAAC,WADAW,EAAAC,CAAA,EAAAb,EAAAC,EAAAA,yDADQY,EAAAC,CAAA,EAAAd,EAAAC,EAAAA,sDAcRQ,EAAAM,CAAA,EAAAf,EAAA,EAAAC,WADKc,EAAAC,CAAA,EAAAhB,EAAA,EAAAC,EAAA,GAAA,oDADAe,EAAAC,CAAA,EAAAjB,EAAAC,EAAAA,+EAxCOC,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,GAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,GACHF,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,KADGE,EAAAA,EAAAA,EAAAA,CAAAA,EAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,GAAAA,GAAAA,GAAAA,KAAAA,KAAAA,EAAAA,EAAaF,CAAAA,CAAAA,CAAAA,EAAAA,EAAA,EAAAC,EAAA,GAAA,OAChB,GAAA,EAAA,EAAAC,EAAA,CAAAgB,CAAA,EAAA,CAAAlB,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,GAAA,IAAAA,EAAA,EAAAmB,EAAA,CAAA,EAAA,CAAA,KAAA,CAAAC,IAAApB,EAAA,EAAAmB,EAAA,CAAA,EAAA,CAAA,IAAAD,EAAAlB,MAAAA,EAAAmB,EAAAA,EAAApB,CAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAAG,EAAA,CAAA,EAAA,kCAAA,EAAA,MAAAF,EAAAmB,EAAAA,EAAAnB,CAAAA,EAAAA,CAAAA,IAAAA,EAAAC,EAAAA,SAAAoB,GAAAC,EAAAvB,CAAA,GAAAC,IAAAmB,EAAAnB,CAAAA,EAAAA,CAAAA,IAAAA,EAAAC,EAAAA"} {"version":3,"file":"MainMenuSummary-vNF38NFR.js","sources":["../../src/lib/components/atoms/MainMenuSummary.svelte"],"sourcesContent":["<!--\nMain menu summary atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { popup } from '@skeletonlabs/skeleton';\n\timport { _ } from 'svelte-i18n';\n\timport { Bell24, GitPullRequest24, IssueOpened24, Person24 } from 'svelte-octicons';\n\n\timport OverlayAvatar from './OverlayAvatar.svelte';\n\n\tconst popupClick = {\n\t\tevent: 'click',\n\t\ttarget: 'overlayAvatar',\n\t\tplacement: 'bottom'\n\t};\n</script>\n\n<div class=\"flex items-center content-stretch justify-start gap-4 ps-1\">\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"btn btn-icon text-white dark:text-black bg-surface-400-500-token rounded-full\"\n\t\tuse:popup={popupClick}\n\t>\n\t\t<Person24 fill=\"currentColor\" />\n\t\t<span class=\"sr-only\">{$_('page.profile.menu.buttons.avatar')}</span>\n\t</button>\n\t<div class=\"flex flex-1 justify-around content-stretch bg-white dark:bg-black\">\n\t\t<div class=\"flex items-center content-stretch gap-1 bg-white dark:bg-black\">\n\t\t\t<button class=\"btn btn-icon rounded-full\">\n\t\t\t\t<IssueOpened24 fill=\"currentColor\" />\n\t\t\t\t<span>\n\t\t\t\t\t{@html $_('page.profile.menu.buttons.issues', {\n\t\t\t\t\t\tvalues: {\n\t\t\t\t\t\t\tnumber: 3,\n\t\t\t\t\t\t\tblockElementOpen: '<span class=\"sr-only\">',\n\t\t\t\t\t\t\tblockElementClose: '</span>'\n\t\t\t\t\t\t}\n\t\t\t\t\t})}\n\t\t\t\t</span>\n\t\t\t</button>\n\t\t</div>\n\t\t<div class=\"flex items-center content-stretch gap-1 bg-white dark:bg-black\">\n\t\t\t<button class=\"btn btn-icon rounded-full\">\n\t\t\t\t<GitPullRequest24 fill=\"currentColor\" />\n\t\t\t\t<span>\n\t\t\t\t\t{@html $_('page.profile.menu.buttons.prs', {\n\t\t\t\t\t\tvalues: {\n\t\t\t\t\t\t\tnumber: 1,\n\t\t\t\t\t\t\tblockElementOpen: '<span class=\"sr-only\">',\n\t\t\t\t\t\t\tblockElementClose: '</span>'\n\t\t\t\t\t\t}\n\t\t\t\t\t})}\n\t\t\t\t</span>\n\t\t\t</button>\n\t\t</div>\n\t\t<div class=\"flex items-center content-stretch gap-1 bg-white dark:bg-black\">\n\t\t\t<button class=\"btn btn-icon rounded-full\">\n\t\t\t\t<Bell24 fill=\"currentColor\" />\n\t\t\t\t<span>\n\t\t\t\t\t{@html $_('page.profile.menu.buttons.notifications', {\n\t\t\t\t\t\tvalues: {\n\t\t\t\t\t\t\tnumber: 2,\n\t\t\t\t\t\t\tblockElementOpen: '<span class=\"sr-only\">',\n\t\t\t\t\t\t\tblockElementClose: '</span>'\n\t\t\t\t\t\t}\n\t\t\t\t\t})}\n\t\t\t\t</span>\n\t\t\t</button>\n\t\t</div>\n\t</div>\n</div>\n\n<div class=\"card p-4 bg-transparent\" data-popup=\"overlayAvatar\">\n\t<OverlayAvatar />\n</div>\n"],"names":["t1_value","cov_3geg1e4zr","s","ctx","target","div4","anchor","button0","append_hydration","span0","div3","button1","span1","div1","button2","span2","div2","button3","span3","dirty","b","current","set_data","t1"],"mappings":"+93BAgBgBA,GAAAC,EAAA,EAAAC,EAAA,CAAA,IAAAC,EAAA,CAAA,EAAA,kCAAA,moIA2CTC,EAAAC,EAAAC,CAAA,EAAAL,EAAA,EAAAC,WA3C2BG,EAAAE,CAAA,EAAAN,EAAA,EAAAC,sDAAlBM,EAAAD,EAAAE,CAAA,EAAAR,EAAA,EAAAC,iDAAoBM,EA0C7BH,EAAAK,CAAA,EAAAT,EAAA,EAAAC,EAAA,GAAA,IA1CoDM,oBAAQA,sBAE3DA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAgBiBG,EAAAC,CAAA,EAAAX,EAAA,EAAAC,EAAA,GAAA,iDAWlBQ,EAAAG,CAAA,EAAAZ,EAAA,EAAAC,WADAW,EAAAC,CAAA,EAAAb,EAAAC,EAAAA,yDADQY,EAAAC,CAAA,EAAAd,EAAAC,EAAAA,sDAcRQ,EAAAM,CAAA,EAAAf,EAAA,EAAAC,WADKc,EAAAC,CAAA,EAAAhB,EAAA,EAAAC,EAAA,GAAA,oDADAe,EAAAC,CAAA,EAAAjB,EAAAC,EAAAA,+EAxCOC,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,GAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,GACHF,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,KADGE,EAAAA,EAAAA,EAAAA,CAAAA,EAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,GAAAA,GAAAA,GAAAA,KAAAA,KAAAA,EAAAA,EAAaF,CAAAA,CAAAA,CAAAA,EAAAA,EAAA,EAAAC,EAAA,GAAA,OAChB,GAAA,EAAA,EAAAC,EAAA,CAAAgB,CAAA,EAAA,CAAAlB,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,GAAA,IAAAA,EAAA,EAAAmB,EAAA,CAAA,EAAA,CAAA,KAAA,CAAAC,IAAApB,EAAA,EAAAmB,EAAA,CAAA,EAAA,CAAA,IAAAD,EAAAlB,MAAAA,EAAAmB,EAAAA,EAAApB,CAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAAG,EAAA,CAAA,EAAA,kCAAA,EAAA,MAAAF,EAAAmB,EAAAA,EAAAnB,CAAAA,EAAAA,CAAAA,IAAAA,EAAAC,EAAAA,SAAAoB,GAAAC,EAAAvB,CAAA,GAAAC,IAAAmB,EAAAnB,CAAAA,EAAAA,CAAAA,IAAAA,EAAAC,EAAAA"}

View file

@ -1,2 +1,2 @@
import{M as a}from"./MainMenuSummary-e2hB-evl.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./popup-JRlLBLgR.js";import"./index-DYrB6zKT.js";import"./XPro-CUsrQo4D.js";import"./each-HCog7gGM.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";import"./runtime-oMSfAR4m.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-DlfghPAc.js";import"./OverlayAvatar-BYibJpjG.js";const x={title:"Atoms/MainMenuSummary",component:a,tags:["autodocs"]},r={};var o,t,m;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(m=(t=r.parameters)==null?void 0:t.docs)==null?void 0:m.source}}};const y=["Plain"];export{r as Plain,y as __namedExportsOrder,x as default}; import{M as a}from"./MainMenuSummary-vNF38NFR.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./popup-JRlLBLgR.js";import"./index-DYrB6zKT.js";import"./XPro-CzAu_TON.js";import"./each-HCog7gGM.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";import"./runtime-oMSfAR4m.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-BmZ-1NGN.js";import"./OverlayAvatar-CKq6hXWq.js";const x={title:"Atoms/MainMenuSummary",component:a,tags:["autodocs"]},r={};var o,t,m;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(m=(t=r.parameters)==null?void 0:t.docs)==null?void 0:m.source}}};const y=["Plain"];export{r as Plain,y as __namedExportsOrder,x as default};
//# sourceMappingURL=MainMenuSummary.stories-BkecMXZx.js.map //# sourceMappingURL=MainMenuSummary.stories-f2GPz9vR.js.map

View file

@ -1 +1 @@
{"version":3,"file":"MainMenuSummary.stories-BkecMXZx.js","sources":["../../stories/atoms/MainMenuSummary.stories.ts"],"sourcesContent":["/* Stories for MainMenuSummary atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MainMenuSummary from '$lib/components/atoms/MainMenuSummary.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/MainMenuSummary',\n\tcomponent: MainMenuSummary,\n\ttags: ['autodocs']\n} satisfies Meta<MainMenuSummary>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","MainMenuSummary","tags","Plain","parameters","docs","source","originalSource"],"mappings":"gaAgBA,MAAMA,EAAO,CACTC,MAAO,wBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"MainMenuSummary.stories-f2GPz9vR.js","sources":["../../stories/atoms/MainMenuSummary.stories.ts"],"sourcesContent":["/* Stories for MainMenuSummary atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MainMenuSummary from '$lib/components/atoms/MainMenuSummary.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/MainMenuSummary',\n\tcomponent: MainMenuSummary,\n\ttags: ['autodocs']\n} satisfies Meta<MainMenuSummary>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","MainMenuSummary","tags","Plain","parameters","docs","source","originalSource"],"mappings":"gaAgBA,MAAMA,EAAO,CACTC,MAAO,wBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"MoreFilters-CKEERaju.js","sources":["../../src/lib/components/molecules/MoreFilters.svelte"],"sourcesContent":["<!--\nForm to select more filters.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { TriangleDown24 } from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tsubmit: ''\n\t};\n</script>\n\n<form class=\"bg-surface-100-800-token h-8 flex flex-col justify-center px-4\">\n\t<button type=\"submit\" class=\"flex submit text-surface-400-500-token\">\n\t\t{$_(i18n.submit)}\n\t\t<TriangleDown24 fill=\"currentColor\" class=\"ms-4 self-center\" />\n\t</button>\n</form>\n"],"names":["ctx","submit","cov_u04smx7q9","b","s","set_data","t0","t0_value"],"mappings":"45QAcUA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,IAAAA,EAAAA,EAAAA,GAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAA,CAAA,EAAAC,MAAA,y9BAAAD,EAAA,CAAA,EAAAA,EAAA,CAAA,EAAAC,MAAA,EAAAC,MAAAA,EAAA,EAAAC,EAAA,CAAA,EAAA,CAAA,IAAAD,EAAAE,EAAAA,EAAAC,EAAAA,IAAAA,EAAAC,EAAAC,CAAA,GAAAL,EAAA,EAAAC,EAAA,CAAA,EAAA,CAAA"} {"version":3,"file":"MoreFilters-91bMujpo.js","sources":["../../src/lib/components/molecules/MoreFilters.svelte"],"sourcesContent":["<!--\nForm to select more filters.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { TriangleDown24 } from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tsubmit: ''\n\t};\n</script>\n\n<form class=\"bg-surface-100-800-token h-8 flex flex-col justify-center px-4\">\n\t<button type=\"submit\" class=\"flex submit text-surface-400-500-token\">\n\t\t{$_(i18n.submit)}\n\t\t<TriangleDown24 fill=\"currentColor\" class=\"ms-4 self-center\" />\n\t</button>\n</form>\n"],"names":["ctx","submit","cov_u04smx7q9","b","s","set_data","t0","t0_value"],"mappings":"45QAcUA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,IAAAA,EAAAA,EAAAA,GAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAA,CAAA,EAAAC,MAAA,y9BAAAD,EAAA,CAAA,EAAAA,EAAA,CAAA,EAAAC,MAAA,EAAAC,MAAAA,EAAA,EAAAC,EAAA,CAAA,EAAA,CAAA,IAAAD,EAAAE,EAAAA,EAAAC,EAAAA,IAAAA,EAAAC,EAAAC,CAAA,GAAAL,EAAA,EAAAC,EAAA,CAAA,EAAA,CAAA"}

View file

@ -1,8 +1,8 @@
import{M as s}from"./MoreFilters-CKEERaju.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const d={title:"Molecules/MoreFilters",component:s,tags:["autodocs"]},r={args:{i18n:{submit:"page.projects.form.fields.more_filters.submit"}}};var e,o,t;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ import{M as s}from"./MoreFilters-91bMujpo.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const d={title:"Molecules/MoreFilters",component:s,tags:["autodocs"]},r={args:{i18n:{submit:"page.projects.form.fields.more_filters.submit"}}};var e,o,t;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: { args: {
i18n: { i18n: {
submit: 'page.projects.form.fields.more_filters.submit' submit: 'page.projects.form.fields.more_filters.submit'
} }
} }
}`,...(t=(o=r.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};const f=["Plain"];export{r as Plain,f as __namedExportsOrder,d as default}; }`,...(t=(o=r.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};const f=["Plain"];export{r as Plain,f as __namedExportsOrder,d as default};
//# sourceMappingURL=MoreFilters.stories-MjBE_9m2.js.map //# sourceMappingURL=MoreFilters.stories-Di2LfyNd.js.map

View file

@ -1 +1 @@
{"version":3,"file":"MoreFilters.stories-MjBE_9m2.js","sources":["../../stories/molecules/MoreFilters.stories.ts"],"sourcesContent":["/* Stories for MoreFilters molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MoreFilters from '$lib/components/molecules/MoreFilters.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/MoreFilters',\n\tcomponent: MoreFilters,\n\ttags: ['autodocs']\n} satisfies Meta<MoreFilters>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\ti18n: {\n\t\t\tsubmit: 'page.projects.form.fields.more_filters.submit'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","MoreFilters","tags","Plain","args","i18n","submit","parameters","docs","source","originalSource"],"mappings":"wQAgBA,MAAMA,EAAO,CACTC,MAAO,wBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,KAAC,CACGC,OAAQ,+CACjB,CACD,CACF,YAAEH,EAAAI,WAAA,CAAA,GAAAJ,EAAAI,WAAAC,KAAA,CAAA,IAAAL,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAP,GAAAA,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,OAAAL,YAAAA,EAAAM,MAAA,CAAA,CAAA"} {"version":3,"file":"MoreFilters.stories-Di2LfyNd.js","sources":["../../stories/molecules/MoreFilters.stories.ts"],"sourcesContent":["/* Stories for MoreFilters molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport MoreFilters from '$lib/components/molecules/MoreFilters.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/MoreFilters',\n\tcomponent: MoreFilters,\n\ttags: ['autodocs']\n} satisfies Meta<MoreFilters>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\ti18n: {\n\t\t\tsubmit: 'page.projects.form.fields.more_filters.submit'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","MoreFilters","tags","Plain","args","i18n","submit","parameters","docs","source","originalSource"],"mappings":"wQAgBA,MAAMA,EAAO,CACTC,MAAO,wBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,KAAC,CACGC,OAAQ,+CACjB,CACD,CACF,YAAEH,EAAAI,WAAA,CAAA,GAAAJ,EAAAI,WAAAC,KAAA,CAAA,IAAAL,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAP,GAAAA,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,OAAAL,YAAAA,EAAAM,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{N as e}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/NorthStar24",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,n as default}; import{N as e}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const n={title:"Icons/NorthStar24",component:e,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,t,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(t=o.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,n as default};
//# sourceMappingURL=NorthStar24.stories-CGjRxQOS.js.map //# sourceMappingURL=NorthStar24.stories-Dr2MISCV.js.map

View file

@ -1 +1 @@
{"version":3,"file":"NorthStar24.stories-CGjRxQOS.js","sources":["../../stories/icons/NorthStar24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { NorthStar24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/NorthStar24',\n\tcomponent: NorthStar24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<NorthStar24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","NorthStar24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"NorthStar24.stories-Dr2MISCV.js","sources":["../../stories/icons/NorthStar24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { NorthStar24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/NorthStar24',\n\tcomponent: NorthStar24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<NorthStar24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","NorthStar24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"OverlayAvatar-BYibJpjG.js","sources":["../../src/lib/components/atoms/OverlayAvatar.svelte"],"sourcesContent":["<!--\nOverlay avatar atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n<script>\n\timport { getModalStore, LightSwitch } from '@skeletonlabs/skeleton';\n\timport { _ } from 'svelte-i18n';\n\timport { Gear24, Info24, Moon24, Person24, SignOut24 } from 'svelte-octicons';\n\n\tconst modal = {\n\t\ttype: 'component',\n\t\tcomponent: 'settings'\n\t};\n\tconst modalStore = getModalStore();\n\n\tfunction openSettingsOnClick() {\n\t\tmodalStore.trigger(modal);\n\t}\n</script>\n\n<div\n\tclass=\"flex flex-col bg-white dark:bg-black border-surface-300-600 border-rounded drop-shadow px-4 py-2\"\n>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<Person24\n\t\t\tfill=\"currentColor\"\n\t\t\tclass=\"text-white dark:text-black bg-surface-400-500-token rounded-full\"\n\t\t/>\n\t\t<span class=\"text-surface-500-400-token -mb-2\">{$_('overlay.avatar.profile')}</span>\n\t</div>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<Gear24 fill=\"currentColor\" />\n\t\t<button type=\"button\" class=\"text-surface-500-400-token -mb-2\" on:click={openSettingsOnClick}\n\t\t\t>{$_('overlay.avatar.settings')}</button\n\t\t>\n\t</div>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<Moon24 fill=\"currentColor\" />\n\t\t<span class=\"text-surface-500-400-token -mb-2\">{$_('overlay.avatar.dark_mode')}</span>\n\t\t<LightSwitch />\n\t</div>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<Info24 fill=\"currentColor\" />\n\t\t<span class=\"text-surface-500-400-token -mb-2\">{$_('overlay.avatar.about_anvil')}</span>\n\t</div>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<SignOut24 fill=\"currentColor\" />\n\t\t<span class=\"text-surface-500-400-token -mb-2\">{$_('overlay.avatar.sign_out')}</span>\n\t</div>\n</div>\n"],"names":["append_hydration","div5","div3","cov_2c6cmc0dsd","s"],"mappings":"807BAoCkDA,8SAUAC,EAAAC,CAAA,EAAAC,EAAA,EAAAC"} {"version":3,"file":"OverlayAvatar-CKq6hXWq.js","sources":["../../src/lib/components/atoms/OverlayAvatar.svelte"],"sourcesContent":["<!--\nOverlay avatar atom.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n<script>\n\timport { getModalStore, LightSwitch } from '@skeletonlabs/skeleton';\n\timport { _ } from 'svelte-i18n';\n\timport { Gear24, Info24, Moon24, Person24, SignOut24 } from 'svelte-octicons';\n\n\tconst modal = {\n\t\ttype: 'component',\n\t\tcomponent: 'settings'\n\t};\n\tconst modalStore = getModalStore();\n\n\tfunction openSettingsOnClick() {\n\t\tmodalStore.trigger(modal);\n\t}\n</script>\n\n<div\n\tclass=\"flex flex-col bg-white dark:bg-black border-surface-300-600 border-rounded drop-shadow px-4 py-2\"\n>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<Person24\n\t\t\tfill=\"currentColor\"\n\t\t\tclass=\"text-white dark:text-black bg-surface-400-500-token rounded-full\"\n\t\t/>\n\t\t<span class=\"text-surface-500-400-token -mb-2\">{$_('overlay.avatar.profile')}</span>\n\t</div>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<Gear24 fill=\"currentColor\" />\n\t\t<button type=\"button\" class=\"text-surface-500-400-token -mb-2\" on:click={openSettingsOnClick}\n\t\t\t>{$_('overlay.avatar.settings')}</button\n\t\t>\n\t</div>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<Moon24 fill=\"currentColor\" />\n\t\t<span class=\"text-surface-500-400-token -mb-2\">{$_('overlay.avatar.dark_mode')}</span>\n\t\t<LightSwitch />\n\t</div>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<Info24 fill=\"currentColor\" />\n\t\t<span class=\"text-surface-500-400-token -mb-2\">{$_('overlay.avatar.about_anvil')}</span>\n\t</div>\n\t<div class=\"bg-white dark:bg-black flex gap-4\">\n\t\t<SignOut24 fill=\"currentColor\" />\n\t\t<span class=\"text-surface-500-400-token -mb-2\">{$_('overlay.avatar.sign_out')}</span>\n\t</div>\n</div>\n"],"names":["append_hydration","div5","div3","cov_2c6cmc0dsd","s"],"mappings":"807BAoCkDA,8SAUAC,EAAAC,CAAA,EAAAC,EAAA,EAAAC"}

View file

@ -1,2 +1,2 @@
import{O as e}from"./OverlayAvatar-BYibJpjG.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./XPro-CUsrQo4D.js";import"./each-HCog7gGM.js";import"./index-DYrB6zKT.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";import"./runtime-oMSfAR4m.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-DlfghPAc.js";const A={title:"Atoms/OverlayAvatar",component:e,tags:["autodocs"]},r={};var t,o,a;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(a=(o=r.parameters)==null?void 0:o.docs)==null?void 0:a.source}}};const f=["Plain"];export{r as Plain,f as __namedExportsOrder,A as default}; import{O as e}from"./OverlayAvatar-CKq6hXWq.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./XPro-CzAu_TON.js";import"./each-HCog7gGM.js";import"./index-DYrB6zKT.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";import"./runtime-oMSfAR4m.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-BmZ-1NGN.js";const A={title:"Atoms/OverlayAvatar",component:e,tags:["autodocs"]},r={};var t,o,a;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(a=(o=r.parameters)==null?void 0:o.docs)==null?void 0:a.source}}};const f=["Plain"];export{r as Plain,f as __namedExportsOrder,A as default};
//# sourceMappingURL=OverlayAvatar.stories-D-wybsax.js.map //# sourceMappingURL=OverlayAvatar.stories-BnGS4ESz.js.map

View file

@ -1 +1 @@
{"version":3,"file":"OverlayAvatar.stories-D-wybsax.js","sources":["../../stories/atoms/OverlayAvatar.stories.ts"],"sourcesContent":["/* Stories for OverlayAvatar atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport OverlayAvatar from '$lib/components/atoms/OverlayAvatar.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/OverlayAvatar',\n\tcomponent: OverlayAvatar,\n\ttags: ['autodocs']\n} satisfies Meta<OverlayAvatar>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","OverlayAvatar","tags","Plain","parameters","docs","source","originalSource"],"mappings":"8VAgBA,MAAMA,EAAO,CACTC,MAAO,sBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"OverlayAvatar.stories-BnGS4ESz.js","sources":["../../stories/atoms/OverlayAvatar.stories.ts"],"sourcesContent":["/* Stories for OverlayAvatar atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport OverlayAvatar from '$lib/components/atoms/OverlayAvatar.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/OverlayAvatar',\n\tcomponent: OverlayAvatar,\n\ttags: ['autodocs']\n} satisfies Meta<OverlayAvatar>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","OverlayAvatar","tags","Plain","parameters","docs","source","originalSource"],"mappings":"8VAgBA,MAAMA,EAAO,CACTC,MAAO,sBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"Pagination-B4FA00uh.js","sources":["../../src/lib/components/molecules/Pagination.svelte"],"sourcesContent":["<!--\nPagination for a page.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { ChevronLeft24, ChevronRight24 } from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tnext: '',\n\t\tprevious: ''\n\t};\n</script>\n\n<nav class=\"flex gap-4 items-center justify-center\">\n\t<a href=\"?page=-1\" class=\"flex gap-2 text-primary-500\">\n\t\t<ChevronLeft24 fill=\"currentColor\" />\n\t\t{$_(i18n.previous)}\n\t</a>\n\t<a href=\"?page=1\" class=\"text-surface-500-400-token\">1</a>\n\t<a href=\"?page=2\" class=\"text-surface-500-400-token\">2</a>\n\t<a href=\"?page=3\" class=\"text-surface-500-400-token\">3</a>\n\t<a\n\t\thref=\"?page=4\"\n\t\tclass=\"bg-primary-500 text-white dark:text-black rounded h-8 w-8 flex justify-center items-center\"\n\t>\n\t\t4\n\t</a>\n\t<a href=\"?page=5\" class=\"text-surface-500-400-token\">5</a>\n\t<a href=\"?page=6\" class=\"text-surface-500-400-token\">6</a>\n\t<span>…</span>\n\t<a href=\"?page=17\" class=\"text-surface-500-400-token\">17</a>\n\t<a href=\"?page=18\" class=\"text-surface-500-400-token\">18</a>\n\t<a href=\"?page=+1\" class=\"flex gap-2 text-primary-500\">\n\t\t{$_(i18n.next)}\n\t\t<ChevronRight24 fill=\"currentColor\" />\n\t</a>\n</nav>\n"],"names":["ctx","previous","cov_4q4ncaphn","b","s","set_data","t1","t1_value"],"mappings":"2oqBAeUA,EAAA,CAAA,EAAAA,EAASC,CAAAA,EAAAA,QAAa,2wJAAtBD,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,GAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,CAAAA,CAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,CAAAA,KAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,EAAAA,MAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAASC,CAAAA,EAAAA,QAAa,QAAAC,EAAA,EAAAC,EAAA,CAAA,EAAA,CAAA,IAAAD,EAAA,EAAAE,EAAA,GAAA,IAAAC,GAAAC,EAAAC,CAAA,GAAAL,EAAAC,EAAAA,EAAAD,CAAAA,EAAAA,CAAAA,IAAAA,EAAA,EAAAE"} {"version":3,"file":"Pagination-tx3XB2cB.js","sources":["../../src/lib/components/molecules/Pagination.svelte"],"sourcesContent":["<!--\nPagination for a page.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { ChevronLeft24, ChevronRight24 } from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tnext: '',\n\t\tprevious: ''\n\t};\n</script>\n\n<nav class=\"flex gap-4 items-center justify-center\">\n\t<a href=\"?page=-1\" class=\"flex gap-2 text-primary-500\">\n\t\t<ChevronLeft24 fill=\"currentColor\" />\n\t\t{$_(i18n.previous)}\n\t</a>\n\t<a href=\"?page=1\" class=\"text-surface-500-400-token\">1</a>\n\t<a href=\"?page=2\" class=\"text-surface-500-400-token\">2</a>\n\t<a href=\"?page=3\" class=\"text-surface-500-400-token\">3</a>\n\t<a\n\t\thref=\"?page=4\"\n\t\tclass=\"bg-primary-500 text-white dark:text-black rounded h-8 w-8 flex justify-center items-center\"\n\t>\n\t\t4\n\t</a>\n\t<a href=\"?page=5\" class=\"text-surface-500-400-token\">5</a>\n\t<a href=\"?page=6\" class=\"text-surface-500-400-token\">6</a>\n\t<span>…</span>\n\t<a href=\"?page=17\" class=\"text-surface-500-400-token\">17</a>\n\t<a href=\"?page=18\" class=\"text-surface-500-400-token\">18</a>\n\t<a href=\"?page=+1\" class=\"flex gap-2 text-primary-500\">\n\t\t{$_(i18n.next)}\n\t\t<ChevronRight24 fill=\"currentColor\" />\n\t</a>\n</nav>\n"],"names":["ctx","previous","cov_4q4ncaphn","b","s","set_data","t1","t1_value"],"mappings":"2oqBAeUA,EAAA,CAAA,EAAAA,EAASC,CAAAA,EAAAA,QAAa,2wJAAtBD,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,GAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,CAAAA,CAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,CAAAA,KAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,EAAAA,MAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAASC,CAAAA,EAAAA,QAAa,QAAAC,EAAA,EAAAC,EAAA,CAAA,EAAA,CAAA,IAAAD,EAAA,EAAAE,EAAA,GAAA,IAAAC,GAAAC,EAAAC,CAAA,GAAAL,EAAAC,EAAAA,EAAAD,CAAAA,EAAAA,CAAAA,IAAAA,EAAA,EAAAE"}

View file

@ -1,4 +1,4 @@
import{P as a}from"./Pagination-B4FA00uh.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const v={title:"Molecules/Pagination",component:a,tags:["autodocs"]},e={args:{i18n:{next:"page.projects.nav.next",previous:"page.projects.nav.previous"}}};var o,r,t;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ import{P as a}from"./Pagination-tx3XB2cB.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const v={title:"Molecules/Pagination",component:a,tags:["autodocs"]},e={args:{i18n:{next:"page.projects.nav.next",previous:"page.projects.nav.previous"}}};var o,r,t;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: { args: {
i18n: { i18n: {
next: 'page.projects.nav.next', next: 'page.projects.nav.next',
@ -6,4 +6,4 @@ import{P as a}from"./Pagination-B4FA00uh.js";import"./index-CoCSl5nl.js";import"
} }
} }
}`,...(t=(r=e.parameters)==null?void 0:r.docs)==null?void 0:t.source}}};const d=["Plain"];export{e as Plain,d as __namedExportsOrder,v as default}; }`,...(t=(r=e.parameters)==null?void 0:r.docs)==null?void 0:t.source}}};const d=["Plain"];export{e as Plain,d as __namedExportsOrder,v as default};
//# sourceMappingURL=Pagination.stories-DvLhEbuo.js.map //# sourceMappingURL=Pagination.stories-CgCtrs2T.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Pagination.stories-DvLhEbuo.js","sources":["../../stories/molecules/Pagination.stories.ts"],"sourcesContent":["/* Stories for Pagination molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Pagination from '$lib/components/molecules/Pagination.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/Pagination',\n\tcomponent: Pagination,\n\ttags: ['autodocs']\n} satisfies Meta<Pagination>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\ti18n: {\n\t\t\tnext: 'page.projects.nav.next',\n\t\t\tprevious: 'page.projects.nav.previous'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","Pagination","tags","Plain","args","i18n","next","previous","parameters","docs","source","originalSource"],"mappings":"uQAgBA,MAAMA,EAAO,CACTC,MAAO,uBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,KAAC,CACGC,KAAM,yBACNC,SAAU,4BACnB,CACD,CACF,YAAEJ,EAAAK,WAAA,CAAA,GAAAL,EAAAK,WAAAC,KAAA,CAAA,IAAAN,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAR,GAAAA,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,OAAAN,YAAAA,EAAAO,MAAA,CAAA,CAAA"} {"version":3,"file":"Pagination.stories-CgCtrs2T.js","sources":["../../stories/molecules/Pagination.stories.ts"],"sourcesContent":["/* Stories for Pagination molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Pagination from '$lib/components/molecules/Pagination.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/Pagination',\n\tcomponent: Pagination,\n\ttags: ['autodocs']\n} satisfies Meta<Pagination>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\ti18n: {\n\t\t\tnext: 'page.projects.nav.next',\n\t\t\tprevious: 'page.projects.nav.previous'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","Pagination","tags","Plain","args","i18n","next","previous","parameters","docs","source","originalSource"],"mappings":"uQAgBA,MAAMA,EAAO,CACTC,MAAO,uBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,KAAC,CACGC,KAAM,yBACNC,SAAU,4BACnB,CACD,CACF,YAAEJ,EAAAK,WAAA,CAAA,GAAAL,EAAAK,WAAAC,KAAA,CAAA,IAAAN,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAR,GAAAA,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,OAAAN,YAAAA,EAAAO,MAAA,CAAA,CAAA"}

View file

@ -1,2 +1,2 @@
import{P as t}from"./ZoomOut24-DlfghPAc.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/Person24",component:t,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,s;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(s=(e=o.parameters)==null?void 0:e.docs)==null?void 0:s.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,p as default}; import{P as t}from"./ZoomOut24-BmZ-1NGN.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./spread-CgU5AtxT.js";const p={title:"Icons/Person24",component:t,tags:["autodocs"],argTypes:{fill:{control:"color"}}},o={};var r,e,s;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(s=(e=o.parameters)==null?void 0:e.docs)==null?void 0:s.source}}};const i=["Plain"];export{o as Plain,i as __namedExportsOrder,p as default};
//# sourceMappingURL=Person24.stories-By2PTpr3.js.map //# sourceMappingURL=Person24.stories-DOK2WHIk.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Person24.stories-By2PTpr3.js","sources":["../../stories/icons/Person24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Person24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Person24',\n\tcomponent: Person24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Person24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Person24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,iBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"Person24.stories-DOK2WHIk.js","sources":["../../stories/icons/Person24.stories.ts"],"sourcesContent":["/*\n * MIT License\n *\n * Copyright (c) 2020-present Eric Liu\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n */\n\n/*\n * SPDX-FileCopyrightText: 2020 - 2024 Eric Liu\n * SPDX-License-Identifier: MIT\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\nimport { Person24 } from 'svelte-octicons';\n\nconst meta = {\n\ttitle: 'Icons/Person24',\n\tcomponent: Person24,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tfill: {\n\t\t\tcontrol: 'color'\n\t\t}\n\t}\n} satisfies Meta<Person24>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","Person24","tags","argTypes","fill","control","Plain","parameters","docs","source","originalSource"],"mappings":"qIAqBA,MAAMA,EAAO,CACTC,MAAO,iBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAC,CACGC,QAAO,OAChB,CACD,CACF,EAKaC,EAAe,CAAC,YAAEA,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{w as n,a as i}from"./chunk-NQQ3TO7D-D125W6ms.js";import{P as m}from"./Profile-BcKGPr-r.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./each-HCog7gGM.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";import"./Avatar-iWPcWI3Y.js";import"./XPro-CUsrQo4D.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-BslyLoRG.js";import"./Created-CMvNHQls.js";import"./DisplayName-nUHy7Jcj.js";import"./History-BFyk_avK.js";import"./CommitBody-B6tqTpKR.js";import"./CommitDate-C6S4VMTL.js";import"./MainMenu-DP6mUco_.js";import"./MainMenuActions-DgotoUAN.js";import"./MainMenuSummary-e2hB-evl.js";import"./popup-JRlLBLgR.js";import"./OverlayAvatar-BYibJpjG.js";import"./MainMenuDetails-D7aCVAHo.js";import"./Project-BvrP4UEf.js";const O={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:`{ import{w as n,a as i}from"./chunk-NQQ3TO7D-D125W6ms.js";import{P as m}from"./Profile-Dujdjorh.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./each-HCog7gGM.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";import"./Avatar-KlglvhVa.js";import"./XPro-CzAu_TON.js";import"./globals-D0QH3NT1.js";import"./BlockOrReport-BslyLoRG.js";import"./Created-CMvNHQls.js";import"./DisplayName-nUHy7Jcj.js";import"./History-DDyrwdq-.js";import"./CommitBody-BtqSndsK.js";import"./CommitDate-CyTLdmfC.js";import"./MainMenu-Dec78D_B.js";import"./MainMenuActions-DDzBgsls.js";import"./MainMenuSummary-vNF38NFR.js";import"./popup-JRlLBLgR.js";import"./OverlayAvatar-CKq6hXWq.js";import"./MainMenuDetails-W4Mevj8A.js";import"./Project-Dw_8elnQ.js";const O={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: { args: {
data: { data: {
user: { user: {
@ -17,4 +17,4 @@ import{w as n,a as i}from"./chunk-NQQ3TO7D-D125W6ms.js";import{P as m}from"./Pro
} }
} }
}`,...(r=(o=t.parameters)==null?void 0:o.docs)==null?void 0:r.source}}};const q=["Plain"];export{t as Plain,q as __namedExportsOrder,O as default}; }`,...(r=(o=t.parameters)==null?void 0:o.docs)==null?void 0:r.source}}};const q=["Plain"];export{t as Plain,q as __namedExportsOrder,O as default};
//# sourceMappingURL=Profile.stories-BOmsIHYZ.js.map //# sourceMappingURL=Profile.stories-_GBJH6fV.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Profile.stories-BOmsIHYZ.js","sources":["../../stories/templates/Profile.stories.ts"],"sourcesContent":["/* Stories for Profile template.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { withActions } from '@storybook/addon-actions/decorator';\nimport { withLinks } from '@storybook/addon-links';\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Profile from '$lib/components/templates/Profile.svelte';\n\nconst meta = {\n\ttitle: 'Templates/Profile',\n\tcomponent: Profile,\n\ttags: ['autodocs'],\n\targs: {\n\t\tsb: 'Templates/ImportProject'\n\t},\n\targTypes: {\n\t\tonClick: { action: 'click' },\n\t\tdata: { controls: 'object' },\n\t\tsb: { control: 'radio', options: ['Templates/ImportProject'] }\n\t},\n\tdecorators: [withActions, withLinks]\n} satisfies Meta<Profile>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tuser: {\n\t\t\t\tavatar: '',\n\t\t\t\tcreated_at: new Date(),\n\t\t\t\tcreated_at_formatted: (function () {\n\t\t\t\t\tconst locale = 'en-US';\n\t\t\t\t\treturn new Intl.DateTimeFormat(locale).format(new Date());\n\t\t\t\t})(),\n\t\t\t\tcreated_with: 'Anvil',\n\t\t\t\tdisplay_name: 'Jane Doe',\n\t\t\t\tinstance: 'domain.example',\n\t\t\t\tpronoun: 'she/her',\n\t\t\t\tusername: 'jane_doe'\n\t\t\t}\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","Profile","tags","args","sb","argTypes","onClick","action","data","controls","control","options","decorators","withActions","withLinks","Plain","user","avatar","created_at","Date","created_at_formatted","locale","Intl","DateTimeFormat","format","created_with","display_name","instance","pronoun","username","parameters","docs","source","originalSource"],"mappings":"07BAkBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,KAAI,CACAC,GAAI,yBACT,EACCC,SAAQ,CACJC,QAAS,CAAEC,OAAQ,OAAI,EACvBC,KAAM,CAAEC,SAAU,QAAK,EACvBL,GAAI,CAAEM,QAAS,QAASC,QAAS,CAAC,yBAAsB,CAAA,CAC7D,EACCC,WAAY,CAACC,EAAaC,CAAO,CACrC,EAKaC,EAAe,CACxBZ,KAAI,CACAK,KAAC,CACCQ,KAAA,CACKC,OAAA,GACCC,eAAWC,KACXC,qBAAuB,UAAC,CACpB,MAAMC,EAAE,QACD,OAAA,IAAIC,KAAKC,eAAeF,CAAM,EAAEG,OAAI,IAAAL,IAAA,CAAA,EACtD,EACOM,aAAU,QACVC,aAAa,WACbC,SAAU,iBACVC,QAAO,UACPC,SAAQ,UACpB,CACD,CACD,CACF,YAAEd,EAAAe,WAAA,CAAA,GAAAf,EAAAe,WAAAC,KAAA,CAAA,IAAAhB,EAAAA,EAAAe,aAAAf,YAAAA,EAAAgB,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAlB,GAAAA,EAAAA,EAAAe,aAAAf,YAAAA,EAAAgB,OAAAhB,YAAAA,EAAAiB,MAAA,CAAA,CAAA"} {"version":3,"file":"Profile.stories-_GBJH6fV.js","sources":["../../stories/templates/Profile.stories.ts"],"sourcesContent":["/* Stories for Profile template.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { withActions } from '@storybook/addon-actions/decorator';\nimport { withLinks } from '@storybook/addon-links';\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Profile from '$lib/components/templates/Profile.svelte';\n\nconst meta = {\n\ttitle: 'Templates/Profile',\n\tcomponent: Profile,\n\ttags: ['autodocs'],\n\targs: {\n\t\tsb: 'Templates/ImportProject'\n\t},\n\targTypes: {\n\t\tonClick: { action: 'click' },\n\t\tdata: { controls: 'object' },\n\t\tsb: { control: 'radio', options: ['Templates/ImportProject'] }\n\t},\n\tdecorators: [withActions, withLinks]\n} satisfies Meta<Profile>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tuser: {\n\t\t\t\tavatar: '',\n\t\t\t\tcreated_at: new Date(),\n\t\t\t\tcreated_at_formatted: (function () {\n\t\t\t\t\tconst locale = 'en-US';\n\t\t\t\t\treturn new Intl.DateTimeFormat(locale).format(new Date());\n\t\t\t\t})(),\n\t\t\t\tcreated_with: 'Anvil',\n\t\t\t\tdisplay_name: 'Jane Doe',\n\t\t\t\tinstance: 'domain.example',\n\t\t\t\tpronoun: 'she/her',\n\t\t\t\tusername: 'jane_doe'\n\t\t\t}\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","Profile","tags","args","sb","argTypes","onClick","action","data","controls","control","options","decorators","withActions","withLinks","Plain","user","avatar","created_at","Date","created_at_formatted","locale","Intl","DateTimeFormat","format","created_with","display_name","instance","pronoun","username","parameters","docs","source","originalSource"],"mappings":"07BAkBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,KAAI,CACAC,GAAI,yBACT,EACCC,SAAQ,CACJC,QAAS,CAAEC,OAAQ,OAAI,EACvBC,KAAM,CAAEC,SAAU,QAAK,EACvBL,GAAI,CAAEM,QAAS,QAASC,QAAS,CAAC,yBAAsB,CAAA,CAC7D,EACCC,WAAY,CAACC,EAAaC,CAAO,CACrC,EAKaC,EAAe,CACxBZ,KAAI,CACAK,KAAC,CACCQ,KAAA,CACKC,OAAA,GACCC,eAAWC,KACXC,qBAAuB,UAAC,CACpB,MAAMC,EAAE,QACD,OAAA,IAAIC,KAAKC,eAAeF,CAAM,EAAEG,OAAI,IAAAL,IAAA,CAAA,EACtD,EACOM,aAAU,QACVC,aAAa,WACbC,SAAU,iBACVC,QAAO,UACPC,SAAQ,UACpB,CACD,CACD,CACF,YAAEd,EAAAe,WAAA,CAAA,GAAAf,EAAAe,WAAAC,KAAA,CAAA,IAAAhB,EAAAA,EAAAe,aAAAf,YAAAA,EAAAgB,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAlB,GAAAA,EAAAA,EAAAe,aAAAf,YAAAA,EAAAgB,OAAAhB,YAAAA,EAAAiB,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"Project-BvrP4UEf.js","sources":["../../src/lib/components/molecules/Project.svelte"],"sourcesContent":["<!--\nA single project on the profile.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _ } from 'svelte-i18n';\n\timport {\n\t\tEyeClosed16,\n\t\tPerson24,\n\t\tRepo24,\n\t\tRepoForked16,\n\t\tStar16,\n\t\tTriangleDown16\n\t} from 'svelte-octicons';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tbuttons: {\n\t\t\tfork: 'page.profile.projects.actions.fork',\n\t\t\tstar: 'page.profile.projects.actions.star',\n\t\t\twatch: 'page.profile.projects.actions.watch'\n\t\t}\n\t};\n\n\t/**\n\t * Collaborators to this project.\n\t */\n\texport let collaborators = [];\n\n\t/**\n\t * A software project.\n\t */\n\texport let project = {\n\t\tname: '',\n\t\tsummary: ''\n\t};\n</script>\n\n<div class=\"flex bg-white dark:bg-black border border-surface-100-800-token p-4\">\n\t<!-- Left -->\n\t<div class=\"flex flex-col flex-grow ps-10\">\n\t\t<!-- Name + Icon -->\n\t\t<div class=\"flex -ms-10\">\n\t\t\t<Repo24 fill=\"currentColor\" />\n\t\t\t{project.name}\n\t\t\t<!-- Members -->\n\t\t\t<ul class=\"ms-2 gap-4\">\n\t\t\t\t{#each collaborators as member}\n\t\t\t\t\t<li title={member.preferredUsername}>\n\t\t\t\t\t\t<div class=\"bg-surface-500-400-token text-white dark:text-black rounded-full\">\n\t\t\t\t\t\t\t<Person24 fill=\"currentColor\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</li>\n\t\t\t\t{/each}\n\t\t\t</ul>\n\t\t</div>\n\t\t<!-- Description -->\n\t\t<!-- Compensate padding with negative margin -->\n\t\t<div class=\"flex -ms-4\">\n\t\t\t{project.summary}\n\t\t</div>\n\t\t<!-- Tags -->\n\t\t<div class=\"flex\"></div>\n\t</div>\n\t<!-- Right -->\n\t<div class=\"flex flex-col\">\n\t\t<!-- Star Fork Watch -->\n\t\t<div class=\"flex gap-4\">\n\t\t\t<button type=\"button\" class=\"btn-icon border rounded-none\">\n\t\t\t\t<span class=\"sr-only\">{$_(i18n.buttons.fork)}</span>\n\t\t\t\t<RepoForked16 fill=\"currentColor\" />\n\t\t\t</button>\n\t\t\t<button type=\"button\" class=\"btn-icon border rounded-none\">\n\t\t\t\t<span class=\"sr-only\">{$_(i18n.buttons.star)}</span>\n\t\t\t\t<Star16 fill=\"currentColor\" />\n\t\t\t</button>\n\t\t\t<button type=\"button\" class=\"btn-icon border rounded-none\">\n\t\t\t\t<span class=\"sr-only\">{$_(i18n.buttons.watch)}</span>\n\t\t\t\t<EyeClosed16 fill=\"currentColor\" />\n\t\t\t\t<TriangleDown16 fill=\"currentColor\" />\n\t\t\t</button>\n\t\t</div>\n\t\t<!-- FIXME: Mark up as translatable once I figured out the\n\t\t timestamp needed here -->\n\t\t<div class=\"self-end\">Updated somewhen</div>\n\t</div>\n</div>\n"],"names":["t4","t5","div2","t6","div6","div4","button0","span0","t7_value","cov_a3ca1envj","s","ctx","buttons","fork","t7","t8","repoforked16","t9","button1","span1","t10_value","star","append_hydration","b","current","dirty","set_data","t10","collaborators","$$props"],"mappings":"+yyCA2DgBA,GAAAC,GAAAC,EAAAC,GAAAC,EAAAC,EAAAC,EAAAC,EAAAC,GAAAC,EAAAC,EAAAA,QAAAC,EAAA,CAAAA,EAAAA,EAAA,CAAAC,EAAAA,QAAAC,IAAA,MAGLC,GAAAC,GAAAC,EAAAC,GAAAC,EAAAC,EAAAC,GAAAX,EAAA,EAAAC,QAAAC,EAAA,GAAAA,EAAA,CAAAC,EAAAA,QAAAS,IAAA,EAAA,w6JAHKC,EAAOhB,EAAAC,CAAA,EAAAE,EAAAC,EAAAA,WAAlBY,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,aAGMA,GAAAA,IAAAA,EAAAJ,EAAAC,CAAA,EAAAV,IAAAC,ijCAHKD,EAAA,EAAAc,EAAA,EAAA,EAAA,CAAA,KAAA,CAAAC,IAAAf,EAAAc,EAAAA,WAAAE,EAAA,MAAAhB,EAAAc,EAAAA,EAAAf,EAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAAG,EAAA,GAAAA,EAAA,CAAAC,EAAAA,QAAAC,IAAA,EAAA,MAAAJ,EAAAc,EAAAA,WAAAd,IAAAC,EAAA,GAAA,IAAAgB,GAAAZ,GAAAN,CAAA,GAAAC,EAAA,EAAAc,EAAA,EAAA,EAAA,CAAA,IAAAd,EAAAC,EAAAA,SAGLD,IAAAc,EAAA,EAAA,EAAA,CAAA,KAAA,CAAAC,IAAAf,EAAAc,EAAAA,EAAAE,EAAAA,EAAAA,CAAAA,IAAAA,QAAAhB,EAAA,EAAAc,EAAA,EAAA,EAAA,CAAA,IAAAH,KAAAA,EAAAT,EAAA,CAAAA,EAAAA,EAAA,CAAA,EAAAC,QAAAS,IAAA,EAAAZ,MAAAA,IAAAc,EAAA,EAAA,EAAA,CAAA,IAAAd,EAAA,EAAAC,EAAAgB,GAAAA,IAAAA,GAAAC,GAAAP,CAAA,GAAAX,EAAA,EAAAc,WAAAd,EAAA,EAAAC,EAAA,GAAA,kvCA3CGkB,EAAAA,GAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,GAAAA,CAAAA,cAAAA,GAAAnB,IAAAc,EAAA,EAAA,EAAA,CAAA,IAAA,CAAA,EAAA,GAAAd,EAAA,EAAAC,EAAAmB,GAAAA,IAAAA"} {"version":3,"file":"Project-Dw_8elnQ.js","sources":["../../src/lib/components/molecules/Project.svelte"],"sourcesContent":["<!--\nA single project on the profile.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _ } from 'svelte-i18n';\n\timport {\n\t\tEyeClosed16,\n\t\tPerson24,\n\t\tRepo24,\n\t\tRepoForked16,\n\t\tStar16,\n\t\tTriangleDown16\n\t} from 'svelte-octicons';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tbuttons: {\n\t\t\tfork: 'page.profile.projects.actions.fork',\n\t\t\tstar: 'page.profile.projects.actions.star',\n\t\t\twatch: 'page.profile.projects.actions.watch'\n\t\t}\n\t};\n\n\t/**\n\t * Collaborators to this project.\n\t */\n\texport let collaborators = [];\n\n\t/**\n\t * A software project.\n\t */\n\texport let project = {\n\t\tname: '',\n\t\tsummary: ''\n\t};\n</script>\n\n<div class=\"flex bg-white dark:bg-black border border-surface-100-800-token p-4\">\n\t<!-- Left -->\n\t<div class=\"flex flex-col flex-grow ps-10\">\n\t\t<!-- Name + Icon -->\n\t\t<div class=\"flex -ms-10\">\n\t\t\t<Repo24 fill=\"currentColor\" />\n\t\t\t{project.name}\n\t\t\t<!-- Members -->\n\t\t\t<ul class=\"ms-2 gap-4\">\n\t\t\t\t{#each collaborators as member}\n\t\t\t\t\t<li title={member.preferredUsername}>\n\t\t\t\t\t\t<div class=\"bg-surface-500-400-token text-white dark:text-black rounded-full\">\n\t\t\t\t\t\t\t<Person24 fill=\"currentColor\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</li>\n\t\t\t\t{/each}\n\t\t\t</ul>\n\t\t</div>\n\t\t<!-- Description -->\n\t\t<!-- Compensate padding with negative margin -->\n\t\t<div class=\"flex -ms-4\">\n\t\t\t{project.summary}\n\t\t</div>\n\t\t<!-- Tags -->\n\t\t<div class=\"flex\"></div>\n\t</div>\n\t<!-- Right -->\n\t<div class=\"flex flex-col\">\n\t\t<!-- Star Fork Watch -->\n\t\t<div class=\"flex gap-4\">\n\t\t\t<button type=\"button\" class=\"btn-icon border rounded-none\">\n\t\t\t\t<span class=\"sr-only\">{$_(i18n.buttons.fork)}</span>\n\t\t\t\t<RepoForked16 fill=\"currentColor\" />\n\t\t\t</button>\n\t\t\t<button type=\"button\" class=\"btn-icon border rounded-none\">\n\t\t\t\t<span class=\"sr-only\">{$_(i18n.buttons.star)}</span>\n\t\t\t\t<Star16 fill=\"currentColor\" />\n\t\t\t</button>\n\t\t\t<button type=\"button\" class=\"btn-icon border rounded-none\">\n\t\t\t\t<span class=\"sr-only\">{$_(i18n.buttons.watch)}</span>\n\t\t\t\t<EyeClosed16 fill=\"currentColor\" />\n\t\t\t\t<TriangleDown16 fill=\"currentColor\" />\n\t\t\t</button>\n\t\t</div>\n\t\t<!-- FIXME: Mark up as translatable once I figured out the\n\t\t timestamp needed here -->\n\t\t<div class=\"self-end\">Updated somewhen</div>\n\t</div>\n</div>\n"],"names":["t4","t5","div2","t6","div6","div4","button0","span0","t7_value","cov_a3ca1envj","s","ctx","buttons","fork","t7","t8","repoforked16","t9","button1","span1","t10_value","star","append_hydration","b","current","dirty","set_data","t10","collaborators","$$props"],"mappings":"+yyCA2DgBA,GAAAC,GAAAC,EAAAC,GAAAC,EAAAC,EAAAC,EAAAC,EAAAC,GAAAC,EAAAC,EAAAA,QAAAC,EAAA,CAAAA,EAAAA,EAAA,CAAAC,EAAAA,QAAAC,IAAA,MAGLC,GAAAC,GAAAC,EAAAC,GAAAC,EAAAC,EAAAC,GAAAX,EAAA,EAAAC,QAAAC,EAAA,GAAAA,EAAA,CAAAC,EAAAA,QAAAS,IAAA,EAAA,w6JAHKC,EAAOhB,EAAAC,CAAA,EAAAE,EAAAC,EAAAA,WAAlBY,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,aAGMA,GAAAA,IAAAA,EAAAJ,EAAAC,CAAA,EAAAV,IAAAC,ijCAHKD,EAAA,EAAAc,EAAA,EAAA,EAAA,CAAA,KAAA,CAAAC,IAAAf,EAAAc,EAAAA,WAAAE,EAAA,MAAAhB,EAAAc,EAAAA,EAAAf,EAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAAG,EAAA,GAAAA,EAAA,CAAAC,EAAAA,QAAAC,IAAA,EAAA,MAAAJ,EAAAc,EAAAA,WAAAd,IAAAC,EAAA,GAAA,IAAAgB,GAAAZ,GAAAN,CAAA,GAAAC,EAAA,EAAAc,EAAA,EAAA,EAAA,CAAA,IAAAd,EAAAC,EAAAA,SAGLD,IAAAc,EAAA,EAAA,EAAA,CAAA,KAAA,CAAAC,IAAAf,EAAAc,EAAAA,EAAAE,EAAAA,EAAAA,CAAAA,IAAAA,QAAAhB,EAAA,EAAAc,EAAA,EAAA,EAAA,CAAA,IAAAH,KAAAA,EAAAT,EAAA,CAAAA,EAAAA,EAAA,CAAA,EAAAC,QAAAS,IAAA,EAAAZ,MAAAA,IAAAc,EAAA,EAAA,EAAA,CAAA,IAAAd,EAAA,EAAAC,EAAAgB,GAAAA,IAAAA,GAAAC,GAAAP,CAAA,GAAAX,EAAA,EAAAc,WAAAd,EAAA,EAAAC,EAAA,GAAA,kvCA3CGkB,EAAAA,GAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,GAAAA,CAAAA,cAAAA,GAAAnB,IAAAc,EAAA,EAAA,EAAA,CAAA,IAAA,CAAA,EAAA,GAAAd,EAAA,EAAAC,EAAAmB,GAAAA,IAAAA"}

View file

@ -1,4 +1,4 @@
import{P as a}from"./Project-BvrP4UEf.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./each-HCog7gGM.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";const f={title:"Molecules/Project",component:a,tags:["autodocs"]},r={args:{collaborators:[{preferredUsername:"Your favourite Project Manager"}],i18n:{buttons:{fork:"page.profile.projects.actions.fork",star:"page.profile.projects.actions.star",watch:"page.profile.projects.actions.watch"}},project:{name:"Story time",summary:"This is the space in which we can tell you about all the amazing things in the backburner!"}}};var e,t,o;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ import{P as a}from"./Project-Dw_8elnQ.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./each-HCog7gGM.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";const f={title:"Molecules/Project",component:a,tags:["autodocs"]},r={args:{collaborators:[{preferredUsername:"Your favourite Project Manager"}],i18n:{buttons:{fork:"page.profile.projects.actions.fork",star:"page.profile.projects.actions.star",watch:"page.profile.projects.actions.watch"}},project:{name:"Story time",summary:"This is the space in which we can tell you about all the amazing things in the backburner!"}}};var e,t,o;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: { args: {
collaborators: [{ collaborators: [{
preferredUsername: 'Your favourite Project Manager' preferredUsername: 'Your favourite Project Manager'
@ -16,4 +16,4 @@ import{P as a}from"./Project-BvrP4UEf.js";import"./index-CoCSl5nl.js";import"./l
} }
} }
}`,...(o=(t=r.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};const g=["Plain"];export{r as Plain,g as __namedExportsOrder,f as default}; }`,...(o=(t=r.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};const g=["Plain"];export{r as Plain,g as __namedExportsOrder,f as default};
//# sourceMappingURL=Project.stories-CBzlUCId.js.map //# sourceMappingURL=Project.stories-DoKO27DP.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Project.stories-CBzlUCId.js","sources":["../../stories/molecules/Project.stories.ts"],"sourcesContent":["/* Stories for Project molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Project from '$lib/components/molecules/Project.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/Project',\n\tcomponent: Project,\n\ttags: ['autodocs']\n} satisfies Meta<Project>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tcollaborators: [\n\t\t\t{\n\t\t\t\tpreferredUsername: 'Your favourite Project Manager'\n\t\t\t}\n\t\t],\n\t\ti18n: {\n\t\t\tbuttons: {\n\t\t\t\tfork: 'page.profile.projects.actions.fork',\n\t\t\t\tstar: 'page.profile.projects.actions.star',\n\t\t\t\twatch: 'page.profile.projects.actions.watch'\n\t\t\t}\n\t\t},\n\t\tproject: {\n\t\t\tname: 'Story time',\n\t\t\tsummary:\n\t\t\t\t'This is the space in which we can tell you about all the amazing things in the backburner!'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","Project","tags","Plain","args","collaborators","preferredUsername","i18n","buttons","fork","star","watch","project","name","summary","parameters","docs","source","originalSource"],"mappings":"+RAgBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,cACJ,CAAA,CACYC,kBAAmB,gCAAA,CAE/B,EACIC,KAAC,CACGC,QAAC,CACGC,KAAM,qCACNC,KAAM,qCACNC,MAAO,qCACnB,CACA,EACIC,QAAI,CACAC,KAAM,aACPC,QACK,4FACb,CACD,CACF,YAAEX,EAAAY,WAAA,CAAA,GAAAZ,EAAAY,WAAAC,KAAA,CAAA,IAAAb,EAAAA,EAAAY,aAAAZ,YAAAA,EAAAa,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAf,GAAAA,EAAAA,EAAAY,aAAAZ,YAAAA,EAAAa,OAAAb,YAAAA,EAAAc,MAAA,CAAA,CAAA"} {"version":3,"file":"Project.stories-DoKO27DP.js","sources":["../../stories/molecules/Project.stories.ts"],"sourcesContent":["/* Stories for Project molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Project from '$lib/components/molecules/Project.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/Project',\n\tcomponent: Project,\n\ttags: ['autodocs']\n} satisfies Meta<Project>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tcollaborators: [\n\t\t\t{\n\t\t\t\tpreferredUsername: 'Your favourite Project Manager'\n\t\t\t}\n\t\t],\n\t\ti18n: {\n\t\t\tbuttons: {\n\t\t\t\tfork: 'page.profile.projects.actions.fork',\n\t\t\t\tstar: 'page.profile.projects.actions.star',\n\t\t\t\twatch: 'page.profile.projects.actions.watch'\n\t\t\t}\n\t\t},\n\t\tproject: {\n\t\t\tname: 'Story time',\n\t\t\tsummary:\n\t\t\t\t'This is the space in which we can tell you about all the amazing things in the backburner!'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","Project","tags","Plain","args","collaborators","preferredUsername","i18n","buttons","fork","star","watch","project","name","summary","parameters","docs","source","originalSource"],"mappings":"+RAgBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,cACJ,CAAA,CACYC,kBAAmB,gCAAA,CAE/B,EACIC,KAAC,CACGC,QAAC,CACGC,KAAM,qCACNC,KAAM,qCACNC,MAAO,qCACnB,CACA,EACIC,QAAI,CACAC,KAAM,aACPC,QACK,4FACb,CACD,CACF,YAAEX,EAAAY,WAAA,CAAA,GAAAZ,EAAAY,WAAAC,KAAA,CAAA,IAAAb,EAAAA,EAAAY,aAAAZ,YAAAA,EAAAa,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAf,GAAAA,EAAAA,EAAAY,aAAAZ,YAAAA,EAAAa,OAAAb,YAAAA,EAAAc,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"Projects-LYRNinqw.js","sources":["../../src/lib/components/molecules/Projects.svelte"],"sourcesContent":["<!--\nFilter for more projects.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { Filter24 } from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tsubmit: ''\n\t};\n</script>\n\n<form>\n\t<button type=\"submit\" class=\"flex submit text-surface-400-500-token\">\n\t\t<Filter24 fill=\"currentColor\" class=\"ms-4 self-center\" />\n\t\t{$_(i18n.submit)}\n\t</button>\n</form>\n"],"names":["ctx","submit","cov_xpgwpi5ex","b","s","set_data","t1","t1_value"],"mappings":"wzQAeUA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAC,CAAA,EAAQC,MAAA,m3BAATD,EAAA,CAAA,EAAAA,EAAC,CAAA,EAAQC,MAAA,EAAAC,MAAAA,EAAA,EAAAC,EAAA,CAAA,EAAA,CAAA,IAAAD,EAAAE,EAAAA,EAAAC,EAAAA,IAAAA,EAAAC,EAAAC,CAAA,GAAAL,IAAAC,EAAA,CAAA,EAAA,CAAA"} {"version":3,"file":"Projects-3sJhRm3K.js","sources":["../../src/lib/components/molecules/Projects.svelte"],"sourcesContent":["<!--\nFilter for more projects.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { Filter24 } from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tsubmit: ''\n\t};\n</script>\n\n<form>\n\t<button type=\"submit\" class=\"flex submit text-surface-400-500-token\">\n\t\t<Filter24 fill=\"currentColor\" class=\"ms-4 self-center\" />\n\t\t{$_(i18n.submit)}\n\t</button>\n</form>\n"],"names":["ctx","submit","cov_xpgwpi5ex","b","s","set_data","t1","t1_value"],"mappings":"wzQAeUA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAC,CAAA,EAAQC,MAAA,m3BAATD,EAAA,CAAA,EAAAA,EAAC,CAAA,EAAQC,MAAA,EAAAC,MAAAA,EAAA,EAAAC,EAAA,CAAA,EAAA,CAAA,IAAAD,EAAAE,EAAAA,EAAAC,EAAAA,IAAAA,EAAAC,EAAAC,CAAA,GAAAL,IAAAC,EAAA,CAAA,EAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"Projects-C_WUiU61.js","sources":["../../src/lib/components/templates/Projects.svelte"],"sourcesContent":["<!--\nProjects template.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { AlertFill16, Info16, Repo24, Upload16 } from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\timport MoreFilters from '$lib/components/molecules/MoreFilters.svelte';\n\timport Pagination from '$lib/components/molecules/Pagination.svelte';\n\timport Projects from '$lib/components/molecules/Projects.svelte';\n\timport Search from '$lib/components/molecules/Search.svelte';\n\timport Starred from '$lib/components/molecules/Starred.svelte';\n\timport FileTable from '$lib/components/organisms/FileTable.svelte';\n\n\t/**\n\t * Translation keys.\n\t */\n\tconst i18n = {\n\t\tfileTable: {\n\t\t\theading: {\n\t\t\t\tlastUpdated: 'page.projects.table.heading.last_updated',\n\t\t\t\tname: 'page.projects.table.heading.name'\n\t\t\t},\n\t\t\ttable: {\n\t\t\t\tupdated: 'page.projects.file_table.updated'\n\t\t\t}\n\t\t},\n\t\tmoreFilters: {\n\t\t\tsubmit: 'page.projects.form.fields.more_filters.submit'\n\t\t},\n\t\tpagination: {\n\t\t\tnext: 'page.projects.nav.next',\n\t\t\tprevious: 'page.projects.nav.previous'\n\t\t},\n\t\tprojects: {\n\t\t\tsubmit: 'page.projects.form.fields.projects.submit'\n\t\t},\n\t\tsearch: {\n\t\t\tplaceholder: 'page.projects.form.fields.search.placeholder',\n\t\t\tsubmit: 'page.projects.form.fields.search.submit'\n\t\t},\n\t\tstarred: {\n\t\t\tsubmit: 'page.projects.form.fields.starred.submit'\n\t\t}\n\t};\n\n\t/**\n\t * Required context for populating the template.\n\t */\n\texport let data = {\n\t\tprojects: []\n\t};\n</script>\n\n<section class=\"w-full flex flex-col gap-8 bg-white dark:bg-black\">\n\t<div class=\"flex mx-auto w-full items-center justify-center\">\n\t\t<Search i18n={i18n.search} />\n\t\t<Projects i18n={i18n.projects} />\n\t\t<Starred i18n={i18n.starred} />\n\t\t<MoreFilters i18n={i18n.moreFilters} />\n\t</div>\n\n\t<FileTable i18n={i18n.fileTable} projects={data.projects} />\n\n\t<Pagination i18n={i18n.pagination} />\n</section>\n"],"names":["props","i18n","ctx","projects","filetable_changes","local","cov_vgfwj0b6y","current","transition_in","search","starred","morefilters","filetable","pagination","transition_out","detaching","detach","section","destroy_component","instance","$$self","$$props","$$invalidate","s","fileTable","heading","lastUpdated"],"mappings":"i9iBA0EmBA,MAAA,CAAAC,KAAAC,EAAA,CAAA,EAAAC,QAAK,4qDAvDhB,KAAAC,CAAA,CAAA,EAAA,EAAAC,EAAA,CAAA,GAAAC,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAC,EAAA,CAAAD,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAA,MAAA,MAAAA,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAC,EAAA,GAAA,SAAAJ,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAL,EAAA,GAAA,SAAAE,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAE,EAAA,GAAA,SAAAL,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAG,EAAA,GAAA,SAAAN,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAI,EAAA,GAAA,SAAAP,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAK,EAAA,GAAA,SAAAR,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAC,EAAA,EAAA,EAAA,EAAAF,EAAA,CAAAC,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAL,EAAA,GAAA,SAAAJ,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAX,EAAA,GAAA,SAAAE,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAJ,EAAA,GAAA,SAAAL,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAH,EAAA,GAAA,SAAAN,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAF,EAAA,GAAA,SAAAP,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAD,EAAA,GAAA,SAAAR,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAC,EAAA,EAAA,EAAA,EAAAQ,EAAA,CAAAT,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAS,GAAAT,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAU,EAAAC,CAAA,GAAAX,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,IAAAA,IAAA,EAAA,EAAA,IAAAY,EAAAT,CAAA,EAAAH,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAf,CAAA,EAAAG,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAR,CAAA,EAAAJ,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAP,CAAA,EAAAL,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAN,CAAA,EAAAN,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAL,CAAA,CAAA,CAAA,CAAA,CAAA,SAAAM,EAAAC,EAAAC,EAAAC,EAAA,CAAAhB,EAAA,EAAA,EAAA,CAAA,IAAA,MAAAL,GAAAK,EAAA,EAAAiB,EAAA,EAAA,IAAA,CACAC,UAAA,CACAC,QAAA,CACAC,YAAS,4VA4CDjB,OAAA"} {"version":3,"file":"Projects-DQql08IQ.js","sources":["../../src/lib/components/templates/Projects.svelte"],"sourcesContent":["<!--\nProjects template.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { AlertFill16, Info16, Repo24, Upload16 } from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\timport MoreFilters from '$lib/components/molecules/MoreFilters.svelte';\n\timport Pagination from '$lib/components/molecules/Pagination.svelte';\n\timport Projects from '$lib/components/molecules/Projects.svelte';\n\timport Search from '$lib/components/molecules/Search.svelte';\n\timport Starred from '$lib/components/molecules/Starred.svelte';\n\timport FileTable from '$lib/components/organisms/FileTable.svelte';\n\n\t/**\n\t * Translation keys.\n\t */\n\tconst i18n = {\n\t\tfileTable: {\n\t\t\theading: {\n\t\t\t\tlastUpdated: 'page.projects.table.heading.last_updated',\n\t\t\t\tname: 'page.projects.table.heading.name'\n\t\t\t},\n\t\t\ttable: {\n\t\t\t\tupdated: 'page.projects.file_table.updated'\n\t\t\t}\n\t\t},\n\t\tmoreFilters: {\n\t\t\tsubmit: 'page.projects.form.fields.more_filters.submit'\n\t\t},\n\t\tpagination: {\n\t\t\tnext: 'page.projects.nav.next',\n\t\t\tprevious: 'page.projects.nav.previous'\n\t\t},\n\t\tprojects: {\n\t\t\tsubmit: 'page.projects.form.fields.projects.submit'\n\t\t},\n\t\tsearch: {\n\t\t\tplaceholder: 'page.projects.form.fields.search.placeholder',\n\t\t\tsubmit: 'page.projects.form.fields.search.submit'\n\t\t},\n\t\tstarred: {\n\t\t\tsubmit: 'page.projects.form.fields.starred.submit'\n\t\t}\n\t};\n\n\t/**\n\t * Required context for populating the template.\n\t */\n\texport let data = {\n\t\tprojects: []\n\t};\n</script>\n\n<section class=\"w-full flex flex-col gap-8 bg-white dark:bg-black\">\n\t<div class=\"flex mx-auto w-full items-center justify-center\">\n\t\t<Search i18n={i18n.search} />\n\t\t<Projects i18n={i18n.projects} />\n\t\t<Starred i18n={i18n.starred} />\n\t\t<MoreFilters i18n={i18n.moreFilters} />\n\t</div>\n\n\t<FileTable i18n={i18n.fileTable} projects={data.projects} />\n\n\t<Pagination i18n={i18n.pagination} />\n</section>\n"],"names":["props","i18n","ctx","projects","filetable_changes","local","cov_vgfwj0b6y","current","transition_in","search","starred","morefilters","filetable","pagination","transition_out","detaching","detach","section","destroy_component","instance","$$self","$$props","$$invalidate","s","fileTable","heading","lastUpdated"],"mappings":"i9iBA0EmBA,MAAA,CAAAC,KAAAC,EAAA,CAAA,EAAAC,QAAK,4qDAvDhB,KAAAC,CAAA,CAAA,EAAA,EAAAC,EAAA,CAAA,GAAAC,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAC,EAAA,CAAAD,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAA,MAAA,MAAAA,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAC,EAAA,GAAA,SAAAJ,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAL,EAAA,GAAA,SAAAE,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAE,EAAA,GAAA,SAAAL,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAG,EAAA,GAAA,SAAAN,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAI,EAAA,GAAA,SAAAP,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAE,EAAAK,EAAA,GAAA,SAAAR,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAC,EAAA,EAAA,EAAA,EAAAF,EAAA,CAAAC,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAL,EAAA,GAAA,SAAAJ,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAX,EAAA,GAAA,SAAAE,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAJ,EAAA,GAAA,SAAAL,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAH,EAAA,GAAA,SAAAN,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAF,EAAA,GAAA,SAAAP,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAQ,EAAAD,EAAA,GAAA,SAAAR,CAAA,EAAAC,EAAA,EAAA,EAAA,EAAA,IAAAC,EAAA,EAAA,EAAA,EAAAQ,EAAA,CAAAT,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAS,GAAAT,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,EAAA,IAAAU,EAAAC,CAAA,GAAAX,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,IAAAA,IAAA,EAAA,EAAA,IAAAY,EAAAT,CAAA,EAAAH,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAf,CAAA,EAAAG,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAR,CAAA,EAAAJ,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAP,CAAA,EAAAL,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAN,CAAA,EAAAN,EAAA,EAAA,EAAA,EAAA,IAAAY,EAAAL,CAAA,CAAA,CAAA,CAAA,CAAA,SAAAM,EAAAC,EAAAC,EAAAC,EAAA,CAAAhB,EAAA,EAAA,EAAA,CAAA,IAAA,MAAAL,GAAAK,EAAA,EAAAiB,EAAA,EAAA,IAAA,CACAC,UAAA,CACAC,QAAA,CACAC,YAAS,4VA4CDjB,OAAA"}

View file

@ -1,4 +1,4 @@
import{P as g}from"./Projects-C_WUiU61.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./MoreFilters-CKEERaju.js";import"./Pagination-B4FA00uh.js";import"./Projects-LYRNinqw.js";import"./Search-PDmEdxD6.js";import"./Starred-M2Punkzo.js";import"./FileTable-CkEwostv.js";import"./each-HCog7gGM.js";const T={title:"Templates/Projects",component:g,tags:["autodocs"]},a={args:{data:{projects:[]}}},e={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}},t={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]},{name:"Project B",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}};var n,s,o;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{ import{P as g}from"./Projects-DQql08IQ.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./ZoomOut24-BmZ-1NGN.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./MoreFilters-91bMujpo.js";import"./Pagination-tx3XB2cB.js";import"./Projects-3sJhRm3K.js";import"./Search-B6-Tpd7v.js";import"./Starred-vHJHrmYz.js";import"./FileTable-DnNX-pSt.js";import"./each-HCog7gGM.js";const T={title:"Templates/Projects",component:g,tags:["autodocs"]},a={args:{data:{projects:[]}}},e={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}},t={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]},{name:"Project B",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}};var n,s,o;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{
args: { args: {
data: { data: {
projects: [] projects: []
@ -100,4 +100,4 @@ import{P as g}from"./Projects-C_WUiU61.js";import"./index-CoCSl5nl.js";import"./
} }
} }
}`,...(c=(l=t.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};const U=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,a as NoProjects,e as SingleProject,U as __namedExportsOrder,T as default}; }`,...(c=(l=t.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};const U=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,a as NoProjects,e as SingleProject,U as __namedExportsOrder,T as default};
//# sourceMappingURL=Projects.stories-CcU6Ozvv.js.map //# sourceMappingURL=Projects.stories-BlEuAhs_.js.map

Some files were not shown because too many files have changed in this diff Show more