2017-12-08 18:12:31 +01:00
|
|
|
|
import { VisibilityRulesService } from '../../../visibility-rules/visibility-rules.service';
|
2017-12-05 17:56:21 +01:00
|
|
|
|
import { BaseTableOfContent } from '../base-table-of-content.component';
|
|
|
|
|
import { FieldGroup } from '../../../models/FieldGroup';
|
|
|
|
|
import { Section } from '../../../models/Section';
|
|
|
|
|
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
|
|
|
|
import {Router, ActivatedRoute} from '@angular/router'
|
|
|
|
|
//import * as $ from '../../../../node_modules/jquery/dist/jquery'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'table-of-contents-group',
|
|
|
|
|
templateUrl: '/table-of-content-group.component.html',
|
|
|
|
|
providers: []
|
|
|
|
|
})
|
|
|
|
|
export class TableOfContentsGroupComponent extends BaseTableOfContent {
|
|
|
|
|
|
|
|
|
|
@Input() model: FieldGroup;
|
|
|
|
|
@Input() index: number;
|
|
|
|
|
@Input() public path: string;
|
2017-12-06 17:45:54 +01:00
|
|
|
|
@Input() public page: number;
|
2017-12-05 17:56:21 +01:00
|
|
|
|
/* @Output()
|
|
|
|
|
setPage:EventEmitter<number> = new EventEmitter<number>();
|
|
|
|
|
|
|
|
|
|
*/
|
2017-12-08 18:12:31 +01:00
|
|
|
|
constructor(public router: Router, public route: ActivatedRoute,private visibilityRulesService: VisibilityRulesService) {
|
|
|
|
|
super(router, route)
|
2017-12-05 17:56:21 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|