Anvil/assets/Avatar-CUHWuSMc.js.map

1 line
1.6 KiB
Text
Raw Normal View History

2024-07-31 10:01:28 +02:00
{"version":3,"file":"Avatar-CUHWuSMc.js","sources":["../../src/lib/components/atoms/Avatar.svelte"],"sourcesContent":["<!--\nAvatar 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\n<script>\n\timport { Avatar } from '@skeletonlabs/skeleton';\n\n\t/**\n\t * URL to Avatar image.\n\t * @type {string | undefined}\n\t */\n\texport let avatar = '';\n\n\t/**\n\t * Name to derive initials from if no avatar is given.\n\t * @type {string | undefined}\n\t */\n\texport let displayName = '';\n</script>\n\n<Avatar src={avatar} alt={displayName} width=\"w-32\" rounded=\"rounded-full\" initials={displayName} />\n"],"names":["cov_d0qd5zavz","actualCoverage","displayName","b","s","$$props"],"mappings":"0hNAcU,OAAAA,EAAA,UAAA,CAAA,OAAAC,CAAA,EAAAA,CAAA,CAAAD,EAAA,y3BAe2E,CAAAE,YAAAA,GAAAF,EAAA,EAAAG,UAAA,GAAA,GAAAH,EAAA,EAAAI,EAAAC,EAAAA,IAAAA,GAAAL,OAAAA,EAAA,EAAAI"}