cat-qw-lib 2.4.11 → 2.4.12

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.
@@ -1,25 +1,7 @@
1
1
  import { OnChanges, SimpleChanges } from '@angular/core';
2
- import { WidgetModel } from '../../models/widget.model';
2
+ import { WidgetModel, ProcessedBadgeConfig } from '../../models/widget.model';
3
3
  import { StyleBuilderService } from '../../../shared/services/style-builder.service';
4
4
  import * as i0 from "@angular/core";
5
- interface ProcessedBadge {
6
- value: string;
7
- valueClass: string;
8
- badgeStyle: {
9
- [key: string]: any;
10
- };
11
- valueIconClass?: string;
12
- valueIconStyle: {
13
- [key: string]: any;
14
- };
15
- valueIconClassExpression?: string;
16
- valueIconStyleExpression: {
17
- [key: string]: any;
18
- };
19
- mergedValueIconStyle: {
20
- [key: string]: any;
21
- };
22
- }
23
5
  export declare class WidgetHeaderComponent implements OnChanges {
24
6
  private styleBulderService;
25
7
  widget: WidgetModel;
@@ -33,7 +15,7 @@ export declare class WidgetHeaderComponent implements OnChanges {
33
15
  [key: string]: any;
34
16
  };
35
17
  headerIconClass: string;
36
- processedBadges: ProcessedBadge[];
18
+ processedBadges: ProcessedBadgeConfig[];
37
19
  widgetStatusIconClass: string;
38
20
  widgetStatusIconClassExpression: string;
39
21
  widgetStatusIconStyle: {
@@ -52,4 +34,3 @@ export declare class WidgetHeaderComponent implements OnChanges {
52
34
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetHeaderComponent, never>;
53
35
  static ɵcmp: i0.ɵɵComponentDeclaration<WidgetHeaderComponent, "lib-widget-header", never, { "widget": { "alias": "widget"; "required": false; }; }, {}, never, never, false, never>;
54
36
  }
55
- export {};
@@ -5,22 +5,6 @@ export interface WidgetBadge {
5
5
  value?: string;
6
6
  style?: BadgeStyleConfig;
7
7
  }
8
- export interface BadgeStyleConfig {
9
- keyClass?: string;
10
- valueClass?: string;
11
- key?: string;
12
- value?: string;
13
- keyIconClass?: string;
14
- keyIconStyle?: string;
15
- valueIconClass?: string;
16
- valueIconClassExpression?: string;
17
- valueIconStyleExpression?: string;
18
- valueIconStyle?: string;
19
- hasSeparator?: boolean;
20
- isConfirmed?: string;
21
- itemStyle?: string;
22
- styleExpression?: string;
23
- }
24
8
  export interface WidgetModel extends BaseModel {
25
9
  dataItems: WidgetItem[];
26
10
  badges?: WidgetBadge[];
@@ -75,3 +59,33 @@ export interface StyleConfig {
75
59
  valueIconClassExpression?: string;
76
60
  valueIconStyleExpression?: string;
77
61
  }
62
+ export interface BadgeStyleConfig {
63
+ valueClass?: string;
64
+ value?: string;
65
+ valueIconClass?: string;
66
+ valueIconClassExpression?: string;
67
+ valueIconStyleExpression?: string;
68
+ valueIconStyle?: string;
69
+ hasSeparator?: boolean;
70
+ isConfirmed?: string;
71
+ itemStyle?: string;
72
+ styleExpression?: string;
73
+ }
74
+ export interface ProcessedBadgeConfig {
75
+ value: string;
76
+ valueClass: string;
77
+ badgeStyle: {
78
+ [key: string]: any;
79
+ };
80
+ valueIconClass?: string;
81
+ valueIconStyle: {
82
+ [key: string]: any;
83
+ };
84
+ valueIconClassExpression?: string;
85
+ valueIconStyleExpression: {
86
+ [key: string]: any;
87
+ };
88
+ mergedValueIconStyle: {
89
+ [key: string]: any;
90
+ };
91
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-qw-lib",
3
- "version": "2.4.11",
3
+ "version": "2.4.12",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"