1 line
3.9 KiB
Text
1 line
3.9 KiB
Text
|
{"version":3,"file":"OverlayAvatar-BBGlXgxt.js","sources":["../../src/lib/components/atoms/OverlayAvatar.svelte"],"sourcesContent":["<!--\nOverlay avatar 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<script>\n\timport { getModalStore } from '@skeletonlabs/skeleton';\n\timport { _ } from 'svelte-i18n';\n\timport { Gear24, Info24, Moon24, Person24, SignOut24 } from 'svelte-octicons';\n\n\tconst modal = {\n\t\ttype: 'component',\n\t\tcomponent: 'settings'\n\t};\n\tconst modalStore = getModalStore();\n\n\tfunction openSettingsOnClick() {\n\t\tmodalStore.trigger(modal);\n\t}\n</script>\n\n<div class=\"flex flex-col bg-white border-surface-300 border-rounded drop-shadow px-4 py-2\">\n\t<div class=\"bg-white flex gap-4\">\n\t\t<Person24 fill=\"currentColor\" class=\"text-white bg-surface-400 rounded-full\" />\n\t\t<span class=\"text-surface-500 -mb-2\">{$_('overlay.avatar.profile')}</span>\n\t</div>\n\t<div class=\"bg-white flex gap-4\">\n\t\t<Gear24 fill=\"currentColor\" />\n\t\t<button type=\"button\" class=\"text-surface-500 -mb-2\" on:click={openSettingsOnClick}\n\t\t\t>{$_('overlay.avatar.settings')}</button\n\t\t>\n\t</div>\n\t<div class=\"bg-white flex gap-4\">\n\t\t<Moon24 fill=\"currentColor\" />\n\t\t<span class=\"text-surface-500 -mb-2\">{$_('overlay.avatar.dark_mode')}</span>\n\t\t<span>Slider missing</span>\n\t</div>\n\t<div class=\"bg-white flex gap-4\">\n\t\t<Info24 fill=\"currentColor\" />\n\t\t<span class=\"text-surface-500 -mb-2\">{$_('overlay.avatar.about_anvil')}</span>\n\t</div>\n\t<div class=\"bg-white flex gap-4\">\n\t\t<SignOut24 fill=\"currentColor\" />\n\t\t<span class=\"text-surface-500 -mb-2\">{$_('overlay.avatar.sign_out')}</span>\n\t</div>\n</div>\n"],"names":["t1_value","cov_2c6cmc0dsd","s","ctx","t7","t8","span2","textContent","t10","div3","info24","t11","span3","t12_value","append_hydration","div0","span0","dirty","b","current","set_data","t1","t12"],"mappings":"8z0BAe0CA,GAAAC,EAAA,EAAAC,OAAAC,EAAA,CAAA,EAAE,wBAAkC,EAAA,qIAqB7CC,EAAAC,GAAAC,EAAAC,IAAAN,EAAA,EAAA,EAAA,CAAA,IAAA,kBAAAO,GAAAC,EAAAC,EAAAC,GAAAC,EAAAC,GAAAZ,EAAA,EAAAC,EAAAC,CAAAA,IAAAA,EAAA,CAAA,EAAA,4BAAA,u7GAvBvBW,sBAEAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAoEC,EAAAC,CAAA,EAAAf,EAAA,EAAAC,0IAgBtCY,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,GAAAA,IAAAA,0OAKnCA,EAA4BL,EAAAG,CAAA,EAAAX,EAAA,EAAAC,iLArBSD,EAAA,EAAA,EAAA,CAAA,EAAA,CAAA,sEAAA,GAAA,EAAA,EAAAE,EAAA,CAAAc,CAAA,EAAA,CAAAhB,EAAA,EAAA,EAAA,CAAA,IAAAA,EAAA,EAAA,EAAA,GAAA,IAAAA,EAAA,EAAAiB,EAAA,CAAA,EAAA,CAAA,KAA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