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