@bnsights/bbsf-admin-portal 1.0.7 → 1.0.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/bnsights-bbsf-admin-portal-1.0.8.tgz +0 -0
- package/bundles/bnsights-bbsf-admin-portal.umd.js +18838 -14339
- package/bundles/bnsights-bbsf-admin-portal.umd.js.map +1 -1
- package/esm2015/lib/Pages/ActiveDirectories/active-directory-add/active-directory-add.component.js +2 -2
- package/esm2015/lib/Pages/account/account-routing.module.js +8 -2
- package/esm2015/lib/Pages/account/account.module.js +6 -3
- package/esm2015/lib/Pages/account/activation/activation.component.js +91 -0
- package/esm2015/lib/Pages/account/forgot-password/forgot-password.component.js +12 -6
- package/esm2015/lib/Pages/account/rest-password/rest-password.component.js +89 -0
- package/esm2015/lib/Pages/account/upload-license/upload-license.component.js +70 -0
- package/esm2015/lib/Pages/departments/department/department.component.js +8 -8
- package/esm2015/lib/Pages/helpCenter/help-center/help-center.component.js +3 -3
- package/esm2015/lib/Pages/helpCenter/help-center-secondlevel/help-center-secondlevel.component.js +3 -3
- package/esm2015/lib/Pages/home/home.component.js +2 -2
- package/esm2015/lib/Pages/localizations/localizations.component.js +5 -5
- package/esm2015/lib/Pages/lookups/lookup/lookup.component.js +3 -3
- package/esm2015/lib/Pages/notifications/add/add.component.js +1 -3
- package/esm2015/lib/Pages/notifications/edit/edit.component.js +1 -3
- package/esm2015/lib/Pages/notifications/template-info/template-info.component.js +2 -2
- package/esm2015/lib/Pages/notifications/templates/templates.component.js +3 -3
- package/esm2015/lib/Pages/publicHolidays/public-holiday/public-holiday.component.js +76 -82
- package/esm2015/lib/Pages/shared/Enums/ConditionRHSType.js +6 -0
- package/esm2015/lib/Pages/shared/Enums/WFActivityType.js +12 -0
- package/esm2015/lib/Pages/shared/Enums/WFVariableDataType.js +14 -0
- package/esm2015/lib/Pages/shared/Services/AccountService.service.js +21 -1
- package/esm2015/lib/Pages/shared/Services/DepartmentService.service.js +1 -1
- package/esm2015/lib/Pages/shared/Services/WorkFlowVersionService.service.js +24 -0
- package/esm2015/lib/Pages/shared/Services/WorkflowActivityService.service.js +32 -5
- package/esm2015/lib/Pages/shared/Services/WorkflowInstanceService.service.js +24 -0
- package/esm2015/lib/Pages/shared/Services/WorkflowLogVariablesService.service.js +24 -0
- package/esm2015/lib/Pages/shared/Services/WorkflowService.service.js +12 -4
- package/esm2015/lib/Pages/shared/Services/WorkflowVariablesService.service.js +12 -6
- package/esm2015/lib/Pages/shared/models/DepartmentModels/DepartmentModel.js +3 -2
- package/esm2015/lib/Pages/shared/models/UserModels/ActivationModel.js +3 -0
- package/esm2015/lib/Pages/shared/models/WorkflowModels/WFActivityVariablesModel.js +8 -0
- package/esm2015/lib/Pages/workflows/activity/workflow-activity-add/workflow-activity-add.component.js +535 -0
- package/esm2015/lib/Pages/workflows/activity/workflow-activity-edit/workflow-activity-edit.component.js +852 -0
- package/esm2015/lib/Pages/workflows/instance-info/instance-info.component.js +309 -0
- package/esm2015/lib/Pages/workflows/tabs/tabs.component.js +611 -430
- package/esm2015/lib/Pages/workflows/version-info/version-info.component.js +143 -0
- package/esm2015/lib/Pages/workflows/workflow/workflow.component.js +136 -148
- package/esm2015/lib/Pages/workflows/workflows-routing.module.js +9 -1
- package/esm2015/lib/Pages/workflows/workflows.module.js +7 -3
- package/fesm2015/bnsights-bbsf-admin-portal.js +12887 -8483
- package/fesm2015/bnsights-bbsf-admin-portal.js.map +1 -1
- package/lib/Pages/account/account.module.d.ts +10 -7
- package/lib/Pages/account/activation/activation.component.d.ts +32 -0
- package/lib/Pages/account/forgot-password/forgot-password.component.d.ts +4 -1
- package/lib/Pages/account/rest-password/rest-password.component.d.ts +32 -0
- package/lib/Pages/account/upload-license/upload-license.component.d.ts +25 -0
- package/lib/Pages/publicHolidays/public-holiday/public-holiday.component.d.ts +11 -14
- package/lib/Pages/shared/Enums/ConditionRHSType.d.ts +4 -0
- package/lib/Pages/shared/Enums/WFActivityType.d.ts +10 -0
- package/lib/Pages/shared/Enums/WFVariableDataType.d.ts +12 -0
- package/lib/Pages/shared/Services/AccountService.service.d.ts +7 -0
- package/lib/Pages/shared/Services/WorkFlowVersionService.service.d.ts +10 -0
- package/lib/Pages/shared/Services/WorkflowActivityService.service.d.ts +9 -3
- package/lib/Pages/shared/Services/WorkflowInstanceService.service.d.ts +10 -0
- package/lib/Pages/shared/Services/WorkflowLogVariablesService.service.d.ts +10 -0
- package/lib/Pages/shared/Services/WorkflowService.service.d.ts +5 -3
- package/lib/Pages/shared/Services/WorkflowVariablesService.service.d.ts +5 -4
- package/lib/Pages/shared/models/DepartmentModels/DepartmentModel.d.ts +8 -8
- package/lib/Pages/shared/models/UserModels/ActivationModel.d.ts +10 -0
- package/lib/Pages/shared/models/WorkflowModels/WFActivityVariablesModel.d.ts +13 -0
- package/lib/Pages/workflows/activity/workflow-activity-add/workflow-activity-add.component.d.ts +77 -0
- package/lib/Pages/workflows/activity/workflow-activity-edit/workflow-activity-edit.component.d.ts +83 -0
- package/lib/Pages/workflows/instance-info/instance-info.component.d.ts +81 -0
- package/lib/Pages/workflows/tabs/tabs.component.d.ts +73 -80
- package/lib/Pages/workflows/version-info/version-info.component.d.ts +41 -0
- package/lib/Pages/workflows/workflow/workflow.component.d.ts +26 -29
- package/lib/Pages/workflows/workflows.module.d.ts +19 -15
- package/package.json +3 -3
- package/bnsights-bbsf-admin-portal-1.0.7.tgz +0 -0
|
@@ -3,14 +3,17 @@ import * as i1 from "./login/login.component";
|
|
|
3
3
|
import * as i2 from "./register/register.component";
|
|
4
4
|
import * as i3 from "./account.component";
|
|
5
5
|
import * as i4 from "./forgot-password/forgot-password.component";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "@angular/
|
|
11
|
-
import * as i10 from "
|
|
6
|
+
import * as i5 from "./rest-password/rest-password.component";
|
|
7
|
+
import * as i6 from "./activation/activation.component";
|
|
8
|
+
import * as i7 from "./upload-license/upload-license.component";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "@angular/router";
|
|
11
|
+
import * as i10 from "./account-routing.module";
|
|
12
|
+
import * as i11 from "../shared/shared.module";
|
|
13
|
+
import * as i12 from "@angular/forms";
|
|
14
|
+
import * as i13 from "@bnsights/bbsf-controls";
|
|
12
15
|
export declare class AccountModule {
|
|
13
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AccountModule, [typeof i1.LoginComponent, typeof i2.RegisterComponent, typeof i3.AccountComponent, typeof i4.ForgotPasswordComponent], [typeof
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AccountModule, [typeof i1.LoginComponent, typeof i2.RegisterComponent, typeof i3.AccountComponent, typeof i4.ForgotPasswordComponent, typeof i5.RestPasswordComponent, typeof i6.ActivationComponent, typeof i7.UploadLicenseComponent], [typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.AccountRoutingModule, typeof i11.SharedModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.BBSFControlsModule], never>;
|
|
15
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<AccountModule>;
|
|
16
19
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { CustomValidation, FormOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
|
+
import { UtilityService } from '@bnsights/bbsf-utilities';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { ActivationModel } from '../../shared/models/UserModels/ActivationModel';
|
|
8
|
+
import { AccountService } from '../../shared/Services/AccountService.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ActivationComponent implements OnInit {
|
|
11
|
+
private activatedRoute;
|
|
12
|
+
private accountService;
|
|
13
|
+
utilityService: UtilityService;
|
|
14
|
+
private router;
|
|
15
|
+
Token: string;
|
|
16
|
+
ActivationModel: ActivationModel;
|
|
17
|
+
ErrorMessage: string;
|
|
18
|
+
UserName: string;
|
|
19
|
+
activateForm: FormGroup;
|
|
20
|
+
activateFormOptions: FormOptions;
|
|
21
|
+
password: TextBoxOptions;
|
|
22
|
+
confirmPassword: TextBoxOptions;
|
|
23
|
+
customValidation: CustomValidation;
|
|
24
|
+
isModelLoaded: boolean;
|
|
25
|
+
constructor(activatedRoute: ActivatedRoute, accountService: AccountService, utilityService: UtilityService, router: Router);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
getActivateModel: () => any[];
|
|
28
|
+
getActivateFunction: (model: any) => Observable<any>;
|
|
29
|
+
onSuccessHandler: (result: any) => void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActivationComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivationComponent, "lib-activation", never, {}, {}, never, never>;
|
|
32
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
3
4
|
import { FormOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
4
5
|
import { UtilityService } from '@bnsights/bbsf-utilities';
|
|
5
6
|
import { Observable } from 'rxjs';
|
|
@@ -8,13 +9,15 @@ import * as i0 from "@angular/core";
|
|
|
8
9
|
export declare class ForgotPasswordComponent implements OnInit {
|
|
9
10
|
utilityService: UtilityService;
|
|
10
11
|
private accountService;
|
|
12
|
+
private router;
|
|
11
13
|
forgotForm: FormGroup;
|
|
12
14
|
forgotFormOptions: FormOptions;
|
|
13
15
|
email: TextBoxOptions;
|
|
14
|
-
constructor(utilityService: UtilityService, accountService: AccountService);
|
|
16
|
+
constructor(utilityService: UtilityService, accountService: AccountService, router: Router);
|
|
15
17
|
ngOnInit(): void;
|
|
16
18
|
getForgotModel: () => any[];
|
|
17
19
|
getForgotFunction: (email: any) => Observable<any>;
|
|
20
|
+
onSuccessHandler: (result: any) => void;
|
|
18
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
|
|
19
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "lib-forgot-password", never, {}, {}, never, never>;
|
|
20
23
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
|
+
import { CustomValidation, FormOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
6
|
+
import { UtilityService } from '@bnsights/bbsf-utilities';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
import { ActivationModel } from '../../shared/models/UserModels/ActivationModel';
|
|
9
|
+
import { AccountService } from '../../shared/Services/AccountService.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class RestPasswordComponent implements OnInit {
|
|
12
|
+
private activatedRoute;
|
|
13
|
+
private accountService;
|
|
14
|
+
utilityService: UtilityService;
|
|
15
|
+
private router;
|
|
16
|
+
Token: string;
|
|
17
|
+
ActivationModel: ActivationModel;
|
|
18
|
+
ErrorMessage: string;
|
|
19
|
+
restForm: FormGroup;
|
|
20
|
+
restFormOptions: FormOptions;
|
|
21
|
+
password: TextBoxOptions;
|
|
22
|
+
confirmPassword: TextBoxOptions;
|
|
23
|
+
customValidation: CustomValidation;
|
|
24
|
+
isModelLoaded: boolean;
|
|
25
|
+
constructor(activatedRoute: ActivatedRoute, accountService: AccountService, utilityService: UtilityService, router: Router);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
getRestModel: () => any[];
|
|
28
|
+
getRestFunction: (model: any) => Observable<any>;
|
|
29
|
+
onSuccessHandler: (result: any) => void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RestPasswordComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RestPasswordComponent, "lib-rest-password", never, {}, {}, never, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { FileUploadOptions, FormOptions } from '@bnsights/bbsf-controls';
|
|
5
|
+
import { UtilityService } from '@bnsights/bbsf-utilities';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { AccountService } from '../../shared/Services/AccountService.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class UploadLicenseComponent implements OnInit {
|
|
10
|
+
private accountService;
|
|
11
|
+
utilityService: UtilityService;
|
|
12
|
+
private router;
|
|
13
|
+
ErrorMessage: string;
|
|
14
|
+
uploadFileForm: FormGroup;
|
|
15
|
+
uploadFileFormOptions: FormOptions;
|
|
16
|
+
licenseFileInput: FileUploadOptions;
|
|
17
|
+
constructor(accountService: AccountService, utilityService: UtilityService, router: Router);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
getAddLicenseModel: () => any[];
|
|
20
|
+
getAddLicenseFunction: (Model: any) => Observable<any>;
|
|
21
|
+
onSuccessHandler: (result: any) => void;
|
|
22
|
+
onErrorHandler: (err: any) => void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadLicenseComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadLicenseComponent, "lib-upload-license", never, {}, {}, never, never>;
|
|
25
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { CheckBoxOptions, ConfirmationModalOptions, DropdownOptions, FilterItem, FormOptions, MultiLingualTextBoxOptions, PagingOptions,
|
|
3
|
+
import { CheckBoxOptions, ConfirmationModalOptions, DropdownOptions, FilterItem, FormOptions, MultiLingualTextAreaOptions, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
4
4
|
import { PublicHolidayService } from '../../shared/Services/PublicHolidayService.service';
|
|
5
5
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
6
6
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
@@ -34,24 +34,21 @@ export declare class PublicHolidayComponent implements OnInit {
|
|
|
34
34
|
AddPublicHolidayForm: FormGroup;
|
|
35
35
|
AddPublicHolidayFormOptions: FormOptions;
|
|
36
36
|
AddName: MultiLingualTextBoxOptions;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
IsActive: CheckBoxOptions;
|
|
37
|
+
AddDescription: MultiLingualTextAreaOptions;
|
|
38
|
+
AddCountryOptions: DropdownOptions;
|
|
39
|
+
AddMonthOptions: DropdownOptions;
|
|
40
|
+
AddDayOptions: DropdownOptions;
|
|
41
|
+
AddSysName: TextBoxOptions;
|
|
42
|
+
AddIsActive: CheckBoxOptions;
|
|
44
43
|
EditPublicHolidayForm: FormGroup;
|
|
45
44
|
EditPublicHolidayFormOptions: FormOptions;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
EditDescriptionInArabic: TextAreaOptions;
|
|
45
|
+
EditName: MultiLingualTextBoxOptions;
|
|
46
|
+
EditDescription: MultiLingualTextAreaOptions;
|
|
49
47
|
EditCountryOptions: DropdownOptions;
|
|
50
48
|
EditMonthOptions: DropdownOptions;
|
|
51
49
|
EditDayOptions: DropdownOptions;
|
|
52
50
|
EditSysName: TextBoxOptions;
|
|
53
51
|
EditIsActive: CheckBoxOptions;
|
|
54
|
-
IsEditPublicHolidayModelLoaded: boolean;
|
|
55
52
|
PublicHolidayId: number;
|
|
56
53
|
deletePublicHolidayId: string;
|
|
57
54
|
DeleteConfirmationOptions: ConfirmationModalOptions;
|
|
@@ -62,10 +59,10 @@ export declare class PublicHolidayComponent implements OnInit {
|
|
|
62
59
|
initializePage(): void;
|
|
63
60
|
setPublicHolidayListResult(result: any): void;
|
|
64
61
|
searchClientSide(searchValue: any): void;
|
|
65
|
-
showAddPublicHolidayModal(
|
|
62
|
+
showAddPublicHolidayModal(addPublicHolidayModal: any): void;
|
|
66
63
|
getAddPublicHolidayModel: () => any[];
|
|
67
64
|
getAddPublicHolidayFunction: (AddModel: any) => Observable<any>;
|
|
68
|
-
showEditPublicHolidayModal(publicHolidayID: number,
|
|
65
|
+
showEditPublicHolidayModal(publicHolidayID: number, publicHolidayIDEnc: any, editPublicHolidayModal: any): void;
|
|
69
66
|
getEditPublicHolidayModel: () => any[];
|
|
70
67
|
getEditPublicHolidayFunction: (EditModel: any) => Observable<any>;
|
|
71
68
|
showDeletePublicHolidayModal(publicHolidayIdEnc: any): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum WFVariableDataType {
|
|
2
|
+
SingleLine = 23001,
|
|
3
|
+
MultiLine = 23002,
|
|
4
|
+
SingleSelection = 23003,
|
|
5
|
+
MultiSelection = 23004,
|
|
6
|
+
TrueFalse = 23005,
|
|
7
|
+
Number = 23006,
|
|
8
|
+
Date = 23007,
|
|
9
|
+
IdentifierKey = 23008,
|
|
10
|
+
Attachment = 23011,
|
|
11
|
+
DynamicUserIDList = 23012
|
|
12
|
+
}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { RequestHandlerService } from "@bnsights/bbsf-utilities";
|
|
2
|
+
import { LicenseModel } from "../models/LicenseModel/LicenseModel";
|
|
3
|
+
import { ActivationModel } from "../models/UserModels/ActivationModel";
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class AccountService {
|
|
4
6
|
private http;
|
|
5
7
|
ApiUrl: string;
|
|
6
8
|
constructor(http: RequestHandlerService);
|
|
7
9
|
forgotPassword(email: string): import("rxjs").Observable<unknown>;
|
|
10
|
+
getResetPassword(id: string): import("rxjs").Observable<unknown>;
|
|
11
|
+
resetPassword(model: ActivationModel): import("rxjs").Observable<unknown>;
|
|
12
|
+
getActivation(id: string): import("rxjs").Observable<unknown>;
|
|
13
|
+
activate(model: ActivationModel): import("rxjs").Observable<unknown>;
|
|
14
|
+
uploadLicense(File: LicenseModel): import("rxjs").Observable<unknown>;
|
|
8
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountService, never>;
|
|
9
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<AccountService>;
|
|
10
17
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RequestHandlerService } from "@bnsights/bbsf-utilities";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WorkflowVersionService {
|
|
4
|
+
private http;
|
|
5
|
+
ApiUrl: string;
|
|
6
|
+
constructor(http: RequestHandlerService);
|
|
7
|
+
getDetails(id: string): import("rxjs").Observable<unknown>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowVersionService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowVersionService>;
|
|
10
|
+
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { RequestHandlerService } from "@bnsights/bbsf-utilities";
|
|
2
2
|
import { WFActivityModel } from "../models/WorkflowModels/WFActivityModel";
|
|
3
|
+
import { WFActivityVariablesModel } from "../models/WorkflowModels/WFActivityVariablesModel";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class WorkflowActivityService {
|
|
5
6
|
private http;
|
|
6
7
|
ApiUrl: string;
|
|
7
8
|
constructor(http: RequestHandlerService);
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
loadAddDropdowns(): import("rxjs").Observable<unknown>;
|
|
10
|
+
getActivityOutcomes(versionID: number, activityType: number): import("rxjs").Observable<unknown>;
|
|
11
|
+
addWorkflowActivity(AddModel: WFActivityModel): import("rxjs").Observable<unknown>;
|
|
12
|
+
getEditWorkFlowActivityData(id: string): import("rxjs").Observable<unknown>;
|
|
13
|
+
editActivity(EditModel: WFActivityModel): import("rxjs").Observable<unknown>;
|
|
14
|
+
editPublishedActivity(EditModel: WFActivityModel): import("rxjs").Observable<unknown>;
|
|
15
|
+
getActivityWFVariables(versionID: number, activityID: number): import("rxjs").Observable<unknown>;
|
|
16
|
+
addActivityWFVariables(model: WFActivityVariablesModel): import("rxjs").Observable<unknown>;
|
|
11
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowActivityService, never>;
|
|
12
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowActivityService>;
|
|
13
19
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RequestHandlerService } from "@bnsights/bbsf-utilities";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WorkflowInstanceService {
|
|
4
|
+
private http;
|
|
5
|
+
ApiUrl: string;
|
|
6
|
+
constructor(http: RequestHandlerService);
|
|
7
|
+
getDetails(id: string): import("rxjs").Observable<unknown>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowInstanceService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowInstanceService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RequestHandlerService } from "@bnsights/bbsf-utilities";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WorkflowLogVariablesService {
|
|
4
|
+
private http;
|
|
5
|
+
ApiUrl: string;
|
|
6
|
+
constructor(http: RequestHandlerService);
|
|
7
|
+
getLogVariables(id: string): import("rxjs").Observable<unknown>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowLogVariablesService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowLogVariablesService>;
|
|
10
|
+
}
|
|
@@ -5,9 +5,11 @@ export declare class WorkflowService {
|
|
|
5
5
|
private http;
|
|
6
6
|
ApiUrl: string;
|
|
7
7
|
constructor(http: RequestHandlerService);
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
addWorkflow(AddModel: WFCreationModel): import("rxjs").Observable<unknown>;
|
|
9
|
+
getEditWorkFlowData(id: string): import("rxjs").Observable<unknown>;
|
|
10
|
+
editWorkflow(EditModel: WFCreationModel): import("rxjs").Observable<unknown>;
|
|
11
|
+
getDetails(Id: string): import("rxjs").Observable<unknown>;
|
|
12
|
+
publishWorkFlow(id: string): import("rxjs").Observable<unknown>;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowService, never>;
|
|
12
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowService>;
|
|
13
15
|
}
|
|
@@ -5,10 +5,11 @@ export declare class WorkflowVariablesService {
|
|
|
5
5
|
private http;
|
|
6
6
|
ApiUrl: string;
|
|
7
7
|
constructor(http: RequestHandlerService);
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
loadAddDropdowns(): import("rxjs").Observable<unknown>;
|
|
9
|
+
addVariable(AddModel: WFVariableModel): import("rxjs").Observable<unknown>;
|
|
10
|
+
getEditWorkFlowVariableData(id: string): import("rxjs").Observable<unknown>;
|
|
11
|
+
editVariable(EditModel: WFVariableModel): import("rxjs").Observable<unknown>;
|
|
12
|
+
deleteVariable(id: number): import("rxjs").Observable<unknown>;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowVariablesService, never>;
|
|
13
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowVariablesService>;
|
|
14
15
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EnglishArabicDTO } from "@bnsights/bbsf-controls";
|
|
2
2
|
export declare class DepartmentModel {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
id: number;
|
|
4
|
+
sectorId?: number;
|
|
5
|
+
idEncrypted: string;
|
|
6
|
+
departmentNameDTO: EnglishArabicDTO;
|
|
7
|
+
departmentName: string;
|
|
8
|
+
sectorName: string;
|
|
9
|
+
usersCount: number;
|
|
10
|
+
samAccount: string;
|
|
11
11
|
test: string;
|
|
12
12
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class WFActivityVariablesModel {
|
|
2
|
+
activityVariableDTOs: WFActivityVariableDTO[];
|
|
3
|
+
ActivityID: number;
|
|
4
|
+
}
|
|
5
|
+
export declare class WFActivityVariableDTO {
|
|
6
|
+
ID: number;
|
|
7
|
+
ActivityID: number;
|
|
8
|
+
VariableName: string;
|
|
9
|
+
IsMandatory: boolean;
|
|
10
|
+
IsEnabled: boolean;
|
|
11
|
+
IsVisible: boolean;
|
|
12
|
+
IsSystem: boolean;
|
|
13
|
+
}
|
package/lib/Pages/workflows/activity/workflow-activity-add/workflow-activity-add.component.d.ts
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { DropdownOptions, FormOptions, MultiLingualTextAreaOptions, MultiLingualTextBoxOptions, TextBoxOptions, ToggleSlideOptions } from '@bnsights/bbsf-controls';
|
|
5
|
+
import { BBSFTranslateService, RequestHandlerService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { PageInfoService } from '../../../../../public-api';
|
|
8
|
+
import { WorkflowActivityService } from '../../../shared/Services/WorkflowActivityService.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class WorkflowActivityAddComponent implements OnInit {
|
|
11
|
+
private workflowActivityService;
|
|
12
|
+
utilityService: UtilityService;
|
|
13
|
+
private activatedRoute;
|
|
14
|
+
private pageInfoService;
|
|
15
|
+
private router;
|
|
16
|
+
private requestHandlerService;
|
|
17
|
+
private bbsfTranslateService;
|
|
18
|
+
isAddFormLoaded: boolean;
|
|
19
|
+
versionID: number;
|
|
20
|
+
addworkflowActivityForm: FormGroup;
|
|
21
|
+
addworkflowActivityFormOptions: FormOptions;
|
|
22
|
+
name: MultiLingualTextBoxOptions;
|
|
23
|
+
sysName: TextBoxOptions;
|
|
24
|
+
activityType: DropdownOptions;
|
|
25
|
+
canAddOutcome: boolean;
|
|
26
|
+
ActivityTypeList: any[];
|
|
27
|
+
showParticipantContainer: boolean;
|
|
28
|
+
showParticipantPermssionSet: boolean;
|
|
29
|
+
participantTypes: DropdownOptions;
|
|
30
|
+
participantPermissionSet: DropdownOptions;
|
|
31
|
+
showDynamicControls: boolean;
|
|
32
|
+
dynamicTaskName: MultiLingualTextBoxOptions;
|
|
33
|
+
dynamicTaskDescription: MultiLingualTextAreaOptions;
|
|
34
|
+
dynamicTaskURL: TextBoxOptions;
|
|
35
|
+
dynamicTaskType: DropdownOptions;
|
|
36
|
+
dynamicCanComplete: ToggleSlideOptions;
|
|
37
|
+
showStaticControls: boolean;
|
|
38
|
+
staticOutcomeName: MultiLingualTextBoxOptions;
|
|
39
|
+
staticOutcomeSysName: TextBoxOptions;
|
|
40
|
+
staticOutcomeNextActivity: DropdownOptions;
|
|
41
|
+
staticOutcomeCanAddComment: ToggleSlideOptions;
|
|
42
|
+
showConditionControls: boolean;
|
|
43
|
+
conditionLHSDropDown: DropdownOptions;
|
|
44
|
+
conditionsDropDown: DropdownOptions;
|
|
45
|
+
conditionRHSTypeDropDown: DropdownOptions;
|
|
46
|
+
conditionRHSDropDown: DropdownOptions;
|
|
47
|
+
conditionRHSValue: TextBoxOptions;
|
|
48
|
+
showConditionRHSWFVariable: boolean;
|
|
49
|
+
outcomesOptions: any[];
|
|
50
|
+
outcomesCount: number;
|
|
51
|
+
showOutcomesContainer: boolean;
|
|
52
|
+
taskTypeList: any[];
|
|
53
|
+
participantTypeList: any[];
|
|
54
|
+
participantDataList: any[];
|
|
55
|
+
nextActivityList: any[];
|
|
56
|
+
conditionLHSWFVariableList: any[];
|
|
57
|
+
conditionRHSWFVariableList: any[];
|
|
58
|
+
conditionRHSTypeList: any[];
|
|
59
|
+
conditionList: any[];
|
|
60
|
+
constructor(workflowActivityService: WorkflowActivityService, utilityService: UtilityService, activatedRoute: ActivatedRoute, pageInfoService: PageInfoService, router: Router, requestHandlerService: RequestHandlerService, bbsfTranslateService: BBSFTranslateService);
|
|
61
|
+
ngOnInit(): Promise<void>;
|
|
62
|
+
initializePage(): void;
|
|
63
|
+
getAddWFActivityModel: () => any[];
|
|
64
|
+
getAddWFActivityFunction: (AddModel: any) => Observable<any>;
|
|
65
|
+
onAddSuccess: (result: any) => void;
|
|
66
|
+
getActivityOutcomesOptions(outComes: any[]): (number | any[])[];
|
|
67
|
+
addWFActivityOutcome(): void;
|
|
68
|
+
deleteOutcome(deletedOutcome: any): void;
|
|
69
|
+
activityTypeOnChange(activityType: any): void;
|
|
70
|
+
conditionRHSTypeOnChange(type: any): void;
|
|
71
|
+
participantTypeOnChange(participantType: any): void;
|
|
72
|
+
resetAllActivityTypeControls(): void;
|
|
73
|
+
cancelAdd(): void;
|
|
74
|
+
ngOnDestroy(): void;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowActivityAddComponent, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowActivityAddComponent, "lib-workflow-activity-add", never, {}, {}, never, never>;
|
|
77
|
+
}
|
package/lib/Pages/workflows/activity/workflow-activity-edit/workflow-activity-edit.component.d.ts
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { DropdownOptions, FormOptions, MultiLingualTextAreaOptions, MultiLingualTextBoxOptions, TextBoxOptions, ToggleSlideOptions } from '@bnsights/bbsf-controls';
|
|
5
|
+
import { BBSFTranslateService, RequestHandlerService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { PageInfoService } from '../../../../../public-api';
|
|
8
|
+
import { WorkflowActivityService } from '../../../shared/Services/WorkflowActivityService.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class WorkflowActivityEditComponent implements OnInit {
|
|
11
|
+
private workflowActivityService;
|
|
12
|
+
private pageInfoService;
|
|
13
|
+
utilityService: UtilityService;
|
|
14
|
+
private activatedRoute;
|
|
15
|
+
private router;
|
|
16
|
+
private requestHandlerService;
|
|
17
|
+
private bbsfTranslateService;
|
|
18
|
+
isEditFormLoaded: boolean;
|
|
19
|
+
versionID: number;
|
|
20
|
+
activityID: number;
|
|
21
|
+
activityIDEnc: string;
|
|
22
|
+
activityModel: any;
|
|
23
|
+
isPublished: boolean;
|
|
24
|
+
editworkflowActivityForm: FormGroup;
|
|
25
|
+
editworkflowActivityFormOptions: FormOptions;
|
|
26
|
+
name: MultiLingualTextBoxOptions;
|
|
27
|
+
canAddOutcome: boolean;
|
|
28
|
+
activityTypeID: number;
|
|
29
|
+
showActivityType: boolean;
|
|
30
|
+
sysName: TextBoxOptions;
|
|
31
|
+
activityType: DropdownOptions;
|
|
32
|
+
showParticipantContainer: boolean;
|
|
33
|
+
showParticipantPermssionSet: boolean;
|
|
34
|
+
participantTypes: DropdownOptions;
|
|
35
|
+
participantPermissionSet: DropdownOptions;
|
|
36
|
+
showDynamicControls: boolean;
|
|
37
|
+
dynamicTaskName: MultiLingualTextBoxOptions;
|
|
38
|
+
dynamicTaskDescription: MultiLingualTextAreaOptions;
|
|
39
|
+
dynamicTaskURL: TextBoxOptions;
|
|
40
|
+
dynamicTaskType: DropdownOptions;
|
|
41
|
+
dynamicCanComplete: ToggleSlideOptions;
|
|
42
|
+
showStaticControls: boolean;
|
|
43
|
+
staticOutcomeName: MultiLingualTextBoxOptions;
|
|
44
|
+
staticOutcomeSysName: TextBoxOptions;
|
|
45
|
+
staticOutcomeNextActivity: DropdownOptions;
|
|
46
|
+
staticOutcomeCanAddComment: ToggleSlideOptions;
|
|
47
|
+
showConditionControls: boolean;
|
|
48
|
+
conditionLHSDropDown: DropdownOptions;
|
|
49
|
+
conditionsDropDown: DropdownOptions;
|
|
50
|
+
conditionRHSTypeDropDown: DropdownOptions;
|
|
51
|
+
conditionRHSDropDown: DropdownOptions;
|
|
52
|
+
conditionRHSValue: TextBoxOptions;
|
|
53
|
+
showConditionRHSWFVariable: boolean;
|
|
54
|
+
ActivityTypeList: any[];
|
|
55
|
+
outcomesOptions: any[];
|
|
56
|
+
outcomesCount: number;
|
|
57
|
+
showOutcomesContainer: boolean;
|
|
58
|
+
taskTypeList: any[];
|
|
59
|
+
participantTypeList: any[];
|
|
60
|
+
participantDataList: any[];
|
|
61
|
+
nextActivityList: any[];
|
|
62
|
+
conditionLHSWFVariableList: any[];
|
|
63
|
+
conditionRHSWFVariableList: any[];
|
|
64
|
+
conditionRHSTypeList: any[];
|
|
65
|
+
conditionList: any[];
|
|
66
|
+
constructor(workflowActivityService: WorkflowActivityService, pageInfoService: PageInfoService, utilityService: UtilityService, activatedRoute: ActivatedRoute, router: Router, requestHandlerService: RequestHandlerService, bbsfTranslateService: BBSFTranslateService);
|
|
67
|
+
ngOnInit(): Promise<void>;
|
|
68
|
+
initializePage(): void;
|
|
69
|
+
getEditWFActivityModel: () => any[];
|
|
70
|
+
getEditWFActivityFunction: (editModel: any) => Observable<any>;
|
|
71
|
+
onEditSuccess: (result: any) => void;
|
|
72
|
+
getActivityOutcomesOptions(outComes: any[], isPublished: boolean): (number | any[])[];
|
|
73
|
+
addWFActivityOutcome(): void;
|
|
74
|
+
deleteOutcome(deletedOutcome: any): void;
|
|
75
|
+
activityTypeOnChange(activityType: any): void;
|
|
76
|
+
conditionRHSTypeOnChange(type: any): void;
|
|
77
|
+
participantTypeOnChange(participantType: any): void;
|
|
78
|
+
resetAllActivityTypeControls(): void;
|
|
79
|
+
cancelEdit(): void;
|
|
80
|
+
ngOnDestroy(): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowActivityEditComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowActivityEditComponent, "lib-workflow-activity-edit", never, {}, {}, never, never>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { FilterItem, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
|
+
import { AuthService, BBSFTranslateService, RequestHandlerService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
6
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
7
|
+
import { PageInfoService } from '../../../../public-api';
|
|
8
|
+
import { WorkflowInstanceService } from '../../shared/Services/WorkflowInstanceService.service';
|
|
9
|
+
import { WorkflowLogVariablesService } from '../../shared/Services/WorkflowLogVariablesService.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class InstanceInfoComponent implements OnInit {
|
|
12
|
+
private authService;
|
|
13
|
+
private workFlowInstanceService;
|
|
14
|
+
private activatedRoute;
|
|
15
|
+
private pageInfoService;
|
|
16
|
+
private bbsfTranslateService;
|
|
17
|
+
utilityService: UtilityService;
|
|
18
|
+
private wfLogVariablesService;
|
|
19
|
+
private modalService;
|
|
20
|
+
private requestHandlerService;
|
|
21
|
+
detailsForm: FormGroup;
|
|
22
|
+
instanceDetails: any;
|
|
23
|
+
instanceID: string;
|
|
24
|
+
instanceName: MultiLingualTextBoxOptions;
|
|
25
|
+
instanceCreator: TextBoxOptions;
|
|
26
|
+
instanceStatus: TextBoxOptions;
|
|
27
|
+
showInstanceDetails: boolean;
|
|
28
|
+
workFlowVariablesApiUrl: string;
|
|
29
|
+
workflowVariablesForm: FormGroup;
|
|
30
|
+
variablesInstanceIdTextBox: TextBoxOptions;
|
|
31
|
+
variableInstanceIdFilter: FilterItem;
|
|
32
|
+
searchVariablesTextBox: TextBoxOptions;
|
|
33
|
+
variablesTextInputFilter: FilterItem;
|
|
34
|
+
workFlowVariablesPagingResult: any[];
|
|
35
|
+
WorkflowVariablesPaging: PagingOptions;
|
|
36
|
+
isWFVariablesFilterLoaded: boolean;
|
|
37
|
+
workFlowTasksApiUrl: string;
|
|
38
|
+
tasksForm: FormGroup;
|
|
39
|
+
searchTasksTextBox: TextBoxOptions;
|
|
40
|
+
taskTextInputFilter: FilterItem;
|
|
41
|
+
taskInstanceIdTextBox: TextBoxOptions;
|
|
42
|
+
taskInstanceIdFilter: FilterItem;
|
|
43
|
+
tasksPagingResult: any[];
|
|
44
|
+
WorkflowTasksPaging: PagingOptions;
|
|
45
|
+
isWFTasksFilterLoaded: boolean;
|
|
46
|
+
workFlowErrorsApiUrl: string;
|
|
47
|
+
errorsForm: FormGroup;
|
|
48
|
+
searchErrorsTextBox: TextBoxOptions;
|
|
49
|
+
errorTextInputFilter: FilterItem;
|
|
50
|
+
errorInstanceIdTextBox: TextBoxOptions;
|
|
51
|
+
errorInstanceIdFilter: FilterItem;
|
|
52
|
+
errorsPagingResult: any[];
|
|
53
|
+
WorkflowErrorsPaging: PagingOptions;
|
|
54
|
+
isWFErrorsFilterLoaded: boolean;
|
|
55
|
+
workFlowLogsApiUrl: string;
|
|
56
|
+
logsForm: FormGroup;
|
|
57
|
+
searchLogsTextBox: TextBoxOptions;
|
|
58
|
+
logTextInputFilter: FilterItem;
|
|
59
|
+
logInstanceIdTextBox: TextBoxOptions;
|
|
60
|
+
logInstanceIdFilter: FilterItem;
|
|
61
|
+
logsPagingResult: any[];
|
|
62
|
+
WorkflowLogsPaging: PagingOptions;
|
|
63
|
+
isWFLogsFilterLoaded: boolean;
|
|
64
|
+
logVariablesPagingResult: any[];
|
|
65
|
+
logID: string;
|
|
66
|
+
constructor(authService: AuthService, workFlowInstanceService: WorkflowInstanceService, activatedRoute: ActivatedRoute, pageInfoService: PageInfoService, bbsfTranslateService: BBSFTranslateService, utilityService: UtilityService, wfLogVariablesService: WorkflowLogVariablesService, modalService: NgbModal, requestHandlerService: RequestHandlerService);
|
|
67
|
+
ngOnInit(): Promise<void>;
|
|
68
|
+
getDetails(): void;
|
|
69
|
+
initializeWFVariables(): void;
|
|
70
|
+
setWorkflowVariablesListResult(result: any): void;
|
|
71
|
+
initializeTasks(): void;
|
|
72
|
+
setWorkflowTasksListResult(result: any): void;
|
|
73
|
+
initializeErrors(): void;
|
|
74
|
+
setWorkflowErrorsListResult(result: any): void;
|
|
75
|
+
initializeLogs(): void;
|
|
76
|
+
setWorkflowLogsListResult(result: any): void;
|
|
77
|
+
showLogVariables(logID: string, logVariablesModal: any): void;
|
|
78
|
+
ngOnDestroy(): void;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InstanceInfoComponent, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InstanceInfoComponent, "lib-instance-info", never, {}, {}, never, never>;
|
|
81
|
+
}
|