bpm-core 0.0.33 → 0.0.34
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/esm2022/lib/components/app-component-sections/previous-requests/previous-requests.component.mjs +67 -0
- package/esm2022/lib/components/app-component-sections/service-header/service-header.component.mjs +8 -4
- package/esm2022/lib/i18n/ar.mjs +3 -2
- package/esm2022/lib/i18n/en.mjs +3 -2
- package/esm2022/lib/pipes/status-style.pipe.mjs +57 -0
- package/esm2022/lib/services/core.service.ts.mjs +20 -7
- package/fesm2022/bpm-core.mjs +176 -48
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/lib/components/app-component-sections/previous-requests/previous-requests.component.d.ts +22 -0
- package/lib/components/app-component-sections/service-header/service-header.component.d.ts +1 -0
- package/lib/i18n/ar.d.ts +1 -0
- package/lib/i18n/en.d.ts +1 -0
- package/lib/pipes/status-style.pipe.d.ts +7 -0
- package/lib/services/core.service.ts.d.ts +1 -0
- package/package.json +2 -2
package/lib/components/app-component-sections/previous-requests/previous-requests.component.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { Router } from "@angular/router";
|
|
4
|
+
import { CoreI18nService, CoreService, SidenavService } from "../../../services";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PreviousRequestsComponent implements OnInit {
|
|
7
|
+
dialog: MatDialog;
|
|
8
|
+
readonly sidenavService: SidenavService;
|
|
9
|
+
coreService: CoreService;
|
|
10
|
+
i18n: CoreI18nService;
|
|
11
|
+
previousRequests: any[];
|
|
12
|
+
loading: boolean;
|
|
13
|
+
router: Router;
|
|
14
|
+
totalLength: number;
|
|
15
|
+
constructor(dialog: MatDialog, sidenavService: SidenavService, coreService: CoreService, i18n: CoreI18nService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
getRequests(): void;
|
|
19
|
+
viewForm(formId: string): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreviousRequestsComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PreviousRequestsComponent, "app-history", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -120,6 +120,7 @@ export declare class ServiceHeaderComponent implements AfterViewInit {
|
|
|
120
120
|
* @return {string} - The URL used to fetch the user's portrait image.
|
|
121
121
|
*/
|
|
122
122
|
private getImageUrl;
|
|
123
|
+
showPreviousRequests(): void;
|
|
123
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceHeaderComponent, never>;
|
|
124
125
|
static ɵcmp: i0.ɵɵComponentDeclaration<ServiceHeaderComponent, "core-service-header", never, { "form": { "alias": "form"; "required": false; }; "showHistory": { "alias": "showHistory"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "showApprovalHistory": { "alias": "showApprovalHistory"; "required": false; }; "approvalHistory": { "alias": "approvalHistory"; "required": false; }; "creationDate": { "alias": "creationDate"; "required": false; }; "formTitle": { "alias": "formTitle"; "required": false; }; "section": { "alias": "section"; "required": false; }; "serviceFaq": { "alias": "serviceFaq"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
125
126
|
}
|
package/lib/i18n/ar.d.ts
CHANGED
package/lib/i18n/en.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class StatusStylePipe implements PipeTransform {
|
|
4
|
+
transform(status: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusStylePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<StatusStylePipe, "statusClass", true>;
|
|
7
|
+
}
|
|
@@ -52,6 +52,7 @@ export declare class CoreService {
|
|
|
52
52
|
loadHistory(...args: any[]): import("rxjs").Observable<any>;
|
|
53
53
|
getInboxItem(...args: any[]): import("rxjs").Observable<any>;
|
|
54
54
|
prespectiveApprovers(details: any): import("rxjs").Observable<any>;
|
|
55
|
+
myRequests(details: any): import("rxjs").Observable<any>;
|
|
55
56
|
generalCallApi(body: any, type: string, options: any): import("rxjs").Observable<any>;
|
|
56
57
|
loggedInUserId(): any;
|
|
57
58
|
getShortName(name: string): string | string[];
|
package/package.json
CHANGED