(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["shared-test-case-from-activity-test-case-from-activity-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/shared/test-case-from-activity/test-case-from-activity.component.html":
/*!*****************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/shared/test-case-from-activity/test-case-from-activity.component.html ***!
  \*****************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"main-box ns-scenario overflow h-100vh-160 px-6\">\n    <p-panel styleClass=\"my-12\" [toggleable]=\"true\" [collapsed]=\"false\">\n        <p-header class=\"inline-flex\">\n           <i class=\"pi pi-arrow-left btn-icon mr-4 line-height16\" (click)=\"onBack()\"></i> Basic Configuration\n        </p-header>\n        <div class=\"p-grid mb-16\">\n            <div class=\"p-col-4 form-group\">\n                <label class=\"p-col-4 control-label\">Pick User Journey from </label>\n                <div class=\"p-col-8\">\n                    <div class=\"ui-inputgroup\">\n                        <input type=\"text\" class=\"w-100-p\" placeholder=\"10.10.60.86:4431\" [(ngModel)]=\"dataSourceName\" (ngModelChange)=\"onDataSourceChange()\"\n                            pInputText />\n                        <button pButton type=\"button\" label=\"Connect\" class=\"ui-btn-primary height-34\" (click)=\"fetchMetadata()\" [disabled]=\"!isChanged\"></button>\n                    </div>\n                </div>\n            </div>\n            <div class=\"p-col-4 form-group\">\n                <label class=\"p-col-4 control-label\">Start Time</label>\n                <div class=\"p-col-8\">\n                    <p-calendar class=\"calendar\" [showIcon]=\"true\" showTime=\"true\" [maxDate]=\"maxDateValue\"\n                        [(ngModel)]='startDate'></p-calendar>\n                </div>\n            </div>\n            <div class=\"p-col-4 form-group\">\n                <label class=\"p-col-4 control-label\">End Time</label>\n                <div class=\"p-col-8\">\n                    <p-calendar class=\"calendar\" [showIcon]=\"true\" showTime=\"true\" [maxDate]=\"maxDateValue\"\n                        [(ngModel)]='endDate'></p-calendar>\n                </div>\n            </div>\n        </div>\n    </p-panel>\n\n<p-panel styleClass=\"my-12\" header=\"Advanced Filter & Parameters\" [toggleable]=\"true\" [collapsed]=\"false\">\n        <div class=\"p-grid mb-16\">\n            <!-- <div class=\"p-col-4 form-group\">\n              <label class=\"p-col-6 control-label\">Maximum sessions identification </label>\n              <div class=\"p-col-6\">\n                <input type=\"number\" pInputText [(ngModel)]=\"nSessions\"\n                  class=\"w-100-p\" min=\"1\" />\n              </div>\n            </div>\n          <div class=\"p-col-4 form-group\">\n            <label class=\"p-col-6 control-label\">Minimum pages per sessions </label>\n            <div class=\"p-col-6\">\n              <input type=\"number\" pInputText [(ngModel)]=\"nPages\"\n                class=\"w-100-p\" />\n            </div>\n          </div> -->\n      <div class=\"p-col-4 form-group\">\n        <label class=\"p-col-4 control-label\">Event </label>\n        <div class=\"p-col-8\">\n          <p-multiSelect itemSize=\"30\" styleClass=\"w-100-p\" [showToggleAll]=\"false\" [(ngModel)]=\"selectEvent\"\n            defaultLabel=\"Select Event\" [options]=\"eventOpt\" [baseZIndex]=\"1001\">\n          </p-multiSelect>\n        </div>\n      </div>\n\n      <div class=\"p-col-4 form-group\">\n        <label class=\"p-col-6 control-label\">Browser </label>\n        <div class=\"p-col-6\">\n          <p-multiSelect itemSize=\"30\" styleClass=\"w-100-p\" [showToggleAll]=\"false\" [(ngModel)]=\"selectBrowser\"\n            defaultLabel=\"Select Browser\" [options]=\"browserOpt\" [baseZIndex]=\"1001\">\n          </p-multiSelect>\n        </div>\n      </div>\n      <!-- <div class=\"p-col-4 form-group\">\n        <label class=\"p-col-6 control-label\">Pages </label>\n        <div class=\"p-col-6\">\n          <p-multiSelect itemSize=\"30\" styleClass=\"w-100-p\" [showToggleAll]=\"false\" [(ngModel)]=\"selectPage\"\n            defaultLabel=\"Select Pages\" [options]=\"pageOpt\" [baseZIndex]=\"1001\">\n          </p-multiSelect>\n        </div>\n      </div> -->\n        </div>\n\n        <div class=\"p-grid mb-16\">\n          <div class=\"p-col-12 form-group\">\n            <label class=\"p-col-12 control-label opc-70 font-weight-600 text-uppercase\">Frequency Threshold</label>\n          </div>\n\n          <div class=\"p-col-4 form-group p-col-push-8\">\n            <label class=\"p-col-6 control-label\">Priority 1</label>\n            <div class=\"p-col-2\">\n              <input type=\"text\" pInputText placeholder=\"5%\" size=\"15\"\n                [(ngModel)]=\"pth1\" class=\"w-100-p\" />\n            </div>\n            <div class=\"p-col-4\">of most frequent Test Case</div>\n          </div>\n\n          <div class=\"p-col-4 form-group p-col-push-8\">\n            <label class=\"p-col-6 control-label\">Priority 2 </label>\n            <div class=\"p-col-2\">\n              <input type=\"text\" size=\"15\" pInputText placeholder=\"5%\"\n                [(ngModel)]=\"pth2\" class=\"w-100-p\" />\n            </div>\n            <div class=\"p-col-4\">of most frequent Test Case</div>\n          </div>\n\n\n          <div class=\"p-col-4 form-group p-col-push-8\">\n            <label class=\"p-col-6 control-label\">Priority 3 </label>\n            <div class=\"p-col-2\">\n              <input type=\"text\" size=\"15\" pInputText placeholder=\"5%\"\n                [(ngModel)]=\"pth3\" class=\"w-100-p\" />\n            </div>\n            <div class=\"p-col-4\">of most frequent Test Case</div>\n          </div>\n\n          <div class=\"p-col-4 form-group p-col-push-8\">\n            <label class=\"p-col-6 control-label\">Priority 4 </label>\n            <div class=\"p-col-2\">\n              <input type=\"text\" size=\"15\" pInputText placeholder=\"5%\"\n                [(ngModel)]=\"pth4\" class=\"w-100-p\" />\n            </div>\n            <div class=\"p-col-4\">of most frequent Test Case</div>\n          </div>\n        </div>\n\n      <!-- <div class=\"p-grid mb-16 top-border border-4\">\n        <div class=\"p-col-2 form-group p-offset-2\">\n          <div class=\"p-col-12 inline-flex\">\n            <span>\n              <p-inputSwitch\n                pTooltip=\"In this mode, session will split on transactions and each transaction will be considered as a separate session\"\n                [(ngModel)]=\"transactionChk\" binary=\"true\"></p-inputSwitch>\n            </span>\n            <span class=\"mx-6 line-height15\">\n              <strong>Transaction Mode</strong><br>\n            </span>\n          </div>\n        </div>\n        <div class=\"p-col-8 form-group\">\n          <div class=\"p-col-12 inline-flex\">\n            <span>\n              <p-inputSwitch [(ngModel)]=\"transChk\" binary=\"true\"></p-inputSwitch>\n            </span>\n             <span class=\"mx-6 line-height15\">\n              <strong>Transit User Activity</strong><br>\n            </span>\n          </div>\n        </div>\n      </div> -->\n    </p-panel>\n<div class=\"bottom-footer-test-case p-grid p-align-center p-justify-center\">\n  <!-- <button pButton class=\"ui-button-rounded ui-button-secondary\" type=\"button\" label=\"Cancel\"></button> -->\n    <button pButton class=\"ui-button-rounded\"\n      matTooltip=\"Before generating the test cases, please connect to the pick user journey.\" type=\"button\" (click)=\"apply()\"\n      label=\"Generate test cases\" [disabled]=\"isApplyDisabled()\"></button>\n</div>\n\n</div>\n\n<app-cav-loader *ngIf=\"loading\"></app-cav-loader>");

/***/ }),

