@libxai/board 1.9.49 → 1.9.50
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/index.cjs +928 -73
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +706 -99
- package/dist/index.d.ts +706 -99
- package/dist/index.js +928 -73
- package/dist/index.js.map +1 -1
- package/dist/styles.css +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,12 @@ interface TaskTag {
|
|
|
20
20
|
name: string;
|
|
21
21
|
color: string;
|
|
22
22
|
}
|
|
23
|
+
interface RiesgoDeLaTarea {
|
|
24
|
+
id: string;
|
|
25
|
+
codigo: string;
|
|
26
|
+
titulo: string;
|
|
27
|
+
nivel: 'bajo' | 'medio' | 'alto' | 'critico';
|
|
28
|
+
}
|
|
23
29
|
interface Task {
|
|
24
30
|
id: string;
|
|
25
31
|
name: string;
|
|
@@ -34,6 +40,8 @@ interface Task {
|
|
|
34
40
|
}>;
|
|
35
41
|
status?: string;
|
|
36
42
|
dependencies?: string[];
|
|
43
|
+
/** R6 · los riesgos abiertos que afectan a la tarea (los pone la app: punto en la fila y en su panel) */
|
|
44
|
+
riesgos?: RiesgoDeLaTarea[];
|
|
37
45
|
/**
|
|
38
46
|
* QA Asakaa · mejora fuerte 5: el tipo (FS/SS/FF/SF) y el desfase (días hábiles) de cada
|
|
39
47
|
* predecesora. Un id de `dependencies` sin entrada aquí es FS sin desfase.
|
|
@@ -47,6 +55,12 @@ interface Task {
|
|
|
47
55
|
isExpanded?: boolean;
|
|
48
56
|
isMilestone?: boolean;
|
|
49
57
|
isCriticalPath?: boolean;
|
|
58
|
+
/** A17 · fijada a mano: nada la mueve, ni arrastrar ni los enlaces. Si un enlace deja de cumplirse, sale como conflicto. */
|
|
59
|
+
fijada?: boolean;
|
|
60
|
+
/** A17 · restricción: no empieza antes de esta fecha. */
|
|
61
|
+
noAntesDe?: Date;
|
|
62
|
+
/** A17 · restricción: debe terminar como tarde esta fecha. */
|
|
63
|
+
terminarEl?: Date;
|
|
50
64
|
cpmData?: {
|
|
51
65
|
earlyStart: number;
|
|
52
66
|
earlyFinish: number;
|
|
@@ -88,13 +102,13 @@ interface Task {
|
|
|
88
102
|
relativeTime: string;
|
|
89
103
|
};
|
|
90
104
|
}
|
|
91
|
-
type TimeScale = 'day' | 'week' | 'month';
|
|
105
|
+
type TimeScale = 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
92
106
|
type Theme$1 = 'dark' | 'light' | 'neutral';
|
|
93
107
|
type RowDensity = 'compact' | 'comfortable' | 'spacious';
|
|
94
108
|
type DependencyLineStyle = 'curved' | 'squared';
|
|
95
109
|
/** Gantt ronda 2 (Yesid) · R4 · 'overdue': sin terminar y con el fin ya pasado. */
|
|
96
110
|
type TaskFilterType = 'all' | 'incomplete' | 'in_progress' | 'completed' | 'overdue';
|
|
97
|
-
type ColumnType$1 = 'name' | 'startDate' | 'endDate' | 'duration' | 'assignees' | 'status' | 'progress' | 'priority';
|
|
111
|
+
type ColumnType$1 = 'name' | 'startDate' | 'endDate' | 'duration' | 'assignees' | 'status' | 'progress' | 'priority' | 'predecessors' | 'hours' | 'cost' | 'slack' | 'baselineEnd' | 'variance';
|
|
98
112
|
interface GanttColumn {
|
|
99
113
|
id: ColumnType$1;
|
|
100
114
|
label: string;
|
|
@@ -421,6 +435,10 @@ interface GanttWorkingDaysConfig {
|
|
|
421
435
|
enabledWeekdays?: boolean[];
|
|
422
436
|
/** Holiday dates in 'YYYY-MM-DD' (workspace-local) to exclude. */
|
|
423
437
|
holidayDates?: Set<string> | string[];
|
|
438
|
+
/** G15 · 'YYYY-MM-DD' → nombre del festivo, para su tooltip. */
|
|
439
|
+
holidayNames?: Record<string, string>;
|
|
440
|
+
/** A20 · la jornada, en minutos: sin ella no se mira la sobreasignación. */
|
|
441
|
+
minutosPorDia?: number;
|
|
424
442
|
}
|
|
425
443
|
interface GanttConfig {
|
|
426
444
|
theme?: Theme$1;
|
|
@@ -744,6 +762,8 @@ interface GanttConfig {
|
|
|
744
762
|
onTaskDuplicate?: (task: Task) => void;
|
|
745
763
|
/** 1.9.47 · QA Asakaa E14: el menú contextual «Dependencias…» (si falta, abre onTaskEdit). */
|
|
746
764
|
onTaskDependencies?: (task: Task) => void;
|
|
765
|
+
/** A17 · se intentó mover una tarea fijada. */
|
|
766
|
+
onTareaFijada?: (task: Task) => void;
|
|
747
767
|
/** 1.9.47 · QA Asakaa E14: una tarea se soltó antes de que acabe su predecesora y se ajustó al primer día posible. */
|
|
748
768
|
onDependencyConstraint?: (info: {
|
|
749
769
|
task: Task;
|
|
@@ -764,6 +784,10 @@ interface GanttConfig {
|
|
|
764
784
|
rateMap?: Record<string, number>;
|
|
765
785
|
/** v2.5.0: Default hourly rate fallback when rateMap has no match for a user */
|
|
766
786
|
defaultRate?: number;
|
|
787
|
+
/** A14 · quien puede ver dinero: sin esto, la columna Costo no se ofrece. */
|
|
788
|
+
verCostos?: boolean;
|
|
789
|
+
/** A14 · el dinero con el formato de la app. */
|
|
790
|
+
formatearDinero?: (valor: number) => string;
|
|
767
791
|
}
|
|
768
792
|
|
|
769
793
|
/**
|
|
@@ -2959,6 +2983,117 @@ onCreateTask, taskFilter, // v0.17.300: Task filter
|
|
|
2959
2983
|
onTaskFilterChange, hideCompleted, // v0.18.0: Hide completed toggle
|
|
2960
2984
|
onHideCompletedChange, toolbarRightContent, wbsLevel, onWbsLevelChange, maxWbsDepth, viewMode, onViewModeChange, projectForecast, hideForecastHud, currencyCode, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, onExportMSProject, showCriticalPath, onShowCriticalPathChange, showDependencies, onShowDependenciesChange, highlightWeekends, onHighlightWeekendsChange, showBaseline, onShowBaselineChange, onCopySnapshotLink, hasDependencies, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
2961
2985
|
|
|
2986
|
+
/**
|
|
2987
|
+
* ═══ EL MOTOR DEL CRONOGRAMA (QA Asakaa, mejora fuerte 5) ════════════════════════
|
|
2988
|
+
*
|
|
2989
|
+
* Yesid: «Dependencias con tipo (fin-inicio, inicio-inicio…) y desfase […];
|
|
2990
|
+
* reprogramación automática o, como mínimo, aviso de conflicto; duraciones en días
|
|
2991
|
+
* hábiles con festivos y fines de semana; hitos en su fecha exacta».
|
|
2992
|
+
*
|
|
2993
|
+
* Decisiones de Arcadio (16-oct):
|
|
2994
|
+
* · cada enlace tiene tipo (FS, SS, FF, SF — los códigos de MS Project) y desfase en
|
|
2995
|
+
* DÍAS HÁBILES (negativo = adelanto);
|
|
2996
|
+
* · el calendario es el del espacio: sus días laborables y sus festivos;
|
|
2997
|
+
* · si una predecesora se atrasa, sus sucesoras se EMPUJAN lo justo; si se adelanta,
|
|
2998
|
+
* se quedan donde están (nunca se adelantan solas).
|
|
2999
|
+
*
|
|
3000
|
+
* Puro: sin React. Las fechas son días (la hora no cuenta). Sin calendario, todos los
|
|
3001
|
+
* días son hábiles — lo que hacía el Gantt hasta ahora.
|
|
3002
|
+
*/
|
|
3003
|
+
|
|
3004
|
+
type TipoDeEnlace = 'FS' | 'SS' | 'FF' | 'SF';
|
|
3005
|
+
interface EnlaceDeTarea {
|
|
3006
|
+
/** La predecesora (la tarea de la que depende). */
|
|
3007
|
+
id: string;
|
|
3008
|
+
type: TipoDeEnlace;
|
|
3009
|
+
/** Días hábiles; negativo = adelanto. */
|
|
3010
|
+
lag: number;
|
|
3011
|
+
}
|
|
3012
|
+
interface Calendario {
|
|
3013
|
+
esHabil(d: Date): boolean;
|
|
3014
|
+
}
|
|
3015
|
+
/** Todos los días hábiles: el comportamiento de siempre si no hay calendario. */
|
|
3016
|
+
declare const TODOS_LOS_DIAS: Calendario;
|
|
3017
|
+
declare function calendarioDe(cfg?: GanttWorkingDaysConfig | null): Calendario;
|
|
3018
|
+
/** El primer día hábil desde `d` (incluido), hacia adelante o hacia atrás. */
|
|
3019
|
+
declare function habilDesde(d: Date, cal: Calendario, haciaAtras?: boolean): Date;
|
|
3020
|
+
/**
|
|
3021
|
+
* `d` más `n` días hábiles. Con n = 0, el propio día si es hábil (si no, el siguiente).
|
|
3022
|
+
* Negativo cuenta hacia atrás.
|
|
3023
|
+
*/
|
|
3024
|
+
declare function sumarHabiles(d: Date, n: number, cal: Calendario): Date;
|
|
3025
|
+
/** Días hábiles de `inicio` a `fin`, los dos incluidos (la duración de una barra). Mínimo 1. */
|
|
3026
|
+
/**
|
|
3027
|
+
* L1 · LA unidad del retraso: días hábiles de `desde` a `hasta`, sin contar `desde`; negativo si `hasta` es anterior. El 0 existe
|
|
3028
|
+
* (`habilesEntre` cuenta duraciones y nunca baja de 1).
|
|
3029
|
+
*/
|
|
3030
|
+
declare function diferenciaHabil(desde: Date, hasta: Date, cal: Calendario): number;
|
|
3031
|
+
declare function habilesEntre(inicio: Date, fin: Date, cal: Calendario): number;
|
|
3032
|
+
/** El fin de una tarea que empieza en `inicio` y dura `dias` hábiles. */
|
|
3033
|
+
declare function finConDuracion(inicio: Date, dias: number, cal: Calendario): Date;
|
|
3034
|
+
/** Los enlaces de una tarea: los que trae con tipo, y FS sin desfase para los ids sueltos. */
|
|
3035
|
+
declare function enlacesDe(t: Pick<Task, 'dependencies' | 'dependencyLinks'>): EnlaceDeTarea[];
|
|
3036
|
+
interface Limite {
|
|
3037
|
+
/** Lo más pronto que puede empezar / terminar la sucesora por este enlace. */
|
|
3038
|
+
inicioMin?: Date;
|
|
3039
|
+
finMin?: Date;
|
|
3040
|
+
enlace: EnlaceDeTarea;
|
|
3041
|
+
predecesora: Task;
|
|
3042
|
+
/** A17 · no lo pide un enlace, sino la restricción «no antes de» de la propia tarea. */
|
|
3043
|
+
restriccion?: boolean;
|
|
3044
|
+
}
|
|
3045
|
+
/** Lo que exige UN enlace a su sucesora (null si la predecesora no tiene fechas). */
|
|
3046
|
+
declare function limiteDelEnlace(enlace: EnlaceDeTarea, pred: Task, cal: Calendario): Limite | null;
|
|
3047
|
+
interface Ajuste {
|
|
3048
|
+
inicio: Date;
|
|
3049
|
+
fin: Date;
|
|
3050
|
+
/** El enlace que obligó a mover la tarea; null si no hubo que moverla. */
|
|
3051
|
+
porQue: Limite | null;
|
|
3052
|
+
}
|
|
3053
|
+
/**
|
|
3054
|
+
* Las fechas más cercanas a las pedidas que cumplen TODOS los enlaces de la tarea, sin
|
|
3055
|
+
* cambiar su duración en días hábiles. Si las pedidas ya los cumplen, se devuelven tal cual
|
|
3056
|
+
* (una tarea se puede poner MÁS TARDE de lo que exigen sus enlaces: no se adelanta sola).
|
|
3057
|
+
* Un hito ocupa un solo día: inicio = fin.
|
|
3058
|
+
*/
|
|
3059
|
+
declare function fechasQueCumplen(tarea: Pick<Task, 'id' | 'dependencies' | 'dependencyLinks' | 'isMilestone' | 'noAntesDe'>, inicio: Date, fin: Date, todas: Task[] | Map<string, Task>, cal: Calendario): Ajuste;
|
|
3060
|
+
interface TareaEmpujada {
|
|
3061
|
+
id: string;
|
|
3062
|
+
startDate: Date;
|
|
3063
|
+
endDate: Date;
|
|
3064
|
+
porQue: Limite;
|
|
3065
|
+
}
|
|
3066
|
+
/**
|
|
3067
|
+
* Tras mover unas tareas, EMPUJA a las sucesoras que dejaron de cumplir su enlace, en
|
|
3068
|
+
* cadena, lo justo. Nunca adelanta a ninguna. Devuelve solo las que se movieron (con su
|
|
3069
|
+
* porqué); quien llama las aplica y las guarda.
|
|
3070
|
+
*/
|
|
3071
|
+
declare function empujarSucesoras(todas: Task[], movidas: Iterable<string>, cal: Calendario): TareaEmpujada[];
|
|
3072
|
+
interface Conflicto {
|
|
3073
|
+
sucesora: Task;
|
|
3074
|
+
predecesora: Task;
|
|
3075
|
+
enlace: EnlaceDeTarea;
|
|
3076
|
+
/** Días hábiles que habría que correr la sucesora para cumplir el enlace. */
|
|
3077
|
+
dias: number;
|
|
3078
|
+
}
|
|
3079
|
+
/** Los enlaces que NO se cumplen hoy (para marcarlos y avisar). */
|
|
3080
|
+
declare function conflictosDelCronograma(todas: Task[], cal: Calendario): Conflicto[];
|
|
3081
|
+
|
|
3082
|
+
/**
|
|
3083
|
+
* A14 (revisión de Yesid) · LAS COLUMNAS A ELECCIÓN del Gantt v6: se añaden con el «+» del encabezado. Aquí solo está qué
|
|
3084
|
+
* son y qué texto lleva cada celda; los calculados no se guardan, salen de la tarea, del calendario y de la línea base.
|
|
3085
|
+
*/
|
|
3086
|
+
|
|
3087
|
+
interface ContextoDeColumnas {
|
|
3088
|
+
cal: Calendario;
|
|
3089
|
+
es: boolean;
|
|
3090
|
+
/** id → WBS, para nombrar las predecesoras. */
|
|
3091
|
+
wbsDe: Map<string, string>;
|
|
3092
|
+
/** Tarifa por hora de una tarea (la de su responsable). */
|
|
3093
|
+
tarifa?: (t: Task) => number;
|
|
3094
|
+
dinero?: (n: number) => string;
|
|
3095
|
+
}
|
|
3096
|
+
|
|
2962
3097
|
interface TaskGridProps {
|
|
2963
3098
|
tasks: Task[];
|
|
2964
3099
|
theme: any;
|
|
@@ -3012,12 +3147,28 @@ interface TaskGridProps {
|
|
|
3012
3147
|
showCriticalPath?: boolean;
|
|
3013
3148
|
/** Gantt v6 (Asakaa): la tabla de la maqueta — Tarea · Resp. · Inicio · Fin · %, cabecera de 60 px. */
|
|
3014
3149
|
v6?: boolean;
|
|
3150
|
+
/** G15 · Alt+←/→: mover la tarea N días hábiles. */
|
|
3151
|
+
onMoverDias?: (task: Task, dias: number) => void;
|
|
3152
|
+
/** A12 · editar en la celda. */
|
|
3153
|
+
puedeEditarEnTabla?: (task: Task) => boolean;
|
|
3154
|
+
onDuracionEnTabla?: (task: Task, dias: number) => void;
|
|
3155
|
+
onProgresoEnTabla?: (task: Task, avance: number) => void;
|
|
3156
|
+
/** A14 · las columnas del «+». */
|
|
3157
|
+
columnasV6?: {
|
|
3158
|
+
elegidas: ColumnType$1[];
|
|
3159
|
+
alternar: (id: ColumnType$1) => void;
|
|
3160
|
+
contexto: ContextoDeColumnas;
|
|
3161
|
+
verCostos: boolean;
|
|
3162
|
+
hayLineaBase: boolean;
|
|
3163
|
+
};
|
|
3015
3164
|
/** Gantt v6: «13 tareas · completadas ocultas», encima de los títulos. */
|
|
3016
3165
|
resumenV6?: string;
|
|
3017
3166
|
/** Gantt v6: el botón «contraer todos los grupos». */
|
|
3018
3167
|
onContraerTodo?: () => void;
|
|
3019
3168
|
/** Gantt ronda 2 · P2 · «Mostrar» las completadas ocultas, junto a su contador. */
|
|
3020
3169
|
onMostrarOcultas?: () => void;
|
|
3170
|
+
/** G14 · tras «Mostrar», la acción para volver a ocultar */
|
|
3171
|
+
onOcultarCompletadas?: () => void;
|
|
3021
3172
|
/** Gantt ronda 2 · R1 · las filas que se dibujan; `null`, todas. */
|
|
3022
3173
|
filasVisibles?: {
|
|
3023
3174
|
desde: number;
|
|
@@ -3035,7 +3186,7 @@ onTaskReparent, // v0.17.68
|
|
|
3035
3186
|
allTasks, // v1.9.10: árbol completo para traducir posición con filtros activos
|
|
3036
3187
|
scrollContainerRef, // v0.18.15
|
|
3037
3188
|
showCriticalPath, // v5.1.0
|
|
3038
|
-
v6, resumenV6, onContraerTodo, onMostrarOcultas, filasVisibles, avisoVencidas, onVerVencidas, }: TaskGridProps): react_jsx_runtime.JSX.Element;
|
|
3189
|
+
v6, onMoverDias, columnasV6, puedeEditarEnTabla, onDuracionEnTabla, onProgresoEnTabla, resumenV6, onContraerTodo, onMostrarOcultas, onOcultarCompletadas, filasVisibles, avisoVencidas, onVerVencidas, }: TaskGridProps): react_jsx_runtime.JSX.Element;
|
|
3039
3190
|
|
|
3040
3191
|
/**
|
|
3041
3192
|
* Optional working-days configuration so the tooltip Duration reflects the
|
|
@@ -3047,6 +3198,10 @@ interface WorkingDaysConfig {
|
|
|
3047
3198
|
enabledWeekdays?: boolean[];
|
|
3048
3199
|
/** Holiday dates in 'YYYY-MM-DD' (workspace-local) to exclude. */
|
|
3049
3200
|
holidayDates?: Set<string> | string[];
|
|
3201
|
+
/** G15 · 'YYYY-MM-DD' → nombre del festivo, para su tooltip. */
|
|
3202
|
+
holidayNames?: Record<string, string>;
|
|
3203
|
+
/** A20 · la jornada, en minutos: sin ella no se mira la sobreasignación. */
|
|
3204
|
+
minutosPorDia?: number;
|
|
3050
3205
|
}
|
|
3051
3206
|
|
|
3052
3207
|
interface TimelineProps {
|
|
@@ -3061,6 +3216,8 @@ interface TimelineProps {
|
|
|
3061
3216
|
hasta: number;
|
|
3062
3217
|
} | null;
|
|
3063
3218
|
onIrAFecha?: (fecha: Date) => void;
|
|
3219
|
+
/** G3 · despliega un grupo plegado */
|
|
3220
|
+
onExpandirGrupo?: (id: string) => void;
|
|
3064
3221
|
/** Mejora fuerte 6 · fin planeado del proyecto y fin previsto (pronóstico). */
|
|
3065
3222
|
finPlaneado?: Date | null;
|
|
3066
3223
|
finPrevisto?: Date | null;
|
|
@@ -3114,96 +3271,7 @@ declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, star
|
|
|
3114
3271
|
templates, dependencyLineStyle, // v0.17.310
|
|
3115
3272
|
showTaskBarLabels, onTaskClick, onTaskDblClick, // v0.8.0
|
|
3116
3273
|
onTaskContextMenu, // v0.8.0
|
|
3117
|
-
onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, weekHeaderFormat, canEditTask, onTaskProgressDrag, workingDaysConfig, ventanaVisible, filasVisibles, onIrAFecha, finPlaneado, finPrevisto, alturaCabecera, v6, tareaEnFoco, alturaBarra, }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
3118
|
-
|
|
3119
|
-
/**
|
|
3120
|
-
* ═══ EL MOTOR DEL CRONOGRAMA (QA Asakaa, mejora fuerte 5) ════════════════════════
|
|
3121
|
-
*
|
|
3122
|
-
* Yesid: «Dependencias con tipo (fin-inicio, inicio-inicio…) y desfase […];
|
|
3123
|
-
* reprogramación automática o, como mínimo, aviso de conflicto; duraciones en días
|
|
3124
|
-
* hábiles con festivos y fines de semana; hitos en su fecha exacta».
|
|
3125
|
-
*
|
|
3126
|
-
* Decisiones de Arcadio (16-oct):
|
|
3127
|
-
* · cada enlace tiene tipo (FS, SS, FF, SF — los códigos de MS Project) y desfase en
|
|
3128
|
-
* DÍAS HÁBILES (negativo = adelanto);
|
|
3129
|
-
* · el calendario es el del espacio: sus días laborables y sus festivos;
|
|
3130
|
-
* · si una predecesora se atrasa, sus sucesoras se EMPUJAN lo justo; si se adelanta,
|
|
3131
|
-
* se quedan donde están (nunca se adelantan solas).
|
|
3132
|
-
*
|
|
3133
|
-
* Puro: sin React. Las fechas son días (la hora no cuenta). Sin calendario, todos los
|
|
3134
|
-
* días son hábiles — lo que hacía el Gantt hasta ahora.
|
|
3135
|
-
*/
|
|
3136
|
-
|
|
3137
|
-
type TipoDeEnlace = 'FS' | 'SS' | 'FF' | 'SF';
|
|
3138
|
-
interface EnlaceDeTarea {
|
|
3139
|
-
/** La predecesora (la tarea de la que depende). */
|
|
3140
|
-
id: string;
|
|
3141
|
-
type: TipoDeEnlace;
|
|
3142
|
-
/** Días hábiles; negativo = adelanto. */
|
|
3143
|
-
lag: number;
|
|
3144
|
-
}
|
|
3145
|
-
interface Calendario {
|
|
3146
|
-
esHabil(d: Date): boolean;
|
|
3147
|
-
}
|
|
3148
|
-
/** Todos los días hábiles: el comportamiento de siempre si no hay calendario. */
|
|
3149
|
-
declare const TODOS_LOS_DIAS: Calendario;
|
|
3150
|
-
declare function calendarioDe(cfg?: GanttWorkingDaysConfig | null): Calendario;
|
|
3151
|
-
/** El primer día hábil desde `d` (incluido), hacia adelante o hacia atrás. */
|
|
3152
|
-
declare function habilDesde(d: Date, cal: Calendario, haciaAtras?: boolean): Date;
|
|
3153
|
-
/**
|
|
3154
|
-
* `d` más `n` días hábiles. Con n = 0, el propio día si es hábil (si no, el siguiente).
|
|
3155
|
-
* Negativo cuenta hacia atrás.
|
|
3156
|
-
*/
|
|
3157
|
-
declare function sumarHabiles(d: Date, n: number, cal: Calendario): Date;
|
|
3158
|
-
/** Días hábiles de `inicio` a `fin`, los dos incluidos (la duración de una barra). Mínimo 1. */
|
|
3159
|
-
declare function habilesEntre(inicio: Date, fin: Date, cal: Calendario): number;
|
|
3160
|
-
/** El fin de una tarea que empieza en `inicio` y dura `dias` hábiles. */
|
|
3161
|
-
declare function finConDuracion(inicio: Date, dias: number, cal: Calendario): Date;
|
|
3162
|
-
/** Los enlaces de una tarea: los que trae con tipo, y FS sin desfase para los ids sueltos. */
|
|
3163
|
-
declare function enlacesDe(t: Pick<Task, 'dependencies' | 'dependencyLinks'>): EnlaceDeTarea[];
|
|
3164
|
-
interface Limite {
|
|
3165
|
-
/** Lo más pronto que puede empezar / terminar la sucesora por este enlace. */
|
|
3166
|
-
inicioMin?: Date;
|
|
3167
|
-
finMin?: Date;
|
|
3168
|
-
enlace: EnlaceDeTarea;
|
|
3169
|
-
predecesora: Task;
|
|
3170
|
-
}
|
|
3171
|
-
/** Lo que exige UN enlace a su sucesora (null si la predecesora no tiene fechas). */
|
|
3172
|
-
declare function limiteDelEnlace(enlace: EnlaceDeTarea, pred: Task, cal: Calendario): Limite | null;
|
|
3173
|
-
interface Ajuste {
|
|
3174
|
-
inicio: Date;
|
|
3175
|
-
fin: Date;
|
|
3176
|
-
/** El enlace que obligó a mover la tarea; null si no hubo que moverla. */
|
|
3177
|
-
porQue: Limite | null;
|
|
3178
|
-
}
|
|
3179
|
-
/**
|
|
3180
|
-
* Las fechas más cercanas a las pedidas que cumplen TODOS los enlaces de la tarea, sin
|
|
3181
|
-
* cambiar su duración en días hábiles. Si las pedidas ya los cumplen, se devuelven tal cual
|
|
3182
|
-
* (una tarea se puede poner MÁS TARDE de lo que exigen sus enlaces: no se adelanta sola).
|
|
3183
|
-
* Un hito ocupa un solo día: inicio = fin.
|
|
3184
|
-
*/
|
|
3185
|
-
declare function fechasQueCumplen(tarea: Pick<Task, 'id' | 'dependencies' | 'dependencyLinks' | 'isMilestone'>, inicio: Date, fin: Date, todas: Task[] | Map<string, Task>, cal: Calendario): Ajuste;
|
|
3186
|
-
interface TareaEmpujada {
|
|
3187
|
-
id: string;
|
|
3188
|
-
startDate: Date;
|
|
3189
|
-
endDate: Date;
|
|
3190
|
-
porQue: Limite;
|
|
3191
|
-
}
|
|
3192
|
-
/**
|
|
3193
|
-
* Tras mover unas tareas, EMPUJA a las sucesoras que dejaron de cumplir su enlace, en
|
|
3194
|
-
* cadena, lo justo. Nunca adelanta a ninguna. Devuelve solo las que se movieron (con su
|
|
3195
|
-
* porqué); quien llama las aplica y las guarda.
|
|
3196
|
-
*/
|
|
3197
|
-
declare function empujarSucesoras(todas: Task[], movidas: Iterable<string>, cal: Calendario): TareaEmpujada[];
|
|
3198
|
-
interface Conflicto {
|
|
3199
|
-
sucesora: Task;
|
|
3200
|
-
predecesora: Task;
|
|
3201
|
-
enlace: EnlaceDeTarea;
|
|
3202
|
-
/** Días hábiles que habría que correr la sucesora para cumplir el enlace. */
|
|
3203
|
-
dias: number;
|
|
3204
|
-
}
|
|
3205
|
-
/** Los enlaces que NO se cumplen hoy (para marcarlos y avisar). */
|
|
3206
|
-
declare function conflictosDelCronograma(todas: Task[], cal: Calendario): Conflicto[];
|
|
3274
|
+
onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, weekHeaderFormat, canEditTask, onTaskProgressDrag, workingDaysConfig, ventanaVisible, filasVisibles, onIrAFecha, onExpandirGrupo, finPlaneado, finPrevisto, alturaCabecera, v6, tareaEnFoco, alturaBarra, }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
3207
3275
|
|
|
3208
3276
|
interface TaskTooltipData {
|
|
3209
3277
|
task: Task;
|
|
@@ -3245,6 +3313,10 @@ interface TaskBarProps {
|
|
|
3245
3313
|
alturaBarra?: number;
|
|
3246
3314
|
/** Gantt v6: la duración en días hábiles, a la derecha de la barra («5 d»). */
|
|
3247
3315
|
duracionV6?: string;
|
|
3316
|
+
/** A20 · su responsable pasa de la jornada algún día de esta tarea: la etiqueta va en ámbar. */
|
|
3317
|
+
sobreasignada?: boolean;
|
|
3318
|
+
/** L1 · con el calendario, el retraso frente a la línea base va en días hábiles */
|
|
3319
|
+
calendario?: Calendario;
|
|
3248
3320
|
/** Gantt ronda 2 (Yesid) · R3 · una tarea TRANSVERSAL (dura casi todo el proyecto: seguimiento, informes): línea fina. */
|
|
3249
3321
|
transversal?: boolean;
|
|
3250
3322
|
}
|
|
@@ -3253,7 +3325,7 @@ onContextMenu, // v0.8.0
|
|
|
3253
3325
|
onDateChange, onDependencyCreate, allTaskPositions, onDragMove, // v0.13.0
|
|
3254
3326
|
onHoverChange, // v0.17.76
|
|
3255
3327
|
showBaseline, // v3.0.0
|
|
3256
|
-
showTaskBarLabels, showCriticalPath, readOnly, onProgressChange, v6, alturaBarra, duracionV6, transversal, }: TaskBarProps): react_jsx_runtime.JSX.Element;
|
|
3328
|
+
showTaskBarLabels, showCriticalPath, readOnly, onProgressChange, v6, alturaBarra, duracionV6, sobreasignada, calendario, transversal, }: TaskBarProps): react_jsx_runtime.JSX.Element;
|
|
3257
3329
|
|
|
3258
3330
|
interface DependencyLineProps {
|
|
3259
3331
|
x1: number;
|
|
@@ -4085,11 +4157,360 @@ declare const GanttI18nContext: React$1.Context<GanttTranslations>;
|
|
|
4085
4157
|
declare function useGanttI18n(): GanttTranslations;
|
|
4086
4158
|
|
|
4087
4159
|
/**
|
|
4088
|
-
*
|
|
4089
|
-
* @version 0.18.0
|
|
4160
|
+
* Maquetas v3 de Yesid (4-nov) · LAS REGLAS DE LA LISTA v6, sin React (también para el Tablero).
|
|
4090
4161
|
*
|
|
4091
|
-
*
|
|
4092
|
-
|
|
4162
|
+
* · estado de una hoja: el suyo (Completada · En progreso · Bloqueada · Por hacer);
|
|
4163
|
+
* · estado de un padre (B9, la misma regla en Gantt, Lista y Tablero): Completada si todas sus hojas lo están;
|
|
4164
|
+
* Bloqueada si todas las abiertas están bloqueadas; En progreso si alguna avanza o ya terminó; si no, Por hacer;
|
|
4165
|
+
* · vencida: hoja sin terminar cuyo fin ya pasó (G2 · B2 · C2); el retraso, en días hábiles DESDE el día siguiente;
|
|
4166
|
+
* · las cifras de un padre salen SOLO de sus hojas (P12: «sumar solo los estimados de las hojas»).
|
|
4167
|
+
*/
|
|
4168
|
+
|
|
4169
|
+
type EstadoV6 = 'done' | 'prog' | 'blocked' | 'todo';
|
|
4170
|
+
declare const tieneHijas: (t: Task) => boolean;
|
|
4171
|
+
/** El estado de una hoja, de su `status` (y su avance, si el estado no dice nada). */
|
|
4172
|
+
declare function estadoDeHoja(t: Task): EstadoV6;
|
|
4173
|
+
declare function hojasDe(t: Task, fuera?: Task[]): Task[];
|
|
4174
|
+
/** B9 · el estado de cualquier fila: el de la hoja, o el que sale de sus hojas. */
|
|
4175
|
+
declare function estadoDe(t: Task): EstadoV6;
|
|
4176
|
+
/** Vencida: hoja sin terminar cuyo fin es anterior a hoy. */
|
|
4177
|
+
declare function estaVencida(t: Task, hoy: Date): boolean;
|
|
4178
|
+
/** Los días hábiles de retraso de una vencida: del día hábil siguiente a su fin hasta hoy, incluido (0 si no hay). */
|
|
4179
|
+
declare function diasDeRetraso(t: Task, hoy: Date, cal: Calendario): number;
|
|
4180
|
+
interface CifrasDeFila {
|
|
4181
|
+
/** horas registradas y estimadas (de las hojas) */
|
|
4182
|
+
reg: number;
|
|
4183
|
+
est: number;
|
|
4184
|
+
/** costo real: horas registradas × tarifa de la hoja */
|
|
4185
|
+
costo: number;
|
|
4186
|
+
/** hojas terminadas y en total (para «2/3») */
|
|
4187
|
+
hechas: number;
|
|
4188
|
+
hojas: number;
|
|
4189
|
+
/** hojas vencidas */
|
|
4190
|
+
vencidas: number;
|
|
4191
|
+
}
|
|
4192
|
+
|
|
4193
|
+
type TipoDeEnlaceV4 = 'FS' | 'SS' | 'FF' | 'SF';
|
|
4194
|
+
type OrigenDelCambio = 'app' | 'mcp' | 'odoo' | 'importacion' | 'sistema';
|
|
4195
|
+
interface EntradaDelHistorialV4 {
|
|
4196
|
+
id: string;
|
|
4197
|
+
cuando: Date;
|
|
4198
|
+
quien?: string | null;
|
|
4199
|
+
texto: string;
|
|
4200
|
+
origen: OrigenDelCambio;
|
|
4201
|
+
}
|
|
4202
|
+
/** Lo que el panel hace con la app. Cada acción es opcional: sin ella, su control no se ofrece. */
|
|
4203
|
+
interface AccionesDelPanelV4 {
|
|
4204
|
+
/** sin permiso de escritura: el panel es de solo lectura */
|
|
4205
|
+
puedeEditar?: boolean;
|
|
4206
|
+
/** v4 · si quien mira puede cambiar ESTA tarea (un ejecutor, solo las suyas): sin él, todas. Las horas (cronómetro y
|
|
4207
|
+
* «Registrar») van a la hoja de quien mira y siguen solo con `puedeEditar`. */
|
|
4208
|
+
puedeEditarTarea?: (t: Task) => boolean;
|
|
4209
|
+
/** guardar campos de la tarea (restricción, lista de dependencias); `false` si no se pudo (y la app ya avisó) */
|
|
4210
|
+
onActualizar?: (t: Task, cambios: Partial<Task>) => boolean | void | Promise<boolean | void>;
|
|
4211
|
+
/** el tipo y el desfase de un enlace que ya existe */
|
|
4212
|
+
onTipoDeEnlace?: (t: Task, predecesora: string, tipo: TipoDeEnlaceV4, desfase: number) => boolean | void | Promise<boolean | void>;
|
|
4213
|
+
/** los cambios de la tarea, el más reciente primero */
|
|
4214
|
+
cargarHistorial?: (t: Task) => Promise<EntradaDelHistorialV4[]>;
|
|
4215
|
+
/** el cronómetro en marcha de quien mira (uno a la vez) */
|
|
4216
|
+
cronometro?: {
|
|
4217
|
+
taskId: string;
|
|
4218
|
+
desde: Date;
|
|
4219
|
+
} | null;
|
|
4220
|
+
/** iniciar o detener el cronómetro en esta tarea (al detenerlo, el tiempo va a la hoja de horas) */
|
|
4221
|
+
onCronometro?: (t: Task) => void | Promise<void>;
|
|
4222
|
+
/** registrar horas de hoy en la tarea; `false` si no se pudo (la app dice por qué) */
|
|
4223
|
+
onRegistrarHoras?: (t: Task, horas: number) => boolean | void | Promise<boolean | void>;
|
|
4224
|
+
/** «Abrir en la Lista»: la Lista abre su panel con #t=<wbs> */
|
|
4225
|
+
onAbrirEnLista?: (t: Task, wbs: string) => void;
|
|
4226
|
+
onCopiarEnlace?: (t: Task) => void;
|
|
4227
|
+
}
|
|
4228
|
+
interface FilaDelPanelV4 {
|
|
4229
|
+
t: Task;
|
|
4230
|
+
wbs: string;
|
|
4231
|
+
ancestros: string[];
|
|
4232
|
+
nivel?: number;
|
|
4233
|
+
}
|
|
4234
|
+
declare const TXT: {
|
|
4235
|
+
es: {
|
|
4236
|
+
cerrar: string;
|
|
4237
|
+
mas: string;
|
|
4238
|
+
acciones: string;
|
|
4239
|
+
ficha: string;
|
|
4240
|
+
lista: string;
|
|
4241
|
+
copiar: string;
|
|
4242
|
+
verHist: string;
|
|
4243
|
+
cambiarPadre: string;
|
|
4244
|
+
estado: string;
|
|
4245
|
+
cambiar: string;
|
|
4246
|
+
vencida: (n: number) => string;
|
|
4247
|
+
espera: string;
|
|
4248
|
+
indique: string;
|
|
4249
|
+
empiezaAntes: string;
|
|
4250
|
+
avanceSr: string;
|
|
4251
|
+
hintAvance: string;
|
|
4252
|
+
hintHecha: string;
|
|
4253
|
+
hintPorConfirmar: string;
|
|
4254
|
+
resp: string;
|
|
4255
|
+
sinResp: string;
|
|
4256
|
+
fechas: string;
|
|
4257
|
+
dur: string;
|
|
4258
|
+
hito: string;
|
|
4259
|
+
dias: (n: number) => string;
|
|
4260
|
+
restriccion: string;
|
|
4261
|
+
restriccionDeFecha: string;
|
|
4262
|
+
ninguna: string;
|
|
4263
|
+
laMueven: string;
|
|
4264
|
+
terminarEl: (f: string) => string;
|
|
4265
|
+
noAntesDel: (f: string) => string;
|
|
4266
|
+
fijar: string;
|
|
4267
|
+
fijas: string;
|
|
4268
|
+
horas: string;
|
|
4269
|
+
horasTip: string;
|
|
4270
|
+
sumaHijas: string;
|
|
4271
|
+
iniciar: string;
|
|
4272
|
+
detener: string;
|
|
4273
|
+
iniciarTip: string;
|
|
4274
|
+
detenerTip: string;
|
|
4275
|
+
registrar: string;
|
|
4276
|
+
horasHoy: string;
|
|
4277
|
+
hHoy: string;
|
|
4278
|
+
guardar: string;
|
|
4279
|
+
cancelar: string;
|
|
4280
|
+
errHoras: string;
|
|
4281
|
+
costo: string;
|
|
4282
|
+
planeado: (v: string) => string;
|
|
4283
|
+
costoBloqueado: string;
|
|
4284
|
+
costoBloqueadoTip: string;
|
|
4285
|
+
prio: string;
|
|
4286
|
+
p: Record<string, string>;
|
|
4287
|
+
padre: string;
|
|
4288
|
+
directa: string;
|
|
4289
|
+
bloqueadaPor: string;
|
|
4290
|
+
sinIndicar: string;
|
|
4291
|
+
depende: string;
|
|
4292
|
+
nada: string;
|
|
4293
|
+
tipoEnlace: string;
|
|
4294
|
+
desfase: string;
|
|
4295
|
+
sinDesfase: string;
|
|
4296
|
+
seCruzan: string;
|
|
4297
|
+
cruzanTip: (a: string, b: string) => string;
|
|
4298
|
+
kinds: Record<TipoDeEnlaceV4, [string, string]>;
|
|
4299
|
+
riesgo: string;
|
|
4300
|
+
sinRiesgos: string;
|
|
4301
|
+
desc: string;
|
|
4302
|
+
sinDesc: string;
|
|
4303
|
+
hist: (n: number | null) => string;
|
|
4304
|
+
cargando: string;
|
|
4305
|
+
sinHist: string;
|
|
4306
|
+
origen: Record<OrigenDelCambio, string>;
|
|
4307
|
+
origenTip: Record<OrigenDelCambio, string>;
|
|
4308
|
+
comentar: string;
|
|
4309
|
+
fase: string;
|
|
4310
|
+
tareaPadre: string;
|
|
4311
|
+
subVencidas: (n: number) => string;
|
|
4312
|
+
subtareas: string;
|
|
4313
|
+
hijas: string;
|
|
4314
|
+
notaNodo: (f: boolean) => string;
|
|
4315
|
+
calculado: string;
|
|
4316
|
+
panel: (n: string) => string;
|
|
4317
|
+
};
|
|
4318
|
+
en: {
|
|
4319
|
+
cerrar: string;
|
|
4320
|
+
mas: string;
|
|
4321
|
+
acciones: string;
|
|
4322
|
+
ficha: string;
|
|
4323
|
+
lista: string;
|
|
4324
|
+
copiar: string;
|
|
4325
|
+
verHist: string;
|
|
4326
|
+
cambiarPadre: string;
|
|
4327
|
+
estado: string;
|
|
4328
|
+
cambiar: string;
|
|
4329
|
+
vencida: (n: number) => string;
|
|
4330
|
+
espera: string;
|
|
4331
|
+
indique: string;
|
|
4332
|
+
empiezaAntes: string;
|
|
4333
|
+
avanceSr: string;
|
|
4334
|
+
hintAvance: string;
|
|
4335
|
+
hintHecha: string;
|
|
4336
|
+
hintPorConfirmar: string;
|
|
4337
|
+
resp: string;
|
|
4338
|
+
sinResp: string;
|
|
4339
|
+
fechas: string;
|
|
4340
|
+
dur: string;
|
|
4341
|
+
hito: string;
|
|
4342
|
+
dias: (n: number) => string;
|
|
4343
|
+
restriccion: string;
|
|
4344
|
+
restriccionDeFecha: string;
|
|
4345
|
+
ninguna: string;
|
|
4346
|
+
laMueven: string;
|
|
4347
|
+
terminarEl: (f: string) => string;
|
|
4348
|
+
noAntesDel: (f: string) => string;
|
|
4349
|
+
fijar: string;
|
|
4350
|
+
fijas: string;
|
|
4351
|
+
horas: string;
|
|
4352
|
+
horasTip: string;
|
|
4353
|
+
sumaHijas: string;
|
|
4354
|
+
iniciar: string;
|
|
4355
|
+
detener: string;
|
|
4356
|
+
iniciarTip: string;
|
|
4357
|
+
detenerTip: string;
|
|
4358
|
+
registrar: string;
|
|
4359
|
+
horasHoy: string;
|
|
4360
|
+
hHoy: string;
|
|
4361
|
+
guardar: string;
|
|
4362
|
+
cancelar: string;
|
|
4363
|
+
errHoras: string;
|
|
4364
|
+
costo: string;
|
|
4365
|
+
planeado: (v: string) => string;
|
|
4366
|
+
costoBloqueado: string;
|
|
4367
|
+
costoBloqueadoTip: string;
|
|
4368
|
+
prio: string;
|
|
4369
|
+
p: Record<string, string>;
|
|
4370
|
+
padre: string;
|
|
4371
|
+
directa: string;
|
|
4372
|
+
bloqueadaPor: string;
|
|
4373
|
+
sinIndicar: string;
|
|
4374
|
+
depende: string;
|
|
4375
|
+
nada: string;
|
|
4376
|
+
tipoEnlace: string;
|
|
4377
|
+
desfase: string;
|
|
4378
|
+
sinDesfase: string;
|
|
4379
|
+
seCruzan: string;
|
|
4380
|
+
cruzanTip: (a: string, b: string) => string;
|
|
4381
|
+
kinds: Record<TipoDeEnlaceV4, [string, string]>;
|
|
4382
|
+
riesgo: string;
|
|
4383
|
+
sinRiesgos: string;
|
|
4384
|
+
desc: string;
|
|
4385
|
+
sinDesc: string;
|
|
4386
|
+
hist: (n: number | null) => string;
|
|
4387
|
+
cargando: string;
|
|
4388
|
+
sinHist: string;
|
|
4389
|
+
origen: Record<OrigenDelCambio, string>;
|
|
4390
|
+
origenTip: Record<OrigenDelCambio, string>;
|
|
4391
|
+
comentar: string;
|
|
4392
|
+
fase: string;
|
|
4393
|
+
tareaPadre: string;
|
|
4394
|
+
subVencidas: (n: number) => string;
|
|
4395
|
+
subtareas: string;
|
|
4396
|
+
hijas: string;
|
|
4397
|
+
notaNodo: (f: boolean) => string;
|
|
4398
|
+
calculado: string;
|
|
4399
|
+
panel: (n: string) => string;
|
|
4400
|
+
};
|
|
4401
|
+
};
|
|
4402
|
+
type Textos = typeof TXT.es | typeof TXT.en;
|
|
4403
|
+
/** El texto de la restricción de una tarea («Ninguna», «Terminar el 23 oct», «No antes del 3 nov», «Fechas fijas»). */
|
|
4404
|
+
declare function textoDeRestriccion(t: Task, x: Textos, f: (d: Date) => string): string;
|
|
4405
|
+
/** La restricción que pide cada opción del selector (con `null` para borrar lo que había). */
|
|
4406
|
+
declare function cambiosDeRestriccion(t: Task, v: 'none' | 'fin' | 'ini' | 'fix'): Partial<Task>;
|
|
4407
|
+
/** «Sin desfase», «+2 días hábiles», «−1 día hábil». */
|
|
4408
|
+
declare function textoDeDesfase(n: number, x: Textos): string;
|
|
4409
|
+
/** Horas escritas por una persona: «1,5», «2», «0.5». `null` si no es un número entre 0,1 y 24 con un decimal como mucho. */
|
|
4410
|
+
declare function leerHoras(texto: string): number | null;
|
|
4411
|
+
interface PanelDeTareaV4Props {
|
|
4412
|
+
fila: FilaDelPanelV4;
|
|
4413
|
+
es: boolean;
|
|
4414
|
+
cal: Calendario;
|
|
4415
|
+
hoy: Date;
|
|
4416
|
+
nombreProyecto?: string;
|
|
4417
|
+
cifras: CifrasDeFila;
|
|
4418
|
+
estados: Map<string, EstadoV6>;
|
|
4419
|
+
nombreEstado: Record<EstadoV6, string>;
|
|
4420
|
+
porId: Map<string, FilaDelPanelV4>;
|
|
4421
|
+
tarifaDe: (hoja: Task) => number;
|
|
4422
|
+
/** costo y tarifa: solo administradores, Finanzas y el gerente del proyecto */
|
|
4423
|
+
conCosto?: boolean;
|
|
4424
|
+
onCerrar: () => void;
|
|
4425
|
+
onAbrirFicha?: (t: Task) => void;
|
|
4426
|
+
onIrA: (id: string) => void;
|
|
4427
|
+
onVerRiesgo?: (id: string) => void;
|
|
4428
|
+
/** cambiar el estado de una hoja (con la regla del % y «Deshacer» de la vista) */
|
|
4429
|
+
onEstado?: (t: Task, e: EstadoV6) => void;
|
|
4430
|
+
/** guardar el avance escrito (la vista valida y avisa) */
|
|
4431
|
+
onAvance?: (t: Task, texto: string) => void;
|
|
4432
|
+
porConfirmar?: boolean;
|
|
4433
|
+
errorAvance?: string | null;
|
|
4434
|
+
/** mover la hoja a otra tarea padre de su fase (o directa de la fase) */
|
|
4435
|
+
onCambiarPadre?: (t: Task, padreId: string) => void;
|
|
4436
|
+
/** lo que la vista añade en una fase o tarea padre («Completar la rama») */
|
|
4437
|
+
rama?: ReactNode;
|
|
4438
|
+
acciones?: AccionesDelPanelV4;
|
|
4439
|
+
}
|
|
4440
|
+
declare function PanelDeTareaV4({ fila, es, cal, hoy, nombreProyecto, cifras, estados, nombreEstado, porId, tarifaDe, conCosto, onCerrar, onAbrirFicha, onIrA, onVerRiesgo, onEstado, onAvance, porConfirmar, errorAvance, onCambiarPadre, rama, acciones, }: PanelDeTareaV4Props): react_jsx_runtime.JSX.Element;
|
|
4441
|
+
|
|
4442
|
+
interface SaludDelPieV4 {
|
|
4443
|
+
/** sql/481 · quien mira ve dinero (administrador, Finanzas o gerente del proyecto) */
|
|
4444
|
+
veDinero: boolean;
|
|
4445
|
+
/** contrato + adicionales; null si no hay contrato */
|
|
4446
|
+
ofertado: number | null;
|
|
4447
|
+
planeado: number;
|
|
4448
|
+
real: number;
|
|
4449
|
+
/** costo estimado al terminar al ritmo actual (EAC) */
|
|
4450
|
+
alTerminar: number | null;
|
|
4451
|
+
/** horas registradas y las que vale el avance logrado (solo hojas) */
|
|
4452
|
+
horasRegistradas: number;
|
|
4453
|
+
horasGanadas: number;
|
|
4454
|
+
/** «No evaluable»: el motivo (costos, márgenes y tarifas no se calculan) */
|
|
4455
|
+
noEvaluable?: string | null;
|
|
4456
|
+
/** v4 · el motivo corto que sigue a «No evaluable» en el pie («por horas sin registrar»); sin él, el de las escalas */
|
|
4457
|
+
noEvaluableCorto?: string | null;
|
|
4458
|
+
/** por qué quien mira ve la tarifa de cada persona («porque gerencia este proyecto») */
|
|
4459
|
+
porQueVe?: string | null;
|
|
4460
|
+
}
|
|
4461
|
+
interface Persona {
|
|
4462
|
+
clave: string;
|
|
4463
|
+
nombre: string;
|
|
4464
|
+
iniciales: string;
|
|
4465
|
+
abiertas: number;
|
|
4466
|
+
reg: number;
|
|
4467
|
+
est: number;
|
|
4468
|
+
costo: number;
|
|
4469
|
+
tarifa: number;
|
|
4470
|
+
sinResp: boolean;
|
|
4471
|
+
}
|
|
4472
|
+
/** Por persona: tareas abiertas, horas y costo real; una hoja cuenta para su primer responsable. */
|
|
4473
|
+
declare function personasDelProyecto(tasks: Task[], tarifaDe: (h: Task) => number, tarifaDePersona?: (id: string) => number | undefined, sinResp?: string): {
|
|
4474
|
+
personas: Persona[];
|
|
4475
|
+
total: {
|
|
4476
|
+
abiertas: number;
|
|
4477
|
+
reg: number;
|
|
4478
|
+
est: number;
|
|
4479
|
+
costo: number;
|
|
4480
|
+
};
|
|
4481
|
+
planeado: number;
|
|
4482
|
+
sinRespAbiertas: number;
|
|
4483
|
+
};
|
|
4484
|
+
declare function CostosDelProyectoV4({ tasks, es, tarifaDe, tarifaDePersona, monedaCodigo, salud, conCosto, onVerRecursos }: {
|
|
4485
|
+
tasks: Task[];
|
|
4486
|
+
es: boolean;
|
|
4487
|
+
tarifaDe: (hoja: Task) => number;
|
|
4488
|
+
tarifaDePersona?: (id: string) => number | undefined;
|
|
4489
|
+
monedaCodigo?: string | null;
|
|
4490
|
+
/** las cifras de la cabecera; sin ellas, el pie suma las de las tareas */
|
|
4491
|
+
salud?: SaludDelPieV4 | null;
|
|
4492
|
+
/** sin `salud`: ¿quien mira ve dinero? */
|
|
4493
|
+
conCosto?: boolean;
|
|
4494
|
+
onVerRecursos?: () => void;
|
|
4495
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
4496
|
+
|
|
4497
|
+
/** El menú Vista de la maqueta: densidad, completadas, agrupar por fase y leyenda. La lleva la app (se recuerda). */
|
|
4498
|
+
interface VistaV6 {
|
|
4499
|
+
densidad: 'compacta' | 'normal' | 'comoda';
|
|
4500
|
+
mostrarHechas: boolean;
|
|
4501
|
+
agruparPorFase: boolean;
|
|
4502
|
+
leyenda: boolean;
|
|
4503
|
+
}
|
|
4504
|
+
declare const VISTA_V6_POR_DEFECTO: VistaV6;
|
|
4505
|
+
/** Guía v4 · «Filtros» de la Lista: Estado, Responsable, «Solo vencidas» y «Con riesgo abierto» (la clave de cada
|
|
4506
|
+
* responsable: su id, o su nombre; '' = sin responsable). Los lleva la app. */
|
|
4507
|
+
interface FiltrosDeLaListaV4 {
|
|
4508
|
+
estados: EstadoV6[];
|
|
4509
|
+
responsables: string[];
|
|
4510
|
+
vencidas: boolean;
|
|
4511
|
+
conRiesgo: boolean;
|
|
4512
|
+
}
|
|
4513
|
+
declare const FILTROS_LISTA_V4_VACIOS: FiltrosDeLaListaV4;
|
|
4093
4514
|
|
|
4094
4515
|
/**
|
|
4095
4516
|
* Sort direction for list columns
|
|
@@ -4456,6 +4877,43 @@ interface ListViewConfig {
|
|
|
4456
4877
|
completedStyle?: 'strike' | 'dim';
|
|
4457
4878
|
/** 1.9.38 · 'compact': filas de una línea y 40 px; 'comfortable' (por defecto) las de dos líneas y 56 px. */
|
|
4458
4879
|
rowDensity?: 'comfortable' | 'compact';
|
|
4880
|
+
/** Maquetas v3 (Yesid, 4-nov) · la Lista v6 (sólo Asakaa): `ListaV6` en vez de la tabla de siempre. */
|
|
4881
|
+
disenoV6?: boolean;
|
|
4882
|
+
/** v6 · el calendario del espacio (días hábiles y festivos), para la duración y el retraso */
|
|
4883
|
+
calendarioV6?: Calendario;
|
|
4884
|
+
/** v6 · al pie de la lista: la salud financiera y los recursos, plegados */
|
|
4885
|
+
pieV6?: ReactNode;
|
|
4886
|
+
/** v6 · la tarea abierta en el panel (su fila, seleccionada) */
|
|
4887
|
+
seleccionadaV6?: string | null;
|
|
4888
|
+
/** v6 · clave de localStorage para recordar las columnas ocultas */
|
|
4889
|
+
claveColumnasV6?: string;
|
|
4890
|
+
/** v6 · el avance del proyecto que dice la cabecera (el total de la lista dice el mismo) */
|
|
4891
|
+
avanceTotalV6?: number | null;
|
|
4892
|
+
/** v6 · el menú Vista (densidad, completadas, agrupar por fase, leyenda); sin él, la lista lo lleva sola */
|
|
4893
|
+
vistaV6?: VistaV6;
|
|
4894
|
+
onVistaV6?: (v: VistaV6) => void;
|
|
4895
|
+
/** v6 · «Columnas…» del menú Vista: cada cambio abre el menú del «+» */
|
|
4896
|
+
peticionColumnasV6?: number;
|
|
4897
|
+
/** v6 · G4: las migas del panel de la tarea empiezan por el proyecto */
|
|
4898
|
+
nombreProyectoV6?: string;
|
|
4899
|
+
/** v6 · «Recursos e impacto de flujo de caja»: costo al terminar (EAC) y el enlace a Recursos */
|
|
4900
|
+
costoAlTerminarV6?: number | null;
|
|
4901
|
+
/** v4 · «una sola verdad»: el fin previsto de la cabecera; el total de la Lista dice esa fecha (y el plan, en su globo) */
|
|
4902
|
+
finPrevistoV6?: Date | null;
|
|
4903
|
+
onVerRecursosV6?: () => void;
|
|
4904
|
+
/** v6 · R6: abrir un riesgo desde el panel de la tarea */
|
|
4905
|
+
onVerRiesgoV6?: (id: string) => void;
|
|
4906
|
+
/** guía v4 · el pie «Costos del proyecto» con las cifras de la cabecera */
|
|
4907
|
+
saludV4?: SaludDelPieV4 | null;
|
|
4908
|
+
/** guía v4 · lo que el panel de la tarea hace con la app */
|
|
4909
|
+
panelV4?: AccionesDelPanelV4;
|
|
4910
|
+
/** guía v4 · guardar el estado y el avance de una hoja desde el panel */
|
|
4911
|
+
onGuardarEstadoV4?: (t: Task, status: string, progreso: number) => boolean | void | Promise<boolean | void>;
|
|
4912
|
+
/** v4 · cambiar la tarea padre desde el panel de la Lista (padre null = raíz; posición entre sus hijas); `false` si no se pudo */
|
|
4913
|
+
onCambiarPadreV4?: (t: Task, padre: string | null, posicion: number) => boolean | void | Promise<boolean | void>;
|
|
4914
|
+
/** guía v4 · los filtros de la barra de la Lista */
|
|
4915
|
+
filtrosV4?: FiltrosDeLaListaV4;
|
|
4916
|
+
onFiltrosV4?: (f: FiltrosDeLaListaV4) => void;
|
|
4459
4917
|
/**
|
|
4460
4918
|
* 1.9.39 · `false` quita el botón «Filters» (estado / ocultar completadas) de
|
|
4461
4919
|
* la barra, para la app que tiene su propio sistema de filtros. Por defecto se pinta.
|
|
@@ -4799,6 +5257,155 @@ declare function getListViewTranslations(locale: ListViewSupportedLocale | strin
|
|
|
4799
5257
|
*/
|
|
4800
5258
|
declare function mergeListViewTranslations(locale: ListViewSupportedLocale | string, customTranslations?: Partial<ListViewTranslations>): ListViewTranslations;
|
|
4801
5259
|
|
|
5260
|
+
/** «30 jul» / «30 jul 2027» · «Jul 30» / «Jul 30, 2027». */
|
|
5261
|
+
declare function fechaCorta(d: Date, locale: string | undefined, hoy?: Date): string;
|
|
5262
|
+
|
|
5263
|
+
type EscalaCalendarioV6 = 'mes' | 'semana';
|
|
5264
|
+
/** «Vista › Color de las barras» */
|
|
5265
|
+
type ColorDelCalendarioV4 = 'estado' | 'fase' | 'responsable';
|
|
5266
|
+
/** El menú Vista del Calendario (lo lleva la app y lo recuerda). */
|
|
5267
|
+
interface VistaCalendarioV6 {
|
|
5268
|
+
escala: EscalaCalendarioV6;
|
|
5269
|
+
/** `null`: las completadas se ven en los periodos que ya pasaron y se ocultan en los demás */
|
|
5270
|
+
mostrarHechas: boolean | null;
|
|
5271
|
+
finesDeSemana: boolean;
|
|
5272
|
+
festivos: boolean;
|
|
5273
|
+
color: ColorDelCalendarioV4;
|
|
5274
|
+
}
|
|
5275
|
+
declare const VISTA_CALENDARIO_V6_POR_DEFECTO: VistaCalendarioV6;
|
|
5276
|
+
/** «Filtros» del Calendario: responsable, estado y fase. Las completadas no se filtran por estado (las gobierna «Vista»). */
|
|
5277
|
+
interface FiltrosDelCalendarioV4 {
|
|
5278
|
+
/** claves de responsable; '' = sin responsable */
|
|
5279
|
+
responsables: string[];
|
|
5280
|
+
estados: EstadoV6[];
|
|
5281
|
+
/** id de la tarea raíz de cada fase */
|
|
5282
|
+
fases: string[];
|
|
5283
|
+
}
|
|
5284
|
+
declare const FILTROS_CALENDARIO_V4_VACIOS: FiltrosDelCalendarioV4;
|
|
5285
|
+
/** La semana ISO (la del jueves de esa semana). */
|
|
5286
|
+
declare function semanaIsoDe(d: Date): number;
|
|
5287
|
+
/** Si las completadas se ven: lo que diga «Vista», o (sin elegir) sólo en los periodos que ya pasaron. */
|
|
5288
|
+
declare function completadasALaVista(vista: VistaCalendarioV6, ancla: Date, hoy?: Date): boolean;
|
|
5289
|
+
/** Mover un periodo: un mes o una semana desde la fecha que lo ancla. */
|
|
5290
|
+
declare function pasoDelCalendarioV6(ancla: Date, escala: EscalaCalendarioV6, paso: number): Date;
|
|
5291
|
+
/** Las fases del calendario: las tareas raíz, en orden («Fase 3 · Desarrollo»). */
|
|
5292
|
+
declare function fasesDelCalendario(tasks: Task[]): {
|
|
5293
|
+
clave: string;
|
|
5294
|
+
nombre: string;
|
|
5295
|
+
corto: string;
|
|
5296
|
+
n: number;
|
|
5297
|
+
}[];
|
|
5298
|
+
interface CalendarioV6Props {
|
|
5299
|
+
tasks: Task[];
|
|
5300
|
+
es: boolean;
|
|
5301
|
+
cal: Calendario;
|
|
5302
|
+
festivos?: {
|
|
5303
|
+
date: string;
|
|
5304
|
+
name: string;
|
|
5305
|
+
}[];
|
|
5306
|
+
/** los días laborables del calendario del proyecto, de domingo (0) a sábado (6); por omisión, lunes a viernes */
|
|
5307
|
+
diasLaborables?: boolean[];
|
|
5308
|
+
/** una fecha del periodo a la vista (la lleva la app) */
|
|
5309
|
+
ancla: Date;
|
|
5310
|
+
onAncla: (d: Date) => void;
|
|
5311
|
+
vista: VistaCalendarioV6;
|
|
5312
|
+
onVista: (v: VistaCalendarioV6) => void;
|
|
5313
|
+
filtros: FiltrosDelCalendarioV4;
|
|
5314
|
+
onFiltros: (f: FiltrosDelCalendarioV4) => void;
|
|
5315
|
+
tarifaDe: (hoja: Task) => number;
|
|
5316
|
+
/** quien mira ve dinero (el costo planeado por persona); si no, el candado «visible para gerente y Finanzas» */
|
|
5317
|
+
conCosto?: boolean;
|
|
5318
|
+
/** las tarifas no se pueden comparar: el costo dice «No evaluable» con este motivo */
|
|
5319
|
+
noEvaluable?: string | null;
|
|
5320
|
+
monedaCodigo?: string;
|
|
5321
|
+
nombreProyecto?: string;
|
|
5322
|
+
/** la ficha: «Abrir en la Lista» (la Lista abre su panel con #t=<wbs>) */
|
|
5323
|
+
onAbrirEnLista?: (t: Task, wbs: string) => void;
|
|
5324
|
+
/** la ficha, sin Lista: «Abrir ficha completa» */
|
|
5325
|
+
onAbrir?: (t: Task) => void;
|
|
5326
|
+
/** la franja de vencidas: «Ver en la Lista» / «+N más» (la Lista con #vencidas) */
|
|
5327
|
+
onVerVencidas?: () => void;
|
|
5328
|
+
/** el pie: «Ver en la Ficha» (su calendario) */
|
|
5329
|
+
onVerCalendarioDelProyecto?: () => void;
|
|
5330
|
+
/** el pie de recursos: «Ver la carga de cada persona en Recursos» */
|
|
5331
|
+
onVerRecursos?: () => void;
|
|
5332
|
+
onVerRiesgo?: (id: string) => void;
|
|
5333
|
+
/** reprogramar arrastrando una barra; `false` si no se pudo */
|
|
5334
|
+
onReprogramar?: (t: Task, inicio: Date, fin: Date) => boolean | void | Promise<boolean | void>;
|
|
5335
|
+
hoy?: Date;
|
|
5336
|
+
}
|
|
5337
|
+
declare function CalendarioV6({ tasks, es, cal, festivos, diasLaborables, ancla, onAncla, vista, onVista, filtros, onFiltros, tarifaDe, conCosto, noEvaluable, monedaCodigo, onAbrirEnLista, onAbrir, onVerVencidas, onVerCalendarioDelProyecto, onVerRecursos, onVerRiesgo, onReprogramar, hoy: hoyProp, }: CalendarioV6Props): react_jsx_runtime.JSX.Element;
|
|
5338
|
+
|
|
5339
|
+
type AgruparTableroV6 = 'fase' | 'padre' | 'todo';
|
|
5340
|
+
/** Subtareas: separadas (cada hoja, su tarjeta), bajo su padre (la tarjeta del padre las lista) u ocultas (sólo el padre). */
|
|
5341
|
+
type SubtareasTableroV6 = 'separadas' | 'bajo' | 'ocultas';
|
|
5342
|
+
/** El menú Vista del Tablero (lo lleva la app y lo recuerda). */
|
|
5343
|
+
interface VistaTableroV6 {
|
|
5344
|
+
densidad: 'compacta' | 'normal' | 'comoda';
|
|
5345
|
+
mostrarHechas: boolean;
|
|
5346
|
+
horas: boolean;
|
|
5347
|
+
leyenda: boolean;
|
|
5348
|
+
agrupar: AgruparTableroV6;
|
|
5349
|
+
subtareas: SubtareasTableroV6;
|
|
5350
|
+
}
|
|
5351
|
+
declare const VISTA_TABLERO_V6_POR_DEFECTO: VistaTableroV6;
|
|
5352
|
+
/** Filtros («Mostrar solo»): `responsables` lleva la clave de cada uno ('' = sin responsable). */
|
|
5353
|
+
interface FiltrosTableroV6 {
|
|
5354
|
+
vencidas: boolean;
|
|
5355
|
+
bloqueadas: boolean;
|
|
5356
|
+
responsables: string[];
|
|
5357
|
+
}
|
|
5358
|
+
declare const FILTROS_TABLERO_V6_VACIOS: FiltrosTableroV6;
|
|
5359
|
+
/** El estado que se guarda para cada columna (los ids de las columnas de siempre). */
|
|
5360
|
+
declare const STATUS_DE_ESTADO_V6: Record<EstadoV6, string>;
|
|
5361
|
+
/** Las personas de las hojas, para el menú de filtros («Sin responsable» al final si hay hojas sin nadie). */
|
|
5362
|
+
declare function responsablesDelTablero(tasks: Task[]): {
|
|
5363
|
+
clave: string;
|
|
5364
|
+
nombre: string;
|
|
5365
|
+
}[];
|
|
5366
|
+
interface TableroV6Props {
|
|
5367
|
+
tasks: Task[];
|
|
5368
|
+
es: boolean;
|
|
5369
|
+
cal: Calendario;
|
|
5370
|
+
tarifaDe: (hoja: Task) => number;
|
|
5371
|
+
tarifaDePersona?: (id: string) => number | undefined;
|
|
5372
|
+
monedaCodigo?: string;
|
|
5373
|
+
conCosto?: boolean;
|
|
5374
|
+
costoAlTerminar?: number | null;
|
|
5375
|
+
onVerRecursos?: () => void;
|
|
5376
|
+
nombreProyecto?: string;
|
|
5377
|
+
vista: VistaTableroV6;
|
|
5378
|
+
onVista: (v: VistaTableroV6) => void;
|
|
5379
|
+
filtros: FiltrosTableroV6;
|
|
5380
|
+
onFiltros: (f: FiltrosTableroV6) => void;
|
|
5381
|
+
/** guardar el estado y el avance de una hoja; `false` si la app no lo permite (y ya lo dijo) */
|
|
5382
|
+
onMover: (t: Task, status: string, progreso: number) => boolean | void | Promise<boolean | void>;
|
|
5383
|
+
/** cambiar de tarea padre (con «Tarea padre», a otro carril de la misma fase); sin él, no se permite */
|
|
5384
|
+
onCambiarPadre?: (t: Task, padre: string | null, posicion: number) => boolean | void | Promise<boolean | void>;
|
|
5385
|
+
/** la ficha completa de siempre */
|
|
5386
|
+
onAbrir?: (t: Task) => void;
|
|
5387
|
+
/** R6 · abrir un riesgo desde el panel de la tarea */
|
|
5388
|
+
onVerRiesgo?: (id: string) => void;
|
|
5389
|
+
/** guía v4 · lo que el panel hace con la app (historial, cronómetro, horas, restricción, enlaces, abrir en la Lista) */
|
|
5390
|
+
panel?: AccionesDelPanelV4;
|
|
5391
|
+
/** guía v4 · el pie «Costos del proyecto» (el mismo de la Lista) con las cifras de la cabecera */
|
|
5392
|
+
salud?: SaludDelPieV4 | null;
|
|
5393
|
+
hoy?: Date;
|
|
5394
|
+
}
|
|
5395
|
+
declare function TableroV6({ tasks: tasksProp, es, cal, tarifaDe, tarifaDePersona, monedaCodigo, conCosto, onVerRecursos, nombreProyecto, vista, onVista, filtros, onFiltros, onMover, onCambiarPadre, onAbrir, onVerRiesgo, panel, salud, hoy: hoyProp, }: TableroV6Props): react_jsx_runtime.JSX.Element;
|
|
5396
|
+
|
|
5397
|
+
/** «Riesgo R-01 · Alto: Retraso del proveedor (y 1 más)», el globo del escudo (guía v4). */
|
|
5398
|
+
declare function tituloDelEscudo(rs: RiesgoDeLaTarea[], es: boolean): string;
|
|
5399
|
+
/**
|
|
5400
|
+
* Guía v4 · «El riesgo es un escudo con el color del nivel y un tooltip, no un punto gris» (Tablero y Lista). El color
|
|
5401
|
+
* lo pone el CSS de la vista por `data-nivel` (tokens `--v4-lvl-*`); aquí solo la forma.
|
|
5402
|
+
*/
|
|
5403
|
+
declare function EscudoDeRiesgo({ riesgos, es, className }: {
|
|
5404
|
+
riesgos?: RiesgoDeLaTarea[];
|
|
5405
|
+
es: boolean;
|
|
5406
|
+
className?: string;
|
|
5407
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
5408
|
+
|
|
4802
5409
|
/**
|
|
4803
5410
|
* Motor de layout del Calendario (Asakaa Pulse) — Sprint 1.
|
|
4804
5411
|
*
|
|
@@ -7170,4 +7777,4 @@ declare const themes: Record<ThemeName, Theme>;
|
|
|
7170
7777
|
*/
|
|
7171
7778
|
declare const defaultTheme: ThemeName;
|
|
7172
7779
|
|
|
7173
|
-
export { type AICallbacks, type AICommandResult, type GanttTask as AIGanttTask, type AIMessage, type AIModelKey, type AIOperation, AIUsageDashboard, type AIUsageDashboardProps, AI_FEATURES, AI_MODELS, type Activity, type ActivityType, AddCardButton, type AddCardButtonProps, type AddCardData, AddColumnButton, type AddColumnButtonProps, type AssigneeSuggestion, type Attachment, AttachmentUploader, type AttachmentUploaderProps, type AvailableUser, type Board, type BoardCallbacks, type BoardConfig, BoardProvider, type BoardProviderProps, type BorderRadiusToken, BulkOperationsToolbar, type BulkOperationsToolbarProps, BurnDownChart, type BurnDownChartProps, type BurnDownDataPoint, CUSTOM_FIELD_TYPES, type CalLayerId, type CalMoney, type CalView, CalendarView as CalendarBoard, type DailyLog as CalendarDailyLog, type TeamMember as CalendarTeamMember, type Calendario as CalendarioDelCronograma, Card, type CardFilter, type CardFilters, CardHistoryReplay, type CardHistoryReplayProps, CardHistoryTimeline, type CardHistoryTimelineProps, type CardProps, CardRelationshipsGraph, type CardRelationshipsGraphProps, type CardSort, type CardSortKey, CardStack, type CardStackProps, type CardStack$1 as CardStackType, type CardStatus, type CardTemplate, CardTemplateSelector, type CardTemplateSelectorProps, type CardTimeProps, type Card$1 as CardType, CircuitBreaker, Column, ColumnManager, type ColumnProps, type Column$1 as ColumnType, CommandPalette, type CommandPaletteProps, type Comment, type CommentAttachment, ConfigMenu, type ConfigMenuProps, type Conflicto as ConflictoDelCronograma, ContextMenu, type ContextMenuAction, type ContextMenuState, type CustomFieldDefinition, type CustomFieldValue, DEFAULT_SHORTCUTS, DEFAULT_TABLE_COLUMNS, DEFAULT_TEMPLATES, type DateFilter, DateRangePicker, type DateRangePickerProps, DependenciesSelector, type DependenciesSelectorProps, DependencyLine, type DesignTokens, DistributionCharts, type DistributionChartsProps, type DistributionDataPoint, type DragData, type DropData, type DurationToken, type EasingToken, EditableColumnTitle, type EditableColumnTitleProps, type EnlaceDeTarea, ErrorBoundary, type ErrorBoundaryProps, ExportDropdown, type ExportFormat, ExportImportModal, type ExportImportModalProps, type ExportOptions, type FillColumn, FilterBar, type FilterBarProps, type FilterState, type FlattenedTask, type FontSizeToken, type FontWeightToken, GANTT_AI_SYSTEM_PROMPT, GanttAIAssistant, type GanttAIAssistantConfig, type Assignee as GanttAssignee, GanttBoard, type GanttConfig as GanttBoardConfig, type GanttBoardRef, type GanttColumn, type ColumnType$1 as GanttColumnType, type GanttConfig, GanttI18nContext, Milestone as GanttMilestone, type GanttPermissions, type Task as GanttTask, type GanttTemplates, type Theme$1 as GanttTheme, type GanttTheme as GanttThemeConfig, GanttToolbar, type GanttTranslations, GenerateGanttTasksDialog, type GenerateGanttTasksDialogProps, GeneratePlanModal, type GeneratePlanModalProps, type GeneratedPlan, type GeneratedTasksResponse, type GroupByOption, GroupBySelector, type GroupBySelectorProps, HealthBar, type HealthBarProps, type IPluginManager, type ImportResult, type Insight, type InsightSeverity, type InsightType, KanbanBoard, type KanbanBoardProps, KanbanToolbar, type KanbanToolbarProps, KanbanViewAdapter, type KanbanViewConfig, type KeyboardAction, type KeyboardShortcut, KeyboardShortcutsHelp, type KeyboardShortcutsHelpProps, type LineHeightToken, type ListColumn, type ColumnType as ListColumnType, type ListFilter, type ListSort, type ListSortColumn, ListView, type ListViewCallbacks, type ListViewConfig, type ListViewPermissions, type ListViewProps, type ListViewSupportedLocale, type ListViewTheme, type ListViewThemeName, type ListViewTranslations, MenuIcons, type MoneyMode, type OpacityToken, type PendingFile, type PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, ProfitabilityReport, type ProfitabilityReportProps, type ProjectForecast, type ProjectHealthData, QuickTaskCreate, type QuickTaskCreateData, type QuickTaskCreateProps, RATE_LIMITS, type RenderProps, type RescheduleSimulation, type RetryOptions, type RetryResult, STANDARD_FIELDS, type ShadowToken, type SortBy, type SortDirection, type SortOrder, type SortState, type SpacingToken, type StackSuggestion, type StackingConfig, type StackingStrategy, type Subtask, type SupportedLocale, type Swimlane, SwimlaneBoardView, type SwimlaneBoardViewProps, type SwimlaneConfig, TODOS_LOS_DIAS, type TableColumn, TagBadge, TagList, TagPicker, type TareaEmpujada, TaskBar, type TaskComment, TaskDetailModal, type TaskDetailModalProps, type TaskFilterType, type TaskFormData, TaskFormModal, type TaskFormModalProps, TaskGrid, type TaskPriority, type TaskTag, type Theme, type ThemeColors, type ThemeContextValue, ThemeModal, type ThemeModalProps, type ThemeName, ThemeProvider, ThemeSwitcher, type TimeEntry, TimeInputPopover, type TimeInputPopoverProps, type TimeLogInput, type TimeLogSource, TimePill, type TimePillProps, TimePopover, type TimePopoverProps, type TimeScale, type TimeTrackingBoardProps, type TimeTrackingCallbacks, type TimeTrackingSummary, Timeline, type TimerState, type TipoDeEnlace, type ThemeColors$1 as TokenThemeColors, type TokenValue, type UsageStats, type UseAIOptions, type UseAIReturn, type UseBoardReturn as UseBoardCoreReturn, type UseBoardOptions, type UseBoardReturn$1 as UseBoardReturn, type UseCardStackingOptions, type UseCardStackingResult, type UseDragStateReturn, type UseFiltersOptions, type UseFiltersReturn, type UseKanbanStateOptions, type UseKanbanStateReturn, type UseKeyboardShortcutsOptions, type UseKeyboardShortcutsReturn, type UseMultiSelectReturn, type UseSelectionStateReturn, type User$1 as User, UserAssignmentSelector, type UserAssignmentSelectorProps, VelocityChart, type VelocityChartProps, type VelocityDataPoint, VirtualGrid, type VirtualGridProps, VirtualList, type VirtualListProps, type ZIndexToken, aiUsageTracker, borderRadius, buildCalendar, calculatePosition, calendarioDe, cardToGanttTask, cardsToGanttTasks, cn, conflictosDelCronograma, createKanbanView, createRetryWrapper, darkTheme, darkTheme$1 as darkTokenTheme, defaultTheme, designTokens, duration, easing, empujarSucesoras, enlacesDe, exportTokensToCSS, fechasQueCumplen, finConDuracion, findTaskByName, fontSize, fontWeight, formatCost, en$1 as ganttEnTranslations, es$1 as ganttEsTranslations, ganttTaskToCardUpdate, themes$1 as ganttThemes, gantt as ganttTokens, translations as ganttTranslations, ganttUtils, generateCSSVariables, generateCompleteCSS, generateInitialPositions, generateTasksContext, generateThemeVariables, getListViewTheme, getListViewTranslations, getToken, getTranslations, habilDesde, habilesEntre, kanban as kanbanTokens, lightTheme, lightTheme$1 as lightTokenTheme, limiteDelEnlace, lineHeight, darkTheme$2 as listViewDarkTheme, en as listViewEnTranslations, es as listViewEsTranslations, lightTheme$2 as listViewLightTheme, neutralTheme$2 as listViewNeutralTheme, listViewThemes, listViewTranslations, mergeListViewTranslations, mergeTranslations, neutralTheme, neutralTheme$1 as neutralTokenTheme, opacity, parseLocalCommand, parseNaturalDate, parseNaturalDuration, parseProgress, parseStatus, pluginManager, retrySyncOperation, retryWithBackoff, shadows, shouldVirtualizeGrid, simulateReschedule, spacing, sumarHabiles, themes, useAI, useBoard$1 as useBoard, useBoard as useBoardCore, useBoardStore, useCardStacking, useDragState, useFilteredCards, useFilters, useGanttI18n, useKanbanState, useKeyboardShortcuts, useMultiSelect, useSelectionState, useSortedCards, useTheme, useVirtualGrid, useVirtualList, validateAIResponse, withErrorBoundary, wouldCreateCircularDependency, zIndex };
|
|
7780
|
+
export { type AICallbacks, type AICommandResult, type GanttTask as AIGanttTask, type AIMessage, type AIModelKey, type AIOperation, AIUsageDashboard, type AIUsageDashboardProps, AI_FEATURES, AI_MODELS, type AccionesDelPanelV4, type Activity, type ActivityType, AddCardButton, type AddCardButtonProps, type AddCardData, AddColumnButton, type AddColumnButtonProps, type AgruparTableroV6, type AssigneeSuggestion, type Attachment, AttachmentUploader, type AttachmentUploaderProps, type AvailableUser, type Board, type BoardCallbacks, type BoardConfig, BoardProvider, type BoardProviderProps, type BorderRadiusToken, BulkOperationsToolbar, type BulkOperationsToolbarProps, BurnDownChart, type BurnDownChartProps, type BurnDownDataPoint, CUSTOM_FIELD_TYPES, type CalLayerId, type CalMoney, type CalView, CalendarView as CalendarBoard, type DailyLog as CalendarDailyLog, type TeamMember as CalendarTeamMember, type Calendario as CalendarioDelCronograma, CalendarioV6, type CalendarioV6Props, Card, type CardFilter, type CardFilters, CardHistoryReplay, type CardHistoryReplayProps, CardHistoryTimeline, type CardHistoryTimelineProps, type CardProps, CardRelationshipsGraph, type CardRelationshipsGraphProps, type CardSort, type CardSortKey, CardStack, type CardStackProps, type CardStack$1 as CardStackType, type CardStatus, type CardTemplate, CardTemplateSelector, type CardTemplateSelectorProps, type CardTimeProps, type Card$1 as CardType, CircuitBreaker, type ColorDelCalendarioV4, Column, ColumnManager, type ColumnProps, type Column$1 as ColumnType, CommandPalette, type CommandPaletteProps, type Comment, type CommentAttachment, ConfigMenu, type ConfigMenuProps, type Conflicto as ConflictoDelCronograma, ContextMenu, type ContextMenuAction, type ContextMenuState, CostosDelProyectoV4, type CustomFieldDefinition, type CustomFieldValue, DEFAULT_SHORTCUTS, DEFAULT_TABLE_COLUMNS, DEFAULT_TEMPLATES, type DateFilter, DateRangePicker, type DateRangePickerProps, DependenciesSelector, type DependenciesSelectorProps, DependencyLine, type DesignTokens, DistributionCharts, type DistributionChartsProps, type DistributionDataPoint, type DragData, type DropData, type DurationToken, type EasingToken, EditableColumnTitle, type EditableColumnTitleProps, type EnlaceDeTarea, type EntradaDelHistorialV4, ErrorBoundary, type ErrorBoundaryProps, type EscalaCalendarioV6, EscudoDeRiesgo, type EstadoV6, ExportDropdown, type ExportFormat, ExportImportModal, type ExportImportModalProps, type ExportOptions, FILTROS_CALENDARIO_V4_VACIOS, FILTROS_LISTA_V4_VACIOS, FILTROS_TABLERO_V6_VACIOS, type FillColumn, FilterBar, type FilterBarProps, type FilterState, type FiltrosDeLaListaV4, type FiltrosDelCalendarioV4, type FiltrosTableroV6, type FlattenedTask, type FontSizeToken, type FontWeightToken, GANTT_AI_SYSTEM_PROMPT, GanttAIAssistant, type GanttAIAssistantConfig, type Assignee as GanttAssignee, GanttBoard, type GanttConfig as GanttBoardConfig, type GanttBoardRef, type GanttColumn, type ColumnType$1 as GanttColumnType, type GanttConfig, GanttI18nContext, Milestone as GanttMilestone, type GanttPermissions, type Task as GanttTask, type GanttTemplates, type Theme$1 as GanttTheme, type GanttTheme as GanttThemeConfig, GanttToolbar, type GanttTranslations, GenerateGanttTasksDialog, type GenerateGanttTasksDialogProps, GeneratePlanModal, type GeneratePlanModalProps, type GeneratedPlan, type GeneratedTasksResponse, type GroupByOption, GroupBySelector, type GroupBySelectorProps, HealthBar, type HealthBarProps, type IPluginManager, type ImportResult, type Insight, type InsightSeverity, type InsightType, KanbanBoard, type KanbanBoardProps, KanbanToolbar, type KanbanToolbarProps, KanbanViewAdapter, type KanbanViewConfig, type KeyboardAction, type KeyboardShortcut, KeyboardShortcutsHelp, type KeyboardShortcutsHelpProps, type LineHeightToken, type ListColumn, type ColumnType as ListColumnType, type ListFilter, type ListSort, type ListSortColumn, ListView, type ListViewCallbacks, type ListViewConfig, type ListViewPermissions, type ListViewProps, type ListViewSupportedLocale, type ListViewTheme, type ListViewThemeName, type ListViewTranslations, MenuIcons, type MoneyMode, type OpacityToken, type OrigenDelCambio, PanelDeTareaV4, type PanelDeTareaV4Props, type PendingFile, type PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, ProfitabilityReport, type ProfitabilityReportProps, type ProjectForecast, type ProjectHealthData, QuickTaskCreate, type QuickTaskCreateData, type QuickTaskCreateProps, RATE_LIMITS, type RenderProps, type RescheduleSimulation, type RetryOptions, type RetryResult, type RiesgoDeLaTarea, STANDARD_FIELDS, STATUS_DE_ESTADO_V6, type SaludDelPieV4, type ShadowToken, type SortBy, type SortDirection, type SortOrder, type SortState, type SpacingToken, type StackSuggestion, type StackingConfig, type StackingStrategy, type SubtareasTableroV6, type Subtask, type SupportedLocale, type Swimlane, SwimlaneBoardView, type SwimlaneBoardViewProps, type SwimlaneConfig, TODOS_LOS_DIAS, type TableColumn, TableroV6, type TableroV6Props, TagBadge, TagList, TagPicker, type TareaEmpujada, TaskBar, type TaskComment, TaskDetailModal, type TaskDetailModalProps, type TaskFilterType, type TaskFormData, TaskFormModal, type TaskFormModalProps, TaskGrid, type TaskPriority, type TaskTag, type Theme, type ThemeColors, type ThemeContextValue, ThemeModal, type ThemeModalProps, type ThemeName, ThemeProvider, ThemeSwitcher, type TimeEntry, TimeInputPopover, type TimeInputPopoverProps, type TimeLogInput, type TimeLogSource, TimePill, type TimePillProps, TimePopover, type TimePopoverProps, type TimeScale, type TimeTrackingBoardProps, type TimeTrackingCallbacks, type TimeTrackingSummary, Timeline, type TimerState, type TipoDeEnlace, type TipoDeEnlaceV4, type ThemeColors$1 as TokenThemeColors, type TokenValue, type UsageStats, type UseAIOptions, type UseAIReturn, type UseBoardReturn as UseBoardCoreReturn, type UseBoardOptions, type UseBoardReturn$1 as UseBoardReturn, type UseCardStackingOptions, type UseCardStackingResult, type UseDragStateReturn, type UseFiltersOptions, type UseFiltersReturn, type UseKanbanStateOptions, type UseKanbanStateReturn, type UseKeyboardShortcutsOptions, type UseKeyboardShortcutsReturn, type UseMultiSelectReturn, type UseSelectionStateReturn, type User$1 as User, UserAssignmentSelector, type UserAssignmentSelectorProps, VISTA_CALENDARIO_V6_POR_DEFECTO, VISTA_TABLERO_V6_POR_DEFECTO, VISTA_V6_POR_DEFECTO, VelocityChart, type VelocityChartProps, type VelocityDataPoint, VirtualGrid, type VirtualGridProps, VirtualList, type VirtualListProps, type VistaCalendarioV6, type VistaTableroV6, type VistaV6, type ZIndexToken, aiUsageTracker, borderRadius, buildCalendar, calculatePosition, calendarioDe, cambiosDeRestriccion, cardToGanttTask, cardsToGanttTasks, cn, completadasALaVista, conflictosDelCronograma, createKanbanView, createRetryWrapper, darkTheme, darkTheme$1 as darkTokenTheme, defaultTheme, designTokens, diasDeRetraso, diferenciaHabil, duration, easing, empujarSucesoras, enlacesDe, estaVencida, estadoDe, estadoDeHoja, exportTokensToCSS, fasesDelCalendario, fechaCorta, fechasQueCumplen, finConDuracion, findTaskByName, fontSize, fontWeight, formatCost, en$1 as ganttEnTranslations, es$1 as ganttEsTranslations, ganttTaskToCardUpdate, themes$1 as ganttThemes, gantt as ganttTokens, translations as ganttTranslations, ganttUtils, generateCSSVariables, generateCompleteCSS, generateInitialPositions, generateTasksContext, generateThemeVariables, getListViewTheme, getListViewTranslations, getToken, getTranslations, habilDesde, habilesEntre, hojasDe, kanban as kanbanTokens, leerHoras, lightTheme, lightTheme$1 as lightTokenTheme, limiteDelEnlace, lineHeight, darkTheme$2 as listViewDarkTheme, en as listViewEnTranslations, es as listViewEsTranslations, lightTheme$2 as listViewLightTheme, neutralTheme$2 as listViewNeutralTheme, listViewThemes, listViewTranslations, mergeListViewTranslations, mergeTranslations, neutralTheme, neutralTheme$1 as neutralTokenTheme, opacity, parseLocalCommand, parseNaturalDate, parseNaturalDuration, parseProgress, parseStatus, pasoDelCalendarioV6, personasDelProyecto, pluginManager, responsablesDelTablero, retrySyncOperation, retryWithBackoff, semanaIsoDe, shadows, shouldVirtualizeGrid, simulateReschedule, spacing, sumarHabiles, textoDeDesfase, textoDeRestriccion, themes, tieneHijas, tituloDelEscudo, useAI, useBoard$1 as useBoard, useBoard as useBoardCore, useBoardStore, useCardStacking, useDragState, useFilteredCards, useFilters, useGanttI18n, useKanbanState, useKeyboardShortcuts, useMultiSelect, useSelectionState, useSortedCards, useTheme, useVirtualGrid, useVirtualList, validateAIResponse, withErrorBoundary, wouldCreateCircularDependency, zIndex };
|