Commit c3b71a7fa34e713fdd74e05d5fc8efab88d2bae1

Authored by Igor Kulikov
1 parent cfc8e67c

UI: Rule node ui external modules

... ... @@ -32,7 +32,7 @@ import * as RxJs from 'rxjs';
32 32 import { Observable } from 'rxjs';
33 33 import * as RxJsOperators from 'rxjs/operators';
34 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 36 import { RuleChainService } from '@core/http/rule-chain.service';
37 37 import { RuleChainPageComponent } from '@home/pages/rulechain/rulechain-page.component';
38 38 import { RuleNodeComponentDescriptor } from '@shared/models/rule-node.models';
... ... @@ -49,6 +49,7 @@ import * as TranslateCore from '@ngx-translate/core';
49 49 import * as TbCore from '@core/public-api';
50 50 import * as TbShared from '@shared/public-api';
51 51 import * as TbHomeComponents from '@home/components/public-api';
  52 +import * as _moment from 'moment';
52 53 import { ItemBufferService } from '@core/public-api';
53 54
54 55 declare const SystemJS;
... ... @@ -67,12 +68,10 @@ const ruleNodeConfigResourcesModulesMap = {
67 68 '@ngx-translate/core': SystemJS.newModule(TranslateCore),
68 69 '@core/public-api': SystemJS.newModule(TbCore),
69 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 75 @Injectable()
77 76 export class RuleChainResolver implements Resolve<RuleChain> {
78 77
... ...