(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["configure-monitors-add-custom-monitor-configure-log-metric-monitor-configure-log-metric-mon-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.component.html":
/*!***********************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.component.html ***!
  \***********************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("\n<div class=\"main-box footer-monitor\">\n  <p-toolbar class=\"ui-secondary-toolbar\">\n    <div class=\"p-grid p-justify-between p-align-center pl-5 pr-5\">\n      <a routerLink=\"/monitor/custom-monitors/availCustMon/nf\">\n        <span class=\"icons8 icons8-left toolbar-icon-color\"></span>\n      </a>\n      <div class=\"p-col ui-toolbar-text\">Configure Log Metric Monitors</div>\n      <app-help [helpFileName]=\"'logMetricMonitor'\" [helpTitle]=\"'CONFIGURE LOG METRIC'\" [helpFolder]=\"'logMonitor'\" [helpClass]=\"'btn-white'\" ></app-help>\n      <div>\n        <button pButton class=\"ui-button ui-button-rounded ui-button-right\" form=\"ngForm\" (click)=\"saveMode = '1'\" label=\"Save\"\n        [disabled] = \"!isAdminPermisson\"\n        title=\"{{sessionService.noPermissionTitle ? sessionService.noPermissionTitle :'Save'}}\"></button>\n        <button pButton class=\"mx-6 ui-button ui-button-rounded ui-button-right\" form=\"ngForm\" (click)=\"saveMode = '2'\"  label=\"Save & Deploy\"\n        [disabled] = \"!isAdminPermisson\"\n        title=\"{{sessionService.noPermissionTitle ? sessionService.noPermissionTitle :'Save & Deploy'}}\"></button>\n      </div>\n    </div>\n  </p-toolbar>\n  <div class=\"tableScroll\">\n    <form class=\"monitor-ui-form\" (ngSubmit)=\"saveMonitorsConfiguration()\" id=\"ngForm\" ngNativeValidate>\n      <p-tabView class=\"tabWauto mini-tab\">\n        <p-tabPanel header=\"Configure\">\n      <div class=\"p-align-center p-grid w-100-p px-10\">\n        <div class=\"width-160 required-mark\">Metric Group Name</div>\n        <div class=\"ui-g-2\">\n          <input type=\"text\" pInputText class=\"w-100-p\" name=\"mgName\" [(ngModel)]=\"custMonInfo.gdfInfo.grpN\"\n            placeholder=\"Enter Metric Group Name\" autofocus (focusout)=\"validateMon()\" required\n            pattern=\"^[a-zA-Z0-9-_]*$\">\n        </div>\n        <div class=\"ui-g-2\">\n          <label>Metric Group Description</label>\n        </div>\n        <div class=\"ui-g-2\">\n          <input type=\"text\" class=\"w-100-p\" pInputText name=\"mgDesc\" [(ngModel)]=\"custMonInfo.gdfInfo.gD\"\n            placeholder=\"Enter Metric Group Description\">\n        </div>\n\n        <!-- <div class=\"mx-15\">\n          <button pButton type=\"button\"\n            title=\"Get list of saved queries from NF.You can then select one of the saved queries to configure Log Metric Monitor\"\n            label=\"Get Saved Query\"></button>\n        </div> -->\n\n        <!-- <div class=\"ui-g-2\">\n          <p-dropdown name=\"sqry\" [options]=\"ddList\" [(ngModel)]=\"savedQueryName\" placeholder=\"-- Select --\"\n            [style]=\"{'min-width':'100%'}\" dropdownIcon=\"icons8 icons8-expand-arrow\" ngModel\n            (onChange)=\"getSavedQuery($event.value)\"></p-dropdown>\n        </div> -->\n      </div>\n\n      <div class=\"p-align-center p-grid w-100-p px-10\">\n        <div class=\"width-160 required-mark\">Query</div>\n        <div class=\"ui-g-6\">\n          <textarea name=\"qry\" id=\"foo\" [(ngModel)]=\"query\" pInputTextarea class=\"w-100-p\" rows=\"2\" ngModel required></textarea>\n        </div>\n        <div class=\"mx-15\">\n          <button icon=\"icons8 icons8-circled-play\" pButton type=\"button\" (click)=\"openExecuteDailog()\"\n          [disabled] = \"!isAdminPermisson\"\n          title=\"{{sessionService.noPermissionTitle ? sessionService.noPermissionTitle :'Execute'}}\"\n            label=\"Execute\"></button>\n        </div>\n      </div>\n\n      <div class=\"ui-g-12\">\n        <p-fieldset class=\"healthChkMonCss healthChkLegend\" legend=\"Metric Hierarchy\" [toggleable]=\"true\"\n          [collapsed]=\"false\">\n          <div>\n            <cav-table [value]=\"tableData\" [rows]=\"10\" [headerRelativePath]=\"relativepath\">\n            </cav-table>\n          </div>\n\n        </p-fieldset>\n      </div>\n\n      <div class=\"ui-g-12\">\n        <p-fieldset class=\"healthChkMonCss healthChkLegend\" legend=\"Metric Configuration\" [toggleable]=\"true\"\n          [collapsed]=\"false\">\n\n          <div>\n            <cav-table [value]=\"gdfInfoDataTable\" [rows]=\"10\" [headerRelativePath]=\"relativePath\">\n            </cav-table>\n\n          </div>\n\n        </p-fieldset>\n      </div>\n\n      <div class=\"ui-g-12\">\n        <p-fieldset class=\"healthChkMonCss healthChkLegend\" legend=\"Advanced Settings\" [toggleable]=\"true\"\n          [collapsed]=\"true\">\n          <div class=\"p-grid p-align-center p-5\">\n            <div class=\"width-120\">Delay Time</div>\n\n            <input type=\"number\" pInputText name=\"dt\" [(ngModel)]=\"custMonInfo.adv.delay\" ngModel min=1 max=2147483647\n              class=\"width-120 mx-3\" title=\"{{custMonInfo.adv.delay}}\">\n            <label>ms</label>\n\n\n\n            <label class=\"ml-30 mr-5\">Send Nan data upto</label>\n\n\n            <input type=\"number\" pInputText name=\"dv\" [(ngModel)]=\"custMonInfo.adv.delVecCount\" class=\"width-120 mx-3\"\n              ngModel min=1 max=2147483647  title=\"{{custMonInfo.adv.delVecCount}}\">\n            <label>Min(s) after that Delete Vector</label>\n\n\n            \n\n          </div>\n\n        </p-fieldset>\n      </div>\n\n      <div class=\"ui-g-12\">\n        <p-fieldset class=\"healthChkMonCss healthChkLegend\" legend=\"NF Settings\" [toggleable]=\"true\" [collapsed]=\"true\">\n          <div class=\"p-grid p-align-center mt-10 w-100-p\">\n            <div class=\"width-125\">Host</div>\n            <div class=\"p-col-3\">\n              <input type=\"text\" pInputText name=\"host\" pattern=\"^((([0-9]{1,3}\\.){3}[0-9]{1,3})|([A-Za-z][A-Za-z0-9-_.]*$))$\" [(ngModel)]=\"nfS.host\" class=\"w-70-p\" ngModel required>\n            </div>\n            <div class=\"width-100 px-5\">Port</div>\n            <div class=\"p-col-2 p-grid p-align-center\">\n              <input type=\"number\" pInputText name=\"port\" min=1 max=65535 [(ngModel)]=\"nfS.port\" class=\"width-80\" ngModel\n                required>\n            <div class=\"width-120 px-5\">\n              <p-checkbox name=\"chk1\" [(ngModel)]=\"nFSecure\" binary=true ngModel></p-checkbox>\n              <label class=\"mx-3\">Secure</label>\n            </div>\n          </div>\n\n          <div class=\"width-125 required-mark\">Index Pattern</div>\n          <div class=\"p-col-3\">\n            <input type=\"text\" pInputText name=\"ipt\" [(ngModel)]=\"nfS.idx\" class=\"w-70-p\" ngModel>\n          </div>\n\n            <!-- <div class=\"ui-g-2\">\n              <button icon=\"icons8 icons8-circled-play\" pButton type=\"button\" title=\"Get Environment List\"\n                (click)=\"fillNFSettingInfo(nFSecure)\" label=\"Get Environment List\">\n              </button>\n            </div> -->\n          </div>\n\n          <div class=\"p-grid p-align-center w-100-p\">\n            <div class=\"width-125\">Base URL</div>\n          <div class=\"p-col-3\">\n            <input type=\"text\" pInputText name=\"mainBaseUrl\" [(ngModel)]=\"nfS.mainBaseUrl\" class=\"w-70-p\" ngModel>\n          </div>\n            <!-- <div class=\"width-120\">Environment</div>\n\n            <div class=\"ui-g-2\">\n              <p-dropdown name=\"env\" [options]=\"envList\" [(ngModel)]=\"nfS.env\" placeholder=\"-- Select --\"\n                [style]=\"{'min-width':'100%'}\" dropdownIcon=\"icons8 icons8-expand-arrow\"></p-dropdown>\n            </div>\n\n            <div class=\"width-130\">Index Pattern</div>\n            <div class=\"ui-g-2\">\n              <input type=\"text\" pInputText name=\"ipt\" [(ngModel)]=\"nfS.idx\" class=\"w-100-p\" ngModel required>\n              <p-dropdown name=\"ipt\" [options]=\"idxList\" [(ngModel)]=\"nfS.idx\" placeholder=\"-- Select --\"\n                [style]=\"{'min-width':'100%'}\" dropdownIcon=\"icons8 icons8-expand-arrow\">\n              </p-dropdown>\n            </div> -->\n           \n          </div>\n\n          <div class=\"ui-g-12\">\n            <p-fieldset class=\"healthChkMonCss healthChkLegend\" legend=\"Proxy Settings\" [toggleable]=\"true\"\n              [collapsed]=\"true\">\n              <div class=\"p-grid p-align-center p-5\">\n                <div class=\"width-120\">Proxy Host</div>\n                <div class=\"ui-g-2\">\n                  <input type=\"text\" pInputText name=\"phost\" [(ngModel)]=\"nfS.pHost\" class=\"w-100-p\" ngModel>\n                </div>\n                <div class=\"width-130\">Proxy Port</div>\n                <div class=\"ui-g-2\">\n                  <input type=\"number\" pInputText name=\"pPort\" [(ngModel)]=\"nfS.pPort\" class=\"w-100-p\" ngModel min=1\n                    max=65535>\n                </div>\n              </div>\n\n              <div class=\"p-grid p-align-center p-5\">\n                <div class=\"width-120\">Proxy Username</div>\n                <div class=\"ui-g-2\">\n                  <input type=\"text\" pInputText name=\"usr\" [(ngModel)]=\"nfS.pUser\" class=\"w-100-p\" ngModel>\n                </div>\n                <div class=\"width-130\">Proxy Password</div>\n                <div class=\"ui-g-2\">\n                  <input type=\"password\" pInputText name=\"pwd\" [(ngModel)]=\"nfS.pPwd\" class=\"w-100-p\" ngModel>\n                </div>\n              </div>\n            </p-fieldset>\n          </div>\n\n        </p-fieldset>\n      </div>\n      <!-- Frequency should not be there in Configuration Scree . Bug Id : 122866 -->\n      <!-- <div  class=\"p-grid w-100-p p-align-center mb-15\">\n        <div class=\"width-150\">\n          Frequency\n       </div>\n       <div  class=\"p-col-2\">\n           <p-dropdown name=\"frqList\" \n               [options]=\"freqList\" [(ngModel)]=\"custMonInfo.frequency\">\n           </p-dropdown>\n       </div>\n      </div> -->\n        </p-tabPanel>\n       <!--  <p-tabPanel header=\"View Deployment\" [disabled]=\"disableViewDep\">\n          <app-configured-monitor-info [hideActionCol]=\"hideActionCol\"  [showCols]=\"tableInfo\"></app-configured-monitor-info>\n        </p-tabPanel> -->\n      </p-tabView>\n     \n      <!-- <div class=\"ui-g-12\">\n        <p-accordion class = \"p-col-12\">\n          <p-accordionTab header=\"Custom Log Metric Monitor Deployment\" [selected]=\"true\">\n            <app-tier-server></app-tier-server>\n            </p-accordionTab>\n        </p-accordion>\n      </div> -->\n\n      <p-dialog class=\"secondary-dialog foterDialog\" header=\"Execute\" [(visible)]=\"showdialog\" modal=\"false\"\n        [style]=\"{width: '600px'}\" responsive=\"true\">\n        <div class=\"p-grid p-align-center w-100-p mt-10\">\n          <div class=\"p-col-3\">Query</div>\n          <div class=\"p-col-9\">\n            <textarea name=\"qry\" [(ngModel)]=\"custMonInfo.nf.query\" pInputTextarea class=\"w-100-p\" rows=\"4\"\n              ngModel></textarea>\n          </div>\n        </div>\n\n        <div class=\"p-grid p-align-center w-100-p\">\n          <div class=\"p-col-3\">Tier</div>\n          <div class=\"p-col-6\">\n            <p-dropdown name=\"tier\" [options]=\"tierList\" placeholder=\"-- Select --\" [(ngModel)]=\"custMonInfo.nf.tier\"\n              [style]=\"{'min-width':'100%'}\" appendTo=\"body\" required ngModel dropdownIcon=\"icons8 icons8-expand-arrow\">\n            </p-dropdown>\n          </div>\n          <div class=\"ui-g-3 text-right\">\n            <button class=\"ui-button-rounded\" icon=\"icons8 icons8-circled-play\" pButton type=\"button\" title=\"Execute\"\n              (click)=\"getQueryData()\" label=\"Execute\"></button>\n          </div>\n        </div>\n\n        <div class=\"p-grid p-align-center w-100-p\" *ngIf=\"showDateDialog\">\n          <div class=\"p-col-3\">Start Time</div>\n          <div class=\"p-col-4\">\n            <p-calendar [(ngModel)]=\"nfS.sT\" appendTo=\"body\" name=\"st\" [showTime]=\"true\" [showIcon]=\"true\" showTime=\"true\"\n              ></p-calendar>\n          </div>\n          </div>\n\n          <div class=\"p-grid p-align-center w-100-p\" *ngIf=\"showDateDialog\">\n          <div class=\"p-col-3\"> End Time</div>\n          <div class=\"p-col-4\">\n            <p-calendar [(ngModel)]=\"nfS.eT\" appendTo=\"body\" name=\"et\" [showTime]=\"true\" [showIcon]=\"true\" showTime=\"true\"\n              ></p-calendar>\n          </div>\n        </div>\n\n        <div class=\"p-grid p-align-center w-100-p\">\n          <div class=\"p-col-3\">Output</div>\n          <div class=\"p-col-9\">\n            <textarea name=\"Op\" [(ngModel)]=\"outPut\" pInputTextarea class=\"w-100-p\" rows=\"4\" ngModel></textarea>\n          </div>\n        </div>\n\n        <div class=\"p-grid p-align-center p-justify-end m-5\">\n          <button pButton type=\"button\" class=\"ui-button-rounded ui-button-secondary mx-6\"\n            (click)=\"closeExecuteDialog()\" label=\"Cancel\"></button>\n\n          <button pButton type=\"button\" class=\"ui-button-rounded\"\n            (click)=\"fillTableData()\" label=\"OK\"></button>\n\n        </div>\n      </p-dialog>\n\n      <p-dialog class=\"secondary-dialog\" header=\"Error\" [(visible)]=\"showErrorDialog\" modal=\"modal\"\n        [style]=\"{width: '800px'}\" responsive=\"true\">\n        <div *ngIf=\"!showDateDialog\" class=\"my-15\">\n          No data available for specified query and last 1 hour. Either modify the query or select different Start and\n          End date and re-execute.\n        </div>\n\n        <div *ngIf=\"showDateDialog\" class=\"my-15\">\n          No data available for specified query and specified time. Either modify the query or select different Start\n          and End date and re-execute.\n        </div>\n        <p-footer>\n          <button type=\"button\" pButton icon=\"icons8 icons8-checkmark\" class=\"ui-button-rounded\"\n            (click)=\"showDateTimeFields()\" label=\"OK\"></button>\n        </p-footer>\n      </p-dialog>\n    </form>\n\n  </div>\n</div>\n\n<div class=\"loading-indicator\" *ngIf=\"loading\">\n  <p-progressSpinner [style]=\"{width: '50px', height: '50px'}\" strokeWidth=\"4\" animationDuration=\".5s\">\n  </p-progressSpinner>\n</div>\n\n<p-confirmDialog class=\"confirmdialog\" header=\"Confirmation\" acceptButtonStyleClass=\"ui-button-rounded px-10\"\n    rejectButtonStyleClass=\"ui-button-rounded ui-button-secondary px-10 mx-6\" acceptIcon=\"null\" rejectIcon=\"null\"\n    maskStyleClass=\"ui-dialog-mask ui-widget-overlay ui-dialog-visible ui-dialog-mask-scrollblocker\">\n</p-confirmDialog>\n\n");

/***/ }),

