@datatechsolutions/ui 2.11.56 → 2.11.57
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/contracts.d.mts +4 -0
- package/dist/astrlabe/contracts.d.ts +4 -0
- package/dist/astrlabe/index.js +131 -131
- 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-GWLWSE2C.mjs → chunk-7L2ASZLV.mjs} +543 -4
- package/dist/chunk-7L2ASZLV.mjs.map +1 -0
- package/dist/{chunk-FXJBJ77I.mjs → chunk-ESC5OVLF.mjs} +18 -4
- package/dist/chunk-ESC5OVLF.mjs.map +1 -0
- package/dist/{chunk-P67L6WXL.js → chunk-G77XRUWZ.js} +67 -53
- package/dist/{chunk-P67L6WXL.js.map → chunk-G77XRUWZ.js.map} +1 -1
- package/dist/{chunk-5N6QYUAA.js → chunk-JGVH3R46.js} +542 -2
- package/dist/chunk-JGVH3R46.js.map +1 -0
- package/dist/index.d.mts +18 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +720 -716
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
- package/dist/chunk-5N6QYUAA.js.map +0 -1
- package/dist/chunk-FXJBJ77I.mjs.map +0 -1
- package/dist/chunk-GWLWSE2C.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkJGVH3R46_js = require('./chunk-JGVH3R46.js');
|
|
5
5
|
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
6
6
|
var chunkP4YYEM4B_js = require('./chunk-P4YYEM4B.js');
|
|
7
7
|
var chunkC7BI5LQ6_js = require('./chunk-C7BI5LQ6.js');
|
|
@@ -1624,7 +1624,7 @@ function DatasourceNodeConfigForm({
|
|
|
1624
1624
|
}
|
|
1625
1625
|
const logo = getDatasourceLogo(selectedDatasourceId, selectedDatasource?.dialect);
|
|
1626
1626
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1627
|
-
|
|
1627
|
+
chunkJGVH3R46_js.GlassModal,
|
|
1628
1628
|
{
|
|
1629
1629
|
open,
|
|
1630
1630
|
onClose: onCancel,
|
|
@@ -1639,8 +1639,8 @@ function DatasourceNodeConfigForm({
|
|
|
1639
1639
|
onSectionChange: setActiveSectionId
|
|
1640
1640
|
},
|
|
1641
1641
|
footer: readOnly ? void 0 : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 px-6 py-3", children: [
|
|
1642
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1643
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1642
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJGVH3R46_js.Button, { outline: true, onClick: onCancel, children: t("cancel") }),
|
|
1643
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJGVH3R46_js.Button, { color: "cyan", onClick: handleSave, disabled: !canSave, children: t("save") })
|
|
1644
1644
|
] }),
|
|
1645
1645
|
children: renderSection()
|
|
1646
1646
|
}
|
|
@@ -2147,7 +2147,7 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
|
|
|
2147
2147
|
event.stopPropagation();
|
|
2148
2148
|
},
|
|
2149
2149
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2150
|
-
|
|
2150
|
+
chunkJGVH3R46_js.ToggleSwitch,
|
|
2151
2151
|
{
|
|
2152
2152
|
checked: Boolean(agentTool.enabled),
|
|
2153
2153
|
onChange: () => data.onToggle?.(agentTool),
|
|
@@ -2255,7 +2255,7 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
|
|
|
2255
2255
|
event.preventDefault();
|
|
2256
2256
|
},
|
|
2257
2257
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2258
|
-
|
|
2258
|
+
chunkJGVH3R46_js.ToggleSwitch,
|
|
2259
2259
|
{
|
|
2260
2260
|
checked: Boolean(tool.enabled),
|
|
2261
2261
|
onChange: () => onToggle(tool),
|
|
@@ -2407,7 +2407,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
2407
2407
|
event.preventDefault();
|
|
2408
2408
|
},
|
|
2409
2409
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2410
|
-
|
|
2410
|
+
chunkJGVH3R46_js.ToggleSwitch,
|
|
2411
2411
|
{
|
|
2412
2412
|
checked: Boolean(rule.enabled),
|
|
2413
2413
|
onChange: () => onToggle(rule),
|
|
@@ -3405,7 +3405,7 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
3405
3405
|
event.preventDefault();
|
|
3406
3406
|
},
|
|
3407
3407
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3408
|
-
|
|
3408
|
+
chunkJGVH3R46_js.ToggleSwitch,
|
|
3409
3409
|
{
|
|
3410
3410
|
checked: true,
|
|
3411
3411
|
onChange: () => {
|
|
@@ -3733,8 +3733,8 @@ function ConfigFormActions({
|
|
|
3733
3733
|
saveDisabled = false
|
|
3734
3734
|
}) {
|
|
3735
3735
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
3736
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3737
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3736
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJGVH3R46_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3737
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJGVH3R46_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3738
3738
|
] });
|
|
3739
3739
|
}
|
|
3740
3740
|
var COLOR_CLASSES = {
|
|
@@ -3981,7 +3981,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3981
3981
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
3982
3982
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
3983
3983
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3984
|
-
|
|
3984
|
+
chunkJGVH3R46_js.Button,
|
|
3985
3985
|
{
|
|
3986
3986
|
type: "button",
|
|
3987
3987
|
onClick: handleAddCondition,
|
|
@@ -3992,7 +3992,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3992
3992
|
/* @__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: [
|
|
3993
3993
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
3994
3994
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3995
|
-
|
|
3995
|
+
chunkJGVH3R46_js.FormInput,
|
|
3996
3996
|
{
|
|
3997
3997
|
type: "text",
|
|
3998
3998
|
label: t("variableLabel"),
|
|
@@ -4003,7 +4003,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4003
4003
|
}
|
|
4004
4004
|
) }),
|
|
4005
4005
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4006
|
-
|
|
4006
|
+
chunkJGVH3R46_js.FormSelect,
|
|
4007
4007
|
{
|
|
4008
4008
|
label: t("operatorLabel"),
|
|
4009
4009
|
value: condition.operator,
|
|
@@ -4013,7 +4013,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4013
4013
|
}
|
|
4014
4014
|
) }),
|
|
4015
4015
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4016
|
-
|
|
4016
|
+
chunkJGVH3R46_js.FormInput,
|
|
4017
4017
|
{
|
|
4018
4018
|
type: "text",
|
|
4019
4019
|
label: t("valueLabel"),
|
|
@@ -4025,7 +4025,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4025
4025
|
) })
|
|
4026
4026
|
] }),
|
|
4027
4027
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4028
|
-
|
|
4028
|
+
chunkJGVH3R46_js.IconButton,
|
|
4029
4029
|
{
|
|
4030
4030
|
onClick: () => handleRemoveCondition(index),
|
|
4031
4031
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -4157,6 +4157,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4157
4157
|
const [headerEntries, setHeaderEntries] = react.useState(headersToEntries(config.headers));
|
|
4158
4158
|
const [body, setBody] = react.useState(config.body ?? "");
|
|
4159
4159
|
const [timeoutMs, setTimeoutMs] = react.useState(config.timeoutMs);
|
|
4160
|
+
const [parseResponse, setParseResponse] = react.useState(config.parseResponse ?? "json");
|
|
4160
4161
|
const handleAddHeader = () => {
|
|
4161
4162
|
setHeaderEntries([...headerEntries, { key: "", value: "" }]);
|
|
4162
4163
|
};
|
|
@@ -4175,12 +4176,13 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4175
4176
|
url,
|
|
4176
4177
|
headers: entriesToHeaders(headerEntries),
|
|
4177
4178
|
body: method === "GET" ? "" : body,
|
|
4178
|
-
timeoutMs
|
|
4179
|
+
timeoutMs,
|
|
4180
|
+
parseResponse
|
|
4179
4181
|
});
|
|
4180
4182
|
};
|
|
4181
4183
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4182
4184
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4183
|
-
|
|
4185
|
+
chunkJGVH3R46_js.FormSelect,
|
|
4184
4186
|
{
|
|
4185
4187
|
label: t("methodLabel"),
|
|
4186
4188
|
value: method,
|
|
@@ -4189,7 +4191,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4189
4191
|
}
|
|
4190
4192
|
),
|
|
4191
4193
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4192
|
-
|
|
4194
|
+
chunkJGVH3R46_js.FormInput,
|
|
4193
4195
|
{
|
|
4194
4196
|
type: "text",
|
|
4195
4197
|
label: t("urlLabel"),
|
|
@@ -4202,7 +4204,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4202
4204
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
4203
4205
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
4204
4206
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4205
|
-
|
|
4207
|
+
chunkJGVH3R46_js.Button,
|
|
4206
4208
|
{
|
|
4207
4209
|
type: "button",
|
|
4208
4210
|
onClick: handleAddHeader,
|
|
@@ -4212,7 +4214,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4212
4214
|
] }),
|
|
4213
4215
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
4214
4216
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4215
|
-
|
|
4217
|
+
chunkJGVH3R46_js.FormInput,
|
|
4216
4218
|
{
|
|
4217
4219
|
type: "text",
|
|
4218
4220
|
value: entry.key,
|
|
@@ -4222,7 +4224,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4222
4224
|
}
|
|
4223
4225
|
),
|
|
4224
4226
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4225
|
-
|
|
4227
|
+
chunkJGVH3R46_js.FormInput,
|
|
4226
4228
|
{
|
|
4227
4229
|
type: "text",
|
|
4228
4230
|
value: entry.value,
|
|
@@ -4232,7 +4234,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4232
4234
|
}
|
|
4233
4235
|
),
|
|
4234
4236
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4235
|
-
|
|
4237
|
+
chunkJGVH3R46_js.IconButton,
|
|
4236
4238
|
{
|
|
4237
4239
|
onClick: () => handleRemoveHeader(index),
|
|
4238
4240
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -4244,7 +4246,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4244
4246
|
] }, index)) })
|
|
4245
4247
|
] }),
|
|
4246
4248
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4247
|
-
|
|
4249
|
+
chunkJGVH3R46_js.FormTextarea,
|
|
4248
4250
|
{
|
|
4249
4251
|
label: t("bodyLabel"),
|
|
4250
4252
|
value: body,
|
|
@@ -4255,7 +4257,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4255
4257
|
}
|
|
4256
4258
|
),
|
|
4257
4259
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4258
|
-
|
|
4260
|
+
chunkJGVH3R46_js.FormInput,
|
|
4259
4261
|
{
|
|
4260
4262
|
type: "number",
|
|
4261
4263
|
label: t("timeoutLabel"),
|
|
@@ -4266,6 +4268,18 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4266
4268
|
step: 1e3
|
|
4267
4269
|
}
|
|
4268
4270
|
),
|
|
4271
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4272
|
+
chunkJGVH3R46_js.FormSelect,
|
|
4273
|
+
{
|
|
4274
|
+
label: t("parseResponseLabel"),
|
|
4275
|
+
value: parseResponse,
|
|
4276
|
+
onValueChange: (value) => setParseResponse(value),
|
|
4277
|
+
options: [
|
|
4278
|
+
{ value: "json", label: t("parseResponseJson") },
|
|
4279
|
+
{ value: "text", label: t("parseResponseText") }
|
|
4280
|
+
]
|
|
4281
|
+
}
|
|
4282
|
+
),
|
|
4269
4283
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4270
4284
|
ConfigFormActions,
|
|
4271
4285
|
{
|
|
@@ -4286,7 +4300,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4286
4300
|
};
|
|
4287
4301
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4288
4302
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4289
|
-
|
|
4303
|
+
chunkJGVH3R46_js.FormTextarea,
|
|
4290
4304
|
{
|
|
4291
4305
|
label: t("templateLabel"),
|
|
4292
4306
|
value: template,
|
|
@@ -4297,7 +4311,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4297
4311
|
}
|
|
4298
4312
|
),
|
|
4299
4313
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4300
|
-
|
|
4314
|
+
chunkJGVH3R46_js.FormInput,
|
|
4301
4315
|
{
|
|
4302
4316
|
type: "text",
|
|
4303
4317
|
label: t("outputVariableLabel"),
|
|
@@ -4326,7 +4340,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4326
4340
|
};
|
|
4327
4341
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4328
4342
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4329
|
-
|
|
4343
|
+
chunkJGVH3R46_js.FormInput,
|
|
4330
4344
|
{
|
|
4331
4345
|
type: "text",
|
|
4332
4346
|
label: t("iteratorVariableLabel"),
|
|
@@ -4336,7 +4350,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4336
4350
|
}
|
|
4337
4351
|
),
|
|
4338
4352
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4339
|
-
|
|
4353
|
+
chunkJGVH3R46_js.FormInput,
|
|
4340
4354
|
{
|
|
4341
4355
|
type: "number",
|
|
4342
4356
|
label: t("maxIterationsLabel"),
|
|
@@ -4367,7 +4381,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4367
4381
|
};
|
|
4368
4382
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4369
4383
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4370
|
-
|
|
4384
|
+
chunkJGVH3R46_js.FormInput,
|
|
4371
4385
|
{
|
|
4372
4386
|
type: "text",
|
|
4373
4387
|
label: t("sourceIdLabel"),
|
|
@@ -4377,7 +4391,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4377
4391
|
}
|
|
4378
4392
|
),
|
|
4379
4393
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4380
|
-
|
|
4394
|
+
chunkJGVH3R46_js.FormInput,
|
|
4381
4395
|
{
|
|
4382
4396
|
type: "number",
|
|
4383
4397
|
label: t("topKLabel"),
|
|
@@ -4388,7 +4402,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4388
4402
|
}
|
|
4389
4403
|
),
|
|
4390
4404
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4391
|
-
|
|
4405
|
+
chunkJGVH3R46_js.FormInput,
|
|
4392
4406
|
{
|
|
4393
4407
|
type: "number",
|
|
4394
4408
|
label: t("similarityThresholdLabel"),
|
|
@@ -4419,7 +4433,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4419
4433
|
};
|
|
4420
4434
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4421
4435
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4422
|
-
|
|
4436
|
+
chunkJGVH3R46_js.FormTextarea,
|
|
4423
4437
|
{
|
|
4424
4438
|
label: t("outputTemplateLabel"),
|
|
4425
4439
|
hint: t("outputTemplateHelp"),
|
|
@@ -4853,7 +4867,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4853
4867
|
}
|
|
4854
4868
|
),
|
|
4855
4869
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4856
|
-
|
|
4870
|
+
chunkJGVH3R46_js.FormInput,
|
|
4857
4871
|
{
|
|
4858
4872
|
type: "text",
|
|
4859
4873
|
label: t("outputVariableLabel"),
|
|
@@ -4863,7 +4877,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4863
4877
|
}
|
|
4864
4878
|
),
|
|
4865
4879
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4866
|
-
|
|
4880
|
+
chunkJGVH3R46_js.FormSelect,
|
|
4867
4881
|
{
|
|
4868
4882
|
label: t("aggregationModeLabel"),
|
|
4869
4883
|
value: aggregationMode,
|
|
@@ -4896,7 +4910,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4896
4910
|
};
|
|
4897
4911
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4898
4912
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4899
|
-
|
|
4913
|
+
chunkJGVH3R46_js.FormSelect,
|
|
4900
4914
|
{
|
|
4901
4915
|
label: t("extractionModeLabel"),
|
|
4902
4916
|
value: extractionMode,
|
|
@@ -4905,7 +4919,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4905
4919
|
}
|
|
4906
4920
|
),
|
|
4907
4921
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4908
|
-
|
|
4922
|
+
chunkJGVH3R46_js.FormInput,
|
|
4909
4923
|
{
|
|
4910
4924
|
type: "text",
|
|
4911
4925
|
label: t("outputVariableLabel"),
|
|
@@ -5082,7 +5096,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5082
5096
|
};
|
|
5083
5097
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5084
5098
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5085
|
-
|
|
5099
|
+
chunkJGVH3R46_js.FormInput,
|
|
5086
5100
|
{
|
|
5087
5101
|
type: "text",
|
|
5088
5102
|
label: t("iteratorVariableLabel"),
|
|
@@ -5092,7 +5106,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5092
5106
|
}
|
|
5093
5107
|
),
|
|
5094
5108
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5095
|
-
|
|
5109
|
+
chunkJGVH3R46_js.FormInput,
|
|
5096
5110
|
{
|
|
5097
5111
|
type: "text",
|
|
5098
5112
|
label: t("itemVariableLabel"),
|
|
@@ -5102,7 +5116,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5102
5116
|
}
|
|
5103
5117
|
),
|
|
5104
5118
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5105
|
-
|
|
5119
|
+
chunkJGVH3R46_js.FormInput,
|
|
5106
5120
|
{
|
|
5107
5121
|
type: "text",
|
|
5108
5122
|
label: t("indexVariableLabel"),
|
|
@@ -5374,7 +5388,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5374
5388
|
};
|
|
5375
5389
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5376
5390
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5377
|
-
|
|
5391
|
+
chunkJGVH3R46_js.FormInput,
|
|
5378
5392
|
{
|
|
5379
5393
|
type: "text",
|
|
5380
5394
|
label: translations("labelField"),
|
|
@@ -5384,7 +5398,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5384
5398
|
}
|
|
5385
5399
|
),
|
|
5386
5400
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5387
|
-
|
|
5401
|
+
chunkJGVH3R46_js.FormTextarea,
|
|
5388
5402
|
{
|
|
5389
5403
|
label: translations("descriptionField"),
|
|
5390
5404
|
value: description,
|
|
@@ -5542,7 +5556,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5542
5556
|
};
|
|
5543
5557
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5544
5558
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5545
|
-
|
|
5559
|
+
chunkJGVH3R46_js.FormInput,
|
|
5546
5560
|
{
|
|
5547
5561
|
type: "text",
|
|
5548
5562
|
label: t("nameLabel"),
|
|
@@ -5552,7 +5566,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5552
5566
|
}
|
|
5553
5567
|
),
|
|
5554
5568
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5555
|
-
|
|
5569
|
+
chunkJGVH3R46_js.FormSelect,
|
|
5556
5570
|
{
|
|
5557
5571
|
label: t("providerTypeLabel"),
|
|
5558
5572
|
value: providerType,
|
|
@@ -5561,7 +5575,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5561
5575
|
}
|
|
5562
5576
|
),
|
|
5563
5577
|
showRegion && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5564
|
-
|
|
5578
|
+
chunkJGVH3R46_js.FormSelect,
|
|
5565
5579
|
{
|
|
5566
5580
|
label: t("regionLabel"),
|
|
5567
5581
|
value: region,
|
|
@@ -5570,7 +5584,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5570
5584
|
}
|
|
5571
5585
|
),
|
|
5572
5586
|
showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5573
|
-
|
|
5587
|
+
chunkJGVH3R46_js.FormInput,
|
|
5574
5588
|
{
|
|
5575
5589
|
type: "text",
|
|
5576
5590
|
label: t("endpointLabel"),
|
|
@@ -5580,7 +5594,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5580
5594
|
}
|
|
5581
5595
|
),
|
|
5582
5596
|
showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5583
|
-
|
|
5597
|
+
chunkJGVH3R46_js.FormInput,
|
|
5584
5598
|
{
|
|
5585
5599
|
type: "password",
|
|
5586
5600
|
label: t("apiKeyLabel"),
|
|
@@ -5590,7 +5604,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5590
5604
|
}
|
|
5591
5605
|
),
|
|
5592
5606
|
showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5593
|
-
|
|
5607
|
+
chunkJGVH3R46_js.FormInput,
|
|
5594
5608
|
{
|
|
5595
5609
|
type: "text",
|
|
5596
5610
|
label: t("credentialRefLabel"),
|
|
@@ -5722,7 +5736,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
5722
5736
|
}
|
|
5723
5737
|
};
|
|
5724
5738
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5725
|
-
|
|
5739
|
+
chunkJGVH3R46_js.GlassModal,
|
|
5726
5740
|
{
|
|
5727
5741
|
open,
|
|
5728
5742
|
onClose: closeModal,
|
|
@@ -5782,7 +5796,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
5782
5796
|
}
|
|
5783
5797
|
];
|
|
5784
5798
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5785
|
-
|
|
5799
|
+
chunkJGVH3R46_js.ContextMenu,
|
|
5786
5800
|
{
|
|
5787
5801
|
position,
|
|
5788
5802
|
onClose,
|
|
@@ -5839,7 +5853,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
5839
5853
|
}
|
|
5840
5854
|
];
|
|
5841
5855
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5842
|
-
|
|
5856
|
+
chunkJGVH3R46_js.ContextMenu,
|
|
5843
5857
|
{
|
|
5844
5858
|
position,
|
|
5845
5859
|
onClose,
|
|
@@ -5986,7 +6000,7 @@ function SelectionContextMenu({
|
|
|
5986
6000
|
}
|
|
5987
6001
|
];
|
|
5988
6002
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5989
|
-
|
|
6003
|
+
chunkJGVH3R46_js.ContextMenu,
|
|
5990
6004
|
{
|
|
5991
6005
|
position,
|
|
5992
6006
|
onClose,
|
|
@@ -7894,5 +7908,5 @@ exports.useModalStore = useModalStore;
|
|
|
7894
7908
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
7895
7909
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
7896
7910
|
exports.useWorkflowStore = useWorkflowStore;
|
|
7897
|
-
//# sourceMappingURL=chunk-
|
|
7898
|
-
//# sourceMappingURL=chunk-
|
|
7911
|
+
//# sourceMappingURL=chunk-G77XRUWZ.js.map
|
|
7912
|
+
//# sourceMappingURL=chunk-G77XRUWZ.js.map
|