vc-create-dashboard 3.0.88 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/README.md +24 -24
  2. package/fesm2022/vc-create-dashboard.mjs +6475 -6555
  3. package/fesm2022/vc-create-dashboard.mjs.map +1 -1
  4. package/package.json +5 -6
  5. package/types/vc-create-dashboard.d.ts +1680 -0
  6. package/esm2022/lib/configurations.mjs +0 -7
  7. package/esm2022/lib/create-dashboard-container/categories/categories-config.mjs +0 -2
  8. package/esm2022/lib/create-dashboard-container/categories/categories.component.mjs +0 -212
  9. package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.mjs +0 -350
  10. package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.mjs +0 -2
  11. package/esm2022/lib/create-dashboard-container/configure-widgets/configure-widgets.module.mjs +0 -47
  12. package/esm2022/lib/create-dashboard-container/constants/assets.constant.mjs +0 -37
  13. package/esm2022/lib/create-dashboard-container/create-dashboard-config.mjs +0 -2
  14. package/esm2022/lib/create-dashboard-container/create-dashboard.component.mjs +0 -1601
  15. package/esm2022/lib/create-dashboard-container/create-dashboard.module.mjs +0 -127
  16. package/esm2022/lib/create-dashboard-container/directives/directives.module.mjs +0 -24
  17. package/esm2022/lib/create-dashboard-container/directives/scroll-in-view.directive.mjs +0 -36
  18. package/esm2022/lib/create-dashboard-container/form-group/form-group.component.mjs +0 -153
  19. package/esm2022/lib/create-dashboard-container/frequency/frequency.component.mjs +0 -309
  20. package/esm2022/lib/create-dashboard-container/interfaces/widget-data-model.mjs +0 -2
  21. package/esm2022/lib/create-dashboard-container/pipes/filter.pipe.mjs +0 -30
  22. package/esm2022/lib/create-dashboard-container/pipes/search-program.pipe.mjs +0 -37
  23. package/esm2022/lib/create-dashboard-container/pipes/search.pipe.mjs +0 -25
  24. package/esm2022/lib/create-dashboard-container/pipes/text-count.pipe.mjs +0 -18
  25. package/esm2022/lib/create-dashboard-container/program-list/constant.mjs +0 -31
  26. package/esm2022/lib/create-dashboard-container/program-list/information-block/information-block.component.mjs +0 -13
  27. package/esm2022/lib/create-dashboard-container/program-list/interfaces/list-item.interface.mjs +0 -2
  28. package/esm2022/lib/create-dashboard-container/program-list/list-container/list-container.component.mjs +0 -50
  29. package/esm2022/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.mjs +0 -23
  30. package/esm2022/lib/create-dashboard-container/program-list/program-list/program-list.component.mjs +0 -294
  31. package/esm2022/lib/create-dashboard-container/program-list/program-list.module.mjs +0 -60
  32. package/esm2022/lib/create-dashboard-container/program-list/services/list-utils.service.mjs +0 -27
  33. package/esm2022/lib/create-dashboard-container/program-list/services/program-list-api.service.mjs +0 -28
  34. package/esm2022/lib/create-dashboard-container/responsibility-center/responsibility-center.component.mjs +0 -239
  35. package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories-config.mjs +0 -2
  36. package/esm2022/lib/create-dashboard-container/risk-categories/risk-categories.component.mjs +0 -206
  37. package/esm2022/lib/create-dashboard-container/services/configure-widgets.service.mjs +0 -233
  38. package/esm2022/lib/create-dashboard-container/services/create-dashboard.service.mjs +0 -227
  39. package/esm2022/lib/create-dashboard-container/services/pagination.service.mjs +0 -28
  40. package/esm2022/lib/create-dashboard-container/user-list/user-list.component.mjs +0 -440
  41. package/esm2022/lib/create-dashboard-container/user-list/user-list.config.mjs +0 -2
  42. package/esm2022/lib/create-dashboard-container/utils/dashboard-edit.utils.mjs +0 -181
  43. package/esm2022/lib/create-dashboard-container/utils/dashboard-timeframe.util.mjs +0 -88
  44. package/esm2022/lib/create-dashboard.service.mjs +0 -14
  45. package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.mjs +0 -52
  46. package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer-config.mjs +0 -2
  47. package/esm2022/lib/ui-kit/dashboard-footer/dashboard-footer.module.mjs +0 -32
  48. package/esm2022/lib/ui-kit/dialog/dialog-config.mjs +0 -7
  49. package/esm2022/lib/ui-kit/dialog/dialog-injector.mjs +0 -17
  50. package/esm2022/lib/ui-kit/dialog/dialog-ref.mjs +0 -11
  51. package/esm2022/lib/ui-kit/dialog/dialog.component.mjs +0 -96
  52. package/esm2022/lib/ui-kit/dialog/dialog.module.mjs +0 -20
  53. package/esm2022/lib/ui-kit/dialog/dialog.service.mjs +0 -56
  54. package/esm2022/lib/ui-kit/dialog/insertion.directive.mjs +0 -17
  55. package/esm2022/lib/ui-kit/floating-bar/floating-bar.component.mjs +0 -57
  56. package/esm2022/lib/ui-kit/floating-bar/floating-bar.module.mjs +0 -32
  57. package/esm2022/lib/ui-kit/formgroup/click-outside.directive.mjs +0 -30
  58. package/esm2022/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +0 -29
  59. package/esm2022/lib/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +0 -34
  60. package/esm2022/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +0 -14
  61. package/esm2022/lib/ui-kit/formgroup/cs-select/cs-select.component.mjs +0 -119
  62. package/esm2022/lib/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +0 -39
  63. package/esm2022/lib/ui-kit/formgroup/formgroup.module.mjs +0 -55
  64. package/esm2022/lib/ui-kit/formgroup/pipes/pascal.pipe.mjs +0 -19
  65. package/esm2022/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +0 -24
  66. package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +0 -24
  67. package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +0 -18
  68. package/esm2022/lib/ui-kit/no-data/no-data.component.mjs +0 -47
  69. package/esm2022/lib/ui-kit/no-data/no-data.module.mjs +0 -18
  70. package/esm2022/lib/ui-kit/pagination/pagination.component.mjs +0 -130
  71. package/esm2022/lib/ui-kit/pagination/pagination.module.mjs +0 -18
  72. package/esm2022/lib/ui-kit/popover/popover.component.mjs +0 -129
  73. package/esm2022/lib/ui-kit/popover/popover.directive.mjs +0 -93
  74. package/esm2022/lib/ui-kit/popover/popover.module.mjs +0 -21
  75. package/esm2022/lib/ui-kit/popover/popover.service.mjs +0 -23
  76. package/esm2022/lib/ui-kit/select/cs-option/cs-option.component.mjs +0 -41
  77. package/esm2022/lib/ui-kit/select/cs-select/cs-select.component.mjs +0 -107
  78. package/esm2022/lib/ui-kit/select/safe-html.pipe.mjs +0 -21
  79. package/esm2022/lib/ui-kit/select/select.module.mjs +0 -21
  80. package/esm2022/lib/ui-kit/services/cs-select.service.mjs +0 -16
  81. package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.component.mjs +0 -52
  82. package/esm2022/lib/ui-kit/smiley-dialog/smiley-dialog.module.mjs +0 -18
  83. package/esm2022/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.mjs +0 -46
  84. package/esm2022/lib/ui-kit/snack-bar/snack-bar.module.mjs +0 -18
  85. package/esm2022/lib/ui-kit/snack-bar/snack-bar.service.mjs +0 -23
  86. package/esm2022/lib/ui-kit/tooltip/tooltip.directive.mjs +0 -168
  87. package/esm2022/lib/ui-kit/tooltip/tooltip.module.mjs +0 -18
  88. package/esm2022/lib/ui-kit/v-loader/loader/loader.component.mjs +0 -24
  89. package/esm2022/lib/ui-kit/v-loader/loader-inline/loader-inline.component.mjs +0 -24
  90. package/esm2022/lib/ui-kit/v-loader/v-loader.module.mjs +0 -19
  91. package/esm2022/public-api.mjs +0 -10
  92. package/esm2022/vc-create-dashboard.mjs +0 -5
  93. package/index.d.ts +0 -5
  94. package/lib/configurations.d.ts +0 -4
  95. package/lib/create-dashboard-container/categories/categories-config.d.ts +0 -18
  96. package/lib/create-dashboard-container/categories/categories.component.d.ts +0 -66
  97. package/lib/create-dashboard-container/configure-widgets/configure-widgets/configure-widgets.component.d.ts +0 -113
  98. package/lib/create-dashboard-container/configure-widgets/configure-widgets/widget.interface.d.ts +0 -9
  99. package/lib/create-dashboard-container/configure-widgets/configure-widgets.module.d.ts +0 -14
  100. package/lib/create-dashboard-container/constants/assets.constant.d.ts +0 -35
  101. package/lib/create-dashboard-container/create-dashboard-config.d.ts +0 -18
  102. package/lib/create-dashboard-container/create-dashboard.component.d.ts +0 -219
  103. package/lib/create-dashboard-container/create-dashboard.module.d.ts +0 -37
  104. package/lib/create-dashboard-container/directives/directives.module.d.ts +0 -8
  105. package/lib/create-dashboard-container/directives/scroll-in-view.directive.d.ts +0 -12
  106. package/lib/create-dashboard-container/form-group/form-group.component.d.ts +0 -48
  107. package/lib/create-dashboard-container/frequency/frequency.component.d.ts +0 -39
  108. package/lib/create-dashboard-container/interfaces/widget-data-model.d.ts +0 -8
  109. package/lib/create-dashboard-container/pipes/filter.pipe.d.ts +0 -7
  110. package/lib/create-dashboard-container/pipes/search-program.pipe.d.ts +0 -7
  111. package/lib/create-dashboard-container/pipes/search.pipe.d.ts +0 -7
  112. package/lib/create-dashboard-container/pipes/text-count.pipe.d.ts +0 -7
  113. package/lib/create-dashboard-container/program-list/constant.d.ts +0 -24
  114. package/lib/create-dashboard-container/program-list/information-block/information-block.component.d.ts +0 -6
  115. package/lib/create-dashboard-container/program-list/interfaces/list-item.interface.d.ts +0 -5
  116. package/lib/create-dashboard-container/program-list/list-container/list-container.component.d.ts +0 -9
  117. package/lib/create-dashboard-container/program-list/pipes/check-selected-items.pipes.d.ts +0 -7
  118. package/lib/create-dashboard-container/program-list/program-list/program-list.component.d.ts +0 -119
  119. package/lib/create-dashboard-container/program-list/program-list.module.d.ts +0 -17
  120. package/lib/create-dashboard-container/program-list/services/list-utils.service.d.ts +0 -7
  121. package/lib/create-dashboard-container/program-list/services/program-list-api.service.d.ts +0 -12
  122. package/lib/create-dashboard-container/responsibility-center/responsibility-center.component.d.ts +0 -72
  123. package/lib/create-dashboard-container/risk-categories/risk-categories-config.d.ts +0 -18
  124. package/lib/create-dashboard-container/risk-categories/risk-categories.component.d.ts +0 -66
  125. package/lib/create-dashboard-container/services/configure-widgets.service.d.ts +0 -21
  126. package/lib/create-dashboard-container/services/create-dashboard.service.d.ts +0 -80
  127. package/lib/create-dashboard-container/services/pagination.service.d.ts +0 -12
  128. package/lib/create-dashboard-container/user-list/user-list.component.d.ts +0 -123
  129. package/lib/create-dashboard-container/user-list/user-list.config.d.ts +0 -13
  130. package/lib/create-dashboard-container/utils/dashboard-edit.utils.d.ts +0 -16
  131. package/lib/create-dashboard-container/utils/dashboard-timeframe.util.d.ts +0 -11
  132. package/lib/create-dashboard.service.d.ts +0 -6
  133. package/lib/ui-kit/dashboard-footer/dashboard-footer/dashboard-footer.component.d.ts +0 -17
  134. package/lib/ui-kit/dashboard-footer/dashboard-footer-config.d.ts +0 -11
  135. package/lib/ui-kit/dashboard-footer/dashboard-footer.module.d.ts +0 -10
  136. package/lib/ui-kit/dialog/dialog-config.d.ts +0 -6
  137. package/lib/ui-kit/dialog/dialog-injector.d.ts +0 -7
  138. package/lib/ui-kit/dialog/dialog-ref.d.ts +0 -7
  139. package/lib/ui-kit/dialog/dialog.component.d.ts +0 -33
  140. package/lib/ui-kit/dialog/dialog.module.d.ts +0 -9
  141. package/lib/ui-kit/dialog/dialog.service.d.ts +0 -17
  142. package/lib/ui-kit/dialog/insertion.directive.d.ts +0 -8
  143. package/lib/ui-kit/floating-bar/floating-bar.component.d.ts +0 -20
  144. package/lib/ui-kit/floating-bar/floating-bar.module.d.ts +0 -10
  145. package/lib/ui-kit/formgroup/click-outside.directive.d.ts +0 -10
  146. package/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +0 -13
  147. package/lib/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +0 -15
  148. package/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +0 -8
  149. package/lib/ui-kit/formgroup/cs-select/cs-select.component.d.ts +0 -36
  150. package/lib/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +0 -15
  151. package/lib/ui-kit/formgroup/formgroup.module.d.ts +0 -17
  152. package/lib/ui-kit/formgroup/pipes/pascal.pipe.d.ts +0 -7
  153. package/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +0 -7
  154. package/lib/ui-kit/loaders/loaders.module.d.ts +0 -8
  155. package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +0 -9
  156. package/lib/ui-kit/no-data/no-data.component.d.ts +0 -19
  157. package/lib/ui-kit/no-data/no-data.module.d.ts +0 -8
  158. package/lib/ui-kit/pagination/pagination.component.d.ts +0 -21
  159. package/lib/ui-kit/pagination/pagination.module.d.ts +0 -8
  160. package/lib/ui-kit/popover/popover.component.d.ts +0 -28
  161. package/lib/ui-kit/popover/popover.directive.d.ts +0 -17
  162. package/lib/ui-kit/popover/popover.module.d.ts +0 -9
  163. package/lib/ui-kit/popover/popover.service.d.ts +0 -13
  164. package/lib/ui-kit/select/cs-option/cs-option.component.d.ts +0 -16
  165. package/lib/ui-kit/select/cs-select/cs-select.component.d.ts +0 -32
  166. package/lib/ui-kit/select/safe-html.pipe.d.ts +0 -10
  167. package/lib/ui-kit/select/select.module.d.ts +0 -11
  168. package/lib/ui-kit/services/cs-select.service.d.ts +0 -7
  169. package/lib/ui-kit/smiley-dialog/smiley-dialog.component.d.ts +0 -17
  170. package/lib/ui-kit/smiley-dialog/smiley-dialog.module.d.ts +0 -8
  171. package/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.d.ts +0 -17
  172. package/lib/ui-kit/snack-bar/snack-bar.module.d.ts +0 -8
  173. package/lib/ui-kit/snack-bar/snack-bar.service.d.ts +0 -9
  174. package/lib/ui-kit/tooltip/tooltip.directive.d.ts +0 -28
  175. package/lib/ui-kit/tooltip/tooltip.module.d.ts +0 -8
  176. package/lib/ui-kit/v-loader/loader/loader.component.d.ts +0 -11
  177. package/lib/ui-kit/v-loader/loader-inline/loader-inline.component.d.ts +0 -11
  178. package/lib/ui-kit/v-loader/v-loader.module.d.ts +0 -9
  179. package/public-api.d.ts +0 -3
