Anvil/assets/Settings.stories-0LFgFedZ.js.map
André Jaenisch f12fc7b132
Updates
2024-08-06 09:17:06 +02:00

1 line
No EOL
4.7 KiB
Text

{"version":3,"file":"Settings.stories-0LFgFedZ.js","sources":["../../src/lib/components/molecules/Settings.svelte","../../stories/molecules/Settings.stories.ts"],"sourcesContent":["<!--\nSettings 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\timport SettingsAccount from './SettingsAccount.svelte';\n\timport SettingsKeys from './SettingsKeys.svelte';\n\timport SettingsSidebar from '../atoms/SettingsSidebar.svelte';\n\timport SettingsProfile from './SettingsProfile.svelte';\n\n\tlet activeSetting = 'profile';\n\n\tfunction onTileChanged(ev) {\n\t\tactiveSetting = ev.detail;\n\t}\n</script>\n\n<div class=\"flex bg-surface-50 min-h-[900px]\">\n\t<SettingsSidebar on:switch-settings={onTileChanged} />\n\n\t{#if activeSetting === 'profile'}\n\t\t<SettingsProfile />\n\t{:else if activeSetting === 'account'}\n\t\t<SettingsAccount />\n\t{:else if activeSetting === 'ssh_gpg_keys'}\n\t\t<SettingsKeys />\n\t{/if}\n</div>\n","/* Stories for Settings molecule.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This 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 *\n * This 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 *\n * You 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\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Settings from '$lib/components/molecules/Settings.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/Settings',\n\tcomponent: Settings,\n\ttags: ['autodocs']\n} satisfies Meta<Settings>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {};\n"],"names":["ctx","insert_hydration","meta","title","component","Settings","tags","Plain","parameters","docs","source","originalSource"],"mappings":"wqpBAgB8DA,EAAA,CAAA,CAAA,qUADtDC,KAAAA,CAAAA,OAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,CAAAA,EAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,CAAAA,EAAAA,CAAAA,GAAAA,EAAAA,EAAAA,EAAAA,CAAAA,EAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,CAAAA,GAAAA,CAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,KAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAAA,QAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,GAAAA,EAAAA,EAAAA,EAAAA,CAAAA,EAAAA,CAAAA,IAAAA,EAAAA,EAAAA,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAAA,EAAA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