2019-09-05 21:15:40 +03:00
|
|
|
///
|
2020-02-20 10:26:43 +02:00
|
|
|
/// Copyright © 2016-2020 The Thingsboard Authors
|
2019-09-05 21:15:40 +03:00
|
|
|
///
|
|
|
|
|
/// 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.
|
|
|
|
|
///
|
|
|
|
|
|
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
import { SharedModule } from '@app/shared/shared.module';
|
2020-01-22 20:05:30 +02:00
|
|
|
import { EntitiesTableWidgetComponent } from '@home/components/widget/lib/entities-table-widget.component';
|
|
|
|
|
import { DisplayColumnsPanelComponent } from '@home/components/widget/lib/display-columns-panel.component';
|
2020-01-24 19:05:41 +02:00
|
|
|
import { AlarmsTableWidgetComponent } from '@home/components/widget/lib/alarms-table-widget.component';
|
2020-07-06 14:42:36 +03:00
|
|
|
import { AlarmFilterPanelComponent } from '@home/components/widget/lib/alarm-filter-panel.component';
|
2020-01-29 17:20:28 +02:00
|
|
|
import { SharedHomeComponentsModule } from '@home/components/shared-home-components.module';
|
2020-01-30 13:03:53 +02:00
|
|
|
import { TimeseriesTableWidgetComponent } from '@home/components/widget/lib/timeseries-table-widget.component';
|
2020-01-31 20:26:08 +02:00
|
|
|
import { EntitiesHierarchyWidgetComponent } from '@home/components/widget/lib/entities-hierarchy-widget.component';
|
2020-02-10 19:06:15 +02:00
|
|
|
import { CustomDialogService } from '@home/components/widget/dialog/custom-dialog.service';
|
2020-02-17 17:26:26 +02:00
|
|
|
import { RpcWidgetsModule } from '@home/components/widget/lib/rpc/rpc-widgets.module';
|
2020-02-18 17:25:17 +02:00
|
|
|
import {
|
|
|
|
|
DateRangeNavigatorPanelComponent,
|
|
|
|
|
DateRangeNavigatorWidgetComponent
|
|
|
|
|
} from '@home/components/widget/lib/date-range-navigator/date-range-navigator.component';
|
2020-02-28 19:49:14 +02:00
|
|
|
import { MultipleInputWidgetComponent } from './lib/multiple-input-widget.component';
|
2020-03-20 16:57:35 +02:00
|
|
|
import { TripAnimationComponent } from './trip-animation/trip-animation.component';
|
2020-10-23 17:50:15 +03:00
|
|
|
import { PhotoCameraInputWidgetComponent } from './lib/photo-camera-input.component';
|
2020-03-26 14:49:26 +02:00
|
|
|
import { GatewayFormComponent } from './lib/gateway/gateway-form.component';
|
|
|
|
|
import { ImportExportService } from '@home/components/import-export/import-export.service';
|
2019-09-05 21:15:40 +03:00
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
declarations:
|
|
|
|
|
[
|
2020-01-22 20:05:30 +02:00
|
|
|
DisplayColumnsPanelComponent,
|
2020-07-06 14:42:36 +03:00
|
|
|
AlarmFilterPanelComponent,
|
2020-01-24 19:05:41 +02:00
|
|
|
EntitiesTableWidgetComponent,
|
2020-01-30 13:03:53 +02:00
|
|
|
AlarmsTableWidgetComponent,
|
2020-01-31 20:26:08 +02:00
|
|
|
TimeseriesTableWidgetComponent,
|
2020-02-18 17:25:17 +02:00
|
|
|
EntitiesHierarchyWidgetComponent,
|
|
|
|
|
DateRangeNavigatorWidgetComponent,
|
2020-02-28 19:49:14 +02:00
|
|
|
DateRangeNavigatorPanelComponent,
|
2020-03-20 16:23:49 +02:00
|
|
|
MultipleInputWidgetComponent,
|
2020-03-20 16:57:35 +02:00
|
|
|
TripAnimationComponent,
|
2020-10-23 17:50:15 +03:00
|
|
|
PhotoCameraInputWidgetComponent,
|
2020-03-26 14:49:26 +02:00
|
|
|
GatewayFormComponent
|
2019-09-05 21:15:40 +03:00
|
|
|
],
|
|
|
|
|
imports: [
|
|
|
|
|
CommonModule,
|
2020-01-29 17:20:28 +02:00
|
|
|
SharedModule,
|
2020-02-17 17:26:26 +02:00
|
|
|
RpcWidgetsModule,
|
2020-01-29 17:20:28 +02:00
|
|
|
SharedHomeComponentsModule
|
2019-09-05 21:15:40 +03:00
|
|
|
],
|
|
|
|
|
exports: [
|
2020-01-24 19:05:41 +02:00
|
|
|
EntitiesTableWidgetComponent,
|
2020-01-30 13:03:53 +02:00
|
|
|
AlarmsTableWidgetComponent,
|
2020-01-31 20:26:08 +02:00
|
|
|
TimeseriesTableWidgetComponent,
|
2020-02-17 17:26:26 +02:00
|
|
|
EntitiesHierarchyWidgetComponent,
|
2020-02-18 17:25:17 +02:00
|
|
|
RpcWidgetsModule,
|
2020-02-28 19:49:14 +02:00
|
|
|
DateRangeNavigatorWidgetComponent,
|
2020-03-20 16:23:49 +02:00
|
|
|
MultipleInputWidgetComponent,
|
2020-03-20 16:57:35 +02:00
|
|
|
TripAnimationComponent,
|
2020-10-23 17:50:15 +03:00
|
|
|
PhotoCameraInputWidgetComponent,
|
2020-03-26 14:49:26 +02:00
|
|
|
GatewayFormComponent
|
2020-02-10 19:06:15 +02:00
|
|
|
],
|
|
|
|
|
providers: [
|
2020-03-26 14:49:26 +02:00
|
|
|
CustomDialogService,
|
|
|
|
|
ImportExportService
|
2019-09-05 21:15:40 +03:00
|
|
|
]
|
|
|
|
|
})
|
|
|
|
|
export class WidgetComponentsModule { }
|