@cqa-lib/cqa-ui 1.1.234 → 1.1.235

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,11 +1,12 @@
1
- import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
1
+ import { OnInit, OnChanges, SimpleChanges, EventEmitter, DoCheck, OnDestroy, ChangeDetectorRef } from '@angular/core';
2
2
  import { BaseStepComponent } from '../base-step.component';
3
3
  import { DbVerificationStepConfig, DbTestResult, DbQueryResult, DbAssertionResult, StepStatus, TimingBreakdown, FailureDetails, SubStep, SelfHealAnalysisData, ExecutionStepConfig, SelfHealActionEvent, AddStepMenuOption, StepMoreMenuOption } from '../execution-step.models';
4
4
  import { DynamicTableColumn } from '../../table/dynamic-table/dynamic-table.component';
5
5
  import { EmptyStateConfig } from '../../empty-state/empty-state-config.interface';
6
6
  import { makeCurrentBaselineEvent, uploadBaselineEvent } from '../visual-comparison/visual-comparison.component';
7
7
  import * as i0 from "@angular/core";
8
- export declare class DbVerificationStepComponent extends BaseStepComponent implements OnInit, OnChanges {
8
+ export declare class DbVerificationStepComponent extends BaseStepComponent implements OnInit, OnChanges, DoCheck, OnDestroy {
9
+ private cdr;
9
10
  id: string;
10
11
  testStepResultId: string;
11
12
  stepNumber: string;
@@ -50,7 +51,15 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
50
51
  }) => void;
51
52
  isLive: boolean;
52
53
  step?: any;
54
+ subSteps: SubStep[];
55
+ processedSubSteps: any[];
56
+ private lastProcessedIndex;
57
+ private waitLocatorGroupEntry;
58
+ private countdownIntervalId;
59
+ private aiAutoHealGroupEntry;
60
+ processedSubStepsForRunResult: any[];
53
61
  showFailedStepDetails: boolean;
62
+ constructor(cdr: ChangeDetectorRef);
54
63
  /** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
55
64
  get showDebugIcon(): boolean;
56
65
  showEnvironmentCopied: boolean;
@@ -77,7 +86,10 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
77
86
  ngOnInit(): void;
78
87
  getStatus(): StepStatus;
79
88
  ngOnChanges(changes: SimpleChanges): void;
89
+ ngDoCheck(): void;
90
+ ngOnDestroy(): void;
80
91
  private updateConfig;
92
+ get hasSubSteps(): boolean;
81
93
  onDebugPointClick(event: Event): void;
82
94
  toggleHeader(event?: Event): void;
83
95
  private updateCachedQueryResults;
@@ -119,6 +131,10 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
119
131
  onStepMoreOptionSelect(option: StepMoreMenuOption, event: Event): void;
120
132
  onSelfHealAction(event: SelfHealActionEvent): void;
121
133
  onJumpToTimestamp(event: Event): void;
134
+ private processLiveSubSteps;
135
+ private resetLiveProcessing;
136
+ private clearCountdownTimer;
137
+ private processSubStepsForRunResult;
122
138
  static ɵfac: i0.ɵɵFactoryDeclaration<DbVerificationStepComponent, never>;
123
- static ɵcmp: i0.ɵɵComponentDeclaration<DbVerificationStepComponent, "cqa-db-verification-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "dbTestResult": "dbTestResult"; "dbConfig": "dbConfig"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "isLive": "isLive"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
139
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbVerificationStepComponent, "cqa-db-verification-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "dbTestResult": "dbTestResult"; "dbConfig": "dbConfig"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "jumpToTimestampHandler": "jumpToTimestampHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "isLive": "isLive"; "step": "step"; "subSteps": "subSteps"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
124
140
  }
@@ -227,6 +227,7 @@ export interface DbTestResult {
227
227
  export interface DbVerificationStepConfig extends BaseStepConfig {
228
228
  type: 'db-verification';
229
229
  dbTestResult: DbTestResult;
230
+ subSteps?: SubStep[];
230
231
  dbConfig?: {
231
232
  name: string;
232
233
  dbType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.234",
3
+ "version": "1.1.235",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",