@datatechsolutions/ui 2.11.33 → 2.11.35

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.
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkLH2JDCO3_js = require('./chunk-LH2JDCO3.js');
4
+ var chunkKEUOCEOO_js = require('./chunk-KEUOCEOO.js');
5
+ var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
5
6
  var chunkP4YYEM4B_js = require('./chunk-P4YYEM4B.js');
6
7
  var chunkPWBWP5FJ_js = require('./chunk-PWBWP5FJ.js');
7
- var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
8
8
  var react = require('react');
9
9
  var react$1 = require('@xyflow/react');
10
10
  require('@xyflow/react/dist/style.css');
@@ -670,6 +670,15 @@ function ConditionalEdgeComponent({
670
670
  }) {
671
671
  const [isHovered, setIsHovered] = react.useState(false);
672
672
  const [showInsertPopup, setShowInsertPopup] = react.useState(false);
673
+ const hoverTimeout = react.useRef(null);
674
+ const handleMouseEnter = react.useCallback(() => {
675
+ if (hoverTimeout.current) clearTimeout(hoverTimeout.current);
676
+ hoverTimeout.current = null;
677
+ setIsHovered(true);
678
+ }, []);
679
+ const handleMouseLeave = react.useCallback(() => {
680
+ hoverTimeout.current = setTimeout(() => setIsHovered(false), 100);
681
+ }, []);
673
682
  const { setEdges } = react$1.useReactFlow();
674
683
  const [edgePath, labelX, labelY] = react$1.getBezierPath({
675
684
  sourceX,
@@ -700,68 +709,77 @@ function ConditionalEdgeComponent({
700
709
  const hasLabel = Boolean(label && labelStyle);
701
710
  const insertButtonOffset = hasLabel ? -20 : 0;
702
711
  const deleteButtonOffset = hasLabel ? showInsertPopup ? -40 : -40 : showInsertPopup ? -20 : -20;
703
- return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
704
- /* @__PURE__ */ jsxRuntime.jsx(
705
- "path",
706
- {
707
- d: edgePath,
708
- fill: "none",
709
- stroke: "transparent",
710
- strokeWidth: 20,
711
- onMouseEnter: () => setIsHovered(true),
712
- onMouseLeave: () => setIsHovered(false),
713
- className: "react-flow__edge-interaction"
714
- }
715
- ),
716
- /* @__PURE__ */ jsxRuntime.jsx(react$1.BaseEdge, { id, path: edgePath, markerEnd, style }),
717
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.EdgeLabelRenderer, { children: [
718
- hasLabel && labelStyle && /* @__PURE__ */ jsxRuntime.jsx(
719
- "div",
720
- {
721
- 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}`,
722
- style: {
723
- transform: `translate(-50%, -50%) translate(${labelX}px,${labelY}px)`
724
- },
725
- "data-testid": `edge-label-${id}`,
726
- children: label
727
- }
728
- ),
729
- showControls && !showInsertPopup && /* @__PURE__ */ jsxRuntime.jsx(
730
- "button",
731
- {
732
- type: "button",
733
- 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",
734
- style: {
735
- transform: `translate(-50%, -50%) translate(${labelX}px,${labelY + insertButtonOffset}px)`
736
- },
737
- onClick: handleInsertClick,
738
- "aria-label": "Insert node",
739
- children: /* @__PURE__ */ jsxRuntime.jsx(solid.PlusIcon, { className: "h-3 w-3 text-teal-500 dark:text-teal-400" })
740
- }
741
- ),
742
- showInsertPopup && /* @__PURE__ */ jsxRuntime.jsx(
743
- EdgeInsertPopup,
744
- {
745
- position: { x: labelX, y: labelY + insertButtonOffset },
746
- onSelect: handleInsertNodeSelect,
747
- onClose: () => setShowInsertPopup(false)
748
- }
749
- ),
750
- showControls && /* @__PURE__ */ jsxRuntime.jsx(
751
- "button",
752
- {
753
- type: "button",
754
- 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",
755
- style: {
756
- transform: `translate(-50%, -50%) translate(${labelX}px,${labelY + deleteButtonOffset}px)`
757
- },
758
- onClick: handleDeleteEdge,
759
- "aria-label": "Delete connection",
760
- children: /* @__PURE__ */ jsxRuntime.jsx(solid.XMarkIcon, { className: "h-3 w-3 text-red-500 dark:text-red-400" })
761
- }
762
- )
763
- ] })
764
- ] });
712
+ return /* @__PURE__ */ jsxRuntime.jsxs(
713
+ "g",
714
+ {
715
+ onMouseEnter: handleMouseEnter,
716
+ onMouseLeave: handleMouseLeave,
717
+ children: [
718
+ /* @__PURE__ */ jsxRuntime.jsx(
719
+ "path",
720
+ {
721
+ d: edgePath,
722
+ fill: "none",
723
+ stroke: "transparent",
724
+ strokeWidth: 20,
725
+ className: "react-flow__edge-interaction"
726
+ }
727
+ ),
728
+ /* @__PURE__ */ jsxRuntime.jsx(react$1.BaseEdge, { id, path: edgePath, markerEnd, style }),
729
+ /* @__PURE__ */ jsxRuntime.jsxs(react$1.EdgeLabelRenderer, { children: [
730
+ hasLabel && labelStyle && /* @__PURE__ */ jsxRuntime.jsx(
731
+ "div",
732
+ {
733
+ 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}`,
734
+ style: {
735
+ transform: `translate(-50%, -50%) translate(${labelX}px,${labelY}px)`
736
+ },
737
+ "data-testid": `edge-label-${id}`,
738
+ children: label
739
+ }
740
+ ),
741
+ showControls && !showInsertPopup && /* @__PURE__ */ jsxRuntime.jsx(
742
+ "button",
743
+ {
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-all hover:scale-110 hover:bg-teal-50 dark:border-teal-600 dark:bg-gray-800 dark:hover:bg-teal-900/30",
746
+ style: {
747
+ transform: `translate(-50%, -50%) translate(${labelX}px,${labelY + insertButtonOffset}px)`
748
+ },
749
+ onClick: handleInsertClick,
750
+ onMouseEnter: handleMouseEnter,
751
+ onMouseLeave: handleMouseLeave,
752
+ "aria-label": "Insert node",
753
+ children: /* @__PURE__ */ jsxRuntime.jsx(solid.PlusIcon, { className: "h-3 w-3 text-teal-500 dark:text-teal-400" })
754
+ }
755
+ ),
756
+ showInsertPopup && /* @__PURE__ */ jsxRuntime.jsx(
757
+ EdgeInsertPopup,
758
+ {
759
+ position: { x: labelX, y: labelY + insertButtonOffset },
760
+ onSelect: handleInsertNodeSelect,
761
+ onClose: () => setShowInsertPopup(false)
762
+ }
763
+ ),
764
+ showControls && /* @__PURE__ */ jsxRuntime.jsx(
765
+ "button",
766
+ {
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-all hover:scale-110 hover:bg-red-50 dark:border-red-600 dark:bg-gray-800 dark:hover:bg-red-900/30",
769
+ style: {
770
+ transform: `translate(-50%, -50%) translate(${labelX}px,${labelY + deleteButtonOffset}px)`
771
+ },
772
+ onClick: handleDeleteEdge,
773
+ onMouseEnter: handleMouseEnter,
774
+ onMouseLeave: handleMouseLeave,
775
+ "aria-label": "Delete connection",
776
+ children: /* @__PURE__ */ jsxRuntime.jsx(solid.XMarkIcon, { className: "h-3 w-3 text-red-500 dark:text-red-400" })
777
+ }
778
+ )
779
+ ] })
780
+ ]
781
+ }
782
+ );
765
783
  }
