@cqa-lib/cqa-ui 1.1.25 → 1.1.27

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,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { BasicStepConfig, SelfHealAction, SubStep, StepStatus, TimingBreakdown, SelfHealAnalysisData } from '../execution-step.models';
2
+ import { BasicStepConfig, SelfHealAction, SubStep, StepStatus, TimingBreakdown, SelfHealAnalysisData, FailureDetails } 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 BasicStepComponent extends BaseStepComponent implements OnInit {
@@ -14,13 +14,21 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
14
14
  selfHealAnalysis?: SelfHealAnalysisData;
15
15
  selfHealed?: boolean;
16
16
  selfHealDuration?: number;
17
+ failureDetails?: FailureDetails;
18
+ reasoning?: string[];
19
+ confidence?: string;
17
20
  config: BasicStepConfig;
18
21
  ngOnInit(): void;
19
22
  get hasSubSteps(): boolean;
20
- onSelfHealAction(action: SelfHealAction): void;
21
- onAccept(): void;
22
- onReject(): void;
23
- onModifyAccept(): void;
23
+ showFailedStepDetails: boolean;
24
+ onViewMoreFailedStepClick(expanded: boolean): void;
25
+ onSelfHealAction(event: {
26
+ type: SelfHealAction;
27
+ healedLocator: string;
28
+ }): void;
29
+ onAccept(healedLocator: string): void;
30
+ onReject(healedLocator: string): void;
31
+ onModifyAccept(healedLocator: string): void;
24
32
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicStepComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; }, {}, never, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasicStepComponent, "cqa-basic-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "subSteps": "subSteps"; "selfHealAnalysis": "selfHealAnalysis"; "selfHealed": "selfHealed"; "selfHealDuration": "selfHealDuration"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, {}, never, never>;
26
34
  }
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown } from '../execution-step.models';
3
3
  import { BaseStepComponent } from '../base-step.component';
4
4
  import * as i0 from "@angular/core";
@@ -12,11 +12,13 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
12
12
  expanded?: boolean;
13
13
  conditionText: string;
14
14
  branches: ConditionBranch[];
15
+ onBranchClickEvent: EventEmitter<ConditionBranch>;
15
16
  config: ConditionStepConfig;
16
17
  ngOnInit(): void;
17
18
  getExecutedBranch(): ConditionBranch | null;
18
19
  getUnexecutedBranches(): ConditionBranch[];
19
20
  getSubStepIndex(subSteps: any[], subStep: any): number;
21
+ onBranchClick(branch: ConditionBranch): void;
20
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ConditionStepComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ConditionStepComponent, "cqa-condition-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "conditionText": "conditionText"; "branches": "branches"; }, {}, never, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConditionStepComponent, "cqa-condition-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "conditionText": "conditionText"; "branches": "branches"; }, { "onBranchClickEvent": "onBranchClickEvent"; }, never, never>;
22
24
  }
@@ -20,7 +20,7 @@ export interface LoopIteration {
20
20
  subSteps?: SubStep[];
21
21
  }
22
22
  export interface ConditionBranch {
23
- type: 'if' | 'else';
23
+ type: 'if' | 'else' | 'else if';
24
24
  label: string;
25
25
  executed: boolean;
26
26
  subSteps?: SubStep[];
@@ -6,7 +6,10 @@ export declare class SelfHealAnalysisComponent implements OnInit {
6
6
  healedLocator: string;
7
7
  confidence: number;
8
8
  healMethod: string;
9
- action: EventEmitter<SelfHealAction>;
9
+ action: EventEmitter<{
10
+ type: SelfHealAction;
11
+ healedLocator: string;
12
+ }>;
10
13
  data: SelfHealAnalysisData;
11
14
  ngOnInit(): void;
12
15
  onAccept(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.25",
3
+ "version": "1.1.27",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",