@datatechsolutions/ui 3.13.1 → 3.14.0
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/graph-node.js +6 -6
- package/dist/astrlabe/graph-node.mjs +2 -2
- package/dist/astrlabe/index.js +114 -114
- package/dist/astrlabe/index.mjs +6 -6
- package/dist/astrlabe/workflow-canvas.js +6 -6
- package/dist/astrlabe/workflow-canvas.mjs +5 -5
- package/dist/{chunk-VCL5LDS5.js → chunk-2II2NLAZ.js} +38 -38
- package/dist/{chunk-VCL5LDS5.js.map → chunk-2II2NLAZ.js.map} +1 -1
- package/dist/{chunk-O4RZCDP2.mjs → chunk-2SBVFLPZ.mjs} +19 -2
- package/dist/chunk-2SBVFLPZ.mjs.map +1 -0
- package/dist/{chunk-TRNDFSM6.mjs → chunk-33ZWFDVG.mjs} +14 -14
- package/dist/chunk-33ZWFDVG.mjs.map +1 -0
- package/dist/{chunk-VWZ53TE2.js → chunk-4HZ55YKZ.js} +9 -9
- package/dist/{chunk-VWZ53TE2.js.map → chunk-4HZ55YKZ.js.map} +1 -1
- package/dist/{chunk-ULSG4JLR.js → chunk-4P72IJOM.js} +6 -6
- package/dist/{chunk-ULSG4JLR.js.map → chunk-4P72IJOM.js.map} +1 -1
- package/dist/{chunk-4Z5NZINA.js → chunk-5SCZB5UI.js} +122 -122
- package/dist/chunk-5SCZB5UI.js.map +1 -0
- package/dist/{chunk-Y65X2NHF.mjs → chunk-5YCH7FHT.mjs} +3 -3
- package/dist/{chunk-Y65X2NHF.mjs.map → chunk-5YCH7FHT.mjs.map} +1 -1
- package/dist/{chunk-DTFU3ZTD.js → chunk-6NBQTIXX.js} +9 -9
- package/dist/{chunk-DTFU3ZTD.js.map → chunk-6NBQTIXX.js.map} +1 -1
- package/dist/{chunk-CVEI4RQP.js → chunk-6NEESZVO.js} +4 -4
- package/dist/{chunk-CVEI4RQP.js.map → chunk-6NEESZVO.js.map} +1 -1
- package/dist/{chunk-AC54BNSK.js → chunk-72XZ7DSF.js} +13 -13
- package/dist/{chunk-AC54BNSK.js.map → chunk-72XZ7DSF.js.map} +1 -1
- package/dist/{chunk-ZPV7X4ZE.mjs → chunk-7NHJSD4A.mjs} +6 -6
- package/dist/{chunk-ZPV7X4ZE.mjs.map → chunk-7NHJSD4A.mjs.map} +1 -1
- package/dist/{chunk-CKY2QIRR.js → chunk-7SDB2VC2.js} +4 -4
- package/dist/{chunk-CKY2QIRR.js.map → chunk-7SDB2VC2.js.map} +1 -1
- package/dist/{chunk-FV42SSLP.js → chunk-A5OMGPMR.js} +4 -4
- package/dist/{chunk-FV42SSLP.js.map → chunk-A5OMGPMR.js.map} +1 -1
- package/dist/{chunk-54T5F65C.js → chunk-AUCS2KF4.js} +17 -17
- package/dist/{chunk-54T5F65C.js.map → chunk-AUCS2KF4.js.map} +1 -1
- package/dist/{chunk-QEACOJXX.mjs → chunk-F4KHAKTP.mjs} +102 -46
- package/dist/chunk-F4KHAKTP.mjs.map +1 -0
- package/dist/{chunk-Q7QPHZOV.js → chunk-FHGWXWVZ.js} +67 -67
- package/dist/{chunk-Q7QPHZOV.js.map → chunk-FHGWXWVZ.js.map} +1 -1
- package/dist/{chunk-RWZ2PLMQ.js → chunk-FZUV7GNB.js} +175 -118
- package/dist/chunk-FZUV7GNB.js.map +1 -0
- package/dist/{chunk-RMPXGEFL.mjs → chunk-HQNIETHV.mjs} +8 -8
- package/dist/{chunk-RMPXGEFL.mjs.map → chunk-HQNIETHV.mjs.map} +1 -1
- package/dist/{chunk-VPRAESA7.mjs → chunk-KDDXDQR2.mjs} +3 -3
- package/dist/{chunk-VPRAESA7.mjs.map → chunk-KDDXDQR2.mjs.map} +1 -1
- package/dist/{chunk-PM7A5I3X.js → chunk-LJGPMMKB.js} +113 -113
- package/dist/{chunk-PM7A5I3X.js.map → chunk-LJGPMMKB.js.map} +1 -1
- package/dist/{chunk-EBARYRSA.js → chunk-MXQ2EYG2.js} +19 -2
- package/dist/chunk-MXQ2EYG2.js.map +1 -0
- package/dist/{chunk-SCGICCQM.mjs → chunk-N6SGVUTR.mjs} +7 -10
- package/dist/chunk-N6SGVUTR.mjs.map +1 -0
- package/dist/{chunk-7IAWXG43.js → chunk-NIZSQJRW.js} +33 -33
- package/dist/{chunk-7IAWXG43.js.map → chunk-NIZSQJRW.js.map} +1 -1
- package/dist/{chunk-UUTTS3VV.mjs → chunk-NXWIT4YQ.mjs} +8 -11
- package/dist/chunk-NXWIT4YQ.mjs.map +1 -0
- package/dist/{chunk-DJHNSBIR.mjs → chunk-OTQXU4WG.mjs} +26 -26
- package/dist/{chunk-DJHNSBIR.mjs.map → chunk-OTQXU4WG.mjs.map} +1 -1
- package/dist/{chunk-3VCSMSJB.mjs → chunk-PO66V2PN.mjs} +9 -9
- package/dist/{chunk-3VCSMSJB.mjs.map → chunk-PO66V2PN.mjs.map} +1 -1
- package/dist/{chunk-B3TA74C4.js → chunk-PXGESUKI.js} +57 -60
- package/dist/chunk-PXGESUKI.js.map +1 -0
- package/dist/{chunk-YHD6SJIN.mjs → chunk-Q2FUNDCP.mjs} +4 -4
- package/dist/{chunk-YHD6SJIN.mjs.map → chunk-Q2FUNDCP.mjs.map} +1 -1
- package/dist/{chunk-4MNKVDTJ.mjs → chunk-Q5TZTA6H.mjs} +4 -4
- package/dist/{chunk-4MNKVDTJ.mjs.map → chunk-Q5TZTA6H.mjs.map} +1 -1
- package/dist/{chunk-4QCO4CBC.mjs → chunk-T7DROKWJ.mjs} +4 -4
- package/dist/{chunk-4QCO4CBC.mjs.map → chunk-T7DROKWJ.mjs.map} +1 -1
- package/dist/{chunk-WX44DAQD.mjs → chunk-TQADF23S.mjs} +3 -3
- package/dist/{chunk-WX44DAQD.mjs.map → chunk-TQADF23S.mjs.map} +1 -1
- package/dist/{chunk-4VEQJAXJ.mjs → chunk-U7VMFQFN.mjs} +5 -5
- package/dist/{chunk-4VEQJAXJ.mjs.map → chunk-U7VMFQFN.mjs.map} +1 -1
- package/dist/{chunk-M4KRQXOT.mjs → chunk-WE35EV7J.mjs} +3 -3
- package/dist/{chunk-M4KRQXOT.mjs.map → chunk-WE35EV7J.mjs.map} +1 -1
- package/dist/{chunk-RSCRIDMW.mjs → chunk-WTSMTLSP.mjs} +39 -45
- package/dist/chunk-WTSMTLSP.mjs.map +1 -0
- package/dist/{chunk-RPNMDGRA.js → chunk-YFMMZHL5.js} +37 -40
- package/dist/chunk-YFMMZHL5.js.map +1 -0
- package/dist/{chunk-XYMHIZ3K.mjs → chunk-ZBX7UCAP.mjs} +7 -7
- package/dist/{chunk-XYMHIZ3K.mjs.map → chunk-ZBX7UCAP.mjs.map} +1 -1
- package/dist/{chunk-RUZPOHJW.js → chunk-ZE6U4N4Q.js} +42 -42
- package/dist/{chunk-RUZPOHJW.js.map → chunk-ZE6U4N4Q.js.map} +1 -1
- package/dist/{chunk-UPWJRCAD.js → chunk-ZIRD3X6G.js} +220 -226
- package/dist/chunk-ZIRD3X6G.js.map +1 -0
- package/dist/index.d.mts +77 -7
- package/dist/index.d.ts +77 -7
- package/dist/index.js +708 -704
- package/dist/index.mjs +3 -3
- package/dist/platform/admin/index.js +12 -12
- package/dist/platform/admin/index.mjs +6 -6
- package/dist/platform/agents-workspace.js +9 -9
- package/dist/platform/agents-workspace.mjs +8 -8
- package/dist/platform/app-shell.js +5 -5
- package/dist/platform/app-shell.mjs +4 -4
- package/dist/platform/auth/index.js +29 -29
- package/dist/platform/auth/index.mjs +6 -6
- package/dist/platform/billing/index.js +7 -7
- package/dist/platform/billing/index.mjs +5 -5
- package/dist/platform/impersonation/index.js +5 -5
- package/dist/platform/impersonation/index.mjs +4 -4
- package/dist/platform/index.js +97 -97
- package/dist/platform/index.mjs +22 -22
- package/dist/platform/pages/index.d.mts +103 -1
- package/dist/platform/pages/index.d.ts +103 -1
- package/dist/platform/pages/index.js +934 -488
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +530 -90
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +9 -9
- package/dist/platform/settings/index.mjs +8 -8
- package/dist/platform/workflow-canvas-shell.js +7 -7
- package/dist/platform/workflow-canvas-shell.mjs +6 -6
- package/package.json +1 -1
- package/dist/chunk-4Z5NZINA.js.map +0 -1
- package/dist/chunk-B3TA74C4.js.map +0 -1
- package/dist/chunk-EBARYRSA.js.map +0 -1
- package/dist/chunk-O4RZCDP2.mjs.map +0 -1
- package/dist/chunk-QEACOJXX.mjs.map +0 -1
- package/dist/chunk-RPNMDGRA.js.map +0 -1
- package/dist/chunk-RSCRIDMW.mjs.map +0 -1
- package/dist/chunk-RWZ2PLMQ.js.map +0 -1
- package/dist/chunk-SCGICCQM.mjs.map +0 -1
- package/dist/chunk-TRNDFSM6.mjs.map +0 -1
- package/dist/chunk-UPWJRCAD.js.map +0 -1
- package/dist/chunk-UUTTS3VV.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkFZUV7GNB_js = require('./chunk-FZUV7GNB.js');
|
|
5
5
|
var chunkY5VN4SPH_js = require('./chunk-Y5VN4SPH.js');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunk6NEESZVO_js = require('./chunk-6NEESZVO.js');
|
|
7
|
+
var chunkMXQ2EYG2_js = require('./chunk-MXQ2EYG2.js');
|
|
8
8
|
var chunk72SWXOD5_js = require('./chunk-72SWXOD5.js');
|
|
9
9
|
var react = require('react');
|
|
10
10
|
var react$1 = require('@xyflow/react');
|
|
@@ -752,7 +752,7 @@ function ConditionalEdgeComponent({
|
|
|
752
752
|
transform: `translate(-50%, -50%) translate(${labelX}px,${labelY}px)`
|
|
753
753
|
},
|
|
754
754
|
"data-testid": `edge-label-${id}`,
|
|
755
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
755
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: labelColor, size: "xs", children: label })
|
|
756
756
|
}
|
|
757
757
|
),
|
|
758
758
|
showControls && !showInsertPopup && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1500,7 +1500,7 @@ function DatasourceNodeConfigForm({
|
|
|
1500
1500
|
column.name,
|
|
1501
1501
|
column.nullable && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-1 text-[9px] text-slate-400", children: "?" })
|
|
1502
1502
|
] }),
|
|
1503
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1503
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: typeBadgeColor, size: "xs", children: column.type })
|
|
1504
1504
|
]
|
|
1505
1505
|
},
|
|
1506
1506
|
column.name
|
|
@@ -1686,7 +1686,7 @@ function DatasourceNodeConfigForm({
|
|
|
1686
1686
|
}
|
|
1687
1687
|
const logo = getDatasourceLogo(selectedDatasourceId, selectedDatasource?.dialect);
|
|
1688
1688
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1689
|
-
|
|
1689
|
+
chunkFZUV7GNB_js.GlassModal,
|
|
1690
1690
|
{
|
|
1691
1691
|
open,
|
|
1692
1692
|
onClose: onCancel,
|
|
@@ -1701,8 +1701,8 @@ function DatasourceNodeConfigForm({
|
|
|
1701
1701
|
onSectionChange: setActiveSectionId
|
|
1702
1702
|
},
|
|
1703
1703
|
footer: readOnly ? void 0 : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 px-6 py-3", children: [
|
|
1704
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1705
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1704
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Button, { outline: true, onClick: onCancel, children: t("cancel") }),
|
|
1705
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Button, { color: "cyan", onClick: handleSave, disabled: !canSave, children: t("save") })
|
|
1706
1706
|
] }),
|
|
1707
1707
|
children: renderSection()
|
|
1708
1708
|
}
|
|
@@ -1913,23 +1913,23 @@ function NodeInteractiveCard({
|
|
|
1913
1913
|
);
|
|
1914
1914
|
}
|
|
1915
1915
|
function NodeIconBubble({ tone, children }) {
|
|
1916
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1916
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6NEESZVO_js.GraphNodeIconBubble, { className: `bg-gradient-to-br ${LOGIC_NODE_GRADIENTS[tone]}`, children });
|
|
1917
1917
|
}
|
|
1918
1918
|
function NodeCardHeader({ icon, title, description, compact = false, iconClassName }) {
|
|
1919
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1919
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6NEESZVO_js.GraphNodeHeader, { icon, title, description, compact, iconClassName });
|
|
1920
1920
|
}
|
|
1921
1921
|
function NodeCardMeta({ compact = false, children }) {
|
|
1922
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1922
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6NEESZVO_js.GraphNodeMeta, { compact, children });
|
|
1923
1923
|
}
|
|
1924
1924
|
function NodeCardBadge({ children, className, tone, soft = false }) {
|
|
1925
1925
|
if (tone) {
|
|
1926
1926
|
const toneClass = soft ? LOGIC_NODE_BADGE_SOFT_COLORS[tone] : LOGIC_NODE_BADGE_COLORS[tone];
|
|
1927
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1927
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6NEESZVO_js.GraphNodeBadge, { className: `inline-flex items-center rounded-full px-2 py-0.5 text-[10px] ${soft ? "font-medium" : "font-semibold"} ${toneClass}`, children });
|
|
1928
1928
|
}
|
|
1929
1929
|
if (className) {
|
|
1930
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1930
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6NEESZVO_js.GraphNodeBadge, { className, children });
|
|
1931
1931
|
}
|
|
1932
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1932
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", children });
|
|
1933
1933
|
}
|
|
1934
1934
|
function NodeCardDeleteAction({ nodeId, onDelete }) {
|
|
1935
1935
|
if (!onDelete) return null;
|
|
@@ -2101,18 +2101,18 @@ var AgentFlowNode = react.memo(function AgentFlowNode2({ id, data, selected }) {
|
|
|
2101
2101
|
] })
|
|
2102
2102
|
] }),
|
|
2103
2103
|
/* @__PURE__ */ jsxRuntime.jsx(NodeCardMeta, { compact: isCompact, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
2104
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2104
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "indigo", size: "xs", children: "Agent" }),
|
|
2105
2105
|
(() => {
|
|
2106
2106
|
const tier = chunk72SWXOD5_js.getAgentTier(Number(data.agent.elo ?? 0));
|
|
2107
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2107
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", className: tier.pillColor, children: tier.key });
|
|
2108
2108
|
})(),
|
|
2109
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2110
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2111
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2109
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", className: frameworkMeta.badgeColor, icon: /* @__PURE__ */ jsxRuntime.jsx(frameworkMeta.IconComponent, { className: "h-3 w-3" }), children: frameworkMeta.label }),
|
|
2110
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "blue", size: "xs", children: data.agent.modelId }),
|
|
2111
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", children: [
|
|
2112
2112
|
"T: ",
|
|
2113
2113
|
data.agent.temperature
|
|
2114
2114
|
] }),
|
|
2115
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2115
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", children: [
|
|
2116
2116
|
"v",
|
|
2117
2117
|
data.agent.activePromptVersion
|
|
2118
2118
|
] }),
|
|
@@ -2121,7 +2121,7 @@ var AgentFlowNode = react.memo(function AgentFlowNode2({ id, data, selected }) {
|
|
|
2121
2121
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center gap-1 border-t border-slate-200/20 pt-1 dark:border-white/5", children: [
|
|
2122
2122
|
/* @__PURE__ */ jsxRuntime.jsx(outline.CommandLineIcon, { className: "h-3 w-3 shrink-0 text-amber-500 dark:text-amber-400" }),
|
|
2123
2123
|
data.agentTools.slice(0, 3).map((tool) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2124
|
-
|
|
2124
|
+
chunkMXQ2EYG2_js.Badge,
|
|
2125
2125
|
{
|
|
2126
2126
|
color: tool.enabled ? "amber" : "zinc",
|
|
2127
2127
|
size: "xs",
|
|
@@ -2218,7 +2218,7 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
|
|
|
2218
2218
|
event.stopPropagation();
|
|
2219
2219
|
},
|
|
2220
2220
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2221
|
-
|
|
2221
|
+
chunkFZUV7GNB_js.ToggleSwitch,
|
|
2222
2222
|
{
|
|
2223
2223
|
checked: Boolean(agentTool.enabled),
|
|
2224
2224
|
onChange: () => data.onToggle?.(agentTool),
|
|
@@ -2231,9 +2231,9 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
|
|
|
2231
2231
|
)
|
|
2232
2232
|
] }),
|
|
2233
2233
|
/* @__PURE__ */ jsxRuntime.jsx(NodeCardMeta, { compact: isCompact, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
2234
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2235
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2236
|
-
agentTool.parameters && agentTool.parameters.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2234
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "amber", size: "xs", children: t("agentToolNode") }),
|
|
2235
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", className: pill, children: category }),
|
|
2236
|
+
agentTool.parameters && agentTool.parameters.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", children: [
|
|
2237
2237
|
agentTool.parameters.length,
|
|
2238
2238
|
" params"
|
|
2239
2239
|
] }),
|
|
@@ -2326,7 +2326,7 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
|
|
|
2326
2326
|
event.preventDefault();
|
|
2327
2327
|
},
|
|
2328
2328
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2329
|
-
|
|
2329
|
+
chunkFZUV7GNB_js.ToggleSwitch,
|
|
2330
2330
|
{
|
|
2331
2331
|
checked: Boolean(tool.enabled),
|
|
2332
2332
|
onChange: () => onToggle(tool),
|
|
@@ -2340,8 +2340,8 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
|
|
|
2340
2340
|
] }),
|
|
2341
2341
|
/* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
|
|
2342
2342
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2343
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2344
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2343
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "teal", size: "xs", children: t("nodeType") }),
|
|
2344
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", className: categoryPill, children: tool.category }),
|
|
2345
2345
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-slate-400 dark:text-slate-500", children: [
|
|
2346
2346
|
String(tool.timeoutMs ?? ""),
|
|
2347
2347
|
"ms"
|
|
@@ -2398,7 +2398,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
2398
2398
|
] }),
|
|
2399
2399
|
!isCompact && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center justify-between", children: [
|
|
2400
2400
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2401
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2401
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "violet", size: "xs", children: t("ruleEngine") }),
|
|
2402
2402
|
contextVariableCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-slate-400 dark:text-slate-500", children: [
|
|
2403
2403
|
contextVariableCount,
|
|
2404
2404
|
" vars"
|
|
@@ -2478,7 +2478,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
2478
2478
|
event.preventDefault();
|
|
2479
2479
|
},
|
|
2480
2480
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2481
|
-
|
|
2481
|
+
chunkFZUV7GNB_js.ToggleSwitch,
|
|
2482
2482
|
{
|
|
2483
2483
|
checked: Boolean(rule.enabled),
|
|
2484
2484
|
onChange: () => onToggle(rule),
|
|
@@ -2492,8 +2492,8 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
2492
2492
|
] }),
|
|
2493
2493
|
!isCompact && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center justify-between", children: [
|
|
2494
2494
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2495
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2496
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2495
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "violet", size: "xs", children: t("nodeType") }),
|
|
2496
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", className: typePill, children: adjustmentType }),
|
|
2497
2497
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-slate-400 dark:text-slate-500", children: [
|
|
2498
2498
|
"P",
|
|
2499
2499
|
String(rule.priority ?? "")
|
|
@@ -2571,8 +2571,8 @@ var EntityFlowNode = react.memo(function EntityFlowNode2({ id, data, selected })
|
|
|
2571
2571
|
] }),
|
|
2572
2572
|
/* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
|
|
2573
2573
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2574
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2575
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2574
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", className: badgeColor, children: t("entityNodeType") }),
|
|
2575
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", className: badgeColor, children: [
|
|
2576
2576
|
fieldCount,
|
|
2577
2577
|
" ",
|
|
2578
2578
|
t("entityFields")
|
|
@@ -2733,8 +2733,8 @@ var IfElseFlowNode = react.memo(function IfElseFlowNode2({ id, data, selected })
|
|
|
2733
2733
|
] }),
|
|
2734
2734
|
/* @__PURE__ */ jsxRuntime.jsx(NodeCardDeleteAction, { nodeId: id, onDelete })
|
|
2735
2735
|
] }),
|
|
2736
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute -right-12 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2737
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute bottom-[-1.9rem] left-1/2 -translate-x-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2736
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute -right-12 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkFZUV7GNB_js.StatusBadge, { status: "success", label: t("ifBranchLabel"), size: "sm" }) }),
|
|
2737
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute bottom-[-1.9rem] left-1/2 -translate-x-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkFZUV7GNB_js.StatusBadge, { status: "error", label: t("elseBranchLabel"), size: "sm" }) })
|
|
2738
2738
|
]
|
|
2739
2739
|
}
|
|
2740
2740
|
),
|
|
@@ -3478,7 +3478,7 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
3478
3478
|
event.preventDefault();
|
|
3479
3479
|
},
|
|
3480
3480
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3481
|
-
|
|
3481
|
+
chunkFZUV7GNB_js.ToggleSwitch,
|
|
3482
3482
|
{
|
|
3483
3483
|
checked: true,
|
|
3484
3484
|
onChange: () => {
|
|
@@ -3494,8 +3494,8 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
3494
3494
|
] }),
|
|
3495
3495
|
/* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
|
|
3496
3496
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
3497
|
-
config.dialect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3498
|
-
readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3497
|
+
config.dialect && /* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "cyan", size: "xs", children: config.dialect }),
|
|
3498
|
+
readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", children: "sample" }),
|
|
3499
3499
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
3500
3500
|
columnCount > 0 ? `${columnCount} cols` : null,
|
|
3501
3501
|
filterCount > 0 ? `${filterCount} filters` : null,
|
|
@@ -3619,21 +3619,21 @@ var GroupFlowNode = react.memo(function GroupFlowNode2({ id, data, selected }) {
|
|
|
3619
3619
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
3620
3620
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-10 w-10 items-center justify-center rounded-xl bg-gradient-to-br ${colorScheme.header} shadow-lg`, children: /* @__PURE__ */ jsxRuntime.jsx(outline.RectangleGroupIcon, { className: "h-5 w-5 text-white" }) }),
|
|
3621
3621
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3622
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-semibold text-
|
|
3623
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 truncate text-xs text-
|
|
3622
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-semibold text-slate-900 dark:text-white", children: label }),
|
|
3623
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 truncate text-xs text-slate-500 dark:text-slate-400", children: config.description || translations("groupNodeDescription") })
|
|
3624
3624
|
] })
|
|
3625
3625
|
] }),
|
|
3626
3626
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center justify-between", children: [
|
|
3627
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3627
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "zinc", size: "xs", className: colorScheme.text, children: translations("groupNode") }),
|
|
3628
3628
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
3629
3629
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3630
3630
|
"button",
|
|
3631
3631
|
{
|
|
3632
3632
|
type: "button",
|
|
3633
3633
|
onClick: handleToggleExpand,
|
|
3634
|
-
className: "nodrag nopan rounded-lg p-1 opacity-0 transition hover:bg-
|
|
3634
|
+
className: "nodrag nopan rounded-lg p-1 opacity-0 transition hover:bg-slate-100 group-hover:opacity-100 dark:hover:bg-white/10",
|
|
3635
3635
|
title: translations("expandGroup"),
|
|
3636
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(outline.ChevronDownIcon, { className: "h-3.5 w-3.5 text-
|
|
3636
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(outline.ChevronDownIcon, { className: "h-3.5 w-3.5 text-slate-500 dark:text-slate-400" })
|
|
3637
3637
|
}
|
|
3638
3638
|
),
|
|
3639
3639
|
onRemoveFromCanvas && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3679,7 +3679,7 @@ var GroupFlowNode = react.memo(function GroupFlowNode2({ id, data, selected }) {
|
|
|
3679
3679
|
/* @__PURE__ */ jsxRuntime.jsx(outline.RectangleGroupIcon, { className: `h-4 w-4 ${colorScheme.iconText}` }),
|
|
3680
3680
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3681
3681
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: `block truncate text-xs font-semibold ${colorScheme.text}`, children: label }),
|
|
3682
|
-
config.description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block truncate text-[10px] text-
|
|
3682
|
+
config.description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block truncate text-[10px] text-slate-500 dark:text-slate-400", children: config.description })
|
|
3683
3683
|
] }),
|
|
3684
3684
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3685
3685
|
"button",
|
|
@@ -3843,8 +3843,8 @@ function ConfigFormActions({
|
|
|
3843
3843
|
saveDisabled = false
|
|
3844
3844
|
}) {
|
|
3845
3845
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-slate-200 pt-4 dark:border-slate-700", children: [
|
|
3846
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3847
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3846
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3847
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3848
3848
|
] });
|
|
3849
3849
|
}
|
|
3850
3850
|
var COLOR_CLASSES = {
|
|
@@ -3938,7 +3938,7 @@ function VariableListEditor({
|
|
|
3938
3938
|
}
|
|
3939
3939
|
) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-sm font-medium text-slate-900 dark:text-white", children: variable }),
|
|
3940
3940
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3941
|
-
|
|
3941
|
+
chunkMXQ2EYG2_js.IconButton,
|
|
3942
3942
|
{
|
|
3943
3943
|
label: `Remove ${variable}`,
|
|
3944
3944
|
variant: "ghost",
|
|
@@ -4093,7 +4093,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4093
4093
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
4094
4094
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-slate-700 dark:text-slate-300", children: t("conditionsLabel") }),
|
|
4095
4095
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4096
|
-
|
|
4096
|
+
chunkMXQ2EYG2_js.Button,
|
|
4097
4097
|
{
|
|
4098
4098
|
type: "button",
|
|
4099
4099
|
onClick: handleAddCondition,
|
|
@@ -4104,7 +4104,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4104
4104
|
/* @__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 bg-white/40 backdrop-blur-sm p-3 dark:bg-white/[0.04]", children: [
|
|
4105
4105
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
4106
4106
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4107
|
-
|
|
4107
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4108
4108
|
{
|
|
4109
4109
|
type: "text",
|
|
4110
4110
|
label: t("variableLabel"),
|
|
@@ -4115,7 +4115,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4115
4115
|
}
|
|
4116
4116
|
) }),
|
|
4117
4117
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4118
|
-
|
|
4118
|
+
chunkFZUV7GNB_js.FormSelect,
|
|
4119
4119
|
{
|
|
4120
4120
|
label: t("operatorLabel"),
|
|
4121
4121
|
value: condition.operator,
|
|
@@ -4125,7 +4125,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4125
4125
|
}
|
|
4126
4126
|
) }),
|
|
4127
4127
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4128
|
-
|
|
4128
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4129
4129
|
{
|
|
4130
4130
|
type: "text",
|
|
4131
4131
|
label: t("valueLabel"),
|
|
@@ -4137,7 +4137,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4137
4137
|
) })
|
|
4138
4138
|
] }),
|
|
4139
4139
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4140
|
-
|
|
4140
|
+
chunkMXQ2EYG2_js.IconButton,
|
|
4141
4141
|
{
|
|
4142
4142
|
onClick: () => handleRemoveCondition(index),
|
|
4143
4143
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -4274,18 +4274,18 @@ function CodeNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4274
4274
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4275
4275
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2 rounded-lg bg-white/40 dark:bg-white/[0.04] backdrop-blur-sm p-1 text-sm", children: [
|
|
4276
4276
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4277
|
-
|
|
4277
|
+
chunkFZUV7GNB_js.PickerTile,
|
|
4278
4278
|
{
|
|
4279
|
-
|
|
4279
|
+
selected: mode === "operation",
|
|
4280
4280
|
onClick: () => setMode("operation"),
|
|
4281
4281
|
className: `flex-1 rounded-md px-3 py-1.5 font-medium transition ${mode === "operation" ? "bg-white text-indigo-600 shadow-sm dark:bg-slate-900 dark:text-indigo-400" : "text-slate-600 dark:text-slate-400"}`,
|
|
4282
4282
|
children: t("modeOperation", { _: "Operation" })
|
|
4283
4283
|
}
|
|
4284
4284
|
),
|
|
4285
4285
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4286
|
-
|
|
4286
|
+
chunkFZUV7GNB_js.PickerTile,
|
|
4287
4287
|
{
|
|
4288
|
-
|
|
4288
|
+
selected: mode === "scripted",
|
|
4289
4289
|
onClick: () => setMode("scripted"),
|
|
4290
4290
|
className: `flex-1 rounded-md px-3 py-1.5 font-medium transition ${mode === "scripted" ? "bg-white text-indigo-600 shadow-sm dark:bg-slate-900 dark:text-indigo-400" : "text-slate-600 dark:text-slate-400"}`,
|
|
4291
4291
|
children: t("modeScripted", { _: "Scripted" })
|
|
@@ -4509,7 +4509,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4509
4509
|
};
|
|
4510
4510
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4511
4511
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4512
|
-
|
|
4512
|
+
chunkFZUV7GNB_js.FormSelect,
|
|
4513
4513
|
{
|
|
4514
4514
|
label: t("methodLabel"),
|
|
4515
4515
|
value: method,
|
|
@@ -4518,7 +4518,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4518
4518
|
}
|
|
4519
4519
|
),
|
|
4520
4520
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4521
|
-
|
|
4521
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4522
4522
|
{
|
|
4523
4523
|
type: "text",
|
|
4524
4524
|
label: t("urlLabel"),
|
|
@@ -4531,7 +4531,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4531
4531
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
4532
4532
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-slate-700 dark:text-slate-300", children: t("headersLabel") }),
|
|
4533
4533
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4534
|
-
|
|
4534
|
+
chunkMXQ2EYG2_js.Button,
|
|
4535
4535
|
{
|
|
4536
4536
|
type: "button",
|
|
4537
4537
|
onClick: handleAddHeader,
|
|
@@ -4541,7 +4541,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4541
4541
|
] }),
|
|
4542
4542
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
4543
4543
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4544
|
-
|
|
4544
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4545
4545
|
{
|
|
4546
4546
|
type: "text",
|
|
4547
4547
|
value: entry.key,
|
|
@@ -4551,7 +4551,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4551
4551
|
}
|
|
4552
4552
|
),
|
|
4553
4553
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4554
|
-
|
|
4554
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4555
4555
|
{
|
|
4556
4556
|
type: "text",
|
|
4557
4557
|
value: entry.value,
|
|
@@ -4561,7 +4561,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4561
4561
|
}
|
|
4562
4562
|
),
|
|
4563
4563
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4564
|
-
|
|
4564
|
+
chunkMXQ2EYG2_js.IconButton,
|
|
4565
4565
|
{
|
|
4566
4566
|
onClick: () => handleRemoveHeader(index),
|
|
4567
4567
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -4573,7 +4573,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4573
4573
|
] }, index)) })
|
|
4574
4574
|
] }),
|
|
4575
4575
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4576
|
-
|
|
4576
|
+
chunkFZUV7GNB_js.FormTextarea,
|
|
4577
4577
|
{
|
|
4578
4578
|
label: t("bodyLabel"),
|
|
4579
4579
|
value: body,
|
|
@@ -4584,7 +4584,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4584
4584
|
}
|
|
4585
4585
|
),
|
|
4586
4586
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4587
|
-
|
|
4587
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4588
4588
|
{
|
|
4589
4589
|
type: "number",
|
|
4590
4590
|
label: t("timeoutLabel"),
|
|
@@ -4596,7 +4596,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
),
|
|
4598
4598
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4599
|
-
|
|
4599
|
+
chunkFZUV7GNB_js.FormSelect,
|
|
4600
4600
|
{
|
|
4601
4601
|
label: t("parseResponseLabel"),
|
|
4602
4602
|
value: parseResponse,
|
|
@@ -4641,7 +4641,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4641
4641
|
};
|
|
4642
4642
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4643
4643
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4644
|
-
|
|
4644
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4645
4645
|
{
|
|
4646
4646
|
type: "text",
|
|
4647
4647
|
label: t("bucketLabel"),
|
|
@@ -4651,7 +4651,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4651
4651
|
}
|
|
4652
4652
|
),
|
|
4653
4653
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4654
|
-
|
|
4654
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4655
4655
|
{
|
|
4656
4656
|
type: "text",
|
|
4657
4657
|
label: t("keyLabel"),
|
|
@@ -4662,7 +4662,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4662
4662
|
),
|
|
4663
4663
|
/* @__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") }),
|
|
4664
4664
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4665
|
-
|
|
4665
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4666
4666
|
{
|
|
4667
4667
|
type: "text",
|
|
4668
4668
|
label: t("sourceUrlLabel"),
|
|
@@ -4672,7 +4672,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4672
4672
|
}
|
|
4673
4673
|
),
|
|
4674
4674
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4675
|
-
|
|
4675
|
+
chunkFZUV7GNB_js.FormTextarea,
|
|
4676
4676
|
{
|
|
4677
4677
|
label: t("bodyLabel"),
|
|
4678
4678
|
value: body,
|
|
@@ -4683,7 +4683,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4683
4683
|
}
|
|
4684
4684
|
),
|
|
4685
4685
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4686
|
-
|
|
4686
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4687
4687
|
{
|
|
4688
4688
|
type: "text",
|
|
4689
4689
|
label: t("contentTypeLabel"),
|
|
@@ -4693,7 +4693,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4693
4693
|
}
|
|
4694
4694
|
),
|
|
4695
4695
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4696
|
-
|
|
4696
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4697
4697
|
{
|
|
4698
4698
|
type: "number",
|
|
4699
4699
|
label: t("timeoutLabel"),
|
|
@@ -4704,7 +4704,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4704
4704
|
}
|
|
4705
4705
|
),
|
|
4706
4706
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4707
|
-
|
|
4707
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4708
4708
|
{
|
|
4709
4709
|
type: "text",
|
|
4710
4710
|
label: t("connectionIdLabel"),
|
|
@@ -4733,7 +4733,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4733
4733
|
};
|
|
4734
4734
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4735
4735
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4736
|
-
|
|
4736
|
+
chunkFZUV7GNB_js.FormTextarea,
|
|
4737
4737
|
{
|
|
4738
4738
|
label: t("templateLabel"),
|
|
4739
4739
|
value: template,
|
|
@@ -4744,7 +4744,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4744
4744
|
}
|
|
4745
4745
|
),
|
|
4746
4746
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4747
|
-
|
|
4747
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4748
4748
|
{
|
|
4749
4749
|
type: "text",
|
|
4750
4750
|
label: t("outputVariableLabel"),
|
|
@@ -4773,7 +4773,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4773
4773
|
};
|
|
4774
4774
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4775
4775
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4776
|
-
|
|
4776
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4777
4777
|
{
|
|
4778
4778
|
type: "text",
|
|
4779
4779
|
label: t("iteratorVariableLabel"),
|
|
@@ -4783,7 +4783,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4783
4783
|
}
|
|
4784
4784
|
),
|
|
4785
4785
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4786
|
-
|
|
4786
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4787
4787
|
{
|
|
4788
4788
|
type: "number",
|
|
4789
4789
|
label: t("maxIterationsLabel"),
|
|
@@ -4814,7 +4814,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4814
4814
|
};
|
|
4815
4815
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4816
4816
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4817
|
-
|
|
4817
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4818
4818
|
{
|
|
4819
4819
|
type: "text",
|
|
4820
4820
|
label: t("sourceIdLabel"),
|
|
@@ -4824,7 +4824,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4824
4824
|
}
|
|
4825
4825
|
),
|
|
4826
4826
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4827
|
-
|
|
4827
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4828
4828
|
{
|
|
4829
4829
|
type: "number",
|
|
4830
4830
|
label: t("topKLabel"),
|
|
@@ -4835,7 +4835,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4835
4835
|
}
|
|
4836
4836
|
),
|
|
4837
4837
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4838
|
-
|
|
4838
|
+
chunkFZUV7GNB_js.FormInput,
|
|
4839
4839
|
{
|
|
4840
4840
|
type: "number",
|
|
4841
4841
|
label: t("similarityThresholdLabel"),
|
|
@@ -4866,7 +4866,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4866
4866
|
};
|
|
4867
4867
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4868
4868
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4869
|
-
|
|
4869
|
+
chunkFZUV7GNB_js.FormTextarea,
|
|
4870
4870
|
{
|
|
4871
4871
|
label: t("outputTemplateLabel"),
|
|
4872
4872
|
hint: t("outputTemplateHelp"),
|
|
@@ -4960,13 +4960,13 @@ function QuestionClassifierNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4960
4960
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
4961
4961
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
4962
4962
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-slate-700 dark:text-slate-300", children: t("categoriesLabel") }),
|
|
4963
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4963
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Button, { type: "button", plain: true, size: "sm", onClick: handleAddCategory, children: t("addCategory") })
|
|
4964
4964
|
] }),
|
|
4965
4965
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: categories.map((category, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-lg bg-white/40 backdrop-blur-sm p-3 dark:bg-white/[0.04]", children: [
|
|
4966
4966
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
4967
4967
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-medium text-slate-500 dark:text-slate-400", children: t("categoryIndex", { index: index + 1 }) }),
|
|
4968
4968
|
categories.length > 2 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4969
|
-
|
|
4969
|
+
chunkMXQ2EYG2_js.IconButton,
|
|
4970
4970
|
{
|
|
4971
4971
|
label: t("removeCategory"),
|
|
4972
4972
|
variant: "ghost",
|
|
@@ -5059,11 +5059,11 @@ function ParameterExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5059
5059
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
5060
5060
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
5061
5061
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-slate-700 dark:text-slate-300", children: t("parametersLabel") }),
|
|
5062
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5062
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Button, { type: "button", plain: true, size: "sm", onClick: handleAddParameter, children: t("addParameter") })
|
|
5063
5063
|
] }),
|
|
5064
5064
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: parameters.map((parameter, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-lg liquid-surface p-3", children: [
|
|
5065
5065
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 flex items-center justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5066
|
-
|
|
5066
|
+
chunkMXQ2EYG2_js.IconButton,
|
|
5067
5067
|
{
|
|
5068
5068
|
label: t("removeParameter"),
|
|
5069
5069
|
variant: "ghost",
|
|
@@ -5167,7 +5167,7 @@ function VariableAssignerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5167
5167
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
5168
5168
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
5169
5169
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-slate-700 dark:text-slate-300", children: t("assignmentsLabel") }),
|
|
5170
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5170
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Button, { type: "button", plain: true, size: "sm", onClick: handleAddAssignment, children: t("addAssignment") })
|
|
5171
5171
|
] }),
|
|
5172
5172
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: assignments.map((assignment, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2 rounded-lg bg-white/40 backdrop-blur-sm p-3 dark:bg-white/[0.04]", children: [
|
|
5173
5173
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-2 gap-2", children: [
|
|
@@ -5199,7 +5199,7 @@ function VariableAssignerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5199
5199
|
] })
|
|
5200
5200
|
] }),
|
|
5201
5201
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5202
|
-
|
|
5202
|
+
chunkMXQ2EYG2_js.IconButton,
|
|
5203
5203
|
{
|
|
5204
5204
|
label: t("removeAssignment"),
|
|
5205
5205
|
variant: "ghost",
|
|
@@ -5247,7 +5247,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5247
5247
|
}
|
|
5248
5248
|
),
|
|
5249
5249
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5250
|
-
|
|
5250
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5251
5251
|
{
|
|
5252
5252
|
type: "text",
|
|
5253
5253
|
label: t("outputVariableLabel"),
|
|
@@ -5257,7 +5257,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5257
5257
|
}
|
|
5258
5258
|
),
|
|
5259
5259
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5260
|
-
|
|
5260
|
+
chunkFZUV7GNB_js.FormSelect,
|
|
5261
5261
|
{
|
|
5262
5262
|
label: t("aggregationModeLabel"),
|
|
5263
5263
|
value: aggregationMode,
|
|
@@ -5290,7 +5290,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5290
5290
|
};
|
|
5291
5291
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5292
5292
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5293
|
-
|
|
5293
|
+
chunkFZUV7GNB_js.FormSelect,
|
|
5294
5294
|
{
|
|
5295
5295
|
label: t("extractionModeLabel"),
|
|
5296
5296
|
value: extractionMode,
|
|
@@ -5299,7 +5299,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
),
|
|
5301
5301
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5302
|
-
|
|
5302
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5303
5303
|
{
|
|
5304
5304
|
type: "text",
|
|
5305
5305
|
label: t("outputVariableLabel"),
|
|
@@ -5476,7 +5476,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5476
5476
|
};
|
|
5477
5477
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5478
5478
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5479
|
-
|
|
5479
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5480
5480
|
{
|
|
5481
5481
|
type: "text",
|
|
5482
5482
|
label: t("iteratorVariableLabel"),
|
|
@@ -5486,7 +5486,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5486
5486
|
}
|
|
5487
5487
|
),
|
|
5488
5488
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5489
|
-
|
|
5489
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5490
5490
|
{
|
|
5491
5491
|
type: "text",
|
|
5492
5492
|
label: t("itemVariableLabel"),
|
|
@@ -5496,7 +5496,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5496
5496
|
}
|
|
5497
5497
|
),
|
|
5498
5498
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5499
|
-
|
|
5499
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5500
5500
|
{
|
|
5501
5501
|
type: "text",
|
|
5502
5502
|
label: t("indexVariableLabel"),
|
|
@@ -5768,7 +5768,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5768
5768
|
};
|
|
5769
5769
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5770
5770
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5771
|
-
|
|
5771
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5772
5772
|
{
|
|
5773
5773
|
type: "text",
|
|
5774
5774
|
label: translations("labelField"),
|
|
@@ -5778,7 +5778,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5778
5778
|
}
|
|
5779
5779
|
),
|
|
5780
5780
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5781
|
-
|
|
5781
|
+
chunkFZUV7GNB_js.FormTextarea,
|
|
5782
5782
|
{
|
|
5783
5783
|
label: translations("descriptionField"),
|
|
5784
5784
|
value: description,
|
|
@@ -5836,7 +5836,7 @@ function RuleNodeConfigForm({ config, onSave, onCancel, availableRules }) {
|
|
|
5836
5836
|
]
|
|
5837
5837
|
}
|
|
5838
5838
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5839
|
-
|
|
5839
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5840
5840
|
{
|
|
5841
5841
|
type: "text",
|
|
5842
5842
|
value: ruleId,
|
|
@@ -5852,7 +5852,7 @@ function RuleNodeConfigForm({ config, onSave, onCancel, availableRules }) {
|
|
|
5852
5852
|
] }),
|
|
5853
5853
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
5854
5854
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5855
|
-
|
|
5855
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5856
5856
|
{
|
|
5857
5857
|
type: "number",
|
|
5858
5858
|
label: t("priorityLabel", { _: "Priority" }),
|
|
@@ -5924,7 +5924,7 @@ function AgentNodeConfigForm({
|
|
|
5924
5924
|
}));
|
|
5925
5925
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5926
5926
|
agentOptions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5927
|
-
|
|
5927
|
+
chunkFZUV7GNB_js.FormSelect,
|
|
5928
5928
|
{
|
|
5929
5929
|
label: t("agentLabel", { _: "Agent" }),
|
|
5930
5930
|
value: agentId,
|
|
@@ -5932,7 +5932,7 @@ function AgentNodeConfigForm({
|
|
|
5932
5932
|
options: [{ value: "", label: t("agentPickPrompt", { _: "Choose an agent\u2026" }) }, ...agentOptions]
|
|
5933
5933
|
}
|
|
5934
5934
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5935
|
-
|
|
5935
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5936
5936
|
{
|
|
5937
5937
|
type: "text",
|
|
5938
5938
|
label: t("agentIdLabel", { _: "Agent ID" }),
|
|
@@ -5942,7 +5942,7 @@ function AgentNodeConfigForm({
|
|
|
5942
5942
|
}
|
|
5943
5943
|
),
|
|
5944
5944
|
connOptions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5945
|
-
|
|
5945
|
+
chunkFZUV7GNB_js.FormSelect,
|
|
5946
5946
|
{
|
|
5947
5947
|
label: t("connectionLabel", { _: "Model provider connection" }),
|
|
5948
5948
|
value: connectionId,
|
|
@@ -5950,7 +5950,7 @@ function AgentNodeConfigForm({
|
|
|
5950
5950
|
options: [{ value: "", label: t("connectionPickPrompt", { _: "Inline model (no connection)" }) }, ...connOptions]
|
|
5951
5951
|
}
|
|
5952
5952
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5953
|
-
|
|
5953
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5954
5954
|
{
|
|
5955
5955
|
type: "text",
|
|
5956
5956
|
label: t("connectionIdLabel", { _: "Connection ID" }),
|
|
@@ -5960,7 +5960,7 @@ function AgentNodeConfigForm({
|
|
|
5960
5960
|
}
|
|
5961
5961
|
),
|
|
5962
5962
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5963
|
-
|
|
5963
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5964
5964
|
{
|
|
5965
5965
|
type: "text",
|
|
5966
5966
|
label: t("modelIdLabel", { _: "Model override (optional)" }),
|
|
@@ -5970,7 +5970,7 @@ function AgentNodeConfigForm({
|
|
|
5970
5970
|
}
|
|
5971
5971
|
),
|
|
5972
5972
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5973
|
-
|
|
5973
|
+
chunkFZUV7GNB_js.FormTextarea,
|
|
5974
5974
|
{
|
|
5975
5975
|
label: t("systemPromptLabel", { _: "System prompt" }),
|
|
5976
5976
|
value: systemPrompt,
|
|
@@ -5980,7 +5980,7 @@ function AgentNodeConfigForm({
|
|
|
5980
5980
|
}
|
|
5981
5981
|
),
|
|
5982
5982
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5983
|
-
|
|
5983
|
+
chunkFZUV7GNB_js.FormTextarea,
|
|
5984
5984
|
{
|
|
5985
5985
|
label: t("userPromptLabel", { _: "User prompt" }),
|
|
5986
5986
|
value: userPrompt,
|
|
@@ -5991,7 +5991,7 @@ function AgentNodeConfigForm({
|
|
|
5991
5991
|
),
|
|
5992
5992
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
5993
5993
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5994
|
-
|
|
5994
|
+
chunkFZUV7GNB_js.FormInput,
|
|
5995
5995
|
{
|
|
5996
5996
|
type: "number",
|
|
5997
5997
|
label: t("maxTokensLabel", { _: "Max output tokens" }),
|
|
@@ -6003,7 +6003,7 @@ function AgentNodeConfigForm({
|
|
|
6003
6003
|
}
|
|
6004
6004
|
),
|
|
6005
6005
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6006
|
-
|
|
6006
|
+
chunkFZUV7GNB_js.FormInput,
|
|
6007
6007
|
{
|
|
6008
6008
|
type: "number",
|
|
6009
6009
|
label: t("temperatureLabel", { _: "Temperature" }),
|
|
@@ -6040,7 +6040,7 @@ function AudioInputNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6040
6040
|
};
|
|
6041
6041
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
6042
6042
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6043
|
-
|
|
6043
|
+
chunkFZUV7GNB_js.FormInput,
|
|
6044
6044
|
{
|
|
6045
6045
|
type: "text",
|
|
6046
6046
|
label: t("urlLabel"),
|
|
@@ -6050,7 +6050,7 @@ function AudioInputNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6050
6050
|
}
|
|
6051
6051
|
),
|
|
6052
6052
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6053
|
-
|
|
6053
|
+
chunkFZUV7GNB_js.FormSelect,
|
|
6054
6054
|
{
|
|
6055
6055
|
label: t("formatLabel"),
|
|
6056
6056
|
value: format,
|
|
@@ -6099,7 +6099,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6099
6099
|
};
|
|
6100
6100
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
6101
6101
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6102
|
-
|
|
6102
|
+
chunkFZUV7GNB_js.FormInput,
|
|
6103
6103
|
{
|
|
6104
6104
|
type: "text",
|
|
6105
6105
|
label: t("audioUrlLabel"),
|
|
@@ -6109,7 +6109,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6109
6109
|
}
|
|
6110
6110
|
),
|
|
6111
6111
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6112
|
-
|
|
6112
|
+
chunkFZUV7GNB_js.FormInput,
|
|
6113
6113
|
{
|
|
6114
6114
|
type: "text",
|
|
6115
6115
|
label: t("modelLabel"),
|
|
@@ -6119,7 +6119,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6119
6119
|
}
|
|
6120
6120
|
),
|
|
6121
6121
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6122
|
-
|
|
6122
|
+
chunkFZUV7GNB_js.FormInput,
|
|
6123
6123
|
{
|
|
6124
6124
|
type: "text",
|
|
6125
6125
|
label: t("languageLabel"),
|
|
@@ -6129,7 +6129,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6129
6129
|
}
|
|
6130
6130
|
),
|
|
6131
6131
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6132
|
-
|
|
6132
|
+
chunkFZUV7GNB_js.FormTextarea,
|
|
6133
6133
|
{
|
|
6134
6134
|
label: t("promptLabel"),
|
|
6135
6135
|
value: prompt,
|
|
@@ -6139,7 +6139,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6139
6139
|
}
|
|
6140
6140
|
),
|
|
6141
6141
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6142
|
-
|
|
6142
|
+
chunkFZUV7GNB_js.FormSelect,
|
|
6143
6143
|
{
|
|
6144
6144
|
label: t("responseFormatLabel"),
|
|
6145
6145
|
value: responseFormat,
|
|
@@ -6148,7 +6148,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6148
6148
|
}
|
|
6149
6149
|
),
|
|
6150
6150
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6151
|
-
|
|
6151
|
+
chunkFZUV7GNB_js.FormInput,
|
|
6152
6152
|
{
|
|
6153
6153
|
type: "text",
|
|
6154
6154
|
label: t("endpointLabel"),
|
|
@@ -6158,7 +6158,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
6158
6158
|
}
|
|
6159
6159
|
),
|
|
6160
6160
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6161
|
-
|
|
6161
|
+
chunkFZUV7GNB_js.FormInput,
|
|
6162
6162
|
{
|
|
6163
6163
|
type: "number",
|
|
6164
6164
|
label: t("timeoutLabel"),
|
|
@@ -6373,7 +6373,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
6373
6373
|
};
|
|
6374
6374
|
const isExperimental = isExperimentalNodeType(config.type);
|
|
6375
6375
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6376
|
-
|
|
6376
|
+
chunkFZUV7GNB_js.GlassModal,
|
|
6377
6377
|
{
|
|
6378
6378
|
open,
|
|
6379
6379
|
onClose: closeModal,
|
|
@@ -6444,7 +6444,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
6444
6444
|
}
|
|
6445
6445
|
];
|
|
6446
6446
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6447
|
-
|
|
6447
|
+
chunkFZUV7GNB_js.ContextMenu,
|
|
6448
6448
|
{
|
|
6449
6449
|
position,
|
|
6450
6450
|
onClose,
|
|
@@ -6501,7 +6501,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
6501
6501
|
}
|
|
6502
6502
|
];
|
|
6503
6503
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6504
|
-
|
|
6504
|
+
chunkFZUV7GNB_js.ContextMenu,
|
|
6505
6505
|
{
|
|
6506
6506
|
position,
|
|
6507
6507
|
onClose,
|
|
@@ -6648,7 +6648,7 @@ function SelectionContextMenu({
|
|
|
6648
6648
|
}
|
|
6649
6649
|
];
|
|
6650
6650
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6651
|
-
|
|
6651
|
+
chunkFZUV7GNB_js.ContextMenu,
|
|
6652
6652
|
{
|
|
6653
6653
|
position,
|
|
6654
6654
|
onClose,
|
|
@@ -8606,5 +8606,5 @@ exports.useModalStore = useModalStore;
|
|
|
8606
8606
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
8607
8607
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
8608
8608
|
exports.useWorkflowStore = useWorkflowStore;
|
|
8609
|
-
//# sourceMappingURL=chunk-
|
|
8610
|
-
//# sourceMappingURL=chunk-
|
|
8609
|
+
//# sourceMappingURL=chunk-5SCZB5UI.js.map
|
|
8610
|
+
//# sourceMappingURL=chunk-5SCZB5UI.js.map
|