2019-08-09 19:13:18 +03:00
|
|
|
///
|
2020-02-20 10:26:43 +02:00
|
|
|
/// Copyright © 2016-2020 The Thingsboard Authors
|
2019-08-09 19:13:18 +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';
|
|
|
|
|
|
2019-08-12 19:34:23 +03:00
|
|
|
import { AdminModule } from './admin/admin.module';
|
2019-08-09 19:13:18 +03:00
|
|
|
import { HomeLinksModule } from './home-links/home-links.module';
|
2019-08-12 19:34:23 +03:00
|
|
|
import { ProfileModule } from './profile/profile.module';
|
|
|
|
|
import { TenantModule } from '@modules/home/pages/tenant/tenant.module';
|
2019-08-15 14:48:14 +03:00
|
|
|
import { CustomerModule } from '@modules/home/pages/customer/customer.module';
|
2019-08-22 13:34:15 +03:00
|
|
|
import { AuditLogModule } from '@modules/home/pages/audit-log/audit-log.module';
|
2019-08-12 19:34:23 +03:00
|
|
|
import { UserModule } from '@modules/home/pages/user/user.module';
|
2020-03-23 17:44:47 +02:00
|
|
|
import { DeviceModule } from '@modules/home/pages/device/device.module';
|
|
|
|
|
import { AssetModule } from '@modules/home/pages/asset/asset.module';
|
|
|
|
|
import { EntityViewModule } from '@modules/home/pages/entity-view/entity-view.module';
|
|
|
|
|
import { RuleChainModule } from '@modules/home/pages/rulechain/rulechain.module';
|
|
|
|
|
import { WidgetLibraryModule } from '@modules/home/pages/widget/widget-library.module';
|
|
|
|
|
import { DashboardModule } from '@modules/home/pages/dashboard/dashboard.module';
|
2020-08-27 19:32:15 +03:00
|
|
|
import { TenantProfileModule } from './tenant-profile/tenant-profile.module';
|
2020-08-17 16:11:01 +03:00
|
|
|
import { MODULES_MAP } from '@shared/public-api';
|
2020-08-17 17:02:57 +03:00
|
|
|
import { modulesMap } from '../../common/modules-map';
|
2019-08-09 19:13:18 +03:00
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
exports: [
|
2019-08-12 19:34:23 +03:00
|
|
|
AdminModule,
|
2019-08-09 19:13:18 +03:00
|
|
|
HomeLinksModule,
|
2019-08-12 19:34:23 +03:00
|
|
|
ProfileModule,
|
2020-08-27 19:32:15 +03:00
|
|
|
TenantProfileModule,
|
2019-08-12 19:34:23 +03:00
|
|
|
TenantModule,
|
2019-08-13 19:58:35 +03:00
|
|
|
DeviceModule,
|
2019-08-16 21:22:54 +03:00
|
|
|
AssetModule,
|
2019-08-19 20:09:41 +03:00
|
|
|
EntityViewModule,
|
2019-08-15 14:48:14 +03:00
|
|
|
CustomerModule,
|
2019-08-20 20:42:48 +03:00
|
|
|
RuleChainModule,
|
|
|
|
|
WidgetLibraryModule,
|
|
|
|
|
DashboardModule,
|
2019-08-22 13:34:15 +03:00
|
|
|
AuditLogModule,
|
2020-03-24 19:47:08 +02:00
|
|
|
UserModule
|
2020-08-17 16:11:01 +03:00
|
|
|
],
|
|
|
|
|
providers: [
|
|
|
|
|
{
|
|
|
|
|
provide: MODULES_MAP,
|
|
|
|
|
useValue: modulesMap
|
|
|
|
|
}
|
2019-08-09 19:13:18 +03:00
|
|
|
]
|
|
|
|
|
})
|
|
|
|
|
export class HomePagesModule { }
|