UNPKG

3.39 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var core_1 = require("@angular/core");
4var store_1 = require("@ngrx/store");
5var appReducer = require("../../feature/feature.reducers");
6// import * as authReducer from "@soushians/authentication/reducers";
7// import * as authReducer from "@soushians/authentication";
8var DashboardContainerComponent = /** @class */ (function () {
9 // is_agent : Observable<boolean>;
10 function DashboardContainerComponent(store) {
11 this.store = store;
12 this.user$ = this.store.select(appReducer.getUser);
13 // this.is_agent = signinService.is_agent();
14 }
15 DashboardContainerComponent.prototype.ngOnInit = function () { };
16 DashboardContainerComponent.decorators = [
17 { type: core_1.Component, args: [{
18 selector: "user-dashboard-container",
19 template: "<!-- <router-outlet name=\"links\"></router-outlet> --> <div fxLayoutAlign=\"center\"> <router-outlet></router-outlet> </div>",
20 styles: ["#box-left { background: #2B0033; background: #fff; /*height:1200px;*/ } #box-bottom { background: #2B0033; /*height:1200px;*/ } #box-right { background: #000833; /*height:1200px;*/ padding-top: 10px !important; padding-bottom: 10px !important; } #box-right div { background: #fff; opacity: 0.5; } #banner:not(.active) { height: 100%; filter:grayscale(100%) brightness(1.5) opacity(0.2) blur(2px); } #s1 { background: #aaa; } #s2 { background: #bbb; } #s3 { background: #ccc; } .personal-info { background-color: rgba(255, 255, 255, 0.5); position: relative; right: 10%; width: 90%; height: 469px; } .personal-info h2 { color: #00bcd4; font-weight: normal; font-size: 24px; font-family: 'iran-sans-light' !important; } .personal-info h6 { font-weight: normal; font-size: 12px; float: right; width: 50%; margin: 0; color: #555; border-bottom: 2px solid #ececec; } .personal-info p { float: right; width: 30%; margin: 0; font-size: 13px; padding-right: 30px; border-bottom: 2px solid #ececec; } .personal-info div { width: 100%; height: 50px; position: relative; line-height: 52px; right: 17px; } .personal-info-inner {} .quick-box { width: 100%; height: 50px; position: relative; line-height: 52px; padding-top: 79px; } .quick-btn { background-color: #00bcd4; margin: 12px 10px; height: 100px; text-align: center; line-height: 100px; font-size: 17px; color: #fff; } .banner-section { text-align: center; /*background-color: #f6882f;*/ /*filter:grayscale(100%);*/ } .info-section { padding: 10px 25px; padding-top: 60px; background-color: #f7f7f7; background-image: url('https://www.toptal.com/designers/subtlepatterns/patterns/grey.png') !important; height: 1040px; padding-bottom: 120px !important; }"]
21 },] },
22 ];
23 /** @nocollapse */
24 DashboardContainerComponent.ctorParameters = function () { return [
25 { type: store_1.Store, },
26 ]; };
27 return DashboardContainerComponent;
28}());
29exports.DashboardContainerComponent = DashboardContainerComponent;
30//# sourceMappingURL=dashboard.component.js.map
\No newline at end of file