@cqa-lib/cqa-ui 1.1.331 → 1.1.333

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.
Files changed (49) hide show
  1. package/esm2020/lib/execution-screen/ai-action-step/ai-action-step.component.mjs +16 -3
  2. package/esm2020/lib/execution-screen/ai-agent-step/ai-agent-step.component.mjs +16 -3
  3. package/esm2020/lib/execution-screen/api-step/api-step.component.mjs +16 -3
  4. package/esm2020/lib/execution-screen/basic-step/basic-step.component.mjs +16 -3
  5. package/esm2020/lib/execution-screen/condition-step/condition-step.component.mjs +18 -3
  6. package/esm2020/lib/execution-screen/db-verification-step/db-verification-step.component.mjs +16 -3
  7. package/esm2020/lib/execution-screen/document-verification-step/document-verification-step.component.mjs +16 -3
  8. package/esm2020/lib/execution-screen/execution-step.models.mjs +1 -1
  9. package/esm2020/lib/execution-screen/file-download-step/file-download-step.component.mjs +16 -3
  10. package/esm2020/lib/execution-screen/live-execution-step/live-execution-step.component.mjs +18 -3
  11. package/esm2020/lib/execution-screen/loop-step/loop-step.component.mjs +18 -3
  12. package/esm2020/lib/execution-screen/step-group/step-group.component.mjs +18 -3
  13. package/esm2020/lib/test-case-details/ai-agent-step/ai-agent-step.component.mjs +3 -3
  14. package/esm2020/lib/test-case-details/ai-verify-step/ai-verify-step.component.mjs +3 -3
  15. package/esm2020/lib/test-case-details/api-step/api-step.component.mjs +3 -3
  16. package/esm2020/lib/test-case-details/condition-step/condition-step.component.mjs +7 -3
  17. package/esm2020/lib/test-case-details/custom-code-step/custom-code-step.component.mjs +3 -3
  18. package/esm2020/lib/test-case-details/database-step/database-step.component.mjs +3 -3
  19. package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +8 -13
  20. package/esm2020/lib/test-case-details/normal-step/normal-step.component.mjs +3 -3
  21. package/esm2020/lib/test-case-details/restore-session-step/restore-session-step.component.mjs +3 -3
  22. package/esm2020/lib/test-case-details/screenshot-step/screenshot-step.component.mjs +3 -3
  23. package/esm2020/lib/test-case-details/scroll-step/scroll-step.component.mjs +3 -3
  24. package/esm2020/lib/test-case-details/step-group/step-group.component.mjs +1 -1
  25. package/esm2020/lib/test-case-details/step-row-actions.styles.mjs +5 -1
  26. package/esm2020/lib/test-case-details/test-case-step.models.mjs +1 -1
  27. package/esm2020/lib/test-case-details/upload-step/upload-step.component.mjs +3 -3
  28. package/esm2020/lib/test-case-details/verify-url-step/verify-url-step.component.mjs +3 -3
  29. package/fesm2015/cqa-lib-cqa-ui.mjs +215 -60
  30. package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
  31. package/fesm2020/cqa-lib-cqa-ui.mjs +213 -59
  32. package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
  33. package/lib/execution-screen/ai-action-step/ai-action-step.component.d.ts +2 -0
  34. package/lib/execution-screen/ai-agent-step/ai-agent-step.component.d.ts +2 -0
  35. package/lib/execution-screen/api-step/api-step.component.d.ts +2 -0
  36. package/lib/execution-screen/basic-step/basic-step.component.d.ts +2 -0
  37. package/lib/execution-screen/condition-step/condition-step.component.d.ts +2 -0
  38. package/lib/execution-screen/db-verification-step/db-verification-step.component.d.ts +2 -0
  39. package/lib/execution-screen/document-verification-step/document-verification-step.component.d.ts +2 -0
  40. package/lib/execution-screen/execution-step.models.d.ts +3 -0
  41. package/lib/execution-screen/file-download-step/file-download-step.component.d.ts +2 -0
  42. package/lib/execution-screen/live-execution-step/live-execution-step.component.d.ts +4 -1
  43. package/lib/execution-screen/loop-step/loop-step.component.d.ts +2 -0
  44. package/lib/execution-screen/step-group/step-group.component.d.ts +2 -0
  45. package/lib/test-case-details/condition-step/condition-step.component.d.ts +2 -0
  46. package/lib/test-case-details/step-row-actions.styles.d.ts +1 -1
  47. package/lib/test-case-details/test-case-step.models.d.ts +2 -0
  48. package/package.json +1 -1
  49. package/styles.css +1 -1