/***/ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.component.css":
/*!********************************************************************************************************************************************************!*\
  !*** ./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.component.css ***!
  \********************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".divPad {\r\n    padding: 0;\r\n    width:100%;\r\n    }\r\n\r\n:host>>>.table-input2 table tr td{position: relative; height: 24px;}\r\n\r\n:host>>>.table-input2 table tr td .ui-cell-editor{\r\n    display: block;\r\n    position: absolute;\r\n    top: 1px;\r\n     right: 1px;\r\n    left: 1px;\r\n    bottom: 1px;}\r\n\r\n:host>>> .monitor-dialog .ui-dialog-resizable .ui-dialog-content{overflow: unset !important;}\r\n\r\n.tableScroll{height: calc(100vh - 80px);overflow: auto;}\r\n\r\n.loading-indicator {\r\n    position: fixed;\r\n    z-index: 9999;\r\n    top: 0;\r\n    left: 0;\r\n    bottom: 0;\r\n    right: 0;\r\n    background-color: rgba(0, 0, 0, 0.15);\r\n    display: flex;\r\n    align-items: center;\r\n    justify-content: center;\r\n    }\r\n\r\n.required-mark::after {content: \"*\"; color:red;}\r\n\r\n#foo {\r\n        resize: none;\r\n      }");

/***/ }),

