vcomply-workflow-engine 2.6.149 → 2.6.151

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.
@@ -949,64 +949,6 @@
949
949
  function __param(paramIndex, decorator) {
950
950
  return function (target, key) { decorator(target, key, paramIndex); };
951
951
  }
952
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
953
- function accept(f) { if (f !== void 0 && typeof f !== "function")
954
- throw new TypeError("Function expected"); return f; }
955
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
956
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
957
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
958
- var _, done = false;
959
- for (var i = decorators.length - 1; i >= 0; i--) {
960
- var context = {};
961
- for (var p in contextIn)
962
- context[p] = p === "access" ? {} : contextIn[p];
963
- for (var p in contextIn.access)
964
- context.access[p] = contextIn.access[p];
965
- context.addInitializer = function (f) { if (done)
966
- throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
967
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
968
- if (kind === "accessor") {
969
- if (result === void 0)
970
- continue;
971
- if (result === null || typeof result !== "object")
972
- throw new TypeError("Object expected");
973
- if (_ = accept(result.get))
974
- descriptor.get = _;
975
- if (_ = accept(result.set))
976
- descriptor.set = _;
977
- if (_ = accept(result.init))
978
- initializers.push(_);
979
- }
980
- else if (_ = accept(result)) {
981
- if (kind === "field")
982
- initializers.push(_);
983
- else
984
- descriptor[key] = _;
985
- }
986
- }
987
- if (target)
988
- Object.defineProperty(target, contextIn.name, descriptor);
989
- done = true;
990
- }
991
- ;
992
- function __runInitializers(thisArg, initializers, value) {
993
- var useValue = arguments.length > 2;
994
- for (var i = 0; i < initializers.length; i++) {
995
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
996
- }
997
- return useValue ? value : void 0;
998
- }
999
- ;
1000
- function __propKey(x) {
1001
- return typeof x === "symbol" ? x : "".concat(x);
1002
- }
1003
- ;
1004
- function __setFunctionName(f, name, prefix) {
1005
- if (typeof name === "symbol")
1006
- name = name.description ? "[".concat(name.description, "]") : "";
1007
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
1008
- }
1009
- ;
1010
952
  function __metadata(metadataKey, metadataValue) {
1011
953
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1012
954
  return Reflect.metadata(metadataKey, metadataValue);
@@ -1206,7 +1148,7 @@
1206
1148
  function __asyncDelegator(o) {
1207
1149
  var i, p;
1208
1150
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
1209
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
1151
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
1210
1152
  }
1211
1153
  function __asyncValues(o) {
1212
1154
  if (!Symbol.asyncIterator)
@@ -1974,8 +1916,8 @@
1974
1916
  this.groupsList = [];
1975
1917
  /* Creating an array for risk label with it's value. */
1976
1918
  this.riskLabelList = [
1977
- { name: 'Newly Identified Risks', value: 1 },
1978
- { name: 'Rapidly Changing Risks', value: 2 }
1919
+ { name: 'Newly Identified Risk', value: 1 },
1920
+ { name: 'Rapidly Changing Risk', value: 2 }
1979
1921
  ];
1980
1922
  this.description = {
1981
1923
  mode: 'prime',
@@ -1987,7 +1929,7 @@
1987
1929
  mode: 'prime',
1988
1930
  colorPalette: true,
1989
1931
  link: true,
1990
- placeholder: 'Describe the recommended mitigation Plans'
1932
+ placeholder: 'Describe the recommended mitigation plans'
1991
1933
  };
1992
1934
  // if (config) {
1993
1935
  // this.apiUrl = config.apiUrl;
@@ -7237,7 +7179,7 @@
7237
7179
  imageUrl: 'https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/oversight.svg',
7238
7180
  name: 'Risk Label',
7239
7181
  tooltipTitle: 'Risk Label',
7240
- tooltipMessage: 'Risk Label tooltip',
7182
+ tooltipMessage: 'This option lets you specify if this is a newly identified risk or it is a rapidly changing risk.',
7241
7183
  checked: false,
7242
7184
  hidden: false,
7243
7185
  code: 'RISK_LABEL'
@@ -7648,7 +7590,10 @@
7648
7590
  configurable: true
7649
7591
  });
7650
7592
  ;