/***/ "./src/app/shared/test-case-from-activity/test-case-from-activity.component.scss":
/*!***************************************************************************************!*\
  !*** ./src/app/shared/test-case-from-activity/test-case-from-activity.component.scss ***!
  \***************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("app-test-case-from-activity .ui-button {\n  height: 33.6px !important;\n}\napp-test-case-from-activity .bottom-footer-test-case {\n  position: fixed;\n  bottom: 0px;\n  display: flex;\n  align-items: center;\n  background-color: var(--background_color_1);\n  left: 0px;\n  right: 0px;\n  padding: 10px;\n  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);\n}");

/***/ }),

/***/ "./src/app/shared/test-case-from-activity/test-case-from-activity.component.ts":
/*!*************************************************************************************!*\
  !*** ./src/app/shared/test-case-from-activity/test-case-from-activity.component.ts ***!
  \*************************************************************************************/
/*! exports provided: TestCaseFromActivityComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestCaseFromActivityComponent", function() { return TestCaseFromActivityComponent; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _testcase_generation_testcase_generation_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../testcase-generation/testcase-generation.service */ "./src/app/shared/testcase-generation/testcase-generation.service.ts");
/* harmony import */ var _cav_toast_service_cav_message_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../cav-toast/service/cav-message.service */ "./src/app/shared/cav-toast/service/cav-message.service.ts");
/* harmony import */ var src_app_core_session_session_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/core/session/session.service */ "./src/app/core/session/session.service.ts");
/* harmony import */ var src_app_core_store_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/core/store/store */ "./src/app/core/store/store.ts");
/* harmony import */ var src_app_pages_home_home_sessions_common_service_metadata_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/pages/home/home-sessions/common/service/metadata.service */ "./src/app/pages/home/home-sessions/common/service/metadata.service.ts");
/* harmony import */ var src_app_pages_tools_admin_access_control_services_access_control_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/pages/tools/admin/access-control/services/access-control.model */ "./src/app/pages/tools/admin/access-control/services/access-control.model.ts");
/* harmony import */ var src_app_pages_tools_admin_access_control_management_services_cav_acl_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/app/pages/tools/admin/access-control-management/services/cav-acl-util */ "./src/app/pages/tools/admin/access-control-management/services/cav-acl-util.ts");












