@cqa-lib/cqa-ui 1.1.65 → 1.1.67
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/esm2020/lib/execution-screen/base-step.component.mjs +4 -1
- package/esm2020/lib/execution-screen/condition-step/condition-step.component.mjs +3 -1
- package/esm2020/lib/execution-screen/execution-step.models.mjs +1 -1
- package/esm2020/lib/execution-screen/live-execution-step/live-execution-step.component.mjs +3 -3
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +122 -18
- package/esm2020/lib/execution-screen/step-group/step-group.component.mjs +180 -3
- package/esm2020/lib/execution-screen/step-renderer/step-renderer.component.mjs +143 -2
- package/fesm2015/cqa-lib-cqa-ui.mjs +573 -156
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +584 -155
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/execution-step.models.d.ts +1 -0
- package/lib/execution-screen/loop-step/loop-step.component.d.ts +13 -2
- package/lib/execution-screen/step-group/step-group.component.d.ts +36 -2
- package/lib/execution-screen/step-renderer/step-renderer.component.d.ts +15 -1
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
30
30
|
onAnalyzeHandler?: () => void;
|
|
31
31
|
onViewFullLogsHandler?: () => void;
|
|
32
32
|
onSelfHealActionHandler?: (event: any) => void;
|
|
33
|
+
getLoopIterationsHandler?: (step: ExecutionStepConfig) => any[];
|
|
33
34
|
failureDetails?: FailureDetails;
|
|
34
35
|
reasoning?: string[];
|
|
35
36
|
confidence?: string;
|
|
@@ -54,7 +55,8 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
54
55
|
ngOnChanges(changes: SimpleChanges): void;
|
|
55
56
|
toggle(): void;
|
|
56
57
|
selectDefaultIteration(): void;
|
|
57
|
-
handleIterationChange(
|
|
58
|
+
handleIterationChange(iteration: LoopIteration): void;
|
|
59
|
+
compareIteration(a: LoopIteration, b: LoopIteration): boolean;
|
|
58
60
|
getLoopTypeBadges(): string[];
|
|
59
61
|
getIterationLabel(iteration: LoopIteration): string;
|
|
60
62
|
onViewAllIterationsClick(event: Event): void;
|
|
@@ -74,6 +76,12 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
74
76
|
getGroupName(step: ExecutionStepConfig): string;
|
|
75
77
|
getSteps(step: ExecutionStepConfig): ExecutionStepConfig[];
|
|
76
78
|
isNestedConditionStep(step: ExecutionStepConfig): boolean;
|
|
79
|
+
isNestedLoopStep(step: ExecutionStepConfig): boolean;
|
|
80
|
+
getLoopType(step: ExecutionStepConfig): 'for' | 'while' | undefined;
|
|
81
|
+
getLoopIterations(step: ExecutionStepConfig): any[];
|
|
82
|
+
getLoopNestedSteps(step: ExecutionStepConfig): ExecutionStepConfig[];
|
|
83
|
+
handleLoopStepExpand(step: ExecutionStepConfig): void;
|
|
84
|
+
handleLoopStepIterationChange(step: ExecutionStepConfig, iterationId: string): void;
|
|
77
85
|
getStepTitle(step: ExecutionStepConfig): string;
|
|
78
86
|
getStepStatus(step: ExecutionStepConfig): StepStatus;
|
|
79
87
|
getStepDuration(step: ExecutionStepConfig): number;
|
|
@@ -90,6 +98,9 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
90
98
|
handleConditionStepUploadBaseline(event: any): void;
|
|
91
99
|
handleConditionStepAnalyze(): void;
|
|
92
100
|
handleConditionStepViewLogs(): void;
|
|
101
|
+
getLoopSelectedIterationId(step: ExecutionStepConfig): string | undefined;
|
|
102
|
+
getLoopDefaultIteration(step: ExecutionStepConfig): 'first' | 'last' | undefined;
|
|
103
|
+
getLoopShowViewAllIterations(step: ExecutionStepConfig): boolean | undefined;
|
|
93
104
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoopStepComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoopStepComponent, "cqa-loop-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "loopType": "loopType"; "iterations": "iterations"; "selectedIterationId": "selectedIterationId"; "defaultIteration": "defaultIteration"; "nestedSteps": "nestedSteps"; "showViewAllIterations": "showViewAllIterations"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "selfHealAnalysis": "selfHealAnalysis"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
105
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoopStepComponent, "cqa-loop-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "loopType": "loopType"; "iterations": "iterations"; "selectedIterationId": "selectedIterationId"; "defaultIteration": "defaultIteration"; "nestedSteps": "nestedSteps"; "showViewAllIterations": "showViewAllIterations"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "isUploadingBaseline": "isUploadingBaseline"; "selfHealAnalysis": "selfHealAnalysis"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
95
106
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { StepGroupConfig, ExecutionStepConfig, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
2
|
+
import { StepGroupConfig, ConditionBranch, ExecutionStepConfig, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class StepGroupComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
@@ -14,6 +14,19 @@ export declare class StepGroupComponent extends BaseStepComponent implements OnI
|
|
|
14
14
|
groupName: string;
|
|
15
15
|
steps: ExecutionStepConfig[];
|
|
16
16
|
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
17
|
+
getConditionBranchesHandler?: (step: ExecutionStepConfig) => ConditionBranch[];
|
|
18
|
+
isStepLoadingHandler?: (step: ExecutionStepConfig) => boolean;
|
|
19
|
+
isStepExpandedHandler?: (step: ExecutionStepConfig) => boolean;
|
|
20
|
+
convertMsToSecondsHandler?: (duration: number) => number;
|
|
21
|
+
formatFailureDetailsHandler?: (step: ExecutionStepConfig) => any;
|
|
22
|
+
getSelfHealAnalysisHandler?: (step: ExecutionStepConfig) => any;
|
|
23
|
+
onMakeCurrentBaselineHandler?: (event: any) => void;
|
|
24
|
+
onUploadBaselineHandler?: (event: any) => void;
|
|
25
|
+
onAnalyzeHandler?: () => void;
|
|
26
|
+
onViewFullLogsHandler?: () => void;
|
|
27
|
+
onSelfHealActionHandler?: (event: any) => void;
|
|
28
|
+
getLoopIterationsHandler?: (step: ExecutionStepConfig) => any[];
|
|
29
|
+
isUploadingBaseline?: any;
|
|
17
30
|
onExpand: EventEmitter<void>;
|
|
18
31
|
config: StepGroupConfig;
|
|
19
32
|
ngOnInit(): void;
|
|
@@ -23,6 +36,27 @@ export declare class StepGroupComponent extends BaseStepComponent implements OnI
|
|
|
23
36
|
isNestedStepGroupWithChildren(step: ExecutionStepConfig): boolean;
|
|
24
37
|
getGroupName(step: ExecutionStepConfig): string;
|
|
25
38
|
getSteps(step: ExecutionStepConfig): ExecutionStepConfig[];
|
|
39
|
+
isNestedLoopStep(step: ExecutionStepConfig): boolean;
|
|
40
|
+
isNestedConditionStep(step: ExecutionStepConfig): boolean;
|
|
41
|
+
getStepTitle(step: ExecutionStepConfig): string;
|
|
42
|
+
getStepStatus(step: ExecutionStepConfig): StepStatus;
|
|
43
|
+
getStepDuration(step: ExecutionStepConfig): number;
|
|
44
|
+
getLoopType(step: ExecutionStepConfig): 'for' | 'while' | undefined;
|
|
45
|
+
getLoopIterations(step: ExecutionStepConfig): any[];
|
|
46
|
+
getLoopNestedSteps(step: ExecutionStepConfig): ExecutionStepConfig[];
|
|
47
|
+
getConditionStepDuration(step: ExecutionStepConfig): number;
|
|
48
|
+
getConditionStepExpanded(step: ExecutionStepConfig): boolean;
|
|
49
|
+
getConditionStepText(step: ExecutionStepConfig): string;
|
|
50
|
+
getConditionStepBranches(step: ExecutionStepConfig): ConditionBranch[];
|
|
51
|
+
getConditionStepLoading(step: ExecutionStepConfig): boolean;
|
|
52
|
+
handleConditionStepExpand(step: ExecutionStepConfig): void;
|
|
53
|
+
handleLoopStepExpand(step: ExecutionStepConfig): void;
|
|
54
|
+
handleLoopStepIterationChange(step: ExecutionStepConfig, iterationId: string): void;
|
|
55
|
+
getConditionStepFailureDetails(step: ExecutionStepConfig): any;
|
|
56
|
+
getConditionStepSelfHealAnalysis(step: ExecutionStepConfig): any;
|
|
57
|
+
getLoopSelectedIterationId(step: ExecutionStepConfig): string | undefined;
|
|
58
|
+
getLoopDefaultIteration(step: ExecutionStepConfig): 'first' | 'last' | undefined;
|
|
59
|
+
getLoopShowViewAllIterations(step: ExecutionStepConfig): boolean | undefined;
|
|
26
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepGroupComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepGroupComponent, "cqa-step-group", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "groupName": "groupName"; "steps": "steps"; "onExpandHandler": "onExpandHandler"; }, { "onExpand": "onExpand"; }, never, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepGroupComponent, "cqa-step-group", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "groupName": "groupName"; "steps": "steps"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "getLoopIterationsHandler": "getLoopIterationsHandler"; "isUploadingBaseline": "isUploadingBaseline"; }, { "onExpand": "onExpand"; }, never, never>;
|
|
28
62
|
}
|
|
@@ -9,11 +9,25 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class StepRendererComponent implements OnChanges, AfterViewInit {
|
|
10
10
|
private componentMap;
|
|
11
11
|
step: ExecutionStepConfig;
|
|
12
|
+
onExpandHandler?: (step: ExecutionStepConfig) => void;
|
|
13
|
+
getConditionBranchesHandler?: (step: ExecutionStepConfig) => any;
|
|
14
|
+
isStepLoadingHandler?: (step: ExecutionStepConfig) => boolean;
|
|
15
|
+
isStepExpandedHandler?: (step: ExecutionStepConfig) => boolean;
|
|
16
|
+
convertMsToSecondsHandler?: (duration: number) => number;
|
|
17
|
+
formatFailureDetailsHandler?: (step: ExecutionStepConfig) => any;
|
|
18
|
+
getSelfHealAnalysisHandler?: (step: ExecutionStepConfig) => any;
|
|
19
|
+
onMakeCurrentBaselineHandler?: (event: any) => void;
|
|
20
|
+
onUploadBaselineHandler?: (event: any) => void;
|
|
21
|
+
onAnalyzeHandler?: () => void;
|
|
22
|
+
onViewFullLogsHandler?: () => void;
|
|
23
|
+
onSelfHealActionHandler?: (event: any) => void;
|
|
24
|
+
isUploadingBaseline?: any;
|
|
25
|
+
getLoopIterationsHandler?: (step: ExecutionStepConfig) => any[];
|
|
12
26
|
container: ViewContainerRef;
|
|
13
27
|
constructor(componentMap: Map<string, Type<any>>);
|
|
14
28
|
ngOnChanges(changes: SimpleChanges): void;
|
|
15
29
|
ngAfterViewInit(): void;
|
|
16
30
|
private loadComponent;
|
|
17
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepRendererComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepRendererComponent, "cqa-step-renderer", never, { "step": "step"; }, {}, never, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepRendererComponent, "cqa-step-renderer", never, { "step": "step"; "onExpandHandler": "onExpandHandler"; "getConditionBranchesHandler": "getConditionBranchesHandler"; "isStepLoadingHandler": "isStepLoadingHandler"; "isStepExpandedHandler": "isStepExpandedHandler"; "convertMsToSecondsHandler": "convertMsToSecondsHandler"; "formatFailureDetailsHandler": "formatFailureDetailsHandler"; "getSelfHealAnalysisHandler": "getSelfHealAnalysisHandler"; "onMakeCurrentBaselineHandler": "onMakeCurrentBaselineHandler"; "onUploadBaselineHandler": "onUploadBaselineHandler"; "onAnalyzeHandler": "onAnalyzeHandler"; "onViewFullLogsHandler": "onViewFullLogsHandler"; "onSelfHealActionHandler": "onSelfHealActionHandler"; "isUploadingBaseline": "isUploadingBaseline"; "getLoopIterationsHandler": "getLoopIterationsHandler"; }, {}, never, never>;
|
|
19
33
|
}
|