@cqa-lib/cqa-ui 1.1.176 → 1.1.177
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 +1 -1
- package/esm2020/lib/execution-screen/db-query-execution-item/db-query-execution-item.component.mjs +70 -5
- package/esm2020/lib/execution-screen/db-verification-step/db-verification-step.component.mjs +15 -3
- package/esm2020/lib/iterations-loop/iterations-loop.component.mjs +1 -1
- package/esm2020/lib/table/dynamic-table/dynamic-table.component.mjs +35 -3
- package/esm2020/lib/templates/table-template.component.mjs +7 -4
- package/fesm2015/cqa-lib-cqa-ui.mjs +125 -13
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +124 -13
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/execution-screen/db-query-execution-item/db-query-execution-item.component.d.ts +18 -3
- package/lib/execution-screen/db-verification-step/db-verification-step.component.d.ts +7 -1
- package/lib/table/dynamic-table/dynamic-table.component.d.ts +7 -1
- package/lib/templates/table-template.component.d.ts +6 -1
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -10,16 +10,30 @@ export declare class DbQueryExecutionItemComponent implements OnInit {
|
|
|
10
10
|
queryResult: DbQueryResult;
|
|
11
11
|
status: 'passed' | 'failed';
|
|
12
12
|
variableName?: string;
|
|
13
|
+
onJsonPathCopiedHandler?: (event: {
|
|
14
|
+
path: string;
|
|
15
|
+
source: string;
|
|
16
|
+
}) => void;
|
|
13
17
|
isExpanded: boolean;
|
|
14
18
|
responseTableColumns: DynamicTableColumn[];
|
|
19
|
+
showQueryCopiedCollapsed: boolean;
|
|
20
|
+
private queryCopiedCollapsedTimeout?;
|
|
21
|
+
showResponseCopiedCollapsed: boolean;
|
|
22
|
+
private responseCopiedCollapsedTimeout?;
|
|
23
|
+
showQueryCopiedExpanded: boolean;
|
|
24
|
+
private queryCopiedExpandedTimeout?;
|
|
25
|
+
showResponseCopiedExpanded: boolean;
|
|
26
|
+
private responseCopiedExpandedTimeout?;
|
|
15
27
|
emptyStateConfig: EmptyStateConfig;
|
|
16
28
|
pageIndex: number;
|
|
17
29
|
pageSize: number;
|
|
18
30
|
constructor(cdr: ChangeDetectorRef);
|
|
19
31
|
ngOnInit(): void;
|
|
20
32
|
toggle(): void;
|
|
21
|
-
|
|
22
|
-
|
|
33
|
+
copyQueryCollapsed(): void;
|
|
34
|
+
copyQueryExpanded(): void;
|
|
35
|
+
copyResponseCollapsed(): void;
|
|
36
|
+
copyResponseExpanded(): void;
|
|
23
37
|
formatDuration(seconds: number): string;
|
|
24
38
|
get isEmptyResponse(): boolean;
|
|
25
39
|
private setupResponseTableColumns;
|
|
@@ -28,6 +42,7 @@ export declare class DbQueryExecutionItemComponent implements OnInit {
|
|
|
28
42
|
pageIndex: number;
|
|
29
43
|
pageSize: number;
|
|
30
44
|
}): void;
|
|
45
|
+
get cellJsonPathGetter(): (rowIndex: number, colId: string) => string;
|
|
31
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbQueryExecutionItemComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbQueryExecutionItemComponent, "cqa-db-query-execution-item", never, { "queryNumber": "queryNumber"; "queryKey": "queryKey"; "queryResult": "queryResult"; "status": "status"; "variableName": "variableName"; }, {}, never, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbQueryExecutionItemComponent, "cqa-db-query-execution-item", never, { "queryNumber": "queryNumber"; "queryKey": "queryKey"; "queryResult": "queryResult"; "status": "status"; "variableName": "variableName"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; }, {}, never, never>;
|
|
33
48
|
}
|
|
@@ -35,9 +35,15 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
onStepClickHandler?: (step: ExecutionStepConfig, event?: Event) => void;
|
|
38
|
+
onJsonPathCopiedHandler?: (event: {
|
|
39
|
+
path: string;
|
|
40
|
+
source: string;
|
|
41
|
+
}) => void;
|
|
38
42
|
isLive: boolean;
|
|
39
43
|
step?: any;
|
|
40
44
|
showFailedStepDetails: boolean;
|
|
45
|
+
showEnvironmentCopied: boolean;
|
|
46
|
+
private environmentCopiedTimeout?;
|
|
41
47
|
makeCurrentBaseline: EventEmitter<makeCurrentBaselineEvent>;
|
|
42
48
|
uploadBaseline: EventEmitter<uploadBaselineEvent>;
|
|
43
49
|
analyze: EventEmitter<void>;
|
|
@@ -98,5 +104,5 @@ export declare class DbVerificationStepComponent extends BaseStepComponent imple
|
|
|
98
104
|
onViewFullLogs(): void;
|
|
99
105
|
onSelfHealAction(event: SelfHealActionEvent): void;
|
|
100
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbVerificationStepComponent, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbVerificationStepComponent, "cqa-db-verification-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "dbTestResult": "dbTestResult"; "dbConfig": "dbConfig"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "isLive": "isLive"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbVerificationStepComponent, "cqa-db-verification-step", never, { "id": "id"; "testStepResultId": "testStepResultId"; "stepNumber": "stepNumber"; "title": "title"; "status": "status"; "duration": "duration"; "timingBreakdown": "timingBreakdown"; "expanded": "expanded"; "dbTestResult": "dbTestResult"; "dbConfig": "dbConfig"; "failureDetails": "failureDetails"; "reasoning": "reasoning"; "confidence": "confidence"; "stepDeleted": "stepDeleted"; "isUploadingBaseline": "isUploadingBaseline"; "isMakingCurrentBaseline": "isMakingCurrentBaseline"; "selfHealAnalysis": "selfHealAnalysis"; "getSelfHealLoadingStatesHandler": "getSelfHealLoadingStatesHandler"; "onStepClickHandler": "onStepClickHandler"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; "isLive": "isLive"; "step": "step"; }, { "makeCurrentBaseline": "makeCurrentBaseline"; "uploadBaseline": "uploadBaseline"; "analyze": "analyze"; "viewFullLogs": "viewFullLogs"; "selfHealAction": "selfHealAction"; }, never, never>;
|
|
102
108
|
}
|
|
@@ -52,6 +52,11 @@ export declare class DynamicTableComponent implements OnDestroy, OnChanges {
|
|
|
52
52
|
fieldValue?: string;
|
|
53
53
|
direction: 'asc' | 'desc' | null;
|
|
54
54
|
}>;
|
|
55
|
+
cellJsonPathGetter?: (rowIndex: number, colId: string, row: any) => string;
|
|
56
|
+
onJsonPathCopiedHandler?: (event: {
|
|
57
|
+
path: string;
|
|
58
|
+
source: string;
|
|
59
|
+
}) => void;
|
|
55
60
|
cellTemplates: QueryList<DynamicCellTemplateDirective>;
|
|
56
61
|
headerTemplates: QueryList<DynamicHeaderTemplateDirective>;
|
|
57
62
|
emptyTableTpl?: TemplateRef<any>;
|
|
@@ -105,6 +110,7 @@ export declare class DynamicTableComponent implements OnDestroy, OnChanges {
|
|
|
105
110
|
getSanitizedHtml(value: string): SafeHtml;
|
|
106
111
|
getCellValue(row: any, path?: string): any;
|
|
107
112
|
trackByIndex(index: number): number;
|
|
113
|
+
copyCellJsonPath(path: string, event: Event, source?: string): void;
|
|
108
114
|
private updateGridTemplate;
|
|
109
115
|
get allSelected(): boolean;
|
|
110
116
|
get someSelected(): boolean;
|
|
@@ -122,5 +128,5 @@ export declare class DynamicTableComponent implements OnDestroy, OnChanges {
|
|
|
122
128
|
toggleSort(col: DynamicTableColumn): void;
|
|
123
129
|
private compareValues;
|
|
124
130
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
|
|
125
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "app-dynamic-table", never, { "data": "data"; "columns": "columns"; "emptyState": "emptyState"; "gridTemplateColumns": "gridTemplateColumns"; "screenWidth": "screenWidth"; "enableSelectAll": "enableSelectAll"; "enableLocalSort": "enableLocalSort"; "isTableLoading": "isTableLoading"; "isTableDataLoading": "isTableDataLoading"; }, { "sortChange": "sortChange"; }, ["emptyTableTpl", "cellTemplates", "headerTemplates"], never>;
|
|
131
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "app-dynamic-table", never, { "data": "data"; "columns": "columns"; "emptyState": "emptyState"; "gridTemplateColumns": "gridTemplateColumns"; "screenWidth": "screenWidth"; "enableSelectAll": "enableSelectAll"; "enableLocalSort": "enableLocalSort"; "isTableLoading": "isTableLoading"; "isTableDataLoading": "isTableDataLoading"; "cellJsonPathGetter": "cellJsonPathGetter"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; }, { "sortChange": "sortChange"; }, ["emptyTableTpl", "cellTemplates", "headerTemplates"], never>;
|
|
126
132
|
}
|
|
@@ -56,6 +56,11 @@ export declare class TableTemplateComponent implements OnInit, OnChanges, OnDest
|
|
|
56
56
|
}>;
|
|
57
57
|
isTableLoading?: boolean;
|
|
58
58
|
isTableDataLoading?: boolean;
|
|
59
|
+
cellJsonPathGetter?: (rowIndex: number, colId: string, row: any) => string;
|
|
60
|
+
onJsonPathCopiedHandler?: (event: {
|
|
61
|
+
path: string;
|
|
62
|
+
source: string;
|
|
63
|
+
}) => void;
|
|
59
64
|
private _columnVisibility;
|
|
60
65
|
private _cachedVisibilityColumns;
|
|
61
66
|
filteredRows: any[];
|
|
@@ -114,5 +119,5 @@ export declare class TableTemplateComponent implements OnInit, OnChanges, OnDest
|
|
|
114
119
|
trackByDropdownTemplateRef(index: number): number;
|
|
115
120
|
trackBySelectDropdownTemplateRef(index: number): number;
|
|
116
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableTemplateComponent, never>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableTemplateComponent, "cqa-table-template", never, { "searchPlaceholder": "searchPlaceholder"; "searchValue": "searchValue"; "showClear": "showClear"; "showSearchBar": "showSearchBar"; "filterConfig": "filterConfig"; "showFilterPanel": "showFilterPanel"; "showFilterButton": "showFilterButton"; "otherButtons": "otherButtons"; "otherDropDownButtons": "otherDropDownButtons"; "otherSelectDropDownButtons": "otherSelectDropDownButtons"; "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"; "pageSizeOptions": "pageSizeOptions"; "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>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableTemplateComponent, "cqa-table-template", never, { "searchPlaceholder": "searchPlaceholder"; "searchValue": "searchValue"; "showClear": "showClear"; "showSearchBar": "showSearchBar"; "filterConfig": "filterConfig"; "showFilterPanel": "showFilterPanel"; "showFilterButton": "showFilterButton"; "otherButtons": "otherButtons"; "otherDropDownButtons": "otherDropDownButtons"; "otherSelectDropDownButtons": "otherSelectDropDownButtons"; "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"; "pageSizeOptions": "pageSizeOptions"; "serverSidePagination": "serverSidePagination"; "totalElements": "totalElements"; "isTableLoading": "isTableLoading"; "isTableDataLoading": "isTableDataLoading"; "cellJsonPathGetter": "cellJsonPathGetter"; "onJsonPathCopiedHandler": "onJsonPathCopiedHandler"; }, { "onSearchChange": "onSearchChange"; "onApplyFilterClick": "onApplyFilterClick"; "onResetFilterClick": "onResetFilterClick"; "onClearAll": "onClearAll"; "removeChip": "removeChip"; "pageChange": "pageChange"; "onReload": "onReload"; "onAutoRefreshClick": "onAutoRefreshClick"; }, never, never>;
|
|
118
123
|
}
|