vc-layout 0.0.1 → 0.0.4

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 (34) hide show
  1. package/esm2022/lib/components/global-alert/global-alert/global-alert.component.mjs +180 -8
  2. package/esm2022/lib/components/header/business-cycle/business-cycle.component.mjs +4 -4
  3. package/esm2022/lib/components/header/header-container/header-container.component.mjs +14 -7
  4. package/esm2022/lib/components/header/search/search.component.mjs +2 -2
  5. package/esm2022/lib/components/product-list/module-list/module-list.component.mjs +33 -7
  6. package/esm2022/lib/components/product-list/preference-list/preference-list.component.mjs +26 -46
  7. package/esm2022/lib/components/product-list/product-list-container/product-list-container.component.mjs +2 -2
  8. package/esm2022/lib/components/product-list/product-list.module.mjs +5 -4
  9. package/esm2022/lib/components/sub-menu/sub-menu-container/sub-menu-container.component.mjs +2 -24
  10. package/esm2022/lib/constants/alerts.constant.mjs +7 -0
  11. package/esm2022/lib/constants/app-url.constant.mjs +9 -7
  12. package/esm2022/lib/constants/assets.constants.mjs +17 -17
  13. package/esm2022/lib/constants/business-cycle.constant.mjs +21 -0
  14. package/esm2022/lib/constants/product-list.constant.mjs +29 -8
  15. package/esm2022/lib/shared/pipe/get-module-icon.pipe.mjs +22 -0
  16. package/esm2022/lib/shared/pipe/pipes.module.mjs +21 -4
  17. package/esm2022/lib/shared/services/business-cycle.service.mjs +3 -5
  18. package/esm2022/lib/shared/services/layout.service.mjs +2 -1
  19. package/esm2022/lib/shared/services/product-list.service.mjs +7 -7
  20. package/fesm2022/vc-layout.mjs +398 -159
  21. package/fesm2022/vc-layout.mjs.map +1 -1
  22. package/lib/components/global-alert/global-alert/global-alert.component.d.ts +24 -5
  23. package/lib/components/header/header-container/header-container.component.d.ts +5 -4
  24. package/lib/components/product-list/module-list/module-list.component.d.ts +3 -1
  25. package/lib/components/product-list/preference-list/preference-list.component.d.ts +5 -2
  26. package/lib/components/product-list/product-list.module.d.ts +2 -1
  27. package/lib/constants/alerts.constant.d.ts +1 -0
  28. package/lib/constants/assets.constants.d.ts +1 -30
  29. package/lib/constants/business-cycle.constant.d.ts +1 -0
  30. package/lib/constants/product-list.constant.d.ts +1 -0
  31. package/lib/shared/pipe/get-module-icon.pipe.d.ts +7 -0
  32. package/lib/shared/pipe/pipes.module.d.ts +3 -2
  33. package/lib/shared/services/layout.service.d.ts +1 -0
  34. package/package.json +1 -1
@@ -1,12 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Optional, Component, NgModule, Directive, Input, HostListener, EventEmitter, Output, ViewChild, Pipe, forwardRef } from '@angular/core';
2
+ import { Injectable, Optional, Component, NgModule, Directive, Input, HostListener, Pipe, EventEmitter, Output, ViewChild, forwardRef } from '@angular/core';
3
3
  import { BehaviorSubject } from 'rxjs';
4
4
  import * as i1 from '@angular/common/http';
5
5
  import * as i1$1 from '@vcomply/authorizer';
6
6
  import * as i1$2 from '@angular/common';
7
7
  import { CommonModule } from '@angular/common';
8
- import * as dayjs from 'dayjs';
9
- import * as customParseFormat from 'dayjs/plugin/customParseFormat';
8
+ import * as moment from 'moment';
10
9
  import * as i1$3 from '@angular/forms';
11
10
  import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
12
11
 