/***/ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.component.ts":
/*!*******************************************************************************************************************************************************!*\
  !*** ./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.component.ts ***!
  \*******************************************************************************************************************************************************/
/*! exports provided: ConfigureLogMetricMonComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfigureLogMetricMonComponent", function() { return ConfigureLogMetricMonComponent; });
/* 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_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _containers_adv_settings_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../containers/adv-settings.data */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/containers/adv-settings.data.ts");
/* harmony import */ var primeng_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! primeng/api */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-api.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _containers_cust_mon_info__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../containers/cust-mon-info */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/containers/cust-mon-info.ts");
/* harmony import */ var _containers_nf_global_data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../containers/nf-global-data */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/containers/nf-global-data.ts");
/* harmony import */ var _containers_nf_setting_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../containers/nf-setting-data */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/containers/nf-setting-data.ts");
/* harmony import */ var _containers_api_data__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../containers/api-data */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/containers/api-data.ts");
/* harmony import */ var _services_custom_monitor_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../services/custom-monitor.service */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/services/custom-monitor.service.ts");
/* harmony import */ var _containers_configure_cmd_mon_data__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../containers/configure-cmd-mon-data */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/containers/configure-cmd-mon-data.ts");
/* harmony import */ var _service_utility_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../service/utility.service */ "./src/app/pages/monitor-up-down-status/service/utility.service.ts");
/* harmony import */ var _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../add-monitor/constants/monitor-configuration-constants */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-monitor/constants/monitor-configuration-constants.ts");
/* harmony import */ var _service_monitorupdownstatus_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../service/monitorupdownstatus.service */ "./src/app/pages/monitor-up-down-status/service/monitorupdownstatus.service.ts");
/* harmony import */ var _configured_monitor_info_configured_monitor_info_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../configured-monitor-info/configured-monitor-info.component */ "./src/app/pages/monitor-up-down-status/configure-monitors/configured-monitor-info/configured-monitor-info.component.ts");
/* harmony import */ var _add_custom_monitor_constants_configure_cmd_mon_constant__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../add-custom-monitor/constants/configure-cmd-mon-constant */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/constants/configure-cmd-mon-constant.ts");
/* harmony import */ var src_app_core_session_session_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! src/app/core/session/session.service */ "./src/app/core/session/session.service.ts");
/* harmony import */ var src_app_shared_cav_toast_service_cav_message_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/app/shared/cav-toast/service/cav-message.service */ "./src/app/shared/cav-toast/service/cav-message.service.ts");
/* harmony import */ var src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_19__ = __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");




















