Showing
1 changed file
with
4 additions
and
5 deletions
@@ -32,7 +32,7 @@ import * as RxJs from 'rxjs'; | @@ -32,7 +32,7 @@ import * as RxJs from 'rxjs'; | ||
32 | import { Observable } from 'rxjs'; | 32 | import { Observable } from 'rxjs'; |
33 | import * as RxJsOperators from 'rxjs/operators'; | 33 | import * as RxJsOperators from 'rxjs/operators'; |
34 | import { BreadCrumbConfig, BreadCrumbLabelFunction } from '@shared/components/breadcrumb'; | 34 | import { BreadCrumbConfig, BreadCrumbLabelFunction } from '@shared/components/breadcrumb'; |
35 | -import { ResolvedRuleChainMetaData, RuleChain, RuleChainImport } from '@shared/models/rule-chain.models'; | 35 | +import { ResolvedRuleChainMetaData, RuleChain } from '@shared/models/rule-chain.models'; |
36 | import { RuleChainService } from '@core/http/rule-chain.service'; | 36 | import { RuleChainService } from '@core/http/rule-chain.service'; |
37 | import { RuleChainPageComponent } from '@home/pages/rulechain/rulechain-page.component'; | 37 | import { RuleChainPageComponent } from '@home/pages/rulechain/rulechain-page.component'; |
38 | import { RuleNodeComponentDescriptor } from '@shared/models/rule-node.models'; | 38 | import { RuleNodeComponentDescriptor } from '@shared/models/rule-node.models'; |
@@ -49,6 +49,7 @@ import * as TranslateCore from '@ngx-translate/core'; | @@ -49,6 +49,7 @@ import * as TranslateCore from '@ngx-translate/core'; | ||
49 | import * as TbCore from '@core/public-api'; | 49 | import * as TbCore from '@core/public-api'; |
50 | import * as TbShared from '@shared/public-api'; | 50 | import * as TbShared from '@shared/public-api'; |
51 | import * as TbHomeComponents from '@home/components/public-api'; | 51 | import * as TbHomeComponents from '@home/components/public-api'; |
52 | +import * as _moment from 'moment'; | ||
52 | import { ItemBufferService } from '@core/public-api'; | 53 | import { ItemBufferService } from '@core/public-api'; |
53 | 54 | ||
54 | declare const SystemJS; | 55 | declare const SystemJS; |
@@ -67,12 +68,10 @@ const ruleNodeConfigResourcesModulesMap = { | @@ -67,12 +68,10 @@ const ruleNodeConfigResourcesModulesMap = { | ||
67 | '@ngx-translate/core': SystemJS.newModule(TranslateCore), | 68 | '@ngx-translate/core': SystemJS.newModule(TranslateCore), |
68 | '@core/public-api': SystemJS.newModule(TbCore), | 69 | '@core/public-api': SystemJS.newModule(TbCore), |
69 | '@shared/public-api': SystemJS.newModule(TbShared), | 70 | '@shared/public-api': SystemJS.newModule(TbShared), |
70 | - '@home/components/public-api': SystemJS.newModule(TbHomeComponents) | 71 | + '@home/components/public-api': SystemJS.newModule(TbHomeComponents), |
72 | + moment: SystemJS.newModule(_moment) | ||
71 | }; | 73 | }; |
72 | 74 | ||
73 | -const t = SystemJS.newModule(AngularCore); | ||
74 | - | ||
75 | - | ||
76 | @Injectable() | 75 | @Injectable() |
77 | export class RuleChainResolver implements Resolve<RuleChain> { | 76 | export class RuleChainResolver implements Resolve<RuleChain> { |
78 | 77 |