import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';

import { NzRadioModule } from 'ng-zorro-antd/radio';
import { NzTimelineMode, NzTimelineModule } from 'ng-zorro-antd/timeline';

@Component({
  selector: '<%= selector %>',
  imports: [FormsModule, NzRadioModule, NzTimelineModule],
  <% if(inlineTemplate) { %>template: `
    <nz-radio-group [(ngModel)]="mode">
      <label nz-radio nzValue="left">Left</label>
      <label nz-radio nzValue="right">Right</label>
      <label nz-radio nzValue="alternate">Alternative</label>
    </nz-radio-group>
    <br />
    <br />
    <nz-timeline [nzMode]="mode">
      <nz-timeline-item nzLabel="2015-09-01">Create a services</nz-timeline-item>
      <nz-timeline-item nzLabel="2015-09-01 09:12:11">Solve initial network problems</nz-timeline-item>
      <nz-timeline-item>Technical testing</nz-timeline-item>
      <nz-timeline-item nzLabel="2015-09-01 09:12:11">Network problems being solved</nz-timeline-item>
    </nz-timeline>
  `<% } else { %>templateUrl: './<%= dasherize(name) %>.component.html'<% } %>
})
export class <%= classify(name) %>Component {
  mode: NzTimelineMode = 'left';
}
