dac-policy-management.component.ts 871 Bytes
Newer Older
Rajkumar-D's avatar
Rajkumar-D committed
1
2
3
4
import { Component, OnInit } from '@angular/core';
import { MatStepper } from '@angular/material';
import { getEnabledCategories } from 'trace_events';
import { ReportType } from '../report-type.enum';
Rajkumar-D's avatar
Rajkumar-D committed
5
6
import { FormControl, FormGroupDirective, NgForm, Validators, FormGroup } from '@angular/forms';

Rajkumar-D's avatar
Rajkumar-D committed
7
8
9
10
11
12
13
14
15
16

@Component({
  selector: 'app-dac-policy-management',
  templateUrl: './dac-policy-management.component.html',
  styleUrls: ['./dac-policy-management.component.css']
})
export class DacPolicyManagementComponent implements OnInit {

  constructor() { }
  reportType = ReportType.dacs;
Rajkumar-D's avatar
Rajkumar-D committed
17
18
19
20
21
  selectedDacId: string;
  textSelected: boolean;
  urlSelected: boolean;
  text: string;
  url: string;
Rajkumar-D's avatar
Rajkumar-D committed
22
23
24
25
  ngOnInit() {

  }

Rajkumar-D's avatar
Rajkumar-D committed
26
27
  getSelectedDac(reportObj: object, stepper: MatStepper) {
    this.selectedDacId = reportObj["id"];
Rajkumar-D's avatar
Rajkumar-D committed
28
29
30
    stepper.next();
  }

rajkumar's avatar
rajkumar committed
31
32
33
34
  submitDacPolicy(form) {

  }

Rajkumar-D's avatar
Rajkumar-D committed
35
}