@datatechsolutions/ui 2.11.36 → 2.11.38
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-OCGSU63W.mjs → chunk-4RCCAZMR.mjs} +44 -40
- package/dist/chunk-4RCCAZMR.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-UURRO37B.js → chunk-TE4XMF4F.js} +89 -85
- package/dist/chunk-TE4XMF4F.js.map +1 -0
- package/dist/index.js +718 -718
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-OCGSU63W.mjs.map +0 -1
- package/dist/chunk-UURRO37B.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');
|
|
@@ -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,52 @@ 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-
|
|
2883
|
-
|
|
2884
|
-
columnCount,
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
] })
|
|
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
|
-
filterCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2890
|
-
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
|
|
2900
|
-
] }),
|
|
2901
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "truncate text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2902
|
-
visibleColumns.join(", "),
|
|
2903
|
-
columnCount > visibleColumns.length ? ` +${columnCount - visibleColumns.length} more` : ""
|
|
2904
|
-
] })
|
|
2902
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", 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" }),
|
|
2905
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2906
|
+
columnCount > 0 ? `${columnCount} cols` : null,
|
|
2907
|
+
filterCount > 0 ? `${filterCount} filters` : null,
|
|
2908
|
+
config.limit > 0 ? `\u2264${config.limit}` : null
|
|
2909
|
+
].filter(Boolean).join(" \xB7 ") })
|
|
2905
2910
|
] }),
|
|
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
2911
|
onRemoveFromCanvas && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2908
2912
|
"span",
|
|
2909
2913
|
{
|
|
@@ -3208,8 +3212,8 @@ function ConfigFormActions({
|
|
|
3208
3212
|
saveDisabled = false
|
|
3209
3213
|
}) {
|
|
3210
3214
|
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(
|
|
3215
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2IOPJ5BM_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3216
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2IOPJ5BM_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3213
3217
|
] });
|
|
3214
3218
|
}
|
|
3215
3219
|
var COLOR_CLASSES = {
|
|
@@ -3456,7 +3460,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3456
3460
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
3457
3461
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
3458
3462
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3459
|
-
|
|
3463
|
+
chunk2IOPJ5BM_js.Button,
|
|
3460
3464
|
{
|
|
3461
3465
|
type: "button",
|
|
3462
3466
|
onClick: handleAddCondition,
|
|
@@ -3467,7 +3471,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3467
3471
|
/* @__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
3472
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
3469
3473
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3470
|
-
|
|
3474
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3471
3475
|
{
|
|
3472
3476
|
type: "text",
|
|
3473
3477
|
label: t("variableLabel"),
|
|
@@ -3478,7 +3482,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3478
3482
|
}
|
|
3479
3483
|
) }),
|
|
3480
3484
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3481
|
-
|
|
3485
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
3482
3486
|
{
|
|
3483
3487
|
label: t("operatorLabel"),
|
|
3484
3488
|
value: condition.operator,
|
|
@@ -3488,7 +3492,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3488
3492
|
}
|
|
3489
3493
|
) }),
|
|
3490
3494
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3491
|
-
|
|
3495
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3492
3496
|
{
|
|
3493
3497
|
type: "text",
|
|
3494
3498
|
label: t("valueLabel"),
|
|
@@ -3500,7 +3504,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3500
3504
|
) })
|
|
3501
3505
|
] }),
|
|
3502
3506
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3503
|
-
|
|
3507
|
+
chunk2IOPJ5BM_js.IconButton,
|
|
3504
3508
|
{
|
|
3505
3509
|
onClick: () => handleRemoveCondition(index),
|
|
3506
3510
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3655,7 +3659,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3655
3659
|
};
|
|
3656
3660
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3657
3661
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3658
|
-
|
|
3662
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
3659
3663
|
{
|
|
3660
3664
|
label: t("methodLabel"),
|
|
3661
3665
|
value: method,
|
|
@@ -3664,7 +3668,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3664
3668
|
}
|
|
3665
3669
|
),
|
|
3666
3670
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3667
|
-
|
|
3671
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3668
3672
|
{
|
|
3669
3673
|
type: "text",
|
|
3670
3674
|
label: t("urlLabel"),
|
|
@@ -3677,7 +3681,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3677
3681
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
3678
3682
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
3679
3683
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3680
|
-
|
|
3684
|
+
chunk2IOPJ5BM_js.Button,
|
|
3681
3685
|
{
|
|
3682
3686
|
type: "button",
|
|
3683
3687
|
onClick: handleAddHeader,
|
|
@@ -3687,7 +3691,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3687
3691
|
] }),
|
|
3688
3692
|
/* @__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
3693
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3690
|
-
|
|
3694
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3691
3695
|
{
|
|
3692
3696
|
type: "text",
|
|
3693
3697
|
value: entry.key,
|
|
@@ -3697,7 +3701,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3697
3701
|
}
|
|
3698
3702
|
),
|
|
3699
3703
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3700
|
-
|
|
3704
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3701
3705
|
{
|
|
3702
3706
|
type: "text",
|
|
3703
3707
|
value: entry.value,
|
|
@@ -3707,7 +3711,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3707
3711
|
}
|
|
3708
3712
|
),
|
|
3709
3713
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3710
|
-
|
|
3714
|
+
chunk2IOPJ5BM_js.IconButton,
|
|
3711
3715
|
{
|
|
3712
3716
|
onClick: () => handleRemoveHeader(index),
|
|
3713
3717
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3719,7 +3723,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3719
3723
|
] }, index)) })
|
|
3720
3724
|
] }),
|
|
3721
3725
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3722
|
-
|
|
3726
|
+
chunk2IOPJ5BM_js.FormTextarea,
|
|
3723
3727
|
{
|
|
3724
3728
|
label: t("bodyLabel"),
|
|
3725
3729
|
value: body,
|
|
@@ -3730,7 +3734,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3730
3734
|
}
|
|
3731
3735
|
),
|
|
3732
3736
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3733
|
-
|
|
3737
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3734
3738
|
{
|
|
3735
3739
|
type: "number",
|
|
3736
3740
|
label: t("timeoutLabel"),
|
|
@@ -3761,7 +3765,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3761
3765
|
};
|
|
3762
3766
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3763
3767
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3764
|
-
|
|
3768
|
+
chunk2IOPJ5BM_js.FormTextarea,
|
|
3765
3769
|
{
|
|
3766
3770
|
label: t("templateLabel"),
|
|
3767
3771
|
value: template,
|
|
@@ -3772,7 +3776,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3772
3776
|
}
|
|
3773
3777
|
),
|
|
3774
3778
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3775
|
-
|
|
3779
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3776
3780
|
{
|
|
3777
3781
|
type: "text",
|
|
3778
3782
|
label: t("outputVariableLabel"),
|
|
@@ -3801,7 +3805,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3801
3805
|
};
|
|
3802
3806
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3803
3807
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3804
|
-
|
|
3808
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3805
3809
|
{
|
|
3806
3810
|
type: "text",
|
|
3807
3811
|
label: t("iteratorVariableLabel"),
|
|
@@ -3811,7 +3815,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3811
3815
|
}
|
|
3812
3816
|
),
|
|
3813
3817
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3814
|
-
|
|
3818
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3815
3819
|
{
|
|
3816
3820
|
type: "number",
|
|
3817
3821
|
label: t("maxIterationsLabel"),
|
|
@@ -3842,7 +3846,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3842
3846
|
};
|
|
3843
3847
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3844
3848
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3845
|
-
|
|
3849
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3846
3850
|
{
|
|
3847
3851
|
type: "text",
|
|
3848
3852
|
label: t("sourceIdLabel"),
|
|
@@ -3852,7 +3856,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3852
3856
|
}
|
|
3853
3857
|
),
|
|
3854
3858
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3855
|
-
|
|
3859
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3856
3860
|
{
|
|
3857
3861
|
type: "number",
|
|
3858
3862
|
label: t("topKLabel"),
|
|
@@ -3863,7 +3867,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3863
3867
|
}
|
|
3864
3868
|
),
|
|
3865
3869
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3866
|
-
|
|
3870
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
3867
3871
|
{
|
|
3868
3872
|
type: "number",
|
|
3869
3873
|
label: t("similarityThresholdLabel"),
|
|
@@ -3894,7 +3898,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3894
3898
|
};
|
|
3895
3899
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3896
3900
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3897
|
-
|
|
3901
|
+
chunk2IOPJ5BM_js.FormTextarea,
|
|
3898
3902
|
{
|
|
3899
3903
|
label: t("outputTemplateLabel"),
|
|
3900
3904
|
hint: t("outputTemplateHelp"),
|
|
@@ -4328,7 +4332,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4328
4332
|
}
|
|
4329
4333
|
),
|
|
4330
4334
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4331
|
-
|
|
4335
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4332
4336
|
{
|
|
4333
4337
|
type: "text",
|
|
4334
4338
|
label: t("outputVariableLabel"),
|
|
@@ -4338,7 +4342,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4338
4342
|
}
|
|
4339
4343
|
),
|
|
4340
4344
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4341
|
-
|
|
4345
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
4342
4346
|
{
|
|
4343
4347
|
label: t("aggregationModeLabel"),
|
|
4344
4348
|
value: aggregationMode,
|
|
@@ -4371,7 +4375,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4371
4375
|
};
|
|
4372
4376
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4373
4377
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4374
|
-
|
|
4378
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
4375
4379
|
{
|
|
4376
4380
|
label: t("extractionModeLabel"),
|
|
4377
4381
|
value: extractionMode,
|
|
@@ -4380,7 +4384,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4380
4384
|
}
|
|
4381
4385
|
),
|
|
4382
4386
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4383
|
-
|
|
4387
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4384
4388
|
{
|
|
4385
4389
|
type: "text",
|
|
4386
4390
|
label: t("outputVariableLabel"),
|
|
@@ -4557,7 +4561,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4557
4561
|
};
|
|
4558
4562
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4559
4563
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4560
|
-
|
|
4564
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4561
4565
|
{
|
|
4562
4566
|
type: "text",
|
|
4563
4567
|
label: t("iteratorVariableLabel"),
|
|
@@ -4567,7 +4571,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4567
4571
|
}
|
|
4568
4572
|
),
|
|
4569
4573
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4570
|
-
|
|
4574
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4571
4575
|
{
|
|
4572
4576
|
type: "text",
|
|
4573
4577
|
label: t("itemVariableLabel"),
|
|
@@ -4577,7 +4581,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4577
4581
|
}
|
|
4578
4582
|
),
|
|
4579
4583
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4580
|
-
|
|
4584
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
4581
4585
|
{
|
|
4582
4586
|
type: "text",
|
|
4583
4587
|
label: t("indexVariableLabel"),
|
|
@@ -5171,7 +5175,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5171
5175
|
};
|
|
5172
5176
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5173
5177
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5174
|
-
|
|
5178
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5175
5179
|
{
|
|
5176
5180
|
type: "text",
|
|
5177
5181
|
label: translations("labelField"),
|
|
@@ -5181,7 +5185,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5181
5185
|
}
|
|
5182
5186
|
),
|
|
5183
5187
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5184
|
-
|
|
5188
|
+
chunk2IOPJ5BM_js.FormTextarea,
|
|
5185
5189
|
{
|
|
5186
5190
|
label: translations("descriptionField"),
|
|
5187
5191
|
value: description,
|
|
@@ -5339,7 +5343,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5339
5343
|
};
|
|
5340
5344
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5341
5345
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5342
|
-
|
|
5346
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5343
5347
|
{
|
|
5344
5348
|
type: "text",
|
|
5345
5349
|
label: t("nameLabel"),
|
|
@@ -5349,7 +5353,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5349
5353
|
}
|
|
5350
5354
|
),
|
|
5351
5355
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5352
|
-
|
|
5356
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
5353
5357
|
{
|
|
5354
5358
|
label: t("providerTypeLabel"),
|
|
5355
5359
|
value: providerType,
|
|
@@ -5358,7 +5362,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5358
5362
|
}
|
|
5359
5363
|
),
|
|
5360
5364
|
showRegion && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5361
|
-
|
|
5365
|
+
chunk2IOPJ5BM_js.FormSelect,
|
|
5362
5366
|
{
|
|
5363
5367
|
label: t("regionLabel"),
|
|
5364
5368
|
value: region,
|
|
@@ -5367,7 +5371,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5367
5371
|
}
|
|
5368
5372
|
),
|
|
5369
5373
|
showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5370
|
-
|
|
5374
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5371
5375
|
{
|
|
5372
5376
|
type: "text",
|
|
5373
5377
|
label: t("endpointLabel"),
|
|
@@ -5377,7 +5381,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5377
5381
|
}
|
|
5378
5382
|
),
|
|
5379
5383
|
showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5380
|
-
|
|
5384
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5381
5385
|
{
|
|
5382
5386
|
type: "password",
|
|
5383
5387
|
label: t("apiKeyLabel"),
|
|
@@ -5387,7 +5391,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5387
5391
|
}
|
|
5388
5392
|
),
|
|
5389
5393
|
showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5390
|
-
|
|
5394
|
+
chunk2IOPJ5BM_js.FormInput,
|
|
5391
5395
|
{
|
|
5392
5396
|
type: "text",
|
|
5393
5397
|
label: t("credentialRefLabel"),
|
|
@@ -5531,7 +5535,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
5531
5535
|
}
|
|
5532
5536
|
};
|
|
5533
5537
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5534
|
-
|
|
5538
|
+
chunk2IOPJ5BM_js.GlassModal,
|
|
5535
5539
|
{
|
|
5536
5540
|
open,
|
|
5537
5541
|
onClose: closeModal,
|
|
@@ -5591,7 +5595,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
5591
5595
|
}
|
|
5592
5596
|
];
|
|
5593
5597
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5594
|
-
|
|
5598
|
+
chunk2IOPJ5BM_js.ContextMenu,
|
|
5595
5599
|
{
|
|
5596
5600
|
position,
|
|
5597
5601
|
onClose,
|
|
@@ -5648,7 +5652,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
5648
5652
|
}
|
|
5649
5653
|
];
|
|
5650
5654
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5651
|
-
|
|
5655
|
+
chunk2IOPJ5BM_js.ContextMenu,
|
|
5652
5656
|
{
|
|
5653
5657
|
position,
|
|
5654
5658
|
onClose,
|
|
@@ -5795,7 +5799,7 @@ function SelectionContextMenu({
|
|
|
5795
5799
|
}
|
|
5796
5800
|
];
|
|
5797
5801
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5798
|
-
|
|
5802
|
+
chunk2IOPJ5BM_js.ContextMenu,
|
|
5799
5803
|
{
|
|
5800
5804
|
position,
|
|
5801
5805
|
onClose,
|
|
@@ -7684,5 +7688,5 @@ exports.useModalStore = useModalStore;
|
|
|
7684
7688
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
7685
7689
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
7686
7690
|
exports.useWorkflowStore = useWorkflowStore;
|
|
7687
|
-
//# sourceMappingURL=chunk-
|
|
7688
|
-
//# sourceMappingURL=chunk-
|
|
7691
|
+
//# sourceMappingURL=chunk-TE4XMF4F.js.map
|
|
7692
|
+
//# sourceMappingURL=chunk-TE4XMF4F.js.map
|