cat-qw-lib 1.1.1 → 2.0.0
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 +912 -574
- package/fesm2022/cat-qw-lib.mjs.map +1 -1
- package/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.d.ts +1 -1
- package/lib/queue/components/queue-container/queue-container.component.d.ts +12 -6
- package/lib/queue/components/queue-item/queue-item.component.d.ts +3 -0
- package/lib/queue/components/queue-record-table/queue-record-table.component.d.ts +8 -4
- package/lib/queue/services/queue-business.service.d.ts +5 -0
- package/lib/queue/services/queue-record-table-builder.service.d.ts +2 -0
- package/lib/shared/constant/SHARED.d.ts +6 -0
- package/lib/shared/state/base.query.d.ts +3 -0
- package/lib/shared/state/base.state.d.ts +3 -0
- package/lib/shared/state/base.store.d.ts +3 -0
- package/lib/shared/table-secondary/components/table-secondary.component.d.ts +33 -2
- package/lib/widget/components/widget-item/widget-item.component.d.ts +3 -0
- package/lib/widget/models/widget.model.d.ts +2 -0
- package/lib/widget/widget.module.d.ts +2 -1
- package/package.json +1 -1
- package/lib/queue/services/application-assignment.service.d.ts +0 -18
|
@@ -12,7 +12,7 @@ export declare class QueueAdminListComponent extends BaseContainerComponent<Queu
|
|
|
12
12
|
queueId: any;
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
getAllQueueList(): void;
|
|
15
|
-
|
|
15
|
+
handleQueueData(event: any): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueueAdminListComponent, never>;
|
|
17
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<QueueAdminListComponent, "lib-queue-admin-list", never, {}, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -10,6 +10,7 @@ import { MetaDataModel } from '../../../shared/models/meta-data.model';
|
|
|
10
10
|
import { QueueRecordTableBuilderService } from '../../services/queue-record-table-builder.service';
|
|
11
11
|
import { QueueFilterDropdownComponent } from '../queue-filter-dropdown/queue-filter-dropdown.component';
|
|
12
12
|
import { QueueFilterDropdownService } from '../../services/queue-filter-dropdown.service';
|
|
13
|
+
import { BaseQuery } from '../../../shared';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
/**
|
|
15
16
|
* Container component for managing queue-related data and interactions.
|
|
@@ -22,6 +23,7 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
|
|
|
22
23
|
private queueBusinessService;
|
|
23
24
|
private tableBuilder;
|
|
24
25
|
private queueFilterDropdownService;
|
|
26
|
+
private baseQuery;
|
|
25
27
|
private destroy$;
|
|
26
28
|
private searchSubject;
|
|
27
29
|
queueList: QueueModel[];
|
|
@@ -41,9 +43,9 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
|
|
|
41
43
|
queryString: string;
|
|
42
44
|
searchText: string;
|
|
43
45
|
sortBy: string;
|
|
44
|
-
sortOrder:
|
|
46
|
+
sortOrder: number;
|
|
47
|
+
resetSort: boolean;
|
|
45
48
|
appliedFilters: any;
|
|
46
|
-
tableHeight: string;
|
|
47
49
|
placeholder: string;
|
|
48
50
|
filterDropdown: QueueFilterDropdownComponent;
|
|
49
51
|
set selectedRowsInput(rows: any[]);
|
|
@@ -63,7 +65,9 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
|
|
|
63
65
|
}>;
|
|
64
66
|
rowClick: EventEmitter<any>;
|
|
65
67
|
selectionChange: EventEmitter<any[]>;
|
|
66
|
-
|
|
68
|
+
isAllRowSelected: EventEmitter<boolean>;
|
|
69
|
+
ExcludedApplicationIds: EventEmitter<any[]>;
|
|
70
|
+
constructor(queueStore: QueueStore, queueService: QueueService, baseStore: BaseStore<QueueModel>, queueBusinessService: QueueBusinessService, tableBuilder: QueueRecordTableBuilderService, queueFilterDropdownService: QueueFilterDropdownService, baseQuery: BaseQuery<any>);
|
|
67
71
|
ngOnInit(): void;
|
|
68
72
|
ngOnDestroy(): void;
|
|
69
73
|
onQueueSelected(queueId: string): void;
|
|
@@ -74,6 +78,7 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
|
|
|
74
78
|
onSearchCleared(): void;
|
|
75
79
|
onPaginationChanged(event: any): void;
|
|
76
80
|
onFilterApplied(record: any): void;
|
|
81
|
+
get hasActiveFilters(): boolean;
|
|
77
82
|
onTableRowClick(record: any): void;
|
|
78
83
|
onTableSelectionChange(selection: any[]): void;
|
|
79
84
|
onAssignmentDataReady(event: {
|
|
@@ -88,12 +93,13 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
|
|
|
88
93
|
private initializeComponent;
|
|
89
94
|
private setupSearchDebounce;
|
|
90
95
|
private getAllQueueList;
|
|
91
|
-
private
|
|
96
|
+
private handleQueueData;
|
|
97
|
+
private resetSorting;
|
|
92
98
|
private filterQueues;
|
|
93
99
|
private getQueueRecordsData;
|
|
100
|
+
private getSortOrderString;
|
|
94
101
|
private resetPaginationState;
|
|
95
102
|
private resetPage;
|
|
96
|
-
private resetSearchState;
|
|
97
103
|
private clearSelection;
|
|
98
104
|
private clearFilters;
|
|
99
105
|
onSearchTermChanged(searchTerm: string): void;
|
|
@@ -109,5 +115,5 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
|
|
|
109
115
|
isAssignButtonEnabled(): boolean;
|
|
110
116
|
private getStoredQueueId;
|
|
111
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueueContainerComponent, never>;
|
|
112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QueueContainerComponent, "lib-queue-container", never, { "
|
|
118
|
+
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>;
|
|
113
119
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BaseStore } from '../../../shared';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class QueueItemComponent {
|
|
5
|
+
private baseStore;
|
|
4
6
|
filteredQueueData: any[];
|
|
5
7
|
selectedQueueId: string | null;
|
|
6
8
|
selectedStatus: string;
|
|
@@ -9,6 +11,7 @@ export declare class QueueItemComponent {
|
|
|
9
11
|
queueSelected: EventEmitter<string>;
|
|
10
12
|
statusChanged: EventEmitter<string>;
|
|
11
13
|
insertQueueRequested: EventEmitter<void>;
|
|
14
|
+
constructor(baseStore: BaseStore<any>);
|
|
12
15
|
onQueueClick(queueId: string): void;
|
|
13
16
|
onStatusChange(event: any): void;
|
|
14
17
|
onInsertQueue(): void;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { QueueModel } from '../../models/queue.model';
|
|
3
3
|
import { TableSecondaryModel } from '../../../shared/table-secondary/models/table-secondary.model';
|
|
4
4
|
import { MetaDataModel } from '../../../shared/models/meta-data.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class QueueRecordTableComponent {
|
|
6
|
+
export declare class QueueRecordTableComponent implements OnChanges {
|
|
7
|
+
sortField: string;
|
|
8
|
+
sortOrder: number;
|
|
7
9
|
table: TableSecondaryModel;
|
|
8
10
|
metaData: MetaDataModel;
|
|
9
11
|
loading: boolean;
|
|
10
12
|
selectedRows: any[];
|
|
11
|
-
|
|
13
|
+
resetSort: boolean;
|
|
14
|
+
selectedQueue: any;
|
|
12
15
|
selectionChange: EventEmitter<any[]>;
|
|
13
16
|
selectedRowsData: EventEmitter<any[]>;
|
|
14
17
|
assignmentDataReady: EventEmitter<{
|
|
@@ -20,6 +23,7 @@ export declare class QueueRecordTableComponent {
|
|
|
20
23
|
filterApplied: EventEmitter<any>;
|
|
21
24
|
sortApplied: EventEmitter<any>;
|
|
22
25
|
onSelectionChange(selection: any[]): void;
|
|
26
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
27
|
onRowClick(record: any): void;
|
|
24
28
|
onPaginationChange(event: any): void;
|
|
25
29
|
onFilterApplied(record: any): void;
|
|
@@ -27,5 +31,5 @@ export declare class QueueRecordTableComponent {
|
|
|
27
31
|
get hasData(): boolean;
|
|
28
32
|
get selectedCount(): number;
|
|
29
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueueRecordTableComponent, never>;
|
|
30
|
-
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; }; "
|
|
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>;
|
|
31
35
|
}
|
|
@@ -9,10 +9,15 @@ export declare class QueueBusinessService {
|
|
|
9
9
|
private destroy$;
|
|
10
10
|
constructor(router: Router, sessionService: SessionService, queueFilterDropdownService: QueueFilterDropdownService);
|
|
11
11
|
filterQueuesByStatus(queues: any[], status: string): any[];
|
|
12
|
+
/**
|
|
13
|
+
* The rest follow in their original order.
|
|
14
|
+
*/
|
|
15
|
+
orderQueuesByPriority(queues: any[]): any[];
|
|
12
16
|
getFirstQueueId(filteredQueues: any[]): string | null;
|
|
13
17
|
navigateToQueue(queueId: string, showQueueDataForm: boolean): void;
|
|
14
18
|
navigateToInsertQueue(): void;
|
|
15
19
|
getUserRole(): boolean;
|
|
20
|
+
getAllUserRole(): any;
|
|
16
21
|
storeSelectedQueue(queueId: string): void;
|
|
17
22
|
storeApplicationData(record: any): void;
|
|
18
23
|
createDebouncedSearch(delay?: number): import("rxjs").Observable<string>;
|
|
@@ -2,6 +2,8 @@ import { TableBuilder } from '../../shared/services/table.builder';
|
|
|
2
2
|
import { TableSecondaryModel } from '../../shared/table-secondary/models/table-secondary.model';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class QueueRecordTableBuilderService extends TableBuilder {
|
|
5
|
+
private columnStyles;
|
|
6
|
+
private getInitial;
|
|
5
7
|
buildSecondaryTable(records: any[], headerWidths?: {
|
|
6
8
|
[key: string]: string;
|
|
7
9
|
}, editPermission?: string, deletePermission?: string): TableSecondaryModel;
|
|
@@ -112,6 +112,7 @@ export declare class SHARED {
|
|
|
112
112
|
static selectedApplicationType: string;
|
|
113
113
|
static APPLICANTS: string;
|
|
114
114
|
static SECURITY_ADDRESS: string;
|
|
115
|
+
static TASKS: string;
|
|
115
116
|
}
|
|
116
117
|
export declare const widgetLayoutTypeList: {
|
|
117
118
|
name: string;
|
|
@@ -261,7 +262,12 @@ export declare const actionTableColumnWidthList: {
|
|
|
261
262
|
prompt: string;
|
|
262
263
|
isActive: string;
|
|
263
264
|
};
|
|
265
|
+
export declare const queuePriorityOrder: string[];
|
|
264
266
|
export declare const QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST: {
|
|
265
267
|
brokerName: string;
|
|
266
268
|
securityAddress: string;
|
|
269
|
+
applicants: string;
|
|
270
|
+
};
|
|
271
|
+
export declare const FIELD_DISPLAY_NAMES: {
|
|
272
|
+
[key: string]: string;
|
|
267
273
|
};
|
|
@@ -18,6 +18,9 @@ export declare class BaseQuery<T extends BaseModel> extends QueryEntity<BaseEnti
|
|
|
18
18
|
getIsApiValidated(): Observable<any>;
|
|
19
19
|
getIsShowMessage(): Observable<any>;
|
|
20
20
|
getSelectedTemplate(): Observable<any>;
|
|
21
|
+
getIsAllRowSelected(): Observable<any>;
|
|
22
|
+
getExcludedApplicationIds(): Observable<any>;
|
|
23
|
+
getSelectedQueueId(): Observable<any>;
|
|
21
24
|
getRecordChange(): Observable<any>;
|
|
22
25
|
getOnDocumentAccept(): Observable<any>;
|
|
23
26
|
getonDailogClose(): Observable<any>;
|
|
@@ -31,6 +31,9 @@ export declare class BaseStore<T extends BaseModel> extends EntityStore<BaseEnti
|
|
|
31
31
|
setAlertMessage(value: any): void;
|
|
32
32
|
setQueueList(value: any): void;
|
|
33
33
|
setUpdatedData(value: any): void;
|
|
34
|
+
setIsAllRowSelected(data: any): void;
|
|
35
|
+
setIsExcludedApplicationIds(data: any): void;
|
|
36
|
+
setSelectedQueueId(data: any): void;
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseStore<any>, never>;
|
|
35
38
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseStore<any>>;
|
|
36
39
|
}
|
|
@@ -6,6 +6,7 @@ import { MetaDataModel } from '../../models/meta-data.model';
|
|
|
6
6
|
import { BaseQuery } from '../../state/base.query';
|
|
7
7
|
import { Paginator } from 'primeng/paginator';
|
|
8
8
|
import { TableSecondaryModel } from '../models/table-secondary.model';
|
|
9
|
+
import { QueueBusinessService } from '../../../queue/services/queue-business.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A reusable table component that displays dynamic data using PrimeNG's Table.
|
|
@@ -17,6 +18,7 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
17
18
|
private activatedRoute;
|
|
18
19
|
private baseQuery;
|
|
19
20
|
private baseStore;
|
|
21
|
+
private queueBusinessService;
|
|
20
22
|
table: TableSecondaryModel;
|
|
21
23
|
metaData: MetaDataModel;
|
|
22
24
|
title: string;
|
|
@@ -26,6 +28,7 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
26
28
|
showSearchBar: boolean;
|
|
27
29
|
showNewRecordButton: boolean;
|
|
28
30
|
showRefreshButton: boolean;
|
|
31
|
+
isSelectAll: boolean;
|
|
29
32
|
pathName: string;
|
|
30
33
|
selectionMode: 'single' | 'multiple' | undefined;
|
|
31
34
|
selection: any;
|
|
@@ -50,7 +53,13 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
50
53
|
searchTerm: string;
|
|
51
54
|
filterQuery: string;
|
|
52
55
|
onPage: EventEmitter<any>;
|
|
53
|
-
|
|
56
|
+
tableNgClassExpression: string;
|
|
57
|
+
excludedApplicationIds: any[];
|
|
58
|
+
userRole: Array<string> | null;
|
|
59
|
+
isUwLogin: boolean;
|
|
60
|
+
allQueueList: any;
|
|
61
|
+
selectedQueueName: string;
|
|
62
|
+
constructor(_router: Router, service: BaseService<any>, activatedRoute: ActivatedRoute, baseQuery: BaseQuery<any>, baseStore: BaseStore<any>, queueBusinessService: QueueBusinessService);
|
|
54
63
|
/**
|
|
55
64
|
* Lifecycle hook that is called after data-bound properties are initialized.
|
|
56
65
|
* Initializes the record count and validates table headers.
|
|
@@ -82,6 +91,7 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
82
91
|
* @param {number} id - The ID of the record to edit.
|
|
83
92
|
*/
|
|
84
93
|
handleEditClick(id: number): void;
|
|
94
|
+
handleSelectAllRowData(checked: boolean): void;
|
|
85
95
|
/**
|
|
86
96
|
* Logs row data intended for editing.
|
|
87
97
|
* @param {any} rowData - The data of the row to edit.
|
|
@@ -117,6 +127,8 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
117
127
|
* @param {any} event - The new selection data.
|
|
118
128
|
*/
|
|
119
129
|
onSelectionChange(event: any): void;
|
|
130
|
+
getProgressColor(percent: number): string;
|
|
131
|
+
getProgressBackground(percent: number): string;
|
|
120
132
|
/**
|
|
121
133
|
* Emits the selected row when a row is clicked.
|
|
122
134
|
* @param {any} rowData - The data of the clicked row.
|
|
@@ -136,6 +148,25 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
136
148
|
*/
|
|
137
149
|
isRowSelected(rowData: any): boolean;
|
|
138
150
|
onSort(event: any): void;
|
|
151
|
+
/**
|
|
152
|
+
* Utility: Check if value is array (for template use)
|
|
153
|
+
*/
|
|
154
|
+
isArray(val: any): boolean;
|
|
155
|
+
shouldShowValue(col: any, rowData: any): boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Evaluates ngClass expression for dynamic styling
|
|
158
|
+
* @param {string} expression - The ngClass expression to evaluate
|
|
159
|
+
* @param {any} rowData - The row data to use in evaluation
|
|
160
|
+
* @returns {string} The evaluated CSS classes
|
|
161
|
+
*/
|
|
162
|
+
evaluateNgClass(expression: string, rowData: any): string;
|
|
163
|
+
/**
|
|
164
|
+
* Evaluates ngStyle expression for dynamic inline styles
|
|
165
|
+
* @param {string} expression - The ngStyle expression to evaluate
|
|
166
|
+
* @param {any} rowData - The row data to use in evaluation
|
|
167
|
+
* @returns {any} The evaluated style object
|
|
168
|
+
*/
|
|
169
|
+
evaluateNgStyle(expression: string, rowData: any): any;
|
|
139
170
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableSecondaryComponent, never>;
|
|
140
|
-
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; }; "searchTerm": { "alias": "searchTerm"; "required": false; }; "filterQuery": { "alias": "filterQuery"; "required": false; }; }, { "selectionChange": "selectionChange"; "rowSelectionChange": "rowSelectionChange"; "sortChanged": "sortChanged"; "onDeleteRow": "onDeleteRow"; "onPage": "onPage"; }, never, never, true, never>;
|
|
171
|
+
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>;
|
|
141
172
|
}
|
|
@@ -12,6 +12,8 @@ export declare class WidgetItemComponent implements OnInit, OnChanges, OnDestroy
|
|
|
12
12
|
widget: WidgetModel;
|
|
13
13
|
application: any;
|
|
14
14
|
widgetKey: string;
|
|
15
|
+
keyClass: string;
|
|
16
|
+
valueClass: string;
|
|
15
17
|
fieldKeyStyle: {
|
|
16
18
|
[key: string]: any;
|
|
17
19
|
};
|
|
@@ -58,6 +60,7 @@ export declare class WidgetItemComponent implements OnInit, OnChanges, OnDestroy
|
|
|
58
60
|
* @returns true if there's meaningful content, false otherwise
|
|
59
61
|
*/
|
|
60
62
|
hasHtmlContent(value: string): boolean;
|
|
63
|
+
formatDate(value: string): string;
|
|
61
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetItemComponent, never>;
|
|
62
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>;
|
|
63
66
|
}
|
|
@@ -20,8 +20,9 @@ import * as i18 from "../shared/shared.module";
|
|
|
20
20
|
import * as i19 from "primeng/sidebar";
|
|
21
21
|
import * as i20 from "primeng/timeline";
|
|
22
22
|
import * as i21 from "primeng/chart";
|
|
23
|
+
import * as i22 from "primeng/skeleton";
|
|
23
24
|
export declare class WidgetModule {
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetModule, never>;
|
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetModule, [typeof i1.WidgetContainerComponent, typeof i2.WidgetMenuComponent, typeof i3.WidgetMainComponent, typeof i4.WidgetHeaderComponent, typeof i5.WidgetFooterComponent, typeof i6.WidgetBodyComponent, typeof i7.WidgetItemComponent, typeof i8.WidgetRowTileComponent, typeof i9.WidgetMenuContainerComponent, typeof i10.WidgetMenuHeaderComponent, typeof i11.WidgetMenuBodyComponent, typeof i12.WidgetMenuItemComponent, typeof i13.CustomWidgetComponent], [typeof i14.CommonModule, typeof i15.ButtonModule, typeof i16.DividerModule, typeof i17.CardModule, typeof i18.SharedModule, typeof i19.SidebarModule, typeof i20.TimelineModule, typeof i21.ChartModule], [typeof i1.WidgetContainerComponent, typeof i9.WidgetMenuContainerComponent, typeof i13.CustomWidgetComponent]>;
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetModule, [typeof i1.WidgetContainerComponent, typeof i2.WidgetMenuComponent, typeof i3.WidgetMainComponent, typeof i4.WidgetHeaderComponent, typeof i5.WidgetFooterComponent, typeof i6.WidgetBodyComponent, typeof i7.WidgetItemComponent, typeof i8.WidgetRowTileComponent, typeof i9.WidgetMenuContainerComponent, typeof i10.WidgetMenuHeaderComponent, typeof i11.WidgetMenuBodyComponent, typeof i12.WidgetMenuItemComponent, typeof i13.CustomWidgetComponent], [typeof i14.CommonModule, typeof i15.ButtonModule, typeof i16.DividerModule, typeof i17.CardModule, typeof i18.SharedModule, typeof i19.SidebarModule, typeof i20.TimelineModule, typeof i21.ChartModule, typeof i22.SkeletonModule], [typeof i1.WidgetContainerComponent, typeof i9.WidgetMenuContainerComponent, typeof i13.CustomWidgetComponent]>;
|
|
26
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<WidgetModule>;
|
|
27
28
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { AppConfigService } from '../../shared/services/app-config.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ApplicationAssignmentService {
|
|
6
|
-
private http;
|
|
7
|
-
private appConfigService;
|
|
8
|
-
constructor(http: HttpClient, appConfigService: AppConfigService);
|
|
9
|
-
/**
|
|
10
|
-
* Assign an application to a user
|
|
11
|
-
* @param applicationId - The ID of the application to assign
|
|
12
|
-
* @param underWriterId - The ID of the user to assign the application to
|
|
13
|
-
* @returns Observable of the assignment response
|
|
14
|
-
*/
|
|
15
|
-
assignApplication(applicationId: string, underWriterId: string): Observable<any>;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationAssignmentService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationAssignmentService>;
|
|
18
|
-
}
|