tin-spa 2.9.7 → 2.9.8

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.
@@ -152,7 +152,7 @@ export interface Button {
152
152
  inHeader?: boolean;
153
153
  detailsConfig?: DetailsDialogConfig;
154
154
  setHeroField?: boolean;
155
- ignoreApproval?: boolean;
155
+ ignorePendingApproval?: boolean;
156
156
  }
157
157
  export interface Tile {
158
158
  name: string;
@@ -17,7 +17,7 @@ export declare class ButtonService {
17
17
  isTabVisible(tableConfig: TableConfig): boolean;
18
18
  getIcon(button: Button, config: TableConfig): string;
19
19
  testDisabled(button: Button, row: any, config?: TableConfig): boolean;
20
- testVisible(button: Button, row: any, config?: TableConfig): boolean;
20
+ testVisible(button: Button, row: any, tableConfig?: TableConfig): boolean;
21
21
  private hasRequiredAccess;
22
22
  private getDefaultColor;
23
23
  private getDefaultIcon;
@@ -3,16 +3,19 @@ import { Observable } from 'rxjs';
3
3
  import { HttpService } from './http.service';
4
4
  import { ActivatedRoute, Router } from '@angular/router';
5
5
  import { User } from '../classes/LibClasses';
6
+ import { AuthService } from './auth.service';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class DataServiceLib {
8
9
  private httpService;
9
10
  router: Router;
10
11
  private route;
11
- constructor(httpService: HttpService, router: Router, route: ActivatedRoute);
12
+ private authService;
13
+ constructor(httpService: HttpService, router: Router, route: ActivatedRoute, authService: AuthService);
12
14
  appConfig: AppConfig;
13
15
  private appConfigSource;
14
16
  appConfigObserv: Observable<AppConfig>;
15
17
  UpdateAppConfig(config: AppConfig): void;
18
+ myRole: any;
16
19
  capHome: CapItem;
17
20
  capAdmin: CapItem;
18
21
  capUsers: CapItem;
@@ -37,6 +40,7 @@ export declare class DataServiceLib {
37
40
  capApprovals: CapItem;
38
41
  capApprovalsConfig: CapItem;
39
42
  capNotifications: CapItem;
43
+ capSelfApproval: CapItem;
40
44
  tmpProfileuserName: string;
41
45
  isProcessing: boolean;
42
46
  departmentFormConfig: FormConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tin-spa",
3
- "version": "2.9.7",
3
+ "version": "2.9.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0"