mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-10 16:05:58 +00:00
update docs
This commit is contained in:
@@ -110,6 +110,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
export function focus() {
|
||||
editor?.focus()
|
||||
}
|
||||
|
||||
let width = 0
|
||||
async function loadMonaco() {
|
||||
model = meditor.createModel(code, lang, mUri.parse(uri))
|
||||
|
||||
@@ -27,8 +27,7 @@
|
||||
parentModule.id,
|
||||
$flowStore,
|
||||
$previewArgs,
|
||||
false,
|
||||
true
|
||||
false
|
||||
)
|
||||
</script>
|
||||
|
||||
@@ -37,6 +36,7 @@
|
||||
pickableProperties={stepPropPicker.pickableProperties}
|
||||
on:select={({ detail }) => {
|
||||
editor?.insertAtCursor(detail)
|
||||
editor?.focus()
|
||||
}}
|
||||
>
|
||||
<div class="border border-gray-400">
|
||||
|
||||
@@ -33,8 +33,7 @@
|
||||
mod.id,
|
||||
$flowStore,
|
||||
$previewArgs,
|
||||
false,
|
||||
true
|
||||
false
|
||||
)
|
||||
</script>
|
||||
|
||||
@@ -60,6 +59,7 @@
|
||||
pickableProperties={stepPropPicker.pickableProperties}
|
||||
on:select={({ detail }) => {
|
||||
editor?.insertAtCursor(detail)
|
||||
editor?.focus()
|
||||
}}
|
||||
>
|
||||
<SimpleEditor
|
||||
|
||||
@@ -71,8 +71,7 @@
|
||||
flowModule.id,
|
||||
$flowStore,
|
||||
$previewArgs,
|
||||
false,
|
||||
true
|
||||
false
|
||||
)
|
||||
|
||||
function onKeyDown(event: KeyboardEvent) {
|
||||
@@ -120,6 +119,7 @@
|
||||
|
||||
<svelte:window on:keydown={onKeyDown} />
|
||||
|
||||
{previousModule?.id}
|
||||
{#if value}
|
||||
<div class="h-full" bind:this={wrapper} bind:clientWidth={width}>
|
||||
<FlowCard bind:flowModule>
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
pickableProperties={undefined}
|
||||
on:select={({ detail }) => {
|
||||
editor?.insertAtCursor(detail)
|
||||
editor?.focus()
|
||||
}}
|
||||
>
|
||||
<SimpleEditor
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
pickableProperties={undefined}
|
||||
on:select={({ detail }) => {
|
||||
editor?.insertAtCursor(detail)
|
||||
editor?.focus()
|
||||
}}
|
||||
>
|
||||
<InputTransformForm
|
||||
|
||||
@@ -103,7 +103,6 @@ export function getStepPropPicker(
|
||||
flow: Flow,
|
||||
args: any,
|
||||
include_node: boolean,
|
||||
approvers: boolean = false
|
||||
): StepPropPicker {
|
||||
const flowInput = getFlowInput(dfs(parentModule?.id, flow), flowState, args, flow.schema)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user