@cqa-lib/cqa-ui 1.1.39 → 1.1.41

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.
@@ -1,4 +1,4 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnDestroy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare type CoverageStatus = 'success' | 'error' | 'neutral';
4
4
  export interface CoverageItem {
@@ -9,7 +9,7 @@ export interface CoverageItem {
9
9
  /** Visual status to colorize the bar/text */
10
10
  status?: CoverageStatus;
11
11
  }
12
- export declare class CoverageModuleCardComponent {
12
+ export declare class CoverageModuleCardComponent implements OnDestroy {
13
13
  /** Card title, e.g. "AI Ask" */
14
14
  title: string;
15
15
  /** Number of issues to display next to title */
@@ -38,6 +38,10 @@ export declare class CoverageModuleCardComponent {
38
38
  ctaDisabled: boolean;
39
39
  /** Generation duration in milliseconds (default ~12s) */
40
40
  generationMs: number;
41
+ /** Whether the component is currently generating (configurable) */
42
+ isGenerating: boolean;
43
+ /** Whether the generation has completed (configurable) */
44
+ isGenerated: boolean;
41
45
  view: EventEmitter<void>;
42
46
  issuesClicked: EventEmitter<void>;
43
47
  ctaClicked: EventEmitter<void>;
@@ -49,9 +53,6 @@ export declare class CoverageModuleCardComponent {
49
53
  negativeClicked: EventEmitter<void>;
50
54
  /** Emits when the Edge Case count/label is clicked */
51
55
  edgeCaseClicked: EventEmitter<void>;
52
- /** Internal generation state */
53
- isGenerating: boolean;
54
- isGenerated: boolean;
55
56
  private generationTimerId?;
56
57
  statusColorClass(item: CoverageItem): string;
57
58
  textColorClass(item: CoverageItem): string;
@@ -59,6 +60,7 @@ export declare class CoverageModuleCardComponent {
59
60
  /** Computed CTA button class to switch to light green after generation */
60
61
  get ctaButtonClass(): string;
61
62
  onAiCoverageClick(): void;
63
+ ngOnDestroy(): void;
62
64
  static ɵfac: i0.ɵɵFactoryDeclaration<CoverageModuleCardComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<CoverageModuleCardComponent, "cqa-coverage-module-card", never, { "title": "title"; "issues": "issues"; "showViewAction": "showViewAction"; "layout": "layout"; "positiveCount": "positiveCount"; "negativeCount": "negativeCount"; "edgeCaseCount": "edgeCaseCount"; "positiveLabel": "positiveLabel"; "negativeLabel": "negativeLabel"; "edgeCaseLabel": "edgeCaseLabel"; "aiCount": "aiCount"; "humanCount": "humanCount"; "aiLabel": "aiLabel"; "humanLabel": "humanLabel"; "items": "items"; "ctaText": "ctaText"; "ctaDisabled": "ctaDisabled"; "generationMs": "generationMs"; }, { "view": "view"; "issuesClicked": "issuesClicked"; "ctaClicked": "ctaClicked"; "aiCoverageClick": "aiCoverageClick"; "positiveClicked": "positiveClicked"; "negativeClicked": "negativeClicked"; "edgeCaseClicked": "edgeCaseClicked"; }, never, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<CoverageModuleCardComponent, "cqa-coverage-module-card", never, { "title": "title"; "issues": "issues"; "showViewAction": "showViewAction"; "layout": "layout"; "positiveCount": "positiveCount"; "negativeCount": "negativeCount"; "edgeCaseCount": "edgeCaseCount"; "positiveLabel": "positiveLabel"; "negativeLabel": "negativeLabel"; "edgeCaseLabel": "edgeCaseLabel"; "aiCount": "aiCount"; "humanCount": "humanCount"; "aiLabel": "aiLabel"; "humanLabel": "humanLabel"; "items": "items"; "ctaText": "ctaText"; "ctaDisabled": "ctaDisabled"; "generationMs": "generationMs"; "isGenerating": "isGenerating"; "isGenerated": "isGenerated"; }, { "view": "view"; "issuesClicked": "issuesClicked"; "ctaClicked": "ctaClicked"; "aiCoverageClick": "aiCoverageClick"; "positiveClicked": "positiveClicked"; "negativeClicked": "negativeClicked"; "edgeCaseClicked": "edgeCaseClicked"; }, never, never>;
64
66
  }
@@ -0,0 +1,23 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ProgressIndicatorComponent {
3
+ variant: 'progress' | 'elapsed-time';
4
+ label: string;
5
+ icon?: string;
6
+ value: string;
7
+ progress: number;
8
+ size: number;
9
+ strokeWidth: number;
10
+ color: string;
11
+ get circleStyles(): {
12
+ strokeDasharray: string;
13
+ strokeDashoffset: number;
14
+ r: number;
15
+ cx: number;
16
+ cy: number;
17
+ };
18
+ get cardStyles(): {
19
+ border: string;
20
+ };
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressIndicatorComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressIndicatorComponent, "cqa-progress-indicator", never, { "variant": "variant"; "label": "label"; "icon": "icon"; "value": "value"; "progress": "progress"; "size": "size"; "strokeWidth": "strokeWidth"; }, {}, never, never>;
23
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class StepProgressCardComponent {
3
+ currentStep: number;
4
+ totalSteps: number;
5
+ subText: string;
6
+ get progressPercentage(): number;
7
+ get stepText(): string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepProgressCardComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepProgressCardComponent, "cqa-step-progress-card", never, { "currentStep": "currentStep"; "totalSteps": "totalSteps"; "subText": "subText"; }, {}, never, never>;
10
+ }
@@ -0,0 +1,38 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class StepStatusCardComponent {
3
+ title: string;
4
+ description: string;
5
+ type: 'ready' | 'running' | 'waiting';
6
+ icon?: string;
7
+ get statusConfig(): {
8
+ borderColor: string;
9
+ bgColor: string;
10
+ iconColor: string;
11
+ statusColor: string;
12
+ statusBgColor: string;
13
+ icon: string;
14
+ label: string;
15
+ } | {
16
+ borderColor: string;
17
+ bgColor: string;
18
+ iconColor: string;
19
+ statusColor: string;
20
+ statusBgColor: string;
21
+ icon: string;
22
+ label: string;
23
+ } | {
24
+ borderColor: string;
25
+ bgColor: string;
26
+ iconColor: string;
27
+ statusColor: string;
28
+ statusBgColor: string;
29
+ icon: string;
30
+ label: string;
31
+ };
32
+ get cardStyles(): {
33
+ border: string;
34
+ 'background-color': string;
35
+ };
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepStatusCardComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepStatusCardComponent, "cqa-step-status-card", never, { "title": "title"; "description": "description"; "type": "type"; "icon": "icon"; }, {}, never, never>;
38
+ }
@@ -62,24 +62,27 @@ import * as i59 from "./custom-input/custom-input.component";
62
62
  import * as i60 from "./custom-textarea/custom-textarea.component";
63
63
  import * as i61 from "./ai-reasoning/ai-reasoning.component";
64
64
  import * as i62 from "./execution-result-modal/execution-result-modal.component";
65
- import * as i63 from "@angular/common";
66
- import * as i64 from "@angular/forms";
67
- import * as i65 from "@angular/material/icon";
68
- import * as i66 from "@angular/material/menu";
69
- import * as i67 from "@angular/material/button";
70
- import * as i68 from "@angular/material/form-field";
71
- import * as i69 from "@angular/material/select";
72
- import * as i70 from "@angular/material/core";
73
- import * as i71 from "@angular/material/checkbox";
74
- import * as i72 from "@angular/material/radio";
75
- import * as i73 from "@angular/material/datepicker";
76
- import * as i74 from "@angular/material/progress-spinner";
77
- import * as i75 from "@angular/material/tooltip";
78
- import * as i76 from "@angular/cdk/overlay";
79
- import * as i77 from "@angular/cdk/portal";
65
+ import * as i63 from "./progress-indicator/progress-indicator.component";
66
+ import * as i64 from "./step-progress-card/step-progress-card.component";
67
+ import * as i65 from "./step-status-card/step-status-card.component";
68
+ import * as i66 from "@angular/common";
69
+ import * as i67 from "@angular/forms";
70
+ import * as i68 from "@angular/material/icon";
71
+ import * as i69 from "@angular/material/menu";
72
+ import * as i70 from "@angular/material/button";
73
+ import * as i71 from "@angular/material/form-field";
74
+ import * as i72 from "@angular/material/select";
75
+ import * as i73 from "@angular/material/core";
76
+ import * as i74 from "@angular/material/checkbox";
77
+ import * as i75 from "@angular/material/radio";
78
+ import * as i76 from "@angular/material/datepicker";
79
+ import * as i77 from "@angular/material/progress-spinner";
80
+ import * as i78 from "@angular/material/tooltip";
81
+ import * as i79 from "@angular/cdk/overlay";
82
+ import * as i80 from "@angular/cdk/portal";
80
83
  export declare class UiKitModule {
81
84
  constructor(iconRegistry: MatIconRegistry);
82
85
  static ɵfac: i0.ɵɵFactoryDeclaration<UiKitModule, never>;
83
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiKitModule, [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.DynamicCellContainerDirective, typeof i8.PaginationComponent, typeof i9.ActionMenuButtonComponent, typeof i10.OtherButtonComponent, typeof i11.DynamicFilterComponent, typeof i12.DaterangepickerDirective, typeof i13.DaterangepickerComponent, typeof i14.ColumnVisibilityComponent, typeof i15.TableActionToolbarComponent, typeof i16.MetricsCardComponent, typeof i17.MetricsBlockComponent, typeof i18.ChartCardComponent, typeof i19.ProgressTextCardComponent, typeof i20.DashboardHeaderComponent, typeof i21.CoverageModuleCardComponent, typeof i22.TestDistributionCardComponent, typeof i23.FailedTestCasesCardComponent, typeof i24.DynamicSelectFieldComponent, typeof i25.SelectedFiltersComponent, typeof i26.InsightCardComponent, typeof i27.BadgeComponent, typeof i28.DropdownButtonComponent, typeof i29.HeatErrorMapCellComponent, typeof i30.EmptyStateComponent, typeof i31.TableTemplateComponent, typeof i32.FullTableLoaderComponent, typeof i33.TableDataLoaderComponent, typeof i34.BasicStepComponent, typeof i35.StepRendererComponent, typeof i36.StepGroupComponent, typeof i37.LoopStepComponent, typeof i38.ConditionStepComponent, typeof i39.FailedStepComponent, typeof i40.UpdatedFailedStepComponent, typeof i41.ViewMoreFailedStepButtonComponent, typeof i42.SelfHealAnalysisComponent, typeof i43.AIAgentStepComponent, typeof i44.ApiStepComponent, typeof i45.FileDownloadStepComponent, typeof i46.DocumentVerificationStepComponent, typeof i47.MainStepCollapseComponent, typeof i48.VisualComparisonComponent, typeof i49.SimulatorComponent, typeof i50.ConsoleAlertComponent, typeof i51.AiDebugAlertComponent, typeof i52.NetworkRequestComponent, typeof i53.RunHistoryCardComponent, typeof i54.VisualDifferenceModalComponent, typeof i55.ConfigurationCardComponent, typeof i56.CompareRunsComponent, typeof i57.IterationsLoopComponent, typeof i58.FailedStepCardComponent, typeof i59.CustomInputComponent, typeof i60.CustomTextareaComponent, typeof i61.AiReasoningComponent, typeof i62.ExecutionResultModalComponent], [typeof i63.CommonModule, typeof i64.FormsModule, typeof i64.ReactiveFormsModule, typeof i65.MatIconModule, typeof i66.MatMenuModule, typeof i67.MatButtonModule, typeof i68.MatFormFieldModule, typeof i69.MatSelectModule, typeof i70.MatOptionModule, typeof i71.MatCheckboxModule, typeof i72.MatRadioModule, typeof i73.MatDatepickerModule, typeof i70.MatNativeDateModule, typeof i74.MatProgressSpinnerModule, typeof i75.MatTooltipModule, typeof i76.OverlayModule, typeof i77.PortalModule], [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.DynamicCellContainerDirective, typeof i8.PaginationComponent, typeof i9.ActionMenuButtonComponent, typeof i10.OtherButtonComponent, typeof i11.DynamicFilterComponent, typeof i12.DaterangepickerDirective, typeof i13.DaterangepickerComponent, typeof i14.ColumnVisibilityComponent, typeof i15.TableActionToolbarComponent, typeof i16.MetricsCardComponent, typeof i18.ChartCardComponent, typeof i19.ProgressTextCardComponent, typeof i20.DashboardHeaderComponent, typeof i21.CoverageModuleCardComponent, typeof i22.TestDistributionCardComponent, typeof i23.FailedTestCasesCardComponent, typeof i24.DynamicSelectFieldComponent, typeof i25.SelectedFiltersComponent, typeof i26.InsightCardComponent, typeof i27.BadgeComponent, typeof i28.DropdownButtonComponent, typeof i29.HeatErrorMapCellComponent, typeof i30.EmptyStateComponent, typeof i31.TableTemplateComponent, typeof i32.FullTableLoaderComponent, typeof i33.TableDataLoaderComponent, typeof i34.BasicStepComponent, typeof i35.StepRendererComponent, typeof i36.StepGroupComponent, typeof i37.LoopStepComponent, typeof i38.ConditionStepComponent, typeof i39.FailedStepComponent, typeof i40.UpdatedFailedStepComponent, typeof i41.ViewMoreFailedStepButtonComponent, typeof i42.SelfHealAnalysisComponent, typeof i43.AIAgentStepComponent, typeof i44.ApiStepComponent, typeof i45.FileDownloadStepComponent, typeof i46.DocumentVerificationStepComponent, typeof i47.MainStepCollapseComponent, typeof i48.VisualComparisonComponent, typeof i49.SimulatorComponent, typeof i50.ConsoleAlertComponent, typeof i51.AiDebugAlertComponent, typeof i52.NetworkRequestComponent, typeof i53.RunHistoryCardComponent, typeof i54.VisualDifferenceModalComponent, typeof i55.ConfigurationCardComponent, typeof i56.CompareRunsComponent, typeof i57.IterationsLoopComponent, typeof i58.FailedStepCardComponent, typeof i59.CustomInputComponent, typeof i60.CustomTextareaComponent, typeof i61.AiReasoningComponent, typeof i62.ExecutionResultModalComponent]>;
86
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiKitModule, [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.DynamicCellContainerDirective, typeof i8.PaginationComponent, typeof i9.ActionMenuButtonComponent, typeof i10.OtherButtonComponent, typeof i11.DynamicFilterComponent, typeof i12.DaterangepickerDirective, typeof i13.DaterangepickerComponent, typeof i14.ColumnVisibilityComponent, typeof i15.TableActionToolbarComponent, typeof i16.MetricsCardComponent, typeof i17.MetricsBlockComponent, typeof i18.ChartCardComponent, typeof i19.ProgressTextCardComponent, typeof i20.DashboardHeaderComponent, typeof i21.CoverageModuleCardComponent, typeof i22.TestDistributionCardComponent, typeof i23.FailedTestCasesCardComponent, typeof i24.DynamicSelectFieldComponent, typeof i25.SelectedFiltersComponent, typeof i26.InsightCardComponent, typeof i27.BadgeComponent, typeof i28.DropdownButtonComponent, typeof i29.HeatErrorMapCellComponent, typeof i30.EmptyStateComponent, typeof i31.TableTemplateComponent, typeof i32.FullTableLoaderComponent, typeof i33.TableDataLoaderComponent, typeof i34.BasicStepComponent, typeof i35.StepRendererComponent, typeof i36.StepGroupComponent, typeof i37.LoopStepComponent, typeof i38.ConditionStepComponent, typeof i39.FailedStepComponent, typeof i40.UpdatedFailedStepComponent, typeof i41.ViewMoreFailedStepButtonComponent, typeof i42.SelfHealAnalysisComponent, typeof i43.AIAgentStepComponent, typeof i44.ApiStepComponent, typeof i45.FileDownloadStepComponent, typeof i46.DocumentVerificationStepComponent, typeof i47.MainStepCollapseComponent, typeof i48.VisualComparisonComponent, typeof i49.SimulatorComponent, typeof i50.ConsoleAlertComponent, typeof i51.AiDebugAlertComponent, typeof i52.NetworkRequestComponent, typeof i53.RunHistoryCardComponent, typeof i54.VisualDifferenceModalComponent, typeof i55.ConfigurationCardComponent, typeof i56.CompareRunsComponent, typeof i57.IterationsLoopComponent, typeof i58.FailedStepCardComponent, typeof i59.CustomInputComponent, typeof i60.CustomTextareaComponent, typeof i61.AiReasoningComponent, typeof i62.ExecutionResultModalComponent, typeof i63.ProgressIndicatorComponent, typeof i64.StepProgressCardComponent, typeof i65.StepStatusCardComponent], [typeof i66.CommonModule, typeof i67.FormsModule, typeof i67.ReactiveFormsModule, typeof i68.MatIconModule, typeof i69.MatMenuModule, typeof i70.MatButtonModule, typeof i71.MatFormFieldModule, typeof i72.MatSelectModule, typeof i73.MatOptionModule, typeof i74.MatCheckboxModule, typeof i75.MatRadioModule, typeof i76.MatDatepickerModule, typeof i73.MatNativeDateModule, typeof i77.MatProgressSpinnerModule, typeof i78.MatTooltipModule, typeof i79.OverlayModule, typeof i80.PortalModule], [typeof i1.ButtonComponent, typeof i2.SearchBarComponent, typeof i3.SegmentControlComponent, typeof i4.DialogComponent, typeof i5.DynamicTableComponent, typeof i6.DynamicCellTemplateDirective, typeof i6.DynamicHeaderTemplateDirective, typeof i7.DynamicCellContainerDirective, typeof i8.PaginationComponent, typeof i9.ActionMenuButtonComponent, typeof i10.OtherButtonComponent, typeof i11.DynamicFilterComponent, typeof i12.DaterangepickerDirective, typeof i13.DaterangepickerComponent, typeof i14.ColumnVisibilityComponent, typeof i15.TableActionToolbarComponent, typeof i16.MetricsCardComponent, typeof i18.ChartCardComponent, typeof i19.ProgressTextCardComponent, typeof i20.DashboardHeaderComponent, typeof i21.CoverageModuleCardComponent, typeof i22.TestDistributionCardComponent, typeof i23.FailedTestCasesCardComponent, typeof i24.DynamicSelectFieldComponent, typeof i25.SelectedFiltersComponent, typeof i26.InsightCardComponent, typeof i27.BadgeComponent, typeof i28.DropdownButtonComponent, typeof i29.HeatErrorMapCellComponent, typeof i30.EmptyStateComponent, typeof i31.TableTemplateComponent, typeof i32.FullTableLoaderComponent, typeof i33.TableDataLoaderComponent, typeof i34.BasicStepComponent, typeof i35.StepRendererComponent, typeof i36.StepGroupComponent, typeof i37.LoopStepComponent, typeof i38.ConditionStepComponent, typeof i39.FailedStepComponent, typeof i40.UpdatedFailedStepComponent, typeof i41.ViewMoreFailedStepButtonComponent, typeof i42.SelfHealAnalysisComponent, typeof i43.AIAgentStepComponent, typeof i44.ApiStepComponent, typeof i45.FileDownloadStepComponent, typeof i46.DocumentVerificationStepComponent, typeof i47.MainStepCollapseComponent, typeof i48.VisualComparisonComponent, typeof i49.SimulatorComponent, typeof i50.ConsoleAlertComponent, typeof i51.AiDebugAlertComponent, typeof i52.NetworkRequestComponent, typeof i53.RunHistoryCardComponent, typeof i54.VisualDifferenceModalComponent, typeof i55.ConfigurationCardComponent, typeof i56.CompareRunsComponent, typeof i57.IterationsLoopComponent, typeof i58.FailedStepCardComponent, typeof i59.CustomInputComponent, typeof i60.CustomTextareaComponent, typeof i61.AiReasoningComponent, typeof i62.ExecutionResultModalComponent, typeof i63.ProgressIndicatorComponent, typeof i64.StepProgressCardComponent, typeof i65.StepStatusCardComponent]>;
84
87
  static ɵinj: i0.ɵɵInjectorDeclaration<UiKitModule>;
85
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",
package/public-api.d.ts CHANGED
@@ -70,3 +70,6 @@ export * from './lib/execution-screen/visual-comparison/visual-comparison.compon
70
70
  export * from './lib/execution-screen/step-renderer/step-renderer.component';
71
71
  export * from './lib/ai-reasoning/ai-reasoning.component';
72
72
  export * from './lib/execution-result-modal/execution-result-modal.component';
73
+ export * from './lib/progress-indicator/progress-indicator.component';
74
+ export * from './lib/step-progress-card/step-progress-card.component';
75
+ export * from './lib/step-status-card/step-status-card.component';