@cqa-lib/cqa-ui 1.1.212 → 1.1.214
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/add-prerequisite-cases-section/add-prerequisite-cases-section.component.mjs +5 -6
- package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +11 -3
- package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +11 -3
- package/esm2020/lib/test-case-details/step-group/step-group.component.mjs +11 -3
- package/esm2020/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.mjs +5 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +38 -13
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +38 -13
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/condition-step/condition-step.component.d.ts +9 -1
- package/lib/test-case-details/loop-step/loop-step.component.d.ts +9 -1
- package/lib/test-case-details/step-group/step-group.component.d.ts +9 -1
- package/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.d.ts +1 -0
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -27,6 +27,8 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
27
27
|
naturalTextActionsOptions: any[];
|
|
28
28
|
/** Function to process template variables (similar to step-builder-condition) */
|
|
29
29
|
setConditionTemplateVariables: (template: any) => any[];
|
|
30
|
+
/** Show "Add Step Between" buttons */
|
|
31
|
+
addStepBetween: boolean;
|
|
30
32
|
/** When true, header shows inline edit form (fields, operator select, Cancel/Apply) */
|
|
31
33
|
isEditing: boolean;
|
|
32
34
|
/** Array of ELSE IF branches in edit mode */
|
|
@@ -101,6 +103,12 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
101
103
|
event: MouseEvent;
|
|
102
104
|
step: TestCaseStepConfig;
|
|
103
105
|
}>;
|
|
106
|
+
/** Re-emit addStepBetweenClick from nested renderers */
|
|
107
|
+
addStepBetweenClick: EventEmitter<{
|
|
108
|
+
step: TestCaseStepConfig;
|
|
109
|
+
index: number;
|
|
110
|
+
position: 'ABOVE' | 'BELOW';
|
|
111
|
+
}>;
|
|
104
112
|
onDndDrop(event: DndDropEvent, branch: ConditionBranch): void;
|
|
105
113
|
constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
|
|
106
114
|
ngOnInit(): void;
|
|
@@ -168,5 +176,5 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
168
176
|
/** Get select config for a template variable */
|
|
169
177
|
getSelectConfigForVariable(variable: any, branchIdOrIsElse?: string | boolean): DynamicSelectFieldConfig;
|
|
170
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseConditionStepComponent, never>;
|
|
171
|
-
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"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; }, { "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"; }, never, never>;
|
|
179
|
+
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"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; "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"; }, never, never>;
|
|
172
180
|
}
|
|
@@ -29,6 +29,8 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
29
29
|
isLoadingDataProfiles: boolean;
|
|
30
30
|
/** Options for natural text actions (for while loop condition) */
|
|
31
31
|
naturalTextActionsOptions: SelectOption[];
|
|
32
|
+
/** Show "Add Step Between" buttons */
|
|
33
|
+
addStepBetween: boolean;
|
|
32
34
|
toggleExpanded: EventEmitter<{
|
|
33
35
|
config: LoopStepConfig;
|
|
34
36
|
expanded: boolean;
|
|
@@ -67,6 +69,12 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
67
69
|
event: MouseEvent;
|
|
68
70
|
step: TestCaseStepConfig;
|
|
69
71
|
}>;
|
|
72
|
+
/** Re-emit addStepBetweenClick from nested renderers */
|
|
73
|
+
addStepBetweenClick: EventEmitter<{
|
|
74
|
+
step: TestCaseStepConfig;
|
|
75
|
+
index: number;
|
|
76
|
+
position: 'ABOVE' | 'BELOW';
|
|
77
|
+
}>;
|
|
70
78
|
onDndDrop(event: DndDropEvent): void;
|
|
71
79
|
/** Expose global constructors for template (Angular templates don't have String/Number) */
|
|
72
80
|
readonly stringFn: StringConstructor;
|
|
@@ -144,5 +152,5 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
|
|
|
144
152
|
onDelete(): void;
|
|
145
153
|
onMoreOptions(): void;
|
|
146
154
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseLoopStepComponent, never>;
|
|
147
|
-
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"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; }, { "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"; }, never, never>;
|
|
155
|
+
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"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "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"; }, never, never>;
|
|
148
156
|
}
|
|
@@ -24,6 +24,8 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
24
24
|
isLoadingDataProfiles: boolean;
|
|
25
25
|
/** Natural text actions options for while loop condition */
|
|
26
26
|
naturalTextActionsOptions: any[];
|
|
27
|
+
/** Show "Add Step Between" buttons */
|
|
28
|
+
addStepBetween: boolean;
|
|
27
29
|
private previousNestedStepsLength;
|
|
28
30
|
private previousNestedStepsReference;
|
|
29
31
|
constructor(cdr: ChangeDetectorRef);
|
|
@@ -61,6 +63,12 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
61
63
|
searchDataProfiles: EventEmitter<string>;
|
|
62
64
|
/** Emit when a nested step is updated (e.g., Apply button clicked in loop-step edit mode) */
|
|
63
65
|
stepUpdate: EventEmitter<TestCaseStepConfig>;
|
|
66
|
+
/** Re-emit addStepBetweenClick from nested renderers */
|
|
67
|
+
addStepBetweenClick: EventEmitter<{
|
|
68
|
+
step: TestCaseStepConfig;
|
|
69
|
+
index: number;
|
|
70
|
+
position: 'ABOVE' | 'BELOW';
|
|
71
|
+
}>;
|
|
64
72
|
onDndDrop(event: DndDropEvent): void;
|
|
65
73
|
ngOnInit(): void;
|
|
66
74
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -92,5 +100,5 @@ export declare class TestCaseStepGroupComponent implements OnInit, OnChanges, Do
|
|
|
92
100
|
onNestedConditionAddBranch(nestedStep: ConditionStepConfig, index: number): void;
|
|
93
101
|
onNestedConditionDeleteBranch(nestedStep: ConditionStepConfig, branch: any, index: number): void;
|
|
94
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseStepGroupComponent, never>;
|
|
95
|
-
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"; "loading": "loading"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; }, { "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"; }, never, never>;
|
|
103
|
+
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"; "loading": "loading"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "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"; }, never, never>;
|
|
96
104
|
}
|
package/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.d.ts
CHANGED
|
@@ -95,6 +95,7 @@ export declare class TestCaseDetailsRendererComponent implements OnChanges, Afte
|
|
|
95
95
|
addStepBetweenClick: EventEmitter<{
|
|
96
96
|
step: TestCaseStepConfig;
|
|
97
97
|
index: number;
|
|
98
|
+
position: 'ABOVE' | 'BELOW';
|
|
98
99
|
}>;
|
|
99
100
|
/** Emit when user clicks "Edit In depth" in condition-step (or other steps that support it) */
|
|
100
101
|
editInDepth: EventEmitter<{
|