@datatechsolutions/ui 2.11.15 → 2.11.16

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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkWB5CWGXD_js = require('../chunk-WB5CWGXD.js');
4
+ var chunk2JK7GQYA_js = require('../chunk-2JK7GQYA.js');
5
5
  require('../chunk-4XID6LOC.js');
6
6
  require('../chunk-S7KHTUHA.js');
7
7
  require('../chunk-UZ3CMNUJ.js');
@@ -13,7 +13,7 @@ require('../chunk-YXN2K77G.js');
13
13
 
14
14
  Object.defineProperty(exports, "Workspace", {
15
15
  enumerable: true,
16
- get: function () { return chunkWB5CWGXD_js.Workspace; }
16
+ get: function () { return chunk2JK7GQYA_js.Workspace; }
17
17
  });
18
18
  //# sourceMappingURL=workflow-canvas.js.map
19
19
  //# sourceMappingURL=workflow-canvas.js.map
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { Workspace } from '../chunk-NTXIFTIQ.mjs';
2
+ export { Workspace } from '../chunk-4B47R7VI.mjs';
3
3
  import '../chunk-46ZM5VJJ.mjs';
4
4
  import '../chunk-QWG2FMUN.mjs';
5
5
  import '../chunk-D2JF6C3E.mjs';
@@ -2767,6 +2767,14 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
2767
2767
  /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "source", position: react$1.Position.Right, id: "right-out", colorClass: "!bg-cyan-400" })
2768
2768
  ] });
2769
2769
  });
2770
+ var SI = (slug, color) => `https://cdn.simpleicons.org/${slug}/${color}`;
2771
+ var PROVIDER_LOGOS = {
2772
+ aws_bedrock: "https://www.svgrepo.com/show/448266/aws.svg",
2773
+ openai_api: "https://www.svgrepo.com/show/306500/openai.svg",
2774
+ google_vertex: SI("googlegemini", "8E75B2"),
2775
+ azure_openai: SI("microsoftazure", "0078D4"),
2776
+ anthropic_api: SI("anthropic", "D4A27F")
2777
+ };
2770
2778
  var PROVIDER_TYPE_LABELS = {
2771
2779
  aws_bedrock: "AWS Bedrock",
2772
2780
  openai_api: "OpenAI API",
@@ -2800,6 +2808,7 @@ var ModelProviderFlowNode = react.memo(function ModelProviderFlowNode2({ id, dat
2800
2808
  const displayName = config.name || providerLabel;
2801
2809
  const regionLabel = config.region ? config.region : void 0;
2802
2810
  const isConfigured = !!(config.credentialRef || config.apiKeyRef);
2811
+ const logo = PROVIDER_LOGOS[config.providerType];
2803
2812
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2804
2813
  /* @__PURE__ */ jsxRuntime.jsx(NodeRunningIndicator, { nodeId: id }),
2805
2814
  /* @__PURE__ */ jsxRuntime.jsx(WorkflowHandle, { type: "target", position: react$1.Position.Left, id: "left-in", colorClass: "!bg-gray-400 dark:!bg-gray-500" }),
@@ -2814,10 +2823,10 @@ var ModelProviderFlowNode = react.memo(function ModelProviderFlowNode2({ id, dat
2814
2823
  /* @__PURE__ */ jsxRuntime.jsx(
2815
2824
  NodeCardHeader,
2816
2825
  {
2817
- icon: /* @__PURE__ */ jsxRuntime.jsx(outline.KeyIcon, { className: "h-6 w-6 text-white" }),
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" }),
2818
2827
  title: displayName,
2819
2828
  description: providerLabel,
2820
- iconClassName: "flex h-11 w-11 items-center justify-center rounded-xl bg-gradient-to-br from-rose-500 to-pink-600 shadow-lg"
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"
2821
2830
  }
2822
2831
  ),
2823
2832
  /* @__PURE__ */ jsxRuntime.jsx(NodeCardMeta, { compact: isCompact, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
@@ -7367,5 +7376,5 @@ exports.useModalStore = useModalStore;
7367
7376
  exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
7368
7377
  exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
7369
7378
  exports.useWorkflowStore = useWorkflowStore;
7370
- //# sourceMappingURL=chunk-WB5CWGXD.js.map
7371
- //# sourceMappingURL=chunk-WB5CWGXD.js.map
7379
+ //# sourceMappingURL=chunk-2JK7GQYA.js.map
7380
+ //# sourceMappingURL=chunk-2JK7GQYA.js.map