@cqa-lib/cqa-ui 1.1.398 → 1.1.400
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/step-builder/template-variables-form/template-variables-form.component.mjs +21 -16
- package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +31 -6
- package/esm2020/lib/test-case-details/test-case-step.models.mjs +1 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +50 -25
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +50 -20
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/condition-step/condition-step.component.d.ts +5 -0
- package/lib/test-case-details/test-case-step.models.d.ts +6 -0
- package/package.json +1 -1
|
@@ -196,6 +196,11 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
196
196
|
onEditFormFieldChange(controlName: string, value: string): void;
|
|
197
197
|
/** Count and summarize condition branches using their display step numbers.
|
|
198
198
|
* Example: IF + 2x ELSE IF + ELSE → "Steps 6-9 (4 steps)". */
|
|
199
|
+
/**
|
|
200
|
+
* Returns a flat list of all branches including those chained via nextBranch.
|
|
201
|
+
* Used for counting, badge display, and summary when the condition uses a chained structure.
|
|
202
|
+
*/
|
|
203
|
+
getAllBranchesFlat(): ConditionBranch[];
|
|
199
204
|
getStepsSummary(): string;
|
|
200
205
|
/** Branch type badges for step row: IF, ELSE IF (with count if multiple), ELSE */
|
|
201
206
|
getBranchTypeBadges(): {
|
|
@@ -158,6 +158,12 @@ export interface ConditionBranch {
|
|
|
158
158
|
/** Creation timestamp from API (milliseconds since epoch) - for branch header date display */
|
|
159
159
|
createdDate?: number;
|
|
160
160
|
nestedSteps: TestCaseStepConfig[];
|
|
161
|
+
/**
|
|
162
|
+
* The next branch in the condition chain (ELSE IF or ELSE whose parentId points to this branch,
|
|
163
|
+
* rather than to the root IF step). Used for chained conditions where ELSE IF / ELSE steps
|
|
164
|
+
* are nested under a previous ELSE IF instead of directly under the root IF.
|
|
165
|
+
*/
|
|
166
|
+
nextBranch?: ConditionBranch;
|
|
161
167
|
}
|
|
162
168
|
export interface ConditionStepConfig extends BaseStepConfig {
|
|
163
169
|
condition: string;
|