vc-layout 3.0.5 → 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.
Files changed (135) hide show
  1. package/fesm2022/vc-layout.mjs +368 -611
  2. package/fesm2022/vc-layout.mjs.map +1 -1
  3. package/index.d.ts +755 -5
  4. package/package.json +3 -5
  5. package/esm2022/lib/components/ai-assistant/ai-assistant-container.component.mjs +0 -109
  6. package/esm2022/lib/components/ai-assistant/assistant-state.config.mjs +0 -21
  7. package/esm2022/lib/components/global-alert/global-alert/global-alert.component.mjs +0 -191
  8. package/esm2022/lib/components/global-alert/global-alert.module.mjs +0 -18
  9. package/esm2022/lib/components/header/ai-assistant/ai-assistant.component.mjs +0 -42
  10. package/esm2022/lib/components/header/business-cycle/business-cycle.component.mjs +0 -292
  11. package/esm2022/lib/components/header/create-workflow/create-workflow.component.mjs +0 -21
  12. package/esm2022/lib/components/header/header-container/header-container.component.mjs +0 -133
  13. package/esm2022/lib/components/header/header.module.mjs +0 -77
  14. package/esm2022/lib/components/header/queue/queue.component.mjs +0 -59
  15. package/esm2022/lib/components/header/search/search.component.mjs +0 -138
  16. package/esm2022/lib/components/header/support/support.component.mjs +0 -31
  17. package/esm2022/lib/components/header/user-details/user-details.component.mjs +0 -36
  18. package/esm2022/lib/components/product-list/module-list/module-list.component.mjs +0 -202
  19. package/esm2022/lib/components/product-list/preference-list/preference-list.component.mjs +0 -100
  20. package/esm2022/lib/components/product-list/product-list-container/product-list-container.component.mjs +0 -42
  21. package/esm2022/lib/components/product-list/product-list.module.mjs +0 -31
  22. package/esm2022/lib/components/sub-menu/sub-menu-container/sub-menu-container.component.mjs +0 -106
  23. package/esm2022/lib/components/sub-menu/sub-menu.module.mjs +0 -19
  24. package/esm2022/lib/configurations.mjs +0 -6
  25. package/esm2022/lib/constants/alerts.constant.mjs +0 -7
  26. package/esm2022/lib/constants/api.constant.mjs +0 -7
  27. package/esm2022/lib/constants/app-url.constant.mjs +0 -22
  28. package/esm2022/lib/constants/assets.constants.mjs +0 -36
  29. package/esm2022/lib/constants/assistant.constants.mjs +0 -3
  30. package/esm2022/lib/constants/business-cycle.constant.mjs +0 -42
  31. package/esm2022/lib/constants/product-list.constant.mjs +0 -124
  32. package/esm2022/lib/shared/pipe/check-create-permission.pipe.mjs +0 -22
  33. package/esm2022/lib/shared/pipe/date-format.pipe.mjs +0 -35
  34. package/esm2022/lib/shared/pipe/get-file-url.pipe.mjs +0 -22
  35. package/esm2022/lib/shared/pipe/get-module-icon.pipe.mjs +0 -22
  36. package/esm2022/lib/shared/pipe/pipes.module.mjs +0 -42
  37. package/esm2022/lib/shared/pipe/safe-url.pipe.mjs +0 -23
  38. package/esm2022/lib/shared/services/RBAC.service.mjs +0 -57
  39. package/esm2022/lib/shared/services/api.service.mjs +0 -127
  40. package/esm2022/lib/shared/services/business-cycle.service.mjs +0 -113
  41. package/esm2022/lib/shared/services/layout.service.mjs +0 -41
  42. package/esm2022/lib/shared/services/local-storage.service.mjs +0 -41
  43. package/esm2022/lib/shared/services/product-list.service.mjs +0 -79
  44. package/esm2022/lib/shared/ui-kit/avatar/avatar/avatar.component.mjs +0 -43
  45. package/esm2022/lib/shared/ui-kit/avatar/avatar.module.mjs +0 -19
  46. package/esm2022/lib/shared/ui-kit/formgroup/checkbox/checkbox.component.mjs +0 -39
  47. package/esm2022/lib/shared/ui-kit/formgroup/click-outside.directive.mjs +0 -29
  48. package/esm2022/lib/shared/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +0 -28
  49. package/esm2022/lib/shared/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.mjs +0 -32
  50. package/esm2022/lib/shared/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +0 -30
  51. package/esm2022/lib/shared/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +0 -14
  52. package/esm2022/lib/shared/ui-kit/formgroup/cs-select/cs-select.component.mjs +0 -102
  53. package/esm2022/lib/shared/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +0 -35
  54. package/esm2022/lib/shared/ui-kit/formgroup/formgroup.module.mjs +0 -65
  55. package/esm2022/lib/shared/ui-kit/formgroup/pipes/pascal.pipe.mjs +0 -19
  56. package/esm2022/lib/shared/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +0 -24
  57. package/esm2022/lib/shared/ui-kit/page-loader/page-loader.component.mjs +0 -41
  58. package/esm2022/lib/shared/ui-kit/popover/popover-event.directive.mjs +0 -28
  59. package/esm2022/lib/shared/ui-kit/popover/popover-longpress.directive.mjs +0 -48
  60. package/esm2022/lib/shared/ui-kit/popover/popover.component.mjs +0 -141
  61. package/esm2022/lib/shared/ui-kit/popover/popover.directive.mjs +0 -82
  62. package/esm2022/lib/shared/ui-kit/popover/popover.module.mjs +0 -23
  63. package/esm2022/lib/shared/ui-kit/popover/popover.service.mjs +0 -15
  64. package/esm2022/lib/shared/ui-kit/tooltip/tooltip.directive.mjs +0 -156
  65. package/esm2022/lib/shared/ui-kit/tooltip/tooltip.module.mjs +0 -18
  66. package/esm2022/lib/vc-layout.component.mjs +0 -19
  67. package/esm2022/lib/vc-layout.module.mjs +0 -24
  68. package/esm2022/lib/vc-layout.service.mjs +0 -14
  69. package/esm2022/public-api.mjs +0 -15
  70. package/esm2022/vc-layout.mjs +0 -5
  71. package/lib/components/ai-assistant/ai-assistant-container.component.d.ts +0 -25
  72. package/lib/components/ai-assistant/assistant-state.config.d.ts +0 -11
  73. package/lib/components/global-alert/global-alert/global-alert.component.d.ts +0 -27
  74. package/lib/components/global-alert/global-alert.module.d.ts +0 -8
  75. package/lib/components/header/ai-assistant/ai-assistant.component.d.ts +0 -12
  76. package/lib/components/header/business-cycle/business-cycle.component.d.ts +0 -90
  77. package/lib/components/header/create-workflow/create-workflow.component.d.ts +0 -10
  78. package/lib/components/header/header-container/header-container.component.d.ts +0 -38
  79. package/lib/components/header/header.module.d.ts +0 -23
  80. package/lib/components/header/queue/queue.component.d.ts +0 -12
  81. package/lib/components/header/search/search.component.d.ts +0 -21
  82. package/lib/components/header/support/support.component.d.ts +0 -10
  83. package/lib/components/header/user-details/user-details.component.d.ts +0 -14
  84. package/lib/components/product-list/module-list/module-list.component.d.ts +0 -51
  85. package/lib/components/product-list/preference-list/preference-list.component.d.ts +0 -17
  86. package/lib/components/product-list/product-list-container/product-list-container.component.d.ts +0 -10
  87. package/lib/components/product-list/product-list.module.d.ts +0 -13
  88. package/lib/components/sub-menu/sub-menu-container/sub-menu-container.component.d.ts +0 -13
  89. package/lib/components/sub-menu/sub-menu.module.d.ts +0 -9
  90. package/lib/configurations.d.ts +0 -4
  91. package/lib/constants/alerts.constant.d.ts +0 -1
  92. package/lib/constants/api.constant.d.ts +0 -6
  93. package/lib/constants/app-url.constant.d.ts +0 -1
  94. package/lib/constants/assets.constants.d.ts +0 -1
  95. package/lib/constants/assistant.constants.d.ts +0 -2
  96. package/lib/constants/business-cycle.constant.d.ts +0 -2
  97. package/lib/constants/product-list.constant.d.ts +0 -5
  98. package/lib/shared/pipe/check-create-permission.pipe.d.ts +0 -7
  99. package/lib/shared/pipe/date-format.pipe.d.ts +0 -7
  100. package/lib/shared/pipe/get-file-url.pipe.d.ts +0 -10
  101. package/lib/shared/pipe/get-module-icon.pipe.d.ts +0 -7
  102. package/lib/shared/pipe/pipes.module.d.ts +0 -12
  103. package/lib/shared/pipe/safe-url.pipe.d.ts +0 -10
  104. package/lib/shared/services/RBAC.service.d.ts +0 -25
  105. package/lib/shared/services/api.service.d.ts +0 -39
  106. package/lib/shared/services/business-cycle.service.d.ts +0 -51
  107. package/lib/shared/services/layout.service.d.ts +0 -10
  108. package/lib/shared/services/local-storage.service.d.ts +0 -8
  109. package/lib/shared/services/product-list.service.d.ts +0 -31
  110. package/lib/shared/ui-kit/avatar/avatar/avatar.component.d.ts +0 -12
  111. package/lib/shared/ui-kit/avatar/avatar.module.d.ts +0 -9
  112. package/lib/shared/ui-kit/formgroup/checkbox/checkbox.component.d.ts +0 -16
  113. package/lib/shared/ui-kit/formgroup/click-outside.directive.d.ts +0 -10
  114. package/lib/shared/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +0 -13
  115. package/lib/shared/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.d.ts +0 -13
  116. package/lib/shared/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +0 -15
  117. package/lib/shared/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +0 -8
  118. package/lib/shared/ui-kit/formgroup/cs-select/cs-select.component.d.ts +0 -36
  119. package/lib/shared/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +0 -15
  120. package/lib/shared/ui-kit/formgroup/formgroup.module.d.ts +0 -19
  121. package/lib/shared/ui-kit/formgroup/pipes/pascal.pipe.d.ts +0 -7
  122. package/lib/shared/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +0 -7
  123. package/lib/shared/ui-kit/page-loader/page-loader.component.d.ts +0 -5
  124. package/lib/shared/ui-kit/popover/popover-event.directive.d.ts +0 -10
  125. package/lib/shared/ui-kit/popover/popover-longpress.directive.d.ts +0 -16
  126. package/lib/shared/ui-kit/popover/popover.component.d.ts +0 -28
  127. package/lib/shared/ui-kit/popover/popover.directive.d.ts +0 -17
  128. package/lib/shared/ui-kit/popover/popover.module.d.ts +0 -11
  129. package/lib/shared/ui-kit/popover/popover.service.d.ts +0 -12
  130. package/lib/shared/ui-kit/tooltip/tooltip.directive.d.ts +0 -27
  131. package/lib/shared/ui-kit/tooltip/tooltip.module.d.ts +0 -8
  132. package/lib/vc-layout.component.d.ts +0 -10
  133. package/lib/vc-layout.module.d.ts +0 -10
  134. package/lib/vc-layout.service.d.ts +0 -6
  135. package/public-api.d.ts +0 -11
