2015-10-07 12:47:57 +03:00
|
|
|
'use strict';
|
|
|
|
|
2015-10-09 23:19:35 +03:00
|
|
|
import {RedocComponent, BaseComponent} from '../base';
|
2015-10-27 20:44:08 +03:00
|
|
|
import SchemaManager from '../../utils/SchemaManager';
|
|
|
|
import ApiInfo from '../ApiInfo/api-info';
|
|
|
|
import MethodsList from '../MethodsList/methods-list';
|
2015-11-16 02:10:04 +03:00
|
|
|
import SideMenu from '../SideMenu/side-menu';
|
2015-11-29 13:47:42 +03:00
|
|
|
import {ChangeDetectionStrategy} from 'angular2/angular2';
|
2015-10-07 12:47:57 +03:00
|
|
|
|
2015-10-09 23:19:35 +03:00
|
|
|
@RedocComponent({
|
2015-10-07 12:47:57 +03:00
|
|
|
selector: 'redoc',
|
2015-10-17 21:56:24 +03:00
|
|
|
providers: [SchemaManager],
|
2015-10-07 12:47:57 +03:00
|
|
|
templateUrl: './lib/components/Redoc/redoc.html',
|
2015-11-16 02:15:06 +03:00
|
|
|
styleUrls: ['./lib/components/Redoc/redoc.css'],
|
2015-11-16 02:10:04 +03:00
|
|
|
directives: [ApiInfo, MethodsList, SideMenu]
|
2015-11-29 13:47:42 +03:00
|
|
|
//changeDetection: ChangeDetectionStrategy.Default
|
2015-10-07 12:47:57 +03:00
|
|
|
})
|
2015-10-27 20:44:08 +03:00
|
|
|
export default class Redoc extends BaseComponent {
|
2015-10-07 12:47:57 +03:00
|
|
|
constructor(schemaMgr) {
|
2015-10-09 23:19:35 +03:00
|
|
|
super(schemaMgr);
|
2015-10-07 12:47:57 +03:00
|
|
|
}
|
|
|
|
}
|