@datatechsolutions/ui 2.11.74 → 2.11.75
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 +131 -131
- package/dist/astrlabe/index.mjs +3 -3
- package/dist/astrlabe/workflow-canvas.js +3 -3
- package/dist/astrlabe/workflow-canvas.mjs +2 -2
- package/dist/{chunk-PRCRY6MW.js → chunk-2VUZ4ZGV.js} +64 -64
- package/dist/{chunk-PRCRY6MW.js.map → chunk-2VUZ4ZGV.js.map} +1 -1
- package/dist/{chunk-NIGFMRWC.js → chunk-4VUNR53L.js} +121 -7
- package/dist/chunk-4VUNR53L.js.map +1 -0
- package/dist/{chunk-JV4V2FJP.mjs → chunk-RBDOC5QZ.mjs} +121 -7
- package/dist/chunk-RBDOC5QZ.mjs.map +1 -0
- package/dist/{chunk-HLFZARBM.mjs → chunk-WYHKTAQE.mjs} +3 -3
- package/dist/{chunk-HLFZARBM.mjs.map → chunk-WYHKTAQE.mjs.map} +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +744 -744
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-JV4V2FJP.mjs.map +0 -1
- package/dist/chunk-NIGFMRWC.js.map +0 -1
|
@@ -16467,7 +16467,7 @@ function DepartmentWorkflowDemo({
|
|
|
16467
16467
|
nodeAvatars
|
|
16468
16468
|
}) {
|
|
16469
16469
|
const t = { ...DEFAULT_THEME, ...theme };
|
|
16470
|
-
const { graph, steps, title, description, accentBadge, completionSummary } = workflow;
|
|
16470
|
+
const { graph, steps, title, description, accentBadge, completionSummary, nodeSubtitles } = workflow;
|
|
16471
16471
|
const [stepIndex, setStepIndex] = React12.useState(-1);
|
|
16472
16472
|
const intervalRef = React12.useRef(null);
|
|
16473
16473
|
const completedRef = React12.useRef(false);
|
|
@@ -16605,14 +16605,14 @@ function DepartmentWorkflowDemo({
|
|
|
16605
16605
|
const isStepDone = stepIndex > col.stepIndex;
|
|
16606
16606
|
const showsConnector = colIdx > 0;
|
|
16607
16607
|
const isParallel = col.nodes.length > 1;
|
|
16608
|
-
const nodeWidth = isParallel ? "w-[
|
|
16608
|
+
const nodeWidth = isParallel ? "w-[160px]" : "w-[180px]";
|
|
16609
16609
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-0", children: [
|
|
16610
|
-
showsConnector && /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "
|
|
16610
|
+
showsConnector && /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "28", height: "2", className: "mx-1 shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
16611
16611
|
"line",
|
|
16612
16612
|
{
|
|
16613
16613
|
x1: "0",
|
|
16614
16614
|
y1: "1",
|
|
16615
|
-
x2: "
|
|
16615
|
+
x2: "28",
|
|
16616
16616
|
y2: "1",
|
|
16617
16617
|
stroke: isStepDone ? t.completeEdgeStroke : isStepActive ? t.activeEdgeStroke : "#334155",
|
|
16618
16618
|
strokeWidth: "2",
|
|
@@ -16624,6 +16624,7 @@ function DepartmentWorkflowDemo({
|
|
|
16624
16624
|
const status = getStatus(node2);
|
|
16625
16625
|
const meta = getNodeMeta(node2.type);
|
|
16626
16626
|
const avatar = nodeAvatars?.[node2.id];
|
|
16627
|
+
const subtitle = nodeSubtitles?.[node2.id] ?? meta.tag;
|
|
16627
16628
|
const statusClass = status === "running" ? `scale-[1.03] ring-2 ${t.activeRing}` : status === "complete" ? "ring-1 ring-emerald-500/40" : "opacity-50";
|
|
16628
16629
|
const tagBadge = meta.tag === "agent" || meta.tag === "agent.tool" ? "bg-purple-500/20 text-purple-700 dark:text-purple-300" : meta.tag === "datasource" || meta.tag === "kb" || meta.tag === "entity" ? "bg-sky-500/20 text-sky-700 dark:text-sky-300" : meta.tag === "http" ? "bg-cyan-500/20 text-cyan-700 dark:text-cyan-300" : meta.tag === "code" || meta.tag === "template" ? "bg-amber-500/20 text-amber-700 dark:text-amber-300" : meta.tag === "branch" || meta.tag === "classifier" ? "bg-orange-500/20 text-orange-700 dark:text-orange-300" : meta.tag === "aggregate" || meta.tag === "assign" ? "bg-yellow-500/20 text-yellow-700 dark:text-yellow-300" : meta.tag === "iterate" || meta.tag === "list" ? "bg-fuchsia-500/20 text-fuchsia-700 dark:text-fuchsia-300" : meta.tag === "dashboard" || meta.tag === "answer" || meta.tag === "start" || meta.tag === "end" ? "bg-emerald-500/20 text-emerald-700 dark:text-emerald-300" : "bg-slate-500/20 text-slate-700 dark:text-slate-300";
|
|
16629
16630
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -16643,7 +16644,7 @@ function DepartmentWorkflowDemo({
|
|
|
16643
16644
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-9 w-9 shrink-0 items-center justify-center rounded-xl ${meta.bg}`, children: /* @__PURE__ */ jsxRuntime.jsx(meta.icon, { className: `h-5 w-5 ${meta.color}` }) }),
|
|
16644
16645
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
16645
16646
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-[12px] font-semibold leading-tight text-gray-900 dark:text-white", children: node2.data.label }),
|
|
16646
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
16647
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "line-clamp-2 text-[9.5px] text-gray-500 dark:text-gray-400 mt-0.5 leading-snug", children: subtitle })
|
|
16647
16648
|
] }),
|
|
16648
16649
|
status === "complete" && /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-4 w-4 shrink-0 text-emerald-500" })
|
|
16649
16650
|
] }),
|
|
@@ -16687,6 +16688,16 @@ var financialWorkflow = {
|
|
|
16687
16688
|
description: "Q4 close \u2014 aggregate transactions, compute Brazilian taxes in parallel, audit for compliance, publish report.",
|
|
16688
16689
|
accentBadge: "bg-emerald-500/15 text-emerald-300",
|
|
16689
16690
|
completionSummary: "Quarterly report published \xB7 R$ 387k taxes calculated \xB7 0 compliance violations",
|
|
16691
|
+
nodeSubtitles: {
|
|
16692
|
+
start: "Trigger Q4",
|
|
16693
|
+
"fetch-tx": "Aurora \xB7 12k linhas",
|
|
16694
|
+
icms: "estadual",
|
|
16695
|
+
"pis-cofins": "federal",
|
|
16696
|
+
iss: "municipal",
|
|
16697
|
+
aggregate: "3 fontes \u2192 consolidado",
|
|
16698
|
+
audit: "Carlos \xB7 regras Receita",
|
|
16699
|
+
report: "PDF + dashboard"
|
|
16700
|
+
},
|
|
16690
16701
|
graph: buildGraph(
|
|
16691
16702
|
[
|
|
16692
16703
|
node("start", "start", "Trigger Q4 close", 0, 120),
|
|
@@ -16724,6 +16735,17 @@ var salesWorkflow = {
|
|
|
16724
16735
|
description: "Lead arrives \u2192 agents score, qualify, draft proposal, and drive negotiation to close.",
|
|
16725
16736
|
accentBadge: "bg-blue-500/15 text-blue-300",
|
|
16726
16737
|
completionSummary: "Deal closed \xB7 R$ 45k/m\xEAs \xB7 14-day cycle \xB7 Score 85/100",
|
|
16738
|
+
nodeSubtitles: {
|
|
16739
|
+
start: "XPTO Ltda",
|
|
16740
|
+
intake: "CRM \xB7 enriquecimento",
|
|
16741
|
+
score: "modelo \xB7 0-100",
|
|
16742
|
+
gate: "fork \xB7 \u226580",
|
|
16743
|
+
qualify: "Beatriz \xB7 SQL/MQL",
|
|
16744
|
+
nurture: "fila de nutri\xE7\xE3o",
|
|
16745
|
+
proposal: "CPQ \xB7 template",
|
|
16746
|
+
negotiate: "Beatriz \xB7 desconto",
|
|
16747
|
+
close: "fatura \xB7 CRM"
|
|
16748
|
+
},
|
|
16727
16749
|
graph: buildGraph(
|
|
16728
16750
|
[
|
|
16729
16751
|
node("start", "start", "New lead (XPTO)", 0, 120),
|
|
@@ -16763,6 +16785,17 @@ var marketingWorkflow = {
|
|
|
16763
16785
|
description: "Brief \u2192 parallel design, copy, audience \u2192 assemble \u2192 schedule \u2192 ship \u2192 measure.",
|
|
16764
16786
|
accentBadge: "bg-pink-500/15 text-pink-300",
|
|
16765
16787
|
completionSummary: "Campaign shipped \xB7 142k emails \xB7 6.8% CTR \xB7 +18% ROAS vs. target",
|
|
16788
|
+
nodeSubtitles: {
|
|
16789
|
+
start: "brief recebido",
|
|
16790
|
+
strategist: "decompor objetivos",
|
|
16791
|
+
design: "creative \xB7 4 pe\xE7as",
|
|
16792
|
+
copy: "headline \xB7 CTA",
|
|
16793
|
+
audience: "segmenta\xE7\xE3o \xB7 142k",
|
|
16794
|
+
assemble: "pacote final",
|
|
16795
|
+
schedule: "janela ideal",
|
|
16796
|
+
send: "SES \xB7 142k disparos",
|
|
16797
|
+
metrics: "CTR \xB7 ROAS \xB7 conv"
|
|
16798
|
+
},
|
|
16766
16799
|
graph: buildGraph(
|
|
16767
16800
|
[
|
|
16768
16801
|
node("start", "start", "Campaign brief", 0, 120),
|
|
@@ -16803,6 +16836,16 @@ var inventoryWorkflow = {
|
|
|
16803
16836
|
description: "Read stock \u2192 forecast demand \u2192 filter low-stock SKUs \u2192 iterate orders \u2192 publish report.",
|
|
16804
16837
|
accentBadge: "bg-orange-500/15 text-orange-300",
|
|
16805
16838
|
completionSummary: "12 SKUs reordered \xB7 R$ 84k committed \xB7 projected stockout avoided",
|
|
16839
|
+
nodeSubtitles: {
|
|
16840
|
+
start: "cron di\xE1rio 06:00",
|
|
16841
|
+
stock: "1.847 SKUs \xB7 ABC",
|
|
16842
|
+
forecast: "Paulo \xB7 sazonalidade",
|
|
16843
|
+
filter: "abaixo do m\xEDn",
|
|
16844
|
+
loop: "por SKU \xB7 12 itens",
|
|
16845
|
+
supplier: "cota\xE7\xE3o \xB7 3 fornec",
|
|
16846
|
+
order: "PO \xB7 ERP/SAP",
|
|
16847
|
+
report: "painel reposi\xE7\xE3o"
|
|
16848
|
+
},
|
|
16806
16849
|
graph: buildGraph(
|
|
16807
16850
|
[
|
|
16808
16851
|
node("start", "start", "Daily sweep", 0, 120),
|
|
@@ -16840,6 +16883,16 @@ var hrWorkflow = {
|
|
|
16840
16883
|
description: "Screen resumes \u2192 rank by fit \u2192 interview scheduling \u2192 decision \u2192 hiring dashboard.",
|
|
16841
16884
|
accentBadge: "bg-green-500/15 text-green-300",
|
|
16842
16885
|
completionSummary: "3 offers extended \xB7 48 candidates processed \xB7 avg cycle 6 days",
|
|
16886
|
+
nodeSubtitles: {
|
|
16887
|
+
start: "vaga publicada",
|
|
16888
|
+
pool: "47 curr\xEDculos",
|
|
16889
|
+
screen: "triagem por skill",
|
|
16890
|
+
rank: "fit score \xB7 top 5",
|
|
16891
|
+
schedule: "agenda integrada",
|
|
16892
|
+
assess: "teste t\xE9cnico",
|
|
16893
|
+
decide: "recomenda\xE7\xE3o",
|
|
16894
|
+
hire: "painel admiss\xE3o"
|
|
16895
|
+
},
|
|
16843
16896
|
graph: buildGraph(
|
|
16844
16897
|
[
|
|
16845
16898
|
node("start", "start", "New posting", 0, 120),
|
|
@@ -16877,6 +16930,16 @@ var customerAnalyticsWorkflow = {
|
|
|
16877
16930
|
description: "Segment customers \u2192 parallel churn and LTV models \u2192 combine \u2192 recommend retention plays.",
|
|
16878
16931
|
accentBadge: "bg-indigo-500/15 text-indigo-300",
|
|
16879
16932
|
completionSummary: "4 at-risk segments identified \xB7 17 retention plays ranked by expected LTV lift",
|
|
16933
|
+
nodeSubtitles: {
|
|
16934
|
+
start: "cron noturno",
|
|
16935
|
+
events: "12k eventos \xB7 30d",
|
|
16936
|
+
segment: "clusters \xB7 k=8",
|
|
16937
|
+
churn: "modelo \xB7 risco%",
|
|
16938
|
+
ltv: "modelo \xB7 R$/cliente",
|
|
16939
|
+
combine: "matriz risco \xD7 LTV",
|
|
16940
|
+
actions: "plays priorizados",
|
|
16941
|
+
dashboard: "painel reten\xE7\xE3o"
|
|
16942
|
+
},
|
|
16880
16943
|
graph: buildGraph(
|
|
16881
16944
|
[
|
|
16882
16945
|
node("start", "start", "Nightly analytics", 0, 120),
|
|
@@ -16914,6 +16977,17 @@ var payrollWorkflow = {
|
|
|
16914
16977
|
description: "Ponto \u2192 c\xE1lculos paralelos (FGTS / INSS / IRRF) \u2192 encargos \u2192 S-1200 \u2192 dashboard.",
|
|
16915
16978
|
accentBadge: "bg-cyan-500/15 text-cyan-300",
|
|
16916
16979
|
completionSummary: "142 holerites processados \xB7 R$ 890k bruto \xB7 eSocial S-1200 transmitido",
|
|
16980
|
+
nodeSubtitles: {
|
|
16981
|
+
start: "m\xEAs fechado",
|
|
16982
|
+
attendance: "ponto \xB7 142 colab",
|
|
16983
|
+
fgts: "8% \xB7 GRRF",
|
|
16984
|
+
inss: "tabela progressiva",
|
|
16985
|
+
irrf: "tabela vigente",
|
|
16986
|
+
aggregate: "Laura \xB7 holerites",
|
|
16987
|
+
esocial: "evento S-1200",
|
|
16988
|
+
transmit: "TXT \xB7 governo",
|
|
16989
|
+
report: "painel folha"
|
|
16990
|
+
},
|
|
16917
16991
|
graph: buildGraph(
|
|
16918
16992
|
[
|
|
16919
16993
|
node("start", "start", "Fechamento mensal", 0, 120),
|
|
@@ -16954,6 +17028,17 @@ var supportWorkflow = {
|
|
|
16954
17028
|
description: "Ticket \u2192 paralelo (hist\xF3rico do cliente, status do pedido, base de conhecimento) \u2192 classificar \u2192 rascunhar \u2192 revisar \u2192 responder.",
|
|
16955
17029
|
accentBadge: "bg-teal-500/15 text-teal-300",
|
|
16956
17030
|
completionSummary: "Ticket respondido em 2min \xB7 CSAT esperado 4.8/5 \xB7 SLA cumprido",
|
|
17031
|
+
nodeSubtitles: {
|
|
17032
|
+
start: "Maria \xB7 #847",
|
|
17033
|
+
history: "CRM \xB7 18 meses",
|
|
17034
|
+
order: "rastreio Correios",
|
|
17035
|
+
kb: "FAQ \xB7 embeddings",
|
|
17036
|
+
classify: "intent \xB7 prioridade",
|
|
17037
|
+
gate: "urgente?",
|
|
17038
|
+
draft: "Camila \xB7 resposta",
|
|
17039
|
+
review: "humano (opt)",
|
|
17040
|
+
send: "WhatsApp \xB7 email"
|
|
17041
|
+
},
|
|
16957
17042
|
graph: buildGraph(
|
|
16958
17043
|
[
|
|
16959
17044
|
node("start", "start", "Ticket #847", 0, 120),
|
|
@@ -16994,6 +17079,16 @@ var manufacturingWorkflow = {
|
|
|
16994
17079
|
description: "Demanda \u2192 BOM \u2192 verificar estoque \u2192 alocar centros de trabalho \u2192 QC \u2192 liberar OPs.",
|
|
16995
17080
|
accentBadge: "bg-violet-500/15 text-violet-300",
|
|
16996
17081
|
completionSummary: "34 OPs liberadas \xB7 OEE 87% \xB7 3 desvios de QC tratados automaticamente",
|
|
17082
|
+
nodeSubtitles: {
|
|
17083
|
+
start: "cron semanal",
|
|
17084
|
+
demand: "forecast S&OP",
|
|
17085
|
+
bom: "componentes \xB7 280",
|
|
17086
|
+
stock: "mat\xE9ria-prima",
|
|
17087
|
+
schedule: "MRP \xB7 5 centros",
|
|
17088
|
+
release: "34 OPs",
|
|
17089
|
+
qc: "amostragem \xB7 99.4%",
|
|
17090
|
+
report: "painel produ\xE7\xE3o"
|
|
17091
|
+
},
|
|
16997
17092
|
graph: buildGraph(
|
|
16998
17093
|
[
|
|
16999
17094
|
node("start", "start", "Trigger MRP semanal", 0, 120),
|
|
@@ -17031,6 +17126,16 @@ var logisticsWorkflow = {
|
|
|
17031
17126
|
description: "Pedidos \u2192 paralelo (tr\xE2nsito, frota, janelas) \u2192 otimizador \u2192 despacho \u2192 tracking.",
|
|
17032
17127
|
accentBadge: "bg-sky-500/15 text-sky-300",
|
|
17033
17128
|
completionSummary: "28 entregas roteirizadas \xB7 -12% km \xB7 94% on-time esperado",
|
|
17129
|
+
nodeSubtitles: {
|
|
17130
|
+
start: "28 pedidos SP",
|
|
17131
|
+
traffic: "Google Maps API",
|
|
17132
|
+
fleet: "4 ve\xEDculos \xB7 disp",
|
|
17133
|
+
windows: "janelas \xB7 cliente",
|
|
17134
|
+
optimize: "TSP \xB7 OR-tools",
|
|
17135
|
+
dispatch: "app motorista",
|
|
17136
|
+
notify: "WhatsApp Bus",
|
|
17137
|
+
track: "painel ao vivo"
|
|
17138
|
+
},
|
|
17034
17139
|
graph: buildGraph(
|
|
17035
17140
|
[
|
|
17036
17141
|
node("start", "start", "28 pedidos SP", 0, 120),
|
|
@@ -17068,6 +17173,15 @@ var lgpdWorkflow = {
|
|
|
17068
17173
|
description: "Scan audit logs \u2192 detect PII access violations \u2192 remediate \u2192 notify DPO \u2192 report.",
|
|
17069
17174
|
accentBadge: "bg-red-500/15 text-red-300",
|
|
17070
17175
|
completionSummary: "2 violations remediated \xB7 DPO notified \xB7 compliance report filed",
|
|
17176
|
+
nodeSubtitles: {
|
|
17177
|
+
start: "sweep di\xE1rio",
|
|
17178
|
+
logs: "CloudTrail \xB7 24h",
|
|
17179
|
+
scan: "Roberta \xB7 regex PII",
|
|
17180
|
+
gate: "viola\xE7\xF5es?",
|
|
17181
|
+
remediate: "mascarar \xB7 notificar",
|
|
17182
|
+
notify: "email DPO",
|
|
17183
|
+
report: "painel ANPD"
|
|
17184
|
+
},
|
|
17071
17185
|
graph: buildGraph(
|
|
17072
17186
|
[
|
|
17073
17187
|
node("start", "start", "Daily privacy sweep", 0, 120),
|
|
@@ -25414,5 +25528,5 @@ exports.usePullToRefresh = usePullToRefresh;
|
|
|
25414
25528
|
exports.validateDashboardSpec = validateDashboardSpec;
|
|
25415
25529
|
exports.xScale = xScale;
|
|
25416
25530
|
exports.yScale = yScale;
|
|
25417
|
-
//# sourceMappingURL=chunk-
|
|
25418
|
-
//# sourceMappingURL=chunk-
|
|
25531
|
+
//# sourceMappingURL=chunk-4VUNR53L.js.map
|
|
25532
|
+
//# sourceMappingURL=chunk-4VUNR53L.js.map
|