windmill-components 1.531.0 → 1.531.1
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,7 +1,8 @@
|
|
|
1
1
|
<script lang="ts">import AiChatLayout from './copilot/chat/AiChatLayout.svelte';
|
|
2
2
|
import FlowBuilder from './FlowBuilder.svelte';
|
|
3
|
-
let { flowStore: oldFlowStore, disableAi, light, ...props } = $props();
|
|
3
|
+
let { flowStore: oldFlowStore, flowStateStore: oldFlowStateStore, disableAi, light, ...props } = $props();
|
|
4
4
|
let flowStore = $state(oldFlowStore);
|
|
5
|
+
let flowStateStore = $state(oldFlowStateStore);
|
|
5
6
|
let trialRender = $state(true);
|
|
6
7
|
if (light) {
|
|
7
8
|
setTimeout(() => {
|
|
@@ -13,7 +14,7 @@ if (light) {
|
|
|
13
14
|
{#if trialRender}
|
|
14
15
|
<AiChatLayout noPadding={true} {disableAi}>
|
|
15
16
|
{#if light}<div class="bg-red-500 absolute z-10">Trial version</div>{/if}
|
|
16
|
-
<FlowBuilder {flowStore} {disableAi} {...props} />
|
|
17
|
+
<FlowBuilder {flowStore} {flowStateStore} {disableAi} {...props} />
|
|
17
18
|
</AiChatLayout>
|
|
18
19
|
{:else}
|
|
19
20
|
<div class="flex flex-col items-center justify-center h-screen">
|