@cqa-lib/cqa-ui 1.1.407 → 1.1.408
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/condition-step/condition-step.component.mjs +41 -14
- package/esm2020/lib/test-case-details/test-case-details-renderer/test-case-details-renderer.component.mjs +8 -5
- package/fesm2015/cqa-lib-cqa-ui.mjs +41 -17
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +47 -17
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/condition-step/condition-step.component.d.ts +10 -2
- package/package.json +1 -1
|
@@ -109,7 +109,9 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
109
109
|
stepNumber?: number | string;
|
|
110
110
|
}>;
|
|
111
111
|
duplicate: EventEmitter<void>;
|
|
112
|
-
delete: EventEmitter<void
|
|
112
|
+
delete: EventEmitter<void | {
|
|
113
|
+
step: TestCaseStepConfig;
|
|
114
|
+
}>;
|
|
113
115
|
edit: EventEmitter<{
|
|
114
116
|
step: TestCaseStepConfig;
|
|
115
117
|
index: number;
|
|
@@ -252,6 +254,10 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
252
254
|
branch: ConditionBranch;
|
|
253
255
|
stepNumber?: number | string;
|
|
254
256
|
}): void;
|
|
257
|
+
/** Forward nested step's delete event upward (e.g. a step inside a loop inside a branch). */
|
|
258
|
+
onNestedStepDelete(payload: {
|
|
259
|
+
step: TestCaseStepConfig;
|
|
260
|
+
} | void): void;
|
|
255
261
|
isNormalStep(step: TestCaseStepConfig): step is NormalStepConfig;
|
|
256
262
|
isLoopStep(step: TestCaseStepConfig): step is LoopStepConfig;
|
|
257
263
|
isConditionStep(step: TestCaseStepConfig): step is ConditionStepConfig;
|
|
@@ -265,6 +271,8 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
265
271
|
getEndBranchLabel(branch: ConditionBranch): string;
|
|
266
272
|
/** Branch display number: full hierarchical number. IF = stepNumber (e.g. 2.1.50), ELSE IF = 2.1.51, ELSE = 2.1.52. */
|
|
267
273
|
getBranchDisplayNumber(branchIndex: number): number | string;
|
|
274
|
+
/** Return the branch id after which a new ELSE IF should be inserted, based on the current edit context. */
|
|
275
|
+
getInsertAfterBranchId(): string | undefined;
|
|
268
276
|
/** Find branch in branches by id (for elseIfBranches which use same id). */
|
|
269
277
|
getBranchById(branchId?: string | number): ConditionBranch | undefined;
|
|
270
278
|
/** Get branch index in branches by id. */
|
|
@@ -300,7 +308,7 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
|
|
|
300
308
|
* Emit editInDepth. When branch is provided (ELSE IF/ELSE branch row), use branch's nested condition step
|
|
301
309
|
* and branch display number for correct "Edit Step N" title. When isCreateMode (new ELSE IF), modal shows "Create In depth" and calls create API on save.
|
|
302
310
|
*/
|
|
303
|
-
onEditInDepth(templateOverride?: any, branch?: ConditionBranch, branchIndex?: number, isCreateMode?: boolean, elseIfBranch?: any): void;
|
|
311
|
+
onEditInDepth(templateOverride?: any, branch?: ConditionBranch, branchIndex?: number, isCreateMode?: boolean, elseIfBranch?: any, insertAfterBranchId?: string): void;
|
|
304
312
|
onLink(): void;
|
|
305
313
|
onDuplicate(): void;
|
|
306
314
|
onDelete(): void;
|