@@ -20,6 +19,7 @@ const API = {
20
19
  class LayoutService {
21
20
  constructor() {
22
21
  this.baseUrl = '';
22
+ this.pathName = window.location.pathname;
23
23
  this.setBaseUrl();
24
24
  }
25
25
  setBaseUrl() {
@@ -257,9 +257,9 @@ const BASE_URL = 'https://cdn.v-comply.com';
257
257
  const ASSETS = {
258
258
  unauthorized: `${BASE_URL}/application/images/unauthorized-image.svg`,
259
259
  v_icon: `${BASE_URL}/logo/prod/v-logo.svg`,
260
- hamburger_icon: `${BASE_URL}/logo/prod/hamburger-icon.svg`,
260
+ toggle_icon: `${BASE_URL}/logo/prod/hamburger-icon.svg`,
261
261
  dashboard_icon: `${BASE_URL}/logo/prod/dashboard-icon.svg`,
262
- toDoResponsibility_icon: `${BASE_URL}/logo/prod/toDo-responsibility-icon.svg`,
262
+ to_do_responsibilities_icon: `${BASE_URL}/logo/prod/toDo-responsibility-icon.svg`,
263
263
  organization_icon: `${BASE_URL}/logo/prod/organization-icon.svg`,
264
264
  compliance_icon: `${BASE_URL}/logo/prod/compliance-icon.svg`,
265
265
  assessment_icon: `${BASE_URL}/logo/prod/assessment-icon.svg`,
@@ -267,27 +267,47 @@ const ASSETS = {
267
267
  assurance_icon: `${BASE_URL}/logo/prod/assurance-icon.svg`,
268
268
  audit_icon: `${BASE_URL}/logo/prod/audit-icon.svg`,
269
269
  issue_icon: `${BASE_URL}/logo/prod/issue-icon.svg`,
270
- policy_icon: `${BASE_URL}/logo/prod/policy-icon.svg`,
271
- downloadCenter_icon: `${BASE_URL}/logo/prod/download-center-icon.svg`,
270
+ all_icon: `${BASE_URL}/logo/prod/policy-icon.svg`,
271
+ download_center_icon: `${BASE_URL}/logo/prod/download-center-icon.svg`,
272
272
  settings_icon: `${BASE_URL}/logo/prod/settings-icon.svg`,
273
- selected_dashboard_icon: `${BASE_URL}/logo/prod/selected-dashboard-icon.svg`,
274
- selected_to_do_responsibility_icon: `${BASE_URL}/logo/prod/selected-toDo-responsibility-icon.svg`,
275
- selected_organization_icon: `${BASE_URL}/logo/prod/selected-organization-icon.svg`,
276
- selected_compliance_icon: `${BASE_URL}/logo/prod/selected-compliance-icon.svg`,
277
- selected_assessment_icon: `${BASE_URL}/logo/prod/selected-assessment-icon.svg`,
278
- selected_risk_icon: `${BASE_URL}/logo/prod/selected-risk-icon.svg`,
279
- selected_assurance_icon: `${BASE_URL}/logo/prod/selected-assurance-icon.svg`,
280
- selected_audit_icon: `${BASE_URL}/logo/prod/selected-audit-icon.svg`,
281
- selected_issue_icon: `${BASE_URL}/logo/prod/selected-issue-icon.svg`,
282
- selected_policy_icon: `${BASE_URL}/logo/prod/selected-policy-icon.svg`,
283
- selected_download_center_icon: `${BASE_URL}/logo/prod/selected-download-center-icon.svg`,
284
- selected_settings_icon: `${BASE_URL}/logo/prod/selected-settings-icon.svg`,
273
+ active_dashboard_icon: `${BASE_URL}/logo/prod/selected-dashboard-icon.svg`,
274
+ active_to_do_responsibilities_icon: `${BASE_URL}/logo/prod/selected-toDo-responsibility-icon.svg`,
275
+ active_organization_icon: `${BASE_URL}/logo/prod/selected-organization-icon.svg`,
276
+ active_compliance_icon: `${BASE_URL}/logo/prod/selected-compliance-icon.svg`,
277
+ active_assessment_icon: `${BASE_URL}/logo/prod/selected-assessment-icon.svg`,
278
+ active_risk_icon: `${BASE_URL}/logo/prod/selected-risk-icon.svg`,
279
+ active_assurance_icon: `${BASE_URL}/logo/prod/selected-assurance-icon.svg`,
280
+ active_audit_icon: `${BASE_URL}/logo/prod/selected-audit-icon.svg`,
281
+ active_issue_icon: `${BASE_URL}/logo/prod/selected-issue-icon.svg`,
282
+ active_all_icon: `${BASE_URL}/logo/prod/selected-policy-icon.svg`,
283
+ active_download_center_icon: `${BASE_URL}/logo/prod/selected-download-center-icon.svg`,
284
+ active_settings_icon: `${BASE_URL}/logo/prod/selected-settings-icon.svg`,
285
285
  support_icon: `${BASE_URL}/libraries/support/support-icon.svg`,
286
286
  };
287
287
 
288
+ const IN_APP_URL = {
289
+ MANAGE_RESPONSIBILITY: '/compliance/#/compliance/manage-responsibility?q={"byResponsibilities":{"type":["manage_responsibilities"],"subType":["CC"]},"byStatus":{"type":["active"],"subType":[]},"filterObject":{"responsibilityCenter":[],"entrustedBy":[],"entrustedTo":[],"riskIds":[],"responsibilityCategory":[]},"timePeriodDetails":{"type":"","selectedPeriod":"","selectedYear":""},"status":""}',
290
+ MY_RESPONSIBILITY: '/compliance/#/compliance/manage-responsibility?q={"byResponsibilities":{"type":["my_responsibilities"],"subType":["CC"]},"byStatus":{"type":["active"],"subType":[]},"filterObject":{"responsibilityCenter":[],"entrustedBy":[],"entrustedTo":[],"riskIds":[],"responsibilityCategory":[]},"timePeriodDetails":{"type":"","selectedPeriod":"","selectedYear":""},"status":""}',
291
+ QUEUE: '/compliance/#/compliance/manage-responsibility?q={"byResponsibilities":{"type":["responsibilities_in_queue"],"subType":["CC"]},"byStatus":{"type":["responsibilities_in_queue"],"subType":[]},"filterObject":{"responsibilityCenter":[],"entrustedBy":[],"entrustedTo":[],"riskIds":[],"responsibilityCategory":[]},"timePeriodDetails":{"type":"","selectedPeriod":"","selectedYear":""},"status":""}',
292
+ PROGRAM: '/program/manage-program-categories/programs-overview',
293
+ DASHBOARD: '/global-dashboard/',
294
+ TO_DO_RESPONSIBILITIES: 'to-do-responsibilities',
295
+ ORGANIZATION: '/organization/',
296
+ SETTINGS: '/settings',
297
+ ASSESSMENT: '/assessment/',
298
+ RISK: '/global-dashboard/risk_dashboard?module=risk',
299
+ ASSURANCE: '/assurance/test_dashboard',
300
+ AUDIT: '/global-dashboard/audit_dashboard?module=audit',
301
+ ISSUE: '/global-dashboard/issue_dashboard?module=issue',
302
+ ALL: '/all/policy/manage-policies',
303
+ EDIT_PROFILE: '/settings/settings/profile?edit_profile=true',
304
+ DOWNLOAD_CENTER: '/downloads-center/',
305
+ PASSWORD_RESET: `/organization/#/settings/userprofile`,
306
+ };
307
+
288
308
  const PRODUCT_LIST = [
289
309
  {
290
- name: 'Toggle Submenu',
310
+ name: 'View Submenu',
291
311
  icon: ASSETS.hamburger_icon,
292
312
  code: 'TOGGLE',
293
313
  class: '',
@@ -321,7 +341,7 @@ const PRODUCT_LIST = [
321
341
  {
322
342
  name: 'ComplianceOps',
323
343
  icon: ASSETS.compliance_icon,
324
- code: 'COMPLIANCE_OPS',
344
+ code: 'COMPLIANCE',
325
345
  class: '',
326
346
  isActive: false,
327
347
  linkClass: '',
@@ -329,7 +349,7 @@ const PRODUCT_LIST = [
329
349
  {
330
350
  name: 'Assessments',
331
351
  icon: ASSETS.assessment_icon,
332
- code: 'ASSESSMENTS',
352
+ code: 'ASSESSMENT',
333
353
  class: '',
334
354
  isActive: false,
335
355
  linkClass: '',
@@ -337,7 +357,7 @@ const PRODUCT_LIST = [
337
357
  {
338
358
  name: 'RiskOps',
339
359
  icon: ASSETS.risk_icon,
340
- code: 'RISK_OPS',
360
+ code: 'RISK',
341
361
  class: '',
342
362
  isActive: false,
343
363
  linkClass: '',
@@ -353,7 +373,7 @@ const PRODUCT_LIST = [
353
373
  {
354
374
  name: 'AuditOps',
355
375
  icon: ASSETS.audit_icon,
356
- code: 'AUDIT_OPS',
376
+ code: 'AUDIT',
357
377
  class: '',
358
378
  isActive: false,
359
379
  linkClass: '',
@@ -361,7 +381,7 @@ const PRODUCT_LIST = [
361
381
  {
362
382
  name: 'IssueOps',
363
383
  icon: ASSETS.issue_icon,
364
- code: 'ISSUE_OPS',
384
+ code: 'ISSUE',
365
385
  class: '',
366
386
  isActive: false,
367
387
  linkClass: '',
@@ -369,30 +389,32 @@ const PRODUCT_LIST = [
369
389
  {
370
390
  name: 'PolicyOps',
371
391
  icon: ASSETS.policy_icon,
372
- code: 'POLICY_OPS',
392
+ code: 'ALL',
373
393
  class: '',
374
394
  isActive: false,
375
395
  linkClass: '',
376
396
  },
377
397
  ];
378
-
379
- const IN_APP_URL = {
380
- MANAGE_RESPONSIBILITY: '/compliance/#/compliance/manage-responsibility?q={"byResponsibilities":{"type":["manage_responsibilities"],"subType":["CC"]},"byStatus":{"type":["active"],"subType":[]},"filterObject":{"responsibilityCenter":[],"entrustedBy":[],"entrustedTo":[],"riskIds":[],"responsibilityCategory":[]},"timePeriodDetails":{"type":"","selectedPeriod":"","selectedYear":""},"status":""}',
381
- MY_RESPONSIBILITY: '/compliance/#/compliance/manage-responsibility?q={"byResponsibilities":{"type":["my_responsibilities"],"subType":["CC"]},"byStatus":{"type":["active"],"subType":[]},"filterObject":{"responsibilityCenter":[],"entrustedBy":[],"entrustedTo":[],"riskIds":[],"responsibilityCategory":[]},"timePeriodDetails":{"type":"","selectedPeriod":"","selectedYear":""},"status":""}',
382
- QUEUE: '/compliance/#/compliance/manage-responsibility?q={"byResponsibilities":{"type":["responsibilities_in_queue"],"subType":["CC"]},"byStatus":{"type":["responsibilities_in_queue"],"subType":[]},"filterObject":{"responsibilityCenter":[],"entrustedBy":[],"entrustedTo":[],"riskIds":[],"responsibilityCategory":[]},"timePeriodDetails":{"type":"","selectedPeriod":"","selectedYear":""},"status":""}',
383
- PROGRAM: '/program/manage-program-categories/programs-overview',
384
- DASHBOARD: '/global-dashboard/',
385
- TO_DO_RESPONSIBILITIES: 'to-do-responsibilities',
386
- ORGANIZATION: '/organization/',
387
- SETTINGS: '/settings',
388
- ASSESSMENTS: '/assessment/',
389
- RISK_OPS: '/global-dashboard/risk_dashboard?module=risk',
390
- ASSURANCE: '/assurance/test_dashboard',
391
- AUDIT_OPS: '/global-dashboard/audit_dashboard?module=audit',
392
- ISSUE_OPS: '/global-dashboard/issue_dashboard?module=issue',
393
- POLICY_OPS: '/all/policy/manage-policies',
394
- EDIT_PROFILE: 'settings/settings/profile?edit_profile=true',
395
- };
398
+ const PREFERENCE_LIST = [
399
+ {
400
+ name: 'Download Center',
401
+ icon: ASSETS.download_center_icon,
402
+ code: 'DOWNLOAD_CENTER',
403
+ class: '',
404
+ isActive: false,
405
+ linkClass: '',
406
+ url: IN_APP_URL.DOWNLOAD_CENTER,
407
+ },
408
+ {
409
+ name: 'Setting',
410
+ icon: ASSETS.settings_icon,
411
+ code: 'SETTING',
412
+ class: '',
413
+ isActive: false,
414
+ linkClass: '',
415
+ url: IN_APP_URL.SETTINGS,
416
+ },
417
+ ];
396
418
 
397
419
  class ProductListService {
398
420
  constructor(rbacService) {
@@ -427,16 +449,16 @@ class ProductListService {
427
449
  setProductClickCallback(productDetails, featureFlag) {
428
450
  let url = '';
429
451
  switch (productDetails.code) {
430
- case 'COMPLIANCE_OPS':
452
+ case 'COMPLIANCE':
431
453
  return this.setComplianceURL(featureFlag);
432
454
  case 'ORGANIZATION':
433
455
  case 'DASHBOARD':
434
- case 'ASSESSMENTS':
435
- case 'RISK_OPS':
456
+ case 'ASSESSMENT':
457
+ case 'RISK':
436
458
  case 'ASSURANCE':
437
- case 'AUDIT_OPS':
438
- case 'ISSUE_OPS':
439
- case 'POLICY_OPS':
459
+ case 'AUDIT':
460
+ case 'ISSUE':
461
+ case 'ALL':
440
462
  return IN_APP_URL[productDetails.code];
441
463
  default:
442
464
  return 'javascript:void(0);';
@@ -626,11 +648,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
626
648
  args: ['click']
627
649
  }] } });
628
650
 
651
+ class GetModuleIconPipe {
652
+ transform(module, activeModule) {
653
+ const iconURLs = ASSETS;
654
+ if (module === activeModule) {
655
+ const activeIconName = 'active_' + module.toLowerCase() + '_icon';
656
+ return iconURLs[activeIconName];
657
+ }
658
+ return iconURLs[module.toLowerCase() + '_icon'];
659
+ }
660
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetModuleIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
661
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GetModuleIconPipe, name: "getModuleIcon" }); }
662
+ }
663
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetModuleIconPipe, decorators: [{
664
+ type: Pipe,
665
+ args: [{
666
+ name: 'getModuleIcon',
667
+ }]
668
+ }] });
669
+
629
670
  class ModuleListComponent {
630
671
  constructor(layoutService, productListService, apiService) {
631
672
  this.layoutService = layoutService;
632
673
  this.productListService = productListService;
633
674
  this.apiService = apiService;
675
+ this.activeModule = 'COMPLIANCE';
634
676
  this.onToggleSubmenu = new EventEmitter();
635
677
  this.ASSETS = ASSETS;
636
678
  this.PRODUCT_LIST = PRODUCT_LIST;
@@ -651,6 +693,20 @@ class ModuleListComponent {
651
693
  }
652
694
  return false;
653
695
  }
696
+ get getActiveModule() {
697
+ let currentUrl = this.layoutService.pathName;
698
+ currentUrl = currentUrl.split('/')[0];
699
+ this.PRODUCT_LIST = this.PRODUCT_LIST.map((product) => {
700
+ if (product.code === currentUrl.toUpperCase()) {
701
+ product.isActive = true;
702
+ }
703
+ else {
704
+ product.isActive = false;
705
+ }
706
+ return product;
707
+ });
708
+ return;
709
+ }
654
710
  /**
655
711
  * Checks the module subscription and updates the product list accordingly.
656
712
  * Subscribes to the `subscriptionDetail$` observable from the `apiService` and updates the `PRODUCT_LIST` property of the component based on the received data.
@@ -688,13 +744,13 @@ class ModuleListComponent {
688
744
  });
689
745
  }
690
746
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModuleListComponent, deps: [{ token: LayoutService }, { token: ProductListService }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Component }); }
691
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ModuleListComponent, selector: "vc-module-list", inputs: { featureFlag: "featureFlag" }, outputs: { onToggleSubmenu: "onToggleSubmenu" }, ngImport: i0, template: `
747
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ModuleListComponent, selector: "vc-module-list", inputs: { featureFlag: "featureFlag", activeModule: "activeModule" }, outputs: { onToggleSubmenu: "onToggleSubmenu" }, ngImport: i0, template: `
692
748
  <div class="module-list">
693
749
  <ul class="vx-p-0 vx-m-0">
694
750
  <li
695
751
  *ngFor="let eachProduct of PRODUCT_LIST"
696
752
  [ngClass]="eachProduct.class"
697
- [class.active]="eachProduct.isActive"
753
+ [class.active]="activeModule === eachProduct.code"
698
754
  >
699
755
  <a
700
756
  [href]="eachProduct.url"
@@ -707,12 +763,16 @@ class ModuleListComponent {
707
763
  [tooltipMandatory]="true"
708
764
  [animate]="true"
709
765
  (click)="eachProduct?.callback(eachProduct)"
710
- ><img [src]="eachProduct.icon" alt="" width="16" height="16"
766
+ ><img
767
+ [src]="eachProduct.code | getModuleIcon : activeModule"
768
+ alt=""
769
+ width="16"
770
+ height="16"
711
771
  /></a>
712
772
  </li>
713
773
  </ul>
714
774
  </div>
715
- `, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.module-list ul li{position:relative;z-index:1}.module-list ul li.active:before{background:#4681ef;border-radius:.25rem;content:\"\";position:absolute;top:.5rem;left:.5rem;width:2rem;height:2rem;z-index:-1}.module-list ul li.dashboard-list:after{background:#343952;border-radius:.25rem .25rem 0 0;content:\"\";position:absolute;top:.375rem;left:.375rem;width:2.25rem;height:2.625rem;z-index:-2}.module-list ul li.toDoResponsibility-list:after{background:#343952;border-radius:0 0 .25rem .25rem;content:\"\";position:absolute;bottom:.375rem;left:.375rem;width:2.25rem;height:2.625rem;z-index:-2}.module-list ul li a{height:3rem}.module-list ul li a.vc-hamburger{height:2rem}.module-list ul li a img{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }] }); }
775
+ `, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.module-list ul li{position:relative;z-index:1}.module-list ul li.active:before{background:#4681ef;border-radius:.25rem;content:\"\";position:absolute;top:.5rem;left:.5rem;width:2rem;height:2rem;z-index:-1}.module-list ul li.dashboard-list:after{background:#343952;border-radius:.25rem .25rem 0 0;content:\"\";position:absolute;top:.375rem;left:.375rem;width:2.25rem;height:2.625rem;z-index:-2}.module-list ul li.toDoResponsibility-list:after{background:#343952;border-radius:0 0 .25rem .25rem;content:\"\";position:absolute;bottom:.375rem;left:.375rem;width:2.25rem;height:2.625rem;z-index:-2}.module-list ul li a{height:3rem}.module-list ul li a.vc-hamburger{height:2rem}.module-list ul li a img{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }, { kind: "pipe", type: GetModuleIconPipe, name: "getModuleIcon" }] }); }
716
776
  }
717
777
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModuleListComponent, decorators: [{
718
778
  type: Component,
@@ -722,7 +782,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
722
782
  <li
723
783
  *ngFor="let eachProduct of PRODUCT_LIST"
724
784
  [ngClass]="eachProduct.class"
725
- [class.active]="eachProduct.isActive"
785
+ [class.active]="activeModule === eachProduct.code"
726
786
  >
727
787
  <a
728
788
  [href]="eachProduct.url"
@@ -735,7 +795,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
735
795
  [tooltipMandatory]="true"
736
796
  [animate]="true"
737
797
  (click)="eachProduct?.callback(eachProduct)"
738
- ><img [src]="eachProduct.icon" alt="" width="16" height="16"
798
+ ><img
799
+ [src]="eachProduct.code | getModuleIcon : activeModule"
800
+ alt=""
801
+ width="16"
802
+ height="16"
739
803
  /></a>
740
804
  </li>
741
805
  </ul>
@@ -743,88 +807,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
743
807
  `, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.module-list ul li{position:relative;z-index:1}.module-list ul li.active:before{background:#4681ef;border-radius:.25rem;content:\"\";position:absolute;top:.5rem;left:.5rem;width:2rem;height:2rem;z-index:-1}.module-list ul li.dashboard-list:after{background:#343952;border-radius:.25rem .25rem 0 0;content:\"\";position:absolute;top:.375rem;left:.375rem;width:2.25rem;height:2.625rem;z-index:-2}.module-list ul li.toDoResponsibility-list:after{background:#343952;border-radius:0 0 .25rem .25rem;content:\"\";position:absolute;bottom:.375rem;left:.375rem;width:2.25rem;height:2.625rem;z-index:-2}.module-list ul li a{height:3rem}.module-list ul li a.vc-hamburger{height:2rem}.module-list ul li a img{pointer-events:none}\n"] }]
744
808
  }], ctorParameters: function () { return [{ type: LayoutService }, { type: ProductListService }, { type: ApiService }]; }, propDecorators: { featureFlag: [{
745
809
  type: Input
810
+ }], activeModule: [{
811
+ type: Input
746
812
  }], onToggleSubmenu: [{
747
813
  type: Output
748
814
  }] } });
749
815
 
750
816
  class PreferenceListComponent {
751
- constructor() {
752
- this.ASSETS = ASSETS;
817
+ constructor(layoutService) {
818
+ this.layoutService = layoutService;
819
+ this.PREFERENCE_LIST = PREFERENCE_LIST;
820
+ this.setUrl();
753
821
  }
754
822
  ngOnInit() { }
755
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PreferenceListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
823
+ setUrl() {
824
+ this.PREFERENCE_LIST = this.PREFERENCE_LIST.map((item) => {
825
+ item.url = this.layoutService.baseUrl + item.url;
826
+ return item;
827
+ });
828
+ }
829
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PreferenceListComponent, deps: [{ token: LayoutService }], target: i0.ɵɵFactoryTarget.Component }); }
756
830
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PreferenceListComponent, selector: "vc-preference-list", ngImport: i0, template: `
757
831
  <div class="preference-list">
758
832
  <ul class="vx-p-0 vx-m-0">
759
- <li>
760
- <a
761
- class="vx-d-flex vx-align-center vx-justify-center"
762
- [arTooltip]="'Download Center'"
763
- placement="right"
764
- type="black"
765
- delay="0"
766
- [tooltipMandatory]="true"
767
- [animate]="true"
768
- ><img
769
- [src]="ASSETS.downloadCenterIcon"
770
- alt=""
771
- width="16"
772
- height="16"
773
- /></a>
774
- </li>
775
- <li>
833
+ <li *ngFor="let eachItems of PREFERENCE_LIST">
776
834
  <a
777
835
  class="vx-d-flex vx-align-center vx-justify-center"
778
- [arTooltip]="'Settings'"
836
+ [arTooltip]="eachItems?.name"
779
837
  placement="right"
780
838
  type="black"
781
839
  delay="0"
782
840
  [tooltipMandatory]="true"
783
841
  [animate]="true"
784
- ><img [src]="ASSETS.settingsIcon" alt="" width="16" height="16"
842
+ [href]="eachItems?.url"
843
+ ><img [src]="eachItems?.icon" alt="" width="16" height="16"
785
844
  /></a>
786
845
  </li>
787
846
  </ul>
788
847
  </div>
789
- `, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.preference-list{width:3rem;position:absolute;bottom:0;left:0}.preference-list ul li{position:relative;z-index:1}.preference-list ul li.active:before{background:#4681ef;border-radius:.25rem;content:\"\";position:absolute;top:.5rem;left:.5rem;width:2rem;height:2rem;z-index:-1}.preference-list ul li a{height:3rem}.preference-list ul li a img{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }] }); }
848
+ `, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.preference-list{width:3rem;position:absolute;bottom:0;left:0}.preference-list ul li{position:relative;z-index:1}.preference-list ul li.active:before{background:#4681ef;border-radius:.25rem;content:\"\";position:absolute;top:.5rem;left:.5rem;width:2rem;height:2rem;z-index:-1}.preference-list ul li a{height:3rem}.preference-list ul li a img{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }] }); }
790
849
  }
791
850
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PreferenceListComponent, decorators: [{
792
851
  type: Component,
793
852
  args: [{ selector: 'vc-preference-list', template: `
794
853
  <div class="preference-list">
795
854
  <ul class="vx-p-0 vx-m-0">
796
- <li>
797
- <a
798
- class="vx-d-flex vx-align-center vx-justify-center"
799
- [arTooltip]="'Download Center'"
800
- placement="right"
801
- type="black"
802
- delay="0"
803
- [tooltipMandatory]="true"
804
- [animate]="true"
805
- ><img
806
- [src]="ASSETS.downloadCenterIcon"
807
- alt=""
808
- width="16"
809
- height="16"
810
- /></a>
811
- </li>
812
- <li>
855
+ <li *ngFor="let eachItems of PREFERENCE_LIST">
813
856
  <a
814
857
  class="vx-d-flex vx-align-center vx-justify-center"
815
- [arTooltip]="'Settings'"
858
+ [arTooltip]="eachItems?.name"
816
859
  placement="right"
817
860
  type="black"
818
861
  delay="0"
819
862
  [tooltipMandatory]="true"
820
863
  [animate]="true"
821
- ><img [src]="ASSETS.settingsIcon" alt="" width="16" height="16"
864
+ [href]="eachItems?.url"
865
+ ><img [src]="eachItems?.icon" alt="" width="16" height="16"
822
866
  /></a>
823
867
  </li>
824
868
  </ul>
825
869
  </div>
826
870
  `, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.preference-list{width:3rem;position:absolute;bottom:0;left:0}.preference-list ul li{position:relative;z-index:1}.preference-list ul li.active:before{background:#4681ef;border-radius:.25rem;content:\"\";position:absolute;top:.5rem;left:.5rem;width:2rem;height:2rem;z-index:-1}.preference-list ul li a{height:3rem}.preference-list ul li a img{pointer-events:none}\n"] }]
827
- }], ctorParameters: function () { return []; } });
871
+ }], ctorParameters: function () { return [{ type: LayoutService }]; } });
828
872
 
829
873
  class ProductListContainerComponent {
830
874
  constructor() {
@@ -838,7 +882,7 @@ class ProductListContainerComponent {
838
882
  (onToggleSubmenu)="onToggleSubmenu.emit()"
839
883
  ></vc-module-list>
840
884
  <vc-preference-list></vc-preference-list>
841
- </div> `, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.product-list-container{background:#161b2f;width:3rem;height:100%;position:relative;z-index:1}\n"], dependencies: [{ kind: "component", type: ModuleListComponent, selector: "vc-module-list", inputs: ["featureFlag"], outputs: ["onToggleSubmenu"] }, { kind: "component", type: PreferenceListComponent, selector: "vc-preference-list" }] }); }
885
+ </div> `, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.product-list-container{width:3rem;height:100%;position:relative;z-index:1}\n"], dependencies: [{ kind: "component", type: ModuleListComponent, selector: "vc-module-list", inputs: ["featureFlag", "activeModule"], outputs: ["onToggleSubmenu"] }, { kind: "component", type: PreferenceListComponent, selector: "vc-preference-list" }] }); }
842
886
  }
843
887
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProductListContainerComponent, decorators: [{
844
888
  type: Component,
@@ -848,25 +892,220 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
848
892
  (onToggleSubmenu)="onToggleSubmenu.emit()"
849
893
  ></vc-module-list>
850
894
  <vc-preference-list></vc-preference-list>
851
- </div> `, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.product-list-container{background:#161b2f;width:3rem;height:100%;position:relative;z-index:1}\n"] }]
895
+ </div> `, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.product-list-container{width:3rem;height:100%;position:relative;z-index:1}\n"] }]
852
896
  }], ctorParameters: function () { return []; }, propDecorators: { featureFlag: [{
853
897
  type: Input
854
898
  }], onToggleSubmenu: [{
855
899
  type: Output
856
900
  }] } });
857
901
 
902
+ const BUSINESS_CYCLE_URL = [
903
+ '/',
904
+ '/global-dashboard/compliance_dashboard',
905
+ '/global-dashboard/audit_dashboard',
906
+ '/global-dashboard/issue_dashboard',
907
+ '/global-dashboard/risk_dashboard',
908
+ '/global-dashboard/dashboard',
909
+ '/program/manage-program-categories/programs-overview',
910
+ '/program/program-workroom',
911
+ '/compliance/manage-responsibility',
912
+ '/compliance/reports/not-completed-report',
913
+ '/assessment/assessment-workroom/response-dashboard',
914
+ '/risk/reported-risk',
915
+ '/risk/manage-risk-category',
916
+ '/risk/risk-status',
917
+ '/risk/risk-register',
918
+ '/risk/risk-workroom/',
919
+ '/risk/my-assessment',
920
+ '/risk/risk-workshop',
921
+ ];
922
+
923
+ const GLOBAL_ALERTS = {
924
+ contactUs: `<a href=https://www.v-comply.com/contact-us" target="_blank">CONTACT US</a>`,
925
+ trialUserExpired: `SUBSCRIPTION EXPIRED: Contact Sales to extend your trial.`,
926
+ EMAIL_PAUSE: `Your organization's email notifications have been paused. Hence, you will not receive any workflow related emails from VComply.`,
927
+ NOTIF_PAUSE_MESSAGE: `Notifications have been paused by the Key Admin. You will not receive any notifications until the Key Admin turns it back on.`,
928
+ };
929
+
858
930
  class GlobalAlertComponent {
859
- constructor() { }
860
- ngOnInit() { }
861
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GlobalAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
862
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GlobalAlertComponent, selector: "vc-global-alert", ngImport: i0, template: "<div\r\n class=\"global-alert vx-d-flex vx-align-center vx-justify-center\"\r\n [class.expired]=\"true\"\r\n>\r\n <i class=\"icons vx-fs-12 vx-mr-2\">&#xe930;</i>\r\n <!-- <span class=\"vx-fs-13\"\r\n >Email notifications have been paused by the Key Admin. You will not be able\r\n to edit your email notifications until the Key Admin turns it back on.</span\r\n > -->\r\n <span class=\"vx-fs-13\"\r\n >SUBSCRIPTION EXPIRED: YOU WILL NOT BE ABLE TO LOGIN TO YOUR ACCOUNT AFTER\r\n 30 DAYS.\r\n <a href=\"https://www.v-comply.com/contact-us\" target=\"_blank\"\r\n >CONTACT US</a\r\n ></span\r\n >\r\n <div class=\"global-alert-action vx-d-flex vx-align-center vx-lh-6\">\r\n <button\r\n class=\"vx-fs-12 vx-p-0 vx-m-0 vx-mr-4 vx-d-flex vx-align-center disabled\"\r\n >\r\n <i class=\"icons\">&#xe96b;</i>\r\n </button>\r\n <span class=\"vx-fs-13 vx-txt-white\">1</span>\r\n <span class=\"divider vx-fs-11 vx-txt-white\">/</span>\r\n <span class=\"vx-fs-13 vx-fw-600 vx-txt-white\">2</span>\r\n <button class=\"vx-fs-12 vx-p-0 vx-m-0 vx-ml-4 vx-d-flex vx-align-center\">\r\n <i class=\"icons\">&#xe970;</i>\r\n </button>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.global-alert{background:#343952;height:2.25rem;color:#f7d873}.global-alert.expired{color:#e38b7a}.global-alert.expired a{color:#fac3b7;margin-left:.5rem}.global-alert a{color:#f7d873}.global-alert-action{position:absolute;right:.75rem;top:.375rem}.global-alert-action span{letter-spacing:2px}.global-alert-action button{background:transparent;border-radius:0;border:none;color:#fff}.global-alert-action button.disabled{pointer-events:none;opacity:.5;color:#fff}\n"] }); }
931
+ constructor(apiService) {
932
+ this.apiService = apiService;
933
+ this.activeIndex = 0;
934
+ this.messages = [];
935
+ this.isNotificationVisible = false;
936
+ this.subscriptionStatus = new EventEmitter();
937
+ this.setSubscriptionInfo();
938
+ this.getOrgDetails();
939
+ }
940
+ setSubscriptionInfo() {
941
+ this.apiService.subscriptionDetail$.subscribe((res) => {
942
+ console.log('this.subscriptionData ==>', res);
943
+ if (res) {
944
+ this.subscriptionData = res;
945
+ console.log('this.subscriptionData ==>', this.subscriptionData);
946
+ this.setMessages(this.subscriptionData);
947
+ }
948
+ });
949
+ }
950
+ getOrgDetails() {
951
+ this.apiService.organizationDetail$.subscribe((res) => {
952
+ if (res) {
953
+ this.setMailAlert(res);
954
+ }
955
+ });
956
+ }
957
+ setMessages(subscriptionData) {
958
+ const messages = [];
959
+ this.activeIndex = 0;
960
+ if (subscriptionData) {
961
+ const { trial_flag, no_of_days_left, after_expired_days_allow, no_of_days_for_password_expire, } = subscriptionData;
962
+ if (trial_flag && no_of_days_left <= 0) {
963
+ messages.push({
964
+ message: GLOBAL_ALERTS.trialUserExpired + GLOBAL_ALERTS.contactUs,
965
+ class: 'HIGH',
966
+ });
967
+ }
968
+ else if (no_of_days_left > 0 && no_of_days_left <= 30) {
969
+ messages.push({
970
+ message: `YOUR SUBSCRIPTION EXPIRES IN ${no_of_days_left} DAYS. ${GLOBAL_ALERTS.contactUs}`,
971
+ class: no_of_days_left <= 10 ? 'HIGH' : 'MEDIUM',
972
+ });
973
+ }
974
+ else if (no_of_days_left <= 0) {
975
+ messages.push({
976
+ message: `SUBSCRIPTION EXPIRED: YOU WILL NOT BE ABLE TO LOGIN TO YOUR ACCOUNT AFTER ${after_expired_days_allow} DAYS. ${GLOBAL_ALERTS.contactUs}`,
977
+ class: 'HIGH',
978
+ });
979
+ }
980
+ if (no_of_days_for_password_expire < 1) {
981
+ messages.push({
982
+ message: `YOUR PASSWORD HAS EXPIRED. PLEASE <a href="${this.getPasswordResetUrl()}" target="_blank">CLICK HERE</a> TO RESET YOUR PASSWORD.`,
983
+ class: 'HIGH',
984
+ });
985
+ }
986
+ else if (no_of_days_for_password_expire < 30) {
987
+ messages.push({
988
+ message: `YOUR PASSWORD IS GOING TO EXPIRE IN ${no_of_days_for_password_expire} DAYS. <a href="${this.getPasswordResetUrl()}" target="_blank">CLICK HERE</a> TO RESET YOUR PASSWORD.`,
989
+ class: 'MEDIUM',
990
+ });
991
+ }
992
+ }
993
+ this.messages = messages;
994
+ this.isNotificationVisible = this.messages.length > 0;
995
+ this.subscriptionStatus.emit(this.isNotificationVisible);
996
+ }
997
+ /**
998
+ * If the response is true, then push the message to the array. If the response is false, then remove
999
+ * the message from the array.
1000
+ * </code>
1001
+ * @param {any} res - any = {
1002
+ */
1003
+ setMailAlert(res) {
1004
+ const emailPausedMessage = this.feature.isFeatureEnabled('ff_email_alert_update')
1005
+ ? GLOBAL_ALERTS.NOTIF_PAUSE_MESSAGE
1006
+ : GLOBAL_ALERTS.EMAIL_PAUSE;
1007
+ const index = this.messages.findIndex((message) => message?.message?.includes(emailPausedMessage));
1008
+ if (res?.is_mail_block === 1 && index === -1) {
1009
+ this.messages.push({
1010
+ message: emailPausedMessage,
1011
+ class: 'MEDIUM',
1012
+ });
1013
+ }
1014
+ else if (res?.is_mail_block === 0 && index >= 0) {
1015
+ this.setMessages(this.subscriptionData);
1016
+ }
1017
+ this.isNotificationVisible = this.messages.length > 0;
1018
+ this.subscriptionStatus.emit(this.isNotificationVisible);
1019
+ }
1020
+ getPasswordResetUrl() {
1021
+ return `https://${window.location.host}${IN_APP_URL.PASSWORD_RESET}`;
1022
+ }
1023
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GlobalAlertComponent, deps: [{ token: ApiService }], target: i0.ɵɵFactoryTarget.Component }); }
1024
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GlobalAlertComponent, selector: "vc-global-alert", inputs: { feature: "feature" }, outputs: { subscriptionStatus: "subscriptionStatus" }, ngImport: i0, template: `
1025
+ <div
1026
+ *ngIf="messages.length > 0"
1027
+ class="global-alert vx-d-flex vx-align-center vx-justify-center"
1028
+ [class.expired]="messages[activeIndex]?.class === 'HIGH'"
1029
+ >
1030
+ <i class="icons vx-fs-12 vx-mr-2">&#xe930;</i>
1031
+ <!-- <span class="vx-fs-13"
1032
+ >Email notifications have been paused by the Key Admin. You will not be able
1033
+ to edit your email notifications until the Key Admin turns it back on.</span
1034
+ > -->
1035
+ <span
1036
+ class="vx-fs-13"
1037
+ [innerHTML]="messages[activeIndex]?.message"
1038
+ ></span>
1039
+ <div class="global-alert-action vx-d-flex vx-align-center vx-lh-6">
1040
+ <button
1041
+ [class.disabled]="activeIndex === 0"
1042
+ (click)="activeIndex = activeIndex - 1"
1043
+ class="vx-fs-12 vx-p-0 vx-m-0 vx-mr-4 vx-d-flex vx-align-center disabled"
1044
+ >
1045
+ <i class="icons">&#xe96b;</i>
1046
+ </button>
1047
+ <span class="vx-fs-13 vx-txt-white">{{ activeIndex + 1 }}</span>
1048
+ <span class="divider vx-fs-11 vx-txt-white">/</span>
1049
+ <span class="vx-fs-13 vx-fw-600 vx-txt-white">{{
1050
+ messages.length
1051
+ }}</span>
1052
+ <button
1053
+ (click)="activeIndex = activeIndex + 1"
1054
+ [class.disabled]="activeIndex === messages.length - 1"
1055
+ class="vx-fs-12 vx-p-0 vx-m-0 vx-ml-4 vx-d-flex vx-align-center"
1056
+ >
1057
+ <i class="icons">&#xe970;</i>
1058
+ </button>
1059
+ </div>
1060
+ </div>
1061
+ `, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";::ng-deep .global-alert{background:#343952;height:2.25rem;color:#f7d873}::ng-deep .global-alert.expired{color:#e38b7a}::ng-deep .global-alert.expired a{color:#fac3b7;margin-left:.5rem}::ng-deep .global-alert a{color:#f7d873}::ng-deep .global-alert-action{position:absolute;right:.75rem;top:.375rem}::ng-deep .global-alert-action span{letter-spacing:2px}::ng-deep .global-alert-action button{background:transparent;border-radius:0;border:none;color:#fff}::ng-deep .global-alert-action button.disabled{pointer-events:none;opacity:.5;color:#fff}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
863
1062
  }
864
1063
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GlobalAlertComponent, decorators: [{
865
1064
  type: Component,
866
- args: [{ selector: 'vc-global-alert', template: "<div\r\n class=\"global-alert vx-d-flex vx-align-center vx-justify-center\"\r\n [class.expired]=\"true\"\r\n>\r\n <i class=\"icons vx-fs-12 vx-mr-2\">&#xe930;</i>\r\n <!-- <span class=\"vx-fs-13\"\r\n >Email notifications have been paused by the Key Admin. You will not be able\r\n to edit your email notifications until the Key Admin turns it back on.</span\r\n > -->\r\n <span class=\"vx-fs-13\"\r\n >SUBSCRIPTION EXPIRED: YOU WILL NOT BE ABLE TO LOGIN TO YOUR ACCOUNT AFTER\r\n 30 DAYS.\r\n <a href=\"https://www.v-comply.com/contact-us\" target=\"_blank\"\r\n >CONTACT US</a\r\n ></span\r\n >\r\n <div class=\"global-alert-action vx-d-flex vx-align-center vx-lh-6\">\r\n <button\r\n class=\"vx-fs-12 vx-p-0 vx-m-0 vx-mr-4 vx-d-flex vx-align-center disabled\"\r\n >\r\n <i class=\"icons\">&#xe96b;</i>\r\n </button>\r\n <span class=\"vx-fs-13 vx-txt-white\">1</span>\r\n <span class=\"divider vx-fs-11 vx-txt-white\">/</span>\r\n <span class=\"vx-fs-13 vx-fw-600 vx-txt-white\">2</span>\r\n <button class=\"vx-fs-12 vx-p-0 vx-m-0 vx-ml-4 vx-d-flex vx-align-center\">\r\n <i class=\"icons\">&#xe970;</i>\r\n </button>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.global-alert{background:#343952;height:2.25rem;color:#f7d873}.global-alert.expired{color:#e38b7a}.global-alert.expired a{color:#fac3b7;margin-left:.5rem}.global-alert a{color:#f7d873}.global-alert-action{position:absolute;right:.75rem;top:.375rem}.global-alert-action span{letter-spacing:2px}.global-alert-action button{background:transparent;border-radius:0;border:none;color:#fff}.global-alert-action button.disabled{pointer-events:none;opacity:.5;color:#fff}\n"] }]
867
- }], ctorParameters: function () { return []; } });
1065
+ args: [{ selector: 'vc-global-alert', template: `
1066
+ <div
1067
+ *ngIf="messages.length > 0"
1068
+ class="global-alert vx-d-flex vx-align-center vx-justify-center"
1069
+ [class.expired]="messages[activeIndex]?.class === 'HIGH'"
1070
+ >
1071
+ <i class="icons vx-fs-12 vx-mr-2">&#xe930;</i>
1072
+ <!-- <span class="vx-fs-13"
1073
+ >Email notifications have been paused by the Key Admin. You will not be able
1074
+ to edit your email notifications until the Key Admin turns it back on.</span
1075
+ > -->
1076
+ <span
1077
+ class="vx-fs-13"
1078
+ [innerHTML]="messages[activeIndex]?.message"
1079
+ ></span>
1080
+ <div class="global-alert-action vx-d-flex vx-align-center vx-lh-6">
1081
+ <button
1082
+ [class.disabled]="activeIndex === 0"
1083
+ (click)="activeIndex = activeIndex - 1"
1084
+ class="vx-fs-12 vx-p-0 vx-m-0 vx-mr-4 vx-d-flex vx-align-center disabled"
1085
+ >
1086
+ <i class="icons">&#xe96b;</i>
1087
+ </button>
1088
+ <span class="vx-fs-13 vx-txt-white">{{ activeIndex + 1 }}</span>
1089
+ <span class="divider vx-fs-11 vx-txt-white">/</span>
1090
+ <span class="vx-fs-13 vx-fw-600 vx-txt-white">{{
1091
+ messages.length
1092
+ }}</span>
1093
+ <button
1094
+ (click)="activeIndex = activeIndex + 1"
1095
+ [class.disabled]="activeIndex === messages.length - 1"
1096
+ class="vx-fs-12 vx-p-0 vx-m-0 vx-ml-4 vx-d-flex vx-align-center"
1097
+ >
1098
+ <i class="icons">&#xe970;</i>
1099
+ </button>
1100
+ </div>
1101
+ </div>
1102
+ `, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";::ng-deep .global-alert{background:#343952;height:2.25rem;color:#f7d873}::ng-deep .global-alert.expired{color:#e38b7a}::ng-deep .global-alert.expired a{color:#fac3b7;margin-left:.5rem}::ng-deep .global-alert a{color:#f7d873}::ng-deep .global-alert-action{position:absolute;right:.75rem;top:.375rem}::ng-deep .global-alert-action span{letter-spacing:2px}::ng-deep .global-alert-action button{background:transparent;border-radius:0;border:none;color:#fff}::ng-deep .global-alert-action button.disabled{pointer-events:none;opacity:.5;color:#fff}\n"] }]
1103
+ }], ctorParameters: function () { return [{ type: ApiService }]; }, propDecorators: { feature: [{
1104
+ type: Input
1105
+ }], subscriptionStatus: [{
1106
+ type: Output
1107
+ }] } });
868
1108
 
