GUI2 Framework as a standalone NPM Library
There are a few changes going on here
1) The fw part of GUI has been moved out in to its own project
a) several files are renamed (files 21-83)
b) the project has its own BUILD file (file 5)
c) there are a few files created by Angular CLI here - mostly script generated (files 7-20)
d) package-lock.json is a big generated file that has to be versioned (file 13)
2) The view in the main GUI2 project now refer to this library (see BUILD file 110)
a) some useless files were removed (files 115 - 139)
b) several files are changed to update references (files 140-202)
c) this breaks the BUCK build so I've removed the BUCK file and references to it (file 109)
Change-Id: I48bc3253edfcf5947f1582731ba739a1296012f5
diff --git a/web/gui2/src/main/webapp/app/onos.module.ts b/web/gui2/src/main/webapp/app/onos.module.ts
index b8c609d..576d0f1 100644
--- a/web/gui2/src/main/webapp/app/onos.module.ts
+++ b/web/gui2/src/main/webapp/app/onos.module.ts
@@ -18,18 +18,10 @@
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
-import { LayerModule } from './fw/layer/layer.module';
-import { MastModule } from './fw/mast/mast.module';
-import { NavModule } from './fw/nav/nav.module';
-import { SvgModule } from './fw/svg/svg.module';
-import { WidgetModule } from './fw/widget/widget.module';
import { OnosRoutingModule } from './onos-routing.module';
-
+import { NavComponent } from './nav/nav.component';
import { OnosComponent } from './onos.component';
-import { DetectBrowserDirective } from './detectbrowser.directive';
-
-import { ConsoleLoggerService } from './consolelogger.service';
-import { LogService } from './log.service';
+import { Gui2FwLibModule, ConsoleLoggerService, LogService } from 'gui2-fw-lib';
import { OnosService } from './onos.service';
/**
@@ -37,18 +29,14 @@
*/
@NgModule({
declarations: [
- OnosComponent,
- DetectBrowserDirective
+ NavComponent,
+ OnosComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
- LayerModule,
- MastModule,
- NavModule,
- SvgModule,
- WidgetModule,
+ Gui2FwLibModule,
OnosRoutingModule
],
providers: [