1 line
No EOL
1.7 KiB
Text
1 line
No EOL
1.7 KiB
Text
{"version":3,"file":"Search-B6-Tpd7v.js","sources":["../../src/lib/components/molecules/Search.svelte"],"sourcesContent":["<!--\nForm for searching a project.\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 { Search24 } from 'svelte-octicons';\n\timport { _ } from 'svelte-i18n';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tplaceholder: '',\n\t\tsubmit: ''\n\t};\n</script>\n\n<form class=\"w-96\">\n\t<div class=\"flex input\">\n\t\t<Search24 fill=\"currentColor\" class=\"ms-4 self-center\" />\n\t\t<input\n\t\t\tid=\"search\"\n\t\t\tname=\"search\"\n\t\t\ttype=\"search\"\n\t\t\tclass=\"bg-surface-200-700-token border-none\"\n\t\t\tplaceholder={$_(i18n.placeholder)}\n\t\t/>\n\t\t<button type=\"submit\" class=\"submit bg-surface-400-500-token text-white dark:text-black w-40\">\n\t\t\t{$_(i18n.submit)}\n\t\t</button>\n\t</div>\n</form>\n"],"names":["append_hydration","form","div","cov_26r3lbdl3a","s"],"mappings":"ymYAcUA,EAAAA,IAAAA,EAuBNC,EAAAC,CAAA,EAAAC,EAAA,EAAAC,EAAA,EAAA"} |