windmill-components 1.28.5 → 1.28.6
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.
- package/components/FlowViewer.svelte +13 -11
- package/package.json +1 -1
|
@@ -113,17 +113,19 @@ function toAny(x) {
|
|
|
113
113
|
View code and inputs {open[i] ? '(-)' : '(+)'}</button
|
|
114
114
|
>
|
|
115
115
|
{#if open[i]}
|
|
116
|
-
<
|
|
117
|
-
|
|
118
|
-
<
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
116
|
+
<div class="border border-black p-2 bg-gray-50 divide-y">
|
|
117
|
+
<InputTransformsViewer inputTransforms={mod?.input_transform} />
|
|
118
|
+
<div class="w-full h-full mt-6">
|
|
119
|
+
<iframe
|
|
120
|
+
style="height: 400px;"
|
|
121
|
+
class="w-full h-full text-sm"
|
|
122
|
+
title="embedded script from hub"
|
|
123
|
+
frameborder="0"
|
|
124
|
+
src="https://hub.windmill.dev/embed/script/{mod?.value?.path?.substring(
|
|
125
|
+
4
|
|
126
|
+
)}"
|
|
127
|
+
/>
|
|
128
|
+
</div>
|
|
127
129
|
</div>
|
|
128
130
|
{/if}
|
|
129
131
|
</div>
|