cat-qw-lib 2.3.10 → 2.3.11

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.
@@ -44,6 +44,7 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
44
44
  searchText: string;
45
45
  sortBy: string;
46
46
  sortOrder: number;
47
+ isShowSkeleton: boolean;
47
48
  resetSort: boolean;
48
49
  appliedFilters: any;
49
50
  placeholder: string;
@@ -11,6 +11,7 @@ export declare class QueueRecordTableComponent implements OnChanges {
11
11
  loading: boolean;
12
12
  selectedRows: any[];
13
13
  resetSort: boolean;
14
+ isShowSkeleton: boolean;
14
15
  selectedQueue: any;
15
16
  selectionChange: EventEmitter<any[]>;
16
17
  selectedRowsData: EventEmitter<any[]>;
@@ -31,5 +32,5 @@ export declare class QueueRecordTableComponent implements OnChanges {
31
32
  get hasData(): boolean;
32
33
  get selectedCount(): number;
33
34
  static ɵfac: i0.ɵɵFactoryDeclaration<QueueRecordTableComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<QueueRecordTableComponent, "app-queue-record-table", never, { "table": { "alias": "table"; "required": false; }; "metaData": { "alias": "metaData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "resetSort": { "alias": "resetSort"; "required": false; }; "selectedQueue": { "alias": "selectedQueue"; "required": false; }; }, { "selectionChange": "selectionChange"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; "paginationChanged": "paginationChanged"; "filterApplied": "filterApplied"; "sortApplied": "sortApplied"; }, never, never, false, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<QueueRecordTableComponent, "app-queue-record-table", never, { "table": { "alias": "table"; "required": false; }; "metaData": { "alias": "metaData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "resetSort": { "alias": "resetSort"; "required": false; }; "isShowSkeleton": { "alias": "isShowSkeleton"; "required": false; }; "selectedQueue": { "alias": "selectedQueue"; "required": false; }; }, { "selectionChange": "selectionChange"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; "paginationChanged": "paginationChanged"; "filterApplied": "filterApplied"; "sortApplied": "sortApplied"; }, never, never, false, never>;
35
36
  }
@@ -18,8 +18,9 @@ import * as i16 from "primeng/paginator";
18
18
  import * as i17 from "../shared/shared.module";
19
19
  import * as i18 from "primeng/tag";
20
20
  import * as i19 from "../shared/table-secondary/components/table-secondary.component";
21
+ import * as i20 from "../shared/components/skeleton/skeleton.component";
21
22
  export declare class QueueModule {
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<QueueModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<QueueModule, [typeof i1.QueueContainerComponent, typeof i2.QueueSearchComponent, typeof i3.QueueItemComponent, typeof i4.QueueListComponent, typeof i5.QueueRecordTableComponent, typeof i6.QueueFilterDropdownComponent], [typeof i7.CommonModule, typeof i8.QueueRoutingModule, typeof i9.FormsModule, typeof i10.DropdownModule, typeof i11.MultiSelectModule, typeof i12.RippleModule, typeof i13.ButtonModule, typeof i14.RouterModule, typeof i15.BadgeModule, typeof i16.PaginatorModule, typeof i17.SharedModule, typeof i18.TagModule, typeof i19.TableSecondaryComponent], [typeof i1.QueueContainerComponent]>;
24
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QueueModule, [typeof i1.QueueContainerComponent, typeof i2.QueueSearchComponent, typeof i3.QueueItemComponent, typeof i4.QueueListComponent, typeof i5.QueueRecordTableComponent, typeof i6.QueueFilterDropdownComponent], [typeof i7.CommonModule, typeof i8.QueueRoutingModule, typeof i9.FormsModule, typeof i10.DropdownModule, typeof i11.MultiSelectModule, typeof i12.RippleModule, typeof i13.ButtonModule, typeof i14.RouterModule, typeof i15.BadgeModule, typeof i16.PaginatorModule, typeof i17.SharedModule, typeof i18.TagModule, typeof i19.TableSecondaryComponent, typeof i20.SkeletonComponent], [typeof i1.QueueContainerComponent]>;
24
25
  static ɵinj: i0.ɵɵInjectorDeclaration<QueueModule>;
25
26
  }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SkeletonComponent implements OnInit {
4
+ products: any[];
5
+ count: number;
6
+ columns: any;
7
+ width: string;
8
+ height: string;
9
+ isAllowCard: boolean;
10
+ ngOnInit(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "lib-skeleton", never, { "count": { "alias": "count"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "isAllowCard": { "alias": "isAllowCard"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -107,6 +107,9 @@ export declare class SHARED {
107
107
  static PRODUCT_ID: string;
108
108
  static EXPENDITURE: string;
109
109
  static INCOME: string;
110
+ static VALUATION: string;
111
+ static VALUATIONID: string;
112
+ static BROKERCOMPANY_NAME: string;
110
113
  static WIDGET_NAME: string;
111
114
  static IS_MENU: string;
112
115
  static ON_WIDGET_UPDATE: string;
@@ -285,3 +288,4 @@ export declare const QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST: {
285
288
  export declare const FIELD_DISPLAY_NAMES: {
286
289
  [key: string]: string;
287
290
  };
291
+ export declare const QUEUE_RECORD_TABLE_COLUMN_ORDER: string[];
@@ -31,6 +31,7 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
31
31
  showSearchBar: boolean;
32
32
  showNewRecordButton: boolean;
33
33
  showRefreshButton: boolean;
34
+ isShowSkeleton: boolean;
34
35
  isSelectAll: boolean;
35
36
  pathName: string;
36
37
  selectionMode: 'single' | 'multiple' | undefined;
@@ -187,5 +188,5 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
187
188
  getColumnAlignment(columnName: string): string;
188
189
  getSwitchCase(rowData: any, col: any): string;
189
190
  static ɵfac: i0.ɵɵFactoryDeclaration<TableSecondaryComponent, never>;
190
- static ɵcmp: i0.ɵɵComponentDeclaration<TableSecondaryComponent, "lib-table-secondary", never, { "table": { "alias": "table"; "required": false; }; "metaData": { "alias": "metaData"; "required": false; }; "title": { "alias": "title"; "required": false; }; "builder": { "alias": "builder"; "required": false; }; "showStatus": { "alias": "showStatus"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; "showNewRecordButton": { "alias": "showNewRecordButton"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "pathName": { "alias": "pathName"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "usePagination": { "alias": "usePagination"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; "enableSelection": { "alias": "enableSelection"; "required": false; }; "noRecordsMessage": { "alias": "noRecordsMessage"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "searchTerm": { "alias": "searchTerm"; "required": false; }; "filterQuery": { "alias": "filterQuery"; "required": false; }; }, { "selectionChange": "selectionChange"; "rowSelectionChange": "rowSelectionChange"; "sortChanged": "sortChanged"; "onDeleteRow": "onDeleteRow"; "onPage": "onPage"; }, never, never, true, never>;
191
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableSecondaryComponent, "lib-table-secondary", never, { "table": { "alias": "table"; "required": false; }; "metaData": { "alias": "metaData"; "required": false; }; "title": { "alias": "title"; "required": false; }; "builder": { "alias": "builder"; "required": false; }; "showStatus": { "alias": "showStatus"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; "showNewRecordButton": { "alias": "showNewRecordButton"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "isShowSkeleton": { "alias": "isShowSkeleton"; "required": false; }; "pathName": { "alias": "pathName"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "usePagination": { "alias": "usePagination"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; "enableSelection": { "alias": "enableSelection"; "required": false; }; "noRecordsMessage": { "alias": "noRecordsMessage"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "searchTerm": { "alias": "searchTerm"; "required": false; }; "filterQuery": { "alias": "filterQuery"; "required": false; }; }, { "selectionChange": "selectionChange"; "rowSelectionChange": "rowSelectionChange"; "sortChanged": "sortChanged"; "onDeleteRow": "onDeleteRow"; "onPage": "onPage"; }, never, never, true, never>;
191
192
  }
@@ -6,6 +6,7 @@ export declare class WidgetBodyComponent implements OnChanges {
6
6
  private styleBulderService;
7
7
  constructor(styleBulderService: StyleBuilderService);
8
8
  widget: WidgetModel;
9
+ isEmptyValueHidden: boolean;
9
10
  hasBackgroundColor: Array<boolean>;
10
11
  widgetItemStyle: Array<{
11
12
  [key: string]: any;
@@ -13,5 +14,5 @@ export declare class WidgetBodyComponent implements OnChanges {
13
14
  isConfirmed: Array<boolean>;
14
15
  ngOnChanges(changes: SimpleChanges): void;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetBodyComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetBodyComponent, "lib-widget-body", never, { "widget": { "alias": "widget"; "required": false; }; }, {}, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetBodyComponent, "lib-widget-body", never, { "widget": { "alias": "widget"; "required": false; }; "isEmptyValueHidden": { "alias": "isEmptyValueHidden"; "required": false; }; }, {}, never, never, false, never>;
17
18
  }
@@ -20,6 +20,7 @@ export declare class WidgetContainerComponent implements OnInit, OnChanges, OnDe
20
20
  onWidgetEventClick: EventEmitter<any>;
21
21
  onWidgetItemClick: EventEmitter<any>;
22
22
  onUpdatedWidgetList: EventEmitter<any>;
23
+ isEmptyValueHidden: boolean;
23
24
  private destroy$;
24
25
  ngOnInit(): void;
25
26
  ngOnChanges(changes: SimpleChanges): void;
@@ -28,5 +29,5 @@ export declare class WidgetContainerComponent implements OnInit, OnChanges, OnDe
28
29
  handleWidgetItemClick(event: any): void;
29
30
  ngOnDestroy(): void;
30
31
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetContainerComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetContainerComponent, "lib-widget-container", never, { "isMenu": { "alias": "isMenu"; "required": false; }; "offerWidgetData": { "alias": "offerWidgetData"; "required": false; }; "valuationWidgetData": { "alias": "valuationWidgetData"; "required": false; }; "widgetName": { "alias": "widgetName"; "required": false; }; "recordId": { "alias": "recordId"; "required": false; }; "onWidgetUpdate": { "alias": "onWidgetUpdate"; "required": false; }; }, { "onViewAllDetails": "onViewAllDetails"; "onWidgetEventClick": "onWidgetEventClick"; "onWidgetItemClick": "onWidgetItemClick"; "onUpdatedWidgetList": "onUpdatedWidgetList"; }, never, never, false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetContainerComponent, "lib-widget-container", never, { "isMenu": { "alias": "isMenu"; "required": false; }; "offerWidgetData": { "alias": "offerWidgetData"; "required": false; }; "valuationWidgetData": { "alias": "valuationWidgetData"; "required": false; }; "widgetName": { "alias": "widgetName"; "required": false; }; "recordId": { "alias": "recordId"; "required": false; }; "onWidgetUpdate": { "alias": "onWidgetUpdate"; "required": false; }; "isEmptyValueHidden": { "alias": "isEmptyValueHidden"; "required": false; }; }, { "onViewAllDetails": "onViewAllDetails"; "onWidgetEventClick": "onWidgetEventClick"; "onWidgetItemClick": "onWidgetItemClick"; "onUpdatedWidgetList": "onUpdatedWidgetList"; }, never, never, false, never>;
32
33
  }
@@ -11,6 +11,7 @@ export declare class WidgetItemComponent implements OnInit, OnChanges, OnDestroy
11
11
  widgetItem: WidgetItem;
12
12
  widget: WidgetModel;
13
13
  application: any;
14
+ isEmptyValueHidden: boolean;
14
15
  widgetKey: string;
15
16
  keyClass: string;
16
17
  valueClass: string;
@@ -46,9 +47,18 @@ export declare class WidgetItemComponent implements OnInit, OnChanges, OnDestroy
46
47
  isMenu: boolean;
47
48
  valueIconClassExpression: string;
48
49
  private destroy$;
50
+ shouldShowItem: boolean;
51
+ hasContent: boolean;
52
+ isDateValue: boolean;
53
+ formattedDateValue: string;
54
+ hasHtmlContentValue: boolean;
49
55
  constructor(styleBulderService: StyleBuilderService, widgetStore: WidgetStore, widgetQuery: WidgetQuery);
50
56
  ngOnInit(): void;
51
57
  ngOnChanges(): void;
58
+ /**
59
+ * Computes all value-related properties once to avoid function calls in template
60
+ */
61
+ private computeValueProperties;
52
62
  handleIsMenu(): void;
53
63
  handleDynamicEvent(recordId: string): void;
54
64
  ngOnDestroy(): void;
@@ -60,7 +70,14 @@ export declare class WidgetItemComponent implements OnInit, OnChanges, OnDestroy
60
70
  * @returns true if there's meaningful content, false otherwise
61
71
  */
62
72
  hasHtmlContent(value: string): boolean;
73
+ /**
74
+ * Checks if the value has meaningful content (for both HTML and non-HTML values)
75
+ * @param value - The value to check
76
+ * @param isHtml - Whether the value is HTML content
77
+ * @returns true if there's meaningful content, false otherwise
78
+ */
79
+ hasValueContent(value: string, isHtml: boolean): boolean;
63
80
  formatDate(value: string): string;
64
81
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetItemComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetItemComponent, "lib-widget-item", never, { "widgetItem": { "alias": "widgetItem"; "required": false; }; "widget": { "alias": "widget"; "required": false; }; "application": { "alias": "application"; "required": false; }; }, {}, never, never, false, never>;
82
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetItemComponent, "lib-widget-item", never, { "widgetItem": { "alias": "widgetItem"; "required": false; }; "widget": { "alias": "widget"; "required": false; }; "application": { "alias": "application"; "required": false; }; "isEmptyValueHidden": { "alias": "isEmptyValueHidden"; "required": false; }; }, {}, never, never, false, never>;
66
83
  }
@@ -7,6 +7,7 @@ export declare class WidgetMainComponent implements OnChanges {
7
7
  constructor(styleBulderService: StyleBuilderService);
8
8
  widget: WidgetModel;
9
9
  index: number;
10
+ isEmptyValueHidden: boolean;
10
11
  widgetStyle: {
11
12
  [key: string]: any;
12
13
  };
@@ -18,5 +19,5 @@ export declare class WidgetMainComponent implements OnChanges {
18
19
  };
19
20
  ngOnChanges(): void;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetMainComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetMainComponent, "lib-widget-main", never, { "widget": { "alias": "widget"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetMainComponent, "lib-widget-main", never, { "widget": { "alias": "widget"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isEmptyValueHidden": { "alias": "isEmptyValueHidden"; "required": false; }; }, {}, never, never, false, never>;
22
23
  }
@@ -1,7 +1,9 @@
1
- import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
2
  import { WidgetModel } from '../../models/widget.model';
3
3
  import { WidgetService } from '../../state/widget.service';
4
4
  import { WidgetStore } from '../../state/widget.store';
5
+ import { WidgetQuery } from '../../state/widget.query';
6
+ import { StyleBuilderService } from '../../../shared/services/style-builder.service';
5
7
  import * as i0 from "@angular/core";
6
8
  /**
7
9
  * WidgetRowTileComponent is a component that displays a row of widgets in a tile format.
@@ -10,17 +12,33 @@ import * as i0 from "@angular/core";
10
12
  export declare class WidgetRowTileComponent implements OnInit, OnChanges, OnDestroy {
11
13
  private widgetService;
12
14
  private widgetStore;
15
+ private styleBulderService;
16
+ private cdr;
17
+ private widgetQuery;
13
18
  private destroy$;
14
19
  widgets: WidgetModel[];
15
20
  isLoading: boolean;
16
21
  recordId: string;
17
22
  widgetName: string;
18
23
  onWidgetUpdate: any;
19
- constructor(widgetService: WidgetService, widgetStore: WidgetStore);
24
+ isEmptyValueHidden: boolean;
25
+ onWidgetItemClick: EventEmitter<any>;
26
+ widgetCardStyle: {
27
+ [key: string]: any;
28
+ };
29
+ widgetCardStyleExpression: {
30
+ [key: string]: any;
31
+ };
32
+ widgetCombinedStyle: {
33
+ [key: string]: any;
34
+ };
35
+ constructor(widgetService: WidgetService, widgetStore: WidgetStore, styleBulderService: StyleBuilderService, cdr: ChangeDetectorRef, widgetQuery: WidgetQuery);
20
36
  ngOnInit(): void;
21
37
  ngOnChanges(changes: SimpleChanges): void;
22
38
  getWidgetItemList(): void;
39
+ handleWidgetItemClick(): void;
40
+ private updateWidgetStyles;
23
41
  ngOnDestroy(): void;
24
42
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetRowTileComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetRowTileComponent, "lib-widget-row-tile", never, { "recordId": { "alias": "recordId"; "required": false; }; "widgetName": { "alias": "widgetName"; "required": false; }; "onWidgetUpdate": { "alias": "onWidgetUpdate"; "required": false; }; }, {}, never, never, false, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetRowTileComponent, "lib-widget-row-tile", never, { "recordId": { "alias": "recordId"; "required": false; }; "widgetName": { "alias": "widgetName"; "required": false; }; "onWidgetUpdate": { "alias": "onWidgetUpdate"; "required": false; }; "isEmptyValueHidden": { "alias": "isEmptyValueHidden"; "required": false; }; }, { "onWidgetItemClick": "onWidgetItemClick"; }, never, never, false, never>;
26
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-qw-lib",
3
- "version": "2.3.10",
3
+ "version": "2.3.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"