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">
|
2021-04-17 16:01:53 +02:00
|
|
|
import DailyLimits from "./DailyLimits.svelte";
|
2021-05-13 07:23:16 +02:00
|
|
|
import LearningOptions from "./LearningOptions.svelte";
|
2021-04-12 06:18:30 +02:00
|
|
|
import NewOptions from "./NewOptions.svelte";
|
2021-04-26 15:34:33 +02:00
|
|
|
import AdvancedOptions from "./AdvancedOptions.svelte";
|
2021-05-13 07:23:16 +02:00
|
|
|
import ReviewOptions from "./ReviewOptions.svelte";
|
2021-05-15 12:09:50 +02:00
|
|
|
import LapseOptions from "./LapseOptions.svelte";
|
2021-04-12 06:18:30 +02:00
|
|
|
import GeneralOptions from "./GeneralOptions.svelte";
|
2021-04-24 02:14:54 +02:00
|
|
|
import Addons from "./Addons.svelte";
|
2021-04-25 10:40:02 +02:00
|
|
|
import type { DeckOptionsState } from "./lib";
|
2021-04-12 06:18:30 +02:00
|
|
|
|
2021-04-25 10:40:02 +02:00
|
|
|
export let state: DeckOptionsState;
|
2021-04-12 06:18:30 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
:global(h2) {
|
|
|
|
margin-top: 1em;
|
2021-05-19 09:20:01 +02:00
|
|
|
font-weight: bold;
|
2021-04-12 06:18:30 +02:00
|
|
|
}
|
2021-05-19 12:02:04 +02:00
|
|
|
.outer {
|
|
|
|
// the right margin has an indent to allow for the undo
|
|
|
|
// buttons; add the same indent on the left for balance
|
|
|
|
padding-left: 16px;
|
|
|
|
}
|
2021-04-12 06:18:30 +02:00
|
|
|
</style>
|
|
|
|
|
2021-05-19 12:02:04 +02:00
|
|
|
<div class="outer">
|
2021-04-17 16:01:53 +02:00
|
|
|
<DailyLimits {state} />
|
2021-05-13 07:23:16 +02:00
|
|
|
<LearningOptions {state} />
|
2021-04-16 15:29:21 +02:00
|
|
|
<NewOptions {state} />
|
2021-05-13 07:23:16 +02:00
|
|
|
<ReviewOptions {state} />
|
2021-05-15 12:09:50 +02:00
|
|
|
<LapseOptions {state} />
|
2021-04-16 15:29:21 +02:00
|
|
|
<GeneralOptions {state} />
|
2021-04-24 02:14:54 +02:00
|
|
|
<Addons {state} />
|
2021-04-26 15:34:33 +02:00
|
|
|
<AdvancedOptions {state} />
|
2021-04-12 06:18:30 +02:00
|
|
|
</div>
|