@datatechsolutions/ui 2.11.35 → 2.11.37
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/dist/astrlabe/index.js +143 -143
- package/dist/astrlabe/index.mjs +6 -6
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/{chunk-KEUOCEOO.js → chunk-2IOPJ5BM.js} +3 -3
- package/dist/{chunk-KEUOCEOO.js.map → chunk-2IOPJ5BM.js.map} +1 -1
- package/dist/{chunk-AXC4INNY.mjs → chunk-CQQKF7VT.mjs} +46 -35
- package/dist/chunk-CQQKF7VT.mjs.map +1 -0
- package/dist/{chunk-DNGI4ASL.mjs → chunk-MDD6H63O.mjs} +3 -3
- package/dist/{chunk-DNGI4ASL.mjs.map → chunk-MDD6H63O.mjs.map} +1 -1
- package/dist/{chunk-BXVUUI2B.js → chunk-NFJCB4BB.js} +91 -80
- package/dist/chunk-NFJCB4BB.js.map +1 -0
- package/dist/index.js +718 -718
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-AXC4INNY.mjs.map +0 -1
- package/dist/chunk-BXVUUI2B.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunk2IOPJ5BM_js = require('./chunk-2IOPJ5BM.js');
|
|
5
5
|
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
6
6
|
var chunkP4YYEM4B_js = require('./chunk-P4YYEM4B.js');
|
|
7
7
|
var chunkPWBWP5FJ_js = require('./chunk-PWBWP5FJ.js');
|
|
@@ -742,7 +742,7 @@ function ConditionalEdgeComponent({
|
|
|
742
742
|
"button",
|
|
743
743
|
{
|
|
744
744
|
type: "button",
|
|
745
|
-
className: "nodrag nopan pointer-events-auto absolute flex h-5 w-5 items-center justify-center rounded-full border border-teal-300 bg-white shadow-md transition-
|
|
745
|
+
className: "nodrag nopan pointer-events-auto absolute flex h-5 w-5 items-center justify-center rounded-full border border-teal-300 bg-white shadow-md transition-colors hover:bg-teal-50 dark:border-teal-600 dark:bg-gray-800 dark:hover:bg-teal-900/30",
|
|
746
746
|
style: {
|
|
747
747
|
transform: `translate(-50%, -50%) translate(${labelX}px,${labelY + insertButtonOffset}px)`
|
|
748
748
|
},
|
|
@@ -765,7 +765,7 @@ function ConditionalEdgeComponent({
|
|
|
765
765
|
"button",
|
|
766
766
|
{
|
|
767
767
|
type: "button",
|
|
768
|
-
className: "nodrag nopan pointer-events-auto absolute flex h-5 w-5 items-center justify-center rounded-full border border-red-300 bg-white shadow-md transition-
|
|
768
|
+
className: "nodrag nopan pointer-events-auto absolute flex h-5 w-5 items-center justify-center rounded-full border border-red-300 bg-white shadow-md transition-colors hover:bg-red-50 dark:border-red-600 dark:bg-gray-800 dark:hover:bg-red-900/30",
|
|
769
769
|
style: {
|
|
770
770
|
transform: `translate(-50%, -50%) translate(${labelX}px,${labelY + deleteButtonOffset}px)`
|
|
771
771
|
},
|
|
@@ -1656,7 +1656,7 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
|
|
|
1656
1656
|
event.stopPropagation();
|
|
1657
1657
|
},
|
|
1658
1658
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1659
|
-
|
|
1659
|
+
chunk2IOPJ5BM_js.ToggleSwitch,
|
|
1660
1660
|
{
|
|
1661
1661
|
checked: Boolean(agentTool.enabled),
|
|
1662
1662
|
onChange: () => data.onToggle?.(agentTool),
|
|
@@ -1764,7 +1764,7 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
|
|
|
1764
1764
|
event.preventDefault();
|
|
1765
1765
|
},
|
|
1766
1766
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1767
|
-
|
|
1767
|
+
chunk2IOPJ5BM_js.ToggleSwitch,
|
|
1768
1768
|
{
|
|
1769
1769
|
checked: Boolean(tool.enabled),
|
|
1770
1770
|
onChange: () => onToggle(tool),
|
|
@@ -1916,7 +1916,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
1916
1916
|
event.preventDefault();
|
|
1917
1917
|
},
|
|
1918
1918
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1919
|
-
|
|
1919
|
+
chunk2IOPJ5BM_js.ToggleSwitch,
|
|
1920
1920
|
{
|
|
1921
1921
|
checked: Boolean(rule.enabled),
|
|
1922
1922
|
onChange: () => onToggle(rule),
|
|
@@ -2862,48 +2862,59 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
2862
2862
|
}
|
|
2863
2863
|
const columnCount = config.selectedColumns?.length ?? 0;
|
|
2864
2864
|
const filterCount = config.filterVariables ? Object.keys(config.filterVariables).length : 0;
|
|
2865
|
-
const visibleColumns = config.selectedColumns.slice(0, 3);
|
|
2866
|
-
const filterEntries = Object.entries(config.filterVariables ?? {});
|
|
2867
2865
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(NodeCard, { compact: isCompact, selected, nodeType: "datasource", children: [
|
|
2868
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start
|
|
2869
|
-
/* @__PURE__ */ jsxRuntime.
|
|
2870
|
-
|
|
2871
|
-
/* @__PURE__ */ jsxRuntime.
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2866
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between", children: [
|
|
2867
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
2868
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-xl bg-gradient-to-br from-cyan-500 to-blue-600 shadow-lg", children: /* @__PURE__ */ jsxRuntime.jsx(outline.ServerStackIcon, { className: "h-5 w-5 text-white" }) }),
|
|
2869
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
2870
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-semibold text-gray-900 dark:text-white", children: label }),
|
|
2871
|
+
!isCompact && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "mt-0.5 line-clamp-1 text-xs text-gray-500 dark:text-gray-400", children: [
|
|
2872
|
+
datasource?.name ?? config.datasourceId,
|
|
2873
|
+
" \xB7 ",
|
|
2874
|
+
config.table
|
|
2875
|
+
] })
|
|
2876
2876
|
] })
|
|
2877
|
-
] })
|
|
2877
|
+
] }),
|
|
2878
|
+
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2879
|
+
"span",
|
|
2880
|
+
{
|
|
2881
|
+
className: "nodrag nopan",
|
|
2882
|
+
onClick: (event) => {
|
|
2883
|
+
event.stopPropagation();
|
|
2884
|
+
event.preventDefault();
|
|
2885
|
+
},
|
|
2886
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2887
|
+
chunk2IOPJ5BM_js.ToggleSwitch,
|
|
2888
|
+
{
|
|
2889
|
+
checked: true,
|
|
2890
|
+
onChange: () => {
|
|
2891
|
+
},
|
|
2892
|
+
disabled: true,
|
|
2893
|
+
size: "sm",
|
|
2894
|
+
color: "teal",
|
|
2895
|
+
label: `${label} connected`
|
|
2896
|
+
}
|
|
2897
|
+
)
|
|
2898
|
+
}
|
|
2899
|
+
)
|
|
2878
2900
|
] }),
|
|
2879
2901
|
/* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
|
|
2880
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex
|
|
2881
|
-
config.dialect && /* @__PURE__ */ jsxRuntime.jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-semibold bg-cyan-100 text-cyan-700 dark:bg-cyan-
|
|
2882
|
-
readOnly && /* @__PURE__ */ jsxRuntime.jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-medium bg-slate-100 text-slate-
|
|
2902
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2903
|
+
config.dialect && /* @__PURE__ */ jsxRuntime.jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-semibold bg-cyan-100 text-cyan-700 dark:bg-cyan-400/15 dark:text-cyan-400", children: config.dialect }),
|
|
2904
|
+
readOnly && /* @__PURE__ */ jsxRuntime.jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-medium bg-slate-100 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400", children: "Sample" }),
|
|
2883
2905
|
columnCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2884
2906
|
columnCount,
|
|
2885
|
-
" "
|
|
2886
|
-
t("datasourceColumns")
|
|
2907
|
+
" cols"
|
|
2887
2908
|
] }),
|
|
2888
|
-
config.limit > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: t("datasourceLimit", { count: config.limit }) }),
|
|
2889
2909
|
filterCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2890
2910
|
filterCount,
|
|
2891
|
-
" "
|
|
2892
|
-
t("datasourceFilters")
|
|
2893
|
-
] })
|
|
2894
|
-
] }),
|
|
2895
|
-
!isCompact && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 space-y-1", children: [
|
|
2896
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "truncate text-[10px] text-gray-500 dark:text-gray-400", children: [
|
|
2897
|
-
config.table,
|
|
2898
|
-
" \u2192 ",
|
|
2899
|
-
config.outputVariable
|
|
2911
|
+
" filters"
|
|
2900
2912
|
] }),
|
|
2901
|
-
/* @__PURE__ */ jsxRuntime.jsxs("
|
|
2902
|
-
|
|
2903
|
-
|
|
2913
|
+
config.limit > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2914
|
+
"\u2264",
|
|
2915
|
+
config.limit
|
|
2904
2916
|
] })
|
|
2905
2917
|
] }),
|
|
2906
|
-
!isCompact && filterEntries.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 truncate text-[10px] text-cyan-700 dark:text-cyan-300", children: filterEntries.map(([field, variableName]) => `${field} \u2192 ${variableName}`).join(" \xB7 ") }),
|
|
2907
2918
|
onRemoveFromCanvas && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2908
2919
|
"span",
|
|
2909
2920
|
{
|
|
@@ -3208,8 +3219,8 @@ function ConfigFormActions({
|
|
|
3208
3219
|
saveDisabled = false
|
|
3209
3220
|
}) {
|
|
3210
3221
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
3211
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3212
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3222
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2IOPJ5BM_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3223
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2IOPJ5BM_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3213
3224
|
] });
|
|
3214
3225
|
}
|
|
3215
3226
|
var COLOR_CLASSES = {
|
|
@@ -3456,7 +3467,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3456
3467
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
3457
3468
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
3458
3469
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3459
|
-
|
|
3470
|
+
chunk2IOPJ5BM_js.Button,
|
|
3460
3471
|
{
|
|
3461
3472
|
type: "button",
|
|
3462
3473
|
onClick: handleAddCondition,
|
|
@@ -3467,7 +3478,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3467
3478
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: conditions.map((condition, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2 rounded-lg border border-gray-200 bg-gray-50 p-3 dark:border-gray-700 dark:bg-gray-800/50", children: [
|
|
3468
3479
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
3469
3480
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3470
|
-
|
|
3481
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3471
3482
|
{
|
|
3472
3483
|
type: "text",
|
|
3473
3484
|
label: t("variableLabel"),
|
|
@@ -3478,7 +3489,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3478
3489
|
}
|
|
3479
3490
|
) }),
|
|
3480
3491
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3481
|
-
|
|
3492
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
3482
3493
|
{
|
|
3483
3494
|
label: t("operatorLabel"),
|
|
3484
3495
|
value: condition.operator,
|
|
@@ -3488,7 +3499,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3488
3499
|
}
|
|
3489
3500
|
) }),
|
|
3490
3501
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3491
|
-
|
|
3502
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3492
3503
|
{
|
|
3493
3504
|
type: "text",
|
|
3494
3505
|
label: t("valueLabel"),
|
|
@@ -3500,7 +3511,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3500
3511
|
) })
|
|
3501
3512
|
] }),
|
|
3502
3513
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3503
|
-
|
|
3514
|
+
chunk2IOPJ5BM_js.IconButton,
|
|
3504
3515
|
{
|
|
3505
3516
|
onClick: () => handleRemoveCondition(index),
|
|
3506
3517
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3655,7 +3666,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3655
3666
|
};
|
|
3656
3667
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3657
3668
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3658
|
-
|
|
3669
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
3659
3670
|
{
|
|
3660
3671
|
label: t("methodLabel"),
|
|
3661
3672
|
value: method,
|
|
@@ -3664,7 +3675,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3664
3675
|
}
|
|
3665
3676
|
),
|
|
3666
3677
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3667
|
-
|
|
3678
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3668
3679
|
{
|
|
3669
3680
|
type: "text",
|
|
3670
3681
|
label: t("urlLabel"),
|
|
@@ -3677,7 +3688,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3677
3688
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
3678
3689
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
3679
3690
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3680
|
-
|
|
3691
|
+
chunk2IOPJ5BM_js.Button,
|
|
3681
3692
|
{
|
|
3682
3693
|
type: "button",
|
|
3683
3694
|
onClick: handleAddHeader,
|
|
@@ -3687,7 +3698,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3687
3698
|
] }),
|
|
3688
3699
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
3689
3700
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3690
|
-
|
|
3701
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3691
3702
|
{
|
|
3692
3703
|
type: "text",
|
|
3693
3704
|
value: entry.key,
|
|
@@ -3697,7 +3708,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3697
3708
|
}
|
|
3698
3709
|
),
|
|
3699
3710
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3700
|
-
|
|
3711
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3701
3712
|
{
|
|
3702
3713
|
type: "text",
|
|
3703
3714
|
value: entry.value,
|
|
@@ -3707,7 +3718,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3707
3718
|
}
|
|
3708
3719
|
),
|
|
3709
3720
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3710
|
-
|
|
3721
|
+
chunk2IOPJ5BM_js.IconButton,
|
|
3711
3722
|
{
|
|
3712
3723
|
onClick: () => handleRemoveHeader(index),
|
|
3713
3724
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3719,7 +3730,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3719
3730
|
] }, index)) })
|
|
3720
3731
|
] }),
|
|
3721
3732
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3722
|
-
|
|
3733
|
+
chunk2IOPJ5BM_js.FormTextarea,
|
|
3723
3734
|
{
|
|
3724
3735
|
label: t("bodyLabel"),
|
|
3725
3736
|
value: body,
|
|
@@ -3730,7 +3741,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3730
3741
|
}
|
|
3731
3742
|
),
|
|
3732
3743
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3733
|
-
|
|
3744
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3734
3745
|
{
|
|
3735
3746
|
type: "number",
|
|
3736
3747
|
label: t("timeoutLabel"),
|
|
@@ -3761,7 +3772,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3761
3772
|
};
|
|
3762
3773
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3763
3774
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3764
|
-
|
|
3775
|
+
chunk2IOPJ5BM_js.FormTextarea,
|
|
3765
3776
|
{
|
|
3766
3777
|
label: t("templateLabel"),
|
|
3767
3778
|
value: template,
|
|
@@ -3772,7 +3783,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3772
3783
|
}
|
|
3773
3784
|
),
|
|
3774
3785
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3775
|
-
|
|
3786
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3776
3787
|
{
|
|
3777
3788
|
type: "text",
|
|
3778
3789
|
label: t("outputVariableLabel"),
|
|
@@ -3801,7 +3812,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3801
3812
|
};
|
|
3802
3813
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3803
3814
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3804
|
-
|
|
3815
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3805
3816
|
{
|
|
3806
3817
|
type: "text",
|
|
3807
3818
|
label: t("iteratorVariableLabel"),
|
|
@@ -3811,7 +3822,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3811
3822
|
}
|
|
3812
3823
|
),
|
|
3813
3824
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3814
|
-
|
|
3825
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3815
3826
|
{
|
|
3816
3827
|
type: "number",
|
|
3817
3828
|
label: t("maxIterationsLabel"),
|
|
@@ -3842,7 +3853,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3842
3853
|
};
|
|
3843
3854
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3844
3855
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3845
|
-
|
|
3856
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3846
3857
|
{
|
|
3847
3858
|
type: "text",
|
|
3848
3859
|
label: t("sourceIdLabel"),
|
|
@@ -3852,7 +3863,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3852
3863
|
}
|
|
3853
3864
|
),
|
|
3854
3865
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3855
|
-
|
|
3866
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3856
3867
|
{
|
|
3857
3868
|
type: "number",
|
|
3858
3869
|
label: t("topKLabel"),
|
|
@@ -3863,7 +3874,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3863
3874
|
}
|
|
3864
3875
|
),
|
|
3865
3876
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3866
|
-
|
|
3877
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3867
3878
|
{
|
|
3868
3879
|
type: "number",
|
|
3869
3880
|
label: t("similarityThresholdLabel"),
|
|
@@ -3894,7 +3905,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3894
3905
|
};
|
|
3895
3906
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3896
3907
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3897
|
-
|
|
3908
|
+
chunk2IOPJ5BM_js.FormTextarea,
|
|
3898
3909
|
{
|
|
3899
3910
|
label: t("outputTemplateLabel"),
|
|
3900
3911
|
hint: t("outputTemplateHelp"),
|
|
@@ -4328,7 +4339,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4328
4339
|
}
|
|
4329
4340
|
),
|
|
4330
4341
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4331
|
-
|
|
4342
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4332
4343
|
{
|
|
4333
4344
|
type: "text",
|
|
4334
4345
|
label: t("outputVariableLabel"),
|
|
@@ -4338,7 +4349,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4338
4349
|
}
|
|
4339
4350
|
),
|
|
4340
4351
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4341
|
-
|
|
4352
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
4342
4353
|
{
|
|
4343
4354
|
label: t("aggregationModeLabel"),
|
|
4344
4355
|
value: aggregationMode,
|
|
@@ -4371,7 +4382,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4371
4382
|
};
|
|
4372
4383
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4373
4384
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4374
|
-
|
|
4385
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
4375
4386
|
{
|
|
4376
4387
|
label: t("extractionModeLabel"),
|
|
4377
4388
|
value: extractionMode,
|
|
@@ -4380,7 +4391,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4380
4391
|
}
|
|
4381
4392
|
),
|
|
4382
4393
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4383
|
-
|
|
4394
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4384
4395
|
{
|
|
4385
4396
|
type: "text",
|
|
4386
4397
|
label: t("outputVariableLabel"),
|
|
@@ -4557,7 +4568,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4557
4568
|
};
|
|
4558
4569
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4559
4570
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4560
|
-
|
|
4571
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4561
4572
|
{
|
|
4562
4573
|
type: "text",
|
|
4563
4574
|
label: t("iteratorVariableLabel"),
|
|
@@ -4567,7 +4578,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4567
4578
|
}
|
|
4568
4579
|
),
|
|
4569
4580
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4570
|
-
|
|
4581
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4571
4582
|
{
|
|
4572
4583
|
type: "text",
|
|
4573
4584
|
label: t("itemVariableLabel"),
|
|
@@ -4577,7 +4588,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4577
4588
|
}
|
|
4578
4589
|
),
|
|
4579
4590
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4580
|
-
|
|
4591
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4581
4592
|
{
|
|
4582
4593
|
type: "text",
|
|
4583
4594
|
label: t("indexVariableLabel"),
|
|
@@ -5171,7 +5182,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5171
5182
|
};
|
|
5172
5183
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5173
5184
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5174
|
-
|
|
5185
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5175
5186
|
{
|
|
5176
5187
|
type: "text",
|
|
5177
5188
|
label: translations("labelField"),
|
|
@@ -5181,7 +5192,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5181
5192
|
}
|
|
5182
5193
|
),
|
|
5183
5194
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5184
|
-
|
|
5195
|
+
chunk2IOPJ5BM_js.FormTextarea,
|
|
5185
5196
|
{
|
|
5186
5197
|
label: translations("descriptionField"),
|
|
5187
5198
|
value: description,
|
|
@@ -5339,7 +5350,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5339
5350
|
};
|
|
5340
5351
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5341
5352
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5342
|
-
|
|
5353
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5343
5354
|
{
|
|
5344
5355
|
type: "text",
|
|
5345
5356
|
label: t("nameLabel"),
|
|
@@ -5349,7 +5360,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5349
5360
|
}
|
|
5350
5361
|
),
|
|
5351
5362
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5352
|
-
|
|
5363
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
5353
5364
|
{
|
|
5354
5365
|
label: t("providerTypeLabel"),
|
|
5355
5366
|
value: providerType,
|
|
@@ -5358,7 +5369,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5358
5369
|
}
|
|
5359
5370
|
),
|
|
5360
5371
|
showRegion && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5361
|
-
|
|
5372
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
5362
5373
|
{
|
|
5363
5374
|
label: t("regionLabel"),
|
|
5364
5375
|
value: region,
|
|
@@ -5367,7 +5378,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5367
5378
|
}
|
|
5368
5379
|
),
|
|
5369
5380
|
showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5370
|
-
|
|
5381
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5371
5382
|
{
|
|
5372
5383
|
type: "text",
|
|
5373
5384
|
label: t("endpointLabel"),
|
|
@@ -5377,7 +5388,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5377
5388
|
}
|
|
5378
5389
|
),
|
|
5379
5390
|
showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5380
|
-
|
|
5391
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5381
5392
|
{
|
|
5382
5393
|
type: "password",
|
|
5383
5394
|
label: t("apiKeyLabel"),
|
|
@@ -5387,7 +5398,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5387
5398
|
}
|
|
5388
5399
|
),
|
|
5389
5400
|
showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5390
|
-
|
|
5401
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5391
5402
|
{
|
|
5392
5403
|
type: "text",
|
|
5393
5404
|
label: t("credentialRefLabel"),
|
|
@@ -5531,7 +5542,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
5531
5542
|
}
|
|
5532
5543
|
};
|
|
5533
5544
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5534
|
-
|
|
5545
|
+
chunk2IOPJ5BM_js.GlassModal,
|
|
5535
5546
|
{
|
|
5536
5547
|
open,
|
|
5537
5548
|
onClose: closeModal,
|
|
@@ -5591,7 +5602,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
5591
5602
|
}
|
|
5592
5603
|
];
|
|
5593
5604
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5594
|
-
|
|
5605
|
+
chunk2IOPJ5BM_js.ContextMenu,
|
|
5595
5606
|
{
|
|
5596
5607
|
position,
|
|
5597
5608
|
onClose,
|
|
@@ -5648,7 +5659,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
5648
5659
|
}
|
|
5649
5660
|
];
|
|
5650
5661
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5651
|
-
|
|
5662
|
+
chunk2IOPJ5BM_js.ContextMenu,
|
|
5652
5663
|
{
|
|
5653
5664
|
position,
|
|
5654
5665
|
onClose,
|
|
@@ -5795,7 +5806,7 @@ function SelectionContextMenu({
|
|
|
5795
5806
|
}
|
|
5796
5807
|
];
|
|
5797
5808
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5798
|
-
|
|
5809
|
+
chunk2IOPJ5BM_js.ContextMenu,
|
|
5799
5810
|
{
|
|
5800
5811
|
position,
|
|
5801
5812
|
onClose,
|
|
@@ -7684,5 +7695,5 @@ exports.useModalStore = useModalStore;
|
|
|
7684
7695
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
7685
7696
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
7686
7697
|
exports.useWorkflowStore = useWorkflowStore;
|
|
7687
|
-
//# sourceMappingURL=chunk-
|
|
7688
|
-
//# sourceMappingURL=chunk-
|
|
7698
|
+
//# sourceMappingURL=chunk-NFJCB4BB.js.map
|
|
7699
|
+
//# sourceMappingURL=chunk-NFJCB4BB.js.map
|