1 line
No EOL
5.9 KiB
Text
1 line
No EOL
5.9 KiB
Text
{"version":3,"file":"MainMenuDetails-D9KBVOjh.js","sources":["../../src/lib/components/molecules/MainMenuDetails.svelte"],"sourcesContent":["<!--\nMain menu details 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 {\n\t\tChevronDown24,\n\t\tCode24,\n\t\tCommentDiscussion24,\n\t\tFileDirectory24,\n\t\tGitBranch24,\n\t\tGitCommit24,\n\t\tGitPullRequest24,\n\t\tIssueOpened24,\n\t\tListUnordered24,\n\t\tPerson24,\n\t\tPersonAdd24,\n\t\tRepo24,\n\t\tTag24,\n\t\tTriangleDown24\n\t} from 'svelte-octicons';\n</script>\n\n<div class=\"flex -mx-2\">\n\t<div class=\"flex flex-1 gap-2 bg-surface-50 border-surface-300 drop-shadow p-2\">\n\t\t<Repo24 fill=\"currentColor\" />\n\t\t<span class=\"text-primary-600 semibold flex-1 self-center\"> Project Name </span>\n\t\t<TriangleDown24 fill=\"currentColor\" />\n\t</div>\n</div>\n<div class=\"flex flex-col -mt-6\">\n\t<div class=\"flex flex-col bg-white border-surface-300 rounded-border px-4\">\n\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t<Code24 fill=\"currentColor\" />\n\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\">{$_('page.profile.menu.details.repository')}</span\n\t\t\t>\n\t\t\t<ChevronDown24 fill=\"currentColor\" />\n\t\t</div>\n\t\t<div class=\"flex flex-col ps-4\">\n\t\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t\t<FileDirectory24 fill=\"currentColor\" />\n\t\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\">{$_('page.profile.menu.details.files')}</span>\n\t\t\t</div>\n\t\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t\t<GitBranch24 fill=\"currentColor\" />\n\t\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\">{$_('page.profile.menu.details.branches')}</span\n\t\t\t\t>\n\t\t\t</div>\n\t\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t\t<GitCommit24 fill=\"currentColor\" />\n\t\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\">{$_('page.profile.menu.details.commits')}</span>\n\t\t\t</div>\n\t\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t\t<Tag24 fill=\"currentColor\" />\n\t\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\">{$_('page.profile.menu.details.tags')}</span>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t<IssueOpened24 fill=\"currentColor\" />\n\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\">{$_('page.profile.menu.details.issues')}</span>\n\t\t\t<span class=\"text-surface-500 text-center bg-secondary-200 rounded-full min-w-6\">2</span>\n\t\t</div>\n\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t<GitPullRequest24 fill=\"currentColor\" />\n\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\"\n\t\t\t\t>{$_('page.profile.menu.details.merge_requests')}</span\n\t\t\t>\n\t\t\t<span class=\"text-surface-500 text-center bg-secondary-200 rounded-full min-w-6 self-baseline\"\n\t\t\t\t>2</span\n\t\t\t>\n\t\t</div>\n\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t<Person24 fill=\"currentColor\" />\n\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\">{$_('page.profile.menu.details.people')}</span>\n\t\t\t<ChevronDown24 fill=\"currentColor\" />\n\t\t</div>\n\t\t<div class=\"flex flex-col ps-4\">\n\t\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t\t<PersonAdd24 fill=\"currentColor\" />\n\t\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\">{$_('page.profile.menu.details.roles')}</span>\n\t\t\t</div>\n\t\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t\t<CommentDiscussion24 fill=\"currentColor\" />\n\t\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\"\n\t\t\t\t\t>{$_('page.profile.menu.details.moderation')}</span\n\t\t\t\t>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"flex gap-4 bg-white\">\n\t\t\t<ListUnordered24 fill=\"currentColor\" />\n\t\t\t<span class=\"text-surface-500 -mb-2 flex-1\">{$_('page.profile.menu.details.overview')}</span>\n\t\t\t<ChevronDown24 fill=\"currentColor\" />\n\t\t</div>\n\t</div>\n</div>\n"],"names":["t5_value","cov_23yrpihr50","s","ctx","t38_value","insert_hydration","target","div1","anchor","append_hydration","div0","span0","div2","span1","div15","div9","b","current","dirty","set_data","t5","t38"],"mappings":"+5xDA6BEA,IAAAC,EAAAC,EAAAA,EAAAC,CAAAA,IAAAA,EAAA,CAAA,EAAA,sCAAA,osBAmC+CC,IAAAH,EAAA,EAAAC,EAAAC,EAAAA,IAAAA,EAAA,CAAA,EAAA,sCAAmC,qxSA9ClFE,GAMeC,EAAAC,EAAAC,CAAA,EAAAP,EAAA,EAAAC,EAAA,GAAA,IALfO,EAIaF,EAAAG,CAAA,EAAAT,EAAA,EAAAC,EAAA,GAAA,MAFFO,EAAAA,EAAAA,IAAAA,EAAAA,IAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAC,EAAAC,CAAA,EAAAV,EAAAC,EAAAA,+EAIXG,uBACAI,oBACMA,sBAENA,EAAA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