@cqa-lib/cqa-ui 1.1.184 → 1.1.186
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/main-step-collapse/main-step-collapse.component.mjs +20 -3
- package/esm2020/lib/simulator/simulator.component.mjs +188 -346
- package/esm2020/lib/step-builder/step-builder-api/step-builder-api.component.mjs +510 -0
- package/esm2020/lib/step-builder/step-builder-custom-code/step-builder-custom-code.component.mjs +92 -7
- package/esm2020/lib/test-case-details/create-step-group/create-step-group.component.mjs +114 -0
- package/esm2020/lib/test-case-details/delete-steps/delete-steps.component.mjs +104 -0
- package/esm2020/lib/ui-kit.module.mjs +17 -2
- package/esm2020/public-api.mjs +4 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +1065 -398
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +1014 -356
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/main-step-collapse/main-step-collapse.component.d.ts +6 -3
- package/lib/simulator/simulator.component.d.ts +10 -22
- package/lib/step-builder/step-builder-api/step-builder-api.component.d.ts +115 -0
- package/lib/step-builder/step-builder-custom-code/step-builder-custom-code.component.d.ts +17 -3
- package/lib/test-case-details/create-step-group/create-step-group.component.d.ts +30 -0
- package/lib/test-case-details/delete-steps/delete-steps.component.d.ts +26 -0
- package/lib/ui-kit.module.d.ts +35 -32
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
- package/styles.css +1 -1
|
@@ -33,6 +33,8 @@ export declare class MainStepCollapseComponent implements OnInit, OnChanges {
|
|
|
33
33
|
getViewStepsUrl?: (item: PrerequisiteItem) => string;
|
|
34
34
|
/** When redirecting, open link in new tab. Default true */
|
|
35
35
|
viewStepsOpenInNewTab: boolean;
|
|
36
|
+
/** Optional initial item id to expand (e.g. first failed prerequisite). When set and present in items, that item is expanded on load. */
|
|
37
|
+
initialExpandedItemId: string | number | null;
|
|
36
38
|
itemContentTpl?: TemplateRef<any>;
|
|
37
39
|
viewSteps: EventEmitter<PrerequisiteItem>;
|
|
38
40
|
headerButtonClick: EventEmitter<{
|
|
@@ -41,14 +43,15 @@ export declare class MainStepCollapseComponent implements OnInit, OnChanges {
|
|
|
41
43
|
}>;
|
|
42
44
|
expandedChange: EventEmitter<boolean>;
|
|
43
45
|
isExpanded: boolean;
|
|
44
|
-
expandedItemId: string | null;
|
|
46
|
+
expandedItemId: string | number | null;
|
|
45
47
|
ngOnInit(): void;
|
|
46
48
|
ngOnChanges(changes: SimpleChanges): void;
|
|
49
|
+
private applyInitialExpandedItemId;
|
|
47
50
|
toggle(): void;
|
|
48
51
|
formatDuration(seconds: number): string;
|
|
49
52
|
getStatusIcon(status: StepStatus): string;
|
|
50
53
|
onViewSteps(item: PrerequisiteItem, event: Event): void;
|
|
51
|
-
isItemExpanded(itemId: string): boolean;
|
|
54
|
+
isItemExpanded(itemId: string | number): boolean;
|
|
52
55
|
getDisplayCount(): number;
|
|
53
56
|
onHeaderButtonClick(config: HeaderButtonConfig, index: number, event: MouseEvent): void;
|
|
54
57
|
/** Resolves the redirect URL for an item: item.viewStepsUrl takes precedence, else getViewStepsUrl(item) */
|
|
@@ -56,5 +59,5 @@ export declare class MainStepCollapseComponent implements OnInit, OnChanges {
|
|
|
56
59
|
/** Whether redirect mode is active and we have a URL for this item */
|
|
57
60
|
hasViewStepsRedirectUrl(item: PrerequisiteItem): boolean;
|
|
58
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainStepCollapseComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainStepCollapseComponent, "cqa-main-step-collapse", never, { "title": "title"; "items": "items"; "expanded": "expanded"; "icon": "icon"; "count": "count"; "itemContentTemplate": "itemContentTemplate"; "headerButtons": "headerButtons"; "viewStepsAsRedirect": "viewStepsAsRedirect"; "getViewStepsUrl": "getViewStepsUrl"; "viewStepsOpenInNewTab": "viewStepsOpenInNewTab"; }, { "viewSteps": "viewSteps"; "headerButtonClick": "headerButtonClick"; "expandedChange": "expandedChange"; }, ["itemContentTpl"], ["*", "[itemContent]", "[afterItems]"]>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainStepCollapseComponent, "cqa-main-step-collapse", never, { "title": "title"; "items": "items"; "expanded": "expanded"; "icon": "icon"; "count": "count"; "itemContentTemplate": "itemContentTemplate"; "headerButtons": "headerButtons"; "viewStepsAsRedirect": "viewStepsAsRedirect"; "getViewStepsUrl": "getViewStepsUrl"; "viewStepsOpenInNewTab": "viewStepsOpenInNewTab"; "initialExpandedItemId": "initialExpandedItemId"; }, { "viewSteps": "viewSteps"; "headerButtonClick": "headerButtonClick"; "expandedChange": "expandedChange"; }, ["itemContentTpl"], ["*", "[itemContent]", "[afterItems]"]>;
|
|
60
63
|
}
|
|
@@ -70,6 +70,7 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
70
70
|
private operationQueue;
|
|
71
71
|
get hasDeviceFrame(): boolean;
|
|
72
72
|
get isPlayerSwitching(): boolean;
|
|
73
|
+
get shouldApplySmallHeightClasses(): boolean;
|
|
73
74
|
segments: SegmentOption[];
|
|
74
75
|
speedSegments: SegmentOption[];
|
|
75
76
|
private videoEventListenerCleanup;
|
|
@@ -79,7 +80,6 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
79
80
|
private speedControlClickOutsideHandler;
|
|
80
81
|
private preloadVideoElement;
|
|
81
82
|
private preloadAllVideoElement;
|
|
82
|
-
private targetGlobalTimeDuringSwitch;
|
|
83
83
|
safeTraceUrl: SafeResourceUrl;
|
|
84
84
|
traceViewerLoading: boolean;
|
|
85
85
|
traceViewerError: boolean;
|
|
@@ -109,10 +109,6 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
109
109
|
* Seek video - public method (enqueues operation)
|
|
110
110
|
*/
|
|
111
111
|
seekToTime(milliseconds: number): void;
|
|
112
|
-
/**
|
|
113
|
-
* Seek to a global time on the combined timeline (converts to segment + local time)
|
|
114
|
-
*/
|
|
115
|
-
private seekToGlobalTime;
|
|
116
112
|
/**
|
|
117
113
|
* Seek video internal implementation (no enqueue - called from queue)
|
|
118
114
|
* This prevents pipeline read errors during rapid seek operations
|
|
@@ -153,16 +149,14 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
153
149
|
get totalDuration(): number;
|
|
154
150
|
/** Video durations in ms (detected or from single video element) */
|
|
155
151
|
private get videoDurations();
|
|
156
|
-
get
|
|
157
|
-
private
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
level?: number;
|
|
165
|
-
}>;
|
|
152
|
+
get currentVideoMarkers(): StepMarker[];
|
|
153
|
+
private adjustChildStepsDuration;
|
|
154
|
+
getStepLeftPosition(step: StepMarker): number;
|
|
155
|
+
getStepColor(step: StepMarker): string;
|
|
156
|
+
getStepResultColor(step: StepMarker): string;
|
|
157
|
+
getGlobalMarkerColor(level?: number): string;
|
|
158
|
+
getGlobalMarkerResultColor(result: StepMarker['result']): string;
|
|
159
|
+
onMarkerClick(event: MouseEvent, marker: StepMarker): void;
|
|
166
160
|
get currentVideoUrl(): string;
|
|
167
161
|
/**
|
|
168
162
|
* Reset video state - public method (enqueues operation)
|
|
@@ -210,13 +204,6 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
210
204
|
*/
|
|
211
205
|
private flattenMarkers;
|
|
212
206
|
private checkMarkerHit;
|
|
213
|
-
getGlobalMarkerResultColor(result: StepMarker['result']): string;
|
|
214
|
-
getGlobalMarkerColor(level?: number): string;
|
|
215
|
-
onMarkerClick(event: MouseEvent, marker: {
|
|
216
|
-
globalTime: number;
|
|
217
|
-
result: StepMarker['result'];
|
|
218
|
-
testStepId?: number;
|
|
219
|
-
}): void;
|
|
220
207
|
toggleFullScreen(): void;
|
|
221
208
|
onSegmentChange(value: string): void;
|
|
222
209
|
formatTime(seconds: number): string;
|
|
@@ -234,6 +221,7 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
234
221
|
private onVideoElementReady;
|
|
235
222
|
private applyCurrentPlaybackRate;
|
|
236
223
|
private findVideoIndexForTimestamp;
|
|
224
|
+
private switchToVideoAndResetInternal;
|
|
237
225
|
private switchToVideoAndSeek;
|
|
238
226
|
private switchToVideoAndSeekInternal;
|
|
239
227
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimulatorComponent, never>;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { DynamicSelectFieldConfig, SelectOption } from '../../dynamic-select/dynamic-select-field.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
|
|
6
|
+
export declare type RequestTab = 'headers' | 'body' | 'params' | 'scripts';
|
|
7
|
+
export declare type ProgressStep = 'request-details' | 'store-response' | 'validation';
|
|
8
|
+
export interface HeaderRow {
|
|
9
|
+
name: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ValidationRule {
|
|
13
|
+
jsonPath: string;
|
|
14
|
+
verificationType: string;
|
|
15
|
+
expectedType: string;
|
|
16
|
+
expectedValue: any;
|
|
17
|
+
result?: 'Pass' | 'Fail' | 'Not run';
|
|
18
|
+
checked?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface ApiFormData {
|
|
21
|
+
method: HttpMethod;
|
|
22
|
+
url: string;
|
|
23
|
+
headers: HeaderRow[];
|
|
24
|
+
body?: string;
|
|
25
|
+
params?: HeaderRow[];
|
|
26
|
+
scripts?: string;
|
|
27
|
+
variableName?: string;
|
|
28
|
+
storeResponse?: any;
|
|
29
|
+
validation?: ValidationRule[];
|
|
30
|
+
}
|
|
31
|
+
export declare class StepBuilderApiComponent implements OnInit, OnChanges {
|
|
32
|
+
private fb;
|
|
33
|
+
/** Options for HTTP method dropdown */
|
|
34
|
+
httpMethodOptions: SelectOption[];
|
|
35
|
+
/** Options for header name dropdown */
|
|
36
|
+
headerNameOptions: SelectOption[];
|
|
37
|
+
/** Current progress step */
|
|
38
|
+
currentStep: ProgressStep;
|
|
39
|
+
/** Response preview data */
|
|
40
|
+
responsePreview: any;
|
|
41
|
+
/** Loading state */
|
|
42
|
+
isLoading: boolean;
|
|
43
|
+
/** Initial form data for edit mode */
|
|
44
|
+
initialData?: ApiFormData;
|
|
45
|
+
/** Emit when step is created */
|
|
46
|
+
createStep: EventEmitter<ApiFormData>;
|
|
47
|
+
/** Emit when cancelled */
|
|
48
|
+
cancelled: EventEmitter<void>;
|
|
49
|
+
/** Emit when request is sent */
|
|
50
|
+
sendRequest: EventEmitter<{
|
|
51
|
+
method: HttpMethod;
|
|
52
|
+
url: string;
|
|
53
|
+
headers: HeaderRow[];
|
|
54
|
+
body?: string;
|
|
55
|
+
params?: HeaderRow[];
|
|
56
|
+
}>;
|
|
57
|
+
/** Emit when cURL is imported */
|
|
58
|
+
importCurl: EventEmitter<void>;
|
|
59
|
+
apiForm: FormGroup;
|
|
60
|
+
selectedTab: RequestTab;
|
|
61
|
+
selectedProgressStep: ProgressStep;
|
|
62
|
+
private verificationTypeConfigCache;
|
|
63
|
+
private expectedTypeConfigCache;
|
|
64
|
+
private httpMethodConfigCache;
|
|
65
|
+
private headerNameConfigCache;
|
|
66
|
+
private paramNameConfigCache;
|
|
67
|
+
private hasLoadedInitialData;
|
|
68
|
+
constructor(fb: FormBuilder);
|
|
69
|
+
ngOnInit(): void;
|
|
70
|
+
private loadInitialData;
|
|
71
|
+
get headersFormArray(): FormArray;
|
|
72
|
+
get paramsFormArray(): FormArray;
|
|
73
|
+
get validationFormArray(): FormArray;
|
|
74
|
+
addHeader(): void;
|
|
75
|
+
removeHeader(index: number): void;
|
|
76
|
+
addParam(): void;
|
|
77
|
+
removeParam(index: number): void;
|
|
78
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
79
|
+
getHttpMethodConfig(): DynamicSelectFieldConfig;
|
|
80
|
+
getHeaderNameConfig(index: number): DynamicSelectFieldConfig;
|
|
81
|
+
getParamNameConfig(index: number): DynamicSelectFieldConfig;
|
|
82
|
+
getHeaderFormGroup(index: number): FormGroup;
|
|
83
|
+
getParamFormGroup(index: number): FormGroup;
|
|
84
|
+
onTabChange(tab: RequestTab): void;
|
|
85
|
+
onSendRequest(): void;
|
|
86
|
+
onImportCurl(): void;
|
|
87
|
+
onCancel(): void;
|
|
88
|
+
onCreateStep(): void;
|
|
89
|
+
onNext(): void;
|
|
90
|
+
onBack(): void;
|
|
91
|
+
canGoBack(): boolean;
|
|
92
|
+
isLastStep(): boolean;
|
|
93
|
+
getProgressStepClass(step: ProgressStep): string;
|
|
94
|
+
getProgressStepNumber(step: ProgressStep): number;
|
|
95
|
+
getProgressStepLabel(step: ProgressStep): string;
|
|
96
|
+
formatJsonResponse(data: any): string;
|
|
97
|
+
onProgressStepChange(step: ProgressStep): void;
|
|
98
|
+
addValidationRule(): void;
|
|
99
|
+
removeValidationRule(index: number): void;
|
|
100
|
+
getValidationFormGroup(index: number): FormGroup;
|
|
101
|
+
trackByValidationRuleIndex(index: number): number;
|
|
102
|
+
trackByHeaderIndex(index: number): number;
|
|
103
|
+
trackByParamIndex(index: number): number;
|
|
104
|
+
getVerificationTypeOptions(): SelectOption[];
|
|
105
|
+
getExpectedTypeOptions(): SelectOption[];
|
|
106
|
+
getVerificationTypeConfig(index: number): DynamicSelectFieldConfig;
|
|
107
|
+
getExpectedTypeConfig(index: number): DynamicSelectFieldConfig;
|
|
108
|
+
getResultClass(result: string): string;
|
|
109
|
+
get allValidationRulesSelected(): boolean;
|
|
110
|
+
get someValidationRulesSelected(): boolean;
|
|
111
|
+
onSelectAllValidationRules(checked: boolean): void;
|
|
112
|
+
onDeleteSelectedValidationRules(): void;
|
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderApiComponent, never>;
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderApiComponent, "cqa-step-builder-api", never, { "httpMethodOptions": "httpMethodOptions"; "headerNameOptions": "headerNameOptions"; "currentStep": "currentStep"; "responsePreview": "responsePreview"; "isLoading": "isLoading"; "initialData": "initialData"; }, { "createStep": "createStep"; "cancelled": "cancelled"; "sendRequest": "sendRequest"; "importCurl": "importCurl"; }, never, never>;
|
|
115
|
+
}
|
|
@@ -1,27 +1,41 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { DynamicSelectFieldConfig, SelectOption } from '../../dynamic-select/dynamic-select-field.component';
|
|
4
|
+
import { ActionTemplate } from '../step-builder-action/step-builder-action.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export interface CustomCodeFormData {
|
|
6
7
|
language: string;
|
|
7
8
|
code: string;
|
|
8
9
|
metadata?: string;
|
|
9
10
|
description?: string;
|
|
11
|
+
templateVariables?: any[];
|
|
10
12
|
}
|
|
11
|
-
export declare class StepBuilderCustomCodeComponent implements OnInit {
|
|
13
|
+
export declare class StepBuilderCustomCodeComponent implements OnInit, OnChanges {
|
|
12
14
|
private fb;
|
|
13
15
|
/** Options for language dropdown */
|
|
14
16
|
languageOptions: SelectOption[];
|
|
17
|
+
/** Template to get variables from */
|
|
18
|
+
template: ActionTemplate | null;
|
|
19
|
+
/** Function to handle variable processing or custom logic. Can be passed from parent component. */
|
|
20
|
+
setTemplateVariables: (variables: ActionTemplate) => any;
|
|
15
21
|
/** Emit when step is created */
|
|
16
22
|
createStep: EventEmitter<CustomCodeFormData>;
|
|
17
23
|
/** Emit when cancelled */
|
|
18
24
|
cancelled: EventEmitter<void>;
|
|
19
25
|
customCodeForm: FormGroup;
|
|
26
|
+
templateVariables: any[];
|
|
27
|
+
variablesForm: FormGroup;
|
|
20
28
|
constructor(fb: FormBuilder);
|
|
21
29
|
ngOnInit(): void;
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
+
private loadTemplateVariables;
|
|
32
|
+
private buildVariablesForm;
|
|
33
|
+
getSelectConfig(variable: any): DynamicSelectFieldConfig;
|
|
34
|
+
onVariableValueChange(variableName: string, value: any): void;
|
|
35
|
+
onVariableBooleanChange(variableName: string, value: boolean): void;
|
|
22
36
|
getLanguageConfig(): DynamicSelectFieldConfig;
|
|
23
37
|
onCancel(): void;
|
|
24
38
|
onCreateStep(): void;
|
|
25
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepBuilderCustomCodeComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderCustomCodeComponent, "cqa-step-builder-custom-code", never, { "languageOptions": "languageOptions"; }, { "createStep": "createStep"; "cancelled": "cancelled"; }, never, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepBuilderCustomCodeComponent, "cqa-step-builder-custom-code", never, { "languageOptions": "languageOptions"; "template": "template"; "setTemplateVariables": "setTemplateVariables"; }, { "createStep": "createStep"; "cancelled": "cancelled"; }, never, never>;
|
|
27
41
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TestCaseStepConfig } from '../test-case-step.models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface CreateStepGroupFormData {
|
|
6
|
+
groupName: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Create Step Group panel/modal for Test Case Details.
|
|
10
|
+
* Follows the same structure and validation pattern as Test Data Modal and Loop Step.
|
|
11
|
+
* Displays selected steps and allows naming the new group; emits createGroup with group name
|
|
12
|
+
* so the host can create the step group and replace selected steps with it.
|
|
13
|
+
*/
|
|
14
|
+
export declare class CreateStepGroupComponent {
|
|
15
|
+
private readonly fb;
|
|
16
|
+
stepsToGroup: TestCaseStepConfig[];
|
|
17
|
+
createGroup: EventEmitter<CreateStepGroupFormData>;
|
|
18
|
+
cancelled: EventEmitter<void>;
|
|
19
|
+
form: FormGroup;
|
|
20
|
+
constructor(fb: FormBuilder);
|
|
21
|
+
get stepsCount(): number;
|
|
22
|
+
get subtitleText(): string;
|
|
23
|
+
/** Display label for a step in the "Steps to group" list (same pattern as normal-step display). */
|
|
24
|
+
getStepDisplayLabel(step: TestCaseStepConfig, index: number): string;
|
|
25
|
+
private getNormalStepLabel;
|
|
26
|
+
onCancel(): void;
|
|
27
|
+
onCreateGroup(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateStepGroupComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateStepGroupComponent, "cqa-create-step-group", never, { "stepsToGroup": "stepsToGroup"; }, { "createGroup": "createGroup"; "cancelled": "cancelled"; }, never, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Delete Steps confirmation modal for Test Case Details.
|
|
6
|
+
* Matches the design of Create Step Group: shows selected steps with context (e.g. "IF lane"),
|
|
7
|
+
* warning text, and Cancel / Delete actions. Steps are shown with red/danger styling.
|
|
8
|
+
*/
|
|
9
|
+
export declare class DeleteStepsComponent {
|
|
10
|
+
/** Steps that will be deleted (shown in the list). */
|
|
11
|
+
stepsToDelete: TestCaseStepConfig[];
|
|
12
|
+
/** Context label for the sub-heading, e.g. "IF lane", "ELSE", "For loop". */
|
|
13
|
+
contextLabel: string;
|
|
14
|
+
confirmDelete: EventEmitter<void>;
|
|
15
|
+
cancelled: EventEmitter<void>;
|
|
16
|
+
get stepsCount(): number;
|
|
17
|
+
get titleText(): string;
|
|
18
|
+
get selectedStepsSubtitle(): string;
|
|
19
|
+
/** Display label for a step in the list (same pattern as create-step-group). */
|
|
20
|
+
getStepDisplayLabel(step: TestCaseStepConfig, index: number): string;
|
|
21
|
+
private getNormalStepLabel;
|
|
22
|
+
onCancel(): void;
|
|
23
|
+
onDelete(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteStepsComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeleteStepsComponent, "cqa-delete-steps", never, { "stepsToDelete": "stepsToDelete"; "contextLabel": "contextLabel"; }, { "confirmDelete": "confirmDelete"; "cancelled": "cancelled"; }, never, never>;
|
|
26
|
+
}
|
package/lib/ui-kit.module.d.ts
CHANGED
|
@@ -91,40 +91,43 @@ import * as i88 from "./test-case-details/custom-code-step/custom-code-step.comp
|
|
|
91
91
|
import * as i89 from "./test-case-details/custom-edit-step/custom-edit-step.component";
|
|
92
92
|
import * as i90 from "./item-list/item-list.component";
|
|
93
93
|
import * as i91 from "./test-case-details/test-data-modal/test-data-modal.component";
|
|
94
|
-
import * as i92 from "./
|
|
95
|
-
import * as i93 from "./
|
|
96
|
-
import * as i94 from "./
|
|
97
|
-
import * as i95 from "./
|
|
98
|
-
import * as i96 from "./step-builder/step-builder-
|
|
99
|
-
import * as i97 from "./
|
|
100
|
-
import * as i98 from "./step-builder/step-builder-
|
|
101
|
-
import * as i99 from "./step-builder/step-builder-
|
|
102
|
-
import * as i100 from "./step-builder/step-builder-
|
|
103
|
-
import * as i101 from "./step-builder/step-builder-
|
|
104
|
-
import * as i102 from "./
|
|
105
|
-
import * as i103 from "./step-builder/step-builder-document/step-builder-document.component";
|
|
106
|
-
import * as i104 from "
|
|
107
|
-
import * as i105 from "
|
|
108
|
-
import * as i106 from "
|
|
109
|
-
import * as i107 from "@angular/
|
|
110
|
-
import * as i108 from "@angular/
|
|
111
|
-
import * as i109 from "@angular/material/
|
|
112
|
-
import * as i110 from "@angular/material/
|
|
113
|
-
import * as i111 from "@angular/material/
|
|
114
|
-
import * as i112 from "@angular/material/
|
|
115
|
-
import * as i113 from "@angular/material/
|
|
116
|
-
import * as i114 from "@angular/material/
|
|
117
|
-
import * as i115 from "@angular/material/
|
|
118
|
-
import * as i116 from "@angular/material/
|
|
119
|
-
import * as i117 from "@angular/material/
|
|
120
|
-
import * as i118 from "@angular/material/
|
|
121
|
-
import * as i119 from "@angular/
|
|
122
|
-
import * as i120 from "@angular/
|
|
123
|
-
import * as i121 from "
|
|
124
|
-
import * as i122 from "
|
|
94
|
+
import * as i92 from "./test-case-details/create-step-group/create-step-group.component";
|
|
95
|
+
import * as i93 from "./test-case-details/delete-steps/delete-steps.component";
|
|
96
|
+
import * as i94 from "./live-conversation/live-conversation.component";
|
|
97
|
+
import * as i95 from "./step-builder/step-builder-action/step-builder-action.component";
|
|
98
|
+
import * as i96 from "./step-builder/step-builder-loop/step-builder-loop.component";
|
|
99
|
+
import * as i97 from "./test-case-details/element-popup/element-popup.component";
|
|
100
|
+
import * as i98 from "./step-builder/step-builder-condition/step-builder-condition.component";
|
|
101
|
+
import * as i99 from "./step-builder/step-builder-database/step-builder-database.component";
|
|
102
|
+
import * as i100 from "./step-builder/step-builder-ai-agent/step-builder-ai-agent.component";
|
|
103
|
+
import * as i101 from "./step-builder/step-builder-custom-code/step-builder-custom-code.component";
|
|
104
|
+
import * as i102 from "./step-builder/step-builder-record-step/step-builder-record-step.component";
|
|
105
|
+
import * as i103 from "./step-builder/step-builder-document-generation-template-step/step-builder-document-generation-template-step.component";
|
|
106
|
+
import * as i104 from "./test-case-details/element-list/element-list.component";
|
|
107
|
+
import * as i105 from "./step-builder/step-builder-document/step-builder-document.component";
|
|
108
|
+
import * as i106 from "./step-builder/step-builder-api/step-builder-api.component";
|
|
109
|
+
import * as i107 from "@angular/common";
|
|
110
|
+
import * as i108 from "@angular/forms";
|
|
111
|
+
import * as i109 from "@angular/material/icon";
|
|
112
|
+
import * as i110 from "@angular/material/menu";
|
|
113
|
+
import * as i111 from "@angular/material/button";
|
|
114
|
+
import * as i112 from "@angular/material/form-field";
|
|
115
|
+
import * as i113 from "@angular/material/select";
|
|
116
|
+
import * as i114 from "@angular/material/core";
|
|
117
|
+
import * as i115 from "@angular/material/checkbox";
|
|
118
|
+
import * as i116 from "@angular/material/radio";
|
|
119
|
+
import * as i117 from "@angular/material/slide-toggle";
|
|
120
|
+
import * as i118 from "@angular/material/datepicker";
|
|
121
|
+
import * as i119 from "@angular/material/progress-spinner";
|
|
122
|
+
import * as i120 from "@angular/material/tooltip";
|
|
123
|
+
import * as i121 from "@angular/material/dialog";
|
|
124
|
+
import * as i122 from "@angular/cdk/overlay";
|
|
125
|
+
import * as i123 from "@angular/cdk/portal";
|
|
126
|
+
import * as i124 from "ngx-typed-js";
|
|
127
|
+
import * as i125 from "ngx-drag-drop";
|
|
125
128
|
export declare class UiKitModule {
|
|
126
129
|
constructor(iconRegistry: MatIconRegistry);
|
|
127
130
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiKitModule, never>;
|
|
128
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiKitModule, [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.DynamicCellContainerDirective, typeof i8.PaginationComponent, typeof i9.ActionMenuButtonComponent, typeof i10.OtherButtonComponent, typeof i11.DynamicFilterComponent, typeof i12.DaterangepickerDirective, typeof i13.DaterangepickerComponent, typeof i14.ColumnVisibilityComponent, typeof i15.TableActionToolbarComponent, typeof i16.MetricsCardComponent, typeof i17.MetricsBlockComponent, typeof i18.ChartCardComponent, typeof i19.ProgressTextCardComponent, typeof i20.DashboardHeaderComponent, typeof i21.CoverageModuleCardComponent, typeof i22.TestDistributionCardComponent, typeof i23.FailedTestCasesCardComponent, typeof i24.DynamicSelectFieldComponent, typeof i25.AddPrerequisiteCasesSectionComponent, typeof i26.SelectedFiltersComponent, typeof i27.InsightCardComponent, typeof i28.BadgeComponent, typeof i29.DropdownButtonComponent, typeof i30.HeatErrorMapCellComponent, typeof i31.EmptyStateComponent, typeof i32.TableTemplateComponent, typeof i33.FullTableLoaderComponent, typeof i34.TableDataLoaderComponent, typeof i35.BasicStepComponent, typeof i36.StepRendererComponent, typeof i37.StepGroupComponent, typeof i38.LoopStepComponent, typeof i39.ConditionStepComponent, typeof i40.FailedStepComponent, typeof i41.UpdatedFailedStepComponent, typeof i42.ViewMoreFailedStepButtonComponent, typeof i43.SelfHealAnalysisComponent, typeof i44.AIAgentStepComponent, typeof i45.AIActionStepComponent, typeof i46.ApiStepComponent, typeof i47.FileDownloadStepComponent, typeof i48.DocumentVerificationStepComponent, typeof i49.LiveExecutionStepComponent, typeof i50.MainStepCollapseComponent, typeof i51.VisualComparisonComponent, typeof i52.SimulatorComponent, typeof i53.ConsoleAlertComponent, typeof i54.AiDebugAlertComponent, typeof i55.NetworkRequestComponent, typeof i56.RunHistoryCardComponent, typeof i57.VisualDifferenceModalComponent, typeof i58.ConfigurationCardComponent, typeof i59.CompareRunsComponent, typeof i60.IterationsLoopComponent, typeof i61.FailedStepCardComponent, typeof i62.CustomInputComponent, typeof i63.CustomTextareaComponent, typeof i64.CustomToggleComponent, typeof i65.FileUploadComponent, typeof i66.AiReasoningComponent, typeof i67.ExecutionResultModalComponent, typeof i68.ErrorModalComponent, typeof i69.ProgressIndicatorComponent, typeof i70.StepProgressCardComponent, typeof i71.StepStatusCardComponent, typeof i72.DbVerificationStepComponent, typeof i73.DbQueryExecutionItemComponent, typeof i74.TestCaseNormalStepComponent, typeof i75.TestCaseLoopStepComponent, typeof i76.TestCaseConditionStepComponent, typeof i77.TestCaseStepGroupComponent, typeof i78.TestCaseDetailsRendererComponent, typeof i79.TestCaseApiStepComponent, typeof i80.TestCaseDatabaseStepComponent, typeof i81.TestCaseAiAgentStepComponent, typeof i82.TestCaseAiVerifyStepComponent, typeof i83.TestCaseUploadStepComponent, typeof i84.TestCaseScreenshotStepComponent, typeof i85.TestCaseScrollStepComponent, typeof i86.TestCaseVerifyUrlStepComponent, typeof i87.TestCaseRestoreSessionStepComponent, typeof i88.TestCaseCustomCodeStepComponent, typeof i89.CustomEditStepComponent, typeof i90.ItemListComponent, typeof i91.TestDataModalComponent, typeof i92.
|
|
131
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiKitModule, [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.DynamicCellContainerDirective, typeof i8.PaginationComponent, typeof i9.ActionMenuButtonComponent, typeof i10.OtherButtonComponent, typeof i11.DynamicFilterComponent, typeof i12.DaterangepickerDirective, typeof i13.DaterangepickerComponent, typeof i14.ColumnVisibilityComponent, typeof i15.TableActionToolbarComponent, typeof i16.MetricsCardComponent, typeof i17.MetricsBlockComponent, typeof i18.ChartCardComponent, typeof i19.ProgressTextCardComponent, typeof i20.DashboardHeaderComponent, typeof i21.CoverageModuleCardComponent, typeof i22.TestDistributionCardComponent, typeof i23.FailedTestCasesCardComponent, typeof i24.DynamicSelectFieldComponent, typeof i25.AddPrerequisiteCasesSectionComponent, typeof i26.SelectedFiltersComponent, typeof i27.InsightCardComponent, typeof i28.BadgeComponent, typeof i29.DropdownButtonComponent, typeof i30.HeatErrorMapCellComponent, typeof i31.EmptyStateComponent, typeof i32.TableTemplateComponent, typeof i33.FullTableLoaderComponent, typeof i34.TableDataLoaderComponent, typeof i35.BasicStepComponent, typeof i36.StepRendererComponent, typeof i37.StepGroupComponent, typeof i38.LoopStepComponent, typeof i39.ConditionStepComponent, typeof i40.FailedStepComponent, typeof i41.UpdatedFailedStepComponent, typeof i42.ViewMoreFailedStepButtonComponent, typeof i43.SelfHealAnalysisComponent, typeof i44.AIAgentStepComponent, typeof i45.AIActionStepComponent, typeof i46.ApiStepComponent, typeof i47.FileDownloadStepComponent, typeof i48.DocumentVerificationStepComponent, typeof i49.LiveExecutionStepComponent, typeof i50.MainStepCollapseComponent, typeof i51.VisualComparisonComponent, typeof i52.SimulatorComponent, typeof i53.ConsoleAlertComponent, typeof i54.AiDebugAlertComponent, typeof i55.NetworkRequestComponent, typeof i56.RunHistoryCardComponent, typeof i57.VisualDifferenceModalComponent, typeof i58.ConfigurationCardComponent, typeof i59.CompareRunsComponent, typeof i60.IterationsLoopComponent, typeof i61.FailedStepCardComponent, typeof i62.CustomInputComponent, typeof i63.CustomTextareaComponent, typeof i64.CustomToggleComponent, typeof i65.FileUploadComponent, typeof i66.AiReasoningComponent, typeof i67.ExecutionResultModalComponent, typeof i68.ErrorModalComponent, typeof i69.ProgressIndicatorComponent, typeof i70.StepProgressCardComponent, typeof i71.StepStatusCardComponent, typeof i72.DbVerificationStepComponent, typeof i73.DbQueryExecutionItemComponent, typeof i74.TestCaseNormalStepComponent, typeof i75.TestCaseLoopStepComponent, typeof i76.TestCaseConditionStepComponent, typeof i77.TestCaseStepGroupComponent, typeof i78.TestCaseDetailsRendererComponent, typeof i79.TestCaseApiStepComponent, typeof i80.TestCaseDatabaseStepComponent, typeof i81.TestCaseAiAgentStepComponent, typeof i82.TestCaseAiVerifyStepComponent, typeof i83.TestCaseUploadStepComponent, typeof i84.TestCaseScreenshotStepComponent, typeof i85.TestCaseScrollStepComponent, typeof i86.TestCaseVerifyUrlStepComponent, typeof i87.TestCaseRestoreSessionStepComponent, typeof i88.TestCaseCustomCodeStepComponent, typeof i89.CustomEditStepComponent, typeof i90.ItemListComponent, typeof i91.TestDataModalComponent, typeof i92.CreateStepGroupComponent, typeof i93.DeleteStepsComponent, typeof i94.LiveConversationComponent, typeof i95.StepBuilderActionComponent, typeof i96.StepBuilderLoopComponent, typeof i97.ElementPopupComponent, typeof i98.StepBuilderConditionComponent, typeof i99.StepBuilderDatabaseComponent, typeof i100.StepBuilderAiAgentComponent, typeof i101.StepBuilderCustomCodeComponent, typeof i102.StepBuilderRecordStepComponent, typeof i103.StepBuilderDocumentGenerationTemplateStepComponent, typeof i104.ElementListComponent, typeof i105.StepBuilderDocumentComponent, typeof i106.StepBuilderApiComponent], [typeof i107.CommonModule, typeof i108.FormsModule, typeof i108.ReactiveFormsModule, typeof i109.MatIconModule, typeof i110.MatMenuModule, typeof i111.MatButtonModule, typeof i112.MatFormFieldModule, typeof i113.MatSelectModule, typeof i114.MatOptionModule, typeof i115.MatCheckboxModule, typeof i116.MatRadioModule, typeof i117.MatSlideToggleModule, typeof i118.MatDatepickerModule, typeof i114.MatNativeDateModule, typeof i119.MatProgressSpinnerModule, typeof i120.MatTooltipModule, typeof i121.MatDialogModule, typeof i122.OverlayModule, typeof i123.PortalModule, typeof i124.NgxTypedJsModule, typeof i125.DndModule], [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.DynamicCellContainerDirective, typeof i8.PaginationComponent, typeof i9.ActionMenuButtonComponent, typeof i10.OtherButtonComponent, typeof i11.DynamicFilterComponent, typeof i12.DaterangepickerDirective, typeof i13.DaterangepickerComponent, typeof i14.ColumnVisibilityComponent, typeof i15.TableActionToolbarComponent, typeof i16.MetricsCardComponent, typeof i18.ChartCardComponent, typeof i19.ProgressTextCardComponent, typeof i20.DashboardHeaderComponent, typeof i21.CoverageModuleCardComponent, typeof i22.TestDistributionCardComponent, typeof i23.FailedTestCasesCardComponent, typeof i24.DynamicSelectFieldComponent, typeof i25.AddPrerequisiteCasesSectionComponent, typeof i26.SelectedFiltersComponent, typeof i27.InsightCardComponent, typeof i28.BadgeComponent, typeof i29.DropdownButtonComponent, typeof i30.HeatErrorMapCellComponent, typeof i31.EmptyStateComponent, typeof i32.TableTemplateComponent, typeof i33.FullTableLoaderComponent, typeof i34.TableDataLoaderComponent, typeof i35.BasicStepComponent, typeof i36.StepRendererComponent, typeof i37.StepGroupComponent, typeof i38.LoopStepComponent, typeof i39.ConditionStepComponent, typeof i40.FailedStepComponent, typeof i41.UpdatedFailedStepComponent, typeof i42.ViewMoreFailedStepButtonComponent, typeof i43.SelfHealAnalysisComponent, typeof i44.AIAgentStepComponent, typeof i45.AIActionStepComponent, typeof i46.ApiStepComponent, typeof i47.FileDownloadStepComponent, typeof i48.DocumentVerificationStepComponent, typeof i49.LiveExecutionStepComponent, typeof i50.MainStepCollapseComponent, typeof i51.VisualComparisonComponent, typeof i52.SimulatorComponent, typeof i53.ConsoleAlertComponent, typeof i54.AiDebugAlertComponent, typeof i55.NetworkRequestComponent, typeof i56.RunHistoryCardComponent, typeof i57.VisualDifferenceModalComponent, typeof i58.ConfigurationCardComponent, typeof i59.CompareRunsComponent, typeof i60.IterationsLoopComponent, typeof i61.FailedStepCardComponent, typeof i62.CustomInputComponent, typeof i63.CustomTextareaComponent, typeof i64.CustomToggleComponent, typeof i65.FileUploadComponent, typeof i66.AiReasoningComponent, typeof i67.ExecutionResultModalComponent, typeof i68.ErrorModalComponent, typeof i69.ProgressIndicatorComponent, typeof i70.StepProgressCardComponent, typeof i71.StepStatusCardComponent, typeof i72.DbVerificationStepComponent, typeof i73.DbQueryExecutionItemComponent, typeof i74.TestCaseNormalStepComponent, typeof i75.TestCaseLoopStepComponent, typeof i76.TestCaseConditionStepComponent, typeof i77.TestCaseStepGroupComponent, typeof i78.TestCaseDetailsRendererComponent, typeof i79.TestCaseApiStepComponent, typeof i80.TestCaseDatabaseStepComponent, typeof i81.TestCaseAiAgentStepComponent, typeof i83.TestCaseUploadStepComponent, typeof i84.TestCaseScreenshotStepComponent, typeof i85.TestCaseScrollStepComponent, typeof i86.TestCaseVerifyUrlStepComponent, typeof i87.TestCaseRestoreSessionStepComponent, typeof i88.TestCaseCustomCodeStepComponent, typeof i89.CustomEditStepComponent, typeof i90.ItemListComponent, typeof i91.TestDataModalComponent, typeof i92.CreateStepGroupComponent, typeof i93.DeleteStepsComponent, typeof i94.LiveConversationComponent, typeof i95.StepBuilderActionComponent, typeof i96.StepBuilderLoopComponent, typeof i97.ElementPopupComponent, typeof i98.StepBuilderConditionComponent, typeof i99.StepBuilderDatabaseComponent, typeof i100.StepBuilderAiAgentComponent, typeof i101.StepBuilderCustomCodeComponent, typeof i102.StepBuilderRecordStepComponent, typeof i103.StepBuilderDocumentGenerationTemplateStepComponent, typeof i106.StepBuilderApiComponent, typeof i104.ElementListComponent, typeof i105.StepBuilderDocumentComponent]>;
|
|
129
132
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiKitModule>;
|
|
130
133
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -105,6 +105,8 @@ export * from './lib/test-case-details/test-data-modal/test-data-modal.component
|
|
|
105
105
|
export * from './lib/test-case-details/test-data-modal/test-data-modal.service';
|
|
106
106
|
export * from './lib/test-case-details/test-data-modal/test-data-modal-ref';
|
|
107
107
|
export * from './lib/test-case-details/test-data-modal/test-data-modal-data';
|
|
108
|
+
export * from './lib/test-case-details/create-step-group/create-step-group.component';
|
|
109
|
+
export * from './lib/test-case-details/delete-steps/delete-steps.component';
|
|
108
110
|
export * from './lib/test-case-details/test-case-step.models';
|
|
109
111
|
export * from './lib/live-conversation/live-conversation.component';
|
|
110
112
|
export * from './lib/step-builder/step-builder-action/step-builder-action.component';
|
|
@@ -122,3 +124,4 @@ export * from './lib/step-builder/step-builder-custom-code/step-builder-custom-c
|
|
|
122
124
|
export * from './lib/step-builder/step-builder-record-step/step-builder-record-step.component';
|
|
123
125
|
export * from './lib/step-builder/step-builder-document-generation-template-step/step-builder-document-generation-template-step.component';
|
|
124
126
|
export * from './lib/file-upload/file-upload.component';
|
|
127
|
+
export * from './lib/step-builder/step-builder-api/step-builder-api.component';
|