Browse Source
- New IotHubComponentsModule in home/components/iot-hub/ declaring and exporting all IoT Hub components: detail dialog, browse, item card, add item dialog, install/update/delete/device-install dialogs - Import and re-export IotHubComponentsModule from HomeComponentsModule - Remove individual IoT Hub component declarations/exports from HomeComponentsModulepull/15508/head
2 changed files with 58 additions and 24 deletions
@ -0,0 +1,55 @@ |
|||
///
|
|||
/// Copyright © 2016-2026 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.
|
|||
///
|
|||
|
|||
import { NgModule } from '@angular/core'; |
|||
import { CommonModule } from '@angular/common'; |
|||
import { SharedModule } from '@shared/shared.module'; |
|||
import { TbIotHubItemDetailDialogComponent } from './iot-hub-item-detail-dialog.component'; |
|||
import { TbIotHubBrowseComponent } from './iot-hub-browse.component'; |
|||
import { TbIotHubItemCardComponent } from './iot-hub-item-card.component'; |
|||
import { TbIotHubAddItemDialogComponent } from './iot-hub-add-item-dialog.component'; |
|||
import { TbIotHubInstallDialogComponent } from './iot-hub-install-dialog.component'; |
|||
import { TbIotHubUpdateDialogComponent } from './iot-hub-update-dialog.component'; |
|||
import { TbIotHubDeleteDialogComponent } from './iot-hub-delete-dialog.component'; |
|||
import { TbDeviceInstallDialogComponent } from './device-install-dialog/device-install-dialog.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [ |
|||
TbIotHubItemDetailDialogComponent, |
|||
TbIotHubBrowseComponent, |
|||
TbIotHubItemCardComponent, |
|||
TbIotHubAddItemDialogComponent, |
|||
TbIotHubInstallDialogComponent, |
|||
TbIotHubUpdateDialogComponent, |
|||
TbIotHubDeleteDialogComponent, |
|||
TbDeviceInstallDialogComponent |
|||
], |
|||
imports: [ |
|||
CommonModule, |
|||
SharedModule |
|||
], |
|||
exports: [ |
|||
TbIotHubItemDetailDialogComponent, |
|||
TbIotHubBrowseComponent, |
|||
TbIotHubItemCardComponent, |
|||
TbIotHubAddItemDialogComponent, |
|||
TbIotHubInstallDialogComponent, |
|||
TbIotHubUpdateDialogComponent, |
|||
TbIotHubDeleteDialogComponent, |
|||
TbDeviceInstallDialogComponent |
|||
] |
|||
}) |
|||
export class IotHubComponentsModule { } |
|||
Loading…
Reference in new issue