@datatechsolutions/ui 2.11.69 → 2.11.71
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 +150 -150
- package/dist/astrlabe/index.mjs +6 -6
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/{chunk-P6Y24524.js → chunk-KMJG6A4K.js} +64 -64
- package/dist/{chunk-P6Y24524.js.map → chunk-KMJG6A4K.js.map} +1 -1
- package/dist/{chunk-U5EZP7FI.mjs → chunk-TMVBROBQ.mjs} +3 -3
- package/dist/{chunk-U5EZP7FI.mjs.map → chunk-TMVBROBQ.mjs.map} +1 -1
- package/dist/{chunk-DPG4R7EB.mjs → chunk-ULNKKVDK.mjs} +106 -43
- package/dist/{chunk-DPG4R7EB.mjs.map → chunk-ULNKKVDK.mjs.map} +1 -1
- package/dist/{chunk-WBYNJTQN.js → chunk-UOKLJT2P.js} +106 -43
- package/dist/chunk-UOKLJT2P.js.map +1 -0
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +753 -753
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-WBYNJTQN.js.map +0 -1
package/dist/astrlabe/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import '../chunk-
|
|
3
|
-
export {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { GlassModal, Button, FormInput, FormTextarea, ToggleSwitch, Input, DynamicIslandConfirm } from '../chunk-DPG4R7EB.mjs';
|
|
2
|
+
import { Workspace, useModalStore, CATEGORY_COLORS, CATEGORY_PILL_COLORS, ICON_MAP, WorkflowCanvas, getEntityIcon, getEntityGradient, useWorkflowStore, LOGIC_ICON_MAP, LOGIC_NODE_GRADIENTS, getFrameworkMeta, getCompatibleModels, isModelCompatibleWithFramework, FRAMEWORK_META, isFrameworkCompatibleWithProviders } from '../chunk-TMVBROBQ.mjs';
|
|
3
|
+
export { AgentFlowNode, AgentToolFlowNode, AnswerFlowNode, AnthropicIcon, CodeFlowNode, CrewAIIcon, DocumentExtractorFlowNode, EndFlowNode, EntityFlowNode, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, HttpRequestFlowNode, IfElseFlowNode, IterationFlowNode, IterationStartFlowNode, KnowledgeBaseFlowNode, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, ListOperatorFlowNode, LogicNodeModal, MINIMAP_NODE_COLORS, ModelProviderFlowNode, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NoteFlowNode, OpenAIIcon, PanelContextMenu, ParameterExtractorFlowNode, QuestionClassifierFlowNode, RuleFlowNode, SelectionContextMenu, StartFlowNode, StrandsIcon, TemplateTransformFlowNode, ToolFlowNode, VariableAggregatorFlowNode, VariableAssignerFlowNode, WorkflowBuilderProvider, Workspace, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, getNodeExecutionAccent, getNodeExecutionAccentRgb, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore } from '../chunk-TMVBROBQ.mjs';
|
|
4
|
+
import { GlassModal, Button, FormInput, FormTextarea, ToggleSwitch, Input, DynamicIslandConfirm } from '../chunk-ULNKKVDK.mjs';
|
|
5
|
+
import '../chunk-D2JF6C3E.mjs';
|
|
7
6
|
import { useTranslations } from '../chunk-7VJ7CMMT.mjs';
|
|
8
7
|
import '../chunk-QWG2FMUN.mjs';
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-JB6RNAD2.mjs';
|
|
10
9
|
export { GraphNodeBadge, GraphNodeHeader, GraphNodeIconBubble, GraphNodeMeta } from '../chunk-OZNTQROP.mjs';
|
|
10
|
+
export { topologicalSortAgents, validateGraphNodeConfigs, validateNodeConfig, validateWorkflowGraph } from '../chunk-53SRKVKQ.mjs';
|
|
11
11
|
import { getAgentTier, createDefaultLogicNodeConfig } from '../chunk-WNCPAWLC.mjs';
|
|
12
12
|
export { applyDagreLayout, createDefaultLogicNodeConfig, getAgentTier } from '../chunk-WNCPAWLC.mjs';
|
|
13
13
|
import { memo, useCallback, useState, useEffect, useMemo, useRef, Children } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkKMJG6A4K_js = require('../chunk-KMJG6A4K.js');
|
|
5
|
+
require('../chunk-UOKLJT2P.js');
|
|
6
|
+
require('../chunk-UZ3CMNUJ.js');
|
|
6
7
|
require('../chunk-YXN2K77G.js');
|
|
7
8
|
require('../chunk-S7KHTUHA.js');
|
|
8
|
-
require('../chunk-UZ3CMNUJ.js');
|
|
9
9
|
require('../chunk-P4YYEM4B.js');
|
|
10
10
|
require('../chunk-C7BI5LQ6.js');
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ require('../chunk-C7BI5LQ6.js');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "Workspace", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkKMJG6A4K_js.Workspace; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
19
19
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { Workspace } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { Workspace } from '../chunk-TMVBROBQ.mjs';
|
|
3
|
+
import '../chunk-ULNKKVDK.mjs';
|
|
4
|
+
import '../chunk-D2JF6C3E.mjs';
|
|
4
5
|
import '../chunk-7VJ7CMMT.mjs';
|
|
5
6
|
import '../chunk-QWG2FMUN.mjs';
|
|
6
|
-
import '../chunk-D2JF6C3E.mjs';
|
|
7
7
|
import '../chunk-OZNTQROP.mjs';
|
|
8
8
|
import '../chunk-WNCPAWLC.mjs';
|
|
9
9
|
//# sourceMappingURL=workflow-canvas.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkUOKLJT2P_js = require('./chunk-UOKLJT2P.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');
|
|
@@ -1672,7 +1672,7 @@ function DatasourceNodeConfigForm({
|
|
|
1672
1672
|
}
|
|
1673
1673
|
const logo = getDatasourceLogo(selectedDatasourceId, selectedDatasource?.dialect);
|
|
1674
1674
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1675
|
-
|
|
1675
|
+
chunkUOKLJT2P_js.GlassModal,
|
|
1676
1676
|
{
|
|
1677
1677
|
open,
|
|
1678
1678
|
onClose: onCancel,
|
|
@@ -1687,8 +1687,8 @@ function DatasourceNodeConfigForm({
|
|
|
1687
1687
|
onSectionChange: setActiveSectionId
|
|
1688
1688
|
},
|
|
1689
1689
|
footer: readOnly ? void 0 : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 px-6 py-3", children: [
|
|
1690
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1691
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1690
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUOKLJT2P_js.Button, { outline: true, onClick: onCancel, children: t("cancel") }),
|
|
1691
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUOKLJT2P_js.Button, { color: "cyan", onClick: handleSave, disabled: !canSave, children: t("save") })
|
|
1692
1692
|
] }),
|
|
1693
1693
|
children: renderSection()
|
|
1694
1694
|
}
|
|
@@ -2195,7 +2195,7 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
|
|
|
2195
2195
|
event.stopPropagation();
|
|
2196
2196
|
},
|
|
2197
2197
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2198
|
-
|
|
2198
|
+
chunkUOKLJT2P_js.ToggleSwitch,
|
|
2199
2199
|
{
|
|
2200
2200
|
checked: Boolean(agentTool.enabled),
|
|
2201
2201
|
onChange: () => data.onToggle?.(agentTool),
|
|
@@ -2303,7 +2303,7 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
|
|
|
2303
2303
|
event.preventDefault();
|
|
2304
2304
|
},
|
|
2305
2305
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2306
|
-
|
|
2306
|
+
chunkUOKLJT2P_js.ToggleSwitch,
|
|
2307
2307
|
{
|
|
2308
2308
|
checked: Boolean(tool.enabled),
|
|
2309
2309
|
onChange: () => onToggle(tool),
|
|
@@ -2455,7 +2455,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
2455
2455
|
event.preventDefault();
|
|
2456
2456
|
},
|
|
2457
2457
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2458
|
-
|
|
2458
|
+
chunkUOKLJT2P_js.ToggleSwitch,
|
|
2459
2459
|
{
|
|
2460
2460
|
checked: Boolean(rule.enabled),
|
|
2461
2461
|
onChange: () => onToggle(rule),
|
|
@@ -3455,7 +3455,7 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
3455
3455
|
event.preventDefault();
|
|
3456
3456
|
},
|
|
3457
3457
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3458
|
-
|
|
3458
|
+
chunkUOKLJT2P_js.ToggleSwitch,
|
|
3459
3459
|
{
|
|
3460
3460
|
checked: true,
|
|
3461
3461
|
onChange: () => {
|
|
@@ -3783,8 +3783,8 @@ function ConfigFormActions({
|
|
|
3783
3783
|
saveDisabled = false
|
|
3784
3784
|
}) {
|
|
3785
3785
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
3786
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3787
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3786
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUOKLJT2P_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3787
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUOKLJT2P_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3788
3788
|
] });
|
|
3789
3789
|
}
|
|
3790
3790
|
var COLOR_CLASSES = {
|
|
@@ -4031,7 +4031,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4031
4031
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
4032
4032
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
4033
4033
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4034
|
-
|
|
4034
|
+
chunkUOKLJT2P_js.Button,
|
|
4035
4035
|
{
|
|
4036
4036
|
type: "button",
|
|
4037
4037
|
onClick: handleAddCondition,
|
|
@@ -4042,7 +4042,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4042
4042
|
/* @__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: [
|
|
4043
4043
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
4044
4044
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4045
|
-
|
|
4045
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4046
4046
|
{
|
|
4047
4047
|
type: "text",
|
|
4048
4048
|
label: t("variableLabel"),
|
|
@@ -4053,7 +4053,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4053
4053
|
}
|
|
4054
4054
|
) }),
|
|
4055
4055
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4056
|
-
|
|
4056
|
+
chunkUOKLJT2P_js.FormSelect,
|
|
4057
4057
|
{
|
|
4058
4058
|
label: t("operatorLabel"),
|
|
4059
4059
|
value: condition.operator,
|
|
@@ -4063,7 +4063,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4063
4063
|
}
|
|
4064
4064
|
) }),
|
|
4065
4065
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4066
|
-
|
|
4066
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4067
4067
|
{
|
|
4068
4068
|
type: "text",
|
|
4069
4069
|
label: t("valueLabel"),
|
|
@@ -4075,7 +4075,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4075
4075
|
) })
|
|
4076
4076
|
] }),
|
|
4077
4077
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4078
|
-
|
|
4078
|
+
chunkUOKLJT2P_js.IconButton,
|
|
4079
4079
|
{
|
|
4080
4080
|
onClick: () => handleRemoveCondition(index),
|
|
4081
4081
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -4447,7 +4447,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4447
4447
|
};
|
|
4448
4448
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4449
4449
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4450
|
-
|
|
4450
|
+
chunkUOKLJT2P_js.FormSelect,
|
|
4451
4451
|
{
|
|
4452
4452
|
label: t("methodLabel"),
|
|
4453
4453
|
value: method,
|
|
@@ -4456,7 +4456,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4456
4456
|
}
|
|
4457
4457
|
),
|
|
4458
4458
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4459
|
-
|
|
4459
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4460
4460
|
{
|
|
4461
4461
|
type: "text",
|
|
4462
4462
|
label: t("urlLabel"),
|
|
@@ -4469,7 +4469,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4469
4469
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
4470
4470
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
4471
4471
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4472
|
-
|
|
4472
|
+
chunkUOKLJT2P_js.Button,
|
|
4473
4473
|
{
|
|
4474
4474
|
type: "button",
|
|
4475
4475
|
onClick: handleAddHeader,
|
|
@@ -4479,7 +4479,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4479
4479
|
] }),
|
|
4480
4480
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
4481
4481
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4482
|
-
|
|
4482
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4483
4483
|
{
|
|
4484
4484
|
type: "text",
|
|
4485
4485
|
value: entry.key,
|
|
@@ -4489,7 +4489,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4489
4489
|
}
|
|
4490
4490
|
),
|
|
4491
4491
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4492
|
-
|
|
4492
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4493
4493
|
{
|
|
4494
4494
|
type: "text",
|
|
4495
4495
|
value: entry.value,
|
|
@@ -4499,7 +4499,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4499
4499
|
}
|
|
4500
4500
|
),
|
|
4501
4501
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4502
|
-
|
|
4502
|
+
chunkUOKLJT2P_js.IconButton,
|
|
4503
4503
|
{
|
|
4504
4504
|
onClick: () => handleRemoveHeader(index),
|
|
4505
4505
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -4511,7 +4511,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4511
4511
|
] }, index)) })
|
|
4512
4512
|
] }),
|
|
4513
4513
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4514
|
-
|
|
4514
|
+
chunkUOKLJT2P_js.FormTextarea,
|
|
4515
4515
|
{
|
|
4516
4516
|
label: t("bodyLabel"),
|
|
4517
4517
|
value: body,
|
|
@@ -4522,7 +4522,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4522
4522
|
}
|
|
4523
4523
|
),
|
|
4524
4524
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4525
|
-
|
|
4525
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4526
4526
|
{
|
|
4527
4527
|
type: "number",
|
|
4528
4528
|
label: t("timeoutLabel"),
|
|
@@ -4534,7 +4534,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4534
4534
|
}
|
|
4535
4535
|
),
|
|
4536
4536
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4537
|
-
|
|
4537
|
+
chunkUOKLJT2P_js.FormSelect,
|
|
4538
4538
|
{
|
|
4539
4539
|
label: t("parseResponseLabel"),
|
|
4540
4540
|
value: parseResponse,
|
|
@@ -4565,7 +4565,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4565
4565
|
};
|
|
4566
4566
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4567
4567
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4568
|
-
|
|
4568
|
+
chunkUOKLJT2P_js.FormTextarea,
|
|
4569
4569
|
{
|
|
4570
4570
|
label: t("templateLabel"),
|
|
4571
4571
|
value: template,
|
|
@@ -4576,7 +4576,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4576
4576
|
}
|
|
4577
4577
|
),
|
|
4578
4578
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4579
|
-
|
|
4579
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4580
4580
|
{
|
|
4581
4581
|
type: "text",
|
|
4582
4582
|
label: t("outputVariableLabel"),
|
|
@@ -4605,7 +4605,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4605
4605
|
};
|
|
4606
4606
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4607
4607
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4608
|
-
|
|
4608
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4609
4609
|
{
|
|
4610
4610
|
type: "text",
|
|
4611
4611
|
label: t("iteratorVariableLabel"),
|
|
@@ -4615,7 +4615,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4615
4615
|
}
|
|
4616
4616
|
),
|
|
4617
4617
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4618
|
-
|
|
4618
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4619
4619
|
{
|
|
4620
4620
|
type: "number",
|
|
4621
4621
|
label: t("maxIterationsLabel"),
|
|
@@ -4646,7 +4646,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4646
4646
|
};
|
|
4647
4647
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4648
4648
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4649
|
-
|
|
4649
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4650
4650
|
{
|
|
4651
4651
|
type: "text",
|
|
4652
4652
|
label: t("sourceIdLabel"),
|
|
@@ -4656,7 +4656,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4656
4656
|
}
|
|
4657
4657
|
),
|
|
4658
4658
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4659
|
-
|
|
4659
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4660
4660
|
{
|
|
4661
4661
|
type: "number",
|
|
4662
4662
|
label: t("topKLabel"),
|
|
@@ -4667,7 +4667,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4667
4667
|
}
|
|
4668
4668
|
),
|
|
4669
4669
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4670
|
-
|
|
4670
|
+
chunkUOKLJT2P_js.FormInput,
|
|
4671
4671
|
{
|
|
4672
4672
|
type: "number",
|
|
4673
4673
|
label: t("similarityThresholdLabel"),
|
|
@@ -4698,7 +4698,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4698
4698
|
};
|
|
4699
4699
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4700
4700
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4701
|
-
|
|
4701
|
+
chunkUOKLJT2P_js.FormTextarea,
|
|
4702
4702
|
{
|
|
4703
4703
|
label: t("outputTemplateLabel"),
|
|
4704
4704
|
hint: t("outputTemplateHelp"),
|
|
@@ -5132,7 +5132,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5132
5132
|
}
|
|
5133
5133
|
),
|
|
5134
5134
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5135
|
-
|
|
5135
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5136
5136
|
{
|
|
5137
5137
|
type: "text",
|
|
5138
5138
|
label: t("outputVariableLabel"),
|
|
@@ -5142,7 +5142,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5142
5142
|
}
|
|
5143
5143
|
),
|
|
5144
5144
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5145
|
-
|
|
5145
|
+
chunkUOKLJT2P_js.FormSelect,
|
|
5146
5146
|
{
|
|
5147
5147
|
label: t("aggregationModeLabel"),
|
|
5148
5148
|
value: aggregationMode,
|
|
@@ -5175,7 +5175,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5175
5175
|
};
|
|
5176
5176
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5177
5177
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5178
|
-
|
|
5178
|
+
chunkUOKLJT2P_js.FormSelect,
|
|
5179
5179
|
{
|
|
5180
5180
|
label: t("extractionModeLabel"),
|
|
5181
5181
|
value: extractionMode,
|
|
@@ -5184,7 +5184,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5184
5184
|
}
|
|
5185
5185
|
),
|
|
5186
5186
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5187
|
-
|
|
5187
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5188
5188
|
{
|
|
5189
5189
|
type: "text",
|
|
5190
5190
|
label: t("outputVariableLabel"),
|
|
@@ -5361,7 +5361,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5361
5361
|
};
|
|
5362
5362
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5363
5363
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5364
|
-
|
|
5364
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5365
5365
|
{
|
|
5366
5366
|
type: "text",
|
|
5367
5367
|
label: t("iteratorVariableLabel"),
|
|
@@ -5371,7 +5371,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5371
5371
|
}
|
|
5372
5372
|
),
|
|
5373
5373
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5374
|
-
|
|
5374
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5375
5375
|
{
|
|
5376
5376
|
type: "text",
|
|
5377
5377
|
label: t("itemVariableLabel"),
|
|
@@ -5381,7 +5381,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5381
5381
|
}
|
|
5382
5382
|
),
|
|
5383
5383
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5384
|
-
|
|
5384
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5385
5385
|
{
|
|
5386
5386
|
type: "text",
|
|
5387
5387
|
label: t("indexVariableLabel"),
|
|
@@ -5653,7 +5653,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5653
5653
|
};
|
|
5654
5654
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5655
5655
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5656
|
-
|
|
5656
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5657
5657
|
{
|
|
5658
5658
|
type: "text",
|
|
5659
5659
|
label: translations("labelField"),
|
|
@@ -5663,7 +5663,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5663
5663
|
}
|
|
5664
5664
|
),
|
|
5665
5665
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5666
|
-
|
|
5666
|
+
chunkUOKLJT2P_js.FormTextarea,
|
|
5667
5667
|
{
|
|
5668
5668
|
label: translations("descriptionField"),
|
|
5669
5669
|
value: description,
|
|
@@ -5821,7 +5821,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5821
5821
|
};
|
|
5822
5822
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5823
5823
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5824
|
-
|
|
5824
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5825
5825
|
{
|
|
5826
5826
|
type: "text",
|
|
5827
5827
|
label: t("nameLabel"),
|
|
@@ -5831,7 +5831,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5831
5831
|
}
|
|
5832
5832
|
),
|
|
5833
5833
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5834
|
-
|
|
5834
|
+
chunkUOKLJT2P_js.FormSelect,
|
|
5835
5835
|
{
|
|
5836
5836
|
label: t("providerTypeLabel"),
|
|
5837
5837
|
value: providerType,
|
|
@@ -5840,7 +5840,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5840
5840
|
}
|
|
5841
5841
|
),
|
|
5842
5842
|
showRegion && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5843
|
-
|
|
5843
|
+
chunkUOKLJT2P_js.FormSelect,
|
|
5844
5844
|
{
|
|
5845
5845
|
label: t("regionLabel"),
|
|
5846
5846
|
value: region,
|
|
@@ -5849,7 +5849,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5849
5849
|
}
|
|
5850
5850
|
),
|
|
5851
5851
|
showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5852
|
-
|
|
5852
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5853
5853
|
{
|
|
5854
5854
|
type: "text",
|
|
5855
5855
|
label: t("endpointLabel"),
|
|
@@ -5859,7 +5859,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5859
5859
|
}
|
|
5860
5860
|
),
|
|
5861
5861
|
showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5862
|
-
|
|
5862
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5863
5863
|
{
|
|
5864
5864
|
type: "password",
|
|
5865
5865
|
label: t("apiKeyLabel"),
|
|
@@ -5869,7 +5869,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5869
5869
|
}
|
|
5870
5870
|
),
|
|
5871
5871
|
showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5872
|
-
|
|
5872
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5873
5873
|
{
|
|
5874
5874
|
type: "text",
|
|
5875
5875
|
label: t("credentialRefLabel"),
|
|
@@ -5939,7 +5939,7 @@ function RuleNodeConfigForm({ config, onSave, onCancel, availableRules }) {
|
|
|
5939
5939
|
]
|
|
5940
5940
|
}
|
|
5941
5941
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5942
|
-
|
|
5942
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5943
5943
|
{
|
|
5944
5944
|
type: "text",
|
|
5945
5945
|
value: ruleId,
|
|
@@ -5955,7 +5955,7 @@ function RuleNodeConfigForm({ config, onSave, onCancel, availableRules }) {
|
|
|
5955
5955
|
] }),
|
|
5956
5956
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
5957
5957
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5958
|
-
|
|
5958
|
+
chunkUOKLJT2P_js.FormInput,
|
|
5959
5959
|
{
|
|
5960
5960
|
type: "number",
|
|
5961
5961
|
label: t("priorityLabel", { _: "Priority" }),
|
|
@@ -6027,7 +6027,7 @@ function AgentNodeConfigForm({
|
|
|
6027
6027
|
}));
|
|
6028
6028
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
6029
6029
|
agentOptions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6030
|
-
|
|
6030
|
+
chunkUOKLJT2P_js.FormSelect,
|
|
6031
6031
|
{
|
|
6032
6032
|
label: t("agentLabel", { _: "Agent" }),
|
|
6033
6033
|
value: agentId,
|
|
@@ -6035,7 +6035,7 @@ function AgentNodeConfigForm({
|
|
|
6035
6035
|
options: [{ value: "", label: t("agentPickPrompt", { _: "Choose an agent\u2026" }) }, ...agentOptions]
|
|
6036
6036
|
}
|
|
6037
6037
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
6038
|
-
|
|
6038
|
+
chunkUOKLJT2P_js.FormInput,
|
|
6039
6039
|
{
|
|
6040
6040
|
type: "text",
|
|
6041
6041
|
label: t("agentIdLabel", { _: "Agent ID" }),
|
|
@@ -6045,7 +6045,7 @@ function AgentNodeConfigForm({
|
|
|
6045
6045
|
}
|
|
6046
6046
|
),
|
|
6047
6047
|
connOptions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6048
|
-
|
|
6048
|
+
chunkUOKLJT2P_js.FormSelect,
|
|
6049
6049
|
{
|
|
6050
6050
|
label: t("connectionLabel", { _: "Model provider connection" }),
|
|
6051
6051
|
value: connectionId,
|
|
@@ -6053,7 +6053,7 @@ function AgentNodeConfigForm({
|
|
|
6053
6053
|
options: [{ value: "", label: t("connectionPickPrompt", { _: "Inline model (no connection)" }) }, ...connOptions]
|
|
6054
6054
|
}
|
|
6055
6055
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
6056
|
-
|
|
6056
|
+
chunkUOKLJT2P_js.FormInput,
|
|
6057
6057
|
{
|
|
6058
6058
|
type: "text",
|
|
6059
6059
|
label: t("connectionIdLabel", { _: "Connection ID" }),
|
|
@@ -6063,7 +6063,7 @@ function AgentNodeConfigForm({
|
|
|
6063
6063
|
}
|
|
6064
6064
|
),
|
|
6065
6065
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6066
|
-
|
|
6066
|
+
chunkUOKLJT2P_js.FormInput,
|
|
6067
6067
|
{
|
|
6068
6068
|
type: "text",
|
|
6069
6069
|
label: t("modelIdLabel", { _: "Model override (optional)" }),
|
|
@@ -6073,7 +6073,7 @@ function AgentNodeConfigForm({
|
|
|
6073
6073
|
}
|
|
6074
6074
|
),
|
|
6075
6075
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6076
|
-
|
|
6076
|
+
chunkUOKLJT2P_js.FormTextarea,
|
|
6077
6077
|
{
|
|
6078
6078
|
label: t("systemPromptLabel", { _: "System prompt" }),
|
|
6079
6079
|
value: systemPrompt,
|
|
@@ -6083,7 +6083,7 @@ function AgentNodeConfigForm({
|
|
|
6083
6083
|
}
|
|
6084
6084
|
),
|
|
6085
6085
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6086
|
-
|
|
6086
|
+
chunkUOKLJT2P_js.FormTextarea,
|
|
6087
6087
|
{
|
|
6088
6088
|
label: t("userPromptLabel", { _: "User prompt" }),
|
|
6089
6089
|
value: userPrompt,
|
|
@@ -6094,7 +6094,7 @@ function AgentNodeConfigForm({
|
|
|
6094
6094
|
),
|
|
6095
6095
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
6096
6096
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6097
|
-
|
|
6097
|
+
chunkUOKLJT2P_js.FormInput,
|
|
6098
6098
|
{
|
|
6099
6099
|
type: "number",
|
|
6100
6100
|
label: t("maxTokensLabel", { _: "Max output tokens" }),
|
|
@@ -6106,7 +6106,7 @@ function AgentNodeConfigForm({
|
|
|
6106
6106
|
}
|
|
6107
6107
|
),
|
|
6108
6108
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6109
|
-
|
|
6109
|
+
chunkUOKLJT2P_js.FormInput,
|
|
6110
6110
|
{
|
|
6111
6111
|
type: "number",
|
|
6112
6112
|
label: t("temperatureLabel", { _: "Temperature" }),
|
|
@@ -6221,7 +6221,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
6221
6221
|
}
|
|
6222
6222
|
};
|
|
6223
6223
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6224
|
-
|
|
6224
|
+
chunkUOKLJT2P_js.GlassModal,
|
|
6225
6225
|
{
|
|
6226
6226
|
open,
|
|
6227
6227
|
onClose: closeModal,
|
|
@@ -6281,7 +6281,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
6281
6281
|
}
|
|
6282
6282
|
];
|
|
6283
6283
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6284
|
-
|
|
6284
|
+
chunkUOKLJT2P_js.ContextMenu,
|
|
6285
6285
|
{
|
|
6286
6286
|
position,
|
|
6287
6287
|
onClose,
|
|
@@ -6338,7 +6338,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
6338
6338
|
}
|
|
6339
6339
|
];
|
|
6340
6340
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6341
|
-
|
|
6341
|
+
chunkUOKLJT2P_js.ContextMenu,
|
|
6342
6342
|
{
|
|
6343
6343
|
position,
|
|
6344
6344
|
onClose,
|
|
@@ -6485,7 +6485,7 @@ function SelectionContextMenu({
|
|
|
6485
6485
|
}
|
|
6486
6486
|
];
|
|
6487
6487
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6488
|
-
|
|
6488
|
+
chunkUOKLJT2P_js.ContextMenu,
|
|
6489
6489
|
{
|
|
6490
6490
|
position,
|
|
6491
6491
|
onClose,
|
|
@@ -8393,5 +8393,5 @@ exports.useModalStore = useModalStore;
|
|
|
8393
8393
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
8394
8394
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
8395
8395
|
exports.useWorkflowStore = useWorkflowStore;
|
|
8396
|
-
//# sourceMappingURL=chunk-
|
|
8397
|
-
//# sourceMappingURL=chunk-
|
|
8396
|
+
//# sourceMappingURL=chunk-KMJG6A4K.js.map
|
|
8397
|
+
//# sourceMappingURL=chunk-KMJG6A4K.js.map
|