mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
Merge remote-tracking branch 'origin/master'
Conflicts: config/webpack.common.js package.json src/app/pages/components/components/treeView/treeView.component.ts
This commit is contained in:
commit
661583bee1
5 changed files with 20 additions and 10 deletions
|
|
@ -89,6 +89,7 @@ module.exports = {
|
|||
// these packages have problems with their sourcemaps
|
||||
helpers.root('node_modules/rxjs'),
|
||||
helpers.root('node_modules/ng2-bootstrap'),
|
||||
helpers.root('node_modules/ng2-branchy')
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@
|
|||
"leaflet": "^0.7.7",
|
||||
"leaflet-map": "^0.2.1",
|
||||
"lodash": "^4.12.0",
|
||||
"ng2-bootstrap": "^1.0.16",
|
||||
"ng2-branchy": "0.0.2-2",
|
||||
"ng2-ckeditor": "^1.0.3",
|
||||
"ng2-bootstrap": "^1.0.20",
|
||||
"ng2-ckeditor": "^1.0.4",
|
||||
"ng2-branchy": "^0.0.2-5",
|
||||
"ng2-uploader": "^0.5.2",
|
||||
"normalize.css": "^4.1.1",
|
||||
"rxjs": "5.0.0-beta.6",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {BranchyComponent, TreeModel} from 'ng2-branchy';
|
||||
import {BaCard} from "../../../../theme/components/baCard/baCard.component";
|
||||
import {BaCard} from '../../../../theme/components/baCard';
|
||||
|
||||
@Component({
|
||||
selector: 'tree-view',
|
||||
|
|
|
|||
|
|
@ -6,10 +6,13 @@ import {PLATFORM_DIRECTIVES} from '@angular/core';
|
|||
|
||||
// Angular 2 Router
|
||||
import {ROUTER_DIRECTIVES} from '@angular/router';
|
||||
// Angular 2 forms
|
||||
import { REACTIVE_FORM_DIRECTIVES } from '@angular/forms';
|
||||
|
||||
// application_directives: directives that are global through out the application
|
||||
export const APPLICATION_DIRECTIVES = [
|
||||
...ROUTER_DIRECTIVES
|
||||
...ROUTER_DIRECTIVES,
|
||||
...REACTIVE_FORM_DIRECTIVES
|
||||
];
|
||||
|
||||
export const DIRECTIVES = [
|
||||
|
|
|
|||
|
|
@ -10,15 +10,21 @@ import {HTTP_PROVIDERS} from '@angular/http';
|
|||
import {APP_ROUTER_PROVIDERS} from '../../app/app.routes';
|
||||
|
||||
|
||||
// Angular 2 forms
|
||||
import {disableDeprecatedForms, provideForms} from '@angular/forms';
|
||||
|
||||
/*
|
||||
* Application Providers/Directives/Pipes
|
||||
* providers/directives/pipes that only live in our browser environment
|
||||
*/
|
||||
* Application Providers/Directives/Pipes
|
||||
* providers/directives/pipes that only live in our browser environment
|
||||
*/
|
||||
export const APPLICATION_PROVIDERS = [
|
||||
...FORM_PROVIDERS,
|
||||
// new Angular 2 forms
|
||||
disableDeprecatedForms(),
|
||||
provideForms(),
|
||||
...HTTP_PROVIDERS,
|
||||
...APP_ROUTER_PROVIDERS,
|
||||
{provide: LocationStrategy, useClass: HashLocationStrategy }
|
||||
{provide: LocationStrategy, useClass: HashLocationStrategy},
|
||||
{provide: LocationStrategy, useClass: HashLocationStrategy}
|
||||
];
|
||||
|
||||
export const PROVIDERS = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue