2021-05-29 13:06:17 +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 Col from "../components/Col.svelte";
|
2022-02-04 09:36:34 +01:00
|
|
|
import Row from "../components/Row.svelte";
|
2022-10-25 08:18:50 +02:00
|
|
|
import ConfigInput from "./ConfigInput.svelte";
|
2021-05-29 13:06:17 +02:00
|
|
|
import RevertButton from "./RevertButton.svelte";
|
2022-02-04 09:36:34 +01:00
|
|
|
import StepsInput from "./StepsInput.svelte";
|
2021-05-29 13:06:17 +02:00
|
|
|
|
|
|
|
export let value: any;
|
|
|
|
export let defaultValue: any;
|
|
|
|
</script>
|
|
|
|
|
2022-10-25 08:18:50 +02:00
|
|
|
<Row --cols={13}>
|
|
|
|
<Col --col-size={7} breakpoint="xs">
|
|
|
|
<slot />
|
2021-05-29 13:06:17 +02:00
|
|
|
</Col>
|
2022-10-25 08:18:50 +02:00
|
|
|
<Col --col-size={6} breakpoint="xs">
|
|
|
|
<ConfigInput>
|
|
|
|
<StepsInput bind:value />
|
|
|
|
<RevertButton slot="revert" bind:value {defaultValue} />
|
|
|
|
</ConfigInput>
|
2021-05-29 13:06:17 +02:00
|
|
|
</Col>
|
|
|
|
</Row>
|