@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.80",
3
+ "version": "1.1.81",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",