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.
- package/esm2020/lib/classes/Classes.mjs +1 -1
- package/esm2020/lib/classes/TinCore.mjs +2 -2
- package/esm2020/lib/pages/approvals-config/approvals-config.component.mjs +14 -2
- package/esm2020/lib/pages/login/login.component.mjs +2 -1
- package/esm2020/lib/services/button.service.mjs +6 -6
- package/esm2020/lib/services/datalib.service.mjs +23 -12
- package/esm2020/lib/services/dialog.service.mjs +2 -2
- package/fesm2015/tin-spa.mjs +43 -20
- package/fesm2015/tin-spa.mjs.map +1 -1
- package/fesm2020/tin-spa.mjs +42 -19
- package/fesm2020/tin-spa.mjs.map +1 -1
- package/lib/classes/Classes.d.ts +1 -1
- package/lib/services/button.service.d.ts +1 -1
- package/lib/services/datalib.service.d.ts +5 -1
- package/package.json +1 -1
package/lib/classes/Classes.d.ts
CHANGED
|
@@ -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,
|
|
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
|
-
|
|
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;
|