Browse Source

Move all IoT Hub dialogs to HomeComponentsModule

- Move iot-hub-install-dialog to home/components/iot-hub/
- Move iot-hub-update-dialog to home/components/iot-hub/
- Move iot-hub-delete-dialog to home/components/iot-hub/ (with new separate HTML/SCSS)
- Move device-install-dialog to home/components/iot-hub/device-install-dialog/
- Register all in HomeComponentsModule (declarations + exports)
- Remove from IotHubModule declarations
- Update all imports across home/browse/search/installed/detail/widget-select
pull/15508/head
Igor Kulikov 6 months ago
parent
commit
ae58450db6
  1. 12
      ui-ngx/src/app/modules/home/components/home-components.module.ts
  2. 0
      ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html
  3. 0
      ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss
  4. 0
      ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts
  5. 8
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts
  6. 25
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html
  7. 48
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss
  8. 45
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts
  9. 0
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html
  10. 0
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss
  11. 0
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.ts
  12. 8
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts
  13. 0
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html
  14. 0
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.scss
  15. 0
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts
  16. 84
      ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-delete-dialog.component.ts
  17. 8
      ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts
  18. 4
      ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.ts
  19. 8
      ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-search.component.ts
  20. 8
      ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub.module.ts

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

@ -116,6 +116,10 @@ import { TbIotHubItemDetailDialogComponent } from '@home/components/iot-hub/iot-
import { TbIotHubBrowseComponent } from '@home/components/iot-hub/iot-hub-browse.component'; import { TbIotHubBrowseComponent } from '@home/components/iot-hub/iot-hub-browse.component';
import { TbIotHubItemCardComponent } from '@home/components/iot-hub/iot-hub-item-card.component'; import { TbIotHubItemCardComponent } from '@home/components/iot-hub/iot-hub-item-card.component';
import { TbIotHubAddItemDialogComponent } from '@home/components/iot-hub/iot-hub-add-item-dialog.component'; import { TbIotHubAddItemDialogComponent } from '@home/components/iot-hub/iot-hub-add-item-dialog.component';
import { TbIotHubInstallDialogComponent } from '@home/components/iot-hub/iot-hub-install-dialog.component';
import { TbIotHubUpdateDialogComponent } from '@home/components/iot-hub/iot-hub-update-dialog.component';
import { TbIotHubDeleteDialogComponent } from '@home/components/iot-hub/iot-hub-delete-dialog.component';
import { TbDeviceInstallDialogComponent } from '@home/components/iot-hub/device-install-dialog/device-install-dialog.component';
import { AddWidgetDialogComponent } from '@home/components/dashboard-page/add-widget-dialog.component'; import { AddWidgetDialogComponent } from '@home/components/dashboard-page/add-widget-dialog.component';
import { ManageDashboardLayoutsDialogComponent } from '@home/components/dashboard-page/layout/manage-dashboard-layouts-dialog.component'; import { ManageDashboardLayoutsDialogComponent } from '@home/components/dashboard-page/layout/manage-dashboard-layouts-dialog.component';
import { import {
@ -329,6 +333,10 @@ import { SolutionInstallDialogComponent } from '@home/components/solution/soluti
TbIotHubBrowseComponent, TbIotHubBrowseComponent,
TbIotHubItemCardComponent, TbIotHubItemCardComponent,
TbIotHubAddItemDialogComponent, TbIotHubAddItemDialogComponent,
TbIotHubInstallDialogComponent,
TbIotHubUpdateDialogComponent,
TbIotHubDeleteDialogComponent,
TbDeviceInstallDialogComponent,
AddWidgetDialogComponent, AddWidgetDialogComponent,
MoveWidgetsDialogComponent, MoveWidgetsDialogComponent,
ManageDashboardLayoutsDialogComponent, ManageDashboardLayoutsDialogComponent,
@ -483,6 +491,10 @@ import { SolutionInstallDialogComponent } from '@home/components/solution/soluti
TbIotHubBrowseComponent, TbIotHubBrowseComponent,
TbIotHubItemCardComponent, TbIotHubItemCardComponent,
TbIotHubAddItemDialogComponent, TbIotHubAddItemDialogComponent,
TbIotHubInstallDialogComponent,
TbIotHubUpdateDialogComponent,
TbIotHubDeleteDialogComponent,
TbDeviceInstallDialogComponent,
AddWidgetDialogComponent, AddWidgetDialogComponent,
MoveWidgetsDialogComponent, MoveWidgetsDialogComponent,
ManageDashboardLayoutsDialogComponent, ManageDashboardLayoutsDialogComponent,

0
ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.html → ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html

0
ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.scss → ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss

0
ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.ts → ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts

8
ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts

@ -32,10 +32,10 @@ import { MatDialog } from '@angular/material/dialog';
import { TranslateService } from '@ngx-translate/core'; import { TranslateService } from '@ngx-translate/core';
import { ActivatedRoute, Router } from '@angular/router'; import { ActivatedRoute, Router } from '@angular/router';
import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData } from '@home/components/iot-hub/iot-hub-item-detail-dialog.component'; import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData } from '@home/components/iot-hub/iot-hub-item-detail-dialog.component';
import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from '@home/pages/iot-hub/iot-hub-install-dialog.component'; import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from '@home/components/iot-hub/iot-hub-install-dialog.component';
import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from '@home/pages/iot-hub/iot-hub-update-dialog.component'; import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from '@home/components/iot-hub/iot-hub-update-dialog.component';
import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from '@home/pages/iot-hub/iot-hub-delete-dialog.component'; import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from '@home/components/iot-hub/iot-hub-delete-dialog.component';
import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from '@home/pages/iot-hub/device-install-dialog/device-install-dialog.component'; import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from '@home/components/iot-hub/device-install-dialog/device-install-dialog.component';
interface SortOption { interface SortOption {
value: string; value: string;

25
ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html

@ -0,0 +1,25 @@
<!--
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.
-->
<div class="tb-iot-hub-delete-content">
<h2 class="tb-iot-hub-delete-title">{{ 'iot-hub.remove-confirm-title' | translate:{ name: data.itemName } }}</h2>
<p class="tb-iot-hub-delete-desc">{{ (data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc') | translate }}</p>
</div>
<div class="tb-iot-hub-delete-actions">
<button mat-button (click)="cancel()">{{ 'action.cancel' | translate }}</button>
<button mat-flat-button color="warn" (click)="confirm()">{{ 'iot-hub.remove-anyway' | translate }}</button>
</div>

48
ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss

@ -0,0 +1,48 @@
/**
* 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.
*/
.tb-iot-hub-delete-content {
display: flex;
flex-direction: column;
gap: 20px;
padding: 24px;
}
.tb-iot-hub-delete-title {
font-size: 20px;
font-weight: 600;
line-height: 24px;
letter-spacing: 0.1px;
color: rgba(0, 0, 0, 0.87);
margin: 0;
}
.tb-iot-hub-delete-desc {
font-size: 14px;
font-weight: 400;
line-height: 20px;
letter-spacing: 0.2px;
color: rgba(0, 0, 0, 0.54);
margin: 0;
}
.tb-iot-hub-delete-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
padding: 8px;
}

45
ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts

@ -0,0 +1,45 @@
///
/// 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 { Component, Inject } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
export interface IotHubDeleteDialogData {
itemName: string;
itemType?: string;
}
@Component({
selector: 'tb-iot-hub-delete-dialog',
standalone: false,
templateUrl: './iot-hub-delete-dialog.component.html',
styleUrls: ['./iot-hub-delete-dialog.component.scss']
})
export class TbIotHubDeleteDialogComponent {
constructor(
@Inject(MAT_DIALOG_DATA) public data: IotHubDeleteDialogData,
private dialogRef: MatDialogRef<TbIotHubDeleteDialogComponent>
) {}
confirm(): void {
this.dialogRef.close(true);
}
cancel(): void {
this.dialogRef.close(false);
}
}

0
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-install-dialog.component.html → ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html

0
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-install-dialog.component.scss → ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss

0
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-install-dialog.component.ts → ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.ts

8
ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts

@ -24,10 +24,10 @@ import { IotHubApiService } from '@core/http/iot-hub-api.service';
import { TranslateService } from '@ngx-translate/core'; import { TranslateService } from '@ngx-translate/core';
import { EntityType } from '@shared/models/entity-type.models'; import { EntityType } from '@shared/models/entity-type.models';
import { getEntityDetailsPageURL } from '@core/utils'; import { getEntityDetailsPageURL } from '@core/utils';
import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from '@home/pages/iot-hub/iot-hub-install-dialog.component'; import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from '@home/components/iot-hub/iot-hub-install-dialog.component';
import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from '@home/pages/iot-hub/iot-hub-update-dialog.component'; import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from '@home/components/iot-hub/iot-hub-update-dialog.component';
import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from '@home/pages/iot-hub/iot-hub-delete-dialog.component'; import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from '@home/components/iot-hub/iot-hub-delete-dialog.component';
import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from '@home/pages/iot-hub/device-install-dialog/device-install-dialog.component'; import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from '@home/components/iot-hub/device-install-dialog/device-install-dialog.component';
import { SolutionInstallDialogComponent } from '@home/components/solution/solution-install-dialog.component'; import { SolutionInstallDialogComponent } from '@home/components/solution/solution-install-dialog.component';
import { SolutionTemplateInstalledItemDescriptor } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { SolutionTemplateInstalledItemDescriptor } from '@shared/models/iot-hub/iot-hub-installed-item.models';

0
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-update-dialog.component.html → ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html

0
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-update-dialog.component.scss → ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.scss

0
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-update-dialog.component.ts → ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts

84
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-delete-dialog.component.ts

@ -1,84 +0,0 @@
///
/// 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 { Component, Inject } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
export interface IotHubDeleteDialogData {
itemName: string;
itemType?: string;
}
@Component({
selector: 'tb-iot-hub-delete-dialog',
standalone: false,
template: `
<div class="tb-iot-hub-delete-content">
<h2 class="tb-iot-hub-delete-title">{{ 'iot-hub.remove-confirm-title' | translate:{ name: data.itemName } }}</h2>
<p class="tb-iot-hub-delete-desc">{{ (data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc') | translate }}</p>
</div>
<div class="tb-iot-hub-delete-actions">
<button mat-button (click)="cancel()">{{ 'action.cancel' | translate }}</button>
<button mat-flat-button color="warn" (click)="confirm()">{{ 'iot-hub.remove-anyway' | translate }}</button>
</div>
`,
styles: [`
.tb-iot-hub-delete-content {
display: flex;
flex-direction: column;
gap: 20px;
padding: 24px;
}
.tb-iot-hub-delete-title {
font-size: 20px;
font-weight: 600;
line-height: 24px;
letter-spacing: 0.1px;
color: rgba(0, 0, 0, 0.87);
margin: 0;
}
.tb-iot-hub-delete-desc {
font-size: 14px;
font-weight: 400;
line-height: 20px;
letter-spacing: 0.2px;
color: rgba(0, 0, 0, 0.54);
margin: 0;
}
.tb-iot-hub-delete-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
padding: 8px;
}
`]
})
export class TbIotHubDeleteDialogComponent {
constructor(
@Inject(MAT_DIALOG_DATA) public data: IotHubDeleteDialogData,
private dialogRef: MatDialogRef<TbIotHubDeleteDialogComponent>
) {}
confirm(): void {
this.dialogRef.close(true);
}
cancel(): void {
this.dialogRef.close(false);
}
}

8
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts

@ -31,10 +31,10 @@ import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-it
import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { IotHubApiService } from '@core/http/iot-hub-api.service';
import { TranslateService } from '@ngx-translate/core'; import { TranslateService } from '@ngx-translate/core';
import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData } from '@home/components/iot-hub/iot-hub-item-detail-dialog.component'; import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData } from '@home/components/iot-hub/iot-hub-item-detail-dialog.component';
import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from './iot-hub-install-dialog.component'; import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from '@home/components/iot-hub/iot-hub-install-dialog.component';
import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from './iot-hub-update-dialog.component'; import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from '@home/components/iot-hub/iot-hub-update-dialog.component';
import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from './iot-hub-delete-dialog.component'; import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from '@home/components/iot-hub/iot-hub-delete-dialog.component';
import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from './device-install-dialog/device-install-dialog.component'; import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from '@home/components/iot-hub/device-install-dialog/device-install-dialog.component';
interface CategoryCard { interface CategoryCard {
type: ItemType; type: ItemType;

4
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.ts

@ -34,8 +34,8 @@ import { ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-i
import { EntityType } from '@shared/models/entity-type.models'; import { EntityType } from '@shared/models/entity-type.models';
import { getEntityDetailsPageURL } from '@core/utils'; import { getEntityDetailsPageURL } from '@core/utils';
import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData } from '@home/components/iot-hub/iot-hub-item-detail-dialog.component'; import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData } from '@home/components/iot-hub/iot-hub-item-detail-dialog.component';
import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from './iot-hub-update-dialog.component'; import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from '@home/components/iot-hub/iot-hub-update-dialog.component';
import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from './iot-hub-delete-dialog.component'; import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from '@home/components/iot-hub/iot-hub-delete-dialog.component';
@Component({ @Component({
selector: 'tb-iot-hub-installed-items', selector: 'tb-iot-hub-installed-items',

8
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-search.component.ts

@ -27,10 +27,10 @@ import { ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-i
import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models';
import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { IotHubApiService } from '@core/http/iot-hub-api.service';
import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData } from '@home/components/iot-hub/iot-hub-item-detail-dialog.component'; import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData } from '@home/components/iot-hub/iot-hub-item-detail-dialog.component';
import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from './iot-hub-install-dialog.component'; import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from '@home/components/iot-hub/iot-hub-install-dialog.component';
import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from './iot-hub-update-dialog.component'; import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from '@home/components/iot-hub/iot-hub-update-dialog.component';
import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from './iot-hub-delete-dialog.component'; import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from '@home/components/iot-hub/iot-hub-delete-dialog.component';
import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from './device-install-dialog/device-install-dialog.component'; import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from '@home/components/iot-hub/device-install-dialog/device-install-dialog.component';
interface SearchResultGroup { interface SearchResultGroup {
type: ItemType; type: ItemType;

8
ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub.module.ts

@ -22,11 +22,7 @@ import { IotHubRoutingModule } from './iot-hub-routing.module';
import { TbIotHubHomeComponent } from './iot-hub-home.component'; import { TbIotHubHomeComponent } from './iot-hub-home.component';
import { TbIotHubItemsPageComponent } from './iot-hub-items-page.component'; import { TbIotHubItemsPageComponent } from './iot-hub-items-page.component';
import { TbIotHubCreatorProfileComponent } from './iot-hub-creator-profile.component'; import { TbIotHubCreatorProfileComponent } from './iot-hub-creator-profile.component';
import { TbIotHubInstallDialogComponent } from './iot-hub-install-dialog.component';
import { TbIotHubInstalledItemsComponent } from './iot-hub-installed-items.component'; import { TbIotHubInstalledItemsComponent } from './iot-hub-installed-items.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';
import { TbIotHubSearchComponent } from './iot-hub-search.component'; import { TbIotHubSearchComponent } from './iot-hub-search.component';
@NgModule({ @NgModule({
@ -34,11 +30,7 @@ import { TbIotHubSearchComponent } from './iot-hub-search.component';
TbIotHubHomeComponent, TbIotHubHomeComponent,
TbIotHubItemsPageComponent, TbIotHubItemsPageComponent,
TbIotHubCreatorProfileComponent, TbIotHubCreatorProfileComponent,
TbIotHubInstallDialogComponent,
TbIotHubInstalledItemsComponent, TbIotHubInstalledItemsComponent,
TbIotHubUpdateDialogComponent,
TbIotHubDeleteDialogComponent,
TbDeviceInstallDialogComponent,
TbIotHubSearchComponent TbIotHubSearchComponent
], ],
imports: [ imports: [

Loading…
Cancel
Save