766
784
  var ConditionalEdge = react.memo(ConditionalEdgeComponent);
767
785
  function CustomConnectionLine({
@@ -1638,7 +1656,7 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
1638
1656
  event.stopPropagation();
1639
1657
  },
1640
1658
  children: /* @__PURE__ */ jsxRuntime.jsx(
1641
- chunkLH2JDCO3_js.ToggleSwitch,
1659
+ chunkKEUOCEOO_js.ToggleSwitch,
1642
1660
  {
1643
1661
  checked: Boolean(agentTool.enabled),
1644
1662
  onChange: () => data.onToggle?.(agentTool),
@@ -1746,7 +1764,7 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
1746
1764
  event.preventDefault();
1747
1765
  },
1748
1766
  children: /* @__PURE__ */ jsxRuntime.jsx(
1749
- chunkLH2JDCO3_js.ToggleSwitch,
1767
+ chunkKEUOCEOO_js.ToggleSwitch,
1750
1768
  {
1751
1769
  checked: Boolean(tool.enabled),
1752
1770
  onChange: () => onToggle(tool),
@@ -1898,7 +1916,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
1898
1916
  event.preventDefault();
1899
1917
  },
1900
1918
  children: /* @__PURE__ */ jsxRuntime.jsx(
1901
- chunkLH2JDCO3_js.ToggleSwitch,
1919
+ chunkKEUOCEOO_js.ToggleSwitch,
1902
1920
  {
1903
1921
  checked: Boolean(rule.enabled),
1904
1922
  onChange: () => onToggle(rule),
@@ -3190,8 +3208,8 @@ function ConfigFormActions({
3190
3208
  saveDisabled = false
3191
3209
  }) {
3192
3210
  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(chunkLH2JDCO3_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
3194
- /* @__PURE__ */ jsxRuntime.jsx(chunkLH2JDCO3_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
3211
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKEUOCEOO_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
3212
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKEUOCEOO_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
3195
3213
  ] });
3196
3214
  }
3197
3215
  var COLOR_CLASSES = {
@@ -3438,7 +3456,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3438
3456
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
3439
3457
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
3440
3458
  /* @__PURE__ */ jsxRuntime.jsx(
3441
- chunkLH2JDCO3_js.Button,
3459
+ chunkKEUOCEOO_js.Button,
3442
3460
  {
3443
3461
  type: "button",
3444
3462
  onClick: handleAddCondition,
@@ -3449,7 +3467,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3449
3467
  /* @__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
3468
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
3451
3469
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
3452
- chunkLH2JDCO3_js.FormInput,
3470
+ chunkKEUOCEOO_js.FormInput,
3453
3471
  {
3454
3472
  type: "text",
3455
3473
  label: t("variableLabel"),
@@ -3460,7 +3478,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3460
3478
  }
3461
3479
  ) }),
3462
3480
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
3463
- chunkLH2JDCO3_js.FormSelect,
3481
+ chunkKEUOCEOO_js.FormSelect,
3464
3482
  {
3465
3483
  label: t("operatorLabel"),
3466
3484
  value: condition.operator,
@@ -3470,7 +3488,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3470
3488
  }
3471
3489
  ) }),
3472
3490
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
3473
- chunkLH2JDCO3_js.FormInput,
3491
+ chunkKEUOCEOO_js.FormInput,
3474
3492
  {
3475
3493
  type: "text",
3476
3494
  label: t("valueLabel"),
@@ -3482,7 +3500,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3482
3500
  ) })
3483
3501
  ] }),
3484
3502
  conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
3485
- chunkLH2JDCO3_js.IconButton,
3503
+ chunkKEUOCEOO_js.IconButton,
3486
3504
  {
3487
3505
  onClick: () => handleRemoveCondition(index),
3488
3506
  icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
@@ -3637,7 +3655,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3637
3655
  };
3638
3656
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3639
3657
  /* @__PURE__ */ jsxRuntime.jsx(
3640
- chunkLH2JDCO3_js.FormSelect,
3658
+ chunkKEUOCEOO_js.FormSelect,
3641
3659
  {
3642
3660
  label: t("methodLabel"),
3643
3661
  value: method,
@@ -3646,7 +3664,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3646
3664
  }
3647
3665
  ),
3648
3666
  /* @__PURE__ */ jsxRuntime.jsx(
3649
- chunkLH2JDCO3_js.FormInput,
3667
+ chunkKEUOCEOO_js.FormInput,
3650
3668
  {
3651
3669
  type: "text",
3652
3670
  label: t("urlLabel"),
@@ -3659,7 +3677,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3659
3677
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
3660
3678
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
3661
3679
  /* @__PURE__ */ jsxRuntime.jsx(
3662
- chunkLH2JDCO3_js.Button,
3680
+ chunkKEUOCEOO_js.Button,
3663
3681
  {
3664
3682
  type: "button",
3665
3683
  onClick: handleAddHeader,
@@ -3669,7 +3687,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3669
3687
  ] }),
3670
3688
  /* @__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
3689
  /* @__PURE__ */ jsxRuntime.jsx(
3672
- chunkLH2JDCO3_js.FormInput,
3690
+ chunkKEUOCEOO_js.FormInput,
3673
3691
  {
3674
3692
  type: "text",
3675
3693
  value: entry.key,
@@ -3679,7 +3697,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3679
3697
  }
3680
3698
  ),
3681
3699
  /* @__PURE__ */ jsxRuntime.jsx(
3682
- chunkLH2JDCO3_js.FormInput,
3700
+ chunkKEUOCEOO_js.FormInput,
3683
3701
  {
3684
3702
  type: "text",
3685
3703
  value: entry.value,
@@ -3689,7 +3707,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3689
3707
  }
3690
3708
  ),
3691
3709
  /* @__PURE__ */ jsxRuntime.jsx(
3692
- chunkLH2JDCO3_js.IconButton,
3710
+ chunkKEUOCEOO_js.IconButton,
3693
3711
  {
3694
3712
  onClick: () => handleRemoveHeader(index),
3695
3713
  icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
@@ -3701,7 +3719,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3701
3719
  ] }, index)) })
3702
3720
  ] }),
3703
3721
  method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
3704
- chunkLH2JDCO3_js.FormTextarea,
3722
+ chunkKEUOCEOO_js.FormTextarea,
3705
3723
  {
3706
3724
  label: t("bodyLabel"),
3707
3725
  value: body,
@@ -3712,7 +3730,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3712
3730
  }
3713
3731
  ),