@@ -1,18 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ToolTipDirective } from './tooltip.directive';
4
- import * as i0 from "@angular/core";
5
- export class TooltipModule {
6
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TooltipModule, declarations: [ToolTipDirective], imports: [CommonModule], exports: [ToolTipDirective] });
8
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipModule, imports: [CommonModule] });
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- declarations: [ToolTipDirective],
14
- imports: [CommonModule],
15
- exports: [ToolTipDirective],
16
- }]
17
- }] });
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmVhdGUtZGFzaGJvYXJkL3NyYy9saWIvdWkta2l0L3Rvb2x0aXAvdG9vbHRpcC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBT3ZELE1BQU0sT0FBTyxhQUFhO3dHQUFiLGFBQWE7eUdBQWIsYUFBYSxpQkFKVCxnQkFBZ0IsYUFDckIsWUFBWSxhQUNaLGdCQUFnQjt5R0FFZixhQUFhLFlBSGQsWUFBWTs7NEZBR1gsYUFBYTtrQkFMekIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQztvQkFDaEMsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixPQUFPLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQztpQkFDNUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBUb29sVGlwRGlyZWN0aXZlIH0gZnJvbSAnLi90b29sdGlwLmRpcmVjdGl2ZSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1Rvb2xUaXBEaXJlY3RpdmVdLFxyXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxyXG4gIGV4cG9ydHM6IFtUb29sVGlwRGlyZWN0aXZlXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIFRvb2x0aXBNb2R1bGUge31cclxuIl19
@@ -1,24 +0,0 @@
1
- import { Component, Optional } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../../../configurations";
4
- import * as i2 from "@angular/common";
5
- export class LoaderComponent {
6
- vLoader;
7
- env;
8
- constructor(config) {
9
- if (config) {
10
- this.env = config.envConfig;
11
- }
12
- this.vLoader = this.env.vLoader;
13
- }
14
- ngOnInit() { }
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoaderComponent, deps: [{ token: i1.Configurations, optional: true }], target: i0.ɵɵFactoryTarget.Component });
16
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoaderComponent, selector: "app-loader", ngImport: i0, template: "<div class=\"main-loader\">\r\n <img [ngSrc]=\"vLoader\" alt=\"\" width=\"45\" height=\"45\" />\r\n <div class=\"loader-index\">\r\n <div class=\"loader-index-circle\"></div>\r\n </div>\r\n</div>\r\n", styles: [".main-loader{display:flex;overflow:hidden;align-items:center;justify-content:center;text-align:center;position:fixed;inset:0;background:transparent;z-index:9}.main-loader img{width:45px;position:relative;z-index:2}.main-loader .loader-index{width:100%;height:100%;position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center}.main-loader .loader-index-circle{background:#fff;width:65px;height:65px;border-radius:50%;border:4px solid transparent;border-top-color:#dbdbdb;animation:1.5s spin infinite linear}@keyframes spin{to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "directive", type: i2.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }] });
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoaderComponent, decorators: [{
19
- type: Component,
20
- args: [{ selector: 'app-loader', template: "<div class=\"main-loader\">\r\n <img [ngSrc]=\"vLoader\" alt=\"\" width=\"45\" height=\"45\" />\r\n <div class=\"loader-index\">\r\n <div class=\"loader-index-circle\"></div>\r\n </div>\r\n</div>\r\n", styles: [".main-loader{display:flex;overflow:hidden;align-items:center;justify-content:center;text-align:center;position:fixed;inset:0;background:transparent;z-index:9}.main-loader img{width:45px;position:relative;z-index:2}.main-loader .loader-index{width:100%;height:100%;position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center}.main-loader .loader-index-circle{background:#fff;width:65px;height:65px;border-radius:50%;border:4px solid transparent;border-top-color:#dbdbdb;animation:1.5s spin infinite linear}@keyframes spin{to{transform:rotate(360deg)}}\n"] }]
21
- }], ctorParameters: function () { return [{ type: i1.Configurations, decorators: [{
22
- type: Optional
23
- }] }]; } });
24
- //# s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i4vLi4vLi4vY29uZmlndXJhdGlvbnMnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhcHAtbG9hZGVyJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vbG9hZGVyLmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybHM6IFsnLi9sb2FkZXIuY29tcG9uZW50Lmxlc3MnXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIExvYWRlckNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XHJcbiAgdkxvYWRlcjogYW55O1xyXG4gIFxyXG4gIHB1YmxpYyBlbnYhOiBhbnk7XHJcblxyXG4gIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIGNvbmZpZz86IENvbmZpZ3VyYXRpb25zKSB7XHJcbiAgICBpZiAoY29uZmlnKSB7XHJcbiAgICAgIHRoaXMuZW52ID0gY29uZmlnLmVudkNvbmZpZztcclxuICAgIH1cclxuICAgIHRoaXMudkxvYWRlciA9IHRoaXMuZW52LnZMb2FkZXI7XHJcbiAgfVxyXG5cclxuICBuZ09uSW5pdCgpOiB2b2lkIHt9XHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cIm1haW4tbG9hZGVyXCI+XHJcbiAgPGltZyBbbmdTcmNdPVwidkxvYWRlclwiIGFsdD1cIlwiIHdpZHRoPVwiNDVcIiBoZWlnaHQ9XCI0NVwiIC8+XHJcbiAgPGRpdiBjbGFzcz1cImxvYWRlci1pbmRleFwiPlxyXG4gICAgPGRpdiBjbGFzcz1cImxvYWRlci1pbmRleC1jaXJjbGVcIj48L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==
@@ -1,24 +0,0 @@
1
- import { Component, Optional } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../../../configurations";
4
- import * as i2 from "@angular/common";
5
- export class LoaderInlineComponent {
6
- vLoader;
7
- env;
8
- constructor(config) {
9
- if (config) {
10
- this.env = config.envConfig;
11
- }
12
- this.vLoader = this.env.vLoader;
13
- }
14
- ngOnInit() { }
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoaderInlineComponent, deps: [{ token: i1.Configurations, optional: true }], target: i0.ɵɵFactoryTarget.Component });
16
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoaderInlineComponent, selector: "app-loader-inline", ngImport: i0, template: "<div class=\"inline-loader\">\r\n <img [ngSrc]=\"vLoader\" alt=\"\" width=\"45\" height=\"45\" />\r\n <div class=\"loader-index\">\r\n <div class=\"loader-index-circle\"></div>\r\n </div>\r\n</div>\r\n", styles: [".inline-loader{display:flex;overflow:hidden;align-items:center;justify-content:center;text-align:center;position:absolute;inset:0;background:transparent;z-index:9}.inline-loader img{width:45px;position:relative;z-index:2}.inline-loader .loader-index{width:100%;height:100%;position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center}.inline-loader .loader-index-circle{background:#fff;width:65px;height:65px;border-radius:50%;border:4px solid transparent;border-top-color:#dbdbdb;animation:1.5s spin infinite linear}@keyframes spin{to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "directive", type: i2.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }] });
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoaderInlineComponent, decorators: [{
19
- type: Component,
20
- args: [{ selector: 'app-loader-inline', template: "<div class=\"inline-loader\">\r\n <img [ngSrc]=\"vLoader\" alt=\"\" width=\"45\" height=\"45\" />\r\n <div class=\"loader-index\">\r\n <div class=\"loader-index-circle\"></div>\r\n </div>\r\n</div>\r\n", styles: [".inline-loader{display:flex;overflow:hidden;align-items:center;justify-content:center;text-align:center;position:absolute;inset:0;background:transparent;z-index:9}.inline-loader img{width:45px;position:relative;z-index:2}.inline-loader .loader-index{width:100%;height:100%;position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center}.inline-loader .loader-index-circle{background:#fff;width:65px;height:65px;border-radius:50%;border:4px solid transparent;border-top-color:#dbdbdb;animation:1.5s spin infinite linear}@keyframes spin{to{transform:rotate(360deg)}}\n"] }]
21
- }], ctorParameters: function () { return [{ type: i1.Configurations, decorators: [{
22
- type: Optional
23
- }] }]; } });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLWlubGluZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmVhdGUtZGFzaGJvYXJkL3NyYy9saWIvdWkta2l0L3YtbG9hZGVyL2xvYWRlci1pbmxpbmUvbG9hZGVyLWlubGluZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmVhdGUtZGFzaGJvYXJkL3NyYy9saWIvdWkta2l0L3YtbG9hZGVyL2xvYWRlci1pbmxpbmUvbG9hZGVyLWlubGluZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQVE1RCxNQUFNLE9BQU8scUJBQXFCO0lBQ2hDLE9BQU8sQ0FBTTtJQUVOLEdBQUcsQ0FBTztJQUVqQixZQUF3QixNQUF1QjtRQUM3QyxJQUFJLE1BQU0sRUFBRTtZQUNWLElBQUksQ0FBQyxHQUFHLEdBQUcsTUFBTSxDQUFDLFNBQVMsQ0FBQztTQUM3QjtRQUNELElBQUksQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUM7SUFDbE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IgaGVpZ2h0PVwiNDVcIiAvPlxyXG4gIDxkaXYgY2xhc3M9XCJsb2FkZXItaW5kZXhcIj5cclxuICAgIDxkaXYgY2xhc3M9XCJsb2FkZXItaW5kZXgtY2lyY2xlXCI+PC9kaXY+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
@@ -1,19 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule, NgOptimizedImage } from '@angular/common';
3
- import { LoaderComponent } from './loader/loader.component';
4
- import { LoaderInlineComponent } from './loader-inline/loader-inline.component';
5
- import * as i0 from "@angular/core";
6
- export class VLoaderModule {
7
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: VLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: VLoaderModule, declarations: [LoaderComponent, LoaderInlineComponent], imports: [CommonModule, NgOptimizedImage], exports: [LoaderComponent, LoaderInlineComponent] });
9
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: VLoaderModule, imports: [CommonModule] });
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: VLoaderModule, decorators: [{
12
- type: NgModule,
13
- args: [{
14
- declarations: [LoaderComponent, LoaderInlineComponent],
15
- imports: [CommonModule, NgOptimizedImage],
16
- exports: [LoaderComponent, LoaderInlineComponent],
17
- }]
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidi1sb2FkZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY3JlYXRlLWRhc2hib2FyZC9zcmMvbGliL3VpLWtpdC92LWxvYWRlci92LWxv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c7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW0xvYWRlckNvbXBvbmVudCwgTG9hZGVySW5saW5lQ29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLE5nT3B0aW1pemVkSW1hZ2VdLFxyXG4gIGV4cG9ydHM6IFtMb2FkZXJDb21wb25lbnQsIExvYWRlcklubGluZUNvbXBvbmVudF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBWTG9hZGVyTW9kdWxlIHt9XHJcbiJdfQ==
@@ -1,10 +0,0 @@
1
- /*
2
- * Public API Surface of create-dashboard
3
- */
4
- // export * from './lib/create-dashboard.service';
5
- // export * from './lib/create-dashboard.component';
6
- // export * from './lib/create-dashboard.module';
7
- export * from './lib/create-dashboard.service';
8
- export * from './lib/create-dashboard-container/create-dashboard.component';
9
- export * from './lib/create-dashboard-container/create-dashboard.module';
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2NyZWF0ZS1kYXNoYm9hcmQvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxrREFBa0Q7QUFDbEQsb0RBQW9EO0FBQ3BELGlEQUFpRDtBQUVqRCxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsNkRBQTZELENBQUM7QUFDNUUsY0FBYywwREFBMEQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXHJcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBjcmVhdGUtZGFzaGJvYXJkXHJcbiAqL1xyXG5cclxuLy8gZXhwb3J0ICogZnJvbSAnLi9saWIvY3JlYXRlLWRhc2hib2FyZC5zZXJ2aWNlJztcclxuLy8gZXhwb3J0ICogZnJvbSAnLi9saWIvY3JlYXRlLWRhc2hib2FyZC5jb21wb25lbnQnO1xyXG4vLyBleHBvcnQgKiBmcm9tICcuL2xpYi9jcmVhdGUtZGFzaGJvYXJkLm1vZHVsZSc7XHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jcmVhdGUtZGFzaGJvYXJkLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jcmVhdGUtZGFzaGJvYXJkLWNvbnRhaW5lci9jcmVhdGUtZGFzaGJvYXJkLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NyZWF0ZS1kYXNoYm9hcmQtY29udGFpbmVyL2NyZWF0ZS1kYXNoYm9hcmQubW9kdWxlJzsiXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmMtY3JlYXRlLWRhc2hib2FyZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2NyZWF0ZS1kYXNoYm9hcmQvc3JjL3ZjLWNyZWF0ZS1kYXNoYm9hcmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="vc-create-dashboard" />
5
- export * from './public-api';
@@ -1,4 +0,0 @@
1
- export declare class Configurations {
2
- envConfig: any;
3
- constructor();
4
- }
@@ -1,18 +0,0 @@
1
- export interface CategoriesConfig {
2
- regulations: {
3
- list: [];
4
- selectedList: any[];
5
- };
6
- standards: {
7
- list: [];
8
- selectedList: any[];
9
- };
10
- internalControls: {
11
- list: [];
12
- selectedList: any[];
13
- };
14
- others: {
15
- list: [];
16
- selectedList: any[];
17
- };
18
- }
@@ -1,66 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { DashboardFooterConfig } from '../../ui-kit/dashboard-footer/dashboard-footer-config';
3
- import { CategoriesConfig } from './categories-config';
4
- import * as i0 from "@angular/core";
5
- export declare class CategoriesComponent implements OnInit {
6
- ASSETS: {
7
- dashBoardIcon: string;
8
- dashBoardUsersIcon: string;
9
- dashBoardRcIcon: string;
10
- dashBoardProgramIcon: string;
11
- dashBoardRiskIcon: string;
12
- dashBoardTimeFrameIcon: string;
13
- dashBoardEmailSummariesIcon: string;
14
- configure_widget: string;
15
- overviewWidget: string;
16
- responsibilityCalenderWidget: string;
17
- responsibilityCenterOverviewWidget: string;
18
- myResponsibilitiesWidget: string;
19
- keyResponsibilitiesWidget: string;
20
- trendAnalysisWidget: string;
21
- workroomUpdatesWidget: string;
22
- recentActivitiesWidget: string;
23
- exceptionSummaryWidget: string;
24
- riskOverviewWidget: string;
25
- appetiteToleranceWidget: string;
26
- inherentRCWidget: string;
27
- residualRCWidget: string;
28
- riskCategoryOverviewWidget: string;
29
- riskHeatmapWidget: string;
30
- inherentCategoriesWidget: string;
31
- residualCategoriesWidget: string;
32
- tenRiskRatingsWidget: string;
33
- search_data: string;
34
- appetite_tolerance: string;
35
- inherent_trend: string;
36
- residual_trend: string;
37
- risk_trend: string;
38
- policyApproverView: string;
39
- responsibilitiesByAssignee: string;
40
- };
41
- categoryList: CategoriesConfig;
42
- allCategories: any[];
43
- categoryIdKey: any;
44
- selectedCategories: any[];
45
- search: string;
46
- activeTab: 'standards' | 'regulations' | 'internalControls' | 'others';
47
- selectedIds: any[];
48
- animation: boolean;
49
- blockWidth: any;
50
- footerDetails: DashboardFooterConfig;
51
- saveSelectedCategory: EventEmitter<any>;
52
- closeList: EventEmitter<any>;
53
- closeCategoriesList: EventEmitter<any>;
54
- constructor();
55
- ngOnInit(): void;
56
- selectCategory(mode: any, activeTab: any, category: any): void;
57
- deleteEvent(event: any): void;
58
- selectAll(mode: any, activeTab: 'standards' | 'regulations' | 'internalControls' | 'others'): void;
59
- setList(): void;
60
- setActiveTab(): void;
61
- checkSelectAll(activeTab: 'standards' | 'regulations' | 'internalControls' | 'others'): boolean;
62
- save(): void;
63
- close(): void;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<CategoriesComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<CategoriesComponent, "app-categories", never, { "categoryList": { "alias": "categoryList"; "required": false; }; "allCategories": { "alias": "allCategories"; "required": false; }; "categoryIdKey": { "alias": "categoryIdKey"; "required": false; }; "selectedCategories": { "alias": "selectedCategories"; "required": false; }; }, { "saveSelectedCategory": "saveSelectedCategory"; "closeList": "closeList"; "closeCategoriesList": "closeCategoriesList"; }, never, never, false, never>;
66
- }
@@ -1,113 +0,0 @@
1
- import { ConfigureWidgetsService } from '../../services/configure-widgets.service';
2
- import { EventEmitter, OnChanges, OnInit } from '@angular/core';
3
- import { widgetDataModel } from '../../interfaces/widget-data-model';
4
- import { DialogRef } from '../../../ui-kit/dialog/dialog-ref';
5
- import { widgetConfig } from './widget.interface';
6
- import { SnackBarService } from '../../../ui-kit/snack-bar/snack-bar.service';
7
- import * as i0 from "@angular/core";
8
- export declare class ConfigureWidgetsComponent implements OnInit, OnChanges {
9
- private dialog;
10
- configureWidgetsService: ConfigureWidgetsService;
11
- private snackBar;
12
- widgetsDataModified: EventEmitter<any>;
13
- closeConfigureWidgets: EventEmitter<any>;
14
- checkboxStatus: any;
15
- search: string;
16
- checkedArray: Array<{
17
- index: number;
18
- status: number;
19
- }>;
20
- selectedWidgets: Array<widgetDataModel>;
21
- ASSETS: {
22
- dashBoardIcon: string;
23
- dashBoardUsersIcon: string;
24
- dashBoardRcIcon: string;
25
- dashBoardProgramIcon: string;
26
- dashBoardRiskIcon: string;
27
- dashBoardTimeFrameIcon: string;
28
- dashBoardEmailSummariesIcon: string;
29
- configure_widget: string;
30
- overviewWidget: string;
31
- responsibilityCalenderWidget: string;
32
- responsibilityCenterOverviewWidget: string;
33
- myResponsibilitiesWidget: string;
34
- keyResponsibilitiesWidget: string;
35
- trendAnalysisWidget: string;
36
- workroomUpdatesWidget: string;
37
- recentActivitiesWidget: string;
38
- exceptionSummaryWidget: string;
39
- riskOverviewWidget: string;
40
- appetiteToleranceWidget: string;
41
- inherentRCWidget: string;
42
- residualRCWidget: string;
43
- riskCategoryOverviewWidget: string;
44
- riskHeatmapWidget: string;
45
- inherentCategoriesWidget: string;
46
- residualCategoriesWidget: string;
47
- tenRiskRatingsWidget: string;
48
- search_data: string; /** CREATE: limit visible tiles to displayedWidgets when provided. */
49
- appetite_tolerance: string;
50
- inherent_trend: string;
51
- residual_trend: string;
52
- risk_trend: string;
53
- policyApproverView: string;
54
- responsibilitiesByAssignee: string;
55
- };
56
- module: 'COMPLIANCE' | 'RISK';
57
- selectedWidgetsData: any;
58
- displayedWidgets: any;
59
- showRisk: boolean;
60
- showCompliance: boolean;
61
- mode: string;
62
- noDataText: string;
63
- selectedWidgetIds: any;
64
- subResponsibilitiesSelected: boolean;
65
- subKeyResponsibilitiesSelected: boolean;
66
- showWidgets: boolean;
67
- complianceWidgetsDisplayCount: number;
68
- riskWidgetsDisplayCount: number;
69
- constructor(dialog: DialogRef, configureWidgetsService: ConfigureWidgetsService, snackBar: SnackBarService);
70
- ngOnChanges(): void;
71
- /** EDIT: show full widget catalog; check items present in getWidgets widgetArr. */
72
- private applyEditModeWidgetCatalog;
73
- /** CREATE: limit visible tiles to displayedWidgets when provided. */
74
- private applyCreateModeWidgetVisibility;
75
- private applySavedWidgetSelection;
76
- ngOnInit(): void;
77
- widgetsList: {
78
- COMPLIANCE: ({
79
- title: string;
80
- id: string;
81
- description: string;
82
- widgetImage: string;
83
- value: boolean;
84
- visibility: boolean;
85
- module: string;
86
- subWidgets: never[];
87
- tabOption?: undefined;
88
- } | {
89
- title: string;
90
- id: string;
91
- description: string;
92
- widgetImage: string;
93
- tabOption: boolean;
94
- value: boolean;
95
- visibility: boolean;
96
- module: string;
97
- subWidgets: {
98
- title: string;
99
- id: string;
100
- value: boolean;
101
- visibility: boolean;
102
- }[];
103
- })[];
104
- };
105
- selectWidget(event: any, module: 'COMPLIANCE', widgetId: string, subWidgetId?: string): void;
106
- setSelectedWidgets(): void;
107
- removeWidget(widget: widgetConfig): void;
108
- onNextClick(): void;
109
- closeConfigureDashboard(): void;
110
- setWidgetsVisibilityToFalse(): void;
111
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsComponent, never>;
112
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfigureWidgetsComponent, "app-configure-widgets", never, { "selectedWidgetsData": { "alias": "selectedWidgetsData"; "required": false; }; "displayedWidgets": { "alias": "displayedWidgets"; "required": false; }; "showRisk": { "alias": "showRisk"; "required": false; }; "showCompliance": { "alias": "showCompliance"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "widgetsDataModified": "widgetsDataModified"; "closeConfigureWidgets": "closeConfigureWidgets"; }, never, never, false, never>;
113
- }
@@ -1,9 +0,0 @@
1
- export interface widgetConfig {
2
- title: string;
3
- id: string;
4
- description: string;
5
- widgetImage: string;
6
- value: boolean;
7
- module: 'COMPLIANCE';
8
- subWidgets: [];
9
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./configure-widgets/configure-widgets.component";
3
- import * as i2 from "../pipes/search.pipe";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../../ui-kit/floating-bar/floating-bar.module";
6
- import * as i5 from "../../ui-kit/formgroup/formgroup.module";
7
- import * as i6 from "@angular/forms";
8
- import * as i7 from "../directives/directives.module";
9
- import * as i8 from "../../ui-kit/no-data/no-data.module";
10
- export declare class ConfigureWidgetsModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigureWidgetsModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigureWidgetsModule, [typeof i1.ConfigureWidgetsComponent, typeof i2.SearchPipe], [typeof i3.CommonModule, typeof i4.FloatingBarModule, typeof i5.FormgroupModule, typeof i6.FormsModule, typeof i7.DirectivesModule, typeof i8.NoDataModule, typeof i3.NgOptimizedImage], [typeof i1.ConfigureWidgetsComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<ConfigureWidgetsModule>;
14
- }
@@ -1,35 +0,0 @@
1
- export declare const ASSETS: {
2
- dashBoardIcon: string;
3
- dashBoardUsersIcon: string;
4
- dashBoardRcIcon: string;
5
- dashBoardProgramIcon: string;
6
- dashBoardRiskIcon: string;
7
- dashBoardTimeFrameIcon: string;
8
- dashBoardEmailSummariesIcon: string;
9
- configure_widget: string;
10
- overviewWidget: string;
11
- responsibilityCalenderWidget: string;
12
- responsibilityCenterOverviewWidget: string;
13
- myResponsibilitiesWidget: string;
14
- keyResponsibilitiesWidget: string;
15
- trendAnalysisWidget: string;
16
- workroomUpdatesWidget: string;
17
- recentActivitiesWidget: string;
18
- exceptionSummaryWidget: string;
19
- riskOverviewWidget: string;
20
- appetiteToleranceWidget: string;
21
- inherentRCWidget: string;
22
- residualRCWidget: string;
23
- riskCategoryOverviewWidget: string;
24
- riskHeatmapWidget: string;
25
- inherentCategoriesWidget: string;
26
- residualCategoriesWidget: string;
27
- tenRiskRatingsWidget: string;
28
- search_data: string;
29
- appetite_tolerance: string;
30
- inherent_trend: string;
31
- residual_trend: string;
32
- risk_trend: string;
33
- policyApproverView: string;
34
- responsibilitiesByAssignee: string;
35
- };
@@ -1,18 +0,0 @@
1
- export interface CreateDashboardForm {
2
- dashboardName: string;
3
- dashboardDescriptionText: string;
4
- selectedViewers: any[];
5
- selectedGroup: any[];
6
- selectedFromDate: any;
7
- selectedToDate: any;
8
- selectedResponsibilityCenters: any[];
9
- selectedResponsibilityCategories: any[];
10
- selectedRiskCategories: any[];
11
- displayCriteria: string;
12
- configureWidget: any[];
13
- frequencyDetails: string;
14
- selectedFrequencyType: string;
15
- selectedFrequencies: any;
16
- frequencyMessage: string;
17
- frequencyDate: any;
18
- }
@@ -1,219 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { EditorConfig } from '@vcomply/editor';
3
- import { DatePickerComponent, IDatePickerConfig } from 'ng2-date-picker';
4
- import { CreateDashboardService } from './services/create-dashboard.service';
5
- import { PaginationService } from './services/pagination.service';
6
- import { UserListConfiguration } from './user-list/user-list.config';
7
- import { CreateDashboardForm } from './create-dashboard-config';
8
- import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
9
- import { PopoverService } from '../ui-kit/popover/popover.service';
10
- import { TextCountPipe } from './pipes/text-count.pipe';
11
- import { ListItem } from './program-list/interfaces/list-item.interface';
12
- import * as i0 from "@angular/core";
13
- export declare class CreateDashboardComponent implements OnInit, OnChanges {
14
- private createDashboardService;
15
- private paginationService;
16
- private cdr;
17
- private snackBar;
18
- popoverService: PopoverService;
19
- private textCount;
20
- feature: any;
21
- activeSelector: string;
22
- disabled: boolean;
23
- mode: string;
24
- dashboardId: string;
25
- dashboardDetails: any;
26
- /** API dashboard object from createDashboard response (used when navigating after create). */
27
- private createdDashboard;
28
- /** True after CREATE API succeeds; widget save should emit `created` for app redirect. */
29
- private redirectAfterCreate;
30
- close: EventEmitter<any>;
31
- createdBy: number;
32
- fromDatePicker: DatePickerComponent;
33
- toDatePicker: DatePickerComponent;
34
- animation: boolean;
35
- configureWidget: boolean;
36
- ASSETS: any;
37
- totalPages: number;
38
- totalList: number;
39
- usersList: any[];
40
- vLoader: boolean;
41
- userListLoaded: boolean;
42
- groupListLoaded: boolean;
43
- rcListLoaded: boolean;
44
- hideToDate: boolean;
45
- listDetails: UserListConfiguration;
46
- dashboardDescription: EditorConfig;
47
- responsibilityCategoriesTree: any;
48
- allComplianceCategories: any[];
49
- allRiskCategories: any[];
50
- showRiskCategory: boolean;
51
- showCriteria: boolean;
52
- dashboardForm: CreateDashboardForm;
53
- openConfigureWidgets: boolean;
54
- selectedWidgets: any;
55
- displayedWidgets: any;
56
- responsibilityCentersList: any[];
57
- datePickerOverlay: boolean;
58
- dayNames: string[];
59
- monthNames: string[];
60
- quarters: string[];
61
- showRiskWidgets: boolean;
62
- showComplianceWidgets: boolean;
63
- isManageRisk: boolean;
64
- riskCategoryList: {
65
- strategic: {
66
- list: never[];
67
- selectedList: never[];
68
- };
69
- operational: {
70
- list: never[];
71
- selectedList: never[];
72
- };
73
- compliance: {
74
- list: never[];
75
- selectedList: never[];
76
- };
77
- others: {
78
- list: never[];
79
- selectedList: never[];
80
- };
81
- };
82
- programListUrl: any;
83
- private readonly datePickerBaseConfig;
84
- fromDatePickerConfig: IDatePickerConfig;
85
- toDatePickerConfig: IDatePickerConfig;
86
- isSmiley: boolean;
87
- smileyMessage: string;
88
- groupList: any;
89
- groupsEnabled: boolean;
90
- totalgroups: any;
91
- openedDatePicker: string;
92
- selectedPrograms: any;
93
- allProgamSelected: any[];
94
- private pendingEditRcIds;
95
- private pendingEditRcEntries;
96
- private editFormHydrated;
97
- /** Tracks in-flight EDIT hydration HTTP calls; loader stays on until zero. */
98
- private editHydrationCount;
99
- constructor(createDashboardService: CreateDashboardService, paginationService: PaginationService, cdr: ChangeDetectorRef, snackBar: SnackBarService, popoverService: PopoverService, textCount: TextCountPipe);
100
- ngOnChanges(changes: SimpleChanges): void;
101
- onKeydownHandler(event: KeyboardEvent): void;
102
- ngOnInit(): void;
103
- animateContainer(): void;
104
- getUserInfo(): void;
105
- /**
106
- * Displays the listing pages the left side of policy form to set and edit the dropdown fields values
107
- * @param type holds name of particular list is to be displayed
108
- * @param event contains boolean value to display the list or not
109
- */
110
- activateSelector(type: any, event: boolean): void;
111
- onProgramSelectionChange(items: ListItem[]): void;
112
- selectCategory(): void;
113
- checkDefaultProgramOnRemove(event: any): void;
114
- removeProgram(program: any): void;
115
- private syncProgramSelectionMapFromForm;
116
- private hydrateProgramsFromDashboardData;
117
- private applyFlatProgramCategories;
118
- private applyResponsibilityCategoryWidgetFilters;
119
- openFromDatePicker(event?: Event): void;
120
- openToDatePicker(event?: Event): void;
121
- closeFromDatePicker(): void;
122
- closeToDatePicker(): void;
123
- animateImage(): void;
124
- saveFrequency(eventValues: any): void;
125
- getCurrentDate(): string;
126
- setToDate(data: string): string;
127
- getFromDate(data: string): string;
128
- /**
129
- * @param data - the date you want to format
130
- * @returns Date string in YYYY-MM-DD format, e.g. 2026-05-19
131
- */
132
- getDateFormate(data: string): string;
133
- configureDashboard(): void;
134
- /**
135
- * Get users list by making api call and pre selects all admins by adding to viewers
136
- * @param url contains query params for organization users api
137
- */
138
- getUsersList(url: any): void;
139
- getGroupList(): void;
140
- /**
141
- * It is to ensure whether all required lists on Policy from is loaded from the api call or not
142
- */
143
- checkWhetherAllListsLoaded(): void;
144
- setSelectedWidgets(data: any): void;
145
- extractWidgetCodes(widgets: any[]): any[];
146
- closeConfigureWidgets(event: boolean): void;
147
- /**
148
- * Filter list user's list based on pagination by making api call
149
- * @param event specifies a boolean value to call api
150
- */
151
- paginationFilter(event: any): void;
152
- getRCList(): void;
153
- /**
154
- * #### Description
155
- *
156
- * Returns the unique array of object based on unique key
157
- * @param array
158
- * @param key
159
- * @returns
160
- */
161
- uniqueByProp(array: any, key: string): unknown[];
162
- saveSelectedList(type: string, selectedItems: any): void;
163
- remove(type: any, event: any, removeIndex?: any): void;
164
- setList(list: any[], ids: any[], key: string): any[];
165
- private setListByIds;
166
- private flattenRcTree;
167
- private getRcNodeId;
168
- private collectNestedChildIds;
169
- private isNestedRc;
170
- private resolveAllDescendantIds;
171
- private normalizeRcList;
172
- private resolveRcFromTree;
173
- private applyPreresolvedRcEntries;
174
- private applyPendingResponsibilityCenters;
175
- private beginEditHydration;
176
- private finishEditHydration;
177
- private tryCompleteEditHydration;
178
- private wrapEditRequest;
179
- private syncProgramsForEdit;
180
- private applyProgramsFromDashboardIds;
181
- private ensureProgramSelectionMapForList;
182
- private applyProgramSelectionMap;
183
- private categoryMatchesId;
184
- private loadProgramsForEdit;
185
- /** Custom dashboards often store program ids only — resolve names for form chips. */
186
- private resolveProgramIdsForEdit;
187
- private buildEditDashboardData;
188
- submitted: boolean;
189
- /**
190
- * Returns id's from a particular list elements
191
- * @param list actual selected list
192
- * @param key contains key to extract id from the list
193
- */
194
- returnIds(list: any[], key: string): any[];
195
- /**
196
- * Validates the data submitted on create dashboard form
197
- */
198
- validateDashboard(): boolean;
199
- /**
200
- * Makes an api call to create a dashboad
201
- * @param dashboard contains dashboardForm data
202
- */
203
- submitDashboard(): false | undefined;
204
- closeContainer(message: string): void;
205
- onSubmitDashboard(): void;
206
- saveDashboard(payload: any): void;
207
- private getCreatedDashboardCdid;
208
- private hydrateEditForm;
209
- private applyWidgetsFromGetWidgetsResponse;
210
- /** EDIT mode only: GET getWidgets?dashboardId={cdid} */
211
- private loadEditModeWidgets;
212
- editDashboard(): void;
213
- populateDashboardForm(data: any): void;
214
- ngAfterViewChecked(): void;
215
- setPermission(roleActions: any): void;
216
- documentClick(event: MouseEvent): void;
217
- static ɵfac: i0.ɵɵFactoryDeclaration<CreateDashboardComponent, never>;
218
- static ɵcmp: i0.ɵɵComponentDeclaration<CreateDashboardComponent, "app-create-dashboard", never, { "feature": { "alias": "feature"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "dashboardId": { "alias": "dashboardId"; "required": false; }; "dashboardDetails": { "alias": "dashboardDetails"; "required": false; }; "createdBy": { "alias": "createdBy"; "required": false; }; "configureWidget": { "alias": "configureWidget"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
219
- }