@cqa-lib/cqa-ui 1.0.70 → 1.0.72

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.
@@ -7,6 +7,7 @@ export interface InsightMetadata {
7
7
  label: string;
8
8
  value: string;
9
9
  highlight?: boolean;
10
+ isKeyClickable?: boolean;
10
11
  };
11
12
  }
12
13
  interface InternalInsightSection {
@@ -45,6 +46,7 @@ export declare class InsightCardComponent {
45
46
  onApplySuggestionClick: EventEmitter<void>;
46
47
  onAttachPrerequisitesClick: EventEmitter<void>;
47
48
  onImportTestDataClick: EventEmitter<void>;
49
+ metadataKeyClick: EventEmitter<string>;
48
50
  toggleMetadata(): void;
49
51
  toggleSection(section: InternalInsightSection): void;
50
52
  onSectionAction(sectionId: string): void;
@@ -64,6 +66,18 @@ export declare class InsightCardComponent {
64
66
  value: string;
65
67
  highlight?: boolean;
66
68
  }): string;
69
+ isKeyClickable(value: string | {
70
+ label: string;
71
+ value: string;
72
+ highlight?: boolean;
73
+ isKeyClickable?: boolean;
74
+ }): boolean;
75
+ onKeyClick(key: string, value: string | {
76
+ label: string;
77
+ value: string;
78
+ highlight?: boolean;
79
+ isKeyClickable?: boolean;
80
+ }): void;
67
81
  getMetadataValueStyle(key: string, value: string | {
68
82
  label: string;
69
83
  value: string;
@@ -79,6 +93,6 @@ export declare class InsightCardComponent {
79
93
  private getSectionExpandedState;
80
94
  private createSection;
81
95
  static ɵfac: i0.ɵɵFactoryDeclaration<InsightCardComponent, never>;
82
- static ɵcmp: i0.ɵɵComponentDeclaration<InsightCardComponent, "cqa-insight-card", never, { "title": "title"; "description": "description"; "showAiSuggestionButton": "showAiSuggestionButton"; "badges": "badges"; "metadata": "metadata"; "prerequisiteSection": "prerequisiteSection"; "testDataSection": "testDataSection"; "metadataExpanded": "metadataExpanded"; "isPrerequisiteMissing": "isPrerequisiteMissing"; "isTestDataMissing": "isTestDataMissing"; }, { "metadataToggle": "metadataToggle"; "sectionToggle": "sectionToggle"; "sectionActionClick": "sectionActionClick"; "onApplySuggestionClick": "onApplySuggestionClick"; "onAttachPrerequisitesClick": "onAttachPrerequisitesClick"; "onImportTestDataClick": "onImportTestDataClick"; }, never, never>;
96
+ static ɵcmp: i0.ɵɵComponentDeclaration<InsightCardComponent, "cqa-insight-card", never, { "title": "title"; "description": "description"; "showAiSuggestionButton": "showAiSuggestionButton"; "badges": "badges"; "metadata": "metadata"; "prerequisiteSection": "prerequisiteSection"; "testDataSection": "testDataSection"; "metadataExpanded": "metadataExpanded"; "isPrerequisiteMissing": "isPrerequisiteMissing"; "isTestDataMissing": "isTestDataMissing"; }, { "metadataToggle": "metadataToggle"; "sectionToggle": "sectionToggle"; "sectionActionClick": "sectionActionClick"; "onApplySuggestionClick": "onApplySuggestionClick"; "onAttachPrerequisitesClick": "onAttachPrerequisitesClick"; "onImportTestDataClick": "onImportTestDataClick"; "metadataKeyClick": "metadataKeyClick"; }, never, never>;
83
97
  }
84
98
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.0.70",
3
+ "version": "1.0.72",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",