@cqa-lib/cqa-ui 1.1.500 → 1.1.501
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/simulator/simulator.component.mjs +15 -3
- package/esm2020/lib/test-case-details/api-mocking-card/api-mocking-card.component.mjs +16 -6
- package/esm2020/lib/test-case-details/test-case-details-edit/test-case-details-edit.component.mjs +11 -5
- package/esm2020/lib/test-case-details/test-case-details.component.mjs +11 -5
- package/fesm2015/cqa-lib-cqa-ui.mjs +49 -15
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +49 -15
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/simulator/simulator.component.d.ts +12 -1
- package/lib/test-case-details/api-mocking-card/api-mocking-card.component.d.ts +5 -1
- package/lib/test-case-details/test-case-details-edit/test-case-details-edit.component.d.ts +3 -1
- package/lib/test-case-details/test-case-details.component.d.ts +3 -1
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { EventEmitter, ElementRef, AfterViewInit, OnDestroy, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export interface FastForwardConfig {
|
|
5
|
+
fromStep: number;
|
|
6
|
+
toStep: number;
|
|
7
|
+
currentStep: number;
|
|
8
|
+
totalSteps: number;
|
|
9
|
+
targetStepNumber: string;
|
|
10
|
+
targetStepLabel: string;
|
|
11
|
+
}
|
|
4
12
|
export interface StepMarker {
|
|
5
13
|
cumulativeDuration: number;
|
|
6
14
|
result: 'SUCCESS' | 'FAILURE' | 'ABORTED' | 'SKIPPED';
|
|
@@ -42,6 +50,9 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
42
50
|
height: number;
|
|
43
51
|
} | null;
|
|
44
52
|
browserDevice: string;
|
|
53
|
+
isFastForwarding: boolean;
|
|
54
|
+
fastForwardConfig: FastForwardConfig | null;
|
|
55
|
+
get fastForwardProgressPercent(): number;
|
|
45
56
|
videoTimeUpdate: EventEmitter<number>;
|
|
46
57
|
videoPlay: EventEmitter<void>;
|
|
47
58
|
videoPause: EventEmitter<void>;
|
|
@@ -237,6 +248,6 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
237
248
|
private switchToVideoAndSeek;
|
|
238
249
|
private switchToVideoAndSeekInternal;
|
|
239
250
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimulatorComponent, never>;
|
|
240
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimulatorComponent, "cqa-simulator", never, { "videoUrl": "videoUrl"; "videoUrls": "videoUrls"; "videoCurrentDuration": "videoCurrentDuration"; "stepMarkers": "stepMarkers"; "screenShotUrl": "screenShotUrl"; "traceViewUrl": "traceViewUrl"; "platformName": "platformName"; "platformType": "platformType"; "platform": "platform"; "deviceName": "deviceName"; "isLive": "isLive"; "liveStatus": "liveStatus"; "liveLoadingLabel": "liveLoadingLabel"; "isContentVideoLoading": "isContentVideoLoading"; "failedStatusMessage": "failedStatusMessage"; "isVNCSessionIntruppted": "isVNCSessionIntruppted"; "vncSessionIntupptedMessage": "vncSessionIntupptedMessage"; "selectedView": "selectedView"; "hideVideoTab": "hideVideoTab"; "browserViewPort": "browserViewPort"; "browserDevice": "browserDevice"; }, { "videoTimeUpdate": "videoTimeUpdate"; "videoPlay": "videoPlay"; "videoPause": "videoPause"; "markerHit": "markerHit"; "isVideoPlayingChange": "isVideoPlayingChange"; }, never, ["*"]>;
|
|
251
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimulatorComponent, "cqa-simulator", never, { "videoUrl": "videoUrl"; "videoUrls": "videoUrls"; "videoCurrentDuration": "videoCurrentDuration"; "stepMarkers": "stepMarkers"; "screenShotUrl": "screenShotUrl"; "traceViewUrl": "traceViewUrl"; "platformName": "platformName"; "platformType": "platformType"; "platform": "platform"; "deviceName": "deviceName"; "isLive": "isLive"; "liveStatus": "liveStatus"; "liveLoadingLabel": "liveLoadingLabel"; "isContentVideoLoading": "isContentVideoLoading"; "failedStatusMessage": "failedStatusMessage"; "isVNCSessionIntruppted": "isVNCSessionIntruppted"; "vncSessionIntupptedMessage": "vncSessionIntupptedMessage"; "selectedView": "selectedView"; "hideVideoTab": "hideVideoTab"; "browserViewPort": "browserViewPort"; "browserDevice": "browserDevice"; "isFastForwarding": "isFastForwarding"; "fastForwardConfig": "fastForwardConfig"; }, { "videoTimeUpdate": "videoTimeUpdate"; "videoPlay": "videoPlay"; "videoPause": "videoPause"; "markerHit": "markerHit"; "isVideoPlayingChange": "isVideoPlayingChange"; }, never, ["*"]>;
|
|
241
252
|
}
|
|
242
253
|
export {};
|
|
@@ -26,7 +26,9 @@ export declare class ApiMockingCardComponent {
|
|
|
26
26
|
title: string;
|
|
27
27
|
statusLabel: string;
|
|
28
28
|
captureLabel: string;
|
|
29
|
+
captureHint: string;
|
|
29
30
|
renewLabel: string;
|
|
31
|
+
renewHint: string;
|
|
30
32
|
/**
|
|
31
33
|
* Single source of truth for the card's dual-toggle state.
|
|
32
34
|
* Defaults to `false` → Capture is ON, Renew is OFF.
|
|
@@ -45,6 +47,8 @@ export declare class ApiMockingCardComponent {
|
|
|
45
47
|
* edit mode regardless of this flag).
|
|
46
48
|
*/
|
|
47
49
|
showProgress: boolean;
|
|
50
|
+
/** Hint shown in read-only mode when no mock data exists yet (`showProgress` is false). */
|
|
51
|
+
noDataHint: string;
|
|
48
52
|
configure: EventEmitter<void>;
|
|
49
53
|
/**
|
|
50
54
|
* Emitted whenever the effective `restoreMock` value changes (either row's toggle was
|
|
@@ -74,5 +78,5 @@ export declare class ApiMockingCardComponent {
|
|
|
74
78
|
onCaptureToggle(value: boolean): void;
|
|
75
79
|
private setRestoreMock;
|
|
76
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiMockingCardComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApiMockingCardComponent, "cqa-api-mocking-card", never, { "title": "title"; "statusLabel": "statusLabel"; "captureLabel": "captureLabel"; "renewLabel": "renewLabel"; "restoreMock": "restoreMock"; "mockedApisCount": "mockedApisCount"; "totalApisCount": "totalApisCount"; "progressPercent": "progressPercent"; "summaryText": "summaryText"; "percentText": "percentText"; "configureButtonLabel": "configureButtonLabel"; "editing": "editing"; "showProgress": "showProgress"; }, { "configure": "configure"; "restoreMockChange": "restoreMockChange"; }, never, never>;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApiMockingCardComponent, "cqa-api-mocking-card", never, { "title": "title"; "statusLabel": "statusLabel"; "captureLabel": "captureLabel"; "captureHint": "captureHint"; "renewLabel": "renewLabel"; "renewHint": "renewHint"; "restoreMock": "restoreMock"; "mockedApisCount": "mockedApisCount"; "totalApisCount": "totalApisCount"; "progressPercent": "progressPercent"; "summaryText": "summaryText"; "percentText": "percentText"; "configureButtonLabel": "configureButtonLabel"; "editing": "editing"; "showProgress": "showProgress"; "noDataHint": "noDataHint"; }, { "configure": "configure"; "restoreMockChange": "restoreMockChange"; }, never, never>;
|
|
78
82
|
}
|
|
@@ -93,7 +93,9 @@ export declare class TestCaseDetailsEditComponent implements OnInit, OnChanges {
|
|
|
93
93
|
apiMockingTitle: string;
|
|
94
94
|
apiMockingStatusLabel: string;
|
|
95
95
|
apiMockingCaptureLabel: string;
|
|
96
|
+
apiMockingCaptureHint: string;
|
|
96
97
|
apiMockingRenewLabel: string;
|
|
98
|
+
apiMockingRenewHint: string;
|
|
97
99
|
/**
|
|
98
100
|
* Single source of truth for the card's dual toggle state.
|
|
99
101
|
* true → Renew ON, Capture OFF
|
|
@@ -250,5 +252,5 @@ export declare class TestCaseDetailsEditComponent implements OnInit, OnChanges {
|
|
|
250
252
|
};
|
|
251
253
|
getLabelCloseIconColor(_label: string): string;
|
|
252
254
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseDetailsEditComponent, never>;
|
|
253
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDetailsEditComponent, "cqa-test-case-details-edit", never, { "descriptionTitle": "descriptionTitle"; "descriptionContent": "descriptionContent"; "enableMarkdown": "enableMarkdown"; "metadataItems": "metadataItems"; "labels": "labels"; "configTitle": "configTitle"; "configSections": "configSections"; "configSectionsRow2": "configSectionsRow2"; "isSaving": "isSaving"; "prerequisiteCaseOptions": "prerequisiteCaseOptions"; "platform": "platform"; "isStepGroup": "isStepGroup"; "selectConfigOverrides": "selectConfigOverrides"; "showApiMockingCard": "showApiMockingCard"; "apiMockingTitle": "apiMockingTitle"; "apiMockingStatusLabel": "apiMockingStatusLabel"; "apiMockingCaptureLabel": "apiMockingCaptureLabel"; "apiMockingRenewLabel": "apiMockingRenewLabel"; "apiMockingRestoreMock": "apiMockingRestoreMock"; "apiMockingMockedApisCount": "apiMockingMockedApisCount"; "apiMockingTotalApisCount": "apiMockingTotalApisCount"; "apiMockingProgressPercent": "apiMockingProgressPercent"; "apiMockingShowProgress": "apiMockingShowProgress"; "apiMockingSummaryText": "apiMockingSummaryText"; "apiMockingPercentText": "apiMockingPercentText"; }, { "save": "save"; "cancel": "cancel"; "selectSearch": "selectSearch"; "selectLoadMore": "selectLoadMore"; "selectOpened": "selectOpened"; "selectionChange": "selectionChange"; "labelAdded": "labelAdded"; "apiMockingRestoreMockChange": "apiMockingRestoreMockChange"; }, never, never>;
|
|
255
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDetailsEditComponent, "cqa-test-case-details-edit", never, { "descriptionTitle": "descriptionTitle"; "descriptionContent": "descriptionContent"; "enableMarkdown": "enableMarkdown"; "metadataItems": "metadataItems"; "labels": "labels"; "configTitle": "configTitle"; "configSections": "configSections"; "configSectionsRow2": "configSectionsRow2"; "isSaving": "isSaving"; "prerequisiteCaseOptions": "prerequisiteCaseOptions"; "platform": "platform"; "isStepGroup": "isStepGroup"; "selectConfigOverrides": "selectConfigOverrides"; "showApiMockingCard": "showApiMockingCard"; "apiMockingTitle": "apiMockingTitle"; "apiMockingStatusLabel": "apiMockingStatusLabel"; "apiMockingCaptureLabel": "apiMockingCaptureLabel"; "apiMockingCaptureHint": "apiMockingCaptureHint"; "apiMockingRenewLabel": "apiMockingRenewLabel"; "apiMockingRenewHint": "apiMockingRenewHint"; "apiMockingRestoreMock": "apiMockingRestoreMock"; "apiMockingMockedApisCount": "apiMockingMockedApisCount"; "apiMockingTotalApisCount": "apiMockingTotalApisCount"; "apiMockingProgressPercent": "apiMockingProgressPercent"; "apiMockingShowProgress": "apiMockingShowProgress"; "apiMockingSummaryText": "apiMockingSummaryText"; "apiMockingPercentText": "apiMockingPercentText"; }, { "save": "save"; "cancel": "cancel"; "selectSearch": "selectSearch"; "selectLoadMore": "selectLoadMore"; "selectOpened": "selectOpened"; "selectionChange": "selectionChange"; "labelAdded": "labelAdded"; "apiMockingRestoreMockChange": "apiMockingRestoreMockChange"; }, never, never>;
|
|
254
256
|
}
|
|
@@ -47,6 +47,8 @@ export declare class TestCaseDetailsComponent implements OnInit, OnChanges {
|
|
|
47
47
|
apiMockingStatusLabel: string;
|
|
48
48
|
apiMockingCaptureLabel: string;
|
|
49
49
|
apiMockingRenewLabel: string;
|
|
50
|
+
apiMockingCaptureHint: string;
|
|
51
|
+
apiMockingRenewHint: string;
|
|
50
52
|
/**
|
|
51
53
|
* Single source of truth for the API mocking card's dual toggle state.
|
|
52
54
|
* true → Renew API responses ON, Capture API responses OFF
|
|
@@ -105,5 +107,5 @@ export declare class TestCaseDetailsComponent implements OnInit, OnChanges {
|
|
|
105
107
|
/** Text color for metadata value (e.g. red for critical priority) */
|
|
106
108
|
getValueTextClass(item: TestCaseDetailsMetadataItem): string;
|
|
107
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseDetailsComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDetailsComponent, "cqa-test-case-details", never, { "editing": "editing"; "startInEditMode": "startInEditMode"; "descriptionTitle": "descriptionTitle"; "descriptionContent": "descriptionContent"; "enableMarkdown": "enableMarkdown"; "showEditButton": "showEditButton"; "metadataItems": "metadataItems"; "labels": "labels"; "configTitle": "configTitle"; "configSections": "configSections"; "configSectionsRow2": "configSectionsRow2"; "platform": "platform"; "isStepGroup": "isStepGroup"; "selectConfigOverrides": "selectConfigOverrides"; "isSaving": "isSaving"; "showApiMockingCard": "showApiMockingCard"; "apiMockingTitle": "apiMockingTitle"; "apiMockingStatusLabel": "apiMockingStatusLabel"; "apiMockingCaptureLabel": "apiMockingCaptureLabel"; "apiMockingRenewLabel": "apiMockingRenewLabel"; "apiMockingRestoreMock": "apiMockingRestoreMock"; "apiMockingMockedApisCount": "apiMockingMockedApisCount"; "apiMockingTotalApisCount": "apiMockingTotalApisCount"; "apiMockingProgressPercent": "apiMockingProgressPercent"; "apiMockingShowProgress": "apiMockingShowProgress"; "apiMockingSummaryText": "apiMockingSummaryText"; "apiMockingPercentText": "apiMockingPercentText"; "apiMockingConfigureButtonLabel": "apiMockingConfigureButtonLabel"; }, { "editDescription": "editDescription"; "cancel": "cancel"; "saveChanges": "saveChanges"; "metadataLinkClick": "metadataLinkClick"; "selectSearch": "selectSearch"; "selectLoadMore": "selectLoadMore"; "selectOpened": "selectOpened"; "selectionChange": "selectionChange"; "labelAdded": "labelAdded"; "configureApiMocking": "configureApiMocking"; "apiMockingRestoreMockChange": "apiMockingRestoreMockChange"; }, never, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseDetailsComponent, "cqa-test-case-details", never, { "editing": "editing"; "startInEditMode": "startInEditMode"; "descriptionTitle": "descriptionTitle"; "descriptionContent": "descriptionContent"; "enableMarkdown": "enableMarkdown"; "showEditButton": "showEditButton"; "metadataItems": "metadataItems"; "labels": "labels"; "configTitle": "configTitle"; "configSections": "configSections"; "configSectionsRow2": "configSectionsRow2"; "platform": "platform"; "isStepGroup": "isStepGroup"; "selectConfigOverrides": "selectConfigOverrides"; "isSaving": "isSaving"; "showApiMockingCard": "showApiMockingCard"; "apiMockingTitle": "apiMockingTitle"; "apiMockingStatusLabel": "apiMockingStatusLabel"; "apiMockingCaptureLabel": "apiMockingCaptureLabel"; "apiMockingRenewLabel": "apiMockingRenewLabel"; "apiMockingCaptureHint": "apiMockingCaptureHint"; "apiMockingRenewHint": "apiMockingRenewHint"; "apiMockingRestoreMock": "apiMockingRestoreMock"; "apiMockingMockedApisCount": "apiMockingMockedApisCount"; "apiMockingTotalApisCount": "apiMockingTotalApisCount"; "apiMockingProgressPercent": "apiMockingProgressPercent"; "apiMockingShowProgress": "apiMockingShowProgress"; "apiMockingSummaryText": "apiMockingSummaryText"; "apiMockingPercentText": "apiMockingPercentText"; "apiMockingConfigureButtonLabel": "apiMockingConfigureButtonLabel"; }, { "editDescription": "editDescription"; "cancel": "cancel"; "saveChanges": "saveChanges"; "metadataLinkClick": "metadataLinkClick"; "selectSearch": "selectSearch"; "selectLoadMore": "selectLoadMore"; "selectOpened": "selectOpened"; "selectionChange": "selectionChange"; "labelAdded": "labelAdded"; "configureApiMocking": "configureApiMocking"; "apiMockingRestoreMockChange": "apiMockingRestoreMockChange"; }, never, never>;
|
|
109
111
|
}
|