2019-08-21 18:18:46 +03:00
|
|
|
///
|
|
|
|
|
/// Copyright © 2016-2019 The Thingsboard Authors
|
|
|
|
|
///
|
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
|
///
|
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
///
|
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
|
/// limitations under the License.
|
|
|
|
|
///
|
|
|
|
|
|
2019-09-05 21:15:40 +03:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
import { SharedModule } from '@app/shared/shared.module';
|
|
|
|
|
import { AddEntityDialogComponent } from './entity/add-entity-dialog.component';
|
|
|
|
|
import { EntitiesTableComponent } from './entity/entities-table.component';
|
|
|
|
|
import { DetailsPanelComponent } from './details-panel.component';
|
|
|
|
|
import { EntityDetailsPanelComponent } from './entity/entity-details-panel.component';
|
|
|
|
|
import { ContactComponent } from './contact.component';
|
2019-08-22 13:34:15 +03:00
|
|
|
import { AuditLogDetailsDialogComponent } from './audit-log/audit-log-details-dialog.component';
|
|
|
|
|
import { AuditLogTableComponent } from './audit-log/audit-log-table.component';
|
2019-08-22 18:44:48 +03:00
|
|
|
import { EventTableHeaderComponent } from '@home/components/event/event-table-header.component';
|
|
|
|
|
import { EventTableComponent } from '@home/components/event/event-table.component';
|
2019-08-23 15:06:42 +03:00
|
|
|
import { RelationTableComponent } from '@home/components/relation/relation-table.component';
|
2019-08-27 20:07:09 +03:00
|
|
|
import { RelationDialogComponent } from './relation/relation-dialog.component';
|
2019-08-29 12:08:49 +03:00
|
|
|
import { AlarmTableHeaderComponent } from '@home/components/alarm/alarm-table-header.component';
|
|
|
|
|
import { AlarmTableComponent } from '@home/components/alarm/alarm-table.component';
|
|
|
|
|
import { AlarmDetailsDialogComponent } from '@home/components/alarm/alarm-details-dialog.component';
|
2019-08-29 20:04:59 +03:00
|
|
|
import { AttributeTableComponent } from '@home/components/attribute/attribute-table.component';
|
|
|
|
|
import { AddAttributeDialogComponent } from './attribute/add-attribute-dialog.component';
|
|
|
|
|
import { EditAttributeValuePanelComponent } from './attribute/edit-attribute-value-panel.component';
|
2019-09-03 19:31:16 +03:00
|
|
|
import { DashboardComponent } from '@home/components/dashboard/dashboard.component';
|
2019-09-05 21:15:40 +03:00
|
|
|
import { WidgetComponent } from '@home/components/widget/widget.component';
|
2019-09-06 20:17:45 +03:00
|
|
|
import { WidgetComponentService } from './widget/widget-component.service';
|
|
|
|
|
import { LegendComponent } from '@home/components/widget/legend.component';
|
2019-09-19 20:10:52 +03:00
|
|
|
import { AliasesEntitySelectPanelComponent } from '@home/components/alias/aliases-entity-select-panel.component';
|
|
|
|
|
import { AliasesEntitySelectComponent } from '@home/components/alias/aliases-entity-select.component';
|
2019-09-25 19:37:29 +03:00
|
|
|
import { WidgetConfigComponent } from '@home/components/widget/widget-config.component';
|
2019-10-10 13:00:29 +03:00
|
|
|
import { EntityAliasesDialogComponent } from '@home/components/alias/entity-aliases-dialog.component';
|
|
|
|
|
import { EntityFilterViewComponent } from './entity/entity-filter-view.component';
|
|
|
|
|
import { EntityAliasDialogComponent } from './alias/entity-alias-dialog.component';
|
|
|
|
|
import { EntityFilterComponent } from './entity/entity-filter.component';
|
|
|
|
|
import { RelationFiltersComponent } from './relation/relation-filters.component';
|
2019-08-21 18:18:46 +03:00
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
entryComponents: [
|
2019-08-22 13:34:15 +03:00
|
|
|
AddEntityDialogComponent,
|
2019-08-22 18:44:48 +03:00
|
|
|
AuditLogDetailsDialogComponent,
|
2019-08-27 20:07:09 +03:00
|
|
|
EventTableHeaderComponent,
|
2019-08-29 12:08:49 +03:00
|
|
|
RelationDialogComponent,
|
|
|
|
|
AlarmTableHeaderComponent,
|
2019-08-29 20:04:59 +03:00
|
|
|
AlarmDetailsDialogComponent,
|
|
|
|
|
AddAttributeDialogComponent,
|
2019-09-19 20:10:52 +03:00
|
|
|
EditAttributeValuePanelComponent,
|
2019-10-10 13:00:29 +03:00
|
|
|
AliasesEntitySelectPanelComponent,
|
|
|
|
|
EntityAliasesDialogComponent,
|
|
|
|
|
EntityAliasDialogComponent
|
2019-08-21 18:18:46 +03:00
|
|
|
],
|
|
|
|
|
declarations:
|
|
|
|
|
[
|
|
|
|
|
EntitiesTableComponent,
|
|
|
|
|
AddEntityDialogComponent,
|
|
|
|
|
DetailsPanelComponent,
|
|
|
|
|
EntityDetailsPanelComponent,
|
|
|
|
|
ContactComponent,
|
2019-08-22 13:34:15 +03:00
|
|
|
AuditLogTableComponent,
|
2019-08-22 18:44:48 +03:00
|
|
|
AuditLogDetailsDialogComponent,
|
|
|
|
|
EventTableHeaderComponent,
|
2019-08-23 15:06:42 +03:00
|
|
|
EventTableComponent,
|
2019-08-27 20:07:09 +03:00
|
|
|
RelationTableComponent,
|
2019-08-29 12:08:49 +03:00
|
|
|
RelationDialogComponent,
|
2019-10-10 13:00:29 +03:00
|
|
|
RelationFiltersComponent,
|
2019-08-29 12:08:49 +03:00
|
|
|
AlarmTableHeaderComponent,
|
|
|
|
|
AlarmTableComponent,
|
2019-08-29 20:04:59 +03:00
|
|
|
AlarmDetailsDialogComponent,
|
|
|
|
|
AttributeTableComponent,
|
|
|
|
|
AddAttributeDialogComponent,
|
2019-09-03 19:31:16 +03:00
|
|
|
EditAttributeValuePanelComponent,
|
2019-09-19 20:10:52 +03:00
|
|
|
AliasesEntitySelectPanelComponent,
|
|
|
|
|
AliasesEntitySelectComponent,
|
2019-10-10 13:00:29 +03:00
|
|
|
EntityAliasesDialogComponent,
|
|
|
|
|
EntityAliasDialogComponent,
|
2019-09-05 21:15:40 +03:00
|
|
|
DashboardComponent,
|
2019-09-06 20:17:45 +03:00
|
|
|
WidgetComponent,
|
2019-09-25 19:37:29 +03:00
|
|
|
LegendComponent,
|
2019-10-10 13:00:29 +03:00
|
|
|
WidgetConfigComponent,
|
|
|
|
|
EntityFilterViewComponent,
|
|
|
|
|
EntityFilterComponent
|
2019-08-21 18:18:46 +03:00
|
|
|
],
|
|
|
|
|
imports: [
|
|
|
|
|
CommonModule,
|
|
|
|
|
SharedModule
|
|
|
|
|
],
|
|
|
|
|
exports: [
|
|
|
|
|
EntitiesTableComponent,
|
|
|
|
|
AddEntityDialogComponent,
|
|
|
|
|
DetailsPanelComponent,
|
|
|
|
|
EntityDetailsPanelComponent,
|
2019-08-22 13:34:15 +03:00
|
|
|
ContactComponent,
|
2019-08-22 18:44:48 +03:00
|
|
|
AuditLogTableComponent,
|
2019-08-23 15:06:42 +03:00
|
|
|
EventTableComponent,
|
2019-08-29 12:08:49 +03:00
|
|
|
RelationTableComponent,
|
2019-10-10 13:00:29 +03:00
|
|
|
RelationFiltersComponent,
|
2019-08-29 12:08:49 +03:00
|
|
|
AlarmTableComponent,
|
2019-08-29 20:04:59 +03:00
|
|
|
AlarmDetailsDialogComponent,
|
2019-09-03 19:31:16 +03:00
|
|
|
AttributeTableComponent,
|
2019-09-19 20:10:52 +03:00
|
|
|
AliasesEntitySelectComponent,
|
2019-10-10 13:00:29 +03:00
|
|
|
EntityAliasesDialogComponent,
|
|
|
|
|
EntityAliasDialogComponent,
|
2019-09-05 21:15:40 +03:00
|
|
|
DashboardComponent,
|
2019-09-06 20:17:45 +03:00
|
|
|
WidgetComponent,
|
2019-09-25 19:37:29 +03:00
|
|
|
LegendComponent,
|
2019-10-10 13:00:29 +03:00
|
|
|
WidgetConfigComponent,
|
|
|
|
|
EntityFilterViewComponent,
|
|
|
|
|
EntityFilterComponent
|
2019-09-05 21:15:40 +03:00
|
|
|
],
|
|
|
|
|
providers: [
|
2019-09-06 20:17:45 +03:00
|
|
|
WidgetComponentService
|
2019-08-21 18:18:46 +03:00
|
|
|
]
|
|
|
|
|
})
|
|
|
|
|
export class HomeComponentsModule { }
|