cat-qw-lib 2.0.9 → 2.1.1
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/README.md +63 -63
- package/fesm2022/cat-qw-lib.mjs +151 -151
- package/fesm2022/cat-qw-lib.mjs.map +1 -1
- package/lib/queue/services/queue-business.service.d.ts +0 -1
- package/lib/shared/services/session.service.d.ts +1 -0
- package/lib/shared/table-secondary/components/table-secondary.component.d.ts +4 -3
- package/package.json +1 -1
- package/src/assets/icons/confirm-icon.svg +4 -4
|
@@ -17,7 +17,6 @@ export declare class QueueBusinessService {
|
|
|
17
17
|
navigateToQueue(queueId: string, showQueueDataForm: boolean): void;
|
|
18
18
|
navigateToInsertQueue(): void;
|
|
19
19
|
getUserRole(): boolean;
|
|
20
|
-
getAllUserRole(): any;
|
|
21
20
|
storeSelectedQueue(queueId: string): void;
|
|
22
21
|
storeApplicationData(record: any): void;
|
|
23
22
|
createDebouncedSearch(delay?: number): import("rxjs").Observable<string>;
|
|
@@ -7,6 +7,7 @@ export declare class SessionService {
|
|
|
7
7
|
setUserSession(data: any): void;
|
|
8
8
|
getUserPermissions(): any;
|
|
9
9
|
getUserSession(): any;
|
|
10
|
+
getAllUserRole(): any;
|
|
10
11
|
getSessionID(): number;
|
|
11
12
|
clearSession(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SessionService, never>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
3
|
import { BaseService } from '../../state/base.service';
|
|
4
4
|
import { BaseStore } from '../../state/base.store';
|
|
5
5
|
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';
|
|
9
10
|
import { QueueBusinessService } from '../../../queue/services/queue-business.service';
|
|
10
11
|
import { QueueQuery } from '../../../queue/state/queue.query';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
@@ -16,7 +17,7 @@ import * as i0 from "@angular/core";
|
|
|
16
17
|
export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDestroy {
|
|
17
18
|
private _router;
|
|
18
19
|
private service;
|
|
19
|
-
private
|
|
20
|
+
private sessionService;
|
|
20
21
|
private baseQuery;
|
|
21
22
|
private baseStore;
|
|
22
23
|
private queueBusinessService;
|
|
@@ -61,7 +62,7 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
61
62
|
isUwLogin: boolean;
|
|
62
63
|
allQueueList: any;
|
|
63
64
|
selectedQueueName: string;
|
|
64
|
-
constructor(_router: Router, service: BaseService<any>,
|
|
65
|
+
constructor(_router: Router, service: BaseService<any>, sessionService: SessionService, baseQuery: BaseQuery<any>, baseStore: BaseStore<any>, queueBusinessService: QueueBusinessService, queueQuery: QueueQuery);
|
|
65
66
|
/**
|
|
66
67
|
* Lifecycle hook that is called after data-bound properties are initialized.
|
|
67
68
|
* Initializes the record count and validates table headers.
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M0.959961 7.91992C0.959961 4.05393 4.09397 0.919922 7.95996 0.919922C11.826 0.919922 14.96 4.05393 14.96 7.91992C14.96 11.7859 11.826 14.9199 7.95996 14.9199C4.09397 14.9199 0.959961 11.7859 0.959961 7.91992Z" fill="#22C55E"/>
|
|
3
|
-
<path d="M7.12625 9.31121L11.1512 5.28621L11.7638 5.90746L7.12625 10.5537L4.34375 7.76246L4.95625 7.14996L7.12625 9.31121Z" fill="white"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M0.959961 7.91992C0.959961 4.05393 4.09397 0.919922 7.95996 0.919922C11.826 0.919922 14.96 4.05393 14.96 7.91992C14.96 11.7859 11.826 14.9199 7.95996 14.9199C4.09397 14.9199 0.959961 11.7859 0.959961 7.91992Z" fill="#22C55E"/>
|
|
3
|
+
<path d="M7.12625 9.31121L11.1512 5.28621L11.7638 5.90746L7.12625 10.5537L4.34375 7.76246L4.95625 7.14996L7.12625 9.31121Z" fill="white"/>
|
|
4
|
+
</svg>
|