2017-05-31 17:55:18 +02:00
|
|
|
webpackJsonp([1,4],{
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ 120:
|
|
|
|
/***/ (function(module, exports) {
|
2017-09-22 16:05:34 +02:00
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
function webpackEmptyContext(req) {
|
|
|
|
throw new Error("Cannot find module '" + req + "'.");
|
2017-09-22 16:05:34 +02:00
|
|
|
}
|
2017-10-04 11:40:06 +02:00
|
|
|
webpackEmptyContext.keys = function() { return []; };
|
|
|
|
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
|
|
module.exports = webpackEmptyContext;
|
|
|
|
webpackEmptyContext.id = 120;
|
2017-09-22 16:05:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ 121:
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__ = __webpack_require__(127);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__app_app_module__ = __webpack_require__(132);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__environments_environment__ = __webpack_require__(134);
|
|
|
|
|
|
|
|
|
2017-09-22 16:05:34 +02:00
|
|
|
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
if (__WEBPACK_IMPORTED_MODULE_3__environments_environment__["a" /* environment */].production) {
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["a" /* enableProdMode */])();
|
|
|
|
}
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_2__app_app_module__["a" /* AppModule */]);
|
|
|
|
//# sourceMappingURL=main.js.map
|
2017-09-22 16:05:34 +02:00
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ 130:
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2017-09-22 16:05:34 +02:00
|
|
|
|
|
|
|
"use strict";
|
2017-10-04 11:40:06 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_app_services_info_service__ = __webpack_require__(43);
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppComponent; });
|
|
|
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
|
|
};
|
|
|
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
|
|
};
|
2017-09-22 16:05:34 +02:00
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
|
|
|
|
var AppComponent = (function () {
|
|
|
|
function AppComponent(infoService) {
|
|
|
|
this.infoService = infoService;
|
2017-09-22 16:05:34 +02:00
|
|
|
}
|
2017-10-04 11:40:06 +02:00
|
|
|
AppComponent.prototype.ngOnInit = function () {
|
|
|
|
var _this = this;
|
|
|
|
var protocol = location.protocol.includes('https') ? 'wss://' : 'ws://';
|
|
|
|
var port = (location.port) ? (':' + location.port) : '';
|
|
|
|
this.websocket = new WebSocket(protocol + location.hostname + port + '/info');
|
|
|
|
this.websocket.onopen = function (event) {
|
|
|
|
console.log('Info websocket connected');
|
|
|
|
};
|
|
|
|
this.websocket.onclose = function (event) {
|
|
|
|
console.log('Info websocket closed');
|
|
|
|
};
|
|
|
|
this.websocket.onerror = function (event) {
|
|
|
|
console.log('Info websocket error');
|
|
|
|
};
|
|
|
|
this.websocket.onmessage = function (event) {
|
|
|
|
console.log('Info websocket message');
|
|
|
|
console.log(event.data);
|
|
|
|
_this.infoService.updateInfo(event.data);
|
|
|
|
};
|
2017-09-22 16:05:34 +02:00
|
|
|
};
|
2017-10-04 11:40:06 +02:00
|
|
|
AppComponent.prototype.ngOnDestroy = function () {
|
|
|
|
this.websocket.close();
|
2017-09-22 16:05:34 +02:00
|
|
|
};
|
2017-10-04 11:40:06 +02:00
|
|
|
AppComponent.prototype.beforeUnloadHander = function (event) {
|
|
|
|
console.warn('Closing info websocket');
|
|
|
|
this.websocket.close();
|
2017-08-23 21:30:12 +02:00
|
|
|
};
|
2017-10-04 11:40:06 +02:00
|
|
|
return AppComponent;
|
2017-08-23 21:30:12 +02:00
|
|
|
}());
|
2017-10-04 11:40:06 +02:00
|
|
|
__decorate([
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_13" /* HostListener */])('window:beforeunload', ['$event']),
|
|
|
|
__metadata("design:type", Function),
|
|
|
|
__metadata("design:paramtypes", [Object]),
|
|
|
|
__metadata("design:returntype", void 0)
|
|
|
|
], AppComponent.prototype, "beforeUnloadHander", null);
|
|
|
|
AppComponent = __decorate([
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_5" /* Component */])({
|
|
|
|
selector: 'app-root',
|
|
|
|
template: __webpack_require__(213),
|
|
|
|
styles: [__webpack_require__(189)]
|
|
|
|
}),
|
|
|
|
__metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_app_services_info_service__["a" /* InfoService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_app_services_info_service__["a" /* InfoService */]) === "function" && _a || Object])
|
|
|
|
], AppComponent);
|
2017-08-23 21:30:12 +02:00
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
var _a;
|
|
|
|
//# sourceMappingURL=app.component.js.map
|
2017-08-23 21:30:12 +02:00
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ 131:
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2017-07-28 17:00:56 +02:00
|
|
|
|
|
|
|
"use strict";
|
2017-10-04 11:40:06 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_animations__ = __webpack_require__(128);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_material__ = __webpack_require__(76);
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppMaterialModule; });
|
|
|
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
|
|
};
|
2017-05-31 17:55:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var AppMaterialModule = (function () {
|
|
|
|
function AppMaterialModule() {
|
|
|
|
}
|
|
|
|
return AppMaterialModule;
|
|
|
|
}());
|
|
|
|
AppMaterialModule = __decorate([
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["b" /* NgModule */])({
|
2017-08-22 13:27:44 +02:00
|
|
|
imports: [
|
|
|
|
__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_animations__["a" /* BrowserAnimationsModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["a" /* MdButtonModule */],
|
2017-08-29 17:31:34 +02:00
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["b" /* MdIconModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["c" /* MdCheckboxModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["d" /* MdCardModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["e" /* MdInputModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["f" /* MdProgressSpinnerModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["g" /* MdTooltipModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["h" /* MdDialogModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["i" /* MdSlideToggleModule */]
|
2017-08-22 13:27:44 +02:00
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_animations__["a" /* BrowserAnimationsModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["a" /* MdButtonModule */],
|
2017-08-29 17:31:34 +02:00
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["b" /* MdIconModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["c" /* MdCheckboxModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["d" /* MdCardModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["e" /* MdInputModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["f" /* MdProgressSpinnerModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["g" /* MdTooltipModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["h" /* MdDialogModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_2__angular_material__["i" /* MdSlideToggleModule */]
|
2017-08-22 13:27:44 +02:00
|
|
|
],
|
2017-05-31 17:55:18 +02:00
|
|
|
})
|
|
|
|
], AppMaterialModule);
|
|
|
|
|
|
|
|
//# sourceMappingURL=app.material.module.js.map
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ 132:
|
2017-05-31 17:55:18 +02:00
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
2017-10-02 10:48:47 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(13);
|
2017-10-04 11:40:06 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_flex_layout__ = __webpack_require__(126);
|
2017-10-02 10:48:47 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_core__ = __webpack_require__(2);
|
2017-10-04 11:40:06 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(74);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_http__ = __webpack_require__(75);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_hammerjs__ = __webpack_require__(193);
|
2017-08-29 17:31:34 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_hammerjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_hammerjs__);
|
2017-10-04 11:40:06 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__app_routing__ = __webpack_require__(133);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_app_app_material_module__ = __webpack_require__(131);
|
2017-10-02 10:48:47 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__services_info_service__ = __webpack_require__(43);
|
2017-10-04 11:40:06 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__app_component__ = __webpack_require__(130);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__components_dashboard_dashboard_component__ = __webpack_require__(78);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__components_session_details_session_details_component__ = __webpack_require__(79);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__components_dashboard_credentials_dialog_component__ = __webpack_require__(77);
|
2017-05-31 17:55:18 +02:00
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
|
|
|
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-07-28 17:00:56 +02:00
|
|
|
|
2017-08-23 21:30:12 +02:00
|
|
|
|
|
|
|
|
2017-05-31 17:55:18 +02:00
|
|
|
var AppModule = (function () {
|
|
|
|
function AppModule() {
|
|
|
|
}
|
|
|
|
return AppModule;
|
|
|
|
}());
|
|
|
|
AppModule = __decorate([
|
2017-07-28 17:00:56 +02:00
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__angular_core__["b" /* NgModule */])({
|
2017-05-31 17:55:18 +02:00
|
|
|
declarations: [
|
2017-08-23 21:30:12 +02:00
|
|
|
__WEBPACK_IMPORTED_MODULE_9__app_component__["a" /* AppComponent */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_10__components_dashboard_dashboard_component__["a" /* DashboardComponent */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_11__components_session_details_session_details_component__["a" /* SessionDetailsComponent */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_12__components_dashboard_credentials_dialog_component__["a" /* CredentialsDialogComponent */],
|
2017-05-31 17:55:18 +02:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */],
|
2017-07-28 17:00:56 +02:00
|
|
|
__WEBPACK_IMPORTED_MODULE_3__angular_forms__["a" /* FormsModule */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_4__angular_http__["a" /* HttpModule */],
|
2017-08-29 17:31:34 +02:00
|
|
|
__WEBPACK_IMPORTED_MODULE_6__app_routing__["a" /* routing */],
|
|
|
|
__WEBPACK_IMPORTED_MODULE_7_app_app_material_module__["a" /* AppMaterialModule */],
|
2017-07-28 17:00:56 +02:00
|
|
|
__WEBPACK_IMPORTED_MODULE_1__angular_flex_layout__["a" /* FlexLayoutModule */]
|
2017-05-31 17:55:18 +02:00
|
|
|
],
|
2017-08-23 21:30:12 +02:00
|
|
|
entryComponents: [
|
|
|
|
__WEBPACK_IMPORTED_MODULE_12__components_dashboard_credentials_dialog_component__["a" /* CredentialsDialogComponent */],
|
|
|
|
],
|
2017-08-29 17:31:34 +02:00
|
|
|
providers: [__WEBPACK_IMPORTED_MODULE_8__services_info_service__["a" /* InfoService */]],
|
2017-08-23 21:30:12 +02:00
|
|
|
bootstrap: [__WEBPACK_IMPORTED_MODULE_9__app_component__["a" /* AppComponent */]]
|
2017-05-31 17:55:18 +02:00
|
|
|
})
|
|
|
|
], AppModule);
|
|
|
|
|
|
|
|
//# sourceMappingURL=app.module.js.map
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 133:
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_router__ = __webpack_require__(129);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_app_components_dashboard_dashboard_component__ = __webpack_require__(78);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_app_components_session_details_session_details_component__ = __webpack_require__(79);
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return routing; });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var appRoutes = [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
component: __WEBPACK_IMPORTED_MODULE_1_app_components_dashboard_dashboard_component__["a" /* DashboardComponent */]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'session/:id',
|
|
|
|
component: __WEBPACK_IMPORTED_MODULE_2_app_components_session_details_session_details_component__["a" /* SessionDetailsComponent */]
|
|
|
|
}
|
|
|
|
];
|
|
|
|
var routing = __WEBPACK_IMPORTED_MODULE_0__angular_router__["a" /* RouterModule */].forRoot(appRoutes);
|
|
|
|
//# sourceMappingURL=app.routing.js.map
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 134:
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return environment; });
|
|
|
|
// The file contents for the current environment will overwrite these during build.
|
|
|
|
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
|
|
|
|
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
|
|
|
|
// The list of which env maps to which file can be found in `.angular-cli.json`.
|
|
|
|
// The file contents for the current environment will overwrite these during build.
|
|
|
|
var environment = {
|
|
|
|
production: false
|
|
|
|
};
|
|
|
|
//# sourceMappingURL=environment.js.map
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 189:
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
exports = module.exports = __webpack_require__(21)(false);
|
|
|
|
// imports
|
|
|
|
|
|
|
|
|
|
|
|
// module
|
|
|
|
exports.push([module.i, "", ""]);
|
|
|
|
|
|
|
|
// exports
|
|
|
|
|
|
|
|
|
|
|
|
/*** EXPORTS FROM exports-loader ***/
|
|
|
|
module.exports = module.exports.toString();
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 190:
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
exports = module.exports = __webpack_require__(21)(false);
|
|
|
|
// imports
|
2017-09-22 16:05:34 +02:00
|
|
|
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
// module
|
|
|
|
exports.push([module.i, "#dashboard-div {\n padding: 20px;\n}\n\n#log {\n height: 90%;\n}\n\n#log-content {\n height: 90%;\n font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;\n overflow-y: auto;\n overflow-x: hidden\n}\n\nul {\n margin: 0;\n}\n\nbutton.mat-raised-button {\n text-transform: uppercase;\n float: right;\n}\n\nmd-card-title button.blue {\n color: #ffffff;\n background-color: #0088aa;\n}\n\nmd-card-title button.yellow {\n color: rgba(0, 0, 0, 0.87);\n background-color: #ffcc00;\n}\n\nmd-spinner {\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n\n#tick-div {\n width: 100px;\n height: 100px;\n z-index: 1;\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n\n#tooltip-tick {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 2;\n}\n\n.circ {\n opacity: 0;\n stroke-dasharray: 130;\n stroke-dashoffset: 130;\n transition: all 1s;\n}\n\n.tick {\n stroke-dasharray: 50;\n stroke-dashoffset: 50;\n transition: stroke-dashoffset 1s 0.5s ease-out;\n}\n\n.drawn+svg .path {\n opacity: 1;\n stroke-dashoffset: 0;\n}\n\n#mirrored-video {\n position: relative;\n}\n\n\n/* Pure CSS loader */\n\n#loader {\n width: 100px;\n height: 100px;\n z-index: 1;\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n\n#loader * {\n box-sizing: border-box;\n}\n\n#loader ::after {\n box-sizing: border-box;\n}\n\n#loader ::before {\n box-sizing: border-box;\n}\n\n.loader-1 {\n height: 100px;\n width: 100px;\n -webkit-animation: loader-1-1 4.8s linear infinite;\n animation: loader-1-1 4.8s linear infinite;\n}\n\n@-webkit-keyframes loader-1-1 {\n 0% {\n -webkit-transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n }\n}\n\n@keyframes loader-1-1 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n.loader-1 span {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n margin: auto;\n height: 100px;\n width: 100px;\n clip: rect(0, 100px, 100px, 50px);\n -webkit-animation: loader-1-2 1.2s linear infinite;\n animation: loader-1-2 1.2s linear infinite;\n}\n\n@-webkit-keyframes loader-1-2 {\n 0% {\n -webkit-transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(220deg);\n }\n}\n\n@keyframes loader-1-2 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(220deg);\n transform: rotate(220deg);\n }\n}\n\n.loader-1 span::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n margin: auto;\n height: 100px;\n width: 100px;\n clip: rect(0, 100px, 100px, 50px);\n border: 8px solid #4d4d4d;\n border-radius: 50%;\n -webkit-animation: loader-1-3 1.2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;\n animation: loader-1-3 1.2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;\n}\n\n@-webkit-keyframes loader-1-3 {\n 0% {\n -webkit-transform: rotate(-140deg);\n }\n 50% {\n -webkit-transform: rotate(-160deg);\n }\n 100% {\n -webkit-transform: rotate(140deg);\n }\n}\n\n@keyframes loader-1-3 {\n 0% {\n -webkit-transform: rotate(-140deg);\n transform: rotate(-140deg);\n }\n 50% {\n -webkit-transform: rotate(-160deg);\n transform: rotate(-160deg);\n }\n 100% {\n -webkit-transform: rotate(140deg);\n transform: rotate(140deg);\n }\n}", ""]);
|
|
|
|
|
|
|
|
// exports
|
|
|
|
|
|
|
|
|
|
|
|
/*** EXPORTS FROM exports-loader ***/
|
|
|
|
module.exports = module.exports.toString();
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 191:
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
exports = module.exports = __webpack_require__(21)(false);
|
|
|
|
// imports
|
|
|
|
|
|
|
|
|
|
|
|
// module
|
|
|
|
exports.push([module.i, "", ""]);
|
|
|
|
|
|
|
|
// exports
|
|
|
|
|
|
|
|
|
|
|
|
/*** EXPORTS FROM exports-loader ***/
|
|
|
|
module.exports = module.exports.toString();
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 213:
|
|
|
|
/***/ (function(module, exports) {
|
|
|
|
|
|
|
|
module.exports = "<main>\n <router-outlet></router-outlet>\n</main>"
|
|
|
|
|
2017-09-22 16:05:34 +02:00
|
|
|
/***/ }),
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ 214:
|
|
|
|
/***/ (function(module, exports) {
|
|
|
|
|
|
|
|
module.exports = "<div id=\"dashboard-div\" fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"20px\" fxFlexFill>\n\n <div fxLayout=\"column\" fxFlex=\"66%\" fxFlexOrder=\"1\" fxFlexOrder.xs=\"2\">\n <md-card id=\"log\">\n <md-card-title>Server events\n <md-slide-toggle title=\"Lock Scroll\" [(ngModel)]=\"lockScroll\" style=\"float: right; margin-left: auto;\">\n <md-icon>lock_outline</md-icon>\n </md-slide-toggle>\n </md-card-title>\n <md-divider></md-divider>\n <md-card-content #scrollMe id=\"log-content\">\n <ul>\n <li *ngFor=\"let i of info\">\n <p>{{i}}</p>\n </li>\n </ul>\n </md-card-content>\n </md-card>\n </div>\n\n <div fxLayout=\"column\" fxFlex=\"33%\" fxFlexOrder=\"2\" fxFlexOrder.xs=\"1\">\n <md-card id=\"video-loop\">\n <md-card-title>Test the connection\n <button [class]=\"testStatus == 'DISCONNECTED' ? 'blue' : (testStatus == 'PLAYING' ? 'yellow' : 'disabled')\" md-raised-button\n (click)=\"toggleTestVideo()\" [disabled]=\"testStatus==='CONNECTING' || testStatus==='CONNECTED'\">{{testButton}}</button></md-card-title>\n <md-card-content>\n <div id=\"mirrored-video\">\n <div *ngIf=\"showSpinner\" id=\"loader\">\n <div class=\"loader-1 center\"><span></span></div>\n </div>\n <!--<md-spinner *ngIf=\"showSpinner\" [color]=\"color\"></md-spinner>-->\n <div *ngIf=\"session\" id=\"tick-div\">\n <div id=\"tooltip-tick\" *ngIf=\"testStatus=='PLAYING'\" mdTooltip=\"The connection is successful\" mdTooltipPosition=\"below\"></div>\n <div [class]=\"testStatus=='PLAYING' ? 'trigger drawn' : 'trigger'\"></div>\n <svg version=\"1.1\" id=\"tick\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n viewBox=\"-1 -1 39 39\" style=\"enable-background:new 0 0 37 37;\" xml:space=\"preserve\">\n <path class=\"circ path\" style=\"fill:none;stroke:#06d362;stroke-width:4;stroke-linejoin:round;stroke-miterlimit:10;\" d=\"\n\tM30.5,6.5L30.5,6.5c6.6,6.6,6.6,17.4,0,24l0,0c-6.6,6.6-17.4,6.6-24,0l0,0c-6.6-6.6-6.6-17.4,0-24l0,0C13.1-0.2,23.9-0.2,30.5,6.5z\"\n />\n <polyline class=\"tick path\" style=\"fill:none;stroke:#06d362;stroke-width:4;stroke-linejoin:round;stroke-miterlimit:10;\" points=\"\n\t11.6,20 15.9,24.2 26.4,13.8 \" />\n </svg>\n </div>\n </div>\n <div id=\"msg-chain\"><p *ngFor=\"let msg of msgChain\">{{msg}}</p></div>\n </md-card-content>\n </md-card>\n </div>\n\n</div>\n"
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 215:
|
|
|
|
/***/ (function(module, exports) {
|
|
|
|
|
|
|
|
module.exports = "<p>\n session-details works!\n</p>\n"
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 293:
|
2017-09-22 16:05:34 +02:00
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
module.exports = __webpack_require__(121);
|
2017-09-22 16:05:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2017-10-02 10:48:47 +02:00
|
|
|
/***/ 43:
|
2017-09-22 16:05:34 +02:00
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
2017-10-02 10:48:47 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2);
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__ = __webpack_require__(20);
|
2017-09-22 16:05:34 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__);
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InfoService; });
|
|
|
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
|
|
};
|
|
|
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var InfoService = (function () {
|
|
|
|
function InfoService() {
|
|
|
|
this.newInfo$ = new __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__["Subject"]();
|
2017-08-22 13:27:44 +02:00
|
|
|
}
|
2017-09-22 16:05:34 +02:00
|
|
|
InfoService.prototype.getInfo = function () {
|
|
|
|
return this.info;
|
2017-08-29 17:31:34 +02:00
|
|
|
};
|
2017-09-22 16:05:34 +02:00
|
|
|
InfoService.prototype.updateInfo = function (info) {
|
|
|
|
this.info = info;
|
|
|
|
this.newInfo$.next(info);
|
|
|
|
};
|
|
|
|
return InfoService;
|
|
|
|
}());
|
|
|
|
InfoService = __decorate([
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["c" /* Injectable */])(),
|
|
|
|
__metadata("design:paramtypes", [])
|
|
|
|
], InfoService);
|
|
|
|
|
|
|
|
//# sourceMappingURL=info.service.js.map
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ 77:
|
2017-10-02 10:48:47 +02:00
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2);
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CredentialsDialogComponent; });
|
|
|
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
|
|
};
|
|
|
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
|
|
};
|
|
|
|
|
|
|
|
var CredentialsDialogComponent = (function () {
|
|
|
|
function CredentialsDialogComponent() {
|
|
|
|
}
|
|
|
|
CredentialsDialogComponent.prototype.testVideo = function () {
|
|
|
|
this.myReference.close(this.secret);
|
|
|
|
};
|
|
|
|
return CredentialsDialogComponent;
|
|
|
|
}());
|
|
|
|
CredentialsDialogComponent = __decorate([
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_5" /* Component */])({
|
|
|
|
selector: 'app-credentials-dialog',
|
|
|
|
template: "\n <div>\n <h1 md-dialog-title>\n Insert your secret\n </h1>\n <form #dialogForm (ngSubmit)=\"testVideo()\">\n <md-dialog-content>\n <md-input-container>\n <input mdInput name=\"secret\" type=\"password\" [(ngModel)]=\"secret\">\n </md-input-container>\n </md-dialog-content>\n <md-dialog-actions>\n <button md-button md-dialog-close>CANCEL</button>\n <button md-button id=\"join-btn\" type=\"submit\">TEST</button>\n </md-dialog-actions>\n </form>\n </div>\n ",
|
|
|
|
styles: ["\n #quality-div {\n margin-top: 20px;\n }\n #join-div {\n margin-top: 25px;\n margin-bottom: 20px;\n }\n #quality-tag {\n display: block;\n }\n h5 {\n margin-bottom: 10px;\n text-align: left;\n }\n #joinWithVideo {\n margin-right: 50px;\n }\n md-dialog-actions {\n display: block;\n }\n #join-btn {\n float: right;\n }\n "],
|
|
|
|
}),
|
|
|
|
__metadata("design:paramtypes", [])
|
|
|
|
], CredentialsDialogComponent);
|
|
|
|
|
|
|
|
//# sourceMappingURL=credentials-dialog.component.js.map
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ 78:
|
2017-10-02 10:48:47 +02:00
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2);
|
2017-10-04 11:40:06 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_material__ = __webpack_require__(76);
|
2017-10-02 10:48:47 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_info_service__ = __webpack_require__(43);
|
2017-10-04 11:40:06 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_openvidu_browser__ = __webpack_require__(209);
|
2017-10-02 10:48:47 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_openvidu_browser___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_openvidu_browser__);
|
2017-10-04 11:40:06 +02:00
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__credentials_dialog_component__ = __webpack_require__(77);
|
2017-10-02 10:48:47 +02:00
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardComponent; });
|
|
|
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
|
|
};
|
|
|
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var DashboardComponent = (function () {
|
|
|
|
function DashboardComponent(infoService, dialog) {
|
|
|
|
var _this = this;
|
|
|
|
this.infoService = infoService;
|
|
|
|
this.dialog = dialog;
|
|
|
|
this.lockScroll = false;
|
|
|
|
this.info = [];
|
|
|
|
this.testStatus = 'DISCONNECTED';
|
|
|
|
this.testButton = 'Test';
|
|
|
|
this.tickClass = 'trigger';
|
|
|
|
this.showSpinner = false;
|
|
|
|
this.msgChain = [];
|
|
|
|
// Subscription to info updated event raised by InfoService
|
|
|
|
this.infoSubscription = this.infoService.newInfo$.subscribe(function (info) {
|
|
|
|
_this.info.push(info);
|
|
|
|
_this.scrollToBottom();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
DashboardComponent.prototype.ngOnInit = function () {
|
|
|
|
};
|
|
|
|
DashboardComponent.prototype.beforeunloadHandler = function () {
|
|
|
|
// On window closed leave test session
|
|
|
|
if (this.session) {
|
|
|
|
this.endTestVideo();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
DashboardComponent.prototype.ngOnDestroy = function () {
|
|
|
|
// On component destroyed leave test session
|
|
|
|
if (this.session) {
|
|
|
|
this.endTestVideo();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
DashboardComponent.prototype.toggleTestVideo = function () {
|
|
|
|
if (!this.session) {
|
|
|
|
this.testVideo();
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
this.endTestVideo();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
DashboardComponent.prototype.testVideo = function () {
|
|
|
|
var _this = this;
|
|
|
|
var dialogRef;
|
|
|
|
dialogRef = this.dialog.open(__WEBPACK_IMPORTED_MODULE_4__credentials_dialog_component__["a" /* CredentialsDialogComponent */]);
|
|
|
|
dialogRef.componentInstance.myReference = dialogRef;
|
|
|
|
dialogRef.afterClosed().subscribe(function (secret) {
|
|
|
|
if (secret) {
|
|
|
|
_this.connectToSession('wss://' + location.hostname + ':8443/testSession?secret=' + secret);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
};
|
|
|
|
DashboardComponent.prototype.connectToSession = function (mySessionId) {
|
|
|
|
var _this = this;
|
|
|
|
this.msgChain = [];
|
|
|
|
var OV = new __WEBPACK_IMPORTED_MODULE_3_openvidu_browser__["OpenVidu"]();
|
|
|
|
this.session = OV.initSession(mySessionId);
|
|
|
|
this.testStatus = 'CONNECTING';
|
|
|
|
this.testButton = 'Testing...';
|
|
|
|
this.session.connect('token', function (error) {
|
|
|
|
if (!error) {
|
|
|
|
_this.testStatus = 'CONNECTED';
|
|
|
|
var publisherRemote = OV.initPublisher('mirrored-video', {
|
|
|
|
audio: true,
|
|
|
|
video: true,
|
|
|
|
audioActive: true,
|
|
|
|
videoActive: true,
|
|
|
|
quality: 'MEDIUM'
|
|
|
|
});
|
|
|
|
publisherRemote.on('accessAllowed', function () {
|
|
|
|
_this.msgChain.push('Camera access allowed');
|
|
|
|
});
|
|
|
|
publisherRemote.on('accessDenied', function () {
|
|
|
|
_this.endTestVideo();
|
|
|
|
_this.msgChain.push('Camera access denied');
|
|
|
|
});
|
|
|
|
publisherRemote.on('videoElementCreated', function (video) {
|
|
|
|
_this.showSpinner = true;
|
|
|
|
_this.msgChain.push('Video element created');
|
|
|
|
});
|
|
|
|
publisherRemote.on('remoteVideoPlaying', function (video) {
|
|
|
|
_this.msgChain.push('Remote video playing');
|
|
|
|
_this.testButton = 'End test';
|
|
|
|
_this.testStatus = 'PLAYING';
|
|
|
|
_this.showSpinner = false;
|
|
|
|
});
|
|
|
|
publisherRemote.subscribeToRemote();
|
|
|
|
_this.session.publish(publisherRemote);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
if (error.code === 401) {
|
|
|
|
_this.endTestVideo();
|
|
|
|
var dialogRef = void 0;
|
|
|
|
dialogRef = _this.dialog.open(__WEBPACK_IMPORTED_MODULE_4__credentials_dialog_component__["a" /* CredentialsDialogComponent */]);
|
|
|
|
dialogRef.componentInstance.myReference = dialogRef;
|
|
|
|
dialogRef.afterClosed().subscribe(function (secret) {
|
|
|
|
if (secret) {
|
|
|
|
_this.connectToSession('wss://' + location.hostname + ':8443/testSession?secret=' + secret);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
console.error(error);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
};
|
|
|
|
DashboardComponent.prototype.endTestVideo = function () {
|
|
|
|
this.session.disconnect();
|
|
|
|
this.session = null;
|
|
|
|
this.testStatus = 'DISCONNECTED';
|
|
|
|
this.testButton = 'Test';
|
|
|
|
this.showSpinner = false;
|
|
|
|
this.info = [];
|
|
|
|
this.msgChain = [];
|
|
|
|
};
|
|
|
|
DashboardComponent.prototype.scrollToBottom = function () {
|
|
|
|
try {
|
|
|
|
if (!this.lockScroll) {
|
|
|
|
this.myScrollContainer.nativeElement.scrollTop = this.myScrollContainer.nativeElement.scrollHeight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (err) {
|
|
|
|
console.error('[Error]:' + err.toString());
|
|
|
|
}
|
|
|
|
};
|
|
|
|
return DashboardComponent;
|
|
|
|
}());
|
|
|
|
__decorate([
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_8" /* ViewChild */])('scrollMe'),
|
|
|
|
__metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_0__angular_core__["l" /* ElementRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_0__angular_core__["l" /* ElementRef */]) === "function" && _a || Object)
|
|
|
|
], DashboardComponent.prototype, "myScrollContainer", void 0);
|
|
|
|
__decorate([
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_13" /* HostListener */])('window:beforeunload'),
|
|
|
|
__metadata("design:type", Function),
|
|
|
|
__metadata("design:paramtypes", []),
|
|
|
|
__metadata("design:returntype", void 0)
|
|
|
|
], DashboardComponent.prototype, "beforeunloadHandler", null);
|
|
|
|
DashboardComponent = __decorate([
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_5" /* Component */])({
|
|
|
|
selector: 'app-dashboard',
|
2017-10-04 11:40:06 +02:00
|
|
|
template: __webpack_require__(214),
|
|
|
|
styles: [__webpack_require__(190)],
|
2017-10-02 10:48:47 +02:00
|
|
|
}),
|
|
|
|
__metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_info_service__["a" /* InfoService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_info_service__["a" /* InfoService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_1__angular_material__["j" /* MdDialog */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_material__["j" /* MdDialog */]) === "function" && _c || Object])
|
|
|
|
], DashboardComponent);
|
|
|
|
|
|
|
|
var _a, _b, _c;
|
|
|
|
//# sourceMappingURL=dashboard.component.js.map
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
/***/ 79:
|
2017-10-02 10:48:47 +02:00
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(2);
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SessionDetailsComponent; });
|
|
|
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
|
|
};
|
|
|
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
|
|
};
|
|
|
|
|
|
|
|
var SessionDetailsComponent = (function () {
|
|
|
|
function SessionDetailsComponent() {
|
|
|
|
}
|
|
|
|
SessionDetailsComponent.prototype.ngOnInit = function () {
|
|
|
|
};
|
|
|
|
return SessionDetailsComponent;
|
|
|
|
}());
|
|
|
|
SessionDetailsComponent = __decorate([
|
|
|
|
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_5" /* Component */])({
|
|
|
|
selector: 'app-session-details',
|
2017-10-04 11:40:06 +02:00
|
|
|
template: __webpack_require__(215),
|
|
|
|
styles: [__webpack_require__(191)]
|
2017-10-02 10:48:47 +02:00
|
|
|
}),
|
|
|
|
__metadata("design:paramtypes", [])
|
|
|
|
], SessionDetailsComponent);
|
|
|
|
|
|
|
|
//# sourceMappingURL=session-details.component.js.map
|
|
|
|
|
2017-05-31 17:55:18 +02:00
|
|
|
/***/ })
|
|
|
|
|
2017-10-04 11:40:06 +02:00
|
|
|
},[293]);
|
2017-05-31 17:55:18 +02:00
|
|
|
//# sourceMappingURL=main.bundle.js.map
|