mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-02 20:00:17 +01:00
feat(aot): aot compilation work in progress
This commit is contained in:
parent
24fe588b42
commit
d89d176e54
117 changed files with 866 additions and 1041 deletions
|
|
@ -2,9 +2,9 @@ import {Component, ViewEncapsulation} from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'buttons',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [require('./buttons.scss')],
|
||||
template: require('./buttons.html'),
|
||||
// encapsulation: ViewEncapsulation.None,
|
||||
styleUrls: ['./buttons.scss'],
|
||||
templateUrl: './buttons.html',
|
||||
})
|
||||
export class Buttons {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { Component } from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'disabled-buttons',
|
||||
template: require('./disabledButtons.html'),
|
||||
templateUrl: './disabledButtons.html',
|
||||
})
|
||||
export class DisabledButtons {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {Component, HostListener} from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'dropdown-buttons',
|
||||
template: require('./dropdownButtons.html')
|
||||
templateUrl: './dropdownButtons.html'
|
||||
})
|
||||
|
||||
// TODO: appendToBody does not implemented yet, waiting for it
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import {Component} from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'flat-buttons',
|
||||
template: require('./flatButtons.html'),
|
||||
templateUrl: './flatButtons.html',
|
||||
})
|
||||
export class FlatButtons {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {Component} from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'group-buttons',
|
||||
template: require('./groupButtons.html'),
|
||||
templateUrl: './groupButtons.html',
|
||||
})
|
||||
export class GroupButtons {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {Component} from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'icon-buttons',
|
||||
template: require('./iconButtons.html'),
|
||||
templateUrl: './iconButtons.html',
|
||||
})
|
||||
export class IconButtons {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {Component} from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'large-buttons',
|
||||
template: require('./largeButtons.html'),
|
||||
templateUrl: './largeButtons.html',
|
||||
})
|
||||
export class LargeButtons {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import {Component} from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'raised-buttons',
|
||||
template: require('./raisedButtons.html'),
|
||||
templateUrl: './raisedButtons.html',
|
||||
})
|
||||
export class RaisedButtons {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import {Component} from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'sized-buttons',
|
||||
template: require('./sizedButtons.html'),
|
||||
templateUrl: './sizedButtons.html',
|
||||
})
|
||||
export class SizedButtons {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ import {Component, ViewEncapsulation} from '@angular/core';
|
|||
|
||||
@Component({
|
||||
selector: 'grid',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [require('./grid.scss')],
|
||||
template: require('./grid.html'),
|
||||
// encapsulation: ViewEncapsulation.None,
|
||||
styleUrls: ['./grid.scss'],
|
||||
templateUrl: './grid.html',
|
||||
})
|
||||
export class Grid {
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import {IconsService} from './icons.service';
|
|||
|
||||
@Component({
|
||||
selector: 'icons',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [require('./icons.scss')],
|
||||
template: require('./icons.html'),
|
||||
// encapsulation: ViewEncapsulation.None,
|
||||
styleUrls: ['./icons.scss'],
|
||||
templateUrl: './icons.html',
|
||||
})
|
||||
export class Icons {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ import { ModalDirective } from 'ng2-bootstrap';
|
|||
|
||||
@Component({
|
||||
selector: 'modals',
|
||||
styles: [require('./modals.scss')],
|
||||
template: require('./modals.html')
|
||||
styleUrls: ['./modals.scss'],
|
||||
templateUrl: './modals.html'
|
||||
})
|
||||
export class Modals {
|
||||
@ViewChild('childModal') childModal: ModalDirective;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {Component, ViewEncapsulation} from '@angular/core';
|
|||
@Component({
|
||||
selector: 'typography',
|
||||
styles: [],
|
||||
template: require('./typography.html'),
|
||||
templateUrl: './typography.html',
|
||||
})
|
||||
export class Typography {
|
||||
|
||||
|
|
|
|||
|
|
@ -52,5 +52,5 @@ import { IconsService } from './components/icons/icons.service';
|
|||
IconsService
|
||||
]
|
||||
})
|
||||
export default class UiModule {
|
||||
export class UiModule {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue