@cqa-lib/cqa-ui 1.1.2 → 1.1.5

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 (36) hide show
  1. package/esm2020/lib/assets/images/image-assets.constants.mjs +3 -1
  2. package/esm2020/lib/button/button.component.mjs +74 -8
  3. package/esm2020/lib/column-visibility/column-visibility.component.mjs +1 -1
  4. package/esm2020/lib/compare-runs/compare-runs.component.mjs +448 -0
  5. package/esm2020/lib/configuration-card/configuration-card.component.mjs +26 -45
  6. package/esm2020/lib/dashboards/coverage-module-card/coverage-module-card.component.mjs +1 -1
  7. package/esm2020/lib/dashboards/dashboard-header/dashboard-header.component.mjs +1 -1
  8. package/esm2020/lib/dashboards/insight-card/insight-card.component.mjs +1 -1
  9. package/esm2020/lib/dialog/dialog.component.mjs +1 -1
  10. package/esm2020/lib/empty-state/empty-state.component.mjs +1 -1
  11. package/esm2020/lib/failed-step-card/failed-step-card.component.mjs +77 -0
  12. package/esm2020/lib/filters/dynamic-filter/dynamic-filter.component.mjs +1 -1
  13. package/esm2020/lib/iterations-loop/iterations-loop.component.mjs +174 -0
  14. package/esm2020/lib/run-history-card/run-history-card.component.mjs +44 -24
  15. package/esm2020/lib/simulator/simulator.component.mjs +3 -3
  16. package/esm2020/lib/templates/table-template.component.mjs +8 -3
  17. package/esm2020/lib/ui-kit.module.mjs +20 -5
  18. package/esm2020/public-api.mjs +4 -1
  19. package/fesm2015/cqa-lib-cqa-ui.mjs +860 -89
  20. package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
  21. package/fesm2020/cqa-lib-cqa-ui.mjs +855 -89
  22. package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
  23. package/lib/assets/images/image-assets.constants.d.ts +1 -0
  24. package/lib/button/button.component.d.ts +9 -1
  25. package/lib/compare-runs/compare-runs.component.d.ts +141 -0
  26. package/lib/configuration-card/configuration-card.component.d.ts +3 -10
  27. package/lib/failed-step-card/failed-step-card.component.d.ts +41 -0
  28. package/lib/iterations-loop/iterations-loop.component.d.ts +39 -0
  29. package/lib/run-history-card/run-history-card.component.d.ts +4 -13
  30. package/lib/templates/table-template.component.d.ts +2 -1
  31. package/lib/ui-kit.module.d.ts +19 -16
  32. package/package.json +1 -1
  33. package/public-api.d.ts +3 -0
  34. package/src/lib/assets/images/CompareRunsIcon.png +0 -0
  35. package/src/lib/assets/images/image-assets.constants.ts +3 -0
  36. package/styles.css +1 -1
@@ -16,5 +16,6 @@ export declare const EMPTY_STATE_IMAGES: {
16
16
  readonly DOCUMENT_GEAR: "assets/images/document-gear-icon.svg";
17
17
  readonly ANALYTICS_CHART: "assets/images/ReportsIcon.png";
18
18
  readonly DEFAULT: "assets/images/SearchIcon.png";
19
+ readonly COMPARE_RUNS: "assets/images/CompareRunsIcon.png";
19
20
  };
20
21
  export declare type EmptyStateImageKey = keyof typeof EMPTY_STATE_IMAGES;
