cat-qw-lib 2.3.6 → 2.3.8
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/fesm2022/cat-qw-lib.mjs +376 -258
- package/fesm2022/cat-qw-lib.mjs.map +1 -1
- package/lib/queue/components/queue-container/queue-container.component.d.ts +2 -2
- package/lib/queue/components/queue-record-table/queue-record-table.component.d.ts +2 -1
- package/lib/queue/queue.module.d.ts +2 -1
- package/lib/shared/components/skeleton/skeleton.component.d.ts +13 -0
- package/lib/shared/constant/SHARED.d.ts +4 -0
- package/lib/shared/table-secondary/components/table-secondary.component.d.ts +2 -1
- package/lib/widget/components/widget-row-tile/widget-row-tile.component.d.ts +20 -3
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -114,7 +115,6 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
|
|
|
114
115
|
}): void;
|
|
115
116
|
isAssignButtonEnabled(): boolean;
|
|
116
117
|
private getStoredQueueId;
|
|
117
|
-
onNewApplicationClick(): void;
|
|
118
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueueContainerComponent, never>;
|
|
119
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QueueContainerComponent, "lib-queue-container", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "selectedRowsInput": { "alias": "selectedRowsInput"; "required": false; }; }, { "assignmentComplete": "assignmentComplete"; "userAssigned": "userAssigned"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; "selectionChange": "selectionChange"; "isAllRowSelected": "isAllRowSelected"; "excludedApplicationIds": "excludedApplicationIds"; }, never,
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueueContainerComponent, "lib-queue-container", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "selectedRowsInput": { "alias": "selectedRowsInput"; "required": false; }; }, { "assignmentComplete": "assignmentComplete"; "userAssigned": "userAssigned"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; "selectionChange": "selectionChange"; "isAllRowSelected": "isAllRowSelected"; "excludedApplicationIds": "excludedApplicationIds"; }, never, ["[user-dropdown]"], false, never>;
|
|
120
120
|
}
|
|
@@ -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
|
}
|
|
@@ -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,32 @@ 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
|
-
|
|
24
|
+
onWidgetItemClick: EventEmitter<any>;
|
|
25
|
+
widgetCardStyle: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
};
|
|
28
|
+
widgetCardStyleExpression: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
widgetCombinedStyle: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
constructor(widgetService: WidgetService, widgetStore: WidgetStore, styleBulderService: StyleBuilderService, cdr: ChangeDetectorRef, widgetQuery: WidgetQuery);
|
|
20
35
|
ngOnInit(): void;
|
|
21
36
|
ngOnChanges(changes: SimpleChanges): void;
|
|
22
37
|
getWidgetItemList(): void;
|
|
38
|
+
handleWidgetItemClick(): void;
|
|
39
|
+
private updateWidgetStyles;
|
|
23
40
|
ngOnDestroy(): void;
|
|
24
41
|
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>;
|
|
42
|
+
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; }; }, { "onWidgetItemClick": "onWidgetItemClick"; }, never, never, false, never>;
|
|
26
43
|
}
|