@@ -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
- }
@@ -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
- }
@@ -1,4 +0,0 @@
1
- export declare class Configurations {
2
- envConfig: any;
3
- constructor();
4
- }
@@ -1 +0,0 @@
1
- export declare const GLOBAL_ALERTS: any;
@@ -1,6 +0,0 @@
1
- export declare const API: {
2
- subscriptionList: string;
3
- organizationDetails: string;
4
- userDetails: string;
5
- queueCount: string;
6
- };
@@ -1 +0,0 @@
1
- export declare const IN_APP_URL: any;
@@ -1 +0,0 @@
1
- export declare const ASSETS: any;
@@ -1,2 +0,0 @@
1
- export declare const ASSISTANT_URL = "/assistant";
2
- export declare const ASSISTANT_CONTEXT_KEY = "assistant_context";
@@ -1,2 +0,0 @@
1
- export declare const BUSINESS_CYCLE_URL: string[];
2
- export declare const FUTURE_DATES: string;
@@ -1,5 +0,0 @@
1
- export declare const PRODUCT_LIST: any;
2
- export declare const PREFERENCE_LIST: any;
3
- export declare const CODES: string[];
4
- export declare const ASSESSMENT_PERMISSIONS: string[];
5
- export declare const CASE_PERMISSIONS: string[];
@@ -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
- }
@@ -1,51 +0,0 @@
1
- import { AuthorizerService } from '@vcomply/authorizer';
2
- import { BehaviorSubject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class BusinessCycleService {
5
- private authorizer;
6
- businessCycleList$: BehaviorSubject<any>;
7
- orgDetails$: BehaviorSubject<any>;
8
- selectedBusinessCycle$: BehaviorSubject<any>;
9
- changeBusinessCycle$: BehaviorSubject<boolean>;
10
- constructor(authorizer: AuthorizerService);
11
- /**
12
- * #### Description
13
- * it will check the business cycle stored in local is same business cycle as the user login
14
- * Determines whether correct business cycle is
15
- * @returns true if correct business cycle
16
- */
17
- isCorrectBusinessCycle(cycle: any): boolean;
18
- /**
19
- * #### Description
20
- * set business cycle in local storage if local storage don't have business cycle.
21
- * Sets business cycle
22
- * @param businessCycleList list of all the cycle of the organization
23
- */
24
- setBusinessCycle(businessCycleList: any): void;
25
- setSelectedCycleArray(cycle: any): string[];
26
- /**
27
- * #### Description
28
- * if business cycle is found in local the it will set in this selectedBusinessCycle$ variable.
29
- * it is subject variable so we can use it in different component
30
- */
31
- isBusinessCycleAvailable(): void;
32
- /**
33
- * #### Description
34
- *
35
- * it will convert date from dd-mm-yyyy to dd mmm yyyy formate
36
- * Converts date
37
- * @param date
38
- * @returns date in this formate DD MMM YYYY
39
- */
40
- convertDate(date: string): string;
41
- /**
42
- * #### Description
43
- *
44
- * Converts numeric alpha
45
- * @param str = "01-05-2021-30-04-2022"
46
- * @returns = "01 May 2021 - 30 Apr 2022"
47
- */
48
- convertNumericAlpha(str: any): string;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<BusinessCycleService, never>;
50
- static ɵprov: i0.ɵɵInjectableDeclaration<BusinessCycleService>;
51
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LayoutService {
3
- baseUrl: string;
4
- pathName: string;
5
- constructor();
6
- private setBaseUrl;
7
- ConvertUtcToLocalDateTime(timestamp: number, TimeZone: string): string | 0;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<LayoutService>;
10
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LocalStorageService {
3
- getItem<T = any>(key: string): T | null;
4
- setItem(key: string, value: unknown): void;
5
- removeItem(key: string): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
8
- }
@@ -1,31 +0,0 @@
1
- import { RbacService } from './RBAC.service';
2
- import * as i0 from "@angular/core";
3
- export declare class ProductListService {
4
- private rbacService;
5
- constructor(rbacService: RbacService);
6
- /**
7
- * Filters the subscribed products based on the subscription flags.
8
- *
9
- * @param productList - The list of products.
10
- * @param subscriptionList - The subscription flags.
11
- * @returns The filtered list of subscribed products.
12
- */
13
- subscribedProduct(productList?: any, subscriptionList?: any): any;
14
- /**
15
- * Sets the product click callback based on the product details and feature flag.
16
- *
17
- * @param productDetails - The details of the product.
18
- * @param featureFlag - The feature flag.
19
- * @returns The URL for the product click callback.
20
- */
21
- setProductClickCallback(productDetails: any): any;
22
- /**
23
- * Sets the compliance URL based on the feature flag and RBAC permissions.
24
- *
25
- * @param featureFlag - The feature flag.
26
- * @returns The URL for the compliance page.
27
- */
28
- private setComplianceURL;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductListService, never>;
30
- static ɵprov: i0.ɵɵInjectableDeclaration<ProductListService>;
31
- }
@@ -1,12 +0,0 @@
1
- import { AuthorizerService } from '@vcomply/authorizer';
2
- import * as i0 from "@angular/core";
3
- export declare class AvatarComponent {
4
- private authService;
5
- baseUrl: string;
6
- shortName: string;
7
- userInfo: any;
8
- type: 'md' | 'sm' | 'xs' | 'x-lg';
9
- constructor(authService: AuthorizerService);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "vc-avatar", never, { "userInfo": { "alias": "userInfo"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
12
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./avatar/avatar.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../pipe/pipes.module";
5
- export declare class AvatarModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AvatarModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarModule, [typeof i1.AvatarComponent], [typeof i2.CommonModule, typeof i3.PipesModule], [typeof i1.AvatarComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<AvatarModule>;
9
- }
@@ -1,16 +0,0 @@
1
- import { ControlValueAccessor } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class CheckboxComponent implements ControlValueAccessor {
4
- disabled: boolean | any;
5
- checked: boolean | any;
6
- indeterminateEnabled: boolean | any;
7
- onChanged: (value: any) => void;
8
- onTouched: () => void;
9
- writeValue(value: boolean): void;
10
- registerOnChange(fn: any): void;
11
- registerOnTouched(fn: any): void;
12
- setDisabledState(isDisabled: boolean): void;
13
- valueChanged(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "vui-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminateEnabled": { "alias": "indeterminateEnabled"; "required": false; }; }, {}, never, ["*"], false, never>;
16
- }
@@ -1,10 +0,0 @@
1
- import { ElementRef, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ClickOutsideDirective {
4
- private elementRef;
5
- constructor(elementRef: ElementRef);
6
- clickOutside: EventEmitter<any>;
7
- onMouseEnter(targetElement: any): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, {}, { "clickOutside": "clickOutside"; }, never, never, false, never>;
10
- }
@@ -1,13 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CsCheckboxComponent implements OnInit {
4
- disabled: boolean;
5
- ngValue: any;
6
- value: any;
7
- ngValueChange: EventEmitter<any>;
8
- constructor();
9
- ngOnInit(): void;
10
- valueChanged(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<CsCheckboxComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<CsCheckboxComponent, "app-cs-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "ngValue": { "alias": "ngValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "ngValueChange": "ngValueChange"; }, never, ["*"], false, never>;
13
- }
@@ -1,13 +0,0 @@
1
- import { OnInit, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CsCheckboxIndeterminateComponent implements OnInit {
4
- disabled: boolean;
5
- ngValue: any;
6
- value: any;
7
- ngValueChange: EventEmitter<any>;
8
- constructor();
9
- ngOnInit(): void;
10
- valueChanged(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<CsCheckboxIndeterminateComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<CsCheckboxIndeterminateComponent, "app-cs-checkbox-indeterminate", never, { "disabled": { "alias": "disabled"; "required": false; }; "ngValue": { "alias": "ngValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "ngValueChange": "ngValueChange"; }, never, ["*"], false, never>;
13
- }
@@ -1,15 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CsRadioComponent implements OnInit {
4
- disabled: boolean;
5
- readonly: boolean;
6
- name: string;
7
- checked: boolean;
8
- value: any;
9
- checkedEvent: EventEmitter<any>;
10
- constructor();
11
- ngOnInit(): void;
12
- changeState(evt: any): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<CsRadioComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<CsRadioComponent, "app-cs-radio", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "checkedEvent": "checkedEvent"; }, never, ["*"], false, never>;
15
- }
@@ -1,8 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CsRadioGroupComponent implements OnInit {
4
- constructor();
5
- ngOnInit(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<CsRadioGroupComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<CsRadioGroupComponent, "app-cs-radio-group", never, {}, {}, never, never, false, never>;
8
- }
@@ -1,36 +0,0 @@
1
- import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CsSelectComponent implements OnChanges {
4
- dataList: any[];
5
- dropdownLabel: string;
6
- displayProperty: string;
7
- selectedValue: string;
8
- isRequired: boolean;
9
- dropdownSubLabel: string;
10
- disabled: boolean;
11
- option: ElementRef;
12
- selectedData: EventEmitter<any>;
13
- selectedValueChange: EventEmitter<any>;
14
- placeholder: any;
15
- stylex: any;
16
- valueKey: any;
17
- multipleSelect: any;
18
- colorProperty: string;
19
- colorSelected: string;
20
- colorCode: string;
21
- dropdownOption: boolean;
22
- positionReset: boolean;
23
- getLeft: number;
24
- getTop: number;
25
- getWidth: number;
26
- maxWidth: number;
27
- activeDoropdown: boolean;
28
- private optionList;
29
- set content(content: ElementRef);
30
- ngOnChanges(changes: SimpleChanges): void;
31
- openDropdown(event: any): void;
32
- selectOption(selectedData: any): void;
33
- closeDropdown(): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<CsSelectComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<CsSelectComponent, "app-cs-select", never, { "dataList": { "alias": "dataList"; "required": false; }; "dropdownLabel": { "alias": "dropdownLabel"; "required": false; }; "displayProperty": { "alias": "displayProperty"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "dropdownSubLabel": { "alias": "dropdownSubLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "stylex": { "alias": "stylex"; "required": false; }; "valueKey": { "alias": "valueKey"; "required": false; }; "multipleSelect": { "alias": "multipleSelect"; "required": false; }; "colorProperty": { "alias": "colorProperty"; "required": false; }; "colorSelected": { "alias": "colorSelected"; "required": false; }; }, { "selectedData": "selectedData"; "selectedValueChange": "selectedValueChange"; }, never, never, false, never>;
36
- }
@@ -1,15 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CsSwitchComponent implements OnInit {
4
- disabled: boolean;
5
- ngValue: any;
6
- value: any;
7
- ngValueChange: EventEmitter<any>;
8
- tooltipMessage: any;
9
- position: any;
10
- constructor();
11
- ngOnInit(): void;
12
- valueChanged(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<CsSwitchComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<CsSwitchComponent, "app-cs-switch", never, { "disabled": { "alias": "disabled"; "required": false; }; "ngValue": { "alias": "ngValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltipMessage": { "alias": "tooltipMessage"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "ngValueChange": "ngValueChange"; }, never, never, false, never>;
15
- }
@@ -1,19 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./cs-checkbox/cs-checkbox.component";
3
- import * as i2 from "./cs-radio/cs-radio.component";
4
- import * as i3 from "./cs-switch/cs-switch.component";
5
- import * as i4 from "./cs-radio-group/cs-radio-group.component";
6
- import * as i5 from "./cs-select/cs-select.component";
7
- import * as i6 from "./pipes/pascal.pipe";
8
- import * as i7 from "./pipes/searchMultiSelect.pipe";
9
- import * as i8 from "./click-outside.directive";
10
- import * as i9 from "./cs-checkbox-indeterminate/cs-checkbox-indeterminate.component";
11
- import * as i10 from "./checkbox/checkbox.component";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "@angular/forms";
14
- import * as i13 from "../tooltip/tooltip.module";
15
- export declare class FormgroupModule {
16
- static ɵfac: i0.ɵɵFactoryDeclaration<FormgroupModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormgroupModule, [typeof i1.CsCheckboxComponent, typeof i2.CsRadioComponent, typeof i3.CsSwitchComponent, typeof i4.CsRadioGroupComponent, typeof i5.CsSelectComponent, typeof i6.PascalPipe, typeof i7.SearchMultiSelectPipe, typeof i8.ClickOutsideDirective, typeof i9.CsCheckboxIndeterminateComponent, typeof i10.CheckboxComponent], [typeof i11.CommonModule, typeof i12.FormsModule, typeof i13.TooltipModule], [typeof i1.CsCheckboxComponent, typeof i2.CsRadioComponent, typeof i3.CsSwitchComponent, typeof i4.CsRadioGroupComponent, typeof i5.CsSelectComponent, typeof i7.SearchMultiSelectPipe, typeof i9.CsCheckboxIndeterminateComponent, typeof i10.CheckboxComponent]>;
18
- static ɵinj: i0.ɵɵInjectorDeclaration<FormgroupModule>;
19
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PascalPipe implements PipeTransform {
4
- transform(value: string, ...args: unknown[]): unknown;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<PascalPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<PascalPipe, "pascal", false>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SearchMultiSelectPipe implements PipeTransform {
4
- transform(value: any[], key: string, searchKey: string): any[];
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchMultiSelectPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<SearchMultiSelectPipe, "searchMultiSelect", false>;
7
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class PageLoaderComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<PageLoaderComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<PageLoaderComponent, "app-page-loader", never, {}, {}, never, never, false, never>;
5
- }
@@ -1,10 +0,0 @@
1
- import { PopoverService } from './popover.service';
2
- import * as i0 from "@angular/core";
3
- export declare class PopoverEventDirective {
4
- private popoverService;
5
- constructor(popoverService: PopoverService);
6
- contextmenu(event: any): void;
7
- getEventPosition(event: any): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<PopoverEventDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverEventDirective, "[appPopoverEvent]", never, {}, {}, never, never, false, never>;
10
- }