@@ -1,8 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare type ButtonVariant = 'filled' | 'outlined' | 'text' | 'elevated' | 'tonal' | 'grey-solid';
4
+ export declare type ButtonSize = 'sm' | 'md' | 'lg';
4
5
  export declare class ButtonComponent {
5
6
  variant: ButtonVariant;
7
+ btnSize: ButtonSize;
6
8
  disabled: boolean;
7
9
  icon?: string;
8
10
  iconPosition: 'start' | 'end';
@@ -11,6 +13,8 @@ export declare class ButtonComponent {
11
13
  type: 'button' | 'submit' | 'reset';
12
14
  text?: string;
13
15
  customClass?: string;
16
+ /** Inline styles as a string (e.g., "width: 100px; height: 50px;") */
17
+ inlineStyles?: string;
14
18
  /** Optional tooltip text; if falsy, tooltip is disabled */
15
19
  tooltip?: string;
16
20
  /** Tooltip position; mirrors MatTooltipPosition */
@@ -21,6 +25,7 @@ export declare class ButtonComponent {
21
25
  isPressed: boolean;
22
26
  get hasIcon(): boolean;
23
27
  get buttonClasses(): string;
28
+ private get sizeClasses();
24
29
  private getVariantClasses;
25
30
  get textClass(): string;
26
31
  onMouseEnter(): void;
@@ -30,6 +35,9 @@ export declare class ButtonComponent {
30
35
  onFocus(): void;
31
36
  onBlur(): void;
32
37
  onClick(event: MouseEvent): void;
38
+ get buttonStyles(): string;
39
+ get paddingClasses(): string;
40
+ get iconClasses(): string;
33
41
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "cqa-button", never, { "variant": "variant"; "disabled": "disabled"; "icon": "icon"; "iconPosition": "iconPosition"; "fullWidth": "fullWidth"; "iconColor": "iconColor"; "type": "type"; "text": "text"; "customClass": "customClass"; "tooltip": "tooltip"; "tooltipPosition": "tooltipPosition"; }, { "clicked": "clicked"; }, never, ["*"]>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "cqa-button", never, { "variant": "variant"; "btnSize": "btnSize"; "disabled": "disabled"; "icon": "icon"; "iconPosition": "iconPosition"; "fullWidth": "fullWidth"; "iconColor": "iconColor"; "type": "type"; "text": "text"; "customClass": "customClass"; "inlineStyles": "inlineStyles"; "tooltip": "tooltip"; "tooltipPosition": "tooltipPosition"; }, { "clicked": "clicked"; }, never, ["*"]>;
35
43
  }
@@ -0,0 +1,141 @@
1
+ import { OnInit, OnChanges, SimpleChanges, EventEmitter, ChangeDetectorRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { DynamicSelectFieldConfig } from '../dynamic-select/dynamic-select-field.component';
4
+ import { DynamicTableColumn } from '../table/dynamic-table/dynamic-table.component';
5
+ import { EmptyStateConfig } from '../empty-state/empty-state-config.interface';
6
+ import * as i0 from "@angular/core";
7
+ export interface TestDevice {
8
+ id: number;
9
+ testPlanId: number;
10
+ title: string;
11
+ browser: string;
12
+ platform: string;
13
+ browserVersion: string;
14
+ }
15
+ export interface TestDeviceSettings {
16
+ title: string;
17
+ osVersion: string;
18
+ browser: string;
19
+ browserVersion: string;
20
+ resolution: string;
21
+ platform: string;
22
+ deviceName: string | null;
23
+ }
24
+ export interface TestDeviceResult {
25
+ testDevice: TestDevice;
26
+ testDeviceSettings: TestDeviceSettings;
27
+ }
28
+ export interface TestCaseResultData {
29
+ id: number;
30
+ testCaseId: number;
31
+ testPlanResultId: number;
32
+ result: 'SUCCESS' | 'FAILURE' | 'ABORTED' | 'IN_PROGRESS';
33
+ status: 'STATUS_COMPLETED' | 'STATUS_IN_PROGRESS' | 'STATUS_QUEUED';
34
+ startTime: number;
35
+ endTime: number;
36
+ duration: number;
37
+ testDataSetName: string;
38
+ testDeviceResult: TestDeviceResult;
39
+ }
40
+ export interface RunData {
41
+ id: number;
42
+ label: string;
43
+ result: 'SUCCESS' | 'FAILURE' | 'ABORTED' | 'IN_PROGRESS';
44
+ startTime: number;
45
+ duration: number;
46
+ testDataSetName: string;
47
+ device: string;
48
+ browser: string;
49
+ platform: string;
50
+ }
51
+ export interface ComparisonSummary {
52
+ unchanged: number;
53
+ statusChanged: number;
54
+ added: number;
55
+ removed: number;
56
+ timing: number;
57
+ }
58
+ export interface StepComparison {
59
+ stepId: string;
60
+ stepTitle: string;
61
+ runAStatus?: string;
62
+ runADuration?: number;
63
+ runBStatus?: string;
64
+ runBDuration?: number;
65
+ change: 'UNCHANGED' | 'STATUS_CHANGED' | 'TIMING_CHANGED' | 'ADDED' | 'REMOVED';
66
+ }
67
+ export interface ComparisonResponse {
68
+ summary: ComparisonSummary;
69
+ stepsComparison: StepComparison[];
70
+ }
71
+ export interface CompareRequest {
72
+ runAId: number;
73
+ runBId: number;
74
+ }
75
+ export interface SearchRequest {
76
+ key: string;
77
+ query: string;
78
+ }
79
+ export declare class CompareRunsComponent implements OnInit, OnChanges {
80
+ private fb;
81
+ private cdr;
82
+ runs: TestCaseResultData[];
83
+ comparisonData?: ComparisonResponse;
84
+ isLoadingRuns: boolean;
85
+ hasMoreRuns: boolean;
86
+ isComparingRuns: boolean;
87
+ searchRuns: EventEmitter<SearchRequest>;
88
+ loadMoreRuns: EventEmitter<string>;
89
+ compareRuns: EventEmitter<CompareRequest>;
90
+ form: FormGroup;
91
+ runASelectConfig: DynamicSelectFieldConfig;
92
+ runBSelectConfig: DynamicSelectFieldConfig;
93
+ selectedRunA?: RunData;
94
+ selectedRunB?: RunData;
95
+ comparisonSummary?: ComparisonSummary;
96
+ stepComparisons: StepComparison[];
97
+ tableColumns: DynamicTableColumn[];
98
+ pageIndex: number;
99
+ pageSize: number;
100
+ emptyStateConfig: EmptyStateConfig;
101
+ constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
102
+ ngOnInit(): void;
103
+ ngOnChanges(changes: SimpleChanges): void;
104
+ private initializeForm;
105
+ private setupSelectConfigs;
106
+ private formatRunLabel;
107
+ private updateSelectConfigsLoading;
108
+ handleSearchRuns(query: string, key: string): void;
109
+ handleLoadMoreRuns(query: string): void;
110
+ onSearchChange(event: SearchRequest): void;
111
+ onLoadMore(event: {
112
+ key: string;
113
+ query: string;
114
+ }): void;
115
+ private updateSelectedRuns;
116
+ private convertToRunData;
117
+ private setupTableColumns;
118
+ private renderStatusIcon;
119
+ private formatDuration;
120
+ private handleComparisonData;
121
+ onPageChange(event: {
122
+ pageIndex: number;
123
+ pageSize: number;
124
+ }): void;
125
+ get isEmptyState(): boolean;
126
+ onCompareClick(): void;
127
+ get canCompare(): boolean;
128
+ get runAStatusColor(): string;
129
+ get runBStatusColor(): string;
130
+ get runAStatusBorderColor(): string;
131
+ get runBStatusBorderColor(): string;
132
+ get runAStatusBgColor(): string;
133
+ get runBStatusBgColor(): string;
134
+ formatTime(timestamp: number): string;
135
+ formatDurationString(milliseconds: number): string;
136
+ get showComparison(): boolean;
137
+ get runAStatusLabel(): string;
138
+ get runBStatusLabel(): string;
139
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompareRunsComponent, never>;
140
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompareRunsComponent, "cqa-compare-runs", never, { "runs": "runs"; "comparisonData": "comparisonData"; "isLoadingRuns": "isLoadingRuns"; "hasMoreRuns": "hasMoreRuns"; "isComparingRuns": "isComparingRuns"; }, { "searchRuns": "searchRuns"; "loadMoreRuns": "loadMoreRuns"; "compareRuns": "compareRuns"; }, never, never>;
141
+ }
@@ -4,27 +4,20 @@ export interface ConfigurationItem {
4
4
  label: string;
5
5
  value: ValueType;
6
6
  icon?: string;
7
- subLabel?: string;
7
+ isFlag?: boolean;
8
8
  }
9
9
  export declare class ConfigurationCardComponent {
10
10
  icon: string;
11
11
  title: string;
12
12
  data: ConfigurationItem[];
13
- hasIcon(item: ConfigurationItem): boolean;
14
13
  isEmptyValue(value: ValueType): boolean;
15
14
  isBoolean(value: ValueType): boolean;
16
15
  getDisplayValue(item: ConfigurationItem): string;
17
- getValueColor(item: ConfigurationItem): string;
18
- getStatusBadge(item: ConfigurationItem): string;
19
- getIconBgColor(item: ConfigurationItem): string;
20
- getIconColor(item: ConfigurationItem): string;
16
+ getValueClass(item: ConfigurationItem): string;
17
+ getValueBorder(item: ConfigurationItem): string;
21
18
  get headerIconStyles(): {
22
19
  [key: string]: string;
23
20
  };
24
- getItemCardStyle(item: ConfigurationItem): {
25
- border: string;
26
- 'background-color': string;
27
- };
28
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationCardComponent, never>;
29
22
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationCardComponent, "cqa-configuration-card", never, { "icon": "icon"; "title": "title"; "data": "data"; }, {}, never, never>;
30
23
  }
@@ -0,0 +1,41 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface FailedStepData {
4
+ expected_result: string;
5
+ actual_result: string;
6
+ failed_step_id: string;
7
+ isTimeouterror: boolean;
8
+ failed_step_index: string;
9
+ steps: any[];
10
+ timestamp: string;
11
+ duration: string;
12
+ stepScreenshotUrl: string | null;
13
+ suggestions: string;
14
+ reason: string;
15
+ stepTitle?: string;
16
+ errorMessage?: string;
17
+ }
18
+ export declare class FailedStepCardComponent {
19
+ failedStepData: FailedStepData;
20
+ jumpToStep: EventEmitter<FailedStepData>;
21
+ openInVideo: EventEmitter<FailedStepData>;
22
+ showExpectedMore: boolean;
23
+ showActualMore: boolean;
24
+ get headerTitle(): string;
25
+ get errorText(): string;
26
+ get videoTimestamp(): string;
27
+ get durationText(): string;
28
+ get expectedResult(): string;
29
+ get actualResult(): string;
30
+ get suggestions(): string;
31
+ get hasSuggestions(): boolean;
32
+ toggleExpectedMore(): void;
33
+ toggleActualMore(): void;
34
+ onJumpToStep(): void;
35
+ onOpenInVideo(): void;
36
+ shouldShowViewMore(text: string, maxLength?: number): boolean;
37
+ getTruncatedText(text: string, maxLength?: number): string;
38
+ getFormattedSuggestions(): string[];
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<FailedStepCardComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<FailedStepCardComponent, "cqa-failed-step-card", never, { "failedStepData": "failedStepData"; }, { "jumpToStep": "jumpToStep"; "openInVideo": "openInVideo"; }, never, never>;
41
+ }
@@ -0,0 +1,39 @@
1
+ import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { DynamicTableColumn } from '../table/dynamic-table/dynamic-table.component';
3
+ import { EmptyStateConfig } from '../empty-state/empty-state-config.interface';
4
+ import * as i0 from "@angular/core";
5
+ export interface IterationData {
6
+ index: number;
7
+ datasetId: string;
8
+ variables: Record<string, any>;
9
+ status: 'PASS' | 'FAIL' | 'IN_PROGRESS' | 'ABORTED';
10
+ duration: number;
11
+ [key: string]: any;
12
+ }
13
+ export interface IterationSummary {
14
+ totalIterations: number;
15
+ passed: number;
16
+ failed: number;
17
+ }
18
+ export declare class IterationsLoopComponent implements OnInit, OnChanges {
19
+ iterations: IterationData[];
20
+ summary?: IterationSummary;
21
+ isTableDataLoading: boolean;
22
+ tableColumns: DynamicTableColumn[];
23
+ pageIndex: number;
24
+ pageSize: number;
25
+ emptyStateConfig: EmptyStateConfig;
26
+ ngOnInit(): void;
27
+ ngOnChanges(changes: SimpleChanges): void;
28
+ private setupTableColumns;
29
+ private renderStatusIcon;
30
+ private formatDuration;
31
+ onPageChange(event: {
32
+ pageIndex: number;
33
+ pageSize: number;
34
+ }): void;
35
+ get isEmptyState(): boolean;
36
+ get computedSummary(): IterationSummary;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<IterationsLoopComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<IterationsLoopComponent, "cqa-iterations-loop", never, { "iterations": "iterations"; "summary": "summary"; "isTableDataLoading": "isTableDataLoading"; }, {}, never, never>;
39
+ }
@@ -1,18 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
- export declare type RunStatus = 'passed' | 'failed' | 'aborted' | 'in-progress';
2
+ export declare type RunStatus = 'passed' | 'failed' | 'aborted' | 'running' | 'stopped' | 'queued' | 'not-executed' | 'unknown';
3
3
  export declare type RunType = 'automated' | 'manual';
4
4
  export declare type CardSize = 'normal' | 'small';
5
- export interface RunHistoryData {
6
- id: string | number;
7
- status: RunStatus;
8
- type: RunType;
9
- timestamp: string;
10
- duration: string;
11
- runLabel?: string;
12
- errorMessage?: string;
13
- }
14
5
  export declare class RunHistoryCardComponent {
15
- id: string | number;
6
+ id: number;
16
7
  status: RunStatus;
17
8
  type: RunType;
18
9
  timestamp: string;
@@ -20,7 +11,7 @@ export declare class RunHistoryCardComponent {
20
11
  runLabel?: string;
21
12
  errorMessage?: string;
22
13
  size: CardSize;
23
- get statusBadgeVariant(): 'success' | 'error' | 'warning' | 'info';
14
+ durationTooltip?: string;
24
15
  get statusLabel(): string;
25
16
  get statusColor(): string;
26
17
  get statusIconBgColor(): string;
@@ -43,5 +34,5 @@ export declare class RunHistoryCardComponent {
43
34
  get cardPadding(): string;
44
35
  get borderLeftWidth(): string;
45
36
  static ɵfac: i0.ɵɵFactoryDeclaration<RunHistoryCardComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<RunHistoryCardComponent, "cqa-run-history-card", never, { "id": "id"; "status": "status"; "type": "type"; "timestamp": "timestamp"; "duration": "duration"; "runLabel": "runLabel"; "errorMessage": "errorMessage"; "size": "size"; }, {}, never, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<RunHistoryCardComponent, "cqa-run-history-card", never, { "id": "id"; "status": "status"; "type": "type"; "timestamp": "timestamp"; "duration": "duration"; "runLabel": "runLabel"; "errorMessage": "errorMessage"; "size": "size"; "durationTooltip": "durationTooltip"; }, {}, never, never>;
47
38
  }
@@ -14,6 +14,7 @@ export declare class TableTemplateComponent implements OnInit, OnChanges, OnDest
14
14
  onApplyFilterClick: EventEmitter<any>;
15
15
  onResetFilterClick: EventEmitter<void>;
16
16
  onClearAll: EventEmitter<void>;
17
+ removeChip: EventEmitter<any>;
17
18
  filterConfig: DynamicFilterItem[];
18
19
  showFilterPanel: boolean;
19
20
  showFilterButton: boolean;
@@ -99,5 +100,5 @@ export declare class TableTemplateComponent implements OnInit, OnChanges, OnDest
99
100
  private normalizeDate;
100
101
  private passFilters;
101
102
  static ɵfac: i0.ɵɵFactoryDeclaration<TableTemplateComponent, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<TableTemplateComponent, "cqa-table-template", never, { "searchPlaceholder": "searchPlaceholder"; "searchValue": "searchValue"; "showClear": "showClear"; "showSearchBar": "showSearchBar"; "filterConfig": "filterConfig"; "showFilterPanel": "showFilterPanel"; "showFilterButton": "showFilterButton"; "otherButtonLabel": "otherButtonLabel"; "otherButtonVariant": "otherButtonVariant"; "showOtherButton": "showOtherButton"; "showActionButton": "showActionButton"; "showSettingsButton": "showSettingsButton"; "showAutoRefreshButton": "showAutoRefreshButton"; "data": "data"; "isEmptyState": "isEmptyState"; "emptyStateConfig": "emptyStateConfig"; "actions": "actions"; "chips": "chips"; "filterApplied": "filterApplied"; "columns": "columns"; "selectedAutoRefreshInterval": "selectedAutoRefreshInterval"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "serverSidePagination": "serverSidePagination"; "totalElements": "totalElements"; "isTableLoading": "isTableLoading"; "isTableDataLoading": "isTableDataLoading"; }, { "onSearchChange": "onSearchChange"; "onApplyFilterClick": "onApplyFilterClick"; "onResetFilterClick": "onResetFilterClick"; "onClearAll": "onClearAll"; "pageChange": "pageChange"; "onReload": "onReload"; "onAutoRefreshClick": "onAutoRefreshClick"; }, never, never>;
103
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableTemplateComponent, "cqa-table-template", never, { "searchPlaceholder": "searchPlaceholder"; "searchValue": "searchValue"; "showClear": "showClear"; "showSearchBar": "showSearchBar"; "filterConfig": "filterConfig"; "showFilterPanel": "showFilterPanel"; "showFilterButton": "showFilterButton"; "otherButtonLabel": "otherButtonLabel"; "otherButtonVariant": "otherButtonVariant"; "showOtherButton": "showOtherButton"; "showActionButton": "showActionButton"; "showSettingsButton": "showSettingsButton"; "showAutoRefreshButton": "showAutoRefreshButton"; "data": "data"; "isEmptyState": "isEmptyState"; "emptyStateConfig": "emptyStateConfig"; "actions": "actions"; "chips": "chips"; "filterApplied": "filterApplied"; "columns": "columns"; "selectedAutoRefreshInterval": "selectedAutoRefreshInterval"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "serverSidePagination": "serverSidePagination"; "totalElements": "totalElements"; "isTableLoading": "isTableLoading"; "isTableDataLoading": "isTableDataLoading"; }, { "onSearchChange": "onSearchChange"; "onApplyFilterClick": "onApplyFilterClick"; "onResetFilterClick": "onResetFilterClick"; "onClearAll": "onClearAll"; "removeChip": "removeChip"; "pageChange": "pageChange"; "onReload": "onReload"; "onAutoRefreshClick": "onAutoRefreshClick"; }, never, never>;
103
104
  }
@@ -40,24 +40,27 @@ import * as i37 from "./network-request/network-request.component";
40
40
  import * as i38 from "./run-history-card/run-history-card.component";
41
41
  import * as i39 from "./view-image-modal/view-image-modal.component";
42
42
  import * as i40 from "./configuration-card/configuration-card.component";
43
- import * as i41 from "@angular/common";
44
- import * as i42 from "@angular/forms";
45
- import * as i43 from "@angular/material/icon";
46
- import * as i44 from "@angular/material/menu";
47
- import * as i45 from "@angular/material/button";
48
- import * as i46 from "@angular/material/form-field";
49
- import * as i47 from "@angular/material/select";
50
- import * as i48 from "@angular/material/core";
51
- import * as i49 from "@angular/material/checkbox";
52
- import * as i50 from "@angular/material/radio";
53
- import * as i51 from "@angular/material/datepicker";
54
- import * as i52 from "@angular/material/progress-spinner";
55
- import * as i53 from "@angular/material/tooltip";
56
- import * as i54 from "@angular/cdk/overlay";
57
- import * as i55 from "@angular/cdk/portal";
43
+ import * as i41 from "./compare-runs/compare-runs.component";
44
+ import * as i42 from "./iterations-loop/iterations-loop.component";
45
+ import * as i43 from "./failed-step-card/failed-step-card.component";
46
+ import * as i44 from "@angular/common";
47
+ import * as i45 from "@angular/forms";
48
+ import * as i46 from "@angular/material/icon";
49
+ import * as i47 from "@angular/material/menu";
50
+ import * as i48 from "@angular/material/button";
51
+ import * as i49 from "@angular/material/form-field";
52
+ import * as i50 from "@angular/material/select";
53
+ import * as i51 from "@angular/material/core";
54
+ import * as i52 from "@angular/material/checkbox";
55
+ import * as i53 from "@angular/material/radio";
56
+ import * as i54 from "@angular/material/datepicker";
57
+ import * as i55 from "@angular/material/progress-spinner";
58
+ import * as i56 from "@angular/material/tooltip";
59
+ import * as i57 from "@angular/cdk/overlay";
60
+ import * as i58 from "@angular/cdk/portal";
58
61
  export declare class UiKitModule {
59
62
  constructor(iconRegistry: MatIconRegistry);
60
63
  static ɵfac: i0.ɵɵFactoryDeclaration<UiKitModule, never>;
61
- 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.SimulatorComponent, typeof i35.ConsoleAlertComponent, typeof i36.AiDebugAlertComponent, typeof i37.NetworkRequestComponent, typeof i38.RunHistoryCardComponent, typeof i39.ViewImageModalComponent, typeof i40.ConfigurationCardComponent], [typeof i41.CommonModule, typeof i42.FormsModule, typeof i42.ReactiveFormsModule, typeof i43.MatIconModule, typeof i44.MatMenuModule, typeof i45.MatButtonModule, typeof i46.MatFormFieldModule, typeof i47.MatSelectModule, typeof i48.MatOptionModule, typeof i49.MatCheckboxModule, typeof i50.MatRadioModule, typeof i51.MatDatepickerModule, typeof i48.MatNativeDateModule, typeof i52.MatProgressSpinnerModule, typeof i53.MatTooltipModule, typeof i54.OverlayModule, typeof i55.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.SimulatorComponent, typeof i35.ConsoleAlertComponent, typeof i36.AiDebugAlertComponent, typeof i37.NetworkRequestComponent, typeof i38.RunHistoryCardComponent, typeof i39.ViewImageModalComponent, typeof i40.ConfigurationCardComponent]>;
64
+ 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.SimulatorComponent, typeof i35.ConsoleAlertComponent, typeof i36.AiDebugAlertComponent, typeof i37.NetworkRequestComponent, typeof i38.RunHistoryCardComponent, typeof i39.ViewImageModalComponent, typeof i40.ConfigurationCardComponent, typeof i41.CompareRunsComponent, typeof i42.IterationsLoopComponent, typeof i43.FailedStepCardComponent], [typeof i44.CommonModule, typeof i45.FormsModule, typeof i45.ReactiveFormsModule, typeof i46.MatIconModule, typeof i47.MatMenuModule, typeof i48.MatButtonModule, typeof i49.MatFormFieldModule, typeof i50.MatSelectModule, typeof i51.MatOptionModule, typeof i52.MatCheckboxModule, typeof i53.MatRadioModule, typeof i54.MatDatepickerModule, typeof i51.MatNativeDateModule, typeof i55.MatProgressSpinnerModule, typeof i56.MatTooltipModule, typeof i57.OverlayModule, typeof i58.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.SimulatorComponent, typeof i35.ConsoleAlertComponent, typeof i36.AiDebugAlertComponent, typeof i37.NetworkRequestComponent, typeof i38.RunHistoryCardComponent, typeof i39.ViewImageModalComponent, typeof i40.ConfigurationCardComponent, typeof i41.CompareRunsComponent, typeof i42.IterationsLoopComponent, typeof i43.FailedStepCardComponent]>;
62
65
  static ɵinj: i0.ɵɵInjectorDeclaration<UiKitModule>;
63
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.5",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",
package/public-api.d.ts CHANGED
@@ -48,3 +48,6 @@ export * from './lib/network-request/network-request.component';
48
48
  export * from './lib/run-history-card/run-history-card.component';
49
49
  export * from './lib/view-image-modal/view-image-modal.component';
50
50
  export * from './lib/configuration-card/configuration-card.component';
51
+ export * from './lib/compare-runs/compare-runs.component';
52
+ export * from './lib/iterations-loop/iterations-loop.component';
53
+ export * from './lib/failed-step-card/failed-step-card.component';
@@ -32,6 +32,9 @@ export const EMPTY_STATE_IMAGES = {
32
32
 
33
33
  // Default empty state icon
34
34
  DEFAULT: 'assets/images/SearchIcon.png',
35
+
36
+ // Compare runs empty state icon
37
+ COMPARE_RUNS: 'assets/images/CompareRunsIcon.png',
35
38
  } as const;
36
39
 
37
40
  export type EmptyStateImageKey = keyof typeof EMPTY_STATE_IMAGES;