@cqa-lib/cqa-ui 1.1.18 → 1.1.20
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.
- package/esm2020/lib/compare-runs/compare-runs.component.mjs +46 -17
- package/esm2020/lib/table/dynamic-table/dynamic-table.component.mjs +21 -6
- package/esm2020/lib/templates/table-template.component.mjs +13 -8
- package/fesm2015/cqa-lib-cqa-ui.mjs +74 -25
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +74 -25
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/compare-runs/compare-runs.component.d.ts +4 -4
- package/lib/table/dynamic-table/dynamic-table.component.d.ts +2 -1
- package/lib/templates/table-template.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ export interface TestCaseResultData {
|
|
|
29
29
|
id: number;
|
|
30
30
|
testCaseId: number;
|
|
31
31
|
testPlanResultId: number;
|
|
32
|
-
result: 'SUCCESS' | 'FAILURE' | 'ABORTED' | '
|
|
32
|
+
result: 'SUCCESS' | 'FAILURE' | 'ABORTED' | 'NOT_EXECUTED' | 'QUEUED' | 'STOPPED';
|
|
33
33
|
status: 'STATUS_COMPLETED' | 'STATUS_IN_PROGRESS' | 'STATUS_QUEUED';
|
|
34
34
|
startTime: number;
|
|
35
35
|
endTime: number;
|
|
@@ -41,7 +41,7 @@ export interface TestCaseResultData {
|
|
|
41
41
|
export interface RunData {
|
|
42
42
|
id: number;
|
|
43
43
|
label: string;
|
|
44
|
-
result: 'SUCCESS' | 'FAILURE' | 'ABORTED' | '
|
|
44
|
+
result: 'SUCCESS' | 'FAILURE' | 'ABORTED' | 'NOT_EXECUTED' | 'QUEUED' | 'STOPPED';
|
|
45
45
|
startTime: number;
|
|
46
46
|
duration: number;
|
|
47
47
|
testDataSetName: string;
|
|
@@ -60,9 +60,9 @@ export interface ComparisonSummary {
|
|
|
60
60
|
export interface StepComparison {
|
|
61
61
|
stepId: string;
|
|
62
62
|
stepTitle: string;
|
|
63
|
-
runAStatus?:
|
|
63
|
+
runAStatus?: 'SUCCESS' | 'FAILURE' | 'ABORTED' | 'NOT_EXECUTED' | 'QUEUED' | 'STOPPED';
|
|
64
64
|
runADuration?: number;
|
|
65
|
-
runBStatus?:
|
|
65
|
+
runBStatus?: 'SUCCESS' | 'FAILURE' | 'ABORTED' | 'NOT_EXECUTED' | 'QUEUED' | 'STOPPED';
|
|
66
66
|
runBDuration?: number;
|
|
67
67
|
change: 'UNCHANGED' | 'STATUS_CHANGED' | 'TIMING_CHANGED' | 'ADDED' | 'REMOVED';
|
|
68
68
|
}
|
|
@@ -60,6 +60,7 @@ export declare class DynamicTableComponent implements OnDestroy, OnChanges {
|
|
|
60
60
|
computedData: any[];
|
|
61
61
|
computedGridTemplate: string;
|
|
62
62
|
computedColumnWidths: string[];
|
|
63
|
+
private htmlCache;
|
|
63
64
|
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
64
65
|
ngOnChanges(changes: SimpleChanges): void;
|
|
65
66
|
ngOnDestroy(): void;
|
|
@@ -99,7 +100,7 @@ export declare class DynamicTableComponent implements OnDestroy, OnChanges {
|
|
|
99
100
|
*/
|
|
100
101
|
isHtmlString(value: any): boolean;
|
|
101
102
|
/**
|
|
102
|
-
* Sanitizes HTML string for safe rendering
|
|
103
|
+
* Sanitizes HTML string for safe rendering with caching
|
|
103
104
|
*/
|
|
104
105
|
getSanitizedHtml(value: string): SafeHtml;
|
|
105
106
|
getCellValue(row: any, path?: string): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges, OnDestroy } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { DynamicFilterItem } from '../filters/dynamic-filter/dynamic-filter.component';
|
|
3
3
|
import { DynamicTableColumn } from '../table/dynamic-table/dynamic-table.component';
|
|
4
4
|
import { ColumnVisibilityConfig } from '../column-visibility/column-visibility.component';
|
|
@@ -6,6 +6,7 @@ import { TableAction } from '../table-action-toolbar/table-action-toolbar.compon
|
|
|
6
6
|
import { EmptyStateConfig } from '../empty-state/empty-state-config.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TableTemplateComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
|
+
private cdr;
|
|
9
10
|
searchPlaceholder: string;
|
|
10
11
|
searchValue: string;
|
|
11
12
|
showClear: boolean;
|
|
@@ -52,6 +53,7 @@ export declare class TableTemplateComponent implements OnInit, OnChanges, OnDest
|
|
|
52
53
|
private _cachedVisibilityColumns;
|
|
53
54
|
filteredRows: any[];
|
|
54
55
|
pagedRows: any[];
|
|
56
|
+
constructor(cdr: ChangeDetectorRef);
|
|
55
57
|
private pendingFilters;
|
|
56
58
|
private appliedFilters;
|
|
57
59
|
private autoRefreshTimer?;
|