import { Component, EventEmitter, Input, Output } from '@angular/core';
import { ASSETS } from '../../constants/assets.constants';
import * as i0 from "@angular/core";
import * as i1 from "@angular/forms";
import * as i2 from "../floating-bar/floating-bar.component";
import * as i3 from "../v-loader/loader-inline/loader-inline.component";
import * as i4 from "@angular/common";
import * as i5 from "../../formgroup/cs-checkbox/cs-checkbox.component";
import * as i6 from "../no-data/no-data.component";
import * as i7 from "../../pipes/list-mapper.pipe";
import * as i8 from "../../pipes/search.pipe";
export class CheckboxListComponent {
    constructor() {
        this.itemsList = [];
        this.selectedItems = [];
        this.identifierKey = '';
        this.displayKey = '';
        this.tooltipKey = '';
        this.twoColumn = false;
        this.loaded = true;
        this.closeList = new EventEmitter();
        this.saveList = new EventEmitter();
        this.searchItem = '';
        this.animation = true;
        this.ASSETS = ASSETS;
    }
    ngOnInit() {
        setTimeout(() => {
            this.animation = false;
        }, 300);
        this.selectedItems = this.arrayToId(this.selectedItems, this.identifierKey);
    }
    selectItem(item, checked) {
        if (checked) {
            this.selectedItems.push(item);
            this.selectedItems = Array.from(new Set(this.selectedItems));
        }
        else {
            const itemIndex = this.selectedItems.findIndex((el) => el === item);
            if (itemIndex !== -1) {
                this.selectedItems.splice(itemIndex, 1);
            }
        }
    }
    deleteItem(item) {
        const itemIndex = this.selectedItems.findIndex((el) => el === item[this.identifierKey]);
        if (itemIndex !== -1) {
            this.selectedItems.splice(itemIndex, 1);
        }
    }
    save() {
        this.saveList.emit(this.selectedItems);
    }
    close() {
        this.closeList.emit();
    }
    arrayToId(array, identifierKey) {
        return array.map((a) => a[identifierKey]);
    }
    selectAll(evt) {
        if (evt === true) {
            this.selectedItems = this.itemsList.map((e) => {
                return e[this.identifierKey];
            });
        }
        else {
            this.selectedItems = [];
        }
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CheckboxListComponent, selector: "app-checkbox-list", inputs: { itemsList: "itemsList", selectedItems: "selectedItems", identifierKey: "identifierKey", displayKey: "displayKey", tooltipKey: "tooltipKey", config: "config", twoColumn: "twoColumn", loaded: "loaded" }, outputs: { closeList: "closeList", saveList: "saveList" }, ngImport: i0, template: "<div class=\"add-risk-rc\" [class.animate]=\"animation\">\n  <div class=\"add-risk-rc-head vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4\">\n    <div class=\"vx-fs-14 vx-fw-500 vx-label-txt\">{{ config?.panelTitle }}</div>\n    <!-- <button class=\"add-risk-rc-close\" (click)=close()>\n            <i class=\"icons\">&#xe90d;</i>\n        </button> -->\n  </div>\n  <div class=\"add-risk-rc-body\">\n    <div class=\"search-block\">\n      <i class=\"icons\">&#xe90b;</i>\n      <input type=\"text\" placeholder=\"{{ config?.searchPlaceholder }}\" [(ngModel)]=\"searchItem\" />\n    </div>\n    <app-loader-inline *ngIf=\"loaded\"></app-loader-inline>\n    <ng-container *ngIf=\"itemsList | search : searchItem : displayKey as searchList\">\n      <div class=\"body-top\" *ngIf=\"\n          config?.selectAllEnabled &&\n          searchList?.length > 0 &&\n          searchItem?.trim()?.length === 0\n        \">\n        <app-cs-checkbox [ngValue]=\"\n            itemsList?.length === selectedItems?.length &&\n            selectedItems?.length > 0\n          \" (ngValueChange)=\"selectAll($event)\"><strong>\n            {{\n            itemsList?.length === selectedItems?.length &&\n            selectedItems?.length > 0\n            ? \"Deselect All\"\n            : \"Select All\"\n            }}</strong>\n        </app-cs-checkbox>\n      </div>\n      <div class=\"add-risk-rc-list\" *ngIf=\"searchList?.length > 0\">\n        <ul [class.two-column]=\"twoColumn\">\n          <li *ngFor=\"let item of searchList\" #ulElement>\n            <app-cs-checkbox *ngIf=\"config.workflow !== 'policy'\"\n              [ngValue]=\"selectedItems.includes(item[identifierKey])\"\n              (ngValueChange)=\"selectItem(item[identifierKey], $event)\"\n              [appTooltip]=\"tooltipKey ? item[tooltipKey] : item[displayKey]\" placement=\"bottom-left\" delay=\"0\"\n              [tooltipMandatory]=\"true\">\n              {{ item[displayKey]\n              }}{{\n              item?.parent_items?.length && config.workflow === \"policy\"\n              ? \" < \" + item?.parent_items?.join(\" < \")\n                  : \"\"\n              }}\n            </app-cs-checkbox>\n            <app-cs-checkbox\n              *ngIf=\" config.workflow==='policy'\"\n              [ngValue]=\" selectedItems.includes(item[identifierKey])\"\n                (ngValueChange)=\"selectItem(item[identifierKey], $event)\">\n                <ul class=\"add-category-name\">\n                  <li *ngFor=\"let data of item?.parent_items; let i = index\" [appTooltip]=\"data\" placement=\"bottom-left\"\n                    type=\"black\" delay=\"0\" [tooltipMandatory]=\"true\">\n                    <i *ngIf=\"i > 0\" class=\"icons\">&#xe910;</i>{{ data }}\n                  </li>\n                  <li [appTooltip]=\"item[displayKey]\" placement=\"bottom-left\" type=\"black\" delay=\"0\"\n                    [tooltipMandatory]=\"true\">\n                    <i *ngIf=\"item?.parent_items?.length > 0\" class=\"icons\">&#xe910;</i>\n                    {{ item[displayKey] }}\n                  </li>\n                </ul>\n            </app-cs-checkbox>\n          </li>\n        </ul>\n      </div>\n      <app-no-data *ngIf=\"searchList?.length === 0 && !loaded\" [noDataImage]=\"ASSETS.search_data\" [noDataText]=\"\n          config?.noDataText?.length > 0\n            ? config?.noDataText\n            : 'No data to display.'\n        \"></app-no-data>\n    </ng-container>\n\n    <app-floating-bar *ngIf=\"!loaded\" [selectedData]=\"selectedItems | listMapper : itemsList : identifierKey\"\n      [displayElementKey]=\"displayKey\" [singularText]=\"config?.floatingTextSingular\" [pluralText]=\"\n        config?.floatingTextPlural\n          ? config?.floatingTextPlural\n          : 'Users selected'\n      \" (closeEvent)=\"save()\" (closeList)=\"close()\" [isDisabled]=\"selectedItems.length === 0 || itemsList.length === 0\"\n      (deleteEvent)=\"deleteItem($event)\"></app-floating-bar>\n  </div>\n</div>", 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\";::ng-deep .add-risk-rc{position:fixed;inset:0 500px 0 0;z-index:1}::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-close{background:transparent;border:none;outline:none;cursor:pointer;color:#000;font-size:12px;display:inline-block;padding:0}::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 .add-risk-rc-list{margin:1rem 0;display:block;align-items:flex-start;flex-wrap:wrap;height:calc(100vh - 16rem);overflow:hidden;overflow-y:auto}::ng-deep .add-risk-rc-body .add-risk-rc-list::-webkit-scrollbar-track{background-color:transparent}::ng-deep .add-risk-rc-body .add-risk-rc-list::-webkit-scrollbar{width:3px;height:3px;background-color:transparent;position:absolute}::ng-deep .add-risk-rc-body .add-risk-rc-list ul{padding:0;margin:0}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li{width:100%;padding:0 0 1rem;list-style:none}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio{display:flex}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox label,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio label{width:100%}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox label span.value,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio label span.value{width:auto;justify-content:flex-start;line-height:18px!important;font-size:12px!important;color:#161b2f!important}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-name{display:flex;justify-content:flex-start;width:auto;max-width:100%}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name li,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-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 8px 0 0;max-width:100%}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name li i,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-name li i{font-size:8px;padding-right:8px}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name li:first-child,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-name li:first-child{color:#1e5dd3;max-width:100%}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name li:last-of-type,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-name li:last-of-type{color:#34aa44}::ng-deep .add-risk-rc-body .add-risk-rc-list ul.two-column{display:flex;flex-wrap:wrap}::ng-deep .add-risk-rc-body .add-risk-rc-list ul.two-column li{width:50%;padding-right:20px}::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: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.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: "component", type: i3.LoaderInlineComponent, selector: "app-loader-inline" }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.CsCheckboxComponent, selector: "app-cs-checkbox", inputs: ["disabled", "ngValue", "value", "readonly", "oneLine"], outputs: ["ngValueChange"] }, { kind: "component", type: i6.NoDataComponent, selector: "app-no-data", inputs: ["action", "noDataImage", "noDataText", "noDataButton", "noDataSecButton", "altText", "smallButton", "button"], outputs: ["buttonAction"] }, { kind: "pipe", type: i7.ListMapperPipe, name: "listMapper" }, { kind: "pipe", type: i8.SearchPipe, name: "search" }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxListComponent, decorators: [{
            type: Component,
            args: [{ selector: 'app-checkbox-list', template: "<div class=\"add-risk-rc\" [class.animate]=\"animation\">\n  <div class=\"add-risk-rc-head vx-d-flex vx-align-center vx-justify-between vx-pl-4 vx-pr-4\">\n    <div class=\"vx-fs-14 vx-fw-500 vx-label-txt\">{{ config?.panelTitle }}</div>\n    <!-- <button class=\"add-risk-rc-close\" (click)=close()>\n            <i class=\"icons\">&#xe90d;</i>\n        </button> -->\n  </div>\n  <div class=\"add-risk-rc-body\">\n    <div class=\"search-block\">\n      <i class=\"icons\">&#xe90b;</i>\n      <input type=\"text\" placeholder=\"{{ config?.searchPlaceholder }}\" [(ngModel)]=\"searchItem\" />\n    </div>\n    <app-loader-inline *ngIf=\"loaded\"></app-loader-inline>\n    <ng-container *ngIf=\"itemsList | search : searchItem : displayKey as searchList\">\n      <div class=\"body-top\" *ngIf=\"\n          config?.selectAllEnabled &&\n          searchList?.length > 0 &&\n          searchItem?.trim()?.length === 0\n        \">\n        <app-cs-checkbox [ngValue]=\"\n            itemsList?.length === selectedItems?.length &&\n            selectedItems?.length > 0\n          \" (ngValueChange)=\"selectAll($event)\"><strong>\n            {{\n            itemsList?.length === selectedItems?.length &&\n            selectedItems?.length > 0\n            ? \"Deselect All\"\n            : \"Select All\"\n            }}</strong>\n        </app-cs-checkbox>\n      </div>\n      <div class=\"add-risk-rc-list\" *ngIf=\"searchList?.length > 0\">\n        <ul [class.two-column]=\"twoColumn\">\n          <li *ngFor=\"let item of searchList\" #ulElement>\n            <app-cs-checkbox *ngIf=\"config.workflow !== 'policy'\"\n              [ngValue]=\"selectedItems.includes(item[identifierKey])\"\n              (ngValueChange)=\"selectItem(item[identifierKey], $event)\"\n              [appTooltip]=\"tooltipKey ? item[tooltipKey] : item[displayKey]\" placement=\"bottom-left\" delay=\"0\"\n              [tooltipMandatory]=\"true\">\n              {{ item[displayKey]\n              }}{{\n              item?.parent_items?.length && config.workflow === \"policy\"\n              ? \" < \" + item?.parent_items?.join(\" < \")\n                  : \"\"\n              }}\n            </app-cs-checkbox>\n            <app-cs-checkbox\n              *ngIf=\" config.workflow==='policy'\"\n              [ngValue]=\" selectedItems.includes(item[identifierKey])\"\n                (ngValueChange)=\"selectItem(item[identifierKey], $event)\">\n                <ul class=\"add-category-name\">\n                  <li *ngFor=\"let data of item?.parent_items; let i = index\" [appTooltip]=\"data\" placement=\"bottom-left\"\n                    type=\"black\" delay=\"0\" [tooltipMandatory]=\"true\">\n                    <i *ngIf=\"i > 0\" class=\"icons\">&#xe910;</i>{{ data }}\n                  </li>\n                  <li [appTooltip]=\"item[displayKey]\" placement=\"bottom-left\" type=\"black\" delay=\"0\"\n                    [tooltipMandatory]=\"true\">\n                    <i *ngIf=\"item?.parent_items?.length > 0\" class=\"icons\">&#xe910;</i>\n                    {{ item[displayKey] }}\n                  </li>\n                </ul>\n            </app-cs-checkbox>\n          </li>\n        </ul>\n      </div>\n      <app-no-data *ngIf=\"searchList?.length === 0 && !loaded\" [noDataImage]=\"ASSETS.search_data\" [noDataText]=\"\n          config?.noDataText?.length > 0\n            ? config?.noDataText\n            : 'No data to display.'\n        \"></app-no-data>\n    </ng-container>\n\n    <app-floating-bar *ngIf=\"!loaded\" [selectedData]=\"selectedItems | listMapper : itemsList : identifierKey\"\n      [displayElementKey]=\"displayKey\" [singularText]=\"config?.floatingTextSingular\" [pluralText]=\"\n        config?.floatingTextPlural\n          ? config?.floatingTextPlural\n          : 'Users selected'\n      \" (closeEvent)=\"save()\" (closeList)=\"close()\" [isDisabled]=\"selectedItems.length === 0 || itemsList.length === 0\"\n      (deleteEvent)=\"deleteItem($event)\"></app-floating-bar>\n  </div>\n</div>", 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\";::ng-deep .add-risk-rc{position:fixed;inset:0 500px 0 0;z-index:1}::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-close{background:transparent;border:none;outline:none;cursor:pointer;color:#000;font-size:12px;display:inline-block;padding:0}::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 .add-risk-rc-list{margin:1rem 0;display:block;align-items:flex-start;flex-wrap:wrap;height:calc(100vh - 16rem);overflow:hidden;overflow-y:auto}::ng-deep .add-risk-rc-body .add-risk-rc-list::-webkit-scrollbar-track{background-color:transparent}::ng-deep .add-risk-rc-body .add-risk-rc-list::-webkit-scrollbar{width:3px;height:3px;background-color:transparent;position:absolute}::ng-deep .add-risk-rc-body .add-risk-rc-list ul{padding:0;margin:0}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li{width:100%;padding:0 0 1rem;list-style:none}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio{display:flex}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox label,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio label{width:100%}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox label span.value,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio label span.value{width:auto;justify-content:flex-start;line-height:18px!important;font-size:12px!important;color:#161b2f!important}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-name{display:flex;justify-content:flex-start;width:auto;max-width:100%}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name li,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-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 8px 0 0;max-width:100%}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name li i,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-name li i{font-size:8px;padding-right:8px}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name li:first-child,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-name li:first-child{color:#1e5dd3;max-width:100%}::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-checkbox ul.add-category-name li:last-of-type,::ng-deep .add-risk-rc-body .add-risk-rc-list ul li app-cs-radio ul.add-category-name li:last-of-type{color:#34aa44}::ng-deep .add-risk-rc-body .add-risk-rc-list ul.two-column{display:flex;flex-wrap:wrap}::ng-deep .add-risk-rc-body .add-risk-rc-list ul.two-column li{width:50%;padding-right:20px}::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"] }]
        }], ctorParameters: function () { return []; }, propDecorators: { itemsList: [{
                type: Input
            }], selectedItems: [{
                type: Input
            }], identifierKey: [{
                type: Input
            }], displayKey: [{
                type: Input
            }], tooltipKey: [{
                type: Input
            }], config: [{
                type: Input
            }], twoColumn: [{
                type: Input
            }], loaded: [{
                type: Input
            }], closeList: [{
                type: Output
            }], saveList: [{
                type: Output
            }] } });
//# sourceMappingURL=data:application/json;base64, 