diff --git a/src/app/pages/charts/components/chartistJs/chartistJs.component.ts b/src/app/pages/charts/components/chartistJs/chartistJs.component.ts index 577eadfc..9579f081 100644 --- a/src/app/pages/charts/components/chartistJs/chartistJs.component.ts +++ b/src/app/pages/charts/components/chartistJs/chartistJs.component.ts @@ -1,4 +1,4 @@ -import {Component, ViewEncapsulation} from '@angular/core'; +import {Component} from '@angular/core'; import {ChartistJsService} from './chartistJs.service'; import 'style-loader!./chartistJs.scss'; diff --git a/src/app/pages/dashboard/pieChart/pieChart.component.ts b/src/app/pages/dashboard/pieChart/pieChart.component.ts index e009f4d3..a453c58c 100644 --- a/src/app/pages/dashboard/pieChart/pieChart.component.ts +++ b/src/app/pages/dashboard/pieChart/pieChart.component.ts @@ -1,4 +1,4 @@ -import {Component, ViewEncapsulation} from '@angular/core'; +import {Component} from '@angular/core'; import {PieChartService} from './pieChart.service'; diff --git a/src/app/pages/register/register.component.ts b/src/app/pages/register/register.component.ts index 7901c5f0..5c7e4903 100644 --- a/src/app/pages/register/register.component.ts +++ b/src/app/pages/register/register.component.ts @@ -1,4 +1,4 @@ -import {Component, ViewEncapsulation} from '@angular/core'; +import {Component} from '@angular/core'; import {FormGroup, AbstractControl, FormBuilder, Validators} from '@angular/forms'; import {EmailValidator, EqualPasswordsValidator} from '../../theme/validators'; diff --git a/src/app/pages/tables/components/smartTables/smartTables.component.ts b/src/app/pages/tables/components/smartTables/smartTables.component.ts index fc0a1961..8f34c5ee 100644 --- a/src/app/pages/tables/components/smartTables/smartTables.component.ts +++ b/src/app/pages/tables/components/smartTables/smartTables.component.ts @@ -1,12 +1,12 @@ -import { Component, ViewEncapsulation } from '@angular/core'; +import { Component } from '@angular/core'; import { SmartTablesService } from './smartTables.service'; import { LocalDataSource } from 'ng2-smart-table'; +import 'style-loader!./smartTables.scss'; + @Component({ - selector: 'basic-tables', - encapsulation: ViewEncapsulation.None, - styleUrls: ['./smartTables.scss'], + selector: 'smart-tables', templateUrl: './smartTables.html', }) export class SmartTables { diff --git a/src/app/pages/ui/components/buttons/buttons.component.ts b/src/app/pages/ui/components/buttons/buttons.component.ts index ac5293b2..aadb2714 100644 --- a/src/app/pages/ui/components/buttons/buttons.component.ts +++ b/src/app/pages/ui/components/buttons/buttons.component.ts @@ -1,4 +1,4 @@ -import {Component, ViewEncapsulation} from '@angular/core'; +import {Component} from '@angular/core'; import 'style-loader!./buttons.scss'; diff --git a/src/app/pages/ui/components/typography/typography.component.ts b/src/app/pages/ui/components/typography/typography.component.ts index 65f22984..4e311bcd 100644 --- a/src/app/pages/ui/components/typography/typography.component.ts +++ b/src/app/pages/ui/components/typography/typography.component.ts @@ -1,9 +1,8 @@ -import {Component, ViewEncapsulation} from '@angular/core'; +import {Component} from '@angular/core'; @Component({ selector: 'typography', - styles: [], templateUrl: './typography.html', }) export class Typography { diff --git a/src/app/theme/components/baSidebar/baSidebar.component.ts b/src/app/theme/components/baSidebar/baSidebar.component.ts index 298641e8..c80e1ee6 100644 --- a/src/app/theme/components/baSidebar/baSidebar.component.ts +++ b/src/app/theme/components/baSidebar/baSidebar.component.ts @@ -1,4 +1,4 @@ -import {Component, ElementRef, HostListener, ViewEncapsulation} from '@angular/core'; +import {Component, ElementRef, HostListener} from '@angular/core'; import {GlobalState} from '../../../global.state'; import {layoutSizes} from '../../../theme';