@cqa-lib/cqa-ui 1.1.483 → 1.1.484

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,8 @@ export interface SelectOption {
7
7
  value?: any;
8
8
  name?: string;
9
9
  label?: string;
10
+ /** e.g. MOBILE, BROWSER — shown as a leading icon in the dropdown when set */
11
+ testType?: string;
10
12
  statusColor?: string;
11
13
  durationFormatted?: string;
12
14
  runNumberLabel?: string;
@@ -47,6 +49,8 @@ export interface DynamicSelectFieldConfig {
47
49
  isLoading?: boolean;
48
50
  /** Optional callback for server-side search when query changes. */
49
51
  onSearch?: (query: string) => void;
52
+ /** If true, renders testType icons (mobile/web/other) before labels. */
53
+ showTestTypeIcon?: boolean;
50
54
  /** Optional callback when more data is requested (infinite scroll). */
51
55
  onLoadMore?: (query?: string) => void;
52
56
  /** Optional regex pattern or function to highlight parts of option text. */
@@ -112,6 +116,12 @@ export declare class DynamicSelectFieldComponent implements OnInit, OnChanges {
112
116
  get panelClass(): string;
113
117
  get isMultiple(): boolean;
114
118
  get singleSelectedDisplayLabel(): string;
119
+ /** Resolved option for single-select trigger (icon + label). */
120
+ get singleSelectedOption(): SelectOption | null;
121
+ /**
122
+ * Maps API testType strings to icon variants. Unknown non-empty values use 'other'.
123
+ */
124
+ testTypeIconKind(opt: SelectOption | null | undefined): 'mobile' | 'web' | 'other' | null;
115
125
  get isDisabled(): boolean;
116
126
  get useCheckboxStyle(): boolean;
117
127
  get allSelected(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.483",
3
+ "version": "1.1.484",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",