2021-04-12 06:18:30 +02:00
|
|
|
<!--
|
|
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
-->
|
|
|
|
<script lang="ts">
|
|
|
|
import ConfigSelector from "./ConfigSelector.svelte";
|
|
|
|
import ConfigEditor from "./ConfigEditor.svelte";
|
|
|
|
import type { DeckConfigState } from "./lib";
|
|
|
|
|
|
|
|
export let state: DeckConfigState;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.outer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2021-04-22 03:33:27 +02:00
|
|
|
:global(.width-limited) {
|
|
|
|
width: 40em;
|
2021-04-12 06:18:30 +02:00
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2021-04-16 15:29:21 +02:00
|
|
|
<div id="modal">
|
|
|
|
<!-- filled in later-->
|
|
|
|
</div>
|
|
|
|
|
2021-04-18 05:02:33 +02:00
|
|
|
<ConfigSelector {state} />
|
|
|
|
|
2021-04-12 06:18:30 +02:00
|
|
|
<div class="outer">
|
2021-04-22 03:33:27 +02:00
|
|
|
<div class="width-limited">
|
2021-04-16 15:29:21 +02:00
|
|
|
<ConfigEditor {state} />
|
2021-04-12 06:18:30 +02:00
|
|
|
</div>
|
|
|
|
</div>
|