@fluxhub/fluxhub-lib 19.0.114 → 19.0.116
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.
|
@@ -5,9 +5,16 @@ export declare class BpmnEditorComponent implements AfterViewInit, OnDestroy {
|
|
|
5
5
|
initialXml?: string;
|
|
6
6
|
completedSteps: number[];
|
|
7
7
|
currentStep?: number;
|
|
8
|
+
transitionData: Array<{
|
|
9
|
+
fromStep: number;
|
|
10
|
+
toStep: number;
|
|
11
|
+
user: string;
|
|
12
|
+
date: string;
|
|
13
|
+
}>;
|
|
8
14
|
diagramChanged: EventEmitter<string>;
|
|
9
15
|
elementSelected: EventEmitter<any>;
|
|
10
16
|
private modeler?;
|
|
17
|
+
private overlays;
|
|
11
18
|
ngAfterViewInit(): void;
|
|
12
19
|
ngOnDestroy(): void;
|
|
13
20
|
private initializeBpmnEditor;
|
|
@@ -34,6 +41,27 @@ export declare class BpmnEditorComponent implements AfterViewInit, OnDestroy {
|
|
|
34
41
|
* Update step colors dynamically (call this when step status changes)
|
|
35
42
|
*/
|
|
36
43
|
updateStepColors(completedSteps: number[], currentStep?: number): void;
|
|
44
|
+
/**
|
|
45
|
+
* Apply transition information (user and date) on completed connections
|
|
46
|
+
*/
|
|
47
|
+
private applyTransitionInfo;
|
|
48
|
+
/**
|
|
49
|
+
* Find BPMN connection (sequence flow) that links two steps
|
|
50
|
+
*/
|
|
51
|
+
private findConnectionForTransition;
|
|
52
|
+
/**
|
|
53
|
+
* Escape HTML to prevent XSS
|
|
54
|
+
*/
|
|
55
|
+
private escapeHtml;
|
|
56
|
+
/**
|
|
57
|
+
* Update transition data dynamically
|
|
58
|
+
*/
|
|
59
|
+
updateTransitionData(transitionData: Array<{
|
|
60
|
+
fromStep: number;
|
|
61
|
+
toStep: number;
|
|
62
|
+
user: string;
|
|
63
|
+
date: string;
|
|
64
|
+
}>): void;
|
|
37
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<BpmnEditorComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BpmnEditorComponent, "fh-bpmn-editor", never, { "initialXml": { "alias": "initialXml"; "required": false; }; "completedSteps": { "alias": "completedSteps"; "required": false; }; "currentStep": { "alias": "currentStep"; "required": false; }; }, { "diagramChanged": "diagramChanged"; "elementSelected": "elementSelected"; }, never, never, true, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BpmnEditorComponent, "fh-bpmn-editor", never, { "initialXml": { "alias": "initialXml"; "required": false; }; "completedSteps": { "alias": "completedSteps"; "required": false; }; "currentStep": { "alias": "currentStep"; "required": false; }; "transitionData": { "alias": "transitionData"; "required": false; }; }, { "diagramChanged": "diagramChanged"; "elementSelected": "elementSelected"; }, never, never, true, never>;
|
|
39
67
|
}
|
|
@@ -25,14 +25,26 @@ export declare class win_log_v2 implements AfterViewInit {
|
|
|
25
25
|
diagramma_flusso: string;
|
|
26
26
|
completedSteps: number[];
|
|
27
27
|
currentStep: number;
|
|
28
|
+
transitionData: Array<{
|
|
29
|
+
fromStep: number;
|
|
30
|
+
toStep: number;
|
|
31
|
+
user: string;
|
|
32
|
+
date: string;
|
|
33
|
+
}>;
|
|
28
34
|
ric_all(): void;
|
|
29
35
|
close(): void;
|
|
30
36
|
init_v(): void;
|
|
31
37
|
zz?: MatTabGroup;
|
|
38
|
+
bpmnViewer?: any;
|
|
32
39
|
b_flussook: boolean;
|
|
33
40
|
load_graph(): void;
|
|
34
41
|
private loadWorkflowStepStatus;
|
|
35
42
|
private calculateCompletedStepsFromLogs;
|
|
43
|
+
private formatDate;
|
|
44
|
+
zoomIn(): void;
|
|
45
|
+
zoomOut(): void;
|
|
46
|
+
zoomFit(): void;
|
|
47
|
+
zoomReset(): void;
|
|
36
48
|
logs: Array<any>;
|
|
37
49
|
notifica_commenti: number;
|
|
38
50
|
notifica_commenti_obbl: number;
|