@cqa-lib/cqa-ui 1.1.200 → 1.1.201

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.
@@ -92,6 +92,11 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
92
92
  searchDataProfiles: EventEmitter<string>;
93
93
  /** Emit when a nested step is updated (e.g., Apply button clicked in loop-step edit mode) */
94
94
  stepUpdate: EventEmitter<TestCaseStepConfig>;
95
+ /** Re-emit when a nested step (e.g. normal-step) emits clickAction (e.g. element/label click for popup) */
96
+ clickAction: EventEmitter<{
97
+ event: MouseEvent;
98
+ step: TestCaseStepConfig;
99
+ }>;
95
100
  onDndDrop(event: DndDropEvent, branch: ConditionBranch): void;
96
101
  constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
97
102
  ngOnInit(): void;
@@ -159,5 +164,5 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
159
164
  /** Get select config for a template variable */
160
165
  getSelectConfigForVariable(variable: any, branchIdOrIsElse?: string | boolean): DynamicSelectFieldConfig;
161
166
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseConditionStepComponent, never>;
162
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseConditionStepComponent, "cqa-test-case-condition-step", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "condition": "condition"; "branches": "branches"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; }, { "toggleExpanded": "toggleExpanded"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; }, never, never>;
167
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseConditionStepComponent, "cqa-test-case-condition-step", never, { "config": "config"; "id": "id"; "stepNumber": "stepNumber"; "condition": "condition"; "branches": "branches"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; "setConditionTemplateVariables": "setConditionTemplateVariables"; }, { "toggleExpanded": "toggleExpanded"; "conditionChange": "conditionChange"; "branchStepChange": "branchStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "addBranch": "addBranch"; "addElse": "addElse"; "deleteBranch": "deleteBranch"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; }, never, never>;
163
168
  }
@@ -58,6 +58,11 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
58
58
  searchDataProfiles: EventEmitter<string>;
59
59
  /** Emit when step is updated (Apply button clicked in edit mode) */
60
60
  stepUpdate: EventEmitter<LoopStepConfig>;
61
+ /** Re-emit when a nested step (e.g. normal-step) emits clickAction (e.g. element/label click for popup) */
62
+ clickAction: EventEmitter<{
63
+ event: MouseEvent;
64
+ step: TestCaseStepConfig;
65
+ }>;
61
66
  onDndDrop(event: DndDropEvent): void;
62
67
  /** Expose global constructors for template (Angular templates don't have String/Number) */
63
68
  readonly stringFn: StringConstructor;
@@ -135,5 +140,5 @@ export declare class TestCaseLoopStepComponent implements OnInit, OnChanges {
135
140
  onDelete(): void;
136
141
  onMoreOptions(): void;
137
142
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseLoopStepComponent, never>;
138
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseLoopStepComponent, "cqa-test-case-loop-step", never, { "config": "config"; "id": "id"; "loopType": "loopType"; "stepNumber": "stepNumber"; "condition": "condition"; "maxIterations": "maxIterations"; "testDataProfile": "testDataProfile"; "startStep": "startStep"; "endStep": "endStep"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; }, { "toggleExpanded": "toggleExpanded"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "conditionChange": "conditionChange"; "maxIterationsChange": "maxIterationsChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "edit": "edit"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; }, never, never>;
143
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseLoopStepComponent, "cqa-test-case-loop-step", never, { "config": "config"; "id": "id"; "loopType": "loopType"; "stepNumber": "stepNumber"; "condition": "condition"; "maxIterations": "maxIterations"; "testDataProfile": "testDataProfile"; "startStep": "startStep"; "endStep": "endStep"; "nestedSteps": "nestedSteps"; "expanded": "expanded"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isReorder": "isReorder"; "dataProfileOptions": "dataProfileOptions"; "hasMoreDataProfiles": "hasMoreDataProfiles"; "isLoadingDataProfiles": "isLoadingDataProfiles"; "naturalTextActionsOptions": "naturalTextActionsOptions"; }, { "toggleExpanded": "toggleExpanded"; "testDataProfileChange": "testDataProfileChange"; "startStepChange": "startStepChange"; "endStepChange": "endStepChange"; "conditionChange": "conditionChange"; "maxIterationsChange": "maxIterationsChange"; "nestedStepChange": "nestedStepChange"; "addStep": "addStep"; "deleteStep": "deleteStep"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "edit": "edit"; "dndDropInZone": "dndDropInZone"; "loadMoreDataProfiles": "loadMoreDataProfiles"; "searchDataProfiles": "searchDataProfiles"; "stepUpdate": "stepUpdate"; "clickAction": "clickAction"; }, never, never>;
139
144
  }
@@ -68,7 +68,11 @@ export declare class TestCaseDetailsRendererComponent implements OnChanges, Afte
68
68
  maxIterationsChange: EventEmitter<number>;
69
69
  eventTypeChange: EventEmitter<any>;
70
70
  parameterChange: EventEmitter<any>;
71
- clickAction: EventEmitter<MouseEvent>;
71
+ /** Emits with step so parent (e.g. step-list) gets correct step when click is from nested step (e.g. inside loop). */
72
+ clickAction: EventEmitter<{
73
+ event: MouseEvent;
74
+ step: TestCaseStepConfig;
75
+ }>;
72
76
  /** Emitted when a step is dropped in a nested dropzone (step-group, loop, condition). Payload: { event, targetList }. */
73
77
  dndDropInZone: EventEmitter<{
74
78
  event: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.200",
3
+ "version": "1.1.201",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",