@cqa-lib/cqa-ui 1.1.355 → 1.1.357

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.
@@ -99,7 +99,11 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
99
99
  addElse: EventEmitter<{
100
100
  conditionStepConfig: ConditionStepConfig;
101
101
  }>;
102
- deleteBranch: EventEmitter<ConditionBranch>;
102
+ /** Payload can be branch only (legacy) or { branch, stepNumber } for delete modal label e.g. "Step 5 ELSE". */
103
+ deleteBranch: EventEmitter<ConditionBranch | {
104
+ branch: ConditionBranch;
105
+ stepNumber?: number | string;
106
+ }>;
103
107
  duplicate: EventEmitter<void>;
104
108
  delete: EventEmitter<void>;
105
109
  edit: EventEmitter<{
@@ -229,7 +233,10 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
229
233
  onAddBranch(): void;
230
234
  onDeleteBranch(branch: ConditionBranch): void;
231
235
  onNestedConditionAddBranch(nestedStep: ConditionStepConfig): void;
232
- onNestedConditionDeleteBranch(nestedStep: ConditionStepConfig, branch: ConditionBranch): void;
236
+ onNestedConditionDeleteBranch(nestedStep: ConditionStepConfig, payload: ConditionBranch | {
237
+ branch: ConditionBranch;
238
+ stepNumber?: number | string;
239
+ }): void;
233
240
  isNormalStep(step: TestCaseStepConfig): step is NormalStepConfig;
234
241
  isLoopStep(step: TestCaseStepConfig): step is LoopStepConfig;
235
242
  isConditionStep(step: TestCaseStepConfig): step is ConditionStepConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.355",
3
+ "version": "1.1.357",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",