Anvil/assets/SettingsKeys-Dny9-Qnw.js.map
André Jaenisch f12fc7b132
Updates
2024-08-06 09:17:06 +02:00

1 line
No EOL
5.8 KiB
Text

{"version":3,"file":"SettingsKeys-Dny9-Qnw.js","sources":["../../src/lib/components/molecules/SettingsKeys.svelte"],"sourcesContent":["<!--\nSettingsKeys 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 import \"@fontsource/spline-sans-mono\";\n\timport { _ } from 'svelte-i18n';\n import { Key24 } from 'svelte-octicons';\n\n const gpg_keys = [{\n title: \"Work key\",\n fingerprint: \"CB9E C70F 2421 AF06 7D72 F980 8287 6A15 311B 1F84\"\n }]\n\n const ssh_keys = [{\n title: \"MyLaptop\",\n fingerprint: \"25:c7:06:3f:87:49:5d:95:96:3d:a8\"\n }, {\n title: \"Desktop\",\n fingerprint: \"87:49:5d:95:96:3d:a8:25:c7:06:3f\"\n }]\n</script>\n\n<div class=\"flex flex-col flex-1 gap-4 pe-8 pb-8 ps-8 pt-20 bg-surface-100\">\n\t<div class=\"flex text-surface-500 text-xl font-semibold\">{$_('settings.ssh_gpg_keys.headline')}</div>\n\t<div class=\"flex flex-col gap-6\">\n\t\t<div class=\"flex flex-col gap-1\">\n <div class=\"flex text-surface-500 font-semibold py-1\">{$_('settings.ssh_gpg_keys.ssh.headline')}</div>\n <div class=\"flex flex-col gap-2\"><!-- Nesting required to trigger last: class -->\n {#each ssh_keys as key}\n <div class=\"flex border-b border-surface-200 last:border-b-0 items-center justify-between gap-4 pb-2\">\n <Key24 fill=\"currentColor\" />\n <span class=\"text-surface-500 flex-1 shrink-0\">{key.title}</span>\n <code class=\"text-surface-500 shrink-0\">{key.fingerprint}</code>\n <button type=\"button\" class=\"btn font-semibold variant-filled-warning\">{$_('settings.ssh_gpg_keys.ssh.remove')}</button>\n </div>\n {/each}\n </div>\n\t\t\t<input type=\"text\" class=\"input bg-white placeholder:text-surface-300\" placeholder={$_('settings.ssh_gpg_keys.ssh.title.placeholder')}/>\n\t\t\t<textarea\n\t\t\t\tplaceholder={$_('settings.ssh_gpg_keys.ssh.key.placeholder')}\n\t\t\t\trows=\"4\"\n\t\t\t\tclass=\"placeholder:text-surface-300\"\n\t\t\t></textarea>\n <button type=\"button\" class=\"btn font-semibold text-white variant-filled-success self-end\">{$_('settings.ssh_gpg_keys.ssh.add')}</button>\n\t\t</div>\n\n\t\t<div class=\"flex flex-col gap-1\">\n <div class=\"flex text-surface-500 font-semibold py-1\">{$_('settings.ssh_gpg_keys.gpg.headline')}</div>\n <div class=\"flex flex-col gap-2\"><!-- Nesting required to trigger last: class -->\n {#each gpg_keys as key}\n <div class=\"flex border-b border-surface-200 last:border-b-0 items-center justify-between gap-4 pb-2\">\n <Key24 fill=\"currentColor\" />\n <span class=\"text-surface-500 flex-1 shrink-0\">{key.title}</span>\n <code class=\"text-surface-500 font-medium shrink-0 w-[245px]\">{key.fingerprint}</code>\n <button type=\"button\" class=\"btn font-semibold variant-filled-warning\">{$_('settings.ssh_gpg_keys.gpg.remove')}</button>\n </div>\n {/each}\n </div>\n\t\t\t<input type=\"text\" class=\"input bg-white placeholder:text-surface-300\" placeholder={$_('settings.ssh_gpg_keys.gpg.title.placeholder')}/>\n\t\t\t<textarea\n\t\t\t\tplaceholder={$_('settings.ssh_gpg_keys.gpg.key.placeholder')}\n\t\t\t\trows=\"4\"\n\t\t\t\tclass=\"placeholder:text-surface-300\"\n\t\t\t></textarea>\n <button type=\"button\" class=\"btn font-semibold text-white variant-filled-success self-end\">{$_('settings.ssh_gpg_keys.gpg.add')}</button>\n\t\t</div>\n\t</div>\n</div>\n"],"names":["t0_value","cov_2fjg5c25gk","s","ctx","t7_value","t9_value","insert_hydration","append_hydration","div8","div0","div3","button0","div6","div4","b","current","dirty","set_data","t0","t7","t9"],"mappings":"mzgEAgB2CA,GAAAC,EAAA,EAAAC,EAAA,GAAA,IAAAC,EAAA,CAAA,EAAA,gCAAA,qGAyBsCC,GAAAH,IAAAC,EAAA,GAAA,IAAAC,EAAA,CAAA,EAAA,+BAAA,EAAA,cACDE,IAAAJ,EAAAC,EAAAA,SAAAC,EAAA,CAAA,EAAA,oCAAA,EAAA,kxJA3BtEG,gBACGC,GAAAA,IAAAA,EAA8BC,EAAAC,CAAA,EAAAR,EAAA,EAAAC,iZAyB6BK,EAASG,EAAAC,CAAA,EAAAV,EAAAC,EAAAA,uEAChBK,EAAeK,EAAAC,CAAA,EAAAZ,EAAA,EAAAC,sYA1BrCD,EAAAa,EAAAA,EAAAC,EAAAA,EAAAA,CAAAA,KAAAA,CAAAA,IAAAd,EAAA,EAAAa,EAAA,EAAA,EAAA,CAAA,IAAAE,EAAA,MAAAf,EAAA,EAAAa,EAAA,EAAA,EAAA,CAAA,IAAAd,KAAAA,EAAAG,EAAA,CAAA,EAAA,gCAAA,EAAAF,MAAAA,EAAA,EAAAa,WAAAb,EAAA,EAAAC,EAAA,GAAA,IAAAe,EAAAC,EAAAlB,CAAA,GAAAC,EAAA,EAAAa,WAAAb,EAAA,EAAAC,EAAA,GAAA,ogCAyBsCD,EAAA,EAAAa,aAAAC,IAAAd,EAAA,EAAAa,EAAA,EAAA,EAAA,CAAA,IAAAE,EAAAf,MAAAA,EAAAa,EAAAA,EAAAV,EAAAA,EAAAA,CAAAA,IAAAA,KAAAA,EAAAD,EAAA,CAAA,EAAA,+BAAA,EAAA,MAAAF,EAAAa,EAAAA,EAAAb,EAAAA,EAAAA,CAAAA,IAAAA,EAAAC,EAAAA,SAAA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