let ConfigureLogMetricMonComponent = class ConfigureLogMetricMonComponent {
    constructor(router, cnfrmMsg, datePipe, customMonService, monUpDown, sessionService, msgService) {
        this.router = router;
        this.cnfrmMsg = cnfrmMsg;
        this.datePipe = datePipe;
        this.customMonService = customMonService;
        this.monUpDown = monUpDown;
        this.sessionService = sessionService;
        this.msgService = msgService;
        this.query = "";
        this.custMonInfo = new _containers_cust_mon_info__WEBPACK_IMPORTED_MODULE_6__["CustMonInfo"]();
        this.nfMonData = new _containers_nf_global_data__WEBPACK_IMPORTED_MODULE_7__["NFGlobalData"]();
        this.showdialog = false;
        this.tableData = []; //hierarchyTable data
        this.gdfInfoDataTable = []; //metric configuration table
        this.nFSecure = false; //secure checkbox value in nf setting fieldset 
        this.mH = ""; // variable to store metric hierarchy to be send at save time
        this.envList = []; // environment list
        this.idxList = []; //index pattern list
        // SI: boolean; //sample interval checkbox
        this.count = 0; //to not show time dialog when data is not present
        this.showDateDialog = false;
        this.metGrpName = ''; // temporary variable to store group name
        this.showErrorDialog = false; // flag for showing error message dailog on execute query click
        this.noEdit = false;
        this.loading = false;
        this.rejectVisible = true;
        this.acceptLable = "Yes";
        this.tableInfo = [];
        this.disableViewDep = true;
        this.hideActionCol = true;
        this.saveMode = '1'; //this is added for bug 114720 distinguish save and save and deploy
        this.relativePath = 'monitors/custom-monitors/configure-log-metric-configuration.json';
        this.relativepath = 'monitors/custom-monitors/configure-log-metric-hierarchy.json';
    }
    ngOnInit() {
        this.isAdminPermisson = this.sessionService.isFeatureWrite(src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_19__["CAV_FEATURES"].MONITORS.NAME, src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_19__["CAV_FEATURES"].MONITORS.SUB_FEATURES.MONITORS);
        this.apiData = new _containers_api_data__WEBPACK_IMPORTED_MODULE_9__["APIData"]();
        this.nfMonData = this.customMonService.globalNFData;
        this.getSecureVal(this.nfMonData.protocol);
        this.nfS = new _containers_nf_setting_data__WEBPACK_IMPORTED_MODULE_8__["NFSettings"]();
        let protocol = this.customMonService.getProtocol(this.nFSecure); // getting protocol on basis of 'Use Secure' checkBox value.
        if (this.customMonService.isFromEdit) // check whether UI is from "ADD" or "EDIT"  mode
         {
            this.disableViewDep = false;
            this.custMonInfo = Object.assign({}, this.customMonService.getNfEditData);
            if (this.custMonInfo.adv == null && this.custMonInfo.adv == undefined)
                this.custMonInfo.adv = new _containers_adv_settings_data__WEBPACK_IMPORTED_MODULE_3__["AdvSettings"]();
            if (this.custMonInfo.nf == null && this.custMonInfo.nf == undefined)
                this.custMonInfo.nf = new _containers_nf_global_data__WEBPACK_IMPORTED_MODULE_7__["NFGlobalData"]();
            this.query = this.custMonInfo.nf.query;
            this.metGrpName = this.custMonInfo.gdfInfo.grpN;
            this.getMetricConfTableDataAtEdit(this.custMonInfo.gdfInfo.metricInfo); // fill metric configuration table in edit mode 
            this.getMetricHierarchyTableDataAtEdit(this.custMonInfo); // fill metric hierarchy table in edit mode 
            this.nfMonData = this.customMonService.getNfEditData.nf; //added this to fill data in NF Setting at edit mode when global settings and NF settings are different
            this.monUpDown.getConfigInfo(_add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["LOG_METRIC_TECH_NAME"], this.custMonInfo.gdfInfo.grpN).subscribe(response => {
                this.monInfoChild.getTableData(response);
            });
        }
        this.fillNFSettingInfoData(protocol);
        this.cols = [
            { field: 'hrField', header: 'Heirarchy Component Name' },
            { field: 'uiDName', header: 'Display Name' }
        ];
        this.column = [
            { field: 'metricField', header: 'Metric Name' },
            { field: 'graphNm', header: 'Metric Display Name' },
            { field: 'gD', header: 'Metric Description' }
        ];
        this.tableInfo = [
            { field: "tierInfo", header: 'Tier Information', visible: true },
        ];
        this.freqList = _service_utility_service__WEBPACK_IMPORTED_MODULE_12__["UtilityService"].createListWithKeyValue(_add_custom_monitor_constants_configure_cmd_mon_constant__WEBPACK_IMPORTED_MODULE_16__["FREQUENCY_LABEL"], _add_custom_monitor_constants_configure_cmd_mon_constant__WEBPACK_IMPORTED_MODULE_16__["FREQUENCY_VALUE"]);
    }
    getSavedQuery(query) {
        this.query = query;
    }
    //method calls when user clicks Execute button
    getQueryData() {
        this.nfMonData.reqType = "POST";
        let protocol = this.customMonService.getProtocol(this.nFSecure);
        if (this.custMonInfo.nf.query == undefined || this.custMonInfo.nf.query.trim() == "") {
            this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Query can't be blank" });
            return false;
        }
        if (this.custMonInfo.nf.tier == "") {
            this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Please select tier" });
            return false;
        }
        if (this.nfS.sT == "" || this.nfS.eT == "") {
            this.nfS.sT = "";
            this.nfS.eT = "";
        }
        if ((this.nfS.eT) < (this.nfS.sT)) {
            this.count = 0;
            this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "End date should be greater than start date" });
            return false;
        }
        this.nfS.sT = this.datePipe.transform(this.nfS.sT, "dd/MM/yyyy hh:mm");
        this.nfS.eT = this.datePipe.transform(this.nfS.eT, "dd/MM/yyyy hh:mm");
        if (this.nfS.sT == undefined || this.nfS.eT == undefined) {
            this.nfS.sT = "";
            this.nfS.eT = "";
        }
        if (this.showDateDialog && this.nfS.sT == "") {
            this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Specify start date" });
            return;
        }
        if (this.showDateDialog && this.nfS.eT == "") {
            this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Specify end date" });
            return;
        }
        this.custMonInfo.nf.sT = this.nfS.sT;
        this.custMonInfo.nf.eT = this.nfS.eT;
        //added for sending query in request body 
        this.nfMonData.query = this.custMonInfo.nf.query;
        this.nfMonData.tier = this.custMonInfo.nf.tier;
        this.nfMonData.eT = this.nfS.eT; // for bug - 112937
        this.nfMonData.sT = this.nfS.sT; // for bug - 112937
        this.nfMonData.protocol = protocol;
        this.apiData['nfGlobalDto'] = this.nfMonData;
        this.apiData['custMonInfo'] = this.custMonInfo;
        this.loading = true;
        this.customMonService.getMetricHierarchyData(this.apiData).subscribe(data => {
            if (data != null) {
                this.outPut = data['res'];
                if (data['status'] != "false") {
                    this.count = 0;
                    this.nfS.eT = "";
                    this.nfS.sT = "";
                    this.showDateDialog = false; // to hide the div after time is filled 
                    this.metricHierarchyArr = data['hr'];
                    this.metricConfigurationArr = data['ml'];
                    this.loading = false;
                }
                else {
                    this.showErrorDialog = true;
                    this.outPut = "";
                    this.nfS.eT = "";
                    this.nfS.sT = "";
                    this.loading = false;
                }
            }
        });
    }
    fillTableData() {
        if (this.outPut != '') {
            if (this.tableData.length != 0 && this.gdfInfoDataTable.length != 0) {
                this.rejectVisible = true;
                this.acceptLable = "Yes";
                this.cnfrmMsg.confirm({
                    message: "You have unsaved changes.Are you sure to change the query?",
                    header: 'Confirmation',
                    icon: 'fa fa-question-circle',
                    accept: () => {
                        this.showdialog = false;
                        //Bug id -> 130293  this.query = this.custMonInfo.nf.query;
                        this.query = this.custMonInfo.nf.query;
                        this.createHierarchyTableData(this.metricHierarchyArr);
                        this.createMetricInfoTableData(this.metricConfigurationArr);
                    },
                    reject: () => {
                    }
                });
            }
            else {
                this.showdialog = false;
                this.createHierarchyTableData(this.metricHierarchyArr);
                this.createMetricInfoTableData(this.metricConfigurationArr);
            }
        }
        else {
            // this.messageService.errorMessage("Execute query to fetch metric information")	
        }
    }
    //here data is coming as array
    createHierarchyTableData(data) {
        let arr = [];
        let str = "";
        for (let i = 0; i < data.length; i++) {
            let obj = {};
            obj['hrField'] = data[i];
            obj['uiDName'] = data[i];
            if (obj['uiDName']) {
                str = str + obj['uiDName'] + ">";
            }
            arr.push(obj);
        }
        str = str.substring(0, str.length - 1);
        this.mH = str;
        this.custMonInfo.gdfInfo.mD = str;
        this.tableData = arr;
    }
    //data is array of metric names 
    createMetricInfoTableData(data) {
        let arr = [];
        for (let i = 0; i < data.length; i++) {
            let obj = {};
            obj['graphNm'] = data[i];
            obj['gD'] = data[i];
            obj['metricField'] = data[i];
            arr.push(obj);
        }
        this.gdfInfoDataTable = arr;
    }
    //saves final data
    saveMonitorsConfiguration() {
        let pattern = /[> ]/;
        for (let i = 0; i < this.tableData.length; i++) {
            let str = this.tableData[i]['uiDName'];
            if (pattern.test(str.trim())) {
                this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Space and > are not allowed in display name" });
                return false;
            }
            if (this.tableData[i]['uiDName'].trim() == "") {
                this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Display Name can't be blank" });
                return false;
            }
        }
        for (let i = 0; i < this.gdfInfoDataTable.length; i++) {
            if (this.gdfInfoDataTable[i]['graphNm'].trim() == "") {
                this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Metric Display Name can't be blank" });
                return false;
            }
            if (this.gdfInfoDataTable[i]['gD'].trim() == "") {
                this.gdfInfoDataTable[i]['gD'] = this.gdfInfoDataTable[i]['metricField'];
                ;
            }
        }
        if (!this.validateTableData())
            return;
        this.nfMonData.tier = this.custMonInfo.nf.tier;
        this.nfMonData.sT = this.custMonInfo.nf.sT;
        this.nfMonData.eT = this.custMonInfo.nf.eT;
        //this.cmsObj.getProtocol(this.nFSecure)
        this.custMonInfo.nf = this.nfMonData; // save NF setting data 
        this.custMonInfo.nf.query = this.query;
        this.custMonInfo.gdfInfo.mD = this.mH; // save metric hierarchy in gdfInfo
        this.getHierarchyInfo(this.tableData, this.custMonInfo);
        this.getMetricInfo(this.gdfInfoDataTable, this.custMonInfo);
        this.custMonInfo.monN = this.custMonInfo.gdfInfo.grpN;
        // if (!this.SI) {
        //   this.custMonInfo.adv.interval = -1;
        // }
        this.apiData['nfGlobalDto'] = this.nfMonData;
        this.apiData['custMonInfo'] = this.custMonInfo;
        this.apiData['nf'] = this.nfS;
        if (this.customMonService.isFromEdit)
            this.apiData.objectId = this.customMonService.objectID;
        this.custMonInfo.gdfInfo.mV = _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["LOG_METRICS_NAME"];
        this.apiData.cat = _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["LOG_METRIC_TECH_NAME"];
        //this line has been added for backward compatibality with 4.13 agent and can be removed in 4.15 release
        this.custMonInfo.pN = "cm_generic_rest_monitor_extended";
        this.loading = true;
        this.customMonService.saveLogMetricConfiguration(this.apiData).subscribe(data => {
            if (data['status']) {
                this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_SUCCESS"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_SUCCESS"], detail: data['msg'] });
                this.monUpDown.customMonOpt = this.custMonInfo;
                this.apiData = new _containers_api_data__WEBPACK_IMPORTED_MODULE_9__["APIData"]();
                this.tableData = []; // clearing metric hierarchy table
                this.gdfInfoDataTable = []; // clearing metric configuration table
                this.loading = false;
                if (this.saveMode == '2') {
                    setTimeout(() => {
                        this.monUpDown.monName = this.custMonInfo.gdfInfo.grpN;
                        this.customMonService.saveDeploy(_add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["NF_TYPE"]);
                    });
                }
                else {
                    setTimeout(() => {
                        this.router.navigate(["/monitor/custom-monitors/availCustMon/nf"]);
                    });
                }
            }
            else {
                this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: data['msg'] });
                this.loading = false;
            }
        });
    }
    validateTableData() {
        if (this.nfMonData.pPort == 0 || this.nfMonData.pPort == -1) {
            this.nfMonData.pPort = null;
        }
        if (this.query == '') {
            this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Query not provided. Fill query or select it from Saved Query list to get metric information" });
            return false;
        }
        if (this.tableData.length == 0) {
            this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Metric Hierarchy is mandatory. Execute query to get metric hierarchy" });
            return false;
        }
        if (this.gdfInfoDataTable.length == 0) {
            this.msgService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_13__["SUMMARY_ERROR"], detail: "Metric Configuration is mandatory. Execute query to get metric configuration" });
            return false;
        }
        return true;
    }
    getHierarchyInfo(dataTableValues, formValues) {
        let str = '';
        let strhrField = '';
        dataTableValues.map(function (each) {
            if (each['uiDName']) {
                str = str + each['uiDName'].trim() + ">";
            }
            if (each['hrField']) {
                strhrField = strhrField + each['hrField'] + ">";
            }
        });
        str = str.substring(0, str.length - 1);
        strhrField = strhrField.substring(0, strhrField.length - 1);
        formValues.gdfInfo.mD = str.trim();
        formValues.aM = strhrField;
    }
    getMetricInfo(dataTableValues, formValues) {
        let list = [];
        dataTableValues.map(function (each) {
            let arr = new _containers_configure_cmd_mon_data__WEBPACK_IMPORTED_MODULE_11__["MetricInfoData"]();
            arr['graphNm'] = each.graphNm.trim();
            arr['gD'] = each.gD.trim();
            arr['dC'] = each.metricField.trim();
            list.push(arr);
        });
        formValues.gdfInfo.metricInfo = list;
    }
    openExecuteDailog() {
        this.count = 0;
        this.showdialog = true;
        this.custMonInfo.nf.query = this.query;
        let tierHeaderList = this.customMonService.getTierHeaderList();
        let tierNameList = [];
        tierHeaderList.map(function (each) {
            //if (each.value > -1) // for skipping tierGroups 
            //{
            tierNameList.push(each.label);
            //}
        });
        this.tierList = _service_utility_service__WEBPACK_IMPORTED_MODULE_12__["UtilityService"].createDropdown(tierNameList);
    }
    clearFieldsOfExecuteDialog() {
        this.nfMonData.query = "";
        this.nfMonData.tier = "";
        if (this.outPut != "") //clear only if it contains data
            this.outPut = "";
    }
    makeMetricHierarchy(str) {
        str = str + ">";
        return str;
    }
    getMetricHierarchyTableDataAtEdit(custMonInfo) {
        let str = custMonInfo.gdfInfo.mD;
        let strhrfield = custMonInfo.aM;
        str = str.split('>');
        strhrfield = strhrfield.split('>');
        for (let i = 0; i < str.length; i++) {
            let tableVal = {};
            tableVal['hrField'] = strhrfield[i];
            tableVal['uiDName'] = str[i];
            this.tableData.push(tableVal);
        }
    }
    getMetricConfTableDataAtEdit(custMonMetricInfo) {
        for (let i = 0; i < custMonMetricInfo.length; i++) {
            let tableVal = {};
            tableVal['metricField'] = custMonMetricInfo[i].dC; // set graph name from dc as it is used as dependent component
            tableVal['graphNm'] = custMonMetricInfo[i].graphNm;
            tableVal['gD'] = custMonMetricInfo[i].gD;
            this.gdfInfoDataTable.push(tableVal);
        }
    }
    /**
     * Method to fetch environment list and index pattern list in NF Settings fieldset.
     */
    fillNFSettingInfo(isSecure) {
        let protocol = this.customMonService.getProtocol(isSecure); // getting protocol on basis of 'Use Secure' checkBox value.
        //Getting list of env. & index pattern on basis of host and port provided.
        this.nfMonData.protocol = protocol;
        this.customMonService.getIndxList(this.nfMonData).subscribe(data => {
            if (data != null) {
                if (data['status'] == "true") {
                    // this.envList = UtilityService.createDropdown(data["env"]);
                    // this.idxList  =  UtilityService.createDropdown(data["id"]);
                }
                else {
                    //this.messageService.errorMessage(data['msg'])
                }
            }
        });
        this.nfS = this.nfMonData; // deep clone - assigning global NF data to the NF Setting class variables
        //assign proxy port to null if port is 0 or -1 
        if (this.nfMonData.pPort == 0) {
            this.nfMonData.pPort = null;
        }
        if (this.nfMonData.pPort == -1) {
            this.nfMonData.pPort = null;
        }
    }
    ngOnDestroy() {
        this.customMonService.isFromEdit = false;
    }
    //Method called when group desc is blank, so we will it with metric group name 
    validateMon() {
        if (this.custMonInfo.gdfInfo.gD == "" && this.custMonInfo.gdfInfo.grpN.length < 64) {
            this.custMonInfo.gdfInfo.gD = this.custMonInfo.gdfInfo.grpN;
        }
    }
    //Method called when cancel is clicked in execute query dailog box 
    closeExecuteDialog() {
        this.showdialog = false;
        this.showDateDialog = false; //if open close date time dailog box
    }
    showDateTimeFields() {
        this.showErrorDialog = false;
        this.showDateDialog = true;
    }
    fillNFSettingInfoData(protocol) {
        this.nfS = Object.assign({}, this.nfMonData);
        if (this.nfMonData.pPort == -1) {
            this.nfMonData.pPort = null;
        }
        this.nfS.pPort = this.nfMonData.pPort;
        if (this.nfMonData.pPort == 0) {
            this.nfMonData.pPort = null;
        }
        this.nfMonData.protocol = protocol;
        this.envList = [];
        this.idxList = [];
        this.envList.push({ label: '--Select--', value: '' }, { label: this.nfMonData.env, value: this.nfMonData.env });
        this.idxList.push({ label: '--Select--', value: '' }, { label: this.nfMonData.idx, value: this.nfMonData.idx });
    }
    //for validating NF monitor fields
    validateNFData() {
        if (this.custMonInfo.gdfInfo.grpN.length > 64) {
            //	this.messageService.errorMessage("Metric Group Name should be less than 64 characters");
            return false;
        }
        if (this.nfMonData.host.length > 64) {
            //   this.messageService.errorMessage("Host name should be less than 64 characters");
            return false;
        }
        if (this.nfMonData.pHost != null && this.nfMonData.pHost.length > 64) {
            // this.messageService.errorMessage("Proxy Host name should be less than 64 characters");
            return false;
        }
        if (this.nfMonData.pUser != null && this.nfMonData.pUser.length > 32) {
            // this.messageService.errorMessage("Proxy Username should be less than 32 characters");
            return false;
        }
        if (this.nfMonData.pUser != null && this.nfMonData.pPwd.length > 32) {
            // this.messageService.errorMessage("Proxy Password should be less than 32 characters");
            return false;
        }
        return true;
    }
    //Method to get the value of secure checkbox from protocol if protocol http then secure is false 
    getSecureVal(protocol) {
        if (protocol == "https")
            this.nFSecure = true;
        else
            this.nFSecure = false;
    }
};
ConfigureLogMetricMonComponent.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] },
    { type: primeng_api__WEBPACK_IMPORTED_MODULE_4__["ConfirmationService"] },
    { type: _angular_common__WEBPACK_IMPORTED_MODULE_5__["DatePipe"] },
    { type: _services_custom_monitor_service__WEBPACK_IMPORTED_MODULE_10__["CustomMonitorService"] },
    { type: _service_monitorupdownstatus_service__WEBPACK_IMPORTED_MODULE_14__["MonitorupdownstatusService"] },
    { type: src_app_core_session_session_service__WEBPACK_IMPORTED_MODULE_17__["SessionService"] },
    { type: src_app_shared_cav_toast_service_cav_message_service__WEBPACK_IMPORTED_MODULE_18__["CavMessageService"] }
];
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])(_configured_monitor_info_configured_monitor_info_component__WEBPACK_IMPORTED_MODULE_15__["ConfiguredMonitorInfoComponent"])
], ConfigureLogMetricMonComponent.prototype, "monInfoChild", void 0);
ConfigureLogMetricMonComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
        selector: 'app-configure-log-metric-mon',
        template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! raw-loader!./configure-log-metric-mon.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.component.html")).default,
        styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! ./configure-log-metric-mon.component.css */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.component.css")).default]
    })
], ConfigureLogMetricMonComponent);