let TestCaseFromActivityComponent = class TestCaseFromActivityComponent extends src_app_core_store_store__WEBPACK_IMPORTED_MODULE_8__["Store"].AbstractService {
    constructor(router, http, testCaseService, messageService, metadataService, route, SessionService) {
        super();
        this.router = router;
        this.http = http;
        this.testCaseService = testCaseService;
        this.messageService = messageService;
        this.metadataService = metadataService;
        this.route = route;
        this.SessionService = SessionService;
        this.dataSourceName = window.location.port ? window.location.hostname + ':' + window.location.port : window.location.hostname;
        this.sourceTab = null;
        this.startDate = null;
        this.endDate = null;
        this.maxDateValue = new Date();
        this.nSessions = 10000;
        this.nPages = 3;
        this.pth1 = '95%';
        this.pth2 = '80%';
        this.pth3 = '50%';
        this.pth4 = '25%';
        this.transactionChk = false;
        this.transChk = false;
        this.selectBrowser = [];
        this.selectEvent = [];
        this.selectPage = [];
        this.browserNameToIdMap = new Map();
        this.eventNameToIdMap = new Map();
        this.pageNameToIdMap = new Map();
        this.isConnected = false;
        this.isMetadataLoaded = false;
        this.isChanged = true;
    }
    ngOnInit() {
        this.route.queryParams.subscribe(params => {
            // Storing source tab information.
            if (params['sourceTab']) {
                this.sourceTab = params['sourceTab'] || 'Functional';
            }
        });
        const today = new Date();
        this.endDate = today;
        const yesterday = new Date();
        yesterday.setDate(today.getDate() - 1);
        this.startDate = yesterday;
    }
    onDataSourceChange() {
        this.isChanged = true;
    }
    fetchMetadata() {
        let dataSourceName = `https://${this.dataSourceName}/`;
        this.isConnected = false;
        this.isMetadataLoaded = false;
        this.loading = true;
        this.metadataService.getMetadata(dataSourceName, true).subscribe(response => {
            /** -------- Browsers -------- */
            // Step 2: use Map like pageNameMap
            const browsers = Array.from(response === null || response === void 0 ? void 0 : response.browserMap.keys());
            this.browserOpt = browsers.map(key => {
                const browser = response === null || response === void 0 ? void 0 : response.browserMap.get(key);
                this.browserNameToIdMap.set(browser.name, browser.id);
                return {
                    label: browser.name,
                    value: browser.name
                };
            });
            const events = Array.from(response === null || response === void 0 ? void 0 : response.eventMap.keys());
            this.eventOpt = events.map(key => {
                const event = response === null || response === void 0 ? void 0 : response.eventMap.get(key);
                this.eventNameToIdMap.set(event.name, event.id);
                return {
                    label: event.name,
                    value: event.name
                };
            });
            const pages = Array.from(response === null || response === void 0 ? void 0 : response.pageNameMap.keys());
            this.pageOpt = pages.map(key => {
                const page = response === null || response === void 0 ? void 0 : response.pageNameMap.get(key);
                this.pageNameToIdMap.set(page.name, page.id);
                return {
                    label: page.name,
                    value: page.name
                };
            });
            this.isConnected = true;
            this.isMetadataLoaded = true;
            this.loading = false;
            this.isChanged = false;
        }, err => {
            this.isChanged = true;
            this.isConnected = false;
            this.isMetadataLoaded = false;
            this.messageService.showError('Failed to load metadata.', 'Error');
        });
    }
    formatDate(date) {
        if (!date)
            return null;
        const mm = String(date.getMonth() + 1).padStart(2, '0');
        const dd = String(date.getDate()).padStart(2, '0');
        const yyyy = date.getFullYear();
        const hh = String(date.getHours()).padStart(2, '0');
        const mi = String(date.getMinutes()).padStart(2, '0');
        const ss = String(date.getSeconds()).padStart(2, '0');
        return `${mm}/${dd}/${yyyy} ${hh}:${mi}:${ss}`;
    }
    removePercent(value) {
        if (value === null || value === undefined || value === '') {
            return null;
        }
        if (typeof value === 'string') {
            value = value.replace('%', '').trim();
        }
        const num = Number(value);
        return isNaN(num) ? null : num;
    }
    apply() {
        var _a, _b;
        this.loading = true;
        const eventIds = ((_a = this.selectEvent) === null || _a === void 0 ? void 0 : _a.length) ? this.getSelectedEventIds()
            : [];
        const browserIds = ((_b = this.selectBrowser) === null || _b === void 0 ? void 0 : _b.length) ? this.getSelectedBrowserIds()
            : [];
        let st = this.formatDate(this.startDate);
        let et = this.formatDate(this.endDate);
        let startTime = this.SessionService.convertFormattedStringIntoTimestamp(st);
        let endTime = this.SessionService.convertFormattedStringIntoTimestamp(et);
        const filterCriteria = {
            timeFilter: {
                startTime: startTime,
                endTime: endTime
            },
            st: st,
            et: et,
            pTh1: this.removePercent(this.pth1),
            pTh2: this.removePercent(this.pth2),
            pTh3: this.removePercent(this.pth3),
            pTh4: this.removePercent(this.pth4),
            nSessions: this.nSessions,
            nPages: this.nPages,
            event: eventIds.length > 0 ? eventIds : null,
            browser: browserIds.length > 0 ? browserIds : null,
            transaction: this.transactionChk,
            transit: this.transChk,
            fullRemoteAddress: this.getFullRemoteAddress(this.dataSourceName),
            remoteAddress: this.getRemoteAddress(this.dataSourceName)
        };
        const endpoint = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].api.agentic.getNVTestCases.endpoint;
        this.testCaseService.generateTestCasesForNV(endpoint, filterCriteria)
            .subscribe({
            next: (res) => {
                this.jobId = res === null || res === void 0 ? void 0 : res.user_id;
                if (!this.jobId) {
                    this.messageService.showError('Job ID missing from response', 'Error');
                    return;
                }
                this.testCaseService.setJobId(this.jobId);
                this.testCaseService.setSourceTab(this.sourceTab);
                this.testCaseService.requestFromNV = true;
                //Navigate ONLY after successful response
                if (this.testCaseService.getJobId() != null) {
                    this.loading = false;
                    this.router.navigateByUrl('/testcase-generation');
                }
            },
            error: (err) => {
                this.loading = false;
                this.messageService.showError('Failed to generate test cases.', 'Error.');
            }
        });
    }
    getRemoteAddress(dataSource) {
        if (!dataSource)
            return null;
        return dataSource.split(':')[0];
    }
    getFullRemoteAddress(dataSource) {
        if (!dataSource)
            return null;
        return `https://${dataSource}/netvision`;
    }
    onBack() {
        this.router.navigate(['/scenario/createScenario']);
    }
    getSelectedBrowserIds() {
        return this.selectBrowser
            .map(name => this.browserNameToIdMap.get(name))
            .filter((id) => id !== undefined);
    }
    getSelectedEventIds() {
        return this.selectEvent
            .map(name => this.eventNameToIdMap.get(name))
            .filter((id) => id !== undefined);
    }
    isApplyDisabled() {
        if (!this.dataSourceName || this.dataSourceName.trim().length === 0) {
            return true;
        }
        if (!this.startDate || !this.endDate) {
            return true;
        }
        // Must click Connect and load metadata
        if (!this.isConnected || !this.isMetadataLoaded) {
            return true;
        }
        return false;
    }
};
TestCaseFromActivityComponent.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"] },
    { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] },
    { type: _testcase_generation_testcase_generation_service__WEBPACK_IMPORTED_MODULE_5__["TestCaseGenerationService"] },
    { type: _cav_toast_service_cav_message_service__WEBPACK_IMPORTED_MODULE_6__["CavMessageService"] },
    { type: src_app_pages_home_home_sessions_common_service_metadata_service__WEBPACK_IMPORTED_MODULE_9__["MetadataService"] },
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["ActivatedRoute"] },
    { type: src_app_core_session_session_service__WEBPACK_IMPORTED_MODULE_7__["SessionService"] }
];
TestCaseFromActivityComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Component"])({
        selector: 'app-test-case-from-activity',
        template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! raw-loader!./test-case-from-activity.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/shared/test-case-from-activity/test-case-from-activity.component.html")).default,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_2__["ViewEncapsulation"].None,
        providers: [{ provide: src_app_pages_tools_admin_access_control_services_access_control_model__WEBPACK_IMPORTED_MODULE_10__["ACL_PROPS"], useFactory: src_app_pages_tools_admin_access_control_management_services_cav_acl_util__WEBPACK_IMPORTED_MODULE_11__["getFunctionalGeneratefromUserActivityACLProps"] }],
        styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! ./test-case-from-activity.component.scss */ "./src/app/shared/test-case-from-activity/test-case-from-activity.component.scss")).default]
    })
], TestCaseFromActivityComponent);



