2019-09-05 21:15:40 +03:00
|
|
|
///
|
2023-01-31 10:43:56 +02:00
|
|
|
/// Copyright © 2016-2023 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';
|
2023-09-14 18:45:22 +03:00
|
|
|
import { EntitiesTableWidgetComponent } from '@home/components/widget/lib/entity/entities-table-widget.component';
|
2020-01-22 20:05:30 +02:00
|
|
|
import { DisplayColumnsPanelComponent } from '@home/components/widget/lib/display-columns-panel.component';
|
2023-09-14 18:45:22 +03:00
|
|
|
import { AlarmsTableWidgetComponent } from '@home/components/widget/lib/alarm/alarms-table-widget.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';
|
2023-09-14 18:45:22 +03:00
|
|
|
import { EntitiesHierarchyWidgetComponent } from '@home/components/widget/lib/entity/entities-hierarchy-widget.component';
|
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';
|
2021-12-06 12:54:48 +02:00
|
|
|
import { MultipleInputWidgetComponent } from '@home/components/widget/lib/multiple-input-widget.component';
|
2023-06-02 19:43:13 +03:00
|
|
|
import { TripAnimationComponent } from '@home/components/widget/lib/trip-animation/trip-animation.component';
|
2021-12-06 12:54:48 +02:00
|
|
|
import { PhotoCameraInputWidgetComponent } from '@home/components/widget/lib/photo-camera-input.component';
|
|
|
|
|
import { GatewayFormComponent } from '@home/components/widget/lib/gateway/gateway-form.component';
|
2021-02-03 12:21:55 +02:00
|
|
|
import { NavigationCardsWidgetComponent } from '@home/components/widget/lib/navigation-cards-widget.component';
|
|
|
|
|
import { NavigationCardWidgetComponent } from '@home/components/widget/lib/navigation-card-widget.component';
|
2021-01-12 22:01:32 +02:00
|
|
|
import { EdgesOverviewWidgetComponent } from '@home/components/widget/lib/edges-overview-widget.component';
|
2021-04-05 20:56:15 +03:00
|
|
|
import { JsonInputWidgetComponent } from '@home/components/widget/lib/json-input-widget.component';
|
2021-07-23 13:57:25 +03:00
|
|
|
import { QrCodeWidgetComponent } from '@home/components/widget/lib/qrcode-widget.component';
|
2021-08-19 18:52:39 +03:00
|
|
|
import { MarkdownWidgetComponent } from '@home/components/widget/lib/markdown-widget.component';
|
2021-12-06 12:54:48 +02:00
|
|
|
import { SelectEntityDialogComponent } from '@home/components/widget/lib/maps/dialogs/select-entity-dialog.component';
|
2023-04-04 17:27:00 +03:00
|
|
|
import { HomePageWidgetsModule } from '@home/components/widget/lib/home-page/home-page-widgets.module';
|
|
|
|
|
import { WIDGET_COMPONENTS_MODULE_TOKEN } from '@home/components/tokens';
|
2023-05-16 20:00:53 +03:00
|
|
|
import { FlotWidgetComponent } from '@home/components/widget/lib/flot-widget.component';
|
|
|
|
|
import { LegendComponent } from '@home/components/widget/lib/legend.component';
|
2023-07-03 11:56:58 +03:00
|
|
|
import { GatewayConnectorComponent } from '@home/components/widget/lib/gateway/gateway-connectors.component';
|
|
|
|
|
import { GatewayLogsComponent } from '@home/components/widget/lib/gateway/gateway-logs.component';
|
|
|
|
|
import { GatewayStatisticsComponent } from '@home/components/widget/lib/gateway/gateway-statistics.component';
|
|
|
|
|
import { GatewayServiceRPCComponent } from '@home/components/widget/lib/gateway/gateway-service-rpc.component';
|
|
|
|
|
import { DeviceGatewayCommandComponent } from '@home/components/widget/lib/gateway/device-gateway-command.component';
|
|
|
|
|
import { GatewayConfigurationComponent } from '@home/components/widget/lib/gateway/gateway-configuration.component';
|
|
|
|
|
import {
|
|
|
|
|
GatewayRemoteConfigurationDialogComponent
|
|
|
|
|
} from '@home/components/widget/lib/gateway/gateway-remote-configuration-dialog';
|
2023-07-21 18:26:14 +03:00
|
|
|
import { ValueCardWidgetComponent } from '@home/components/widget/lib/cards/value-card-widget.component';
|
2023-08-15 16:52:35 +03:00
|
|
|
import {
|
|
|
|
|
AggregatedValueCardWidgetComponent
|
|
|
|
|
} from '@home/components/widget/lib/cards/aggregated-value-card-widget.component';
|
2023-09-14 18:45:22 +03:00
|
|
|
import { CountWidgetComponent } from '@home/components/widget/lib/count/count-widget.component';
|
2023-09-19 17:29:36 +03:00
|
|
|
import { BatteryLevelWidgetComponent } from '@home/components/widget/lib/indicator/battery-level-widget.component';
|
2019-09-05 21:15:40 +03:00
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
declarations:
|
|
|
|
|
[
|
2020-01-22 20:05:30 +02:00
|
|
|
DisplayColumnsPanelComponent,
|
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,
|
2020-12-29 14:44:18 +02:00
|
|
|
EdgesOverviewWidgetComponent,
|
2020-02-18 17:25:17 +02:00
|
|
|
DateRangeNavigatorWidgetComponent,
|
2020-02-28 19:49:14 +02:00
|
|
|
DateRangeNavigatorPanelComponent,
|
2021-04-05 20:56:15 +03:00
|
|
|
JsonInputWidgetComponent,
|
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,
|
2021-02-03 12:21:55 +02:00
|
|
|
GatewayFormComponent,
|
|
|
|
|
NavigationCardsWidgetComponent,
|
2021-07-23 13:57:25 +03:00
|
|
|
NavigationCardWidgetComponent,
|
2021-08-19 18:52:39 +03:00
|
|
|
QrCodeWidgetComponent,
|
2021-11-24 13:03:52 +02:00
|
|
|
MarkdownWidgetComponent,
|
2023-05-16 20:00:53 +03:00
|
|
|
SelectEntityDialogComponent,
|
|
|
|
|
LegendComponent,
|
2023-06-30 13:30:17 +03:00
|
|
|
FlotWidgetComponent,
|
|
|
|
|
GatewayConnectorComponent,
|
|
|
|
|
GatewayLogsComponent,
|
|
|
|
|
GatewayStatisticsComponent,
|
|
|
|
|
GatewayServiceRPCComponent,
|
|
|
|
|
DeviceGatewayCommandComponent,
|
2023-07-03 11:56:58 +03:00
|
|
|
GatewayConfigurationComponent,
|
2023-07-25 10:00:41 +03:00
|
|
|
GatewayRemoteConfigurationDialogComponent,
|
2023-08-15 16:52:35 +03:00
|
|
|
ValueCardWidgetComponent,
|
2023-09-14 18:45:22 +03:00
|
|
|
AggregatedValueCardWidgetComponent,
|
2023-09-19 17:29:36 +03:00
|
|
|
CountWidgetComponent,
|
|
|
|
|
BatteryLevelWidgetComponent
|
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,
|
2023-04-04 17:27:00 +03:00
|
|
|
HomePageWidgetsModule,
|
2020-01-29 17:20:28 +02:00
|
|
|
SharedHomeComponentsModule
|
2019-09-05 21:15:40 +03:00
|
|
|
],
|
2023-04-21 18:00:56 +03:00
|
|
|
exports: [
|
|
|
|
|
EntitiesTableWidgetComponent,
|
|
|
|
|
AlarmsTableWidgetComponent,
|
|
|
|
|
TimeseriesTableWidgetComponent,
|
|
|
|
|
EntitiesHierarchyWidgetComponent,
|
|
|
|
|
EdgesOverviewWidgetComponent,
|
|
|
|
|
RpcWidgetsModule,
|
|
|
|
|
HomePageWidgetsModule,
|
|
|
|
|
DateRangeNavigatorWidgetComponent,
|
|
|
|
|
JsonInputWidgetComponent,
|
|
|
|
|
MultipleInputWidgetComponent,
|
|
|
|
|
TripAnimationComponent,
|
|
|
|
|
PhotoCameraInputWidgetComponent,
|
|
|
|
|
GatewayFormComponent,
|
|
|
|
|
NavigationCardsWidgetComponent,
|
|
|
|
|
NavigationCardWidgetComponent,
|
|
|
|
|
QrCodeWidgetComponent,
|
2023-05-16 20:00:53 +03:00
|
|
|
MarkdownWidgetComponent,
|
|
|
|
|
LegendComponent,
|
2023-06-30 13:30:17 +03:00
|
|
|
FlotWidgetComponent,
|
|
|
|
|
GatewayConnectorComponent,
|
|
|
|
|
GatewayLogsComponent,
|
|
|
|
|
GatewayStatisticsComponent,
|
|
|
|
|
GatewayServiceRPCComponent,
|
|
|
|
|
DeviceGatewayCommandComponent,
|
2023-07-03 11:56:58 +03:00
|
|
|
GatewayConfigurationComponent,
|
2023-07-25 10:00:41 +03:00
|
|
|
GatewayRemoteConfigurationDialogComponent,
|
2023-08-15 16:52:35 +03:00
|
|
|
ValueCardWidgetComponent,
|
2023-09-14 18:45:22 +03:00
|
|
|
AggregatedValueCardWidgetComponent,
|
2023-09-19 17:29:36 +03:00
|
|
|
CountWidgetComponent,
|
|
|
|
|
BatteryLevelWidgetComponent
|
2023-04-21 18:00:56 +03:00
|
|
|
],
|
2020-02-10 19:06:15 +02:00
|
|
|
providers: [
|
2023-04-04 17:27:00 +03:00
|
|
|
{provide: WIDGET_COMPONENTS_MODULE_TOKEN, useValue: WidgetComponentsModule }
|
2019-09-05 21:15:40 +03:00
|
|
|
]
|
|
|
|
|
})
|
2021-04-15 11:53:45 +03:00
|
|
|
export class WidgetComponentsModule {
|
|
|
|
|
}
|