cat-qw-lib 1.0.95 → 1.0.96

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
  }
@@ -10,7 +10,6 @@ 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';
14
13
  import * as i0 from "@angular/core";
15
14
  /**
16
15
  * Container component for managing queue-related data and interactions.
@@ -23,7 +22,6 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
23
22
  private queueBusinessService;
24
23
  private tableBuilder;
25
24
  private queueFilterDropdownService;
26
- private baseQuery;
27
25
  private destroy$;
28
26
  private searchSubject;
29
27
  queueList: QueueModel[];
@@ -65,9 +63,7 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
65
63
  }>;
66
64
  rowClick: EventEmitter<any>;
67
65
  selectionChange: EventEmitter<any[]>;
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>);
66
+ constructor(queueStore: QueueStore, queueService: QueueService, baseStore: BaseStore<QueueModel>, queueBusinessService: QueueBusinessService, tableBuilder: QueueRecordTableBuilderService, queueFilterDropdownService: QueueFilterDropdownService);
71
67
  ngOnInit(): void;
72
68
  ngOnDestroy(): void;
73
69
  onQueueSelected(queueId: string): void;
@@ -93,7 +89,7 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
93
89
  private initializeComponent;
94
90
  private setupSearchDebounce;
95
91
  private getAllQueueList;
96
- private handleQueueId;
92
+ private handleQueueData;
97
93
  private resetSorting;
98
94
  private filterQueues;
99
95
  private getQueueRecordsData;
@@ -115,5 +111,5 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
115
111
  isAssignButtonEnabled(): boolean;
116
112
  private getStoredQueueId;
117
113
  static ɵfac: i0.ɵɵFactoryDeclaration<QueueContainerComponent, 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>;
114
+ 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"; }, never, ["[user-dropdown]"], false, never>;
119
115
  }
@@ -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,6 +9,10 @@ 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;
@@ -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;
@@ -18,8 +18,6 @@ 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
21
  getRecordChange(): Observable<any>;
24
22
  getOnDocumentAccept(): Observable<any>;
25
23
  getonDailogClose(): Observable<any>;
@@ -7,6 +7,4 @@ export declare class BaseState {
7
7
  isShowMessage?: boolean;
8
8
  selectedTemplate?: string;
9
9
  updatedData?: any;
10
- isAllRowSelected?: boolean;
11
- isExcludedApplicationIds?: [];
12
10
  }
@@ -31,8 +31,6 @@ 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
34
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseStore<any>, never>;
37
35
  static ɵprov: i0.ɵɵInjectableDeclaration<BaseStore<any>>;
38
36
  }
@@ -26,7 +26,6 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
26
26
  showSearchBar: boolean;
27
27
  showNewRecordButton: boolean;
28
28
  showRefreshButton: boolean;
29
- isSelectAll: boolean;
30
29
  pathName: string;
31
30
  selectionMode: 'single' | 'multiple' | undefined;
32
31
  selection: any;
@@ -52,7 +51,6 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
52
51
  filterQuery: string;
53
52
  onPage: EventEmitter<any>;
54
53
  tableNgClassExpression: string;
55
- excludedApplicationIds: any[];
56
54
  constructor(_router: Router, service: BaseService<any>, activatedRoute: ActivatedRoute, baseQuery: BaseQuery<any>, baseStore: BaseStore<any>);
57
55
  /**
58
56
  * Lifecycle hook that is called after data-bound properties are initialized.
@@ -85,7 +83,6 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
85
83
  * @param {number} id - The ID of the record to edit.
86
84
  */
87
85
  handleEditClick(id: number): void;
88
- handleSelectAllRowData(checked: boolean): void;
89
86
  /**
90
87
  * Logs row data intended for editing.
91
88
  * @param {any} rowData - The data of the row to edit.
@@ -121,8 +118,6 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
121
118
  * @param {any} event - The new selection data.
122
119
  */
123
120
  onSelectionChange(event: any): void;
124
- getProgressColor(percent: number): string;
125
- getProgressBackground(percent: number): string;
126
121
  /**
127
122
  * Emits the selected row when a row is clicked.
128
123
  * @param {any} rowData - The data of the clicked row.
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.96",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"