@cqa-lib/cqa-ui 1.1.277 → 1.1.279

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.
@@ -178,6 +178,11 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
178
178
  key: string;
179
179
  value: string;
180
180
  }[];
181
+ /** Event key-value pairs for a branch (e.g. selector, element) - for IF uses config.event, for ELSE IF/ELSE uses branch.event */
182
+ getBranchEventDetailsForDisplay(branch: ConditionBranch): {
183
+ key: string;
184
+ value: string;
185
+ }[];
181
186
  onToggleExpanded(): void;
182
187
  onConditionChange(value: string): void;
183
188
  onBranchStepChange(branch: ConditionBranch, step: TestCaseStepConfig, stepIndex: number): void;
@@ -206,6 +206,11 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
206
206
  private escapeForLoopHtml;
207
207
  /** Full display for while loop: "While element ".selector" exists (max N iterations)" - supports HTML badges via innerHTML */
208
208
  getConditionDisplay(): string;
209
+ /** Event key-value pairs for display (e.g. selector, element) - same as condition step getBranchEventDetailsForDisplay */
210
+ getLoopEventDetailsForDisplay(): {
211
+ key: string;
212
+ value: string;
213
+ }[];
209
214
  onToggleExpanded(): void;
210
215
  onTestDataProfileChange(value: string): void;
211
216
  onStartStepChange(value: number): void;
@@ -151,6 +151,8 @@ export interface ConditionBranch {
151
151
  stepType: StepTypes.CONDITION_IF;
152
152
  label: string;
153
153
  action?: string;
154
+ /** Event key-value pairs for display badges (e.g. selector, element) - same as config.event */
155
+ event?: Record<string, unknown>;
154
156
  nestedSteps: TestCaseStepConfig[];
155
157
  }
156
158
  export interface ConditionStepConfig extends BaseStepConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.277",
3
+ "version": "1.1.279",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",