@datatechsolutions/ui 2.11.59 → 2.11.60
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 +132 -132
- package/dist/astrlabe/index.mjs +4 -4
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/{chunk-GA72TPLH.js → chunk-7ZC6KI76.js} +175 -3
- package/dist/chunk-7ZC6KI76.js.map +1 -0
- package/dist/{chunk-XWORZXP2.mjs → chunk-H2IJAN2P.mjs} +4 -4
- package/dist/{chunk-XWORZXP2.mjs.map → chunk-H2IJAN2P.mjs.map} +1 -1
- package/dist/{chunk-ZXDCFAFG.js → chunk-TNBDGTUG.js} +54 -54
- package/dist/{chunk-ZXDCFAFG.js.map → chunk-TNBDGTUG.js.map} +1 -1
- package/dist/{chunk-F4TRCO3M.mjs → chunk-VM24LJCV.mjs} +175 -4
- package/dist/chunk-VM24LJCV.mjs.map +1 -0
- package/dist/index.d.mts +62 -1
- package/dist/index.d.ts +62 -1
- package/dist/index.js +743 -739
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-F4TRCO3M.mjs.map +0 -1
- package/dist/chunk-GA72TPLH.js.map +0 -1
package/dist/astrlabe/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import '../chunk-JB6RNAD2.mjs';
|
|
3
3
|
export { topologicalSortAgents, validateGraphNodeConfigs, validateNodeConfig, validateWorkflowGraph } from '../chunk-53SRKVKQ.mjs';
|
|
4
|
-
import { Workspace, useModalStore, CATEGORY_COLORS, CATEGORY_PILL_COLORS, ICON_MAP, WorkflowCanvas, getEntityIcon, getEntityGradient, useWorkflowStore, LOGIC_ICON_MAP, LOGIC_NODE_GRADIENTS, getFrameworkMeta, getCompatibleModels, isModelCompatibleWithFramework, FRAMEWORK_META, isFrameworkCompatibleWithProviders } from '../chunk-
|
|
5
|
-
export { AgentFlowNode, AgentToolFlowNode, AnswerFlowNode, AnthropicIcon, CodeFlowNode, CrewAIIcon, DocumentExtractorFlowNode, EndFlowNode, EntityFlowNode, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, HttpRequestFlowNode, 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, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NoteFlowNode, OpenAIIcon, PanelContextMenu, ParameterExtractorFlowNode, QuestionClassifierFlowNode, RuleFlowNode, SelectionContextMenu, StartFlowNode, StrandsIcon, TemplateTransformFlowNode, ToolFlowNode, VariableAggregatorFlowNode, VariableAssignerFlowNode, WorkflowBuilderProvider, Workspace, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, getNodeExecutionAccent, getNodeExecutionAccentRgb, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore } from '../chunk-
|
|
6
|
-
import { GlassModal, Button, FormInput, FormTextarea, ToggleSwitch, Input, DynamicIslandConfirm } from '../chunk-
|
|
4
|
+
import { Workspace, useModalStore, CATEGORY_COLORS, CATEGORY_PILL_COLORS, ICON_MAP, WorkflowCanvas, getEntityIcon, getEntityGradient, useWorkflowStore, LOGIC_ICON_MAP, LOGIC_NODE_GRADIENTS, getFrameworkMeta, getCompatibleModels, isModelCompatibleWithFramework, FRAMEWORK_META, isFrameworkCompatibleWithProviders } from '../chunk-H2IJAN2P.mjs';
|
|
5
|
+
export { AgentFlowNode, AgentToolFlowNode, AnswerFlowNode, AnthropicIcon, CodeFlowNode, CrewAIIcon, DocumentExtractorFlowNode, EndFlowNode, EntityFlowNode, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, HttpRequestFlowNode, 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, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NoteFlowNode, OpenAIIcon, PanelContextMenu, ParameterExtractorFlowNode, QuestionClassifierFlowNode, RuleFlowNode, SelectionContextMenu, StartFlowNode, StrandsIcon, TemplateTransformFlowNode, ToolFlowNode, VariableAggregatorFlowNode, VariableAssignerFlowNode, WorkflowBuilderProvider, Workspace, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, getNodeExecutionAccent, getNodeExecutionAccentRgb, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore } from '../chunk-H2IJAN2P.mjs';
|
|
6
|
+
import { GlassModal, Button, FormInput, FormTextarea, ToggleSwitch, Input, DynamicIslandConfirm } from '../chunk-VM24LJCV.mjs';
|
|
7
|
+
import { useTranslations } from '../chunk-7VJ7CMMT.mjs';
|
|
7
8
|
import '../chunk-QWG2FMUN.mjs';
|
|
8
9
|
import '../chunk-D2JF6C3E.mjs';
|
|
9
10
|
export { GraphNodeBadge, GraphNodeHeader, GraphNodeIconBubble, GraphNodeMeta } from '../chunk-OZNTQROP.mjs';
|
|
10
11
|
import { getAgentTier, createDefaultLogicNodeConfig } from '../chunk-WNCPAWLC.mjs';
|
|
11
12
|
export { applyDagreLayout, createDefaultLogicNodeConfig, getAgentTier } from '../chunk-WNCPAWLC.mjs';
|
|
12
|
-
import { useTranslations } from '../chunk-7VJ7CMMT.mjs';
|
|
13
13
|
import { memo, useCallback, useState, useEffect, useMemo, useRef, Children } from 'react';
|
|
14
14
|
import { UserCircleIcon, Cog6ToothIcon, SparklesIcon, CommandLineIcon, KeyIcon, PlayCircleIcon, CpuChipIcon, ArrowPathRoundedSquareIcon, ArrowsPointingOutIcon, ArrowsPointingInIcon, BoltIcon, ClockIcon, CheckIcon, AdjustmentsHorizontalIcon, CircleStackIcon, TrashIcon, PlusIcon, XMarkIcon, EyeIcon, ArrowPathIcon, PlayIcon, StopIcon, XCircleIcon, CheckCircleIcon, VariableIcon, ChevronDownIcon, ChevronRightIcon, ExclamationCircleIcon, ClipboardDocumentIcon, ArrowDownTrayIcon, ArrowUpTrayIcon, ExclamationTriangleIcon } from '@heroicons/react/24/outline';
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkTNBDGTUG_js = require('../chunk-TNBDGTUG.js');
|
|
5
|
+
require('../chunk-7ZC6KI76.js');
|
|
6
|
+
require('../chunk-YXN2K77G.js');
|
|
6
7
|
require('../chunk-S7KHTUHA.js');
|
|
7
8
|
require('../chunk-UZ3CMNUJ.js');
|
|
8
9
|
require('../chunk-P4YYEM4B.js');
|
|
9
10
|
require('../chunk-C7BI5LQ6.js');
|
|
10
|
-
require('../chunk-YXN2K77G.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "Workspace", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkTNBDGTUG_js.Workspace; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
19
19
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { Workspace } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { Workspace } from '../chunk-H2IJAN2P.mjs';
|
|
3
|
+
import '../chunk-VM24LJCV.mjs';
|
|
4
|
+
import '../chunk-7VJ7CMMT.mjs';
|
|
4
5
|
import '../chunk-QWG2FMUN.mjs';
|
|
5
6
|
import '../chunk-D2JF6C3E.mjs';
|
|
6
7
|
import '../chunk-OZNTQROP.mjs';
|
|
7
8
|
import '../chunk-WNCPAWLC.mjs';
|
|
8
|
-
import '../chunk-7VJ7CMMT.mjs';
|
|
9
9
|
//# sourceMappingURL=workflow-canvas.mjs.map
|
|
10
10
|
//# sourceMappingURL=workflow-canvas.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
+
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
4
5
|
var chunkS7KHTUHA_js = require('./chunk-S7KHTUHA.js');
|
|
5
6
|
var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
|
|
6
|
-
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
7
7
|
var Headless6 = require('@headlessui/react');
|
|
8
8
|
var clsx = require('clsx');
|
|
9
9
|
var React12 = require('react');
|
|
@@ -14148,6 +14148,177 @@ function IncidentPipelineDemo({
|
|
|
14148
14148
|
] })
|
|
14149
14149
|
] }) });
|
|
14150
14150
|
}
|
|
14151
|
+
function IconTile({ icon: Icon, gradient, size = "md" }) {
|
|
14152
|
+
const wrapper = size === "md" ? "h-12 w-12" : "h-10 w-10";
|
|
14153
|
+
const icon = size === "md" ? "h-6 w-6" : "h-5 w-5";
|
|
14154
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${wrapper} rounded-xl bg-gradient-to-br ${gradient} flex items-center justify-center`, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: `${icon} text-white` }) });
|
|
14155
|
+
}
|
|
14156
|
+
function BentoFeatureGrid({
|
|
14157
|
+
aiPanel,
|
|
14158
|
+
metricsPanel,
|
|
14159
|
+
securityPanel,
|
|
14160
|
+
agentsPanel,
|
|
14161
|
+
className
|
|
14162
|
+
}) {
|
|
14163
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `w-full min-h-screen h-full flex items-center justify-center p-4 md:p-6 lg:p-8 ${className ?? ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full max-w-7xl", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 lg:grid-cols-3 lg:grid-rows-2 h-full min-h-[600px] lg:min-h-[700px]", children: [
|
|
14164
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14165
|
+
framerMotion.motion.div,
|
|
14166
|
+
{
|
|
14167
|
+
initial: { opacity: 0, y: 20 },
|
|
14168
|
+
animate: { opacity: 1, y: 0 },
|
|
14169
|
+
transition: { duration: 0.6, delay: 0.1 },
|
|
14170
|
+
className: "relative lg:row-span-2",
|
|
14171
|
+
children: [
|
|
14172
|
+
aiPanel.bgTint && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `absolute inset-px rounded-2xl bg-gradient-to-br ${aiPanel.bgTint}` }),
|
|
14173
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `relative flex h-full flex-col overflow-hidden rounded-2xl border ${aiPanel.borderColor ?? "border-gray-200 dark:border-gray-800"} bg-white/50 dark:bg-zinc-900/50 backdrop-blur-sm`, children: [
|
|
14174
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 pt-6 pb-4", children: [
|
|
14175
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 mb-3", children: [
|
|
14176
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconTile, { icon: aiPanel.icon, gradient: aiPanel.gradient, size: "md" }),
|
|
14177
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-lg font-bold text-gray-900 dark:text-white", children: aiPanel.title })
|
|
14178
|
+
] }),
|
|
14179
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: aiPanel.description })
|
|
14180
|
+
] }),
|
|
14181
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative min-h-[200px] w-full grow p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: aiPanel.items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14182
|
+
framerMotion.motion.div,
|
|
14183
|
+
{
|
|
14184
|
+
initial: { opacity: 0, x: -20 },
|
|
14185
|
+
animate: { opacity: 1, x: 0 },
|
|
14186
|
+
transition: { delay: 0.3 + index * 0.2 },
|
|
14187
|
+
className: `flex items-center gap-3 p-3 rounded-xl ${item.bgTint}`,
|
|
14188
|
+
children: [
|
|
14189
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-2 w-2 rounded-full animate-pulse ${item.dotColor}` }),
|
|
14190
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: `text-xs font-medium ${item.textColor}`, children: item.label })
|
|
14191
|
+
]
|
|
14192
|
+
},
|
|
14193
|
+
`${item.label}-${index}`
|
|
14194
|
+
)) }) })
|
|
14195
|
+
] }),
|
|
14196
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-px rounded-2xl shadow-sm" })
|
|
14197
|
+
]
|
|
14198
|
+
}
|
|
14199
|
+
),
|
|
14200
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14201
|
+
framerMotion.motion.div,
|
|
14202
|
+
{
|
|
14203
|
+
initial: { opacity: 0, y: 20 },
|
|
14204
|
+
animate: { opacity: 1, y: 0 },
|
|
14205
|
+
transition: { duration: 0.6, delay: 0.2 },
|
|
14206
|
+
className: "relative max-lg:row-start-1",
|
|
14207
|
+
children: [
|
|
14208
|
+
metricsPanel.bgTint && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `absolute inset-px rounded-2xl bg-gradient-to-br ${metricsPanel.bgTint}` }),
|
|
14209
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `relative flex h-full flex-col overflow-hidden rounded-2xl border ${metricsPanel.borderColor ?? "border-gray-200 dark:border-gray-800"} bg-white/50 dark:bg-zinc-900/50 backdrop-blur-sm`, children: [
|
|
14210
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 pt-6 pb-4", children: [
|
|
14211
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 mb-3", children: [
|
|
14212
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconTile, { icon: metricsPanel.icon, gradient: metricsPanel.gradient, size: "sm" }),
|
|
14213
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base font-bold text-gray-900 dark:text-white", children: metricsPanel.title })
|
|
14214
|
+
] }),
|
|
14215
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-gray-600 dark:text-gray-400", children: metricsPanel.description })
|
|
14216
|
+
] }),
|
|
14217
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-1 items-center justify-center px-6 pb-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3 w-full", children: metricsPanel.metrics.map((metric, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14218
|
+
framerMotion.motion.div,
|
|
14219
|
+
{
|
|
14220
|
+
initial: { scale: 0 },
|
|
14221
|
+
animate: { scale: 1 },
|
|
14222
|
+
transition: { delay: 0.5 + index * 0.1 },
|
|
14223
|
+
className: `${metric.bgTint} rounded-xl p-3 text-center`,
|
|
14224
|
+
children: [
|
|
14225
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-2xl font-bold ${metric.valueColor}`, children: metric.value }),
|
|
14226
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[10px] text-gray-600 dark:text-gray-400", children: metric.label })
|
|
14227
|
+
]
|
|
14228
|
+
},
|
|
14229
|
+
`${metric.label}-${index}`
|
|
14230
|
+
)) }) })
|
|
14231
|
+
] }),
|
|
14232
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-px rounded-2xl shadow-sm" })
|
|
14233
|
+
]
|
|
14234
|
+
}
|
|
14235
|
+
),
|
|
14236
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14237
|
+
framerMotion.motion.div,
|
|
14238
|
+
{
|
|
14239
|
+
initial: { opacity: 0, y: 20 },
|
|
14240
|
+
animate: { opacity: 1, y: 0 },
|
|
14241
|
+
transition: { duration: 0.6, delay: 0.3 },
|
|
14242
|
+
className: "relative max-lg:row-start-3 lg:col-start-2 lg:row-start-2",
|
|
14243
|
+
children: [
|
|
14244
|
+
securityPanel.bgTint && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `absolute inset-px rounded-2xl bg-gradient-to-br ${securityPanel.bgTint}` }),
|
|
14245
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `relative flex h-full flex-col overflow-hidden rounded-2xl border ${securityPanel.borderColor ?? "border-gray-200 dark:border-gray-800"} bg-white/50 dark:bg-zinc-900/50 backdrop-blur-sm`, children: [
|
|
14246
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 pt-6 pb-4", children: [
|
|
14247
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 mb-3", children: [
|
|
14248
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconTile, { icon: securityPanel.icon, gradient: securityPanel.gradient, size: "sm" }),
|
|
14249
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base font-bold text-gray-900 dark:text-white", children: securityPanel.title })
|
|
14250
|
+
] }),
|
|
14251
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-gray-600 dark:text-gray-400", children: securityPanel.description })
|
|
14252
|
+
] }),
|
|
14253
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-1 items-center px-6 pb-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full space-y-2", children: securityPanel.bars.map((bar, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
14254
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-1.5 flex-1 rounded-full overflow-hidden ${bar.trackColor}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14255
|
+
framerMotion.motion.div,
|
|
14256
|
+
{
|
|
14257
|
+
initial: { width: 0 },
|
|
14258
|
+
animate: { width: "100%" },
|
|
14259
|
+
transition: { delay: 0.7 + index * 0.2, duration: 1 },
|
|
14260
|
+
className: `h-full ${bar.fillColor}`
|
|
14261
|
+
}
|
|
14262
|
+
) }),
|
|
14263
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: `text-[10px] font-medium ${bar.labelColor}`, children: bar.label })
|
|
14264
|
+
] }, `${bar.label}-${index}`)) }) })
|
|
14265
|
+
] }),
|
|
14266
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-px rounded-2xl shadow-sm" })
|
|
14267
|
+
]
|
|
14268
|
+
}
|
|
14269
|
+
),
|
|
14270
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14271
|
+
framerMotion.motion.div,
|
|
14272
|
+
{
|
|
14273
|
+
initial: { opacity: 0, y: 20 },
|
|
14274
|
+
animate: { opacity: 1, y: 0 },
|
|
14275
|
+
transition: { duration: 0.6, delay: 0.4 },
|
|
14276
|
+
className: "relative lg:row-span-2",
|
|
14277
|
+
children: [
|
|
14278
|
+
agentsPanel.bgTint && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `absolute inset-px rounded-2xl bg-gradient-to-br ${agentsPanel.bgTint}` }),
|
|
14279
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `relative flex h-full flex-col overflow-hidden rounded-2xl border ${agentsPanel.borderColor ?? "border-gray-200 dark:border-gray-800"} bg-white/50 dark:bg-zinc-900/50 backdrop-blur-sm`, children: [
|
|
14280
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 pt-6 pb-4", children: [
|
|
14281
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 mb-3", children: [
|
|
14282
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconTile, { icon: agentsPanel.icon, gradient: agentsPanel.gradient, size: "md" }),
|
|
14283
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-lg font-bold text-gray-900 dark:text-white", children: agentsPanel.title })
|
|
14284
|
+
] }),
|
|
14285
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: agentsPanel.description })
|
|
14286
|
+
] }),
|
|
14287
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full grow p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3", children: agentsPanel.agents.map((agent, index) => {
|
|
14288
|
+
const delay = 0.5 + index * 0.1;
|
|
14289
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14290
|
+
framerMotion.motion.div,
|
|
14291
|
+
{
|
|
14292
|
+
initial: { opacity: 0, scale: 0.8 },
|
|
14293
|
+
animate: { opacity: 1, scale: 1 },
|
|
14294
|
+
transition: { delay },
|
|
14295
|
+
className: `relative overflow-hidden rounded-xl bg-gradient-to-br ${agent.color} p-3 text-white`,
|
|
14296
|
+
children: [
|
|
14297
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10", children: [
|
|
14298
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-bold", children: agent.name }),
|
|
14299
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1 h-1 w-12 bg-white/30 rounded-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14300
|
+
framerMotion.motion.div,
|
|
14301
|
+
{
|
|
14302
|
+
initial: { width: 0 },
|
|
14303
|
+
animate: { width: "100%" },
|
|
14304
|
+
transition: { delay: delay + 0.3, duration: 0.8 },
|
|
14305
|
+
className: "h-full bg-white rounded-full"
|
|
14306
|
+
}
|
|
14307
|
+
) })
|
|
14308
|
+
] }),
|
|
14309
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 right-0 w-16 h-16 bg-white/10 rounded-full -mr-8 -mt-8" })
|
|
14310
|
+
]
|
|
14311
|
+
},
|
|
14312
|
+
agent.name
|
|
14313
|
+
);
|
|
14314
|
+
}) }) })
|
|
14315
|
+
] }),
|
|
14316
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-px rounded-2xl shadow-sm" })
|
|
14317
|
+
]
|
|
14318
|
+
}
|
|
14319
|
+
)
|
|
14320
|
+
] }) }) });
|
|
14321
|
+
}
|
|
14151
14322
|
function EntityDrawer({
|
|
14152
14323
|
open,
|
|
14153
14324
|
onClose,
|
|
@@ -21394,6 +21565,7 @@ exports.BadRequestPage = BadRequestPage;
|
|
|
21394
21565
|
exports.Badge = Badge;
|
|
21395
21566
|
exports.BaseForm = BaseForm;
|
|
21396
21567
|
exports.BentoCard = BentoCard;
|
|
21568
|
+
exports.BentoFeatureGrid = BentoFeatureGrid;
|
|
21397
21569
|
exports.BooleanFlagsPicker = BooleanFlagsPicker;
|
|
21398
21570
|
exports.BottomSafeArea = BottomSafeArea;
|
|
21399
21571
|
exports.BrandFilterSkeleton = BrandFilterSkeleton;
|
|
@@ -22073,5 +22245,5 @@ exports.usePullToRefresh = usePullToRefresh;
|
|
|
22073
22245
|
exports.validateDashboardSpec = validateDashboardSpec;
|
|
22074
22246
|
exports.xScale = xScale;
|
|
22075
22247
|
exports.yScale = yScale;
|
|
22076
|
-
//# sourceMappingURL=chunk-
|
|
22077
|
-
//# sourceMappingURL=chunk-
|
|
22248
|
+
//# sourceMappingURL=chunk-7ZC6KI76.js.map
|
|
22249
|
+
//# sourceMappingURL=chunk-7ZC6KI76.js.map
|