cat-qw-lib 1.0.95 → 1.0.98

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.
@@ -12,7 +12,7 @@ export declare class QueueAdminListComponent extends BaseContainerComponent<Queu
12
12
  queueId: any;
13
13
  ngOnInit(): void;
14
14
  getAllQueueList(): void;
15
- handleQueueId(event: any): void;
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
  }
@@ -93,7 +93,7 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
93
93
  private initializeComponent;
94
94
  private setupSearchDebounce;
95
95
  private getAllQueueList;
96
- private handleQueueId;
96
+ private handleQueueData;
97
97
  private resetSorting;
98
98
  private filterQueues;
99
99
  private getQueueRecordsData;
@@ -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;
@@ -11,6 +11,7 @@ export declare class QueueRecordTableComponent implements OnChanges {
11
11
  loading: boolean;
12
12
  selectedRows: any[];
13
13
  resetSort: boolean;
14
+ selectedQueue: any;
14
15
  selectionChange: EventEmitter<any[]>;
15
16
  selectedRowsData: EventEmitter<any[]>;
16
17
  assignmentDataReady: EventEmitter<{
@@ -30,5 +31,5 @@ export declare class QueueRecordTableComponent implements OnChanges {
30
31
  get hasData(): boolean;
31
32
  get selectedCount(): number;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<QueueRecordTableComponent, never>;
33
- 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; }; }, { "selectionChange": "selectionChange"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; "paginationChanged": "paginationChanged"; "filterApplied": "filterApplied"; "sortApplied": "sortApplied"; }, never, never, false, 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>;
34
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>;
@@ -262,6 +262,7 @@ export declare const actionTableColumnWidthList: {
262
262
  prompt: string;
263
263
  isActive: string;
264
264
  };
265
+ export declare const queuePriorityOrder: string[];
265
266
  export declare const QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST: {
266
267
  brokerName: string;
267
268
  securityAddress: string;
@@ -20,6 +20,7 @@ export declare class BaseQuery<T extends BaseModel> extends QueryEntity<BaseEnti
20
20
  getSelectedTemplate(): Observable<any>;
21
21
  getIsAllRowSelected(): Observable<any>;
22
22
  getExcludedApplicationIds(): Observable<any>;
23
+ getSelectedQueueId(): Observable<any>;
23
24
  getRecordChange(): Observable<any>;
24
25
  getOnDocumentAccept(): Observable<any>;
25
26
  getonDailogClose(): Observable<any>;
@@ -9,4 +9,5 @@ export declare class BaseState {
9
9
  updatedData?: any;
10
10
  isAllRowSelected?: boolean;
11
11
  isExcludedApplicationIds?: [];
12
+ selectedQueueId?: string;
12
13
  }
@@ -33,6 +33,7 @@ export declare class BaseStore<T extends BaseModel> extends EntityStore<BaseEnti
33
33
  setUpdatedData(value: any): void;
34
34
  setIsAllRowSelected(data: any): void;
35
35
  setIsExcludedApplicationIds(data: any): void;
36
+ setSelectedQueueId(data: any): void;
36
37
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseStore<any>, never>;
37
38
  static ɵprov: i0.ɵɵInjectableDeclaration<BaseStore<any>>;
38
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;
@@ -53,7 +55,11 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
53
55
  onPage: EventEmitter<any>;
54
56
  tableNgClassExpression: string;
55
57
  excludedApplicationIds: any[];
56
- constructor(_router: Router, service: BaseService<any>, activatedRoute: ActivatedRoute, baseQuery: BaseQuery<any>, baseStore: BaseStore<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);
57
63
  /**
58
64
  * Lifecycle hook that is called after data-bound properties are initialized.
59
65
  * Initializes the record count and validates table headers.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-qw-lib",
3
- "version": "1.0.95",
3
+ "version": "1.0.98",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"