31 lines
1.0 KiB
TypeScript
31 lines
1.0 KiB
TypeScript
import { VisibilityRulesService } from '../../../utilities/visibility-rules/visibility-rules.service';
|
|
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: 'app-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;
|
|
@Input() public page: number;
|
|
/* @Output()
|
|
setPage:EventEmitter<number> = new EventEmitter<number>();
|
|
|
|
*/
|
|
constructor(public router: Router, public route: ActivatedRoute, private visibilityRulesService: VisibilityRulesService) {
|
|
super(router, route);
|
|
}
|
|
|
|
|
|
}
|