@rainlanguage/ui-components 0.0.1-alpha.18 → 0.0.1-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script>import { Alert } from "flowbite-svelte";
|
|
2
2
|
import TokenIOInput from "./TokenIOInput.svelte";
|
|
3
|
-
import DepositsSection from "./DepositsSection.svelte";
|
|
4
3
|
import ComposedRainlangModal from "./ComposedRainlangModal.svelte";
|
|
5
4
|
import FieldDefinitionsSection from "./FieldDefinitionsSection.svelte";
|
|
6
5
|
import {} from "@rainlanguage/orderbook/js_api";
|
|
@@ -16,6 +15,7 @@ import { handleShareChoices } from "../../services/handleShareChoices";
|
|
|
16
15
|
import { getDeploymentTransactionArgs } from "./getDeploymentTransactionArgs";
|
|
17
16
|
import { DeploymentStepsError, DeploymentStepsErrorCode } from "../../errors";
|
|
18
17
|
import { onMount } from "svelte";
|
|
18
|
+
import DepositInput from "./DepositInput.svelte";
|
|
19
19
|
import SelectToken from "./SelectToken.svelte";
|
|
20
20
|
import DeploymentSectionHeader from "./DeploymentSectionHeader.svelte";
|
|
21
21
|
import { useGui } from "../../hooks/useGui";
|
|
@@ -244,8 +244,10 @@ const areAllTokensSelected = async () => {
|
|
|
244
244
|
<FieldDefinitionsSection allFieldDefinitions={allFieldDefinitionsWithDefaults} {gui} />
|
|
245
245
|
{/if}
|
|
246
246
|
|
|
247
|
-
{#if
|
|
248
|
-
|
|
247
|
+
{#if showAdvancedOptions}
|
|
248
|
+
{#each allDepositFields as deposit}
|
|
249
|
+
<DepositInput {deposit} {gui} />
|
|
250
|
+
{/each}
|
|
249
251
|
{/if}
|
|
250
252
|
|
|
251
253
|
{#if showAdvancedOptions}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rainlanguage/ui-components",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.19",
|
|
4
4
|
"description": "A component library for building Svelte applications to be used with Raindex.",
|
|
5
5
|
"license": "LicenseRef-DCL-1.0",
|
|
6
6
|
"author": "Rain Open Source Software Ltd",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@fontsource/dm-sans": "^5.0.18",
|
|
54
54
|
"@imask/svelte": "^7.3.0",
|
|
55
55
|
"@observablehq/plot": "^0.6.13",
|
|
56
|
-
"@rainlanguage/orderbook": "0.0.1-alpha.
|
|
56
|
+
"@rainlanguage/orderbook": "0.0.1-alpha.19",
|
|
57
57
|
"@reown/appkit": "^1.6.4",
|
|
58
58
|
"@reown/appkit-adapter-wagmi": "^1.6.4",
|
|
59
59
|
"@sentry/sveltekit": "^7.107.0",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
import type { DotrainOrderGui, GuiDepositCfg } from '@rainlanguage/orderbook/js_api';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
allDepositFields: GuiDepositCfg[];
|
|
6
|
-
gui: DotrainOrderGui;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {};
|
|
12
|
-
exports?: {} | undefined;
|
|
13
|
-
bindings?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
export type DepositsSectionProps = typeof __propDef.props;
|
|
16
|
-
export type DepositsSectionEvents = typeof __propDef.events;
|
|
17
|
-
export type DepositsSectionSlots = typeof __propDef.slots;
|
|
18
|
-
export default class DepositsSection extends SvelteComponent<DepositsSectionProps, DepositsSectionEvents, DepositsSectionSlots> {
|
|
19
|
-
}
|
|
20
|
-
export {};
|