@cqa-lib/cqa-ui 1.0.0 → 1.0.3
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/badge/badge.component.mjs +3 -3
- package/esm2020/lib/dashboards/chart-card/chart-card.component.mjs +3 -3
- package/esm2020/lib/dashboards/coverage-module-card/coverage-module-card.component.mjs +46 -4
- package/esm2020/lib/dashboards/dashboard-header/dashboard-header.component.mjs +6 -3
- package/esm2020/lib/dashboards/failed-test-cases-card/failed-test-cases-card.component.mjs +6 -7
- package/esm2020/lib/dashboards/insight-card/insight-card.component.mjs +10 -10
- package/esm2020/lib/dashboards/test-distribution-card/test-distribution-card.component.mjs +4 -5
- package/fesm2015/cqa-lib-cqa-ui.mjs +65 -21
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +65 -21
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/dashboards/coverage-module-card/coverage-module-card.component.d.ts +13 -1
- package/lib/dashboards/dashboard-header/dashboard-header.component.d.ts +2 -1
- package/package.json +1 -1
- package/src/assets/fonts/SFUIText-Bold/SF-UI-Text-Bold.eot +0 -0
- package/src/assets/fonts/SFUIText-Bold/SF-UI-Text-Bold.otf +0 -0
- package/src/assets/fonts/SFUIText-Bold/SF-UI-Text-Bold.svg +14730 -0
- package/src/assets/fonts/SFUIText-Bold/SF-UI-Text-Bold.ttf +0 -0
- package/src/assets/fonts/SFUIText-Bold/SF-UI-Text-Bold.woff +0 -0
- package/src/assets/fonts/SFUIText-Bold/SF-UI-Text-Bold.woff2 +0 -0
- package/src/assets/fonts/SFUIText-Light/SF-UI-Text-Light.eot +0 -0
- package/src/assets/fonts/SFUIText-Light/SF-UI-Text-Light.otf +0 -0
- package/src/assets/fonts/SFUIText-Light/SF-UI-Text-Light.svg +21333 -0
- package/src/assets/fonts/SFUIText-Light/SF-UI-Text-Light.ttf +0 -0
- package/src/assets/fonts/SFUIText-Light/SF-UI-Text-Light.woff +0 -0
- package/src/assets/fonts/SFUIText-Light/SF-UI-Text-Light.woff2 +0 -0
- package/src/assets/fonts/SFUIText-Medium/SF-UI-Text-Medium.eot +0 -0
- package/src/assets/fonts/SFUIText-Medium/SF-UI-Text-Medium.otf +0 -0
- package/src/assets/fonts/SFUIText-Medium/SF-UI-Text-Medium.svg +14584 -0
- package/src/assets/fonts/SFUIText-Medium/SF-UI-Text-Medium.ttf +0 -0
- package/src/assets/fonts/SFUIText-Medium/SF-UI-Text-Medium.woff +0 -0
- package/src/assets/fonts/SFUIText-Medium/SF-UI-Text-Medium.woff2 +0 -0
- package/src/assets/fonts/SFUIText-Regular/SF-UI-Text-Regular.eot +0 -0
- package/src/assets/fonts/SFUIText-Regular/SF-UI-Text-Regular.otf +0 -0
- package/src/assets/fonts/SFUIText-Regular/SF-UI-Text-Regular.svg +17870 -0
- package/src/assets/fonts/SFUIText-Regular/SF-UI-Text-Regular.ttf +0 -0
- package/src/assets/fonts/SFUIText-Regular/SF-UI-Text-Regular.woff +0 -0
- package/src/assets/fonts/SFUIText-Regular/SF-UI-Text-Regular.woff2 +0 -0
- package/src/assets/fonts/SFUIText-Semibold/SF-UI-Text-Semibold.eot +0 -0
- package/src/assets/fonts/SFUIText-Semibold/SF-UI-Text-Semibold.otf +0 -0
- package/src/assets/fonts/SFUIText-Semibold/SF-UI-Text-Semibold.svg +14732 -0
- package/src/assets/fonts/SFUIText-Semibold/SF-UI-Text-Semibold.ttf +0 -0
- package/src/assets/fonts/SFUIText-Semibold/SF-UI-Text-Semibold.woff +0 -0
- package/src/assets/fonts/SFUIText-Semibold/SF-UI-Text-Semibold.woff2 +0 -0
- package/styles.css +1 -1
- package/storybook-static/assets/images/README.md +0 -66
|
@@ -34,11 +34,23 @@ export declare class CoverageModuleCardComponent {
|
|
|
34
34
|
ctaText: string;
|
|
35
35
|
/** Disable CTA */
|
|
36
36
|
ctaDisabled: boolean;
|
|
37
|
+
/** Generation duration in milliseconds (default ~12s) */
|
|
38
|
+
generationMs: number;
|
|
37
39
|
view: EventEmitter<void>;
|
|
40
|
+
issuesClicked: EventEmitter<void>;
|
|
38
41
|
ctaClicked: EventEmitter<void>;
|
|
42
|
+
/** Emits when the AI coverage area is clicked */
|
|
43
|
+
aiCoverageClick: EventEmitter<void>;
|
|
44
|
+
/** Internal generation state */
|
|
45
|
+
isGenerating: boolean;
|
|
46
|
+
isGenerated: boolean;
|
|
47
|
+
private generationTimerId?;
|
|
39
48
|
statusColorClass(item: CoverageItem): string;
|
|
40
49
|
textColorClass(item: CoverageItem): string;
|
|
41
50
|
formatPercent(pct: number): string;
|
|
51
|
+
/** Computed CTA button class to switch to light green after generation */
|
|
52
|
+
get ctaButtonClass(): string;
|
|
53
|
+
onAiCoverageClick(): void;
|
|
42
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoverageModuleCardComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CoverageModuleCardComponent, "cqa-coverage-module-card", never, { "title": "title"; "issues": "issues"; "showViewAction": "showViewAction"; "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"; }, { "view": "view"; "ctaClicked": "ctaClicked"; }, never, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CoverageModuleCardComponent, "cqa-coverage-module-card", never, { "title": "title"; "issues": "issues"; "showViewAction": "showViewAction"; "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"; }, never, never>;
|
|
44
56
|
}
|
|
@@ -13,6 +13,7 @@ export declare class DashboardHeaderComponent {
|
|
|
13
13
|
badgeText?: string;
|
|
14
14
|
badgeClass: string;
|
|
15
15
|
headerClass: string;
|
|
16
|
+
showHeader: boolean;
|
|
16
17
|
workspaceOptions: HeaderSelectOption[];
|
|
17
18
|
workspacePlaceholder: string;
|
|
18
19
|
workspaceDisabled: boolean;
|
|
@@ -26,5 +27,5 @@ export declare class DashboardHeaderComponent {
|
|
|
26
27
|
get workspaceConfig(): DynamicSelectFieldConfig;
|
|
27
28
|
private syncFormFromInput;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardHeaderComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardHeaderComponent, "cqa-dashboard-header", never, { "title": "title"; "badgeText": "badgeText"; "badgeClass": "badgeClass"; "headerClass": "headerClass"; "workspaceOptions": "workspaceOptions"; "workspacePlaceholder": "workspacePlaceholder"; "workspaceDisabled": "workspaceDisabled"; "workspaceValue": "workspaceValue"; "workspaceMultiple": "workspaceMultiple"; "workspaceSearchable": "workspaceSearchable"; }, { "workspaceValueChange": "workspaceValueChange"; }, never, ["*"]>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardHeaderComponent, "cqa-dashboard-header", never, { "title": "title"; "badgeText": "badgeText"; "badgeClass": "badgeClass"; "headerClass": "headerClass"; "showHeader": "showHeader"; "workspaceOptions": "workspaceOptions"; "workspacePlaceholder": "workspacePlaceholder"; "workspaceDisabled": "workspaceDisabled"; "workspaceValue": "workspaceValue"; "workspaceMultiple": "workspaceMultiple"; "workspaceSearchable": "workspaceSearchable"; }, { "workspaceValueChange": "workspaceValueChange"; }, never, ["*"]>;
|
|
30
31
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|