@datatechsolutions/ui 2.7.137 → 2.7.139
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/{chunk-WURM4JVE.mjs → chunk-AMUPPC66.mjs} +13 -6
- package/dist/chunk-AMUPPC66.mjs.map +1 -0
- package/dist/{chunk-6KYBGBI4.mjs → chunk-BTJP5QCD.mjs} +13 -2
- package/dist/{chunk-6KYBGBI4.mjs.map → chunk-BTJP5QCD.mjs.map} +1 -1
- package/dist/{chunk-5IE2FIWT.js → chunk-JYX3ILSA.js} +262 -120
- package/dist/chunk-JYX3ILSA.js.map +1 -0
- package/dist/{chunk-F4FMGGHO.js → chunk-ULPKAD4A.js} +13 -2
- package/dist/{chunk-F4FMGGHO.js.map → chunk-ULPKAD4A.js.map} +1 -1
- package/dist/{chunk-3OGFL5RQ.mjs → chunk-WTPYTOK4.mjs} +263 -121
- package/dist/chunk-WTPYTOK4.mjs.map +1 -0
- package/dist/{chunk-6Y3DK5EC.js → chunk-YCIUVIFN.js} +68 -61
- package/dist/chunk-YCIUVIFN.js.map +1 -0
- package/dist/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +337 -337
- package/dist/index.mjs +1 -1
- package/dist/workflow/contracts.d.mts +13 -3
- package/dist/workflow/contracts.d.ts +13 -3
- package/dist/workflow/index.js +126 -125
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/index.mjs +6 -5
- package/dist/workflow/index.mjs.map +1 -1
- package/dist/workflow/utils.js +4 -4
- package/dist/workflow/utils.mjs +1 -1
- package/dist/workflow/workflow-canvas.js +4 -4
- package/dist/workflow/workflow-canvas.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-3OGFL5RQ.mjs.map +0 -1
- package/dist/chunk-5IE2FIWT.js.map +0 -1
- package/dist/chunk-6Y3DK5EC.js.map +0 -1
- package/dist/chunk-WURM4JVE.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { EntityDrawer, ContextMenu, FormInput, FormTextarea, FormSelect, Button, Card, CardContent, IconButton, Input } from './chunk-
|
|
2
|
+
import { EntityDrawer, ContextMenu, FormInput, FormTextarea, FormSelect, Button, Card, CardContent, IconButton, Input } from './chunk-WTPYTOK4.mjs';
|
|
3
3
|
import { GraphNodeHeader, GraphNodeMeta, GraphNodeBadge, GraphNodeIconBubble } from './chunk-UBCSCLUW.mjs';
|
|
4
|
-
import { getAgentTier, createDefaultLogicNodeConfig, applyDagreLayout } from './chunk-
|
|
4
|
+
import { getAgentTier, createDefaultLogicNodeConfig, applyDagreLayout } from './chunk-BTJP5QCD.mjs';
|
|
5
5
|
import { memo, useState, useRef, useCallback, useEffect, createContext, useMemo, useContext } from 'react';
|
|
6
6
|
import { useTranslations, NextIntlClientProvider } from 'next-intl';
|
|
7
7
|
import dynamic from 'next/dynamic.js';
|
|
@@ -9,7 +9,7 @@ import { Position, NodeResizer, MarkerType, useReactFlow, getBezierPath, BaseEdg
|
|
|
9
9
|
import '@xyflow/react/dist/style.css';
|
|
10
10
|
import { create } from 'zustand';
|
|
11
11
|
import { PlusIcon, XMarkIcon } from '@heroicons/react/24/solid';
|
|
12
|
-
import { Bars2Icon, CursorArrowRaysIcon, HandRaisedIcon, MagnifyingGlassPlusIcon, MagnifyingGlassMinusIcon, ArrowsPointingInIcon, ArrowUturnLeftIcon, ArrowUturnRightIcon, MapIcon, Squares2X2Icon, ArrowsRightLeftIcon, CommandLineIcon, ExclamationTriangleIcon, CpuChipIcon, TrashIcon, WrenchScrewdriverIcon, NewspaperIcon, ChartBarIcon, CloudIcon, ScaleIcon, AdjustmentsHorizontalIcon, CircleStackIcon, PlayIcon, StopIcon, ArrowsPointingOutIcon, CodeBracketIcon, GlobeAltIcon, DocumentTextIcon, ArrowPathIcon, BookOpenIcon, ChatBubbleLeftRightIcon, QuestionMarkCircleIcon, AdjustmentsVerticalIcon, Square3Stack3DIcon, DocumentMagnifyingGlassIcon, ListBulletIcon, PlayCircleIcon, PencilSquareIcon, RectangleGroupIcon, ChevronDownIcon, ChevronUpIcon, PresentationChartBarIcon, ChartPieIcon, ChartBarSquareIcon, CurrencyDollarIcon, ShieldCheckIcon, ClipboardDocumentCheckIcon, FireIcon, ShoppingBagIcon, UsersIcon, BuildingStorefrontIcon, PencilIcon, DocumentDuplicateIcon, ClipboardDocumentIcon, ClipboardIcon, PlusIcon as PlusIcon$1, XMarkIcon as XMarkIcon$1 } from '@heroicons/react/24/outline';
|
|
12
|
+
import { Bars2Icon, CursorArrowRaysIcon, HandRaisedIcon, MagnifyingGlassPlusIcon, MagnifyingGlassMinusIcon, ArrowsPointingInIcon, ArrowUturnLeftIcon, ArrowUturnRightIcon, MapIcon, Squares2X2Icon, ArrowsRightLeftIcon, CommandLineIcon, ExclamationTriangleIcon, CpuChipIcon, TrashIcon, WrenchScrewdriverIcon, NewspaperIcon, ChartBarIcon, CloudIcon, ScaleIcon, AdjustmentsHorizontalIcon, CircleStackIcon, PlayIcon, StopIcon, ArrowsPointingOutIcon, CodeBracketIcon, GlobeAltIcon, DocumentTextIcon, ArrowPathIcon, BookOpenIcon, ChatBubbleLeftRightIcon, QuestionMarkCircleIcon, AdjustmentsVerticalIcon, Square3Stack3DIcon, DocumentMagnifyingGlassIcon, ListBulletIcon, PlayCircleIcon, PencilSquareIcon, RectangleGroupIcon, ChevronDownIcon, ChevronUpIcon, ServerStackIcon, PresentationChartBarIcon, ChartPieIcon, ChartBarSquareIcon, CurrencyDollarIcon, ShieldCheckIcon, ClipboardDocumentCheckIcon, FireIcon, ShoppingBagIcon, UsersIcon, BuildingStorefrontIcon, PencilIcon, DocumentDuplicateIcon, ClipboardDocumentIcon, ClipboardIcon, PlusIcon as PlusIcon$1, XMarkIcon as XMarkIcon$1 } from '@heroicons/react/24/outline';
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
var DEFAULT_PASTE_OFFSET = 40;
|
|
@@ -301,6 +301,7 @@ var LOGIC_NODE_GRADIENTS = {
|
|
|
301
301
|
iteration_start: "from-indigo-400 to-blue-500",
|
|
302
302
|
note: "from-yellow-400 to-amber-500",
|
|
303
303
|
entity: "from-blue-400 to-cyan-500",
|
|
304
|
+
datasource: "from-cyan-500 to-blue-600",
|
|
304
305
|
group: "from-slate-400 to-gray-500"
|
|
305
306
|
};
|
|
306
307
|
var LOGIC_NODE_BADGE_COLORS = {
|
|
@@ -322,6 +323,7 @@ var LOGIC_NODE_BADGE_COLORS = {
|
|
|
322
323
|
iteration_start: "bg-indigo-100 text-indigo-700 dark:bg-indigo-500/20 dark:text-indigo-300",
|
|
323
324
|
note: "bg-yellow-100 text-yellow-700 dark:bg-yellow-500/20 dark:text-yellow-300",
|
|
324
325
|
entity: "bg-blue-100 text-blue-700 dark:bg-blue-500/20 dark:text-blue-300",
|
|
326
|
+
datasource: "bg-cyan-100 text-cyan-700 dark:bg-cyan-500/20 dark:text-cyan-300",
|
|
325
327
|
group: "bg-slate-100 text-slate-700 dark:bg-slate-500/20 dark:text-slate-300"
|
|
326
328
|
};
|
|
327
329
|
var LOGIC_NODE_BADGE_SOFT_COLORS = {
|
|
@@ -343,6 +345,7 @@ var LOGIC_NODE_BADGE_SOFT_COLORS = {
|
|
|
343
345
|
iteration_start: "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/20 dark:text-indigo-400",
|
|
344
346
|
note: "bg-yellow-50 text-yellow-600 dark:bg-yellow-500/20 dark:text-yellow-400",
|
|
345
347
|
entity: "bg-blue-50 text-blue-600 dark:bg-blue-500/20 dark:text-blue-400",
|
|
348
|
+
datasource: "bg-cyan-50 text-cyan-600 dark:bg-cyan-500/20 dark:text-cyan-400",
|
|
346
349
|
group: "bg-slate-50 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400"
|
|
347
350
|
};
|
|
348
351
|
var LOGIC_ICON_MAP = {
|
|
@@ -364,6 +367,7 @@ var LOGIC_ICON_MAP = {
|
|
|
364
367
|
iteration_start: PlayCircleIcon,
|
|
365
368
|
note: PencilSquareIcon,
|
|
366
369
|
entity: CircleStackIcon,
|
|
370
|
+
datasource: ServerStackIcon,
|
|
367
371
|
group: RectangleGroupIcon
|
|
368
372
|
};
|
|
369
373
|
var NODE_SELECTED_CLASS = "node-card-selected";
|
|
@@ -390,7 +394,8 @@ var NODE_BORDER_COLORS = {
|
|
|
390
394
|
variable_aggregator: "border-violet-300/50 dark:border-violet-600/50",
|
|
391
395
|
document_extractor: "border-rose-300/50 dark:border-rose-600/50",
|
|
392
396
|
list_operator: "border-lime-300/50 dark:border-lime-600/50",
|
|
393
|
-
note: "border-gray-200/50 dark:border-gray-700/50"
|
|
397
|
+
note: "border-gray-200/50 dark:border-gray-700/50",
|
|
398
|
+
datasource: "border-cyan-300/50 dark:border-cyan-600/50"
|
|
394
399
|
};
|
|
395
400
|
function getNodeStateClass(selected, nodeType, customBorder) {
|
|
396
401
|
if (selected) return NODE_SELECTED_CLASS;
|
|
@@ -420,6 +425,7 @@ var MINIMAP_NODE_COLORS = {
|
|
|
420
425
|
iteration_start: "#6366f1",
|
|
421
426
|
note: "#eab308",
|
|
422
427
|
entity: "#3b82f6",
|
|
428
|
+
datasource: "#06b6d4",
|
|
423
429
|
group: "#64748b"
|
|
424
430
|
};
|
|
425
431
|
var LOGIC_NODE_HANDLE_COLORS = {
|
|
@@ -441,6 +447,7 @@ var LOGIC_NODE_HANDLE_COLORS = {
|
|
|
441
447
|
iteration_start: "!bg-indigo-500",
|
|
442
448
|
note: "!bg-yellow-500",
|
|
443
449
|
entity: "!bg-blue-500",
|
|
450
|
+
datasource: "!bg-cyan-500",
|
|
444
451
|
group: "!bg-slate-500"
|
|
445
452
|
};
|
|
446
453
|
var INSERTABLE_NODES = [
|
|
@@ -6761,5 +6768,5 @@ function Workspace({
|
|
|
6761
6768
|
}
|
|
6762
6769
|
|
|
6763
6770
|
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, LogicNodeDrawer, MINIMAP_NODE_COLORS, NodeCard, NodeContextMenu, NoteFlowNode, OpenAIIcon, PanelContextMenu, ParameterExtractorFlowNode, QuestionClassifierFlowNode, RuleFlowNode, SelectionContextMenu, StartFlowNode, StrandsIcon, TemplateTransformFlowNode, ToolFlowNode, VariableAggregatorFlowNode, VariableAssignerFlowNode, WorkflowBuilderProvider, WorkflowCanvas, Workspace, WorkspaceDrawer, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, isModelCompatibleWithFramework, useDrawerStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore };
|
|
6764
|
-
//# sourceMappingURL=chunk-
|
|
6765
|
-
//# sourceMappingURL=chunk-
|
|
6771
|
+
//# sourceMappingURL=chunk-AMUPPC66.mjs.map
|
|
6772
|
+
//# sourceMappingURL=chunk-AMUPPC66.mjs.map
|