@datatechsolutions/ui 2.11.37 → 2.11.40
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/anthropic-2KBFBWYV.svg +1 -0
- package/dist/astrlabe/index.js +172 -158
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +35 -21
- package/dist/astrlabe/index.mjs.map +1 -1
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/aws-UCNBZKSZ.svg +8 -0
- package/dist/bigquery-NJ6CXI6A.svg +3 -0
- package/dist/{chunk-CQQKF7VT.mjs → chunk-26YD2PZA.mjs} +58 -19
- package/dist/chunk-26YD2PZA.mjs.map +1 -0
- package/dist/{chunk-NFJCB4BB.js → chunk-DKJEMRZF.js} +112 -64
- package/dist/chunk-DKJEMRZF.js.map +1 -0
- package/dist/{chunk-MDD6H63O.mjs → chunk-DNGI4ASL.mjs} +3 -3
- package/dist/{chunk-MDD6H63O.mjs.map → chunk-DNGI4ASL.mjs.map} +1 -1
- package/dist/{chunk-2IOPJ5BM.js → chunk-KEUOCEOO.js} +3 -3
- package/dist/{chunk-2IOPJ5BM.js.map → chunk-KEUOCEOO.js.map} +1 -1
- package/dist/clickhouse-AX7XHQBT.svg +1 -0
- package/dist/duckdb-CXAYI3ZI.svg +1 -0
- package/dist/elasticsearch-OU7F6BUJ.svg +3 -0
- package/dist/google-gemini-CVCHE4E2.svg +1 -0
- package/dist/index.js +718 -718
- package/dist/index.mjs +2 -2
- package/dist/meta-EQ5RQLUY.svg +1 -0
- package/dist/mongodb-URDFTXPT.svg +2 -0
- package/dist/mysql-FVY4Z77S.svg +2 -0
- package/dist/openai-GLI5I2PL.svg +2 -0
- package/dist/postgres-HNTH3LSP.svg +16 -0
- package/dist/redis-ROJIVLPW.svg +28 -0
- package/dist/snowflake-VKC5HXDS.svg +3 -0
- package/package.json +1 -1
- package/src/brand/logos/datasources/bigquery.svg +3 -0
- package/src/brand/logos/datasources/clickhouse.svg +1 -0
- package/src/brand/logos/datasources/duckdb.svg +1 -0
- package/src/brand/logos/datasources/elasticsearch.svg +3 -0
- package/src/brand/logos/datasources/mongodb.svg +2 -0
- package/src/brand/logos/datasources/mysql.svg +2 -0
- package/src/brand/logos/datasources/postgres.svg +16 -0
- package/src/brand/logos/datasources/redis.svg +28 -0
- package/src/brand/logos/datasources/snowflake.svg +3 -0
- package/src/brand/logos/providers/anthropic.svg +1 -0
- package/src/brand/logos/providers/aws.svg +8 -0
- package/src/brand/logos/providers/google-gemini.svg +1 -0
- package/src/brand/logos/providers/meta.svg +1 -0
- package/src/brand/logos/providers/openai.svg +2 -0
- package/dist/chunk-CQQKF7VT.mjs.map +0 -1
- package/dist/chunk-NFJCB4BB.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkKEUOCEOO_js = require('./chunk-KEUOCEOO.js');
|
|
5
5
|
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
6
6
|
var chunkP4YYEM4B_js = require('./chunk-P4YYEM4B.js');
|
|
7
7
|
var chunkPWBWP5FJ_js = require('./chunk-PWBWP5FJ.js');
|
|
@@ -1656,7 +1656,7 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
|
|
|
1656
1656
|
event.stopPropagation();
|
|
1657
1657
|
},
|
|
1658
1658
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1659
|
-
|
|
1659
|
+
chunkKEUOCEOO_js.ToggleSwitch,
|
|
1660
1660
|
{
|
|
1661
1661
|
checked: Boolean(agentTool.enabled),
|
|
1662
1662
|
onChange: () => data.onToggle?.(agentTool),
|
|
@@ -1764,7 +1764,7 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
|
|
|
1764
1764
|
event.preventDefault();
|
|
1765
1765
|
},
|
|
1766
1766
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1767
|
-
|
|
1767
|
+
chunkKEUOCEOO_js.ToggleSwitch,
|
|
1768
1768
|
{
|
|
1769
1769
|
checked: Boolean(tool.enabled),
|
|
1770
1770
|
onChange: () => onToggle(tool),
|
|
@@ -1916,7 +1916,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
|
|
|
1916
1916
|
event.preventDefault();
|
|
1917
1917
|
},
|
|
1918
1918
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1919
|
-
|
|
1919
|
+
chunkKEUOCEOO_js.ToggleSwitch,
|
|
1920
1920
|
{
|
|
1921
1921
|
checked: Boolean(rule.enabled),
|
|
1922
1922
|
onChange: () => onToggle(rule),
|
|
@@ -2840,6 +2840,51 @@ var NoteFlowNode = react.memo(function NoteFlowNode2({ data, selected }) {
|
|
|
2840
2840
|
}
|
|
2841
2841
|
);
|
|
2842
2842
|
});
|
|
2843
|
+
|
|
2844
|
+
// src/brand/logos/datasources/bigquery.svg
|
|
2845
|
+
var bigquery_default = "./bigquery-NJ6CXI6A.svg";
|
|
2846
|
+
|
|
2847
|
+
// src/brand/logos/datasources/postgres.svg
|
|
2848
|
+
var postgres_default = "./postgres-HNTH3LSP.svg";
|
|
2849
|
+
|
|
2850
|
+
// src/brand/logos/datasources/snowflake.svg
|
|
2851
|
+
var snowflake_default = "./snowflake-VKC5HXDS.svg";
|
|
2852
|
+
|
|
2853
|
+
// src/brand/logos/datasources/mongodb.svg
|
|
2854
|
+
var mongodb_default = "./mongodb-URDFTXPT.svg";
|
|
2855
|
+
|
|
2856
|
+
// src/brand/logos/datasources/redis.svg
|
|
2857
|
+
var redis_default = "./redis-ROJIVLPW.svg";
|
|
2858
|
+
|
|
2859
|
+
// src/brand/logos/datasources/mysql.svg
|
|
2860
|
+
var mysql_default = "./mysql-FVY4Z77S.svg";
|
|
2861
|
+
|
|
2862
|
+
// src/brand/logos/datasources/clickhouse.svg
|
|
2863
|
+
var clickhouse_default = "./clickhouse-AX7XHQBT.svg";
|
|
2864
|
+
|
|
2865
|
+
// src/brand/logos/datasources/elasticsearch.svg
|
|
2866
|
+
var elasticsearch_default = "./elasticsearch-OU7F6BUJ.svg";
|
|
2867
|
+
|
|
2868
|
+
// src/brand/logos/datasources/duckdb.svg
|
|
2869
|
+
var duckdb_default = "./duckdb-CXAYI3ZI.svg";
|
|
2870
|
+
var DATASOURCE_LOGOS = {
|
|
2871
|
+
bigquery: bigquery_default,
|
|
2872
|
+
postgres: postgres_default,
|
|
2873
|
+
snowflake: snowflake_default,
|
|
2874
|
+
mongodb: mongodb_default,
|
|
2875
|
+
redis: redis_default,
|
|
2876
|
+
mysql: mysql_default,
|
|
2877
|
+
clickhouse: clickhouse_default,
|
|
2878
|
+
elasticsearch: elasticsearch_default,
|
|
2879
|
+
duckdb: duckdb_default
|
|
2880
|
+
};
|
|
2881
|
+
function getDatasourceLogo(datasourceId, dialect) {
|
|
2882
|
+
const search = (dialect ?? datasourceId).toLowerCase();
|
|
2883
|
+
for (const [key, url] of Object.entries(DATASOURCE_LOGOS)) {
|
|
2884
|
+
if (search.includes(key)) return url;
|
|
2885
|
+
}
|
|
2886
|
+
return null;
|
|
2887
|
+
}
|
|
2843
2888
|
var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, selected }) {
|
|
2844
2889
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
2845
2890
|
const { config, label, datasource, readOnly = false, onEdit, onRemoveFromCanvas } = data;
|
|
@@ -2862,10 +2907,11 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
2862
2907
|
}
|
|
2863
2908
|
const columnCount = config.selectedColumns?.length ?? 0;
|
|
2864
2909
|
const filterCount = config.filterVariables ? Object.keys(config.filterVariables).length : 0;
|
|
2910
|
+
const logo = getDatasourceLogo(config.datasourceId, config.dialect);
|
|
2865
2911
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(NodeCard, { compact: isCompact, selected, nodeType: "datasource", children: [
|
|
2866
2912
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between", children: [
|
|
2867
2913
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
2868
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-xl bg-gradient-to-br from-cyan-500 to-blue-600 shadow-lg", children: /* @__PURE__ */ jsxRuntime.jsx(outline.ServerStackIcon, { className: "h-5 w-5 text-white" }) }),
|
|
2914
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-xl bg-gradient-to-br from-cyan-500 to-blue-600 shadow-lg", children: logo ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: logo, alt: config.dialect ?? "", className: "h-5 w-5" }) : /* @__PURE__ */ jsxRuntime.jsx(outline.ServerStackIcon, { className: "h-5 w-5 text-white" }) }),
|
|
2869
2915
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
2870
2916
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-semibold text-gray-900 dark:text-white", children: label }),
|
|
2871
2917
|
!isCompact && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "mt-0.5 line-clamp-1 text-xs text-gray-500 dark:text-gray-400", children: [
|
|
@@ -2884,7 +2930,7 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
2884
2930
|
event.preventDefault();
|
|
2885
2931
|
},
|
|
2886
2932
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2887
|
-
|
|
2933
|
+
chunkKEUOCEOO_js.ToggleSwitch,
|
|
2888
2934
|
{
|
|
2889
2935
|
checked: true,
|
|
2890
2936
|
onChange: () => {
|
|
@@ -2899,21 +2945,14 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
|
|
|
2899
2945
|
)
|
|
2900
2946
|
] }),
|
|
2901
2947
|
/* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
|
|
2902
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-
|
|
2948
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
2903
2949
|
config.dialect && /* @__PURE__ */ jsxRuntime.jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-semibold bg-cyan-100 text-cyan-700 dark:bg-cyan-400/15 dark:text-cyan-400", children: config.dialect }),
|
|
2904
|
-
readOnly && /* @__PURE__ */ jsxRuntime.jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-medium bg-slate-100 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400", children: "
|
|
2905
|
-
|
|
2906
|
-
columnCount,
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
filterCount,
|
|
2911
|
-
" filters"
|
|
2912
|
-
] }),
|
|
2913
|
-
config.limit > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2914
|
-
"\u2264",
|
|
2915
|
-
config.limit
|
|
2916
|
-
] })
|
|
2950
|
+
readOnly && /* @__PURE__ */ jsxRuntime.jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-medium bg-slate-100 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400", children: "sample" }),
|
|
2951
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2952
|
+
columnCount > 0 ? `${columnCount} cols` : null,
|
|
2953
|
+
filterCount > 0 ? `${filterCount} filters` : null,
|
|
2954
|
+
config.limit > 0 ? `\u2264${config.limit}` : null
|
|
2955
|
+
].filter(Boolean).join(" \xB7 ") })
|
|
2917
2956
|
] }),
|
|
2918
2957
|
onRemoveFromCanvas && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2919
2958
|
"span",
|
|
@@ -3219,8 +3258,8 @@ function ConfigFormActions({
|
|
|
3219
3258
|
saveDisabled = false
|
|
3220
3259
|
}) {
|
|
3221
3260
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
3222
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3223
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3261
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkKEUOCEOO_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3262
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkKEUOCEOO_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3224
3263
|
] });
|
|
3225
3264
|
}
|
|
3226
3265
|
var COLOR_CLASSES = {
|
|
@@ -3467,7 +3506,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3467
3506
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
3468
3507
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
3469
3508
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3470
|
-
|
|
3509
|
+
chunkKEUOCEOO_js.Button,
|
|
3471
3510
|
{
|
|
3472
3511
|
type: "button",
|
|
3473
3512
|
onClick: handleAddCondition,
|
|
@@ -3478,7 +3517,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3478
3517
|
/* @__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: [
|
|
3479
3518
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
3480
3519
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3481
|
-
|
|
3520
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3482
3521
|
{
|
|
3483
3522
|
type: "text",
|
|
3484
3523
|
label: t("variableLabel"),
|
|
@@ -3489,7 +3528,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3489
3528
|
}
|
|
3490
3529
|
) }),
|
|
3491
3530
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3492
|
-
|
|
3531
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
3493
3532
|
{
|
|
3494
3533
|
label: t("operatorLabel"),
|
|
3495
3534
|
value: condition.operator,
|
|
@@ -3499,7 +3538,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3499
3538
|
}
|
|
3500
3539
|
) }),
|
|
3501
3540
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3502
|
-
|
|
3541
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3503
3542
|
{
|
|
3504
3543
|
type: "text",
|
|
3505
3544
|
label: t("valueLabel"),
|
|
@@ -3511,7 +3550,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3511
3550
|
) })
|
|
3512
3551
|
] }),
|
|
3513
3552
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3514
|
-
|
|
3553
|
+
chunkKEUOCEOO_js.IconButton,
|
|
3515
3554
|
{
|
|
3516
3555
|
onClick: () => handleRemoveCondition(index),
|
|
3517
3556
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3666,7 +3705,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3666
3705
|
};
|
|
3667
3706
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3668
3707
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3669
|
-
|
|
3708
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
3670
3709
|
{
|
|
3671
3710
|
label: t("methodLabel"),
|
|
3672
3711
|
value: method,
|
|
@@ -3675,7 +3714,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3675
3714
|
}
|
|
3676
3715
|
),
|
|
3677
3716
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3678
|
-
|
|
3717
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3679
3718
|
{
|
|
3680
3719
|
type: "text",
|
|
3681
3720
|
label: t("urlLabel"),
|
|
@@ -3688,7 +3727,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3688
3727
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
3689
3728
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
3690
3729
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3691
|
-
|
|
3730
|
+
chunkKEUOCEOO_js.Button,
|
|
3692
3731
|
{
|
|
3693
3732
|
type: "button",
|
|
3694
3733
|
onClick: handleAddHeader,
|
|
@@ -3698,7 +3737,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3698
3737
|
] }),
|
|
3699
3738
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
3700
3739
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3701
|
-
|
|
3740
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3702
3741
|
{
|
|
3703
3742
|
type: "text",
|
|
3704
3743
|
value: entry.key,
|
|
@@ -3708,7 +3747,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3708
3747
|
}
|
|
3709
3748
|
),
|
|
3710
3749
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3711
|
-
|
|
3750
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3712
3751
|
{
|
|
3713
3752
|
type: "text",
|
|
3714
3753
|
value: entry.value,
|
|
@@ -3718,7 +3757,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3718
3757
|
}
|
|
3719
3758
|
),
|
|
3720
3759
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3721
|
-
|
|
3760
|
+
chunkKEUOCEOO_js.IconButton,
|
|
3722
3761
|
{
|
|
3723
3762
|
onClick: () => handleRemoveHeader(index),
|
|
3724
3763
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3730,7 +3769,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3730
3769
|
] }, index)) })
|
|
3731
3770
|
] }),
|
|
3732
3771
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3733
|
-
|
|
3772
|
+
chunkKEUOCEOO_js.FormTextarea,
|
|
3734
3773
|
{
|
|
3735
3774
|
label: t("bodyLabel"),
|
|
3736
3775
|
value: body,
|
|
@@ -3741,7 +3780,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3741
3780
|
}
|
|
3742
3781
|
),
|
|
3743
3782
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3744
|
-
|
|
3783
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3745
3784
|
{
|
|
3746
3785
|
type: "number",
|
|
3747
3786
|
label: t("timeoutLabel"),
|
|
@@ -3772,7 +3811,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3772
3811
|
};
|
|
3773
3812
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3774
3813
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3775
|
-
|
|
3814
|
+
chunkKEUOCEOO_js.FormTextarea,
|
|
3776
3815
|
{
|
|
3777
3816
|
label: t("templateLabel"),
|
|
3778
3817
|
value: template,
|
|
@@ -3783,7 +3822,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3783
3822
|
}
|
|
3784
3823
|
),
|
|
3785
3824
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3786
|
-
|
|
3825
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3787
3826
|
{
|
|
3788
3827
|
type: "text",
|
|
3789
3828
|
label: t("outputVariableLabel"),
|
|
@@ -3812,7 +3851,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3812
3851
|
};
|
|
3813
3852
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3814
3853
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3815
|
-
|
|
3854
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3816
3855
|
{
|
|
3817
3856
|
type: "text",
|
|
3818
3857
|
label: t("iteratorVariableLabel"),
|
|
@@ -3822,7 +3861,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3822
3861
|
}
|
|
3823
3862
|
),
|
|
3824
3863
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3825
|
-
|
|
3864
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3826
3865
|
{
|
|
3827
3866
|
type: "number",
|
|
3828
3867
|
label: t("maxIterationsLabel"),
|
|
@@ -3853,7 +3892,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3853
3892
|
};
|
|
3854
3893
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3855
3894
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3856
|
-
|
|
3895
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3857
3896
|
{
|
|
3858
3897
|
type: "text",
|
|
3859
3898
|
label: t("sourceIdLabel"),
|
|
@@ -3863,7 +3902,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3863
3902
|
}
|
|
3864
3903
|
),
|
|
3865
3904
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3866
|
-
|
|
3905
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3867
3906
|
{
|
|
3868
3907
|
type: "number",
|
|
3869
3908
|
label: t("topKLabel"),
|
|
@@ -3874,7 +3913,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3874
3913
|
}
|
|
3875
3914
|
),
|
|
3876
3915
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3877
|
-
|
|
3916
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3878
3917
|
{
|
|
3879
3918
|
type: "number",
|
|
3880
3919
|
label: t("similarityThresholdLabel"),
|
|
@@ -3905,7 +3944,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3905
3944
|
};
|
|
3906
3945
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3907
3946
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3908
|
-
|
|
3947
|
+
chunkKEUOCEOO_js.FormTextarea,
|
|
3909
3948
|
{
|
|
3910
3949
|
label: t("outputTemplateLabel"),
|
|
3911
3950
|
hint: t("outputTemplateHelp"),
|
|
@@ -4339,7 +4378,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4339
4378
|
}
|
|
4340
4379
|
),
|
|
4341
4380
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4342
|
-
|
|
4381
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4343
4382
|
{
|
|
4344
4383
|
type: "text",
|
|
4345
4384
|
label: t("outputVariableLabel"),
|
|
@@ -4349,7 +4388,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4349
4388
|
}
|
|
4350
4389
|
),
|
|
4351
4390
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4352
|
-
|
|
4391
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
4353
4392
|
{
|
|
4354
4393
|
label: t("aggregationModeLabel"),
|
|
4355
4394
|
value: aggregationMode,
|
|
@@ -4382,7 +4421,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4382
4421
|
};
|
|
4383
4422
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4384
4423
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4385
|
-
|
|
4424
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
4386
4425
|
{
|
|
4387
4426
|
label: t("extractionModeLabel"),
|
|
4388
4427
|
value: extractionMode,
|
|
@@ -4391,7 +4430,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4391
4430
|
}
|
|
4392
4431
|
),
|
|
4393
4432
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4394
|
-
|
|
4433
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4395
4434
|
{
|
|
4396
4435
|
type: "text",
|
|
4397
4436
|
label: t("outputVariableLabel"),
|
|
@@ -4568,7 +4607,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4568
4607
|
};
|
|
4569
4608
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4570
4609
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4571
|
-
|
|
4610
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4572
4611
|
{
|
|
4573
4612
|
type: "text",
|
|
4574
4613
|
label: t("iteratorVariableLabel"),
|
|
@@ -4578,7 +4617,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4578
4617
|
}
|
|
4579
4618
|
),
|
|
4580
4619
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4581
|
-
|
|
4620
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4582
4621
|
{
|
|
4583
4622
|
type: "text",
|
|
4584
4623
|
label: t("itemVariableLabel"),
|
|
@@ -4588,7 +4627,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4588
4627
|
}
|
|
4589
4628
|
),
|
|
4590
4629
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4591
|
-
|
|
4630
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4592
4631
|
{
|
|
4593
4632
|
type: "text",
|
|
4594
4633
|
label: t("indexVariableLabel"),
|
|
@@ -5182,7 +5221,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5182
5221
|
};
|
|
5183
5222
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5184
5223
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5185
|
-
|
|
5224
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5186
5225
|
{
|
|
5187
5226
|
type: "text",
|
|
5188
5227
|
label: translations("labelField"),
|
|
@@ -5192,7 +5231,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5192
5231
|
}
|
|
5193
5232
|
),
|
|
5194
5233
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5195
|
-
|
|
5234
|
+
chunkKEUOCEOO_js.FormTextarea,
|
|
5196
5235
|
{
|
|
5197
5236
|
label: translations("descriptionField"),
|
|
5198
5237
|
value: description,
|
|
@@ -5350,7 +5389,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5350
5389
|
};
|
|
5351
5390
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5352
5391
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5353
|
-
|
|
5392
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5354
5393
|
{
|
|
5355
5394
|
type: "text",
|
|
5356
5395
|
label: t("nameLabel"),
|
|
@@ -5360,7 +5399,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5360
5399
|
}
|
|
5361
5400
|
),
|
|
5362
5401
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5363
|
-
|
|
5402
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
5364
5403
|
{
|
|
5365
5404
|
label: t("providerTypeLabel"),
|
|
5366
5405
|
value: providerType,
|
|
@@ -5369,7 +5408,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5369
5408
|
}
|
|
5370
5409
|
),
|
|
5371
5410
|
showRegion && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5372
|
-
|
|
5411
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
5373
5412
|
{
|
|
5374
5413
|
label: t("regionLabel"),
|
|
5375
5414
|
value: region,
|
|
@@ -5378,7 +5417,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5378
5417
|
}
|
|
5379
5418
|
),
|
|
5380
5419
|
showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5381
|
-
|
|
5420
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5382
5421
|
{
|
|
5383
5422
|
type: "text",
|
|
5384
5423
|
label: t("endpointLabel"),
|
|
@@ -5388,7 +5427,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5388
5427
|
}
|
|
5389
5428
|
),
|
|
5390
5429
|
showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5391
|
-
|
|
5430
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5392
5431
|
{
|
|
5393
5432
|
type: "password",
|
|
5394
5433
|
label: t("apiKeyLabel"),
|
|
@@ -5398,7 +5437,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5398
5437
|
}
|
|
5399
5438
|
),
|
|
5400
5439
|
showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5401
|
-
|
|
5440
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5402
5441
|
{
|
|
5403
5442
|
type: "text",
|
|
5404
5443
|
label: t("credentialRefLabel"),
|
|
@@ -5542,7 +5581,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
5542
5581
|
}
|
|
5543
5582
|
};
|
|
5544
5583
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5545
|
-
|
|
5584
|
+
chunkKEUOCEOO_js.GlassModal,
|
|
5546
5585
|
{
|
|
5547
5586
|
open,
|
|
5548
5587
|
onClose: closeModal,
|
|
@@ -5602,7 +5641,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
5602
5641
|
}
|
|
5603
5642
|
];
|
|
5604
5643
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5605
|
-
|
|
5644
|
+
chunkKEUOCEOO_js.ContextMenu,
|
|
5606
5645
|
{
|
|
5607
5646
|
position,
|
|
5608
5647
|
onClose,
|
|
@@ -5659,7 +5698,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
5659
5698
|
}
|
|
5660
5699
|
];
|
|
5661
5700
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5662
|
-
|
|
5701
|
+
chunkKEUOCEOO_js.ContextMenu,
|
|
5663
5702
|
{
|
|
5664
5703
|
position,
|
|
5665
5704
|
onClose,
|
|
@@ -5806,7 +5845,7 @@ function SelectionContextMenu({
|
|
|
5806
5845
|
}
|
|
5807
5846
|
];
|
|
5808
5847
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5809
|
-
|
|
5848
|
+
chunkKEUOCEOO_js.ContextMenu,
|
|
5810
5849
|
{
|
|
5811
5850
|
position,
|
|
5812
5851
|
onClose,
|
|
@@ -7679,6 +7718,10 @@ exports.VariableAssignerFlowNode = VariableAssignerFlowNode;
|
|
|
7679
7718
|
exports.WorkflowBuilderProvider = WorkflowBuilderProvider;
|
|
7680
7719
|
exports.WorkflowCanvas = WorkflowCanvas;
|
|
7681
7720
|
exports.Workspace = Workspace;
|
|
7721
|
+
exports.bigquery_default = bigquery_default;
|
|
7722
|
+
exports.clickhouse_default = clickhouse_default;
|
|
7723
|
+
exports.duckdb_default = duckdb_default;
|
|
7724
|
+
exports.elasticsearch_default = elasticsearch_default;
|
|
7682
7725
|
exports.getCompatibleModels = getCompatibleModels;
|
|
7683
7726
|
exports.getDefaultFrameworkForModel = getDefaultFrameworkForModel;
|
|
7684
7727
|
exports.getEntityBadgeColor = getEntityBadgeColor;
|
|
@@ -7691,9 +7734,14 @@ exports.getNodeExecutionAccent = getNodeExecutionAccent;
|
|
|
7691
7734
|
exports.getNodeExecutionAccentRgb = getNodeExecutionAccentRgb;
|
|
7692
7735
|
exports.isFrameworkCompatibleWithProviders = isFrameworkCompatibleWithProviders;
|
|
7693
7736
|
exports.isModelCompatibleWithFramework = isModelCompatibleWithFramework;
|
|
7737
|
+
exports.mongodb_default = mongodb_default;
|
|
7738
|
+
exports.mysql_default = mysql_default;
|
|
7739
|
+
exports.postgres_default = postgres_default;
|
|
7740
|
+
exports.redis_default = redis_default;
|
|
7741
|
+
exports.snowflake_default = snowflake_default;
|
|
7694
7742
|
exports.useModalStore = useModalStore;
|
|
7695
7743
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
7696
7744
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
7697
7745
|
exports.useWorkflowStore = useWorkflowStore;
|
|
7698
|
-
//# sourceMappingURL=chunk-
|
|
7699
|
-
//# sourceMappingURL=chunk-
|
|
7746
|
+
//# sourceMappingURL=chunk-DKJEMRZF.js.map
|
|
7747
|
+
//# sourceMappingURL=chunk-DKJEMRZF.js.map
|