65 lines
2.3 KiB
TypeScript
Raw Normal View History

///
2020-02-20 10:26:43 +02:00
/// Copyright © 2016-2020 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';
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';
import {
AddRuleNodeDialogComponent,
AddRuleNodeLinkDialogComponent,
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';
2019-12-17 20:16:40 +02:00
import { RuleNodeDetailsComponent } from './rule-node-details.component';
import { RuleNodeLinkComponent } from './rule-node-link.component';
2020-01-14 16:57:42 +02:00
import { LinkLabelsComponent } from '@home/pages/rulechain/link-labels.component';
2019-12-23 14:36:44 +02:00
import { RuleNodeConfigComponent } from './rule-node-config.component';
@NgModule({
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,
2019-12-17 20:16:40 +02:00
RuleNodeComponent,
RuleNodeDetailsComponent,
2019-12-23 14:36:44 +02:00
RuleNodeConfigComponent,
2019-12-17 20:16:40 +02:00
LinkLabelsComponent,
RuleNodeLinkComponent,
2019-12-23 14:36:44 +02:00
AddRuleNodeLinkDialogComponent,
AddRuleNodeDialogComponent
2019-12-09 20:14:50 +02:00
],
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 { }