@datatechsolutions/ui 2.11.21 → 2.11.22

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 chunk6N5UGKD7_js = require('./chunk-6N5UGKD7.js');
5
- var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
4
+ var chunk5WFBHIM5_js = require('./chunk-5WFBHIM5.js');
6
5
  var chunkP4YYEM4B_js = require('./chunk-P4YYEM4B.js');
7
6
  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');
@@ -3154,8 +3154,8 @@ function ConfigFormActions({
3154
3154
  saveDisabled = false
3155
3155
  }) {
3156
3156
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
3157
- /* @__PURE__ */ jsxRuntime.jsx(chunk6N5UGKD7_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
3158
- /* @__PURE__ */ jsxRuntime.jsx(chunk6N5UGKD7_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
3157
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5WFBHIM5_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
3158
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5WFBHIM5_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
3159
3159
  ] });
3160
3160
  }
3161
3161
  var COLOR_CLASSES = {
@@ -3402,7 +3402,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3402
3402
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
3403
3403
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
3404
3404
  /* @__PURE__ */ jsxRuntime.jsx(
3405
- chunk6N5UGKD7_js.Button,
3405
+ chunk5WFBHIM5_js.Button,
3406
3406
  {
3407
3407
  type: "button",
3408
3408
  onClick: handleAddCondition,
@@ -3413,7 +3413,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3413
3413
  /* @__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: [
3414
3414
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
3415
3415
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
3416
- chunk6N5UGKD7_js.FormInput,
3416
+ chunk5WFBHIM5_js.FormInput,
3417
3417
  {
3418
3418
  type: "text",
3419
3419
  label: t("variableLabel"),
@@ -3424,7 +3424,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3424
3424
  }
3425
3425
  ) }),
3426
3426
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
3427
- chunk6N5UGKD7_js.FormSelect,
3427
+ chunk5WFBHIM5_js.FormSelect,
3428
3428
  {
3429
3429
  label: t("operatorLabel"),
3430
3430
  value: condition.operator,
@@ -3434,7 +3434,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3434
3434
  }
3435
3435
  ) }),
3436
3436
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
3437
- chunk6N5UGKD7_js.FormInput,
3437
+ chunk5WFBHIM5_js.FormInput,
3438
3438
  {
3439
3439
  type: "text",
3440
3440
  label: t("valueLabel"),
@@ -3446,7 +3446,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
3446
3446
  ) })
3447
3447
  ] }),
3448
3448
  conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
3449
- chunk6N5UGKD7_js.IconButton,
3449
+ chunk5WFBHIM5_js.IconButton,
3450
3450
  {
3451
3451
  onClick: () => handleRemoveCondition(index),
3452
3452
  icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
@@ -3601,7 +3601,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3601
3601
  };
3602
3602
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3603
3603
  /* @__PURE__ */ jsxRuntime.jsx(
3604
- chunk6N5UGKD7_js.FormSelect,
3604
+ chunk5WFBHIM5_js.FormSelect,
3605
3605
  {
3606
3606
  label: t("methodLabel"),
3607
3607
  value: method,
@@ -3610,7 +3610,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3610
3610
  }
3611
3611
  ),
3612
3612
  /* @__PURE__ */ jsxRuntime.jsx(
3613
- chunk6N5UGKD7_js.FormInput,
3613
+ chunk5WFBHIM5_js.FormInput,
3614
3614
  {
3615
3615
  type: "text",
3616
3616
  label: t("urlLabel"),
@@ -3623,7 +3623,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3623
3623
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
3624
3624
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
3625
3625
  /* @__PURE__ */ jsxRuntime.jsx(
3626
- chunk6N5UGKD7_js.Button,
3626
+ chunk5WFBHIM5_js.Button,
3627
3627
  {
3628
3628
  type: "button",
3629
3629
  onClick: handleAddHeader,
@@ -3633,7 +3633,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3633
3633
  ] }),
3634
3634
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
3635
3635
  /* @__PURE__ */ jsxRuntime.jsx(
3636
- chunk6N5UGKD7_js.FormInput,
3636
+ chunk5WFBHIM5_js.FormInput,
3637
3637
  {
3638
3638
  type: "text",
3639
3639
  value: entry.key,
@@ -3643,7 +3643,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3643
3643
  }
3644
3644
  ),
3645
3645
  /* @__PURE__ */ jsxRuntime.jsx(
3646
- chunk6N5UGKD7_js.FormInput,
3646
+ chunk5WFBHIM5_js.FormInput,
3647
3647
  {
3648
3648
  type: "text",
3649
3649
  value: entry.value,
@@ -3653,7 +3653,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3653
3653
  }
3654
3654
  ),
3655
3655
  /* @__PURE__ */ jsxRuntime.jsx(
3656
- chunk6N5UGKD7_js.IconButton,
3656
+ chunk5WFBHIM5_js.IconButton,
3657
3657
  {
3658
3658
  onClick: () => handleRemoveHeader(index),
3659
3659
  icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
@@ -3665,7 +3665,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3665
3665
  ] }, index)) })
