@cqa-lib/cqa-ui 1.1.450 → 1.1.452

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.
@@ -8,6 +8,8 @@ export interface JumpToStepItem {
8
8
  status: StepItemStatus;
9
9
  /** Step id for selection. When missing, derived from id. */
10
10
  stepId?: number;
11
+ /** Stable unique identifier for this step instance. Preferred over stepId for selection. */
12
+ uniqueId?: string;
11
13
  /** Optional flag to indicate this item represents a prerequisite step. */
12
14
  isPrerequisite?: boolean;
13
15
  /** Optional group name (e.g. prerequisite test case name) for visual grouping. */
@@ -16,6 +18,8 @@ export interface JumpToStepItem {
16
18
  }
17
19
  export interface JumpToStepStepMeta {
18
20
  stepId: number;
21
+ /** Stable unique identifier for this step instance (e.g. TS-ROOT-…). Required when the same stepId appears in multiple groups. */
22
+ uniqueId?: string;
19
23
  label: string;
20
24
  stepNumber: string;
21
25
  status: StepItemStatus;
@@ -69,6 +73,8 @@ export declare class JumpToStepModalComponent implements OnChanges {
69
73
  onSelect: EventEmitter<JumpToStepItem>;
70
74
  ngOnChanges(changes: SimpleChanges): void;
71
75
  private updateFilteredItems;
76
+ /** Build filteredItems directly from stepsMeta — the pre-computed ordered flat list. */
77
+ private buildFromStepsMeta;
72
78
  private buildFromCombinedTestCases;
73
79
  private buildFromItems;
74
80
  private stripHtml;
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
3
3
  export declare type SessionChangeType = 'added' | 'edited' | 'deleted';
4
4
  export interface SessionChangeStep {
5
5
  id: string;
6
+ uniqueId?: string;
6
7
  stepNumber?: string;
7
8
  stepDescription: string;
8
9
  timestamp: string;
@@ -24,6 +25,7 @@ export declare class SessionChangesModalComponent {
24
25
  removeStep: EventEmitter<{
25
26
  id: string;
26
27
  type: SessionChangeType;
28
+ uniqueId?: string;
27
29
  }>;
28
30
  cancel: EventEmitter<void>;
29
31
  get totalChangesCount(): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.450",
3
+ "version": "1.1.452",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",