869
- dayjs.extend(customParseFormat);
870
1109
  class BusinessCycleService {
871
1110
  constructor(authorizer) {
872
1111
  this.authorizer = authorizer;
@@ -961,7 +1200,7 @@ class BusinessCycleService {
961
1200
  * @returns date in this formate DD MMM YYYY
962
1201
  */
963
1202
  convertDate(date) {
964
- return dayjs(date, 'DD-MM-YYYY').format('DD MMM YYYY');
1203
+ return moment(date, 'DD-MM-YYYY').format('DD MMM YYYY');
965
1204
  }
966
1205
  /**
967
1206
  * #### Description
@@ -1425,7 +1664,7 @@ class BusinessCycleComponent {
1425
1664
  });
1426
1665
  }
1427
1666
  else {
1428
- this.businessCycleList.forEach((cycle) => {
1667
+ this.businessCycleList?.forEach((cycle) => {
1429
1668
  let isDisabled = true;
1430
1669
  this.tempSelectedCycle.forEach((el) => {
1431
1670
  if (cycle.start_date == el.start_date) {
@@ -1529,11 +1768,11 @@ class BusinessCycleComponent {
1529
1768
  }
1530
1769
  }
1531
1770
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BusinessCycleComponent, deps: [{ token: i1$1.AuthorizerService }, { token: BusinessCycleService }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Component }); }
1532
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BusinessCycleComponent, selector: "vc-business-cycle", inputs: { orgDetails: "orgDetails" }, outputs: { businessCycleChange: "businessCycleChange" }, ngImport: i0, template: "<div\r\n class=\"vc-business-cycle vx-pt-2 vx-pb-2\"\r\n appPopover\r\n (click)=\"businessCyclePop.popover()\"\r\n position=\"left\"\r\n>\r\n <div class=\"heading vx-fs-9 vx-tt-uppercase vx-mb-1 vx-lh-3\">\r\n SHOWING DATA {{ cycleToShow === \"Show Future Due Dates\" ? \"For\" : \"From\" }}\r\n </div>\r\n <div class=\"vx-d-flex vx-align-center vx-justify-between vx-lh-4\">\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <i class=\"icons calendar vx-fs-12 vx-mr-2\">&#xe996;</i>\r\n <span class=\"vx-fs-11 vx-txt-white vx-d-inline-block\">{{\r\n cycleToShow === \"Show Future Due Dates\"\r\n ? \"Future Due Dates\"\r\n : cycleToShow\r\n }}</span>\r\n </div>\r\n <i class=\"icons arrow vx-fs-10 vx-mr-2\">&#xe9e8;</i>\r\n </div>\r\n</div>\r\n\r\n<vui-popover #businessCyclePop [dontCloseonClick]=\"true\">\r\n <div class=\"vc-business-cycle-popover-container\">\r\n <div\r\n class=\"vc-business-cycle-popover-container-top vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n >\r\n <p class=\"vx-fs-11 vx-fw-400 vx-label-txt vx-p-0 vx-m-0\">\r\n You can select upto a max of two consecutive years\r\n </p>\r\n </div>\r\n <div class=\"vc-business-cycle-popover-container-body\">\r\n <ul class=\"vx-p-0 vx-m-0\">\r\n <ng-container\r\n *ngFor=\"let eachCycle of businessCycleList; let i = index\"\r\n >\r\n <li\r\n *ngIf=\"\r\n eachCycle?.business_cycle?.toLowerCase() ===\r\n 'show future due dates'\r\n \"\r\n class=\"vx-d-flex vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n [class.future-cycle]=\"true\"\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"businessCycleArr.includes(eachCycle?.business_cycle)\"\r\n (ngValueChange)=\"selectCycle(eachCycle, i)\"\r\n [disabled]=\"eachCycle?.isDisabled\"\r\n >Show Future Due Dates</app-cs-checkbox\r\n >\r\n <i\r\n class=\"icons info-icon vx-fs-12\"\r\n [arTooltip]=\"\r\n 'This option lets you view data that lies outside the current business cycle and are due in the future.'\r\n \"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >&#xe91f;</i\r\n >\r\n </li>\r\n <li\r\n *ngIf=\"\r\n eachCycle?.business_cycle?.toLowerCase() !==\r\n 'show future due dates'\r\n \"\r\n class=\"vx-d-flex vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"businessCycleArr.includes(eachCycle?.business_cycle)\"\r\n (ngValueChange)=\"selectCycle(eachCycle, i)\"\r\n [disabled]=\"eachCycle?.isDisabled\"\r\n >{{ eachCycle?.start_date | dateFormat }} -\r\n <ng-container>\r\n {{ eachCycle?.end_date | dateFormat }}</ng-container\r\n >\r\n </app-cs-checkbox>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n <div\r\n class=\"vc-business-cycle-popover-container-footer vx-d-flex vx-justify-between vx-p-3\"\r\n >\r\n <button\r\n (click)=\"businessCyclePop.closePopover('top')\"\r\n class=\"white vx-fs-11 vx-fw-500 vx-d-flex vx-align-center vx-justify-center vx-tt-uppercase vx-p-0 vx-m-0 vx-txt-blue\"\r\n >\r\n CANCEL\r\n </button>\r\n <button\r\n (click)=\"setBusinessCycle(); businessCyclePop.closePopover('top')\"\r\n [class.disabled]=\"false\"\r\n class=\"blue vx-fs-11 vx-fw-500 vx-d-flex vx-align-center vx-justify-center vx-tt-uppercase vx-p-0 vx-m-0 vx-txt-white\"\r\n >\r\n APPLY\r\n </button>\r\n </div>\r\n </div>\r\n</vui-popover>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";::ng-deep .vc-business-cycle{position:relative;width:12.5rem;height:3rem;cursor:pointer;z-index:1}::ng-deep .vc-business-cycle .heading{color:#e3e3e9}::ng-deep .vc-business-cycle i.calendar{color:#e3e3e9}::ng-deep .vc-business-cycle i.arrow{color:#f1f1f1}::ng-deep .vc-business-cycle-popover-container{width:15.625rem;background:#fff;box-shadow:0 4px 8px #1e5dd326;border:1px solid #e3e3e9;border-radius:.25rem;z-index:4}::ng-deep .vc-business-cycle-popover-container-top{background:#f8f8f8}::ng-deep .vc-business-cycle-popover-container-top p{line-height:.875rem}::ng-deep .vc-business-cycle-popover-container-body{background:#fff}::ng-deep .vc-business-cycle-popover-container-body ul li{list-style:none;margin:0;position:relative}::ng-deep .vc-business-cycle-popover-container-body ul li:before{background:#f1f1f1;content:\"\";position:absolute;left:.75rem;right:.75rem;bottom:0;height:.0625rem;width:calc(100% - 1.5rem)}::ng-deep .vc-business-cycle-popover-container-body ul li:last-of-type:before{display:none}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle{background:#fadd8a}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle:before{display:none}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle app-cs-checkbox label.checkbox-item span.checkbox{background:#fff}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle app-cs-checkbox label.checkbox-item span.value i{margin-left:.375rem}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle .info-icon{margin-left:.375rem;cursor:context-menu}::ng-deep .vc-business-cycle-popover-container-body ul li app-cs-checkbox{display:flex}::ng-deep .vc-business-cycle-popover-container-body ul li app-cs-checkbox label.checkbox-item span.value{font-size:12px!important;color:#161b2f!important;max-width:100%!important}::ng-deep .vc-business-cycle-popover-container-footer{background:#f8f8f8;border-radius:0 0 .25rem .25rem}::ng-deep .vc-business-cycle-popover-container-footer button{width:calc(50% - .125rem);height:1.5rem;border:1px solid transparent;text-transform:uppercase;border-radius:.125rem;line-height:1.375rem}::ng-deep .vc-business-cycle-popover-container-footer button.white{background:#fff;border-color:#dbdbdb}::ng-deep .vc-business-cycle-popover-container-footer button.blue{background:#1e5dd3;border-color:#1e5dd3}::ng-deep .vc-business-cycle-popover-container-footer button.disabled{background:#dbdbdb;color:#747576;border:none;pointer-events:none!important}\n"], dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }, { kind: "component", type: PopoverComponent, selector: "vui-popover", inputs: ["dontCloseonClick"], outputs: ["closedOnOverlay"] }, { kind: "directive", type: PopoverDirective, selector: "[appPopover]", inputs: ["refrence", "position"] }, { kind: "component", type: CsCheckboxComponent, selector: "app-cs-checkbox", inputs: ["disabled", "ngValue", "value"], outputs: ["ngValueChange"] }, { kind: "pipe", type: DateFormatPipe, name: "dateFormat" }] }); }
1771
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BusinessCycleComponent, selector: "vc-business-cycle", inputs: { orgDetails: "orgDetails" }, outputs: { businessCycleChange: "businessCycleChange" }, ngImport: i0, template: "<div\r\n class=\"vc-business-cycle vx-pt-2 vx-pb-2\"\r\n appPopover\r\n (click)=\"businessCyclePop.popover()\"\r\n position=\"left\"\r\n>\r\n <div class=\"heading vx-fs-9 vx-tt-uppercase vx-mb-1 vx-lh-3\">\r\n SHOWING DATA {{ cycleToShow === \"Show Future Due Dates\" ? \"For\" : \"From\" }}\r\n </div>\r\n <div class=\"vx-d-flex vx-align-center vx-justify-between vx-lh-4\">\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <i class=\"icons calendar vx-fs-12 vx-mr-2\">&#xe996;</i>\r\n <span class=\"vx-fs-11 vx-txt-white vx-d-inline-block\">{{\r\n cycleToShow === \"Show Future Due Dates\"\r\n ? \"Future Due Dates\"\r\n : cycleToShow\r\n }}</span>\r\n </div>\r\n <i class=\"icons arrow vx-fs-10 vx-mr-2\">&#xe9e8;</i>\r\n </div>\r\n</div>\r\n\r\n<vui-popover #businessCyclePop [dontCloseonClick]=\"true\">\r\n <div class=\"vc-business-cycle-popover-container\">\r\n <div\r\n class=\"vc-business-cycle-popover-container-top vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n >\r\n <p class=\"vx-fs-11 vx-fw-400 vx-label-txt vx-p-0 vx-m-0\">\r\n You can select upto a max of two consecutive years\r\n </p>\r\n </div>\r\n <div class=\"vc-business-cycle-popover-container-body\">\r\n <ul class=\"vx-p-0 vx-m-0\">\r\n <ng-container\r\n *ngFor=\"let eachCycle of businessCycleList; let i = index\"\r\n >\r\n <li\r\n *ngIf=\"\r\n eachCycle?.business_cycle?.toLowerCase() ===\r\n 'show future due dates'\r\n \"\r\n class=\"vx-d-flex vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n [class.future-cycle]=\"true\"\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"isSelectedCycle(tempSelectedCycle, eachCycle)\"\r\n (ngValueChange)=\"selectCycle(eachCycle, i)\"\r\n [disabled]=\"eachCycle?.isDisabled\"\r\n >Show Future Due Dates</app-cs-checkbox\r\n >\r\n <i\r\n class=\"icons info-icon vx-fs-12\"\r\n [arTooltip]=\"\r\n 'This option lets you view data that lies outside the current business cycle and are due in the future.'\r\n \"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >&#xe91f;</i\r\n >\r\n </li>\r\n <li\r\n *ngIf=\"\r\n eachCycle?.business_cycle?.toLowerCase() !==\r\n 'show future due dates'\r\n \"\r\n class=\"vx-d-flex vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"isSelectedCycle(tempSelectedCycle, eachCycle)\"\r\n (ngValueChange)=\"selectCycle(eachCycle, i)\"\r\n [disabled]=\"eachCycle?.isDisabled\"\r\n >{{ eachCycle?.start_date | dateFormat }} -\r\n <ng-container>\r\n {{ eachCycle?.end_date | dateFormat }}</ng-container\r\n >\r\n </app-cs-checkbox>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n <div\r\n class=\"vc-business-cycle-popover-container-footer vx-d-flex vx-justify-between vx-p-3\"\r\n >\r\n <button\r\n (click)=\"businessCyclePop.closePopover('top')\"\r\n class=\"white vx-fs-11 vx-fw-500 vx-d-flex vx-align-center vx-justify-center vx-tt-uppercase vx-p-0 vx-m-0 vx-txt-blue\"\r\n >\r\n CANCEL\r\n </button>\r\n <button\r\n (click)=\"setBusinessCycle(); businessCyclePop.closePopover('top')\"\r\n [class.disabled]=\"false\"\r\n class=\"blue vx-fs-11 vx-fw-500 vx-d-flex vx-align-center vx-justify-center vx-tt-uppercase vx-p-0 vx-m-0 vx-txt-white\"\r\n >\r\n APPLY\r\n </button>\r\n </div>\r\n </div>\r\n</vui-popover>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";::ng-deep .vc-business-cycle{position:relative;width:12.5rem;height:3rem;cursor:pointer;z-index:1}::ng-deep .vc-business-cycle .heading{color:#e3e3e9}::ng-deep .vc-business-cycle i.calendar{color:#e3e3e9}::ng-deep .vc-business-cycle i.arrow{color:#f1f1f1}::ng-deep .vc-business-cycle-popover-container{width:15.625rem;background:#fff;box-shadow:0 4px 8px #1e5dd326;border:1px solid #e3e3e9;border-radius:.25rem;z-index:4}::ng-deep .vc-business-cycle-popover-container-top{background:#f8f8f8}::ng-deep .vc-business-cycle-popover-container-top p{line-height:.875rem}::ng-deep .vc-business-cycle-popover-container-body{background:#fff}::ng-deep .vc-business-cycle-popover-container-body ul li{list-style:none;margin:0;position:relative}::ng-deep .vc-business-cycle-popover-container-body ul li:before{background:#f1f1f1;content:\"\";position:absolute;left:.75rem;right:.75rem;bottom:0;height:.0625rem;width:calc(100% - 1.5rem)}::ng-deep .vc-business-cycle-popover-container-body ul li:last-of-type:before{display:none}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle{background:#fadd8a}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle:before{display:none}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle app-cs-checkbox label.checkbox-item span.checkbox{background:#fff}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle app-cs-checkbox label.checkbox-item span.value i{margin-left:.375rem}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle .info-icon{margin-left:.375rem;cursor:context-menu}::ng-deep .vc-business-cycle-popover-container-body ul li app-cs-checkbox{display:flex}::ng-deep .vc-business-cycle-popover-container-body ul li app-cs-checkbox label.checkbox-item span.value{font-size:12px!important;color:#161b2f!important;max-width:100%!important}::ng-deep .vc-business-cycle-popover-container-footer{background:#f8f8f8;border-radius:0 0 .25rem .25rem}::ng-deep .vc-business-cycle-popover-container-footer button{width:calc(50% - .125rem);height:1.5rem;border:1px solid transparent;text-transform:uppercase;border-radius:.125rem;line-height:1.375rem}::ng-deep .vc-business-cycle-popover-container-footer button.white{background:#fff;border-color:#dbdbdb}::ng-deep .vc-business-cycle-popover-container-footer button.blue{background:#1e5dd3;border-color:#1e5dd3}::ng-deep .vc-business-cycle-popover-container-footer button.disabled{background:#dbdbdb;color:#747576;border:none;pointer-events:none!important}\n"], dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }, { kind: "component", type: PopoverComponent, selector: "vui-popover", inputs: ["dontCloseonClick"], outputs: ["closedOnOverlay"] }, { kind: "directive", type: PopoverDirective, selector: "[appPopover]", inputs: ["refrence", "position"] }, { kind: "component", type: CsCheckboxComponent, selector: "app-cs-checkbox", inputs: ["disabled", "ngValue", "value"], outputs: ["ngValueChange"] }, { kind: "pipe", type: DateFormatPipe, name: "dateFormat" }] }); }
1533
1772
  }
1534
1773
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BusinessCycleComponent, decorators: [{
1535
1774
  type: Component,
1536
- args: [{ selector: 'vc-business-cycle', template: "<div\r\n class=\"vc-business-cycle vx-pt-2 vx-pb-2\"\r\n appPopover\r\n (click)=\"businessCyclePop.popover()\"\r\n position=\"left\"\r\n>\r\n <div class=\"heading vx-fs-9 vx-tt-uppercase vx-mb-1 vx-lh-3\">\r\n SHOWING DATA {{ cycleToShow === \"Show Future Due Dates\" ? \"For\" : \"From\" }}\r\n </div>\r\n <div class=\"vx-d-flex vx-align-center vx-justify-between vx-lh-4\">\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <i class=\"icons calendar vx-fs-12 vx-mr-2\">&#xe996;</i>\r\n <span class=\"vx-fs-11 vx-txt-white vx-d-inline-block\">{{\r\n cycleToShow === \"Show Future Due Dates\"\r\n ? \"Future Due Dates\"\r\n : cycleToShow\r\n }}</span>\r\n </div>\r\n <i class=\"icons arrow vx-fs-10 vx-mr-2\">&#xe9e8;</i>\r\n </div>\r\n</div>\r\n\r\n<vui-popover #businessCyclePop [dontCloseonClick]=\"true\">\r\n <div class=\"vc-business-cycle-popover-container\">\r\n <div\r\n class=\"vc-business-cycle-popover-container-top vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n >\r\n <p class=\"vx-fs-11 vx-fw-400 vx-label-txt vx-p-0 vx-m-0\">\r\n You can select upto a max of two consecutive years\r\n </p>\r\n </div>\r\n <div class=\"vc-business-cycle-popover-container-body\">\r\n <ul class=\"vx-p-0 vx-m-0\">\r\n <ng-container\r\n *ngFor=\"let eachCycle of businessCycleList; let i = index\"\r\n >\r\n <li\r\n *ngIf=\"\r\n eachCycle?.business_cycle?.toLowerCase() ===\r\n 'show future due dates'\r\n \"\r\n class=\"vx-d-flex vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n [class.future-cycle]=\"true\"\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"businessCycleArr.includes(eachCycle?.business_cycle)\"\r\n (ngValueChange)=\"selectCycle(eachCycle, i)\"\r\n [disabled]=\"eachCycle?.isDisabled\"\r\n >Show Future Due Dates</app-cs-checkbox\r\n >\r\n <i\r\n class=\"icons info-icon vx-fs-12\"\r\n [arTooltip]=\"\r\n 'This option lets you view data that lies outside the current business cycle and are due in the future.'\r\n \"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >&#xe91f;</i\r\n >\r\n </li>\r\n <li\r\n *ngIf=\"\r\n eachCycle?.business_cycle?.toLowerCase() !==\r\n 'show future due dates'\r\n \"\r\n class=\"vx-d-flex vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"businessCycleArr.includes(eachCycle?.business_cycle)\"\r\n (ngValueChange)=\"selectCycle(eachCycle, i)\"\r\n [disabled]=\"eachCycle?.isDisabled\"\r\n >{{ eachCycle?.start_date | dateFormat }} -\r\n <ng-container>\r\n {{ eachCycle?.end_date | dateFormat }}</ng-container\r\n >\r\n </app-cs-checkbox>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n <div\r\n class=\"vc-business-cycle-popover-container-footer vx-d-flex vx-justify-between vx-p-3\"\r\n >\r\n <button\r\n (click)=\"businessCyclePop.closePopover('top')\"\r\n class=\"white vx-fs-11 vx-fw-500 vx-d-flex vx-align-center vx-justify-center vx-tt-uppercase vx-p-0 vx-m-0 vx-txt-blue\"\r\n >\r\n CANCEL\r\n </button>\r\n <button\r\n (click)=\"setBusinessCycle(); businessCyclePop.closePopover('top')\"\r\n [class.disabled]=\"false\"\r\n class=\"blue vx-fs-11 vx-fw-500 vx-d-flex vx-align-center vx-justify-center vx-tt-uppercase vx-p-0 vx-m-0 vx-txt-white\"\r\n >\r\n APPLY\r\n </button>\r\n </div>\r\n </div>\r\n</vui-popover>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";::ng-deep .vc-business-cycle{position:relative;width:12.5rem;height:3rem;cursor:pointer;z-index:1}::ng-deep .vc-business-cycle .heading{color:#e3e3e9}::ng-deep .vc-business-cycle i.calendar{color:#e3e3e9}::ng-deep .vc-business-cycle i.arrow{color:#f1f1f1}::ng-deep .vc-business-cycle-popover-container{width:15.625rem;background:#fff;box-shadow:0 4px 8px #1e5dd326;border:1px solid #e3e3e9;border-radius:.25rem;z-index:4}::ng-deep .vc-business-cycle-popover-container-top{background:#f8f8f8}::ng-deep .vc-business-cycle-popover-container-top p{line-height:.875rem}::ng-deep .vc-business-cycle-popover-container-body{background:#fff}::ng-deep .vc-business-cycle-popover-container-body ul li{list-style:none;margin:0;position:relative}::ng-deep .vc-business-cycle-popover-container-body ul li:before{background:#f1f1f1;content:\"\";position:absolute;left:.75rem;right:.75rem;bottom:0;height:.0625rem;width:calc(100% - 1.5rem)}::ng-deep .vc-business-cycle-popover-container-body ul li:last-of-type:before{display:none}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle{background:#fadd8a}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle:before{display:none}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle app-cs-checkbox label.checkbox-item span.checkbox{background:#fff}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle app-cs-checkbox label.checkbox-item span.value i{margin-left:.375rem}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle .info-icon{margin-left:.375rem;cursor:context-menu}::ng-deep .vc-business-cycle-popover-container-body ul li app-cs-checkbox{display:flex}::ng-deep .vc-business-cycle-popover-container-body ul li app-cs-checkbox label.checkbox-item span.value{font-size:12px!important;color:#161b2f!important;max-width:100%!important}::ng-deep .vc-business-cycle-popover-container-footer{background:#f8f8f8;border-radius:0 0 .25rem .25rem}::ng-deep .vc-business-cycle-popover-container-footer button{width:calc(50% - .125rem);height:1.5rem;border:1px solid transparent;text-transform:uppercase;border-radius:.125rem;line-height:1.375rem}::ng-deep .vc-business-cycle-popover-container-footer button.white{background:#fff;border-color:#dbdbdb}::ng-deep .vc-business-cycle-popover-container-footer button.blue{background:#1e5dd3;border-color:#1e5dd3}::ng-deep .vc-business-cycle-popover-container-footer button.disabled{background:#dbdbdb;color:#747576;border:none;pointer-events:none!important}\n"] }]
1775
+ args: [{ selector: 'vc-business-cycle', template: "<div\r\n class=\"vc-business-cycle vx-pt-2 vx-pb-2\"\r\n appPopover\r\n (click)=\"businessCyclePop.popover()\"\r\n position=\"left\"\r\n>\r\n <div class=\"heading vx-fs-9 vx-tt-uppercase vx-mb-1 vx-lh-3\">\r\n SHOWING DATA {{ cycleToShow === \"Show Future Due Dates\" ? \"For\" : \"From\" }}\r\n </div>\r\n <div class=\"vx-d-flex vx-align-center vx-justify-between vx-lh-4\">\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <i class=\"icons calendar vx-fs-12 vx-mr-2\">&#xe996;</i>\r\n <span class=\"vx-fs-11 vx-txt-white vx-d-inline-block\">{{\r\n cycleToShow === \"Show Future Due Dates\"\r\n ? \"Future Due Dates\"\r\n : cycleToShow\r\n }}</span>\r\n </div>\r\n <i class=\"icons arrow vx-fs-10 vx-mr-2\">&#xe9e8;</i>\r\n </div>\r\n</div>\r\n\r\n<vui-popover #businessCyclePop [dontCloseonClick]=\"true\">\r\n <div class=\"vc-business-cycle-popover-container\">\r\n <div\r\n class=\"vc-business-cycle-popover-container-top vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n >\r\n <p class=\"vx-fs-11 vx-fw-400 vx-label-txt vx-p-0 vx-m-0\">\r\n You can select upto a max of two consecutive years\r\n </p>\r\n </div>\r\n <div class=\"vc-business-cycle-popover-container-body\">\r\n <ul class=\"vx-p-0 vx-m-0\">\r\n <ng-container\r\n *ngFor=\"let eachCycle of businessCycleList; let i = index\"\r\n >\r\n <li\r\n *ngIf=\"\r\n eachCycle?.business_cycle?.toLowerCase() ===\r\n 'show future due dates'\r\n \"\r\n class=\"vx-d-flex vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n [class.future-cycle]=\"true\"\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"isSelectedCycle(tempSelectedCycle, eachCycle)\"\r\n (ngValueChange)=\"selectCycle(eachCycle, i)\"\r\n [disabled]=\"eachCycle?.isDisabled\"\r\n >Show Future Due Dates</app-cs-checkbox\r\n >\r\n <i\r\n class=\"icons info-icon vx-fs-12\"\r\n [arTooltip]=\"\r\n 'This option lets you view data that lies outside the current business cycle and are due in the future.'\r\n \"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >&#xe91f;</i\r\n >\r\n </li>\r\n <li\r\n *ngIf=\"\r\n eachCycle?.business_cycle?.toLowerCase() !==\r\n 'show future due dates'\r\n \"\r\n class=\"vx-d-flex vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3\"\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"isSelectedCycle(tempSelectedCycle, eachCycle)\"\r\n (ngValueChange)=\"selectCycle(eachCycle, i)\"\r\n [disabled]=\"eachCycle?.isDisabled\"\r\n >{{ eachCycle?.start_date | dateFormat }} -\r\n <ng-container>\r\n {{ eachCycle?.end_date | dateFormat }}</ng-container\r\n >\r\n </app-cs-checkbox>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n <div\r\n class=\"vc-business-cycle-popover-container-footer vx-d-flex vx-justify-between vx-p-3\"\r\n >\r\n <button\r\n (click)=\"businessCyclePop.closePopover('top')\"\r\n class=\"white vx-fs-11 vx-fw-500 vx-d-flex vx-align-center vx-justify-center vx-tt-uppercase vx-p-0 vx-m-0 vx-txt-blue\"\r\n >\r\n CANCEL\r\n </button>\r\n <button\r\n (click)=\"setBusinessCycle(); businessCyclePop.closePopover('top')\"\r\n [class.disabled]=\"false\"\r\n class=\"blue vx-fs-11 vx-fw-500 vx-d-flex vx-align-center vx-justify-center vx-tt-uppercase vx-p-0 vx-m-0 vx-txt-white\"\r\n >\r\n APPLY\r\n </button>\r\n </div>\r\n </div>\r\n</vui-popover>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";::ng-deep .vc-business-cycle{position:relative;width:12.5rem;height:3rem;cursor:pointer;z-index:1}::ng-deep .vc-business-cycle .heading{color:#e3e3e9}::ng-deep .vc-business-cycle i.calendar{color:#e3e3e9}::ng-deep .vc-business-cycle i.arrow{color:#f1f1f1}::ng-deep .vc-business-cycle-popover-container{width:15.625rem;background:#fff;box-shadow:0 4px 8px #1e5dd326;border:1px solid #e3e3e9;border-radius:.25rem;z-index:4}::ng-deep .vc-business-cycle-popover-container-top{background:#f8f8f8}::ng-deep .vc-business-cycle-popover-container-top p{line-height:.875rem}::ng-deep .vc-business-cycle-popover-container-body{background:#fff}::ng-deep .vc-business-cycle-popover-container-body ul li{list-style:none;margin:0;position:relative}::ng-deep .vc-business-cycle-popover-container-body ul li:before{background:#f1f1f1;content:\"\";position:absolute;left:.75rem;right:.75rem;bottom:0;height:.0625rem;width:calc(100% - 1.5rem)}::ng-deep .vc-business-cycle-popover-container-body ul li:last-of-type:before{display:none}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle{background:#fadd8a}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle:before{display:none}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle app-cs-checkbox label.checkbox-item span.checkbox{background:#fff}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle app-cs-checkbox label.checkbox-item span.value i{margin-left:.375rem}::ng-deep .vc-business-cycle-popover-container-body ul li.future-cycle .info-icon{margin-left:.375rem;cursor:context-menu}::ng-deep .vc-business-cycle-popover-container-body ul li app-cs-checkbox{display:flex}::ng-deep .vc-business-cycle-popover-container-body ul li app-cs-checkbox label.checkbox-item span.value{font-size:12px!important;color:#161b2f!important;max-width:100%!important}::ng-deep .vc-business-cycle-popover-container-footer{background:#f8f8f8;border-radius:0 0 .25rem .25rem}::ng-deep .vc-business-cycle-popover-container-footer button{width:calc(50% - .125rem);height:1.5rem;border:1px solid transparent;text-transform:uppercase;border-radius:.125rem;line-height:1.375rem}::ng-deep .vc-business-cycle-popover-container-footer button.white{background:#fff;border-color:#dbdbdb}::ng-deep .vc-business-cycle-popover-container-footer button.blue{background:#1e5dd3;border-color:#1e5dd3}::ng-deep .vc-business-cycle-popover-container-footer button.disabled{background:#dbdbdb;color:#747576;border:none;pointer-events:none!important}\n"] }]
1537
1776
  }], ctorParameters: function () { return [{ type: i1$1.AuthorizerService }, { type: BusinessCycleService }, { type: ApiService }]; }, propDecorators: { businessCycleChange: [{
1538
1777
  type: Output
1539
1778
  }], orgDetails: [{
@@ -1544,11 +1783,11 @@ class SearchComponent {
1544
1783
  constructor() { }
1545
1784
  ngOnInit() { }
1546
1785
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1547
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SearchComponent, selector: "vc-search", ngImport: i0, template: "<div class=\"vc-search\">\r\n <input type=\"text\" placeholder=\"Search\" />\r\n <i class=\"icons serachIcon vx-fs-10 vx-txt-white\">&#xe90b;</i>\r\n <i class=\"icons crossIcon vx-fs-10 vx-txt-white\">&#xe9ae;</i>\r\n <div\r\n class=\"vc-advance-search-btn vx-d-flex vx-align-center vx-justify-center\"\r\n [arTooltip]=\"'Advance Search'\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n <i class=\"icons vx-fs-12\">&#xea91;</i>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.vc-search{position:relative}.vc-search input{background:#282e48;border-radius:24px;border:1px solid #565a6f;color:#fff;font-size:11px;font-weight:300;padding:0 2rem 0 1.5rem;height:1.75rem;width:18rem;transition:all .3s ease-out}.vc-search input:hover{border-color:#787a8c}.vc-search input::placeholder{color:#fff}.vc-search input:focus{background:#fff;color:#565a6f;outline:none;width:30rem;height:1.875rem}.vc-search input:focus::placeholder{color:#a9aab6}.vc-search input:focus~.serachIcon{color:#565a6f}.vc-search input:focus~.vc-advance-search-btn{background:#e3e3e9;border-radius:50px;top:3px}.vc-search input:focus~.vc-advance-search-btn i{color:#565a6f}.vc-search input:focus~.crossIcon{color:#565a6f;display:block}.vc-search i{position:absolute;cursor:pointer;left:10px;top:10px;z-index:1}.vc-search i.crossIcon{left:unset;right:2.5rem;display:none}.vc-search .vc-advance-search-btn{width:1.5rem;height:1.5rem;position:absolute;right:.25rem;top:.125rem;cursor:pointer}.vc-search .vc-advance-search-btn i{color:#cdced6;position:static}\n"], dependencies: [{ kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }] }); }
1786
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SearchComponent, selector: "vc-search", ngImport: i0, template: "<div class=\"vc-search\">\r\n <input type=\"text\" placeholder=\"Search\" />\r\n <i class=\"icons serachIcon vx-fs-10 vx-txt-white\">&#xe90b;</i>\r\n <i class=\"icons crossIcon vx-fs-10 vx-txt-white\">&#xe9ae;</i>\r\n <div\r\n class=\"vc-advance-search-btn vx-d-flex vx-align-center vx-justify-center\"\r\n [arTooltip]=\"'Advance Search'\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n <i class=\"icons vx-fs-12\">&#xea91;</i>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.vc-search{position:relative}.vc-search input{background:transparent;border-radius:24px;border:1px solid #565a6f;color:#fff;font-size:11px;font-weight:300;padding:0 2rem 0 1.5rem;height:1.75rem;width:18rem;transition:all .3s ease-out}.vc-search input:hover{border-color:#787a8c}.vc-search input::placeholder{color:#fff}.vc-search input:focus{background:#fff;color:#565a6f;outline:none;width:30rem;height:1.875rem}.vc-search input:focus::placeholder{color:#a9aab6}.vc-search input:focus~.serachIcon{color:#565a6f}.vc-search input:focus~.vc-advance-search-btn{background:#e3e3e9;border-radius:50px;top:3px}.vc-search input:focus~.vc-advance-search-btn i{color:#565a6f}.vc-search input:focus~.crossIcon{color:#565a6f;display:block}.vc-search i{position:absolute;cursor:pointer;left:10px;top:10px;z-index:1}.vc-search i.crossIcon{left:unset;right:2.5rem;display:none}.vc-search .vc-advance-search-btn{width:1.5rem;height:1.5rem;position:absolute;right:.25rem;top:.125rem;cursor:pointer}.vc-search .vc-advance-search-btn i{color:#cdced6;position:static}\n"], dependencies: [{ kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }] }); }
1548
1787
  }
1549
1788
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SearchComponent, decorators: [{
1550
1789
  type: Component,
1551
- args: [{ selector: 'vc-search', template: "<div class=\"vc-search\">\r\n <input type=\"text\" placeholder=\"Search\" />\r\n <i class=\"icons serachIcon vx-fs-10 vx-txt-white\">&#xe90b;</i>\r\n <i class=\"icons crossIcon vx-fs-10 vx-txt-white\">&#xe9ae;</i>\r\n <div\r\n class=\"vc-advance-search-btn vx-d-flex vx-align-center vx-justify-center\"\r\n [arTooltip]=\"'Advance Search'\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n <i class=\"icons vx-fs-12\">&#xea91;</i>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.vc-search{position:relative}.vc-search input{background:#282e48;border-radius:24px;border:1px solid #565a6f;color:#fff;font-size:11px;font-weight:300;padding:0 2rem 0 1.5rem;height:1.75rem;width:18rem;transition:all .3s ease-out}.vc-search input:hover{border-color:#787a8c}.vc-search input::placeholder{color:#fff}.vc-search input:focus{background:#fff;color:#565a6f;outline:none;width:30rem;height:1.875rem}.vc-search input:focus::placeholder{color:#a9aab6}.vc-search input:focus~.serachIcon{color:#565a6f}.vc-search input:focus~.vc-advance-search-btn{background:#e3e3e9;border-radius:50px;top:3px}.vc-search input:focus~.vc-advance-search-btn i{color:#565a6f}.vc-search input:focus~.crossIcon{color:#565a6f;display:block}.vc-search i{position:absolute;cursor:pointer;left:10px;top:10px;z-index:1}.vc-search i.crossIcon{left:unset;right:2.5rem;display:none}.vc-search .vc-advance-search-btn{width:1.5rem;height:1.5rem;position:absolute;right:.25rem;top:.125rem;cursor:pointer}.vc-search .vc-advance-search-btn i{color:#cdced6;position:static}\n"] }]
1790
+ args: [{ selector: 'vc-search', template: "<div class=\"vc-search\">\r\n <input type=\"text\" placeholder=\"Search\" />\r\n <i class=\"icons serachIcon vx-fs-10 vx-txt-white\">&#xe90b;</i>\r\n <i class=\"icons crossIcon vx-fs-10 vx-txt-white\">&#xe9ae;</i>\r\n <div\r\n class=\"vc-advance-search-btn vx-d-flex vx-align-center vx-justify-center\"\r\n [arTooltip]=\"'Advance Search'\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n <i class=\"icons vx-fs-12\">&#xea91;</i>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.vc-search{position:relative}.vc-search input{background:transparent;border-radius:24px;border:1px solid #565a6f;color:#fff;font-size:11px;font-weight:300;padding:0 2rem 0 1.5rem;height:1.75rem;width:18rem;transition:all .3s ease-out}.vc-search input:hover{border-color:#787a8c}.vc-search input::placeholder{color:#fff}.vc-search input:focus{background:#fff;color:#565a6f;outline:none;width:30rem;height:1.875rem}.vc-search input:focus::placeholder{color:#a9aab6}.vc-search input:focus~.serachIcon{color:#565a6f}.vc-search input:focus~.vc-advance-search-btn{background:#e3e3e9;border-radius:50px;top:3px}.vc-search input:focus~.vc-advance-search-btn i{color:#565a6f}.vc-search input:focus~.crossIcon{color:#565a6f;display:block}.vc-search i{position:absolute;cursor:pointer;left:10px;top:10px;z-index:1}.vc-search i.crossIcon{left:unset;right:2.5rem;display:none}.vc-search .vc-advance-search-btn{width:1.5rem;height:1.5rem;position:absolute;right:.25rem;top:.125rem;cursor:pointer}.vc-search .vc-advance-search-btn i{color:#cdced6;position:static}\n"] }]
1552
1791
  }], ctorParameters: function () { return []; } });
1553
1792
 
1554
1793
  class CreateWorkflowComponent {
@@ -1746,49 +1985,33 @@ class HeaderContainerComponent {
1746
1985
  constructor(apiService) {
1747
1986
  this.apiService = apiService;
1748
1987
  this.ASSETS = ASSETS;
1749
- this.showBusinessCycle = ['/'];
1988
+ this.showBusinessCycle = BUSINESS_CYCLE_URL;
1750
1989
  this.currentUrl = '';
1751
1990
  this.businessCycleChange = new EventEmitter();
1752
1991
  this.openDialog = new EventEmitter();
1753
1992
  this.currentUrl = window.location.pathname;
1754
1993
  console.log('currentUrl', this.currentUrl);
1755
1994
  }
1756
- ngOnInit() { }
1995
+ businessCycleChangeHandler(event) {
1996
+ this.businessCycleChange.emit(event);
1997
+ }
1757
1998
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderContainerComponent, deps: [{ token: ApiService }], target: i0.ɵɵFactoryTarget.Component }); }
1758
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderContainerComponent, selector: "vc-header-container", outputs: { openDialog: "openDialog" }, ngImport: i0, template: "<vc-global-alert *ngIf=\"false\"></vc-global-alert>\r\n<div\r\n class=\"header-container vx-d-flex vx-align-center vx-justify-between vx-pr-3\"\r\n>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <a\r\n class=\"product-logo vx-d-flex vx-align-center vx-justify-center vx-mr-3\"\r\n [arTooltip]=\"'Go to Dashboard'\"\r\n placement=\"right\"\r\n type=\"white\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n [animate]=\"true\"\r\n ><img [src]=\"ASSETS.v_icon\" alt=\"VComply\" width=\"24\" height=\"24\"\r\n /></a>\r\n <vc-business-cycle\r\n *ngIf=\"showBusinessCycle.includes(currentUrl)\"\r\n (businessCycleChange)=\"businessCycleChange.emit($event)\"\r\n ></vc-business-cycle>\r\n </div>\r\n <div class=\"search-area\">\r\n <vc-search *ngIf=\"false\"></vc-search>\r\n </div>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <vc-support (openSupport)=\"openDialog.emit('SUPPORT')\"></vc-support>\r\n <vc-create-workflow\r\n *ngIf=\"apiService.loggedUserDetail$ | async | checkPermission\"\r\n (openWorkflow)=\"openDialog.emit('WORKFLOW')\"\r\n ></vc-create-workflow>\r\n <vc-queue></vc-queue>\r\n <vc-user-details\r\n [userDetails]=\"apiService.loggedUserDetail$ | async\"\r\n [subscriptionDetails]=\"apiService.subscriptionDetail$ | async\"\r\n ></vc-user-details>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.header-container{background:#161b2f;height:3rem}.header-container .product-logo{width:3rem;height:3rem}.header-container .product-logo img{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }, { kind: "component", type: GlobalAlertComponent, selector: "vc-global-alert" }, { kind: "component", type: BusinessCycleComponent, selector: "vc-business-cycle", inputs: ["orgDetails"], outputs: ["businessCycleChange"] }, { kind: "component", type: SearchComponent, selector: "vc-search" }, { kind: "component", type: CreateWorkflowComponent, selector: "vc-create-workflow", outputs: ["openWorkflow"] }, { kind: "component", type: QueueComponent, selector: "vc-queue" }, { kind: "component", type: UserDetailsComponent, selector: "vc-user-details", inputs: ["userDetails", "subscriptionDetails"] }, { kind: "component", type: SupportComponent, selector: "vc-support", outputs: ["openSupport"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "pipe", type: CreatePermissionPipe, name: "checkPermission" }] }); }
1999
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderContainerComponent, selector: "vc-header-container", inputs: { featureFlag: "featureFlag" }, outputs: { businessCycleChange: "businessCycleChange", openDialog: "openDialog" }, ngImport: i0, template: "<vc-global-alert [feature]=\"featureFlag\"></vc-global-alert>\r\n<div\r\n class=\"header-container vx-d-flex vx-align-center vx-justify-between vx-pr-3\"\r\n>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <a\r\n class=\"product-logo vx-d-flex vx-align-center vx-justify-center vx-mr-3\"\r\n [arTooltip]=\"'Go to Dashboard'\"\r\n placement=\"right\"\r\n type=\"white\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n [animate]=\"true\"\r\n ><img [src]=\"ASSETS.v_icon\" alt=\"VComply\" width=\"24\" height=\"24\"\r\n /></a>\r\n <vc-business-cycle\r\n *ngIf=\"showBusinessCycle.includes(currentUrl)\"\r\n (businessCycleChange)=\"businessCycleChangeHandler($event)\"\r\n ></vc-business-cycle>\r\n </div>\r\n <div class=\"search-area\">\r\n <vc-search *ngIf=\"false\"></vc-search>\r\n </div>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <vc-support (openSupport)=\"openDialog.emit('SUPPORT')\"></vc-support>\r\n <vc-create-workflow\r\n *ngIf=\"apiService.loggedUserDetail$ | async | checkPermission\"\r\n (openWorkflow)=\"openDialog.emit('WORKFLOW')\"\r\n ></vc-create-workflow>\r\n <vc-queue></vc-queue>\r\n <vc-user-details\r\n [userDetails]=\"apiService.loggedUserDetail$ | async\"\r\n [subscriptionDetails]=\"apiService.subscriptionDetail$ | async\"\r\n ></vc-user-details>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.header-container{height:3rem}.header-container .product-logo{width:3rem;height:3rem}.header-container .product-logo img{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }, { kind: "component", type: GlobalAlertComponent, selector: "vc-global-alert", inputs: ["feature"], outputs: ["subscriptionStatus"] }, { kind: "component", type: BusinessCycleComponent, selector: "vc-business-cycle", inputs: ["orgDetails"], outputs: ["businessCycleChange"] }, { kind: "component", type: SearchComponent, selector: "vc-search" }, { kind: "component", type: CreateWorkflowComponent, selector: "vc-create-workflow", outputs: ["openWorkflow"] }, { kind: "component", type: QueueComponent, selector: "vc-queue" }, { kind: "component", type: UserDetailsComponent, selector: "vc-user-details", inputs: ["userDetails", "subscriptionDetails"] }, { kind: "component", type: SupportComponent, selector: "vc-support", outputs: ["openSupport"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "pipe", type: CreatePermissionPipe, name: "checkPermission" }] }); }
1759
2000
  }
1760
2001
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderContainerComponent, decorators: [{
1761
2002
  type: Component,
1762
- args: [{ selector: 'vc-header-container', template: "<vc-global-alert *ngIf=\"false\"></vc-global-alert>\r\n<div\r\n class=\"header-container vx-d-flex vx-align-center vx-justify-between vx-pr-3\"\r\n>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <a\r\n class=\"product-logo vx-d-flex vx-align-center vx-justify-center vx-mr-3\"\r\n [arTooltip]=\"'Go to Dashboard'\"\r\n placement=\"right\"\r\n type=\"white\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n [animate]=\"true\"\r\n ><img [src]=\"ASSETS.v_icon\" alt=\"VComply\" width=\"24\" height=\"24\"\r\n /></a>\r\n <vc-business-cycle\r\n *ngIf=\"showBusinessCycle.includes(currentUrl)\"\r\n (businessCycleChange)=\"businessCycleChange.emit($event)\"\r\n ></vc-business-cycle>\r\n </div>\r\n <div class=\"search-area\">\r\n <vc-search *ngIf=\"false\"></vc-search>\r\n </div>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <vc-support (openSupport)=\"openDialog.emit('SUPPORT')\"></vc-support>\r\n <vc-create-workflow\r\n *ngIf=\"apiService.loggedUserDetail$ | async | checkPermission\"\r\n (openWorkflow)=\"openDialog.emit('WORKFLOW')\"\r\n ></vc-create-workflow>\r\n <vc-queue></vc-queue>\r\n <vc-user-details\r\n [userDetails]=\"apiService.loggedUserDetail$ | async\"\r\n [subscriptionDetails]=\"apiService.subscriptionDetail$ | async\"\r\n ></vc-user-details>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.header-container{background:#161b2f;height:3rem}.header-container .product-logo{width:3rem;height:3rem}.header-container .product-logo img{pointer-events:none}\n"] }]
1763
- }], ctorParameters: function () { return [{ type: ApiService }]; }, propDecorators: { openDialog: [{
2003
+ args: [{ selector: 'vc-header-container', template: "<vc-global-alert [feature]=\"featureFlag\"></vc-global-alert>\r\n<div\r\n class=\"header-container vx-d-flex vx-align-center vx-justify-between vx-pr-3\"\r\n>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <a\r\n class=\"product-logo vx-d-flex vx-align-center vx-justify-center vx-mr-3\"\r\n [arTooltip]=\"'Go to Dashboard'\"\r\n placement=\"right\"\r\n type=\"white\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n [animate]=\"true\"\r\n ><img [src]=\"ASSETS.v_icon\" alt=\"VComply\" width=\"24\" height=\"24\"\r\n /></a>\r\n <vc-business-cycle\r\n *ngIf=\"showBusinessCycle.includes(currentUrl)\"\r\n (businessCycleChange)=\"businessCycleChangeHandler($event)\"\r\n ></vc-business-cycle>\r\n </div>\r\n <div class=\"search-area\">\r\n <vc-search *ngIf=\"false\"></vc-search>\r\n </div>\r\n <div class=\"vx-d-flex vx-align-center\">\r\n <vc-support (openSupport)=\"openDialog.emit('SUPPORT')\"></vc-support>\r\n <vc-create-workflow\r\n *ngIf=\"apiService.loggedUserDetail$ | async | checkPermission\"\r\n (openWorkflow)=\"openDialog.emit('WORKFLOW')\"\r\n ></vc-create-workflow>\r\n <vc-queue></vc-queue>\r\n <vc-user-details\r\n [userDetails]=\"apiService.loggedUserDetail$ | async\"\r\n [subscriptionDetails]=\"apiService.subscriptionDetail$ | async\"\r\n ></vc-user-details>\r\n </div>\r\n</div>\r\n", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.header-container{height:3rem}.header-container .product-logo{width:3rem;height:3rem}.header-container .product-logo img{pointer-events:none}\n"] }]
2004
+ }], ctorParameters: function () { return [{ type: ApiService }]; }, propDecorators: { featureFlag: [{
2005
+ type: Input
2006
+ }], businessCycleChange: [{
2007
+ type: Output
2008
+ }], openDialog: [{
1764
2009
  type: Output
1765
2010
  }] } });
1766
2011
 
1767
2012
  class SubMenuContainerComponent {
1768
2013
  constructor() {
1769
- this.subMenuData = [
1770
- {
1771
- name: 'Policy',
1772
- code: 'POLICY',
1773
- callback: () => { },
1774
- href: '#',
1775
- class: 'active',
1776
- },
1777
- {
1778
- name: 'Issue',
1779
- code: 'ISSUE',
1780
- callback: () => { },
1781
- href: '#',
1782
- class: '',
1783
- },
1784
- {
1785
- name: 'Risk',
1786
- code: 'RISK',
1787
- callback: () => { },
1788
- href: '#',
1789
- class: '',
1790
- },
1791
- ];
2014
+ this.subMenuData = [];
1792
2015
  this.onCloseSubMenu = new EventEmitter();
1793
2016
  }
1794
2017
  ngOnInit() { }
@@ -1891,12 +2114,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1891
2114
  }]
1892
2115
  }] });
1893
2116
 
2117
+ class PipesModule {
2118
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2119
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: PipesModule, declarations: [GetFileUrlPipe,
2120
+ CreatePermissionPipe,
2121
+ DateFormatPipe,
2122
+ GetModuleIconPipe], imports: [CommonModule], exports: [GetFileUrlPipe,
2123
+ CreatePermissionPipe,
2124
+ DateFormatPipe,
2125
+ GetModuleIconPipe] }); }
2126
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PipesModule, imports: [CommonModule] }); }
2127
+ }
2128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PipesModule, decorators: [{
2129
+ type: NgModule,
2130
+ args: [{
2131
+ declarations: [
2132
+ GetFileUrlPipe,
2133
+ CreatePermissionPipe,
2134
+ DateFormatPipe,
2135
+ GetModuleIconPipe,
2136
+ ],
2137
+ imports: [CommonModule],
2138
+ exports: [
2139
+ GetFileUrlPipe,
2140
+ CreatePermissionPipe,
2141
+ DateFormatPipe,
2142
+ GetModuleIconPipe,
2143
+ ],
2144
+ }]
2145
+ }] });
2146
+
1894
2147
  class ProductListModule {
1895
2148
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProductListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1896
2149
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ProductListModule, declarations: [ProductListContainerComponent,
1897
2150
  ModuleListComponent,
1898
- PreferenceListComponent], imports: [CommonModule, TooltipModule], exports: [ProductListContainerComponent] }); }
1899
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProductListModule, imports: [CommonModule, TooltipModule] }); }
2151
+ PreferenceListComponent], imports: [CommonModule, TooltipModule, PipesModule], exports: [ProductListContainerComponent] }); }
2152
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProductListModule, imports: [CommonModule, TooltipModule, PipesModule] }); }
1900
2153
  }
1901
2154
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProductListModule, decorators: [{
1902
2155
  type: NgModule,
@@ -1906,25 +2159,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1906
2159
  ModuleListComponent,
1907
2160
  PreferenceListComponent,
1908
2161
  ],
1909
- imports: [CommonModule, TooltipModule],
2162
+ imports: [CommonModule, TooltipModule, PipesModule],
1910
2163
  exports: [ProductListContainerComponent],
1911
2164
  }]
1912
2165
  }] });
1913
2166
 
1914
- class PipesModule {
1915
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1916
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: PipesModule, declarations: [GetFileUrlPipe, CreatePermissionPipe, DateFormatPipe], imports: [CommonModule], exports: [GetFileUrlPipe, CreatePermissionPipe, DateFormatPipe] }); }
1917
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PipesModule, imports: [CommonModule] }); }
1918
- }
1919
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PipesModule, decorators: [{
1920
- type: NgModule,
1921
- args: [{
1922
- declarations: [GetFileUrlPipe, CreatePermissionPipe, DateFormatPipe],
1923
- imports: [CommonModule],
1924
- exports: [GetFileUrlPipe, CreatePermissionPipe, DateFormatPipe],
1925
- }]
1926
- }] });
1927
-
1928
2167
  class AvatarModule {
1929
2168
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1930
2169
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AvatarModule, declarations: [AvatarComponent], imports: [CommonModule, PipesModule], exports: [AvatarComponent] }); }