7651
- MoreOptionComponent.prototype.ngOnChanges = function () {
7593
+ MoreOptionComponent.prototype.ngOnChanges = function (changes) {
7594
+ if (changes.isProgramSelected.currentValue !== changes.isProgramSelected.previousValue) {
7595
+ this.isProgramSelected = changes.isProgramSelected.currentValue;
7596
+ }
7652
7597
  if (!this.isRCSelected) {
7653
7598
  this.moreOptionsList.CAR.forEach(function (ele) {
7654
7599
  // if(ele.code === 'ASSURANCE') {
@@ -30687,7 +30632,7 @@
30687
30632
  FrequencyDialogCheckboxListComponent.decorators = [
30688
30633
  { type: i0.Component, args: [{
30689
30634
  selector: 'app-frequency-dialog-checkbox-list',
30690
- template: "<div class=\"frequency-dialog-checkbox-list vx-d-flex\" [class.week]=\"id === 1\" [class.vx-align-center]=\"id === 1\" [class.month]=\"id === 2 || id === 4\" [class.vx-flex-wrap]=\"id === 2 || id === 4\">\r\n <!-- <div class=\"frequency-dialog-checkbox-list vx-d-flex vx-align-center week\"> -->\r\n <!-- <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Monday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Tuesday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Wednesday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Thursday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Friday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Saturday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Sunday</div></app-cs-checkbox> -->\r\n\r\n <app-cs-checkbox \r\n *ngFor=\"let eachList of listArray; let i = index;\"\r\n [id]=\"i\" [value]=\"i\" [ngValue]=\"selectedIndex.includes(i)\" \r\n (ngValueChange)=\"selectedCheckbox.emit({checked:$event, index:i})\"\r\n [disabled]=\"id === 4 && selectedIndex.length == 2 && !selectedIndex.includes(i)\"\r\n >\r\n {{eachList}}\r\n </app-cs-checkbox>\r\n</div>\r\n\r\n<div *ngIf=\"false\" class=\"frequency-dialog-checkbox-list vx-d-flex vx-flex-wrap month\">\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">January</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">February</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">March</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">April</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">May</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">June</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">June</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">August</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">September</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">October</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">November</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">December</div></app-cs-checkbox>\r\n</div>",
30635
+ template: "<div class=\"frequency-dialog-checkbox-list vx-d-flex\" [class.week]=\"id === 1\" [class.vx-align-center]=\"id === 1\" [class.month]=\"id === 2 || id === 4\" [class.vx-flex-wrap]=\"id === 2 || id === 4\">\r\n <!-- <div class=\"frequency-dialog-checkbox-list vx-d-flex vx-align-center week\"> -->\r\n <!-- <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Monday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Tuesday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Wednesday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Thursday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Friday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Saturday</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">Sunday</div></app-cs-checkbox> -->\r\n\r\n <app-cs-checkbox \r\n *ngFor=\"let eachList of listArray; let i = index;\"\r\n [id]=\"i\" [value]=\"i\" [ngValue]=\"selectedIndex.includes(i)\" \r\n (ngValueChange)=\"selectedCheckbox.emit({checked:$event, index:i})\"\r\n [disabled]=\"id === 4 && selectedIndex.length == 2 && !selectedIndex.includes(i)\"\r\n >\r\n <div class=\"vx-fs-12 vx-label-txt\">{{eachList}}</div>\r\n </app-cs-checkbox>\r\n</div>\r\n\r\n<div *ngIf=\"false\" class=\"frequency-dialog-checkbox-list vx-d-flex vx-flex-wrap month\">\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">January</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">February</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">March</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">April</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">May</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">June</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">June</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">August</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">September</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">October</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">November</div></app-cs-checkbox>\r\n <app-cs-checkbox><div class=\"vx-fs-12 vx-label-txt\">December</div></app-cs-checkbox>\r\n</div>",
30691
30636
  styles: ["@import url(\"https://cdn.v-comply.com/design-system/css/icons/icons.css\");@import url(\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/display/display.css\");@import url(\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\");@import url(\"https://cdn.v-comply.com/design-system/css/color/color.css\");@import url(\"https://cdn.v-comply.com/design-system/css/text/text.css\");@import url(\"https://cdn.v-comply.com/design-system/css/width/width.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\");::ng-deep .frequency-dialog-checkbox-list{border-top:1px solid #f1f1f1}::ng-deep .frequency-dialog-checkbox-list.week app-cs-checkbox{border-right:1px solid #f1f1f1;padding:.75rem 1rem .75rem .75rem;height:2.5rem}::ng-deep .frequency-dialog-checkbox-list.week app-cs-checkbox:last-of-type{border-right:none}::ng-deep .frequency-dialog-checkbox-list.week app-cs-checkbox .checkbox-item{padding-left:1.5rem!important;position:relative;top:-6px}::ng-deep .frequency-dialog-checkbox-list.week app-cs-checkbox .checkbox-item .checkbox,::ng-deep .frequency-dialog-checkbox-list.week app-cs-checkbox .checkbox-item .checkmark{position:absolute!important;top:0;left:0}::ng-deep .frequency-dialog-checkbox-list.week app-cs-checkbox .checkbox-item .value{max-width:100%!important;margin:0!important}::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox{border-right:1px solid #f1f1f1;border-bottom:1px solid #f1f1f1;padding:.75rem 1rem .75rem .75rem;height:2.5rem;width:16.66%}::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox:nth-child(6){border-right:none}::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox:nth-child(7),::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox:nth-child(8),::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox:nth-child(9),::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox:nth-child(10),::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox:nth-child(11),::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox:nth-child(12){border-bottom:none}::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox:nth-child(12){border-right:none}::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox .checkbox-item{padding-left:1.5rem!important;position:relative;top:-6px}::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox .checkbox-item .checkbox,::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox .checkbox-item .checkmark{position:absolute!important;top:0;left:0}::ng-deep .frequency-dialog-checkbox-list.month app-cs-checkbox .checkbox-item .value{max-width:100%!important;margin:0!important}"]
30692
30637
  },] }
30693
30638
  ];