@@ -44,6 +44,8 @@ export declare class AIActionStepComponent extends BaseStepComponent implements
44
44
  showFailedStepDetails: boolean;
45
45
  /** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
46
46
  get showDebugIcon(): boolean;
47
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
48
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
47
49
  makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
48
50
  uploadBaseline: EventEmitter<uploadBaselineEvent>;
49
51
  analyze: EventEmitter<void>;
@@ -47,6 +47,8 @@ export declare class AIAgentStepComponent extends BaseStepComponent implements O
47
47
  showFailedStepDetails: boolean;
48
48
  /** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
49
49
  get showDebugIcon(): boolean;
50
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
51
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
50
52
  makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
51
53
  uploadBaseline: EventEmitter<uploadBaselineEvent>;
52
54
  analyze: EventEmitter<void>;
@@ -65,6 +65,8 @@ export declare class ApiStepComponent extends BaseStepComponent implements OnIni
65
65
  showFailedStepDetails: boolean;
66
66
  /** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
67
67
  get showDebugIcon(): boolean;
68
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
69
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
68
70
  config: ApiStepConfig;
69
71
  private previousStatus?;
70
72
  private userManuallyClosed;
@@ -104,6 +104,8 @@ export declare class BasicStepComponent extends BaseStepComponent implements OnI
104
104
  processedSubStepsForRunResult: any[];
105
105
  /** Show debug icon when debug mode is on (shown on parent and all child steps). */
106
106
  get showDebugIcon(): boolean;
107
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
108
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
107
109
  ngOnInit(): void;
108
110
  ngOnChanges(changes: SimpleChanges): void;
109
111
  ngDoCheck(): void;
@@ -104,6 +104,8 @@ export declare class ConditionStepComponent extends BaseStepComponent implements
104
104
  /** Show debug icon only when this step has no child steps (icon is shown on child steps instead). */
105
105
  /** Show debug icon when debug mode is on (shown on parent and all child steps). */
106
106
  get showDebugIcon(): boolean;
107
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
108
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
107
109
  config: ConditionStepConfig;
108
110
  loadingSteps: Set<string>;
109
111
  constructor(cdr: ChangeDetectorRef);
@@ -62,6 +62,8 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
62
62
  constructor(cdr: ChangeDetectorRef);
63
63
  /** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
64
64
  get showDebugIcon(): boolean;
65
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
66
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
65
67
  showEnvironmentCopied: boolean;
66
68
  private environmentCopiedTimeout?;
67
69
  makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
@@ -25,6 +25,8 @@ export declare class DocumentVerificationStepComponent extends BaseStepComponent
25
25
  stepMoreMenuOptions: StepMoreMenuOption[];
26
26
  /** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
27
27
  get showDebugIcon(): boolean;
28
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
29
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
28
30
  config: DocumentVerificationStepConfig;
29
31
  ngOnInit(): void;
30
32
  ngOnChanges(changes: SimpleChanges): void;
@@ -68,6 +68,9 @@ export interface BaseStepConfig {
68
68
  video_end_time: number;
69
69
  };
70
70
  selectedIterationId?: string;
71
+ /** Internal debug/portal-only flags used at runtime (not persisted). */
72
+ isStepGroupChildren?: boolean;
73
+ stepMoreMenuOptions?: boolean;
71
74
  }
72
75
  export interface SelfHealAnalysisData {
73
76
  originalLocator: string;
@@ -44,6 +44,8 @@ export declare class FileDownloadStepComponent extends BaseStepComponent impleme
44
44
  }>;
45
45
  /** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
46
46
  get showDebugIcon(): boolean;
47
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
48
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
47
49
  config: FileDownloadStepConfig;
48
50
  showFilePathCopied: boolean;
49
51
  private filePathCopiedTimeout?;
@@ -20,8 +20,11 @@ export declare class LiveExecutionStepComponent extends BaseStepComponent implem
20
20
  expanded?: boolean;
21
21
  subSteps: LiveSubStep[];
22
22
  stepDeleted?: boolean;
23
+ step?: any;
23
24
  /** Show debug icon only when this step has no child steps (leaf step: always show when isDebug). */
24
25
  get showDebugIcon(): boolean;
26
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
27
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
25
28
  config: LiveExecutionStepConfig;
26
29
  private previousStatus?;
