@datatechsolutions/ui 2.11.61 → 2.11.62
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-GUKB6TLR.js → chunk-HDVBJXF4.js} +53 -53
- package/dist/{chunk-GUKB6TLR.js.map → chunk-HDVBJXF4.js.map} +1 -1
- package/dist/{chunk-REZMAQKJ.mjs → chunk-KRWGJS25.mjs} +581 -70
- package/dist/chunk-KRWGJS25.mjs.map +1 -0
- package/dist/{chunk-3BR5TG34.js → chunk-MV27AY4F.js} +587 -68
- package/dist/chunk-MV27AY4F.js.map +1 -0
- package/dist/{chunk-CC3SGQ2Q.mjs → chunk-VG6AMK5R.mjs} +3 -3
- package/dist/{chunk-CC3SGQ2Q.mjs.map → chunk-VG6AMK5R.mjs.map} +1 -1
- package/dist/index.d.mts +35 -1
- package/dist/index.d.ts +35 -1
- package/dist/index.js +770 -738
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-3BR5TG34.js.map +0 -1
- package/dist/chunk-REZMAQKJ.mjs.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');
|
|
4
5
|
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
5
6
|
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');
|
|
@@ -2182,10 +2182,10 @@ function ChartRenderer({ spec, width = 640, height = 280, className }) {
|
|
|
2182
2182
|
] });
|
|
2183
2183
|
}
|
|
2184
2184
|
function buildTicks(min, max, count) {
|
|
2185
|
-
const
|
|
2185
|
+
const step2 = (max - min) / (count - 1);
|
|
2186
2186
|
const ticks = [];
|
|
2187
2187
|
for (let index = 0; index < count; index += 1) {
|
|
2188
|
-
ticks.push(min +
|
|
2188
|
+
ticks.push(min + step2 * index);
|
|
2189
2189
|
}
|
|
2190
2190
|
return ticks;
|
|
2191
2191
|
}
|
|
@@ -6031,8 +6031,8 @@ function SidebarLayout({
|
|
|
6031
6031
|
const identityEl = findSlot(sidebarChildren, IDENTITY_TYPE);
|
|
6032
6032
|
const sidebarFooterEl = findSlot(sidebarChildren, SIDEBAR_FOOTER_TYPE);
|
|
6033
6033
|
const sections = [];
|
|
6034
|
-
function collectSections(
|
|
6035
|
-
React12.Children.forEach(
|
|
6034
|
+
function collectSections(node2, group) {
|
|
6035
|
+
React12.Children.forEach(node2, (child) => {
|
|
6036
6036
|
if (!React12.isValidElement(child)) return;
|
|
6037
6037
|
if (isSlotType(child, GROUP_TYPE)) {
|
|
6038
6038
|
const groupProps = child.props;
|
|
@@ -7290,20 +7290,20 @@ function StepTimeline({
|
|
|
7290
7290
|
{
|
|
7291
7291
|
role: "list",
|
|
7292
7292
|
className: "overflow-hidden rounded-md lg:flex lg:rounded-none lg:border-r lg:border-l lg:border-gray-200 dark:lg:border-white/15",
|
|
7293
|
-
children: steps.map((
|
|
7293
|
+
children: steps.map((step2, stepIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: "relative overflow-hidden lg:flex-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7294
7294
|
"button",
|
|
7295
7295
|
{
|
|
7296
7296
|
type: "button",
|
|
7297
7297
|
onClick: () => onStepClick?.(stepIndex),
|
|
7298
|
-
disabled:
|
|
7298
|
+
disabled: step2.status === "upcoming",
|
|
7299
7299
|
className: classNames(
|
|
7300
|
-
|
|
7300
|
+
step2.status === "upcoming" ? "cursor-not-allowed" : "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
7301
7301
|
stepIndex === 0 ? "rounded-t-md border-b-0" : "",
|
|
7302
7302
|
stepIndex === steps.length - 1 ? "rounded-b-md border-t-0" : "",
|
|
7303
7303
|
"w-full overflow-hidden border border-gray-200 text-left transition-colors lg:border-0 dark:border-white/15"
|
|
7304
7304
|
),
|
|
7305
7305
|
children: [
|
|
7306
|
-
|
|
7306
|
+
step2.status === "complete" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "group", children: [
|
|
7307
7307
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7308
7308
|
"span",
|
|
7309
7309
|
{
|
|
@@ -7311,14 +7311,14 @@ function StepTimeline({
|
|
|
7311
7311
|
className: "absolute top-0 left-0 h-full w-1 bg-transparent group-hover:bg-gray-200 lg:top-auto lg:bottom-0 lg:h-1 lg:w-full dark:group-hover:bg-white/20"
|
|
7312
7312
|
}
|
|
7313
7313
|
),
|
|
7314
|
-
renderCompleteContent ? renderCompleteContent(
|
|
7314
|
+
renderCompleteContent ? renderCompleteContent(step2) : /* @__PURE__ */ jsxRuntime.jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
|
|
7315
7315
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 dark:bg-blue-500", children: /* @__PURE__ */ jsxRuntime.jsx(solid$1.CheckIcon, { "aria-hidden": "true", className: "h-5 w-5 text-white" }) }) }),
|
|
7316
7316
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
|
|
7317
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-900 dark:text-white", children:
|
|
7318
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children:
|
|
7317
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-900 dark:text-white", children: step2.name }),
|
|
7318
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
|
|
7319
7319
|
] })
|
|
7320
7320
|
] })
|
|
7321
|
-
] }) :
|
|
7321
|
+
] }) : step2.status === "current" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { "aria-current": "step", children: [
|
|
7322
7322
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7323
7323
|
"span",
|
|
7324
7324
|
{
|
|
@@ -7327,10 +7327,10 @@ function StepTimeline({
|
|
|
7327
7327
|
}
|
|
7328
7328
|
),
|
|
7329
7329
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
|
|
7330
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-blue-600 dark:border-blue-500", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-blue-600 dark:text-blue-400", children:
|
|
7330
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-blue-600 dark:border-blue-500", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-blue-600 dark:text-blue-400", children: step2.id }) }) }),
|
|
7331
7331
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
|
|
7332
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-blue-600 dark:text-blue-400", children:
|
|
7333
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children:
|
|
7332
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-blue-600 dark:text-blue-400", children: step2.name }),
|
|
7333
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
|
|
7334
7334
|
] })
|
|
7335
7335
|
] })
|
|
7336
7336
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "group", children: [
|
|
@@ -7342,10 +7342,10 @@ function StepTimeline({
|
|
|
7342
7342
|
}
|
|
7343
7343
|
),
|
|
7344
7344
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
|
|
7345
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-gray-300 dark:border-white/15", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-500 dark:text-gray-400", children:
|
|
7345
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-gray-300 dark:border-white/15", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-500 dark:text-gray-400", children: step2.id }) }) }),
|
|
7346
7346
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
|
|
7347
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children:
|
|
7348
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children:
|
|
7347
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.name }),
|
|
7348
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
|
|
7349
7349
|
] })
|
|
7350
7350
|
] })
|
|
7351
7351
|
] }),
|
|
@@ -7361,7 +7361,7 @@ function StepTimeline({
|
|
|
7361
7361
|
) }) : null
|
|
7362
7362
|
]
|
|
7363
7363
|
}
|
|
7364
|
-
) },
|
|
7364
|
+
) }, step2.id))
|
|
7365
7365
|
}
|
|
7366
7366
|
) }) });
|
|
7367
7367
|
}
|
|
@@ -7511,7 +7511,7 @@ function FormPriceInput({
|
|
|
7511
7511
|
currencySymbol,
|
|
7512
7512
|
value,
|
|
7513
7513
|
onValueChange,
|
|
7514
|
-
step = "0.01",
|
|
7514
|
+
step: step2 = "0.01",
|
|
7515
7515
|
placeholder = "0.00",
|
|
7516
7516
|
colorClass,
|
|
7517
7517
|
disabled,
|
|
@@ -7544,7 +7544,7 @@ function FormPriceInput({
|
|
|
7544
7544
|
{
|
|
7545
7545
|
id: inputId,
|
|
7546
7546
|
type: "number",
|
|
7547
|
-
step,
|
|
7547
|
+
step: step2,
|
|
7548
7548
|
value,
|
|
7549
7549
|
onChange: (event) => onValueChange?.(event.target.value),
|
|
7550
7550
|
placeholder,
|
|
@@ -8005,7 +8005,7 @@ function StepFormPage({
|
|
|
8005
8005
|
] }),
|
|
8006
8006
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: "mt-2 text-2xl font-bold tracking-tight text-slate-900 dark:text-white sm:text-3xl", children: steps[currentStep]?.title ?? title }),
|
|
8007
8007
|
steps[currentStep]?.description ?? subtitle ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 max-w-xl text-sm text-slate-500 dark:text-white/60 sm:text-base", children: steps[currentStep]?.description ?? subtitle }) : null,
|
|
8008
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex items-center gap-2", children: steps.map((
|
|
8008
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 flex items-center gap-2", children: steps.map((step2, index) => {
|
|
8009
8009
|
const isCompleted = index < currentStep;
|
|
8010
8010
|
const isCurrent = index === currentStep;
|
|
8011
8011
|
const isClickable = index < currentStep;
|
|
@@ -8019,12 +8019,12 @@ function StepFormPage({
|
|
|
8019
8019
|
className: `flex items-center gap-2 rounded-full px-3 py-1.5 text-xs font-medium transition-all duration-200 ${isCurrent ? "bg-blue-500/15 text-blue-700 shadow-sm backdrop-blur-sm dark:bg-blue-500/25 dark:text-blue-300" : isCompleted ? "bg-emerald-500/10 text-emerald-700 cursor-pointer hover:bg-emerald-500/20 backdrop-blur-sm dark:bg-emerald-500/20 dark:text-emerald-300" : "bg-slate-500/8 text-slate-400 dark:bg-white/5 dark:text-white/30"}`,
|
|
8020
8020
|
children: [
|
|
8021
8021
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: `flex h-5 w-5 items-center justify-center rounded-full text-[10px] font-bold ${isCurrent ? "bg-blue-500 text-white" : isCompleted ? "bg-emerald-500 text-white" : "bg-slate-200 text-slate-400 dark:bg-white/10 dark:text-white/30"}`, children: isCompleted ? /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckIcon, { className: "h-3 w-3" }) : index + 1 }),
|
|
8022
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:inline", children:
|
|
8022
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:inline", children: step2.title })
|
|
8023
8023
|
]
|
|
8024
8024
|
}
|
|
8025
8025
|
),
|
|
8026
8026
|
index < steps.length - 1 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-px flex-1 transition-colors duration-200 ${index < currentStep ? "bg-emerald-500/30 dark:bg-emerald-500/20" : "bg-slate-200 dark:bg-white/10"}` }) : null
|
|
8027
|
-
] },
|
|
8027
|
+
] }, step2.id);
|
|
8028
8028
|
}) })
|
|
8029
8029
|
] })
|
|
8030
8030
|
] }),
|
|
@@ -13466,16 +13466,16 @@ function PipelinePreview({ activeFuel, activeState, activeStation, onActiveFuelC
|
|
|
13466
13466
|
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
13467
13467
|
setActiveStep(0);
|
|
13468
13468
|
onStepChange?.(0);
|
|
13469
|
-
let
|
|
13469
|
+
let step2 = 0;
|
|
13470
13470
|
intervalRef.current = setInterval(() => {
|
|
13471
|
-
|
|
13472
|
-
if (
|
|
13471
|
+
step2 += 1;
|
|
13472
|
+
if (step2 > 7) {
|
|
13473
13473
|
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
13474
13474
|
setActiveStep(7);
|
|
13475
13475
|
onStepChange?.(7);
|
|
13476
13476
|
} else {
|
|
13477
|
-
setActiveStep(
|
|
13478
|
-
onStepChange?.(
|
|
13477
|
+
setActiveStep(step2);
|
|
13478
|
+
onStepChange?.(step2);
|
|
13479
13479
|
}
|
|
13480
13480
|
}, 1400);
|
|
13481
13481
|
}, [onStepChange]);
|
|
@@ -13487,21 +13487,21 @@ function PipelinePreview({ activeFuel, activeState, activeStation, onActiveFuelC
|
|
|
13487
13487
|
React12.useEffect(() => () => {
|
|
13488
13488
|
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
13489
13489
|
}, []);
|
|
13490
|
-
const getStatus = (
|
|
13490
|
+
const getStatus = (node2) => {
|
|
13491
13491
|
if (activeStep < 0) return "idle";
|
|
13492
|
-
if (
|
|
13493
|
-
if (
|
|
13492
|
+
if (node2.step < activeStep) return "complete";
|
|
13493
|
+
if (node2.step === activeStep) return "active";
|
|
13494
13494
|
return "idle";
|
|
13495
13495
|
};
|
|
13496
13496
|
const rows = React12.useMemo(() => {
|
|
13497
13497
|
const result = [];
|
|
13498
|
-
let
|
|
13499
|
-
for (const
|
|
13500
|
-
if (
|
|
13498
|
+
let step2 = -1;
|
|
13499
|
+
for (const node2 of pipelineNodes) {
|
|
13500
|
+
if (node2.step !== step2) {
|
|
13501
13501
|
result.push([]);
|
|
13502
|
-
|
|
13502
|
+
step2 = node2.step;
|
|
13503
13503
|
}
|
|
13504
|
-
result[result.length - 1].push(
|
|
13504
|
+
result[result.length - 1].push(node2);
|
|
13505
13505
|
}
|
|
13506
13506
|
return result;
|
|
13507
13507
|
}, [pipelineNodes]);
|
|
@@ -13615,26 +13615,26 @@ function PipelinePreview({ activeFuel, activeState, activeStation, onActiveFuelC
|
|
|
13615
13615
|
` }),
|
|
13616
13616
|
rows.map((row, rowIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-0 shrink-0", children: [
|
|
13617
13617
|
rowIndex > 0 && row[0] && /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "40", height: "2", className: "shrink-0 mx-1.5", children: /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "0", y1: "1", x2: "40", y2: "1", stroke: activeStep >= row[0].step ? "#10b981" : "#374151", strokeWidth: "2", strokeDasharray: "4 3", style: { animation: activeStep === row[0].step ? "edgeFlow 0.8s linear infinite" : "none" } }) }),
|
|
13618
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex ${row.length > 1 ? "flex-col gap-2" : ""}`, children: row.map((
|
|
13619
|
-
const status = getStatus(
|
|
13618
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex ${row.length > 1 ? "flex-col gap-2" : ""}`, children: row.map((node2) => {
|
|
13619
|
+
const status = getStatus(node2);
|
|
13620
13620
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13621
13621
|
"div",
|
|
13622
13622
|
{
|
|
13623
13623
|
className: `liquid-surface rounded-2xl px-4 py-3 transition-all duration-500 ${row.length > 1 ? "w-[180px]" : "w-[220px]"} ${status === "active" ? "ring-2 ring-blue-500/50 scale-[1.03]" : status === "complete" ? "ring-1 ring-emerald-500/30" : "opacity-40"}`,
|
|
13624
|
-
style: status === "active" ? { "--glow":
|
|
13624
|
+
style: status === "active" ? { "--glow": node2.glow, animation: "nodeGlow 1.5s ease-in-out infinite" } : void 0,
|
|
13625
13625
|
children: [
|
|
13626
13626
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2.5 mb-1.5", children: [
|
|
13627
|
-
|
|
13627
|
+
node2.avatar ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: node2.avatar, alt: "", className: "h-9 w-9 rounded-xl shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-9 w-9 items-center justify-center rounded-xl shrink-0 ${node2.bg}`, children: /* @__PURE__ */ jsxRuntime.jsx(node2.icon, { className: `h-5 w-5 ${node2.color}` }) }),
|
|
13628
13628
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
13629
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[13px] font-semibold text-white truncate", children:
|
|
13630
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[9px] text-gray-500 truncate", children:
|
|
13629
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[13px] font-semibold text-white truncate", children: node2.label }),
|
|
13630
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[9px] text-gray-500 truncate", children: node2.subtitle })
|
|
13631
13631
|
] }),
|
|
13632
13632
|
status === "complete" ? /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-5 w-5 text-emerald-400 shrink-0" }) : null
|
|
13633
13633
|
] }),
|
|
13634
|
-
|
|
13634
|
+
node2.badges && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1 mt-1", children: node2.badges.map((badge) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: `rounded-full px-2 py-0.5 text-[8px] font-semibold ${badge.color}`, children: badge.text }, badge.text)) })
|
|
13635
13635
|
]
|
|
13636
13636
|
},
|
|
13637
|
-
|
|
13637
|
+
node2.id
|
|
13638
13638
|
);
|
|
13639
13639
|
}) })
|
|
13640
13640
|
] }, rowIndex))
|
|
@@ -13975,14 +13975,14 @@ function IncidentPipelineDemo({
|
|
|
13975
13975
|
const handleRun = React12.useCallback(() => {
|
|
13976
13976
|
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
13977
13977
|
setActiveStep(0);
|
|
13978
|
-
let
|
|
13978
|
+
let step2 = 0;
|
|
13979
13979
|
intervalRef.current = setInterval(() => {
|
|
13980
|
-
|
|
13981
|
-
if (
|
|
13980
|
+
step2 += 1;
|
|
13981
|
+
if (step2 > 7) {
|
|
13982
13982
|
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
13983
13983
|
setActiveStep(7);
|
|
13984
13984
|
} else {
|
|
13985
|
-
setActiveStep(
|
|
13985
|
+
setActiveStep(step2);
|
|
13986
13986
|
}
|
|
13987
13987
|
}, 1200);
|
|
13988
13988
|
}, []);
|
|
@@ -13998,21 +13998,21 @@ function IncidentPipelineDemo({
|
|
|
13998
13998
|
React12.useEffect(() => () => {
|
|
13999
13999
|
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
14000
14000
|
}, []);
|
|
14001
|
-
const getStatus = (
|
|
14001
|
+
const getStatus = (node2) => {
|
|
14002
14002
|
if (activeStep < 0) return "idle";
|
|
14003
|
-
if (
|
|
14004
|
-
if (
|
|
14003
|
+
if (node2.step < activeStep) return "complete";
|
|
14004
|
+
if (node2.step === activeStep) return "active";
|
|
14005
14005
|
return "idle";
|
|
14006
14006
|
};
|
|
14007
14007
|
const rows = React12.useMemo(() => {
|
|
14008
14008
|
const result = [];
|
|
14009
|
-
let
|
|
14010
|
-
for (const
|
|
14011
|
-
if (
|
|
14009
|
+
let step2 = -1;
|
|
14010
|
+
for (const node2 of nodes) {
|
|
14011
|
+
if (node2.step !== step2) {
|
|
14012
14012
|
result.push([]);
|
|
14013
|
-
|
|
14013
|
+
step2 = node2.step;
|
|
14014
14014
|
}
|
|
14015
|
-
result[result.length - 1].push(
|
|
14015
|
+
result[result.length - 1].push(node2);
|
|
14016
14016
|
}
|
|
14017
14017
|
return result;
|
|
14018
14018
|
}, [nodes]);
|
|
@@ -14058,26 +14058,26 @@ function IncidentPipelineDemo({
|
|
|
14058
14058
|
` }),
|
|
14059
14059
|
rows.map((row, rowIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-0", children: [
|
|
14060
14060
|
rowIndex > 0 && /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "40", height: "2", className: "mx-1.5 shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "0", y1: "1", x2: "40", y2: "1", stroke: activeStep >= rows[rowIndex][0].step ? "#10b981" : "#374151", strokeWidth: "2", strokeDasharray: "4 3", style: { animation: activeStep === rows[rowIndex][0].step ? "edgeFlow 0.8s linear infinite" : "none" } }) }),
|
|
14061
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex ${row.length > 1 ? "flex-col gap-2" : ""}`, children: row.map((
|
|
14062
|
-
const status = getStatus(
|
|
14061
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex ${row.length > 1 ? "flex-col gap-2" : ""}`, children: row.map((node2) => {
|
|
14062
|
+
const status = getStatus(node2);
|
|
14063
14063
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14064
14064
|
"div",
|
|
14065
14065
|
{
|
|
14066
14066
|
className: `liquid-surface rounded-2xl px-4 py-3 transition-all duration-500 ${row.length > 1 ? "w-[180px]" : "w-[220px]"} ${status === "active" ? "scale-[1.03] ring-2 ring-red-500/50" : status === "complete" ? "ring-1 ring-emerald-500/30" : "opacity-40"}`,
|
|
14067
|
-
style: status === "active" ? { "--glow":
|
|
14067
|
+
style: status === "active" ? { "--glow": node2.glow, animation: "nodeGlow 1.5s ease-in-out infinite" } : void 0,
|
|
14068
14068
|
children: [
|
|
14069
14069
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1.5 flex items-center gap-2.5", children: [
|
|
14070
|
-
|
|
14070
|
+
node2.avatar ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: node2.avatar, alt: "", className: "h-9 w-9 rounded-xl shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-9 w-9 items-center justify-center rounded-xl shrink-0 ${node2.bg}`, children: /* @__PURE__ */ jsxRuntime.jsx(node2.icon, { className: `h-5 w-5 ${node2.color}` }) }),
|
|
14071
14071
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
14072
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[13px] font-semibold text-white", children:
|
|
14073
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[9px] text-gray-500", children:
|
|
14072
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[13px] font-semibold text-white", children: node2.label }),
|
|
14073
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[9px] text-gray-500", children: node2.subtitle })
|
|
14074
14074
|
] }),
|
|
14075
14075
|
status === "complete" && /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-5 w-5 shrink-0 text-emerald-400" })
|
|
14076
14076
|
] }),
|
|
14077
|
-
|
|
14077
|
+
node2.badges && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1 mt-1", children: node2.badges.map((badge) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: `rounded-full px-2 py-0.5 text-[8px] font-semibold ${badge.color}`, children: badge.text }, badge.text)) })
|
|
14078
14078
|
]
|
|
14079
14079
|
},
|
|
14080
|
-
|
|
14080
|
+
node2.id
|
|
14081
14081
|
);
|
|
14082
14082
|
}) })
|
|
14083
14083
|
] }, rowIndex))
|
|
@@ -16415,6 +16415,517 @@ var DashboardDemo = ({
|
|
|
16415
16415
|
}
|
|
16416
16416
|
);
|
|
16417
16417
|
};
|
|
16418
|
+
var NODE_TYPE_META = {
|
|
16419
|
+
start: { icon: HeroIcons.PlayIcon, color: "text-emerald-300", bg: "bg-emerald-500/15", glow: "rgba(16,185,129,0.45)" },
|
|
16420
|
+
end: { icon: HeroIcons.CheckCircleIcon, color: "text-emerald-300", bg: "bg-emerald-500/15", glow: "rgba(16,185,129,0.45)" },
|
|
16421
|
+
datasource: { icon: HeroIcons.CircleStackIcon, color: "text-sky-300", bg: "bg-sky-500/15", glow: "rgba(14,165,233,0.45)" },
|
|
16422
|
+
entity: { icon: HeroIcons.RectangleStackIcon, color: "text-sky-300", bg: "bg-sky-500/15", glow: "rgba(14,165,233,0.45)" },
|
|
16423
|
+
http_request: { icon: HeroIcons.CloudIcon, color: "text-cyan-300", bg: "bg-cyan-500/15", glow: "rgba(34,211,238,0.45)" },
|
|
16424
|
+
knowledge_base: { icon: HeroIcons.ServerStackIcon, color: "text-cyan-300", bg: "bg-cyan-500/15", glow: "rgba(34,211,238,0.45)" },
|
|
16425
|
+
agent: { icon: HeroIcons.CpuChipIcon, color: "text-purple-300", bg: "bg-purple-500/15", glow: "rgba(168,85,247,0.5)" },
|
|
16426
|
+
agent_tool: { icon: HeroIcons.BeakerIcon, color: "text-violet-300", bg: "bg-violet-500/15", glow: "rgba(139,92,246,0.5)" },
|
|
16427
|
+
tool: { icon: HeroIcons.BeakerIcon, color: "text-violet-300", bg: "bg-violet-500/15", glow: "rgba(139,92,246,0.5)" },
|
|
16428
|
+
code: { icon: HeroIcons.CodeBracketIcon, color: "text-amber-300", bg: "bg-amber-500/15", glow: "rgba(245,158,11,0.45)" },
|
|
16429
|
+
template_transform: { icon: HeroIcons.DocumentTextIcon, color: "text-amber-300", bg: "bg-amber-500/15", glow: "rgba(245,158,11,0.45)" },
|
|
16430
|
+
if_else: { icon: HeroIcons.BoltIcon, color: "text-orange-300", bg: "bg-orange-500/15", glow: "rgba(251,146,60,0.5)" },
|
|
16431
|
+
question_classifier: { icon: HeroIcons.BoltIcon, color: "text-orange-300", bg: "bg-orange-500/15", glow: "rgba(251,146,60,0.5)" },
|
|
16432
|
+
parameter_extractor: { icon: HeroIcons.AdjustmentsHorizontalIcon, color: "text-orange-300", bg: "bg-orange-500/15", glow: "rgba(251,146,60,0.5)" },
|
|
16433
|
+
variable_aggregator: { icon: HeroIcons.AdjustmentsHorizontalIcon, color: "text-yellow-300", bg: "bg-yellow-500/15", glow: "rgba(234,179,8,0.45)" },
|
|
16434
|
+
variable_assigner: { icon: HeroIcons.AdjustmentsHorizontalIcon, color: "text-yellow-300", bg: "bg-yellow-500/15", glow: "rgba(234,179,8,0.45)" },
|
|
16435
|
+
iteration: { icon: HeroIcons.ArrowPathIcon, color: "text-fuchsia-300", bg: "bg-fuchsia-500/15", glow: "rgba(232,121,249,0.5)" },
|
|
16436
|
+
iteration_start: { icon: HeroIcons.ArrowPathIcon, color: "text-fuchsia-300", bg: "bg-fuchsia-500/15", glow: "rgba(232,121,249,0.5)" },
|
|
16437
|
+
list_operator: { icon: HeroIcons.AdjustmentsHorizontalIcon, color: "text-fuchsia-300", bg: "bg-fuchsia-500/15", glow: "rgba(232,121,249,0.5)" },
|
|
16438
|
+
answer: { icon: HeroIcons.ChartBarIcon, color: "text-emerald-300", bg: "bg-emerald-500/15", glow: "rgba(16,185,129,0.45)" },
|
|
16439
|
+
dashboard_output: { icon: HeroIcons.ChartBarIcon, color: "text-emerald-300", bg: "bg-emerald-500/15", glow: "rgba(16,185,129,0.45)" },
|
|
16440
|
+
rule: { icon: HeroIcons.BoltIcon, color: "text-rose-300", bg: "bg-rose-500/15", glow: "rgba(244,63,94,0.5)" },
|
|
16441
|
+
document_extractor: { icon: HeroIcons.DocumentTextIcon, color: "text-amber-300", bg: "bg-amber-500/15", glow: "rgba(245,158,11,0.45)" },
|
|
16442
|
+
model_provider: { icon: HeroIcons.CpuChipIcon, color: "text-violet-300", bg: "bg-violet-500/15", glow: "rgba(139,92,246,0.5)" },
|
|
16443
|
+
note: { icon: HeroIcons.DocumentTextIcon, color: "text-slate-300", bg: "bg-slate-500/15", glow: "rgba(100,116,139,0.4)" },
|
|
16444
|
+
group: { icon: HeroIcons.RectangleStackIcon, color: "text-slate-300", bg: "bg-slate-500/15", glow: "rgba(100,116,139,0.4)" }
|
|
16445
|
+
};
|
|
16446
|
+
var FALLBACK_META = { icon: HeroIcons.BoltIcon, color: "text-gray-300", bg: "bg-gray-500/15", glow: "rgba(100,116,139,0.4)" };
|
|
16447
|
+
function getNodeMeta(type) {
|
|
16448
|
+
return NODE_TYPE_META[type] ?? FALLBACK_META;
|
|
16449
|
+
}
|
|
16450
|
+
var NODE_W = 180;
|
|
16451
|
+
var NODE_H = 80;
|
|
16452
|
+
var PADDING = 24;
|
|
16453
|
+
function DepartmentWorkflowDemo({
|
|
16454
|
+
workflow,
|
|
16455
|
+
stepDurationMs = 1100,
|
|
16456
|
+
autoPlay = false,
|
|
16457
|
+
className
|
|
16458
|
+
}) {
|
|
16459
|
+
const { graph, steps, title, description, accentBadge = "bg-indigo-500/15 text-indigo-300", completionSummary } = workflow;
|
|
16460
|
+
const [stepIndex, setStepIndex] = React12.useState(-1);
|
|
16461
|
+
const intervalRef = React12.useRef(null);
|
|
16462
|
+
const total = steps.length;
|
|
16463
|
+
const isIdle = stepIndex === -1;
|
|
16464
|
+
const isRunning = stepIndex >= 0 && stepIndex < total - 1;
|
|
16465
|
+
const isComplete = stepIndex === total - 1 && total > 0;
|
|
16466
|
+
const activeNodeIds = React12.useMemo(() => {
|
|
16467
|
+
if (stepIndex < 0) return /* @__PURE__ */ new Set();
|
|
16468
|
+
return new Set(steps[stepIndex]?.nodes ?? []);
|
|
16469
|
+
}, [stepIndex, steps]);
|
|
16470
|
+
const completedNodeIds = React12.useMemo(() => {
|
|
16471
|
+
if (stepIndex < 0) return /* @__PURE__ */ new Set();
|
|
16472
|
+
const ids = /* @__PURE__ */ new Set();
|
|
16473
|
+
for (let i = 0; i < stepIndex; i++) {
|
|
16474
|
+
for (const id of steps[i]?.nodes ?? []) ids.add(id);
|
|
16475
|
+
}
|
|
16476
|
+
return ids;
|
|
16477
|
+
}, [stepIndex, steps]);
|
|
16478
|
+
const getStatus = React12.useCallback(
|
|
16479
|
+
(node2) => {
|
|
16480
|
+
if (activeNodeIds.has(node2.id)) return "running";
|
|
16481
|
+
if (completedNodeIds.has(node2.id)) return "complete";
|
|
16482
|
+
return "idle";
|
|
16483
|
+
},
|
|
16484
|
+
[activeNodeIds, completedNodeIds]
|
|
16485
|
+
);
|
|
16486
|
+
const handleRun = React12.useCallback(() => {
|
|
16487
|
+
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
16488
|
+
setStepIndex(0);
|
|
16489
|
+
let index = 0;
|
|
16490
|
+
intervalRef.current = setInterval(() => {
|
|
16491
|
+
index += 1;
|
|
16492
|
+
if (index >= total) {
|
|
16493
|
+
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
16494
|
+
setStepIndex(total - 1);
|
|
16495
|
+
} else {
|
|
16496
|
+
setStepIndex(index);
|
|
16497
|
+
}
|
|
16498
|
+
}, stepDurationMs);
|
|
16499
|
+
}, [stepDurationMs, total]);
|
|
16500
|
+
const handleStop = React12.useCallback(() => {
|
|
16501
|
+
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
16502
|
+
setStepIndex(-1);
|
|
16503
|
+
}, []);
|
|
16504
|
+
React12.useEffect(() => {
|
|
16505
|
+
if (autoPlay) handleRun();
|
|
16506
|
+
return () => {
|
|
16507
|
+
if (intervalRef.current) clearInterval(intervalRef.current);
|
|
16508
|
+
};
|
|
16509
|
+
}, [autoPlay, handleRun]);
|
|
16510
|
+
const bounds = React12.useMemo(() => {
|
|
16511
|
+
if (graph.nodes.length === 0) return { width: 800, height: 400 };
|
|
16512
|
+
let maxX = 0;
|
|
16513
|
+
let maxY = 0;
|
|
16514
|
+
for (const node2 of graph.nodes) {
|
|
16515
|
+
if (node2.position.x > maxX) maxX = node2.position.x;
|
|
16516
|
+
if (node2.position.y > maxY) maxY = node2.position.y;
|
|
16517
|
+
}
|
|
16518
|
+
return { width: maxX + NODE_W + PADDING * 2, height: maxY + NODE_H + PADDING * 2 };
|
|
16519
|
+
}, [graph.nodes]);
|
|
16520
|
+
const currentStepLabel = stepIndex >= 0 ? steps[stepIndex]?.label : "Ready to run";
|
|
16521
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `liquid-surface rounded-2xl overflow-hidden ${className ?? ""}`, children: [
|
|
16522
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-white/5 px-5 py-4 flex items-start gap-4", children: [
|
|
16523
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
16524
|
+
/* @__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}`, children: [
|
|
16525
|
+
/* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BoltIcon, { className: "h-3 w-3" }),
|
|
16526
|
+
"Astrlabe workflow"
|
|
16527
|
+
] }),
|
|
16528
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mt-2 text-lg font-bold text-white", children: title }),
|
|
16529
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-gray-400", children: description })
|
|
16530
|
+
] }),
|
|
16531
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 shrink-0", children: [
|
|
16532
|
+
stepIndex >= 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-0.5", children: steps.map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
16533
|
+
"div",
|
|
16534
|
+
{
|
|
16535
|
+
className: `h-1 w-3 rounded-full transition-all duration-500 ${index < stepIndex || isComplete ? "bg-emerald-500" : index === stepIndex ? "bg-indigo-500 animate-pulse" : "bg-white/10"}`
|
|
16536
|
+
},
|
|
16537
|
+
index
|
|
16538
|
+
)) }),
|
|
16539
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "max-w-[180px] truncate text-[10px] text-gray-400", children: currentStepLabel }),
|
|
16540
|
+
isIdle ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16541
|
+
"button",
|
|
16542
|
+
{
|
|
16543
|
+
type: "button",
|
|
16544
|
+
onClick: handleRun,
|
|
16545
|
+
className: "flex items-center gap-1 rounded-lg bg-gradient-to-r from-indigo-600 to-violet-600 px-3 py-1 text-[11px] font-semibold text-white shadow-lg shadow-indigo-500/20 hover:shadow-indigo-500/30 hover:scale-105 active:scale-95 transition-all",
|
|
16546
|
+
children: [
|
|
16547
|
+
/* @__PURE__ */ jsxRuntime.jsx(HeroIcons.PlayIcon, { className: "h-3 w-3" }),
|
|
16548
|
+
" Run"
|
|
16549
|
+
]
|
|
16550
|
+
}
|
|
16551
|
+
) : isRunning ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16552
|
+
"button",
|
|
16553
|
+
{
|
|
16554
|
+
type: "button",
|
|
16555
|
+
onClick: handleStop,
|
|
16556
|
+
className: "flex items-center gap-1 rounded-lg bg-rose-600/80 px-3 py-1 text-[11px] font-semibold text-white",
|
|
16557
|
+
children: [
|
|
16558
|
+
/* @__PURE__ */ jsxRuntime.jsx(HeroIcons.StopIcon, { className: "h-3 w-3" }),
|
|
16559
|
+
" Stop"
|
|
16560
|
+
]
|
|
16561
|
+
}
|
|
16562
|
+
) : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16563
|
+
"button",
|
|
16564
|
+
{
|
|
16565
|
+
type: "button",
|
|
16566
|
+
onClick: handleRun,
|
|
16567
|
+
className: "flex items-center gap-1 rounded-lg border border-white/10 px-3 py-1 text-[11px] font-medium text-gray-300 hover:bg-white/5",
|
|
16568
|
+
children: [
|
|
16569
|
+
/* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowPathIcon, { className: "h-3 w-3" }),
|
|
16570
|
+
" Replay"
|
|
16571
|
+
]
|
|
16572
|
+
}
|
|
16573
|
+
)
|
|
16574
|
+
] })
|
|
16575
|
+
] }),
|
|
16576
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative overflow-auto p-6", style: { minHeight: bounds.height + PADDING * 2 }, children: [
|
|
16577
|
+
/* @__PURE__ */ jsxRuntime.jsx("style", { children: `
|
|
16578
|
+
@keyframes astGlow { 0%, 100% { box-shadow: 0 0 12px var(--glow); } 50% { box-shadow: 0 0 28px var(--glow); } }
|
|
16579
|
+
@keyframes astEdge { to { stroke-dashoffset: -16; } }
|
|
16580
|
+
` }),
|
|
16581
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", style: { width: bounds.width, height: bounds.height }, children: [
|
|
16582
|
+
/* @__PURE__ */ jsxRuntime.jsx("svg", { className: "absolute inset-0 pointer-events-none", width: bounds.width, height: bounds.height, children: graph.edges.map((edge2) => {
|
|
16583
|
+
const source = graph.nodes.find((n) => n.id === edge2.source);
|
|
16584
|
+
const target = graph.nodes.find((n) => n.id === edge2.target);
|
|
16585
|
+
if (!source || !target) return null;
|
|
16586
|
+
const x1 = source.position.x + NODE_W;
|
|
16587
|
+
const y1 = source.position.y + NODE_H / 2;
|
|
16588
|
+
const x2 = target.position.x;
|
|
16589
|
+
const y2 = target.position.y + NODE_H / 2;
|
|
16590
|
+
const midX = (x1 + x2) / 2;
|
|
16591
|
+
const isActive = activeNodeIds.has(edge2.source) || completedNodeIds.has(edge2.source) && (activeNodeIds.has(edge2.target) || completedNodeIds.has(edge2.target));
|
|
16592
|
+
const isComplete2 = completedNodeIds.has(edge2.source) && completedNodeIds.has(edge2.target);
|
|
16593
|
+
const stroke = isComplete2 ? "#10b981" : isActive ? "#818cf8" : "#334155";
|
|
16594
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("g", { children: [
|
|
16595
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16596
|
+
"path",
|
|
16597
|
+
{
|
|
16598
|
+
d: `M ${x1} ${y1} C ${midX} ${y1}, ${midX} ${y2}, ${x2} ${y2}`,
|
|
16599
|
+
fill: "none",
|
|
16600
|
+
stroke,
|
|
16601
|
+
strokeWidth: 2,
|
|
16602
|
+
strokeDasharray: "6 4",
|
|
16603
|
+
style: { animation: isActive && !isComplete2 ? "astEdge 0.8s linear infinite" : "none" }
|
|
16604
|
+
}
|
|
16605
|
+
),
|
|
16606
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: x2, cy: y2, r: "3", fill: stroke })
|
|
16607
|
+
] }, edge2.id);
|
|
16608
|
+
}) }),
|
|
16609
|
+
graph.nodes.map((node2) => {
|
|
16610
|
+
const status = getStatus(node2);
|
|
16611
|
+
const meta = getNodeMeta(node2.type);
|
|
16612
|
+
const statusBorder = status === "running" ? "ring-2 ring-indigo-500/60 scale-[1.04]" : status === "complete" ? "ring-1 ring-emerald-500/40" : "opacity-60";
|
|
16613
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16614
|
+
"div",
|
|
16615
|
+
{
|
|
16616
|
+
className: `absolute liquid-surface rounded-2xl px-3 py-2.5 transition-all duration-500 ${statusBorder}`,
|
|
16617
|
+
style: {
|
|
16618
|
+
left: node2.position.x,
|
|
16619
|
+
top: node2.position.y,
|
|
16620
|
+
width: NODE_W,
|
|
16621
|
+
height: NODE_H,
|
|
16622
|
+
...status === "running" ? { "--glow": meta.glow, animation: "astGlow 1.4s ease-in-out infinite" } : {}
|
|
16623
|
+
},
|
|
16624
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2.5", children: [
|
|
16625
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-8 w-8 shrink-0 items-center justify-center rounded-lg ${meta.bg}`, children: /* @__PURE__ */ jsxRuntime.jsx(meta.icon, { className: `h-4 w-4 ${meta.color}` }) }),
|
|
16626
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
16627
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[12px] font-semibold text-white", children: node2.data.label }),
|
|
16628
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1 text-[9px] text-gray-500 font-mono", children: [
|
|
16629
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: node2.type }),
|
|
16630
|
+
status === "running" && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-0.5 text-indigo-300", children: [
|
|
16631
|
+
/* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ArrowRightIcon, { className: "h-2.5 w-2.5 animate-pulse" }),
|
|
16632
|
+
"running"
|
|
16633
|
+
] }),
|
|
16634
|
+
status === "complete" && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-0.5 text-emerald-400", children: [
|
|
16635
|
+
/* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-2.5 w-2.5" }),
|
|
16636
|
+
"done"
|
|
16637
|
+
] })
|
|
16638
|
+
] })
|
|
16639
|
+
] })
|
|
16640
|
+
] })
|
|
16641
|
+
},
|
|
16642
|
+
node2.id
|
|
16643
|
+
);
|
|
16644
|
+
})
|
|
16645
|
+
] })
|
|
16646
|
+
] }),
|
|
16647
|
+
isComplete && completionSummary && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-t border-white/5 bg-emerald-500/[0.06] px-5 py-3 flex items-center gap-2", children: [
|
|
16648
|
+
/* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-4 w-4 shrink-0 text-emerald-400" }),
|
|
16649
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[11px] font-semibold text-emerald-300", children: completionSummary })
|
|
16650
|
+
] })
|
|
16651
|
+
] });
|
|
16652
|
+
}
|
|
16653
|
+
|
|
16654
|
+
// src/components/department-workflow-demo/workflows.ts
|
|
16655
|
+
function node(id, type, label, x, y) {
|
|
16656
|
+
return { id, type, position: { x, y }, data: { entityId: id, label } };
|
|
16657
|
+
}
|
|
16658
|
+
function edge(from, to) {
|
|
16659
|
+
return { id: `${from}->${to}`, source: from, target: to, sourceHandle: null, targetHandle: null };
|
|
16660
|
+
}
|
|
16661
|
+
function buildGraph(nodes, edges) {
|
|
16662
|
+
return { nodes, edges };
|
|
16663
|
+
}
|
|
16664
|
+
function step(label, ...nodes) {
|
|
16665
|
+
return { nodes, label };
|
|
16666
|
+
}
|
|
16667
|
+
var financialWorkflow = {
|
|
16668
|
+
title: "Financial planning & tax compliance",
|
|
16669
|
+
description: "Q4 close \u2014 aggregate transactions, compute Brazilian taxes in parallel, audit for compliance, publish report.",
|
|
16670
|
+
accentBadge: "bg-emerald-500/15 text-emerald-300",
|
|
16671
|
+
completionSummary: "Quarterly report published \xB7 R$ 387k taxes calculated \xB7 0 compliance violations",
|
|
16672
|
+
graph: buildGraph(
|
|
16673
|
+
[
|
|
16674
|
+
node("start", "start", "Trigger Q4 close", 0, 120),
|
|
16675
|
+
node("fetch-tx", "datasource", "Fetch transactions", 220, 120),
|
|
16676
|
+
node("icms", "code", "Calculate ICMS", 460, 10),
|
|
16677
|
+
node("pis-cofins", "code", "Calculate PIS/COFINS", 460, 120),
|
|
16678
|
+
node("iss", "code", "Calculate ISS", 460, 230),
|
|
16679
|
+
node("aggregate", "variable_aggregator", "Aggregate taxes", 700, 120),
|
|
16680
|
+
node("audit", "agent", "Compliance audit", 940, 120),
|
|
16681
|
+
node("report", "dashboard_output", "Publish report", 1180, 120)
|
|
16682
|
+
],
|
|
16683
|
+
[
|
|
16684
|
+
edge("start", "fetch-tx"),
|
|
16685
|
+
edge("fetch-tx", "icms"),
|
|
16686
|
+
edge("fetch-tx", "pis-cofins"),
|
|
16687
|
+
edge("fetch-tx", "iss"),
|
|
16688
|
+
edge("icms", "aggregate"),
|
|
16689
|
+
edge("pis-cofins", "aggregate"),
|
|
16690
|
+
edge("iss", "aggregate"),
|
|
16691
|
+
edge("aggregate", "audit"),
|
|
16692
|
+
edge("audit", "report")
|
|
16693
|
+
]
|
|
16694
|
+
),
|
|
16695
|
+
steps: [
|
|
16696
|
+
step("Triggering quarterly close\u2026", "start"),
|
|
16697
|
+
step("Fetching Q4 transactions\u2026", "fetch-tx"),
|
|
16698
|
+
step("Calculating ICMS / PIS / ISS in parallel\u2026", "icms", "pis-cofins", "iss"),
|
|
16699
|
+
step("Aggregating tax breakdown\u2026", "aggregate"),
|
|
16700
|
+
step("Agent auditing compliance rules\u2026", "audit"),
|
|
16701
|
+
step("Publishing financial report\u2026", "report")
|
|
16702
|
+
]
|
|
16703
|
+
};
|
|
16704
|
+
var salesWorkflow = {
|
|
16705
|
+
title: "Sales pipeline \u2014 lead to close",
|
|
16706
|
+
description: "Lead arrives \u2192 agents score, qualify, draft proposal, and drive negotiation to close.",
|
|
16707
|
+
accentBadge: "bg-blue-500/15 text-blue-300",
|
|
16708
|
+
completionSummary: "Deal closed \xB7 R$ 45k/m\xEAs \xB7 14-day cycle \xB7 Score 85/100",
|
|
16709
|
+
graph: buildGraph(
|
|
16710
|
+
[
|
|
16711
|
+
node("start", "start", "New lead (XPTO)", 0, 120),
|
|
16712
|
+
node("intake", "datasource", "CRM intake", 220, 120),
|
|
16713
|
+
node("score", "agent", "Lead scoring agent", 460, 120),
|
|
16714
|
+
node("gate", "if_else", "Score \u2265 80?", 700, 120),
|
|
16715
|
+
node("qualify", "agent", "Qualify SQL", 940, 10),
|
|
16716
|
+
node("nurture", "agent", "Nurture queue", 940, 230),
|
|
16717
|
+
node("proposal", "template_transform", "Draft proposal", 1180, 10),
|
|
16718
|
+
node("negotiate", "agent", "Negotiation agent", 1420, 10),
|
|
16719
|
+
node("close", "dashboard_output", "Deal closed", 1660, 10)
|
|
16720
|
+
],
|
|
16721
|
+
[
|
|
16722
|
+
edge("start", "intake"),
|
|
16723
|
+
edge("intake", "score"),
|
|
16724
|
+
edge("score", "gate"),
|
|
16725
|
+
edge("gate", "qualify"),
|
|
16726
|
+
edge("gate", "nurture"),
|
|
16727
|
+
edge("qualify", "proposal"),
|
|
16728
|
+
edge("proposal", "negotiate"),
|
|
16729
|
+
edge("negotiate", "close")
|
|
16730
|
+
]
|
|
16731
|
+
),
|
|
16732
|
+
steps: [
|
|
16733
|
+
step("New lead arrived \u2014 XPTO Ltda\u2026", "start"),
|
|
16734
|
+
step("CRM intake and enrichment\u2026", "intake"),
|
|
16735
|
+
step("Scoring agent analyzing fit\u2026", "score"),
|
|
16736
|
+
step("Routing by score (85/100 \u2192 qualify)\u2026", "gate"),
|
|
16737
|
+
step("Qualifying as SQL\u2026", "qualify"),
|
|
16738
|
+
step("Generating proposal from template\u2026", "proposal"),
|
|
16739
|
+
step("Negotiation agent driving deal\u2026", "negotiate"),
|
|
16740
|
+
step("Deal closed \u2014 booking revenue\u2026", "close")
|
|
16741
|
+
]
|
|
16742
|
+
};
|
|
16743
|
+
var marketingWorkflow = {
|
|
16744
|
+
title: "Marketing campaign \u2014 Black Friday",
|
|
16745
|
+
description: "Brief \u2192 parallel design, copy, audience \u2192 assemble \u2192 schedule \u2192 ship \u2192 measure.",
|
|
16746
|
+
accentBadge: "bg-pink-500/15 text-pink-300",
|
|
16747
|
+
completionSummary: "Campaign shipped \xB7 142k emails \xB7 6.8% CTR \xB7 +18% ROAS vs. target",
|
|
16748
|
+
graph: buildGraph(
|
|
16749
|
+
[
|
|
16750
|
+
node("start", "start", "Campaign brief", 0, 120),
|
|
16751
|
+
node("strategist", "agent", "Strategy agent", 220, 120),
|
|
16752
|
+
node("design", "agent", "Design agent", 460, 10),
|
|
16753
|
+
node("copy", "agent", "Copy agent", 460, 120),
|
|
16754
|
+
node("audience", "agent", "Audience builder", 460, 230),
|
|
16755
|
+
node("assemble", "variable_aggregator", "Assemble campaign", 700, 120),
|
|
16756
|
+
node("schedule", "agent", "Schedule blast", 940, 120),
|
|
16757
|
+
node("send", "http_request", "Send via email", 1180, 120),
|
|
16758
|
+
node("metrics", "dashboard_output", "Campaign metrics", 1420, 120)
|
|
16759
|
+
],
|
|
16760
|
+
[
|
|
16761
|
+
edge("start", "strategist"),
|
|
16762
|
+
edge("strategist", "design"),
|
|
16763
|
+
edge("strategist", "copy"),
|
|
16764
|
+
edge("strategist", "audience"),
|
|
16765
|
+
edge("design", "assemble"),
|
|
16766
|
+
edge("copy", "assemble"),
|
|
16767
|
+
edge("audience", "assemble"),
|
|
16768
|
+
edge("assemble", "schedule"),
|
|
16769
|
+
edge("schedule", "send"),
|
|
16770
|
+
edge("send", "metrics")
|
|
16771
|
+
]
|
|
16772
|
+
),
|
|
16773
|
+
steps: [
|
|
16774
|
+
step("Receiving campaign brief\u2026", "start"),
|
|
16775
|
+
step("Strategist decomposing brief\u2026", "strategist"),
|
|
16776
|
+
step("Design, copy, and audience agents working in parallel\u2026", "design", "copy", "audience"),
|
|
16777
|
+
step("Assembling final campaign package\u2026", "assemble"),
|
|
16778
|
+
step("Scheduling send window\u2026", "schedule"),
|
|
16779
|
+
step("Dispatching through email provider\u2026", "send"),
|
|
16780
|
+
step("Measuring reach and engagement\u2026", "metrics")
|
|
16781
|
+
]
|
|
16782
|
+
};
|
|
16783
|
+
var inventoryWorkflow = {
|
|
16784
|
+
title: "Inventory \u2014 predictive reorder",
|
|
16785
|
+
description: "Read stock \u2192 forecast demand \u2192 filter low-stock SKUs \u2192 iterate orders \u2192 publish report.",
|
|
16786
|
+
accentBadge: "bg-orange-500/15 text-orange-300",
|
|
16787
|
+
completionSummary: "12 SKUs reordered \xB7 R$ 84k committed \xB7 projected stockout avoided",
|
|
16788
|
+
graph: buildGraph(
|
|
16789
|
+
[
|
|
16790
|
+
node("start", "start", "Daily sweep", 0, 120),
|
|
16791
|
+
node("stock", "datasource", "Read stock levels", 220, 120),
|
|
16792
|
+
node("forecast", "agent", "Demand forecaster", 460, 120),
|
|
16793
|
+
node("filter", "list_operator", "Filter low-stock", 700, 120),
|
|
16794
|
+
node("loop", "iteration", "Per SKU", 940, 120),
|
|
16795
|
+
node("supplier", "agent", "Supplier selection", 1180, 120),
|
|
16796
|
+
node("order", "http_request", "Place purchase order", 1420, 120),
|
|
16797
|
+
node("report", "dashboard_output", "Reorder report", 1660, 120)
|
|
16798
|
+
],
|
|
16799
|
+
[
|
|
16800
|
+
edge("start", "stock"),
|
|
16801
|
+
edge("stock", "forecast"),
|
|
16802
|
+
edge("forecast", "filter"),
|
|
16803
|
+
edge("filter", "loop"),
|
|
16804
|
+
edge("loop", "supplier"),
|
|
16805
|
+
edge("supplier", "order"),
|
|
16806
|
+
edge("order", "report")
|
|
16807
|
+
]
|
|
16808
|
+
),
|
|
16809
|
+
steps: [
|
|
16810
|
+
step("Kicking off daily inventory sweep\u2026", "start"),
|
|
16811
|
+
step("Reading current stock levels\u2026", "stock"),
|
|
16812
|
+
step("Forecasting demand with seasonality\u2026", "forecast"),
|
|
16813
|
+
step("Filtering SKUs below reorder threshold\u2026", "filter"),
|
|
16814
|
+
step("Iterating over flagged SKUs\u2026", "loop"),
|
|
16815
|
+
step("Selecting supplier per SKU\u2026", "supplier"),
|
|
16816
|
+
step("Placing purchase orders\u2026", "order"),
|
|
16817
|
+
step("Publishing reorder report\u2026", "report")
|
|
16818
|
+
]
|
|
16819
|
+
};
|
|
16820
|
+
var hrWorkflow = {
|
|
16821
|
+
title: "HR \u2014 recruitment pipeline",
|
|
16822
|
+
description: "Screen resumes \u2192 rank by fit \u2192 interview scheduling \u2192 decision \u2192 hiring dashboard.",
|
|
16823
|
+
accentBadge: "bg-green-500/15 text-green-300",
|
|
16824
|
+
completionSummary: "3 offers extended \xB7 48 candidates processed \xB7 avg cycle 6 days",
|
|
16825
|
+
graph: buildGraph(
|
|
16826
|
+
[
|
|
16827
|
+
node("start", "start", "New posting", 0, 120),
|
|
16828
|
+
node("pool", "datasource", "Resume pool", 220, 120),
|
|
16829
|
+
node("screen", "agent", "Resume screener", 460, 120),
|
|
16830
|
+
node("rank", "list_operator", "Rank by fit", 700, 120),
|
|
16831
|
+
node("schedule", "agent", "Schedule interviews", 940, 120),
|
|
16832
|
+
node("assess", "agent", "Skills assessment", 1180, 120),
|
|
16833
|
+
node("decide", "agent", "Decision engine", 1420, 120),
|
|
16834
|
+
node("hire", "dashboard_output", "Hiring dashboard", 1660, 120)
|
|
16835
|
+
],
|
|
16836
|
+
[
|
|
16837
|
+
edge("start", "pool"),
|
|
16838
|
+
edge("pool", "screen"),
|
|
16839
|
+
edge("screen", "rank"),
|
|
16840
|
+
edge("rank", "schedule"),
|
|
16841
|
+
edge("schedule", "assess"),
|
|
16842
|
+
edge("assess", "decide"),
|
|
16843
|
+
edge("decide", "hire")
|
|
16844
|
+
]
|
|
16845
|
+
),
|
|
16846
|
+
steps: [
|
|
16847
|
+
step("Job posting published\u2026", "start"),
|
|
16848
|
+
step("Pulling resume pool\u2026", "pool"),
|
|
16849
|
+
step("Screener agent filtering candidates\u2026", "screen"),
|
|
16850
|
+
step("Ranking candidates by role fit\u2026", "rank"),
|
|
16851
|
+
step("Scheduling interviews with top tier\u2026", "schedule"),
|
|
16852
|
+
step("Running skills assessment\u2026", "assess"),
|
|
16853
|
+
step("Decision engine producing offers\u2026", "decide"),
|
|
16854
|
+
step("Publishing to hiring dashboard\u2026", "hire")
|
|
16855
|
+
]
|
|
16856
|
+
};
|
|
16857
|
+
var customerAnalyticsWorkflow = {
|
|
16858
|
+
title: "Customer analytics \u2014 churn & LTV",
|
|
16859
|
+
description: "Segment customers \u2192 parallel churn and LTV models \u2192 combine \u2192 recommend retention plays.",
|
|
16860
|
+
accentBadge: "bg-indigo-500/15 text-indigo-300",
|
|
16861
|
+
completionSummary: "4 at-risk segments identified \xB7 17 retention plays ranked by expected LTV lift",
|
|
16862
|
+
graph: buildGraph(
|
|
16863
|
+
[
|
|
16864
|
+
node("start", "start", "Nightly analytics", 0, 120),
|
|
16865
|
+
node("events", "datasource", "Customer events", 220, 120),
|
|
16866
|
+
node("segment", "agent", "Segmentation agent", 460, 120),
|
|
16867
|
+
node("churn", "agent", "Churn model", 700, 10),
|
|
16868
|
+
node("ltv", "agent", "LTV model", 700, 230),
|
|
16869
|
+
node("combine", "variable_aggregator", "Combine insights", 940, 120),
|
|
16870
|
+
node("actions", "agent", "Action recommender", 1180, 120),
|
|
16871
|
+
node("dashboard", "dashboard_output", "Analytics dashboard", 1420, 120)
|
|
16872
|
+
],
|
|
16873
|
+
[
|
|
16874
|
+
edge("start", "events"),
|
|
16875
|
+
edge("events", "segment"),
|
|
16876
|
+
edge("segment", "churn"),
|
|
16877
|
+
edge("segment", "ltv"),
|
|
16878
|
+
edge("churn", "combine"),
|
|
16879
|
+
edge("ltv", "combine"),
|
|
16880
|
+
edge("combine", "actions"),
|
|
16881
|
+
edge("actions", "dashboard")
|
|
16882
|
+
]
|
|
16883
|
+
),
|
|
16884
|
+
steps: [
|
|
16885
|
+
step("Triggering nightly analytics\u2026", "start"),
|
|
16886
|
+
step("Pulling customer event stream\u2026", "events"),
|
|
16887
|
+
step("Segmentation agent clustering customers\u2026", "segment"),
|
|
16888
|
+
step("Churn and LTV models scoring in parallel\u2026", "churn", "ltv"),
|
|
16889
|
+
step("Combining predictions per segment\u2026", "combine"),
|
|
16890
|
+
step("Recommender ranking retention plays\u2026", "actions"),
|
|
16891
|
+
step("Publishing analytics dashboard\u2026", "dashboard")
|
|
16892
|
+
]
|
|
16893
|
+
};
|
|
16894
|
+
var lgpdWorkflow = {
|
|
16895
|
+
title: "LGPD compliance \u2014 privacy sweep",
|
|
16896
|
+
description: "Scan audit logs \u2192 detect PII access violations \u2192 remediate \u2192 notify DPO \u2192 report.",
|
|
16897
|
+
accentBadge: "bg-red-500/15 text-red-300",
|
|
16898
|
+
completionSummary: "2 violations remediated \xB7 DPO notified \xB7 compliance report filed",
|
|
16899
|
+
graph: buildGraph(
|
|
16900
|
+
[
|
|
16901
|
+
node("start", "start", "Daily privacy sweep", 0, 120),
|
|
16902
|
+
node("logs", "datasource", "Audit logs", 220, 120),
|
|
16903
|
+
node("scan", "agent", "PII access scanner", 460, 120),
|
|
16904
|
+
node("gate", "if_else", "Violations?", 700, 120),
|
|
16905
|
+
node("remediate", "agent", "Remediation agent", 940, 10),
|
|
16906
|
+
node("notify", "http_request", "Notify DPO", 1180, 10),
|
|
16907
|
+
node("report", "dashboard_output", "Compliance report", 1420, 120)
|
|
16908
|
+
],
|
|
16909
|
+
[
|
|
16910
|
+
edge("start", "logs"),
|
|
16911
|
+
edge("logs", "scan"),
|
|
16912
|
+
edge("scan", "gate"),
|
|
16913
|
+
edge("gate", "remediate"),
|
|
16914
|
+
edge("gate", "report"),
|
|
16915
|
+
edge("remediate", "notify"),
|
|
16916
|
+
edge("notify", "report")
|
|
16917
|
+
]
|
|
16918
|
+
),
|
|
16919
|
+
steps: [
|
|
16920
|
+
step("Starting daily privacy sweep\u2026", "start"),
|
|
16921
|
+
step("Pulling access audit logs\u2026", "logs"),
|
|
16922
|
+
step("Scanning for PII access violations\u2026", "scan"),
|
|
16923
|
+
step("Branching on findings\u2026", "gate"),
|
|
16924
|
+
step("Remediation agent applying fixes\u2026", "remediate"),
|
|
16925
|
+
step("Notifying data protection officer\u2026", "notify"),
|
|
16926
|
+
step("Filing compliance report\u2026", "report")
|
|
16927
|
+
]
|
|
16928
|
+
};
|
|
16418
16929
|
function EntityDrawer({
|
|
16419
16930
|
open,
|
|
16420
16931
|
onClose,
|
|
@@ -23704,6 +24215,7 @@ exports.DashboardView = DashboardView;
|
|
|
23704
24215
|
exports.DataPagination = DataPagination;
|
|
23705
24216
|
exports.DatePicker = DatePicker;
|
|
23706
24217
|
exports.DeleteSwipeAction = DeleteSwipeAction;
|
|
24218
|
+
exports.DepartmentWorkflowDemo = DepartmentWorkflowDemo;
|
|
23707
24219
|
exports.Description = Description4;
|
|
23708
24220
|
exports.DetailsPopover = DetailsPopover;
|
|
23709
24221
|
exports.DevModeBanner = DevModeBanner;
|
|
@@ -24068,12 +24580,14 @@ exports.cardPress = cardPress;
|
|
|
24068
24580
|
exports.computeDomain = computeDomain;
|
|
24069
24581
|
exports.computeSeries = computeSeries;
|
|
24070
24582
|
exports.createMotionProps = createMotionProps;
|
|
24583
|
+
exports.customerAnalyticsWorkflow = customerAnalyticsWorkflow;
|
|
24071
24584
|
exports.durations = durations;
|
|
24072
24585
|
exports.durationsReduced = durationsReduced;
|
|
24073
24586
|
exports.easings = easings;
|
|
24074
24587
|
exports.fadeOnly = fadeOnly;
|
|
24075
24588
|
exports.fadeScale = fadeScale;
|
|
24076
24589
|
exports.filterByPermission = filterByPermission;
|
|
24590
|
+
exports.financialWorkflow = financialWorkflow;
|
|
24077
24591
|
exports.formatAddress = formatAddress;
|
|
24078
24592
|
exports.formatCurrency = formatCurrency;
|
|
24079
24593
|
exports.formatCurrency2 = formatCurrency2;
|
|
@@ -24270,6 +24784,8 @@ exports.getUsGradient = getUsGradient;
|
|
|
24270
24784
|
exports.getUsHexColor = getUsHexColor;
|
|
24271
24785
|
exports.getUsPalette = getUsPalette;
|
|
24272
24786
|
exports.getVariants = getVariants;
|
|
24787
|
+
exports.hrWorkflow = hrWorkflow;
|
|
24788
|
+
exports.inventoryWorkflow = inventoryWorkflow;
|
|
24273
24789
|
exports.iosColors = iosColors;
|
|
24274
24790
|
exports.isValidArgentinaProvince = isValidArgentinaProvince;
|
|
24275
24791
|
exports.isValidAustraliaState = isValidAustraliaState;
|
|
@@ -24302,8 +24818,10 @@ exports.isValidThailandProvince = isValidThailandProvince;
|
|
|
24302
24818
|
exports.isValidTurkeyProvince = isValidTurkeyProvince;
|
|
24303
24819
|
exports.isValidUKNation = isValidUKNation;
|
|
24304
24820
|
exports.isValidUsState = isValidUsState;
|
|
24821
|
+
exports.lgpdWorkflow = lgpdWorkflow;
|
|
24305
24822
|
exports.listItem = listItem;
|
|
24306
24823
|
exports.listItemReduced = listItemReduced;
|
|
24824
|
+
exports.marketingWorkflow = marketingWorkflow;
|
|
24307
24825
|
exports.notificationBanner = notificationBanner;
|
|
24308
24826
|
exports.notificationBannerReduced = notificationBannerReduced;
|
|
24309
24827
|
exports.pageControlDot = pageControlDot;
|
|
@@ -24311,6 +24829,7 @@ exports.prefersReducedMotion = prefersReducedMotion;
|
|
|
24311
24829
|
exports.registerCountry = registerCountry;
|
|
24312
24830
|
exports.registerSubdivisionTheme = registerSubdivisionTheme;
|
|
24313
24831
|
exports.resolveGlassAccentRgb = resolveGlassAccentRgb;
|
|
24832
|
+
exports.salesWorkflow = salesWorkflow;
|
|
24314
24833
|
exports.selectIsAuthenticated = selectIsAuthenticated;
|
|
24315
24834
|
exports.selectShowShellChrome = selectShowShellChrome;
|
|
24316
24835
|
exports.selectUserInitial = selectUserInitial;
|
|
@@ -24332,5 +24851,5 @@ exports.usePullToRefresh = usePullToRefresh;
|
|
|
24332
24851
|
exports.validateDashboardSpec = validateDashboardSpec;
|
|
24333
24852
|
exports.xScale = xScale;
|
|
24334
24853
|
exports.yScale = yScale;
|
|
24335
|
-
//# sourceMappingURL=chunk-
|
|
24336
|
-
//# sourceMappingURL=chunk-
|
|
24854
|
+
//# sourceMappingURL=chunk-MV27AY4F.js.map
|
|
24855
|
+
//# sourceMappingURL=chunk-MV27AY4F.js.map
|