@cqa-lib/cqa-ui 1.1.380 → 1.1.381
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/run-execution-alert/run-execution-alert.component.mjs +48 -6
- package/esm2020/lib/test-case-details/test-data-modal/test-data-modal.component.mjs +3 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +46 -5
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +45 -5
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/run-execution-alert/run-execution-alert.component.d.ts +24 -1
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -1,20 +1,43 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { DynamicSelectFieldConfig } from '../../dynamic-select/dynamic-select-field.component';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
/**
|
|
4
6
|
* Run Execution alert modal when the user clicks Execution but the test case has no prerequisites.
|
|
5
7
|
* Similar to delete-steps: two actions — "Cancel" (abort) and "Run Anyway" (proceed with execution).
|
|
6
8
|
*/
|
|
7
9
|
export declare class RunExecutionAlertComponent {
|
|
10
|
+
/**
|
|
11
|
+
* Title text shown in the header.
|
|
12
|
+
* Can be provided either via @Input() or MAT_DIALOG_DATA.
|
|
13
|
+
*/
|
|
8
14
|
title: string;
|
|
15
|
+
/**
|
|
16
|
+
* Body message shown under the title.
|
|
17
|
+
* Can be provided either via @Input() or MAT_DIALOG_DATA.
|
|
18
|
+
*/
|
|
9
19
|
message: string;
|
|
20
|
+
/**
|
|
21
|
+
* Optional form and config for a prerequisite select field.
|
|
22
|
+
* When provided, a cqa-dynamic-select will be rendered inside this component.
|
|
23
|
+
*/
|
|
24
|
+
prerequisiteForm?: FormGroup | null;
|
|
25
|
+
prerequisiteSelectConfig?: DynamicSelectFieldConfig | null;
|
|
26
|
+
/** Emitted when user wants to run with prerequisites. */
|
|
27
|
+
runWithPrerequisites: EventEmitter<void>;
|
|
10
28
|
constructor(data?: {
|
|
11
29
|
title?: string;
|
|
12
30
|
message?: string;
|
|
13
31
|
});
|
|
32
|
+
/** Emitted when user confirms they want to proceed (Run Anyway). */
|
|
14
33
|
runAnyway: EventEmitter<void>;
|
|
34
|
+
/** Emitted when user cancels/closes the alert. */
|
|
15
35
|
cancelled: EventEmitter<void>;
|
|
36
|
+
/** True when "Run with Prerequisites" should be disabled (no selection). */
|
|
37
|
+
get disableRunWithPrereq(): boolean;
|
|
16
38
|
onCancel(): void;
|
|
17
39
|
onRunAnyway(): void;
|
|
40
|
+
onRunWithPrerequisites(): void;
|
|
18
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<RunExecutionAlertComponent, [{ optional: true; }]>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RunExecutionAlertComponent, "cqa-run-execution-alert", never, {}, { "runAnyway": "runAnyway"; "cancelled": "cancelled"; }, never, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RunExecutionAlertComponent, "cqa-run-execution-alert", never, { "title": "title"; "message": "message"; "prerequisiteForm": "prerequisiteForm"; "prerequisiteSelectConfig": "prerequisiteSelectConfig"; }, { "runWithPrerequisites": "runWithPrerequisites"; "runAnyway": "runAnyway"; "cancelled": "cancelled"; }, never, never>;
|
|
20
43
|
}
|