27
30
  private userManuallyClosed;
@@ -47,5 +50,5 @@ export declare class LiveExecutionStepComponent extends BaseStepComponent implem
47
50
  private clearCountdownTimer;
48
51
  private addDurationToWaitLocatorGroupEntry;
49
52
  static ɵfac: i0.ɵɵFactoryDeclaration<LiveExecutionStepComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<LiveExecutionStepComponent, "cqa-live-execution-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "duration": "duration"; "expanded": "expanded"; "subSteps": "subSteps"; "stepDeleted": "stepDeleted"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; }, never, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<LiveExecutionStepComponent, "cqa-live-execution-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "isDebug": "isDebug"; "debugPointSet": "debugPointSet"; "addStepMenuOptions": "addStepMenuOptions"; "stepMoreMenuOptions": "stepMoreMenuOptions"; "duration": "duration"; "expanded": "expanded"; "subSteps": "subSteps"; "stepDeleted": "stepDeleted"; "step": "step"; }, { "debugPointChange": "debugPointChange"; "editStep": "editStep"; "addStepOptionSelect": "addStepOptionSelect"; "stepMoreOptionSelect": "stepMoreOptionSelect"; }, never, never>;
51
54
  }
@@ -105,6 +105,8 @@ export declare class LoopStepComponent extends BaseStepComponent implements OnIn
105
105
  stepMoreMenuTrigger?: MatMenuTrigger;
106
106
  /** Show debug icon when debug mode is on (shown on parent and all child steps). */
107
107
  get showDebugIcon(): boolean;
108
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
109
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
108
110
  onExpand: EventEmitter<void>;
109
111
  onViewAllIterations: EventEmitter<void>;
110
112
  onIterationChange: EventEmitter<string>;
@@ -93,6 +93,8 @@ export declare class StepGroupComponent extends BaseStepComponent implements OnI
93
93
  /** Show debug icon only when this step has no child steps (icon is shown on child steps instead). */
94
94
  /** Show debug icon when debug mode is on (shown on parent and all child steps). */
95
95
  get showDebugIcon(): boolean;
96
+ /** Per-step filtered three-dot menu options (e.g. hide Duplicate/Delete for step-group children). */
97
+ get effectiveStepMoreMenuOptions(): StepMoreMenuOption[];
96
98
  constructor(cdr: ChangeDetectorRef);
97
99
  ngOnInit(): void;
98
100
  ngOnChanges(changes: SimpleChanges): void;
@@ -246,6 +246,8 @@ export declare class TestCaseConditionStepComponent implements OnInit, OnChanges
246
246
  getBranchIndexById(branchId?: string | number): number;
247
247
  getBranchColorClass(branch: ConditionBranch): string;
248
248
  getBranchTextColor(branch: ConditionBranch): string;
249
+ /** Created date for branch header display: branch-specific or fallback to config. */
250
+ getBranchCreatedDate(branch: ConditionBranch): number | undefined;
249
251
  /** True when condition already has an ELSE branch (disables Add ELSE IF / Add ELSE). */
250
252
  get hasElseBranch(): boolean;
251
253
  onOpenExternal(): void;
@@ -3,4 +3,4 @@
3
3
  * Using a string avoids Angular's style compiler receiving non-string values
4
4
  * (e.g. from styleUrls resolution in Storybook), which causes "input.match is not a function".
5
5
  */
6
- export declare const STEP_ROW_ACTIONS_STYLES = "\n.step-actions {\n opacity: 0;\n transition: opacity 0.15s ease;\n}\n.step-row:hover .step-actions {\n opacity: 1;\n}\n";
6
+ export declare const STEP_ROW_ACTIONS_STYLES = "\n.step-actions {\n opacity: 0;\n transition: opacity 0.15s ease;\n}\n.step-row:hover .step-actions {\n opacity: 1;\n}\n.step-row {\n vertical-align: middle;\n letter-spacing: normal;\n}\n";
@@ -153,6 +153,8 @@ export interface ConditionBranch {
153
153
  action?: string;
154
154
  /** Event key-value pairs for display badges (e.g. selector, element) - same as config.event */
155
155
  event?: Record<string, unknown>;
156
+ /** Creation timestamp from API (milliseconds since epoch) - for branch header date display */
157
+ createdDate?: number;
156
158
  nestedSteps: TestCaseStepConfig[];
157
159
  }
158
160
  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.331",
3
+ "version": "1.1.333",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",