@cqa-lib/cqa-ui 1.1.332 → 1.1.334
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 +3 -3
- package/esm2020/lib/test-case-details/ai-verify-step/ai-verify-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/api-step/api-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +7 -3
- package/esm2020/lib/test-case-details/custom-code-step/custom-code-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/database-step/database-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +8 -13
- package/esm2020/lib/test-case-details/normal-step/normal-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/restore-session-step/restore-session-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/screenshot-step/screenshot-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/scroll-step/scroll-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/step-group/step-group.component.mjs +1 -1
- package/esm2020/lib/test-case-details/step-row-actions.styles.mjs +5 -1
- package/esm2020/lib/test-case-details/test-case-step.models.mjs +1 -1
- package/esm2020/lib/test-case-details/test-data-modal/test-data-modal.component.mjs +37 -2
- package/esm2020/lib/test-case-details/upload-step/upload-step.component.mjs +3 -3
- package/esm2020/lib/test-case-details/verify-url-step/verify-url-step.component.mjs +3 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +81 -40
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +76 -38
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/condition-step/condition-step.component.d.ts +2 -0
- package/lib/test-case-details/step-row-actions.styles.d.ts +1 -1
- package/lib/test-case-details/test-case-step.models.d.ts +2 -0
- package/lib/test-case-details/test-data-modal/test-data-modal.component.d.ts +6 -3
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -246,6 +246,8 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
246
246
|
getBranchIndexById(branchId?: string | number): number;
|
|
247
247
|
getBranchColorClass(branch: ConditionBranch): string;
|
|
248
248
|
getBranchTextColor(branch: ConditionBranch): string;
|
|
249
|
+
/** Created date for branch header display: branch-specific or fallback to config. */
|
|
250
|
+
getBranchCreatedDate(branch: ConditionBranch): number | undefined;
|
|
249
251
|
/** True when condition already has an ELSE branch (disables Add ELSE IF / Add ELSE). */
|
|
250
252
|
get hasElseBranch(): boolean;
|
|
251
253
|
onOpenExternal(): void;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Using a string avoids Angular's style compiler receiving non-string values
|
|
4
4
|
* (e.g. from styleUrls resolution in Storybook), which causes "input.match is not a function".
|
|
5
5
|
*/
|
|
6
|
-
export declare const STEP_ROW_ACTIONS_STYLES = "\n.step-actions {\n opacity: 0;\n transition: opacity 0.15s ease;\n}\n.step-row:hover .step-actions {\n opacity: 1;\n}\n";
|
|
6
|
+
export declare const STEP_ROW_ACTIONS_STYLES = "\n.step-actions {\n opacity: 0;\n transition: opacity 0.15s ease;\n}\n.step-row:hover .step-actions {\n opacity: 1;\n}\n.step-row {\n vertical-align: middle;\n letter-spacing: normal;\n}\n";
|
|
@@ -153,6 +153,8 @@ export interface ConditionBranch {
|
|
|
153
153
|
action?: string;
|
|
154
154
|
/** Event key-value pairs for display badges (e.g. selector, element) - same as config.event */
|
|
155
155
|
event?: Record<string, unknown>;
|
|
156
|
+
/** Creation timestamp from API (milliseconds since epoch) - for branch header date display */
|
|
157
|
+
createdDate?: number;
|
|
156
158
|
nestedSteps: TestCaseStepConfig[];
|
|
157
159
|
}
|
|
158
160
|
export interface ConditionStepConfig extends BaseStepConfig {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { DynamicSelectFieldConfig } from '../../dynamic-select/dynamic-select-field.component';
|
|
4
4
|
import { TestDataModalData, TestDataModalTab } from './test-data-modal-data';
|
|
@@ -8,7 +8,7 @@ import { EnvironmentItem } from './test-data-modal-environment.model';
|
|
|
8
8
|
import { ParameterItem, ParameterScopeFilter } from './test-data-modal-parameter.model';
|
|
9
9
|
import { CqaListItemConfig } from '../../item-list/item-list.model';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class TestDataModalComponent implements OnInit {
|
|
11
|
+
export declare class TestDataModalComponent implements OnInit, OnChanges {
|
|
12
12
|
private readonly fb;
|
|
13
13
|
private readonly cdr;
|
|
14
14
|
private ref;
|
|
@@ -43,6 +43,8 @@ export declare class TestDataModalComponent implements OnInit {
|
|
|
43
43
|
parameterScopeFilterSelectConfig: DynamicSelectFieldConfig;
|
|
44
44
|
/** Local copy of form value for Cancel revert (same pattern as Loop Step editSnapshot). */
|
|
45
45
|
private editSnapshot;
|
|
46
|
+
/** Preserve user-entered plain text independently from parameter/environment/runtime selections. */
|
|
47
|
+
private plainTextValue;
|
|
46
48
|
/** State derived from config/editForm for template and getters (mirrors Loop Step inputs). */
|
|
47
49
|
activeTab: TestDataModalTab;
|
|
48
50
|
value: string;
|
|
@@ -57,6 +59,7 @@ export declare class TestDataModalComponent implements OnInit {
|
|
|
57
59
|
runtimeValue: string;
|
|
58
60
|
constructor(fb: FormBuilder, cdr: ChangeDetectorRef, ref: TestDataModalRef<TestDataModalResult>, data?: TestDataModalData);
|
|
59
61
|
ngOnInit(): void;
|
|
62
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
60
63
|
/** Build form with all control values (same pattern as Loop Step buildEditForm). */
|
|
61
64
|
private buildEditForm;
|
|
62
65
|
/** Build select configs once (same pattern as Loop Step buildSelectConfigs). */
|
|
@@ -97,5 +100,5 @@ export declare class TestDataModalComponent implements OnInit {
|
|
|
97
100
|
onEditInDepth(event: Event): void;
|
|
98
101
|
onHelp(event: Event): void;
|
|
99
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestDataModalComponent, [null, null, null, { optional: true; }]>;
|
|
100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestDataModalComponent, "cqa-test-data-modal", never, { "parameters": "parameters"; "environmentItems": "environmentItems"; }, { "apply": "apply"; "cancel": "cancel"; "editInDepth": "editInDepth"; "parameterCreate": "parameterCreate"; "parameterEdit": "parameterEdit"; "environmentCreate": "environmentCreate"; "environmentEdit": "environmentEdit"; }, never, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestDataModalComponent, "cqa-test-data-modal", never, { "parameters": "parameters"; "environmentItems": "environmentItems"; "activeTab": "activeTab"; "value": "value"; "helpUrl": "helpUrl"; }, { "apply": "apply"; "cancel": "cancel"; "editInDepth": "editInDepth"; "parameterCreate": "parameterCreate"; "parameterEdit": "parameterEdit"; "environmentCreate": "environmentCreate"; "environmentEdit": "environmentEdit"; }, never, never>;
|
|
101
104
|
}
|