@cqa-lib/cqa-ui 1.1.347 → 1.1.349
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/session-changes-modal/session-changes-modal.component.mjs +3 -3
- package/esm2020/lib/step-builder/step-builder-action/step-builder-action.component.mjs +12 -3
- package/esm2020/lib/test-case-details/test-case-details-edit/test-case-details-edit.component.mjs +29 -10
- package/esm2020/lib/test-case-details/test-case-details.component.mjs +26 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +67 -15
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +66 -15
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/session-changes-modal/session-changes-modal.component.d.ts +1 -1
- package/lib/step-builder/step-builder-action/step-builder-action.component.d.ts +2 -0
- package/lib/test-case-details/test-case-details-edit/test-case-details-edit.component.d.ts +6 -0
- package/lib/test-case-details/test-case-details.component.d.ts +9 -2
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -125,6 +125,7 @@ export declare class StepBuilderActionComponent implements OnInit, OnChanges, On
|
|
|
125
125
|
filteredTemplates: ActionTemplate[];
|
|
126
126
|
searchValue: string;
|
|
127
127
|
selectedTemplate: ActionTemplate | null;
|
|
128
|
+
private previousTemplateForEdit;
|
|
128
129
|
metadata: string;
|
|
129
130
|
description: string;
|
|
130
131
|
advancedExpanded: boolean;
|
|
@@ -172,6 +173,7 @@ export declare class StepBuilderActionComponent implements OnInit, OnChanges, On
|
|
|
172
173
|
onAdvancedVariableBooleanChange(variableName: string, value: boolean): void;
|
|
173
174
|
onAdvancedVariableValueChange(variableName: string, value: any): void;
|
|
174
175
|
onChangeTemplate(): void;
|
|
176
|
+
onCancelTemplateSelection(): void;
|
|
175
177
|
onBack(): void;
|
|
176
178
|
onCancel(): void;
|
|
177
179
|
isFormValid(): boolean;
|
|
@@ -182,6 +182,12 @@ export declare class TestCaseDetailsEditComponent implements OnInit, OnChanges {
|
|
|
182
182
|
private getDeviceConfigValue;
|
|
183
183
|
/** Get value from Waits section - supports both 'Wait and retries' and 'Waits & Retries' titles */
|
|
184
184
|
private getWaitsRetriesValue;
|
|
185
|
+
/** Strip trailing 's' from value (e.g. "10s" -> "10") for display in timeout inputs */
|
|
186
|
+
private stripTrailingUnitS;
|
|
187
|
+
/** Allow only digits; used for Retry Failed Steps, Test Case Timeout, Wait Timeout inputs */
|
|
188
|
+
onlyDigits(val: string): string;
|
|
189
|
+
/** For update: use "0" when value is empty so API gets a number */
|
|
190
|
+
private emptyNumToZero;
|
|
185
191
|
private getPrerequisiteCasesFromConfig;
|
|
186
192
|
/** Edit mode should show placeholder when dataset is not selected. */
|
|
187
193
|
private normalizeTestDataSetRawValue;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TestCaseDetailsConfigSection, TestCaseDetailsMetadataItem } from './test-case-details.models';
|
|
3
3
|
import { TestCaseDetailsEditFormData, SelectConfigOverrides } from './test-case-details-edit/test-case-details-edit.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TestCaseDetailsComponent implements OnInit {
|
|
5
|
+
export declare class TestCaseDetailsComponent implements OnInit, OnChanges {
|
|
6
6
|
private cdr;
|
|
7
7
|
/** Internal editing state when not controlled by parent */
|
|
8
8
|
private _editing;
|
|
@@ -14,6 +14,7 @@ export declare class TestCaseDetailsComponent implements OnInit {
|
|
|
14
14
|
get isEditing(): boolean;
|
|
15
15
|
constructor(cdr: ChangeDetectorRef);
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
18
|
/** Description section title */
|
|
18
19
|
descriptionTitle: string;
|
|
19
20
|
/** Description text content */
|
|
@@ -42,6 +43,12 @@ export declare class TestCaseDetailsComponent implements OnInit {
|
|
|
42
43
|
isSaving: boolean;
|
|
43
44
|
/** Labels to filter out from metadata for step groups */
|
|
44
45
|
private readonly stepGroupExcludedMetadataLabels;
|
|
46
|
+
/** When true, description (view mode) is expanded; when false, clamped to 4 lines with Read more */
|
|
47
|
+
descriptionExpanded: boolean;
|
|
48
|
+
/** Roughly 4 lines of text; show Read more when description exceeds this */
|
|
49
|
+
private readonly descriptionReadMoreThreshold;
|
|
50
|
+
get showDescriptionReadMore(): boolean;
|
|
51
|
+
toggleDescriptionExpand(): void;
|
|
45
52
|
/** Filtered metadata items - excludes Priority and Type for step groups */
|
|
46
53
|
get filteredMetadataItems(): TestCaseDetailsMetadataItem[];
|
|
47
54
|
editDescription: EventEmitter<void>;
|