From c3b71a7fa34e713fdd74e05d5fc8efab88d2bae1 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Fri, 17 Apr 2020 19:01:01 +0300 Subject: [PATCH] UI: Rule node ui external modules --- .../home/pages/rulechain/rulechain-routing.module.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-routing.module.ts b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-routing.module.ts index 02643a79c4..fce2baeb5f 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-routing.module.ts @@ -32,7 +32,7 @@ import * as RxJs from 'rxjs'; import { Observable } from 'rxjs'; import * as RxJsOperators from 'rxjs/operators'; import { BreadCrumbConfig, BreadCrumbLabelFunction } from '@shared/components/breadcrumb'; -import { ResolvedRuleChainMetaData, RuleChain, RuleChainImport } from '@shared/models/rule-chain.models'; +import { ResolvedRuleChainMetaData, RuleChain } from '@shared/models/rule-chain.models'; import { RuleChainService } from '@core/http/rule-chain.service'; import { RuleChainPageComponent } from '@home/pages/rulechain/rulechain-page.component'; import { RuleNodeComponentDescriptor } from '@shared/models/rule-node.models'; @@ -49,6 +49,7 @@ import * as TranslateCore from '@ngx-translate/core'; import * as TbCore from '@core/public-api'; import * as TbShared from '@shared/public-api'; import * as TbHomeComponents from '@home/components/public-api'; +import * as _moment from 'moment'; import { ItemBufferService } from '@core/public-api'; declare const SystemJS; @@ -67,12 +68,10 @@ const ruleNodeConfigResourcesModulesMap = { '@ngx-translate/core': SystemJS.newModule(TranslateCore), '@core/public-api': SystemJS.newModule(TbCore), '@shared/public-api': SystemJS.newModule(TbShared), - '@home/components/public-api': SystemJS.newModule(TbHomeComponents) + '@home/components/public-api': SystemJS.newModule(TbHomeComponents), + moment: SystemJS.newModule(_moment) }; -const t = SystemJS.newModule(AngularCore); - - @Injectable() export class RuleChainResolver implements Resolve {