/***/ }),

/***/ "./src/app/shared/test-case-from-activity/test-case-from-activity.module.ts":
/*!**********************************************************************************!*\
  !*** ./src/app/shared/test-case-from-activity/test-case-from-activity.module.ts ***!
  \**********************************************************************************/
/*! exports provided: TestCaseFromActivityModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestCaseFromActivityModule", function() { return TestCaseFromActivityModule; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _test_case_from_activity_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./test-case-from-activity.component */ "./src/app/shared/test-case-from-activity/test-case-from-activity.component.ts");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var primeng__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! primeng */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng.js");
/* harmony import */ var _cav_loader_cav_loader_module__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cav-loader/cav-loader.module */ "./src/app/shared/cav-loader/cav-loader.module.ts");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var src_app_core_guards_cav_acl_feature_guard__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/core/guards/cav-acl-feature.guard */ "./src/app/core/guards/cav-acl-feature.guard.ts");
/* harmony import */ var src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/pages/tools/admin/access-control-management/constants/cav-acl-features.constants */ "./src/app/pages/tools/admin/access-control-management/constants/cav-acl-features.constants.ts");











const routes = [
    {
        path: '',
        component: _test_case_from_activity_component__WEBPACK_IMPORTED_MODULE_3__["TestCaseFromActivityComponent"],
        canActivate: [src_app_core_guards_cav_acl_feature_guard__WEBPACK_IMPORTED_MODULE_9__["CavACLFeatureGuard"]],
        data: { feature: src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_10__["CAV_FEATURES"].FUNCTIONAL.NAME, subFeature: src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_10__["CAV_FEATURES"].FUNCTIONAL.SUB_FEATURES.GENERATE_FROM_USER_ACTIVITY },
    }
];
let TestCaseFromActivityModule = class TestCaseFromActivityModule {
};
TestCaseFromActivityModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
        declarations: [
            _test_case_from_activity_component__WEBPACK_IMPORTED_MODULE_3__["TestCaseFromActivityComponent"]
        ],
        imports: [
            _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_4__["FormsModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterModule"].forChild(routes),
            // PrimeNG Imports
            primeng__WEBPACK_IMPORTED_MODULE_6__["DropdownModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["InputTextModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["PasswordModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["ButtonModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["ToastModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["PanelModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["ConfirmDialogModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["DialogModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["TooltipModule"],
            _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_8__["MatTooltipModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["SpinnerModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["CheckboxModule"],
            _cav_loader_cav_loader_module__WEBPACK_IMPORTED_MODULE_7__["CavLoaderModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["CalendarModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["MultiSelectModule"],
            primeng__WEBPACK_IMPORTED_MODULE_6__["InputSwitchModule"]
        ],
        exports: [
            _test_case_from_activity_component__WEBPACK_IMPORTED_MODULE_3__["TestCaseFromActivityComponent"]
        ]
    })
], TestCaseFromActivityModule);



/***/ })

}]);