mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 16:02:24 +00:00
8a50955bbf
* fly animation
* output picker fly transition
* svelte 5 migrate
* createCache
* cache integrations
* fly transition for triggers add btn
* better hub scripts fetching (code style + caching + fewer states)
* loadItemsCached in WorkspaceScriptPickerQuick
* usePromise fixes
* createCache initial keys, no flicker at all
* Prettier template editor
* fix null access
* fix bad z-index issue
* Revert "Prettier template editor"
This reverts commit ff2a952656.
* type error
* ee repo ref
* Update ee-repo-ref.txt
* Fix formatting of ee-repo-ref.txt
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
43 lines
848 B
Svelte
43 lines
848 B
Svelte
<script lang="ts">
|
|
import { createEventDispatcher } from 'svelte'
|
|
import { Button, Badge } from '../common'
|
|
import Modal from '../common/modal/Modal.svelte'
|
|
import Portal from '../Portal.svelte'
|
|
|
|
export let open = false
|
|
|
|
export let inputs: string[] = []
|
|
|
|
const dispatch = createEventDispatcher()
|
|
</script>
|
|
|
|
<Portal>
|
|
<Modal
|
|
bind:open
|
|
on:confirmed={() => {
|
|
open = false
|
|
dispatch('confirmed')
|
|
}}
|
|
on:canceled
|
|
title="Windmill AI wants to add the following inputs to the flow:"
|
|
>
|
|
<ul class=" list-disc pl-5">
|
|
{#each inputs as input}
|
|
<li>{input}</li>
|
|
{/each}
|
|
</ul>
|
|
|
|
<Button
|
|
slot="actions"
|
|
on:click={() => {
|
|
open = false
|
|
dispatch('confirmed')
|
|
}}
|
|
color="light"
|
|
size="sm"
|
|
>
|
|
<span class="inline-flex gap-2">Add <Badge color="dark-green">Enter</Badge></span>
|
|
</Button>
|
|
</Modal>
|
|
</Portal>
|