(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["default~available-custom-monitors-available-custom-monitors-module~configure-monitors-add-custom-mon~9be57775"],{

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<p-dialog [(visible)]=\"snmpConnDialog\" header=\"MIB SELECTION\" [resizable]=\"false\" modal=\"modal\"\n  class=\"secondary-dialog foterDialog\" [style]=\"{width: '50vw'}\" (onHide)=\"dialogCloseEvent()\">\n\n  <div style=\"height:100px\">\n    <form (ngSubmit)=\"fetchMibs()\" ngNativeValidate>\n      <div class=\"p-grid p-align-center px-6 pb-20\">\n        <div class=\"p-col-1\">MIB</div>\n        <div class=\"p-col-3\">\n          <p-multiSelect id=\"mib\" [options]=\"mibList\"  appendTo=\"body\" ngDefaultControl filter=\"true\"\n            resetFilterOnHide=\"true\" [(ngModel)]=\"mibs\" name=\"mibsList\" dropdownIcon=\"icons8 icons8-expand-arrow\"\n            [style]=\"{'width':'200px'}\" [panelStyle]=\"{'width':'200px'}\" defaultLabel=\"--Select MIB--\" title=\"{{mibs}}\">\n            <ng-template let-mibList pTemplate=\"item\">\n              <span  class =\"titleMultiselect\" >\n                 <div  class=\"elipseText\" title=\"{{mibList.label}}\">{{mibList.label}}</div>\n              </span>\n          </ng-template>\n          </p-multiSelect>\n        </div>\n        <div class=\"p-col-fixed ml-60\">\n          <p-fileUpload mode=\"basic\" #files id=\"snmpUpload\" [showUploadButton]=true [multiple]=\"true\"\n            (uploadHandler)=\"uploadMibFile($event,files)\" [customUpload]=\"true\" [disabled]=\"!isAdminPermisson\"\n            title=\"{{sessionService.noPermissionTitle ? sessionService.noPermissionTitle :'Upload MIB File to server'}}\"\n            auto=\"true\" class=\"ui-button ui-button-rounded ui-button-right\" chooseLabel=\"Upload MIB\">\n          </p-fileUpload>\n        </div>\n      </div>\n      <!-- <div class=\"confirm-dialog border-1 top-border pt-6 text-right\">\n        <button type=\"submit\" pButton class=\"mx-5\" title=\"Get MIB Tree\" label=\"Fetch MIB Tree\"></button>\n        <button type=\"button\" pButton (click)=\"dialogCloseEvent()\" label=\"Cancel\" title=\"Cancel\" class=\"btn-secondary-outline\"></button>\n      </div> -->\n      <div class=\"confirm-dialog border-1 top-border pt-6 text-right\">\n        <!-- Fetch with MIB Tree -->\n        <button type=\"submit\" pButton class=\"mx-5\" \n            title=\"Fetch MIB Tree with selection\" \n            label=\"Fetch MIB Tree\">\n        </button>\n        <button type=\"button\" pButton (click)=\"dialogCloseEvent()\" label=\"Cancel\" title=\"Cancel\" class=\"btn-secondary-outline\"></button>\n      </div>\n    </form>\n  </div>\n  \n    <p-dialog header=\"Confirmation\" [(visible)]=\"displayDialog\" [modal]=\"true\" [closable]=\"false\" [style]=\"{'max-width': '595px','min-width':'300px'}\">\n        <p>{{ message }}</p>\n        <div class=\"p-mt-3 mb-12\">\n          <p-checkbox\n            [(ngModel)]=\"useTabularData\"\n            label=\"Use Tabular Data\"\n            binary=\"true\">\n          </p-checkbox>\n        </div>\n        <div class=\"text-right p-mt-3\">\n          <button type=\"button\" pButton label=\"Continue\" class=\"p-button-success mx-2\" (click)=\"confirmSelection()\"></button>\n          <button type=\"button\" pButton label=\"Cancel\" class=\"p-button-secondary\" (click)=\"closeDialogbox()\"></button>\n        </div>\n      </p-dialog>\n\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-dialog>\n\n<div>\n  <p-confirmDialog class=\"confirmdialog\" #cd key=\"snmpConfirm\" [style]=\"{width: '50vw'}\">\n    <p-footer>\n      <button type=\"button\" class=\"ui-button ui-button-rounded ui-button-right\" pButton icon=\"pi pi-check\"\n          label=Yes (click)=\"cd.accept()\"></button>\n      <button type=\"button\" class=\"ui-button ui-button-rounded ui-button-secondary\" pButton icon=\"pi pi-times\"\n          label=\"No\" (click)=\"cd.reject()\"></button>\n    </p-footer>\n  </p-confirmDialog>\n</div>");

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SnmpConnectionModule", function() { return SnmpConnectionModule; });
/* 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 src_app_shared_header_header_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/shared/header/header.module */ "./src/app/shared/header/header.module.ts");
/* harmony import */ var primeng_inputtext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! primeng/inputtext */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-inputtext.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var _snmp_connection_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./snmp-connection.component */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-custom-snmp-monitor/snmp-connection/snmp-connection.component.ts");
/* harmony import */ var primeng_checkbox__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! primeng/checkbox */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-checkbox.js");











