@datatechsolutions/ui 2.11.38 → 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-4RCCAZMR.mjs → chunk-26YD2PZA.mjs} +51 -5
- package/dist/chunk-26YD2PZA.mjs.map +1 -0
- package/dist/{chunk-TE4XMF4F.js → chunk-DKJEMRZF.js} +105 -50
- 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-4RCCAZMR.mjs.map +0 -1
- package/dist/chunk-TE4XMF4F.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: () => {
|
|
@@ -3212,8 +3258,8 @@ function ConfigFormActions({
|
|
|
3212
3258
|
saveDisabled = false
|
|
3213
3259
|
}) {
|
|
3214
3260
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
3215
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3216
|
-
/* @__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 })
|
|
3217
3263
|
] });
|
|
3218
3264
|
}
|
|
3219
3265
|
var COLOR_CLASSES = {
|
|
@@ -3460,7 +3506,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3460
3506
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
3461
3507
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
3462
3508
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3463
|
-
|
|
3509
|
+
chunkKEUOCEOO_js.Button,
|
|
3464
3510
|
{
|
|
3465
3511
|
type: "button",
|
|
3466
3512
|
onClick: handleAddCondition,
|
|
@@ -3471,7 +3517,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3471
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: [
|
|
3472
3518
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
3473
3519
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3474
|
-
|
|
3520
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3475
3521
|
{
|
|
3476
3522
|
type: "text",
|
|
3477
3523
|
label: t("variableLabel"),
|
|
@@ -3482,7 +3528,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3482
3528
|
}
|
|
3483
3529
|
) }),
|
|
3484
3530
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3485
|
-
|
|
3531
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
3486
3532
|
{
|
|
3487
3533
|
label: t("operatorLabel"),
|
|
3488
3534
|
value: condition.operator,
|
|
@@ -3492,7 +3538,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3492
3538
|
}
|
|
3493
3539
|
) }),
|
|
3494
3540
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3495
|
-
|
|
3541
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3496
3542
|
{
|
|
3497
3543
|
type: "text",
|
|
3498
3544
|
label: t("valueLabel"),
|
|
@@ -3504,7 +3550,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3504
3550
|
) })
|
|
3505
3551
|
] }),
|
|
3506
3552
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3507
|
-
|
|
3553
|
+
chunkKEUOCEOO_js.IconButton,
|
|
3508
3554
|
{
|
|
3509
3555
|
onClick: () => handleRemoveCondition(index),
|
|
3510
3556
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3659,7 +3705,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3659
3705
|
};
|
|
3660
3706
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3661
3707
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3662
|
-
|
|
3708
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
3663
3709
|
{
|
|
3664
3710
|
label: t("methodLabel"),
|
|
3665
3711
|
value: method,
|
|
@@ -3668,7 +3714,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3668
3714
|
}
|
|
3669
3715
|
),
|
|
3670
3716
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3671
|
-
|
|
3717
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3672
3718
|
{
|
|
3673
3719
|
type: "text",
|
|
3674
3720
|
label: t("urlLabel"),
|
|
@@ -3681,7 +3727,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3681
3727
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
3682
3728
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
3683
3729
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3684
|
-
|
|
3730
|
+
chunkKEUOCEOO_js.Button,
|
|
3685
3731
|
{
|
|
3686
3732
|
type: "button",
|
|
3687
3733
|
onClick: handleAddHeader,
|
|
@@ -3691,7 +3737,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3691
3737
|
] }),
|
|
3692
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: [
|
|
3693
3739
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3694
|
-
|
|
3740
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3695
3741
|
{
|
|
3696
3742
|
type: "text",
|
|
3697
3743
|
value: entry.key,
|
|
@@ -3701,7 +3747,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3701
3747
|
}
|
|
3702
3748
|
),
|
|
3703
3749
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3704
|
-
|
|
3750
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3705
3751
|
{
|
|
3706
3752
|
type: "text",
|
|
3707
3753
|
value: entry.value,
|
|
@@ -3711,7 +3757,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3711
3757
|
}
|
|
3712
3758
|
),
|
|
3713
3759
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3714
|
-
|
|
3760
|
+
chunkKEUOCEOO_js.IconButton,
|
|
3715
3761
|
{
|
|
3716
3762
|
onClick: () => handleRemoveHeader(index),
|
|
3717
3763
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3723,7 +3769,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3723
3769
|
] }, index)) })
|
|
3724
3770
|
] }),
|
|
3725
3771
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3726
|
-
|
|
3772
|
+
chunkKEUOCEOO_js.FormTextarea,
|
|
3727
3773
|
{
|
|
3728
3774
|
label: t("bodyLabel"),
|
|
3729
3775
|
value: body,
|
|
@@ -3734,7 +3780,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3734
3780
|
}
|
|
3735
3781
|
),
|
|
3736
3782
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3737
|
-
|
|
3783
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3738
3784
|
{
|
|
3739
3785
|
type: "number",
|
|
3740
3786
|
label: t("timeoutLabel"),
|
|
@@ -3765,7 +3811,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3765
3811
|
};
|
|
3766
3812
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3767
3813
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3768
|
-
|
|
3814
|
+
chunkKEUOCEOO_js.FormTextarea,
|
|
3769
3815
|
{
|
|
3770
3816
|
label: t("templateLabel"),
|
|
3771
3817
|
value: template,
|
|
@@ -3776,7 +3822,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3776
3822
|
}
|
|
3777
3823
|
),
|
|
3778
3824
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3779
|
-
|
|
3825
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3780
3826
|
{
|
|
3781
3827
|
type: "text",
|
|
3782
3828
|
label: t("outputVariableLabel"),
|
|
@@ -3805,7 +3851,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3805
3851
|
};
|
|
3806
3852
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3807
3853
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3808
|
-
|
|
3854
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3809
3855
|
{
|
|
3810
3856
|
type: "text",
|
|
3811
3857
|
label: t("iteratorVariableLabel"),
|
|
@@ -3815,7 +3861,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3815
3861
|
}
|
|
3816
3862
|
),
|
|
3817
3863
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3818
|
-
|
|
3864
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3819
3865
|
{
|
|
3820
3866
|
type: "number",
|
|
3821
3867
|
label: t("maxIterationsLabel"),
|
|
@@ -3846,7 +3892,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3846
3892
|
};
|
|
3847
3893
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3848
3894
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3849
|
-
|
|
3895
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3850
3896
|
{
|
|
3851
3897
|
type: "text",
|
|
3852
3898
|
label: t("sourceIdLabel"),
|
|
@@ -3856,7 +3902,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3856
3902
|
}
|
|
3857
3903
|
),
|
|
3858
3904
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3859
|
-
|
|
3905
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3860
3906
|
{
|
|
3861
3907
|
type: "number",
|
|
3862
3908
|
label: t("topKLabel"),
|
|
@@ -3867,7 +3913,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3867
3913
|
}
|
|
3868
3914
|
),
|
|
3869
3915
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3870
|
-
|
|
3916
|
+
chunkKEUOCEOO_js.FormInput,
|
|
3871
3917
|
{
|
|
3872
3918
|
type: "number",
|
|
3873
3919
|
label: t("similarityThresholdLabel"),
|
|
@@ -3898,7 +3944,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3898
3944
|
};
|
|
3899
3945
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3900
3946
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3901
|
-
|
|
3947
|
+
chunkKEUOCEOO_js.FormTextarea,
|
|
3902
3948
|
{
|
|
3903
3949
|
label: t("outputTemplateLabel"),
|
|
3904
3950
|
hint: t("outputTemplateHelp"),
|
|
@@ -4332,7 +4378,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4332
4378
|
}
|
|
4333
4379
|
),
|
|
4334
4380
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4335
|
-
|
|
4381
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4336
4382
|
{
|
|
4337
4383
|
type: "text",
|
|
4338
4384
|
label: t("outputVariableLabel"),
|
|
@@ -4342,7 +4388,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4342
4388
|
}
|
|
4343
4389
|
),
|
|
4344
4390
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4345
|
-
|
|
4391
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
4346
4392
|
{
|
|
4347
4393
|
label: t("aggregationModeLabel"),
|
|
4348
4394
|
value: aggregationMode,
|
|
@@ -4375,7 +4421,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4375
4421
|
};
|
|
4376
4422
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4377
4423
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4378
|
-
|
|
4424
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
4379
4425
|
{
|
|
4380
4426
|
label: t("extractionModeLabel"),
|
|
4381
4427
|
value: extractionMode,
|
|
@@ -4384,7 +4430,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4384
4430
|
}
|
|
4385
4431
|
),
|
|
4386
4432
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4387
|
-
|
|
4433
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4388
4434
|
{
|
|
4389
4435
|
type: "text",
|
|
4390
4436
|
label: t("outputVariableLabel"),
|
|
@@ -4561,7 +4607,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4561
4607
|
};
|
|
4562
4608
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4563
4609
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4564
|
-
|
|
4610
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4565
4611
|
{
|
|
4566
4612
|
type: "text",
|
|
4567
4613
|
label: t("iteratorVariableLabel"),
|
|
@@ -4571,7 +4617,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4571
4617
|
}
|
|
4572
4618
|
),
|
|
4573
4619
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4574
|
-
|
|
4620
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4575
4621
|
{
|
|
4576
4622
|
type: "text",
|
|
4577
4623
|
label: t("itemVariableLabel"),
|
|
@@ -4581,7 +4627,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4581
4627
|
}
|
|
4582
4628
|
),
|
|
4583
4629
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4584
|
-
|
|
4630
|
+
chunkKEUOCEOO_js.FormInput,
|
|
4585
4631
|
{
|
|
4586
4632
|
type: "text",
|
|
4587
4633
|
label: t("indexVariableLabel"),
|
|
@@ -5175,7 +5221,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5175
5221
|
};
|
|
5176
5222
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5177
5223
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5178
|
-
|
|
5224
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5179
5225
|
{
|
|
5180
5226
|
type: "text",
|
|
5181
5227
|
label: translations("labelField"),
|
|
@@ -5185,7 +5231,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5185
5231
|
}
|
|
5186
5232
|
),
|
|
5187
5233
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5188
|
-
|
|
5234
|
+
chunkKEUOCEOO_js.FormTextarea,
|
|
5189
5235
|
{
|
|
5190
5236
|
label: translations("descriptionField"),
|
|
5191
5237
|
value: description,
|
|
@@ -5343,7 +5389,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5343
5389
|
};
|
|
5344
5390
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5345
5391
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5346
|
-
|
|
5392
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5347
5393
|
{
|
|
5348
5394
|
type: "text",
|
|
5349
5395
|
label: t("nameLabel"),
|
|
@@ -5353,7 +5399,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5353
5399
|
}
|
|
5354
5400
|
),
|
|
5355
5401
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5356
|
-
|
|
5402
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
5357
5403
|
{
|
|
5358
5404
|
label: t("providerTypeLabel"),
|
|
5359
5405
|
value: providerType,
|
|
@@ -5362,7 +5408,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5362
5408
|
}
|
|
5363
5409
|
),
|
|
5364
5410
|
showRegion && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5365
|
-
|
|
5411
|
+
chunkKEUOCEOO_js.FormSelect,
|
|
5366
5412
|
{
|
|
5367
5413
|
label: t("regionLabel"),
|
|
5368
5414
|
value: region,
|
|
@@ -5371,7 +5417,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5371
5417
|
}
|
|
5372
5418
|
),
|
|
5373
5419
|
showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5374
|
-
|
|
5420
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5375
5421
|
{
|
|
5376
5422
|
type: "text",
|
|
5377
5423
|
label: t("endpointLabel"),
|
|
@@ -5381,7 +5427,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5381
5427
|
}
|
|
5382
5428
|
),
|
|
5383
5429
|
showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5384
|
-
|
|
5430
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5385
5431
|
{
|
|
5386
5432
|
type: "password",
|
|
5387
5433
|
label: t("apiKeyLabel"),
|
|
@@ -5391,7 +5437,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5391
5437
|
}
|
|
5392
5438
|
),
|
|
5393
5439
|
showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5394
|
-
|
|
5440
|
+
chunkKEUOCEOO_js.FormInput,
|
|
5395
5441
|
{
|
|
5396
5442
|
type: "text",
|
|
5397
5443
|
label: t("credentialRefLabel"),
|
|
@@ -5535,7 +5581,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
5535
5581
|
}
|
|
5536
5582
|
};
|
|
5537
5583
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5538
|
-
|
|
5584
|
+
chunkKEUOCEOO_js.GlassModal,
|
|
5539
5585
|
{
|
|
5540
5586
|
open,
|
|
5541
5587
|
onClose: closeModal,
|
|
@@ -5595,7 +5641,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
5595
5641
|
}
|
|
5596
5642
|
];
|
|
5597
5643
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5598
|
-
|
|
5644
|
+
chunkKEUOCEOO_js.ContextMenu,
|
|
5599
5645
|
{
|
|
5600
5646
|
position,
|
|
5601
5647
|
onClose,
|
|
@@ -5652,7 +5698,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
5652
5698
|
}
|
|
5653
5699
|
];
|
|
5654
5700
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5655
|
-
|
|
5701
|
+
chunkKEUOCEOO_js.ContextMenu,
|
|
5656
5702
|
{
|
|
5657
5703
|
position,
|
|
5658
5704
|
onClose,
|
|
@@ -5799,7 +5845,7 @@ function SelectionContextMenu({
|
|
|
5799
5845
|
}
|
|
5800
5846
|
];
|
|
5801
5847
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5802
|
-
|
|
5848
|
+
chunkKEUOCEOO_js.ContextMenu,
|
|
5803
5849
|
{
|
|
5804
5850
|
position,
|
|
5805
5851
|
onClose,
|
|
@@ -7672,6 +7718,10 @@ exports.VariableAssignerFlowNode = VariableAssignerFlowNode;
|
|
|
7672
7718
|
exports.WorkflowBuilderProvider = WorkflowBuilderProvider;
|
|
7673
7719
|
exports.WorkflowCanvas = WorkflowCanvas;
|
|
7674
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;
|
|
7675
7725
|
exports.getCompatibleModels = getCompatibleModels;
|
|
7676
7726
|
exports.getDefaultFrameworkForModel = getDefaultFrameworkForModel;
|
|
7677
7727
|
exports.getEntityBadgeColor = getEntityBadgeColor;
|
|
@@ -7684,9 +7734,14 @@ exports.getNodeExecutionAccent = getNodeExecutionAccent;
|
|
|
7684
7734
|
exports.getNodeExecutionAccentRgb = getNodeExecutionAccentRgb;
|
|
7685
7735
|
exports.isFrameworkCompatibleWithProviders = isFrameworkCompatibleWithProviders;
|
|
7686
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;
|
|
7687
7742
|
exports.useModalStore = useModalStore;
|
|
7688
7743
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
7689
7744
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
7690
7745
|
exports.useWorkflowStore = useWorkflowStore;
|
|
7691
|
-
//# sourceMappingURL=chunk-
|
|
7692
|
-
//# sourceMappingURL=chunk-
|
|
7746
|
+
//# sourceMappingURL=chunk-DKJEMRZF.js.map
|
|
7747
|
+
//# sourceMappingURL=chunk-DKJEMRZF.js.map
|