@datatechsolutions/ui 3.5.1 → 3.6.1
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 +107 -107
- 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-R3Q5RXXO.mjs → chunk-3Z66NXEB.mjs} +3 -3
- package/dist/{chunk-R3Q5RXXO.mjs.map → chunk-3Z66NXEB.mjs.map} +1 -1
- package/dist/{chunk-CDYNTHUE.mjs → chunk-4JDJRGAB.mjs} +9 -8
- package/dist/chunk-4JDJRGAB.mjs.map +1 -0
- package/dist/{chunk-EUXHJMGC.mjs → chunk-4OFG6POC.mjs} +9 -5
- package/dist/chunk-4OFG6POC.mjs.map +1 -0
- package/dist/{chunk-37ZLBCJF.mjs → chunk-5ZAZ2C7A.mjs} +6 -6
- package/dist/{chunk-37ZLBCJF.mjs.map → chunk-5ZAZ2C7A.mjs.map} +1 -1
- package/dist/{chunk-PYQLY2RH.js → chunk-6ZMTJSQF.js} +161 -161
- package/dist/chunk-6ZMTJSQF.js.map +1 -0
- package/dist/{chunk-PI2C3S6A.mjs → chunk-7LILNZMR.mjs} +3 -3
- package/dist/{chunk-PI2C3S6A.mjs.map → chunk-7LILNZMR.mjs.map} +1 -1
- package/dist/{chunk-EI6FIA45.js → chunk-AMYQSPQC.js} +16 -16
- package/dist/{chunk-EI6FIA45.js.map → chunk-AMYQSPQC.js.map} +1 -1
- package/dist/{chunk-VMIAMBCP.js → chunk-DRORQGN2.js} +39 -39
- package/dist/{chunk-VMIAMBCP.js.map → chunk-DRORQGN2.js.map} +1 -1
- package/dist/{chunk-CP5QXRXA.mjs → chunk-ESLKQJQS.mjs} +4 -4
- package/dist/{chunk-CP5QXRXA.mjs.map → chunk-ESLKQJQS.mjs.map} +1 -1
- package/dist/{chunk-K4M4B6ME.js → chunk-GCYYGSHU.js} +9 -5
- package/dist/chunk-GCYYGSHU.js.map +1 -0
- package/dist/{chunk-2TBNOQ7M.mjs → chunk-HGWVJ3VB.mjs} +21 -21
- package/dist/{chunk-2TBNOQ7M.mjs.map → chunk-HGWVJ3VB.mjs.map} +1 -1
- package/dist/{chunk-7OZ4MVEF.mjs → chunk-IHHGT3LP.mjs} +19 -19
- package/dist/{chunk-7OZ4MVEF.mjs.map → chunk-IHHGT3LP.mjs.map} +1 -1
- package/dist/{chunk-YV2SE5LS.mjs → chunk-JQYDJ75Q.mjs} +3 -3
- package/dist/{chunk-YV2SE5LS.mjs.map → chunk-JQYDJ75Q.mjs.map} +1 -1
- package/dist/{chunk-WKCR4KVQ.mjs → chunk-KDFBN2L2.mjs} +34 -31
- package/dist/chunk-KDFBN2L2.mjs.map +1 -0
- package/dist/{chunk-MT4FJRMD.js → chunk-KEWRLEYV.js} +4 -4
- package/dist/{chunk-MT4FJRMD.js.map → chunk-KEWRLEYV.js.map} +1 -1
- package/dist/{chunk-SFFSXC5E.js → chunk-LVK7VXW7.js} +54 -54
- package/dist/{chunk-SFFSXC5E.js.map → chunk-LVK7VXW7.js.map} +1 -1
- package/dist/{chunk-EGXB3WXT.mjs → chunk-MQNXKBFP.mjs} +8 -8
- package/dist/chunk-MQNXKBFP.mjs.map +1 -0
- package/dist/{chunk-ULEPJXTN.mjs → chunk-MRRFDIUQ.mjs} +3 -3
- package/dist/{chunk-ULEPJXTN.mjs.map → chunk-MRRFDIUQ.mjs.map} +1 -1
- package/dist/{chunk-U6XA2OYE.js → chunk-MUOTTGCX.js} +33 -32
- package/dist/chunk-MUOTTGCX.js.map +1 -0
- package/dist/{chunk-RQBTLFYH.js → chunk-NJZIE4EH.js} +5 -5
- package/dist/{chunk-RQBTLFYH.js.map → chunk-NJZIE4EH.js.map} +1 -1
- package/dist/{chunk-HVDDCBQ2.js → chunk-P5F257N3.js} +33 -33
- package/dist/{chunk-HVDDCBQ2.js.map → chunk-P5F257N3.js.map} +1 -1
- package/dist/{chunk-2UMDWOUY.js → chunk-QRNFTG6A.js} +4 -4
- package/dist/{chunk-2UMDWOUY.js.map → chunk-QRNFTG6A.js.map} +1 -1
- package/dist/{chunk-F5UDX6JA.js → chunk-SQZGQOKU.js} +104 -101
- package/dist/chunk-SQZGQOKU.js.map +1 -0
- package/dist/{chunk-KIBOX3UQ.js → chunk-UGJZ3M4Q.js} +53 -53
- package/dist/{chunk-KIBOX3UQ.js.map → chunk-UGJZ3M4Q.js.map} +1 -1
- package/dist/{chunk-PFHXKWFT.mjs → chunk-UOABOFKO.mjs} +3 -3
- package/dist/{chunk-PFHXKWFT.mjs.map → chunk-UOABOFKO.mjs.map} +1 -1
- package/dist/{chunk-L5O4NWQO.mjs → chunk-VDLAZR7S.mjs} +3 -3
- package/dist/{chunk-L5O4NWQO.mjs.map → chunk-VDLAZR7S.mjs.map} +1 -1
- package/dist/{chunk-CJGNEALB.mjs → chunk-VUAGVZJM.mjs} +4 -4
- package/dist/{chunk-CJGNEALB.mjs.map → chunk-VUAGVZJM.mjs.map} +1 -1
- package/dist/{chunk-QIUVK4BI.js → chunk-W5YCZOXO.js} +77 -77
- package/dist/{chunk-QIUVK4BI.js.map → chunk-W5YCZOXO.js.map} +1 -1
- package/dist/{chunk-OWJIKCR2.js → chunk-WBEZATIB.js} +13 -13
- package/dist/{chunk-OWJIKCR2.js.map → chunk-WBEZATIB.js.map} +1 -1
- package/dist/{chunk-KRPSTXN5.js → chunk-YOJIPZ72.js} +9 -9
- package/dist/{chunk-KRPSTXN5.js.map → chunk-YOJIPZ72.js.map} +1 -1
- package/dist/{chunk-5AVO5DJO.js → chunk-YTE6WCBX.js} +76 -76
- package/dist/{chunk-5AVO5DJO.js.map → chunk-YTE6WCBX.js.map} +1 -1
- package/dist/{chunk-R6O57NTJ.mjs → chunk-ZYVDDSAC.mjs} +6 -6
- package/dist/{chunk-R6O57NTJ.mjs.map → chunk-ZYVDDSAC.mjs.map} +1 -1
- package/dist/index.js +704 -704
- package/dist/index.mjs +1 -1
- package/dist/platform/admin/index.js +10 -10
- package/dist/platform/admin/index.mjs +4 -4
- package/dist/platform/agents-workspace.js +6 -6
- package/dist/platform/agents-workspace.mjs +5 -5
- package/dist/platform/app-shell.js +3 -3
- package/dist/platform/app-shell.mjs +2 -2
- package/dist/platform/auth/index.js +27 -27
- package/dist/platform/auth/index.mjs +4 -4
- package/dist/platform/billing/index.js +3 -3
- package/dist/platform/billing/index.mjs +2 -2
- package/dist/platform/impersonation/index.js +3 -3
- package/dist/platform/impersonation/index.mjs +2 -2
- package/dist/platform/index.js +82 -82
- package/dist/platform/index.mjs +18 -18
- package/dist/platform/pages/index.d.mts +1 -0
- package/dist/platform/pages/index.d.ts +1 -0
- package/dist/platform/pages/index.js +477 -448
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +335 -306
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +7 -7
- package/dist/platform/settings/index.mjs +6 -6
- package/dist/platform/workflow-canvas-shell.js +4 -4
- package/dist/platform/workflow-canvas-shell.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-CDYNTHUE.mjs.map +0 -1
- package/dist/chunk-EGXB3WXT.mjs.map +0 -1
- package/dist/chunk-EUXHJMGC.mjs.map +0 -1
- package/dist/chunk-F5UDX6JA.js.map +0 -1
- package/dist/chunk-K4M4B6ME.js.map +0 -1
- package/dist/chunk-PYQLY2RH.js.map +0 -1
- package/dist/chunk-U6XA2OYE.js.map +0 -1
- package/dist/chunk-WKCR4KVQ.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkGCYYGSHU_js = require('./chunk-GCYYGSHU.js');
|
|
5
5
|
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
6
6
|
var chunkP4YYEM4B_js = require('./chunk-P4YYEM4B.js');
|
|
7
7
|
var chunk72SWXOD5_js = require('./chunk-72SWXOD5.js');
|
|
@@ -1703,7 +1703,7 @@ function DatasourceNodeConfigForm({
|
|
|
1703
1703
|
}
|
|
1704
1704
|
const logo = getDatasourceLogo(selectedDatasourceId, selectedDatasource?.dialect);
|
|
1705
1705
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1706
|
-
|
|
1706
|
+
chunkGCYYGSHU_js.GlassModal,
|
|
1707
1707
|
{
|
|
1708
1708
|
open,
|
|
1709
1709
|
onClose: onCancel,
|
|
@@ -1718,8 +1718,8 @@ function DatasourceNodeConfigForm({
|
|
|
1718
1718
|
onSectionChange: setActiveSectionId
|
|
1719
1719
|
},
|
|
1720
1720
|
footer: readOnly ? void 0 : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 px-6 py-3", children: [
|
|
1721
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1722
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1721
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Button, { outline: true, onClick: onCancel, children: t("cancel") }),
|
|
1722
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Button, { color: "cyan", onClick: handleSave, disabled: !canSave, children: t("save") })
|
|
1723
1723
|
] }),
|
|
1724
1724
|
children: renderSection()
|
|
1725
1725
|
}
|
|
@@ -1965,9 +1965,6 @@ function NodeCardDeleteAction({ nodeId, onDelete }) {
|
|
|
1965
1965
|
}
|
|
1966
1966
|
);
|
|
1967
1967
|
}
|
|
1968
|
-
function NodeCardBranchLabel({ children, className }) {
|
|
1969
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { className, children });
|
|
1970
|
-
}
|
|
1971
1968
|
var BASE_HANDLE_CLASS = "!h-3 !w-3 !border-2 !border-white dark:!border-gray-800";
|
|
1972
1969
|
function useResolvedPosition(position) {
|
|
1973
1970
|
const layoutDirection = useWorkflowStore((s) => s.layoutDirection);
|
|
@@ -2115,21 +2112,18 @@ var AgentFlowNode = react.memo(function AgentFlowNode2({ id, data, selected }) {
|
|
|
2115
2112
|
] })
|
|
2116
2113
|
] }),
|
|
2117
2114
|
/* @__PURE__ */ jsxRuntime.jsx(NodeCardMeta, { compact: isCompact, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
2118
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2115
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "indigo", size: "xs", children: "Agent" }),
|
|
2119
2116
|
(() => {
|
|
2120
2117
|
const tier = chunk72SWXOD5_js.getAgentTier(Number(data.agent.elo ?? 0));
|
|
2121
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2118
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: tier.pillColor, children: tier.key });
|
|
2122
2119
|
})(),
|
|
2123
|
-
/* @__PURE__ */ jsxRuntime.
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
] }),
|
|
2127
|
-
/* @__PURE__ */ jsxRuntime.jsx(NodeCardBadge, { className: "rounded-full bg-blue-50 px-2 py-0.5 text-[10px] font-medium text-blue-700 dark:bg-blue-900/25 dark:text-blue-300", children: data.agent.modelId }),
|
|
2128
|
-
/* @__PURE__ */ jsxRuntime.jsxs(NodeCardBadge, { className: "rounded-full bg-gray-100 px-2 py-0.5 text-[10px] font-medium text-gray-600 dark:bg-white/10 dark:text-gray-300", children: [
|
|
2120
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: frameworkMeta.badgeColor, icon: /* @__PURE__ */ jsxRuntime.jsx(frameworkMeta.IconComponent, { className: "h-3 w-3" }), children: frameworkMeta.label }),
|
|
2121
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "blue", size: "xs", children: data.agent.modelId }),
|
|
2122
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", children: [
|
|
2129
2123
|
"T: ",
|
|
2130
2124
|
data.agent.temperature
|
|
2131
2125
|
] }),
|
|
2132
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2126
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", children: [
|
|
2133
2127
|
"v",
|
|
2134
2128
|
data.agent.activePromptVersion
|
|
2135
2129
|
] }),
|
|
@@ -2137,7 +2131,16 @@ var AgentFlowNode = react.memo(function AgentFlowNode2({ id, data, selected }) {
|
|
|
2137
2131
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full" }),
|
|
2138
2132
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center gap-1 border-t border-gray-200/20 pt-1 dark:border-white/5", children: [
|
|
2139
2133
|
/* @__PURE__ */ jsxRuntime.jsx(outline.CommandLineIcon, { className: "h-3 w-3 shrink-0 text-amber-500 dark:text-amber-400" }),
|
|
2140
|
-
data.agentTools.slice(0, 3).map((tool) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2134
|
+
data.agentTools.slice(0, 3).map((tool) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2135
|
+
chunkGCYYGSHU_js.Badge,
|
|
2136
|
+
{
|
|
2137
|
+
color: tool.enabled ? "amber" : "zinc",
|
|
2138
|
+
size: "xs",
|
|
2139
|
+
className: tool.enabled ? "" : "line-through",
|
|
2140
|
+
children: tool.name
|
|
2141
|
+
},
|
|
2142
|
+
tool.id
|
|
2143
|
+
)),
|
|
2141
2144
|
data.agentTools.length > 3 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[9px] text-gray-400 dark:text-gray-500", children: [
|
|
2142
2145
|
"+",
|
|
2143
2146
|
data.agentTools.length - 3
|
|
@@ -2226,7 +2229,7 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
|
|
|
2226
2229
|
event.stopPropagation();
|
|
2227
2230
|
},
|
|
2228
2231
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2229
|
-
|
|
2232
|
+
chunkGCYYGSHU_js.ToggleSwitch,
|
|
2230
2233
|
{
|
|
2231
2234
|
checked: Boolean(agentTool.enabled),
|
|
2232
2235
|
onChange: () => data.onToggle?.(agentTool),
|
|
@@ -2239,9 +2242,9 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
|
|
|
2239
2242
|
)
|
|
2240
2243
|
] }),
|
|
2241
2244
|
/* @__PURE__ */ jsxRuntime.jsx(NodeCardMeta, { compact: isCompact, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
2242
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2243
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2244
|
-
agentTool.parameters && agentTool.parameters.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2245
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "amber", size: "xs", children: t("agentToolNode") }),
|
|
2246
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: pill, children: category }),
|
|
2247
|
+
agentTool.parameters && agentTool.parameters.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", children: [
|
|
2245
2248
|
agentTool.parameters.length,
|
|
2246
2249
|
" params"
|
|
2247
2250
|
] }),
|
|
@@ -2334,7 +2337,7 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
|
|
|
2334
2337
|
event.preventDefault();
|
|
2335
2338
|
},
|
|
2336
2339
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2337
|
-
|
|
2340
|
+
chunkGCYYGSHU_js.ToggleSwitch,
|
|
2338
2341
|
{
|
|
2339
2342
|
checked: Boolean(tool.enabled),
|
|
2340
2343
|
onChange: () => onToggle(tool),
|
|
@@ -2348,8 +2351,8 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
|
|
|
2348
2351
|
] }),
|
|
2349
2352
|
/* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
|
|
2350
2353
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2351
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2352
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2354
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "teal", size: "xs", children: t("nodeType") }),
|
|
2355
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: categoryPill, children: tool.category }),
|
|
2353
2356
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2354
2357
|
String(tool.timeoutMs ?? ""),
|
|
2355
2358
|
"ms"
|
|
@@ -2406,7 +2409,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
2406
2409
|
] }),
|
|
2407
2410
|
!isCompact && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center justify-between", children: [
|
|
2408
2411
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2409
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2412
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "violet", size: "xs", children: t("ruleEngine") }),
|
|
2410
2413
|
contextVariableCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2411
2414
|
contextVariableCount,
|
|
2412
2415
|
" vars"
|
|
@@ -2486,7 +2489,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
2486
2489
|
event.preventDefault();
|
|
2487
2490
|
},
|
|
2488
2491
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2489
|
-
|
|
2492
|
+
chunkGCYYGSHU_js.ToggleSwitch,
|
|
2490
2493
|
{
|
|
2491
2494
|
checked: Boolean(rule.enabled),
|
|
2492
2495
|
onChange: () => onToggle(rule),
|
|
@@ -2500,8 +2503,8 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
2500
2503
|
] }),
|
|
2501
2504
|
!isCompact && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center justify-between", children: [
|
|
2502
2505
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2503
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2504
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2506
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "violet", size: "xs", children: t("nodeType") }),
|
|
2507
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: typePill, children: adjustmentType }),
|
|
2505
2508
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2506
2509
|
"P",
|
|
2507
2510
|
String(rule.priority ?? "")
|
|
@@ -2579,8 +2582,8 @@ var EntityFlowNode = react.memo(function EntityFlowNode2({ id, data, selected })
|
|
|
2579
2582
|
] }),
|
|
2580
2583
|
/* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
|
|
2581
2584
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2582
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2583
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2585
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: badgeColor, children: t("entityNodeType") }),
|
|
2586
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: badgeColor, children: [
|
|
2584
2587
|
fieldCount,
|
|
2585
2588
|
" ",
|
|
2586
2589
|
t("entityFields")
|
|
@@ -2741,8 +2744,8 @@ var IfElseFlowNode = react.memo(function IfElseFlowNode2({ id, data, selected })
|
|
|
2741
2744
|
] }),
|
|
2742
2745
|
/* @__PURE__ */ jsxRuntime.jsx(NodeCardDeleteAction, { nodeId: id, onDelete })
|
|
2743
2746
|
] }),
|
|
2744
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2745
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2747
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute -right-12 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.StatusBadge, { status: "success", label: t("ifBranchLabel"), size: "sm" }) }),
|
|
2748
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute bottom-[-1.9rem] left-1/2 -translate-x-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.StatusBadge, { status: "error", label: t("elseBranchLabel"), size: "sm" }) })
|
|
2746
2749
|
]
|
|
2747
2750
|
}
|
|
2748
2751
|
),
|
|
@@ -3486,7 +3489,7 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
3486
3489
|
event.preventDefault();
|
|
3487
3490
|
},
|
|
3488
3491
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3489
|
-
|
|
3492
|
+
chunkGCYYGSHU_js.ToggleSwitch,
|
|
3490
3493
|
{
|
|
3491
3494
|
checked: true,
|
|
3492
3495
|
onChange: () => {
|
|
@@ -3502,8 +3505,8 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
3502
3505
|
] }),
|
|
3503
3506
|
/* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
|
|
3504
3507
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
3505
|
-
config.dialect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3506
|
-
readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3508
|
+
config.dialect && /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "cyan", size: "xs", children: config.dialect }),
|
|
3509
|
+
readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", children: "sample" }),
|
|
3507
3510
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
3508
3511
|
columnCount > 0 ? `${columnCount} cols` : null,
|
|
3509
3512
|
filterCount > 0 ? `${filterCount} filters` : null,
|
|
@@ -3852,8 +3855,8 @@ function ConfigFormActions({
|
|
|
3852
3855
|
saveDisabled = false
|
|
3853
3856
|
}) {
|
|
3854
3857
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
3855
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3856
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3858
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3859
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3857
3860
|
] });
|
|
3858
3861
|
}
|
|
3859
3862
|
var COLOR_CLASSES = {
|
|
@@ -4100,7 +4103,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4100
4103
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
4101
4104
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
4102
4105
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4103
|
-
|
|
4106
|
+
chunkGCYYGSHU_js.Button,
|
|
4104
4107
|
{
|
|
4105
4108
|
type: "button",
|
|
4106
4109
|
onClick: handleAddCondition,
|
|
@@ -4111,7 +4114,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4111
4114
|
/* @__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: [
|
|
4112
4115
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
4113
4116
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4114
|
-
|
|
4117
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4115
4118
|
{
|
|
4116
4119
|
type: "text",
|
|
4117
4120
|
label: t("variableLabel"),
|
|
@@ -4122,7 +4125,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4122
4125
|
}
|
|
4123
4126
|
) }),
|
|
4124
4127
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4125
|
-
|
|
4128
|
+
chunkGCYYGSHU_js.FormSelect,
|
|
4126
4129
|
{
|
|
4127
4130
|
label: t("operatorLabel"),
|
|
4128
4131
|
value: condition.operator,
|
|
@@ -4132,7 +4135,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4132
4135
|
}
|
|
4133
4136
|
) }),
|
|
4134
4137
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4135
|
-
|
|
4138
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4136
4139
|
{
|
|
4137
4140
|
type: "text",
|
|
4138
4141
|
label: t("valueLabel"),
|
|
@@ -4144,7 +4147,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4144
4147
|
) })
|
|
4145
4148
|
] }),
|
|
4146
4149
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4147
|
-
|
|
4150
|
+
chunkGCYYGSHU_js.IconButton,
|
|
4148
4151
|
{
|
|
4149
4152
|
onClick: () => handleRemoveCondition(index),
|
|
4150
4153
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -4516,7 +4519,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4516
4519
|
};
|
|
4517
4520
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4518
4521
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4519
|
-
|
|
4522
|
+
chunkGCYYGSHU_js.FormSelect,
|
|
4520
4523
|
{
|
|
4521
4524
|
label: t("methodLabel"),
|
|
4522
4525
|
value: method,
|
|
@@ -4525,7 +4528,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4525
4528
|
}
|
|
4526
4529
|
),
|
|
4527
4530
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4528
|
-
|
|
4531
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4529
4532
|
{
|
|
4530
4533
|
type: "text",
|
|
4531
4534
|
label: t("urlLabel"),
|
|
@@ -4538,7 +4541,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4538
4541
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
4539
4542
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
4540
4543
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4541
|
-
|
|
4544
|
+
chunkGCYYGSHU_js.Button,
|
|
4542
4545
|
{
|
|
4543
4546
|
type: "button",
|
|
4544
4547
|
onClick: handleAddHeader,
|
|
@@ -4548,7 +4551,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4548
4551
|
] }),
|
|
4549
4552
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
4550
4553
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4551
|
-
|
|
4554
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4552
4555
|
{
|
|
4553
4556
|
type: "text",
|
|
4554
4557
|
value: entry.key,
|
|
@@ -4558,7 +4561,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4558
4561
|
}
|
|
4559
4562
|
),
|
|
4560
4563
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4561
|
-
|
|
4564
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4562
4565
|
{
|
|
4563
4566
|
type: "text",
|
|
4564
4567
|
value: entry.value,
|
|
@@ -4568,7 +4571,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4568
4571
|
}
|
|
4569
4572
|
),
|
|
4570
4573
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4571
|
-
|
|
4574
|
+
chunkGCYYGSHU_js.IconButton,
|
|
4572
4575
|
{
|
|
4573
4576
|
onClick: () => handleRemoveHeader(index),
|
|
4574
4577
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -4580,7 +4583,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4580
4583
|
] }, index)) })
|
|
4581
4584
|
] }),
|
|
4582
4585
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4583
|
-
|
|
4586
|
+
chunkGCYYGSHU_js.FormTextarea,
|
|
4584
4587
|
{
|
|
4585
4588
|
label: t("bodyLabel"),
|
|
4586
4589
|
value: body,
|
|
@@ -4591,7 +4594,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4591
4594
|
}
|
|
4592
4595
|
),
|
|
4593
4596
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4594
|
-
|
|
4597
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4595
4598
|
{
|
|
4596
4599
|
type: "number",
|
|
4597
4600
|
label: t("timeoutLabel"),
|
|
@@ -4603,7 +4606,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4603
4606
|
}
|
|
4604
4607
|
),
|
|
4605
4608
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4606
|
-
|
|
4609
|
+
chunkGCYYGSHU_js.FormSelect,
|
|
4607
4610
|
{
|
|
4608
4611
|
label: t("parseResponseLabel"),
|
|
4609
4612
|
value: parseResponse,
|
|
@@ -4648,7 +4651,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4648
4651
|
};
|
|
4649
4652
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4650
4653
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4651
|
-
|
|
4654
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4652
4655
|
{
|
|
4653
4656
|
type: "text",
|
|
4654
4657
|
label: t("bucketLabel"),
|
|
@@ -4658,7 +4661,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4658
4661
|
}
|
|
4659
4662
|
),
|
|
4660
4663
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4661
|
-
|
|
4664
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4662
4665
|
{
|
|
4663
4666
|
type: "text",
|
|
4664
4667
|
label: t("keyLabel"),
|
|
@@ -4669,7 +4672,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4669
4672
|
),
|
|
4670
4673
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-lg border border-cyan-200/40 bg-cyan-50/40 px-3 py-2 text-[11px] text-cyan-900 dark:border-cyan-500/30 dark:bg-cyan-500/10 dark:text-cyan-100", children: t("sourceOrBodyHint") }),
|
|
4671
4674
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4672
|
-
|
|
4675
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4673
4676
|
{
|
|
4674
4677
|
type: "text",
|
|
4675
4678
|
label: t("sourceUrlLabel"),
|
|
@@ -4679,7 +4682,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4679
4682
|
}
|
|
4680
4683
|
),
|
|
4681
4684
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4682
|
-
|
|
4685
|
+
chunkGCYYGSHU_js.FormTextarea,
|
|
4683
4686
|
{
|
|
4684
4687
|
label: t("bodyLabel"),
|
|
4685
4688
|
value: body,
|
|
@@ -4690,7 +4693,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4690
4693
|
}
|
|
4691
4694
|
),
|
|
4692
4695
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4693
|
-
|
|
4696
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4694
4697
|
{
|
|
4695
4698
|
type: "text",
|
|
4696
4699
|
label: t("contentTypeLabel"),
|
|
@@ -4700,7 +4703,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4700
4703
|
}
|
|
4701
4704
|
),
|
|
4702
4705
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4703
|
-
|
|
4706
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4704
4707
|
{
|
|
4705
4708
|
type: "number",
|
|
4706
4709
|
label: t("timeoutLabel"),
|
|
@@ -4711,7 +4714,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4711
4714
|
}
|
|
4712
4715
|
),
|
|
4713
4716
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4714
|
-
|
|
4717
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4715
4718
|
{
|
|
4716
4719
|
type: "text",
|
|
4717
4720
|
label: t("connectionIdLabel"),
|
|
@@ -4740,7 +4743,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4740
4743
|
};
|
|
4741
4744
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4742
4745
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4743
|
-
|
|
4746
|
+
chunkGCYYGSHU_js.FormTextarea,
|
|
4744
4747
|
{
|
|
4745
4748
|
label: t("templateLabel"),
|
|
4746
4749
|
value: template,
|
|
@@ -4751,7 +4754,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4751
4754
|
}
|
|
4752
4755
|
),
|
|
4753
4756
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4754
|
-
|
|
4757
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4755
4758
|
{
|
|
4756
4759
|
type: "text",
|
|
4757
4760
|
label: t("outputVariableLabel"),
|
|
@@ -4780,7 +4783,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4780
4783
|
};
|
|
4781
4784
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4782
4785
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4783
|
-
|
|
4786
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4784
4787
|
{
|
|
4785
4788
|
type: "text",
|
|
4786
4789
|
label: t("iteratorVariableLabel"),
|
|
@@ -4790,7 +4793,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4790
4793
|
}
|
|
4791
4794
|
),
|
|
4792
4795
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4793
|
-
|
|
4796
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4794
4797
|
{
|
|
4795
4798
|
type: "number",
|
|
4796
4799
|
label: t("maxIterationsLabel"),
|
|
@@ -4821,7 +4824,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4821
4824
|
};
|
|
4822
4825
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4823
4826
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4824
|
-
|
|
4827
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4825
4828
|
{
|
|
4826
4829
|
type: "text",
|
|
4827
4830
|
label: t("sourceIdLabel"),
|
|
@@ -4831,7 +4834,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4831
4834
|
}
|
|
4832
4835
|
),
|
|
4833
4836
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4834
|
-
|
|
4837
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4835
4838
|
{
|
|
4836
4839
|
type: "number",
|
|
4837
4840
|
label: t("topKLabel"),
|
|
@@ -4842,7 +4845,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4842
4845
|
}
|
|
4843
4846
|
),
|
|
4844
4847
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4845
|
-
|
|
4848
|
+
chunkGCYYGSHU_js.FormInput,
|
|
4846
4849
|
{
|
|
4847
4850
|
type: "number",
|
|
4848
4851
|
label: t("similarityThresholdLabel"),
|
|
@@ -4873,7 +4876,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4873
4876
|
};
|
|
4874
4877
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4875
4878
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4876
|
-
|
|
4879
|
+
chunkGCYYGSHU_js.FormTextarea,
|
|
4877
4880
|
{
|
|
4878
4881
|
label: t("outputTemplateLabel"),
|
|
4879
4882
|
hint: t("outputTemplateHelp"),
|
|
@@ -5307,7 +5310,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5307
5310
|
}
|
|
5308
5311
|
),
|
|
5309
5312
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5310
|
-
|
|
5313
|
+
chunkGCYYGSHU_js.FormInput,
|
|
5311
5314
|
{
|
|
5312
5315
|
type: "text",
|
|
5313
5316
|
label: t("outputVariableLabel"),
|
|
@@ -5317,7 +5320,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5317
5320
|
}
|
|
5318
5321
|
),
|
|
5319
5322
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5320
|
-
|
|
5323
|
+
chunkGCYYGSHU_js.FormSelect,
|
|
5321
5324
|
{
|
|
5322
5325
|
label: t("aggregationModeLabel"),
|
|
5323
5326
|
value: aggregationMode,
|
|
@@ -5350,7 +5353,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5350
5353
|
};
|
|
5351
5354
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5352
5355
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5353
|
-
|
|
5356
|
+
chunkGCYYGSHU_js.FormSelect,
|
|
5354
5357
|
{
|
|
5355
5358
|
label: t("extractionModeLabel"),
|
|
5356
5359
|
value: extractionMode,
|
|
@@ -5359,7 +5362,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5359
5362
|
}
|
|
5360
5363
|
),
|
|
5361
5364
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5362
|
-
|
|
5365
|
+
chunkGCYYGSHU_js.FormInput,
|
|
5363
5366
|
{
|
|
5364
5367
|
type: "text",
|
|
5365
5368
|
label: t("outputVariableLabel"),
|
|
@@ -5536,7 +5539,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5536
5539
|
};
|
|
5537
5540
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5538
5541
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5539
|
-
|
|
5542
|
+
chunkGCYYGSHU_js.FormInput,
|
|
5540
5543
|
{
|
|
5541
5544
|
type: "text",
|
|
5542
5545
|
label: t("iteratorVariableLabel"),
|
|
@@ -5546,7 +5549,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5546
5549
|
}
|
|
5547
5550
|
),
|
|
5548
5551
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5549
|
-
|
|
5552
|
+
chunkGCYYGSHU_js.FormInput,
|
|
5550
5553
|
{
|
|
5551
5554
|
type: "text",
|
|
5552
5555
|
label: t("itemVariableLabel"),
|
|
@@ -5556,7 +5559,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5556
5559
|
}
|
|
5557
5560
|
),
|
|
5558
5561
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5559
|
-
|
|
5562
|
+
chunkGCYYGSHU_js.FormInput,
|
|
5560
5563
|
{
|
|
5561
5564
|
type: "text",
|
|
5562
5565
|
label: t("indexVariableLabel"),
|
|
@@ -5828,7 +5831,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5828
5831
|
};
|
|
5829
5832
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5830
5833
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5831
|
-
|
|
5834
|
+
chunkGCYYGSHU_js.FormInput,
|
|
5832
5835
|
{
|
|
5833
5836
|
type: "text",
|
|
5834
5837
|
label: translations("labelField"),
|
|
@@ -5838,7 +5841,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5838
5841
|
}
|
|
5839
5842
|
),
|
|
5840
5843
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5841
|
-
|
|
5844
|
+
chunkGCYYGSHU_js.FormTextarea,
|
|
5842
5845
|
{
|
|
5843
5846
|
label: translations("descriptionField"),
|
|
5844
5847
|
value: description,
|
|
@@ -5896,7 +5899,7 @@ function RuleNodeConfigForm({ config, onSave, onCancel, availableRules }) {
|
|
|
5896
5899
|
]
|
|
5897
5900
|
}
|
|
5898
5901
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5899
|
-
|
|
5902
|
+
chunkGCYYGSHU_js.FormInput,
|
|
5900
5903
|
{
|
|
5901
5904
|
type: "text",
|
|
5902
5905
|
value: ruleId,
|
|
@@ -5912,7 +5915,7 @@ function RuleNodeConfigForm({ config, onSave, onCancel, availableRules }) {
|
|
|
5912
5915
|
] }),
|
|
5913
5916
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
5914
5917
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5915
|
-
|
|
5918
|
+
chunkGCYYGSHU_js.FormInput,
|
|
5916
5919
|
{
|
|
5917
5920
|
type: "number",
|
|
5918
5921
|
label: t("priorityLabel", { _: "Priority" }),
|
|
@@ -5984,7 +5987,7 @@ function AgentNodeConfigForm({
|
|
|
5984
5987
|
}));
|
|
5985
5988
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5986
5989
|
agentOptions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5987
|
-
|
|
5990
|
+
chunkGCYYGSHU_js.FormSelect,
|
|
5988
5991
|
{
|
|
5989
5992
|
label: t("agentLabel", { _: "Agent" }),
|
|
5990
5993
|
value: agentId,
|
|
@@ -5992,7 +5995,7 @@ function AgentNodeConfigForm({
|
|
|
5992
5995
|
options: [{ value: "", label: t("agentPickPrompt", { _: "Choose an agent\u2026" }) }, ...agentOptions]
|
|
5993
5996
|
}
|
|
5994
5997
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5995
|
-
|
|
5998
|
+
chunkGCYYGSHU_js.FormInput,
|
|
5996
5999
|
{
|
|
5997
6000
|
type: "text",
|
|
5998
6001
|
label: t("agentIdLabel", { _: "Agent ID" }),
|
|
@@ -6002,7 +6005,7 @@ function AgentNodeConfigForm({
|
|
|
6002
6005
|
}
|
|
6003
6006
|
),
|
|
6004
6007
|
connOptions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6005
|
-
|
|
6008
|
+
chunkGCYYGSHU_js.FormSelect,
|
|
6006
6009
|
{
|
|
6007
6010
|
label: t("connectionLabel", { _: "Model provider connection" }),
|
|
6008
6011
|
value: connectionId,
|
|
@@ -6010,7 +6013,7 @@ function AgentNodeConfigForm({
|
|
|
6010
6013
|
options: [{ value: "", label: t("connectionPickPrompt", { _: "Inline model (no connection)" }) }, ...connOptions]
|
|
6011
6014
|
}
|
|
6012
6015
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
6013
|
-
|
|
6016
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6014
6017
|
{
|
|
6015
6018
|
type: "text",
|
|
6016
6019
|
label: t("connectionIdLabel", { _: "Connection ID" }),
|
|
@@ -6020,7 +6023,7 @@ function AgentNodeConfigForm({
|
|
|
6020
6023
|
}
|
|
6021
6024
|
),
|
|
6022
6025
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6023
|
-
|
|
6026
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6024
6027
|
{
|
|
6025
6028
|
type: "text",
|
|
6026
6029
|
label: t("modelIdLabel", { _: "Model override (optional)" }),
|
|
@@ -6030,7 +6033,7 @@ function AgentNodeConfigForm({
|
|
|
6030
6033
|
}
|
|
6031
6034
|
),
|
|
6032
6035
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6033
|
-
|
|
6036
|
+
chunkGCYYGSHU_js.FormTextarea,
|
|
6034
6037
|
{
|
|
6035
6038
|
label: t("systemPromptLabel", { _: "System prompt" }),
|
|
6036
6039
|
value: systemPrompt,
|
|
@@ -6040,7 +6043,7 @@ function AgentNodeConfigForm({
|
|
|
6040
6043
|
}
|
|
6041
6044
|
),
|
|
6042
6045
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6043
|
-
|
|
6046
|
+
chunkGCYYGSHU_js.FormTextarea,
|
|
6044
6047
|
{
|
|
6045
6048
|
label: t("userPromptLabel", { _: "User prompt" }),
|
|
6046
6049
|
value: userPrompt,
|
|
@@ -6051,7 +6054,7 @@ function AgentNodeConfigForm({
|
|
|
6051
6054
|
),
|
|
6052
6055
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
6053
6056
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6054
|
-
|
|
6057
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6055
6058
|
{
|
|
6056
6059
|
type: "number",
|
|
6057
6060
|
label: t("maxTokensLabel", { _: "Max output tokens" }),
|
|
@@ -6063,7 +6066,7 @@ function AgentNodeConfigForm({
|
|
|
6063
6066
|
}
|
|
6064
6067
|
),
|
|
6065
6068
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6066
|
-
|
|
6069
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6067
6070
|
{
|
|
6068
6071
|
type: "number",
|
|
6069
6072
|
label: t("temperatureLabel", { _: "Temperature" }),
|
|
@@ -6100,7 +6103,7 @@ function AudioInputNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6100
6103
|
};
|
|
6101
6104
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
6102
6105
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6103
|
-
|
|
6106
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6104
6107
|
{
|
|
6105
6108
|
type: "text",
|
|
6106
6109
|
label: t("urlLabel"),
|
|
@@ -6110,7 +6113,7 @@ function AudioInputNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6110
6113
|
}
|
|
6111
6114
|
),
|
|
6112
6115
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6113
|
-
|
|
6116
|
+
chunkGCYYGSHU_js.FormSelect,
|
|
6114
6117
|
{
|
|
6115
6118
|
label: t("formatLabel"),
|
|
6116
6119
|
value: format,
|
|
@@ -6159,7 +6162,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6159
6162
|
};
|
|
6160
6163
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
6161
6164
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6162
|
-
|
|
6165
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6163
6166
|
{
|
|
6164
6167
|
type: "text",
|
|
6165
6168
|
label: t("audioUrlLabel"),
|
|
@@ -6169,7 +6172,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6169
6172
|
}
|
|
6170
6173
|
),
|
|
6171
6174
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6172
|
-
|
|
6175
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6173
6176
|
{
|
|
6174
6177
|
type: "text",
|
|
6175
6178
|
label: t("modelLabel"),
|
|
@@ -6179,7 +6182,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6179
6182
|
}
|
|
6180
6183
|
),
|
|
6181
6184
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6182
|
-
|
|
6185
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6183
6186
|
{
|
|
6184
6187
|
type: "text",
|
|
6185
6188
|
label: t("languageLabel"),
|
|
@@ -6189,7 +6192,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6189
6192
|
}
|
|
6190
6193
|
),
|
|
6191
6194
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6192
|
-
|
|
6195
|
+
chunkGCYYGSHU_js.FormTextarea,
|
|
6193
6196
|
{
|
|
6194
6197
|
label: t("promptLabel"),
|
|
6195
6198
|
value: prompt,
|
|
@@ -6199,7 +6202,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6199
6202
|
}
|
|
6200
6203
|
),
|
|
6201
6204
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6202
|
-
|
|
6205
|
+
chunkGCYYGSHU_js.FormSelect,
|
|
6203
6206
|
{
|
|
6204
6207
|
label: t("responseFormatLabel"),
|
|
6205
6208
|
value: responseFormat,
|
|
@@ -6208,7 +6211,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6208
6211
|
}
|
|
6209
6212
|
),
|
|
6210
6213
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6211
|
-
|
|
6214
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6212
6215
|
{
|
|
6213
6216
|
type: "text",
|
|
6214
6217
|
label: t("endpointLabel"),
|
|
@@ -6218,7 +6221,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6218
6221
|
}
|
|
6219
6222
|
),
|
|
6220
6223
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6221
|
-
|
|
6224
|
+
chunkGCYYGSHU_js.FormInput,
|
|
6222
6225
|
{
|
|
6223
6226
|
type: "number",
|
|
6224
6227
|
label: t("timeoutLabel"),
|
|
@@ -6433,7 +6436,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
6433
6436
|
};
|
|
6434
6437
|
const isExperimental = isExperimentalNodeType(config.type);
|
|
6435
6438
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6436
|
-
|
|
6439
|
+
chunkGCYYGSHU_js.GlassModal,
|
|
6437
6440
|
{
|
|
6438
6441
|
open,
|
|
6439
6442
|
onClose: closeModal,
|
|
@@ -6504,7 +6507,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
6504
6507
|
}
|
|
6505
6508
|
];
|
|
6506
6509
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6507
|
-
|
|
6510
|
+
chunkGCYYGSHU_js.ContextMenu,
|
|
6508
6511
|
{
|
|
6509
6512
|
position,
|
|
6510
6513
|
onClose,
|
|
@@ -6561,7 +6564,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
6561
6564
|
}
|
|
6562
6565
|
];
|
|
6563
6566
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6564
|
-
|
|
6567
|
+
chunkGCYYGSHU_js.ContextMenu,
|
|
6565
6568
|
{
|
|
6566
6569
|
position,
|
|
6567
6570
|
onClose,
|
|
@@ -6708,7 +6711,7 @@ function SelectionContextMenu({
|
|
|
6708
6711
|
}
|
|
6709
6712
|
];
|
|
6710
6713
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6711
|
-
|
|
6714
|
+
chunkGCYYGSHU_js.ContextMenu,
|
|
6712
6715
|
{
|
|
6713
6716
|
position,
|
|
6714
6717
|
onClose,
|
|
@@ -8666,5 +8669,5 @@ exports.useModalStore = useModalStore;
|
|
|
8666
8669
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
8667
8670
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
8668
8671
|
exports.useWorkflowStore = useWorkflowStore;
|
|
8669
|
-
//# sourceMappingURL=chunk-
|
|
8670
|
-
//# sourceMappingURL=chunk-
|
|
8672
|
+
//# sourceMappingURL=chunk-SQZGQOKU.js.map
|
|
8673
|
+
//# sourceMappingURL=chunk-SQZGQOKU.js.map
|