@datatechsolutions/ui 2.7.139 → 2.7.140
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/{chunk-YCIUVIFN.js → chunk-27M5YIVF.js} +52 -52
- package/dist/{chunk-YCIUVIFN.js.map → chunk-27M5YIVF.js.map} +1 -1
- package/dist/{chunk-AMUPPC66.mjs → chunk-7VN2V7CT.mjs} +3 -3
- package/dist/{chunk-AMUPPC66.mjs.map → chunk-7VN2V7CT.mjs.map} +1 -1
- package/dist/{chunk-WTPYTOK4.mjs → chunk-SCGWR7XZ.mjs} +95 -43
- package/dist/chunk-SCGWR7XZ.mjs.map +1 -0
- package/dist/{chunk-JYX3ILSA.js → chunk-WXI7OCNY.js} +95 -42
- package/dist/chunk-WXI7OCNY.js.map +1 -0
- package/dist/index.d.mts +23 -3
- package/dist/index.d.ts +23 -3
- package/dist/index.js +341 -337
- package/dist/index.mjs +1 -1
- package/dist/workflow/index.js +119 -119
- package/dist/workflow/index.mjs +3 -3
- package/dist/workflow/workflow-canvas.js +3 -3
- package/dist/workflow/workflow-canvas.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-JYX3ILSA.js.map +0 -1
- package/dist/chunk-WTPYTOK4.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkWXI7OCNY_js = require('./chunk-WXI7OCNY.js');
|
|
5
5
|
var chunkNJ6PBGQM_js = require('./chunk-NJ6PBGQM.js');
|
|
6
6
|
var chunkULPKAD4A_js = require('./chunk-ULPKAD4A.js');
|
|
7
7
|
var react = require('react');
|
|
@@ -2830,7 +2830,7 @@ function WorkspaceDrawer({
|
|
|
2830
2830
|
children
|
|
2831
2831
|
}) {
|
|
2832
2832
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2833
|
-
|
|
2833
|
+
chunkWXI7OCNY_js.EntityDrawer,
|
|
2834
2834
|
{
|
|
2835
2835
|
open,
|
|
2836
2836
|
onClose,
|
|
@@ -2873,7 +2873,7 @@ function StartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
2873
2873
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-2 text-xs text-gray-500 dark:text-gray-400", children: t("inputVariablesHelp") }),
|
|
2874
2874
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
|
|
2875
2875
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2876
|
-
|
|
2876
|
+
chunkWXI7OCNY_js.Input,
|
|
2877
2877
|
{
|
|
2878
2878
|
value: newVariable,
|
|
2879
2879
|
onChange: (event) => setNewVariable(event.target.value),
|
|
@@ -2883,7 +2883,7 @@ function StartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
2883
2883
|
}
|
|
2884
2884
|
),
|
|
2885
2885
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2886
|
-
|
|
2886
|
+
chunkWXI7OCNY_js.Button,
|
|
2887
2887
|
{
|
|
2888
2888
|
type: "button",
|
|
2889
2889
|
onClick: handleAddVariable,
|
|
@@ -2900,7 +2900,7 @@ function StartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
2900
2900
|
children: [
|
|
2901
2901
|
variable,
|
|
2902
2902
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2903
|
-
|
|
2903
|
+
chunkWXI7OCNY_js.IconButton,
|
|
2904
2904
|
{
|
|
2905
2905
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.XMarkIcon, { className: "h-3 w-3" }),
|
|
2906
2906
|
label: `Remove ${variable}`,
|
|
@@ -2917,7 +2917,7 @@ function StartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
2917
2917
|
] }),
|
|
2918
2918
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
2919
2919
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2920
|
-
|
|
2920
|
+
chunkWXI7OCNY_js.Button,
|
|
2921
2921
|
{
|
|
2922
2922
|
type: "button",
|
|
2923
2923
|
onClick: onCancel,
|
|
@@ -2927,7 +2927,7 @@ function StartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
),
|
|
2929
2929
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2930
|
-
|
|
2930
|
+
chunkWXI7OCNY_js.Button,
|
|
2931
2931
|
{
|
|
2932
2932
|
type: "button",
|
|
2933
2933
|
onClick: handleSave,
|
|
@@ -3039,8 +3039,8 @@ function ConfigFormActions({
|
|
|
3039
3039
|
saveDisabled = false
|
|
3040
3040
|
}) {
|
|
3041
3041
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
3042
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3043
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3042
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWXI7OCNY_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3043
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWXI7OCNY_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3044
3044
|
] });
|
|
3045
3045
|
}
|
|
3046
3046
|
var OPERATOR_OPTIONS = [
|
|
@@ -3089,7 +3089,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3089
3089
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
3090
3090
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
3091
3091
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3092
|
-
|
|
3092
|
+
chunkWXI7OCNY_js.Button,
|
|
3093
3093
|
{
|
|
3094
3094
|
type: "button",
|
|
3095
3095
|
onClick: handleAddCondition,
|
|
@@ -3100,7 +3100,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3100
3100
|
/* @__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: [
|
|
3101
3101
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
3102
3102
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3103
|
-
|
|
3103
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3104
3104
|
{
|
|
3105
3105
|
type: "text",
|
|
3106
3106
|
label: t("variableLabel"),
|
|
@@ -3111,7 +3111,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3111
3111
|
}
|
|
3112
3112
|
) }),
|
|
3113
3113
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3114
|
-
|
|
3114
|
+
chunkWXI7OCNY_js.FormSelect,
|
|
3115
3115
|
{
|
|
3116
3116
|
label: t("operatorLabel"),
|
|
3117
3117
|
value: condition.operator,
|
|
@@ -3121,7 +3121,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3121
3121
|
}
|
|
3122
3122
|
) }),
|
|
3123
3123
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3124
|
-
|
|
3124
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3125
3125
|
{
|
|
3126
3126
|
type: "text",
|
|
3127
3127
|
label: t("valueLabel"),
|
|
@@ -3133,7 +3133,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3133
3133
|
) })
|
|
3134
3134
|
] }),
|
|
3135
3135
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3136
|
-
|
|
3136
|
+
chunkWXI7OCNY_js.IconButton,
|
|
3137
3137
|
{
|
|
3138
3138
|
onClick: () => handleRemoveCondition(index),
|
|
3139
3139
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3288,7 +3288,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3288
3288
|
};
|
|
3289
3289
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3290
3290
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3291
|
-
|
|
3291
|
+
chunkWXI7OCNY_js.FormSelect,
|
|
3292
3292
|
{
|
|
3293
3293
|
label: t("methodLabel"),
|
|
3294
3294
|
value: method,
|
|
@@ -3297,7 +3297,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3297
3297
|
}
|
|
3298
3298
|
),
|
|
3299
3299
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3300
|
-
|
|
3300
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3301
3301
|
{
|
|
3302
3302
|
type: "text",
|
|
3303
3303
|
label: t("urlLabel"),
|
|
@@ -3310,7 +3310,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3310
3310
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
3311
3311
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
3312
3312
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3313
|
-
|
|
3313
|
+
chunkWXI7OCNY_js.Button,
|
|
3314
3314
|
{
|
|
3315
3315
|
type: "button",
|
|
3316
3316
|
onClick: handleAddHeader,
|
|
@@ -3320,7 +3320,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3320
3320
|
] }),
|
|
3321
3321
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
3322
3322
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3323
|
-
|
|
3323
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3324
3324
|
{
|
|
3325
3325
|
type: "text",
|
|
3326
3326
|
value: entry.key,
|
|
@@ -3330,7 +3330,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3330
3330
|
}
|
|
3331
3331
|
),
|
|
3332
3332
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3333
|
-
|
|
3333
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3334
3334
|
{
|
|
3335
3335
|
type: "text",
|
|
3336
3336
|
value: entry.value,
|
|
@@ -3340,7 +3340,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3340
3340
|
}
|
|
3341
3341
|
),
|
|
3342
3342
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3343
|
-
|
|
3343
|
+
chunkWXI7OCNY_js.IconButton,
|
|
3344
3344
|
{
|
|
3345
3345
|
onClick: () => handleRemoveHeader(index),
|
|
3346
3346
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3352,7 +3352,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3352
3352
|
] }, index)) })
|
|
3353
3353
|
] }),
|
|
3354
3354
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3355
|
-
|
|
3355
|
+
chunkWXI7OCNY_js.FormTextarea,
|
|
3356
3356
|
{
|
|
3357
3357
|
label: t("bodyLabel"),
|
|
3358
3358
|
value: body,
|
|
@@ -3363,7 +3363,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3363
3363
|
}
|
|
3364
3364
|
),
|
|
3365
3365
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3366
|
-
|
|
3366
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3367
3367
|
{
|
|
3368
3368
|
type: "number",
|
|
3369
3369
|
label: t("timeoutLabel"),
|
|
@@ -3394,7 +3394,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3394
3394
|
};
|
|
3395
3395
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3396
3396
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3397
|
-
|
|
3397
|
+
chunkWXI7OCNY_js.FormTextarea,
|
|
3398
3398
|
{
|
|
3399
3399
|
label: t("templateLabel"),
|
|
3400
3400
|
value: template,
|
|
@@ -3405,7 +3405,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3405
3405
|
}
|
|
3406
3406
|
),
|
|
3407
3407
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3408
|
-
|
|
3408
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3409
3409
|
{
|
|
3410
3410
|
type: "text",
|
|
3411
3411
|
label: t("outputVariableLabel"),
|
|
@@ -3434,7 +3434,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3434
3434
|
};
|
|
3435
3435
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3436
3436
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3437
|
-
|
|
3437
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3438
3438
|
{
|
|
3439
3439
|
type: "text",
|
|
3440
3440
|
label: t("iteratorVariableLabel"),
|
|
@@ -3444,7 +3444,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3444
3444
|
}
|
|
3445
3445
|
),
|
|
3446
3446
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3447
|
-
|
|
3447
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3448
3448
|
{
|
|
3449
3449
|
type: "number",
|
|
3450
3450
|
label: t("maxIterationsLabel"),
|
|
@@ -3475,7 +3475,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3475
3475
|
};
|
|
3476
3476
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3477
3477
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3478
|
-
|
|
3478
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3479
3479
|
{
|
|
3480
3480
|
type: "text",
|
|
3481
3481
|
label: t("sourceIdLabel"),
|
|
@@ -3485,7 +3485,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3485
3485
|
}
|
|
3486
3486
|
),
|
|
3487
3487
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3488
|
-
|
|
3488
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3489
3489
|
{
|
|
3490
3490
|
type: "number",
|
|
3491
3491
|
label: t("topKLabel"),
|
|
@@ -3496,7 +3496,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3496
3496
|
}
|
|
3497
3497
|
),
|
|
3498
3498
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3499
|
-
|
|
3499
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3500
3500
|
{
|
|
3501
3501
|
type: "number",
|
|
3502
3502
|
label: t("similarityThresholdLabel"),
|
|
@@ -3544,7 +3544,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3544
3544
|
};
|
|
3545
3545
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3546
3546
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3547
|
-
|
|
3547
|
+
chunkWXI7OCNY_js.FormTextarea,
|
|
3548
3548
|
{
|
|
3549
3549
|
label: t("outputTemplateLabel"),
|
|
3550
3550
|
hint: t("outputTemplateHelp"),
|
|
@@ -3559,7 +3559,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3559
3559
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "mb-1 block text-sm font-medium text-gray-700 dark:text-gray-300", children: t("outputVariablesLabel") }),
|
|
3560
3560
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
|
|
3561
3561
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3562
|
-
|
|
3562
|
+
chunkWXI7OCNY_js.FormInput,
|
|
3563
3563
|
{
|
|
3564
3564
|
type: "text",
|
|
3565
3565
|
value: newVariable,
|
|
@@ -3570,7 +3570,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3570
3570
|
}
|
|
3571
3571
|
),
|
|
3572
3572
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3573
|
-
|
|
3573
|
+
chunkWXI7OCNY_js.Button,
|
|
3574
3574
|
{
|
|
3575
3575
|
type: "button",
|
|
3576
3576
|
onClick: handleAddVariable,
|
|
@@ -3585,7 +3585,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3585
3585
|
children: [
|
|
3586
3586
|
variable,
|
|
3587
3587
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3588
|
-
|
|
3588
|
+
chunkWXI7OCNY_js.IconButton,
|
|
3589
3589
|
{
|
|
3590
3590
|
onClick: () => handleRemoveVariable(variable),
|
|
3591
3591
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.XMarkIcon, { className: "h-3 w-3" }),
|
|
@@ -4021,7 +4021,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4021
4021
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 block text-sm font-medium text-gray-700 dark:text-gray-300", children: t("inputVariablesLabel") }),
|
|
4022
4022
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
|
|
4023
4023
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4024
|
-
|
|
4024
|
+
chunkWXI7OCNY_js.FormInput,
|
|
4025
4025
|
{
|
|
4026
4026
|
type: "text",
|
|
4027
4027
|
value: newVariable,
|
|
@@ -4032,7 +4032,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4032
4032
|
}
|
|
4033
4033
|
),
|
|
4034
4034
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4035
|
-
|
|
4035
|
+
chunkWXI7OCNY_js.Button,
|
|
4036
4036
|
{
|
|
4037
4037
|
type: "button",
|
|
4038
4038
|
onClick: handleAddVariable,
|
|
@@ -4040,10 +4040,10 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4040
4040
|
}
|
|
4041
4041
|
)
|
|
4042
4042
|
] }),
|
|
4043
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 space-y-2", children: inputVariables.map((variable, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4043
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 space-y-2", children: inputVariables.map((variable, index) => /* @__PURE__ */ jsxRuntime.jsx(chunkWXI7OCNY_js.Card, { className: "border-purple-200/70 dark:border-purple-500/30", children: /* @__PURE__ */ jsxRuntime.jsx(chunkWXI7OCNY_js.CardContent, { className: "p-3", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
4044
4044
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-flex min-w-6 items-center justify-center rounded-full bg-purple-100 px-1.5 py-0.5 text-[10px] font-semibold text-purple-700 dark:bg-purple-500/20 dark:text-purple-300", children: index + 1 }),
|
|
4045
4045
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4046
|
-
|
|
4046
|
+
chunkWXI7OCNY_js.FormInput,
|
|
4047
4047
|
{
|
|
4048
4048
|
type: "text",
|
|
4049
4049
|
value: variable,
|
|
@@ -4053,7 +4053,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4053
4053
|
}
|
|
4054
4054
|
),
|
|
4055
4055
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4056
|
-
|
|
4056
|
+
chunkWXI7OCNY_js.IconButton,
|
|
4057
4057
|
{
|
|
4058
4058
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.XMarkIcon, { className: "h-3 w-3" }),
|
|
4059
4059
|
label: `Remove ${variable || index + 1}`,
|
|
@@ -4065,7 +4065,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4065
4065
|
] }) }) }, `${index}-${variable}`)) })
|
|
4066
4066
|
] }),
|
|
4067
4067
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4068
|
-
|
|
4068
|
+
chunkWXI7OCNY_js.FormInput,
|
|
4069
4069
|
{
|
|
4070
4070
|
type: "text",
|
|
4071
4071
|
label: t("outputVariableLabel"),
|
|
@@ -4075,7 +4075,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4075
4075
|
}
|
|
4076
4076
|
),
|
|
4077
4077
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4078
|
-
|
|
4078
|
+
chunkWXI7OCNY_js.FormSelect,
|
|
4079
4079
|
{
|
|
4080
4080
|
label: t("aggregationModeLabel"),
|
|
4081
4081
|
value: aggregationMode,
|
|
@@ -4108,7 +4108,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4108
4108
|
};
|
|
4109
4109
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4110
4110
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4111
|
-
|
|
4111
|
+
chunkWXI7OCNY_js.FormSelect,
|
|
4112
4112
|
{
|
|
4113
4113
|
label: t("extractionModeLabel"),
|
|
4114
4114
|
value: extractionMode,
|
|
@@ -4117,7 +4117,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4117
4117
|
}
|
|
4118
4118
|
),
|
|
4119
4119
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4120
|
-
|
|
4120
|
+
chunkWXI7OCNY_js.FormInput,
|
|
4121
4121
|
{
|
|
4122
4122
|
type: "text",
|
|
4123
4123
|
label: t("outputVariableLabel"),
|
|
@@ -4294,7 +4294,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4294
4294
|
};
|
|
4295
4295
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4296
4296
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4297
|
-
|
|
4297
|
+
chunkWXI7OCNY_js.FormInput,
|
|
4298
4298
|
{
|
|
4299
4299
|
type: "text",
|
|
4300
4300
|
label: t("iteratorVariableLabel"),
|
|
@@ -4304,7 +4304,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4304
4304
|
}
|
|
4305
4305
|
),
|
|
4306
4306
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4307
|
-
|
|
4307
|
+
chunkWXI7OCNY_js.FormInput,
|
|
4308
4308
|
{
|
|
4309
4309
|
type: "text",
|
|
4310
4310
|
label: t("itemVariableLabel"),
|
|
@@ -4314,7 +4314,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4314
4314
|
}
|
|
4315
4315
|
),
|
|
4316
4316
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4317
|
-
|
|
4317
|
+
chunkWXI7OCNY_js.FormInput,
|
|
4318
4318
|
{
|
|
4319
4319
|
type: "text",
|
|
4320
4320
|
label: t("indexVariableLabel"),
|
|
@@ -4586,7 +4586,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4586
4586
|
};
|
|
4587
4587
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4588
4588
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4589
|
-
|
|
4589
|
+
chunkWXI7OCNY_js.FormInput,
|
|
4590
4590
|
{
|
|
4591
4591
|
type: "text",
|
|
4592
4592
|
label: translations("labelField"),
|
|
@@ -4596,7 +4596,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
),
|
|
4598
4598
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4599
|
-
|
|
4599
|
+
chunkWXI7OCNY_js.FormTextarea,
|
|
4600
4600
|
{
|
|
4601
4601
|
label: translations("descriptionField"),
|
|
4602
4602
|
value: description,
|
|
@@ -4769,7 +4769,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
4769
4769
|
}
|
|
4770
4770
|
];
|
|
4771
4771
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4772
|
-
|
|
4772
|
+
chunkWXI7OCNY_js.ContextMenu,
|
|
4773
4773
|
{
|
|
4774
4774
|
position,
|
|
4775
4775
|
onClose,
|
|
@@ -4826,7 +4826,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
4826
4826
|
}
|
|
4827
4827
|
];
|
|
4828
4828
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4829
|
-
|
|
4829
|
+
chunkWXI7OCNY_js.ContextMenu,
|
|
4830
4830
|
{
|
|
4831
4831
|
position,
|
|
4832
4832
|
onClose,
|
|
@@ -4973,7 +4973,7 @@ function SelectionContextMenu({
|
|
|
4973
4973
|
}
|
|
4974
4974
|
];
|
|
4975
4975
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4976
|
-
|
|
4976
|
+
chunkWXI7OCNY_js.ContextMenu,
|
|
4977
4977
|
{
|
|
4978
4978
|
position,
|
|
4979
4979
|
onClose,
|
|
@@ -6833,5 +6833,5 @@ exports.useDrawerStore = useDrawerStore;
|
|
|
6833
6833
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
6834
6834
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
6835
6835
|
exports.useWorkflowStore = useWorkflowStore;
|
|
6836
|
-
//# sourceMappingURL=chunk-
|
|
6837
|
-
//# sourceMappingURL=chunk-
|
|
6836
|
+
//# sourceMappingURL=chunk-27M5YIVF.js.map
|
|
6837
|
+
//# sourceMappingURL=chunk-27M5YIVF.js.map
|