vcomply-workflow-engine 3.1.36 → 3.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/more-option/more-option.component.mjs +2 -2
- package/esm2020/lib/pipes/dom-sanitizer.pipe.mjs +1 -1
- package/esm2020/lib/sharedComponents/table-card-loader/table-card-loader.component.mjs +3 -3
- package/esm2020/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +2 -2
- package/esm2020/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.mjs +3 -3
- package/esm2020/lib/workflow/shared/components/attributes/attributes-dropdown/attributes-dropdown.component.mjs +11 -14
- package/esm2020/lib/workflow/shared/services/grc.service.mjs +5 -10
- package/esm2020/lib/workflow/shared/workflow-pipes/is-attributes-valid.pipe.mjs +8 -10
- package/fesm2015/vcomply-workflow-engine.mjs +27 -38
- package/fesm2015/vcomply-workflow-engine.mjs.map +1 -1
- package/fesm2020/vcomply-workflow-engine.mjs +27 -37
- package/fesm2020/vcomply-workflow-engine.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -705,15 +705,10 @@ class GrcService {
|
|
|
705
705
|
}
|
|
706
706
|
else if (obj.type === 'checkbox' || obj.type === 'dropdown') {
|
|
707
707
|
let isChoiceSelected = false;
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
for (const choice of obj.choices) {
|
|
713
|
-
if (choice.is_selected) {
|
|
714
|
-
isChoiceSelected = true;
|
|
715
|
-
break;
|
|
716
|
-
}
|
|
708
|
+
for (const choice of obj.choices) {
|
|
709
|
+
if (choice.is_selected) {
|
|
710
|
+
isChoiceSelected = true;
|
|
711
|
+
break;
|
|
717
712
|
}
|
|
718
713
|
}
|
|
719
714
|
if (!isChoiceSelected) {
|
|
@@ -3211,10 +3206,10 @@ class TableCardLoaderComponent {
|
|
|
3211
3206
|
ngOnInit() { }
|
|
3212
3207
|
}
|
|
3213
3208
|
TableCardLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TableCardLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3214
|
-
TableCardLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TableCardLoaderComponent, isStandalone: true, selector: "app-table-card-loader", ngImport: i0, template: "<div class=\"table-card-area vx-d-flex vx-align-center vx-mb-2\">\
|
|
3209
|
+
TableCardLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TableCardLoaderComponent, isStandalone: true, selector: "app-table-card-loader", ngImport: i0, template: "<div class=\"table-card-area vx-d-flex vx-align-center vx-mb-2\">\n <div *ngFor=\"let data of [1,1,1,1]\" class=\"vx-table-card vx-bg-white vx-d-flex vx-justify-between vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3 vx-mr-1 vx-w-100\">\n <div class=\"left vx-d-block vx-w-100\">\n <div class=\"label vx-d-flex vx-align-center\">\n <div class=\"loader\"></div>\n </div>\n </div>\n <div class=\"right vx-d-flex vx-justify-end vx-w-100\">\n <span class=\"vx-txt-white vx-fw-500 vx-d-inline-block vx-text-center loader\"></span>\n </div>\n </div>\n</div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.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/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.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\";@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/table-card/table-card.css\";::ng-deep .table-card-area .vx-table-card:last-of-type{margin-right:0!important}::ng-deep .table-card-area .vx-table-card .left .label .loader{width:100%}::ng-deep .table-card-area .vx-table-card .right span{width:1.75rem;height:1.75rem}.loader{background:#f1f1f1!important;height:.5rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
3215
3210
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TableCardLoaderComponent, decorators: [{
|
|
3216
3211
|
type: Component,
|
|
3217
|
-
args: [{ selector: 'app-table-card-loader', standalone: true, imports: [CommonModule], template: "<div class=\"table-card-area vx-d-flex vx-align-center vx-mb-2\">\
|
|
3212
|
+
args: [{ selector: 'app-table-card-loader', standalone: true, imports: [CommonModule], template: "<div class=\"table-card-area vx-d-flex vx-align-center vx-mb-2\">\n <div *ngFor=\"let data of [1,1,1,1]\" class=\"vx-table-card vx-bg-white vx-d-flex vx-justify-between vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3 vx-mr-1 vx-w-100\">\n <div class=\"left vx-d-block vx-w-100\">\n <div class=\"label vx-d-flex vx-align-center\">\n <div class=\"loader\"></div>\n </div>\n </div>\n <div class=\"right vx-d-flex vx-justify-end vx-w-100\">\n <span class=\"vx-txt-white vx-fw-500 vx-d-inline-block vx-text-center loader\"></span>\n </div>\n </div>\n</div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.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/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.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\";@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/table-card/table-card.css\";::ng-deep .table-card-area .vx-table-card:last-of-type{margin-right:0!important}::ng-deep .table-card-area .vx-table-card .left .label .loader{width:100%}::ng-deep .table-card-area .vx-table-card .right span{width:1.75rem;height:1.75rem}.loader{background:#f1f1f1!important;height:.5rem}\n"] }]
|
|
3218
3213
|
}], ctorParameters: function () { return []; } });
|
|
3219
3214
|
|
|
3220
3215
|
class GrcObjectListComponent {
|
|
@@ -4936,10 +4931,10 @@ class AttributesDropdownComponent {
|
|
|
4936
4931
|
this.onDataSelection = new EventEmitter();
|
|
4937
4932
|
}
|
|
4938
4933
|
onValueChanged(event, index) {
|
|
4939
|
-
if (event === 'Other') {
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
}
|
|
4934
|
+
// if (event === 'Other') {
|
|
4935
|
+
// this.dropdownInfo.is_other_selected = true;
|
|
4936
|
+
// return;
|
|
4937
|
+
// }
|
|
4943
4938
|
this.dropdownInfo.choices.forEach((eachChoice, dataIndex) => {
|
|
4944
4939
|
if (index === dataIndex) {
|
|
4945
4940
|
eachChoice.is_selected = true;
|
|
@@ -4953,9 +4948,6 @@ class AttributesDropdownComponent {
|
|
|
4953
4948
|
this.onDataSelection.emit(this.dropdownInfo.choices);
|
|
4954
4949
|
}
|
|
4955
4950
|
get placeholderText() {
|
|
4956
|
-
if (this.dropdownInfo.hasOther && this.dropdownInfo?.is_other_selected) {
|
|
4957
|
-
return this.dropdownInfo.otherValue;
|
|
4958
|
-
}
|
|
4959
4951
|
const INDEX = this.dropdownInfo.choices.findIndex((choices) => choices.is_selected);
|
|
4960
4952
|
if (INDEX > -1) {
|
|
4961
4953
|
return this.dropdownInfo.choices[INDEX].title;
|
|
@@ -4977,11 +4969,11 @@ AttributesDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
4977
4969
|
(click)="onValueChanged(eachChoice?.title, i)"
|
|
4978
4970
|
>{{ eachChoice?.title }}</cs-option
|
|
4979
4971
|
>
|
|
4980
|
-
<cs-option
|
|
4972
|
+
<!-- <cs-option
|
|
4981
4973
|
*ngIf="dropdownInfo?.hasOther"
|
|
4982
4974
|
[value]="dropdownInfo?.is_other_selected"
|
|
4983
|
-
(click)="onValueChanged(dropdownInfo?.
|
|
4984
|
-
>{{ dropdownInfo?.
|
|
4975
|
+
(click)="onValueChanged(dropdownInfo?.hasOtherValue, i)"
|
|
4976
|
+
>{{ dropdownInfo?.hasOtherValue }}</cs-option -->
|
|
4985
4977
|
>
|
|
4986
4978
|
</cs-select>
|
|
4987
4979
|
<p *ngIf="isValidationError" class="error-message">
|
|
@@ -5010,11 +5002,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5010
5002
|
(click)="onValueChanged(eachChoice?.title, i)"
|
|
5011
5003
|
>{{ eachChoice?.title }}</cs-option
|
|
5012
5004
|
>
|
|
5013
|
-
<cs-option
|
|
5005
|
+
<!-- <cs-option
|
|
5014
5006
|
*ngIf="dropdownInfo?.hasOther"
|
|
5015
5007
|
[value]="dropdownInfo?.is_other_selected"
|
|
5016
|
-
(click)="onValueChanged(dropdownInfo?.
|
|
5017
|
-
>{{ dropdownInfo?.
|
|
5008
|
+
(click)="onValueChanged(dropdownInfo?.hasOtherValue, i)"
|
|
5009
|
+
>{{ dropdownInfo?.hasOtherValue }}</cs-option -->
|
|
5018
5010
|
>
|
|
5019
5011
|
</cs-select>
|
|
5020
5012
|
<p *ngIf="isValidationError" class="error-message">
|
|
@@ -5104,10 +5096,10 @@ class AttributesCheckboxComponent {
|
|
|
5104
5096
|
}
|
|
5105
5097
|
}
|
|
5106
5098
|
AttributesCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AttributesCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5107
|
-
AttributesCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: AttributesCheckboxComponent, isStandalone: true, selector: "lib-attributes-checkbox", inputs: { selectedAttribute: "selectedAttribute" }, outputs: { onSelectedAttributes: "onSelectedAttributes" }, ngImport: i0, template: "<div class=\"add-risk-rc\" [class.animate]=\"animation\">\r\n <div\r\n class=\"add-risk-rc-head vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4\"\r\n >\r\n <div\r\n class=\"vx-fs-14 vx-fw-500 vx-label-txt\"\r\n [innerHTML]=\"selectedAttribute?.title\"\r\n ></div>\r\n </div>\r\n <div class=\"add-risk-rc-body\">\r\n <!-- <app-workflow-pagination></app-workflow-pagination> -->\r\n\r\n <div class=\"body-top\" *ngIf=\"selectedAttribute?.choices?.length > 0\">\r\n <app-cs-checkbox\r\n [ngValue]=\"isSelectAll\"\r\n (ngValueChange)=\"selectAll($event)\"\r\n ><strong>{{ isSelectAll ? \"Deselect All\" : \"Select All\" }}</strong>\r\n </app-cs-checkbox>\r\n </div>\r\n\r\n <ul class=\"add-risk-rc-list\">\r\n <ng-container>\r\n <li\r\n *ngFor=\"let choice of selectedAttribute?.choices; let i = index\"\r\n #ulElement\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"choice.is_selected\"\r\n (ngValueChange)=\"selectAttributes(i, $event)\"\r\n >\r\n <ul class=\"add-risk-rc-name\" #listBlock>\r\n <!-- [style.max-width.px]=\"blockWidth / rc.rc_name\" -->\r\n <li\r\n [appTooltip]=\"choice?.title\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n {{ choice?.title }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n\r\n <li *ngIf=\"selectedAttribute?.hasOther\">\r\n <app-cs-checkbox\r\n [ngValue]=\"selectedAttribute.is_other_selected\"\r\n (ngValueChange)=\"selectedAttribute['is_other_selected'] = $event\"\r\n >\r\n <ul class=\"add-risk-rc-name\" #listBlock>\r\n <!-- [style.max-width.px]=\"blockWidth / rc.rc_name\" -->\r\n <li\r\n [appTooltip]=\"selectedAttribute?.otherValue\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n {{ selectedAttribute?.otherValue }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n <app-no-data\r\n *ngIf=\"!selectedAttribute?.choices?.length\"\r\n [noDataImage]=\"\r\n 'https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/search-data.svg'\r\n \"\r\n [noDataText]=\"'No data to display'\"\r\n ></app-no-data>\r\n\r\n <app-floating-bar\r\n [selectedData]=\"getSelectedValue\"\r\n [displayElementKey]=\"'title'\"\r\n (closeEvent)=\"close(getSelectedValue)\"\r\n (deleteEvent)=\"deleteEvent($event)\"\r\n (closeList)=\"close()\"\r\n [isDisabled]=\"\r\n (getSelectedValue?.length === 0 ||\r\n selectedAttribute?.choices?.length === 0) &&\r\n !selectedAttribute?.is_other_selected\r\n \"\r\n ></app-floating-bar>\r\n </div>\r\n</div>\r\n", styles: ["@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/color/color.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-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.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-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::-webkit-scrollbar-track{background-color:#fff;position:absolute}::-webkit-scrollbar{width:3px;height:3px;background-color:transparent;position:absolute}::-webkit-scrollbar-thumb{border-radius:3px;background-color:#dbdbdb;position:absolute}::ng-deep .add-risk-rc{position:fixed;inset:0 500px 0 0}::ng-deep .add-risk-rc:before{background:#1e5dd3;content:\"\";position:absolute;top:0;left:0;right:0;width:100%;height:3px}::ng-deep .add-risk-rc-head{background:#fbfbfb;height:2.75rem;border-bottom:1px solid #f1f1f1}::ng-deep .add-risk-rc-body{background:#fff;height:calc(100vh - 2.75rem);padding:2rem}::ng-deep .add-risk-rc-body .search-block{position:relative}::ng-deep .add-risk-rc-body .search-block input{height:2.75rem;line-height:1.5rem;padding:.5rem 1rem .5rem 2.5rem;outline:none;border:1px solid #7475763f;border-radius:.25rem;width:100%;font-size:14px;color:#747576}::ng-deep .add-risk-rc-body .search-block input:focus{border-color:#1e5dd3}::ng-deep .add-risk-rc-body .search-block i{position:absolute;left:1rem;font-size:12px;font-weight:400;top:1rem;pointer-events:none;color:#f1f1f1}::ng-deep .add-risk-rc-body .body-top{display:flex;justify-content:space-between;padding:.5rem 0 0}::ng-deep .add-risk-rc-body .body-top app-cs-checkbox{display:flex}::ng-deep .add-risk-rc-body .body-top app-cs-checkbox label span.value strong{color:#161b2f;font-size:12px;font-weight:600;white-space:nowrap}::ng-deep .add-risk-rc-body ul{padding:0;margin:0}::ng-deep .add-risk-rc-body ul.add-risk-rc-list{display:block;align-items:flex-start;flex-wrap:wrap;height:calc(100vh - 14.5rem);overflow:auto;margin:1rem 0}::ng-deep .add-risk-rc-body ul.add-risk-rc-list.with-selectAll{height:calc(100vh - 16rem)}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li{width:100%;padding:0 0 1rem;list-style:none}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio{display:flex}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox label,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio label{width:100%}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox label span.value,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio label span.value{width:auto;justify-content:flex-start;line-height:18px!important}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox ul.add-risk-rc-name,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio ul.add-risk-rc-name{display:flex;justify-content:flex-start;width:auto;max-width:100%}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox ul.add-risk-rc-name li,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio ul.add-risk-rc-name li{list-style:none;color:#747576;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:auto;padding:0 .5rem 0 0;max-width:100%}::ng-deep .add-risk-rc-body app-no-data .no-data-wrapper{height:calc(100vh - 200px)}::ng-deep .add-risk-rc.animate{animation:animate-right .2s cubic-bezier(.25,.46,.45,.94) both;z-index:-1}::ng-deep .add-risk-rc .message-footer{background:#1e5dd3;border-radius:5px;margin:0 0 0 30px;width:calc(100% - 60px);position:relative;bottom:0}::ng-deep .add-risk-rc .message-footer .message{padding:15px;display:flex;align-items:flex-start}::ng-deep .add-risk-rc .message-footer .message i{width:auto;font-size:16px;color:#fff}::ng-deep .add-risk-rc .message-footer .message span{color:#fff;font-size:12px;line-height:18px;padding-left:9px;font-weight:300}::ng-deep .add-risk-rc .message-footer .footer{border-top:1px solid #1483ef;display:flex;justify-content:space-between;align-items:center;padding:10px 15px}::ng-deep .add-risk-rc .message-footer .footer span{color:#fff;font-size:14px}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper{display:flex}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper button{width:60px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:11px;font-weight:500;border:1px solid #fff;text-transform:uppercase;border-radius:2px;outline:none;padding:0;margin:0}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper button.outline{background:#1e5dd3;color:#fff}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper button.fill{background:#fff;color:#1e5dd3}@keyframes animate-right{0%{transform:translate(100%)}to{transform:translate(0)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: FloatingBarModule }, { kind: "component", type: FloatingBarComponent, selector: "app-floating-bar", inputs: ["selectedData", "selectedGroups", "displayElementKey", "elementId", "singularText", "pluralText", "showNextButton", "showFrequencyText", "showWorkflow", "workflowText", "currentFrequency", "isDisabled", "workflowList", "selectedWorkflow", "workflowPlaceHolder", "mode", "defaultSelected", "groupsEnabled", "nonRemovableUsersList", "removePosition"], outputs: ["closeEvent", "deleteEvent", "closeList", "deleteGroupEvent", "workflowTypeChanged"] }, { kind: "ngmodule", type: FormgroupModule$1 }, { kind: "component", type: CsCheckboxComponent$1, selector: "app-cs-checkbox", inputs: ["disabled", "ngValue", "value", "readonly", "oneLine"], outputs: ["ngValueChange"] }] });
|
|
5099
|
+
AttributesCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: AttributesCheckboxComponent, isStandalone: true, selector: "lib-attributes-checkbox", inputs: { selectedAttribute: "selectedAttribute" }, outputs: { onSelectedAttributes: "onSelectedAttributes" }, ngImport: i0, template: "<div class=\"add-risk-rc\" [class.animate]=\"animation\">\r\n <div\r\n class=\"add-risk-rc-head vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4\"\r\n >\r\n <div\r\n class=\"vx-fs-14 vx-fw-500 vx-label-txt\"\r\n [innerHTML]=\"selectedAttribute?.title\"\r\n ></div>\r\n </div>\r\n <div class=\"add-risk-rc-body\">\r\n <!-- <app-workflow-pagination></app-workflow-pagination> -->\r\n\r\n <div class=\"body-top\" *ngIf=\"selectedAttribute?.choices?.length > 0\">\r\n <app-cs-checkbox\r\n [ngValue]=\"isSelectAll\"\r\n (ngValueChange)=\"selectAll($event)\"\r\n ><strong>{{ isSelectAll ? \"Deselect All\" : \"Select All\" }}</strong>\r\n </app-cs-checkbox>\r\n </div>\r\n\r\n <ul class=\"add-risk-rc-list\">\r\n <ng-container>\r\n <li\r\n *ngFor=\"let choice of selectedAttribute?.choices; let i = index\"\r\n #ulElement\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"choice.is_selected\"\r\n (ngValueChange)=\"selectAttributes(i, $event)\"\r\n >\r\n <ul class=\"add-risk-rc-name\" #listBlock>\r\n <!-- [style.max-width.px]=\"blockWidth / rc.rc_name\" -->\r\n <li\r\n [appTooltip]=\"choice?.title\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n {{ choice?.title }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n\r\n <li *ngIf=\"selectedAttribute?.hasOther\">\r\n <app-cs-checkbox\r\n [ngValue]=\"selectedAttribute.is_other_selected\"\r\n (ngValueChange)=\"selectedAttribute['is_other_selected'] = $event\"\r\n >\r\n <ul class=\"add-risk-rc-name\" #listBlock>\r\n <!-- [style.max-width.px]=\"blockWidth / rc.rc_name\" -->\r\n <li\r\n [appTooltip]=\"selectedAttribute?.otherValue\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n {{ selectedAttribute?.otherValue }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n <app-no-data\r\n *ngIf=\"!selectedAttribute?.choices?.length\"\r\n [noDataImage]=\"\r\n 'https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/search-data.svg'\r\n \"\r\n [noDataText]=\"'No data to display'\"\r\n ></app-no-data>\r\n\r\n <app-floating-bar\r\n [selectedData]=\"getSelectedValue\"\r\n [displayElementKey]=\"'title'\"\r\n (closeEvent)=\"close(getSelectedValue)\"\r\n (deleteEvent)=\"deleteEvent($event)\"\r\n (closeList)=\"close()\"\r\n [isDisabled]=\"\r\n getSelectedValue?.length === 0 ||\r\n selectedAttribute?.choices?.length === 0\r\n \"\r\n ></app-floating-bar>\r\n </div>\r\n</div>\r\n", styles: ["@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/color/color.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-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.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-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::-webkit-scrollbar-track{background-color:#fff;position:absolute}::-webkit-scrollbar{width:3px;height:3px;background-color:transparent;position:absolute}::-webkit-scrollbar-thumb{border-radius:3px;background-color:#dbdbdb;position:absolute}::ng-deep .add-risk-rc{position:fixed;inset:0 500px 0 0}::ng-deep .add-risk-rc:before{background:#1e5dd3;content:\"\";position:absolute;top:0;left:0;right:0;width:100%;height:3px}::ng-deep .add-risk-rc-head{background:#fbfbfb;height:2.75rem;border-bottom:1px solid #f1f1f1}::ng-deep .add-risk-rc-body{background:#fff;height:calc(100vh - 2.75rem);padding:2rem}::ng-deep .add-risk-rc-body .search-block{position:relative}::ng-deep .add-risk-rc-body .search-block input{height:2.75rem;line-height:1.5rem;padding:.5rem 1rem .5rem 2.5rem;outline:none;border:1px solid #7475763f;border-radius:.25rem;width:100%;font-size:14px;color:#747576}::ng-deep .add-risk-rc-body .search-block input:focus{border-color:#1e5dd3}::ng-deep .add-risk-rc-body .search-block i{position:absolute;left:1rem;font-size:12px;font-weight:400;top:1rem;pointer-events:none;color:#f1f1f1}::ng-deep .add-risk-rc-body .body-top{display:flex;justify-content:space-between;padding:.5rem 0 0}::ng-deep .add-risk-rc-body .body-top app-cs-checkbox{display:flex}::ng-deep .add-risk-rc-body .body-top app-cs-checkbox label span.value strong{color:#161b2f;font-size:12px;font-weight:600;white-space:nowrap}::ng-deep .add-risk-rc-body ul{padding:0;margin:0}::ng-deep .add-risk-rc-body ul.add-risk-rc-list{display:block;align-items:flex-start;flex-wrap:wrap;height:calc(100vh - 14.5rem);overflow:auto;margin:1rem 0}::ng-deep .add-risk-rc-body ul.add-risk-rc-list.with-selectAll{height:calc(100vh - 16rem)}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li{width:100%;padding:0 0 1rem;list-style:none}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio{display:flex}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox label,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio label{width:100%}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox label span.value,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio label span.value{width:auto;justify-content:flex-start;line-height:18px!important}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox ul.add-risk-rc-name,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio ul.add-risk-rc-name{display:flex;justify-content:flex-start;width:auto;max-width:100%}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox ul.add-risk-rc-name li,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio ul.add-risk-rc-name li{list-style:none;color:#747576;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:auto;padding:0 .5rem 0 0;max-width:100%}::ng-deep .add-risk-rc-body app-no-data .no-data-wrapper{height:calc(100vh - 200px)}::ng-deep .add-risk-rc.animate{animation:animate-right .2s cubic-bezier(.25,.46,.45,.94) both;z-index:-1}::ng-deep .add-risk-rc .message-footer{background:#1e5dd3;border-radius:5px;margin:0 0 0 30px;width:calc(100% - 60px);position:relative;bottom:0}::ng-deep .add-risk-rc .message-footer .message{padding:15px;display:flex;align-items:flex-start}::ng-deep .add-risk-rc .message-footer .message i{width:auto;font-size:16px;color:#fff}::ng-deep .add-risk-rc .message-footer .message span{color:#fff;font-size:12px;line-height:18px;padding-left:9px;font-weight:300}::ng-deep .add-risk-rc .message-footer .footer{border-top:1px solid #1483ef;display:flex;justify-content:space-between;align-items:center;padding:10px 15px}::ng-deep .add-risk-rc .message-footer .footer span{color:#fff;font-size:14px}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper{display:flex}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper button{width:60px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:11px;font-weight:500;border:1px solid #fff;text-transform:uppercase;border-radius:2px;outline:none;padding:0;margin:0}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper button.outline{background:#1e5dd3;color:#fff}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper button.fill{background:#fff;color:#1e5dd3}@keyframes animate-right{0%{transform:translate(100%)}to{transform:translate(0)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: FloatingBarModule }, { kind: "component", type: FloatingBarComponent, selector: "app-floating-bar", inputs: ["selectedData", "selectedGroups", "displayElementKey", "elementId", "singularText", "pluralText", "showNextButton", "showFrequencyText", "showWorkflow", "workflowText", "currentFrequency", "isDisabled", "workflowList", "selectedWorkflow", "workflowPlaceHolder", "mode", "defaultSelected", "groupsEnabled", "nonRemovableUsersList", "removePosition"], outputs: ["closeEvent", "deleteEvent", "closeList", "deleteGroupEvent", "workflowTypeChanged"] }, { kind: "ngmodule", type: FormgroupModule$1 }, { kind: "component", type: CsCheckboxComponent$1, selector: "app-cs-checkbox", inputs: ["disabled", "ngValue", "value", "readonly", "oneLine"], outputs: ["ngValueChange"] }] });
|
|
5108
5100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AttributesCheckboxComponent, decorators: [{
|
|
5109
5101
|
type: Component,
|
|
5110
|
-
args: [{ selector: 'lib-attributes-checkbox', standalone: true, imports: [CommonModule, FormsModule, FloatingBarModule, FormgroupModule$1], inputs: ['selectedAttribute'], outputs: ['onSelectedAttributes'], template: "<div class=\"add-risk-rc\" [class.animate]=\"animation\">\r\n <div\r\n class=\"add-risk-rc-head vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4\"\r\n >\r\n <div\r\n class=\"vx-fs-14 vx-fw-500 vx-label-txt\"\r\n [innerHTML]=\"selectedAttribute?.title\"\r\n ></div>\r\n </div>\r\n <div class=\"add-risk-rc-body\">\r\n <!-- <app-workflow-pagination></app-workflow-pagination> -->\r\n\r\n <div class=\"body-top\" *ngIf=\"selectedAttribute?.choices?.length > 0\">\r\n <app-cs-checkbox\r\n [ngValue]=\"isSelectAll\"\r\n (ngValueChange)=\"selectAll($event)\"\r\n ><strong>{{ isSelectAll ? \"Deselect All\" : \"Select All\" }}</strong>\r\n </app-cs-checkbox>\r\n </div>\r\n\r\n <ul class=\"add-risk-rc-list\">\r\n <ng-container>\r\n <li\r\n *ngFor=\"let choice of selectedAttribute?.choices; let i = index\"\r\n #ulElement\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"choice.is_selected\"\r\n (ngValueChange)=\"selectAttributes(i, $event)\"\r\n >\r\n <ul class=\"add-risk-rc-name\" #listBlock>\r\n <!-- [style.max-width.px]=\"blockWidth / rc.rc_name\" -->\r\n <li\r\n [appTooltip]=\"choice?.title\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n {{ choice?.title }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n\r\n <li *ngIf=\"selectedAttribute?.hasOther\">\r\n <app-cs-checkbox\r\n [ngValue]=\"selectedAttribute.is_other_selected\"\r\n (ngValueChange)=\"selectedAttribute['is_other_selected'] = $event\"\r\n >\r\n <ul class=\"add-risk-rc-name\" #listBlock>\r\n <!-- [style.max-width.px]=\"blockWidth / rc.rc_name\" -->\r\n <li\r\n [appTooltip]=\"selectedAttribute?.otherValue\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n {{ selectedAttribute?.otherValue }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n <app-no-data\r\n *ngIf=\"!selectedAttribute?.choices?.length\"\r\n [noDataImage]=\"\r\n 'https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/search-data.svg'\r\n \"\r\n [noDataText]=\"'No data to display'\"\r\n ></app-no-data>\r\n\r\n <app-floating-bar\r\n [selectedData]=\"getSelectedValue\"\r\n [displayElementKey]=\"'title'\"\r\n (closeEvent)=\"close(getSelectedValue)\"\r\n (deleteEvent)=\"deleteEvent($event)\"\r\n (closeList)=\"close()\"\r\n [isDisabled]=\"\r\n
|
|
5102
|
+
args: [{ selector: 'lib-attributes-checkbox', standalone: true, imports: [CommonModule, FormsModule, FloatingBarModule, FormgroupModule$1], inputs: ['selectedAttribute'], outputs: ['onSelectedAttributes'], template: "<div class=\"add-risk-rc\" [class.animate]=\"animation\">\r\n <div\r\n class=\"add-risk-rc-head vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4\"\r\n >\r\n <div\r\n class=\"vx-fs-14 vx-fw-500 vx-label-txt\"\r\n [innerHTML]=\"selectedAttribute?.title\"\r\n ></div>\r\n </div>\r\n <div class=\"add-risk-rc-body\">\r\n <!-- <app-workflow-pagination></app-workflow-pagination> -->\r\n\r\n <div class=\"body-top\" *ngIf=\"selectedAttribute?.choices?.length > 0\">\r\n <app-cs-checkbox\r\n [ngValue]=\"isSelectAll\"\r\n (ngValueChange)=\"selectAll($event)\"\r\n ><strong>{{ isSelectAll ? \"Deselect All\" : \"Select All\" }}</strong>\r\n </app-cs-checkbox>\r\n </div>\r\n\r\n <ul class=\"add-risk-rc-list\">\r\n <ng-container>\r\n <li\r\n *ngFor=\"let choice of selectedAttribute?.choices; let i = index\"\r\n #ulElement\r\n >\r\n <app-cs-checkbox\r\n [ngValue]=\"choice.is_selected\"\r\n (ngValueChange)=\"selectAttributes(i, $event)\"\r\n >\r\n <ul class=\"add-risk-rc-name\" #listBlock>\r\n <!-- [style.max-width.px]=\"blockWidth / rc.rc_name\" -->\r\n <li\r\n [appTooltip]=\"choice?.title\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n {{ choice?.title }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n\r\n <li *ngIf=\"selectedAttribute?.hasOther\">\r\n <app-cs-checkbox\r\n [ngValue]=\"selectedAttribute.is_other_selected\"\r\n (ngValueChange)=\"selectedAttribute['is_other_selected'] = $event\"\r\n >\r\n <ul class=\"add-risk-rc-name\" #listBlock>\r\n <!-- [style.max-width.px]=\"blockWidth / rc.rc_name\" -->\r\n <li\r\n [appTooltip]=\"selectedAttribute?.otherValue\"\r\n placement=\"bottom\"\r\n type=\"black\"\r\n delay=\"0\"\r\n [tooltipMandatory]=\"true\"\r\n >\r\n {{ selectedAttribute?.otherValue }}\r\n </li>\r\n </ul>\r\n </app-cs-checkbox>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n <app-no-data\r\n *ngIf=\"!selectedAttribute?.choices?.length\"\r\n [noDataImage]=\"\r\n 'https://cdn.v-comply.com/libraries/workflow-engine/assets/workflow/search-data.svg'\r\n \"\r\n [noDataText]=\"'No data to display'\"\r\n ></app-no-data>\r\n\r\n <app-floating-bar\r\n [selectedData]=\"getSelectedValue\"\r\n [displayElementKey]=\"'title'\"\r\n (closeEvent)=\"close(getSelectedValue)\"\r\n (deleteEvent)=\"deleteEvent($event)\"\r\n (closeList)=\"close()\"\r\n [isDisabled]=\"\r\n getSelectedValue?.length === 0 ||\r\n selectedAttribute?.choices?.length === 0\r\n \"\r\n ></app-floating-bar>\r\n </div>\r\n</div>\r\n", styles: ["@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/color/color.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-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.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-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::-webkit-scrollbar-track{background-color:#fff;position:absolute}::-webkit-scrollbar{width:3px;height:3px;background-color:transparent;position:absolute}::-webkit-scrollbar-thumb{border-radius:3px;background-color:#dbdbdb;position:absolute}::ng-deep .add-risk-rc{position:fixed;inset:0 500px 0 0}::ng-deep .add-risk-rc:before{background:#1e5dd3;content:\"\";position:absolute;top:0;left:0;right:0;width:100%;height:3px}::ng-deep .add-risk-rc-head{background:#fbfbfb;height:2.75rem;border-bottom:1px solid #f1f1f1}::ng-deep .add-risk-rc-body{background:#fff;height:calc(100vh - 2.75rem);padding:2rem}::ng-deep .add-risk-rc-body .search-block{position:relative}::ng-deep .add-risk-rc-body .search-block input{height:2.75rem;line-height:1.5rem;padding:.5rem 1rem .5rem 2.5rem;outline:none;border:1px solid #7475763f;border-radius:.25rem;width:100%;font-size:14px;color:#747576}::ng-deep .add-risk-rc-body .search-block input:focus{border-color:#1e5dd3}::ng-deep .add-risk-rc-body .search-block i{position:absolute;left:1rem;font-size:12px;font-weight:400;top:1rem;pointer-events:none;color:#f1f1f1}::ng-deep .add-risk-rc-body .body-top{display:flex;justify-content:space-between;padding:.5rem 0 0}::ng-deep .add-risk-rc-body .body-top app-cs-checkbox{display:flex}::ng-deep .add-risk-rc-body .body-top app-cs-checkbox label span.value strong{color:#161b2f;font-size:12px;font-weight:600;white-space:nowrap}::ng-deep .add-risk-rc-body ul{padding:0;margin:0}::ng-deep .add-risk-rc-body ul.add-risk-rc-list{display:block;align-items:flex-start;flex-wrap:wrap;height:calc(100vh - 14.5rem);overflow:auto;margin:1rem 0}::ng-deep .add-risk-rc-body ul.add-risk-rc-list.with-selectAll{height:calc(100vh - 16rem)}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li{width:100%;padding:0 0 1rem;list-style:none}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio{display:flex}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox label,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio label{width:100%}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox label span.value,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio label span.value{width:auto;justify-content:flex-start;line-height:18px!important}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox ul.add-risk-rc-name,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio ul.add-risk-rc-name{display:flex;justify-content:flex-start;width:auto;max-width:100%}::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-checkbox ul.add-risk-rc-name li,::ng-deep .add-risk-rc-body ul.add-risk-rc-list li app-cs-radio ul.add-risk-rc-name li{list-style:none;color:#747576;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:auto;padding:0 .5rem 0 0;max-width:100%}::ng-deep .add-risk-rc-body app-no-data .no-data-wrapper{height:calc(100vh - 200px)}::ng-deep .add-risk-rc.animate{animation:animate-right .2s cubic-bezier(.25,.46,.45,.94) both;z-index:-1}::ng-deep .add-risk-rc .message-footer{background:#1e5dd3;border-radius:5px;margin:0 0 0 30px;width:calc(100% - 60px);position:relative;bottom:0}::ng-deep .add-risk-rc .message-footer .message{padding:15px;display:flex;align-items:flex-start}::ng-deep .add-risk-rc .message-footer .message i{width:auto;font-size:16px;color:#fff}::ng-deep .add-risk-rc .message-footer .message span{color:#fff;font-size:12px;line-height:18px;padding-left:9px;font-weight:300}::ng-deep .add-risk-rc .message-footer .footer{border-top:1px solid #1483ef;display:flex;justify-content:space-between;align-items:center;padding:10px 15px}::ng-deep .add-risk-rc .message-footer .footer span{color:#fff;font-size:14px}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper{display:flex}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper button{width:60px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:11px;font-weight:500;border:1px solid #fff;text-transform:uppercase;border-radius:2px;outline:none;padding:0;margin:0}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper button.outline{background:#1e5dd3;color:#fff}::ng-deep .add-risk-rc .message-footer .footer .button-wrapper button.fill{background:#fff;color:#1e5dd3}@keyframes animate-right{0%{transform:translate(100%)}to{transform:translate(0)}}\n"] }]
|
|
5111
5103
|
}], ctorParameters: function () { return []; } });
|
|
5112
5104
|
|
|
5113
5105
|
class GetSelectedValuePipe {
|
|
@@ -5152,15 +5144,10 @@ class IsAttributesValidPipe {
|
|
|
5152
5144
|
else if (attribute.type === 'checkbox' ||
|
|
5153
5145
|
attribute.type === 'dropdown') {
|
|
5154
5146
|
let isChoiceSelected = false;
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
for (const choice of attribute.choices) {
|
|
5160
|
-
if (choice.is_selected) {
|
|
5161
|
-
isChoiceSelected = true;
|
|
5162
|
-
break;
|
|
5163
|
-
}
|
|
5147
|
+
for (const choice of attribute.choices) {
|
|
5148
|
+
if (choice.is_selected) {
|
|
5149
|
+
isChoiceSelected = true;
|
|
5150
|
+
break;
|
|
5164
5151
|
}
|
|
5165
5152
|
}
|
|
5166
5153
|
if (!isChoiceSelected) {
|
|
@@ -5171,6 +5158,9 @@ class IsAttributesValidPipe {
|
|
|
5171
5158
|
else {
|
|
5172
5159
|
// isValid = true;
|
|
5173
5160
|
}
|
|
5161
|
+
if (attribute.type === 'single-textbox') {
|
|
5162
|
+
console.log('isValid', isValid, attribute);
|
|
5163
|
+
}
|
|
5174
5164
|
return isValid;
|
|
5175
5165
|
}
|
|
5176
5166
|
}
|
|
@@ -5403,7 +5393,7 @@ class GrcObjectContainerComponent {
|
|
|
5403
5393
|
this.hideMoreOption = [];
|
|
5404
5394
|
this.authService.getUserInfo().subscribe((res) => {
|
|
5405
5395
|
const complianceSubmodule = res?.roleActions[res?.roleActions?.findIndex((ele) => ele.moduleName == 'risk')];
|
|
5406
|
-
if (complianceSubmodule?.isActive
|
|
5396
|
+
if (complianceSubmodule?.isActive === 0) {
|
|
5407
5397
|
this.hideMoreOption.push('LINK_RISK_CATEGORIES_RISKS');
|
|
5408
5398
|
}
|
|
5409
5399
|
this.hideElementsFromMoreOptions.emit(this.hideMoreOption);
|
|
@@ -30004,7 +29994,7 @@ class MoreOptionComponent {
|
|
|
30004
29994
|
tooltipTitle: 'LINK RISKS',
|
|
30005
29995
|
tooltipMessage: `This option lets you link a GRC Object with related risks.`,
|
|
30006
29996
|
checked: false,
|
|
30007
|
-
hidden:
|
|
29997
|
+
hidden: false,
|
|
30008
29998
|
code: 'LINK_RISK_CATEGORIES_RISKS',
|
|
30009
29999
|
},
|
|
30010
30000
|
{
|