vc-layout 3.0.4 → 4.0.0
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/fesm2022/vc-layout.mjs +315 -565
- package/fesm2022/vc-layout.mjs.map +1 -1
- package/index.d.ts +755 -5
- package/package.json +1 -1
- package/lib/components/ai-assistant/ai-assistant-container.component.d.ts +0 -25
- package/lib/components/ai-assistant/assistant-state.config.d.ts +0 -11
- package/lib/components/global-alert/global-alert/global-alert.component.d.ts +0 -27
- package/lib/components/global-alert/global-alert.module.d.ts +0 -8
- package/lib/components/header/ai-assistant/ai-assistant.component.d.ts +0 -12
- package/lib/components/header/business-cycle/business-cycle.component.d.ts +0 -90
- package/lib/components/header/create-workflow/create-workflow.component.d.ts +0 -10
- package/lib/components/header/header-container/header-container.component.d.ts +0 -38
- package/lib/components/header/header.module.d.ts +0 -23
- package/lib/components/header/queue/queue.component.d.ts +0 -12
- package/lib/components/header/search/search.component.d.ts +0 -21
- package/lib/components/header/support/support.component.d.ts +0 -10
- package/lib/components/header/user-details/user-details.component.d.ts +0 -14
- package/lib/components/product-list/module-list/module-list.component.d.ts +0 -51
- package/lib/components/product-list/preference-list/preference-list.component.d.ts +0 -17
- package/lib/components/product-list/product-list-container/product-list-container.component.d.ts +0 -10
- package/lib/components/product-list/product-list.module.d.ts +0 -13
- package/lib/components/sub-menu/sub-menu-container/sub-menu-container.component.d.ts +0 -13
- package/lib/components/sub-menu/sub-menu.module.d.ts +0 -9
- package/lib/configurations.d.ts +0 -4
- package/lib/constants/alerts.constant.d.ts +0 -1
- package/lib/constants/api.constant.d.ts +0 -6
- package/lib/constants/app-url.constant.d.ts +0 -1
- package/lib/constants/assets.constants.d.ts +0 -1
- package/lib/constants/assistant.constants.d.ts +0 -2
- package/lib/constants/business-cycle.constant.d.ts +0 -2
- package/lib/constants/product-list.constant.d.ts +0 -5
- package/lib/shared/pipe/check-create-permission.pipe.d.ts +0 -7
- package/lib/shared/pipe/date-format.pipe.d.ts +0 -7
- package/lib/shared/pipe/get-file-url.pipe.d.ts +0 -10
- package/lib/shared/pipe/get-module-icon.pipe.d.ts +0 -7
- package/lib/shared/pipe/pipes.module.d.ts +0 -12
- package/lib/shared/pipe/safe-url.pipe.d.ts +0 -10
- package/lib/shared/services/RBAC.service.d.ts +0 -25
- package/lib/shared/services/api.service.d.ts +0 -39
- package/lib/shared/services/business-cycle.service.d.ts +0 -51
- package/lib/shared/services/layout.service.d.ts +0 -10
- package/lib/shared/services/local-storage.service.d.ts +0 -8
- package/lib/shared/services/product-list.service.d.ts +0 -31
- package/lib/shared/ui-kit/avatar/avatar/avatar.component.d.ts +0 -12
- package/lib/shared/ui-kit/avatar/avatar.module.d.ts +0 -9
- package/lib/shared/ui-kit/formgroup/checkbox/checkbox.component.d.ts +0 -16
- package/lib/shared/ui-kit/formgroup/click-outside.directive.d.ts +0 -10
- package/lib/shared/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +0 -13
- package/lib/shared/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.d.ts +0 -13
- package/lib/shared/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +0 -15
- package/lib/shared/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +0 -8
- package/lib/shared/ui-kit/formgroup/cs-select/cs-select.component.d.ts +0 -36
- package/lib/shared/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +0 -15
- package/lib/shared/ui-kit/formgroup/formgroup.module.d.ts +0 -19
- package/lib/shared/ui-kit/formgroup/pipes/pascal.pipe.d.ts +0 -7
- package/lib/shared/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +0 -7
- package/lib/shared/ui-kit/page-loader/page-loader.component.d.ts +0 -5
- package/lib/shared/ui-kit/popover/popover-event.directive.d.ts +0 -10
- package/lib/shared/ui-kit/popover/popover-longpress.directive.d.ts +0 -16
- package/lib/shared/ui-kit/popover/popover.component.d.ts +0 -28
- package/lib/shared/ui-kit/popover/popover.directive.d.ts +0 -17
- package/lib/shared/ui-kit/popover/popover.module.d.ts +0 -11
- package/lib/shared/ui-kit/popover/popover.service.d.ts +0 -12
- package/lib/shared/ui-kit/tooltip/tooltip.directive.d.ts +0 -27
- package/lib/shared/ui-kit/tooltip/tooltip.module.d.ts +0 -8
- package/lib/vc-layout.component.d.ts +0 -10
- package/lib/vc-layout.module.d.ts +0 -10
- package/lib/vc-layout.service.d.ts +0 -6
- package/public-api.d.ts +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vc-layout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x || 20.x || 21.x || 22.x || 23.x || 24.x ",
|
|
6
6
|
"@angular/core": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x || 20.x || 21.x || 22.x || 23.x || 24.x "
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { LocalStorageService } from '../../shared/services/local-storage.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class VcAiAssistantComponent implements OnInit {
|
|
5
|
-
private localStorageService;
|
|
6
|
-
isAiAssistantInitialized: boolean;
|
|
7
|
-
isAiAssistantMaximized: boolean;
|
|
8
|
-
isAiAssistantVisible: boolean;
|
|
9
|
-
aiAssistantUrl: string;
|
|
10
|
-
set isAiAssistantOpen(value: boolean);
|
|
11
|
-
aiAssistantVisibility: EventEmitter<boolean>;
|
|
12
|
-
constructor(localStorageService: LocalStorageService);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
onWindowMessage(event: MessageEvent): void;
|
|
15
|
-
private applyAssistantState;
|
|
16
|
-
openAiAssistant(): void;
|
|
17
|
-
private handleAssistantMessage;
|
|
18
|
-
private updateAssistantContext;
|
|
19
|
-
private restoreAssistantState;
|
|
20
|
-
getAiAssistantContainerClasses(): {
|
|
21
|
-
[klass: string]: boolean;
|
|
22
|
-
};
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VcAiAssistantComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VcAiAssistantComponent, "vc-ai-assistant-container", never, { "aiAssistantUrl": { "alias": "aiAssistantUrl"; "required": false; }; "isAiAssistantOpen": { "alias": "isAiAssistantOpen"; "required": false; }; }, { "aiAssistantVisibility": "aiAssistantVisibility"; }, never, never, false, never>;
|
|
25
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface AssistantStateInterface {
|
|
2
|
-
initialize: boolean;
|
|
3
|
-
maximize: boolean;
|
|
4
|
-
visible: boolean;
|
|
5
|
-
assistant_state: 0 | 1;
|
|
6
|
-
}
|
|
7
|
-
export declare const AssistantStates: {
|
|
8
|
-
maximize: AssistantStateInterface;
|
|
9
|
-
minimize: AssistantStateInterface;
|
|
10
|
-
close: AssistantStateInterface;
|
|
11
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ApiService } from '../../../shared/services/api.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GlobalAlertComponent {
|
|
5
|
-
private apiService;
|
|
6
|
-
activeIndex: number;
|
|
7
|
-
messages: Array<any>;
|
|
8
|
-
mailAlert: any;
|
|
9
|
-
isNotificationVisible: boolean;
|
|
10
|
-
subscriptionData: any;
|
|
11
|
-
feature: any;
|
|
12
|
-
subscriptionStatus: EventEmitter<any>;
|
|
13
|
-
constructor(apiService: ApiService);
|
|
14
|
-
setSubscriptionInfo(): void;
|
|
15
|
-
getOrgDetails(): void;
|
|
16
|
-
setMessages(subscriptionData: any): void;
|
|
17
|
-
/**
|
|
18
|
-
* If the response is true, then push the message to the array. If the response is false, then remove
|
|
19
|
-
* the message from the array.
|
|
20
|
-
* </code>
|
|
21
|
-
* @param {any} res - any = {
|
|
22
|
-
*/
|
|
23
|
-
setMailAlert(res: any): void;
|
|
24
|
-
getPasswordResetUrl(): string;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalAlertComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GlobalAlertComponent, "vc-global-alert", never, { "feature": { "alias": "feature"; "required": false; }; }, { "subscriptionStatus": "subscriptionStatus"; }, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./global-alert/global-alert.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class GlobalAlertModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalAlertModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GlobalAlertModule, [typeof i1.GlobalAlertComponent], [typeof i2.CommonModule], [typeof i1.GlobalAlertComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<GlobalAlertModule>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AiAssistantComponent implements OnInit {
|
|
4
|
-
ASSETS: any;
|
|
5
|
-
isAiAssistantOpen: boolean;
|
|
6
|
-
openAiAssistant: EventEmitter<boolean>;
|
|
7
|
-
constructor();
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
onClick(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AiAssistantComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AiAssistantComponent, "vc-ai-assistant", never, { "isAiAssistantOpen": { "alias": "isAiAssistantOpen"; "required": false; }; }, { "openAiAssistant": "openAiAssistant"; }, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { AuthorizerService } from '@vcomply/authorizer';
|
|
3
|
-
import { BusinessCycleService } from '../../../shared/services/business-cycle.service';
|
|
4
|
-
import { ApiService } from '../../../shared/services/api.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BusinessCycleComponent implements OnInit {
|
|
7
|
-
private authService;
|
|
8
|
-
private businessCycleService;
|
|
9
|
-
private apiService;
|
|
10
|
-
cycleToShow: string;
|
|
11
|
-
businessCycleArr: Array<string>;
|
|
12
|
-
hiddenCycle: Array<number>;
|
|
13
|
-
tempBusinessCycleArr: Array<string>;
|
|
14
|
-
tempHiddenCycle: Array<number>;
|
|
15
|
-
businessCyclesList: Array<any>;
|
|
16
|
-
businessCycleList: Array<any>;
|
|
17
|
-
tempSelectedCycle: any[];
|
|
18
|
-
userId: number;
|
|
19
|
-
selectedBusinessCycle: any;
|
|
20
|
-
businessCycleChange: EventEmitter<any>;
|
|
21
|
-
orgDetails: any;
|
|
22
|
-
constructor(authService: AuthorizerService, businessCycleService: BusinessCycleService, apiService: ApiService);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
getOrgDetails(): void;
|
|
25
|
-
private initializeTempSelectedCycle;
|
|
26
|
-
setSelectedBusinessCycle(): void;
|
|
27
|
-
/**
|
|
28
|
-
* #### Description
|
|
29
|
-
* it will set a new key in every cycle
|
|
30
|
-
* key will use for disabled or enable the cycle from business cycle list.
|
|
31
|
-
* @param businessCycle this the business cycle list
|
|
32
|
-
*/
|
|
33
|
-
setBusinessCycleKey(businessCycle: any): void;
|
|
34
|
-
/**
|
|
35
|
-
* #### Description
|
|
36
|
-
* it will check the cycle if it is not checked.
|
|
37
|
-
* if it has checked then it will uncheck that cycle.
|
|
38
|
-
* @param cycle checked or unchecked cycle from business cycle list.
|
|
39
|
-
* @param index it give the index value of business cycle list which is selected.
|
|
40
|
-
*/
|
|
41
|
-
selectCycle(cycle: any, index: number): void;
|
|
42
|
-
/**
|
|
43
|
-
* #### Description
|
|
44
|
-
*
|
|
45
|
-
* need to check cycle includes in selected cycle array
|
|
46
|
-
* Determines whether selected cycle is
|
|
47
|
-
* @param selectedCycle selected Cycle which user checked or auto selected cycle.
|
|
48
|
-
* @param cycle all indivisible cycle of business cycle of the organization.
|
|
49
|
-
* @returns boolean value is cycle exist in selected cycle or not.
|
|
50
|
-
*/
|
|
51
|
-
isSelectedCycle(selectedCycle: any, cycle: any): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* #### Description
|
|
54
|
-
*
|
|
55
|
-
* set selected businessCycle to temp business cycle indivisible if there is two selected cycle
|
|
56
|
-
* Sets temp selected cycle
|
|
57
|
-
* @param cycle selected business cycle from local storage
|
|
58
|
-
*/
|
|
59
|
-
setTempSelectedCycle(cycle: any): void;
|
|
60
|
-
/**
|
|
61
|
-
* #### Description
|
|
62
|
-
* when user select one cycle then their besides cycles are enable and other are disabled.
|
|
63
|
-
* if user select two cycles then all the cycles get disabled except selected cycles.
|
|
64
|
-
*
|
|
65
|
-
* In businessCycleList array we set a isDisabled key, we are set it true when need to disabled the cycle.
|
|
66
|
-
*/
|
|
67
|
-
setCycleEnableDisable(): void;
|
|
68
|
-
/**
|
|
69
|
-
* #### Description
|
|
70
|
-
* When user click apply then selected cycle is set in local storage.
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
setBusinessCycle(): void;
|
|
74
|
-
setSingleSelectedCycle(businessCycleObject: any, isFutureDates: (cycle: any) => boolean): void;
|
|
75
|
-
setMultipleSelectedCycles(businessCycleObject: any, isFutureDates: (cycle: any) => boolean): void;
|
|
76
|
-
/**
|
|
77
|
-
* #### Description
|
|
78
|
-
* when user click cancel then it will close the popover.
|
|
79
|
-
* remove temp value from term selected array and set the previous selected cycle in it.
|
|
80
|
-
*/
|
|
81
|
-
cancelBusinessCycle(): void;
|
|
82
|
-
/**
|
|
83
|
-
* #### Description
|
|
84
|
-
* this will set the string of business cycle which will display in the header.
|
|
85
|
-
* @param cycle object which is selected and apply. the same object will store in local storage.
|
|
86
|
-
*/
|
|
87
|
-
setCycleToShow(cycle: any): void;
|
|
88
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BusinessCycleComponent, never>;
|
|
89
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BusinessCycleComponent, "vc-business-cycle", never, { "orgDetails": { "alias": "orgDetails"; "required": false; }; }, { "businessCycleChange": "businessCycleChange"; }, never, never, false, never>;
|
|
90
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CreateWorkflowComponent implements OnInit {
|
|
4
|
-
iframeLoading: boolean;
|
|
5
|
-
openWorkflow: EventEmitter<any>;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CreateWorkflowComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CreateWorkflowComponent, "vc-create-workflow", never, { "iframeLoading": { "alias": "iframeLoading"; "required": false; }; }, { "openWorkflow": "openWorkflow"; }, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ApiService } from '../../../shared/services/api.service';
|
|
3
|
-
import { LayoutService } from '../../../shared/services/layout.service';
|
|
4
|
-
import { ActivatedRoute } from '@angular/router';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class HeaderContainerComponent implements OnInit, OnDestroy {
|
|
7
|
-
apiService: ApiService;
|
|
8
|
-
private layoutService;
|
|
9
|
-
private router;
|
|
10
|
-
ASSETS: any;
|
|
11
|
-
isXmasCapVisible: boolean;
|
|
12
|
-
showAnimation: boolean;
|
|
13
|
-
private animationInterval;
|
|
14
|
-
showBusinessCycle: string[];
|
|
15
|
-
currentUrl: string;
|
|
16
|
-
defaultURL: string;
|
|
17
|
-
isAiAssistantEnabled: boolean;
|
|
18
|
-
showSearch: boolean;
|
|
19
|
-
featureFlag: any;
|
|
20
|
-
isAdvanceSearch: boolean;
|
|
21
|
-
iframeLoading: boolean;
|
|
22
|
-
isAiAssistantOpen: boolean;
|
|
23
|
-
businessCycleChange: EventEmitter<any>;
|
|
24
|
-
openDialog: EventEmitter<any>;
|
|
25
|
-
onSearchAction: EventEmitter<any>;
|
|
26
|
-
openAiAssistant: EventEmitter<boolean>;
|
|
27
|
-
constructor(apiService: ApiService, layoutService: LayoutService, router: ActivatedRoute);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
businessCycleChangeHandler(event: any): void;
|
|
31
|
-
onRouterChange(): void;
|
|
32
|
-
get isBusinessCycleVisible(): boolean;
|
|
33
|
-
checkAiAssistantEnabled(): void;
|
|
34
|
-
checkSnowFallVisibility(): void;
|
|
35
|
-
checkXmasCapVisibility(): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderContainerComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderContainerComponent, "vc-header-container", never, { "showSearch": { "alias": "showSearch"; "required": false; }; "featureFlag": { "alias": "featureFlag"; "required": false; }; "isAdvanceSearch": { "alias": "isAdvanceSearch"; "required": false; }; "iframeLoading": { "alias": "iframeLoading"; "required": false; }; "isAiAssistantOpen": { "alias": "isAiAssistantOpen"; "required": false; }; }, { "businessCycleChange": "businessCycleChange"; "openDialog": "openDialog"; "onSearchAction": "onSearchAction"; "openAiAssistant": "openAiAssistant"; }, never, never, false, never>;
|
|
38
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./header-container/header-container.component";
|
|
3
|
-
import * as i2 from "./business-cycle/business-cycle.component";
|
|
4
|
-
import * as i3 from "./search/search.component";
|
|
5
|
-
import * as i4 from "./create-workflow/create-workflow.component";
|
|
6
|
-
import * as i5 from "./queue/queue.component";
|
|
7
|
-
import * as i6 from "./user-details/user-details.component";
|
|
8
|
-
import * as i7 from "./support/support.component";
|
|
9
|
-
import * as i8 from "./ai-assistant/ai-assistant.component";
|
|
10
|
-
import * as i9 from "../ai-assistant/ai-assistant-container.component";
|
|
11
|
-
import * as i10 from "@angular/common";
|
|
12
|
-
import * as i11 from "../../shared/ui-kit/tooltip/tooltip.module";
|
|
13
|
-
import * as i12 from "../../shared/ui-kit/avatar/avatar.module";
|
|
14
|
-
import * as i13 from "../../shared/ui-kit/popover/popover.module";
|
|
15
|
-
import * as i14 from "../../shared/ui-kit/formgroup/formgroup.module";
|
|
16
|
-
import * as i15 from "../global-alert/global-alert.module";
|
|
17
|
-
import * as i16 from "../../shared/pipe/pipes.module";
|
|
18
|
-
import * as i17 from "@angular/forms";
|
|
19
|
-
export declare class HeaderModule {
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, [typeof i1.HeaderContainerComponent, typeof i2.BusinessCycleComponent, typeof i3.SearchComponent, typeof i4.CreateWorkflowComponent, typeof i5.QueueComponent, typeof i6.UserDetailsComponent, typeof i7.SupportComponent, typeof i8.AiAssistantComponent, typeof i9.VcAiAssistantComponent], [typeof i10.CommonModule, typeof i11.TooltipModule, typeof i12.AvatarModule, typeof i13.PopoverModule, typeof i14.FormgroupModule, typeof i15.GlobalAlertModule, typeof i16.PipesModule, typeof i17.FormsModule, typeof i14.FormgroupModule], [typeof i1.HeaderContainerComponent, typeof i9.VcAiAssistantComponent]>;
|
|
22
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<HeaderModule>;
|
|
23
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ApiService } from '../../../shared/services/api.service';
|
|
2
|
-
import { LayoutService } from '../../../shared/services/layout.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class QueueComponent {
|
|
5
|
-
apiService: ApiService;
|
|
6
|
-
private layoutService;
|
|
7
|
-
queueURL: string;
|
|
8
|
-
constructor(apiService: ApiService, layoutService: LayoutService);
|
|
9
|
-
private setQueueURl;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QueueComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QueueComponent, "vc-queue", never, {}, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SearchComponent implements OnInit {
|
|
5
|
-
private renderer;
|
|
6
|
-
private router;
|
|
7
|
-
searchValue: string;
|
|
8
|
-
isDivClicked: boolean;
|
|
9
|
-
isAdvanceSearch: boolean;
|
|
10
|
-
searchArea: ElementRef;
|
|
11
|
-
searchBox: ElementRef;
|
|
12
|
-
onSearchAction: EventEmitter<any>;
|
|
13
|
-
constructor(renderer: Renderer2, router: ActivatedRoute);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
onKeyUp(event: any): void;
|
|
16
|
-
onSearch(type: string, searchValue: string): void;
|
|
17
|
-
onCrossClick(): void;
|
|
18
|
-
onRouterChange(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "vc-search", never, { "isAdvanceSearch": { "alias": "isAdvanceSearch"; "required": false; }; }, { "onSearchAction": "onSearchAction"; }, never, never, false, never>;
|
|
21
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SupportComponent implements OnInit {
|
|
4
|
-
ASSETS: any;
|
|
5
|
-
openSupport: EventEmitter<any>;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SupportComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SupportComponent, "vc-support", never, {}, { "openSupport": "openSupport"; }, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { LayoutService } from '../../../shared/services/layout.service';
|
|
2
|
-
import { AuthorizerService } from '@vcomply/authorizer';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UserDetailsComponent {
|
|
5
|
-
private layoutService;
|
|
6
|
-
private authService;
|
|
7
|
-
userDetails: any;
|
|
8
|
-
subscriptionDetails: any;
|
|
9
|
-
constructor(layoutService: LayoutService, authService: AuthorizerService);
|
|
10
|
-
editProfile(): void;
|
|
11
|
-
logout(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserDetailsComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserDetailsComponent, "vc-user-details", never, { "userDetails": { "alias": "userDetails"; "required": false; }; "subscriptionDetails": { "alias": "subscriptionDetails"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
|
-
import { ProductListService } from '../../../shared/services/product-list.service';
|
|
3
|
-
import { ApiService } from '../../../shared/services/api.service';
|
|
4
|
-
import { RbacService } from '../../../shared/services/RBAC.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ModuleListComponent implements OnChanges, OnInit {
|
|
7
|
-
private productListService;
|
|
8
|
-
private apiService;
|
|
9
|
-
private rbacService;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
CODES: any;
|
|
12
|
-
featureFlag: any;
|
|
13
|
-
activeModule: string;
|
|
14
|
-
isSubMenuVisible: boolean;
|
|
15
|
-
onToggleSubmenu: EventEmitter<any>;
|
|
16
|
-
ASSETS: any;
|
|
17
|
-
PRODUCT_LIST: any;
|
|
18
|
-
assessmentPermission: Array<any>;
|
|
19
|
-
constructor(productListService: ProductListService, apiService: ApiService, rbacService: RbacService);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
ngOnChanges(): void;
|
|
22
|
-
/**
|
|
23
|
-
* Handles the toggle event of the submenu for each product.
|
|
24
|
-
*
|
|
25
|
-
* @param eachProduct - The product object for which the submenu is being toggled.
|
|
26
|
-
* @returns Returns false to prevent the default behavior.
|
|
27
|
-
*/
|
|
28
|
-
onSubMenuToggle(eachProduct: any): void;
|
|
29
|
-
/**
|
|
30
|
-
* Checks the module subscription and updates the product list accordingly.
|
|
31
|
-
* Subscribes to the `subscriptionDetail$` observable from the `apiService` and updates the `PRODUCT_LIST` property of the component based on the received data.
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* This method is typically called when the component is initialized or when the subscription details change.
|
|
35
|
-
*/
|
|
36
|
-
private checkModuleSubscription;
|
|
37
|
-
private setLoader;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the product list by mapping each product in the PRODUCT_LIST array.
|
|
40
|
-
* Each product's callback is set to the onSubMenuToggle method bound to the current instance.
|
|
41
|
-
* The product's URL is set using the setProductClickCallback method of the productListService,
|
|
42
|
-
* passing the product and the featureFlag as arguments. If the returned URL is null or undefined,
|
|
43
|
-
* an empty string is assigned to the product's URL property.
|
|
44
|
-
*/
|
|
45
|
-
private assessmentPermissionCheck;
|
|
46
|
-
private setProductList;
|
|
47
|
-
private getUserDetails;
|
|
48
|
-
private setCasePermission;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModuleListComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModuleListComponent, "vc-module-list", never, { "featureFlag": { "alias": "featureFlag"; "required": false; }; "activeModule": { "alias": "activeModule"; "required": false; }; "isSubMenuVisible": { "alias": "isSubMenuVisible"; "required": false; }; }, { "onToggleSubmenu": "onToggleSubmenu"; }, never, never, false, never>;
|
|
51
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { LayoutService } from '../../../shared/services/layout.service';
|
|
3
|
-
import { ApiService } from '../../../shared/services/api.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PreferenceListComponent implements OnInit {
|
|
6
|
-
private layoutService;
|
|
7
|
-
private apiService;
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
PREFERENCE_LIST: any;
|
|
10
|
-
activeModule: string;
|
|
11
|
-
constructor(layoutService: LayoutService, apiService: ApiService);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
setLoader(): void;
|
|
14
|
-
setUrl(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PreferenceListComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PreferenceListComponent, "vc-preference-list", never, { "activeModule": { "alias": "activeModule"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
package/lib/components/product-list/product-list-container/product-list-container.component.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ProductListContainerComponent {
|
|
4
|
-
featureFlag: any;
|
|
5
|
-
activeModule: string;
|
|
6
|
-
isSubMenuVisible: boolean;
|
|
7
|
-
onToggleSubmenu: EventEmitter<any>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListContainerComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductListContainerComponent, "vc-product-list-container", never, { "featureFlag": { "alias": "featureFlag"; "required": false; }; "activeModule": { "alias": "activeModule"; "required": false; }; "isSubMenuVisible": { "alias": "isSubMenuVisible"; "required": false; }; }, { "onToggleSubmenu": "onToggleSubmenu"; }, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./product-list-container/product-list-container.component";
|
|
3
|
-
import * as i2 from "./module-list/module-list.component";
|
|
4
|
-
import * as i3 from "./preference-list/preference-list.component";
|
|
5
|
-
import * as i4 from "../../shared/ui-kit/page-loader/page-loader.component";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "../../shared/ui-kit/tooltip/tooltip.module";
|
|
8
|
-
import * as i7 from "../../shared/pipe/pipes.module";
|
|
9
|
-
export declare class ProductListModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductListModule, [typeof i1.ProductListContainerComponent, typeof i2.ModuleListComponent, typeof i3.PreferenceListComponent, typeof i4.PageLoaderComponent], [typeof i5.CommonModule, typeof i6.TooltipModule, typeof i7.PipesModule], [typeof i1.ProductListContainerComponent]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ProductListModule>;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SubMenuContainerComponent implements OnInit {
|
|
4
|
-
subMenuData: any[];
|
|
5
|
-
eachProduct: any;
|
|
6
|
-
moduleTitle: string;
|
|
7
|
-
onCloseSubMenu: EventEmitter<any>;
|
|
8
|
-
constructor();
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
onSubMenuClose(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubMenuContainerComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubMenuContainerComponent, "vc-sub-menu-container", never, { "subMenuData": { "alias": "subMenuData"; "required": false; }; "eachProduct": { "alias": "eachProduct"; "required": false; }; "moduleTitle": { "alias": "moduleTitle"; "required": false; }; }, { "onCloseSubMenu": "onCloseSubMenu"; }, never, ["*"], false, never>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./sub-menu-container/sub-menu-container.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../../shared/ui-kit/tooltip/tooltip.module";
|
|
5
|
-
export declare class SubMenuModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubMenuModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SubMenuModule, [typeof i1.SubMenuContainerComponent], [typeof i2.CommonModule, typeof i3.TooltipModule], [typeof i1.SubMenuContainerComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SubMenuModule>;
|
|
9
|
-
}
|
package/lib/configurations.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const GLOBAL_ALERTS: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const IN_APP_URL: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ASSETS: any;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CreatePermissionPipe implements PipeTransform {
|
|
4
|
-
transform(value: any, args?: any): any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CreatePermissionPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CreatePermissionPipe, "checkPermission", false>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DateFormatPipe implements PipeTransform {
|
|
4
|
-
transform(value: string): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatPipe, "dateFormat", false>;
|
|
7
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { Configurations } from '../../configurations';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GetFileUrlPipe implements PipeTransform {
|
|
5
|
-
environmentValue: any;
|
|
6
|
-
constructor(config?: Configurations);
|
|
7
|
-
transform(value: any, ...args: any[]): string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetFileUrlPipe, [{ optional: true; }]>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetFileUrlPipe, "getFileUrl", false>;
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GetModuleIconPipe implements PipeTransform {
|
|
4
|
-
transform(module: string, activeModule: string): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetModuleIconPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetModuleIconPipe, "getModuleIcon", false>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./get-file-url.pipe";
|
|
3
|
-
import * as i2 from "./check-create-permission.pipe";
|
|
4
|
-
import * as i3 from "./date-format.pipe";
|
|
5
|
-
import * as i4 from "./get-module-icon.pipe";
|
|
6
|
-
import * as i5 from "./safe-url.pipe";
|
|
7
|
-
import * as i6 from "@angular/common";
|
|
8
|
-
export declare class PipesModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.GetFileUrlPipe, typeof i2.CreatePermissionPipe, typeof i3.DateFormatPipe, typeof i4.GetModuleIconPipe, typeof i5.SafeUrlPipe], [typeof i6.CommonModule], [typeof i1.GetFileUrlPipe, typeof i2.CreatePermissionPipe, typeof i3.DateFormatPipe, typeof i4.GetModuleIconPipe, typeof i5.SafeUrlPipe]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SafeUrlPipe implements PipeTransform {
|
|
5
|
-
private sanitizer;
|
|
6
|
-
constructor(sanitizer: DomSanitizer);
|
|
7
|
-
transform(url: string | null | undefined): SafeResourceUrl;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SafeUrlPipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SafeUrlPipe, "SafeUrl", false>;
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ApiService } from './api.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RbacService {
|
|
4
|
-
private apiService;
|
|
5
|
-
permissions: any;
|
|
6
|
-
constructor(apiService: ApiService);
|
|
7
|
-
/**
|
|
8
|
-
* Retrieves the RBAC (Role-Based Access Control) permissions for a given module.
|
|
9
|
-
*
|
|
10
|
-
* @param MODULE - The module for which to retrieve the permissions. Must be one of the following values:
|
|
11
|
-
* - 'assessment'
|
|
12
|
-
* - 'audit'
|
|
13
|
-
* - 'issue'
|
|
14
|
-
* - 'policy'
|
|
15
|
-
* - 'risk'
|
|
16
|
-
* - 'assurance'
|
|
17
|
-
* - 'compliance'
|
|
18
|
-
* - 'organization'
|
|
19
|
-
*
|
|
20
|
-
* @returns An array of strings representing the permissions for the specified module.
|
|
21
|
-
*/
|
|
22
|
-
getRBACPermissions(MODULE: 'assessment' | 'audit' | 'issue' | 'policy' | 'risk' | 'assurance' | 'compliance' | 'organization' | 'case' | 'settings'): any;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RbacService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RbacService>;
|
|
25
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { Configurations } from '../../configurations';
|
|
4
|
-
import { AuthorizerService } from '@vcomply/authorizer';
|
|
5
|
-
import { LayoutService } from './layout.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ApiService {
|
|
8
|
-
private http;
|
|
9
|
-
private authService;
|
|
10
|
-
private layoutService;
|
|
11
|
-
env: any;
|
|
12
|
-
userDetails: any;
|
|
13
|
-
isLoading: BehaviorSubject<boolean>;
|
|
14
|
-
userId: string;
|
|
15
|
-
private httpOptions;
|
|
16
|
-
subscriptionDetail$: BehaviorSubject<any | null>;
|
|
17
|
-
organizationDetail$: BehaviorSubject<any | null>;
|
|
18
|
-
loggedUserDetail$: BehaviorSubject<any | null>;
|
|
19
|
-
queueCount$: BehaviorSubject<any | null>;
|
|
20
|
-
constructor(http: HttpClient, authService: AuthorizerService, layoutService: LayoutService, config?: Configurations);
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* API definitions
|
|
24
|
-
*/
|
|
25
|
-
private subscriptionList;
|
|
26
|
-
private organizationDetails;
|
|
27
|
-
private loggedInUserDetails;
|
|
28
|
-
private queueCount;
|
|
29
|
-
/**
|
|
30
|
-
* ALL API CALLS
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
getSubscriptionList(): void;
|
|
34
|
-
getOrgDetails(id: number): void;
|
|
35
|
-
getUserDetails(_id: string): void;
|
|
36
|
-
getQueueCount(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApiService, [null, null, null, { optional: true; }]>;
|
|
38
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApiService>;
|
|
39
|
-
}
|