/***/ }),

/***/ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.module.ts":
/*!****************************************************************************************************************************************************!*\
  !*** ./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.module.ts ***!
  \****************************************************************************************************************************************************/
/*! exports provided: ConfigureLogMetricMonModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfigureLogMetricMonModule", function() { return ConfigureLogMetricMonModule; });
/* 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 _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var primeng__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! primeng */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng.js");
/* harmony import */ var primeng_inputtext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! primeng/inputtext */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-inputtext.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var primeng_accordion__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! primeng/accordion */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-accordion.js");
/* harmony import */ var primeng_radiobutton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! primeng/radiobutton */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-radiobutton.js");
/* harmony import */ var src_app_pages_generic_gdf_generic_gdf_module__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/pages/generic-gdf/generic-gdf.module */ "./src/app/pages/generic-gdf/generic-gdf.module.ts");
/* harmony import */ var _configure_log_metric_mon_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./configure-log-metric-mon.component */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-log-metric-monitor/configure-log-metric-mon.component.ts");
/* harmony import */ var _configured_monitor_info_configured_monitor_info_module__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../configured-monitor-info/configured-monitor-info.module */ "./src/app/pages/monitor-up-down-status/configure-monitors/configured-monitor-info/configured-monitor-info.module.ts");
/* harmony import */ var src_app_shared_help_help_module__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! src/app/shared/help/help.module */ "./src/app/shared/help/help.module.ts");
/* harmony import */ var src_app_shared_cav_table_cav_table_module__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/shared/cav-table/cav-table.module */ "./src/app/shared/cav-table/cav-table.module.ts");














