|
|
|
@ -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<RuleChain> { |
|
|
|
|
|
|
|
|