This commit is contained in:
André Jaenisch 2024-08-12 15:09:11 +02:00
parent dd106117c6
commit 957cae7b79
No known key found for this signature in database
GPG key ID: 5A668E771F1ED854
282 changed files with 358 additions and 358 deletions

View file

@ -1,2 +1,2 @@
import{A as a}from"./ZoomOut24-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=AlertFill16.stories-uEMHsA9r.js.map //# sourceMappingURL=AlertFill16.stories-CdhXcmGp.js.map

View file

@ -1 +1 @@
{"version":3,"file":"AlertFill16.stories-uEMHsA9r.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-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"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"AnvilLogo-nLb1tfh1.js","sources":["../../src/lib/assets/anvil.png"],"sourcesContent":["export default \"__VITE_ASSET__C9jOxTIi__\""],"names":["logo"],"mappings":"6LAAA,MAAeA,EAAA,GAAA,IAAA,IAAA,qBAAA,YAAA,GAAA,EAAA"} {"version":3,"file":"AnvilLogo-D4KvgfCJ.js","sources":["../../src/lib/assets/anvil.png"],"sourcesContent":["export default \"__VITE_ASSET__C9jOxTIi__\""],"names":["logo"],"mappings":"6LAAA,MAAeA,EAAA,GAAA,IAAA,IAAA,qBAAA,YAAA,GAAA,EAAA"}

View file

@ -1,6 +1,6 @@
import{A as i}from"./AnvilLogo-nLb1tfh1.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";const f={title:"Atoms/AnvilLogo",component:i,tags:["autodocs"]},s={},r={args:{class:"w-full"}};var o,a,t;s.parameters={...s.parameters,docs:{...(o=s.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(t=(a=s.parameters)==null?void 0:a.docs)==null?void 0:t.source}}};var e,c,m;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ import{A as i}from"./AnvilLogo-D4KvgfCJ.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const f={title:"Atoms/AnvilLogo",component:i,tags:["autodocs"]},s={},r={args:{class:"w-full"}};var o,a,t;s.parameters={...s.parameters,docs:{...(o=s.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(t=(a=s.parameters)==null?void 0:a.docs)==null?void 0:t.source}}};var e,c,m;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: { args: {
class: 'w-full' class: 'w-full'
} }
}`,...(m=(c=r.parameters)==null?void 0:c.docs)==null?void 0:m.source}}};const A=["Plain","WithClass"];export{s as Plain,r as WithClass,A as __namedExportsOrder,f as default}; }`,...(m=(c=r.parameters)==null?void 0:c.docs)==null?void 0:m.source}}};const A=["Plain","WithClass"];export{s as Plain,r as WithClass,A as __namedExportsOrder,f as default};
//# sourceMappingURL=AnvilLogo.stories-D-v7sXyV.js.map //# sourceMappingURL=AnvilLogo.stories-C_mhfA0q.js.map

View file

@ -1 +1 @@
{"version":3,"file":"AnvilLogo.stories-D-v7sXyV.js","sources":["../../stories/atoms/AnvilLogo.stories.ts"],"sourcesContent":["/* Stories for AnvilLogo 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 AnvilLogo from '$lib/components/atoms/AnvilLogo.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/AnvilLogo',\n\tcomponent: AnvilLogo,\n\ttags: ['autodocs']\n} satisfies Meta<AnvilLogo>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n\nexport const WithClass: Story = {\n\targs: {\n\t\tclass: 'w-full'\n\t}\n};\n"],"names":["meta","title","component","AnvilLogo","tags","Plain","WithClass","args","class","parameters","docs","source","originalSource"],"mappings":"yMAgBA,MAAMA,EAAO,CACTC,MAAO,kBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,EAEhBC,EAAmB,CAC5BC,KAAI,CACAC,MAAO,QACb,CACF,YAAEH,EAAAI,WAAA,CAAA,GAAAJ,EAAAI,WAAAC,KAAA,CAAA,IAAAL,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAP,GAAAA,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,OAAAL,YAAAA,EAAAM,MAAA,CAAA,CAAA,YAAAL,EAAAG,WAAA,CAAA,GAAAH,EAAAG,WAAAC,KAAA,CAAA,IAAAJ,EAAAA,EAAAG,aAAAH,YAAAA,EAAAI,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAN,GAAAA,EAAAA,EAAAG,aAAAH,YAAAA,EAAAI,OAAAJ,YAAAA,EAAAK,MAAA,CAAA,CAAA"} {"version":3,"file":"AnvilLogo.stories-C_mhfA0q.js","sources":["../../stories/atoms/AnvilLogo.stories.ts"],"sourcesContent":["/* Stories for AnvilLogo 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 AnvilLogo from '$lib/components/atoms/AnvilLogo.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/AnvilLogo',\n\tcomponent: AnvilLogo,\n\ttags: ['autodocs']\n} satisfies Meta<AnvilLogo>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n\nexport const WithClass: Story = {\n\targs: {\n\t\tclass: 'w-full'\n\t}\n};\n"],"names":["meta","title","component","AnvilLogo","tags","Plain","WithClass","args","class","parameters","docs","source","originalSource"],"mappings":"yMAgBA,MAAMA,EAAO,CACTC,MAAO,kBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CAAC,EAEhBC,EAAmB,CAC5BC,KAAI,CACAC,MAAO,QACb,CACF,YAAEH,EAAAI,WAAA,CAAA,GAAAJ,EAAAI,WAAAC,KAAA,CAAA,IAAAL,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,KAAAC,OAAA,CAAAC,eAAA,KAAA,IAAAP,GAAAA,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,OAAAL,YAAAA,EAAAM,MAAA,CAAA,CAAA,YAAAL,EAAAG,WAAA,CAAA,GAAAH,EAAAG,WAAAC,KAAA,CAAA,IAAAJ,EAAAA,EAAAG,aAAAH,YAAAA,EAAAI,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAN,GAAAA,EAAAA,EAAAG,aAAAH,YAAAA,EAAAI,OAAAJ,YAAAA,EAAAK,MAAA,CAAA,CAAA"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"Avatar-CUHWuSMc.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-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"}

View file

