project structure update for more accurate import

This commit is contained in:
nixa 2016-05-04 11:49:36 +03:00
parent 36288562e6
commit 945cdb7e4f
43 changed files with 47 additions and 42 deletions

View file

@ -1 +0,0 @@
export * from './baCard.component';

View file

@ -0,0 +1 @@
export * from './baCard.component.ts';

View file

@ -1,8 +1,8 @@
import {Component, ViewEncapsulation} from 'angular2/core';
import {ThemeGlobal} from "../theme.global";
import {Component} from 'angular2/core';
import {Subscription} from "rxjs/Subscription";
import {ThemeGlobal} from "../../../theme";
@Component({
selector: 'content-top',
styles: [require('./contentTop.scss')],

View file

@ -1,4 +1,4 @@
@import '../sass/conf/conf';
@import '../../sass/conf/conf';
.content-top {
padding-top: 13px;

View file

@ -0,0 +1 @@
export * from './contentTop.component.ts';

View file

@ -0,0 +1,5 @@
export * from './pageTop';
export * from './msgCenter';
export * from './sidebar';
export * from './contentTop';
export * from './baCard';

View file

@ -0,0 +1 @@
export * from './msgCenter.component.ts';

View file

@ -1,5 +1,6 @@
import {Component, ViewEncapsulation} from 'angular2/core';
import {ProfilePicturePipe} from '../pipes/image/profile-picture.pipe';
import {Component} from 'angular2/core';
import {ProfilePicturePipe} from '../../pipes';
@Component({
selector: 'msg-center',

View file

@ -1,4 +1,4 @@
@import '../sass/conf/conf';
@import '../../sass/conf/conf';
/* msg center */
@-webkit-keyframes pulsate {

View file

@ -0,0 +1 @@
export * from './pageTop.component.ts';

View file

@ -1,9 +1,9 @@
import {Component, ViewEncapsulation} from 'angular2/core';
import {Component} from 'angular2/core';
import {MsgCenter} from '../msgCenter';
import {ProfilePicturePipe} from '../pipes/image/profile-picture.pipe';
import {ScrollPosition} from '../directives/scrollPosition.directive';
import {ThemeGlobal} from "../theme.global";
import {ThemeGlobal} from '../../../theme';
import {ProfilePicturePipe} from '../../pipes';
import {MsgCenter} from '../../components/msgCenter';
import {ScrollPosition} from '../../directives';
@Component({
selector: 'page-top',
@ -18,7 +18,6 @@ export class PageTop {
constructor(private _themeGlobal:ThemeGlobal) {
}
toggleMenu() {

View file

@ -1,5 +1,5 @@
@import '../sass/conf/conf';
@import '../msgCenter/msgCenter';
@import '../../sass/conf/conf';
@import '../../components/msgCenter/msgCenter';
.page-top {
@include bg-translucent-dark(0.5);

View file

@ -0,0 +1 @@
export * from './sidebar.component.ts';

View file

@ -1,9 +1,8 @@
import {Component, ElementRef, HostListener, ViewEncapsulation, Input} from 'angular2/core';
import {Component, ElementRef, HostListener, ViewEncapsulation} from 'angular2/core';
import {Router} from 'angular2/router';
import {layoutSizes} from '../theme.constants';
import {ThemeGlobal, layoutSizes} from '../../../theme';
import {SidebarService} from './sidebar.service';
import {ThemeGlobal} from "../theme.global";
@Component({
selector: 'sidebar',

View file

@ -1,4 +1,4 @@
@import '../sass/conf/conf';
@import '../../sass/conf/conf';
$sidebar-width: 180px;
$angle-left: "\f100";

View file

@ -1 +0,0 @@
export * from './contentTop.component';

View file

@ -1 +1 @@
export * from './scrollPosition.directive';
export * from './scrollPosition';

View file

@ -0,0 +1 @@
export * from './scrollPosition.directive.ts';

View file

@ -1,4 +1,4 @@
import {Directive, Input, Output, EventEmitter, HostListener, ElementRef} from 'angular2/core';
import {Directive, Input, Output, EventEmitter, HostListener} from 'angular2/core';
@Directive({
selector: '[scrollPosition]'

View file

@ -1,5 +1,2 @@
export * from './pageTop';
export * from './msgCenter';
export * from './sidebar';
export * from './contentTop';
export * from './baCard';
export * from './theme.constants'
export * from './theme.global'

View file

@ -1 +0,0 @@
export * from './msgCenter.component';

View file

@ -1 +0,0 @@
export * from './pageTop.component';

View file

@ -0,0 +1 @@
export * from './profilePicture';

View file

@ -0,0 +1 @@
export * from './profilePicture.pipe.ts';

View file

@ -1,5 +1,5 @@
import {Pipe, PipeTransform} from 'angular2/core';
import {layoutPaths} from '../../theme.constants';
import {layoutPaths} from '../../../theme';
@Pipe({name: 'profilePicture'})
export class ProfilePicturePipe implements PipeTransform {

View file

@ -1 +0,0 @@
export * from './sidebar.component';