@datatechsolutions/ui 2.11.33 → 2.11.34
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 +132 -132
- package/dist/astrlabe/index.mjs +3 -3
- package/dist/astrlabe/workflow-canvas.js +3 -3
- package/dist/astrlabe/workflow-canvas.mjs +2 -2
- package/dist/{chunk-2JS5B55J.mjs → chunk-CH5BZ5ML.mjs} +4 -4
- package/dist/{chunk-2JS5B55J.mjs.map → chunk-CH5BZ5ML.mjs.map} +1 -1
- package/dist/{chunk-HSUB5MTJ.js → chunk-D6MUVAMK.js} +119 -110
- package/dist/chunk-D6MUVAMK.js.map +1 -0
- package/dist/{chunk-3NXUTBDV.mjs → chunk-WG4S74B5.mjs} +74 -65
- package/dist/chunk-WG4S74B5.mjs.map +1 -0
- package/dist/{chunk-LH2JDCO3.js → chunk-YHAVW6OR.js} +4 -4
- package/dist/{chunk-LH2JDCO3.js.map → chunk-YHAVW6OR.js.map} +1 -1
- package/dist/index.js +709 -709
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3NXUTBDV.mjs.map +0 -1
- package/dist/chunk-HSUB5MTJ.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkYHAVW6OR_js = require('./chunk-YHAVW6OR.js');
|
|
5
5
|
var chunkP4YYEM4B_js = require('./chunk-P4YYEM4B.js');
|
|
6
6
|
var chunkPWBWP5FJ_js = require('./chunk-PWBWP5FJ.js');
|
|
7
7
|
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
@@ -700,68 +700,77 @@ function ConditionalEdgeComponent({
|
|
|
700
700
|
const hasLabel = Boolean(label && labelStyle);
|
|
701
701
|
const insertButtonOffset = hasLabel ? -20 : 0;
|
|
702
702
|
const deleteButtonOffset = hasLabel ? showInsertPopup ? -40 : -40 : showInsertPopup ? -20 : -20;
|
|
703
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
{
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
703
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
704
|
+
"g",
|
|
705
|
+
{
|
|
706
|
+
onMouseEnter: () => setIsHovered(true),
|
|
707
|
+
onMouseLeave: () => setIsHovered(false),
|
|
708
|
+
children: [
|
|
709
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
710
|
+
"path",
|
|
711
|
+
{
|
|
712
|
+
d: edgePath,
|
|
713
|
+
fill: "none",
|
|
714
|
+
stroke: "transparent",
|
|
715
|
+
strokeWidth: 20,
|
|
716
|
+
className: "react-flow__edge-interaction"
|
|
717
|
+
}
|
|
718
|
+
),
|
|
719
|
+
/* @__PURE__ */ jsxRuntime.jsx(react$1.BaseEdge, { id, path: edgePath, markerEnd, style }),
|
|
720
|
+
/* @__PURE__ */ jsxRuntime.jsxs(react$1.EdgeLabelRenderer, { children: [
|
|
721
|
+
hasLabel && labelStyle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
722
|
+
"div",
|
|
723
|
+
{
|
|
724
|
+
className: `nodrag nopan pointer-events-auto absolute rounded-full px-2 py-0.5 text-[10px] font-semibold ${labelStyle.background} ${labelStyle.text} ${labelStyle.darkBackground} ${labelStyle.darkText}`,
|
|
725
|
+
style: {
|
|
726
|
+
transform: `translate(-50%, -50%) translate(${labelX}px,${labelY}px)`
|
|
727
|
+
},
|
|
728
|
+
"data-testid": `edge-label-${id}`,
|
|
729
|
+
children: label
|
|
730
|
+
}
|
|
731
|
+
),
|
|
732
|
+
showControls && !showInsertPopup && /* @__PURE__ */ jsxRuntime.jsx(
|
|
733
|
+
"button",
|
|
734
|
+
{
|
|
735
|
+
type: "button",
|
|
736
|
+
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-all hover:scale-110 hover:bg-teal-50 dark:border-teal-600 dark:bg-gray-800 dark:hover:bg-teal-900/30",
|
|
737
|
+
style: {
|
|
738
|
+
transform: `translate(-50%, -50%) translate(${labelX}px,${labelY + insertButtonOffset}px)`
|
|
739
|
+
},
|
|
740
|
+
onClick: handleInsertClick,
|
|
741
|
+
onMouseEnter: () => setIsHovered(true),
|
|
742
|
+
onMouseLeave: () => setIsHovered(false),
|
|
743
|
+
"aria-label": "Insert node",
|
|
744
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(solid.PlusIcon, { className: "h-3 w-3 text-teal-500 dark:text-teal-400" })
|
|
745
|
+
}
|
|
746
|
+
),
|
|
747
|
+
showInsertPopup && /* @__PURE__ */ jsxRuntime.jsx(
|
|
748
|
+
EdgeInsertPopup,
|
|
749
|
+
{
|
|
750
|
+
position: { x: labelX, y: labelY + insertButtonOffset },
|
|
751
|
+
onSelect: handleInsertNodeSelect,
|
|
752
|
+
onClose: () => setShowInsertPopup(false)
|
|
753
|
+
}
|
|
754
|
+
),
|
|
755
|
+
showControls && /* @__PURE__ */ jsxRuntime.jsx(
|
|
756
|
+
"button",
|
|
757
|
+
{
|
|
758
|
+
type: "button",
|
|
759
|
+
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-all hover:scale-110 hover:bg-red-50 dark:border-red-600 dark:bg-gray-800 dark:hover:bg-red-900/30",
|
|
760
|
+
style: {
|
|
761
|
+
transform: `translate(-50%, -50%) translate(${labelX}px,${labelY + deleteButtonOffset}px)`
|
|
762
|
+
},
|
|
763
|
+
onClick: handleDeleteEdge,
|
|
764
|
+
onMouseEnter: () => setIsHovered(true),
|
|
765
|
+
onMouseLeave: () => setIsHovered(false),
|
|
766
|
+
"aria-label": "Delete connection",
|
|
767
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(solid.XMarkIcon, { className: "h-3 w-3 text-red-500 dark:text-red-400" })
|
|
768
|
+
}
|
|
769
|
+
)
|
|
770
|
+
] })
|
|
771
|
+
]
|
|
772
|
+
}
|
|
773
|
+
);
|
|
765
774
|
}
|
|
766
775
|
var ConditionalEdge = react.memo(ConditionalEdgeComponent);
|
|
767
776
|
function CustomConnectionLine({
|
|
@@ -1638,7 +1647,7 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
|
|
|
1638
1647
|
event.stopPropagation();
|
|
1639
1648
|
},
|
|
1640
1649
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1641
|
-
|
|
1650
|
+
chunkYHAVW6OR_js.ToggleSwitch,
|
|
1642
1651
|
{
|
|
1643
1652
|
checked: Boolean(agentTool.enabled),
|
|
1644
1653
|
onChange: () => data.onToggle?.(agentTool),
|
|
@@ -1746,7 +1755,7 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
|
|
|
1746
1755
|
event.preventDefault();
|
|
1747
1756
|
},
|
|
1748
1757
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1749
|
-
|
|
1758
|
+
chunkYHAVW6OR_js.ToggleSwitch,
|
|
1750
1759
|
{
|
|
1751
1760
|
checked: Boolean(tool.enabled),
|
|
1752
1761
|
onChange: () => onToggle(tool),
|
|
@@ -1898,7 +1907,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
1898
1907
|
event.preventDefault();
|
|
1899
1908
|
},
|
|
1900
1909
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1901
|
-
|
|
1910
|
+
chunkYHAVW6OR_js.ToggleSwitch,
|
|
1902
1911
|
{
|
|
1903
1912
|
checked: Boolean(rule.enabled),
|
|
1904
1913
|
onChange: () => onToggle(rule),
|
|
@@ -3190,8 +3199,8 @@ function ConfigFormActions({
|
|
|
3190
3199
|
saveDisabled = false
|
|
3191
3200
|
}) {
|
|
3192
3201
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
3193
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3194
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3202
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkYHAVW6OR_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3203
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkYHAVW6OR_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3195
3204
|
] });
|
|
3196
3205
|
}
|
|
3197
3206
|
var COLOR_CLASSES = {
|
|
@@ -3438,7 +3447,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3438
3447
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
3439
3448
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
3440
3449
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3441
|
-
|
|
3450
|
+
chunkYHAVW6OR_js.Button,
|
|
3442
3451
|
{
|
|
3443
3452
|
type: "button",
|
|
3444
3453
|
onClick: handleAddCondition,
|
|
@@ -3449,7 +3458,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3449
3458
|
/* @__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: [
|
|
3450
3459
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
3451
3460
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3452
|
-
|
|
3461
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3453
3462
|
{
|
|
3454
3463
|
type: "text",
|
|
3455
3464
|
label: t("variableLabel"),
|
|
@@ -3460,7 +3469,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3460
3469
|
}
|
|
3461
3470
|
) }),
|
|
3462
3471
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3463
|
-
|
|
3472
|
+
chunkYHAVW6OR_js.FormSelect,
|
|
3464
3473
|
{
|
|
3465
3474
|
label: t("operatorLabel"),
|
|
3466
3475
|
value: condition.operator,
|
|
@@ -3470,7 +3479,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3470
3479
|
}
|
|
3471
3480
|
) }),
|
|
3472
3481
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3473
|
-
|
|
3482
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3474
3483
|
{
|
|
3475
3484
|
type: "text",
|
|
3476
3485
|
label: t("valueLabel"),
|
|
@@ -3482,7 +3491,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3482
3491
|
) })
|
|
3483
3492
|
] }),
|
|
3484
3493
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3485
|
-
|
|
3494
|
+
chunkYHAVW6OR_js.IconButton,
|
|
3486
3495
|
{
|
|
3487
3496
|
onClick: () => handleRemoveCondition(index),
|
|
3488
3497
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3637,7 +3646,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3637
3646
|
};
|
|
3638
3647
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3639
3648
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3640
|
-
|
|
3649
|
+
chunkYHAVW6OR_js.FormSelect,
|
|
3641
3650
|
{
|
|
3642
3651
|
label: t("methodLabel"),
|
|
3643
3652
|
value: method,
|
|
@@ -3646,7 +3655,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3646
3655
|
}
|
|
3647
3656
|
),
|
|
3648
3657
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3649
|
-
|
|
3658
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3650
3659
|
{
|
|
3651
3660
|
type: "text",
|
|
3652
3661
|
label: t("urlLabel"),
|
|
@@ -3659,7 +3668,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3659
3668
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
3660
3669
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
3661
3670
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3662
|
-
|
|
3671
|
+
chunkYHAVW6OR_js.Button,
|
|
3663
3672
|
{
|
|
3664
3673
|
type: "button",
|
|
3665
3674
|
onClick: handleAddHeader,
|
|
@@ -3669,7 +3678,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3669
3678
|
] }),
|
|
3670
3679
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
3671
3680
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3672
|
-
|
|
3681
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3673
3682
|
{
|
|
3674
3683
|
type: "text",
|
|
3675
3684
|
value: entry.key,
|
|
@@ -3679,7 +3688,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3679
3688
|
}
|
|
3680
3689
|
),
|
|
3681
3690
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3682
|
-
|
|
3691
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3683
3692
|
{
|
|
3684
3693
|
type: "text",
|
|
3685
3694
|
value: entry.value,
|
|
@@ -3689,7 +3698,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3689
3698
|
}
|
|
3690
3699
|
),
|
|
3691
3700
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3692
|
-
|
|
3701
|
+
chunkYHAVW6OR_js.IconButton,
|
|
3693
3702
|
{
|
|
3694
3703
|
onClick: () => handleRemoveHeader(index),
|
|
3695
3704
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3701,7 +3710,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3701
3710
|
] }, index)) })
|
|
3702
3711
|
] }),
|
|
3703
3712
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3704
|
-
|
|
3713
|
+
chunkYHAVW6OR_js.FormTextarea,
|
|
3705
3714
|
{
|
|
3706
3715
|
label: t("bodyLabel"),
|
|
3707
3716
|
value: body,
|
|
@@ -3712,7 +3721,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3712
3721
|
}
|
|
3713
3722
|
),
|
|
3714
3723
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3715
|
-
|
|
3724
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3716
3725
|
{
|
|
3717
3726
|
type: "number",
|
|
3718
3727
|
label: t("timeoutLabel"),
|
|
@@ -3743,7 +3752,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3743
3752
|
};
|
|
3744
3753
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3745
3754
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3746
|
-
|
|
3755
|
+
chunkYHAVW6OR_js.FormTextarea,
|
|
3747
3756
|
{
|
|
3748
3757
|
label: t("templateLabel"),
|
|
3749
3758
|
value: template,
|
|
@@ -3754,7 +3763,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3754
3763
|
}
|
|
3755
3764
|
),
|
|
3756
3765
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3757
|
-
|
|
3766
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3758
3767
|
{
|
|
3759
3768
|
type: "text",
|
|
3760
3769
|
label: t("outputVariableLabel"),
|
|
@@ -3783,7 +3792,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3783
3792
|
};
|
|
3784
3793
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3785
3794
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3786
|
-
|
|
3795
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3787
3796
|
{
|
|
3788
3797
|
type: "text",
|
|
3789
3798
|
label: t("iteratorVariableLabel"),
|
|
@@ -3793,7 +3802,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3793
3802
|
}
|
|
3794
3803
|
),
|
|
3795
3804
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3796
|
-
|
|
3805
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3797
3806
|
{
|
|
3798
3807
|
type: "number",
|
|
3799
3808
|
label: t("maxIterationsLabel"),
|
|
@@ -3824,7 +3833,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3824
3833
|
};
|
|
3825
3834
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3826
3835
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3827
|
-
|
|
3836
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3828
3837
|
{
|
|
3829
3838
|
type: "text",
|
|
3830
3839
|
label: t("sourceIdLabel"),
|
|
@@ -3834,7 +3843,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3834
3843
|
}
|
|
3835
3844
|
),
|
|
3836
3845
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3837
|
-
|
|
3846
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3838
3847
|
{
|
|
3839
3848
|
type: "number",
|
|
3840
3849
|
label: t("topKLabel"),
|
|
@@ -3845,7 +3854,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3845
3854
|
}
|
|
3846
3855
|
),
|
|
3847
3856
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3848
|
-
|
|
3857
|
+
chunkYHAVW6OR_js.FormInput,
|
|
3849
3858
|
{
|
|
3850
3859
|
type: "number",
|
|
3851
3860
|
label: t("similarityThresholdLabel"),
|
|
@@ -3876,7 +3885,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3876
3885
|
};
|
|
3877
3886
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3878
3887
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3879
|
-
|
|
3888
|
+
chunkYHAVW6OR_js.FormTextarea,
|
|
3880
3889
|
{
|
|
3881
3890
|
label: t("outputTemplateLabel"),
|
|
3882
3891
|
hint: t("outputTemplateHelp"),
|
|
@@ -4310,7 +4319,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4310
4319
|
}
|
|
4311
4320
|
),
|
|
4312
4321
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4313
|
-
|
|
4322
|
+
chunkYHAVW6OR_js.FormInput,
|
|
4314
4323
|
{
|
|
4315
4324
|
type: "text",
|
|
4316
4325
|
label: t("outputVariableLabel"),
|
|
@@ -4320,7 +4329,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4320
4329
|
}
|
|
4321
4330
|
),
|
|
4322
4331
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4323
|
-
|
|
4332
|
+
chunkYHAVW6OR_js.FormSelect,
|
|
4324
4333
|
{
|
|
4325
4334
|
label: t("aggregationModeLabel"),
|
|
4326
4335
|
value: aggregationMode,
|
|
@@ -4353,7 +4362,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4353
4362
|
};
|
|
4354
4363
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4355
4364
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4356
|
-
|
|
4365
|
+
chunkYHAVW6OR_js.FormSelect,
|
|
4357
4366
|
{
|
|
4358
4367
|
label: t("extractionModeLabel"),
|
|
4359
4368
|
value: extractionMode,
|
|
@@ -4362,7 +4371,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4362
4371
|
}
|
|
4363
4372
|
),
|
|
4364
4373
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4365
|
-
|
|
4374
|
+
chunkYHAVW6OR_js.FormInput,
|
|
4366
4375
|
{
|
|
4367
4376
|
type: "text",
|
|
4368
4377
|
label: t("outputVariableLabel"),
|
|
@@ -4539,7 +4548,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4539
4548
|
};
|
|
4540
4549
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4541
4550
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4542
|
-
|
|
4551
|
+
chunkYHAVW6OR_js.FormInput,
|
|
4543
4552
|
{
|
|
4544
4553
|
type: "text",
|
|
4545
4554
|
label: t("iteratorVariableLabel"),
|
|
@@ -4549,7 +4558,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4549
4558
|
}
|
|
4550
4559
|
),
|
|
4551
4560
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4552
|
-
|
|
4561
|
+
chunkYHAVW6OR_js.FormInput,
|
|
4553
4562
|
{
|
|
4554
4563
|
type: "text",
|
|
4555
4564
|
label: t("itemVariableLabel"),
|
|
@@ -4559,7 +4568,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4559
4568
|
}
|
|
4560
4569
|
),
|
|
4561
4570
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4562
|
-
|
|
4571
|
+
chunkYHAVW6OR_js.FormInput,
|
|
4563
4572
|
{
|
|
4564
4573
|
type: "text",
|
|
4565
4574
|
label: t("indexVariableLabel"),
|
|
@@ -5153,7 +5162,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5153
5162
|
};
|
|
5154
5163
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5155
5164
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5156
|
-
|
|
5165
|
+
chunkYHAVW6OR_js.FormInput,
|
|
5157
5166
|
{
|
|
5158
5167
|
type: "text",
|
|
5159
5168
|
label: translations("labelField"),
|
|
@@ -5163,7 +5172,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5163
5172
|
}
|
|
5164
5173
|
),
|
|
5165
5174
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5166
|
-
|
|
5175
|
+
chunkYHAVW6OR_js.FormTextarea,
|
|
5167
5176
|
{
|
|
5168
5177
|
label: translations("descriptionField"),
|
|
5169
5178
|
value: description,
|
|
@@ -5321,7 +5330,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5321
5330
|
};
|
|
5322
5331
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5323
5332
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5324
|
-
|
|
5333
|
+
chunkYHAVW6OR_js.FormInput,
|
|
5325
5334
|
{
|
|
5326
5335
|
type: "text",
|
|
5327
5336
|
label: t("nameLabel"),
|
|
@@ -5331,7 +5340,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5331
5340
|
}
|
|
5332
5341
|
),
|
|
5333
5342
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5334
|
-
|
|
5343
|
+
chunkYHAVW6OR_js.FormSelect,
|
|
5335
5344
|
{
|
|
5336
5345
|
label: t("providerTypeLabel"),
|
|
5337
5346
|
value: providerType,
|
|
@@ -5340,7 +5349,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5340
5349
|
}
|
|
5341
5350
|
),
|
|
5342
5351
|
showRegion && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5343
|
-
|
|
5352
|
+
chunkYHAVW6OR_js.FormSelect,
|
|
5344
5353
|
{
|
|
5345
5354
|
label: t("regionLabel"),
|
|
5346
5355
|
value: region,
|
|
@@ -5349,7 +5358,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5349
5358
|
}
|
|
5350
5359
|
),
|
|
5351
5360
|
showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5352
|
-
|
|
5361
|
+
chunkYHAVW6OR_js.FormInput,
|
|
5353
5362
|
{
|
|
5354
5363
|
type: "text",
|
|
5355
5364
|
label: t("endpointLabel"),
|
|
@@ -5359,7 +5368,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5359
5368
|
}
|
|
5360
5369
|
),
|
|
5361
5370
|
showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5362
|
-
|
|
5371
|
+
chunkYHAVW6OR_js.FormInput,
|
|
5363
5372
|
{
|
|
5364
5373
|
type: "password",
|
|
5365
5374
|
label: t("apiKeyLabel"),
|
|
@@ -5369,7 +5378,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5369
5378
|
}
|
|
5370
5379
|
),
|
|
5371
5380
|
showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5372
|
-
|
|
5381
|
+
chunkYHAVW6OR_js.FormInput,
|
|
5373
5382
|
{
|
|
5374
5383
|
type: "text",
|
|
5375
5384
|
label: t("credentialRefLabel"),
|
|
@@ -5513,7 +5522,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
5513
5522
|
}
|
|
5514
5523
|
};
|
|
5515
5524
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5516
|
-
|
|
5525
|
+
chunkYHAVW6OR_js.GlassModal,
|
|
5517
5526
|
{
|
|
5518
5527
|
open,
|
|
5519
5528
|
onClose: closeModal,
|
|
@@ -5573,7 +5582,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
5573
5582
|
}
|
|
5574
5583
|
];
|
|
5575
5584
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5576
|
-
|
|
5585
|
+
chunkYHAVW6OR_js.ContextMenu,
|
|
5577
5586
|
{
|
|
5578
5587
|
position,
|
|
5579
5588
|
onClose,
|
|
@@ -5630,7 +5639,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
5630
5639
|
}
|
|
5631
5640
|
];
|
|
5632
5641
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5633
|
-
|
|
5642
|
+
chunkYHAVW6OR_js.ContextMenu,
|
|
5634
5643
|
{
|
|
5635
5644
|
position,
|
|
5636
5645
|
onClose,
|
|
@@ -5777,7 +5786,7 @@ function SelectionContextMenu({
|
|
|
5777
5786
|
}
|
|
5778
5787
|
];
|
|
5779
5788
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5780
|
-
|
|
5789
|
+
chunkYHAVW6OR_js.ContextMenu,
|
|
5781
5790
|
{
|
|
5782
5791
|
position,
|
|
5783
5792
|
onClose,
|
|
@@ -7666,5 +7675,5 @@ exports.useModalStore = useModalStore;
|
|
|
7666
7675
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
7667
7676
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
7668
7677
|
exports.useWorkflowStore = useWorkflowStore;
|
|
7669
|
-
//# sourceMappingURL=chunk-
|
|
7670
|
-
//# sourceMappingURL=chunk-
|
|
7678
|
+
//# sourceMappingURL=chunk-D6MUVAMK.js.map
|
|
7679
|
+
//# sourceMappingURL=chunk-D6MUVAMK.js.map
|