56 lines
1.8 KiB
TypeScript
Raw Normal View History

///
/// Copyright © 2016-2019 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 {RuleChainComponent} from '@modules/home/pages/rulechain/rulechain.component';
import {RuleChainRoutingModule} from '@modules/home/pages/rulechain/rulechain-routing.module';
2019-08-21 18:18:46 +03:00
import {HomeComponentsModule} from '@modules/home/components/home-components.module';
2019-08-22 13:34:15 +03:00
import { RuleChainTabsComponent } from '@home/pages/rulechain/rulechain-tabs.component';
2019-11-15 16:12:24 +02:00
import { RuleChainPageComponent } from './rulechain-page.component';
2019-12-09 20:14:50 +02:00
import { RuleNodeComponent } from '@home/pages/rulechain/rulenode.component';
import { FC_NODE_COMPONENT_CONFIG } from 'ngx-flowchart/dist/ngx-flowchart';
@NgModule({
entryComponents: [
2019-08-22 13:34:15 +03:00
RuleChainComponent,
2019-12-09 20:14:50 +02:00
RuleChainTabsComponent,
RuleNodeComponent
],
declarations: [
2019-08-22 13:34:15 +03:00
RuleChainComponent,
2019-11-15 16:12:24 +02:00
RuleChainTabsComponent,
2019-12-09 20:14:50 +02:00
RuleChainPageComponent,
RuleNodeComponent
],
providers: [
{
provide: FC_NODE_COMPONENT_CONFIG,
useValue: {
nodeComponentType: RuleNodeComponent
}
}
],
imports: [
CommonModule,
SharedModule,
2019-08-21 18:18:46 +03:00
HomeComponentsModule,
RuleChainRoutingModule
]
})
export class RuleChainModule { }