@cqa-lib/cqa-ui 1.1.80 → 1.1.81
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/ai-agent-step/ai-agent-step.component.mjs +10 -3
- package/esm2020/lib/execution-screen/basic-step/basic-step.component.mjs +2 -1
- package/esm2020/lib/execution-screen/condition-step/condition-step.component.mjs +89 -19
- package/esm2020/lib/execution-screen/execution-step.models.mjs +1 -1
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +4 -3
- package/esm2020/lib/execution-screen/step-renderer/step-renderer.component.mjs +71 -11
- package/fesm2015/cqa-lib-cqa-ui.mjs +148 -32
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +170 -32
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/condition-step/condition-step.component.d.ts +3 -2
- package/lib/execution-screen/execution-step.models.d.ts +1 -1
- package/lib/execution-screen/step-renderer/step-renderer.component.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, SelfHealAction, ExecutionStepConfig } from '../execution-step.models';
|
|
3
3
|
import { BaseStepComponent } from '../base-step.component';
|
|
4
4
|
import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ConditionStepComponent extends BaseStepComponent implements OnInit {
|
|
6
|
+
export declare class ConditionStepComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
7
7
|
id: string;
|
|
8
8
|
testStepResultId: string;
|
|
9
9
|
stepNumber: string;
|
|
@@ -53,6 +53,7 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
53
53
|
showFailedStepDetails: boolean;
|
|
54
54
|
config: ConditionStepConfig;
|
|
55
55
|
ngOnInit(): void;
|
|
56
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
56
57
|
toggle(): void;
|
|
57
58
|
getExecutedBranch(): ConditionBranch | null;
|
|
58
59
|
getUnexecutedBranches(): ConditionBranch[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Models and interfaces for execution screen step components
|
|
3
3
|
*/
|
|
4
|
-
export declare type StepStatus = 'success' | 'failed' | 'pending' | 'running';
|
|
4
|
+
export declare type StepStatus = 'success' | 'failed' | 'pending' | 'running' | 'SUCCESS' | 'FAILED' | 'PENDING' | 'RUNNING';
|
|
5
5
|
export interface TimingBreakdown {
|
|
6
6
|
app: number;
|
|
7
7
|
tool: number;
|
|
@@ -39,6 +39,10 @@ export declare class StepRendererComponent implements OnChanges, AfterViewInit,
|
|
|
39
39
|
ngAfterViewInit(): void;
|
|
40
40
|
private updateComponentInstance;
|
|
41
41
|
private hasValueChanged;
|
|
42
|
+
/**
|
|
43
|
+
* Deep comparison for branches array to detect changes in nested subSteps
|
|
44
|
+
*/
|
|
45
|
+
private hasBranchesChanged;
|
|
42
46
|
private getStepKey;
|
|
43
47
|
private loadComponent;
|
|
44
48
|
ngDoCheck(): void;
|