@datatechsolutions/ui 2.11.16 → 2.11.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astrlabe/index.js +102 -102
- package/dist/astrlabe/index.mjs +2 -2
- package/dist/astrlabe/workflow-canvas.js +2 -2
- package/dist/astrlabe/workflow-canvas.mjs +1 -1
- package/dist/{chunk-4B47R7VI.mjs → chunk-57OBMWRA.mjs} +14 -14
- package/dist/chunk-57OBMWRA.mjs.map +1 -0
- package/dist/{chunk-2JK7GQYA.js → chunk-PNN6KWXQ.js} +14 -14
- package/dist/chunk-PNN6KWXQ.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-2JK7GQYA.js.map +0 -1
- package/dist/chunk-4B47R7VI.mjs.map +0 -1
|
@@ -338,7 +338,7 @@ var LOGIC_NODE_GRADIENTS = {
|
|
|
338
338
|
note: "from-yellow-400 to-amber-500",
|
|
339
339
|
entity: "from-blue-400 to-cyan-500",
|
|
340
340
|
datasource: "from-cyan-500 to-blue-600",
|
|
341
|
-
model_provider: "from-
|
|
341
|
+
model_provider: "from-slate-500 to-gray-600",
|
|
342
342
|
group: "from-slate-400 to-gray-500"
|
|
343
343
|
};
|
|
344
344
|
var LOGIC_NODE_BADGE_COLORS = {
|
|
@@ -361,7 +361,7 @@ var LOGIC_NODE_BADGE_COLORS = {
|
|
|
361
361
|
note: "bg-yellow-100 text-yellow-700 dark:bg-yellow-500/20 dark:text-yellow-300",
|
|
362
362
|
entity: "bg-blue-100 text-blue-700 dark:bg-blue-500/20 dark:text-blue-300",
|
|
363
363
|
datasource: "bg-cyan-100 text-cyan-700 dark:bg-cyan-500/20 dark:text-cyan-300",
|
|
364
|
-
model_provider: "bg-
|
|
364
|
+
model_provider: "bg-slate-100 text-slate-700 dark:bg-slate-500/20 dark:text-slate-300",
|
|
365
365
|
group: "bg-slate-100 text-slate-700 dark:bg-slate-500/20 dark:text-slate-300"
|
|
366
366
|
};
|
|
367
367
|
var LOGIC_NODE_BADGE_SOFT_COLORS = {
|
|
@@ -384,7 +384,7 @@ var LOGIC_NODE_BADGE_SOFT_COLORS = {
|
|
|
384
384
|
note: "bg-yellow-50 text-yellow-600 dark:bg-yellow-500/20 dark:text-yellow-400",
|
|
385
385
|
entity: "bg-blue-50 text-blue-600 dark:bg-blue-500/20 dark:text-blue-400",
|
|
386
386
|
datasource: "bg-cyan-50 text-cyan-600 dark:bg-cyan-500/20 dark:text-cyan-400",
|
|
387
|
-
model_provider: "bg-
|
|
387
|
+
model_provider: "bg-slate-50 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400",
|
|
388
388
|
group: "bg-slate-50 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400"
|
|
389
389
|
};
|
|
390
390
|
var LOGIC_ICON_MAP = {
|
|
@@ -436,7 +436,7 @@ var NODE_BORDER_COLORS = {
|
|
|
436
436
|
list_operator: "border-lime-300/50 dark:border-lime-600/50",
|
|
437
437
|
note: "border-gray-200/50 dark:border-gray-700/50",
|
|
438
438
|
datasource: "border-cyan-300/50 dark:border-cyan-600/50",
|
|
439
|
-
model_provider: "border-
|
|
439
|
+
model_provider: "border-slate-300/50 dark:border-slate-600/50"
|
|
440
440
|
};
|
|
441
441
|
function getNodeStateClass(selected, nodeType, customBorder) {
|
|
442
442
|
if (selected) return NODE_SELECTED_CLASS;
|
|
@@ -467,7 +467,7 @@ var MINIMAP_NODE_COLORS = {
|
|
|
467
467
|
note: "#eab308",
|
|
468
468
|
entity: "#3b82f6",
|
|
469
469
|
datasource: "#06b6d4",
|
|
470
|
-
model_provider: "#
|
|
470
|
+
model_provider: "#64748b",
|
|
471
471
|
group: "#64748b"
|
|
472
472
|
};
|
|
473
473
|
var LOGIC_NODE_HANDLE_COLORS = {
|
|
@@ -490,7 +490,7 @@ var LOGIC_NODE_HANDLE_COLORS = {
|
|
|
490
490
|
note: "!bg-yellow-500",
|
|
491
491
|
entity: "!bg-blue-500",
|
|
492
492
|
datasource: "!bg-cyan-500",
|
|
493
|
-
model_provider: "!bg-
|
|
493
|
+
model_provider: "!bg-slate-500",
|
|
494
494
|
group: "!bg-slate-500"
|
|
495
495
|
};
|
|
496
496
|
var INSERTABLE_NODES = [
|
|
@@ -2798,8 +2798,8 @@ var ModelProviderFlowNode = memo(function ModelProviderFlowNode2({ id, data, sel
|
|
|
2798
2798
|
iconClassName: "flex h-11 w-11 items-center justify-center rounded-xl bg-gradient-to-br from-amber-400 to-orange-500 shadow-lg"
|
|
2799
2799
|
}
|
|
2800
2800
|
) }),
|
|
2801
|
-
/* @__PURE__ */ jsx(WorkflowHandle, { type: "source", position: Position.Right, id: "right-out", colorClass: "!bg-
|
|
2802
|
-
/* @__PURE__ */ jsx(WorkflowHandle, { type: "source", position: Position.Bottom, id: "bottom-out", colorClass: "!bg-
|
|
2801
|
+
/* @__PURE__ */ jsx(WorkflowHandle, { type: "source", position: Position.Right, id: "right-out", colorClass: "!bg-slate-500" }),
|
|
2802
|
+
/* @__PURE__ */ jsx(WorkflowHandle, { type: "source", position: Position.Bottom, id: "bottom-out", colorClass: "!bg-slate-500" })
|
|
2803
2803
|
] });
|
|
2804
2804
|
}
|
|
2805
2805
|
const providerLabel = PROVIDER_TYPE_LABELS[config.providerType] ?? config.providerType;
|
|
@@ -2824,11 +2824,11 @@ var ModelProviderFlowNode = memo(function ModelProviderFlowNode2({ id, data, sel
|
|
|
2824
2824
|
icon: logo ? /* @__PURE__ */ jsx("img", { src: logo, alt: providerLabel, className: "h-6 w-6 object-contain", loading: "lazy" }) : /* @__PURE__ */ jsx(KeyIcon, { className: "h-6 w-6 text-white" }),
|
|
2825
2825
|
title: displayName,
|
|
2826
2826
|
description: providerLabel,
|
|
2827
|
-
iconClassName:
|
|
2827
|
+
iconClassName: `flex h-11 w-11 items-center justify-center rounded-xl shadow-lg ${logo ? "bg-white/10 dark:bg-white/5 p-2" : "bg-gradient-to-br from-slate-600 to-slate-700 p-1.5"}`
|
|
2828
2828
|
}
|
|
2829
2829
|
),
|
|
2830
2830
|
/* @__PURE__ */ jsx(NodeCardMeta, { compact: isCompact, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
2831
|
-
/* @__PURE__ */ jsx(NodeCardBadge, { className: "rounded-full bg-
|
|
2831
|
+
/* @__PURE__ */ jsx(NodeCardBadge, { className: "rounded-full bg-slate-100 px-2 py-0.5 text-[10px] font-semibold text-slate-700 dark:bg-slate-500/20 dark:text-slate-300", children: providerLabel }),
|
|
2832
2832
|
regionLabel && /* @__PURE__ */ jsx(NodeCardBadge, { className: "rounded-full bg-gray-100 px-2 py-0.5 text-[10px] font-medium text-gray-600 dark:bg-white/10 dark:text-gray-300", children: regionLabel }),
|
|
2833
2833
|
/* @__PURE__ */ jsx(NodeCardBadge, { className: `rounded-full px-2 py-0.5 text-[10px] font-medium ${isConfigured ? "bg-green-100 text-green-700 dark:bg-green-500/20 dark:text-green-300" : "bg-amber-100 text-amber-700 dark:bg-amber-500/20 dark:text-amber-300"}`, children: isConfigured ? "Configured" : "Setup needed" }),
|
|
2834
2834
|
config.modelFilter && config.modelFilter.length > 0 && /* @__PURE__ */ jsxs(NodeCardBadge, { className: "rounded-full bg-gray-100 px-2 py-0.5 text-[10px] font-medium text-gray-600 dark:bg-white/10 dark:text-gray-300", children: [
|
|
@@ -2839,8 +2839,8 @@ var ModelProviderFlowNode = memo(function ModelProviderFlowNode2({ id, data, sel
|
|
|
2839
2839
|
] })
|
|
2840
2840
|
}
|
|
2841
2841
|
),
|
|
2842
|
-
/* @__PURE__ */ jsx(WorkflowHandle, { type: "source", position: Position.Right, id: "right-out", colorClass: "!bg-
|
|
2843
|
-
/* @__PURE__ */ jsx(WorkflowHandle, { type: "source", position: Position.Bottom, id: "bottom-out", colorClass: "!bg-
|
|
2842
|
+
/* @__PURE__ */ jsx(WorkflowHandle, { type: "source", position: Position.Right, id: "right-out", colorClass: "!bg-slate-500" }),
|
|
2843
|
+
/* @__PURE__ */ jsx(WorkflowHandle, { type: "source", position: Position.Bottom, id: "bottom-out", colorClass: "!bg-slate-500" })
|
|
2844
2844
|
] });
|
|
2845
2845
|
});
|
|
2846
2846
|
var GROUP_COLORS = {
|
|
@@ -7315,5 +7315,5 @@ function Workspace({
|
|
|
7315
7315
|
}
|
|
7316
7316
|
|
|
7317
7317
|
export { AgentFlowNode, AgentToolFlowNode, AnswerFlowNode, AnthropicIcon, CATEGORY_COLORS, CATEGORY_PILL_COLORS, CodeFlowNode, CrewAIIcon, DocumentExtractorFlowNode, EndFlowNode, EntityFlowNode, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, HttpRequestFlowNode, ICON_MAP, IfElseFlowNode, IterationFlowNode, IterationStartFlowNode, KnowledgeBaseFlowNode, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, ListOperatorFlowNode, LogicNodeModal, MINIMAP_NODE_COLORS, ModelProviderFlowNode, NodeCard, NodeContextMenu, NoteFlowNode, OpenAIIcon, PanelContextMenu, ParameterExtractorFlowNode, QuestionClassifierFlowNode, RuleFlowNode, SelectionContextMenu, StartFlowNode, StrandsIcon, TemplateTransformFlowNode, ToolFlowNode, VariableAggregatorFlowNode, VariableAssignerFlowNode, WorkflowBuilderProvider, WorkflowCanvas, Workspace, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore };
|
|
7318
|
-
//# sourceMappingURL=chunk-
|
|
7319
|
-
//# sourceMappingURL=chunk-
|
|
7318
|
+
//# sourceMappingURL=chunk-57OBMWRA.mjs.map
|
|
7319
|
+
//# sourceMappingURL=chunk-57OBMWRA.mjs.map
|