@datatechsolutions/ui 2.11.19 → 2.11.20
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/contracts.d.mts +6 -2
- package/dist/astrlabe/contracts.d.ts +6 -2
- package/dist/astrlabe/index.d.mts +1 -0
- package/dist/astrlabe/index.d.ts +1 -0
- package/dist/astrlabe/index.js +133 -129
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +12 -8
- package/dist/astrlabe/index.mjs.map +1 -1
- package/dist/astrlabe/workflow-canvas.js +3 -3
- package/dist/astrlabe/workflow-canvas.mjs +2 -2
- package/dist/{chunk-4XID6LOC.js → chunk-BSPRG6ZF.js} +71 -2
- package/dist/chunk-BSPRG6ZF.js.map +1 -0
- package/dist/{chunk-4X7ITYP2.js → chunk-GMGTX3TB.js} +75 -45
- package/dist/chunk-GMGTX3TB.js.map +1 -0
- package/dist/{chunk-46ZM5VJJ.mjs → chunk-N5VHGPE7.mjs} +70 -4
- package/dist/{chunk-4XID6LOC.js.map → chunk-N5VHGPE7.mjs.map} +1 -1
- package/dist/{chunk-LIYKHVLG.mjs → chunk-TZD35VFY.mjs} +33 -4
- package/dist/chunk-TZD35VFY.mjs.map +1 -0
- package/dist/index.d.mts +30 -1
- package/dist/index.d.ts +30 -1
- package/dist/index.js +722 -710
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-46ZM5VJJ.mjs.map +0 -1
- package/dist/chunk-4X7ITYP2.js.map +0 -1
- package/dist/chunk-LIYKHVLG.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkBSPRG6ZF_js = require('./chunk-BSPRG6ZF.js');
|
|
5
5
|
var chunkP4YYEM4B_js = require('./chunk-P4YYEM4B.js');
|
|
6
6
|
var chunkPWBWP5FJ_js = require('./chunk-PWBWP5FJ.js');
|
|
7
7
|
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
@@ -1174,6 +1174,35 @@ function isModelCompatibleWithFramework(modelId, framework) {
|
|
|
1174
1174
|
const provider = modelId.split(".")[0];
|
|
1175
1175
|
return allowed.includes(provider);
|
|
1176
1176
|
}
|
|
1177
|
+
var PROVIDER_TYPE_TO_MODEL_PROVIDERS = {
|
|
1178
|
+
aws_bedrock: ["anthropic", "amazon", "meta", "mistral"],
|
|
1179
|
+
openai_api: ["openai"],
|
|
1180
|
+
google_vertex: ["google"],
|
|
1181
|
+
azure_openai: ["openai"],
|
|
1182
|
+
anthropic_api: ["anthropic"],
|
|
1183
|
+
groq: ["meta", "mistral"],
|
|
1184
|
+
mistral: ["mistral"],
|
|
1185
|
+
huggingface: ["meta", "mistral"],
|
|
1186
|
+
ollama: ["meta", "mistral"],
|
|
1187
|
+
// Also handle raw provider names (from ModelProvider.provider field)
|
|
1188
|
+
anthropic: ["anthropic"],
|
|
1189
|
+
amazon: ["anthropic", "amazon", "meta"],
|
|
1190
|
+
google: ["google"],
|
|
1191
|
+
openai: ["openai"],
|
|
1192
|
+
meta: ["meta"]
|
|
1193
|
+
};
|
|
1194
|
+
function isFrameworkCompatibleWithProviders(framework, providerTypes) {
|
|
1195
|
+
const allowed = FRAMEWORK_ALLOWED_PROVIDERS[framework];
|
|
1196
|
+
if (!allowed || allowed === "all") return true;
|
|
1197
|
+
const availableModelProviders = /* @__PURE__ */ new Set();
|
|
1198
|
+
for (const providerType of providerTypes) {
|
|
1199
|
+
const mapped = PROVIDER_TYPE_TO_MODEL_PROVIDERS[providerType];
|
|
1200
|
+
if (mapped) {
|
|
1201
|
+
for (const mp of mapped) availableModelProviders.add(mp);
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
return allowed.some((allowedProvider) => availableModelProviders.has(allowedProvider));
|
|
1205
|
+
}
|
|
1177
1206
|
function getCompatibleModels(models, framework) {
|
|
1178
1207
|
const allowed = FRAMEWORK_ALLOWED_PROVIDERS[framework];
|
|
1179
1208
|
if (!allowed || allowed === "all") return models;
|
|
@@ -3039,8 +3068,8 @@ function ConfigFormActions({
|
|
|
3039
3068
|
saveDisabled = false
|
|
3040
3069
|
}) {
|
|
3041
3070
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
|
|
3042
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3043
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3071
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBSPRG6ZF_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
3072
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBSPRG6ZF_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
3044
3073
|
] });
|
|
3045
3074
|
}
|
|
3046
3075
|
var COLOR_CLASSES = {
|
|
@@ -3287,7 +3316,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3287
3316
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
|
|
3288
3317
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
|
|
3289
3318
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3290
|
-
|
|
3319
|
+
chunkBSPRG6ZF_js.Button,
|
|
3291
3320
|
{
|
|
3292
3321
|
type: "button",
|
|
3293
3322
|
onClick: handleAddCondition,
|
|
@@ -3298,7 +3327,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3298
3327
|
/* @__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: [
|
|
3299
3328
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
|
|
3300
3329
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3301
|
-
|
|
3330
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3302
3331
|
{
|
|
3303
3332
|
type: "text",
|
|
3304
3333
|
label: t("variableLabel"),
|
|
@@ -3309,7 +3338,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3309
3338
|
}
|
|
3310
3339
|
) }),
|
|
3311
3340
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3312
|
-
|
|
3341
|
+
chunkBSPRG6ZF_js.FormSelect,
|
|
3313
3342
|
{
|
|
3314
3343
|
label: t("operatorLabel"),
|
|
3315
3344
|
value: condition.operator,
|
|
@@ -3319,7 +3348,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3319
3348
|
}
|
|
3320
3349
|
) }),
|
|
3321
3350
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3322
|
-
|
|
3351
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3323
3352
|
{
|
|
3324
3353
|
type: "text",
|
|
3325
3354
|
label: t("valueLabel"),
|
|
@@ -3331,7 +3360,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3331
3360
|
) })
|
|
3332
3361
|
] }),
|
|
3333
3362
|
conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3334
|
-
|
|
3363
|
+
chunkBSPRG6ZF_js.IconButton,
|
|
3335
3364
|
{
|
|
3336
3365
|
onClick: () => handleRemoveCondition(index),
|
|
3337
3366
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3486,7 +3515,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3486
3515
|
};
|
|
3487
3516
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3488
3517
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3489
|
-
|
|
3518
|
+
chunkBSPRG6ZF_js.FormSelect,
|
|
3490
3519
|
{
|
|
3491
3520
|
label: t("methodLabel"),
|
|
3492
3521
|
value: method,
|
|
@@ -3495,7 +3524,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3495
3524
|
}
|
|
3496
3525
|
),
|
|
3497
3526
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3498
|
-
|
|
3527
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3499
3528
|
{
|
|
3500
3529
|
type: "text",
|
|
3501
3530
|
label: t("urlLabel"),
|
|
@@ -3508,7 +3537,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3508
3537
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
3509
3538
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
|
|
3510
3539
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3511
|
-
|
|
3540
|
+
chunkBSPRG6ZF_js.Button,
|
|
3512
3541
|
{
|
|
3513
3542
|
type: "button",
|
|
3514
3543
|
onClick: handleAddHeader,
|
|
@@ -3518,7 +3547,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3518
3547
|
] }),
|
|
3519
3548
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
3520
3549
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3521
|
-
|
|
3550
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3522
3551
|
{
|
|
3523
3552
|
type: "text",
|
|
3524
3553
|
value: entry.key,
|
|
@@ -3528,7 +3557,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3528
3557
|
}
|
|
3529
3558
|
),
|
|
3530
3559
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3531
|
-
|
|
3560
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3532
3561
|
{
|
|
3533
3562
|
type: "text",
|
|
3534
3563
|
value: entry.value,
|
|
@@ -3538,7 +3567,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3538
3567
|
}
|
|
3539
3568
|
),
|
|
3540
3569
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3541
|
-
|
|
3570
|
+
chunkBSPRG6ZF_js.IconButton,
|
|
3542
3571
|
{
|
|
3543
3572
|
onClick: () => handleRemoveHeader(index),
|
|
3544
3573
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
|
|
@@ -3550,7 +3579,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3550
3579
|
] }, index)) })
|
|
3551
3580
|
] }),
|
|
3552
3581
|
method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3553
|
-
|
|
3582
|
+
chunkBSPRG6ZF_js.FormTextarea,
|
|
3554
3583
|
{
|
|
3555
3584
|
label: t("bodyLabel"),
|
|
3556
3585
|
value: body,
|
|
@@ -3561,7 +3590,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3561
3590
|
}
|
|
3562
3591
|
),
|
|
3563
3592
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3564
|
-
|
|
3593
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3565
3594
|
{
|
|
3566
3595
|
type: "number",
|
|
3567
3596
|
label: t("timeoutLabel"),
|
|
@@ -3592,7 +3621,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3592
3621
|
};
|
|
3593
3622
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3594
3623
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3595
|
-
|
|
3624
|
+
chunkBSPRG6ZF_js.FormTextarea,
|
|
3596
3625
|
{
|
|
3597
3626
|
label: t("templateLabel"),
|
|
3598
3627
|
value: template,
|
|
@@ -3603,7 +3632,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3603
3632
|
}
|
|
3604
3633
|
),
|
|
3605
3634
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3606
|
-
|
|
3635
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3607
3636
|
{
|
|
3608
3637
|
type: "text",
|
|
3609
3638
|
label: t("outputVariableLabel"),
|
|
@@ -3632,7 +3661,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3632
3661
|
};
|
|
3633
3662
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3634
3663
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3635
|
-
|
|
3664
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3636
3665
|
{
|
|
3637
3666
|
type: "text",
|
|
3638
3667
|
label: t("iteratorVariableLabel"),
|
|
@@ -3642,7 +3671,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3642
3671
|
}
|
|
3643
3672
|
),
|
|
3644
3673
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3645
|
-
|
|
3674
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3646
3675
|
{
|
|
3647
3676
|
type: "number",
|
|
3648
3677
|
label: t("maxIterationsLabel"),
|
|
@@ -3673,7 +3702,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3673
3702
|
};
|
|
3674
3703
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3675
3704
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3676
|
-
|
|
3705
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3677
3706
|
{
|
|
3678
3707
|
type: "text",
|
|
3679
3708
|
label: t("sourceIdLabel"),
|
|
@@ -3683,7 +3712,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3683
3712
|
}
|
|
3684
3713
|
),
|
|
3685
3714
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3686
|
-
|
|
3715
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3687
3716
|
{
|
|
3688
3717
|
type: "number",
|
|
3689
3718
|
label: t("topKLabel"),
|
|
@@ -3694,7 +3723,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3694
3723
|
}
|
|
3695
3724
|
),
|
|
3696
3725
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3697
|
-
|
|
3726
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
3698
3727
|
{
|
|
3699
3728
|
type: "number",
|
|
3700
3729
|
label: t("similarityThresholdLabel"),
|
|
@@ -3725,7 +3754,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
3725
3754
|
};
|
|
3726
3755
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
3727
3756
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3728
|
-
|
|
3757
|
+
chunkBSPRG6ZF_js.FormTextarea,
|
|
3729
3758
|
{
|
|
3730
3759
|
label: t("outputTemplateLabel"),
|
|
3731
3760
|
hint: t("outputTemplateHelp"),
|
|
@@ -4159,7 +4188,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4159
4188
|
}
|
|
4160
4189
|
),
|
|
4161
4190
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4162
|
-
|
|
4191
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
4163
4192
|
{
|
|
4164
4193
|
type: "text",
|
|
4165
4194
|
label: t("outputVariableLabel"),
|
|
@@ -4169,7 +4198,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4169
4198
|
}
|
|
4170
4199
|
),
|
|
4171
4200
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4172
|
-
|
|
4201
|
+
chunkBSPRG6ZF_js.FormSelect,
|
|
4173
4202
|
{
|
|
4174
4203
|
label: t("aggregationModeLabel"),
|
|
4175
4204
|
value: aggregationMode,
|
|
@@ -4202,7 +4231,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4202
4231
|
};
|
|
4203
4232
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4204
4233
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4205
|
-
|
|
4234
|
+
chunkBSPRG6ZF_js.FormSelect,
|
|
4206
4235
|
{
|
|
4207
4236
|
label: t("extractionModeLabel"),
|
|
4208
4237
|
value: extractionMode,
|
|
@@ -4211,7 +4240,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4211
4240
|
}
|
|
4212
4241
|
),
|
|
4213
4242
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4214
|
-
|
|
4243
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
4215
4244
|
{
|
|
4216
4245
|
type: "text",
|
|
4217
4246
|
label: t("outputVariableLabel"),
|
|
@@ -4388,7 +4417,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4388
4417
|
};
|
|
4389
4418
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
4390
4419
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4391
|
-
|
|
4420
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
4392
4421
|
{
|
|
4393
4422
|
type: "text",
|
|
4394
4423
|
label: t("iteratorVariableLabel"),
|
|
@@ -4398,7 +4427,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4398
4427
|
}
|
|
4399
4428
|
),
|
|
4400
4429
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4401
|
-
|
|
4430
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
4402
4431
|
{
|
|
4403
4432
|
type: "text",
|
|
4404
4433
|
label: t("itemVariableLabel"),
|
|
@@ -4408,7 +4437,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
4408
4437
|
}
|
|
4409
4438
|
),
|
|
4410
4439
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4411
|
-
|
|
4440
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
4412
4441
|
{
|
|
4413
4442
|
type: "text",
|
|
4414
4443
|
label: t("indexVariableLabel"),
|
|
@@ -5002,7 +5031,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5002
5031
|
};
|
|
5003
5032
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5004
5033
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5005
|
-
|
|
5034
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
5006
5035
|
{
|
|
5007
5036
|
type: "text",
|
|
5008
5037
|
label: translations("labelField"),
|
|
@@ -5012,7 +5041,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5012
5041
|
}
|
|
5013
5042
|
),
|
|
5014
5043
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5015
|
-
|
|
5044
|
+
chunkBSPRG6ZF_js.FormTextarea,
|
|
5016
5045
|
{
|
|
5017
5046
|
label: translations("descriptionField"),
|
|
5018
5047
|
value: description,
|
|
@@ -5170,7 +5199,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5170
5199
|
};
|
|
5171
5200
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
5172
5201
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5173
|
-
|
|
5202
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
5174
5203
|
{
|
|
5175
5204
|
type: "text",
|
|
5176
5205
|
label: t("nameLabel"),
|
|
@@ -5180,7 +5209,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5180
5209
|
}
|
|
5181
5210
|
),
|
|
5182
5211
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5183
|
-
|
|
5212
|
+
chunkBSPRG6ZF_js.FormSelect,
|
|
5184
5213
|
{
|
|
5185
5214
|
label: t("providerTypeLabel"),
|
|
5186
5215
|
value: providerType,
|
|
@@ -5189,7 +5218,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5189
5218
|
}
|
|
5190
5219
|
),
|
|
5191
5220
|
showRegion && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5192
|
-
|
|
5221
|
+
chunkBSPRG6ZF_js.FormSelect,
|
|
5193
5222
|
{
|
|
5194
5223
|
label: t("regionLabel"),
|
|
5195
5224
|
value: region,
|
|
@@ -5198,7 +5227,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5198
5227
|
}
|
|
5199
5228
|
),
|
|
5200
5229
|
showEndpoint && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5201
|
-
|
|
5230
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
5202
5231
|
{
|
|
5203
5232
|
type: "text",
|
|
5204
5233
|
label: t("endpointLabel"),
|
|
@@ -5208,7 +5237,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5208
5237
|
}
|
|
5209
5238
|
),
|
|
5210
5239
|
showApiKey && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5211
|
-
|
|
5240
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
5212
5241
|
{
|
|
5213
5242
|
type: "password",
|
|
5214
5243
|
label: t("apiKeyLabel"),
|
|
@@ -5218,7 +5247,7 @@ function ModelProviderNodeConfigForm({ config, onSave, onCancel }) {
|
|
|
5218
5247
|
}
|
|
5219
5248
|
),
|
|
5220
5249
|
showCredentialRef && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5221
|
-
|
|
5250
|
+
chunkBSPRG6ZF_js.FormInput,
|
|
5222
5251
|
{
|
|
5223
5252
|
type: "text",
|
|
5224
5253
|
label: t("credentialRefLabel"),
|
|
@@ -5362,7 +5391,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
|
|
|
5362
5391
|
}
|
|
5363
5392
|
};
|
|
5364
5393
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5365
|
-
|
|
5394
|
+
chunkBSPRG6ZF_js.GlassModalShell,
|
|
5366
5395
|
{
|
|
5367
5396
|
open,
|
|
5368
5397
|
onClose: closeModal,
|
|
@@ -5422,7 +5451,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
|
|
|
5422
5451
|
}
|
|
5423
5452
|
];
|
|
5424
5453
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5425
|
-
|
|
5454
|
+
chunkBSPRG6ZF_js.ContextMenu,
|
|
5426
5455
|
{
|
|
5427
5456
|
position,
|
|
5428
5457
|
onClose,
|
|
@@ -5479,7 +5508,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
|
|
|
5479
5508
|
}
|
|
5480
5509
|
];
|
|
5481
5510
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5482
|
-
|
|
5511
|
+
chunkBSPRG6ZF_js.ContextMenu,
|
|
5483
5512
|
{
|
|
5484
5513
|
position,
|
|
5485
5514
|
onClose,
|
|
@@ -5626,7 +5655,7 @@ function SelectionContextMenu({
|
|
|
5626
5655
|
}
|
|
5627
5656
|
];
|
|
5628
5657
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5629
|
-
|
|
5658
|
+
chunkBSPRG6ZF_js.ContextMenu,
|
|
5630
5659
|
{
|
|
5631
5660
|
position,
|
|
5632
5661
|
onClose,
|
|
@@ -7468,10 +7497,11 @@ exports.getEntityHandleColor = getEntityHandleColor;
|
|
|
7468
7497
|
exports.getEntityIcon = getEntityIcon;
|
|
7469
7498
|
exports.getEntityMinimapColor = getEntityMinimapColor;
|
|
7470
7499
|
exports.getFrameworkMeta = getFrameworkMeta;
|
|
7500
|
+
exports.isFrameworkCompatibleWithProviders = isFrameworkCompatibleWithProviders;
|
|
7471
7501
|
exports.isModelCompatibleWithFramework = isModelCompatibleWithFramework;
|
|
7472
7502
|
exports.useModalStore = useModalStore;
|
|
7473
7503
|
exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
|
|
7474
7504
|
exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
|
|
7475
7505
|
exports.useWorkflowStore = useWorkflowStore;
|
|
7476
|
-
//# sourceMappingURL=chunk-
|
|
7477
|
-
//# sourceMappingURL=chunk-
|
|
7506
|
+
//# sourceMappingURL=chunk-GMGTX3TB.js.map
|
|
7507
|
+
//# sourceMappingURL=chunk-GMGTX3TB.js.map
|