3714
3732
  /* @__PURE__ */ jsxRuntime.jsx(
3715
- chunkLH2JDCO3_js.FormInput,
3733
+ chunkKEUOCEOO_js.FormInput,
3716
3734
  {
3717
3735
  type: "number",
3718
3736
  label: t("timeoutLabel"),
@@ -3743,7 +3761,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
3743
3761
  };
3744
3762
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3745
3763
  /* @__PURE__ */ jsxRuntime.jsx(
3746
- chunkLH2JDCO3_js.FormTextarea,
3764
+ chunkKEUOCEOO_js.FormTextarea,
3747
3765
  {
3748
3766
  label: t("templateLabel"),
3749
3767
  value: template,
@@ -3754,7 +3772,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
3754
3772
  }
3755
3773
  ),
3756
3774
  /* @__PURE__ */ jsxRuntime.jsx(
3757
- chunkLH2JDCO3_js.FormInput,
3775
+ chunkKEUOCEOO_js.FormInput,
3758
3776
  {
3759
3777
  type: "text",
3760
3778
  label: t("outputVariableLabel"),
@@ -3783,7 +3801,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
3783
3801
  };
3784
3802
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3785
3803
  /* @__PURE__ */ jsxRuntime.jsx(
3786
- chunkLH2JDCO3_js.FormInput,
3804
+ chunkKEUOCEOO_js.FormInput,
3787
3805
  {
3788
3806
  type: "text",
3789
3807
  label: t("iteratorVariableLabel"),
@@ -3793,7 +3811,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
3793
3811
  }
3794
3812
  ),
3795
3813
  /* @__PURE__ */ jsxRuntime.jsx(
3796
- chunkLH2JDCO3_js.FormInput,
3814
+ chunkKEUOCEOO_js.FormInput,
3797
3815
  {
3798
3816
  type: "number",
3799
3817
  label: t("maxIterationsLabel"),
@@ -3824,7 +3842,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
3824
3842
  };
3825
3843
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3826
3844
  /* @__PURE__ */ jsxRuntime.jsx(
3827
- chunkLH2JDCO3_js.FormInput,
3845
+ chunkKEUOCEOO_js.FormInput,
3828
3846
  {
3829
3847
  type: "text",
3830
3848
  label: t("sourceIdLabel"),
@@ -3834,7 +3852,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
3834
3852
  }
3835
3853
  ),
3836
3854
  /* @__PURE__ */ jsxRuntime.jsx(
3837
- chunkLH2JDCO3_js.FormInput,
3855
+ chunkKEUOCEOO_js.FormInput,
3838
3856
  {
3839
3857
  type: "number",
3840
3858
  label: t("topKLabel"),
@@ -3845,7 +3863,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
3845
3863
  }
3846
3864
  ),
3847
3865
  /* @__PURE__ */ jsxRuntime.jsx(
3848
- chunkLH2JDCO3_js.FormInput,
3866
+ chunkKEUOCEOO_js.FormInput,
3849
3867
  {
3850
3868
  type: "number",
3851
3869
  label: t("similarityThresholdLabel"),
@@ -3876,7 +3894,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
3876
3894
  };
3877
3895
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3878
3896
  /* @__PURE__ */ jsxRuntime.jsx(
3879
- chunkLH2JDCO3_js.FormTextarea,
3897
+ chunkKEUOCEOO_js.FormTextarea,
3880
3898
  {
3881
3899
  label: t("outputTemplateLabel"),
3882
3900
  hint: t("outputTemplateHelp"),
@@ -4310,7 +4328,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
4310
4328
  }
4311
4329
  ),
4312
4330
  /* @__PURE__ */ jsxRuntime.jsx(
4313
- chunkLH2JDCO3_js.FormInput,
4331
+ chunkKEUOCEOO_js.FormInput,
4314
4332
  {
4315
4333
  type: "text",
4316
4334
  label: t("outputVariableLabel"),
@@ -4320,7 +4338,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
4320
4338
  }
4321
4339
  ),
4322
4340
  /* @__PURE__ */ jsxRuntime.jsx(
4323
- chunkLH2JDCO3_js.FormSelect,
4341
+ chunkKEUOCEOO_js.FormSelect,
4324
4342
  {
4325
4343
  label: t("aggregationModeLabel"),
4326
4344
  value: aggregationMode,
@@ -4353,7 +4371,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
4353
4371
  };
4354
4372
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4355
4373
  /* @__PURE__ */ jsxRuntime.jsx(
4356
- chunkLH2JDCO3_js.FormSelect,
4374
+ chunkKEUOCEOO_js.FormSelect,
4357
4375
  {
4358
4376
  label: t("extractionModeLabel"),
4359
4377
  value: extractionMode,
@@ -4362,7 +4380,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
4362
4380
  }
4363
4381
  ),
4364
4382
  /* @__PURE__ */ jsxRuntime.jsx(
4365
- chunkLH2JDCO3_js.FormInput,
4383
+ chunkKEUOCEOO_js.FormInput,
4366
4384
  {
4367
4385
  type: "text",
4368
4386
  label: t("outputVariableLabel"),
@@ -4539,7 +4557,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
4539
4557
  };
4540
4558
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4541
4559
  /* @__PURE__ */ jsxRuntime.jsx(
4542
- chunkLH2JDCO3_js.FormInput,
4560
+ chunkKEUOCEOO_js.FormInput,
4543
4561
  {
4544
4562
  type: "text",
4545
4563
  label: t("iteratorVariableLabel"),
@@ -4549,7 +4567,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
4549
4567
  }
4550
4568
  ),
4551
4569
  /* @__PURE__ */ jsxRuntime.jsx(
4552
- chunkLH2JDCO3_js.FormInput,
4570
+ chunkKEUOCEOO_js.FormInput,
4553
4571
  {
4554
4572
  type: "text",
4555
4573
  label: t("itemVariableLabel"),
@@ -4559,7 +4577,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
4559
4577
  }
4560
4578
  ),
4561
4579
  /* @__PURE__ */ jsxRuntime.jsx(
4562
- chunkLH2JDCO3_js.FormInput,
4580
+ chunkKEUOCEOO_js.FormInput,
4563
4581
  {
4564
4582
  type: "text",
4565
4583
  label: t("indexVariableLabel"),
@@ -5153,7 +5171,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
5153
5171
  };
5154
5172
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
5155
5173
  /* @__PURE__ */ jsxRuntime.jsx(
5156
- chunkLH2JDCO3_js.FormInput,
5174
+ chunkKEUOCEOO_js.FormInput,
5157
5175
  {
5158
5176
  type: "text",
5159
5177
  label: translations("labelField"),
@@ -5163,7 +5181,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
5163
5181
  }
5164
5182
  ),
5165
5183
  /* @__PURE__ */ jsxRuntime.jsx(
5166
- chunkLH2JDCO3_js.FormTextarea,
5184
+ chunkKEUOCEOO_js.FormTextarea,
5167
5185
  {
5168
5186
  label: translations("descriptionField"),
5169
5187
  value: description,
@@ -5321,7 +5339,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5321
5339
  };
5322
5340
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
5323
5341
  /* @__PURE__ */ jsxRuntime.jsx(
5324
- chunkLH2JDCO3_js.FormInput,
5342
+ chunkKEUOCEOO_js.FormInput,
5325
5343
  {
5326
5344
  type: "text",
5327
5345
  label: t("nameLabel"),
@@ -5331,7 +5349,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5331
5349
  }
5332
5350
  ),
5333
5351
  /* @__PURE__ */ jsxRuntime.jsx(
5334
- chunkLH2JDCO3_js.FormSelect,
5352
+ chunkKEUOCEOO_js.FormSelect,
5335
5353
  {
5336
5354
  label: t("providerTypeLabel"),
5337
5355
  value: providerType,
@@ -5340,7 +5358,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5340
5358
  }
5341
5359
  ),
5342
5360
  showRegion && /* @__PURE__ */ jsxRuntime.jsx(
5343
- chunkLH2JDCO3_js.FormSelect,
5361
+ chunkKEUOCEOO_js.FormSelect,
5344
5362
  {
5345
5363
  label: t("regionLabel"),
5346
5364
  value: region,
@@ -5349,7 +5367,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5349
5367
  }
5350
5368
  ),
5351
5369
  showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
5352
- chunkLH2JDCO3_js.FormInput,
5370
+ chunkKEUOCEOO_js.FormInput,
5353
5371
  {
5354
5372
  type: "text",
5355
5373
  label: t("endpointLabel"),
@@ -5359,7 +5377,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5359
5377
  }
5360
5378
  ),
5361
5379
  showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
5362
- chunkLH2JDCO3_js.FormInput,
5380
+ chunkKEUOCEOO_js.FormInput,
5363
5381
  {
5364
5382
  type: "password",
5365
5383
  label: t("apiKeyLabel"),
@@ -5369,7 +5387,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5369
5387
  }
5370
5388
  ),
5371
5389
  showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
5372
- chunkLH2JDCO3_js.FormInput,
5390
+ chunkKEUOCEOO_js.FormInput,
5373
5391
  {
5374
5392
  type: "text",
5375
5393
  label: t("credentialRefLabel"),
@@ -5513,7 +5531,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
5513
5531
  }
5514
5532
  };
5515
5533
  return /* @__PURE__ */ jsxRuntime.jsx(
5516
- chunkLH2JDCO3_js.GlassModal,
5534
+ chunkKEUOCEOO_js.GlassModal,
5517
5535
  {
5518
5536
  open,
5519
5537
  onClose: closeModal,
@@ -5573,7 +5591,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
5573
5591
  }
5574
5592
  ];
5575
5593
  return /* @__PURE__ */ jsxRuntime.jsx(
5576
- chunkLH2JDCO3_js.ContextMenu,
5594
+ chunkKEUOCEOO_js.ContextMenu,
5577
5595
  {
5578
5596
  position,
5579
5597
  onClose,
@@ -5630,7 +5648,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
5630
5648
  }
5631
5649
  ];
5632
5650
  return /* @__PURE__ */ jsxRuntime.jsx(
5633
- chunkLH2JDCO3_js.ContextMenu,
5651
+ chunkKEUOCEOO_js.ContextMenu,
5634
5652
  {
5635
5653
  position,
5636
5654
  onClose,
@@ -5777,7 +5795,7 @@ function SelectionContextMenu({
5777
5795
  }
5778
5796
  ];
5779
5797
  return /* @__PURE__ */ jsxRuntime.jsx(
5780
- chunkLH2JDCO3_js.ContextMenu,
5798
+ chunkKEUOCEOO_js.ContextMenu,
5781
5799
  {
5782
5800
  position,
5783
5801
  onClose,
@@ -7666,5 +7684,5 @@ exports.useModalStore = useModalStore;
7666
7684
  exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
7667
7685
  exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
7668
7686
  exports.useWorkflowStore = useWorkflowStore;
7669
- //# sourceMappingURL=chunk-HSUB5MTJ.js.map
7670
- //# sourceMappingURL=chunk-HSUB5MTJ.js.map
7687
+ //# sourceMappingURL=chunk-BXVUUI2B.js.map
7688
+ //# sourceMappingURL=chunk-BXVUUI2B.js.map