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-10-11 19:22:03 +03:00
|
|
|
import { EntityAliasSelectComponent } from './alias/entity-alias-select.component';
|
2019-10-17 18:23:53 +03:00
|
|
|
import { DataKeysComponent } from '@home/components/widget/data-keys.component';
|
|
|
|
|
import { DataKeyConfigDialogComponent } from './widget/data-key-config-dialog.component';
|
|
|
|
|
import { DataKeyConfigComponent } from './widget/data-key-config.component';
|
2019-10-24 19:52:19 +03:00
|
|
|
import { LegendConfigPanelComponent } from './widget/legend-config-panel.component';
|
|
|
|
|
import { LegendConfigComponent } from './widget/legend-config.component';
|
|
|
|
|
import { ManageWidgetActionsComponent } from './widget/action/manage-widget-actions.component';
|
|
|
|
|
import { WidgetActionDialogComponent } from './widget/action/widget-action-dialog.component';
|
|
|
|
|
import { CustomActionPrettyResourcesTabsComponent } from './widget/action/custom-action-pretty-resources-tabs.component';
|
|
|
|
|
import { CustomActionPrettyEditorComponent } from './widget/action/custom-action-pretty-editor.component';
|
2019-10-25 17:50:12 +03:00
|
|
|
import { CustomDialogService } from './widget/dialog/custom-dialog.service';
|
|
|
|
|
import { CustomDialogContainerComponent } from './widget/dialog/custom-dialog-container.component';
|
2019-11-08 14:17:15 +02:00
|
|
|
import { ImportExportService } from './import-export/import-export.service';
|
|
|
|
|
import { ImportDialogComponent } from './import-export/import-dialog.component';
|
2019-11-15 12:22:14 +02:00
|
|
|
import { AddWidgetToDashboardDialogComponent } from './attribute/add-widget-to-dashboard-dialog.component';
|
|
|
|
|
import { ImportDialogCsvComponent } from './import-export/import-dialog-csv.component';
|
|
|
|
|
import { TableColumnsAssignmentComponent } from './import-export/table-columns-assignment.component';
|
2020-01-22 20:05:30 +02:00
|
|
|
import { EventContentDialogComponent } from '@home/components/event/event-content-dialog.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,
|
2020-01-22 20:05:30 +02:00
|
|
|
EventContentDialogComponent,
|
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,
|
2019-10-17 18:23:53 +03:00
|
|
|
EntityAliasDialogComponent,
|
2019-10-24 19:52:19 +03:00
|
|
|
DataKeyConfigDialogComponent,
|
|
|
|
|
LegendConfigPanelComponent,
|
2019-10-25 17:50:12 +03:00
|
|
|
WidgetActionDialogComponent,
|
2019-11-08 14:17:15 +02:00
|
|
|
CustomDialogContainerComponent,
|
2019-11-15 12:22:14 +02:00
|
|
|
ImportDialogComponent,
|
|
|
|
|
ImportDialogCsvComponent,
|
|
|
|
|
AddWidgetToDashboardDialogComponent
|
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,
|
2020-01-22 20:05:30 +02:00
|
|
|
EventContentDialogComponent,
|
2019-08-22 18:44:48 +03:00
|
|
|
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,
|
2019-10-11 19:22:03 +03:00
|
|
|
EntityFilterComponent,
|
2019-10-17 18:23:53 +03:00
|
|
|
EntityAliasSelectComponent,
|
|
|
|
|
DataKeysComponent,
|
|
|
|
|
DataKeyConfigComponent,
|
2019-10-24 19:52:19 +03:00
|
|
|
DataKeyConfigDialogComponent,
|
|
|
|
|
LegendConfigPanelComponent,
|
|
|
|
|
LegendConfigComponent,
|
|
|
|
|
ManageWidgetActionsComponent,
|
|
|
|
|
WidgetActionDialogComponent,
|
|
|
|
|
CustomActionPrettyResourcesTabsComponent,
|
2019-10-25 17:50:12 +03:00
|
|
|
CustomActionPrettyEditorComponent,
|
2019-11-08 14:17:15 +02:00
|
|
|
CustomDialogContainerComponent,
|
2019-11-15 12:22:14 +02:00
|
|
|
ImportDialogComponent,
|
|
|
|
|
ImportDialogCsvComponent,
|
|
|
|
|
AddWidgetToDashboardDialogComponent,
|
|
|
|
|
TableColumnsAssignmentComponent
|
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,
|
2019-10-11 19:22:03 +03:00
|
|
|
EntityFilterComponent,
|
2019-10-17 18:23:53 +03:00
|
|
|
EntityAliasSelectComponent,
|
|
|
|
|
DataKeysComponent,
|
|
|
|
|
DataKeyConfigComponent,
|
2019-10-24 19:52:19 +03:00
|
|
|
DataKeyConfigDialogComponent,
|
|
|
|
|
LegendConfigComponent,
|
|
|
|
|
ManageWidgetActionsComponent,
|
|
|
|
|
WidgetActionDialogComponent,
|
|
|
|
|
CustomActionPrettyResourcesTabsComponent,
|
2019-10-25 17:50:12 +03:00
|
|
|
CustomActionPrettyEditorComponent,
|
2019-11-08 14:17:15 +02:00
|
|
|
CustomDialogContainerComponent,
|
2019-11-15 12:22:14 +02:00
|
|
|
ImportDialogComponent,
|
|
|
|
|
ImportDialogCsvComponent,
|
|
|
|
|
TableColumnsAssignmentComponent
|
2019-09-05 21:15:40 +03:00
|
|
|
],
|
|
|
|
|
providers: [
|
2019-10-25 17:50:12 +03:00
|
|
|
WidgetComponentService,
|
2019-11-08 14:17:15 +02:00
|
|
|
CustomDialogService,
|
|
|
|
|
ImportExportService
|
2019-08-21 18:18:46 +03:00
|
|
|
]
|
|
|
|
|
})
|
|
|
|
|
export class HomeComponentsModule { }
|