@cqa-lib/cqa-ui 1.1.29 → 1.1.31
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 +25 -4
- package/esm2020/lib/execution-screen/api-step/api-step.component.mjs +22 -4
- package/esm2020/lib/execution-screen/condition-step/condition-step.component.mjs +20 -4
- package/esm2020/lib/execution-screen/execution-step.models.mjs +1 -1
- package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +20 -5
- package/esm2020/lib/execution-screen/main-step-collapse/main-step-collapse.component.mjs +21 -4
- package/fesm2015/cqa-lib-cqa-ui.mjs +90 -10
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +89 -10
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/ai-agent-step/ai-agent-step.component.d.ts +8 -2
- package/lib/execution-screen/api-step/api-step.component.d.ts +8 -2
- package/lib/execution-screen/condition-step/condition-step.component.d.ts +8 -2
- package/lib/execution-screen/execution-step.models.d.ts +3 -0
- package/lib/execution-screen/loop-step/loop-step.component.d.ts +8 -2
- package/lib/execution-screen/main-step-collapse/main-step-collapse.component.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AIAgentStepConfig, AIAgentAction, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
2
|
+
import { AIAgentStepConfig, AIAgentAction, StepStatus, TimingBreakdown, FailureDetails, SubStep } 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 AIAgentStepComponent extends BaseStepComponent implements OnInit {
|
|
@@ -15,6 +15,10 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
15
15
|
actionCount?: number;
|
|
16
16
|
actions?: AIAgentAction[];
|
|
17
17
|
selectedTabInput?: 'action-trace' | 'planner-timeline' | 'ai-reasoning';
|
|
18
|
+
failureDetails?: FailureDetails;
|
|
19
|
+
reasoning?: string[];
|
|
20
|
+
confidence?: string;
|
|
21
|
+
showFailedStepDetails: boolean;
|
|
18
22
|
config: AIAgentStepConfig;
|
|
19
23
|
selectedTab: 'action-trace' | 'planner-timeline' | 'ai-reasoning';
|
|
20
24
|
ngOnInit(): void;
|
|
@@ -22,6 +26,8 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
|
|
|
22
26
|
getActionIcon(actionType: 'extract' | 'validate'): string;
|
|
23
27
|
copyToClipboard(text: string): void;
|
|
24
28
|
copyPrompt(): void;
|
|
29
|
+
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
30
|
+
getSubStepsForFailedStep(): SubStep[];
|
|
25
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentStepComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentStepComponent, "cqa-ai-agent-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "prompt": "prompt"; "optimizedRun": "optimizedRun"; "actionCount": "actionCount"; "actions": "actions"; "selectedTabInput": "selectedTabInput"; }, {}, never, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentStepComponent, "cqa-ai-agent-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "prompt": "prompt"; "optimizedRun": "optimizedRun"; "actionCount": "actionCount"; "actions": "actions"; "selectedTabInput": "selectedTabInput"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, {}, never, never>;
|
|
27
33
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ApiStepConfig, ApiAssertion, SubStep, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
2
|
+
import { ApiStepConfig, ApiAssertion, SubStep, StepStatus, TimingBreakdown, 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 ApiStepComponent extends BaseStepComponent implements OnInit {
|
|
@@ -20,6 +20,10 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
20
20
|
responseHeaders?: any;
|
|
21
21
|
assertions?: ApiAssertion[];
|
|
22
22
|
initialActions?: SubStep[];
|
|
23
|
+
failureDetails?: FailureDetails;
|
|
24
|
+
reasoning?: string[];
|
|
25
|
+
confidence?: string;
|
|
26
|
+
showFailedStepDetails: boolean;
|
|
23
27
|
config: ApiStepConfig;
|
|
24
28
|
ngOnInit(): void;
|
|
25
29
|
getStatusBadgeClass(): string;
|
|
@@ -31,6 +35,8 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
|
|
|
31
35
|
copyResponseBody(): void;
|
|
32
36
|
copyRequestHeaders(): void;
|
|
33
37
|
copyResponseHeaders(): void;
|
|
38
|
+
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
39
|
+
getSubStepsForFailedStep(): SubStep[];
|
|
34
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiStepComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApiStepComponent, "cqa-api-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "method": "method"; "endpoint": "endpoint"; "statusCode": "statusCode"; "responseTime": "responseTime"; "requestBody": "requestBody"; "responseBody": "responseBody"; "requestHeaders": "requestHeaders"; "responseHeaders": "responseHeaders"; "assertions": "assertions"; "initialActions": "initialActions"; }, {}, never, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApiStepComponent, "cqa-api-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "method": "method"; "endpoint": "endpoint"; "statusCode": "statusCode"; "responseTime": "responseTime"; "requestBody": "requestBody"; "responseBody": "responseBody"; "requestHeaders": "requestHeaders"; "responseHeaders": "responseHeaders"; "assertions": "assertions"; "initialActions": "initialActions"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, {}, never, never>;
|
|
36
42
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
2
|
+
import { ConditionStepConfig, ConditionBranch, StepStatus, TimingBreakdown, FailureDetails, SubStep } 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 ConditionStepComponent extends BaseStepComponent implements OnInit {
|
|
@@ -12,13 +12,19 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
|
|
|
12
12
|
expanded?: boolean;
|
|
13
13
|
conditionText: string;
|
|
14
14
|
branches: ConditionBranch[];
|
|
15
|
+
failureDetails?: FailureDetails;
|
|
16
|
+
reasoning?: string[];
|
|
17
|
+
confidence?: string;
|
|
15
18
|
onBranchClickEvent: EventEmitter<ConditionBranch>;
|
|
19
|
+
showFailedStepDetails: boolean;
|
|
16
20
|
config: ConditionStepConfig;
|
|
17
21
|
ngOnInit(): void;
|
|
18
22
|
getExecutedBranch(): ConditionBranch | null;
|
|
19
23
|
getUnexecutedBranches(): ConditionBranch[];
|
|
20
24
|
getSubStepIndex(subSteps: any[], subStep: any): number;
|
|
21
25
|
onBranchClick(branch: ConditionBranch): void;
|
|
26
|
+
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
27
|
+
getSubStepsForFailedStep(): SubStep[];
|
|
22
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConditionStepComponent, 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>;
|
|
29
|
+
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"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, { "onBranchClickEvent": "onBranchClickEvent"; }, never, never>;
|
|
24
30
|
}
|
|
@@ -52,6 +52,9 @@ export interface BaseStepConfig {
|
|
|
52
52
|
duration: number;
|
|
53
53
|
timingBreakdown?: TimingBreakdown;
|
|
54
54
|
expanded?: boolean;
|
|
55
|
+
failureDetails?: FailureDetails;
|
|
56
|
+
reasoning?: string[];
|
|
57
|
+
confidence?: string;
|
|
55
58
|
}
|
|
56
59
|
export interface SelfHealAnalysisData {
|
|
57
60
|
originalLocator: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { LoopStepConfig, LoopIteration, ExecutionStepConfig, StepStatus, TimingBreakdown } from '../execution-step.models';
|
|
2
|
+
import { LoopStepConfig, LoopIteration, ExecutionStepConfig, StepStatus, TimingBreakdown, FailureDetails, SubStep } 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 LoopStepComponent extends BaseStepComponent implements OnInit, OnChanges {
|
|
@@ -16,6 +16,10 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
16
16
|
defaultIteration?: 'first' | 'last';
|
|
17
17
|
nestedSteps?: ExecutionStepConfig[];
|
|
18
18
|
showViewAllIterations?: boolean;
|
|
19
|
+
failureDetails?: FailureDetails;
|
|
20
|
+
reasoning?: string[];
|
|
21
|
+
confidence?: string;
|
|
22
|
+
showFailedStepDetails: boolean;
|
|
19
23
|
onExpand: EventEmitter<void>;
|
|
20
24
|
onViewAllIterations: EventEmitter<void>;
|
|
21
25
|
onIterationChange: EventEmitter<string>;
|
|
@@ -29,6 +33,8 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
|
|
|
29
33
|
getLoopTypeBadges(): string[];
|
|
30
34
|
getIterationLabel(iteration: LoopIteration): string;
|
|
31
35
|
onViewAllIterationsClick(event: Event): void;
|
|
36
|
+
onViewMoreFailedStepClick(expanded: boolean): void;
|
|
37
|
+
getSubStepsForFailedStep(): SubStep[];
|
|
32
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoopStepComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoopStepComponent, "cqa-loop-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "loopType": "loopType"; "iterations": "iterations"; "selectedIterationId": "selectedIterationId"; "defaultIteration": "defaultIteration"; "nestedSteps": "nestedSteps"; "showViewAllIterations": "showViewAllIterations"; }, { "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoopStepComponent, "cqa-loop-step", never, { "id": "id"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "loopType": "loopType"; "iterations": "iterations"; "selectedIterationId": "selectedIterationId"; "defaultIteration": "defaultIteration"; "nestedSteps": "nestedSteps"; "showViewAllIterations": "showViewAllIterations"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; }, { "onExpand": "onExpand"; "onViewAllIterations": "onViewAllIterations"; "onIterationChange": "onIterationChange"; }, never, never>;
|
|
34
40
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { PrerequisiteItem, StepStatus } from '../execution-step.models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare type IconType = 'folder' | 'loop' | 'custom';
|
|
@@ -11,13 +11,17 @@ export declare class MainStepCollapseComponent implements OnInit {
|
|
|
11
11
|
items: PrerequisiteItem[];
|
|
12
12
|
expanded: boolean;
|
|
13
13
|
icon?: IconConfig;
|
|
14
|
+
itemContentTemplate?: TemplateRef<any>;
|
|
15
|
+
itemContentTpl?: TemplateRef<any>;
|
|
14
16
|
viewSteps: EventEmitter<PrerequisiteItem>;
|
|
15
17
|
isExpanded: boolean;
|
|
18
|
+
expandedItemId: string | null;
|
|
16
19
|
ngOnInit(): void;
|
|
17
20
|
toggle(): void;
|
|
18
21
|
formatDuration(seconds: number): string;
|
|
19
22
|
getStatusIcon(status: StepStatus): string;
|
|
20
23
|
onViewSteps(item: PrerequisiteItem, event: Event): void;
|
|
24
|
+
isItemExpanded(itemId: string): boolean;
|
|
21
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainStepCollapseComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainStepCollapseComponent, "cqa-main-step-collapse", never, { "title": "title"; "items": "items"; "expanded": "expanded"; "icon": "icon"; }, { "viewSteps": "viewSteps"; },
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainStepCollapseComponent, "cqa-main-step-collapse", never, { "title": "title"; "items": "items"; "expanded": "expanded"; "icon": "icon"; "itemContentTemplate": "itemContentTemplate"; }, { "viewSteps": "viewSteps"; }, ["itemContentTpl"], ["*"]>;
|
|
23
27
|
}
|