@cqa-lib/cqa-ui 1.1.227 → 1.1.228
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/test-case-details/ai-agent-step/ai-agent-step.component.mjs +24 -6
- package/esm2020/lib/test-case-details/ai-verify-step/ai-verify-step.component.mjs +24 -6
- package/esm2020/lib/test-case-details/api-step/api-step.component.mjs +20 -4
- package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +26 -4
- package/esm2020/lib/test-case-details/custom-code-step/custom-code-step.component.mjs +24 -6
- package/esm2020/lib/test-case-details/database-step/database-step.component.mjs +20 -4
- package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +27 -4
- package/esm2020/lib/test-case-details/normal-step/normal-step.component.mjs +52 -3
- package/esm2020/lib/test-case-details/restore-session-step/restore-session-step.component.mjs +24 -6
- package/esm2020/lib/test-case-details/screenshot-step/screenshot-step.component.mjs +24 -6
- package/esm2020/lib/test-case-details/scroll-step/scroll-step.component.mjs +25 -6
- package/esm2020/lib/test-case-details/step-details-modal/step-details-modal-data.mjs +3 -0
- package/esm2020/lib/test-case-details/step-details-modal/step-details-modal-ref.mjs +32 -0
- package/esm2020/lib/test-case-details/step-details-modal/step-details-modal.component.mjs +38 -0
- package/esm2020/lib/test-case-details/step-details-modal/step-details-modal.service.mjs +97 -0
- package/esm2020/lib/test-case-details/step-group/step-group.component.mjs +26 -4
- package/esm2020/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.mjs +1 -1
- package/esm2020/lib/test-case-details/upload-step/upload-step.component.mjs +24 -6
- package/esm2020/lib/test-case-details/verify-url-step/verify-url-step.component.mjs +24 -6
- package/esm2020/lib/ui-kit.module.mjs +5 -2
- package/esm2020/public-api.mjs +5 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +497 -48
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +495 -48
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/ai-agent-step/ai-agent-step.component.d.ts +6 -3
- package/lib/test-case-details/ai-verify-step/ai-verify-step.component.d.ts +6 -3
- package/lib/test-case-details/api-step/api-step.component.d.ts +3 -2
- package/lib/test-case-details/condition-step/condition-step.component.d.ts +6 -2
- package/lib/test-case-details/custom-code-step/custom-code-step.component.d.ts +6 -3
- package/lib/test-case-details/database-step/database-step.component.d.ts +3 -2
- package/lib/test-case-details/loop-step/loop-step.component.d.ts +6 -2
- package/lib/test-case-details/normal-step/normal-step.component.d.ts +6 -1
- package/lib/test-case-details/restore-session-step/restore-session-step.component.d.ts +6 -3
- package/lib/test-case-details/screenshot-step/screenshot-step.component.d.ts +6 -3
- package/lib/test-case-details/scroll-step/scroll-step.component.d.ts +6 -3
- package/lib/test-case-details/step-details-modal/step-details-modal-data.d.ts +12 -0
- package/lib/test-case-details/step-details-modal/step-details-modal-ref.d.ts +13 -0
- package/lib/test-case-details/step-details-modal/step-details-modal.component.d.ts +12 -0
- package/lib/test-case-details/step-details-modal/step-details-modal.service.d.ts +22 -0
- package/lib/test-case-details/step-group/step-group.component.d.ts +6 -2
- package/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.d.ts +1 -1
- package/lib/test-case-details/upload-step/upload-step.component.d.ts +6 -3
- package/lib/test-case-details/verify-url-step/verify-url-step.component.d.ts +6 -3
- package/lib/ui-kit.module.d.ts +25 -24
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/styles.css +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { AiAgentStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestCaseAiAgentStepComponent implements OnInit {
|
|
5
6
|
config: AiAgentStepConfig;
|
|
@@ -11,6 +12,7 @@ export declare class TestCaseAiAgentStepComponent implements OnInit {
|
|
|
11
12
|
isNested: boolean;
|
|
12
13
|
isInsideLoop: boolean;
|
|
13
14
|
isReorder: boolean;
|
|
15
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
14
16
|
edit: EventEmitter<void>;
|
|
15
17
|
editInDepth: EventEmitter<{
|
|
16
18
|
step: TestCaseStepConfig;
|
|
@@ -20,15 +22,16 @@ export declare class TestCaseAiAgentStepComponent implements OnInit {
|
|
|
20
22
|
duplicate: EventEmitter<void>;
|
|
21
23
|
delete: EventEmitter<void>;
|
|
22
24
|
moreOptions: EventEmitter<void>;
|
|
23
|
-
viewDetails: EventEmitter<
|
|
25
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
24
26
|
selectionChange: EventEmitter<boolean>;
|
|
27
|
+
constructor();
|
|
25
28
|
ngOnInit(): void;
|
|
26
29
|
onEdit(): void;
|
|
27
30
|
onLink(): void;
|
|
28
31
|
onDuplicate(): void;
|
|
29
32
|
onDelete(): void;
|
|
30
33
|
onMoreOptions(): void;
|
|
31
|
-
onViewDetails(): void;
|
|
34
|
+
onViewDetails(event?: MouseEvent): void;
|
|
32
35
|
onSelectionChange(checked: boolean): void;
|
|
33
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseAiAgentStepComponent, never>;
|
|
34
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseAiAgentStepComponent, "cqa-test-case-ai-agent-step", never, { "config": "config"; "stepNumber": "stepNumber"; "instructions": "instructions"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { AiVerifyStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestCaseAiVerifyStepComponent implements OnInit {
|
|
5
6
|
config: AiVerifyStepConfig;
|
|
@@ -11,6 +12,7 @@ export declare class TestCaseAiVerifyStepComponent implements OnInit {
|
|
|
11
12
|
isNested: boolean;
|
|
12
13
|
isInsideLoop: boolean;
|
|
13
14
|
isReorder: boolean;
|
|
15
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
14
16
|
edit: EventEmitter<void>;
|
|
15
17
|
editInDepth: EventEmitter<{
|
|
16
18
|
step: TestCaseStepConfig;
|
|
@@ -20,15 +22,16 @@ export declare class TestCaseAiVerifyStepComponent implements OnInit {
|
|
|
20
22
|
duplicate: EventEmitter<void>;
|
|
21
23
|
delete: EventEmitter<void>;
|
|
22
24
|
moreOptions: EventEmitter<void>;
|
|
23
|
-
viewDetails: EventEmitter<
|
|
25
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
24
26
|
selectionChange: EventEmitter<boolean>;
|
|
27
|
+
constructor();
|
|
25
28
|
ngOnInit(): void;
|
|
26
29
|
onEdit(): void;
|
|
27
30
|
onLink(): void;
|
|
28
31
|
onDuplicate(): void;
|
|
29
32
|
onDelete(): void;
|
|
30
33
|
onMoreOptions(): void;
|
|
31
|
-
onViewDetails(): void;
|
|
34
|
+
onViewDetails(event?: MouseEvent): void;
|
|
32
35
|
onSelectionChange(checked: boolean): void;
|
|
33
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseAiVerifyStepComponent, never>;
|
|
34
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseAiVerifyStepComponent, "cqa-test-case-ai-verify-step", never, { "config": "config"; "stepNumber": "stepNumber"; "instructions": "instructions"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
@@ -2,6 +2,7 @@ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
|
2
2
|
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
3
3
|
import { ApiStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
4
4
|
import { EnvironmentOptionInput } from '../api-edit-step/api-edit-step.component';
|
|
5
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class TestCaseApiStepComponent implements OnInit {
|
|
7
8
|
private readonly overlayContainer;
|
|
@@ -36,7 +37,7 @@ export declare class TestCaseApiStepComponent implements OnInit {
|
|
|
36
37
|
duplicate: EventEmitter<void>;
|
|
37
38
|
delete: EventEmitter<void>;
|
|
38
39
|
moreOptions: EventEmitter<void>;
|
|
39
|
-
viewDetails: EventEmitter<
|
|
40
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
40
41
|
selectionChange: EventEmitter<boolean>;
|
|
41
42
|
toggleExpanded: EventEmitter<{
|
|
42
43
|
config: ApiStepConfig;
|
|
@@ -56,7 +57,7 @@ export declare class TestCaseApiStepComponent implements OnInit {
|
|
|
56
57
|
onDuplicate(): void;
|
|
57
58
|
onDelete(): void;
|
|
58
59
|
onMoreOptions(): void;
|
|
59
|
-
onViewDetails(): void;
|
|
60
|
+
onViewDetails(event?: MouseEvent): void;
|
|
60
61
|
onSelectionChange(checked: boolean): void;
|
|
61
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseApiStepComponent, never>;
|
|
62
63
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseApiStepComponent, "cqa-test-case-api-step", never, { "config": "config"; "stepNumber": "stepNumber"; "method": "method"; "endpoint": "endpoint"; "description": "description"; "baseUrl": "baseUrl"; "headersCount": "headersCount"; "hasBody": "hasBody"; "saveTo": "saveTo"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "expanded": "expanded"; "isReorder": "isReorder"; "environmentOptions": "environmentOptions"; "httpMethodOptions": "httpMethodOptions"; "headerNameOptions": "headerNameOptions"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; }, never, never>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, OnChanges, ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { DndDropEvent } from 'ngx-drag-drop';
|
|
4
4
|
import { ConditionStepConfig, ConditionBranch, TestCaseStepConfig, NormalStepConfig, LoopStepConfig, StepGroupConfig } from '../test-case-step.models';
|
|
5
5
|
import { DynamicSelectFieldConfig } from '../../dynamic-select/dynamic-select-field.component';
|
|
6
6
|
import { CqaAutocompleteOption } from '../../autocomplete/autocomplete.model';
|
|
7
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class TestCaseConditionStepComponent implements OnInit, OnChanges {
|
|
9
10
|
private fb;
|
|
@@ -63,6 +64,7 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
63
64
|
templateVariables: any[];
|
|
64
65
|
/** Form group for template variables */
|
|
65
66
|
templateVariablesForm: FormGroup;
|
|
67
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
66
68
|
toggleExpanded: EventEmitter<{
|
|
67
69
|
config: ConditionStepConfig;
|
|
68
70
|
expanded: boolean;
|
|
@@ -89,6 +91,7 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
89
91
|
duplicate: EventEmitter<void>;
|
|
90
92
|
delete: EventEmitter<void>;
|
|
91
93
|
moreOptions: EventEmitter<void>;
|
|
94
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
92
95
|
editInDepth: EventEmitter<{
|
|
93
96
|
step: TestCaseStepConfig;
|
|
94
97
|
index: number;
|
|
@@ -180,8 +183,9 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
180
183
|
onDelete(): void;
|
|
181
184
|
onSelectionChange(checked: boolean): void;
|
|
182
185
|
onMoreOptions(): void;
|
|
186
|
+
onViewDetails(event?: MouseEvent): void;
|
|
183
187
|
/** Get select config for a template variable */
|
|
184
188
|
getSelectConfigForVariable(variable: any, branchIdOrIsElse?: string | boolean): DynamicSelectFieldConfig;
|
|
185
189
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseConditionStepComponent, never>;
|
|
186
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseConditionStepComponent, "cqa-test-case-condition-step", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "condition": "condition"; "branches": "branches"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "editInDepth": "editInDepth"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; }, never, never>;
|
|
190
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseConditionStepComponent, "cqa-test-case-condition-step", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "condition": "condition"; "branches": "branches"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; }, never, never>;
|
|
187
191
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { CustomCodeStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestCaseCustomCodeStepComponent implements OnInit {
|
|
5
6
|
config: CustomCodeStepConfig;
|
|
@@ -12,6 +13,8 @@ export declare class TestCaseCustomCodeStepComponent implements OnInit {
|
|
|
12
13
|
isNested: boolean;
|
|
13
14
|
isInsideLoop: boolean;
|
|
14
15
|
isReorder: boolean;
|
|
16
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
17
|
+
constructor();
|
|
15
18
|
edit: EventEmitter<void>;
|
|
16
19
|
editInDepth: EventEmitter<{
|
|
17
20
|
step: TestCaseStepConfig;
|
|
@@ -21,7 +24,7 @@ export declare class TestCaseCustomCodeStepComponent implements OnInit {
|
|
|
21
24
|
duplicate: EventEmitter<void>;
|
|
22
25
|
delete: EventEmitter<void>;
|
|
23
26
|
moreOptions: EventEmitter<void>;
|
|
24
|
-
viewDetails: EventEmitter<
|
|
27
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
25
28
|
selectionChange: EventEmitter<boolean>;
|
|
26
29
|
ngOnInit(): void;
|
|
27
30
|
getLanguageLabel(): string;
|
|
@@ -31,7 +34,7 @@ export declare class TestCaseCustomCodeStepComponent implements OnInit {
|
|
|
31
34
|
onDuplicate(): void;
|
|
32
35
|
onDelete(): void;
|
|
33
36
|
onMoreOptions(): void;
|
|
34
|
-
onViewDetails(): void;
|
|
37
|
+
onViewDetails(event?: MouseEvent): void;
|
|
35
38
|
onSelectionChange(checked: boolean): void;
|
|
36
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseCustomCodeStepComponent, never>;
|
|
37
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseCustomCodeStepComponent, "cqa-test-case-custom-code-step", never, { "config": "config"; "stepNumber": "stepNumber"; "language": "language"; "code": "code"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { DatabaseStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestCaseDatabaseStepComponent implements OnInit {
|
|
5
6
|
config: DatabaseStepConfig;
|
|
@@ -23,7 +24,7 @@ export declare class TestCaseDatabaseStepComponent implements OnInit {
|
|
|
23
24
|
link: EventEmitter<void>;
|
|
24
25
|
duplicate: EventEmitter<void>;
|
|
25
26
|
delete: EventEmitter<void>;
|
|
26
|
-
viewDetails: EventEmitter<
|
|
27
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
27
28
|
selectionChange: EventEmitter<boolean>;
|
|
28
29
|
toggleExpanded: EventEmitter<{
|
|
29
30
|
config: DatabaseStepConfig;
|
|
@@ -37,7 +38,7 @@ export declare class TestCaseDatabaseStepComponent implements OnInit {
|
|
|
37
38
|
onLink(): void;
|
|
38
39
|
onDuplicate(): void;
|
|
39
40
|
onDelete(): void;
|
|
40
|
-
onViewDetails(): void;
|
|
41
|
+
onViewDetails(event?: MouseEvent): void;
|
|
41
42
|
onSelectionChange(checked: boolean): void;
|
|
42
43
|
onConnectionChange(value: string): void;
|
|
43
44
|
onQueryChange(value: string): void;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { DndDropEvent } from 'ngx-drag-drop';
|
|
4
4
|
import { DynamicSelectFieldConfig, SelectOption } from '../../dynamic-select/dynamic-select-field.component';
|
|
5
5
|
import { LoopStepConfig, TestCaseStepConfig, NormalStepConfig, ConditionStepConfig, StepGroupConfig } from '../test-case-step.models';
|
|
6
6
|
import { DataProfileOption } from '../../step-builder/step-builder-loop/step-builder-loop.component';
|
|
7
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
9
10
|
private fb;
|
|
@@ -54,6 +55,7 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
54
55
|
duplicate: EventEmitter<void>;
|
|
55
56
|
delete: EventEmitter<void>;
|
|
56
57
|
moreOptions: EventEmitter<void>;
|
|
58
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
57
59
|
editInDepth: EventEmitter<{
|
|
58
60
|
step: TestCaseStepConfig;
|
|
59
61
|
index: number;
|
|
@@ -97,6 +99,7 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
97
99
|
conditionSelectConfig: DynamicSelectFieldConfig;
|
|
98
100
|
/** Options for Loop Start / Loop End dropdowns (1-10) */
|
|
99
101
|
loopStepOptions: number[];
|
|
102
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
100
103
|
/** Local copy of values while editing (for Cancel revert) */
|
|
101
104
|
private editSnapshot;
|
|
102
105
|
constructor(fb: FormBuilder);
|
|
@@ -158,6 +161,7 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
158
161
|
onDelete(): void;
|
|
159
162
|
onSelectionChange(checked: boolean): void;
|
|
160
163
|
onMoreOptions(): void;
|
|
164
|
+
onViewDetails(event?: MouseEvent): void;
|
|
161
165
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseLoopStepComponent, never>;
|
|
162
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseLoopStepComponent, "cqa-test-case-loop-step", never, { "config": "config"; "id": "id"; "loopType": "loopType"; "stepNumber": "stepNumber"; "condition": "condition"; "maxIterations": "maxIterations"; "testDataProfile": "testDataProfile"; "startStep": "startStep"; "endStep": "endStep"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "conditionChange": "conditionChange"; "maxIterationsChange": "maxIterationsChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "editInDepth": "editInDepth"; "edit": "edit"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; }, never, never>;
|
|
166
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseLoopStepComponent, "cqa-test-case-loop-step", never, { "config": "config"; "id": "id"; "loopType": "loopType"; "stepNumber": "stepNumber"; "condition": "condition"; "maxIterations": "maxIterations"; "testDataProfile": "testDataProfile"; "startStep": "startStep"; "endStep": "endStep"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "selected": "selected"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "conditionChange": "conditionChange"; "maxIterationsChange": "maxIterationsChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "editInDepth": "editInDepth"; "edit": "edit"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; }, never, never>;
|
|
163
167
|
}
|
|
@@ -4,6 +4,7 @@ import { CustomEditStepService } from '../custom-edit-step/custom-edit-step.serv
|
|
|
4
4
|
import { ElementPopupService } from '../element-popup/element-popup.service';
|
|
5
5
|
import { TestDataModalService } from '../test-data-modal/test-data-modal.service';
|
|
6
6
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
7
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class TestCaseNormalStepComponent implements OnInit {
|
|
9
10
|
private readonly customEditStep;
|
|
@@ -18,6 +19,7 @@ export declare class TestCaseNormalStepComponent implements OnInit {
|
|
|
18
19
|
editTrigger?: ElementRef<HTMLElement>;
|
|
19
20
|
elementTrigger?: ElementRef<HTMLElement>;
|
|
20
21
|
clickElementTrigger?: ElementRef<HTMLElement>;
|
|
22
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
21
23
|
config: NormalStepConfig;
|
|
22
24
|
stepNumber: number | string;
|
|
23
25
|
action: string;
|
|
@@ -43,6 +45,7 @@ export declare class TestCaseNormalStepComponent implements OnInit {
|
|
|
43
45
|
duplicate: EventEmitter<void>;
|
|
44
46
|
delete: EventEmitter<void>;
|
|
45
47
|
moreOptions: EventEmitter<void>;
|
|
48
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
46
49
|
selectionChange: EventEmitter<boolean>;
|
|
47
50
|
clickAction: EventEmitter<MouseEvent>;
|
|
48
51
|
eventTypeDropdownOpen: boolean;
|
|
@@ -75,11 +78,13 @@ export declare class TestCaseNormalStepComponent implements OnInit {
|
|
|
75
78
|
onDuplicate(): void;
|
|
76
79
|
onDelete(): void;
|
|
77
80
|
onMoreOptions(): void;
|
|
81
|
+
onViewDetails(event?: MouseEvent): void;
|
|
82
|
+
private getStepTitle;
|
|
78
83
|
onSelectionChange(checked: boolean): void;
|
|
79
84
|
toggleEventTypeDropdown(): void;
|
|
80
85
|
closeEventTypeDropdown(): void;
|
|
81
86
|
onDocumentClick(event: MouseEvent): void;
|
|
82
87
|
clickOnAction(event: MouseEvent): void;
|
|
83
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseNormalStepComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseNormalStepComponent, "cqa-test-case-normal-step", never, { "config": "config"; "stepNumber": "stepNumber"; "action": "action"; "eventType": "eventType"; "parameters": "parameters"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "stepIndex": "stepIndex"; }, { "eventTypeChange": "eventTypeChange"; "parameterChange": "parameterChange"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "selectionChange": "selectionChange"; "clickAction": "clickAction"; }, never, never>;
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseNormalStepComponent, "cqa-test-case-normal-step", never, { "config": "config"; "stepNumber": "stepNumber"; "action": "action"; "eventType": "eventType"; "parameters": "parameters"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "stepIndex": "stepIndex"; }, { "eventTypeChange": "eventTypeChange"; "parameterChange": "parameterChange"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "clickAction": "clickAction"; }, never, never>;
|
|
85
90
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { RestoreSessionStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestCaseRestoreSessionStepComponent implements OnInit {
|
|
5
6
|
config: RestoreSessionStepConfig;
|
|
@@ -10,6 +11,7 @@ export declare class TestCaseRestoreSessionStepComponent implements OnInit {
|
|
|
10
11
|
isNested: boolean;
|
|
11
12
|
isInsideLoop: boolean;
|
|
12
13
|
isReorder: boolean;
|
|
14
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
13
15
|
edit: EventEmitter<void>;
|
|
14
16
|
editInDepth: EventEmitter<{
|
|
15
17
|
step: TestCaseStepConfig;
|
|
@@ -19,8 +21,9 @@ export declare class TestCaseRestoreSessionStepComponent implements OnInit {
|
|
|
19
21
|
duplicate: EventEmitter<void>;
|
|
20
22
|
delete: EventEmitter<void>;
|
|
21
23
|
moreOptions: EventEmitter<void>;
|
|
22
|
-
viewDetails: EventEmitter<
|
|
24
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
23
25
|
selectionChange: EventEmitter<boolean>;
|
|
26
|
+
constructor();
|
|
24
27
|
ngOnInit(): void;
|
|
25
28
|
getRestoreSessionDescription(): string;
|
|
26
29
|
onEdit(): void;
|
|
@@ -28,7 +31,7 @@ export declare class TestCaseRestoreSessionStepComponent implements OnInit {
|
|
|
28
31
|
onDuplicate(): void;
|
|
29
32
|
onDelete(): void;
|
|
30
33
|
onMoreOptions(): void;
|
|
31
|
-
onViewDetails(): void;
|
|
34
|
+
onViewDetails(event?: MouseEvent): void;
|
|
32
35
|
onSelectionChange(checked: boolean): void;
|
|
33
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseRestoreSessionStepComponent, never>;
|
|
34
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseRestoreSessionStepComponent, "cqa-test-case-restore-session-step", never, { "config": "config"; "stepNumber": "stepNumber"; "action": "action"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { ScreenshotStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestCaseScreenshotStepComponent implements OnInit {
|
|
5
6
|
config: ScreenshotStepConfig;
|
|
@@ -13,6 +14,7 @@ export declare class TestCaseScreenshotStepComponent implements OnInit {
|
|
|
13
14
|
isNested: boolean;
|
|
14
15
|
isInsideLoop: boolean;
|
|
15
16
|
isReorder: boolean;
|
|
17
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
16
18
|
edit: EventEmitter<void>;
|
|
17
19
|
editInDepth: EventEmitter<{
|
|
18
20
|
step: TestCaseStepConfig;
|
|
@@ -22,8 +24,9 @@ export declare class TestCaseScreenshotStepComponent implements OnInit {
|
|
|
22
24
|
duplicate: EventEmitter<void>;
|
|
23
25
|
delete: EventEmitter<void>;
|
|
24
26
|
moreOptions: EventEmitter<void>;
|
|
25
|
-
viewDetails: EventEmitter<
|
|
27
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
26
28
|
selectionChange: EventEmitter<boolean>;
|
|
29
|
+
constructor();
|
|
27
30
|
ngOnInit(): void;
|
|
28
31
|
getScreenshotDescription(): string;
|
|
29
32
|
onEdit(): void;
|
|
@@ -31,7 +34,7 @@ export declare class TestCaseScreenshotStepComponent implements OnInit {
|
|
|
31
34
|
onDuplicate(): void;
|
|
32
35
|
onDelete(): void;
|
|
33
36
|
onMoreOptions(): void;
|
|
34
|
-
onViewDetails(): void;
|
|
37
|
+
onViewDetails(event?: MouseEvent): void;
|
|
35
38
|
onSelectionChange(checked: boolean): void;
|
|
36
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseScreenshotStepComponent, never>;
|
|
37
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseScreenshotStepComponent, "cqa-test-case-screenshot-step", never, { "config": "config"; "stepNumber": "stepNumber"; "name": "name"; "fullPage": "fullPage"; "selector": "selector"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { ScrollStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestCaseScrollStepComponent implements OnInit {
|
|
5
6
|
config: ScrollStepConfig;
|
|
@@ -13,6 +14,7 @@ export declare class TestCaseScrollStepComponent implements OnInit {
|
|
|
13
14
|
isInsideLoop: boolean;
|
|
14
15
|
expanded: boolean;
|
|
15
16
|
isReorder: boolean;
|
|
17
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
16
18
|
edit: EventEmitter<void>;
|
|
17
19
|
editInDepth: EventEmitter<{
|
|
18
20
|
step: TestCaseStepConfig;
|
|
@@ -21,7 +23,7 @@ export declare class TestCaseScrollStepComponent implements OnInit {
|
|
|
21
23
|
link: EventEmitter<void>;
|
|
22
24
|
duplicate: EventEmitter<void>;
|
|
23
25
|
delete: EventEmitter<void>;
|
|
24
|
-
viewDetails: EventEmitter<
|
|
26
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
25
27
|
selectionChange: EventEmitter<boolean>;
|
|
26
28
|
toggleExpanded: EventEmitter<{
|
|
27
29
|
config: ScrollStepConfig;
|
|
@@ -31,12 +33,13 @@ export declare class TestCaseScrollStepComponent implements OnInit {
|
|
|
31
33
|
directionChange: EventEmitter<"left" | "right" | "top" | "down" | "up" | "bottom">;
|
|
32
34
|
ngOnInit(): void;
|
|
33
35
|
getDisplayText(): string;
|
|
36
|
+
constructor();
|
|
34
37
|
onToggleExpanded(): void;
|
|
35
38
|
onEdit(): void;
|
|
36
39
|
onLink(): void;
|
|
37
40
|
onDuplicate(): void;
|
|
38
41
|
onDelete(): void;
|
|
39
|
-
onViewDetails(): void;
|
|
42
|
+
onViewDetails(event?: MouseEvent): void;
|
|
40
43
|
onSelectionChange(checked: boolean): void;
|
|
41
44
|
onSelectorChange(value: string): void;
|
|
42
45
|
onDirectionChange(value: 'top' | 'bottom' | 'up' | 'down' | 'left' | 'right'): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export interface StepDetailsModalData {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
/** Payload emitted when View Details is clicked - parent opens popup (e.g. view-details-popup-wrapper) */
|
|
7
|
+
export interface ViewDetailsPayload {
|
|
8
|
+
event: MouseEvent;
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const STEP_DETAILS_MODAL_DATA: InjectionToken<StepDetailsModalData>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { OverlayRef } from '@angular/cdk/overlay';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
export declare class StepDetailsModalRef<TResult = void> {
|
|
5
|
+
private readonly overlayRef;
|
|
6
|
+
private readonly closed$;
|
|
7
|
+
private isClosed;
|
|
8
|
+
constructor(overlayRef: OverlayRef);
|
|
9
|
+
close(result?: TResult): void;
|
|
10
|
+
afterClosed(): Observable<TResult | undefined>;
|
|
11
|
+
private finishClose;
|
|
12
|
+
}
|
|
13
|
+
export declare const STEP_DETAILS_MODAL_REF: InjectionToken<StepDetailsModalRef<void>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StepDetailsModalData } from './step-details-modal-data';
|
|
2
|
+
import { StepDetailsModalRef } from './step-details-modal-ref';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StepDetailsModalComponent {
|
|
5
|
+
private ref?;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
constructor(ref?: StepDetailsModalRef, data?: StepDetailsModalData);
|
|
9
|
+
onClose(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepDetailsModalComponent, [{ optional: true; }, { optional: true; }]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepDetailsModalComponent, "cqa-step-details-modal", never, {}, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
+
import { StepDetailsModalRef } from './step-details-modal-ref';
|
|
4
|
+
import { StepDetailsModalData } from './step-details-modal-data';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StepDetailsModalService {
|
|
7
|
+
private readonly overlay;
|
|
8
|
+
private readonly injector;
|
|
9
|
+
/** Currently open Step Details overlay ref; only one panel is allowed at a time. */
|
|
10
|
+
private currentRef;
|
|
11
|
+
constructor(overlay: Overlay, injector: Injector);
|
|
12
|
+
/**
|
|
13
|
+
* Opens the Step Details modal positioned just below the given origin element.
|
|
14
|
+
* If a panel is already open, returns the existing ref and does not open a duplicate.
|
|
15
|
+
* @param origin Element (e.g. "View Details" link) to position below
|
|
16
|
+
* @param data Title and description to display
|
|
17
|
+
* @returns Ref with afterClosed() and close()
|
|
18
|
+
*/
|
|
19
|
+
open(origin: ElementRef<HTMLElement>, data: StepDetailsModalData): StepDetailsModalRef<void>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepDetailsModalService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StepDetailsModalService>;
|
|
22
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DndDropEvent } from 'ngx-drag-drop';
|
|
2
|
-
import { EventEmitter, OnInit, OnChanges, SimpleChanges, DoCheck, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges, DoCheck, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
3
3
|
import { StepGroupConfig, TestCaseStepConfig, NormalStepConfig, LoopStepConfig, ConditionStepConfig } from '../test-case-step.models';
|
|
4
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, DoCheck {
|
|
6
7
|
private cdr;
|
|
@@ -33,6 +34,7 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
33
34
|
addStepBetween: boolean;
|
|
34
35
|
private previousNestedStepsLength;
|
|
35
36
|
private previousNestedStepsReference;
|
|
37
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
36
38
|
constructor(cdr: ChangeDetectorRef);
|
|
37
39
|
toggleExpanded: EventEmitter<{
|
|
38
40
|
config: StepGroupConfig;
|
|
@@ -58,6 +60,7 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
58
60
|
link: EventEmitter<void>;
|
|
59
61
|
duplicate: EventEmitter<void>;
|
|
60
62
|
delete: EventEmitter<void>;
|
|
63
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
61
64
|
dndDropInZone: EventEmitter<{
|
|
62
65
|
event: DndDropEvent;
|
|
63
66
|
targetList: TestCaseStepConfig[];
|
|
@@ -92,6 +95,7 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
92
95
|
}, step: TestCaseStepConfig, index: number): void;
|
|
93
96
|
onAddStep(): void;
|
|
94
97
|
onDeleteStep(index: number): void;
|
|
98
|
+
onViewDetails(event?: MouseEvent): void;
|
|
95
99
|
onOpenExternal(): void;
|
|
96
100
|
onEdit(): void;
|
|
97
101
|
onLink(): void;
|
|
@@ -107,5 +111,5 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
107
111
|
onNestedConditionAddBranch(nestedStep: ConditionStepConfig, index: number): void;
|
|
108
112
|
onNestedConditionDeleteBranch(nestedStep: ConditionStepConfig, branch: any, index: number): void;
|
|
109
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseStepGroupComponent, never>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseStepGroupComponent, "cqa-test-case-step-group", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "groupName": "groupName"; "description": "description"; "reusable": "reusable"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "selected": "selected"; "loading": "loading"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "groupNameChange": "groupNameChange"; "descriptionChange": "descriptionChange"; "reusableChange": "reusableChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "openExternal": "openExternal"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; }, never, never>;
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseStepGroupComponent, "cqa-test-case-step-group", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "groupName": "groupName"; "description": "description"; "reusable": "reusable"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "selected": "selected"; "loading": "loading"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "addStepBetweenAbove": "addStepBetweenAbove"; "addStepBetweenBelow": "addStepBetweenBelow"; "addStepBetween": "addStepBetween"; }, { "toggleExpanded": "toggleExpanded"; "groupNameChange": "groupNameChange"; "descriptionChange": "descriptionChange"; "reusableChange": "reusableChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "openExternal": "openExternal"; "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "viewDetails": "viewDetails"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "addStepBetweenClick": "addStepBetweenClick"; "selectionChange": "selectionChange"; }, never, never>;
|
|
111
115
|
}
|
package/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export declare class TestCaseDetailsRendererComponent implements OnChanges, Afte
|
|
|
47
47
|
delete: EventEmitter<void | {
|
|
48
48
|
step: TestCaseStepConfig;
|
|
49
49
|
}>;
|
|
50
|
-
viewDetails: EventEmitter<
|
|
50
|
+
viewDetails: EventEmitter<import("../step-details-modal/step-details-modal-data").ViewDetailsPayload>;
|
|
51
51
|
selectionChange: EventEmitter<boolean>;
|
|
52
52
|
conditionChange: EventEmitter<string>;
|
|
53
53
|
branchStepChange: EventEmitter<{
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { UploadStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestCaseUploadStepComponent implements OnInit {
|
|
5
6
|
config: UploadStepConfig;
|
|
@@ -14,6 +15,7 @@ export declare class TestCaseUploadStepComponent implements OnInit {
|
|
|
14
15
|
isNested: boolean;
|
|
15
16
|
isInsideLoop: boolean;
|
|
16
17
|
isReorder: boolean;
|
|
18
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
17
19
|
edit: EventEmitter<void>;
|
|
18
20
|
editInDepth: EventEmitter<{
|
|
19
21
|
step: TestCaseStepConfig;
|
|
@@ -23,15 +25,16 @@ export declare class TestCaseUploadStepComponent implements OnInit {
|
|
|
23
25
|
duplicate: EventEmitter<void>;
|
|
24
26
|
delete: EventEmitter<void>;
|
|
25
27
|
moreOptions: EventEmitter<void>;
|
|
26
|
-
viewDetails: EventEmitter<
|
|
28
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
27
29
|
selectionChange: EventEmitter<boolean>;
|
|
30
|
+
constructor();
|
|
28
31
|
ngOnInit(): void;
|
|
29
32
|
onEdit(): void;
|
|
30
33
|
onLink(): void;
|
|
31
34
|
onDuplicate(): void;
|
|
32
35
|
onDelete(): void;
|
|
33
36
|
onMoreOptions(): void;
|
|
34
|
-
onViewDetails(): void;
|
|
37
|
+
onViewDetails(event?: MouseEvent): void;
|
|
35
38
|
onSelectionChange(checked: boolean): void;
|
|
36
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseUploadStepComponent, never>;
|
|
37
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseUploadStepComponent, "cqa-test-case-upload-step", never, { "config": "config"; "stepNumber": "stepNumber"; "selector": "selector"; "fileName": "fileName"; "source": "source"; "sourcePath": "sourcePath"; "description": "description"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { VerifyUrlStepConfig, TestCaseStepConfig } from '../test-case-step.models';
|
|
3
|
+
import { ViewDetailsPayload } from '../step-details-modal/step-details-modal-data';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestCaseVerifyUrlStepComponent implements OnInit {
|
|
5
6
|
config: VerifyUrlStepConfig;
|
|
@@ -11,6 +12,7 @@ export declare class TestCaseVerifyUrlStepComponent implements OnInit {
|
|
|
11
12
|
isNested: boolean;
|
|
12
13
|
isInsideLoop: boolean;
|
|
13
14
|
isReorder: boolean;
|
|
15
|
+
viewDetailsTrigger?: ElementRef<HTMLElement>;
|
|
14
16
|
edit: EventEmitter<void>;
|
|
15
17
|
editInDepth: EventEmitter<{
|
|
16
18
|
step: TestCaseStepConfig;
|
|
@@ -20,8 +22,9 @@ export declare class TestCaseVerifyUrlStepComponent implements OnInit {
|
|
|
20
22
|
duplicate: EventEmitter<void>;
|
|
21
23
|
delete: EventEmitter<void>;
|
|
22
24
|
moreOptions: EventEmitter<void>;
|
|
23
|
-
viewDetails: EventEmitter<
|
|
25
|
+
viewDetails: EventEmitter<ViewDetailsPayload>;
|
|
24
26
|
selectionChange: EventEmitter<boolean>;
|
|
27
|
+
constructor();
|
|
25
28
|
ngOnInit(): void;
|
|
26
29
|
getVerifyUrlDescription(): string;
|
|
27
30
|
onEdit(): void;
|
|
@@ -29,7 +32,7 @@ export declare class TestCaseVerifyUrlStepComponent implements OnInit {
|
|
|
29
32
|
onDuplicate(): void;
|
|
30
33
|
onDelete(): void;
|
|
31
34
|
onMoreOptions(): void;
|
|
32
|
-
onViewDetails(): void;
|
|
35
|
+
onViewDetails(event?: MouseEvent): void;
|
|
33
36
|
onSelectionChange(checked: boolean): void;
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseVerifyUrlStepComponent, never>;
|
|
35
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseVerifyUrlStepComponent, "cqa-test-case-verify-url-step", never, { "config": "config"; "stepNumber": "stepNumber"; "action": "action"; "url": "url"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; }, never, never>;
|