thingsboard/ui-ngx/src/app/modules/home/components/shared-home-components.module.ts

40 lines
1.3 KiB
TypeScript
Raw Normal View History

2020-01-29 17:20:28 +02:00
///
2021-01-11 13:42:16 +02:00
/// Copyright © 2016-2021 The Thingsboard Authors
2020-01-29 17:20:28 +02: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';
import { AlarmDetailsDialogComponent } from '@home/components/alarm/alarm-details-dialog.component';
2021-12-06 12:54:48 +02:00
import { SHARED_HOME_COMPONENTS_MODULE_TOKEN } from '@home/components/tokens';
2020-01-29 17:20:28 +02:00
@NgModule({
2021-12-06 12:54:48 +02:00
providers: [
{ provide: SHARED_HOME_COMPONENTS_MODULE_TOKEN, useValue: SharedHomeComponentsModule }
],
2020-01-29 17:20:28 +02:00
declarations:
[
AlarmDetailsDialogComponent
],
imports: [
CommonModule,
SharedModule
],
exports: [
AlarmDetailsDialogComponent
]
})
export class SharedHomeComponentsModule { }