cat-qw-lib 2.6.90 → 2.6.91
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 +71 -62
- package/fesm2022/cat-qw-lib.mjs.map +1 -1
- package/lib/queue/components/queue-container/queue-container.component.d.ts +3 -1
- package/lib/queue/components/queue-record-table/queue-record-table.component.d.ts +3 -1
- package/lib/shared/table-secondary/components/table-secondary.component.d.ts +6 -4
- package/package.json +1 -1
|
@@ -49,6 +49,8 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
|
|
|
49
49
|
resetSort: boolean;
|
|
50
50
|
appliedFilters: any;
|
|
51
51
|
placeholder: string;
|
|
52
|
+
/** True when the current user has only the Underwriter role (not Team Leader) - passed through to app-queue-record-table. */
|
|
53
|
+
isUwLogin: boolean;
|
|
52
54
|
/** Snapshot of the latest request; used to ignore stale responses. */
|
|
53
55
|
private latestRequestSnapshot;
|
|
54
56
|
filterDropdown: QueueFilterDropdownComponent;
|
|
@@ -121,5 +123,5 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
|
|
|
121
123
|
isAssignButtonEnabled(): boolean;
|
|
122
124
|
private getStoredQueueId;
|
|
123
125
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueueContainerComponent, never>;
|
|
124
|
-
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>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueueContainerComponent, "lib-queue-container", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "isUwLogin": { "alias": "isUwLogin"; "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>;
|
|
125
127
|
}
|
|
@@ -13,6 +13,8 @@ export declare class QueueRecordTableComponent implements OnChanges {
|
|
|
13
13
|
resetSort: boolean;
|
|
14
14
|
isShowSkeleton: boolean;
|
|
15
15
|
selectedQueue: any;
|
|
16
|
+
/** True when the current user has only the Underwriter role (not Team Leader) - passed through to lib-table-secondary. */
|
|
17
|
+
isUwLogin: boolean;
|
|
16
18
|
selectionChange: EventEmitter<any[]>;
|
|
17
19
|
selectedRowsData: EventEmitter<any[]>;
|
|
18
20
|
assignmentDataReady: EventEmitter<{
|
|
@@ -32,5 +34,5 @@ export declare class QueueRecordTableComponent implements OnChanges {
|
|
|
32
34
|
get hasData(): boolean;
|
|
33
35
|
get selectedCount(): number;
|
|
34
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueueRecordTableComponent, 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>;
|
|
37
|
+
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; }; "isUwLogin": { "alias": "isUwLogin"; "required": false; }; }, { "selectionChange": "selectionChange"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; "paginationChanged": "paginationChanged"; "filterApplied": "filterApplied"; "sortApplied": "sortApplied"; }, never, never, false, never>;
|
|
36
38
|
}
|
|
@@ -6,7 +6,6 @@ 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 { SessionService } from '../../services/session.service';
|
|
10
9
|
import { QueueBusinessService } from '../../../queue/services/queue-business.service';
|
|
11
10
|
import { QueueQuery } from '../../../queue/state/queue.query';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
@@ -17,7 +16,6 @@ import * as i0 from "@angular/core";
|
|
|
17
16
|
export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDestroy {
|
|
18
17
|
private _router;
|
|
19
18
|
private service;
|
|
20
|
-
private sessionService;
|
|
21
19
|
private baseQuery;
|
|
22
20
|
private baseStore;
|
|
23
21
|
private queueBusinessService;
|
|
@@ -60,13 +58,17 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
60
58
|
tableNgClassExpression: string;
|
|
61
59
|
excludedApplicationIds: any[];
|
|
62
60
|
userRole: Array<string> | null;
|
|
61
|
+
/**
|
|
62
|
+
* True when the current user has only the Underwriter role (not Team Leader).
|
|
63
|
+
* Set by the host app - this library has no access to the host's session/role data.
|
|
64
|
+
*/
|
|
63
65
|
isUwLogin: boolean;
|
|
64
66
|
allQueueList: any;
|
|
65
67
|
selectedQueueName: string;
|
|
66
68
|
columnStyles: any;
|
|
67
69
|
paginatorFirst: number;
|
|
68
70
|
private expressionCache;
|
|
69
|
-
constructor(_router: Router, service: BaseService<any>,
|
|
71
|
+
constructor(_router: Router, service: BaseService<any>, baseQuery: BaseQuery<any>, baseStore: BaseStore<any>, queueBusinessService: QueueBusinessService, queueQuery: QueueQuery);
|
|
70
72
|
/**
|
|
71
73
|
* Lifecycle hook that is called after data-bound properties are initialized.
|
|
72
74
|
* Initializes the record count and validates table headers.
|
|
@@ -205,5 +207,5 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
205
207
|
getColumnAlignment(columnName: string): string;
|
|
206
208
|
getSwitchCase(rowData: any, col: any): string;
|
|
207
209
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableSecondaryComponent, never>;
|
|
208
|
-
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>;
|
|
210
|
+
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; }; "isUwLogin": { "alias": "isUwLogin"; "required": false; }; }, { "selectionChange": "selectionChange"; "rowSelectionChange": "rowSelectionChange"; "sortChanged": "sortChanged"; "onDeleteRow": "onDeleteRow"; "onPage": "onPage"; }, never, never, true, never>;
|
|
209
211
|
}
|