2021-06-10 13:30:39 +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-11-17 04:49:52 +01:00
|
|
|
import Container from "../components/Container.svelte";
|
2021-11-24 03:09:55 +01:00
|
|
|
import Spacer from "../components/Spacer.svelte";
|
|
|
|
import type { ChangeNotetypeState, MapContext } from "./lib";
|
2022-02-04 09:36:34 +01:00
|
|
|
import MapperRow from "./MapperRow.svelte";
|
2021-06-10 13:30:39 +02:00
|
|
|
|
|
|
|
export let state: ChangeNotetypeState;
|
|
|
|
export let ctx: MapContext;
|
|
|
|
|
2022-02-04 09:36:34 +01:00
|
|
|
const info = state.info;
|
2021-06-10 13:30:39 +02:00
|
|
|
</script>
|
|
|
|
|
2021-11-24 03:09:55 +01:00
|
|
|
<Spacer --height="0.5rem" />
|
2021-11-17 04:49:52 +01:00
|
|
|
|
2021-11-24 03:09:55 +01:00
|
|
|
<Container --gutter-inline="0.5rem" --gutter-block="0.15rem">
|
2021-06-10 13:30:39 +02:00
|
|
|
{#each $info.mapForContext(ctx) as _, newIndex}
|
|
|
|
<MapperRow {state} {ctx} {newIndex} />
|
|
|
|
{/each}
|
2021-11-17 04:49:52 +01:00
|
|
|
</Container>
|