@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.
@@ -340,7 +340,7 @@ var LOGIC_NODE_GRADIENTS = {
340
340
  note: "from-yellow-400 to-amber-500",
341
341
  entity: "from-blue-400 to-cyan-500",
342
342
  datasource: "from-cyan-500 to-blue-600",
343
- model_provider: "from-rose-500 to-pink-600",
343
+ model_provider: "from-slate-500 to-gray-600",
344
344
  group: "from-slate-400 to-gray-500"
345
345
  };
346
346
  var LOGIC_NODE_BADGE_COLORS = {
@@ -363,7 +363,7 @@ var LOGIC_NODE_BADGE_COLORS = {
363
363
  note: "bg-yellow-100 text-yellow-700 dark:bg-yellow-500/20 dark:text-yellow-300",
364
364
  entity: "bg-blue-100 text-blue-700 dark:bg-blue-500/20 dark:text-blue-300",
365
365
  datasource: "bg-cyan-100 text-cyan-700 dark:bg-cyan-500/20 dark:text-cyan-300",
366
- model_provider: "bg-rose-100 text-rose-700 dark:bg-rose-500/20 dark:text-rose-300",
366
+ model_provider: "bg-slate-100 text-slate-700 dark:bg-slate-500/20 dark:text-slate-300",
367
367
  group: "bg-slate-100 text-slate-700 dark:bg-slate-500/20 dark:text-slate-300"
368
368
  };
369
369
  var LOGIC_NODE_BADGE_SOFT_COLORS = {
@@ -386,7 +386,7 @@ var LOGIC_NODE_BADGE_SOFT_COLORS = {
386
386
  note: "bg-yellow-50 text-yellow-600 dark:bg-yellow-500/20 dark:text-yellow-400",
387
387
  entity: "bg-blue-50 text-blue-600 dark:bg-blue-500/20 dark:text-blue-400",
388
388
  datasource: "bg-cyan-50 text-cyan-600 dark:bg-cyan-500/20 dark:text-cyan-400",
389
- model_provider: "bg-rose-50 text-rose-600 dark:bg-rose-500/20 dark:text-rose-400",
389
+ model_provider: "bg-slate-50 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400",
390
390
  group: "bg-slate-50 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400"
391
391
  };
392
392
  var LOGIC_ICON_MAP = {
@@ -438,7 +438,7 @@ var NODE_BORDER_COLORS = {
438
438
  list_operator: "border-lime-300/50 dark:border-lime-600/50",
439
439
  note: "border-gray-200/50 dark:border-gray-700/50",
440
440
  datasource: "border-cyan-300/50 dark:border-cyan-600/50",
441
- model_provider: "border-rose-300/50 dark:border-rose-600/50"
441
+ model_provider: "border-slate-300/50 dark:border-slate-600/50"
442
442
  };
443
443
  function getNodeStateClass(selected, nodeType, customBorder) {
444
444
  if (selected) return NODE_SELECTED_CLASS;
@@ -469,7 +469,7 @@ var MINIMAP_NODE_COLORS = {
469
469
  note: "#eab308",
470
470
  entity: "#3b82f6",
471
471
  datasource: "#06b6d4",
472
- model_provider: "#f43f5e",
472
+ model_provider: "#64748b",
473
473
  group: "#64748b"
474
474
  };
475
475
  var LOGIC_NODE_HANDLE_COLORS = {
@@ -492,7 +492,7 @@ var LOGIC_NODE_HANDLE_COLORS = {
492
492
  note: "!bg-yellow-500",
493
493
  entity: "!bg-blue-500",
494
494
  datasource: "!bg-cyan-500",
495
- model_provider: "!bg-rose-500",
495
+ model_provider: "!bg-slate-500",
496
496
  group: "!bg-slate-500"
497
497
  };
498
498
  var INSERTABLE_NODES = [
@@ -2800,8 +2800,8 @@ var ModelProviderFlowNode = react.memo(function ModelProviderFlowNode2({ id, dat
2800
2800
  iconClassName: "flex h-11 w-11 items-center justify-center rounded-xl bg-gradient-to-br from-amber-400 to-orange-500 shadow-lg"
2801
2801
  }
2802
2802
  ) }),
2803
- /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "source", position: react$1.Position.Right, id: "right-out", colorClass: "!bg-rose-500" }),
2804
- /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "source", position: react$1.Position.Bottom, id: "bottom-out", colorClass: "!bg-rose-500" })
2803
+ /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "source", position: react$1.Position.Right, id: "right-out", colorClass: "!bg-slate-500" }),
2804
+ /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "source", position: react$1.Position.Bottom, id: "bottom-out", colorClass: "!bg-slate-500" })
2805
2805
  ] });
2806
2806
  }
2807
2807
  const providerLabel = PROVIDER_TYPE_LABELS[config.providerType] ?? config.providerType;
@@ -2826,11 +2826,11 @@ var ModelProviderFlowNode = react.memo(function ModelProviderFlowNode2({ id, dat
2826
2826
  icon: logo ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: logo, alt: providerLabel, className: "h-6 w-6 object-contain", loading: "lazy" }) : /* @__PURE__ */ jsxRuntime.jsx(outline.KeyIcon, { className: "h-6 w-6 text-white" }),
2827
2827
  title: displayName,
2828
2828
  description: providerLabel,
2829
- iconClassName: "flex h-11 w-11 items-center justify-center rounded-xl bg-gradient-to-br from-rose-500 to-pink-600 shadow-lg p-1.5"
2829
+ 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"}`
2830
2830
  }
2831
2831
  ),
2832
2832
  /* @__PURE__ */ jsxRuntime.jsx(NodeCardMeta, { compact: isCompact, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
2833
- /* @__PURE__ */ jsxRuntime.jsx(NodeCardBadge, { className: "rounded-full bg-rose-100 px-2 py-0.5 text-[10px] font-semibold text-rose-700 dark:bg-rose-500/20 dark:text-rose-300", children: providerLabel }),
2833
+ /* @__PURE__ */ jsxRuntime.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 }),
2834
2834
  regionLabel && /* @__PURE__ */ jsxRuntime.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 }),
2835
2835
  /* @__PURE__ */ jsxRuntime.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" }),
2836
2836
  config.modelFilter && config.modelFilter.length > 0 && /* @__PURE__ */ jsxRuntime.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: [
@@ -2841,8 +2841,8 @@ var ModelProviderFlowNode = react.memo(function ModelProviderFlowNode2({ id, dat
2841
2841
  ] })
2842
2842
  }
2843
2843
  ),
2844
- /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "source", position: react$1.Position.Right, id: "right-out", colorClass: "!bg-rose-500" }),
2845
- /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "source", position: react$1.Position.Bottom, id: "bottom-out", colorClass: "!bg-rose-500" })
2844
+ /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "source", position: react$1.Position.Right, id: "right-out", colorClass: "!bg-slate-500" }),
2845
+ /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "source", position: react$1.Position.Bottom, id: "bottom-out", colorClass: "!bg-slate-500" })
2846
2846
  ] });
2847
2847
  });
2848
2848
  var GROUP_COLORS = {
@@ -7376,5 +7376,5 @@ exports.useModalStore = useModalStore;
7376
7376
  exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
7377
7377
  exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
7378
7378
  exports.useWorkflowStore = useWorkflowStore;
7379
- //# sourceMappingURL=chunk-2JK7GQYA.js.map
7380
- //# sourceMappingURL=chunk-2JK7GQYA.js.map
7379
+ //# sourceMappingURL=chunk-PNN6KWXQ.js.map
7380
+ //# sourceMappingURL=chunk-PNN6KWXQ.js.map