// import { CustomMonDeploymentModule } from '../../add-monitor/custom-monitors/custom-mon-deployment/custom-mon-deployment.module';
const routes = [
    {
        path: '',
        component: _configure_log_metric_mon_component__WEBPACK_IMPORTED_MODULE_10__["ConfigureLogMetricMonComponent"]
    }
];
let ConfigureLogMetricMonModule = class ConfigureLogMetricMonModule {
};
ConfigureLogMetricMonModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
        declarations: [_configure_log_metric_mon_component__WEBPACK_IMPORTED_MODULE_10__["ConfigureLogMetricMonComponent"]],
        imports: [
            src_app_pages_generic_gdf_generic_gdf_module__WEBPACK_IMPORTED_MODULE_9__["GenericGDFModule"],
            // MetricGroupInfoComponent,
            _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["ToolbarModule"],
            primeng_inputtext__WEBPACK_IMPORTED_MODULE_5__["InputTextModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_6__["FormsModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["CheckboxModule"],
            primeng_accordion__WEBPACK_IMPORTED_MODULE_7__["AccordionModule"],
            primeng_radiobutton__WEBPACK_IMPORTED_MODULE_8__["RadioButtonModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["DropdownModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["InputTextareaModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["TableModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["CardModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["InputTextareaModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["TreeModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["PanelModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["ButtonModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["ConfirmDialogModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["DialogModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["FieldsetModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["CalendarModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["ToastModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["ProgressSpinnerModule"],
            _configured_monitor_info_configured_monitor_info_module__WEBPACK_IMPORTED_MODULE_11__["ConfiguredMonitorInfoModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["TabViewModule"],
            src_app_shared_help_help_module__WEBPACK_IMPORTED_MODULE_12__["HelpModule"],
            // CustomMonDeploymentModule,
            _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"].forChild(routes),
            src_app_shared_cav_table_cav_table_module__WEBPACK_IMPORTED_MODULE_13__["CavTableModule"]
        ],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"]]
    })
], ConfigureLogMetricMonModule);



/***/ }),

/***/ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/constants/configure-cmd-mon-constant.ts":
/*!****************************************************************************************************************************!*\
  !*** ./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/constants/configure-cmd-mon-constant.ts ***!
  \****************************************************************************************************************************/
/*! exports provided: OUTPUT_TYPE_LABEL, OUTPUT_TYPE_VALUE, DB_TYPE, SKIPLINE_LABEL, SKIPLINE_VALUE, DELIMETER_LABEL, DELIMETER_VALUE, INP_TYPE_CMD, INP_TYPE_SCRIPT, SKIPLINE_TOP_LABEL, SKIPLINE_TOP_VALUE, SKIPLINE_BOTTOM_LABEL, SKIPLINE_BOTTOM_VALUE, FREQUENCY_LABEL, FREQUENCY_VALUE, ERROR_MSG_FOR_RUN_CMD_ON_TIER, ERROR_MSG_FOR_RUN_CMD_ON_SERVER, SUCCESS_MSG_ON_RUN_CMD, ERROR_MSG_ON_RUN_CMD, ERROR_MSG_FOR_EMPTY_CMD, CONFIRMATION_MSG_ON_CHANGE_IN_OUTPUT_TYPE, ERROR_MSG_FOR_SAME_INDEXES, ERROR_MSG_FOR_EMPTY_COMMAND_AT_SAVE, ERROR_MSG_FOR_EMPTY_SCRIPT_AT_SAVE, ERROR_MSG_FOR_METRIC_GRP_NAME, ERROR_MSG_FOR_NO_METRIC_CONF, ERROR_MSG_FOR_NO_METRIC_HIERARCHY, ERR_MSG_FOR_EMPTY_METADATA, ERR_MSG_FOR_EMPTY_METRIC_NAME, AUTH_LABEL, AUTH_VALUE, DRIVER_CLASS_LABEL, DRIVER_CLASS_VALUE, SSL_LABEL, SSL_VALUE, DB_AUTH_LABEL, DB_AUTH_VALUE, JMX_FILTER_LIST_LABEL, JMX_FILTER_LIST_VALUE, CMD_TYPE, CMD_MON_TYPE */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OUTPUT_TYPE_LABEL", function() { return OUTPUT_TYPE_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OUTPUT_TYPE_VALUE", function() { return OUTPUT_TYPE_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DB_TYPE", function() { return DB_TYPE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SKIPLINE_LABEL", function() { return SKIPLINE_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SKIPLINE_VALUE", function() { return SKIPLINE_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DELIMETER_LABEL", function() { return DELIMETER_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DELIMETER_VALUE", function() { return DELIMETER_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "INP_TYPE_CMD", function() { return INP_TYPE_CMD; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "INP_TYPE_SCRIPT", function() { return INP_TYPE_SCRIPT; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SKIPLINE_TOP_LABEL", function() { return SKIPLINE_TOP_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SKIPLINE_TOP_VALUE", function() { return SKIPLINE_TOP_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SKIPLINE_BOTTOM_LABEL", function() { return SKIPLINE_BOTTOM_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SKIPLINE_BOTTOM_VALUE", function() { return SKIPLINE_BOTTOM_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FREQUENCY_LABEL", function() { return FREQUENCY_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FREQUENCY_VALUE", function() { return FREQUENCY_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_FOR_RUN_CMD_ON_TIER", function() { return ERROR_MSG_FOR_RUN_CMD_ON_TIER; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_FOR_RUN_CMD_ON_SERVER", function() { return ERROR_MSG_FOR_RUN_CMD_ON_SERVER; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SUCCESS_MSG_ON_RUN_CMD", function() { return SUCCESS_MSG_ON_RUN_CMD; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_ON_RUN_CMD", function() { return ERROR_MSG_ON_RUN_CMD; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_FOR_EMPTY_CMD", function() { return ERROR_MSG_FOR_EMPTY_CMD; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONFIRMATION_MSG_ON_CHANGE_IN_OUTPUT_TYPE", function() { return CONFIRMATION_MSG_ON_CHANGE_IN_OUTPUT_TYPE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_FOR_SAME_INDEXES", function() { return ERROR_MSG_FOR_SAME_INDEXES; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_FOR_EMPTY_COMMAND_AT_SAVE", function() { return ERROR_MSG_FOR_EMPTY_COMMAND_AT_SAVE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_FOR_EMPTY_SCRIPT_AT_SAVE", function() { return ERROR_MSG_FOR_EMPTY_SCRIPT_AT_SAVE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_FOR_METRIC_GRP_NAME", function() { return ERROR_MSG_FOR_METRIC_GRP_NAME; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_FOR_NO_METRIC_CONF", function() { return ERROR_MSG_FOR_NO_METRIC_CONF; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_MSG_FOR_NO_METRIC_HIERARCHY", function() { return ERROR_MSG_FOR_NO_METRIC_HIERARCHY; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERR_MSG_FOR_EMPTY_METADATA", function() { return ERR_MSG_FOR_EMPTY_METADATA; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERR_MSG_FOR_EMPTY_METRIC_NAME", function() { return ERR_MSG_FOR_EMPTY_METRIC_NAME; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AUTH_LABEL", function() { return AUTH_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AUTH_VALUE", function() { return AUTH_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DRIVER_CLASS_LABEL", function() { return DRIVER_CLASS_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DRIVER_CLASS_VALUE", function() { return DRIVER_CLASS_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SSL_LABEL", function() { return SSL_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SSL_VALUE", function() { return SSL_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DB_AUTH_LABEL", function() { return DB_AUTH_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DB_AUTH_VALUE", function() { return DB_AUTH_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "JMX_FILTER_LIST_LABEL", function() { return JMX_FILTER_LIST_LABEL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "JMX_FILTER_LIST_VALUE", function() { return JMX_FILTER_LIST_VALUE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CMD_TYPE", function() { return CMD_TYPE; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CMD_MON_TYPE", function() { return CMD_MON_TYPE; });
const OUTPUT_TYPE_LABEL = ['String', 'Key'];
const OUTPUT_TYPE_VALUE = ['1', '2'];
const DB_TYPE = "db";
const SKIPLINE_LABEL = ['First', 'Last'];
const SKIPLINE_VALUE = ['first', 'last'];
const DELIMETER_LABEL = ['--Select--', 'Space', 'Comma', 'Tab', 'Pipe', 'Custom'];
const DELIMETER_VALUE = [' ', ' ', ',', '\t', '|', 'custom'];
const INP_TYPE_CMD = "cmd"; // input type is command
const INP_TYPE_SCRIPT = "script"; //input type is script
const SKIPLINE_TOP_LABEL = ['--Select--', 'Skip line from top', 'Skip before line containing'];
const SKIPLINE_TOP_VALUE = ['', 'top', 'topActionStr'];
const SKIPLINE_BOTTOM_LABEL = ['--Select--', 'Skip line from bottom', 'Skip after line containing'];
const SKIPLINE_BOTTOM_VALUE = ['', 'bottom', 'bottomActionStr'];
const FREQUENCY_LABEL = ['Same as progress interval', '10 Secs', '1 Min', '10 Mins', '1 Hour', '4 Hours', '1 Day'];
const FREQUENCY_VALUE = [null, '10', '60', '600', '3600', '14400', '86400'];
// Messages- error/success
const ERROR_MSG_FOR_RUN_CMD_ON_TIER = "Select tier and server for execution";
const ERROR_MSG_FOR_RUN_CMD_ON_SERVER = "Select server";
const SUCCESS_MSG_ON_RUN_CMD = "Command/Script executed successfully";
const ERROR_MSG_ON_RUN_CMD = "Command not found";
const ERROR_MSG_FOR_EMPTY_CMD = "Enter command/script to run";
const CONFIRMATION_MSG_ON_CHANGE_IN_OUTPUT_TYPE = "Metric Hierarachy and Metric Configuration will be reset to default on change in output type. Are you sure to continue?";
const ERROR_MSG_FOR_SAME_INDEXES = "You are having same indexes in metric hierarchy and metric configuration.Change index and save again";
const ERROR_MSG_FOR_EMPTY_COMMAND_AT_SAVE = "Enter command";
const ERROR_MSG_FOR_EMPTY_SCRIPT_AT_SAVE = "Enter script";
const ERROR_MSG_FOR_METRIC_GRP_NAME = "Metric Group Name should be less than 64 characters";
const ERROR_MSG_FOR_NO_METRIC_CONF = "Provide atleast one metric configuration.";
const ERROR_MSG_FOR_NO_METRIC_HIERARCHY = "Provide metric hierarchy.";
const ERR_MSG_FOR_EMPTY_METADATA = "Enter metric hierarchy component.";
const ERR_MSG_FOR_EMPTY_METRIC_NAME = "Enter metric name.";
// dropdown list for authentication 
const AUTH_LABEL = ['Password', 'Public Key'];
const AUTH_VALUE = ['1', '2'];
// constants used in DB UI
const DRIVER_CLASS_LABEL = ['--Select Driver Class--', 'MySQL', 'Oracle', 'IBM DB2 APP',
    'Microsoft SQL Server', 'Postgres', 'Others'];
const DRIVER_CLASS_VALUE = ['', 'com.mysql.jdbc.Driver', 'oracle.jdbc.driver.OracleDriver', 'com.ibm.db2.jdbc.app.DB2Driver',
    'com.microsoft.sqlserver.jdbc.SQLServerDriver', 'org.postgresql.Driver',
    'Others'];
//used for db sslliLst
const SSL_LABEL = ['--Select SSL Type--', 'Jks', 'Pem', 'Cer', 'Others'];
const SSL_VALUE = ['', 'Jks', 'Pem', 'Cer', 'Others'];
//used for db MSSQL Authentication Mode
const DB_AUTH_LABEL = ['Windows Authentication', 'SQL Authentication'];
const DB_AUTH_VALUE = ['0', '1'];
const JMX_FILTER_LIST_LABEL = ['--Select filter--', 'Equals', 'Not Equals', 'Less Than', 'Greater Than', 'Less Than Equal to', 'Greater Than Equal to'];
const JMX_FILTER_LIST_VALUE = ['', 'equals', 'notEquals', 'lessThan', 'greaterThan', 'lessThanEqualto', 'greaterThanEqualto'];
//Added constants for command UI
const CMD_TYPE = "cmd";
const CMD_MON_TYPE = 9;


/***/ }),

/***/ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/containers/nf-setting-data.ts":
/*!******************************************************************************************************************!*\
  !*** ./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/containers/nf-setting-data.ts ***!
  \******************************************************************************************************************/
/*! exports provided: NFSettings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NFSettings", function() { return NFSettings; });
/* harmony import */ var _http_params_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http-params-data */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/containers/http-params-data.ts");

class NFSettings extends _http_params_data__WEBPACK_IMPORTED_MODULE_0__["HttpParamsData"] {
    constructor() {
        super(...arguments);
        this.env = ""; //environment 
        this.idx = ""; // index pattern
        this.tier = "";
        this.query = "";
        this.sT = ""; //start time
        this.eT = ""; //end time
    }
}


/***/ })

}]);