@ -1,4 +1,4 @@
import{A as n}from"./Avatar-CUHWuSMc.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./XPro-DLv5pwJ7.js";import"./each-C4g42ehH.js";import"./index-C0Lr04gB.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-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:`{
args: { args: {
avatar: '', avatar: '',
displayName: 'Jane Doe' displayName: 'Jane Doe'
@ -9,4 +9,4 @@ import{A as n}from"./Avatar-CUHWuSMc.js";import"./index-CP70Tq58.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-Crc3Ot11.js.map //# sourceMappingURL=Avatar.stories-DU08sx6k.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Avatar.stories-Crc3Ot11.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-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"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"BlockOrReport-DfpRnQQX.js","sources":["../../src/lib/components/atoms/BlockOrReport.svelte"],"sourcesContent":["<!--\nBlockOrReport 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</script>\n\n{@html $_('page.profile.activities.block_or_report', {\n\tvalues: {\n\t\tblockElementOpen: '<button type=\"button\" class=\"underline\">',\n\t\tblockElementClose: '</button>',\n\t\treportElementOpen: '<button type=\"button\" class=\"underline\">',\n\t\treportElementClose: '</button>'\n\t}\n})}\n"],"names":["blockElementClose","reportElementOpen","reportElementClose"],"mappings":"+8OAiBOA,kBAAA,YACNC,kBAAM,2CACLC,mBAA4D,2dAFvDF,kBAAA,YACNC,kBAAM,2CACLC,mBAA4D"} {"version":3,"file":"BlockOrReport-BslyLoRG.js","sources":["../../src/lib/components/atoms/BlockOrReport.svelte"],"sourcesContent":["<!--\nBlockOrReport 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</script>\n\n{@html $_('page.profile.activities.block_or_report', {\n\tvalues: {\n\t\tblockElementOpen: '<button type=\"button\" class=\"underline\">',\n\t\tblockElementClose: '</button>',\n\t\treportElementOpen: '<button type=\"button\" class=\"underline\">',\n\t\treportElementClose: '</button>'\n\t}\n})}\n"],"names":["blockElementClose","reportElementOpen","reportElementClose"],"mappings":"+8OAiBOA,kBAAA,YACNC,kBAAM,2CACLC,mBAA4D,2dAFvDF,kBAAA,YACNC,kBAAM,2CACLC,mBAA4D"}

View file

@ -1,2 +1,2 @@
import{B as a}from"./BlockOrReport-DfpRnQQX.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";const d={title:"Atoms/BlockOrReport",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 l=["Plain"];export{o as Plain,l as __namedExportsOrder,d as default}; import{B as a}from"./BlockOrReport-BslyLoRG.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const d={title:"Atoms/BlockOrReport",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 l=["Plain"];export{o as Plain,l as __namedExportsOrder,d as default};
//# sourceMappingURL=BlockOrReport.stories-CQddrNiF.js.map //# sourceMappingURL=BlockOrReport.stories-l4u8Tx-H.js.map

View file

@ -1 +1 @@
{"version":3,"file":"BlockOrReport.stories-CQddrNiF.js","sources":["../../stories/atoms/BlockOrReport.stories.ts"],"sourcesContent":["/* Stories for BlockOrReport 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 BlockOrReport from '$lib/components/atoms/BlockOrReport.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/BlockOrReport',\n\tcomponent: BlockOrReport,\n\ttags: ['autodocs']\n} satisfies Meta<BlockOrReport>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","BlockOrReport","tags","Plain","parameters","docs","source","originalSource"],"mappings":"6MAgBA,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":"BlockOrReport.stories-l4u8Tx-H.js","sources":["../../stories/atoms/BlockOrReport.stories.ts"],"sourcesContent":["/* Stories for BlockOrReport 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 BlockOrReport from '$lib/components/atoms/BlockOrReport.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/BlockOrReport',\n\tcomponent: BlockOrReport,\n\ttags: ['autodocs']\n} satisfies Meta<BlockOrReport>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["meta","title","component","BlockOrReport","tags","Plain","parameters","docs","source","originalSource"],"mappings":"6MAgBA,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{C as a}from"./ZoomOut24-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=ChevronLeft24.stories-DC6I927C.js.map //# sourceMappingURL=ChevronLeft24.stories-XDC2Ptnh.js.map

View file

@ -1 +1 @@
{"version":3,"file":"ChevronLeft24.stories-DC6I927C.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-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"}

View file

@ -1,2 +1,2 @@
import{a}from"./ZoomOut24-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=ChevronRight24.stories-U1wYReHI.js.map //# sourceMappingURL=ChevronRight24.stories-gxQROWOq.js.map

View file

@ -1 +1 @@
{"version":3,"file":"ChevronRight24.stories-U1wYReHI.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-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"}

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-B72nZPJo.js";import{u as e}from"./index-CHCNFtF8.js";import{ae as s,af as t,ag as o}from"./index-pkY8q7is.js";import"./iframe-CU6Zso1W.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-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:[`
`,` `,`
`,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-C5QMXjKv.js.map //# sourceMappingURL=ColorPalette-B5MHlKbS.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

@ -0,0 +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"}

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
{"version":3,"file":"CommitBody-bvJPbPpq.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\">\n\t<!-- Detail text -->\n\t<div class=\"flex flex-col flex-1\">\n\t\t<span class=\"text-surface-500\">{commit.name}</span>\n\t\t<span class=\"text-surface-400\"\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 type=\"button\" class=\"btn-icon border border-surface-100 rounded bg-white self-start\">\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 rounded bg-white 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 type=\"button\" class=\"btn-icon border border-surface-100 rounded bg-white\">\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","target","div3","anchor","cov_1gn0to8ohr","s","div0","span1","div1"],"mappings":"09vBAsCKA,OAAA,CAAAC,aAAEC,EAAA,CAAA,EAAA,IAAAC,KAAKD,EAAc,CAAA,EAAAE,SAAA,60FAuBAC,EAAAC,EAAAC,CAAA,EAAAC,EAAAC,EAAAA,sFAtBZC,EAAAC,CAAA,EAAAH,EAAA,EAAAC,EAAA,EAAA,8CAeVH,EAAAM,CAAA,EAAAJ,EAAA,EAAAC,EAAA,GAAA,wkBAhBCT,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-bvJPbPpq.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-CRRKQWCt.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-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:`{
args: { args: {
commit: { commit: {
hash: 'abc123def456ghi789jkl0', hash: 'abc123def456ghi789jkl0',
@ -7,4 +7,4 @@ import{C as r}from"./CommitBody-bvJPbPpq.js";import"./index-CP70Tq58.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-Codest8s.js.map //# sourceMappingURL=CommitBody.stories-CJLr-nL0.js.map

View file

@ -1 +1 @@
{"version":3,"file":"CommitBody.stories-Codest8s.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-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"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"CommitDate-DhrW5QXO.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\">\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":"ixhBA2CmCA,EAAAC,CAAA,EAAAC,EAAA,EAAAC"} {"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"}

View file

@ -1,8 +1,8 @@
import{C as r}from"./CommitDate-DhrW5QXO.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-CRRKQWCt.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-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:`{
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-B-uKtPtI.js.map //# sourceMappingURL=CommitDate.stories-BMBFssXo.js.map

View file

@ -1 +1 @@
{"version":3,"file":"CommitDate.stories-B-uKtPtI.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-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"}

View file

@ -1,2 +1,2 @@
import{b as e}from"./ZoomOut24-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=Copy16.stories-f-KV0ZMM.js.map //# sourceMappingURL=Copy16.stories-CZNWJ2gB.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Copy16.stories-f-KV0ZMM.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-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"}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
{"version":3,"file":"Created-CMvNHQls.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}

View file

@ -1 +0,0 @@
{"version":3,"file":"Created-_AWArHoy.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}

View file

@ -1,7 +1,7 @@
import{C as d}from"./Created-_AWArHoy.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";const l={title:"Atoms/Created",component:d,tags:["autodocs"],argTypes:{created_at:{control:"date"},locale:{control:"radio",options:["en","de","he"]}}},e={args:{created_at:new Date,locale:"en"}},a={};var r,o,t;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{ import{C as d}from"./Created-CMvNHQls.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";const l={title:"Atoms/Created",component:d,tags:["autodocs"],argTypes:{created_at:{control:"date"},locale:{control:"radio",options:["en","de","he"]}}},e={args:{created_at:new Date,locale:"en"}},a={};var r,o,t;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{
args: { args: {
created_at: new Date(), created_at: new Date(),
locale: 'en' locale: 'en'
} }
}`,...(t=(o=e.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};var s,c,n;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(n=(c=a.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};const g=["Plain","Missing"];export{a as Missing,e as Plain,g as __namedExportsOrder,l as default}; }`,...(t=(o=e.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};var s,c,n;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(n=(c=a.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};const g=["Plain","Missing"];export{a as Missing,e as Plain,g as __namedExportsOrder,l as default};
//# sourceMappingURL=Created.stories-BZPQ4yGu.js.map //# sourceMappingURL=Created.stories-BhPAPnaK.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Created.stories-BZPQ4yGu.js","sources":["../../stories/atoms/Created.stories.ts"],"sourcesContent":["/* Stories for Created 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 Created from '$lib/components/atoms/Created.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/Created',\n\tcomponent: Created,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tcreated_at: { control: 'date' },\n\t\tlocale: {\n\t\t\tcontrol: 'radio',\n\t\t\toptions: ['en', 'de', 'he']\n\t\t}\n\t}\n} satisfies Meta<Created>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tcreated_at: new Date(),\n\t\tlocale: 'en'\n\t}\n};\n\nexport const Missing: Story = {};\n"],"names":["meta","title","component","Created","tags","argTypes","created_at","control","locale","options","Plain","args","Date","Missing","parameters","docs","source","originalSource"],"mappings":"sGAgBA,MAAMA,EAAO,CACTC,MAAO,gBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,WAAY,CAAEC,QAAS,MAAG,EAC1BC,OAAG,CACCD,QAAQ,QACRE,QAAS,CAAC,KAAM,KAAE,IAAA,CAC3B,CACD,CACF,EAKaC,EAAe,CACxBC,KAAI,CACAL,eAAgBM,KAChBJ,OAAM,IACZ,CACF,EAEaK,EAAiB,CAAC,YAAEH,EAAAI,WAAA,CAAA,GAAAJ,EAAAI,WAAAC,KAAA,CAAA,IAAAL,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAP,GAAAA,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,OAAAL,YAAAA,EAAAM,MAAA,CAAA,CAAA,YAAAH,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":"Created.stories-BhPAPnaK.js","sources":["../../stories/atoms/Created.stories.ts"],"sourcesContent":["/* Stories for Created 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 Created from '$lib/components/atoms/Created.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/Created',\n\tcomponent: Created,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tcreated_at: { control: 'date' },\n\t\tlocale: {\n\t\t\tcontrol: 'radio',\n\t\t\toptions: ['en', 'de', 'he']\n\t\t}\n\t}\n} satisfies Meta<Created>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tcreated_at: new Date(),\n\t\tlocale: 'en'\n\t}\n};\n\nexport const Missing: Story = {};\n"],"names":["meta","title","component","Created","tags","argTypes","created_at","control","locale","options","Plain","args","Date","Missing","parameters","docs","source","originalSource"],"mappings":"sGAgBA,MAAMA,EAAO,CACTC,MAAO,gBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,WAAY,CAAEC,QAAS,MAAG,EAC1BC,OAAG,CACCD,QAAQ,QACRE,QAAS,CAAC,KAAM,KAAE,IAAA,CAC3B,CACD,CACF,EAKaC,EAAe,CACxBC,KAAI,CACAL,eAAgBM,KAChBJ,OAAM,IACZ,CACF,EAEaK,EAAiB,CAAC,YAAEH,EAAAI,WAAA,CAAA,GAAAJ,EAAAI,WAAAC,KAAA,CAAA,IAAAL,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAP,GAAAA,EAAAA,EAAAI,aAAAJ,YAAAA,EAAAK,OAAAL,YAAAA,EAAAM,MAAA,CAAA,CAAA,YAAAH,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 +0,0 @@
{"version":3,"file":"DisplayName-De32hBd4.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
{"version":3,"file":"DisplayName-nUHy7Jcj.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}

View file

@ -1,4 +1,4 @@
import{D as p}from"./DisplayName-De32hBd4.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";const l={title:"Atoms/DisplayName",component:p,tags:["autodocs"]},e={args:{displayName:"Jane Doe",i18n:{heading:"page.profile.heading"},pronoun:"she/her"}},a={args:{displayName:"Jane Doe",i18n:{heading:"page.profile.heading"}}};var o,n,r;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ import{D as p}from"./DisplayName-nUHy7Jcj.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";const l={title:"Atoms/DisplayName",component:p,tags:["autodocs"]},e={args:{displayName:"Jane Doe",i18n:{heading:"page.profile.heading"},pronoun:"she/her"}},a={args:{displayName:"Jane Doe",i18n:{heading:"page.profile.heading"}}};var o,n,r;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: { args: {
displayName: 'Jane Doe', displayName: 'Jane Doe',
i18n: { i18n: {
@ -14,4 +14,4 @@ import{D as p}from"./DisplayName-De32hBd4.js";import"./index-CP70Tq58.js";import
} }
} }
}`,...(t=(i=a.parameters)==null?void 0:i.docs)==null?void 0:t.source}}};const D=["WithPronoun","WithoutPronoun"];export{e as WithPronoun,a as WithoutPronoun,D as __namedExportsOrder,l as default}; }`,...(t=(i=a.parameters)==null?void 0:i.docs)==null?void 0:t.source}}};const D=["WithPronoun","WithoutPronoun"];export{e as WithPronoun,a as WithoutPronoun,D as __namedExportsOrder,l as default};
//# sourceMappingURL=DisplayName.stories-DooryBPe.js.map //# sourceMappingURL=DisplayName.stories-DAa1rUhL.js.map

View file

@ -1 +1 @@
{"version":3,"file":"DisplayName.stories-DooryBPe.js","sources":["../../stories/atoms/DisplayName.stories.ts"],"sourcesContent":["/* Stories for DisplayName 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 DisplayName from '$lib/components/atoms/DisplayName.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/DisplayName',\n\tcomponent: DisplayName,\n\ttags: ['autodocs']\n} satisfies Meta<DisplayName>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const WithPronoun: Story = {\n\targs: {\n\t\tdisplayName: 'Jane Doe',\n\t\ti18n: {\n\t\t\theading: 'page.profile.heading'\n\t\t},\n\t\tpronoun: 'she/her'\n\t}\n};\n\nexport const WithoutPronoun: Story = {\n\targs: {\n\t\tdisplayName: 'Jane Doe',\n\t\ti18n: {\n\t\t\theading: 'page.profile.heading'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","DisplayName","tags","WithPronoun","args","displayName","i18n","heading","pronoun","WithoutPronoun","parameters","docs","source","originalSource"],"mappings":"2MAgBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAqB,CAC9BC,KAAI,CACAC,YAAa,WACbC,KAAC,CACGC,QAAS,sBACjB,EACIC,QAAS,SACf,CACF,EAEaC,EAAwB,CACjCL,KAAI,CACAC,YAAa,WACbC,KAAC,CACGC,QAAS,sBAClB,CACD,CACF,YAAEJ,EAAAO,WAAA,CAAA,GAAAP,EAAAO,WAAAC,KAAA,CAAA,IAAAR,EAAAA,EAAAO,aAAAP,YAAAA,EAAAQ,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAV,GAAAA,EAAAA,EAAAO,aAAAP,YAAAA,EAAAQ,OAAAR,YAAAA,EAAAS,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;AAAA;AAAA,GAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"DisplayName.stories-DAa1rUhL.js","sources":["../../stories/atoms/DisplayName.stories.ts"],"sourcesContent":["/* Stories for DisplayName 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 DisplayName from '$lib/components/atoms/DisplayName.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/DisplayName',\n\tcomponent: DisplayName,\n\ttags: ['autodocs']\n} satisfies Meta<DisplayName>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const WithPronoun: Story = {\n\targs: {\n\t\tdisplayName: 'Jane Doe',\n\t\ti18n: {\n\t\t\theading: 'page.profile.heading'\n\t\t},\n\t\tpronoun: 'she/her'\n\t}\n};\n\nexport const WithoutPronoun: Story = {\n\targs: {\n\t\tdisplayName: 'Jane Doe',\n\t\ti18n: {\n\t\t\theading: 'page.profile.heading'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","DisplayName","tags","WithPronoun","args","displayName","i18n","heading","pronoun","WithoutPronoun","parameters","docs","source","originalSource"],"mappings":"2MAgBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAqB,CAC9BC,KAAI,CACAC,YAAa,WACbC,KAAC,CACGC,QAAS,sBACjB,EACIC,QAAS,SACf,CACF,EAEaC,EAAwB,CACjCL,KAAI,CACAC,YAAa,WACbC,KAAC,CACGC,QAAS,sBAClB,CACD,CACF,YAAEJ,EAAAO,WAAA,CAAA,GAAAP,EAAAO,WAAAC,KAAA,CAAA,IAAAR,EAAAA,EAAAO,aAAAP,YAAAA,EAAAQ,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAV,GAAAA,EAAAA,EAAAO,aAAAP,YAAAA,EAAAQ,OAAAR,YAAAA,EAAAS,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;AAAA;AAAA,GAAA,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-fVFQcEvD.js","./index-CHCNFtF8.js","./index-pkY8q7is.js","./iframe-CU6Zso1W.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-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]);
import{_ as h}from"./iframe-CU6Zso1W.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-pkY8q7is.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-fVFQcEvD.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-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};
//# sourceMappingURL=DocsRenderer-PKQXORMH-capr944Y.js.map //# sourceMappingURL=DocsRenderer-PKQXORMH-c8cvESgm.js.map

View file

@ -1,2 +1,2 @@
import{i as t}from"./ZoomOut24-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=EyeClosed16.stories-Crylu0Cn.js.map //# sourceMappingURL=EyeClosed16.stories-CR7MXH29.js.map

View file

@ -1 +1 @@
{"version":3,"file":"EyeClosed16.stories-Crylu0Cn.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-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"}

View file

@ -1,2 +1,2 @@
import{F as a}from"./ZoomOut24-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=FileDirectory16.stories-OPWrmww5.js.map //# sourceMappingURL=FileDirectory16.stories-gNpjfThT.js.map

View file

@ -1 +1 @@
{"version":3,"file":"FileDirectory16.stories-OPWrmww5.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-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"}

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
{"version":3,"file":"FileTable-B8nDvUIs.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 h-8\">\n\t\t\t<th class=\"flex text-surface-400 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 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 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\">\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 type=\"submit\" class=\"bg-white text-surface-200 rounded border px-4 py-2\">\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 type=\"submit\" class=\"bg-white text-surface-200 rounded border px-4 py-2\">\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 type=\"submit\" class=\"bg-white text-surface-200 rounded border px-4 py-2 flex\">\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\">\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":["values","append_hydration","div4","button1","cov_97ddjplgj","s","button2","div6","div5","projects","b","$$props"],"mappings":"w15DAiEmBA,OAAA,27JAAAC,EADOC,EAAAC,CAAA,EAAAC,EAAA,EAAAC,EAAA,GAAA,oDAC2BH,EAAAI,CAAA,EAAAF,EAAA,EAAAC,EAAA,GAAA,oGAAdE,EAAAC,CAAA,EAAAJ,EAAA,EAAAC,EAAA,GAAA,gwCAApBL,CAAAA,+hJA5CMS,SAAAA,GAAAL,EAAA,EAAAM,iBAAAN,EAAA,EAAAC,EAAAM,GAAAA,IAAAA,GAAAP,OAAAA,EAAA,EAAAC"}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +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"}

View file

@ -1,4 +1,4 @@
import{w as d,a as g}from"./chunk-NQQ3TO7D-D125W6ms.js";import{F as u}from"./FileTable-B8nDvUIs.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./each-C4g42ehH.js";import"./ZoomOut24-CRRKQWCt.js";import"./spread-CgU5AtxT.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.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-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:`{
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-BUJcT0a2.js.map //# sourceMappingURL=FileTable.stories-Cp8RibAX.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-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=Filter24.stories-Cwny18Wd.js.map //# sourceMappingURL=Filter24.stories-SiB3lFnT.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Filter24.stories-Cwny18Wd.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-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"}

View file

@ -1,2 +1,2 @@
import{G as e}from"./ZoomOut24-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=GitCommit24.stories-BuDY9scJ.js.map //# sourceMappingURL=GitCommit24.stories-0l6F07O2.js.map

View file

@ -1 +1 @@
{"version":3,"file":"GitCommit24.stories-BuDY9scJ.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-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"}

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

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{I as a}from"./ImportProject-DeWDBk1o.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./ZoomOut24-CRRKQWCt.js";import"./spread-CgU5AtxT.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.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-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};
//# sourceMappingURL=ImportProject.stories-DISo4i2x.js.map //# sourceMappingURL=ImportProject.stories-CUr4itBw.js.map

View file

@ -1 +1 @@
{"version":3,"file":"ImportProject.stories-DISo4i2x.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-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"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"ImportProject.stories-DgC1pRix.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-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"}

View file

@ -1,2 +1,2 @@
import{k as e}from"./ZoomOut24-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=Info16.stories-UaFufoXt.js.map //# sourceMappingURL=Info16.stories-CMG7_LLK.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Info16.stories-UaFufoXt.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-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"}

View file

@ -1,2 +1,2 @@
import{K as a}from"./ZoomOut24-CRRKQWCt.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.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-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};
//# sourceMappingURL=Key24.stories-DZVkcMJ_.js.map //# sourceMappingURL=Key24.stories-OM8EE9gb.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Key24.stories-DZVkcMJ_.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-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"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"file":"Login-_s2_tivS.js","sources":["../../src/lib/components/templates/Login.svelte"],"sourcesContent":["<!--\nLogin 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 { _ } from 'svelte-i18n';\n\n\timport LoginForm from '../organisms/LoginForm.svelte';\n\n\t/**\n\t * PageData provided by SvelteKit.\n\t */\n\texport let data = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Form handling by SvelteKit\n\t */\n\texport let form = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Translation keys to enable reuse\n\t */\n\tconst i18n = {\n\t\tfields: {\n\t\t\taccount: {\n\t\t\t\tlabel: 'page.login.form.fields.account.label'\n\t\t\t},\n\t\t\tpassphrase: {\n\t\t\t\tlabel: 'page.login.form.fields.passphrase.label',\n\t\t\t\tplaceholder: 'page.login.form.fields.passphrase.placeholder'\n\t\t\t},\n\t\t\tserver: {\n\t\t\t\tlabel: 'page.login.form.fields.server.label'\n\t\t\t}\n\t\t},\n\t\treset: 'page.login.form.reset',\n\t\tsubmit: 'page.login.form.submit',\n\t\tvalidation: {\n\t\t\tincorrect: 'page.login.form.validation.incorrect',\n\t\t\tmissing: 'page.login.form.validation.missing'\n\t\t}\n\t};\n\n\t/**\n\t * Allow for linking stories in Storybook.\n\t */\n\texport let sb = '';\n</script>\n\n<div class=\"w-full max-w-md h-full mx-auto flex justify-center items-center py-10\">\n\t<div class=\"space-y-10\">\n\t\t<h1 class=\"h1 font-bold\">{$_('page.login.heading')}</h1>\n\t\t<p>{$_('page.login.intro')}</p>\n\t\t<LoginForm {data} {form} {i18n} {sb} />\n\t</div>\n</div>\n"],"names":["form","cov_1euqxuzx57","b","label"],"mappings":"22lBAgBQ,CAAAA,KAAAA,GAASC,EAAAC,EAAAA,iFAiDXC,MAAA"} {"version":3,"file":"Login-D8Fzb9OL.js","sources":["../../src/lib/components/templates/Login.svelte"],"sourcesContent":["<!--\nLogin 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 { _ } from 'svelte-i18n';\n\n\timport LoginForm from '../organisms/LoginForm.svelte';\n\n\t/**\n\t * PageData provided by SvelteKit.\n\t */\n\texport let data = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Form handling by SvelteKit\n\t */\n\texport let form = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Translation keys to enable reuse\n\t */\n\tconst i18n = {\n\t\tfields: {\n\t\t\taccount: {\n\t\t\t\tlabel: 'page.login.form.fields.account.label'\n\t\t\t},\n\t\t\tpassphrase: {\n\t\t\t\tlabel: 'page.login.form.fields.passphrase.label',\n\t\t\t\tplaceholder: 'page.login.form.fields.passphrase.placeholder'\n\t\t\t},\n\t\t\tserver: {\n\t\t\t\tlabel: 'page.login.form.fields.server.label'\n\t\t\t}\n\t\t},\n\t\treset: 'page.login.form.reset',\n\t\tsubmit: 'page.login.form.submit',\n\t\tvalidation: {\n\t\t\tincorrect: 'page.login.form.validation.incorrect',\n\t\t\tmissing: 'page.login.form.validation.missing'\n\t\t}\n\t};\n\n\t/**\n\t * Allow for linking stories in Storybook.\n\t */\n\texport let sb = '';\n</script>\n\n<div class=\"w-full max-w-md h-full mx-auto flex justify-center items-center py-10\">\n\t<div class=\"space-y-10\">\n\t\t<h1 class=\"h1 font-bold\">{$_('page.login.heading')}</h1>\n\t\t<p>{$_('page.login.intro')}</p>\n\t\t<LoginForm {data} {form} {i18n} {sb} />\n\t</div>\n</div>\n"],"names":["form","cov_1euqxuzx57","b","label"],"mappings":"22lBAgBQ,CAAAA,KAAAA,GAASC,EAAAC,EAAAA,iFAiDXC,MAAA"}

View file

@ -1,4 +1,4 @@
import{w as l,a as u}from"./chunk-NQQ3TO7D-D125W6ms.js";import{L as g}from"./Login-_s2_tivS.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./LoginForm-DtR3F2ZT.js";import"./each-C4g42ehH.js";const D={title:"Templates/Login",component:g,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},form:{controls:"object"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[l,u]},r={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},a={args:{data:{servers:{}},form:{account:"",incorrect:!1,missing:!0}}},e={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var s,o,n;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{ import{w as l,a as u}from"./chunk-NQQ3TO7D-D125W6ms.js";import{L as g}from"./Login-D8Fzb9OL.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./LoginForm-BA-b-5fc.js";import"./each-HCog7gGM.js";const D={title:"Templates/Login",component:g,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},form:{controls:"object"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[l,u]},r={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},a={args:{data:{servers:{}},form:{account:"",incorrect:!1,missing:!0}}},e={args:{data:{servers:{}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var s,o,n;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: { args: {
data: { data: {
servers: {} servers: {}
@ -32,4 +32,4 @@ import{w as l,a as u}from"./chunk-NQQ3TO7D-D125W6ms.js";import{L as g}from"./Log
} }
} }
}`,...(d=(p=e.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};const F=["Plain","MissingInput","InvalidFormData"];export{e as InvalidFormData,a as MissingInput,r as Plain,F as __namedExportsOrder,D as default}; }`,...(d=(p=e.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};const F=["Plain","MissingInput","InvalidFormData"];export{e as InvalidFormData,a as MissingInput,r as Plain,F as __namedExportsOrder,D as default};
//# sourceMappingURL=Login.stories-C30QbIlm.js.map //# sourceMappingURL=Login.stories-CvSoMZN9.js.map

View file

@ -1 +1 @@
{"version":3,"file":"Login.stories-C30QbIlm.js","sources":["../../stories/templates/Login.stories.ts"],"sourcesContent":["/* Stories for Login 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 Login from '$lib/components/templates/Login.svelte';\n\nconst meta = {\n\ttitle: 'Templates/Login',\n\tcomponent: Login,\n\ttags: ['autodocs'],\n\targs: {\n\t\tsb: 'Templates/Profile'\n\t},\n\targTypes: {\n\t\tonSubmit: { action: 'submit' },\n\t\tform: { controls: 'object' },\n\t\tsb: { control: 'radio', options: ['Templates/Profile'] }\n\t},\n\tdecorators: [withActions, withLinks]\n} satisfies Meta<Login>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: 'jane.doe@domain.example',\n\t\t\tincorrect: false,\n\t\t\tmissing: false\n\t\t}\n\t}\n};\n\nexport const MissingInput: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: '',\n\t\t\tincorrect: false,\n\t\t\tmissing: true\n\t\t}\n\t}\n};\n\nexport const InvalidFormData: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: 'jane.doe@domain.example',\n\t\t\tincorrect: true,\n\t\t\tmissing: false\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","Login","tags","args","sb","argTypes","onSubmit","action","form","controls","control","options","decorators","withActions","withLinks","Plain","data","servers","account","incorrect","missing","MissingInput","InvalidFormData","parameters","docs","source","originalSource"],"mappings":"kZAkBA,MAAMA,EAAO,CACTC,MAAO,kBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,KAAI,CACAC,GAAI,mBACT,EACCC,SAAQ,CACJC,SAAU,CAAEC,OAAQ,QAAK,EACzBC,KAAM,CAAEC,SAAU,QAAK,EACvBL,GAAI,CAAEM,QAAS,QAASC,QAAS,CAAC,mBAAgB,CAAA,CACvD,EACCC,WAAY,CAACC,EAAaC,CAAO,CACrC,EAKaC,EAAe,CACxBZ,KAAI,CACAa,KAAC,CACGC,QAAE,CAAA,CACV,EACIT,KAAC,CACGU,QAAS,0BACTC,UAAQ,GACRC,QAAK,EACd,CACD,CACF,EAEaC,EAAsB,CAC/BlB,KAAI,CACAa,KAAC,CACGC,QAAE,CAAA,CACV,EACIT,KAAC,CACGU,QAAG,GACHC,UAAQ,GACRC,QAAI,EACb,CACD,CACF,EAEaE,EAAyB,CAClCnB,KAAI,CACAa,KAAC,CACGC,QAAE,CAAA,CACV,EACIT,KAAC,CACGU,QAAS,0BACTC,UAAO,GACPC,QAAK,EACd,CACD,CACF,YAAEL,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;AAAA;AAAA;AAAA,GAAA,IAAAX,GAAAA,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,OAAAT,YAAAA,EAAAU,MAAA,CAAA,CAAA,YAAAJ,EAAAE,WAAA,CAAA,GAAAF,EAAAE,WAAAC,KAAA,CAAA,IAAAH,EAAAA,EAAAE,aAAAF,YAAAA,EAAAG,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAL,GAAAA,EAAAA,EAAAE,aAAAF,YAAAA,EAAAG,OAAAH,YAAAA,EAAAI,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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"Login.stories-CvSoMZN9.js","sources":["../../stories/templates/Login.stories.ts"],"sourcesContent":["/* Stories for Login 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 Login from '$lib/components/templates/Login.svelte';\n\nconst meta = {\n\ttitle: 'Templates/Login',\n\tcomponent: Login,\n\ttags: ['autodocs'],\n\targs: {\n\t\tsb: 'Templates/Profile'\n\t},\n\targTypes: {\n\t\tonSubmit: { action: 'submit' },\n\t\tform: { controls: 'object' },\n\t\tsb: { control: 'radio', options: ['Templates/Profile'] }\n\t},\n\tdecorators: [withActions, withLinks]\n} satisfies Meta<Login>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: 'jane.doe@domain.example',\n\t\t\tincorrect: false,\n\t\t\tmissing: false\n\t\t}\n\t}\n};\n\nexport const MissingInput: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: '',\n\t\t\tincorrect: false,\n\t\t\tmissing: true\n\t\t}\n\t}\n};\n\nexport const InvalidFormData: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: 'jane.doe@domain.example',\n\t\t\tincorrect: true,\n\t\t\tmissing: false\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","Login","tags","args","sb","argTypes","onSubmit","action","form","controls","control","options","decorators","withActions","withLinks","Plain","data","servers","account","incorrect","missing","MissingInput","InvalidFormData","parameters","docs","source","originalSource"],"mappings":"kZAkBA,MAAMA,EAAO,CACTC,MAAO,kBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,KAAI,CACAC,GAAI,mBACT,EACCC,SAAQ,CACJC,SAAU,CAAEC,OAAQ,QAAK,EACzBC,KAAM,CAAEC,SAAU,QAAK,EACvBL,GAAI,CAAEM,QAAS,QAASC,QAAS,CAAC,mBAAgB,CAAA,CACvD,EACCC,WAAY,CAACC,EAAaC,CAAO,CACrC,EAKaC,EAAe,CACxBZ,KAAI,CACAa,KAAC,CACGC,QAAE,CAAA,CACV,EACIT,KAAC,CACGU,QAAS,0BACTC,UAAQ,GACRC,QAAK,EACd,CACD,CACF,EAEaC,EAAsB,CAC/BlB,KAAI,CACAa,KAAC,CACGC,QAAE,CAAA,CACV,EACIT,KAAC,CACGU,QAAG,GACHC,UAAQ,GACRC,QAAI,EACb,CACD,CACF,EAEaE,EAAyB,CAClCnB,KAAI,CACAa,KAAC,CACGC,QAAE,CAAA,CACV,EACIT,KAAC,CACGU,QAAS,0BACTC,UAAO,GACPC,QAAK,EACd,CACD,CACF,YAAEL,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;AAAA;AAAA;AAAA,GAAA,IAAAX,GAAAA,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,OAAAT,YAAAA,EAAAU,MAAA,CAAA,CAAA,YAAAJ,EAAAE,WAAA,CAAA,GAAAF,EAAAE,WAAAC,KAAA,CAAA,IAAAH,EAAAA,EAAAE,aAAAF,YAAAA,EAAAG,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAL,GAAAA,EAAAA,EAAAE,aAAAF,YAAAA,EAAAG,OAAAH,YAAAA,EAAAI,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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,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":"Login.stories-BDLWlpTw.js","sources":["../../src/lib/components/pages/Login.svelte","../../stories/pages/Login.stories.ts"],"sourcesContent":["<!--\nLogin 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 LoginTemplate from '../templates/Login.svelte';\n\n\t/**\n\t * PageData provided by SvelteKit.\n\t */\n\texport let data = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Form handling by SvelteKit\n\t */\n\texport let form = null;\n</script>\n\n<LoginTemplate {data} {form} />\n","/* Stories for Login 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 Login from '$lib/components/pages/Login.svelte';\n\nconst meta = {\n\ttitle: 'Pages/Login',\n\tcomponent: Login,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tform: { controls: 'object' }\n\t}\n} satisfies Meta<Login>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: 'jane.doe@domain.example',\n\t\t\tincorrect: false,\n\t\t\tmissing: false\n\t\t}\n\t}\n};\n\nexport const MissingInput: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: '',\n\t\t\tincorrect: false,\n\t\t\tmissing: true\n\t\t}\n\t}\n};\n\nexport const InvalidFormData: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: 'jane.doe@domain.example',\n\t\t\tincorrect: true,\n\t\t\tmissing: false\n\t\t}\n\t}\n};\n"],"names":["cov_du07k6e0z","actualCoverage","meta","title","component","Login","tags","argTypes","form","controls","Plain","args","data","servers","account","incorrect","missing","MissingInput","InvalidFormData","parameters","docs","source","originalSource"],"mappings":"mtMAcQ,OAAAA,EAAA,UAAA,CAAA,OAAAC,CAAA,EAAAA,CAAA,CAAAD,EAAA,goDCER,MAAME,EAAO,CACTC,MAAO,cACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAM,CAAEC,SAAU,QAAI,CAC5B,CACF,EAKaC,EAAe,CACxBC,KAAI,CACAC,KAAC,CACGC,QAAE,CAAA,CACV,EACIL,KAAC,CACGM,QAAS,0BACTC,UAAQ,GACRC,QAAK,EACd,CACD,CACF,EAEaC,EAAsB,CAC/BN,KAAI,CACAC,KAAC,CACGC,QAAE,CAAA,CACV,EACIL,KAAC,CACGM,QAAG,GACHC,UAAQ,GACRC,QAAI,EACb,CACD,CACF,EAEaE,EAAyB,CAClCP,KAAI,CACAC,KAAC,CACGC,QAAE,CAAA,CACV,EACIL,KAAC,CACGM,QAAS,0BACTC,UAAO,GACPC,QAAK,EACd,CACD,CACF,YAAEN,EAAAS,WAAA,CAAA,GAAAT,EAAAS,WAAAC,KAAA,CAAA,IAAAV,EAAAA,EAAAS,aAAAT,YAAAA,EAAAU,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAZ,GAAAA,EAAAA,EAAAS,aAAAT,YAAAA,EAAAU,OAAAV,YAAAA,EAAAW,MAAA,CAAA,CAAA,YAAAJ,EAAAE,WAAA,CAAA,GAAAF,EAAAE,WAAAC,KAAA,CAAA,IAAAH,EAAAA,EAAAE,aAAAF,YAAAA,EAAAG,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAL,GAAAA,EAAAA,EAAAE,aAAAF,YAAAA,EAAAG,OAAAH,YAAAA,EAAAI,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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"} {"version":3,"file":"Login.stories-DaWvTt8p.js","sources":["../../src/lib/components/pages/Login.svelte","../../stories/pages/Login.stories.ts"],"sourcesContent":["<!--\nLogin 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 LoginTemplate from '../templates/Login.svelte';\n\n\t/**\n\t * PageData provided by SvelteKit.\n\t */\n\texport let data = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Form handling by SvelteKit\n\t */\n\texport let form = null;\n</script>\n\n<LoginTemplate {data} {form} />\n","/* Stories for Login 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 Login from '$lib/components/pages/Login.svelte';\n\nconst meta = {\n\ttitle: 'Pages/Login',\n\tcomponent: Login,\n\ttags: ['autodocs'],\n\targTypes: {\n\t\tform: { controls: 'object' }\n\t}\n} satisfies Meta<Login>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: 'jane.doe@domain.example',\n\t\t\tincorrect: false,\n\t\t\tmissing: false\n\t\t}\n\t}\n};\n\nexport const MissingInput: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: '',\n\t\t\tincorrect: false,\n\t\t\tmissing: true\n\t\t}\n\t}\n};\n\nexport const InvalidFormData: Story = {\n\targs: {\n\t\tdata: {\n\t\t\tservers: {}\n\t\t},\n\t\tform: {\n\t\t\taccount: 'jane.doe@domain.example',\n\t\t\tincorrect: true,\n\t\t\tmissing: false\n\t\t}\n\t}\n};\n"],"names":["cov_du07k6e0z","actualCoverage","meta","title","component","Login","tags","argTypes","form","controls","Plain","args","data","servers","account","incorrect","missing","MissingInput","InvalidFormData","parameters","docs","source","originalSource"],"mappings":"mtMAcQ,OAAAA,EAAA,UAAA,CAAA,OAAAC,CAAA,EAAAA,CAAA,CAAAD,EAAA,goDCER,MAAME,EAAO,CACTC,MAAO,cACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,SAAQ,CACJC,KAAM,CAAEC,SAAU,QAAI,CAC5B,CACF,EAKaC,EAAe,CACxBC,KAAI,CACAC,KAAC,CACGC,QAAE,CAAA,CACV,EACIL,KAAC,CACGM,QAAS,0BACTC,UAAQ,GACRC,QAAK,EACd,CACD,CACF,EAEaC,EAAsB,CAC/BN,KAAI,CACAC,KAAC,CACGC,QAAE,CAAA,CACV,EACIL,KAAC,CACGM,QAAG,GACHC,UAAQ,GACRC,QAAI,EACb,CACD,CACF,EAEaE,EAAyB,CAClCP,KAAI,CACAC,KAAC,CACGC,QAAE,CAAA,CACV,EACIL,KAAC,CACGM,QAAS,0BACTC,UAAO,GACPC,QAAK,EACd,CACD,CACF,YAAEN,EAAAS,WAAA,CAAA,GAAAT,EAAAS,WAAAC,KAAA,CAAA,IAAAV,EAAAA,EAAAS,aAAAT,YAAAA,EAAAU,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAZ,GAAAA,EAAAA,EAAAS,aAAAT,YAAAA,EAAAU,OAAAV,YAAAA,EAAAW,MAAA,CAAA,CAAA,YAAAJ,EAAAE,WAAA,CAAA,GAAAF,EAAAE,WAAAC,KAAA,CAAA,IAAAH,EAAAA,EAAAE,aAAAF,YAAAA,EAAAG,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAL,GAAAA,EAAAA,EAAAE,aAAAF,YAAAA,EAAAG,OAAAH,YAAAA,EAAAI,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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,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":"LoginForm-DtR3F2ZT.js","sources":["../../src/lib/components/organisms/LoginForm.svelte"],"sourcesContent":["<!--\nLoginForm 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 { _ } from 'svelte-i18n';\n\n\t/**\n\t * PageData provided by SvelteKit.\n\t */\n\texport let data = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Form handling by SvelteKit\n\t */\n\texport let form = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Translation keys to enable reuse\n\t */\n\texport let i18n = {\n\t\tfields: {\n\t\t\taccount: {\n\t\t\t\tlabel: ''\n\t\t\t},\n\t\t\tpassphrase: {\n\t\t\t\tlabel: '',\n\t\t\t\tplaceholder: ''\n\t\t\t},\n\t\t\tserver: {\n\t\t\t\tlabel: ''\n\t\t\t}\n\t\t},\n\t\treset: '',\n\t\tsubmit: '',\n\t\tvalidation: {\n\t\t\tincorrect: '',\n\t\t\tmissing: ''\n\t\t}\n\t};\n\n\t/**\n\t * Allow for linking stories in Storybook.\n\t */\n\texport let sb = '';\n</script>\n\n<form class=\"space-y-4\" name=\"login\" method=\"POST\" action=\"?/login\">\n\t{#if form?.missing}\n\t\t<p class=\"error\">{$_(i18n.validation.missing)}</p>\n\t{/if}\n\t{#if form?.incorrect}\n\t\t<p class=\"error\">{$_(i18n.validation.incorrect)}</p>\n\t{/if}\n\t<label class=\"label\">\n\t\t<span>{$_(i18n.fields.server.label)}</span>\n\t\t<select class=\"select\" name=\"server\">\n\t\t\t{#each Object.entries(data.servers) as [value, label]}\n\t\t\t\t<option {value}>{label}</option>\n\t\t\t{/each}\n\t\t</select>\n\t</label>\n\t<label class=\"label\">\n\t\t<span>{$_(i18n.fields.account.label)}</span>\n\t\t<input class=\"input\" name=\"account\" type=\"text\" value={form?.account ?? ''} />\n\t</label>\n\t<label class=\"label\">\n\t\t<span>{$_(i18n.fields.passphrase.label)}</span>\n\t\t<input\n\t\t\tclass=\"input\"\n\t\t\tname=\"passphrase\"\n\t\t\ttype=\"password\"\n\t\t\tplaceholder={$_(i18n.fields.passphrase.placeholder)}\n\t\t/>\n\t</label>\n\t<div class=\"text-right\">\n\t\t<a href=\"/\" class=\"btn btn-bg-initial\">\n\t\t\t{$_(i18n.reset)}\n\t\t</a>\n\t</div>\n\t<button type=\"submit\" class=\"w-full btn variant-filled-primary\" data-sb-kind={sb}>\n\t\t{$_(i18n.submit)}\n\t</button>\n</form>\n"],"names":["ctx","submit","t13","if_block0","cov_zidqh8wio","s","b","missing","create_if_block_1","form_1","label0","set_data","t13_value","$$props","sb"],"mappings":"wtoDAiEEA,EAAmD,CAAA,EAAAA,EAAAC,CAAAA,EAAAA,MAAA,MAHjCC,EAAAC,GAAAC,EAAA,EAAAC,EAAA,EAAA,IAAAD,EAAA,EAAAE,EAAAN,EAAAA,EAAAA,CAAAA,MAAAA,GAAAA,EAAAO,CAAAA,IAAAP,YAAAA,GAAAO,WAAAH,EAAA,EAAAE,EAAAE,EAAAA,EAAAA,CAAAA,IAAAA,GAAAR,CAAA,+7HAGAS,EAAAC,CAAA,EAAAN,EAAAC,EAAAA,qoBAHAL,EAAAA,EAAA,CAAA,IAAAA,MAAAA,EAAAO,SAAAH,IAAAE,EAAA,EAAA,EAAA,CAAA,IAAAF,IAAAC,s3DAGlBL,IAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,EAAAA,KAAAA,IAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAAA,KAAmDA,EAAA,CAAA,EAAAC,MAAA,EAAA,MAAAG,EAAA,EAAAE,EAAAF,EAAAA,EAAAA,CAAAA,IAAAA,EAAA,EAAAC,EAAA,GAAA,IAAAM,EAAAT,EAAAU,CAAA,GAAAR,EAAAE,EAAAA,WAAAF,EAAA,EAAAC,qsBAHF,GAAAD,EAAA,EAAA,EAAA,GAAA,IAAAS,GAAA,CAAAC,GAAAA,GAAAV,EAAA,EAAAE,EAAA,EAAA,EAAA,CAAA,IAAA,GAAAF,GAAAA,EAAA,EAAAC,EAAA,GAAA,IAAAQ,GAAAT,OAAAA,EAAAC,EAAAA"} {"version":3,"file":"LoginForm-BA-b-5fc.js","sources":["../../src/lib/components/organisms/LoginForm.svelte"],"sourcesContent":["<!--\nLoginForm 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 { _ } from 'svelte-i18n';\n\n\t/**\n\t * PageData provided by SvelteKit.\n\t */\n\texport let data = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Form handling by SvelteKit\n\t */\n\texport let form = {\n\t\tservers: {}\n\t};\n\n\t/**\n\t * Translation keys to enable reuse\n\t */\n\texport let i18n = {\n\t\tfields: {\n\t\t\taccount: {\n\t\t\t\tlabel: ''\n\t\t\t},\n\t\t\tpassphrase: {\n\t\t\t\tlabel: '',\n\t\t\t\tplaceholder: ''\n\t\t\t},\n\t\t\tserver: {\n\t\t\t\tlabel: ''\n\t\t\t}\n\t\t},\n\t\treset: '',\n\t\tsubmit: '',\n\t\tvalidation: {\n\t\t\tincorrect: '',\n\t\t\tmissing: ''\n\t\t}\n\t};\n\n\t/**\n\t * Allow for linking stories in Storybook.\n\t */\n\texport let sb = '';\n</script>\n\n<form class=\"space-y-4\" name=\"login\" method=\"POST\" action=\"?/login\">\n\t{#if form?.missing}\n\t\t<p class=\"error\">{$_(i18n.validation.missing)}</p>\n\t{/if}\n\t{#if form?.incorrect}\n\t\t<p class=\"error\">{$_(i18n.validation.incorrect)}</p>\n\t{/if}\n\t<label class=\"label\">\n\t\t<span>{$_(i18n.fields.server.label)}</span>\n\t\t<select class=\"select\" name=\"server\">\n\t\t\t{#each Object.entries(data.servers) as [value, label]}\n\t\t\t\t<option {value}>{label}</option>\n\t\t\t{/each}\n\t\t</select>\n\t</label>\n\t<label class=\"label\">\n\t\t<span>{$_(i18n.fields.account.label)}</span>\n\t\t<input class=\"input\" name=\"account\" type=\"text\" value={form?.account ?? ''} />\n\t</label>\n\t<label class=\"label\">\n\t\t<span>{$_(i18n.fields.passphrase.label)}</span>\n\t\t<input\n\t\t\tclass=\"input\"\n\t\t\tname=\"passphrase\"\n\t\t\ttype=\"password\"\n\t\t\tplaceholder={$_(i18n.fields.passphrase.placeholder)}\n\t\t/>\n\t</label>\n\t<div class=\"text-right\">\n\t\t<a href=\"/\" class=\"btn btn-bg-initial\">\n\t\t\t{$_(i18n.reset)}\n\t\t</a>\n\t</div>\n\t<button type=\"submit\" class=\"w-full btn variant-filled-primary\" data-sb-kind={sb}>\n\t\t{$_(i18n.submit)}\n\t</button>\n</form>\n"],"names":["ctx","submit","t13","if_block0","cov_zidqh8wio","s","b","missing","create_if_block_1","form_1","label0","set_data","t13_value","$$props","sb"],"mappings":"wtoDAiEEA,EAAmD,CAAA,EAAAA,EAAAC,CAAAA,EAAAA,MAAA,MAHjCC,EAAAC,GAAAC,EAAA,EAAAC,EAAA,EAAA,IAAAD,EAAA,EAAAE,EAAAN,EAAAA,EAAAA,CAAAA,MAAAA,GAAAA,EAAAO,CAAAA,IAAAP,YAAAA,GAAAO,WAAAH,EAAA,EAAAE,EAAAE,EAAAA,EAAAA,CAAAA,IAAAA,GAAAR,CAAA,+7HAGAS,EAAAC,CAAA,EAAAN,EAAAC,EAAAA,qoBAHAL,EAAAA,EAAA,CAAA,IAAAA,MAAAA,EAAAO,SAAAH,IAAAE,EAAA,EAAA,EAAA,CAAA,IAAAF,IAAAC,s3DAGlBL,IAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,EAAAA,KAAAA,IAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAAA,KAAmDA,EAAA,CAAA,EAAAC,MAAA,EAAA,MAAAG,EAAA,EAAAE,EAAAF,EAAAA,EAAAA,CAAAA,IAAAA,EAAA,EAAAC,EAAA,GAAA,IAAAM,EAAAT,EAAAU,CAAA,GAAAR,EAAAE,EAAAA,WAAAF,EAAA,EAAAC,qsBAHF,GAAAD,EAAA,EAAA,EAAA,GAAA,IAAAS,GAAA,CAAAC,GAAAA,GAAAV,EAAA,EAAAE,EAAA,EAAA,EAAA,CAAA,IAAA,GAAAF,GAAAA,EAAA,EAAAC,EAAA,GAAA,IAAAQ,GAAAT,OAAAA,EAAAC,EAAAA"}

View file

@ -1,4 +1,4 @@
import{w as f,a as c}from"./chunk-NQQ3TO7D-D125W6ms.js";import{L as d}from"./LoginForm-DtR3F2ZT.js";import"./chunk-454WOBUV-5rTpxkNE.js";import"./v4-D8aEg3BZ.js";import"./index-J1TP6alb.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./each-C4g42ehH.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";const S={title:"Organisms/LoginForm",component:d,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[f,c]},e={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}},a={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"",incorrect:!1,missing:!0},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}},r={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}};var o,n,s;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ import{w as f,a as c}from"./chunk-NQQ3TO7D-D125W6ms.js";import{L as d}from"./LoginForm-BA-b-5fc.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";const S={title:"Organisms/LoginForm",component:d,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[f,c]},e={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}},a={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"",incorrect:!1,missing:!0},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}},r={args:{data:{servers:{1:"fig.fr33domlover.site",2:"grape.fr33domlover.site",3:"walnut.fr33domlover.site"}},form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}}}};var o,n,s;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{
args: { args: {
data: { data: {
servers: { servers: {
@ -104,4 +104,4 @@ import{w as f,a as c}from"./chunk-NQQ3TO7D-D125W6ms.js";import{L as d}from"./Log
} }
} }
}`,...(p=(g=r.parameters)==null?void 0:g.docs)==null?void 0:p.source}}};const T=["Plain","MissingInput","InvalidFormData"];export{r as InvalidFormData,a as MissingInput,e as Plain,T as __namedExportsOrder,S as default}; }`,...(p=(g=r.parameters)==null?void 0:g.docs)==null?void 0:p.source}}};const T=["Plain","MissingInput","InvalidFormData"];export{r as InvalidFormData,a as MissingInput,e as Plain,T as __namedExportsOrder,S as default};
//# sourceMappingURL=LoginForm.stories-BBA56Hj7.js.map //# sourceMappingURL=LoginForm.stories-CV3CtwHU.js.map

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":"MainMenu-B0G9o9Vo.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 class=\"flex flex-col gap-6 h-full px-8 py-6 bg-surface-50 border-surface-200\">\n\t<MainMenuSummary />\n\t<MainMenuDetails />\n\t<MainMenuActions />\n</div>\n"],"names":["target","div","anchor","cov_1smfm85cne","s"],"mappings":"4yOAcUA,EAAAC,EAAAC,CAAA,EAAAC,EAAA,EAAAC"} {"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"}

View file

@ -0,0 +1,2 @@
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

@ -1 +1 @@
{"version":3,"file":"MainMenu.stories-DN8RGoLE.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-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"}

View file

@ -1,2 +0,0 @@
import{M as i}from"./MainMenu-B0G9o9Vo.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./MainMenuActions-CWweVtEW.js";import"./ZoomOut24-CRRKQWCt.js";import"./spread-CgU5AtxT.js";import"./MainMenuSummary-BTNOcam5.js";import"./popup-BXRymj07.js";import"./XPro-DLv5pwJ7.js";import"./each-C4g42ehH.js";import"./globals-D0QH3NT1.js";import"./OverlayAvatar-BBGlXgxt.js";import"./MainMenuDetails-D9KBVOjh.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-DN8RGoLE.js.map

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
{"version":3,"file":"MainMenuActions-CWweVtEW.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 class=\"flex flex-1 align-center justify-center gap-2 bg-white border-surface-200\">\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 class=\"flex flex-1 align-center justify-center gap-2 bg-white border-surface-200\">\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 class=\"flex flex-1 align-center justify-center gap-2 bg-white border-surface-200\">\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":["target","div3","anchor","cov_2om3dipt5k","s","append_hydration","div2"],"mappings":"iimBAe2CA,EAAAC,EAAAC,CAAA,EAAAC,EAAA,EAAAC,kNADjCC,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EACyBJ,EAAAK,CAAA,EAAAH,EAAA,EAAAC,EAAA,EAAA"}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +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"}

View file

@ -1,2 +1,2 @@
import{M as e}from"./MainMenuActions-CWweVtEW.js";import"./index-CP70Tq58.js";import"./lifecycle-D_bIUHQK.js";import"./runtime-8AupoRbQ.js";import"./index-C0Lr04gB.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ZoomOut24-CRRKQWCt.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-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};
//# sourceMappingURL=MainMenuActions.stories-DvfDbtMm.js.map //# sourceMappingURL=MainMenuActions.stories-DGjjnEyv.js.map

View file

@ -1 +1 @@
{"version":3,"file":"MainMenuActions.stories-DvfDbtMm.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-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"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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