3666
3666
  ] }),
3667
3667
  method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
3668
- chunk6N5UGKD7_js.FormTextarea,
3668
+ chunk5WFBHIM5_js.FormTextarea,
3669
3669
  {
3670
3670
  label: t("bodyLabel"),
3671
3671
  value: body,
@@ -3676,7 +3676,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
3676
3676
  }
3677
3677
  ),
3678
3678
  /* @__PURE__ */ jsxRuntime.jsx(
3679
- chunk6N5UGKD7_js.FormInput,
3679
+ chunk5WFBHIM5_js.FormInput,
3680
3680
  {
3681
3681
  type: "number",
3682
3682
  label: t("timeoutLabel"),
@@ -3707,7 +3707,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
3707
3707
  };
3708
3708
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3709
3709
  /* @__PURE__ */ jsxRuntime.jsx(
3710
- chunk6N5UGKD7_js.FormTextarea,
3710
+ chunk5WFBHIM5_js.FormTextarea,
3711
3711
  {
3712
3712
  label: t("templateLabel"),
3713
3713
  value: template,
@@ -3718,7 +3718,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
3718
3718
  }
3719
3719
  ),
3720
3720
  /* @__PURE__ */ jsxRuntime.jsx(
3721
- chunk6N5UGKD7_js.FormInput,
3721
+ chunk5WFBHIM5_js.FormInput,
3722
3722
  {
3723
3723
  type: "text",
3724
3724
  label: t("outputVariableLabel"),
@@ -3747,7 +3747,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
3747
3747
  };
3748
3748
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3749
3749
  /* @__PURE__ */ jsxRuntime.jsx(
3750
- chunk6N5UGKD7_js.FormInput,
3750
+ chunk5WFBHIM5_js.FormInput,
3751
3751
  {
3752
3752
  type: "text",
3753
3753
  label: t("iteratorVariableLabel"),
@@ -3757,7 +3757,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
3757
3757
  }
3758
3758
  ),
3759
3759
  /* @__PURE__ */ jsxRuntime.jsx(
3760
- chunk6N5UGKD7_js.FormInput,
3760
+ chunk5WFBHIM5_js.FormInput,
3761
3761
  {
3762
3762
  type: "number",
3763
3763
  label: t("maxIterationsLabel"),
@@ -3788,7 +3788,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
3788
3788
  };
3789
3789
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3790
3790
  /* @__PURE__ */ jsxRuntime.jsx(
3791
- chunk6N5UGKD7_js.FormInput,
3791
+ chunk5WFBHIM5_js.FormInput,
3792
3792
  {
3793
3793
  type: "text",
3794
3794
  label: t("sourceIdLabel"),
@@ -3798,7 +3798,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
3798
3798
  }
3799
3799
  ),
3800
3800
  /* @__PURE__ */ jsxRuntime.jsx(
3801
- chunk6N5UGKD7_js.FormInput,
3801
+ chunk5WFBHIM5_js.FormInput,
3802
3802
  {
3803
3803
  type: "number",
3804
3804
  label: t("topKLabel"),
@@ -3809,7 +3809,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
3809
3809
  }
3810
3810
  ),
3811
3811
  /* @__PURE__ */ jsxRuntime.jsx(
3812
- chunk6N5UGKD7_js.FormInput,
3812
+ chunk5WFBHIM5_js.FormInput,
3813
3813
  {
3814
3814
  type: "number",
3815
3815
  label: t("similarityThresholdLabel"),
@@ -3840,7 +3840,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
3840
3840
  };
3841
3841
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
3842
3842
  /* @__PURE__ */ jsxRuntime.jsx(
3843
- chunk6N5UGKD7_js.FormTextarea,
3843
+ chunk5WFBHIM5_js.FormTextarea,
3844
3844
  {
3845
3845
  label: t("outputTemplateLabel"),
3846
3846
  hint: t("outputTemplateHelp"),
@@ -4274,7 +4274,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
4274
4274
  }
4275
4275
  ),
4276
4276
  /* @__PURE__ */ jsxRuntime.jsx(
4277
- chunk6N5UGKD7_js.FormInput,
4277
+ chunk5WFBHIM5_js.FormInput,
4278
4278
  {
4279
4279
  type: "text",
4280
4280
  label: t("outputVariableLabel"),
@@ -4284,7 +4284,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
4284
4284
  }
4285
4285
  ),
4286
4286
  /* @__PURE__ */ jsxRuntime.jsx(
4287
- chunk6N5UGKD7_js.FormSelect,
4287
+ chunk5WFBHIM5_js.FormSelect,
4288
4288
  {
4289
4289
  label: t("aggregationModeLabel"),
4290
4290
  value: aggregationMode,
@@ -4317,7 +4317,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
4317
4317
  };
4318
4318
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4319
4319
  /* @__PURE__ */ jsxRuntime.jsx(
4320
- chunk6N5UGKD7_js.FormSelect,
4320
+ chunk5WFBHIM5_js.FormSelect,
4321
4321
  {
4322
4322
  label: t("extractionModeLabel"),
4323
4323
  value: extractionMode,
@@ -4326,7 +4326,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
4326
4326
  }
4327
4327
  ),
4328
4328
  /* @__PURE__ */ jsxRuntime.jsx(
4329
- chunk6N5UGKD7_js.FormInput,
4329
+ chunk5WFBHIM5_js.FormInput,
4330
4330
  {
4331
4331
  type: "text",
4332
4332
  label: t("outputVariableLabel"),
@@ -4503,7 +4503,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
4503
4503
  };
4504
4504
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4505
4505
  /* @__PURE__ */ jsxRuntime.jsx(
4506
- chunk6N5UGKD7_js.FormInput,
4506
+ chunk5WFBHIM5_js.FormInput,
4507
4507
  {
4508
4508
  type: "text",
4509
4509
  label: t("iteratorVariableLabel"),
@@ -4513,7 +4513,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
4513
4513
  }
4514
4514
  ),
4515
4515
  /* @__PURE__ */ jsxRuntime.jsx(
4516
- chunk6N5UGKD7_js.FormInput,
4516
+ chunk5WFBHIM5_js.FormInput,
4517
4517
  {
4518
4518
  type: "text",
4519
4519
  label: t("itemVariableLabel"),
@@ -4523,7 +4523,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
4523
4523
  }
4524
4524
  ),
4525
4525
  /* @__PURE__ */ jsxRuntime.jsx(
4526
- chunk6N5UGKD7_js.FormInput,
4526
+ chunk5WFBHIM5_js.FormInput,
4527
4527
  {
4528
4528
  type: "text",
4529
4529
  label: t("indexVariableLabel"),
@@ -5117,7 +5117,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
5117
5117
  };
5118
5118
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
5119
5119
  /* @__PURE__ */ jsxRuntime.jsx(
5120
- chunk6N5UGKD7_js.FormInput,
5120
+ chunk5WFBHIM5_js.FormInput,
5121
5121
  {
5122
5122
  type: "text",
5123
5123
  label: translations("labelField"),
@@ -5127,7 +5127,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
5127
5127
  }
5128
5128
  ),
5129
5129
  /* @__PURE__ */ jsxRuntime.jsx(
5130
- chunk6N5UGKD7_js.FormTextarea,
5130
+ chunk5WFBHIM5_js.FormTextarea,
5131
5131
  {
5132
5132
  label: translations("descriptionField"),
5133
5133
  value: description,
@@ -5285,7 +5285,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5285
5285
  };
5286
5286
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
5287
5287
  /* @__PURE__ */ jsxRuntime.jsx(
5288
- chunk6N5UGKD7_js.FormInput,
5288
+ chunk5WFBHIM5_js.FormInput,
5289
5289
  {
5290
5290
  type: "text",
5291
5291
  label: t("nameLabel"),
@@ -5295,7 +5295,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5295
5295
  }
5296
5296
  ),
5297
5297
  /* @__PURE__ */ jsxRuntime.jsx(
5298
- chunk6N5UGKD7_js.FormSelect,
5298
+ chunk5WFBHIM5_js.FormSelect,
5299
5299
  {
5300
5300
  label: t("providerTypeLabel"),
5301
5301
  value: providerType,
@@ -5304,7 +5304,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5304
5304
  }
5305
5305
  ),
5306
5306
  showRegion && /* @__PURE__ */ jsxRuntime.jsx(
5307
- chunk6N5UGKD7_js.FormSelect,
5307
+ chunk5WFBHIM5_js.FormSelect,
5308
5308
  {
5309
5309
  label: t("regionLabel"),
5310
5310
  value: region,
@@ -5313,7 +5313,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5313
5313
  }
5314
5314
  ),
5315
5315
  showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
5316
- chunk6N5UGKD7_js.FormInput,
5316
+ chunk5WFBHIM5_js.FormInput,
5317
5317
  {
5318
5318
  type: "text",
5319
5319
  label: t("endpointLabel"),
@@ -5323,7 +5323,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5323
5323
  }
5324
5324
  ),
5325
5325
  showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
5326
- chunk6N5UGKD7_js.FormInput,
5326
+ chunk5WFBHIM5_js.FormInput,
5327
5327
  {
5328
5328
  type: "password",
5329
5329
  label: t("apiKeyLabel"),
@@ -5333,7 +5333,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
5333
5333
  }
5334
5334
  ),
5335
5335
  showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
5336
- chunk6N5UGKD7_js.FormInput,
5336
+ chunk5WFBHIM5_js.FormInput,
5337
5337
  {
5338
5338
  type: "text",
5339
5339
  label: t("credentialRefLabel"),
@@ -5477,7 +5477,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
5477
5477
  }
5478
5478
  };
5479
5479
  return /* @__PURE__ */ jsxRuntime.jsx(
5480
- chunk6N5UGKD7_js.GlassModalShell,
5480
+ chunk5WFBHIM5_js.GlassModalShell,
5481
5481
  {
5482
5482
  open,
5483
5483
  onClose: closeModal,
@@ -5537,7 +5537,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
5537
5537
  }
5538
5538
  ];
5539
5539
  return /* @__PURE__ */ jsxRuntime.jsx(
5540
- chunk6N5UGKD7_js.ContextMenu,
5540
+ chunk5WFBHIM5_js.ContextMenu,
5541
5541
  {
5542
5542
  position,
5543
5543
  onClose,
@@ -5594,7 +5594,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
5594
5594
  }
5595
5595
  ];
5596
5596
  return /* @__PURE__ */ jsxRuntime.jsx(
5597
- chunk6N5UGKD7_js.ContextMenu,
5597
+ chunk5WFBHIM5_js.ContextMenu,
5598
5598
  {
5599
5599
  position,
5600
5600
  onClose,
@@ -5741,7 +5741,7 @@ function SelectionContextMenu({
5741
5741
  }
5742
5742
  ];
5743
5743
  return /* @__PURE__ */ jsxRuntime.jsx(
5744
- chunk6N5UGKD7_js.ContextMenu,
5744
+ chunk5WFBHIM5_js.ContextMenu,
5745
5745
  {
5746
5746
  position,
5747
5747
  onClose,
@@ -7614,5 +7614,5 @@ exports.useModalStore = useModalStore;
7614
7614
  exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
7615
7615
  exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
7616
7616
  exports.useWorkflowStore = useWorkflowStore;
7617
- //# sourceMappingURL=chunk-E6ALKSGA.js.map
7618
- //# sourceMappingURL=chunk-E6ALKSGA.js.map
7617
+ //# sourceMappingURL=chunk-ITFBJSHZ.js.map
7618
+ //# sourceMappingURL=chunk-ITFBJSHZ.js.map