|
|
@@ -1,5 +1,7 @@
|
|
|
import {Injectable} from '@angular/core';
|
|
|
|
|
|
+import {AdjusterLoaderComponent} from './adjuster/adjuster-loader.component';
|
|
|
+import {HsDialogContainerService} from 'hslayers-ng/components/layout/dialogs/dialog-container.service';
|
|
|
import {HsLayoutService} from 'hslayers-ng/components/layout/layout.service';
|
|
|
import {HsPanelContainerService} from 'hslayers-ng/components/layout/panels/panel-container.service';
|
|
|
import {HsSidebarService} from 'hslayers-ng/components/sidebar/sidebar.service';
|
|
|
@@ -9,6 +11,7 @@ import {AdjusterComponent} from './adjuster/adjuster.component';
|
|
|
@Injectable({providedIn: 'root'})
|
|
|
export class AppService {
|
|
|
constructor(
|
|
|
+ private hsDialogContainerService: HsDialogContainerService,
|
|
|
private hsLayoutService: HsLayoutService,
|
|
|
private hsSidebarService: HsSidebarService,
|
|
|
private hsPanelContainerService: HsPanelContainerService
|
|
|
@@ -17,6 +20,7 @@ export class AppService {
|
|
|
}
|
|
|
|
|
|
init(): void {
|
|
|
+ this.hsDialogContainerService.create(AdjusterLoaderComponent, {});
|
|
|
this.hsSidebarService.buttons.push({
|
|
|
panel: 'adjuster',
|
|
|
module: 'pra.adjuster',
|
|
|
@@ -27,5 +31,6 @@ export class AppService {
|
|
|
});
|
|
|
this.hsPanelContainerService.create(AdjusterComponent, {});
|
|
|
this.hsLayoutService.setDefaultPanel('adjuster');
|
|
|
+ //this.hsLayoutService.sidebarRight = false;
|
|
|
}
|
|
|
}
|