let SnmpConnectionModule = class SnmpConnectionModule {
};
SnmpConnectionModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
        declarations: [_snmp_connection_component__WEBPACK_IMPORTED_MODULE_8__["SnmpConnectionComponent"]],
        imports: [
            _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"],
            src_app_shared_header_header_module__WEBPACK_IMPORTED_MODULE_5__["HeaderModule"],
            primeng_inputtext__WEBPACK_IMPORTED_MODULE_6__["InputTextModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_7__["FormsModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["DropdownModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["ButtonModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["DialogModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["ConfirmDialogModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["ProgressSpinnerModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["FileUploadModule"],
            primeng__WEBPACK_IMPORTED_MODULE_4__["MultiSelectModule"],
            primeng_checkbox__WEBPACK_IMPORTED_MODULE_9__["CheckboxModule"]
        ],
        providers: [],
        /*Required for opening in model window. */
        entryComponents: [],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"], _snmp_connection_component__WEBPACK_IMPORTED_MODULE_8__["SnmpConnectionComponent"]],
    })
], SnmpConnectionModule);



/***/ }),

/***/ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-custom-snmp-monitor/snmp-connection/snmp-connection.component.scss":
/*!*****************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-custom-snmp-monitor/snmp-connection/snmp-connection.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-snmp-connection #snmpUpload .ui-button .ui-button-icon-left {\n  display: none;\n}\n\n.loading-indicator {\n  position: fixed;\n  z-index: 999;\n  height: 2em;\n  width: 2em;\n  overflow: show;\n  margin: auto;\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n}\n\n.loading-indicator:before {\n  content: \"\";\n  display: block;\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-color: rgba(0, 0, 0, 0.53);\n}");

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SnmpConnectionComponent", function() { return SnmpConnectionComponent; });
/* 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 src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _cloud_monitoring_services_cloud_monitors_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../cloud-monitoring/services/cloud-monitors-service */ "./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/services/cloud-monitors-service.ts");
/* harmony import */ var src_app_core_session_session_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/core/session/session.service */ "./src/app/core/session/session.service.ts");
/* harmony import */ var primeng__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! primeng */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng.js");
/* harmony import */ var _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_7__ = __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 src_app_pages_monitor_up_down_status_service_monitorupdownstatus_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/pages/monitor-up-down-status/service/monitorupdownstatus.service */ "./src/app/pages/monitor-up-down-status/service/monitorupdownstatus.service.ts");
/* harmony import */ var _services_custom_monitor_service__WEBPACK_IMPORTED_MODULE_9__ = __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 _service_utility_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../service/utility.service */ "./src/app/pages/monitor-up-down-status/service/utility.service.ts");
/* harmony import */ var src_app_shared_cav_toast_service_cav_message_service__WEBPACK_IMPORTED_MODULE_11__ = __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_12__ = __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 SnmpConnectionComponent = class SnmpConnectionComponent {
    constructor(router, cloudMonitors, messageService, sessionService, confirmationService, monUpDownService, customMonService) {
        this.router = router;
        this.cloudMonitors = cloudMonitors;
        this.messageService = messageService;
        this.sessionService = sessionService;
        this.confirmationService = confirmationService;
        this.monUpDownService = monUpDownService;
        this.customMonService = customMonService;
        this.displayChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.mibList = []; // to hold multiselect dropdown MIB file list 
        this.mibs = []; // holding values from MIB list.
        this.loading = false;
        this.displayDialog = false; // Controls the dialog visibility
        this.selectedDataType = ''; // Holds the selected data type
        this.useTabularData = true;
        this.message = ''; // Holds the dialog message
    }
    ngOnInit() {
        this.isAdminPermisson = this.sessionService.isFeatureWrite(src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_12__["CAV_FEATURES"].MONITORS.NAME, src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_12__["CAV_FEATURES"].MONITORS.SUB_FEATURES.MONITORS);
        //When Add SNMP Monitors(s) is clicked then only need to send request for fetching MIB List.
        this.getMIBList = this.customMonService.$fetchMibList.subscribe((flag) => {
            if (flag) {
                this.fetchMibList();
            }
        });
    }
    openDialog() {
        this.displayDialog = true; // Open dialog
    }
    closeDialog() {
        this.displayDialog = false; // Close dialog
    }
    fetchMibs() {
        if (this.mibs.length == 0) {
            this.message = ' No MIB File selected. Do you want to proceed configuration without loading MIB tree';
        }
        else {
            this.customMonService.mibs = this.mibs; // this will create a new array with only the values
            this.message = 'Selected MIBS files : ' + this.customMonService.mibs;
        }
        this.displayDialog = true;
    }
    confirmSelection() {
        this.customMonService.useTabularData = this.useTabularData; // Set the boolean value
        this.customMonService.mibs = [...this.mibs]; // Clone the mibs array
        this.displayDialog = false; // Close the dialog
        this.router.navigate(['/monitor/configure-custom-snmp-monitor']); // Navigate to next step
        // this.closeDialog(); // Close the dialog
    }
    closeDialogbox() {
        this.displayDialog = false; // Close dialog
    }
    onFileChange(event) {
        if (event.target.files.length > 0) {
            this.file = event.target.files[0];
        }
    }
    dialogCloseEvent() {
        this.displayChange.emit(false);
        this.resetSelection();
    }
    ngOnDestroy() {
        this.displayChange.unsubscribe();
        if (this.getMIBList)
            this.getMIBList.unsubscribe();
    }
    /**
     *
     * @param event Method to upload MIB files on server at path "/home/cavisson/snmp/mibs/"
     * @param files
     */
    uploadMibFile(event, files) {
        this.loading = true;
        let f = new FormData();
        for (let i = 0; i < event.files.length; i++) {
            f.append(event.files[i].name, event.files[i]);
        }
        let url = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].api.monitor.uploadMibFile.endpoint;
        let dataSubscription = this.cloudMonitors.getDataFromRESTUsingPOSTReq(url, "&for=fileExplorer&destination=" + "/snmp/mibs/" + "&operation=" + 0, f).subscribe((res) => {
            this.loading = false;
            if (res['status']) {
                this.messageService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_7__["SEVERITY_SUCCESS"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_7__["SUMMARY_SUCCESS"], detail: res['msg'] });
                this.ngAfterViewInit();
                this.fetchMibList();
                files.clear();
            }
            else {
                if (res['msg'] === 'MIB file already exists.') {
                    this.confirmationService.confirm({
                        message: 'File ' + res.file + ' is already present.Do you want to overwrite?',
                        header: 'Confirmation',
                        key: "snmpConfirm",
                        icon: 'fa fa-question-circle',
                        accept: () => {
                            let url = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].api.monitor.uploadMibFile.endpoint;
                            let dataSubscription = this.cloudMonitors.getDataFromRESTUsingPOSTReq(url, "&for=fileExplorer&destination=" + "/snmp/mibs/" + "&operation=" + 1, f).subscribe((res) => {
                                this.messageService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_7__["SEVERITY_SUCCESS"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_7__["SUMMARY_SUCCESS"], detail: res['msg'] });
                                this.ngAfterViewInit();
                                this.fetchMibList();
                                files.clear();
                            }, (err) => {
                                console.log(err);
                                dataSubscription.unsubscribe();
                            }, () => {
                                dataSubscription.unsubscribe();
                            });
                        },
                        reject: () => {
                            files.clear();
                            return;
                        }
                    });
                }
                else {
                    this.messageService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_7__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_7__["SUMMARY_ERROR"], detail: res['msg'] });
                    files.clear();
                    return;
                }
            }
        }, (err) => {
            console.log(err);
            dataSubscription.unsubscribe();
        }, () => {
            dataSubscription.unsubscribe();
        });
    }
    ngAfterViewInit() {
        setTimeout(() => {
            var fileUploadElementRef = document.getElementById("snmpUpload");
            if (fileUploadElementRef)
                fileUploadElementRef.firstElementChild.firstElementChild.className = "ui-button-icon-left fa fa-upload";
        }, 0);
    }
    //Method to fetch MIB file list from server.
    fetchMibList() {
        this.loading = true;
        this.customMonService.getMibList().subscribe(res => {
            if (res['status']) {
                this.loading = false;
                // this.messageService.add({ severity: COMPONENT.SEVERITY_SUCCESS, summary: COMPONENT.SUMMARY_SUCCESS, detail: res['msg'] });
                if (res['data']) {
                    this.mibList = _service_utility_service__WEBPACK_IMPORTED_MODULE_10__["UtilityService"].createDropdown(res.data);
                }
            }
            else {
                this.loading = false;
                this.messageService.add({ severity: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_7__["SEVERITY_ERROR"], summary: _add_monitor_constants_monitor_configuration_constants__WEBPACK_IMPORTED_MODULE_7__["SUMMARY_ERROR"], detail: res['msg'] });
            }
        });
    }
    getDefaultLabel() {
        // Check if RFC1213-MIB is in the mibList array
        let rfc1213 = this.mibList.find(mib => mib.value === 'RFC1213-MIB');
        // If it is, return it as the default label
        if (rfc1213) {
            return rfc1213.label;
        }
        else {
            //otherwise show label as Select
            return this.mibs && this.mibs.length ? this.mibs.length + ' items selected' : '--Select--';
        }
    }
    //Method to reset MIB Dropdown on MIB selection dailog close.
    resetSelection() {
        this.mibs = [];
    }
};
SnmpConnectionComponent.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] },
    { type: _cloud_monitoring_services_cloud_monitors_service__WEBPACK_IMPORTED_MODULE_4__["cloudMonitorService"] },
    { type: src_app_shared_cav_toast_service_cav_message_service__WEBPACK_IMPORTED_MODULE_11__["CavMessageService"] },
    { type: src_app_core_session_session_service__WEBPACK_IMPORTED_MODULE_5__["SessionService"] },
    { type: primeng__WEBPACK_IMPORTED_MODULE_6__["ConfirmationService"] },
    { type: src_app_pages_monitor_up_down_status_service_monitorupdownstatus_service__WEBPACK_IMPORTED_MODULE_8__["MonitorupdownstatusService"] },
    { type: _services_custom_monitor_service__WEBPACK_IMPORTED_MODULE_9__["CustomMonitorService"] }
];
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])()
], SnmpConnectionComponent.prototype, "snmpConnDialog", void 0);
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"])()
], SnmpConnectionComponent.prototype, "displayChange", void 0);
SnmpConnectionComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
        selector: 'app-snmp-connection',
        template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! raw-loader!./snmp-connection.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-custom-snmp-monitor/snmp-connection/snmp-connection.component.html")).default,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
        styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! ./snmp-connection.component.scss */ "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/configure-custom-snmp-monitor/snmp-connection/snmp-connection.component.scss")).default]
    })
], SnmpConnectionComponent);



/***/ })

}]);