@datatechsolutions/ui 2.11.67 → 2.11.69
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 +150 -150
- package/dist/astrlabe/index.mjs +6 -6
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/{chunk-5WHGDFAG.mjs → chunk-DPG4R7EB.mjs} +37 -34
- package/dist/chunk-DPG4R7EB.mjs.map +1 -0
- package/dist/{chunk-UQJBX6NR.js → chunk-P6Y24524.js} +64 -64
- package/dist/{chunk-UQJBX6NR.js.map → chunk-P6Y24524.js.map} +1 -1
- package/dist/{chunk-MEVJ3F5S.mjs → chunk-U5EZP7FI.mjs} +3 -3
- package/dist/{chunk-MEVJ3F5S.mjs.map → chunk-U5EZP7FI.mjs.map} +1 -1
- package/dist/{chunk-WMATNSF6.js → chunk-WBYNJTQN.js} +37 -34
- package/dist/chunk-WBYNJTQN.js.map +1 -0
- package/dist/index.js +753 -753
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-5WHGDFAG.mjs.map +0 -1
- package/dist/chunk-WMATNSF6.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
|
|
5
4
|
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
6
5
|
var chunkS7KHTUHA_js = require('./chunk-S7KHTUHA.js');
|
|
6
|
+
var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
|
|
7
7
|
var Headless6 = require('@headlessui/react');
|
|
8
8
|
var clsx = require('clsx');
|
|
9
9
|
var React12 = require('react');
|
|
@@ -16538,7 +16538,8 @@ function DepartmentWorkflowDemo({
|
|
|
16538
16538
|
};
|
|
16539
16539
|
}, [autoPlay, handleRun]);
|
|
16540
16540
|
const currentStepLabel = stepIndex >= 0 ? steps[stepIndex]?.label : "Ready to run";
|
|
16541
|
-
|
|
16541
|
+
const Shell = hideHeader ? ({ children: c }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className, children: c }) : ({ children: c }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: `liquid-surface rounded-2xl overflow-hidden ${className ?? ""}`, children: c });
|
|
16542
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Shell, { children: [
|
|
16542
16543
|
!hideHeader && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-white/5 px-5 py-4 flex items-start gap-4", children: [
|
|
16543
16544
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
16544
16545
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: `inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider ${accentBadge ?? t.badge}`, children: [
|
|
@@ -16593,12 +16594,12 @@ function DepartmentWorkflowDemo({
|
|
|
16593
16594
|
)
|
|
16594
16595
|
] })
|
|
16595
16596
|
] }),
|
|
16596
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "overflow-x-auto px-
|
|
16597
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full items-center overflow-x-auto px-6 py-8", children: [
|
|
16597
16598
|
/* @__PURE__ */ jsxRuntime.jsx("style", { children: `
|
|
16598
16599
|
@keyframes deptGlow { 0%, 100% { box-shadow: 0 0 12px var(--glow); } 50% { box-shadow: 0 0 28px var(--glow); } }
|
|
16599
16600
|
@keyframes deptEdge { to { stroke-dashoffset: -16; } }
|
|
16600
16601
|
` }),
|
|
16601
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-stretch gap-0 min-w-full", children: columns.map((col, colIdx) => {
|
|
16602
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-stretch gap-0 min-w-full justify-center", children: columns.map((col, colIdx) => {
|
|
16602
16603
|
const isStepActive = stepIndex === col.stepIndex;
|
|
16603
16604
|
const isStepDone = stepIndex > col.stepIndex;
|
|
16604
16605
|
const showsConnector = colIdx > 0;
|
|
@@ -17204,7 +17205,7 @@ function DepartmentAssistantDemo({
|
|
|
17204
17205
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-px flex-1 bg-gradient-to-r from-white/5 to-white/10" }),
|
|
17205
17206
|
/* @__PURE__ */ jsxRuntime.jsx(StageChip, { label: "Deliver", stageIndex, mine: 2, activeBadge: t.stageActiveBadge })
|
|
17206
17207
|
] }),
|
|
17207
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", style: {
|
|
17208
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", style: { height: 620 }, children: /* @__PURE__ */ jsxRuntime.jsxs(framerMotion.AnimatePresence, { mode: "wait", children: [
|
|
17208
17209
|
stage === "input" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
17209
17210
|
framerMotion.motion.div,
|
|
17210
17211
|
{
|
|
@@ -17212,7 +17213,7 @@ function DepartmentAssistantDemo({
|
|
|
17212
17213
|
animate: { opacity: 1, y: 0 },
|
|
17213
17214
|
exit: { opacity: 0, y: -12 },
|
|
17214
17215
|
transition: { duration: 0.45 },
|
|
17215
|
-
className: "
|
|
17216
|
+
className: "h-full",
|
|
17216
17217
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17217
17218
|
InputStage3,
|
|
17218
17219
|
{
|
|
@@ -17234,7 +17235,7 @@ function DepartmentAssistantDemo({
|
|
|
17234
17235
|
animate: { opacity: 1, scale: 1 },
|
|
17235
17236
|
exit: { opacity: 0, scale: 0.98 },
|
|
17236
17237
|
transition: { duration: 0.45 },
|
|
17237
|
-
className: "
|
|
17238
|
+
className: "h-full",
|
|
17238
17239
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17239
17240
|
DepartmentWorkflowDemo,
|
|
17240
17241
|
{
|
|
@@ -17257,8 +17258,8 @@ function DepartmentAssistantDemo({
|
|
|
17257
17258
|
animate: { opacity: 1, y: 0 },
|
|
17258
17259
|
exit: { opacity: 0, y: -12 },
|
|
17259
17260
|
transition: { duration: 0.45 },
|
|
17260
|
-
className: "
|
|
17261
|
-
children:
|
|
17261
|
+
className: "h-full",
|
|
17262
|
+
children: flow.dashboard
|
|
17262
17263
|
},
|
|
17263
17264
|
`dashboard-${flow.id}`
|
|
17264
17265
|
)
|
|
@@ -17301,37 +17302,39 @@ function InputStage3({
|
|
|
17301
17302
|
department,
|
|
17302
17303
|
agents,
|
|
17303
17304
|
avatarGradient,
|
|
17304
|
-
borderClass,
|
|
17305
17305
|
cursorClass
|
|
17306
17306
|
}) {
|
|
17307
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
17308
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-
|
|
17309
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-
|
|
17310
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
17311
|
-
/* @__PURE__ */ jsxRuntime.jsxs("
|
|
17307
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center px-6 py-10 sm:px-12", children: [
|
|
17308
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-8 flex items-center gap-3", children: [
|
|
17309
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-14 w-14 rounded-2xl bg-gradient-to-br ${avatarGradient} flex items-center justify-center shadow-lg`, children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-7 w-7 text-white" }) }),
|
|
17310
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-left", children: [
|
|
17311
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-[10px] font-bold uppercase tracking-wider text-gray-500 dark:text-gray-400", children: [
|
|
17312
17312
|
"Assistente \u2014 ",
|
|
17313
17313
|
department
|
|
17314
17314
|
] }),
|
|
17315
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
17315
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl font-bold text-gray-900 dark:text-white", children: "Como posso ajudar hoje?" })
|
|
17316
17316
|
] })
|
|
17317
17317
|
] }),
|
|
17318
|
-
/* @__PURE__ */ jsxRuntime.
|
|
17319
|
-
|
|
17320
|
-
|
|
17321
|
-
|
|
17322
|
-
|
|
17323
|
-
|
|
17324
|
-
"
|
|
17325
|
-
|
|
17326
|
-
"span",
|
|
17327
|
-
{
|
|
17328
|
-
|
|
17329
|
-
|
|
17330
|
-
|
|
17331
|
-
|
|
17332
|
-
|
|
17318
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full max-w-3xl", children: [
|
|
17319
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "liquid-surface rounded-2xl px-6 py-6 min-h-[140px] flex items-center", children: /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xl font-medium leading-relaxed text-gray-900 dark:text-white", children: [
|
|
17320
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: `mr-1 inline-block h-1.5 w-1.5 rounded-full ${cursorClass}` }),
|
|
17321
|
+
prompt,
|
|
17322
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: `ml-1 inline-block w-0.5 h-6 align-middle ${cursorClass} animate-pulse` })
|
|
17323
|
+
] }) }),
|
|
17324
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-5 flex flex-wrap items-center justify-center gap-2 text-xs text-gray-500 dark:text-gray-400", children: [
|
|
17325
|
+
/* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BoltIcon, { className: `h-3.5 w-3.5 ${cursorClass.replace("bg-", "text-")}` }),
|
|
17326
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Agentes prontos:" }),
|
|
17327
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: agents.map((agent) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
17328
|
+
"span",
|
|
17329
|
+
{
|
|
17330
|
+
className: "liquid-surface inline-flex items-center rounded-full px-3 py-1 text-[11px] font-semibold text-gray-700 dark:text-gray-200",
|
|
17331
|
+
children: agent
|
|
17332
|
+
},
|
|
17333
|
+
agent
|
|
17334
|
+
)) })
|
|
17335
|
+
] })
|
|
17333
17336
|
] })
|
|
17334
|
-
] })
|
|
17337
|
+
] });
|
|
17335
17338
|
}
|
|
17336
17339
|
var koriDepartmentFlows = [
|
|
17337
17340
|
{
|
|
@@ -25337,5 +25340,5 @@ exports.usePullToRefresh = usePullToRefresh;
|
|
|
25337
25340
|
exports.validateDashboardSpec = validateDashboardSpec;
|
|
25338
25341
|
exports.xScale = xScale;
|
|
25339
25342
|
exports.yScale = yScale;
|
|
25340
|
-
//# sourceMappingURL=chunk-
|
|
25341
|
-
//# sourceMappingURL=chunk-
|
|
25343
|
+
//# sourceMappingURL=chunk-WBYNJTQN.js.map
|
|
25344
|
+
//# sourceMappingURL=chunk-WBYNJTQN.js.map
|