Plataforma completa de análisis de costos operativos basada en BPMN 2.0. Funcionalidades incluidas: - Import de archivos BPMN 2.0 por drag & drop + 3 procesos de ejemplo - Visualización read-only del diagrama (bpmn-js) - Configuración de actividades (costo, tiempo, recursos asignados) - CRUD de recursos (rol, persona, sistema, equipo, insumo) - Configuración global (moneda, overhead %, nombre, cliente) - Motor de simulación determinístico agregado con propagación de gateways XOR/AND - Reporte visual con mapa de calor en dos modos (relativo/absoluto) - Gráficos: KPIs, top actividades, composición, costo por recurso - Export PDF (jsPDF + html2canvas) y CSV (papaparse) - Persistencia en IndexedDB (Dexie) - 268 tests unitarios/integración + 6 E2E con Playwright - Deploy: https://process-cost-platform.pages.dev Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
86 lines
1.7 KiB
Plaintext
86 lines
1.7 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||
|
||
exports[`buildCostCompositionOption — estructura del objeto ECharts > snapshot: estructura completa del option del donut 1`] = `
|
||
{
|
||
"graphic": [
|
||
{
|
||
"left": "center",
|
||
"style": {
|
||
"fill": "#1e293b",
|
||
"fontFamily": "JetBrains Mono, monospace",
|
||
"fontSize": 13,
|
||
"fontWeight": "bold",
|
||
"text": "USD 1.200,00",
|
||
"textAlign": "center",
|
||
},
|
||
"top": "38%",
|
||
"type": "text",
|
||
},
|
||
],
|
||
"legend": {
|
||
"bottom": "2%",
|
||
"itemHeight": 12,
|
||
"itemWidth": 12,
|
||
"left": "center",
|
||
"textStyle": {
|
||
"color": "#475569",
|
||
"fontSize": 11,
|
||
},
|
||
},
|
||
"series": [
|
||
{
|
||
"avoidLabelOverlap": true,
|
||
"center": [
|
||
"50%",
|
||
"44%",
|
||
],
|
||
"data": [
|
||
{
|
||
"itemStyle": {
|
||
"color": "#3b82f6",
|
||
},
|
||
"name": "Costo directo",
|
||
"value": 1000,
|
||
},
|
||
{
|
||
"itemStyle": {
|
||
"color": "#94a3b8",
|
||
},
|
||
"name": "Costo indirecto (overhead)",
|
||
"value": 200,
|
||
},
|
||
],
|
||
"emphasis": {
|
||
"label": {
|
||
"fontSize": 13,
|
||
"fontWeight": "bold",
|
||
},
|
||
},
|
||
"itemStyle": {
|
||
"borderColor": "#fff",
|
||
"borderRadius": 4,
|
||
"borderWidth": 2,
|
||
},
|
||
"label": {
|
||
"fontSize": 11,
|
||
"formatter": [Function],
|
||
"show": true,
|
||
},
|
||
"labelLine": {
|
||
"length": 10,
|
||
"length2": 8,
|
||
},
|
||
"radius": [
|
||
"48%",
|
||
"68%",
|
||
],
|
||
"type": "pie",
|
||
},
|
||
],
|
||
"tooltip": {
|
||
"formatter": [Function],
|
||
"trigger": "item",
|
||
},
|
||
}
|
||
`;
|